Merge from the pain train
[official-gcc.git] / libstdc++-v3 / configure
blob4b59bfe6916accfd743adf7e15be3f989d814068
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 CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE glibcxx_thread_h DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV SYMVER_MAP port_specific_symbol_files GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE baseline_dir GLIBCXX_TEST_WCHAR_T_TRUE GLIBCXX_TEST_WCHAR_T_FALSE GLIBCXX_TEST_THREAD_TRUE GLIBCXX_TEST_THREAD_FALSE GLIBCXX_TEST_ABI_TRUE GLIBCXX_TEST_ABI_FALSE ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
353 ac_prev=
354 for ac_option
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
359 ac_prev=
360 continue
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
367 case $ac_option in
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372 bindir=$ac_optarg ;;
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
386 --config-cache | -C)
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 ac_prev=datadir ;;
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 | --da=*)
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 case $ac_option in
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413 *) ac_optarg=yes ;;
414 esac
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
428 with_gas=yes ;;
430 -help | --help | --hel | --he | -h)
431 ac_init_help=long ;;
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 ac_prev=infodir ;;
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
455 ac_prev=libdir ;;
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
457 libdir=$ac_optarg ;;
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 mandir=$ac_optarg ;;
480 -nfp | --nfp | --nf)
481 # Obsolete; use --without-fp.
482 with_fp=no ;;
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
486 no_create=yes ;;
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490 no_recursion=yes ;;
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 ac_prev=prefix ;;
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504 prefix=$ac_optarg ;;
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
539 silent=yes ;;
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 ac_prev=sbindir ;;
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 | --sbi=* | --sb=*)
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
550 | --sha | --sh)
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 | --sha=* | --sh=*)
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
559 ac_prev=site ;;
560 -site=* | --site=* | --sit=*)
561 site=$ac_optarg ;;
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 ac_prev=srcdir ;;
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566 srcdir=$ac_optarg ;;
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
581 verbose=yes ;;
583 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;;
586 -with-* | --with-*)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 case $ac_option in
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595 *) ac_optarg=yes ;;
596 esac
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
608 --x)
609 # Obsolete; use --with-x.
610 with_x=yes ;;
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
631 *=*)
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
639 export $ac_envvar ;;
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649 esac
650 done
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
662 case $ac_val in
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
666 esac
667 done
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
674 case $ac_val in
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
678 esac
679 done
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
695 cross_compiling=yes
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
720 s/.*/./; q'`
721 srcdir=$ac_confdir
722 if test ! -r $srcdir/$ac_unique_file; then
723 srcdir=..
725 else
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
732 else
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CXXCPP_set=${CXXCPP+set}
754 ac_env_CXXCPP_value=$CXXCPP
755 ac_cv_env_CXXCPP_set=${CXXCPP+set}
756 ac_cv_env_CXXCPP_value=$CXXCPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761 ac_env_CPP_set=${CPP+set}
762 ac_env_CPP_value=$CPP
763 ac_cv_env_CPP_set=${CPP+set}
764 ac_cv_env_CPP_value=$CPP
767 # Report the --help message.
769 if test "$ac_init_help" = "long"; then
770 # Omit some internal or obsolete options to make the list less imposing.
771 # This message is too long to be a string in the A/UX 3.1 sh.
772 cat <<_ACEOF
773 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
775 Usage: $0 [OPTION]... [VAR=VALUE]...
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE. See below for descriptions of some of the useful variables.
780 Defaults for the options are specified in brackets.
782 Configuration:
783 -h, --help display this help and exit
784 --help=short display options specific to this package
785 --help=recursive display the short help of all the included packages
786 -V, --version display version information and exit
787 -q, --quiet, --silent do not print \`checking...' messages
788 --cache-file=FILE cache test results in FILE [disabled]
789 -C, --config-cache alias for \`--cache-file=config.cache'
790 -n, --no-create do not create output files
791 --srcdir=DIR find the sources in DIR [configure dir or \`..']
793 _ACEOF
795 cat <<_ACEOF
796 Installation directories:
797 --prefix=PREFIX install architecture-independent files in PREFIX
798 [$ac_default_prefix]
799 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
800 [PREFIX]
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
807 For better control, use the options below.
809 Fine tuning of the installation directories:
810 --bindir=DIR user executables [EPREFIX/bin]
811 --sbindir=DIR system admin executables [EPREFIX/sbin]
812 --libexecdir=DIR program executables [EPREFIX/libexec]
813 --datadir=DIR read-only architecture-independent data [PREFIX/share]
814 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
815 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
816 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
817 --libdir=DIR object code libraries [EPREFIX/lib]
818 --includedir=DIR C header files [PREFIX/include]
819 --oldincludedir=DIR C header files for non-gcc [/usr/include]
820 --infodir=DIR info documentation [PREFIX/info]
821 --mandir=DIR man documentation [PREFIX/man]
822 _ACEOF
824 cat <<\_ACEOF
826 Program names:
827 --program-prefix=PREFIX prepend PREFIX to installed program names
828 --program-suffix=SUFFIX append SUFFIX to installed program names
829 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
831 System types:
832 --build=BUILD configure for building on BUILD [guessed]
833 --host=HOST cross-compile to build programs to run on HOST [BUILD]
834 --target=TARGET configure for building compilers for TARGET [HOST]
835 _ACEOF
838 if test -n "$ac_init_help"; then
839 case $ac_init_help in
840 short | recursive ) echo "Configuration of package-unused version-unused:";;
841 esac
842 cat <<\_ACEOF
844 Optional Features:
845 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
846 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
847 --enable-multilib build many library versions (default)
848 --enable-maintainer-mode enable make rules and dependencies not useful
849 (and sometimes confusing) to the casual installer
850 --enable-shared=PKGS build shared libraries default=yes
851 --enable-static=PKGS build static libraries default=yes
852 --enable-fast-install=PKGS optimize for fast installation default=yes
853 --disable-libtool-lock avoid locking (might break parallel builds)
854 --disable-hosted-libstdcxx
855 only build freestanding C++ runtime support
856 --enable-sjlj-exceptions
857 force use of builtin_setjmp for exceptions
858 [default=auto]
859 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
860 [default=$is_hosted]
861 --enable-cstdio=PACKAGE use target-specific I/O package
862 [default=stdio]
863 --enable-clocale[=MODEL]
864 use MODEL for target locale package
865 [default=auto]
866 --enable-nls use Native Language Support (default)
867 --enable-libstdcxx-allocator=KIND
868 use KIND for target std::allocator base
869 [default=auto]
870 --enable-cheaders=KIND construct "C" headers for g++
871 [default=$c_model]
872 --enable-c-mbchar enable multibyte (wide) characters
873 [default=yes]
874 --enable-c99 turns on ISO/IEC 9899:1999 support
875 [default=yes]
876 --enable-long-long enables I/O support for 'long long'
877 [default=yes]
878 --enable-concept-checks use Boost-derived template checks [default=no]
879 --enable-libstdcxx-debug-flags=FLAGS
880 pass compiler FLAGS when building debug library
881 [default="-g3 -O0"]
882 --enable-libstdcxx-debug
883 build extra debug library [default=no]
884 --enable-cxx-flags=FLAGS
885 pass compiler FLAGS when building library
886 [default=]
887 --enable-fully-dynamic-string
888 do not put empty strings in per-process static
889 memory [default=no]
890 --enable-symvers=STYLE enables symbol versioning of the shared library
891 [default=yes]
892 --enable-version-specific-runtime-libs
893 Specify that runtime libraries should be installed
894 in a compiler-specific directory
896 Optional Packages:
897 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
898 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
899 --with-target-subdir=SUBDIR
900 configuring in a subdirectory
901 --with-cross-host=HOST configuring with a cross compiler
902 --with-newlib assume newlib as a system C library
903 --with-gnu-ld assume the C compiler uses GNU ld default=no
904 --with-pic try to use only PIC/non-PIC objects default=use both
905 --with-gxx-include-dir=DIR
906 installation directory for include files
908 Some influential environment variables:
909 CC C compiler command
910 CFLAGS C compiler flags
911 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
912 nonstandard directory <lib dir>
913 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
914 headers in a nonstandard directory <include dir>
915 CXX C++ compiler command
916 CXXFLAGS C++ compiler flags
917 CXXCPP C++ preprocessor
918 CPP C preprocessor
920 Use these variables to override the choices made by `configure' or to help
921 it to find libraries and programs with nonstandard names/locations.
923 _ACEOF
926 if test "$ac_init_help" = "recursive"; then
927 # If there are subdirs, report their specific --help.
928 ac_popdir=`pwd`
929 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
930 test -d $ac_dir || continue
931 ac_builddir=.
933 if test "$ac_dir" != .; then
934 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
935 # A "../" for each directory in $ac_dir_suffix.
936 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
937 else
938 ac_dir_suffix= ac_top_builddir=
941 case $srcdir in
942 .) # No --srcdir option. We are building in place.
943 ac_srcdir=.
944 if test -z "$ac_top_builddir"; then
945 ac_top_srcdir=.
946 else
947 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
948 fi ;;
949 [\\/]* | ?:[\\/]* ) # Absolute path.
950 ac_srcdir=$srcdir$ac_dir_suffix;
951 ac_top_srcdir=$srcdir ;;
952 *) # Relative path.
953 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
954 ac_top_srcdir=$ac_top_builddir$srcdir ;;
955 esac
957 # Do not use `cd foo && pwd` to compute absolute paths, because
958 # the directories may not exist.
959 case `pwd` in
960 .) ac_abs_builddir="$ac_dir";;
962 case "$ac_dir" in
963 .) ac_abs_builddir=`pwd`;;
964 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
965 *) ac_abs_builddir=`pwd`/"$ac_dir";;
966 esac;;
967 esac
968 case $ac_abs_builddir in
969 .) ac_abs_top_builddir=${ac_top_builddir}.;;
971 case ${ac_top_builddir}. in
972 .) ac_abs_top_builddir=$ac_abs_builddir;;
973 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
974 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
975 esac;;
976 esac
977 case $ac_abs_builddir in
978 .) ac_abs_srcdir=$ac_srcdir;;
980 case $ac_srcdir in
981 .) ac_abs_srcdir=$ac_abs_builddir;;
982 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
983 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
984 esac;;
985 esac
986 case $ac_abs_builddir in
987 .) ac_abs_top_srcdir=$ac_top_srcdir;;
989 case $ac_top_srcdir in
990 .) ac_abs_top_srcdir=$ac_abs_builddir;;
991 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
992 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
993 esac;;
994 esac
996 cd $ac_dir
997 # Check for guested configure; otherwise get Cygnus style configure.
998 if test -f $ac_srcdir/configure.gnu; then
999 echo
1000 $SHELL $ac_srcdir/configure.gnu --help=recursive
1001 elif test -f $ac_srcdir/configure; then
1002 echo
1003 $SHELL $ac_srcdir/configure --help=recursive
1004 elif test -f $ac_srcdir/configure.ac ||
1005 test -f $ac_srcdir/configure.in; then
1006 echo
1007 $ac_configure --help
1008 else
1009 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1011 cd $ac_popdir
1012 done
1015 test -n "$ac_init_help" && exit 0
1016 if $ac_init_version; then
1017 cat <<\_ACEOF
1018 package-unused configure version-unused
1019 generated by GNU Autoconf 2.59
1021 Copyright (C) 2003 Free Software Foundation, Inc.
1022 This configure script is free software; the Free Software Foundation
1023 gives unlimited permission to copy, distribute and modify it.
1024 _ACEOF
1025 exit 0
1027 exec 5>config.log
1028 cat >&5 <<_ACEOF
1029 This file contains any messages produced by compilers while
1030 running configure, to aid debugging if configure makes a mistake.
1032 It was created by package-unused $as_me version-unused, which was
1033 generated by GNU Autoconf 2.59. Invocation command line was
1035 $ $0 $@
1037 _ACEOF
1039 cat <<_ASUNAME
1040 ## --------- ##
1041 ## Platform. ##
1042 ## --------- ##
1044 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1045 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1046 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1047 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1048 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1050 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1051 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1053 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1054 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1055 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1056 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1057 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1058 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1059 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1061 _ASUNAME
1063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1064 for as_dir in $PATH
1066 IFS=$as_save_IFS
1067 test -z "$as_dir" && as_dir=.
1068 echo "PATH: $as_dir"
1069 done
1071 } >&5
1073 cat >&5 <<_ACEOF
1076 ## ----------- ##
1077 ## Core tests. ##
1078 ## ----------- ##
1080 _ACEOF
1083 # Keep a trace of the command line.
1084 # Strip out --no-create and --no-recursion so they do not pile up.
1085 # Strip out --silent because we don't want to record it for future runs.
1086 # Also quote any args containing shell meta-characters.
1087 # Make two passes to allow for proper duplicate-argument suppression.
1088 ac_configure_args=
1089 ac_configure_args0=
1090 ac_configure_args1=
1091 ac_sep=
1092 ac_must_keep_next=false
1093 for ac_pass in 1 2
1095 for ac_arg
1097 case $ac_arg in
1098 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1099 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1100 | -silent | --silent | --silen | --sile | --sil)
1101 continue ;;
1102 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1103 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1104 esac
1105 case $ac_pass in
1106 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1108 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1109 if test $ac_must_keep_next = true; then
1110 ac_must_keep_next=false # Got value, back to normal.
1111 else
1112 case $ac_arg in
1113 *=* | --config-cache | -C | -disable-* | --disable-* \
1114 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1115 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1116 | -with-* | --with-* | -without-* | --without-* | --x)
1117 case "$ac_configure_args0 " in
1118 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1119 esac
1121 -* ) ac_must_keep_next=true ;;
1122 esac
1124 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1125 # Get rid of the leading space.
1126 ac_sep=" "
1128 esac
1129 done
1130 done
1131 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1132 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1134 # When interrupted or exit'd, cleanup temporary files, and complete
1135 # config.log. We remove comments because anyway the quotes in there
1136 # would cause problems or look ugly.
1137 # WARNING: Be sure not to use single quotes in there, as some shells,
1138 # such as our DU 5.0 friend, will then `close' the trap.
1139 trap 'exit_status=$?
1140 # Save into config.log some information that might help in debugging.
1142 echo
1144 cat <<\_ASBOX
1145 ## ---------------- ##
1146 ## Cache variables. ##
1147 ## ---------------- ##
1148 _ASBOX
1149 echo
1150 # The following way of writing the cache mishandles newlines in values,
1152 (set) 2>&1 |
1153 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1154 *ac_space=\ *)
1155 sed -n \
1156 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1157 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1160 sed -n \
1161 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1163 esac;
1165 echo
1167 cat <<\_ASBOX
1168 ## ----------------- ##
1169 ## Output variables. ##
1170 ## ----------------- ##
1171 _ASBOX
1172 echo
1173 for ac_var in $ac_subst_vars
1175 eval ac_val=$`echo $ac_var`
1176 echo "$ac_var='"'"'$ac_val'"'"'"
1177 done | sort
1178 echo
1180 if test -n "$ac_subst_files"; then
1181 cat <<\_ASBOX
1182 ## ------------- ##
1183 ## Output files. ##
1184 ## ------------- ##
1185 _ASBOX
1186 echo
1187 for ac_var in $ac_subst_files
1189 eval ac_val=$`echo $ac_var`
1190 echo "$ac_var='"'"'$ac_val'"'"'"
1191 done | sort
1192 echo
1195 if test -s confdefs.h; then
1196 cat <<\_ASBOX
1197 ## ----------- ##
1198 ## confdefs.h. ##
1199 ## ----------- ##
1200 _ASBOX
1201 echo
1202 sed "/^$/d" confdefs.h | sort
1203 echo
1205 test "$ac_signal" != 0 &&
1206 echo "$as_me: caught signal $ac_signal"
1207 echo "$as_me: exit $exit_status"
1208 } >&5
1209 rm -f core *.core &&
1210 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1211 exit $exit_status
1213 for ac_signal in 1 2 13 15; do
1214 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1215 done
1216 ac_signal=0
1218 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1219 rm -rf conftest* confdefs.h
1220 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1221 echo >confdefs.h
1223 # Predefined preprocessor variables.
1225 cat >>confdefs.h <<_ACEOF
1226 #define PACKAGE_NAME "$PACKAGE_NAME"
1227 _ACEOF
1230 cat >>confdefs.h <<_ACEOF
1231 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1232 _ACEOF
1235 cat >>confdefs.h <<_ACEOF
1236 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1237 _ACEOF
1240 cat >>confdefs.h <<_ACEOF
1241 #define PACKAGE_STRING "$PACKAGE_STRING"
1242 _ACEOF
1245 cat >>confdefs.h <<_ACEOF
1246 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1247 _ACEOF
1250 # Let the site file select an alternate cache file if it wants to.
1251 # Prefer explicitly selected file to automatically selected ones.
1252 if test -z "$CONFIG_SITE"; then
1253 if test "x$prefix" != xNONE; then
1254 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1255 else
1256 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1259 for ac_site_file in $CONFIG_SITE; do
1260 if test -r "$ac_site_file"; then
1261 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1262 echo "$as_me: loading site script $ac_site_file" >&6;}
1263 sed 's/^/| /' "$ac_site_file" >&5
1264 . "$ac_site_file"
1266 done
1268 if test -r "$cache_file"; then
1269 # Some versions of bash will fail to source /dev/null (special
1270 # files actually), so we avoid doing that.
1271 if test -f "$cache_file"; then
1272 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1273 echo "$as_me: loading cache $cache_file" >&6;}
1274 case $cache_file in
1275 [\\/]* | ?:[\\/]* ) . $cache_file;;
1276 *) . ./$cache_file;;
1277 esac
1279 else
1280 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1281 echo "$as_me: creating cache $cache_file" >&6;}
1282 >$cache_file
1285 # Check that the precious variables saved in the cache have kept the same
1286 # value.
1287 ac_cache_corrupted=false
1288 for ac_var in `(set) 2>&1 |
1289 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1290 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1291 eval ac_new_set=\$ac_env_${ac_var}_set
1292 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1293 eval ac_new_val="\$ac_env_${ac_var}_value"
1294 case $ac_old_set,$ac_new_set in
1295 set,)
1296 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1297 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1298 ac_cache_corrupted=: ;;
1299 ,set)
1300 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1301 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1302 ac_cache_corrupted=: ;;
1303 ,);;
1305 if test "x$ac_old_val" != "x$ac_new_val"; then
1306 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1307 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1308 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1309 echo "$as_me: former value: $ac_old_val" >&2;}
1310 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1311 echo "$as_me: current value: $ac_new_val" >&2;}
1312 ac_cache_corrupted=:
1313 fi;;
1314 esac
1315 # Pass precious variables to config.status.
1316 if test "$ac_new_set" = set; then
1317 case $ac_new_val in
1318 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1319 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1320 *) ac_arg=$ac_var=$ac_new_val ;;
1321 esac
1322 case " $ac_configure_args " in
1323 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1324 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1325 esac
1327 done
1328 if $ac_cache_corrupted; then
1329 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1330 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1331 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1332 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1333 { (exit 1); exit 1; }; }
1336 ac_ext=c
1337 ac_cpp='$CPP $CPPFLAGS'
1338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1369 ac_config_headers="$ac_config_headers config.h"
1372 # This works around the fact that libtool configuration may change LD
1373 # for this particular configuration, but some shells, instead of
1374 # keeping the changes in LD private, export them just because LD is
1375 # exported. Only used at the end of this file.
1376 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1378 # For libtool versioning info, format is CURRENT:REVISION:AGE
1379 libtool_VERSION=6:4:0
1382 # Find the rest of the source tree framework.
1383 # Default to --enable-multilib
1384 # Check whether --enable-multilib or --disable-multilib was given.
1385 if test "${enable_multilib+set}" = set; then
1386 enableval="$enable_multilib"
1387 case "$enableval" in
1388 yes) multilib=yes ;;
1389 no) multilib=no ;;
1390 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1391 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1392 { (exit 1); exit 1; }; } ;;
1393 esac
1394 else
1395 multilib=yes
1398 # We may get other options which we leave undocumented:
1399 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1400 # See config-ml.in if you want the gory details.
1402 if test "$srcdir" = "."; then
1403 if test "$with_target_subdir" != "."; then
1404 multi_basedir="$srcdir/$with_multisrctop../.."
1405 else
1406 multi_basedir="$srcdir/$with_multisrctop.."
1408 else
1409 multi_basedir="$srcdir/.."
1413 ac_config_commands="$ac_config_commands default-1"
1416 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1418 # You will slowly go insane if you do not grok the following fact: when
1419 # building v3 as part of the compiler, the top-level /target/ becomes the
1420 # library's /host/. configure then causes --target to default to --host,
1421 # exactly like any other package using autoconf. Therefore, 'target' and
1422 # 'host' will always be the same. This makes sense both for native and
1423 # cross compilers, just think about it for a little while. :-)
1425 # Also, if v3 is being configured as part of a cross compiler, the top-level
1426 # configure script will pass the "real" host as $with_cross_host.
1428 # Do not delete or change the following two lines. For why, see
1429 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1430 ac_aux_dir=
1431 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1432 if test -f $ac_dir/install-sh; then
1433 ac_aux_dir=$ac_dir
1434 ac_install_sh="$ac_aux_dir/install-sh -c"
1435 break
1436 elif test -f $ac_dir/install.sh; then
1437 ac_aux_dir=$ac_dir
1438 ac_install_sh="$ac_aux_dir/install.sh -c"
1439 break
1440 elif test -f $ac_dir/shtool; then
1441 ac_aux_dir=$ac_dir
1442 ac_install_sh="$ac_aux_dir/shtool install -c"
1443 break
1445 done
1446 if test -z "$ac_aux_dir"; then
1447 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1448 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1449 { (exit 1); exit 1; }; }
1451 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1452 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1453 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1455 # Make sure we can run config.sub.
1456 $ac_config_sub sun4 >/dev/null 2>&1 ||
1457 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1458 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1459 { (exit 1); exit 1; }; }
1461 echo "$as_me:$LINENO: checking build system type" >&5
1462 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1463 if test "${ac_cv_build+set}" = set; then
1464 echo $ECHO_N "(cached) $ECHO_C" >&6
1465 else
1466 ac_cv_build_alias=$build_alias
1467 test -z "$ac_cv_build_alias" &&
1468 ac_cv_build_alias=`$ac_config_guess`
1469 test -z "$ac_cv_build_alias" &&
1470 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1471 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1472 { (exit 1); exit 1; }; }
1473 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1474 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1475 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1476 { (exit 1); exit 1; }; }
1479 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1480 echo "${ECHO_T}$ac_cv_build" >&6
1481 build=$ac_cv_build
1482 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1483 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1484 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1487 echo "$as_me:$LINENO: checking host system type" >&5
1488 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1489 if test "${ac_cv_host+set}" = set; then
1490 echo $ECHO_N "(cached) $ECHO_C" >&6
1491 else
1492 ac_cv_host_alias=$host_alias
1493 test -z "$ac_cv_host_alias" &&
1494 ac_cv_host_alias=$ac_cv_build_alias
1495 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1496 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1497 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1498 { (exit 1); exit 1; }; }
1501 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1502 echo "${ECHO_T}$ac_cv_host" >&6
1503 host=$ac_cv_host
1504 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1505 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1506 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1509 echo "$as_me:$LINENO: checking target system type" >&5
1510 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1511 if test "${ac_cv_target+set}" = set; then
1512 echo $ECHO_N "(cached) $ECHO_C" >&6
1513 else
1514 ac_cv_target_alias=$target_alias
1515 test "x$ac_cv_target_alias" = "x" &&
1516 ac_cv_target_alias=$ac_cv_host_alias
1517 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1518 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1519 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1520 { (exit 1); exit 1; }; }
1523 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1524 echo "${ECHO_T}$ac_cv_target" >&6
1525 target=$ac_cv_target
1526 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1527 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1528 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1531 # The aliases save the names the user supplied, while $host etc.
1532 # will get canonicalized.
1533 test -n "$target_alias" &&
1534 test "$program_prefix$program_suffix$program_transform_name" = \
1535 NONENONEs,x,x, &&
1536 program_prefix=${target_alias}-
1537 target_alias=${target_alias-$host_alias}
1539 # Handy for debugging:
1540 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1542 if test "$build" != "$host"; then
1543 # We are being configured with some form of cross compiler.
1544 GLIBCXX_IS_NATIVE=false
1546 else
1547 GLIBCXX_IS_NATIVE=true
1550 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1551 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1552 # 1.x: minimum required version
1553 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1554 # of other PACKAGE_* variables will, however, and there's nothing
1555 # we can do about that; they come from AC_INIT).
1556 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1557 # file in the top srcdir, etc, etc), so stop complaining.
1558 # no-dependencies: turns off auto dependency generation (just for now)
1559 # -Wall: turns on all automake warnings...
1560 # -Wno-portability: ...except this one, since GNU make is now required.
1561 am__api_version="1.9"
1562 # Find a good install program. We prefer a C program (faster),
1563 # so one script is as good as another. But avoid the broken or
1564 # incompatible versions:
1565 # SysV /etc/install, /usr/sbin/install
1566 # SunOS /usr/etc/install
1567 # IRIX /sbin/install
1568 # AIX /bin/install
1569 # AmigaOS /C/install, which installs bootblocks on floppy discs
1570 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1571 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1572 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1573 # OS/2's system install, which has a completely different semantic
1574 # ./install, which can be erroneously created by make from ./install.sh.
1575 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1576 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1577 if test -z "$INSTALL"; then
1578 if test "${ac_cv_path_install+set}" = set; then
1579 echo $ECHO_N "(cached) $ECHO_C" >&6
1580 else
1581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1582 for as_dir in $PATH
1584 IFS=$as_save_IFS
1585 test -z "$as_dir" && as_dir=.
1586 # Account for people who put trailing slashes in PATH elements.
1587 case $as_dir/ in
1588 ./ | .// | /cC/* | \
1589 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1590 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1591 /usr/ucb/* ) ;;
1593 # OSF1 and SCO ODT 3.0 have their own names for install.
1594 # Don't use installbsd from OSF since it installs stuff as root
1595 # by default.
1596 for ac_prog in ginstall scoinst install; do
1597 for ac_exec_ext in '' $ac_executable_extensions; do
1598 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1599 if test $ac_prog = install &&
1600 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1601 # AIX install. It has an incompatible calling convention.
1603 elif test $ac_prog = install &&
1604 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1605 # program-specific install script used by HP pwplus--don't use.
1607 else
1608 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1609 break 3
1612 done
1613 done
1615 esac
1616 done
1620 if test "${ac_cv_path_install+set}" = set; then
1621 INSTALL=$ac_cv_path_install
1622 else
1623 # As a last resort, use the slow shell script. We don't cache a
1624 # path for INSTALL within a source directory, because that will
1625 # break other packages using the cache if that directory is
1626 # removed, or if the path is relative.
1627 INSTALL=$ac_install_sh
1630 echo "$as_me:$LINENO: result: $INSTALL" >&5
1631 echo "${ECHO_T}$INSTALL" >&6
1633 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1634 # It thinks the first close brace ends the variable substitution.
1635 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1637 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1639 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1641 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1642 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1643 # Just in case
1644 sleep 1
1645 echo timestamp > conftest.file
1646 # Do `set' in a subshell so we don't clobber the current shell's
1647 # arguments. Must try -L first in case configure is actually a
1648 # symlink; some systems play weird games with the mod time of symlinks
1649 # (eg FreeBSD returns the mod time of the symlink's containing
1650 # directory).
1651 if (
1652 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1653 if test "$*" = "X"; then
1654 # -L didn't work.
1655 set X `ls -t $srcdir/configure conftest.file`
1657 rm -f conftest.file
1658 if test "$*" != "X $srcdir/configure conftest.file" \
1659 && test "$*" != "X conftest.file $srcdir/configure"; then
1661 # If neither matched, then we have a broken ls. This can happen
1662 # if, for instance, CONFIG_SHELL is bash and it inherits a
1663 # broken ls alias from the environment. This has actually
1664 # happened. Such a system could not be considered "sane".
1665 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1666 alias in your environment" >&5
1667 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1668 alias in your environment" >&2;}
1669 { (exit 1); exit 1; }; }
1672 test "$2" = conftest.file
1674 then
1675 # Ok.
1677 else
1678 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1679 Check your system clock" >&5
1680 echo "$as_me: error: newly created file is older than distributed files!
1681 Check your system clock" >&2;}
1682 { (exit 1); exit 1; }; }
1684 echo "$as_me:$LINENO: result: yes" >&5
1685 echo "${ECHO_T}yes" >&6
1686 test "$program_prefix" != NONE &&
1687 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1688 # Use a double $ so make ignores it.
1689 test "$program_suffix" != NONE &&
1690 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1691 # Double any \ or $. echo might interpret backslashes.
1692 # By default was `s,x,x', remove it if useless.
1693 cat <<\_ACEOF >conftest.sed
1694 s/[\\$]/&&/g;s/;s,x,x,$//
1695 _ACEOF
1696 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1697 rm conftest.sed
1699 # expand $ac_aux_dir to an absolute path
1700 am_aux_dir=`cd $ac_aux_dir && pwd`
1702 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1703 # Use eval to expand $SHELL
1704 if eval "$MISSING --run true"; then
1705 am_missing_run="$MISSING --run "
1706 else
1707 am_missing_run=
1708 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1709 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1712 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1713 # We used to keeping the `.' as first argument, in order to
1714 # allow $(mkdir_p) to be used without argument. As in
1715 # $(mkdir_p) $(somedir)
1716 # where $(somedir) is conditionally defined. However this is wrong
1717 # for two reasons:
1718 # 1. if the package is installed by a user who cannot write `.'
1719 # make install will fail,
1720 # 2. the above comment should most certainly read
1721 # $(mkdir_p) $(DESTDIR)$(somedir)
1722 # so it does not work when $(somedir) is undefined and
1723 # $(DESTDIR) is not.
1724 # To support the latter case, we have to write
1725 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1726 # so the `.' trick is pointless.
1727 mkdir_p='mkdir -p --'
1728 else
1729 # On NextStep and OpenStep, the `mkdir' command does not
1730 # recognize any option. It will interpret all options as
1731 # directories to create, and then abort because `.' already
1732 # exists.
1733 for d in ./-p ./--version;
1735 test -d $d && rmdir $d
1736 done
1737 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1738 if test -f "$ac_aux_dir/mkinstalldirs"; then
1739 mkdir_p='$(mkinstalldirs)'
1740 else
1741 mkdir_p='$(install_sh) -d'
1745 for ac_prog in gawk mawk nawk awk
1747 # Extract the first word of "$ac_prog", so it can be a program name with args.
1748 set dummy $ac_prog; ac_word=$2
1749 echo "$as_me:$LINENO: checking for $ac_word" >&5
1750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1751 if test "${ac_cv_prog_AWK+set}" = set; then
1752 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 else
1754 if test -n "$AWK"; then
1755 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1756 else
1757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1758 for as_dir in $PATH
1760 IFS=$as_save_IFS
1761 test -z "$as_dir" && as_dir=.
1762 for ac_exec_ext in '' $ac_executable_extensions; do
1763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1764 ac_cv_prog_AWK="$ac_prog"
1765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1766 break 2
1768 done
1769 done
1773 AWK=$ac_cv_prog_AWK
1774 if test -n "$AWK"; then
1775 echo "$as_me:$LINENO: result: $AWK" >&5
1776 echo "${ECHO_T}$AWK" >&6
1777 else
1778 echo "$as_me:$LINENO: result: no" >&5
1779 echo "${ECHO_T}no" >&6
1782 test -n "$AWK" && break
1783 done
1785 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1786 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1787 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1788 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1789 echo $ECHO_N "(cached) $ECHO_C" >&6
1790 else
1791 cat >conftest.make <<\_ACEOF
1792 all:
1793 @echo 'ac_maketemp="$(MAKE)"'
1794 _ACEOF
1795 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1796 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1797 if test -n "$ac_maketemp"; then
1798 eval ac_cv_prog_make_${ac_make}_set=yes
1799 else
1800 eval ac_cv_prog_make_${ac_make}_set=no
1802 rm -f conftest.make
1804 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1805 echo "$as_me:$LINENO: result: yes" >&5
1806 echo "${ECHO_T}yes" >&6
1807 SET_MAKE=
1808 else
1809 echo "$as_me:$LINENO: result: no" >&5
1810 echo "${ECHO_T}no" >&6
1811 SET_MAKE="MAKE=${MAKE-make}"
1814 rm -rf .tst 2>/dev/null
1815 mkdir .tst 2>/dev/null
1816 if test -d .tst; then
1817 am__leading_dot=.
1818 else
1819 am__leading_dot=_
1821 rmdir .tst 2>/dev/null
1823 # test to see if srcdir already configured
1824 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1825 test -f $srcdir/config.status; then
1826 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1827 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1828 { (exit 1); exit 1; }; }
1831 # test whether we have cygpath
1832 if test -z "$CYGPATH_W"; then
1833 if (cygpath --version) >/dev/null 2>/dev/null; then
1834 CYGPATH_W='cygpath -w'
1835 else
1836 CYGPATH_W=echo
1841 # Define the identity of the package.
1842 PACKAGE='libstdc++'
1843 VERSION='version-unused'
1846 # Some tools Automake needs.
1848 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1851 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1854 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1857 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1860 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1862 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1864 # Installed binaries are usually stripped using `strip' when the user
1865 # run `make install-strip'. However `strip' might not be the right
1866 # tool to use in cross-compilation environments, therefore Automake
1867 # will honor the `STRIP' environment variable to overrule this program.
1868 if test "$cross_compiling" != no; then
1869 if test -n "$ac_tool_prefix"; then
1870 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1871 set dummy ${ac_tool_prefix}strip; ac_word=$2
1872 echo "$as_me:$LINENO: checking for $ac_word" >&5
1873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1874 if test "${ac_cv_prog_STRIP+set}" = set; then
1875 echo $ECHO_N "(cached) $ECHO_C" >&6
1876 else
1877 if test -n "$STRIP"; then
1878 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1879 else
1880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1881 for as_dir in $PATH
1883 IFS=$as_save_IFS
1884 test -z "$as_dir" && as_dir=.
1885 for ac_exec_ext in '' $ac_executable_extensions; do
1886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1887 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1889 break 2
1891 done
1892 done
1896 STRIP=$ac_cv_prog_STRIP
1897 if test -n "$STRIP"; then
1898 echo "$as_me:$LINENO: result: $STRIP" >&5
1899 echo "${ECHO_T}$STRIP" >&6
1900 else
1901 echo "$as_me:$LINENO: result: no" >&5
1902 echo "${ECHO_T}no" >&6
1906 if test -z "$ac_cv_prog_STRIP"; then
1907 ac_ct_STRIP=$STRIP
1908 # Extract the first word of "strip", so it can be a program name with args.
1909 set dummy strip; ac_word=$2
1910 echo "$as_me:$LINENO: checking for $ac_word" >&5
1911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1912 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1913 echo $ECHO_N "(cached) $ECHO_C" >&6
1914 else
1915 if test -n "$ac_ct_STRIP"; then
1916 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1917 else
1918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1919 for as_dir in $PATH
1921 IFS=$as_save_IFS
1922 test -z "$as_dir" && as_dir=.
1923 for ac_exec_ext in '' $ac_executable_extensions; do
1924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1925 ac_cv_prog_ac_ct_STRIP="strip"
1926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1927 break 2
1929 done
1930 done
1932 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1935 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1936 if test -n "$ac_ct_STRIP"; then
1937 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1938 echo "${ECHO_T}$ac_ct_STRIP" >&6
1939 else
1940 echo "$as_me:$LINENO: result: no" >&5
1941 echo "${ECHO_T}no" >&6
1944 STRIP=$ac_ct_STRIP
1945 else
1946 STRIP="$ac_cv_prog_STRIP"
1950 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1952 # We need awk for the "check" target. The system "awk" is bad on
1953 # some platforms.
1954 # Always define AMTAR for backward compatibility.
1956 AMTAR=${AMTAR-"${am_missing_run}tar"}
1958 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1965 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1966 # up critical shell variables.
1968 # Keep these sync'd with the list in Makefile.am. The first provides an
1969 # expandable list at autoconf time; the second provides an expandable list
1970 # (i.e., shell variable) at configure time.
1972 SUBDIRS='include libmath libsupc++ src po testsuite'
1974 # These need to be absolute paths, yet at the same time need to
1975 # canonicalize only relative paths, because then amd will not unmount
1976 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1977 glibcxx_builddir=`${PWDCMD-pwd}`
1978 case $srcdir in
1979 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1980 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1981 esac
1982 toplevel_srcdir=${glibcxx_srcdir}/..
1987 # We use these options to decide which functions to include. They are
1988 # set from the top level.
1990 # Check whether --with-target-subdir or --without-target-subdir was given.
1991 if test "${with_target_subdir+set}" = set; then
1992 withval="$with_target_subdir"
1997 # Check whether --with-cross-host or --without-cross-host was given.
1998 if test "${with_cross_host+set}" = set; then
1999 withval="$with_cross_host"
2004 # Check whether --with-newlib or --without-newlib was given.
2005 if test "${with_newlib+set}" = set; then
2006 withval="$with_newlib"
2010 # We're almost certainly being configured before anything else which uses
2011 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2012 # we not cache the value of CXX that we "discover" here, because it's set
2013 # to something unique for us and libjava. Other target libraries need to
2014 # find CXX for themselves. We yank the rug out from under the normal AC_*
2015 # process by sneakily renaming the cache variable. This also lets us debug
2016 # the value of "our" CXX in postmortems.
2018 # We must also force CXX to /not/ be a precious variable, otherwise the
2019 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2020 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2021 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2022 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2024 # -fno-builtin must be present here so that a non-conflicting form of
2025 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2030 save_CXXFLAGS="$CXXFLAGS"
2031 CXXFLAGS="$CXXFLAGS -fno-builtin"
2032 ac_ext=c
2033 ac_cpp='$CPP $CPPFLAGS'
2034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2037 if test -n "$ac_tool_prefix"; then
2038 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2039 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2040 echo "$as_me:$LINENO: checking for $ac_word" >&5
2041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2042 if test "${ac_cv_prog_CC+set}" = set; then
2043 echo $ECHO_N "(cached) $ECHO_C" >&6
2044 else
2045 if test -n "$CC"; then
2046 ac_cv_prog_CC="$CC" # Let the user override the test.
2047 else
2048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2049 for as_dir in $PATH
2051 IFS=$as_save_IFS
2052 test -z "$as_dir" && as_dir=.
2053 for ac_exec_ext in '' $ac_executable_extensions; do
2054 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2055 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2057 break 2
2059 done
2060 done
2064 CC=$ac_cv_prog_CC
2065 if test -n "$CC"; then
2066 echo "$as_me:$LINENO: result: $CC" >&5
2067 echo "${ECHO_T}$CC" >&6
2068 else
2069 echo "$as_me:$LINENO: result: no" >&5
2070 echo "${ECHO_T}no" >&6
2074 if test -z "$ac_cv_prog_CC"; then
2075 ac_ct_CC=$CC
2076 # Extract the first word of "gcc", so it can be a program name with args.
2077 set dummy gcc; ac_word=$2
2078 echo "$as_me:$LINENO: checking for $ac_word" >&5
2079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2080 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2081 echo $ECHO_N "(cached) $ECHO_C" >&6
2082 else
2083 if test -n "$ac_ct_CC"; then
2084 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2085 else
2086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2087 for as_dir in $PATH
2089 IFS=$as_save_IFS
2090 test -z "$as_dir" && as_dir=.
2091 for ac_exec_ext in '' $ac_executable_extensions; do
2092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2093 ac_cv_prog_ac_ct_CC="gcc"
2094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2095 break 2
2097 done
2098 done
2102 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2103 if test -n "$ac_ct_CC"; then
2104 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2105 echo "${ECHO_T}$ac_ct_CC" >&6
2106 else
2107 echo "$as_me:$LINENO: result: no" >&5
2108 echo "${ECHO_T}no" >&6
2111 CC=$ac_ct_CC
2112 else
2113 CC="$ac_cv_prog_CC"
2116 if test -z "$CC"; then
2117 if test -n "$ac_tool_prefix"; then
2118 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2119 set dummy ${ac_tool_prefix}cc; ac_word=$2
2120 echo "$as_me:$LINENO: checking for $ac_word" >&5
2121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2122 if test "${ac_cv_prog_CC+set}" = set; then
2123 echo $ECHO_N "(cached) $ECHO_C" >&6
2124 else
2125 if test -n "$CC"; then
2126 ac_cv_prog_CC="$CC" # Let the user override the test.
2127 else
2128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2129 for as_dir in $PATH
2131 IFS=$as_save_IFS
2132 test -z "$as_dir" && as_dir=.
2133 for ac_exec_ext in '' $ac_executable_extensions; do
2134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2135 ac_cv_prog_CC="${ac_tool_prefix}cc"
2136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2137 break 2
2139 done
2140 done
2144 CC=$ac_cv_prog_CC
2145 if test -n "$CC"; then
2146 echo "$as_me:$LINENO: result: $CC" >&5
2147 echo "${ECHO_T}$CC" >&6
2148 else
2149 echo "$as_me:$LINENO: result: no" >&5
2150 echo "${ECHO_T}no" >&6
2154 if test -z "$ac_cv_prog_CC"; then
2155 ac_ct_CC=$CC
2156 # Extract the first word of "cc", so it can be a program name with args.
2157 set dummy cc; ac_word=$2
2158 echo "$as_me:$LINENO: checking for $ac_word" >&5
2159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2160 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2161 echo $ECHO_N "(cached) $ECHO_C" >&6
2162 else
2163 if test -n "$ac_ct_CC"; then
2164 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2165 else
2166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2167 for as_dir in $PATH
2169 IFS=$as_save_IFS
2170 test -z "$as_dir" && as_dir=.
2171 for ac_exec_ext in '' $ac_executable_extensions; do
2172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2173 ac_cv_prog_ac_ct_CC="cc"
2174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2175 break 2
2177 done
2178 done
2182 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2183 if test -n "$ac_ct_CC"; then
2184 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2185 echo "${ECHO_T}$ac_ct_CC" >&6
2186 else
2187 echo "$as_me:$LINENO: result: no" >&5
2188 echo "${ECHO_T}no" >&6
2191 CC=$ac_ct_CC
2192 else
2193 CC="$ac_cv_prog_CC"
2197 if test -z "$CC"; then
2198 # Extract the first word of "cc", so it can be a program name with args.
2199 set dummy cc; ac_word=$2
2200 echo "$as_me:$LINENO: checking for $ac_word" >&5
2201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2202 if test "${ac_cv_prog_CC+set}" = set; then
2203 echo $ECHO_N "(cached) $ECHO_C" >&6
2204 else
2205 if test -n "$CC"; then
2206 ac_cv_prog_CC="$CC" # Let the user override the test.
2207 else
2208 ac_prog_rejected=no
2209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2210 for as_dir in $PATH
2212 IFS=$as_save_IFS
2213 test -z "$as_dir" && as_dir=.
2214 for ac_exec_ext in '' $ac_executable_extensions; do
2215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2216 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2217 ac_prog_rejected=yes
2218 continue
2220 ac_cv_prog_CC="cc"
2221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2222 break 2
2224 done
2225 done
2227 if test $ac_prog_rejected = yes; then
2228 # We found a bogon in the path, so make sure we never use it.
2229 set dummy $ac_cv_prog_CC
2230 shift
2231 if test $# != 0; then
2232 # We chose a different compiler from the bogus one.
2233 # However, it has the same basename, so the bogon will be chosen
2234 # first if we set CC to just the basename; use the full file name.
2235 shift
2236 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2241 CC=$ac_cv_prog_CC
2242 if test -n "$CC"; then
2243 echo "$as_me:$LINENO: result: $CC" >&5
2244 echo "${ECHO_T}$CC" >&6
2245 else
2246 echo "$as_me:$LINENO: result: no" >&5
2247 echo "${ECHO_T}no" >&6
2251 if test -z "$CC"; then
2252 if test -n "$ac_tool_prefix"; then
2253 for ac_prog in cl
2255 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2256 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2257 echo "$as_me:$LINENO: checking for $ac_word" >&5
2258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2259 if test "${ac_cv_prog_CC+set}" = set; then
2260 echo $ECHO_N "(cached) $ECHO_C" >&6
2261 else
2262 if test -n "$CC"; then
2263 ac_cv_prog_CC="$CC" # Let the user override the test.
2264 else
2265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266 for as_dir in $PATH
2268 IFS=$as_save_IFS
2269 test -z "$as_dir" && as_dir=.
2270 for ac_exec_ext in '' $ac_executable_extensions; do
2271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2272 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2274 break 2
2276 done
2277 done
2281 CC=$ac_cv_prog_CC
2282 if test -n "$CC"; then
2283 echo "$as_me:$LINENO: result: $CC" >&5
2284 echo "${ECHO_T}$CC" >&6
2285 else
2286 echo "$as_me:$LINENO: result: no" >&5
2287 echo "${ECHO_T}no" >&6
2290 test -n "$CC" && break
2291 done
2293 if test -z "$CC"; then
2294 ac_ct_CC=$CC
2295 for ac_prog in cl
2297 # Extract the first word of "$ac_prog", so it can be a program name with args.
2298 set dummy $ac_prog; ac_word=$2
2299 echo "$as_me:$LINENO: checking for $ac_word" >&5
2300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2301 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2302 echo $ECHO_N "(cached) $ECHO_C" >&6
2303 else
2304 if test -n "$ac_ct_CC"; then
2305 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2306 else
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 for as_dir in $PATH
2310 IFS=$as_save_IFS
2311 test -z "$as_dir" && as_dir=.
2312 for ac_exec_ext in '' $ac_executable_extensions; do
2313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2314 ac_cv_prog_ac_ct_CC="$ac_prog"
2315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 break 2
2318 done
2319 done
2323 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2324 if test -n "$ac_ct_CC"; then
2325 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2326 echo "${ECHO_T}$ac_ct_CC" >&6
2327 else
2328 echo "$as_me:$LINENO: result: no" >&5
2329 echo "${ECHO_T}no" >&6
2332 test -n "$ac_ct_CC" && break
2333 done
2335 CC=$ac_ct_CC
2341 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2342 See \`config.log' for more details." >&5
2343 echo "$as_me: error: no acceptable C compiler found in \$PATH
2344 See \`config.log' for more details." >&2;}
2345 { (exit 1); exit 1; }; }
2347 # Provide some information about the compiler.
2348 echo "$as_me:$LINENO:" \
2349 "checking for C compiler version" >&5
2350 ac_compiler=`set X $ac_compile; echo $2`
2351 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2352 (eval $ac_compiler --version </dev/null >&5) 2>&5
2353 ac_status=$?
2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355 (exit $ac_status); }
2356 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2357 (eval $ac_compiler -v </dev/null >&5) 2>&5
2358 ac_status=$?
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); }
2361 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2362 (eval $ac_compiler -V </dev/null >&5) 2>&5
2363 ac_status=$?
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }
2367 cat >conftest.$ac_ext <<_ACEOF
2368 /* confdefs.h. */
2369 _ACEOF
2370 cat confdefs.h >>conftest.$ac_ext
2371 cat >>conftest.$ac_ext <<_ACEOF
2372 /* end confdefs.h. */
2375 main ()
2379 return 0;
2381 _ACEOF
2382 # FIXME: Cleanup?
2383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2384 (eval $ac_link) 2>&5
2385 ac_status=$?
2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387 (exit $ac_status); }; then
2388 gcc_no_link=no
2389 else
2390 gcc_no_link=yes
2393 if test x$gcc_no_link = xyes; then
2394 # Setting cross_compile will disable run tests; it will
2395 # also disable AC_CHECK_FILE but that's generally
2396 # correct if we can't link.
2397 cross_compiling=yes
2398 EXEEXT=
2399 else
2400 cat >conftest.$ac_ext <<_ACEOF
2401 /* confdefs.h. */
2402 _ACEOF
2403 cat confdefs.h >>conftest.$ac_ext
2404 cat >>conftest.$ac_ext <<_ACEOF
2405 /* end confdefs.h. */
2408 main ()
2412 return 0;
2414 _ACEOF
2415 ac_clean_files_save=$ac_clean_files
2416 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2417 # Try to create an executable without -o first, disregard a.out.
2418 # It will help us diagnose broken compilers, and finding out an intuition
2419 # of exeext.
2420 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2421 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2422 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2423 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2424 (eval $ac_link_default) 2>&5
2425 ac_status=$?
2426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427 (exit $ac_status); }; then
2428 # Find the output, starting from the most likely. This scheme is
2429 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2430 # resort.
2432 # Be careful to initialize this variable, since it used to be cached.
2433 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2434 ac_cv_exeext=
2435 # b.out is created by i960 compilers.
2436 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2438 test -f "$ac_file" || continue
2439 case $ac_file in
2440 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2442 conftest.$ac_ext )
2443 # This is the source file.
2445 [ab].out )
2446 # We found the default executable, but exeext='' is most
2447 # certainly right.
2448 break;;
2449 *.* )
2450 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2451 # FIXME: I believe we export ac_cv_exeext for Libtool,
2452 # but it would be cool to find out if it's true. Does anybody
2453 # maintain Libtool? --akim.
2454 export ac_cv_exeext
2455 break;;
2457 break;;
2458 esac
2459 done
2460 else
2461 echo "$as_me: failed program was:" >&5
2462 sed 's/^/| /' conftest.$ac_ext >&5
2464 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2465 See \`config.log' for more details." >&5
2466 echo "$as_me: error: C compiler cannot create executables
2467 See \`config.log' for more details." >&2;}
2468 { (exit 77); exit 77; }; }
2471 ac_exeext=$ac_cv_exeext
2472 echo "$as_me:$LINENO: result: $ac_file" >&5
2473 echo "${ECHO_T}$ac_file" >&6
2475 # Check the compiler produces executables we can run. If not, either
2476 # the compiler is broken, or we cross compile.
2477 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2478 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2479 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2480 # If not cross compiling, check that we can run a simple program.
2481 if test "$cross_compiling" != yes; then
2482 if { ac_try='./$ac_file'
2483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2484 (eval $ac_try) 2>&5
2485 ac_status=$?
2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487 (exit $ac_status); }; }; then
2488 cross_compiling=no
2489 else
2490 if test "$cross_compiling" = maybe; then
2491 cross_compiling=yes
2492 else
2493 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2494 If you meant to cross compile, use \`--host'.
2495 See \`config.log' for more details." >&5
2496 echo "$as_me: error: cannot run C compiled programs.
2497 If you meant to cross compile, use \`--host'.
2498 See \`config.log' for more details." >&2;}
2499 { (exit 1); exit 1; }; }
2503 echo "$as_me:$LINENO: result: yes" >&5
2504 echo "${ECHO_T}yes" >&6
2506 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2507 ac_clean_files=$ac_clean_files_save
2508 # Check the compiler produces executables we can run. If not, either
2509 # the compiler is broken, or we cross compile.
2510 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2511 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2512 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2513 echo "${ECHO_T}$cross_compiling" >&6
2515 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2516 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2518 (eval $ac_link) 2>&5
2519 ac_status=$?
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); }; then
2522 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2523 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2524 # work properly (i.e., refer to `conftest.exe'), while it won't with
2525 # `rm'.
2526 for ac_file in conftest.exe conftest conftest.*; do
2527 test -f "$ac_file" || continue
2528 case $ac_file in
2529 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2530 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2531 export ac_cv_exeext
2532 break;;
2533 * ) break;;
2534 esac
2535 done
2536 else
2537 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2538 See \`config.log' for more details." >&5
2539 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2540 See \`config.log' for more details." >&2;}
2541 { (exit 1); exit 1; }; }
2544 rm -f conftest$ac_cv_exeext
2545 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2546 echo "${ECHO_T}$ac_cv_exeext" >&6
2548 rm -f conftest.$ac_ext
2549 EXEEXT=$ac_cv_exeext
2550 ac_exeext=$EXEEXT
2552 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2553 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2554 if test "${ac_cv_objext+set}" = set; then
2555 echo $ECHO_N "(cached) $ECHO_C" >&6
2556 else
2557 cat >conftest.$ac_ext <<_ACEOF
2558 /* confdefs.h. */
2559 _ACEOF
2560 cat confdefs.h >>conftest.$ac_ext
2561 cat >>conftest.$ac_ext <<_ACEOF
2562 /* end confdefs.h. */
2565 main ()
2569 return 0;
2571 _ACEOF
2572 rm -f conftest.o conftest.obj
2573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2574 (eval $ac_compile) 2>&5
2575 ac_status=$?
2576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577 (exit $ac_status); }; then
2578 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2579 case $ac_file in
2580 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2581 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2582 break;;
2583 esac
2584 done
2585 else
2586 echo "$as_me: failed program was:" >&5
2587 sed 's/^/| /' conftest.$ac_ext >&5
2589 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2590 See \`config.log' for more details." >&5
2591 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2592 See \`config.log' for more details." >&2;}
2593 { (exit 1); exit 1; }; }
2596 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2598 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2599 echo "${ECHO_T}$ac_cv_objext" >&6
2600 OBJEXT=$ac_cv_objext
2601 ac_objext=$OBJEXT
2602 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2603 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2604 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2605 echo $ECHO_N "(cached) $ECHO_C" >&6
2606 else
2607 cat >conftest.$ac_ext <<_ACEOF
2608 /* confdefs.h. */
2609 _ACEOF
2610 cat confdefs.h >>conftest.$ac_ext
2611 cat >>conftest.$ac_ext <<_ACEOF
2612 /* end confdefs.h. */
2615 main ()
2617 #ifndef __GNUC__
2618 choke me
2619 #endif
2622 return 0;
2624 _ACEOF
2625 rm -f conftest.$ac_objext
2626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2627 (eval $ac_compile) 2>conftest.er1
2628 ac_status=$?
2629 grep -v '^ *+' conftest.er1 >conftest.err
2630 rm -f conftest.er1
2631 cat conftest.err >&5
2632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633 (exit $ac_status); } &&
2634 { ac_try='test -z "$ac_c_werror_flag"
2635 || test ! -s conftest.err'
2636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2637 (eval $ac_try) 2>&5
2638 ac_status=$?
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }; } &&
2641 { ac_try='test -s conftest.$ac_objext'
2642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2643 (eval $ac_try) 2>&5
2644 ac_status=$?
2645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); }; }; then
2647 ac_compiler_gnu=yes
2648 else
2649 echo "$as_me: failed program was:" >&5
2650 sed 's/^/| /' conftest.$ac_ext >&5
2652 ac_compiler_gnu=no
2654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2655 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2658 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2659 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2660 GCC=`test $ac_compiler_gnu = yes && echo yes`
2661 ac_test_CFLAGS=${CFLAGS+set}
2662 ac_save_CFLAGS=$CFLAGS
2663 CFLAGS="-g"
2664 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2665 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2666 if test "${ac_cv_prog_cc_g+set}" = set; then
2667 echo $ECHO_N "(cached) $ECHO_C" >&6
2668 else
2669 cat >conftest.$ac_ext <<_ACEOF
2670 /* confdefs.h. */
2671 _ACEOF
2672 cat confdefs.h >>conftest.$ac_ext
2673 cat >>conftest.$ac_ext <<_ACEOF
2674 /* end confdefs.h. */
2677 main ()
2681 return 0;
2683 _ACEOF
2684 rm -f conftest.$ac_objext
2685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2686 (eval $ac_compile) 2>conftest.er1
2687 ac_status=$?
2688 grep -v '^ *+' conftest.er1 >conftest.err
2689 rm -f conftest.er1
2690 cat conftest.err >&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); } &&
2693 { ac_try='test -z "$ac_c_werror_flag"
2694 || test ! -s conftest.err'
2695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2696 (eval $ac_try) 2>&5
2697 ac_status=$?
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); }; } &&
2700 { ac_try='test -s conftest.$ac_objext'
2701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2702 (eval $ac_try) 2>&5
2703 ac_status=$?
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); }; }; then
2706 ac_cv_prog_cc_g=yes
2707 else
2708 echo "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.$ac_ext >&5
2711 ac_cv_prog_cc_g=no
2713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2715 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2716 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2717 if test "$ac_test_CFLAGS" = set; then
2718 CFLAGS=$ac_save_CFLAGS
2719 elif test $ac_cv_prog_cc_g = yes; then
2720 if test "$GCC" = yes; then
2721 CFLAGS="-g -O2"
2722 else
2723 CFLAGS="-g"
2725 else
2726 if test "$GCC" = yes; then
2727 CFLAGS="-O2"
2728 else
2729 CFLAGS=
2732 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2733 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2734 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2735 echo $ECHO_N "(cached) $ECHO_C" >&6
2736 else
2737 ac_cv_prog_cc_stdc=no
2738 ac_save_CC=$CC
2739 cat >conftest.$ac_ext <<_ACEOF
2740 /* confdefs.h. */
2741 _ACEOF
2742 cat confdefs.h >>conftest.$ac_ext
2743 cat >>conftest.$ac_ext <<_ACEOF
2744 /* end confdefs.h. */
2745 #include <stdarg.h>
2746 #include <stdio.h>
2747 #include <sys/types.h>
2748 #include <sys/stat.h>
2749 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2750 struct buf { int x; };
2751 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2752 static char *e (p, i)
2753 char **p;
2754 int i;
2756 return p[i];
2758 static char *f (char * (*g) (char **, int), char **p, ...)
2760 char *s;
2761 va_list v;
2762 va_start (v,p);
2763 s = g (p, va_arg (v,int));
2764 va_end (v);
2765 return s;
2768 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2769 function prototypes and stuff, but not '\xHH' hex character constants.
2770 These don't provoke an error unfortunately, instead are silently treated
2771 as 'x'. The following induces an error, until -std1 is added to get
2772 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2773 array size at least. It's necessary to write '\x00'==0 to get something
2774 that's true only with -std1. */
2775 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2777 int test (int i, double x);
2778 struct s1 {int (*f) (int a);};
2779 struct s2 {int (*f) (double a);};
2780 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2781 int argc;
2782 char **argv;
2784 main ()
2786 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2788 return 0;
2790 _ACEOF
2791 # Don't try gcc -ansi; that turns off useful extensions and
2792 # breaks some systems' header files.
2793 # AIX -qlanglvl=ansi
2794 # Ultrix and OSF/1 -std1
2795 # HP-UX 10.20 and later -Ae
2796 # HP-UX older versions -Aa -D_HPUX_SOURCE
2797 # SVR4 -Xc -D__EXTENSIONS__
2798 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2800 CC="$ac_save_CC $ac_arg"
2801 rm -f conftest.$ac_objext
2802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2803 (eval $ac_compile) 2>conftest.er1
2804 ac_status=$?
2805 grep -v '^ *+' conftest.er1 >conftest.err
2806 rm -f conftest.er1
2807 cat conftest.err >&5
2808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809 (exit $ac_status); } &&
2810 { ac_try='test -z "$ac_c_werror_flag"
2811 || test ! -s conftest.err'
2812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2813 (eval $ac_try) 2>&5
2814 ac_status=$?
2815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816 (exit $ac_status); }; } &&
2817 { ac_try='test -s conftest.$ac_objext'
2818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2819 (eval $ac_try) 2>&5
2820 ac_status=$?
2821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2822 (exit $ac_status); }; }; then
2823 ac_cv_prog_cc_stdc=$ac_arg
2824 break
2825 else
2826 echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2830 rm -f conftest.err conftest.$ac_objext
2831 done
2832 rm -f conftest.$ac_ext conftest.$ac_objext
2833 CC=$ac_save_CC
2837 case "x$ac_cv_prog_cc_stdc" in
2838 x|xno)
2839 echo "$as_me:$LINENO: result: none needed" >&5
2840 echo "${ECHO_T}none needed" >&6 ;;
2842 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2843 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2844 CC="$CC $ac_cv_prog_cc_stdc" ;;
2845 esac
2847 # Some people use a C++ compiler to compile C. Since we use `exit',
2848 # in C++ we need to declare it. In case someone uses the same compiler
2849 # for both compiling C and C++ we need to have the C++ compiler decide
2850 # the declaration of exit, since it's the most demanding environment.
2851 cat >conftest.$ac_ext <<_ACEOF
2852 #ifndef __cplusplus
2853 choke me
2854 #endif
2855 _ACEOF
2856 rm -f conftest.$ac_objext
2857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2858 (eval $ac_compile) 2>conftest.er1
2859 ac_status=$?
2860 grep -v '^ *+' conftest.er1 >conftest.err
2861 rm -f conftest.er1
2862 cat conftest.err >&5
2863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864 (exit $ac_status); } &&
2865 { ac_try='test -z "$ac_c_werror_flag"
2866 || test ! -s conftest.err'
2867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2868 (eval $ac_try) 2>&5
2869 ac_status=$?
2870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871 (exit $ac_status); }; } &&
2872 { ac_try='test -s conftest.$ac_objext'
2873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2874 (eval $ac_try) 2>&5
2875 ac_status=$?
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); }; }; then
2878 for ac_declaration in \
2879 '' \
2880 'extern "C" void std::exit (int) throw (); using std::exit;' \
2881 'extern "C" void std::exit (int); using std::exit;' \
2882 'extern "C" void exit (int) throw ();' \
2883 'extern "C" void exit (int);' \
2884 'void exit (int);'
2886 cat >conftest.$ac_ext <<_ACEOF
2887 /* confdefs.h. */
2888 _ACEOF
2889 cat confdefs.h >>conftest.$ac_ext
2890 cat >>conftest.$ac_ext <<_ACEOF
2891 /* end confdefs.h. */
2892 $ac_declaration
2893 #include <stdlib.h>
2895 main ()
2897 exit (42);
2899 return 0;
2901 _ACEOF
2902 rm -f conftest.$ac_objext
2903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2904 (eval $ac_compile) 2>conftest.er1
2905 ac_status=$?
2906 grep -v '^ *+' conftest.er1 >conftest.err
2907 rm -f conftest.er1
2908 cat conftest.err >&5
2909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910 (exit $ac_status); } &&
2911 { ac_try='test -z "$ac_c_werror_flag"
2912 || test ! -s conftest.err'
2913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2914 (eval $ac_try) 2>&5
2915 ac_status=$?
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); }; } &&
2918 { ac_try='test -s conftest.$ac_objext'
2919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2920 (eval $ac_try) 2>&5
2921 ac_status=$?
2922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923 (exit $ac_status); }; }; then
2925 else
2926 echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.$ac_ext >&5
2929 continue
2931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2932 cat >conftest.$ac_ext <<_ACEOF
2933 /* confdefs.h. */
2934 _ACEOF
2935 cat confdefs.h >>conftest.$ac_ext
2936 cat >>conftest.$ac_ext <<_ACEOF
2937 /* end confdefs.h. */
2938 $ac_declaration
2940 main ()
2942 exit (42);
2944 return 0;
2946 _ACEOF
2947 rm -f conftest.$ac_objext
2948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2949 (eval $ac_compile) 2>conftest.er1
2950 ac_status=$?
2951 grep -v '^ *+' conftest.er1 >conftest.err
2952 rm -f conftest.er1
2953 cat conftest.err >&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); } &&
2956 { ac_try='test -z "$ac_c_werror_flag"
2957 || test ! -s conftest.err'
2958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2959 (eval $ac_try) 2>&5
2960 ac_status=$?
2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962 (exit $ac_status); }; } &&
2963 { ac_try='test -s conftest.$ac_objext'
2964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2965 (eval $ac_try) 2>&5
2966 ac_status=$?
2967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968 (exit $ac_status); }; }; then
2969 break
2970 else
2971 echo "$as_me: failed program was:" >&5
2972 sed 's/^/| /' conftest.$ac_ext >&5
2975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2976 done
2977 rm -f conftest*
2978 if test -n "$ac_declaration"; then
2979 echo '#ifdef __cplusplus' >>confdefs.h
2980 echo $ac_declaration >>confdefs.h
2981 echo '#endif' >>confdefs.h
2984 else
2985 echo "$as_me: failed program was:" >&5
2986 sed 's/^/| /' conftest.$ac_ext >&5
2989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2990 ac_ext=c
2991 ac_cpp='$CPP $CPPFLAGS'
2992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2996 ac_ext=cc
2997 ac_cpp='$CXXCPP $CPPFLAGS'
2998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3001 if test -n "$ac_tool_prefix"; then
3002 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3004 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3005 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3006 echo "$as_me:$LINENO: checking for $ac_word" >&5
3007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3008 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3009 echo $ECHO_N "(cached) $ECHO_C" >&6
3010 else
3011 if test -n "$CXX"; then
3012 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3013 else
3014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3015 for as_dir in $PATH
3017 IFS=$as_save_IFS
3018 test -z "$as_dir" && as_dir=.
3019 for ac_exec_ext in '' $ac_executable_extensions; do
3020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3021 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3023 break 2
3025 done
3026 done
3030 CXX=$glibcxx_cv_prog_CXX
3031 if test -n "$CXX"; then
3032 echo "$as_me:$LINENO: result: $CXX" >&5
3033 echo "${ECHO_T}$CXX" >&6
3034 else
3035 echo "$as_me:$LINENO: result: no" >&5
3036 echo "${ECHO_T}no" >&6
3039 test -n "$CXX" && break
3040 done
3042 if test -z "$CXX"; then
3043 ac_ct_CXX=$CXX
3044 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3046 # Extract the first word of "$ac_prog", so it can be a program name with args.
3047 set dummy $ac_prog; ac_word=$2
3048 echo "$as_me:$LINENO: checking for $ac_word" >&5
3049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3050 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3051 echo $ECHO_N "(cached) $ECHO_C" >&6
3052 else
3053 if test -n "$ac_ct_CXX"; then
3054 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3055 else
3056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3057 for as_dir in $PATH
3059 IFS=$as_save_IFS
3060 test -z "$as_dir" && as_dir=.
3061 for ac_exec_ext in '' $ac_executable_extensions; do
3062 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3063 ac_cv_prog_ac_ct_CXX="$ac_prog"
3064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3065 break 2
3067 done
3068 done
3072 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3073 if test -n "$ac_ct_CXX"; then
3074 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3075 echo "${ECHO_T}$ac_ct_CXX" >&6
3076 else
3077 echo "$as_me:$LINENO: result: no" >&5
3078 echo "${ECHO_T}no" >&6
3081 test -n "$ac_ct_CXX" && break
3082 done
3083 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3085 CXX=$ac_ct_CXX
3089 # Provide some information about the compiler.
3090 echo "$as_me:$LINENO:" \
3091 "checking for C++ compiler version" >&5
3092 ac_compiler=`set X $ac_compile; echo $2`
3093 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3094 (eval $ac_compiler --version </dev/null >&5) 2>&5
3095 ac_status=$?
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); }
3098 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3099 (eval $ac_compiler -v </dev/null >&5) 2>&5
3100 ac_status=$?
3101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102 (exit $ac_status); }
3103 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3104 (eval $ac_compiler -V </dev/null >&5) 2>&5
3105 ac_status=$?
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); }
3109 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3110 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3111 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3112 echo $ECHO_N "(cached) $ECHO_C" >&6
3113 else
3114 cat >conftest.$ac_ext <<_ACEOF
3115 /* confdefs.h. */
3116 _ACEOF
3117 cat confdefs.h >>conftest.$ac_ext
3118 cat >>conftest.$ac_ext <<_ACEOF
3119 /* end confdefs.h. */
3122 main ()
3124 #ifndef __GNUC__
3125 choke me
3126 #endif
3129 return 0;
3131 _ACEOF
3132 rm -f conftest.$ac_objext
3133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3134 (eval $ac_compile) 2>conftest.er1
3135 ac_status=$?
3136 grep -v '^ *+' conftest.er1 >conftest.err
3137 rm -f conftest.er1
3138 cat conftest.err >&5
3139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140 (exit $ac_status); } &&
3141 { ac_try='test -z "$ac_cxx_werror_flag"
3142 || test ! -s conftest.err'
3143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3144 (eval $ac_try) 2>&5
3145 ac_status=$?
3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 (exit $ac_status); }; } &&
3148 { ac_try='test -s conftest.$ac_objext'
3149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3150 (eval $ac_try) 2>&5
3151 ac_status=$?
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); }; }; then
3154 ac_compiler_gnu=yes
3155 else
3156 echo "$as_me: failed program was:" >&5
3157 sed 's/^/| /' conftest.$ac_ext >&5
3159 ac_compiler_gnu=no
3161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3162 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3165 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3166 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3167 GXX=`test $ac_compiler_gnu = yes && echo yes`
3168 ac_test_CXXFLAGS=${CXXFLAGS+set}
3169 ac_save_CXXFLAGS=$CXXFLAGS
3170 CXXFLAGS="-g"
3171 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3172 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3173 if test "${ac_cv_prog_cxx_g+set}" = set; then
3174 echo $ECHO_N "(cached) $ECHO_C" >&6
3175 else
3176 cat >conftest.$ac_ext <<_ACEOF
3177 /* confdefs.h. */
3178 _ACEOF
3179 cat confdefs.h >>conftest.$ac_ext
3180 cat >>conftest.$ac_ext <<_ACEOF
3181 /* end confdefs.h. */
3184 main ()
3188 return 0;
3190 _ACEOF
3191 rm -f conftest.$ac_objext
3192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3193 (eval $ac_compile) 2>conftest.er1
3194 ac_status=$?
3195 grep -v '^ *+' conftest.er1 >conftest.err
3196 rm -f conftest.er1
3197 cat conftest.err >&5
3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199 (exit $ac_status); } &&
3200 { ac_try='test -z "$ac_cxx_werror_flag"
3201 || test ! -s conftest.err'
3202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3203 (eval $ac_try) 2>&5
3204 ac_status=$?
3205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3206 (exit $ac_status); }; } &&
3207 { ac_try='test -s conftest.$ac_objext'
3208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3209 (eval $ac_try) 2>&5
3210 ac_status=$?
3211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212 (exit $ac_status); }; }; then
3213 ac_cv_prog_cxx_g=yes
3214 else
3215 echo "$as_me: failed program was:" >&5
3216 sed 's/^/| /' conftest.$ac_ext >&5
3218 ac_cv_prog_cxx_g=no
3220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3222 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3223 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3224 if test "$ac_test_CXXFLAGS" = set; then
3225 CXXFLAGS=$ac_save_CXXFLAGS
3226 elif test $ac_cv_prog_cxx_g = yes; then
3227 if test "$GXX" = yes; then
3228 CXXFLAGS="-g -O2"
3229 else
3230 CXXFLAGS="-g"
3232 else
3233 if test "$GXX" = yes; then
3234 CXXFLAGS="-O2"
3235 else
3236 CXXFLAGS=
3239 for ac_declaration in \
3240 '' \
3241 'extern "C" void std::exit (int) throw (); using std::exit;' \
3242 'extern "C" void std::exit (int); using std::exit;' \
3243 'extern "C" void exit (int) throw ();' \
3244 'extern "C" void exit (int);' \
3245 'void exit (int);'
3247 cat >conftest.$ac_ext <<_ACEOF
3248 /* confdefs.h. */
3249 _ACEOF
3250 cat confdefs.h >>conftest.$ac_ext
3251 cat >>conftest.$ac_ext <<_ACEOF
3252 /* end confdefs.h. */
3253 $ac_declaration
3254 #include <stdlib.h>
3256 main ()
3258 exit (42);
3260 return 0;
3262 _ACEOF
3263 rm -f conftest.$ac_objext
3264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3265 (eval $ac_compile) 2>conftest.er1
3266 ac_status=$?
3267 grep -v '^ *+' conftest.er1 >conftest.err
3268 rm -f conftest.er1
3269 cat conftest.err >&5
3270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3271 (exit $ac_status); } &&
3272 { ac_try='test -z "$ac_cxx_werror_flag"
3273 || test ! -s conftest.err'
3274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3275 (eval $ac_try) 2>&5
3276 ac_status=$?
3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); }; } &&
3279 { ac_try='test -s conftest.$ac_objext'
3280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3281 (eval $ac_try) 2>&5
3282 ac_status=$?
3283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284 (exit $ac_status); }; }; then
3286 else
3287 echo "$as_me: failed program was:" >&5
3288 sed 's/^/| /' conftest.$ac_ext >&5
3290 continue
3292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3293 cat >conftest.$ac_ext <<_ACEOF
3294 /* confdefs.h. */
3295 _ACEOF
3296 cat confdefs.h >>conftest.$ac_ext
3297 cat >>conftest.$ac_ext <<_ACEOF
3298 /* end confdefs.h. */
3299 $ac_declaration
3301 main ()
3303 exit (42);
3305 return 0;
3307 _ACEOF
3308 rm -f conftest.$ac_objext
3309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3310 (eval $ac_compile) 2>conftest.er1
3311 ac_status=$?
3312 grep -v '^ *+' conftest.er1 >conftest.err
3313 rm -f conftest.er1
3314 cat conftest.err >&5
3315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316 (exit $ac_status); } &&
3317 { ac_try='test -z "$ac_cxx_werror_flag"
3318 || test ! -s conftest.err'
3319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3320 (eval $ac_try) 2>&5
3321 ac_status=$?
3322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323 (exit $ac_status); }; } &&
3324 { ac_try='test -s conftest.$ac_objext'
3325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3326 (eval $ac_try) 2>&5
3327 ac_status=$?
3328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329 (exit $ac_status); }; }; then
3330 break
3331 else
3332 echo "$as_me: failed program was:" >&5
3333 sed 's/^/| /' conftest.$ac_ext >&5
3336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3337 done
3338 rm -f conftest*
3339 if test -n "$ac_declaration"; then
3340 echo '#ifdef __cplusplus' >>confdefs.h
3341 echo $ac_declaration >>confdefs.h
3342 echo '#endif' >>confdefs.h
3345 ac_ext=c
3346 ac_cpp='$CPP $CPPFLAGS'
3347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3351 CXXFLAGS="$save_CXXFLAGS"
3356 # For directory versioning (e.g., headers) and other variables.
3357 echo "$as_me:$LINENO: checking for GCC version number" >&5
3358 echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6
3359 gcc_version=`$CXX -dumpversion`
3360 echo "$as_me:$LINENO: result: $gcc_version" >&5
3361 echo "${ECHO_T}$gcc_version" >&6
3363 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3364 # available). Uncomment the next line to force a particular method.
3365 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3366 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3367 LN_S=$as_ln_s
3368 if test "$LN_S" = "ln -s"; then
3369 echo "$as_me:$LINENO: result: yes" >&5
3370 echo "${ECHO_T}yes" >&6
3371 else
3372 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3373 echo "${ECHO_T}no, using $LN_S" >&6
3376 #LN_S='cp -p'
3378 if test -n "$ac_tool_prefix"; then
3379 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3380 set dummy ${ac_tool_prefix}as; ac_word=$2
3381 echo "$as_me:$LINENO: checking for $ac_word" >&5
3382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3383 if test "${ac_cv_prog_AS+set}" = set; then
3384 echo $ECHO_N "(cached) $ECHO_C" >&6
3385 else
3386 if test -n "$AS"; then
3387 ac_cv_prog_AS="$AS" # Let the user override the test.
3388 else
3389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3390 for as_dir in $PATH
3392 IFS=$as_save_IFS
3393 test -z "$as_dir" && as_dir=.
3394 for ac_exec_ext in '' $ac_executable_extensions; do
3395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3396 ac_cv_prog_AS="${ac_tool_prefix}as"
3397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3398 break 2
3400 done
3401 done
3405 AS=$ac_cv_prog_AS
3406 if test -n "$AS"; then
3407 echo "$as_me:$LINENO: result: $AS" >&5
3408 echo "${ECHO_T}$AS" >&6
3409 else
3410 echo "$as_me:$LINENO: result: no" >&5
3411 echo "${ECHO_T}no" >&6
3415 if test -z "$ac_cv_prog_AS"; then
3416 ac_ct_AS=$AS
3417 # Extract the first word of "as", so it can be a program name with args.
3418 set dummy as; ac_word=$2
3419 echo "$as_me:$LINENO: checking for $ac_word" >&5
3420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3421 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3422 echo $ECHO_N "(cached) $ECHO_C" >&6
3423 else
3424 if test -n "$ac_ct_AS"; then
3425 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3426 else
3427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3428 for as_dir in $PATH
3430 IFS=$as_save_IFS
3431 test -z "$as_dir" && as_dir=.
3432 for ac_exec_ext in '' $ac_executable_extensions; do
3433 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3434 ac_cv_prog_ac_ct_AS="as"
3435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3436 break 2
3438 done
3439 done
3443 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3444 if test -n "$ac_ct_AS"; then
3445 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3446 echo "${ECHO_T}$ac_ct_AS" >&6
3447 else
3448 echo "$as_me:$LINENO: result: no" >&5
3449 echo "${ECHO_T}no" >&6
3452 AS=$ac_ct_AS
3453 else
3454 AS="$ac_cv_prog_AS"
3457 if test -n "$ac_tool_prefix"; then
3458 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3459 set dummy ${ac_tool_prefix}ar; ac_word=$2
3460 echo "$as_me:$LINENO: checking for $ac_word" >&5
3461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3462 if test "${ac_cv_prog_AR+set}" = set; then
3463 echo $ECHO_N "(cached) $ECHO_C" >&6
3464 else
3465 if test -n "$AR"; then
3466 ac_cv_prog_AR="$AR" # Let the user override the test.
3467 else
3468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3469 for as_dir in $PATH
3471 IFS=$as_save_IFS
3472 test -z "$as_dir" && as_dir=.
3473 for ac_exec_ext in '' $ac_executable_extensions; do
3474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3475 ac_cv_prog_AR="${ac_tool_prefix}ar"
3476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3477 break 2
3479 done
3480 done
3484 AR=$ac_cv_prog_AR
3485 if test -n "$AR"; then
3486 echo "$as_me:$LINENO: result: $AR" >&5
3487 echo "${ECHO_T}$AR" >&6
3488 else
3489 echo "$as_me:$LINENO: result: no" >&5
3490 echo "${ECHO_T}no" >&6
3494 if test -z "$ac_cv_prog_AR"; then
3495 ac_ct_AR=$AR
3496 # Extract the first word of "ar", so it can be a program name with args.
3497 set dummy ar; ac_word=$2
3498 echo "$as_me:$LINENO: checking for $ac_word" >&5
3499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3500 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3501 echo $ECHO_N "(cached) $ECHO_C" >&6
3502 else
3503 if test -n "$ac_ct_AR"; then
3504 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3505 else
3506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3507 for as_dir in $PATH
3509 IFS=$as_save_IFS
3510 test -z "$as_dir" && as_dir=.
3511 for ac_exec_ext in '' $ac_executable_extensions; do
3512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3513 ac_cv_prog_ac_ct_AR="ar"
3514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3515 break 2
3517 done
3518 done
3522 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3523 if test -n "$ac_ct_AR"; then
3524 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3525 echo "${ECHO_T}$ac_ct_AR" >&6
3526 else
3527 echo "$as_me:$LINENO: result: no" >&5
3528 echo "${ECHO_T}no" >&6
3531 AR=$ac_ct_AR
3532 else
3533 AR="$ac_cv_prog_AR"
3536 if test -n "$ac_tool_prefix"; then
3537 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3538 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3539 echo "$as_me:$LINENO: checking for $ac_word" >&5
3540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3541 if test "${ac_cv_prog_RANLIB+set}" = set; then
3542 echo $ECHO_N "(cached) $ECHO_C" >&6
3543 else
3544 if test -n "$RANLIB"; then
3545 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3546 else
3547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3548 for as_dir in $PATH
3550 IFS=$as_save_IFS
3551 test -z "$as_dir" && as_dir=.
3552 for ac_exec_ext in '' $ac_executable_extensions; do
3553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3554 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3556 break 2
3558 done
3559 done
3563 RANLIB=$ac_cv_prog_RANLIB
3564 if test -n "$RANLIB"; then
3565 echo "$as_me:$LINENO: result: $RANLIB" >&5
3566 echo "${ECHO_T}$RANLIB" >&6
3567 else
3568 echo "$as_me:$LINENO: result: no" >&5
3569 echo "${ECHO_T}no" >&6
3573 if test -z "$ac_cv_prog_RANLIB"; then
3574 ac_ct_RANLIB=$RANLIB
3575 # Extract the first word of "ranlib", so it can be a program name with args.
3576 set dummy ranlib; ac_word=$2
3577 echo "$as_me:$LINENO: checking for $ac_word" >&5
3578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3579 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3580 echo $ECHO_N "(cached) $ECHO_C" >&6
3581 else
3582 if test -n "$ac_ct_RANLIB"; then
3583 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3584 else
3585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3586 for as_dir in $PATH
3588 IFS=$as_save_IFS
3589 test -z "$as_dir" && as_dir=.
3590 for ac_exec_ext in '' $ac_executable_extensions; do
3591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3592 ac_cv_prog_ac_ct_RANLIB="ranlib"
3593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3594 break 2
3596 done
3597 done
3599 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3602 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3603 if test -n "$ac_ct_RANLIB"; then
3604 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3605 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3606 else
3607 echo "$as_me:$LINENO: result: no" >&5
3608 echo "${ECHO_T}no" >&6
3611 RANLIB=$ac_ct_RANLIB
3612 else
3613 RANLIB="$ac_cv_prog_RANLIB"
3617 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3618 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3619 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3620 if test "${enable_maintainer_mode+set}" = set; then
3621 enableval="$enable_maintainer_mode"
3622 USE_MAINTAINER_MODE=$enableval
3623 else
3624 USE_MAINTAINER_MODE=no
3626 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3627 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3630 if test $USE_MAINTAINER_MODE = yes; then
3631 MAINTAINER_MODE_TRUE=
3632 MAINTAINER_MODE_FALSE='#'
3633 else
3634 MAINTAINER_MODE_TRUE='#'
3635 MAINTAINER_MODE_FALSE=
3638 MAINT=$MAINTAINER_MODE_TRUE
3642 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3643 # which are themselves conditionally expanded.
3644 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3645 ## other macros from doing the same. This should be automated.) -pme
3646 need_libmath=no
3647 enable_wchar_t=no
3648 #enable_libstdcxx_debug=no
3649 #enable_libstdcxx_pch=no
3650 #enable_cheaders=c
3651 #c_compatibility=no
3652 #enable_abi_check=no
3653 #enable_symvers=no
3654 #enable_hosted_libstdcxx=yes
3656 # Find platform-specific directories containing configuration info.
3657 # Also possibly modify flags used elsewhere, as needed by the platform.
3659 . $glibcxx_srcdir/configure.host
3660 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3661 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3662 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3663 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3667 #AC_MSG_NOTICE([====== Starting libtool configuration])
3669 # Check whether --enable-shared or --disable-shared was given.
3670 if test "${enable_shared+set}" = set; then
3671 enableval="$enable_shared"
3672 p=${PACKAGE-default}
3673 case $enableval in
3674 yes) enable_shared=yes ;;
3675 no) enable_shared=no ;;
3677 enable_shared=no
3678 # Look at the argument we got. We use all the common list separators.
3679 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3680 for pkg in $enableval; do
3681 if test "X$pkg" = "X$p"; then
3682 enable_shared=yes
3684 done
3685 IFS="$ac_save_ifs"
3687 esac
3688 else
3689 enable_shared=yes
3691 # Check whether --enable-static or --disable-static was given.
3692 if test "${enable_static+set}" = set; then
3693 enableval="$enable_static"
3694 p=${PACKAGE-default}
3695 case $enableval in
3696 yes) enable_static=yes ;;
3697 no) enable_static=no ;;
3699 enable_static=no
3700 # Look at the argument we got. We use all the common list separators.
3701 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3702 for pkg in $enableval; do
3703 if test "X$pkg" = "X$p"; then
3704 enable_static=yes
3706 done
3707 IFS="$ac_save_ifs"
3709 esac
3710 else
3711 enable_static=yes
3713 # Check whether --enable-fast-install or --disable-fast-install was given.
3714 if test "${enable_fast_install+set}" = set; then
3715 enableval="$enable_fast_install"
3716 p=${PACKAGE-default}
3717 case $enableval in
3718 yes) enable_fast_install=yes ;;
3719 no) enable_fast_install=no ;;
3721 enable_fast_install=no
3722 # Look at the argument we got. We use all the common list separators.
3723 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3724 for pkg in $enableval; do
3725 if test "X$pkg" = "X$p"; then
3726 enable_fast_install=yes
3728 done
3729 IFS="$ac_save_ifs"
3731 esac
3732 else
3733 enable_fast_install=yes
3736 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3737 if test "${with_gnu_ld+set}" = set; then
3738 withval="$with_gnu_ld"
3739 test "$withval" = no || with_gnu_ld=yes
3740 else
3741 with_gnu_ld=no
3743 ac_prog=ld
3744 if test "$GCC" = yes; then
3745 # Check if gcc -print-prog-name=ld gives a path.
3746 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3747 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3748 case $host in
3749 *-*-mingw*)
3750 # gcc leaves a trailing carriage return which upsets mingw
3751 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3753 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3754 esac
3755 case $ac_prog in
3756 # Accept absolute paths.
3757 [\\/]* | [A-Za-z]:[\\/]*)
3758 re_direlt='/[^/][^/]*/\.\./'
3759 # Canonicalize the path of ld
3760 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3761 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3762 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3763 done
3764 test -z "$LD" && LD="$ac_prog"
3767 # If it fails, then pretend we aren't using GCC.
3768 ac_prog=ld
3771 # If it is relative, then search for the first ld in PATH.
3772 with_gnu_ld=unknown
3774 esac
3775 elif test "$with_gnu_ld" = yes; then
3776 echo "$as_me:$LINENO: checking for GNU ld" >&5
3777 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3778 else
3779 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3780 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3782 if test "${lt_cv_path_LD+set}" = set; then
3783 echo $ECHO_N "(cached) $ECHO_C" >&6
3784 else
3785 if test -z "$LD"; then
3786 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3787 for ac_dir in $PATH; do
3788 test -z "$ac_dir" && ac_dir=.
3789 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3790 lt_cv_path_LD="$ac_dir/$ac_prog"
3791 # Check to see if the program is GNU ld. I'd rather use --version,
3792 # but apparently some GNU ld's only accept -v.
3793 # Break only if it was the GNU/non-GNU ld that we prefer.
3794 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3795 test "$with_gnu_ld" != no && break
3796 else
3797 test "$with_gnu_ld" != yes && break
3800 done
3801 IFS="$ac_save_ifs"
3802 else
3803 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3807 LD="$lt_cv_path_LD"
3808 if test -n "$LD"; then
3809 echo "$as_me:$LINENO: result: $LD" >&5
3810 echo "${ECHO_T}$LD" >&6
3811 else
3812 echo "$as_me:$LINENO: result: no" >&5
3813 echo "${ECHO_T}no" >&6
3815 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3816 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3817 { (exit 1); exit 1; }; }
3818 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3819 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3820 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3821 echo $ECHO_N "(cached) $ECHO_C" >&6
3822 else
3823 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3824 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3825 lt_cv_prog_gnu_ld=yes
3826 else
3827 lt_cv_prog_gnu_ld=no
3830 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3831 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3832 with_gnu_ld=$lt_cv_prog_gnu_ld
3835 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3836 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3837 if test "${lt_cv_ld_reload_flag+set}" = set; then
3838 echo $ECHO_N "(cached) $ECHO_C" >&6
3839 else
3840 lt_cv_ld_reload_flag='-r'
3842 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3843 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3844 reload_flag=$lt_cv_ld_reload_flag
3845 test -n "$reload_flag" && reload_flag=" $reload_flag"
3847 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3848 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3849 if test "${lt_cv_path_NM+set}" = set; then
3850 echo $ECHO_N "(cached) $ECHO_C" >&6
3851 else
3852 if test -n "$NM"; then
3853 # Let the user override the test.
3854 lt_cv_path_NM="$NM"
3855 else
3856 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3857 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3858 test -z "$ac_dir" && ac_dir=.
3859 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3860 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3861 # Check to see if the nm accepts a BSD-compat flag.
3862 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3863 # nm: unknown option "B" ignored
3864 # Tru64's nm complains that /dev/null is an invalid object file
3865 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3866 lt_cv_path_NM="$tmp_nm -B"
3867 break
3868 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3869 lt_cv_path_NM="$tmp_nm -p"
3870 break
3871 else
3872 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3873 continue # so that we can try to find one that supports BSD flags
3876 done
3877 IFS="$ac_save_ifs"
3878 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3882 NM="$lt_cv_path_NM"
3883 echo "$as_me:$LINENO: result: $NM" >&5
3884 echo "${ECHO_T}$NM" >&6
3886 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3887 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3888 if test "${lt_cv_deplibs_check_method+set}" = set; then
3889 echo $ECHO_N "(cached) $ECHO_C" >&6
3890 else
3891 lt_cv_file_magic_cmd='$MAGIC_CMD'
3892 lt_cv_file_magic_test_file=
3893 lt_cv_deplibs_check_method='unknown'
3894 # Need to set the preceding variable on all platforms that support
3895 # interlibrary dependencies.
3896 # 'none' -- dependencies not supported.
3897 # `unknown' -- same as none, but documents that we really don't know.
3898 # 'pass_all' -- all dependencies passed with no checks.
3899 # 'test_compile' -- check by making test program.
3900 # 'file_magic [regex]' -- check by looking for files in library path
3901 # which responds to the $file_magic_cmd with a given egrep regex.
3902 # If you have `file' or equivalent on your system and you're not sure
3903 # whether `pass_all' will *always* work, you probably want this one.
3905 case $host_os in
3906 aix*)
3907 lt_cv_deplibs_check_method=pass_all
3910 beos*)
3911 lt_cv_deplibs_check_method=pass_all
3914 bsdi4*)
3915 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3916 lt_cv_file_magic_cmd='/usr/bin/file -L'
3917 lt_cv_file_magic_test_file=/shlib/libc.so
3920 cygwin* | mingw* |pw32*)
3921 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3922 lt_cv_file_magic_cmd='$OBJDUMP -f'
3925 darwin* | rhapsody*)
3926 # this will be overwritten by pass_all, but leave it in just in case
3927 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3928 lt_cv_file_magic_cmd='/usr/bin/file -L'
3929 case "$host_os" in
3930 rhapsody* | darwin1.012)
3931 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3933 *) # Darwin 1.3 on
3934 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3936 esac
3937 lt_cv_deplibs_check_method=pass_all
3940 freebsd* | kfreebsd*-gnu)
3941 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3942 case $host_cpu in
3943 i*86 )
3944 # Not sure whether the presence of OpenBSD here was a mistake.
3945 # Let's accept both of them until this is cleared up.
3946 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3947 lt_cv_file_magic_cmd=/usr/bin/file
3948 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3950 esac
3951 else
3952 lt_cv_deplibs_check_method=pass_all
3956 gnu*)
3957 lt_cv_deplibs_check_method=pass_all
3960 hpux10.20*|hpux11*)
3961 case $host_cpu in
3962 hppa*)
3963 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3964 lt_cv_file_magic_cmd=/usr/bin/file
3965 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3967 ia64*)
3968 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3969 lt_cv_file_magic_cmd=/usr/bin/file
3970 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3972 esac
3975 irix5* | irix6*)
3976 case $host_os in
3977 irix5*)
3978 # this will be overridden with pass_all, but let us keep it just in case
3979 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3982 case $LD in
3983 *-32|*"-32 ") libmagic=32-bit;;
3984 *-n32|*"-n32 ") libmagic=N32;;
3985 *-64|*"-64 ") libmagic=64-bit;;
3986 *) libmagic=never-match;;
3987 esac
3988 # this will be overridden with pass_all, but let us keep it just in case
3989 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3991 esac
3992 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3993 lt_cv_deplibs_check_method=pass_all
3996 # This must be Linux ELF.
3997 linux-gnu*)
3998 lt_cv_deplibs_check_method=pass_all
4001 netbsd* | knetbsd*-gnu)
4002 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4003 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4004 else
4005 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4009 newsos6)
4010 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4011 lt_cv_file_magic_cmd=/usr/bin/file
4012 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4015 osf3* | osf4* | osf5*)
4016 # this will be overridden with pass_all, but let us keep it just in case
4017 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4018 lt_cv_file_magic_test_file=/shlib/libc.so
4019 lt_cv_deplibs_check_method=pass_all
4022 sco3.2v5*)
4023 lt_cv_deplibs_check_method=pass_all
4026 solaris*)
4027 lt_cv_deplibs_check_method=pass_all
4028 lt_cv_file_magic_test_file=/lib/libc.so
4031 sysv5uw[78]* | sysv4*uw2*)
4032 lt_cv_deplibs_check_method=pass_all
4035 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4036 case $host_vendor in
4037 ncr)
4038 lt_cv_deplibs_check_method=pass_all
4040 motorola)
4041 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4042 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4044 esac
4046 esac
4049 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4050 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4051 file_magic_cmd=$lt_cv_file_magic_cmd
4052 deplibs_check_method=$lt_cv_deplibs_check_method
4058 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4060 # Only perform the check for file, if the check method requires it
4061 case $deplibs_check_method in
4062 file_magic*)
4063 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4064 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4065 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4066 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4067 echo $ECHO_N "(cached) $ECHO_C" >&6
4068 else
4069 case $MAGIC_CMD in
4071 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4073 ?:/*)
4074 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4077 ac_save_MAGIC_CMD="$MAGIC_CMD"
4078 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4079 ac_dummy="/usr/bin:$PATH"
4080 for ac_dir in $ac_dummy; do
4081 test -z "$ac_dir" && ac_dir=.
4082 if test -f $ac_dir/${ac_tool_prefix}file; then
4083 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4084 if test -n "$file_magic_test_file"; then
4085 case $deplibs_check_method in
4086 "file_magic "*)
4087 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4088 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4089 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4090 egrep "$file_magic_regex" > /dev/null; then
4092 else
4093 cat <<EOF 1>&2
4095 *** Warning: the command libtool uses to detect shared libraries,
4096 *** $file_magic_cmd, produces output that libtool cannot recognize.
4097 *** The result is that libtool may fail to recognize shared libraries
4098 *** as such. This will affect the creation of libtool libraries that
4099 *** depend on shared libraries, but programs linked with such libtool
4100 *** libraries will work regardless of this problem. Nevertheless, you
4101 *** may want to report the problem to your system manager and/or to
4102 *** bug-libtool@gnu.org
4105 fi ;;
4106 esac
4108 break
4110 done
4111 IFS="$ac_save_ifs"
4112 MAGIC_CMD="$ac_save_MAGIC_CMD"
4114 esac
4117 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4118 if test -n "$MAGIC_CMD"; then
4119 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4120 echo "${ECHO_T}$MAGIC_CMD" >&6
4121 else
4122 echo "$as_me:$LINENO: result: no" >&5
4123 echo "${ECHO_T}no" >&6
4126 if test -z "$lt_cv_path_MAGIC_CMD"; then
4127 if test -n "$ac_tool_prefix"; then
4128 echo "$as_me:$LINENO: checking for file" >&5
4129 echo $ECHO_N "checking for file... $ECHO_C" >&6
4130 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4131 echo $ECHO_N "(cached) $ECHO_C" >&6
4132 else
4133 case $MAGIC_CMD in
4135 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4137 ?:/*)
4138 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4141 ac_save_MAGIC_CMD="$MAGIC_CMD"
4142 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4143 ac_dummy="/usr/bin:$PATH"
4144 for ac_dir in $ac_dummy; do
4145 test -z "$ac_dir" && ac_dir=.
4146 if test -f $ac_dir/file; then
4147 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4148 if test -n "$file_magic_test_file"; then
4149 case $deplibs_check_method in
4150 "file_magic "*)
4151 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4152 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4153 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4154 egrep "$file_magic_regex" > /dev/null; then
4156 else
4157 cat <<EOF 1>&2
4159 *** Warning: the command libtool uses to detect shared libraries,
4160 *** $file_magic_cmd, produces output that libtool cannot recognize.
4161 *** The result is that libtool may fail to recognize shared libraries
4162 *** as such. This will affect the creation of libtool libraries that
4163 *** depend on shared libraries, but programs linked with such libtool
4164 *** libraries will work regardless of this problem. Nevertheless, you
4165 *** may want to report the problem to your system manager and/or to
4166 *** bug-libtool@gnu.org
4169 fi ;;
4170 esac
4172 break
4174 done
4175 IFS="$ac_save_ifs"
4176 MAGIC_CMD="$ac_save_MAGIC_CMD"
4178 esac
4181 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4182 if test -n "$MAGIC_CMD"; then
4183 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4184 echo "${ECHO_T}$MAGIC_CMD" >&6
4185 else
4186 echo "$as_me:$LINENO: result: no" >&5
4187 echo "${ECHO_T}no" >&6
4190 else
4191 MAGIC_CMD=:
4197 esac
4199 if test -n "$ac_tool_prefix"; then
4200 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4201 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4202 echo "$as_me:$LINENO: checking for $ac_word" >&5
4203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4204 if test "${ac_cv_prog_RANLIB+set}" = set; then
4205 echo $ECHO_N "(cached) $ECHO_C" >&6
4206 else
4207 if test -n "$RANLIB"; then
4208 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4209 else
4210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4211 for as_dir in $PATH
4213 IFS=$as_save_IFS
4214 test -z "$as_dir" && as_dir=.
4215 for ac_exec_ext in '' $ac_executable_extensions; do
4216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4217 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4219 break 2
4221 done
4222 done
4226 RANLIB=$ac_cv_prog_RANLIB
4227 if test -n "$RANLIB"; then
4228 echo "$as_me:$LINENO: result: $RANLIB" >&5
4229 echo "${ECHO_T}$RANLIB" >&6
4230 else
4231 echo "$as_me:$LINENO: result: no" >&5
4232 echo "${ECHO_T}no" >&6
4236 if test -z "$ac_cv_prog_RANLIB"; then
4237 ac_ct_RANLIB=$RANLIB
4238 # Extract the first word of "ranlib", so it can be a program name with args.
4239 set dummy ranlib; ac_word=$2
4240 echo "$as_me:$LINENO: checking for $ac_word" >&5
4241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4242 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4243 echo $ECHO_N "(cached) $ECHO_C" >&6
4244 else
4245 if test -n "$ac_ct_RANLIB"; then
4246 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4247 else
4248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4249 for as_dir in $PATH
4251 IFS=$as_save_IFS
4252 test -z "$as_dir" && as_dir=.
4253 for ac_exec_ext in '' $ac_executable_extensions; do
4254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4255 ac_cv_prog_ac_ct_RANLIB="ranlib"
4256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4257 break 2
4259 done
4260 done
4262 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4265 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4266 if test -n "$ac_ct_RANLIB"; then
4267 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4268 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4269 else
4270 echo "$as_me:$LINENO: result: no" >&5
4271 echo "${ECHO_T}no" >&6
4274 RANLIB=$ac_ct_RANLIB
4275 else
4276 RANLIB="$ac_cv_prog_RANLIB"
4279 if test -n "$ac_tool_prefix"; then
4280 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4281 set dummy ${ac_tool_prefix}strip; ac_word=$2
4282 echo "$as_me:$LINENO: checking for $ac_word" >&5
4283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4284 if test "${ac_cv_prog_STRIP+set}" = set; then
4285 echo $ECHO_N "(cached) $ECHO_C" >&6
4286 else
4287 if test -n "$STRIP"; then
4288 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4289 else
4290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4291 for as_dir in $PATH
4293 IFS=$as_save_IFS
4294 test -z "$as_dir" && as_dir=.
4295 for ac_exec_ext in '' $ac_executable_extensions; do
4296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4297 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4299 break 2
4301 done
4302 done
4306 STRIP=$ac_cv_prog_STRIP
4307 if test -n "$STRIP"; then
4308 echo "$as_me:$LINENO: result: $STRIP" >&5
4309 echo "${ECHO_T}$STRIP" >&6
4310 else
4311 echo "$as_me:$LINENO: result: no" >&5
4312 echo "${ECHO_T}no" >&6
4316 if test -z "$ac_cv_prog_STRIP"; then
4317 ac_ct_STRIP=$STRIP
4318 # Extract the first word of "strip", so it can be a program name with args.
4319 set dummy strip; ac_word=$2
4320 echo "$as_me:$LINENO: checking for $ac_word" >&5
4321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4322 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4323 echo $ECHO_N "(cached) $ECHO_C" >&6
4324 else
4325 if test -n "$ac_ct_STRIP"; then
4326 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4327 else
4328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4329 for as_dir in $PATH
4331 IFS=$as_save_IFS
4332 test -z "$as_dir" && as_dir=.
4333 for ac_exec_ext in '' $ac_executable_extensions; do
4334 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4335 ac_cv_prog_ac_ct_STRIP="strip"
4336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4337 break 2
4339 done
4340 done
4342 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4345 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4346 if test -n "$ac_ct_STRIP"; then
4347 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4348 echo "${ECHO_T}$ac_ct_STRIP" >&6
4349 else
4350 echo "$as_me:$LINENO: result: no" >&5
4351 echo "${ECHO_T}no" >&6
4354 STRIP=$ac_ct_STRIP
4355 else
4356 STRIP="$ac_cv_prog_STRIP"
4360 # Check for any special flags to pass to ltconfig.
4361 libtool_flags="--cache-file=$cache_file"
4362 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4363 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4364 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4365 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4366 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4369 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4370 if test "${enable_libtool_lock+set}" = set; then
4371 enableval="$enable_libtool_lock"
4374 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4375 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4378 # Check whether --with-pic or --without-pic was given.
4379 if test "${with_pic+set}" = set; then
4380 withval="$with_pic"
4381 pic_mode="$withval"
4382 else
4383 pic_mode=default
4385 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4386 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4388 # Some flags need to be propagated to the compiler or linker for good
4389 # libtool support.
4390 case $host in
4391 *-*-irix6*)
4392 # Find out which ABI we are using.
4393 echo '#line 4393 "configure"' > conftest.$ac_ext
4394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4395 (eval $ac_compile) 2>&5
4396 ac_status=$?
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); }; then
4399 if test "$lt_cv_prog_gnu_ld" = yes; then
4400 case `/usr/bin/file conftest.$ac_objext` in
4401 *32-bit*)
4402 LD="${LD-ld} -melf32bsmip"
4404 *N32*)
4405 LD="${LD-ld} -melf32bmipn32"
4407 *64-bit*)
4408 LD="${LD-ld} -melf64bmip"
4410 esac
4411 else
4412 case `/usr/bin/file conftest.$ac_objext` in
4413 *32-bit*)
4414 LD="${LD-ld} -32"
4416 *N32*)
4417 LD="${LD-ld} -n32"
4419 *64-bit*)
4420 LD="${LD-ld} -64"
4422 esac
4425 rm -rf conftest*
4428 ia64-*-hpux*)
4429 # Find out which ABI we are using.
4430 echo 'int i;' > conftest.$ac_ext
4431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4432 (eval $ac_compile) 2>&5
4433 ac_status=$?
4434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4435 (exit $ac_status); }; then
4436 case "`/usr/bin/file conftest.o`" in
4437 *ELF-32*)
4438 HPUX_IA64_MODE="32"
4440 *ELF-64*)
4441 HPUX_IA64_MODE="64"
4443 esac
4445 rm -rf conftest*
4448 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4449 # Find out which ABI we are using.
4450 echo 'int i;' > conftest.$ac_ext
4451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4452 (eval $ac_compile) 2>&5
4453 ac_status=$?
4454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4455 (exit $ac_status); }; then
4456 case "`/usr/bin/file conftest.o`" in
4457 *32-bit*)
4458 case $host in
4459 x86_64-*linux*)
4460 LD="${LD-ld} -m elf_i386"
4462 ppc64-*linux*|powerpc64-*linux*)
4463 LD="${LD-ld} -m elf32ppclinux"
4465 s390x-*linux*)
4466 LD="${LD-ld} -m elf_s390"
4468 sparc64-*linux*)
4469 LD="${LD-ld} -m elf32_sparc"
4471 esac
4473 *64-bit*)
4474 case $host in
4475 x86_64-*linux*)
4476 LD="${LD-ld} -m elf_x86_64"
4478 ppc*-*linux*|powerpc*-*linux*)
4479 LD="${LD-ld} -m elf64ppc"
4481 s390*-*linux*)
4482 LD="${LD-ld} -m elf64_s390"
4484 sparc*-*linux*)
4485 LD="${LD-ld} -m elf64_sparc"
4487 esac
4489 esac
4491 rm -rf conftest*
4494 *-*-sco3.2v5*)
4495 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4496 SAVE_CFLAGS="$CFLAGS"
4497 CFLAGS="$CFLAGS -belf"
4498 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4499 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4500 if test "${lt_cv_cc_needs_belf+set}" = set; then
4501 echo $ECHO_N "(cached) $ECHO_C" >&6
4502 else
4505 ac_ext=c
4506 ac_cpp='$CPP $CPPFLAGS'
4507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4511 if test x$gcc_no_link = xyes; then
4512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4514 { (exit 1); exit 1; }; }
4516 cat >conftest.$ac_ext <<_ACEOF
4517 /* confdefs.h. */
4518 _ACEOF
4519 cat confdefs.h >>conftest.$ac_ext
4520 cat >>conftest.$ac_ext <<_ACEOF
4521 /* end confdefs.h. */
4524 main ()
4528 return 0;
4530 _ACEOF
4531 rm -f conftest.$ac_objext conftest$ac_exeext
4532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4533 (eval $ac_link) 2>conftest.er1
4534 ac_status=$?
4535 grep -v '^ *+' conftest.er1 >conftest.err
4536 rm -f conftest.er1
4537 cat conftest.err >&5
4538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4539 (exit $ac_status); } &&
4540 { ac_try='test -z "$ac_c_werror_flag"
4541 || test ! -s conftest.err'
4542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4543 (eval $ac_try) 2>&5
4544 ac_status=$?
4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); }; } &&
4547 { ac_try='test -s conftest$ac_exeext'
4548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4549 (eval $ac_try) 2>&5
4550 ac_status=$?
4551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4552 (exit $ac_status); }; }; then
4553 lt_cv_cc_needs_belf=yes
4554 else
4555 echo "$as_me: failed program was:" >&5
4556 sed 's/^/| /' conftest.$ac_ext >&5
4558 lt_cv_cc_needs_belf=no
4560 rm -f conftest.err conftest.$ac_objext \
4561 conftest$ac_exeext conftest.$ac_ext
4562 ac_ext=c
4563 ac_cpp='$CPP $CPPFLAGS'
4564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4569 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4570 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4571 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4572 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4573 CFLAGS="$SAVE_CFLAGS"
4578 esac
4581 # Save cache, so that ltconfig can load it
4582 cat >confcache <<\_ACEOF
4583 # This file is a shell script that caches the results of configure
4584 # tests run on this system so they can be shared between configure
4585 # scripts and configure runs, see configure's option --config-cache.
4586 # It is not useful on other systems. If it contains results you don't
4587 # want to keep, you may remove or edit it.
4589 # config.status only pays attention to the cache file if you give it
4590 # the --recheck option to rerun configure.
4592 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4593 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4594 # following values.
4596 _ACEOF
4598 # The following way of writing the cache mishandles newlines in values,
4599 # but we know of no workaround that is simple, portable, and efficient.
4600 # So, don't put newlines in cache variables' values.
4601 # Ultrix sh set writes to stderr and can't be redirected directly,
4602 # and sets the high bit in the cache file unless we assign to the vars.
4604 (set) 2>&1 |
4605 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4606 *ac_space=\ *)
4607 # `set' does not quote correctly, so add quotes (double-quote
4608 # substitution turns \\\\ into \\, and sed turns \\ into \).
4609 sed -n \
4610 "s/'/'\\\\''/g;
4611 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4614 # `set' quotes correctly as required by POSIX, so do not add quotes.
4615 sed -n \
4616 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4618 esac;
4620 sed '
4621 t clear
4622 : clear
4623 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4624 t end
4625 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4626 : end' >>confcache
4627 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4628 if test -w $cache_file; then
4629 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4630 cat confcache >$cache_file
4631 else
4632 echo "not updating unwritable cache $cache_file"
4635 rm -f confcache
4637 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4638 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4639 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4640 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4641 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4642 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4643 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4644 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4645 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4646 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4647 echo "$as_me: error: libtool configure failed" >&2;}
4648 { (exit 1); exit 1; }; }
4650 # Reload cache, that may have been modified by ltconfig
4651 if test -r "$cache_file"; then
4652 # Some versions of bash will fail to source /dev/null (special
4653 # files actually), so we avoid doing that.
4654 if test -f "$cache_file"; then
4655 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4656 echo "$as_me: loading cache $cache_file" >&6;}
4657 case $cache_file in
4658 [\\/]* | ?:[\\/]* ) . $cache_file;;
4659 *) . ./$cache_file;;
4660 esac
4662 else
4663 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4664 echo "$as_me: creating cache $cache_file" >&6;}
4665 >$cache_file
4669 # This can be used to rebuild libtool when needed
4670 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4672 # Always use our own libtool.
4673 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4675 # Redirect the config.log output again, so that the ltconfig log is not
4676 # clobbered by the next message.
4677 exec 5>>./config.log
4679 ac_ext=cc
4680 ac_cpp='$CXXCPP $CPPFLAGS'
4681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4684 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4685 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4686 if test -z "$CXXCPP"; then
4687 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4688 echo $ECHO_N "(cached) $ECHO_C" >&6
4689 else
4690 # Double quotes because CXXCPP needs to be expanded
4691 for CXXCPP in "$CXX -E" "/lib/cpp"
4693 ac_preproc_ok=false
4694 for ac_cxx_preproc_warn_flag in '' yes
4696 # Use a header file that comes with gcc, so configuring glibc
4697 # with a fresh cross-compiler works.
4698 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4699 # <limits.h> exists even on freestanding compilers.
4700 # On the NeXT, cc -E runs the code through the compiler's parser,
4701 # not just through cpp. "Syntax error" is here to catch this case.
4702 cat >conftest.$ac_ext <<_ACEOF
4703 /* confdefs.h. */
4704 _ACEOF
4705 cat confdefs.h >>conftest.$ac_ext
4706 cat >>conftest.$ac_ext <<_ACEOF
4707 /* end confdefs.h. */
4708 #ifdef __STDC__
4709 # include <limits.h>
4710 #else
4711 # include <assert.h>
4712 #endif
4713 Syntax error
4714 _ACEOF
4715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4716 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4717 ac_status=$?
4718 grep -v '^ *+' conftest.er1 >conftest.err
4719 rm -f conftest.er1
4720 cat conftest.err >&5
4721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4722 (exit $ac_status); } >/dev/null; then
4723 if test -s conftest.err; then
4724 ac_cpp_err=$ac_cxx_preproc_warn_flag
4725 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4726 else
4727 ac_cpp_err=
4729 else
4730 ac_cpp_err=yes
4732 if test -z "$ac_cpp_err"; then
4734 else
4735 echo "$as_me: failed program was:" >&5
4736 sed 's/^/| /' conftest.$ac_ext >&5
4738 # Broken: fails on valid input.
4739 continue
4741 rm -f conftest.err conftest.$ac_ext
4743 # OK, works on sane cases. Now check whether non-existent headers
4744 # can be detected and how.
4745 cat >conftest.$ac_ext <<_ACEOF
4746 /* confdefs.h. */
4747 _ACEOF
4748 cat confdefs.h >>conftest.$ac_ext
4749 cat >>conftest.$ac_ext <<_ACEOF
4750 /* end confdefs.h. */
4751 #include <ac_nonexistent.h>
4752 _ACEOF
4753 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4754 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4755 ac_status=$?
4756 grep -v '^ *+' conftest.er1 >conftest.err
4757 rm -f conftest.er1
4758 cat conftest.err >&5
4759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760 (exit $ac_status); } >/dev/null; then
4761 if test -s conftest.err; then
4762 ac_cpp_err=$ac_cxx_preproc_warn_flag
4763 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4764 else
4765 ac_cpp_err=
4767 else
4768 ac_cpp_err=yes
4770 if test -z "$ac_cpp_err"; then
4771 # Broken: success on invalid input.
4772 continue
4773 else
4774 echo "$as_me: failed program was:" >&5
4775 sed 's/^/| /' conftest.$ac_ext >&5
4777 # Passes both tests.
4778 ac_preproc_ok=:
4779 break
4781 rm -f conftest.err conftest.$ac_ext
4783 done
4784 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4785 rm -f conftest.err conftest.$ac_ext
4786 if $ac_preproc_ok; then
4787 break
4790 done
4791 ac_cv_prog_CXXCPP=$CXXCPP
4794 CXXCPP=$ac_cv_prog_CXXCPP
4795 else
4796 ac_cv_prog_CXXCPP=$CXXCPP
4798 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4799 echo "${ECHO_T}$CXXCPP" >&6
4800 ac_preproc_ok=false
4801 for ac_cxx_preproc_warn_flag in '' yes
4803 # Use a header file that comes with gcc, so configuring glibc
4804 # with a fresh cross-compiler works.
4805 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4806 # <limits.h> exists even on freestanding compilers.
4807 # On the NeXT, cc -E runs the code through the compiler's parser,
4808 # not just through cpp. "Syntax error" is here to catch this case.
4809 cat >conftest.$ac_ext <<_ACEOF
4810 /* confdefs.h. */
4811 _ACEOF
4812 cat confdefs.h >>conftest.$ac_ext
4813 cat >>conftest.$ac_ext <<_ACEOF
4814 /* end confdefs.h. */
4815 #ifdef __STDC__
4816 # include <limits.h>
4817 #else
4818 # include <assert.h>
4819 #endif
4820 Syntax error
4821 _ACEOF
4822 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4823 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4824 ac_status=$?
4825 grep -v '^ *+' conftest.er1 >conftest.err
4826 rm -f conftest.er1
4827 cat conftest.err >&5
4828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4829 (exit $ac_status); } >/dev/null; then
4830 if test -s conftest.err; then
4831 ac_cpp_err=$ac_cxx_preproc_warn_flag
4832 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4833 else
4834 ac_cpp_err=
4836 else
4837 ac_cpp_err=yes
4839 if test -z "$ac_cpp_err"; then
4841 else
4842 echo "$as_me: failed program was:" >&5
4843 sed 's/^/| /' conftest.$ac_ext >&5
4845 # Broken: fails on valid input.
4846 continue
4848 rm -f conftest.err conftest.$ac_ext
4850 # OK, works on sane cases. Now check whether non-existent headers
4851 # can be detected and how.
4852 cat >conftest.$ac_ext <<_ACEOF
4853 /* confdefs.h. */
4854 _ACEOF
4855 cat confdefs.h >>conftest.$ac_ext
4856 cat >>conftest.$ac_ext <<_ACEOF
4857 /* end confdefs.h. */
4858 #include <ac_nonexistent.h>
4859 _ACEOF
4860 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4861 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4862 ac_status=$?
4863 grep -v '^ *+' conftest.er1 >conftest.err
4864 rm -f conftest.er1
4865 cat conftest.err >&5
4866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4867 (exit $ac_status); } >/dev/null; then
4868 if test -s conftest.err; then
4869 ac_cpp_err=$ac_cxx_preproc_warn_flag
4870 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4871 else
4872 ac_cpp_err=
4874 else
4875 ac_cpp_err=yes
4877 if test -z "$ac_cpp_err"; then
4878 # Broken: success on invalid input.
4879 continue
4880 else
4881 echo "$as_me: failed program was:" >&5
4882 sed 's/^/| /' conftest.$ac_ext >&5
4884 # Passes both tests.
4885 ac_preproc_ok=:
4886 break
4888 rm -f conftest.err conftest.$ac_ext
4890 done
4891 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4892 rm -f conftest.err conftest.$ac_ext
4893 if $ac_preproc_ok; then
4895 else
4896 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4897 See \`config.log' for more details." >&5
4898 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4899 See \`config.log' for more details." >&2;}
4900 { (exit 1); exit 1; }; }
4903 ac_ext=c
4904 ac_cpp='$CPP $CPPFLAGS'
4905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4911 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4912 lt_save_CC="$CC"
4913 lt_save_CFLAGS="$CFLAGS"
4914 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4915 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4916 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4917 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4918 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4919 deplibs_check_method="$deplibs_check_method" \
4920 file_magic_cmd="$file_magic_cmd" \
4921 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4922 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4923 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4924 echo "$as_me: error: libtool tag configuration failed" >&2;}
4925 { (exit 1); exit 1; }; }
4926 CC="$lt_save_CC"
4927 CFLAGS="$lt_save_CFLAGS"
4929 # Redirect the config.log output again, so that the ltconfig log is not
4930 # clobbered by the next message.
4931 exec 5>>./config.log
4940 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4942 # Possibly disable most of the library.
4943 ## XXX Consider skipping unncessary tests altogether in this case, rather
4944 ## than just ignoring the results. Faster /and/ more correct, win win.
4946 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4947 if test "${enable_hosted_libstdcxx+set}" = set; then
4948 enableval="$enable_hosted_libstdcxx"
4950 else
4951 case "$host" in
4952 arm*-*-symbianelf*)
4953 enable_hosted_libstdcxx=no
4956 enable_hosted_libstdcxx=yes
4958 esac
4960 if test "$enable_hosted_libstdcxx" = no; then
4961 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4962 echo "$as_me: Only freestanding libraries will be built" >&6;}
4963 is_hosted=no
4964 hosted_define=0
4965 enable_abi_check=no
4966 enable_libstdcxx_pch=no
4967 else
4968 is_hosted=yes
4969 hosted_define=1
4973 cat >>confdefs.h <<_ACEOF
4974 #define _GLIBCXX_HOSTED $hosted_define
4975 _ACEOF
4979 # Check for support bits and g++ features that don't require linking.
4981 echo "$as_me:$LINENO: checking for exception model to use" >&5
4982 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4985 ac_ext=cc
4986 ac_cpp='$CXXCPP $CPPFLAGS'
4987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4991 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4992 if test "${enable_sjlj_exceptions+set}" = set; then
4993 enableval="$enable_sjlj_exceptions"
4995 case "$enableval" in
4996 yes|no|auto) ;;
4997 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
4998 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
4999 { (exit 1); exit 1; }; } ;;
5000 esac
5002 else
5003 enable_sjlj_exceptions=auto
5007 if test $enable_sjlj_exceptions = auto; then
5008 # Botheration. Now we've got to detect the exception model. Link tests
5009 # against libgcc.a are problematic since we've not been given proper -L
5010 # bits for single-tree newlib and libgloss.
5012 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
5013 cat > conftest.$ac_ext << EOF
5014 #line 5014 "configure"
5015 struct S { ~S(); };
5016 void bar();
5017 void foo()
5019 S s;
5020 bar();
5023 old_CXXFLAGS="$CXXFLAGS"
5024 CXXFLAGS=-S
5025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5026 (eval $ac_compile) 2>&5
5027 ac_status=$?
5028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5029 (exit $ac_status); }; then
5030 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5031 enable_sjlj_exceptions=yes
5032 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5033 enable_sjlj_exceptions=no
5036 CXXFLAGS="$old_CXXFLAGS"
5037 rm -f conftest*
5040 # This is a tad weird, for hysterical raisins. We have to map enable/disable
5041 # to two different models.
5042 case $enable_sjlj_exceptions in
5043 yes)
5045 cat >>confdefs.h <<\_ACEOF
5046 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5047 _ACEOF
5049 ac_exception_model_name=sjlj
5052 ac_exception_model_name="call frame"
5055 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5056 echo "$as_me: error: unable to detect exception model" >&2;}
5057 { (exit 1); exit 1; }; }
5059 esac
5060 ac_ext=c
5061 ac_cpp='$CPP $CPPFLAGS'
5062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5066 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5067 echo "${ECHO_T}$ac_exception_model_name" >&6
5070 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5071 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5072 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5073 if test "${enable_libstdcxx_pch+set}" = set; then
5074 enableval="$enable_libstdcxx_pch"
5076 case "$enableval" in
5077 yes|no) ;;
5078 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5079 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5080 { (exit 1); exit 1; }; } ;;
5081 esac
5083 else
5084 enable_libstdcxx_pch=$is_hosted
5087 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5088 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5090 if test $enable_libstdcxx_pch = yes; then
5091 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5092 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5093 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5094 echo $ECHO_N "(cached) $ECHO_C" >&6
5095 else
5096 ac_save_CXXFLAGS="$CXXFLAGS"
5097 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5100 ac_ext=cc
5101 ac_cpp='$CXXCPP $CPPFLAGS'
5102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5106 echo '#include <math.h>' > conftest.h
5107 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5108 -o conftest.h.gch 1>&5 2>&1 &&
5109 echo '#error "pch failed"' > conftest.h &&
5110 echo '#include "conftest.h"' > conftest.cc &&
5111 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5112 then
5113 glibcxx_cv_prog_CXX_pch=yes
5114 else
5115 glibcxx_cv_prog_CXX_pch=no
5117 rm -f conftest*
5118 CXXFLAGS=$ac_save_CXXFLAGS
5119 ac_ext=c
5120 ac_cpp='$CPP $CPPFLAGS'
5121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5127 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5128 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5129 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5133 if test $enable_libstdcxx_pch = yes; then
5134 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5135 else
5136 glibcxx_PCHFLAGS=""
5141 # Enable all the variable C++ runtime options.
5142 # NB: C_MBCHAR must come early.
5144 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5145 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5146 # Check whether --enable-cstdio or --disable-cstdio was given.
5147 if test "${enable_cstdio+set}" = set; then
5148 enableval="$enable_cstdio"
5150 case "$enableval" in
5151 stdio) ;;
5152 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5153 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5154 { (exit 1); exit 1; }; } ;;
5155 esac
5157 else
5158 enable_cstdio=stdio
5162 # Now that libio has been removed, you can have any color you want as long
5163 # as it's black. This is one big no-op until other packages are added, but
5164 # showing the framework never hurts.
5165 case ${enable_cstdio} in
5166 stdio)
5167 CSTDIO_H=config/io/c_io_stdio.h
5168 BASIC_FILE_H=config/io/basic_file_stdio.h
5169 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5170 echo "$as_me:$LINENO: result: stdio" >&5
5171 echo "${ECHO_T}stdio" >&6
5173 esac
5179 ac_ext=c
5180 ac_cpp='$CPP $CPPFLAGS'
5181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5184 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5185 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5186 # On Suns, sometimes $CPP names a directory.
5187 if test -n "$CPP" && test -d "$CPP"; then
5188 CPP=
5190 if test -z "$CPP"; then
5191 if test "${ac_cv_prog_CPP+set}" = set; then
5192 echo $ECHO_N "(cached) $ECHO_C" >&6
5193 else
5194 # Double quotes because CPP needs to be expanded
5195 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5197 ac_preproc_ok=false
5198 for ac_c_preproc_warn_flag in '' yes
5200 # Use a header file that comes with gcc, so configuring glibc
5201 # with a fresh cross-compiler works.
5202 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5203 # <limits.h> exists even on freestanding compilers.
5204 # On the NeXT, cc -E runs the code through the compiler's parser,
5205 # not just through cpp. "Syntax error" is here to catch this case.
5206 cat >conftest.$ac_ext <<_ACEOF
5207 /* confdefs.h. */
5208 _ACEOF
5209 cat confdefs.h >>conftest.$ac_ext
5210 cat >>conftest.$ac_ext <<_ACEOF
5211 /* end confdefs.h. */
5212 #ifdef __STDC__
5213 # include <limits.h>
5214 #else
5215 # include <assert.h>
5216 #endif
5217 Syntax error
5218 _ACEOF
5219 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5220 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5221 ac_status=$?
5222 grep -v '^ *+' conftest.er1 >conftest.err
5223 rm -f conftest.er1
5224 cat conftest.err >&5
5225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5226 (exit $ac_status); } >/dev/null; then
5227 if test -s conftest.err; then
5228 ac_cpp_err=$ac_c_preproc_warn_flag
5229 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5230 else
5231 ac_cpp_err=
5233 else
5234 ac_cpp_err=yes
5236 if test -z "$ac_cpp_err"; then
5238 else
5239 echo "$as_me: failed program was:" >&5
5240 sed 's/^/| /' conftest.$ac_ext >&5
5242 # Broken: fails on valid input.
5243 continue
5245 rm -f conftest.err conftest.$ac_ext
5247 # OK, works on sane cases. Now check whether non-existent headers
5248 # can be detected and how.
5249 cat >conftest.$ac_ext <<_ACEOF
5250 /* confdefs.h. */
5251 _ACEOF
5252 cat confdefs.h >>conftest.$ac_ext
5253 cat >>conftest.$ac_ext <<_ACEOF
5254 /* end confdefs.h. */
5255 #include <ac_nonexistent.h>
5256 _ACEOF
5257 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5258 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5259 ac_status=$?
5260 grep -v '^ *+' conftest.er1 >conftest.err
5261 rm -f conftest.er1
5262 cat conftest.err >&5
5263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5264 (exit $ac_status); } >/dev/null; then
5265 if test -s conftest.err; then
5266 ac_cpp_err=$ac_c_preproc_warn_flag
5267 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5268 else
5269 ac_cpp_err=
5271 else
5272 ac_cpp_err=yes
5274 if test -z "$ac_cpp_err"; then
5275 # Broken: success on invalid input.
5276 continue
5277 else
5278 echo "$as_me: failed program was:" >&5
5279 sed 's/^/| /' conftest.$ac_ext >&5
5281 # Passes both tests.
5282 ac_preproc_ok=:
5283 break
5285 rm -f conftest.err conftest.$ac_ext
5287 done
5288 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5289 rm -f conftest.err conftest.$ac_ext
5290 if $ac_preproc_ok; then
5291 break
5294 done
5295 ac_cv_prog_CPP=$CPP
5298 CPP=$ac_cv_prog_CPP
5299 else
5300 ac_cv_prog_CPP=$CPP
5302 echo "$as_me:$LINENO: result: $CPP" >&5
5303 echo "${ECHO_T}$CPP" >&6
5304 ac_preproc_ok=false
5305 for ac_c_preproc_warn_flag in '' yes
5307 # Use a header file that comes with gcc, so configuring glibc
5308 # with a fresh cross-compiler works.
5309 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5310 # <limits.h> exists even on freestanding compilers.
5311 # On the NeXT, cc -E runs the code through the compiler's parser,
5312 # not just through cpp. "Syntax error" is here to catch this case.
5313 cat >conftest.$ac_ext <<_ACEOF
5314 /* confdefs.h. */
5315 _ACEOF
5316 cat confdefs.h >>conftest.$ac_ext
5317 cat >>conftest.$ac_ext <<_ACEOF
5318 /* end confdefs.h. */
5319 #ifdef __STDC__
5320 # include <limits.h>
5321 #else
5322 # include <assert.h>
5323 #endif
5324 Syntax error
5325 _ACEOF
5326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5327 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5328 ac_status=$?
5329 grep -v '^ *+' conftest.er1 >conftest.err
5330 rm -f conftest.er1
5331 cat conftest.err >&5
5332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5333 (exit $ac_status); } >/dev/null; then
5334 if test -s conftest.err; then
5335 ac_cpp_err=$ac_c_preproc_warn_flag
5336 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5337 else
5338 ac_cpp_err=
5340 else
5341 ac_cpp_err=yes
5343 if test -z "$ac_cpp_err"; then
5345 else
5346 echo "$as_me: failed program was:" >&5
5347 sed 's/^/| /' conftest.$ac_ext >&5
5349 # Broken: fails on valid input.
5350 continue
5352 rm -f conftest.err conftest.$ac_ext
5354 # OK, works on sane cases. Now check whether non-existent headers
5355 # can be detected and how.
5356 cat >conftest.$ac_ext <<_ACEOF
5357 /* confdefs.h. */
5358 _ACEOF
5359 cat confdefs.h >>conftest.$ac_ext
5360 cat >>conftest.$ac_ext <<_ACEOF
5361 /* end confdefs.h. */
5362 #include <ac_nonexistent.h>
5363 _ACEOF
5364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5365 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5366 ac_status=$?
5367 grep -v '^ *+' conftest.er1 >conftest.err
5368 rm -f conftest.er1
5369 cat conftest.err >&5
5370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371 (exit $ac_status); } >/dev/null; then
5372 if test -s conftest.err; then
5373 ac_cpp_err=$ac_c_preproc_warn_flag
5374 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5375 else
5376 ac_cpp_err=
5378 else
5379 ac_cpp_err=yes
5381 if test -z "$ac_cpp_err"; then
5382 # Broken: success on invalid input.
5383 continue
5384 else
5385 echo "$as_me: failed program was:" >&5
5386 sed 's/^/| /' conftest.$ac_ext >&5
5388 # Passes both tests.
5389 ac_preproc_ok=:
5390 break
5392 rm -f conftest.err conftest.$ac_ext
5394 done
5395 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5396 rm -f conftest.err conftest.$ac_ext
5397 if $ac_preproc_ok; then
5399 else
5400 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5401 See \`config.log' for more details." >&5
5402 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5403 See \`config.log' for more details." >&2;}
5404 { (exit 1); exit 1; }; }
5407 ac_ext=c
5408 ac_cpp='$CPP $CPPFLAGS'
5409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5414 echo "$as_me:$LINENO: checking for egrep" >&5
5415 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5416 if test "${ac_cv_prog_egrep+set}" = set; then
5417 echo $ECHO_N "(cached) $ECHO_C" >&6
5418 else
5419 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5420 then ac_cv_prog_egrep='grep -E'
5421 else ac_cv_prog_egrep='egrep'
5424 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5425 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5426 EGREP=$ac_cv_prog_egrep
5429 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5430 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5431 if test "${ac_cv_header_stdc+set}" = set; then
5432 echo $ECHO_N "(cached) $ECHO_C" >&6
5433 else
5434 cat >conftest.$ac_ext <<_ACEOF
5435 /* confdefs.h. */
5436 _ACEOF
5437 cat confdefs.h >>conftest.$ac_ext
5438 cat >>conftest.$ac_ext <<_ACEOF
5439 /* end confdefs.h. */
5440 #include <stdlib.h>
5441 #include <stdarg.h>
5442 #include <string.h>
5443 #include <float.h>
5446 main ()
5450 return 0;
5452 _ACEOF
5453 rm -f conftest.$ac_objext
5454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5455 (eval $ac_compile) 2>conftest.er1
5456 ac_status=$?
5457 grep -v '^ *+' conftest.er1 >conftest.err
5458 rm -f conftest.er1
5459 cat conftest.err >&5
5460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5461 (exit $ac_status); } &&
5462 { ac_try='test -z "$ac_c_werror_flag"
5463 || test ! -s conftest.err'
5464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5465 (eval $ac_try) 2>&5
5466 ac_status=$?
5467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468 (exit $ac_status); }; } &&
5469 { ac_try='test -s conftest.$ac_objext'
5470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5471 (eval $ac_try) 2>&5
5472 ac_status=$?
5473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5474 (exit $ac_status); }; }; then
5475 ac_cv_header_stdc=yes
5476 else
5477 echo "$as_me: failed program was:" >&5
5478 sed 's/^/| /' conftest.$ac_ext >&5
5480 ac_cv_header_stdc=no
5482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5484 if test $ac_cv_header_stdc = yes; then
5485 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5486 cat >conftest.$ac_ext <<_ACEOF
5487 /* confdefs.h. */
5488 _ACEOF
5489 cat confdefs.h >>conftest.$ac_ext
5490 cat >>conftest.$ac_ext <<_ACEOF
5491 /* end confdefs.h. */
5492 #include <string.h>
5494 _ACEOF
5495 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5496 $EGREP "memchr" >/dev/null 2>&1; then
5498 else
5499 ac_cv_header_stdc=no
5501 rm -f conftest*
5505 if test $ac_cv_header_stdc = yes; then
5506 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5507 cat >conftest.$ac_ext <<_ACEOF
5508 /* confdefs.h. */
5509 _ACEOF
5510 cat confdefs.h >>conftest.$ac_ext
5511 cat >>conftest.$ac_ext <<_ACEOF
5512 /* end confdefs.h. */
5513 #include <stdlib.h>
5515 _ACEOF
5516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5517 $EGREP "free" >/dev/null 2>&1; then
5519 else
5520 ac_cv_header_stdc=no
5522 rm -f conftest*
5526 if test $ac_cv_header_stdc = yes; then
5527 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5528 if test "$cross_compiling" = yes; then
5530 else
5531 cat >conftest.$ac_ext <<_ACEOF
5532 /* confdefs.h. */
5533 _ACEOF
5534 cat confdefs.h >>conftest.$ac_ext
5535 cat >>conftest.$ac_ext <<_ACEOF
5536 /* end confdefs.h. */
5537 #include <ctype.h>
5538 #if ((' ' & 0x0FF) == 0x020)
5539 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5540 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5541 #else
5542 # define ISLOWER(c) \
5543 (('a' <= (c) && (c) <= 'i') \
5544 || ('j' <= (c) && (c) <= 'r') \
5545 || ('s' <= (c) && (c) <= 'z'))
5546 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5547 #endif
5549 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5551 main ()
5553 int i;
5554 for (i = 0; i < 256; i++)
5555 if (XOR (islower (i), ISLOWER (i))
5556 || toupper (i) != TOUPPER (i))
5557 exit(2);
5558 exit (0);
5560 _ACEOF
5561 rm -f conftest$ac_exeext
5562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5563 (eval $ac_link) 2>&5
5564 ac_status=$?
5565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5566 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5568 (eval $ac_try) 2>&5
5569 ac_status=$?
5570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5571 (exit $ac_status); }; }; then
5573 else
5574 echo "$as_me: program exited with status $ac_status" >&5
5575 echo "$as_me: failed program was:" >&5
5576 sed 's/^/| /' conftest.$ac_ext >&5
5578 ( exit $ac_status )
5579 ac_cv_header_stdc=no
5581 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5585 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5586 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5587 if test $ac_cv_header_stdc = yes; then
5589 cat >>confdefs.h <<\_ACEOF
5590 #define STDC_HEADERS 1
5591 _ACEOF
5595 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5605 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5606 inttypes.h stdint.h unistd.h
5608 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5609 echo "$as_me:$LINENO: checking for $ac_header" >&5
5610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5612 echo $ECHO_N "(cached) $ECHO_C" >&6
5613 else
5614 cat >conftest.$ac_ext <<_ACEOF
5615 /* confdefs.h. */
5616 _ACEOF
5617 cat confdefs.h >>conftest.$ac_ext
5618 cat >>conftest.$ac_ext <<_ACEOF
5619 /* end confdefs.h. */
5620 $ac_includes_default
5622 #include <$ac_header>
5623 _ACEOF
5624 rm -f conftest.$ac_objext
5625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5626 (eval $ac_compile) 2>conftest.er1
5627 ac_status=$?
5628 grep -v '^ *+' conftest.er1 >conftest.err
5629 rm -f conftest.er1
5630 cat conftest.err >&5
5631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5632 (exit $ac_status); } &&
5633 { ac_try='test -z "$ac_c_werror_flag"
5634 || test ! -s conftest.err'
5635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5636 (eval $ac_try) 2>&5
5637 ac_status=$?
5638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639 (exit $ac_status); }; } &&
5640 { ac_try='test -s conftest.$ac_objext'
5641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5642 (eval $ac_try) 2>&5
5643 ac_status=$?
5644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5645 (exit $ac_status); }; }; then
5646 eval "$as_ac_Header=yes"
5647 else
5648 echo "$as_me: failed program was:" >&5
5649 sed 's/^/| /' conftest.$ac_ext >&5
5651 eval "$as_ac_Header=no"
5653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5656 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5657 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5658 cat >>confdefs.h <<_ACEOF
5659 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5660 _ACEOF
5664 done
5668 echo "$as_me:$LINENO: checking for C locale to use" >&5
5669 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5670 # Check whether --enable-clocale or --disable-clocale was given.
5671 if test "${enable_clocale+set}" = set; then
5672 enableval="$enable_clocale"
5674 case "$enableval" in
5675 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5676 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5677 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5678 { (exit 1); exit 1; }; } ;;
5679 esac
5681 else
5682 enable_clocale=auto
5686 # If they didn't use this option switch, or if they specified --enable
5687 # with no specific model, we'll have to look for one. If they
5688 # specified --disable (???), do likewise.
5689 if test $enable_clocale = no || test $enable_clocale = yes; then
5690 enable_clocale=auto
5693 # Either a known package, or "auto"
5694 enable_clocale_flag=$enable_clocale
5696 # Probe for locale support if no specific model is specified.
5697 # Default to "generic".
5698 if test $enable_clocale_flag = auto; then
5699 case ${target_os} in
5700 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5701 cat >conftest.$ac_ext <<_ACEOF
5702 /* confdefs.h. */
5703 _ACEOF
5704 cat confdefs.h >>conftest.$ac_ext
5705 cat >>conftest.$ac_ext <<_ACEOF
5706 /* end confdefs.h. */
5708 #include <features.h>
5709 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5710 _GLIBCXX_ok
5711 #endif
5713 _ACEOF
5714 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5715 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5716 enable_clocale_flag=gnu
5717 else
5718 enable_clocale_flag=generic
5720 rm -f conftest*
5723 # Test for bugs early in glibc-2.2.x series
5724 if test $enable_clocale_flag = gnu; then
5725 if test "$cross_compiling" = yes; then
5726 enable_clocale_flag=generic
5727 else
5728 cat >conftest.$ac_ext <<_ACEOF
5729 /* confdefs.h. */
5730 _ACEOF
5731 cat confdefs.h >>conftest.$ac_ext
5732 cat >>conftest.$ac_ext <<_ACEOF
5733 /* end confdefs.h. */
5735 #define _GNU_SOURCE 1
5736 #include <locale.h>
5737 #include <string.h>
5738 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5739 extern __typeof(newlocale) __newlocale;
5740 extern __typeof(duplocale) __duplocale;
5741 extern __typeof(strcoll_l) __strcoll_l;
5742 #endif
5743 int main()
5745 const char __one[] = "Äuglein Augmen";
5746 const char __two[] = "Äuglein";
5747 int i;
5748 int j;
5749 __locale_t loc;
5750 __locale_t loc_dup;
5751 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5752 loc_dup = __duplocale(loc);
5753 i = __strcoll_l(__one, __two, loc);
5754 j = __strcoll_l(__one, __two, loc_dup);
5755 return 0;
5758 _ACEOF
5759 rm -f conftest$ac_exeext
5760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5761 (eval $ac_link) 2>&5
5762 ac_status=$?
5763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5766 (eval $ac_try) 2>&5
5767 ac_status=$?
5768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5769 (exit $ac_status); }; }; then
5770 enable_clocale_flag=gnu
5771 else
5772 echo "$as_me: program exited with status $ac_status" >&5
5773 echo "$as_me: failed program was:" >&5
5774 sed 's/^/| /' conftest.$ac_ext >&5
5776 ( exit $ac_status )
5777 enable_clocale_flag=generic
5779 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5783 # ... at some point put __strxfrm_l tests in as well.
5785 darwin* | freebsd*)
5786 enable_clocale_flag=darwin
5789 enable_clocale_flag=generic
5791 esac
5794 # Deal with gettext issues. Default to not using it (=no) until we detect
5795 # support for it later. Let the user turn it off via --e/d, but let that
5796 # default to on for easier handling.
5797 USE_NLS=no
5798 # Check whether --enable-nls or --disable-nls was given.
5799 if test "${enable_nls+set}" = set; then
5800 enableval="$enable_nls"
5802 else
5803 enable_nls=yes
5806 # Set configure bits for specified locale package
5807 case ${enable_clocale_flag} in
5808 generic)
5809 echo "$as_me:$LINENO: result: generic" >&5
5810 echo "${ECHO_T}generic" >&6
5812 CLOCALE_H=config/locale/generic/c_locale.h
5813 CLOCALE_CC=config/locale/generic/c_locale.cc
5814 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5815 CCOLLATE_CC=config/locale/generic/collate_members.cc
5816 CCTYPE_CC=config/locale/generic/ctype_members.cc
5817 CMESSAGES_H=config/locale/generic/messages_members.h
5818 CMESSAGES_CC=config/locale/generic/messages_members.cc
5819 CMONEY_CC=config/locale/generic/monetary_members.cc
5820 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5821 CTIME_H=config/locale/generic/time_members.h
5822 CTIME_CC=config/locale/generic/time_members.cc
5823 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5825 darwin)
5826 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
5827 echo "${ECHO_T}darwin or freebsd" >&6
5829 CLOCALE_H=config/locale/generic/c_locale.h
5830 CLOCALE_CC=config/locale/generic/c_locale.cc
5831 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5832 CCOLLATE_CC=config/locale/generic/collate_members.cc
5833 CCTYPE_CC=config/locale/darwin/ctype_members.cc
5834 CMESSAGES_H=config/locale/generic/messages_members.h
5835 CMESSAGES_CC=config/locale/generic/messages_members.cc
5836 CMONEY_CC=config/locale/generic/monetary_members.cc
5837 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5838 CTIME_H=config/locale/generic/time_members.h
5839 CTIME_CC=config/locale/generic/time_members.cc
5840 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5843 gnu)
5844 echo "$as_me:$LINENO: result: gnu" >&5
5845 echo "${ECHO_T}gnu" >&6
5847 # Declare intention to use gettext, and add support for specific
5848 # languages.
5849 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5850 ALL_LINGUAS="de fr"
5852 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5853 # Extract the first word of "msgfmt", so it can be a program name with args.
5854 set dummy msgfmt; ac_word=$2
5855 echo "$as_me:$LINENO: checking for $ac_word" >&5
5856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5857 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5858 echo $ECHO_N "(cached) $ECHO_C" >&6
5859 else
5860 if test -n "$check_msgfmt"; then
5861 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5862 else
5863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864 for as_dir in $PATH
5866 IFS=$as_save_IFS
5867 test -z "$as_dir" && as_dir=.
5868 for ac_exec_ext in '' $ac_executable_extensions; do
5869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5870 ac_cv_prog_check_msgfmt="yes"
5871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5872 break 2
5874 done
5875 done
5877 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5880 check_msgfmt=$ac_cv_prog_check_msgfmt
5881 if test -n "$check_msgfmt"; then
5882 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5883 echo "${ECHO_T}$check_msgfmt" >&6
5884 else
5885 echo "$as_me:$LINENO: result: no" >&5
5886 echo "${ECHO_T}no" >&6
5889 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5890 USE_NLS=yes
5892 # Export the build objects.
5893 for ling in $ALL_LINGUAS; do \
5894 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5895 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5896 done
5900 CLOCALE_H=config/locale/gnu/c_locale.h
5901 CLOCALE_CC=config/locale/gnu/c_locale.cc
5902 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5903 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5904 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5905 CMESSAGES_H=config/locale/gnu/messages_members.h
5906 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5907 CMONEY_CC=config/locale/gnu/monetary_members.cc
5908 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5909 CTIME_H=config/locale/gnu/time_members.h
5910 CTIME_CC=config/locale/gnu/time_members.cc
5911 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5913 ieee_1003.1-2001)
5914 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5915 echo "${ECHO_T}IEEE 1003.1" >&6
5917 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5918 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5919 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5920 CCOLLATE_CC=config/locale/generic/collate_members.cc
5921 CCTYPE_CC=config/locale/generic/ctype_members.cc
5922 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5923 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5924 CMONEY_CC=config/locale/generic/monetary_members.cc
5925 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5926 CTIME_H=config/locale/generic/time_members.h
5927 CTIME_CC=config/locale/generic/time_members.cc
5928 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5930 esac
5932 # This is where the testsuite looks for locale catalogs, using the
5933 # -DLOCALEDIR define during testsuite compilation.
5934 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5937 # A standalone libintl (e.g., GNU libintl) may be in use.
5938 if test $USE_NLS = yes; then
5940 for ac_header in libintl.h
5942 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5944 echo "$as_me:$LINENO: checking for $ac_header" >&5
5945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5947 echo $ECHO_N "(cached) $ECHO_C" >&6
5949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5951 else
5952 # Is the header compilable?
5953 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5954 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5955 cat >conftest.$ac_ext <<_ACEOF
5956 /* confdefs.h. */
5957 _ACEOF
5958 cat confdefs.h >>conftest.$ac_ext
5959 cat >>conftest.$ac_ext <<_ACEOF
5960 /* end confdefs.h. */
5961 $ac_includes_default
5962 #include <$ac_header>
5963 _ACEOF
5964 rm -f conftest.$ac_objext
5965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5966 (eval $ac_compile) 2>conftest.er1
5967 ac_status=$?
5968 grep -v '^ *+' conftest.er1 >conftest.err
5969 rm -f conftest.er1
5970 cat conftest.err >&5
5971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5972 (exit $ac_status); } &&
5973 { ac_try='test -z "$ac_c_werror_flag"
5974 || test ! -s conftest.err'
5975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5976 (eval $ac_try) 2>&5
5977 ac_status=$?
5978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5979 (exit $ac_status); }; } &&
5980 { ac_try='test -s conftest.$ac_objext'
5981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5982 (eval $ac_try) 2>&5
5983 ac_status=$?
5984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5985 (exit $ac_status); }; }; then
5986 ac_header_compiler=yes
5987 else
5988 echo "$as_me: failed program was:" >&5
5989 sed 's/^/| /' conftest.$ac_ext >&5
5991 ac_header_compiler=no
5993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5995 echo "${ECHO_T}$ac_header_compiler" >&6
5997 # Is the header present?
5998 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5999 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6000 cat >conftest.$ac_ext <<_ACEOF
6001 /* confdefs.h. */
6002 _ACEOF
6003 cat confdefs.h >>conftest.$ac_ext
6004 cat >>conftest.$ac_ext <<_ACEOF
6005 /* end confdefs.h. */
6006 #include <$ac_header>
6007 _ACEOF
6008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6009 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6010 ac_status=$?
6011 grep -v '^ *+' conftest.er1 >conftest.err
6012 rm -f conftest.er1
6013 cat conftest.err >&5
6014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6015 (exit $ac_status); } >/dev/null; then
6016 if test -s conftest.err; then
6017 ac_cpp_err=$ac_c_preproc_warn_flag
6018 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6019 else
6020 ac_cpp_err=
6022 else
6023 ac_cpp_err=yes
6025 if test -z "$ac_cpp_err"; then
6026 ac_header_preproc=yes
6027 else
6028 echo "$as_me: failed program was:" >&5
6029 sed 's/^/| /' conftest.$ac_ext >&5
6031 ac_header_preproc=no
6033 rm -f conftest.err conftest.$ac_ext
6034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6035 echo "${ECHO_T}$ac_header_preproc" >&6
6037 # So? What about this header?
6038 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6039 yes:no: )
6040 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6041 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6043 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6044 ac_header_preproc=yes
6046 no:yes:* )
6047 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6048 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6049 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6050 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6051 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6052 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6053 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6054 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6056 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6057 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6058 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6060 cat <<\_ASBOX
6061 ## ----------------------------------------- ##
6062 ## Report this to the package-unused lists. ##
6063 ## ----------------------------------------- ##
6064 _ASBOX
6066 sed "s/^/$as_me: WARNING: /" >&2
6068 esac
6069 echo "$as_me:$LINENO: checking for $ac_header" >&5
6070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6072 echo $ECHO_N "(cached) $ECHO_C" >&6
6073 else
6074 eval "$as_ac_Header=\$ac_header_preproc"
6076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6077 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6081 cat >>confdefs.h <<_ACEOF
6082 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6083 _ACEOF
6085 else
6086 USE_NLS=no
6089 done
6091 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6092 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6093 if test "${ac_cv_search_gettext+set}" = set; then
6094 echo $ECHO_N "(cached) $ECHO_C" >&6
6095 else
6096 ac_func_search_save_LIBS=$LIBS
6097 ac_cv_search_gettext=no
6098 if test x$gcc_no_link = xyes; then
6099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6101 { (exit 1); exit 1; }; }
6103 cat >conftest.$ac_ext <<_ACEOF
6104 /* confdefs.h. */
6105 _ACEOF
6106 cat confdefs.h >>conftest.$ac_ext
6107 cat >>conftest.$ac_ext <<_ACEOF
6108 /* end confdefs.h. */
6110 /* Override any gcc2 internal prototype to avoid an error. */
6111 #ifdef __cplusplus
6112 extern "C"
6113 #endif
6114 /* We use char because int might match the return type of a gcc2
6115 builtin and then its argument prototype would still apply. */
6116 char gettext ();
6118 main ()
6120 gettext ();
6122 return 0;
6124 _ACEOF
6125 rm -f conftest.$ac_objext conftest$ac_exeext
6126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6127 (eval $ac_link) 2>conftest.er1
6128 ac_status=$?
6129 grep -v '^ *+' conftest.er1 >conftest.err
6130 rm -f conftest.er1
6131 cat conftest.err >&5
6132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133 (exit $ac_status); } &&
6134 { ac_try='test -z "$ac_c_werror_flag"
6135 || test ! -s conftest.err'
6136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6137 (eval $ac_try) 2>&5
6138 ac_status=$?
6139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140 (exit $ac_status); }; } &&
6141 { ac_try='test -s conftest$ac_exeext'
6142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6143 (eval $ac_try) 2>&5
6144 ac_status=$?
6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146 (exit $ac_status); }; }; then
6147 ac_cv_search_gettext="none required"
6148 else
6149 echo "$as_me: failed program was:" >&5
6150 sed 's/^/| /' conftest.$ac_ext >&5
6153 rm -f conftest.err conftest.$ac_objext \
6154 conftest$ac_exeext conftest.$ac_ext
6155 if test "$ac_cv_search_gettext" = no; then
6156 for ac_lib in intl; do
6157 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6158 if test x$gcc_no_link = xyes; then
6159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6161 { (exit 1); exit 1; }; }
6163 cat >conftest.$ac_ext <<_ACEOF
6164 /* confdefs.h. */
6165 _ACEOF
6166 cat confdefs.h >>conftest.$ac_ext
6167 cat >>conftest.$ac_ext <<_ACEOF
6168 /* end confdefs.h. */
6170 /* Override any gcc2 internal prototype to avoid an error. */
6171 #ifdef __cplusplus
6172 extern "C"
6173 #endif
6174 /* We use char because int might match the return type of a gcc2
6175 builtin and then its argument prototype would still apply. */
6176 char gettext ();
6178 main ()
6180 gettext ();
6182 return 0;
6184 _ACEOF
6185 rm -f conftest.$ac_objext conftest$ac_exeext
6186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6187 (eval $ac_link) 2>conftest.er1
6188 ac_status=$?
6189 grep -v '^ *+' conftest.er1 >conftest.err
6190 rm -f conftest.er1
6191 cat conftest.err >&5
6192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6193 (exit $ac_status); } &&
6194 { ac_try='test -z "$ac_c_werror_flag"
6195 || test ! -s conftest.err'
6196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6197 (eval $ac_try) 2>&5
6198 ac_status=$?
6199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6200 (exit $ac_status); }; } &&
6201 { ac_try='test -s conftest$ac_exeext'
6202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6203 (eval $ac_try) 2>&5
6204 ac_status=$?
6205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6206 (exit $ac_status); }; }; then
6207 ac_cv_search_gettext="-l$ac_lib"
6208 break
6209 else
6210 echo "$as_me: failed program was:" >&5
6211 sed 's/^/| /' conftest.$ac_ext >&5
6214 rm -f conftest.err conftest.$ac_objext \
6215 conftest$ac_exeext conftest.$ac_ext
6216 done
6218 LIBS=$ac_func_search_save_LIBS
6220 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6221 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6222 if test "$ac_cv_search_gettext" != no; then
6223 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6225 else
6226 USE_NLS=no
6230 if test $USE_NLS = yes; then
6231 cat >>confdefs.h <<\_ACEOF
6232 #define _GLIBCXX_USE_NLS 1
6233 _ACEOF
6252 echo "$as_me:$LINENO: checking for std::allocator base class to use" >&5
6253 echo $ECHO_N "checking for std::allocator base class to use... $ECHO_C" >&6
6254 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6255 if test "${enable_libstdcxx_allocator+set}" = set; then
6256 enableval="$enable_libstdcxx_allocator"
6258 case "$enableval" in
6259 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6260 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6261 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6262 { (exit 1); exit 1; }; } ;;
6263 esac
6265 else
6266 enable_libstdcxx_allocator=auto
6270 # If they didn't use this option switch, or if they specified --enable
6271 # with no specific model, we'll have to look for one. If they
6272 # specified --disable (???), do likewise.
6273 if test $enable_libstdcxx_allocator = no ||
6274 test $enable_libstdcxx_allocator = yes;
6275 then
6276 enable_libstdcxx_allocator=auto
6279 # Either a known package, or "auto". Auto implies the default choice
6280 # for a particular platform.
6281 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6283 # Probe for host-specific support if no specific model is specified.
6284 # Default to "new".
6285 if test $enable_libstdcxx_allocator_flag = auto; then
6286 case ${target_os} in
6287 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6288 enable_libstdcxx_allocator_flag=mt
6291 enable_libstdcxx_allocator_flag=new
6293 esac
6295 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6296 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6299 # Set configure bits for specified locale package
6300 case ${enable_libstdcxx_allocator_flag} in
6301 bitmap)
6302 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6303 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6305 malloc)
6306 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6307 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6310 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6311 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6313 new)
6314 ALLOCATOR_H=config/allocator/new_allocator_base.h
6315 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6317 pool)
6318 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6319 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6321 esac
6327 # Check whether --enable-cheaders or --disable-cheaders was given.
6328 if test "${enable_cheaders+set}" = set; then
6329 enableval="$enable_cheaders"
6331 case "$enableval" in
6332 c|c_std) ;;
6333 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6334 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6335 { (exit 1); exit 1; }; } ;;
6336 esac
6338 else
6339 enable_cheaders=$c_model
6342 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6343 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6345 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6352 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6353 if test "${enable_c_mbchar+set}" = set; then
6354 enableval="$enable_c_mbchar"
6356 case "$enableval" in
6357 yes|no) ;;
6358 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6359 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6360 { (exit 1); exit 1; }; } ;;
6361 esac
6363 else
6364 enable_c_mbchar=yes
6367 # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6372 # Check whether --enable-c99 or --disable-c99 was given.
6373 if test "${enable_c99+set}" = set; then
6374 enableval="$enable_c99"
6376 case "$enableval" in
6377 yes|no) ;;
6378 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6379 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6380 { (exit 1); exit 1; }; } ;;
6381 esac
6383 else
6384 enable_c99=yes
6390 ac_ext=cc
6391 ac_cpp='$CXXCPP $CPPFLAGS'
6392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6397 # Check for the existence of <math.h> functions used if C99 is enabled.
6398 ac_c99_math=yes;
6399 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6400 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6401 cat >conftest.$ac_ext <<_ACEOF
6402 /* confdefs.h. */
6403 _ACEOF
6404 cat confdefs.h >>conftest.$ac_ext
6405 cat >>conftest.$ac_ext <<_ACEOF
6406 /* end confdefs.h. */
6407 #include <math.h>
6409 main ()
6411 fpclassify(0.0);
6413 return 0;
6415 _ACEOF
6416 rm -f conftest.$ac_objext
6417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6418 (eval $ac_compile) 2>conftest.er1
6419 ac_status=$?
6420 grep -v '^ *+' conftest.er1 >conftest.err
6421 rm -f conftest.er1
6422 cat conftest.err >&5
6423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6424 (exit $ac_status); } &&
6425 { ac_try='test -z "$ac_cxx_werror_flag"
6426 || test ! -s conftest.err'
6427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6428 (eval $ac_try) 2>&5
6429 ac_status=$?
6430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6431 (exit $ac_status); }; } &&
6432 { ac_try='test -s conftest.$ac_objext'
6433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6434 (eval $ac_try) 2>&5
6435 ac_status=$?
6436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6437 (exit $ac_status); }; }; then
6439 else
6440 echo "$as_me: failed program was:" >&5
6441 sed 's/^/| /' conftest.$ac_ext >&5
6443 ac_c99_math=no
6445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6446 cat >conftest.$ac_ext <<_ACEOF
6447 /* confdefs.h. */
6448 _ACEOF
6449 cat confdefs.h >>conftest.$ac_ext
6450 cat >>conftest.$ac_ext <<_ACEOF
6451 /* end confdefs.h. */
6452 #include <math.h>
6454 main ()
6456 isfinite(0.0);
6458 return 0;
6460 _ACEOF
6461 rm -f conftest.$ac_objext
6462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6463 (eval $ac_compile) 2>conftest.er1
6464 ac_status=$?
6465 grep -v '^ *+' conftest.er1 >conftest.err
6466 rm -f conftest.er1
6467 cat conftest.err >&5
6468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6469 (exit $ac_status); } &&
6470 { ac_try='test -z "$ac_cxx_werror_flag"
6471 || test ! -s conftest.err'
6472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6473 (eval $ac_try) 2>&5
6474 ac_status=$?
6475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476 (exit $ac_status); }; } &&
6477 { ac_try='test -s conftest.$ac_objext'
6478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6479 (eval $ac_try) 2>&5
6480 ac_status=$?
6481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6482 (exit $ac_status); }; }; then
6484 else
6485 echo "$as_me: failed program was:" >&5
6486 sed 's/^/| /' conftest.$ac_ext >&5
6488 ac_c99_math=no
6490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6491 cat >conftest.$ac_ext <<_ACEOF
6492 /* confdefs.h. */
6493 _ACEOF
6494 cat confdefs.h >>conftest.$ac_ext
6495 cat >>conftest.$ac_ext <<_ACEOF
6496 /* end confdefs.h. */
6497 #include <math.h>
6499 main ()
6501 isinf(0.0);
6503 return 0;
6505 _ACEOF
6506 rm -f conftest.$ac_objext
6507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6508 (eval $ac_compile) 2>conftest.er1
6509 ac_status=$?
6510 grep -v '^ *+' conftest.er1 >conftest.err
6511 rm -f conftest.er1
6512 cat conftest.err >&5
6513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6514 (exit $ac_status); } &&
6515 { ac_try='test -z "$ac_cxx_werror_flag"
6516 || test ! -s conftest.err'
6517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6518 (eval $ac_try) 2>&5
6519 ac_status=$?
6520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6521 (exit $ac_status); }; } &&
6522 { ac_try='test -s conftest.$ac_objext'
6523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6524 (eval $ac_try) 2>&5
6525 ac_status=$?
6526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6527 (exit $ac_status); }; }; then
6529 else
6530 echo "$as_me: failed program was:" >&5
6531 sed 's/^/| /' conftest.$ac_ext >&5
6533 ac_c99_math=no
6535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6536 cat >conftest.$ac_ext <<_ACEOF
6537 /* confdefs.h. */
6538 _ACEOF
6539 cat confdefs.h >>conftest.$ac_ext
6540 cat >>conftest.$ac_ext <<_ACEOF
6541 /* end confdefs.h. */
6542 #include <math.h>
6544 main ()
6546 isnan(0.0);
6548 return 0;
6550 _ACEOF
6551 rm -f conftest.$ac_objext
6552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6553 (eval $ac_compile) 2>conftest.er1
6554 ac_status=$?
6555 grep -v '^ *+' conftest.er1 >conftest.err
6556 rm -f conftest.er1
6557 cat conftest.err >&5
6558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6559 (exit $ac_status); } &&
6560 { ac_try='test -z "$ac_cxx_werror_flag"
6561 || test ! -s conftest.err'
6562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6563 (eval $ac_try) 2>&5
6564 ac_status=$?
6565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6566 (exit $ac_status); }; } &&
6567 { ac_try='test -s conftest.$ac_objext'
6568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6569 (eval $ac_try) 2>&5
6570 ac_status=$?
6571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6572 (exit $ac_status); }; }; then
6574 else
6575 echo "$as_me: failed program was:" >&5
6576 sed 's/^/| /' conftest.$ac_ext >&5
6578 ac_c99_math=no
6580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6581 cat >conftest.$ac_ext <<_ACEOF
6582 /* confdefs.h. */
6583 _ACEOF
6584 cat confdefs.h >>conftest.$ac_ext
6585 cat >>conftest.$ac_ext <<_ACEOF
6586 /* end confdefs.h. */
6587 #include <math.h>
6589 main ()
6591 isnormal(0.0);
6593 return 0;
6595 _ACEOF
6596 rm -f conftest.$ac_objext
6597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6598 (eval $ac_compile) 2>conftest.er1
6599 ac_status=$?
6600 grep -v '^ *+' conftest.er1 >conftest.err
6601 rm -f conftest.er1
6602 cat conftest.err >&5
6603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6604 (exit $ac_status); } &&
6605 { ac_try='test -z "$ac_cxx_werror_flag"
6606 || test ! -s conftest.err'
6607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6608 (eval $ac_try) 2>&5
6609 ac_status=$?
6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); }; } &&
6612 { ac_try='test -s conftest.$ac_objext'
6613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6614 (eval $ac_try) 2>&5
6615 ac_status=$?
6616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6617 (exit $ac_status); }; }; then
6619 else
6620 echo "$as_me: failed program was:" >&5
6621 sed 's/^/| /' conftest.$ac_ext >&5
6623 ac_c99_math=no
6625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6626 cat >conftest.$ac_ext <<_ACEOF
6627 /* confdefs.h. */
6628 _ACEOF
6629 cat confdefs.h >>conftest.$ac_ext
6630 cat >>conftest.$ac_ext <<_ACEOF
6631 /* end confdefs.h. */
6632 #include <math.h>
6634 main ()
6636 signbit(0.0);
6638 return 0;
6640 _ACEOF
6641 rm -f conftest.$ac_objext
6642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6643 (eval $ac_compile) 2>conftest.er1
6644 ac_status=$?
6645 grep -v '^ *+' conftest.er1 >conftest.err
6646 rm -f conftest.er1
6647 cat conftest.err >&5
6648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6649 (exit $ac_status); } &&
6650 { ac_try='test -z "$ac_cxx_werror_flag"
6651 || test ! -s conftest.err'
6652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6653 (eval $ac_try) 2>&5
6654 ac_status=$?
6655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6656 (exit $ac_status); }; } &&
6657 { ac_try='test -s conftest.$ac_objext'
6658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6659 (eval $ac_try) 2>&5
6660 ac_status=$?
6661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6662 (exit $ac_status); }; }; then
6664 else
6665 echo "$as_me: failed program was:" >&5
6666 sed 's/^/| /' conftest.$ac_ext >&5
6668 ac_c99_math=no
6670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6671 cat >conftest.$ac_ext <<_ACEOF
6672 /* confdefs.h. */
6673 _ACEOF
6674 cat confdefs.h >>conftest.$ac_ext
6675 cat >>conftest.$ac_ext <<_ACEOF
6676 /* end confdefs.h. */
6677 #include <math.h>
6679 main ()
6681 isgreater(0.0,0.0);
6683 return 0;
6685 _ACEOF
6686 rm -f conftest.$ac_objext
6687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6688 (eval $ac_compile) 2>conftest.er1
6689 ac_status=$?
6690 grep -v '^ *+' conftest.er1 >conftest.err
6691 rm -f conftest.er1
6692 cat conftest.err >&5
6693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6694 (exit $ac_status); } &&
6695 { ac_try='test -z "$ac_cxx_werror_flag"
6696 || test ! -s conftest.err'
6697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6698 (eval $ac_try) 2>&5
6699 ac_status=$?
6700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6701 (exit $ac_status); }; } &&
6702 { ac_try='test -s conftest.$ac_objext'
6703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6704 (eval $ac_try) 2>&5
6705 ac_status=$?
6706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707 (exit $ac_status); }; }; then
6709 else
6710 echo "$as_me: failed program was:" >&5
6711 sed 's/^/| /' conftest.$ac_ext >&5
6713 ac_c99_math=no
6715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6716 cat >conftest.$ac_ext <<_ACEOF
6717 /* confdefs.h. */
6718 _ACEOF
6719 cat confdefs.h >>conftest.$ac_ext
6720 cat >>conftest.$ac_ext <<_ACEOF
6721 /* end confdefs.h. */
6722 #include <math.h>
6724 main ()
6726 isgreaterequal(0.0,0.0);
6728 return 0;
6730 _ACEOF
6731 rm -f conftest.$ac_objext
6732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6733 (eval $ac_compile) 2>conftest.er1
6734 ac_status=$?
6735 grep -v '^ *+' conftest.er1 >conftest.err
6736 rm -f conftest.er1
6737 cat conftest.err >&5
6738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6739 (exit $ac_status); } &&
6740 { ac_try='test -z "$ac_cxx_werror_flag"
6741 || test ! -s conftest.err'
6742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6743 (eval $ac_try) 2>&5
6744 ac_status=$?
6745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6746 (exit $ac_status); }; } &&
6747 { ac_try='test -s conftest.$ac_objext'
6748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6749 (eval $ac_try) 2>&5
6750 ac_status=$?
6751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6752 (exit $ac_status); }; }; then
6754 else
6755 echo "$as_me: failed program was:" >&5
6756 sed 's/^/| /' conftest.$ac_ext >&5
6758 ac_c99_math=no
6760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6761 cat >conftest.$ac_ext <<_ACEOF
6762 /* confdefs.h. */
6763 _ACEOF
6764 cat confdefs.h >>conftest.$ac_ext
6765 cat >>conftest.$ac_ext <<_ACEOF
6766 /* end confdefs.h. */
6767 #include <math.h>
6769 main ()
6771 isless(0.0,0.0);
6773 return 0;
6775 _ACEOF
6776 rm -f conftest.$ac_objext
6777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6778 (eval $ac_compile) 2>conftest.er1
6779 ac_status=$?
6780 grep -v '^ *+' conftest.er1 >conftest.err
6781 rm -f conftest.er1
6782 cat conftest.err >&5
6783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6784 (exit $ac_status); } &&
6785 { ac_try='test -z "$ac_cxx_werror_flag"
6786 || test ! -s conftest.err'
6787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6788 (eval $ac_try) 2>&5
6789 ac_status=$?
6790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6791 (exit $ac_status); }; } &&
6792 { ac_try='test -s conftest.$ac_objext'
6793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6794 (eval $ac_try) 2>&5
6795 ac_status=$?
6796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6797 (exit $ac_status); }; }; then
6799 else
6800 echo "$as_me: failed program was:" >&5
6801 sed 's/^/| /' conftest.$ac_ext >&5
6803 ac_c99_math=no
6805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6806 cat >conftest.$ac_ext <<_ACEOF
6807 /* confdefs.h. */
6808 _ACEOF
6809 cat confdefs.h >>conftest.$ac_ext
6810 cat >>conftest.$ac_ext <<_ACEOF
6811 /* end confdefs.h. */
6812 #include <math.h>
6814 main ()
6816 islessequal(0.0,0.0);
6818 return 0;
6820 _ACEOF
6821 rm -f conftest.$ac_objext
6822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6823 (eval $ac_compile) 2>conftest.er1
6824 ac_status=$?
6825 grep -v '^ *+' conftest.er1 >conftest.err
6826 rm -f conftest.er1
6827 cat conftest.err >&5
6828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829 (exit $ac_status); } &&
6830 { ac_try='test -z "$ac_cxx_werror_flag"
6831 || test ! -s conftest.err'
6832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6833 (eval $ac_try) 2>&5
6834 ac_status=$?
6835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6836 (exit $ac_status); }; } &&
6837 { ac_try='test -s conftest.$ac_objext'
6838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6839 (eval $ac_try) 2>&5
6840 ac_status=$?
6841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6842 (exit $ac_status); }; }; then
6844 else
6845 echo "$as_me: failed program was:" >&5
6846 sed 's/^/| /' conftest.$ac_ext >&5
6848 ac_c99_math=no
6850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6851 cat >conftest.$ac_ext <<_ACEOF
6852 /* confdefs.h. */
6853 _ACEOF
6854 cat confdefs.h >>conftest.$ac_ext
6855 cat >>conftest.$ac_ext <<_ACEOF
6856 /* end confdefs.h. */
6857 #include <math.h>
6859 main ()
6861 islessgreater(0.0,0.0);
6863 return 0;
6865 _ACEOF
6866 rm -f conftest.$ac_objext
6867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6868 (eval $ac_compile) 2>conftest.er1
6869 ac_status=$?
6870 grep -v '^ *+' conftest.er1 >conftest.err
6871 rm -f conftest.er1
6872 cat conftest.err >&5
6873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6874 (exit $ac_status); } &&
6875 { ac_try='test -z "$ac_cxx_werror_flag"
6876 || test ! -s conftest.err'
6877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6878 (eval $ac_try) 2>&5
6879 ac_status=$?
6880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6881 (exit $ac_status); }; } &&
6882 { ac_try='test -s conftest.$ac_objext'
6883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6884 (eval $ac_try) 2>&5
6885 ac_status=$?
6886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6887 (exit $ac_status); }; }; then
6889 else
6890 echo "$as_me: failed program was:" >&5
6891 sed 's/^/| /' conftest.$ac_ext >&5
6893 ac_c99_math=no
6895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6896 cat >conftest.$ac_ext <<_ACEOF
6897 /* confdefs.h. */
6898 _ACEOF
6899 cat confdefs.h >>conftest.$ac_ext
6900 cat >>conftest.$ac_ext <<_ACEOF
6901 /* end confdefs.h. */
6902 #include <math.h>
6904 main ()
6906 isunordered(0.0,0.0);
6908 return 0;
6910 _ACEOF
6911 rm -f conftest.$ac_objext
6912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6913 (eval $ac_compile) 2>conftest.er1
6914 ac_status=$?
6915 grep -v '^ *+' conftest.er1 >conftest.err
6916 rm -f conftest.er1
6917 cat conftest.err >&5
6918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919 (exit $ac_status); } &&
6920 { ac_try='test -z "$ac_cxx_werror_flag"
6921 || test ! -s conftest.err'
6922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6923 (eval $ac_try) 2>&5
6924 ac_status=$?
6925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6926 (exit $ac_status); }; } &&
6927 { ac_try='test -s conftest.$ac_objext'
6928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6929 (eval $ac_try) 2>&5
6930 ac_status=$?
6931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6932 (exit $ac_status); }; }; then
6934 else
6935 echo "$as_me: failed program was:" >&5
6936 sed 's/^/| /' conftest.$ac_ext >&5
6938 ac_c99_math=no
6940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6941 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6942 echo "${ECHO_T}$ac_c99_math" >&6
6944 if test x"$ac_c99_math" = x"yes"; then
6945 cat >>confdefs.h <<\_ACEOF
6946 #define _GLIBCXX_USE_C99_MATH 1
6947 _ACEOF
6951 # Check for the existence of <complex.h> complex functions.
6952 # This is necessary even though libstdc++ uses the builtin versions
6953 # of these functions, because if the builtin cannot be used, a reference
6954 # to the library function is emitted.
6956 for ac_header in complex.h
6958 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6960 echo "$as_me:$LINENO: checking for $ac_header" >&5
6961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6963 echo $ECHO_N "(cached) $ECHO_C" >&6
6965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6966 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6967 else
6968 # Is the header compilable?
6969 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6970 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6971 cat >conftest.$ac_ext <<_ACEOF
6972 /* confdefs.h. */
6973 _ACEOF
6974 cat confdefs.h >>conftest.$ac_ext
6975 cat >>conftest.$ac_ext <<_ACEOF
6976 /* end confdefs.h. */
6977 $ac_includes_default
6978 #include <$ac_header>
6979 _ACEOF
6980 rm -f conftest.$ac_objext
6981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6982 (eval $ac_compile) 2>conftest.er1
6983 ac_status=$?
6984 grep -v '^ *+' conftest.er1 >conftest.err
6985 rm -f conftest.er1
6986 cat conftest.err >&5
6987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6988 (exit $ac_status); } &&
6989 { ac_try='test -z "$ac_cxx_werror_flag"
6990 || test ! -s conftest.err'
6991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6992 (eval $ac_try) 2>&5
6993 ac_status=$?
6994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6995 (exit $ac_status); }; } &&
6996 { ac_try='test -s conftest.$ac_objext'
6997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6998 (eval $ac_try) 2>&5
6999 ac_status=$?
7000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7001 (exit $ac_status); }; }; then
7002 ac_header_compiler=yes
7003 else
7004 echo "$as_me: failed program was:" >&5
7005 sed 's/^/| /' conftest.$ac_ext >&5
7007 ac_header_compiler=no
7009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7010 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7011 echo "${ECHO_T}$ac_header_compiler" >&6
7013 # Is the header present?
7014 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7015 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7016 cat >conftest.$ac_ext <<_ACEOF
7017 /* confdefs.h. */
7018 _ACEOF
7019 cat confdefs.h >>conftest.$ac_ext
7020 cat >>conftest.$ac_ext <<_ACEOF
7021 /* end confdefs.h. */
7022 #include <$ac_header>
7023 _ACEOF
7024 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7025 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7026 ac_status=$?
7027 grep -v '^ *+' conftest.er1 >conftest.err
7028 rm -f conftest.er1
7029 cat conftest.err >&5
7030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7031 (exit $ac_status); } >/dev/null; then
7032 if test -s conftest.err; then
7033 ac_cpp_err=$ac_cxx_preproc_warn_flag
7034 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7035 else
7036 ac_cpp_err=
7038 else
7039 ac_cpp_err=yes
7041 if test -z "$ac_cpp_err"; then
7042 ac_header_preproc=yes
7043 else
7044 echo "$as_me: failed program was:" >&5
7045 sed 's/^/| /' conftest.$ac_ext >&5
7047 ac_header_preproc=no
7049 rm -f conftest.err conftest.$ac_ext
7050 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7051 echo "${ECHO_T}$ac_header_preproc" >&6
7053 # So? What about this header?
7054 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7055 yes:no: )
7056 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7057 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7059 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7060 ac_header_preproc=yes
7062 no:yes:* )
7063 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7064 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7065 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7066 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7067 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7068 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7069 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7070 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7071 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7072 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7073 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7074 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7076 cat <<\_ASBOX
7077 ## ----------------------------------------- ##
7078 ## Report this to the package-unused lists. ##
7079 ## ----------------------------------------- ##
7080 _ASBOX
7082 sed "s/^/$as_me: WARNING: /" >&2
7084 esac
7085 echo "$as_me:$LINENO: checking for $ac_header" >&5
7086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7087 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7088 echo $ECHO_N "(cached) $ECHO_C" >&6
7089 else
7090 eval "$as_ac_Header=\$ac_header_preproc"
7092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7093 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7096 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7097 cat >>confdefs.h <<_ACEOF
7098 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7099 _ACEOF
7100 ac_has_complex_h=yes
7101 else
7102 ac_has_complex_h=no
7105 done
7107 ac_c99_complex=no;
7108 if test x"$ac_has_complex_h" = x"yes"; then
7109 ac_c99_complex=yes;
7110 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
7111 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
7112 cat >conftest.$ac_ext <<_ACEOF
7113 /* confdefs.h. */
7114 _ACEOF
7115 cat confdefs.h >>conftest.$ac_ext
7116 cat >>conftest.$ac_ext <<_ACEOF
7117 /* end confdefs.h. */
7118 #include <complex.h>
7120 main ()
7122 typedef __complex__ float _ComplexT; _ComplexT tmp;
7123 cabsf(tmp);
7125 return 0;
7127 _ACEOF
7128 rm -f conftest.$ac_objext
7129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7130 (eval $ac_compile) 2>conftest.er1
7131 ac_status=$?
7132 grep -v '^ *+' conftest.er1 >conftest.err
7133 rm -f conftest.er1
7134 cat conftest.err >&5
7135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136 (exit $ac_status); } &&
7137 { ac_try='test -z "$ac_cxx_werror_flag"
7138 || test ! -s conftest.err'
7139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7140 (eval $ac_try) 2>&5
7141 ac_status=$?
7142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7143 (exit $ac_status); }; } &&
7144 { ac_try='test -s conftest.$ac_objext'
7145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7146 (eval $ac_try) 2>&5
7147 ac_status=$?
7148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7149 (exit $ac_status); }; }; then
7151 else
7152 echo "$as_me: failed program was:" >&5
7153 sed 's/^/| /' conftest.$ac_ext >&5
7155 ac_c99_complex=no
7157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7158 cat >conftest.$ac_ext <<_ACEOF
7159 /* confdefs.h. */
7160 _ACEOF
7161 cat confdefs.h >>conftest.$ac_ext
7162 cat >>conftest.$ac_ext <<_ACEOF
7163 /* end confdefs.h. */
7164 #include <complex.h>
7166 main ()
7168 typedef __complex__ double _ComplexT; _ComplexT tmp;
7169 cabs(tmp);
7171 return 0;
7173 _ACEOF
7174 rm -f conftest.$ac_objext
7175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7176 (eval $ac_compile) 2>conftest.er1
7177 ac_status=$?
7178 grep -v '^ *+' conftest.er1 >conftest.err
7179 rm -f conftest.er1
7180 cat conftest.err >&5
7181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7182 (exit $ac_status); } &&
7183 { ac_try='test -z "$ac_cxx_werror_flag"
7184 || test ! -s conftest.err'
7185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7186 (eval $ac_try) 2>&5
7187 ac_status=$?
7188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7189 (exit $ac_status); }; } &&
7190 { ac_try='test -s conftest.$ac_objext'
7191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7192 (eval $ac_try) 2>&5
7193 ac_status=$?
7194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7195 (exit $ac_status); }; }; then
7197 else
7198 echo "$as_me: failed program was:" >&5
7199 sed 's/^/| /' conftest.$ac_ext >&5
7201 ac_c99_complex=no
7203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7204 cat >conftest.$ac_ext <<_ACEOF
7205 /* confdefs.h. */
7206 _ACEOF
7207 cat confdefs.h >>conftest.$ac_ext
7208 cat >>conftest.$ac_ext <<_ACEOF
7209 /* end confdefs.h. */
7210 #include <complex.h>
7212 main ()
7214 typedef __complex__ long double _ComplexT; _ComplexT tmp;
7215 cabsl(tmp);
7217 return 0;
7219 _ACEOF
7220 rm -f conftest.$ac_objext
7221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7222 (eval $ac_compile) 2>conftest.er1
7223 ac_status=$?
7224 grep -v '^ *+' conftest.er1 >conftest.err
7225 rm -f conftest.er1
7226 cat conftest.err >&5
7227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7228 (exit $ac_status); } &&
7229 { ac_try='test -z "$ac_cxx_werror_flag"
7230 || test ! -s conftest.err'
7231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7232 (eval $ac_try) 2>&5
7233 ac_status=$?
7234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7235 (exit $ac_status); }; } &&
7236 { ac_try='test -s conftest.$ac_objext'
7237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7238 (eval $ac_try) 2>&5
7239 ac_status=$?
7240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7241 (exit $ac_status); }; }; then
7243 else
7244 echo "$as_me: failed program was:" >&5
7245 sed 's/^/| /' conftest.$ac_ext >&5
7247 ac_c99_complex=no
7249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7250 cat >conftest.$ac_ext <<_ACEOF
7251 /* confdefs.h. */
7252 _ACEOF
7253 cat confdefs.h >>conftest.$ac_ext
7254 cat >>conftest.$ac_ext <<_ACEOF
7255 /* end confdefs.h. */
7256 #include <complex.h>
7258 main ()
7260 typedef __complex__ float _ComplexT; _ComplexT tmp;
7261 cargf(tmp);
7263 return 0;
7265 _ACEOF
7266 rm -f conftest.$ac_objext
7267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7268 (eval $ac_compile) 2>conftest.er1
7269 ac_status=$?
7270 grep -v '^ *+' conftest.er1 >conftest.err
7271 rm -f conftest.er1
7272 cat conftest.err >&5
7273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7274 (exit $ac_status); } &&
7275 { ac_try='test -z "$ac_cxx_werror_flag"
7276 || test ! -s conftest.err'
7277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7278 (eval $ac_try) 2>&5
7279 ac_status=$?
7280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7281 (exit $ac_status); }; } &&
7282 { ac_try='test -s conftest.$ac_objext'
7283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7284 (eval $ac_try) 2>&5
7285 ac_status=$?
7286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7287 (exit $ac_status); }; }; then
7289 else
7290 echo "$as_me: failed program was:" >&5
7291 sed 's/^/| /' conftest.$ac_ext >&5
7293 ac_c99_complex=no
7295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7296 cat >conftest.$ac_ext <<_ACEOF
7297 /* confdefs.h. */
7298 _ACEOF
7299 cat confdefs.h >>conftest.$ac_ext
7300 cat >>conftest.$ac_ext <<_ACEOF
7301 /* end confdefs.h. */
7302 #include <complex.h>
7304 main ()
7306 typedef __complex__ double _ComplexT; _ComplexT tmp;
7307 carg(tmp);
7309 return 0;
7311 _ACEOF
7312 rm -f conftest.$ac_objext
7313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7314 (eval $ac_compile) 2>conftest.er1
7315 ac_status=$?
7316 grep -v '^ *+' conftest.er1 >conftest.err
7317 rm -f conftest.er1
7318 cat conftest.err >&5
7319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320 (exit $ac_status); } &&
7321 { ac_try='test -z "$ac_cxx_werror_flag"
7322 || test ! -s conftest.err'
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); }; } &&
7328 { ac_try='test -s conftest.$ac_objext'
7329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7330 (eval $ac_try) 2>&5
7331 ac_status=$?
7332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7333 (exit $ac_status); }; }; then
7335 else
7336 echo "$as_me: failed program was:" >&5
7337 sed 's/^/| /' conftest.$ac_ext >&5
7339 ac_c99_complex=no
7341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7342 cat >conftest.$ac_ext <<_ACEOF
7343 /* confdefs.h. */
7344 _ACEOF
7345 cat confdefs.h >>conftest.$ac_ext
7346 cat >>conftest.$ac_ext <<_ACEOF
7347 /* end confdefs.h. */
7348 #include <complex.h>
7350 main ()
7352 typedef __complex__ long double _ComplexT; _ComplexT tmp;
7353 cargl(tmp);
7355 return 0;
7357 _ACEOF
7358 rm -f conftest.$ac_objext
7359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7360 (eval $ac_compile) 2>conftest.er1
7361 ac_status=$?
7362 grep -v '^ *+' conftest.er1 >conftest.err
7363 rm -f conftest.er1
7364 cat conftest.err >&5
7365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7366 (exit $ac_status); } &&
7367 { ac_try='test -z "$ac_cxx_werror_flag"
7368 || test ! -s conftest.err'
7369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7370 (eval $ac_try) 2>&5
7371 ac_status=$?
7372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7373 (exit $ac_status); }; } &&
7374 { ac_try='test -s conftest.$ac_objext'
7375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7376 (eval $ac_try) 2>&5
7377 ac_status=$?
7378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7379 (exit $ac_status); }; }; then
7381 else
7382 echo "$as_me: failed program was:" >&5
7383 sed 's/^/| /' conftest.$ac_ext >&5
7385 ac_c99_complex=no
7387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7388 cat >conftest.$ac_ext <<_ACEOF
7389 /* confdefs.h. */
7390 _ACEOF
7391 cat confdefs.h >>conftest.$ac_ext
7392 cat >>conftest.$ac_ext <<_ACEOF
7393 /* end confdefs.h. */
7394 #include <complex.h>
7396 main ()
7398 typedef __complex__ float _ComplexT; _ComplexT tmp;
7399 ccosf(tmp);
7401 return 0;
7403 _ACEOF
7404 rm -f conftest.$ac_objext
7405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7406 (eval $ac_compile) 2>conftest.er1
7407 ac_status=$?
7408 grep -v '^ *+' conftest.er1 >conftest.err
7409 rm -f conftest.er1
7410 cat conftest.err >&5
7411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7412 (exit $ac_status); } &&
7413 { ac_try='test -z "$ac_cxx_werror_flag"
7414 || test ! -s conftest.err'
7415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7416 (eval $ac_try) 2>&5
7417 ac_status=$?
7418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7419 (exit $ac_status); }; } &&
7420 { ac_try='test -s conftest.$ac_objext'
7421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7422 (eval $ac_try) 2>&5
7423 ac_status=$?
7424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7425 (exit $ac_status); }; }; then
7427 else
7428 echo "$as_me: failed program was:" >&5
7429 sed 's/^/| /' conftest.$ac_ext >&5
7431 ac_c99_complex=no
7433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7434 cat >conftest.$ac_ext <<_ACEOF
7435 /* confdefs.h. */
7436 _ACEOF
7437 cat confdefs.h >>conftest.$ac_ext
7438 cat >>conftest.$ac_ext <<_ACEOF
7439 /* end confdefs.h. */
7440 #include <complex.h>
7442 main ()
7444 typedef __complex__ double _ComplexT; _ComplexT tmp;
7445 ccos(tmp);
7447 return 0;
7449 _ACEOF
7450 rm -f conftest.$ac_objext
7451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7452 (eval $ac_compile) 2>conftest.er1
7453 ac_status=$?
7454 grep -v '^ *+' conftest.er1 >conftest.err
7455 rm -f conftest.er1
7456 cat conftest.err >&5
7457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7458 (exit $ac_status); } &&
7459 { ac_try='test -z "$ac_cxx_werror_flag"
7460 || test ! -s conftest.err'
7461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7462 (eval $ac_try) 2>&5
7463 ac_status=$?
7464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7465 (exit $ac_status); }; } &&
7466 { ac_try='test -s conftest.$ac_objext'
7467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7468 (eval $ac_try) 2>&5
7469 ac_status=$?
7470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7471 (exit $ac_status); }; }; then
7473 else
7474 echo "$as_me: failed program was:" >&5
7475 sed 's/^/| /' conftest.$ac_ext >&5
7477 ac_c99_complex=no
7479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7480 cat >conftest.$ac_ext <<_ACEOF
7481 /* confdefs.h. */
7482 _ACEOF
7483 cat confdefs.h >>conftest.$ac_ext
7484 cat >>conftest.$ac_ext <<_ACEOF
7485 /* end confdefs.h. */
7486 #include <complex.h>
7488 main ()
7490 typedef __complex__ long double _ComplexT; _ComplexT tmp;
7491 ccosl(tmp);
7493 return 0;
7495 _ACEOF
7496 rm -f conftest.$ac_objext
7497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7498 (eval $ac_compile) 2>conftest.er1
7499 ac_status=$?
7500 grep -v '^ *+' conftest.er1 >conftest.err
7501 rm -f conftest.er1
7502 cat conftest.err >&5
7503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7504 (exit $ac_status); } &&
7505 { ac_try='test -z "$ac_cxx_werror_flag"
7506 || test ! -s conftest.err'
7507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7508 (eval $ac_try) 2>&5
7509 ac_status=$?
7510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7511 (exit $ac_status); }; } &&
7512 { ac_try='test -s conftest.$ac_objext'
7513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7514 (eval $ac_try) 2>&5
7515 ac_status=$?
7516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7517 (exit $ac_status); }; }; then
7519 else
7520 echo "$as_me: failed program was:" >&5
7521 sed 's/^/| /' conftest.$ac_ext >&5
7523 ac_c99_complex=no
7525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7526 cat >conftest.$ac_ext <<_ACEOF
7527 /* confdefs.h. */
7528 _ACEOF
7529 cat confdefs.h >>conftest.$ac_ext
7530 cat >>conftest.$ac_ext <<_ACEOF
7531 /* end confdefs.h. */
7532 #include <complex.h>
7534 main ()
7536 typedef __complex__ float _ComplexT; _ComplexT tmp;
7537 ccoshf(tmp);
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_complex=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 <complex.h>
7580 main ()
7582 typedef __complex__ double _ComplexT; _ComplexT tmp;
7583 ccosh(tmp);
7585 return 0;
7587 _ACEOF
7588 rm -f conftest.$ac_objext
7589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7590 (eval $ac_compile) 2>conftest.er1
7591 ac_status=$?
7592 grep -v '^ *+' conftest.er1 >conftest.err
7593 rm -f conftest.er1
7594 cat conftest.err >&5
7595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7596 (exit $ac_status); } &&
7597 { ac_try='test -z "$ac_cxx_werror_flag"
7598 || test ! -s conftest.err'
7599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7600 (eval $ac_try) 2>&5
7601 ac_status=$?
7602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7603 (exit $ac_status); }; } &&
7604 { ac_try='test -s conftest.$ac_objext'
7605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7606 (eval $ac_try) 2>&5
7607 ac_status=$?
7608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7609 (exit $ac_status); }; }; then
7611 else
7612 echo "$as_me: failed program was:" >&5
7613 sed 's/^/| /' conftest.$ac_ext >&5
7615 ac_c99_complex=no
7617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7618 cat >conftest.$ac_ext <<_ACEOF
7619 /* confdefs.h. */
7620 _ACEOF
7621 cat confdefs.h >>conftest.$ac_ext
7622 cat >>conftest.$ac_ext <<_ACEOF
7623 /* end confdefs.h. */
7624 #include <complex.h>
7626 main ()
7628 typedef __complex__ long double _ComplexT; _ComplexT tmp;
7629 ccoshl(tmp);
7631 return 0;
7633 _ACEOF
7634 rm -f conftest.$ac_objext
7635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7636 (eval $ac_compile) 2>conftest.er1
7637 ac_status=$?
7638 grep -v '^ *+' conftest.er1 >conftest.err
7639 rm -f conftest.er1
7640 cat conftest.err >&5
7641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7642 (exit $ac_status); } &&
7643 { ac_try='test -z "$ac_cxx_werror_flag"
7644 || test ! -s conftest.err'
7645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7646 (eval $ac_try) 2>&5
7647 ac_status=$?
7648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7649 (exit $ac_status); }; } &&
7650 { ac_try='test -s conftest.$ac_objext'
7651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7652 (eval $ac_try) 2>&5
7653 ac_status=$?
7654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7655 (exit $ac_status); }; }; then
7657 else
7658 echo "$as_me: failed program was:" >&5
7659 sed 's/^/| /' conftest.$ac_ext >&5
7661 ac_c99_complex=no
7663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7664 cat >conftest.$ac_ext <<_ACEOF
7665 /* confdefs.h. */
7666 _ACEOF
7667 cat confdefs.h >>conftest.$ac_ext
7668 cat >>conftest.$ac_ext <<_ACEOF
7669 /* end confdefs.h. */
7670 #include <complex.h>
7672 main ()
7674 typedef __complex__ float _ComplexT; _ComplexT tmp;
7675 cexpf(tmp);
7677 return 0;
7679 _ACEOF
7680 rm -f conftest.$ac_objext
7681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7682 (eval $ac_compile) 2>conftest.er1
7683 ac_status=$?
7684 grep -v '^ *+' conftest.er1 >conftest.err
7685 rm -f conftest.er1
7686 cat conftest.err >&5
7687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7688 (exit $ac_status); } &&
7689 { ac_try='test -z "$ac_cxx_werror_flag"
7690 || test ! -s conftest.err'
7691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7692 (eval $ac_try) 2>&5
7693 ac_status=$?
7694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7695 (exit $ac_status); }; } &&
7696 { ac_try='test -s conftest.$ac_objext'
7697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7698 (eval $ac_try) 2>&5
7699 ac_status=$?
7700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7701 (exit $ac_status); }; }; then
7703 else
7704 echo "$as_me: failed program was:" >&5
7705 sed 's/^/| /' conftest.$ac_ext >&5
7707 ac_c99_complex=no
7709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7710 cat >conftest.$ac_ext <<_ACEOF
7711 /* confdefs.h. */
7712 _ACEOF
7713 cat confdefs.h >>conftest.$ac_ext
7714 cat >>conftest.$ac_ext <<_ACEOF
7715 /* end confdefs.h. */
7716 #include <complex.h>
7718 main ()
7720 typedef __complex__ double _ComplexT; _ComplexT tmp;
7721 cexp(tmp);
7723 return 0;
7725 _ACEOF
7726 rm -f conftest.$ac_objext
7727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7728 (eval $ac_compile) 2>conftest.er1
7729 ac_status=$?
7730 grep -v '^ *+' conftest.er1 >conftest.err
7731 rm -f conftest.er1
7732 cat conftest.err >&5
7733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7734 (exit $ac_status); } &&
7735 { ac_try='test -z "$ac_cxx_werror_flag"
7736 || test ! -s conftest.err'
7737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7738 (eval $ac_try) 2>&5
7739 ac_status=$?
7740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7741 (exit $ac_status); }; } &&
7742 { ac_try='test -s conftest.$ac_objext'
7743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7744 (eval $ac_try) 2>&5
7745 ac_status=$?
7746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7747 (exit $ac_status); }; }; then
7749 else
7750 echo "$as_me: failed program was:" >&5
7751 sed 's/^/| /' conftest.$ac_ext >&5
7753 ac_c99_complex=no
7755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7756 cat >conftest.$ac_ext <<_ACEOF
7757 /* confdefs.h. */
7758 _ACEOF
7759 cat confdefs.h >>conftest.$ac_ext
7760 cat >>conftest.$ac_ext <<_ACEOF
7761 /* end confdefs.h. */
7762 #include <complex.h>
7764 main ()
7766 typedef __complex__ long double _ComplexT; _ComplexT tmp;
7767 cexpl(tmp);
7769 return 0;
7771 _ACEOF
7772 rm -f conftest.$ac_objext
7773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7774 (eval $ac_compile) 2>conftest.er1
7775 ac_status=$?
7776 grep -v '^ *+' conftest.er1 >conftest.err
7777 rm -f conftest.er1
7778 cat conftest.err >&5
7779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7780 (exit $ac_status); } &&
7781 { ac_try='test -z "$ac_cxx_werror_flag"
7782 || test ! -s conftest.err'
7783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7784 (eval $ac_try) 2>&5
7785 ac_status=$?
7786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7787 (exit $ac_status); }; } &&
7788 { ac_try='test -s conftest.$ac_objext'
7789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7790 (eval $ac_try) 2>&5
7791 ac_status=$?
7792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7793 (exit $ac_status); }; }; then
7795 else
7796 echo "$as_me: failed program was:" >&5
7797 sed 's/^/| /' conftest.$ac_ext >&5
7799 ac_c99_complex=no
7801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7802 cat >conftest.$ac_ext <<_ACEOF
7803 /* confdefs.h. */
7804 _ACEOF
7805 cat confdefs.h >>conftest.$ac_ext
7806 cat >>conftest.$ac_ext <<_ACEOF
7807 /* end confdefs.h. */
7808 #include <complex.h>
7810 main ()
7812 typedef __complex__ float _ComplexT; _ComplexT tmp;
7813 csinf(tmp);
7815 return 0;
7817 _ACEOF
7818 rm -f conftest.$ac_objext
7819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7820 (eval $ac_compile) 2>conftest.er1
7821 ac_status=$?
7822 grep -v '^ *+' conftest.er1 >conftest.err
7823 rm -f conftest.er1
7824 cat conftest.err >&5
7825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826 (exit $ac_status); } &&
7827 { ac_try='test -z "$ac_cxx_werror_flag"
7828 || test ! -s conftest.err'
7829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7830 (eval $ac_try) 2>&5
7831 ac_status=$?
7832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7833 (exit $ac_status); }; } &&
7834 { ac_try='test -s conftest.$ac_objext'
7835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7836 (eval $ac_try) 2>&5
7837 ac_status=$?
7838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7839 (exit $ac_status); }; }; then
7841 else
7842 echo "$as_me: failed program was:" >&5
7843 sed 's/^/| /' conftest.$ac_ext >&5
7845 ac_c99_complex=no
7847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7848 cat >conftest.$ac_ext <<_ACEOF
7849 /* confdefs.h. */
7850 _ACEOF
7851 cat confdefs.h >>conftest.$ac_ext
7852 cat >>conftest.$ac_ext <<_ACEOF
7853 /* end confdefs.h. */
7854 #include <complex.h>
7856 main ()
7858 typedef __complex__ double _ComplexT; _ComplexT tmp;
7859 csin(tmp);
7861 return 0;
7863 _ACEOF
7864 rm -f conftest.$ac_objext
7865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7866 (eval $ac_compile) 2>conftest.er1
7867 ac_status=$?
7868 grep -v '^ *+' conftest.er1 >conftest.err
7869 rm -f conftest.er1
7870 cat conftest.err >&5
7871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7872 (exit $ac_status); } &&
7873 { ac_try='test -z "$ac_cxx_werror_flag"
7874 || test ! -s conftest.err'
7875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7876 (eval $ac_try) 2>&5
7877 ac_status=$?
7878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7879 (exit $ac_status); }; } &&
7880 { ac_try='test -s conftest.$ac_objext'
7881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7882 (eval $ac_try) 2>&5
7883 ac_status=$?
7884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7885 (exit $ac_status); }; }; then
7887 else
7888 echo "$as_me: failed program was:" >&5
7889 sed 's/^/| /' conftest.$ac_ext >&5
7891 ac_c99_complex=no
7893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7894 cat >conftest.$ac_ext <<_ACEOF
7895 /* confdefs.h. */
7896 _ACEOF
7897 cat confdefs.h >>conftest.$ac_ext
7898 cat >>conftest.$ac_ext <<_ACEOF
7899 /* end confdefs.h. */
7900 #include <complex.h>
7902 main ()
7904 typedef __complex__ long double _ComplexT; _ComplexT tmp;
7905 csinl(tmp);
7907 return 0;
7909 _ACEOF
7910 rm -f conftest.$ac_objext
7911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7912 (eval $ac_compile) 2>conftest.er1
7913 ac_status=$?
7914 grep -v '^ *+' conftest.er1 >conftest.err
7915 rm -f conftest.er1
7916 cat conftest.err >&5
7917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7918 (exit $ac_status); } &&
7919 { ac_try='test -z "$ac_cxx_werror_flag"
7920 || test ! -s conftest.err'
7921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7922 (eval $ac_try) 2>&5
7923 ac_status=$?
7924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7925 (exit $ac_status); }; } &&
7926 { ac_try='test -s conftest.$ac_objext'
7927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7928 (eval $ac_try) 2>&5
7929 ac_status=$?
7930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7931 (exit $ac_status); }; }; then
7933 else
7934 echo "$as_me: failed program was:" >&5
7935 sed 's/^/| /' conftest.$ac_ext >&5
7937 ac_c99_complex=no
7939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7940 cat >conftest.$ac_ext <<_ACEOF
7941 /* confdefs.h. */
7942 _ACEOF
7943 cat confdefs.h >>conftest.$ac_ext
7944 cat >>conftest.$ac_ext <<_ACEOF
7945 /* end confdefs.h. */
7946 #include <complex.h>
7948 main ()
7950 typedef __complex__ float _ComplexT; _ComplexT tmp;
7951 csinhf(tmp);
7953 return 0;
7955 _ACEOF
7956 rm -f conftest.$ac_objext
7957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7958 (eval $ac_compile) 2>conftest.er1
7959 ac_status=$?
7960 grep -v '^ *+' conftest.er1 >conftest.err
7961 rm -f conftest.er1
7962 cat conftest.err >&5
7963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7964 (exit $ac_status); } &&
7965 { ac_try='test -z "$ac_cxx_werror_flag"
7966 || test ! -s conftest.err'
7967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7968 (eval $ac_try) 2>&5
7969 ac_status=$?
7970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7971 (exit $ac_status); }; } &&
7972 { ac_try='test -s conftest.$ac_objext'
7973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7974 (eval $ac_try) 2>&5
7975 ac_status=$?
7976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7977 (exit $ac_status); }; }; then
7979 else
7980 echo "$as_me: failed program was:" >&5
7981 sed 's/^/| /' conftest.$ac_ext >&5
7983 ac_c99_complex=no
7985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7986 cat >conftest.$ac_ext <<_ACEOF
7987 /* confdefs.h. */
7988 _ACEOF
7989 cat confdefs.h >>conftest.$ac_ext
7990 cat >>conftest.$ac_ext <<_ACEOF
7991 /* end confdefs.h. */
7992 #include <complex.h>
7994 main ()
7996 typedef __complex__ double _ComplexT; _ComplexT tmp;
7997 csinh(tmp);
7999 return 0;
8001 _ACEOF
8002 rm -f conftest.$ac_objext
8003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8004 (eval $ac_compile) 2>conftest.er1
8005 ac_status=$?
8006 grep -v '^ *+' conftest.er1 >conftest.err
8007 rm -f conftest.er1
8008 cat conftest.err >&5
8009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010 (exit $ac_status); } &&
8011 { ac_try='test -z "$ac_cxx_werror_flag"
8012 || test ! -s conftest.err'
8013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8014 (eval $ac_try) 2>&5
8015 ac_status=$?
8016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8017 (exit $ac_status); }; } &&
8018 { ac_try='test -s conftest.$ac_objext'
8019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8020 (eval $ac_try) 2>&5
8021 ac_status=$?
8022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8023 (exit $ac_status); }; }; then
8025 else
8026 echo "$as_me: failed program was:" >&5
8027 sed 's/^/| /' conftest.$ac_ext >&5
8029 ac_c99_complex=no
8031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8032 cat >conftest.$ac_ext <<_ACEOF
8033 /* confdefs.h. */
8034 _ACEOF
8035 cat confdefs.h >>conftest.$ac_ext
8036 cat >>conftest.$ac_ext <<_ACEOF
8037 /* end confdefs.h. */
8038 #include <complex.h>
8040 main ()
8042 typedef __complex__ long double _ComplexT; _ComplexT tmp;
8043 csinhl(tmp);
8045 return 0;
8047 _ACEOF
8048 rm -f conftest.$ac_objext
8049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8050 (eval $ac_compile) 2>conftest.er1
8051 ac_status=$?
8052 grep -v '^ *+' conftest.er1 >conftest.err
8053 rm -f conftest.er1
8054 cat conftest.err >&5
8055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8056 (exit $ac_status); } &&
8057 { ac_try='test -z "$ac_cxx_werror_flag"
8058 || test ! -s conftest.err'
8059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8060 (eval $ac_try) 2>&5
8061 ac_status=$?
8062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8063 (exit $ac_status); }; } &&
8064 { ac_try='test -s conftest.$ac_objext'
8065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8066 (eval $ac_try) 2>&5
8067 ac_status=$?
8068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8069 (exit $ac_status); }; }; then
8071 else
8072 echo "$as_me: failed program was:" >&5
8073 sed 's/^/| /' conftest.$ac_ext >&5
8075 ac_c99_complex=no
8077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8078 cat >conftest.$ac_ext <<_ACEOF
8079 /* confdefs.h. */
8080 _ACEOF
8081 cat confdefs.h >>conftest.$ac_ext
8082 cat >>conftest.$ac_ext <<_ACEOF
8083 /* end confdefs.h. */
8084 #include <complex.h>
8086 main ()
8088 typedef __complex__ float _ComplexT; _ComplexT tmp;
8089 csqrtf(tmp);
8091 return 0;
8093 _ACEOF
8094 rm -f conftest.$ac_objext
8095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8096 (eval $ac_compile) 2>conftest.er1
8097 ac_status=$?
8098 grep -v '^ *+' conftest.er1 >conftest.err
8099 rm -f conftest.er1
8100 cat conftest.err >&5
8101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8102 (exit $ac_status); } &&
8103 { ac_try='test -z "$ac_cxx_werror_flag"
8104 || test ! -s conftest.err'
8105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8106 (eval $ac_try) 2>&5
8107 ac_status=$?
8108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8109 (exit $ac_status); }; } &&
8110 { ac_try='test -s conftest.$ac_objext'
8111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8112 (eval $ac_try) 2>&5
8113 ac_status=$?
8114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8115 (exit $ac_status); }; }; then
8117 else
8118 echo "$as_me: failed program was:" >&5
8119 sed 's/^/| /' conftest.$ac_ext >&5
8121 ac_c99_complex=no
8123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8124 cat >conftest.$ac_ext <<_ACEOF
8125 /* confdefs.h. */
8126 _ACEOF
8127 cat confdefs.h >>conftest.$ac_ext
8128 cat >>conftest.$ac_ext <<_ACEOF
8129 /* end confdefs.h. */
8130 #include <complex.h>
8132 main ()
8134 typedef __complex__ double _ComplexT; _ComplexT tmp;
8135 csqrt(tmp);
8137 return 0;
8139 _ACEOF
8140 rm -f conftest.$ac_objext
8141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8142 (eval $ac_compile) 2>conftest.er1
8143 ac_status=$?
8144 grep -v '^ *+' conftest.er1 >conftest.err
8145 rm -f conftest.er1
8146 cat conftest.err >&5
8147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8148 (exit $ac_status); } &&
8149 { ac_try='test -z "$ac_cxx_werror_flag"
8150 || test ! -s conftest.err'
8151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8152 (eval $ac_try) 2>&5
8153 ac_status=$?
8154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8155 (exit $ac_status); }; } &&
8156 { ac_try='test -s conftest.$ac_objext'
8157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8158 (eval $ac_try) 2>&5
8159 ac_status=$?
8160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8161 (exit $ac_status); }; }; then
8163 else
8164 echo "$as_me: failed program was:" >&5
8165 sed 's/^/| /' conftest.$ac_ext >&5
8167 ac_c99_complex=no
8169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8170 cat >conftest.$ac_ext <<_ACEOF
8171 /* confdefs.h. */
8172 _ACEOF
8173 cat confdefs.h >>conftest.$ac_ext
8174 cat >>conftest.$ac_ext <<_ACEOF
8175 /* end confdefs.h. */
8176 #include <complex.h>
8178 main ()
8180 typedef __complex__ long double _ComplexT; _ComplexT tmp;
8181 csqrtl(tmp);
8183 return 0;
8185 _ACEOF
8186 rm -f conftest.$ac_objext
8187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8188 (eval $ac_compile) 2>conftest.er1
8189 ac_status=$?
8190 grep -v '^ *+' conftest.er1 >conftest.err
8191 rm -f conftest.er1
8192 cat conftest.err >&5
8193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8194 (exit $ac_status); } &&
8195 { ac_try='test -z "$ac_cxx_werror_flag"
8196 || test ! -s conftest.err'
8197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8198 (eval $ac_try) 2>&5
8199 ac_status=$?
8200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8201 (exit $ac_status); }; } &&
8202 { ac_try='test -s conftest.$ac_objext'
8203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8204 (eval $ac_try) 2>&5
8205 ac_status=$?
8206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8207 (exit $ac_status); }; }; then
8209 else
8210 echo "$as_me: failed program was:" >&5
8211 sed 's/^/| /' conftest.$ac_ext >&5
8213 ac_c99_complex=no
8215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8216 cat >conftest.$ac_ext <<_ACEOF
8217 /* confdefs.h. */
8218 _ACEOF
8219 cat confdefs.h >>conftest.$ac_ext
8220 cat >>conftest.$ac_ext <<_ACEOF
8221 /* end confdefs.h. */
8222 #include <complex.h>
8224 main ()
8226 typedef __complex__ float _ComplexT; _ComplexT tmp;
8227 ctanf(tmp);
8229 return 0;
8231 _ACEOF
8232 rm -f conftest.$ac_objext
8233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8234 (eval $ac_compile) 2>conftest.er1
8235 ac_status=$?
8236 grep -v '^ *+' conftest.er1 >conftest.err
8237 rm -f conftest.er1
8238 cat conftest.err >&5
8239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8240 (exit $ac_status); } &&
8241 { ac_try='test -z "$ac_cxx_werror_flag"
8242 || test ! -s conftest.err'
8243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8244 (eval $ac_try) 2>&5
8245 ac_status=$?
8246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8247 (exit $ac_status); }; } &&
8248 { ac_try='test -s conftest.$ac_objext'
8249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8250 (eval $ac_try) 2>&5
8251 ac_status=$?
8252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8253 (exit $ac_status); }; }; then
8255 else
8256 echo "$as_me: failed program was:" >&5
8257 sed 's/^/| /' conftest.$ac_ext >&5
8259 ac_c99_complex=no
8261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8262 cat >conftest.$ac_ext <<_ACEOF
8263 /* confdefs.h. */
8264 _ACEOF
8265 cat confdefs.h >>conftest.$ac_ext
8266 cat >>conftest.$ac_ext <<_ACEOF
8267 /* end confdefs.h. */
8268 #include <complex.h>
8270 main ()
8272 typedef __complex__ double _ComplexT; _ComplexT tmp;
8273 ctan(tmp);
8275 return 0;
8277 _ACEOF
8278 rm -f conftest.$ac_objext
8279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8280 (eval $ac_compile) 2>conftest.er1
8281 ac_status=$?
8282 grep -v '^ *+' conftest.er1 >conftest.err
8283 rm -f conftest.er1
8284 cat conftest.err >&5
8285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8286 (exit $ac_status); } &&
8287 { ac_try='test -z "$ac_cxx_werror_flag"
8288 || test ! -s conftest.err'
8289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8290 (eval $ac_try) 2>&5
8291 ac_status=$?
8292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8293 (exit $ac_status); }; } &&
8294 { ac_try='test -s conftest.$ac_objext'
8295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8296 (eval $ac_try) 2>&5
8297 ac_status=$?
8298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8299 (exit $ac_status); }; }; then
8301 else
8302 echo "$as_me: failed program was:" >&5
8303 sed 's/^/| /' conftest.$ac_ext >&5
8305 ac_c99_complex=no
8307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8308 cat >conftest.$ac_ext <<_ACEOF
8309 /* confdefs.h. */
8310 _ACEOF
8311 cat confdefs.h >>conftest.$ac_ext
8312 cat >>conftest.$ac_ext <<_ACEOF
8313 /* end confdefs.h. */
8314 #include <complex.h>
8316 main ()
8318 typedef __complex__ long double _ComplexT; _ComplexT tmp;
8319 ctanl(tmp);
8321 return 0;
8323 _ACEOF
8324 rm -f conftest.$ac_objext
8325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8326 (eval $ac_compile) 2>conftest.er1
8327 ac_status=$?
8328 grep -v '^ *+' conftest.er1 >conftest.err
8329 rm -f conftest.er1
8330 cat conftest.err >&5
8331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332 (exit $ac_status); } &&
8333 { ac_try='test -z "$ac_cxx_werror_flag"
8334 || test ! -s conftest.err'
8335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8336 (eval $ac_try) 2>&5
8337 ac_status=$?
8338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8339 (exit $ac_status); }; } &&
8340 { ac_try='test -s conftest.$ac_objext'
8341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8342 (eval $ac_try) 2>&5
8343 ac_status=$?
8344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8345 (exit $ac_status); }; }; then
8347 else
8348 echo "$as_me: failed program was:" >&5
8349 sed 's/^/| /' conftest.$ac_ext >&5
8351 ac_c99_complex=no
8353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8354 cat >conftest.$ac_ext <<_ACEOF
8355 /* confdefs.h. */
8356 _ACEOF
8357 cat confdefs.h >>conftest.$ac_ext
8358 cat >>conftest.$ac_ext <<_ACEOF
8359 /* end confdefs.h. */
8360 #include <complex.h>
8362 main ()
8364 typedef __complex__ float _ComplexT; _ComplexT tmp;
8365 ctanhf(tmp);
8367 return 0;
8369 _ACEOF
8370 rm -f conftest.$ac_objext
8371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8372 (eval $ac_compile) 2>conftest.er1
8373 ac_status=$?
8374 grep -v '^ *+' conftest.er1 >conftest.err
8375 rm -f conftest.er1
8376 cat conftest.err >&5
8377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8378 (exit $ac_status); } &&
8379 { ac_try='test -z "$ac_cxx_werror_flag"
8380 || test ! -s conftest.err'
8381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8382 (eval $ac_try) 2>&5
8383 ac_status=$?
8384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8385 (exit $ac_status); }; } &&
8386 { ac_try='test -s conftest.$ac_objext'
8387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8388 (eval $ac_try) 2>&5
8389 ac_status=$?
8390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8391 (exit $ac_status); }; }; then
8393 else
8394 echo "$as_me: failed program was:" >&5
8395 sed 's/^/| /' conftest.$ac_ext >&5
8397 ac_c99_complex=no
8399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8400 cat >conftest.$ac_ext <<_ACEOF
8401 /* confdefs.h. */
8402 _ACEOF
8403 cat confdefs.h >>conftest.$ac_ext
8404 cat >>conftest.$ac_ext <<_ACEOF
8405 /* end confdefs.h. */
8406 #include <complex.h>
8408 main ()
8410 typedef __complex__ double _ComplexT; _ComplexT tmp;
8411 ctanh(tmp);
8413 return 0;
8415 _ACEOF
8416 rm -f conftest.$ac_objext
8417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8418 (eval $ac_compile) 2>conftest.er1
8419 ac_status=$?
8420 grep -v '^ *+' conftest.er1 >conftest.err
8421 rm -f conftest.er1
8422 cat conftest.err >&5
8423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8424 (exit $ac_status); } &&
8425 { ac_try='test -z "$ac_cxx_werror_flag"
8426 || test ! -s conftest.err'
8427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8428 (eval $ac_try) 2>&5
8429 ac_status=$?
8430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8431 (exit $ac_status); }; } &&
8432 { ac_try='test -s conftest.$ac_objext'
8433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8434 (eval $ac_try) 2>&5
8435 ac_status=$?
8436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8437 (exit $ac_status); }; }; then
8439 else
8440 echo "$as_me: failed program was:" >&5
8441 sed 's/^/| /' conftest.$ac_ext >&5
8443 ac_c99_complex=no
8445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8446 cat >conftest.$ac_ext <<_ACEOF
8447 /* confdefs.h. */
8448 _ACEOF
8449 cat confdefs.h >>conftest.$ac_ext
8450 cat >>conftest.$ac_ext <<_ACEOF
8451 /* end confdefs.h. */
8452 #include <complex.h>
8454 main ()
8456 typedef __complex__ long double _ComplexT; _ComplexT tmp;
8457 ctanhl(tmp);
8459 return 0;
8461 _ACEOF
8462 rm -f conftest.$ac_objext
8463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8464 (eval $ac_compile) 2>conftest.er1
8465 ac_status=$?
8466 grep -v '^ *+' conftest.er1 >conftest.err
8467 rm -f conftest.er1
8468 cat conftest.err >&5
8469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8470 (exit $ac_status); } &&
8471 { ac_try='test -z "$ac_cxx_werror_flag"
8472 || test ! -s conftest.err'
8473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8474 (eval $ac_try) 2>&5
8475 ac_status=$?
8476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8477 (exit $ac_status); }; } &&
8478 { ac_try='test -s conftest.$ac_objext'
8479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8480 (eval $ac_try) 2>&5
8481 ac_status=$?
8482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8483 (exit $ac_status); }; }; then
8485 else
8486 echo "$as_me: failed program was:" >&5
8487 sed 's/^/| /' conftest.$ac_ext >&5
8489 ac_c99_complex=no
8491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8492 cat >conftest.$ac_ext <<_ACEOF
8493 /* confdefs.h. */
8494 _ACEOF
8495 cat confdefs.h >>conftest.$ac_ext
8496 cat >>conftest.$ac_ext <<_ACEOF
8497 /* end confdefs.h. */
8498 #include <complex.h>
8500 main ()
8502 typedef __complex__ float _ComplexT; _ComplexT tmp;
8503 cpowf(tmp, tmp);
8505 return 0;
8507 _ACEOF
8508 rm -f conftest.$ac_objext
8509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8510 (eval $ac_compile) 2>conftest.er1
8511 ac_status=$?
8512 grep -v '^ *+' conftest.er1 >conftest.err
8513 rm -f conftest.er1
8514 cat conftest.err >&5
8515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8516 (exit $ac_status); } &&
8517 { ac_try='test -z "$ac_cxx_werror_flag"
8518 || test ! -s conftest.err'
8519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8520 (eval $ac_try) 2>&5
8521 ac_status=$?
8522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8523 (exit $ac_status); }; } &&
8524 { ac_try='test -s conftest.$ac_objext'
8525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8526 (eval $ac_try) 2>&5
8527 ac_status=$?
8528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8529 (exit $ac_status); }; }; then
8531 else
8532 echo "$as_me: failed program was:" >&5
8533 sed 's/^/| /' conftest.$ac_ext >&5
8535 ac_c99_complex=no
8537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8538 cat >conftest.$ac_ext <<_ACEOF
8539 /* confdefs.h. */
8540 _ACEOF
8541 cat confdefs.h >>conftest.$ac_ext
8542 cat >>conftest.$ac_ext <<_ACEOF
8543 /* end confdefs.h. */
8544 #include <complex.h>
8546 main ()
8548 typedef __complex__ double _ComplexT; _ComplexT tmp;
8549 cpow(tmp, tmp);
8551 return 0;
8553 _ACEOF
8554 rm -f conftest.$ac_objext
8555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8556 (eval $ac_compile) 2>conftest.er1
8557 ac_status=$?
8558 grep -v '^ *+' conftest.er1 >conftest.err
8559 rm -f conftest.er1
8560 cat conftest.err >&5
8561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8562 (exit $ac_status); } &&
8563 { ac_try='test -z "$ac_cxx_werror_flag"
8564 || test ! -s conftest.err'
8565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8566 (eval $ac_try) 2>&5
8567 ac_status=$?
8568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8569 (exit $ac_status); }; } &&
8570 { ac_try='test -s conftest.$ac_objext'
8571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8572 (eval $ac_try) 2>&5
8573 ac_status=$?
8574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8575 (exit $ac_status); }; }; then
8577 else
8578 echo "$as_me: failed program was:" >&5
8579 sed 's/^/| /' conftest.$ac_ext >&5
8581 ac_c99_complex=no
8583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8584 cat >conftest.$ac_ext <<_ACEOF
8585 /* confdefs.h. */
8586 _ACEOF
8587 cat confdefs.h >>conftest.$ac_ext
8588 cat >>conftest.$ac_ext <<_ACEOF
8589 /* end confdefs.h. */
8590 #include <complex.h>
8592 main ()
8594 typedef __complex__ long double _ComplexT; _ComplexT tmp;
8595 cpowl(tmp, tmp);
8597 return 0;
8599 _ACEOF
8600 rm -f conftest.$ac_objext
8601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8602 (eval $ac_compile) 2>conftest.er1
8603 ac_status=$?
8604 grep -v '^ *+' conftest.er1 >conftest.err
8605 rm -f conftest.er1
8606 cat conftest.err >&5
8607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8608 (exit $ac_status); } &&
8609 { ac_try='test -z "$ac_cxx_werror_flag"
8610 || test ! -s conftest.err'
8611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8612 (eval $ac_try) 2>&5
8613 ac_status=$?
8614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615 (exit $ac_status); }; } &&
8616 { ac_try='test -s conftest.$ac_objext'
8617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8618 (eval $ac_try) 2>&5
8619 ac_status=$?
8620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8621 (exit $ac_status); }; }; then
8623 else
8624 echo "$as_me: failed program was:" >&5
8625 sed 's/^/| /' conftest.$ac_ext >&5
8627 ac_c99_complex=no
8629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8631 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
8632 echo "${ECHO_T}$ac_c99_complex" >&6
8634 if test x"$ac_c99_complex" = x"yes"; then
8635 cat >>confdefs.h <<\_ACEOF
8636 #define _GLIBCXX_USE_C99_COMPLEX 1
8637 _ACEOF
8641 # Check for the existence in <stdio.h> of vscanf, et. al.
8642 ac_c99_stdio=yes;
8643 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
8644 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
8645 cat >conftest.$ac_ext <<_ACEOF
8646 /* confdefs.h. */
8647 _ACEOF
8648 cat confdefs.h >>conftest.$ac_ext
8649 cat >>conftest.$ac_ext <<_ACEOF
8650 /* end confdefs.h. */
8651 #include <stdio.h>
8653 main ()
8655 snprintf("12", 0, "%i");
8657 return 0;
8659 _ACEOF
8660 rm -f conftest.$ac_objext
8661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8662 (eval $ac_compile) 2>conftest.er1
8663 ac_status=$?
8664 grep -v '^ *+' conftest.er1 >conftest.err
8665 rm -f conftest.er1
8666 cat conftest.err >&5
8667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 (exit $ac_status); } &&
8669 { ac_try='test -z "$ac_cxx_werror_flag"
8670 || test ! -s conftest.err'
8671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8672 (eval $ac_try) 2>&5
8673 ac_status=$?
8674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8675 (exit $ac_status); }; } &&
8676 { ac_try='test -s conftest.$ac_objext'
8677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8678 (eval $ac_try) 2>&5
8679 ac_status=$?
8680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8681 (exit $ac_status); }; }; then
8683 else
8684 echo "$as_me: failed program was:" >&5
8685 sed 's/^/| /' conftest.$ac_ext >&5
8687 ac_c99_stdio=no
8689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8690 cat >conftest.$ac_ext <<_ACEOF
8691 /* confdefs.h. */
8692 _ACEOF
8693 cat confdefs.h >>conftest.$ac_ext
8694 cat >>conftest.$ac_ext <<_ACEOF
8695 /* end confdefs.h. */
8696 #include <stdio.h>
8697 #include <stdarg.h>
8698 void foo(char* fmt, ...)
8699 {va_list args; va_start(args, fmt);
8700 vfscanf(stderr, "%i", args);}
8702 main ()
8706 return 0;
8708 _ACEOF
8709 rm -f conftest.$ac_objext
8710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8711 (eval $ac_compile) 2>conftest.er1
8712 ac_status=$?
8713 grep -v '^ *+' conftest.er1 >conftest.err
8714 rm -f conftest.er1
8715 cat conftest.err >&5
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); } &&
8718 { ac_try='test -z "$ac_cxx_werror_flag"
8719 || test ! -s conftest.err'
8720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8721 (eval $ac_try) 2>&5
8722 ac_status=$?
8723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8724 (exit $ac_status); }; } &&
8725 { ac_try='test -s conftest.$ac_objext'
8726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8727 (eval $ac_try) 2>&5
8728 ac_status=$?
8729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8730 (exit $ac_status); }; }; then
8732 else
8733 echo "$as_me: failed program was:" >&5
8734 sed 's/^/| /' conftest.$ac_ext >&5
8736 ac_c99_stdio=no
8738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8739 cat >conftest.$ac_ext <<_ACEOF
8740 /* confdefs.h. */
8741 _ACEOF
8742 cat confdefs.h >>conftest.$ac_ext
8743 cat >>conftest.$ac_ext <<_ACEOF
8744 /* end confdefs.h. */
8745 #include <stdio.h>
8746 #include <stdarg.h>
8747 void foo(char* fmt, ...)
8748 {va_list args; va_start(args, fmt);
8749 vscanf("%i", args);}
8751 main ()
8755 return 0;
8757 _ACEOF
8758 rm -f conftest.$ac_objext
8759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8760 (eval $ac_compile) 2>conftest.er1
8761 ac_status=$?
8762 grep -v '^ *+' conftest.er1 >conftest.err
8763 rm -f conftest.er1
8764 cat conftest.err >&5
8765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8766 (exit $ac_status); } &&
8767 { ac_try='test -z "$ac_cxx_werror_flag"
8768 || test ! -s conftest.err'
8769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8770 (eval $ac_try) 2>&5
8771 ac_status=$?
8772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8773 (exit $ac_status); }; } &&
8774 { ac_try='test -s conftest.$ac_objext'
8775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8776 (eval $ac_try) 2>&5
8777 ac_status=$?
8778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8779 (exit $ac_status); }; }; then
8781 else
8782 echo "$as_me: failed program was:" >&5
8783 sed 's/^/| /' conftest.$ac_ext >&5
8785 ac_c99_stdio=no
8787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8788 cat >conftest.$ac_ext <<_ACEOF
8789 /* confdefs.h. */
8790 _ACEOF
8791 cat confdefs.h >>conftest.$ac_ext
8792 cat >>conftest.$ac_ext <<_ACEOF
8793 /* end confdefs.h. */
8794 #include <stdio.h>
8795 #include <stdarg.h>
8796 void foo(char* fmt, ...)
8797 {va_list args; va_start(args, fmt);
8798 vsnprintf(fmt, 0, "%i", args);}
8800 main ()
8804 return 0;
8806 _ACEOF
8807 rm -f conftest.$ac_objext
8808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8809 (eval $ac_compile) 2>conftest.er1
8810 ac_status=$?
8811 grep -v '^ *+' conftest.er1 >conftest.err
8812 rm -f conftest.er1
8813 cat conftest.err >&5
8814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8815 (exit $ac_status); } &&
8816 { ac_try='test -z "$ac_cxx_werror_flag"
8817 || test ! -s conftest.err'
8818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8819 (eval $ac_try) 2>&5
8820 ac_status=$?
8821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8822 (exit $ac_status); }; } &&
8823 { ac_try='test -s conftest.$ac_objext'
8824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8825 (eval $ac_try) 2>&5
8826 ac_status=$?
8827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8828 (exit $ac_status); }; }; then
8830 else
8831 echo "$as_me: failed program was:" >&5
8832 sed 's/^/| /' conftest.$ac_ext >&5
8834 ac_c99_stdio=no
8836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8837 cat >conftest.$ac_ext <<_ACEOF
8838 /* confdefs.h. */
8839 _ACEOF
8840 cat confdefs.h >>conftest.$ac_ext
8841 cat >>conftest.$ac_ext <<_ACEOF
8842 /* end confdefs.h. */
8843 #include <stdio.h>
8844 #include <stdarg.h>
8845 void foo(char* fmt, ...)
8846 {va_list args; va_start(args, fmt);
8847 vsscanf(fmt, "%i", args);}
8849 main ()
8853 return 0;
8855 _ACEOF
8856 rm -f conftest.$ac_objext
8857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8858 (eval $ac_compile) 2>conftest.er1
8859 ac_status=$?
8860 grep -v '^ *+' conftest.er1 >conftest.err
8861 rm -f conftest.er1
8862 cat conftest.err >&5
8863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8864 (exit $ac_status); } &&
8865 { ac_try='test -z "$ac_cxx_werror_flag"
8866 || test ! -s conftest.err'
8867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8868 (eval $ac_try) 2>&5
8869 ac_status=$?
8870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8871 (exit $ac_status); }; } &&
8872 { ac_try='test -s conftest.$ac_objext'
8873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8874 (eval $ac_try) 2>&5
8875 ac_status=$?
8876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8877 (exit $ac_status); }; }; then
8879 else
8880 echo "$as_me: failed program was:" >&5
8881 sed 's/^/| /' conftest.$ac_ext >&5
8883 ac_c99_stdio=no
8885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8886 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
8887 echo "${ECHO_T}$ac_c99_stdio" >&6
8889 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
8890 ac_c99_stdlib=yes;
8891 echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
8892 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
8893 if test "${ac_c99_lldiv_t+set}" = set; then
8894 echo $ECHO_N "(cached) $ECHO_C" >&6
8895 else
8897 cat >conftest.$ac_ext <<_ACEOF
8898 /* confdefs.h. */
8899 _ACEOF
8900 cat confdefs.h >>conftest.$ac_ext
8901 cat >>conftest.$ac_ext <<_ACEOF
8902 /* end confdefs.h. */
8903 #include <stdlib.h>
8905 main ()
8907 lldiv_t mydivt;
8909 return 0;
8911 _ACEOF
8912 rm -f conftest.$ac_objext
8913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8914 (eval $ac_compile) 2>conftest.er1
8915 ac_status=$?
8916 grep -v '^ *+' conftest.er1 >conftest.err
8917 rm -f conftest.er1
8918 cat conftest.err >&5
8919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8920 (exit $ac_status); } &&
8921 { ac_try='test -z "$ac_cxx_werror_flag"
8922 || test ! -s conftest.err'
8923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8924 (eval $ac_try) 2>&5
8925 ac_status=$?
8926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8927 (exit $ac_status); }; } &&
8928 { ac_try='test -s conftest.$ac_objext'
8929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8930 (eval $ac_try) 2>&5
8931 ac_status=$?
8932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8933 (exit $ac_status); }; }; then
8934 ac_c99_lldiv_t=yes
8935 else
8936 echo "$as_me: failed program was:" >&5
8937 sed 's/^/| /' conftest.$ac_ext >&5
8939 ac_c99_lldiv_t=no
8941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8945 echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
8946 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
8948 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
8949 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
8950 cat >conftest.$ac_ext <<_ACEOF
8951 /* confdefs.h. */
8952 _ACEOF
8953 cat confdefs.h >>conftest.$ac_ext
8954 cat >>conftest.$ac_ext <<_ACEOF
8955 /* end confdefs.h. */
8956 #include <stdlib.h>
8958 main ()
8960 char* tmp; strtof("gnu", &tmp);
8962 return 0;
8964 _ACEOF
8965 rm -f conftest.$ac_objext
8966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8967 (eval $ac_compile) 2>conftest.er1
8968 ac_status=$?
8969 grep -v '^ *+' conftest.er1 >conftest.err
8970 rm -f conftest.er1
8971 cat conftest.err >&5
8972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8973 (exit $ac_status); } &&
8974 { ac_try='test -z "$ac_cxx_werror_flag"
8975 || test ! -s conftest.err'
8976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8977 (eval $ac_try) 2>&5
8978 ac_status=$?
8979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980 (exit $ac_status); }; } &&
8981 { ac_try='test -s conftest.$ac_objext'
8982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8983 (eval $ac_try) 2>&5
8984 ac_status=$?
8985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8986 (exit $ac_status); }; }; then
8988 else
8989 echo "$as_me: failed program was:" >&5
8990 sed 's/^/| /' conftest.$ac_ext >&5
8992 ac_c99_stdlib=no
8994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8995 cat >conftest.$ac_ext <<_ACEOF
8996 /* confdefs.h. */
8997 _ACEOF
8998 cat confdefs.h >>conftest.$ac_ext
8999 cat >>conftest.$ac_ext <<_ACEOF
9000 /* end confdefs.h. */
9001 #include <stdlib.h>
9003 main ()
9005 char* tmp; strtold("gnu", &tmp);
9007 return 0;
9009 _ACEOF
9010 rm -f conftest.$ac_objext
9011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9012 (eval $ac_compile) 2>conftest.er1
9013 ac_status=$?
9014 grep -v '^ *+' conftest.er1 >conftest.err
9015 rm -f conftest.er1
9016 cat conftest.err >&5
9017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9018 (exit $ac_status); } &&
9019 { ac_try='test -z "$ac_cxx_werror_flag"
9020 || test ! -s conftest.err'
9021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9022 (eval $ac_try) 2>&5
9023 ac_status=$?
9024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9025 (exit $ac_status); }; } &&
9026 { ac_try='test -s conftest.$ac_objext'
9027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9028 (eval $ac_try) 2>&5
9029 ac_status=$?
9030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9031 (exit $ac_status); }; }; then
9033 else
9034 echo "$as_me: failed program was:" >&5
9035 sed 's/^/| /' conftest.$ac_ext >&5
9037 ac_c99_stdlib=no
9039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9040 cat >conftest.$ac_ext <<_ACEOF
9041 /* confdefs.h. */
9042 _ACEOF
9043 cat confdefs.h >>conftest.$ac_ext
9044 cat >>conftest.$ac_ext <<_ACEOF
9045 /* end confdefs.h. */
9046 #include <stdlib.h>
9048 main ()
9050 llabs(10);
9052 return 0;
9054 _ACEOF
9055 rm -f conftest.$ac_objext
9056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9057 (eval $ac_compile) 2>conftest.er1
9058 ac_status=$?
9059 grep -v '^ *+' conftest.er1 >conftest.err
9060 rm -f conftest.er1
9061 cat conftest.err >&5
9062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9063 (exit $ac_status); } &&
9064 { ac_try='test -z "$ac_cxx_werror_flag"
9065 || test ! -s conftest.err'
9066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9067 (eval $ac_try) 2>&5
9068 ac_status=$?
9069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9070 (exit $ac_status); }; } &&
9071 { ac_try='test -s conftest.$ac_objext'
9072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9073 (eval $ac_try) 2>&5
9074 ac_status=$?
9075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9076 (exit $ac_status); }; }; then
9078 else
9079 echo "$as_me: failed program was:" >&5
9080 sed 's/^/| /' conftest.$ac_ext >&5
9082 ac_c99_stdlib=no
9084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9085 cat >conftest.$ac_ext <<_ACEOF
9086 /* confdefs.h. */
9087 _ACEOF
9088 cat confdefs.h >>conftest.$ac_ext
9089 cat >>conftest.$ac_ext <<_ACEOF
9090 /* end confdefs.h. */
9091 #include <stdlib.h>
9093 main ()
9095 lldiv(10,1);
9097 return 0;
9099 _ACEOF
9100 rm -f conftest.$ac_objext
9101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9102 (eval $ac_compile) 2>conftest.er1
9103 ac_status=$?
9104 grep -v '^ *+' conftest.er1 >conftest.err
9105 rm -f conftest.er1
9106 cat conftest.err >&5
9107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9108 (exit $ac_status); } &&
9109 { ac_try='test -z "$ac_cxx_werror_flag"
9110 || test ! -s conftest.err'
9111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9112 (eval $ac_try) 2>&5
9113 ac_status=$?
9114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9115 (exit $ac_status); }; } &&
9116 { ac_try='test -s conftest.$ac_objext'
9117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9118 (eval $ac_try) 2>&5
9119 ac_status=$?
9120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9121 (exit $ac_status); }; }; then
9123 else
9124 echo "$as_me: failed program was:" >&5
9125 sed 's/^/| /' conftest.$ac_ext >&5
9127 ac_c99_stdlib=no
9129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9130 cat >conftest.$ac_ext <<_ACEOF
9131 /* confdefs.h. */
9132 _ACEOF
9133 cat confdefs.h >>conftest.$ac_ext
9134 cat >>conftest.$ac_ext <<_ACEOF
9135 /* end confdefs.h. */
9136 #include <stdlib.h>
9138 main ()
9140 atoll("10");
9142 return 0;
9144 _ACEOF
9145 rm -f conftest.$ac_objext
9146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9147 (eval $ac_compile) 2>conftest.er1
9148 ac_status=$?
9149 grep -v '^ *+' conftest.er1 >conftest.err
9150 rm -f conftest.er1
9151 cat conftest.err >&5
9152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9153 (exit $ac_status); } &&
9154 { ac_try='test -z "$ac_cxx_werror_flag"
9155 || test ! -s conftest.err'
9156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9157 (eval $ac_try) 2>&5
9158 ac_status=$?
9159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9160 (exit $ac_status); }; } &&
9161 { ac_try='test -s conftest.$ac_objext'
9162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9163 (eval $ac_try) 2>&5
9164 ac_status=$?
9165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9166 (exit $ac_status); }; }; then
9168 else
9169 echo "$as_me: failed program was:" >&5
9170 sed 's/^/| /' conftest.$ac_ext >&5
9172 ac_c99_stdlib=no
9174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9175 cat >conftest.$ac_ext <<_ACEOF
9176 /* confdefs.h. */
9177 _ACEOF
9178 cat confdefs.h >>conftest.$ac_ext
9179 cat >>conftest.$ac_ext <<_ACEOF
9180 /* end confdefs.h. */
9181 #include <stdlib.h>
9183 main ()
9185 _Exit(0);
9187 return 0;
9189 _ACEOF
9190 rm -f conftest.$ac_objext
9191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9192 (eval $ac_compile) 2>conftest.er1
9193 ac_status=$?
9194 grep -v '^ *+' conftest.er1 >conftest.err
9195 rm -f conftest.er1
9196 cat conftest.err >&5
9197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9198 (exit $ac_status); } &&
9199 { ac_try='test -z "$ac_cxx_werror_flag"
9200 || test ! -s conftest.err'
9201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9202 (eval $ac_try) 2>&5
9203 ac_status=$?
9204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9205 (exit $ac_status); }; } &&
9206 { ac_try='test -s conftest.$ac_objext'
9207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9208 (eval $ac_try) 2>&5
9209 ac_status=$?
9210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9211 (exit $ac_status); }; }; then
9213 else
9214 echo "$as_me: failed program was:" >&5
9215 sed 's/^/| /' conftest.$ac_ext >&5
9217 ac_c99_stdlib=no
9219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9220 if test x"$ac_c99_lldiv_t" = x"no"; then
9221 ac_c99_stdlib=no;
9223 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
9224 echo "${ECHO_T}$ac_c99_stdlib" >&6
9226 # Check for the existence of <wchar.h> functions used if C99 is enabled.
9227 # XXX the wchar.h checks should be rolled into the general C99 bits.
9228 ac_c99_wchar=yes;
9229 echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
9230 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
9231 cat >conftest.$ac_ext <<_ACEOF
9232 /* confdefs.h. */
9233 _ACEOF
9234 cat confdefs.h >>conftest.$ac_ext
9235 cat >>conftest.$ac_ext <<_ACEOF
9236 /* end confdefs.h. */
9237 #include <wchar.h>
9239 main ()
9241 wcstold(L"10.0", NULL);
9243 return 0;
9245 _ACEOF
9246 rm -f conftest.$ac_objext
9247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9248 (eval $ac_compile) 2>conftest.er1
9249 ac_status=$?
9250 grep -v '^ *+' conftest.er1 >conftest.err
9251 rm -f conftest.er1
9252 cat conftest.err >&5
9253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9254 (exit $ac_status); } &&
9255 { ac_try='test -z "$ac_cxx_werror_flag"
9256 || test ! -s conftest.err'
9257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9258 (eval $ac_try) 2>&5
9259 ac_status=$?
9260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9261 (exit $ac_status); }; } &&
9262 { ac_try='test -s conftest.$ac_objext'
9263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9264 (eval $ac_try) 2>&5
9265 ac_status=$?
9266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9267 (exit $ac_status); }; }; then
9269 else
9270 echo "$as_me: failed program was:" >&5
9271 sed 's/^/| /' conftest.$ac_ext >&5
9273 ac_c99_wchar=no
9275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9276 cat >conftest.$ac_ext <<_ACEOF
9277 /* confdefs.h. */
9278 _ACEOF
9279 cat confdefs.h >>conftest.$ac_ext
9280 cat >>conftest.$ac_ext <<_ACEOF
9281 /* end confdefs.h. */
9282 #include <wchar.h>
9284 main ()
9286 wcstoll(L"10", NULL, 10);
9288 return 0;
9290 _ACEOF
9291 rm -f conftest.$ac_objext
9292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9293 (eval $ac_compile) 2>conftest.er1
9294 ac_status=$?
9295 grep -v '^ *+' conftest.er1 >conftest.err
9296 rm -f conftest.er1
9297 cat conftest.err >&5
9298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9299 (exit $ac_status); } &&
9300 { ac_try='test -z "$ac_cxx_werror_flag"
9301 || test ! -s conftest.err'
9302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9303 (eval $ac_try) 2>&5
9304 ac_status=$?
9305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9306 (exit $ac_status); }; } &&
9307 { ac_try='test -s conftest.$ac_objext'
9308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9309 (eval $ac_try) 2>&5
9310 ac_status=$?
9311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 (exit $ac_status); }; }; then
9314 else
9315 echo "$as_me: failed program was:" >&5
9316 sed 's/^/| /' conftest.$ac_ext >&5
9318 ac_c99_wchar=no
9320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9321 cat >conftest.$ac_ext <<_ACEOF
9322 /* confdefs.h. */
9323 _ACEOF
9324 cat confdefs.h >>conftest.$ac_ext
9325 cat >>conftest.$ac_ext <<_ACEOF
9326 /* end confdefs.h. */
9327 #include <wchar.h>
9329 main ()
9331 wcstoull(L"10", NULL, 10);
9333 return 0;
9335 _ACEOF
9336 rm -f conftest.$ac_objext
9337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9338 (eval $ac_compile) 2>conftest.er1
9339 ac_status=$?
9340 grep -v '^ *+' conftest.er1 >conftest.err
9341 rm -f conftest.er1
9342 cat conftest.err >&5
9343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9344 (exit $ac_status); } &&
9345 { ac_try='test -z "$ac_cxx_werror_flag"
9346 || test ! -s conftest.err'
9347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9348 (eval $ac_try) 2>&5
9349 ac_status=$?
9350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9351 (exit $ac_status); }; } &&
9352 { ac_try='test -s conftest.$ac_objext'
9353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9354 (eval $ac_try) 2>&5
9355 ac_status=$?
9356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9357 (exit $ac_status); }; }; then
9359 else
9360 echo "$as_me: failed program was:" >&5
9361 sed 's/^/| /' conftest.$ac_ext >&5
9363 ac_c99_wchar=no
9365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9366 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
9367 echo "${ECHO_T}$ac_c99_wchar" >&6
9369 echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
9370 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
9371 if test x"$ac_c99_math" = x"no" ||
9372 test x"$ac_c99_complex" = x"no" ||
9373 test x"$ac_c99_stdio" = x"no" ||
9374 test x"$ac_c99_stdlib" = x"no" ||
9375 test x"$ac_c99_wchar" = x"no"; then
9376 enable_c99=no;
9378 echo "$as_me:$LINENO: result: $enable_c99" >&5
9379 echo "${ECHO_T}$enable_c99" >&6
9381 # Option parsed, now set things appropriately
9382 if test x"$enable_c99" = x"yes"; then
9383 cat >>confdefs.h <<\_ACEOF
9384 #define _GLIBCXX_USE_C99 1
9385 _ACEOF
9389 ac_ext=c
9390 ac_cpp='$CPP $CPPFLAGS'
9391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9397 # Check whether --enable-long-long or --disable-long-long was given.
9398 if test "${enable_long_long+set}" = set; then
9399 enableval="$enable_long_long"
9401 case "$enableval" in
9402 yes|no) ;;
9403 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
9404 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
9405 { (exit 1); exit 1; }; } ;;
9406 esac
9408 else
9409 enable_long_long=yes
9412 if test $enable_long_long = yes; then
9413 cat >>confdefs.h <<\_ACEOF
9414 #define _GLIBCXX_USE_LONG_LONG 1
9415 _ACEOF
9420 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
9421 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
9422 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
9423 echo "$as_me:$LINENO: result: $target_thread_file" >&5
9424 echo "${ECHO_T}$target_thread_file" >&6
9426 if test $target_thread_file != single; then
9427 cat >>confdefs.h <<\_ACEOF
9428 #define HAVE_GTHR_DEFAULT 1
9429 _ACEOF
9433 glibcxx_thread_h=gthr-$target_thread_file.h
9435 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
9436 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
9437 enable_thread=yes
9438 else
9439 enable_thread=no
9445 # Check whether --enable-concept-checks or --disable-concept-checks was given.
9446 if test "${enable_concept_checks+set}" = set; then
9447 enableval="$enable_concept_checks"
9449 case "$enableval" in
9450 yes|no) ;;
9451 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
9452 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
9453 { (exit 1); exit 1; }; } ;;
9454 esac
9456 else
9457 enable_concept_checks=no
9460 if test $enable_concept_checks = yes; then
9461 cat >>confdefs.h <<\_ACEOF
9462 #define _GLIBCXX_CONCEPT_CHECKS 1
9463 _ACEOF
9468 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
9469 if test "${enable_libstdcxx_debug_flags+set}" = set; then
9470 enableval="$enable_libstdcxx_debug_flags"
9471 case "x$enable_libstdcxx_debug_flags" in
9472 xno | x) enable_libstdcxx_debug_flags= ;;
9473 x-*) ;;
9474 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
9475 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
9476 { (exit 1); exit 1; }; } ;;
9477 esac
9478 else
9479 enable_libstdcxx_debug_flags="-g3 -O0"
9483 # Option parsed, now set things appropriately
9484 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
9487 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
9488 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
9491 echo "$as_me:$LINENO: checking for additional debug build" >&5
9492 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
9493 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
9494 if test "${enable_libstdcxx_debug+set}" = set; then
9495 enableval="$enable_libstdcxx_debug"
9497 case "$enableval" in
9498 yes|no) ;;
9499 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
9500 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
9501 { (exit 1); exit 1; }; } ;;
9502 esac
9504 else
9505 enable_libstdcxx_debug=no
9508 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
9509 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
9512 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
9513 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
9514 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
9515 if test "${enable_cxx_flags+set}" = set; then
9516 enableval="$enable_cxx_flags"
9517 case "x$enable_cxx_flags" in
9518 xno | x) enable_cxx_flags= ;;
9519 x-*) ;;
9520 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
9521 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
9522 { (exit 1); exit 1; }; } ;;
9523 esac
9524 else
9525 enable_cxx_flags=
9529 # Run through flags (either default or command-line) and set anything
9530 # extra (e.g., #defines) that must accompany particular g++ options.
9531 if test -n "$enable_cxx_flags"; then
9532 for f in $enable_cxx_flags; do
9533 case "$f" in
9534 -fhonor-std) ;;
9535 -*) ;;
9536 *) # and we're trying to pass /what/ exactly?
9537 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
9538 echo "$as_me: error: compiler flags start with a -" >&2;}
9539 { (exit 1); exit 1; }; } ;;
9540 esac
9541 done
9544 EXTRA_CXX_FLAGS="$enable_cxx_flags"
9545 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
9546 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
9550 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
9551 if test "${enable_fully_dynamic_string+set}" = set; then
9552 enableval="$enable_fully_dynamic_string"
9554 case "$enableval" in
9555 yes|no) ;;
9556 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
9557 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
9558 { (exit 1); exit 1; }; } ;;
9559 esac
9561 else
9562 enable_fully_dynamic_string=no
9565 if test $enable_fully_dynamic_string = yes; then
9566 cat >>confdefs.h <<\_ACEOF
9567 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
9568 _ACEOF
9573 # No surprises, no surprises...
9574 if test $atomicity_dir = cpu/generic ; then
9575 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
9576 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
9577 if test $target_thread_file = single; then
9578 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
9579 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
9580 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
9581 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
9582 else
9583 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
9584 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
9585 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
9586 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
9591 if $GLIBCXX_IS_NATIVE; then
9593 # We can do more elaborate tests that assume a working linker.
9594 CANADIAN=no
9596 # Check for available headers.
9612 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
9613 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
9614 sys/types.h sys/ipc.h sys/sem.h
9616 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9618 echo "$as_me:$LINENO: checking for $ac_header" >&5
9619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9621 echo $ECHO_N "(cached) $ECHO_C" >&6
9623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9624 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9625 else
9626 # Is the header compilable?
9627 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9628 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9629 cat >conftest.$ac_ext <<_ACEOF
9630 /* confdefs.h. */
9631 _ACEOF
9632 cat confdefs.h >>conftest.$ac_ext
9633 cat >>conftest.$ac_ext <<_ACEOF
9634 /* end confdefs.h. */
9635 $ac_includes_default
9636 #include <$ac_header>
9637 _ACEOF
9638 rm -f conftest.$ac_objext
9639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9640 (eval $ac_compile) 2>conftest.er1
9641 ac_status=$?
9642 grep -v '^ *+' conftest.er1 >conftest.err
9643 rm -f conftest.er1
9644 cat conftest.err >&5
9645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9646 (exit $ac_status); } &&
9647 { ac_try='test -z "$ac_c_werror_flag"
9648 || test ! -s conftest.err'
9649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9650 (eval $ac_try) 2>&5
9651 ac_status=$?
9652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9653 (exit $ac_status); }; } &&
9654 { ac_try='test -s conftest.$ac_objext'
9655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9656 (eval $ac_try) 2>&5
9657 ac_status=$?
9658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9659 (exit $ac_status); }; }; then
9660 ac_header_compiler=yes
9661 else
9662 echo "$as_me: failed program was:" >&5
9663 sed 's/^/| /' conftest.$ac_ext >&5
9665 ac_header_compiler=no
9667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9668 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9669 echo "${ECHO_T}$ac_header_compiler" >&6
9671 # Is the header present?
9672 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9673 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9674 cat >conftest.$ac_ext <<_ACEOF
9675 /* confdefs.h. */
9676 _ACEOF
9677 cat confdefs.h >>conftest.$ac_ext
9678 cat >>conftest.$ac_ext <<_ACEOF
9679 /* end confdefs.h. */
9680 #include <$ac_header>
9681 _ACEOF
9682 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9683 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9684 ac_status=$?
9685 grep -v '^ *+' conftest.er1 >conftest.err
9686 rm -f conftest.er1
9687 cat conftest.err >&5
9688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9689 (exit $ac_status); } >/dev/null; then
9690 if test -s conftest.err; then
9691 ac_cpp_err=$ac_c_preproc_warn_flag
9692 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9693 else
9694 ac_cpp_err=
9696 else
9697 ac_cpp_err=yes
9699 if test -z "$ac_cpp_err"; then
9700 ac_header_preproc=yes
9701 else
9702 echo "$as_me: failed program was:" >&5
9703 sed 's/^/| /' conftest.$ac_ext >&5
9705 ac_header_preproc=no
9707 rm -f conftest.err conftest.$ac_ext
9708 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9709 echo "${ECHO_T}$ac_header_preproc" >&6
9711 # So? What about this header?
9712 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9713 yes:no: )
9714 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9715 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9716 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9717 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9718 ac_header_preproc=yes
9720 no:yes:* )
9721 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9722 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9723 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9724 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9725 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9726 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9727 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9728 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9729 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9730 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9731 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9732 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9734 cat <<\_ASBOX
9735 ## ----------------------------------------- ##
9736 ## Report this to the package-unused lists. ##
9737 ## ----------------------------------------- ##
9738 _ASBOX
9740 sed "s/^/$as_me: WARNING: /" >&2
9742 esac
9743 echo "$as_me:$LINENO: checking for $ac_header" >&5
9744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9745 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9746 echo $ECHO_N "(cached) $ECHO_C" >&6
9747 else
9748 eval "$as_ac_Header=\$ac_header_preproc"
9750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9751 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9754 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9755 cat >>confdefs.h <<_ACEOF
9756 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9757 _ACEOF
9761 done
9765 # All these tests are for C++; save the language and the compiler flags.
9766 # The CXXFLAGS thing is suspicious, but based on similar bits previously
9767 # found in GLIBCXX_CONFIGURE.
9770 ac_ext=cc
9771 ac_cpp='$CXXCPP $CPPFLAGS'
9772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9776 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9777 ac_save_CXXFLAGS="$CXXFLAGS"
9779 # Check for maintainer-mode bits.
9780 if test x"$USE_MAINTAINER_MODE" = xno; then
9781 WERROR=''
9782 else
9783 WERROR='-Werror'
9786 # Check for -ffunction-sections -fdata-sections
9787 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
9788 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
9789 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
9790 cat >conftest.$ac_ext <<_ACEOF
9791 /* confdefs.h. */
9792 _ACEOF
9793 cat confdefs.h >>conftest.$ac_ext
9794 cat >>conftest.$ac_ext <<_ACEOF
9795 /* end confdefs.h. */
9798 main ()
9800 int foo;
9802 return 0;
9804 _ACEOF
9805 rm -f conftest.$ac_objext
9806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9807 (eval $ac_compile) 2>conftest.er1
9808 ac_status=$?
9809 grep -v '^ *+' conftest.er1 >conftest.err
9810 rm -f conftest.er1
9811 cat conftest.err >&5
9812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9813 (exit $ac_status); } &&
9814 { ac_try='test -z "$ac_cxx_werror_flag"
9815 || test ! -s conftest.err'
9816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9817 (eval $ac_try) 2>&5
9818 ac_status=$?
9819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9820 (exit $ac_status); }; } &&
9821 { ac_try='test -s conftest.$ac_objext'
9822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9823 (eval $ac_try) 2>&5
9824 ac_status=$?
9825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9826 (exit $ac_status); }; }; then
9827 ac_fdsections=yes
9828 else
9829 echo "$as_me: failed program was:" >&5
9830 sed 's/^/| /' conftest.$ac_ext >&5
9832 ac_fdsections=no
9834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9835 if test "$ac_test_CXXFLAGS" = set; then
9836 CXXFLAGS="$ac_save_CXXFLAGS"
9837 else
9838 # this is the suspicious part
9839 CXXFLAGS=''
9841 if test x"$ac_fdsections" = x"yes"; then
9842 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9844 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
9845 echo "${ECHO_T}$ac_fdsections" >&6
9847 ac_ext=c
9848 ac_cpp='$CPP $CPPFLAGS'
9849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9857 # If we're not using GNU ld, then there's no point in even trying these
9858 # tests. Check for that first. We should have already tested for gld
9859 # by now (in libtool), but require it now just to be safe...
9860 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9861 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9865 # The name set by libtool depends on the version of libtool. Shame on us
9866 # for depending on an impl detail, but c'est la vie. Older versions used
9867 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9868 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9869 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9870 # set (hence we're using an older libtool), then set it.
9871 if test x${with_gnu_ld+set} != xset; then
9872 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9873 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
9874 with_gnu_ld=no
9875 else
9876 with_gnu_ld=$ac_cv_prog_gnu_ld
9880 # Start by getting the version number. I think the libtool test already
9881 # does some of this, but throws away the result.
9883 ldver=`$LD --version 2>/dev/null | head -1 | \
9884 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9886 glibcxx_gnu_ld_version=`echo $ldver | \
9887 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9889 # Set --gc-sections.
9890 if test "$with_gnu_ld" = "notbroken"; then
9891 # GNU ld it is! Joy and bunny rabbits!
9893 # All these tests are for C++; save the language and the compiler flags.
9894 # Need to do this so that g++ won't try to link in libstdc++
9895 ac_test_CFLAGS="${CFLAGS+set}"
9896 ac_save_CFLAGS="$CFLAGS"
9897 CFLAGS='-x c++ -Wl,--gc-sections'
9899 # Check for -Wl,--gc-sections
9900 # XXX This test is broken at the moment, as symbols required for linking
9901 # are now in libsupc++ (not built yet). In addition, this test has
9902 # cored on solaris in the past. In addition, --gc-sections doesn't
9903 # really work at the moment (keeps on discarding used sections, first
9904 # .eh_frame and now some of the glibc sections for iconv).
9905 # Bzzzzt. Thanks for playing, maybe next time.
9906 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
9907 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
9908 if test "$cross_compiling" = yes; then
9909 ac_sectionLDflags=yes
9910 else
9911 cat >conftest.$ac_ext <<_ACEOF
9912 /* confdefs.h. */
9913 _ACEOF
9914 cat confdefs.h >>conftest.$ac_ext
9915 cat >>conftest.$ac_ext <<_ACEOF
9916 /* end confdefs.h. */
9918 int main(void)
9920 try { throw 1; }
9921 catch (...) { };
9922 return 0;
9925 _ACEOF
9926 rm -f conftest$ac_exeext
9927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9928 (eval $ac_link) 2>&5
9929 ac_status=$?
9930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9931 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9933 (eval $ac_try) 2>&5
9934 ac_status=$?
9935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9936 (exit $ac_status); }; }; then
9937 ac_sectionLDflags=yes
9938 else
9939 echo "$as_me: program exited with status $ac_status" >&5
9940 echo "$as_me: failed program was:" >&5
9941 sed 's/^/| /' conftest.$ac_ext >&5
9943 ( exit $ac_status )
9944 ac_sectionLDflags=no
9946 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9948 if test "$ac_test_CFLAGS" = set; then
9949 CFLAGS="$ac_save_CFLAGS"
9950 else
9951 # this is the suspicious part
9952 CFLAGS=''
9954 if test "$ac_sectionLDflags" = "yes"; then
9955 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9957 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
9958 echo "${ECHO_T}$ac_sectionLDflags" >&6
9961 # Set linker optimization flags.
9962 if test x"$with_gnu_ld" = x"yes"; then
9963 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9970 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9971 ac_save_CXXFLAGS="$CXXFLAGS"
9972 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
9974 echo "$as_me:$LINENO: checking for sin in -lm" >&5
9975 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
9976 if test "${ac_cv_lib_m_sin+set}" = set; then
9977 echo $ECHO_N "(cached) $ECHO_C" >&6
9978 else
9979 ac_check_lib_save_LIBS=$LIBS
9980 LIBS="-lm $LIBS"
9981 if test x$gcc_no_link = xyes; then
9982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9984 { (exit 1); exit 1; }; }
9986 cat >conftest.$ac_ext <<_ACEOF
9987 /* confdefs.h. */
9988 _ACEOF
9989 cat confdefs.h >>conftest.$ac_ext
9990 cat >>conftest.$ac_ext <<_ACEOF
9991 /* end confdefs.h. */
9993 /* Override any gcc2 internal prototype to avoid an error. */
9994 #ifdef __cplusplus
9995 extern "C"
9996 #endif
9997 /* We use char because int might match the return type of a gcc2
9998 builtin and then its argument prototype would still apply. */
9999 char sin ();
10001 main ()
10003 sin ();
10005 return 0;
10007 _ACEOF
10008 rm -f conftest.$ac_objext conftest$ac_exeext
10009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10010 (eval $ac_link) 2>conftest.er1
10011 ac_status=$?
10012 grep -v '^ *+' conftest.er1 >conftest.err
10013 rm -f conftest.er1
10014 cat conftest.err >&5
10015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10016 (exit $ac_status); } &&
10017 { ac_try='test -z "$ac_c_werror_flag"
10018 || test ! -s conftest.err'
10019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10020 (eval $ac_try) 2>&5
10021 ac_status=$?
10022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10023 (exit $ac_status); }; } &&
10024 { ac_try='test -s conftest$ac_exeext'
10025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10026 (eval $ac_try) 2>&5
10027 ac_status=$?
10028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10029 (exit $ac_status); }; }; then
10030 ac_cv_lib_m_sin=yes
10031 else
10032 echo "$as_me: failed program was:" >&5
10033 sed 's/^/| /' conftest.$ac_ext >&5
10035 ac_cv_lib_m_sin=no
10037 rm -f conftest.err conftest.$ac_objext \
10038 conftest$ac_exeext conftest.$ac_ext
10039 LIBS=$ac_check_lib_save_LIBS
10041 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
10042 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
10043 if test $ac_cv_lib_m_sin = yes; then
10044 libm="-lm"
10047 ac_save_LIBS="$LIBS"
10048 LIBS="$LIBS $libm"
10052 echo "$as_me:$LINENO: checking for isinf declaration" >&5
10053 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
10054 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
10055 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
10056 echo $ECHO_N "(cached) $ECHO_C" >&6
10057 else
10061 ac_ext=cc
10062 ac_cpp='$CXXCPP $CPPFLAGS'
10063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10067 cat >conftest.$ac_ext <<_ACEOF
10068 /* confdefs.h. */
10069 _ACEOF
10070 cat confdefs.h >>conftest.$ac_ext
10071 cat >>conftest.$ac_ext <<_ACEOF
10072 /* end confdefs.h. */
10073 #include <math.h>
10074 #ifdef HAVE_IEEEFP_H
10075 #include <ieeefp.h>
10076 #endif
10079 main ()
10081 isinf(0);
10083 return 0;
10085 _ACEOF
10086 rm -f conftest.$ac_objext
10087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10088 (eval $ac_compile) 2>conftest.er1
10089 ac_status=$?
10090 grep -v '^ *+' conftest.er1 >conftest.err
10091 rm -f conftest.er1
10092 cat conftest.err >&5
10093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10094 (exit $ac_status); } &&
10095 { ac_try='test -z "$ac_cxx_werror_flag"
10096 || test ! -s conftest.err'
10097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10098 (eval $ac_try) 2>&5
10099 ac_status=$?
10100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10101 (exit $ac_status); }; } &&
10102 { ac_try='test -s conftest.$ac_objext'
10103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10104 (eval $ac_try) 2>&5
10105 ac_status=$?
10106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10107 (exit $ac_status); }; }; then
10108 glibcxx_cv_func_isinf_use=yes
10109 else
10110 echo "$as_me: failed program was:" >&5
10111 sed 's/^/| /' conftest.$ac_ext >&5
10113 glibcxx_cv_func_isinf_use=no
10115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10116 ac_ext=c
10117 ac_cpp='$CPP $CPPFLAGS'
10118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10126 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
10127 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
10129 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
10131 for ac_func in isinf
10133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10134 echo "$as_me:$LINENO: checking for $ac_func" >&5
10135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10136 if eval "test \"\${$as_ac_var+set}\" = set"; then
10137 echo $ECHO_N "(cached) $ECHO_C" >&6
10138 else
10139 if test x$gcc_no_link = xyes; then
10140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10142 { (exit 1); exit 1; }; }
10144 cat >conftest.$ac_ext <<_ACEOF
10145 /* confdefs.h. */
10146 _ACEOF
10147 cat confdefs.h >>conftest.$ac_ext
10148 cat >>conftest.$ac_ext <<_ACEOF
10149 /* end confdefs.h. */
10150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10152 #define $ac_func innocuous_$ac_func
10154 /* System header to define __stub macros and hopefully few prototypes,
10155 which can conflict with char $ac_func (); below.
10156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10157 <limits.h> exists even on freestanding compilers. */
10159 #ifdef __STDC__
10160 # include <limits.h>
10161 #else
10162 # include <assert.h>
10163 #endif
10165 #undef $ac_func
10167 /* Override any gcc2 internal prototype to avoid an error. */
10168 #ifdef __cplusplus
10169 extern "C"
10171 #endif
10172 /* We use char because int might match the return type of a gcc2
10173 builtin and then its argument prototype would still apply. */
10174 char $ac_func ();
10175 /* The GNU C library defines this for functions which it implements
10176 to always fail with ENOSYS. Some functions are actually named
10177 something starting with __ and the normal name is an alias. */
10178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10179 choke me
10180 #else
10181 char (*f) () = $ac_func;
10182 #endif
10183 #ifdef __cplusplus
10185 #endif
10188 main ()
10190 return f != $ac_func;
10192 return 0;
10194 _ACEOF
10195 rm -f conftest.$ac_objext conftest$ac_exeext
10196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10197 (eval $ac_link) 2>conftest.er1
10198 ac_status=$?
10199 grep -v '^ *+' conftest.er1 >conftest.err
10200 rm -f conftest.er1
10201 cat conftest.err >&5
10202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10203 (exit $ac_status); } &&
10204 { ac_try='test -z "$ac_c_werror_flag"
10205 || test ! -s conftest.err'
10206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10207 (eval $ac_try) 2>&5
10208 ac_status=$?
10209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10210 (exit $ac_status); }; } &&
10211 { ac_try='test -s conftest$ac_exeext'
10212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10213 (eval $ac_try) 2>&5
10214 ac_status=$?
10215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10216 (exit $ac_status); }; }; then
10217 eval "$as_ac_var=yes"
10218 else
10219 echo "$as_me: failed program was:" >&5
10220 sed 's/^/| /' conftest.$ac_ext >&5
10222 eval "$as_ac_var=no"
10224 rm -f conftest.err conftest.$ac_objext \
10225 conftest$ac_exeext conftest.$ac_ext
10227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10229 if test `eval echo '${'$as_ac_var'}'` = yes; then
10230 cat >>confdefs.h <<_ACEOF
10231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10232 _ACEOF
10235 done
10237 else
10239 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
10240 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
10241 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
10242 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
10243 echo $ECHO_N "(cached) $ECHO_C" >&6
10244 else
10248 ac_ext=cc
10249 ac_cpp='$CXXCPP $CPPFLAGS'
10250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10254 cat >conftest.$ac_ext <<_ACEOF
10255 /* confdefs.h. */
10256 _ACEOF
10257 cat confdefs.h >>conftest.$ac_ext
10258 cat >>conftest.$ac_ext <<_ACEOF
10259 /* end confdefs.h. */
10260 #include <math.h>
10261 #ifdef HAVE_IEEEFP_H
10262 #include <ieeefp.h>
10263 #endif
10266 main ()
10268 _isinf(0);
10270 return 0;
10272 _ACEOF
10273 rm -f conftest.$ac_objext
10274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10275 (eval $ac_compile) 2>conftest.er1
10276 ac_status=$?
10277 grep -v '^ *+' conftest.er1 >conftest.err
10278 rm -f conftest.er1
10279 cat conftest.err >&5
10280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10281 (exit $ac_status); } &&
10282 { ac_try='test -z "$ac_cxx_werror_flag"
10283 || test ! -s conftest.err'
10284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10285 (eval $ac_try) 2>&5
10286 ac_status=$?
10287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10288 (exit $ac_status); }; } &&
10289 { ac_try='test -s conftest.$ac_objext'
10290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10291 (eval $ac_try) 2>&5
10292 ac_status=$?
10293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10294 (exit $ac_status); }; }; then
10295 glibcxx_cv_func__isinf_use=yes
10296 else
10297 echo "$as_me: failed program was:" >&5
10298 sed 's/^/| /' conftest.$ac_ext >&5
10300 glibcxx_cv_func__isinf_use=no
10302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10303 ac_ext=c
10304 ac_cpp='$CPP $CPPFLAGS'
10305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10313 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
10314 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
10316 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
10318 for ac_func in _isinf
10320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10321 echo "$as_me:$LINENO: checking for $ac_func" >&5
10322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10323 if eval "test \"\${$as_ac_var+set}\" = set"; then
10324 echo $ECHO_N "(cached) $ECHO_C" >&6
10325 else
10326 if test x$gcc_no_link = xyes; then
10327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10329 { (exit 1); exit 1; }; }
10331 cat >conftest.$ac_ext <<_ACEOF
10332 /* confdefs.h. */
10333 _ACEOF
10334 cat confdefs.h >>conftest.$ac_ext
10335 cat >>conftest.$ac_ext <<_ACEOF
10336 /* end confdefs.h. */
10337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10339 #define $ac_func innocuous_$ac_func
10341 /* System header to define __stub macros and hopefully few prototypes,
10342 which can conflict with char $ac_func (); below.
10343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10344 <limits.h> exists even on freestanding compilers. */
10346 #ifdef __STDC__
10347 # include <limits.h>
10348 #else
10349 # include <assert.h>
10350 #endif
10352 #undef $ac_func
10354 /* Override any gcc2 internal prototype to avoid an error. */
10355 #ifdef __cplusplus
10356 extern "C"
10358 #endif
10359 /* We use char because int might match the return type of a gcc2
10360 builtin and then its argument prototype would still apply. */
10361 char $ac_func ();
10362 /* The GNU C library defines this for functions which it implements
10363 to always fail with ENOSYS. Some functions are actually named
10364 something starting with __ and the normal name is an alias. */
10365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10366 choke me
10367 #else
10368 char (*f) () = $ac_func;
10369 #endif
10370 #ifdef __cplusplus
10372 #endif
10375 main ()
10377 return f != $ac_func;
10379 return 0;
10381 _ACEOF
10382 rm -f conftest.$ac_objext conftest$ac_exeext
10383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10384 (eval $ac_link) 2>conftest.er1
10385 ac_status=$?
10386 grep -v '^ *+' conftest.er1 >conftest.err
10387 rm -f conftest.er1
10388 cat conftest.err >&5
10389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10390 (exit $ac_status); } &&
10391 { ac_try='test -z "$ac_c_werror_flag"
10392 || test ! -s conftest.err'
10393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10394 (eval $ac_try) 2>&5
10395 ac_status=$?
10396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10397 (exit $ac_status); }; } &&
10398 { ac_try='test -s conftest$ac_exeext'
10399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10400 (eval $ac_try) 2>&5
10401 ac_status=$?
10402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403 (exit $ac_status); }; }; then
10404 eval "$as_ac_var=yes"
10405 else
10406 echo "$as_me: failed program was:" >&5
10407 sed 's/^/| /' conftest.$ac_ext >&5
10409 eval "$as_ac_var=no"
10411 rm -f conftest.err conftest.$ac_objext \
10412 conftest$ac_exeext conftest.$ac_ext
10414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10416 if test `eval echo '${'$as_ac_var'}'` = yes; then
10417 cat >>confdefs.h <<_ACEOF
10418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10419 _ACEOF
10422 done
10429 echo "$as_me:$LINENO: checking for isnan declaration" >&5
10430 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
10431 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
10432 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
10433 echo $ECHO_N "(cached) $ECHO_C" >&6
10434 else
10438 ac_ext=cc
10439 ac_cpp='$CXXCPP $CPPFLAGS'
10440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10444 cat >conftest.$ac_ext <<_ACEOF
10445 /* confdefs.h. */
10446 _ACEOF
10447 cat confdefs.h >>conftest.$ac_ext
10448 cat >>conftest.$ac_ext <<_ACEOF
10449 /* end confdefs.h. */
10450 #include <math.h>
10451 #ifdef HAVE_IEEEFP_H
10452 #include <ieeefp.h>
10453 #endif
10456 main ()
10458 isnan(0);
10460 return 0;
10462 _ACEOF
10463 rm -f conftest.$ac_objext
10464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10465 (eval $ac_compile) 2>conftest.er1
10466 ac_status=$?
10467 grep -v '^ *+' conftest.er1 >conftest.err
10468 rm -f conftest.er1
10469 cat conftest.err >&5
10470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10471 (exit $ac_status); } &&
10472 { ac_try='test -z "$ac_cxx_werror_flag"
10473 || test ! -s conftest.err'
10474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10475 (eval $ac_try) 2>&5
10476 ac_status=$?
10477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10478 (exit $ac_status); }; } &&
10479 { ac_try='test -s conftest.$ac_objext'
10480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10481 (eval $ac_try) 2>&5
10482 ac_status=$?
10483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10484 (exit $ac_status); }; }; then
10485 glibcxx_cv_func_isnan_use=yes
10486 else
10487 echo "$as_me: failed program was:" >&5
10488 sed 's/^/| /' conftest.$ac_ext >&5
10490 glibcxx_cv_func_isnan_use=no
10492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10493 ac_ext=c
10494 ac_cpp='$CPP $CPPFLAGS'
10495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10503 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
10504 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
10506 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
10508 for ac_func in isnan
10510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10511 echo "$as_me:$LINENO: checking for $ac_func" >&5
10512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10513 if eval "test \"\${$as_ac_var+set}\" = set"; then
10514 echo $ECHO_N "(cached) $ECHO_C" >&6
10515 else
10516 if test x$gcc_no_link = xyes; then
10517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10519 { (exit 1); exit 1; }; }
10521 cat >conftest.$ac_ext <<_ACEOF
10522 /* confdefs.h. */
10523 _ACEOF
10524 cat confdefs.h >>conftest.$ac_ext
10525 cat >>conftest.$ac_ext <<_ACEOF
10526 /* end confdefs.h. */
10527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10529 #define $ac_func innocuous_$ac_func
10531 /* System header to define __stub macros and hopefully few prototypes,
10532 which can conflict with char $ac_func (); below.
10533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10534 <limits.h> exists even on freestanding compilers. */
10536 #ifdef __STDC__
10537 # include <limits.h>
10538 #else
10539 # include <assert.h>
10540 #endif
10542 #undef $ac_func
10544 /* Override any gcc2 internal prototype to avoid an error. */
10545 #ifdef __cplusplus
10546 extern "C"
10548 #endif
10549 /* We use char because int might match the return type of a gcc2
10550 builtin and then its argument prototype would still apply. */
10551 char $ac_func ();
10552 /* The GNU C library defines this for functions which it implements
10553 to always fail with ENOSYS. Some functions are actually named
10554 something starting with __ and the normal name is an alias. */
10555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10556 choke me
10557 #else
10558 char (*f) () = $ac_func;
10559 #endif
10560 #ifdef __cplusplus
10562 #endif
10565 main ()
10567 return f != $ac_func;
10569 return 0;
10571 _ACEOF
10572 rm -f conftest.$ac_objext conftest$ac_exeext
10573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10574 (eval $ac_link) 2>conftest.er1
10575 ac_status=$?
10576 grep -v '^ *+' conftest.er1 >conftest.err
10577 rm -f conftest.er1
10578 cat conftest.err >&5
10579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10580 (exit $ac_status); } &&
10581 { ac_try='test -z "$ac_c_werror_flag"
10582 || test ! -s conftest.err'
10583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10584 (eval $ac_try) 2>&5
10585 ac_status=$?
10586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10587 (exit $ac_status); }; } &&
10588 { ac_try='test -s conftest$ac_exeext'
10589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10590 (eval $ac_try) 2>&5
10591 ac_status=$?
10592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10593 (exit $ac_status); }; }; then
10594 eval "$as_ac_var=yes"
10595 else
10596 echo "$as_me: failed program was:" >&5
10597 sed 's/^/| /' conftest.$ac_ext >&5
10599 eval "$as_ac_var=no"
10601 rm -f conftest.err conftest.$ac_objext \
10602 conftest$ac_exeext conftest.$ac_ext
10604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10606 if test `eval echo '${'$as_ac_var'}'` = yes; then
10607 cat >>confdefs.h <<_ACEOF
10608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10609 _ACEOF
10612 done
10614 else
10616 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
10617 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
10618 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
10619 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
10620 echo $ECHO_N "(cached) $ECHO_C" >&6
10621 else
10625 ac_ext=cc
10626 ac_cpp='$CXXCPP $CPPFLAGS'
10627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10631 cat >conftest.$ac_ext <<_ACEOF
10632 /* confdefs.h. */
10633 _ACEOF
10634 cat confdefs.h >>conftest.$ac_ext
10635 cat >>conftest.$ac_ext <<_ACEOF
10636 /* end confdefs.h. */
10637 #include <math.h>
10638 #ifdef HAVE_IEEEFP_H
10639 #include <ieeefp.h>
10640 #endif
10643 main ()
10645 _isnan(0);
10647 return 0;
10649 _ACEOF
10650 rm -f conftest.$ac_objext
10651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10652 (eval $ac_compile) 2>conftest.er1
10653 ac_status=$?
10654 grep -v '^ *+' conftest.er1 >conftest.err
10655 rm -f conftest.er1
10656 cat conftest.err >&5
10657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10658 (exit $ac_status); } &&
10659 { ac_try='test -z "$ac_cxx_werror_flag"
10660 || test ! -s conftest.err'
10661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10662 (eval $ac_try) 2>&5
10663 ac_status=$?
10664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10665 (exit $ac_status); }; } &&
10666 { ac_try='test -s conftest.$ac_objext'
10667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10668 (eval $ac_try) 2>&5
10669 ac_status=$?
10670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10671 (exit $ac_status); }; }; then
10672 glibcxx_cv_func__isnan_use=yes
10673 else
10674 echo "$as_me: failed program was:" >&5
10675 sed 's/^/| /' conftest.$ac_ext >&5
10677 glibcxx_cv_func__isnan_use=no
10679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10680 ac_ext=c
10681 ac_cpp='$CPP $CPPFLAGS'
10682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10690 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
10691 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
10693 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
10695 for ac_func in _isnan
10697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10698 echo "$as_me:$LINENO: checking for $ac_func" >&5
10699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10700 if eval "test \"\${$as_ac_var+set}\" = set"; then
10701 echo $ECHO_N "(cached) $ECHO_C" >&6
10702 else
10703 if test x$gcc_no_link = xyes; then
10704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10706 { (exit 1); exit 1; }; }
10708 cat >conftest.$ac_ext <<_ACEOF
10709 /* confdefs.h. */
10710 _ACEOF
10711 cat confdefs.h >>conftest.$ac_ext
10712 cat >>conftest.$ac_ext <<_ACEOF
10713 /* end confdefs.h. */
10714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10716 #define $ac_func innocuous_$ac_func
10718 /* System header to define __stub macros and hopefully few prototypes,
10719 which can conflict with char $ac_func (); below.
10720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10721 <limits.h> exists even on freestanding compilers. */
10723 #ifdef __STDC__
10724 # include <limits.h>
10725 #else
10726 # include <assert.h>
10727 #endif
10729 #undef $ac_func
10731 /* Override any gcc2 internal prototype to avoid an error. */
10732 #ifdef __cplusplus
10733 extern "C"
10735 #endif
10736 /* We use char because int might match the return type of a gcc2
10737 builtin and then its argument prototype would still apply. */
10738 char $ac_func ();
10739 /* The GNU C library defines this for functions which it implements
10740 to always fail with ENOSYS. Some functions are actually named
10741 something starting with __ and the normal name is an alias. */
10742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10743 choke me
10744 #else
10745 char (*f) () = $ac_func;
10746 #endif
10747 #ifdef __cplusplus
10749 #endif
10752 main ()
10754 return f != $ac_func;
10756 return 0;
10758 _ACEOF
10759 rm -f conftest.$ac_objext conftest$ac_exeext
10760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10761 (eval $ac_link) 2>conftest.er1
10762 ac_status=$?
10763 grep -v '^ *+' conftest.er1 >conftest.err
10764 rm -f conftest.er1
10765 cat conftest.err >&5
10766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10767 (exit $ac_status); } &&
10768 { ac_try='test -z "$ac_c_werror_flag"
10769 || test ! -s conftest.err'
10770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10771 (eval $ac_try) 2>&5
10772 ac_status=$?
10773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774 (exit $ac_status); }; } &&
10775 { ac_try='test -s conftest$ac_exeext'
10776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10777 (eval $ac_try) 2>&5
10778 ac_status=$?
10779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10780 (exit $ac_status); }; }; then
10781 eval "$as_ac_var=yes"
10782 else
10783 echo "$as_me: failed program was:" >&5
10784 sed 's/^/| /' conftest.$ac_ext >&5
10786 eval "$as_ac_var=no"
10788 rm -f conftest.err conftest.$ac_objext \
10789 conftest$ac_exeext conftest.$ac_ext
10791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10793 if test `eval echo '${'$as_ac_var'}'` = yes; then
10794 cat >>confdefs.h <<_ACEOF
10795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10796 _ACEOF
10799 done
10806 echo "$as_me:$LINENO: checking for finite declaration" >&5
10807 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
10808 if test x${glibcxx_cv_func_finite_use+set} != xset; then
10809 if test "${glibcxx_cv_func_finite_use+set}" = set; then
10810 echo $ECHO_N "(cached) $ECHO_C" >&6
10811 else
10815 ac_ext=cc
10816 ac_cpp='$CXXCPP $CPPFLAGS'
10817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10821 cat >conftest.$ac_ext <<_ACEOF
10822 /* confdefs.h. */
10823 _ACEOF
10824 cat confdefs.h >>conftest.$ac_ext
10825 cat >>conftest.$ac_ext <<_ACEOF
10826 /* end confdefs.h. */
10827 #include <math.h>
10828 #ifdef HAVE_IEEEFP_H
10829 #include <ieeefp.h>
10830 #endif
10833 main ()
10835 finite(0);
10837 return 0;
10839 _ACEOF
10840 rm -f conftest.$ac_objext
10841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10842 (eval $ac_compile) 2>conftest.er1
10843 ac_status=$?
10844 grep -v '^ *+' conftest.er1 >conftest.err
10845 rm -f conftest.er1
10846 cat conftest.err >&5
10847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10848 (exit $ac_status); } &&
10849 { ac_try='test -z "$ac_cxx_werror_flag"
10850 || test ! -s conftest.err'
10851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10852 (eval $ac_try) 2>&5
10853 ac_status=$?
10854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10855 (exit $ac_status); }; } &&
10856 { ac_try='test -s conftest.$ac_objext'
10857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10858 (eval $ac_try) 2>&5
10859 ac_status=$?
10860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10861 (exit $ac_status); }; }; then
10862 glibcxx_cv_func_finite_use=yes
10863 else
10864 echo "$as_me: failed program was:" >&5
10865 sed 's/^/| /' conftest.$ac_ext >&5
10867 glibcxx_cv_func_finite_use=no
10869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10870 ac_ext=c
10871 ac_cpp='$CPP $CPPFLAGS'
10872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10880 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
10881 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
10883 if test x$glibcxx_cv_func_finite_use = x"yes"; then
10885 for ac_func in finite
10887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10888 echo "$as_me:$LINENO: checking for $ac_func" >&5
10889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10890 if eval "test \"\${$as_ac_var+set}\" = set"; then
10891 echo $ECHO_N "(cached) $ECHO_C" >&6
10892 else
10893 if test x$gcc_no_link = xyes; then
10894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10896 { (exit 1); exit 1; }; }
10898 cat >conftest.$ac_ext <<_ACEOF
10899 /* confdefs.h. */
10900 _ACEOF
10901 cat confdefs.h >>conftest.$ac_ext
10902 cat >>conftest.$ac_ext <<_ACEOF
10903 /* end confdefs.h. */
10904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10906 #define $ac_func innocuous_$ac_func
10908 /* System header to define __stub macros and hopefully few prototypes,
10909 which can conflict with char $ac_func (); below.
10910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10911 <limits.h> exists even on freestanding compilers. */
10913 #ifdef __STDC__
10914 # include <limits.h>
10915 #else
10916 # include <assert.h>
10917 #endif
10919 #undef $ac_func
10921 /* Override any gcc2 internal prototype to avoid an error. */
10922 #ifdef __cplusplus
10923 extern "C"
10925 #endif
10926 /* We use char because int might match the return type of a gcc2
10927 builtin and then its argument prototype would still apply. */
10928 char $ac_func ();
10929 /* The GNU C library defines this for functions which it implements
10930 to always fail with ENOSYS. Some functions are actually named
10931 something starting with __ and the normal name is an alias. */
10932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10933 choke me
10934 #else
10935 char (*f) () = $ac_func;
10936 #endif
10937 #ifdef __cplusplus
10939 #endif
10942 main ()
10944 return f != $ac_func;
10946 return 0;
10948 _ACEOF
10949 rm -f conftest.$ac_objext conftest$ac_exeext
10950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10951 (eval $ac_link) 2>conftest.er1
10952 ac_status=$?
10953 grep -v '^ *+' conftest.er1 >conftest.err
10954 rm -f conftest.er1
10955 cat conftest.err >&5
10956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10957 (exit $ac_status); } &&
10958 { ac_try='test -z "$ac_c_werror_flag"
10959 || test ! -s conftest.err'
10960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10961 (eval $ac_try) 2>&5
10962 ac_status=$?
10963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10964 (exit $ac_status); }; } &&
10965 { ac_try='test -s conftest$ac_exeext'
10966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10967 (eval $ac_try) 2>&5
10968 ac_status=$?
10969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10970 (exit $ac_status); }; }; then
10971 eval "$as_ac_var=yes"
10972 else
10973 echo "$as_me: failed program was:" >&5
10974 sed 's/^/| /' conftest.$ac_ext >&5
10976 eval "$as_ac_var=no"
10978 rm -f conftest.err conftest.$ac_objext \
10979 conftest$ac_exeext conftest.$ac_ext
10981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10983 if test `eval echo '${'$as_ac_var'}'` = yes; then
10984 cat >>confdefs.h <<_ACEOF
10985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10986 _ACEOF
10989 done
10991 else
10993 echo "$as_me:$LINENO: checking for _finite declaration" >&5
10994 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
10995 if test x${glibcxx_cv_func__finite_use+set} != xset; then
10996 if test "${glibcxx_cv_func__finite_use+set}" = set; then
10997 echo $ECHO_N "(cached) $ECHO_C" >&6
10998 else
11002 ac_ext=cc
11003 ac_cpp='$CXXCPP $CPPFLAGS'
11004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11008 cat >conftest.$ac_ext <<_ACEOF
11009 /* confdefs.h. */
11010 _ACEOF
11011 cat confdefs.h >>conftest.$ac_ext
11012 cat >>conftest.$ac_ext <<_ACEOF
11013 /* end confdefs.h. */
11014 #include <math.h>
11015 #ifdef HAVE_IEEEFP_H
11016 #include <ieeefp.h>
11017 #endif
11020 main ()
11022 _finite(0);
11024 return 0;
11026 _ACEOF
11027 rm -f conftest.$ac_objext
11028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11029 (eval $ac_compile) 2>conftest.er1
11030 ac_status=$?
11031 grep -v '^ *+' conftest.er1 >conftest.err
11032 rm -f conftest.er1
11033 cat conftest.err >&5
11034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035 (exit $ac_status); } &&
11036 { ac_try='test -z "$ac_cxx_werror_flag"
11037 || test ! -s conftest.err'
11038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11039 (eval $ac_try) 2>&5
11040 ac_status=$?
11041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11042 (exit $ac_status); }; } &&
11043 { ac_try='test -s conftest.$ac_objext'
11044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11045 (eval $ac_try) 2>&5
11046 ac_status=$?
11047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11048 (exit $ac_status); }; }; then
11049 glibcxx_cv_func__finite_use=yes
11050 else
11051 echo "$as_me: failed program was:" >&5
11052 sed 's/^/| /' conftest.$ac_ext >&5
11054 glibcxx_cv_func__finite_use=no
11056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11057 ac_ext=c
11058 ac_cpp='$CPP $CPPFLAGS'
11059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11067 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
11068 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
11070 if test x$glibcxx_cv_func__finite_use = x"yes"; then
11072 for ac_func in _finite
11074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11075 echo "$as_me:$LINENO: checking for $ac_func" >&5
11076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11077 if eval "test \"\${$as_ac_var+set}\" = set"; then
11078 echo $ECHO_N "(cached) $ECHO_C" >&6
11079 else
11080 if test x$gcc_no_link = xyes; then
11081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11083 { (exit 1); exit 1; }; }
11085 cat >conftest.$ac_ext <<_ACEOF
11086 /* confdefs.h. */
11087 _ACEOF
11088 cat confdefs.h >>conftest.$ac_ext
11089 cat >>conftest.$ac_ext <<_ACEOF
11090 /* end confdefs.h. */
11091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11093 #define $ac_func innocuous_$ac_func
11095 /* System header to define __stub macros and hopefully few prototypes,
11096 which can conflict with char $ac_func (); below.
11097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11098 <limits.h> exists even on freestanding compilers. */
11100 #ifdef __STDC__
11101 # include <limits.h>
11102 #else
11103 # include <assert.h>
11104 #endif
11106 #undef $ac_func
11108 /* Override any gcc2 internal prototype to avoid an error. */
11109 #ifdef __cplusplus
11110 extern "C"
11112 #endif
11113 /* We use char because int might match the return type of a gcc2
11114 builtin and then its argument prototype would still apply. */
11115 char $ac_func ();
11116 /* The GNU C library defines this for functions which it implements
11117 to always fail with ENOSYS. Some functions are actually named
11118 something starting with __ and the normal name is an alias. */
11119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11120 choke me
11121 #else
11122 char (*f) () = $ac_func;
11123 #endif
11124 #ifdef __cplusplus
11126 #endif
11129 main ()
11131 return f != $ac_func;
11133 return 0;
11135 _ACEOF
11136 rm -f conftest.$ac_objext conftest$ac_exeext
11137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11138 (eval $ac_link) 2>conftest.er1
11139 ac_status=$?
11140 grep -v '^ *+' conftest.er1 >conftest.err
11141 rm -f conftest.er1
11142 cat conftest.err >&5
11143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11144 (exit $ac_status); } &&
11145 { ac_try='test -z "$ac_c_werror_flag"
11146 || test ! -s conftest.err'
11147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11148 (eval $ac_try) 2>&5
11149 ac_status=$?
11150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11151 (exit $ac_status); }; } &&
11152 { ac_try='test -s conftest$ac_exeext'
11153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11154 (eval $ac_try) 2>&5
11155 ac_status=$?
11156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11157 (exit $ac_status); }; }; then
11158 eval "$as_ac_var=yes"
11159 else
11160 echo "$as_me: failed program was:" >&5
11161 sed 's/^/| /' conftest.$ac_ext >&5
11163 eval "$as_ac_var=no"
11165 rm -f conftest.err conftest.$ac_objext \
11166 conftest$ac_exeext conftest.$ac_ext
11168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11170 if test `eval echo '${'$as_ac_var'}'` = yes; then
11171 cat >>confdefs.h <<_ACEOF
11172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11173 _ACEOF
11176 done
11183 echo "$as_me:$LINENO: checking for copysign declaration" >&5
11184 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
11185 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
11186 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
11187 echo $ECHO_N "(cached) $ECHO_C" >&6
11188 else
11192 ac_ext=cc
11193 ac_cpp='$CXXCPP $CPPFLAGS'
11194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11198 cat >conftest.$ac_ext <<_ACEOF
11199 /* confdefs.h. */
11200 _ACEOF
11201 cat confdefs.h >>conftest.$ac_ext
11202 cat >>conftest.$ac_ext <<_ACEOF
11203 /* end confdefs.h. */
11204 #include <math.h>
11206 main ()
11208 copysign(0, 0);
11210 return 0;
11212 _ACEOF
11213 rm -f conftest.$ac_objext
11214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11215 (eval $ac_compile) 2>conftest.er1
11216 ac_status=$?
11217 grep -v '^ *+' conftest.er1 >conftest.err
11218 rm -f conftest.er1
11219 cat conftest.err >&5
11220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11221 (exit $ac_status); } &&
11222 { ac_try='test -z "$ac_cxx_werror_flag"
11223 || test ! -s conftest.err'
11224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11225 (eval $ac_try) 2>&5
11226 ac_status=$?
11227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11228 (exit $ac_status); }; } &&
11229 { ac_try='test -s conftest.$ac_objext'
11230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11231 (eval $ac_try) 2>&5
11232 ac_status=$?
11233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11234 (exit $ac_status); }; }; then
11235 glibcxx_cv_func_copysign_use=yes
11236 else
11237 echo "$as_me: failed program was:" >&5
11238 sed 's/^/| /' conftest.$ac_ext >&5
11240 glibcxx_cv_func_copysign_use=no
11242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11243 ac_ext=c
11244 ac_cpp='$CPP $CPPFLAGS'
11245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11253 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
11254 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
11256 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
11258 for ac_func in copysign
11260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11261 echo "$as_me:$LINENO: checking for $ac_func" >&5
11262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11263 if eval "test \"\${$as_ac_var+set}\" = set"; then
11264 echo $ECHO_N "(cached) $ECHO_C" >&6
11265 else
11266 if test x$gcc_no_link = xyes; then
11267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11269 { (exit 1); exit 1; }; }
11271 cat >conftest.$ac_ext <<_ACEOF
11272 /* confdefs.h. */
11273 _ACEOF
11274 cat confdefs.h >>conftest.$ac_ext
11275 cat >>conftest.$ac_ext <<_ACEOF
11276 /* end confdefs.h. */
11277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11279 #define $ac_func innocuous_$ac_func
11281 /* System header to define __stub macros and hopefully few prototypes,
11282 which can conflict with char $ac_func (); below.
11283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11284 <limits.h> exists even on freestanding compilers. */
11286 #ifdef __STDC__
11287 # include <limits.h>
11288 #else
11289 # include <assert.h>
11290 #endif
11292 #undef $ac_func
11294 /* Override any gcc2 internal prototype to avoid an error. */
11295 #ifdef __cplusplus
11296 extern "C"
11298 #endif
11299 /* We use char because int might match the return type of a gcc2
11300 builtin and then its argument prototype would still apply. */
11301 char $ac_func ();
11302 /* The GNU C library defines this for functions which it implements
11303 to always fail with ENOSYS. Some functions are actually named
11304 something starting with __ and the normal name is an alias. */
11305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11306 choke me
11307 #else
11308 char (*f) () = $ac_func;
11309 #endif
11310 #ifdef __cplusplus
11312 #endif
11315 main ()
11317 return f != $ac_func;
11319 return 0;
11321 _ACEOF
11322 rm -f conftest.$ac_objext conftest$ac_exeext
11323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11324 (eval $ac_link) 2>conftest.er1
11325 ac_status=$?
11326 grep -v '^ *+' conftest.er1 >conftest.err
11327 rm -f conftest.er1
11328 cat conftest.err >&5
11329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11330 (exit $ac_status); } &&
11331 { ac_try='test -z "$ac_c_werror_flag"
11332 || test ! -s conftest.err'
11333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11334 (eval $ac_try) 2>&5
11335 ac_status=$?
11336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11337 (exit $ac_status); }; } &&
11338 { ac_try='test -s conftest$ac_exeext'
11339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11340 (eval $ac_try) 2>&5
11341 ac_status=$?
11342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11343 (exit $ac_status); }; }; then
11344 eval "$as_ac_var=yes"
11345 else
11346 echo "$as_me: failed program was:" >&5
11347 sed 's/^/| /' conftest.$ac_ext >&5
11349 eval "$as_ac_var=no"
11351 rm -f conftest.err conftest.$ac_objext \
11352 conftest$ac_exeext conftest.$ac_ext
11354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11356 if test `eval echo '${'$as_ac_var'}'` = yes; then
11357 cat >>confdefs.h <<_ACEOF
11358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11359 _ACEOF
11362 done
11364 else
11366 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
11367 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
11368 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
11369 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
11370 echo $ECHO_N "(cached) $ECHO_C" >&6
11371 else
11375 ac_ext=cc
11376 ac_cpp='$CXXCPP $CPPFLAGS'
11377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11381 cat >conftest.$ac_ext <<_ACEOF
11382 /* confdefs.h. */
11383 _ACEOF
11384 cat confdefs.h >>conftest.$ac_ext
11385 cat >>conftest.$ac_ext <<_ACEOF
11386 /* end confdefs.h. */
11387 #include <math.h>
11389 main ()
11391 _copysign(0, 0);
11393 return 0;
11395 _ACEOF
11396 rm -f conftest.$ac_objext
11397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11398 (eval $ac_compile) 2>conftest.er1
11399 ac_status=$?
11400 grep -v '^ *+' conftest.er1 >conftest.err
11401 rm -f conftest.er1
11402 cat conftest.err >&5
11403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11404 (exit $ac_status); } &&
11405 { ac_try='test -z "$ac_cxx_werror_flag"
11406 || test ! -s conftest.err'
11407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11408 (eval $ac_try) 2>&5
11409 ac_status=$?
11410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11411 (exit $ac_status); }; } &&
11412 { ac_try='test -s conftest.$ac_objext'
11413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11414 (eval $ac_try) 2>&5
11415 ac_status=$?
11416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11417 (exit $ac_status); }; }; then
11418 glibcxx_cv_func__copysign_use=yes
11419 else
11420 echo "$as_me: failed program was:" >&5
11421 sed 's/^/| /' conftest.$ac_ext >&5
11423 glibcxx_cv_func__copysign_use=no
11425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11426 ac_ext=c
11427 ac_cpp='$CPP $CPPFLAGS'
11428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11436 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
11437 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
11439 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
11441 for ac_func in _copysign
11443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11444 echo "$as_me:$LINENO: checking for $ac_func" >&5
11445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11446 if eval "test \"\${$as_ac_var+set}\" = set"; then
11447 echo $ECHO_N "(cached) $ECHO_C" >&6
11448 else
11449 if test x$gcc_no_link = xyes; then
11450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11452 { (exit 1); exit 1; }; }
11454 cat >conftest.$ac_ext <<_ACEOF
11455 /* confdefs.h. */
11456 _ACEOF
11457 cat confdefs.h >>conftest.$ac_ext
11458 cat >>conftest.$ac_ext <<_ACEOF
11459 /* end confdefs.h. */
11460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11462 #define $ac_func innocuous_$ac_func
11464 /* System header to define __stub macros and hopefully few prototypes,
11465 which can conflict with char $ac_func (); below.
11466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11467 <limits.h> exists even on freestanding compilers. */
11469 #ifdef __STDC__
11470 # include <limits.h>
11471 #else
11472 # include <assert.h>
11473 #endif
11475 #undef $ac_func
11477 /* Override any gcc2 internal prototype to avoid an error. */
11478 #ifdef __cplusplus
11479 extern "C"
11481 #endif
11482 /* We use char because int might match the return type of a gcc2
11483 builtin and then its argument prototype would still apply. */
11484 char $ac_func ();
11485 /* The GNU C library defines this for functions which it implements
11486 to always fail with ENOSYS. Some functions are actually named
11487 something starting with __ and the normal name is an alias. */
11488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11489 choke me
11490 #else
11491 char (*f) () = $ac_func;
11492 #endif
11493 #ifdef __cplusplus
11495 #endif
11498 main ()
11500 return f != $ac_func;
11502 return 0;
11504 _ACEOF
11505 rm -f conftest.$ac_objext conftest$ac_exeext
11506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11507 (eval $ac_link) 2>conftest.er1
11508 ac_status=$?
11509 grep -v '^ *+' conftest.er1 >conftest.err
11510 rm -f conftest.er1
11511 cat conftest.err >&5
11512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11513 (exit $ac_status); } &&
11514 { ac_try='test -z "$ac_c_werror_flag"
11515 || test ! -s conftest.err'
11516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11517 (eval $ac_try) 2>&5
11518 ac_status=$?
11519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11520 (exit $ac_status); }; } &&
11521 { ac_try='test -s conftest$ac_exeext'
11522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11523 (eval $ac_try) 2>&5
11524 ac_status=$?
11525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11526 (exit $ac_status); }; }; then
11527 eval "$as_ac_var=yes"
11528 else
11529 echo "$as_me: failed program was:" >&5
11530 sed 's/^/| /' conftest.$ac_ext >&5
11532 eval "$as_ac_var=no"
11534 rm -f conftest.err conftest.$ac_objext \
11535 conftest$ac_exeext conftest.$ac_ext
11537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11539 if test `eval echo '${'$as_ac_var'}'` = yes; then
11540 cat >>confdefs.h <<_ACEOF
11541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11542 _ACEOF
11545 done
11552 echo "$as_me:$LINENO: checking for sincos declaration" >&5
11553 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
11554 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
11555 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
11556 echo $ECHO_N "(cached) $ECHO_C" >&6
11557 else
11561 ac_ext=cc
11562 ac_cpp='$CXXCPP $CPPFLAGS'
11563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11567 cat >conftest.$ac_ext <<_ACEOF
11568 /* confdefs.h. */
11569 _ACEOF
11570 cat confdefs.h >>conftest.$ac_ext
11571 cat >>conftest.$ac_ext <<_ACEOF
11572 /* end confdefs.h. */
11573 #include <math.h>
11575 main ()
11577 sincos(0, 0, 0);
11579 return 0;
11581 _ACEOF
11582 rm -f conftest.$ac_objext
11583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11584 (eval $ac_compile) 2>conftest.er1
11585 ac_status=$?
11586 grep -v '^ *+' conftest.er1 >conftest.err
11587 rm -f conftest.er1
11588 cat conftest.err >&5
11589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11590 (exit $ac_status); } &&
11591 { ac_try='test -z "$ac_cxx_werror_flag"
11592 || test ! -s conftest.err'
11593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11594 (eval $ac_try) 2>&5
11595 ac_status=$?
11596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11597 (exit $ac_status); }; } &&
11598 { ac_try='test -s conftest.$ac_objext'
11599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11600 (eval $ac_try) 2>&5
11601 ac_status=$?
11602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11603 (exit $ac_status); }; }; then
11604 glibcxx_cv_func_sincos_use=yes
11605 else
11606 echo "$as_me: failed program was:" >&5
11607 sed 's/^/| /' conftest.$ac_ext >&5
11609 glibcxx_cv_func_sincos_use=no
11611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11612 ac_ext=c
11613 ac_cpp='$CPP $CPPFLAGS'
11614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11622 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
11623 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
11625 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
11627 for ac_func in sincos
11629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11630 echo "$as_me:$LINENO: checking for $ac_func" >&5
11631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11632 if eval "test \"\${$as_ac_var+set}\" = set"; then
11633 echo $ECHO_N "(cached) $ECHO_C" >&6
11634 else
11635 if test x$gcc_no_link = xyes; then
11636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11638 { (exit 1); exit 1; }; }
11640 cat >conftest.$ac_ext <<_ACEOF
11641 /* confdefs.h. */
11642 _ACEOF
11643 cat confdefs.h >>conftest.$ac_ext
11644 cat >>conftest.$ac_ext <<_ACEOF
11645 /* end confdefs.h. */
11646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11648 #define $ac_func innocuous_$ac_func
11650 /* System header to define __stub macros and hopefully few prototypes,
11651 which can conflict with char $ac_func (); below.
11652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11653 <limits.h> exists even on freestanding compilers. */
11655 #ifdef __STDC__
11656 # include <limits.h>
11657 #else
11658 # include <assert.h>
11659 #endif
11661 #undef $ac_func
11663 /* Override any gcc2 internal prototype to avoid an error. */
11664 #ifdef __cplusplus
11665 extern "C"
11667 #endif
11668 /* We use char because int might match the return type of a gcc2
11669 builtin and then its argument prototype would still apply. */
11670 char $ac_func ();
11671 /* The GNU C library defines this for functions which it implements
11672 to always fail with ENOSYS. Some functions are actually named
11673 something starting with __ and the normal name is an alias. */
11674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11675 choke me
11676 #else
11677 char (*f) () = $ac_func;
11678 #endif
11679 #ifdef __cplusplus
11681 #endif
11684 main ()
11686 return f != $ac_func;
11688 return 0;
11690 _ACEOF
11691 rm -f conftest.$ac_objext conftest$ac_exeext
11692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11693 (eval $ac_link) 2>conftest.er1
11694 ac_status=$?
11695 grep -v '^ *+' conftest.er1 >conftest.err
11696 rm -f conftest.er1
11697 cat conftest.err >&5
11698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11699 (exit $ac_status); } &&
11700 { ac_try='test -z "$ac_c_werror_flag"
11701 || test ! -s conftest.err'
11702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11703 (eval $ac_try) 2>&5
11704 ac_status=$?
11705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11706 (exit $ac_status); }; } &&
11707 { ac_try='test -s conftest$ac_exeext'
11708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11709 (eval $ac_try) 2>&5
11710 ac_status=$?
11711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11712 (exit $ac_status); }; }; then
11713 eval "$as_ac_var=yes"
11714 else
11715 echo "$as_me: failed program was:" >&5
11716 sed 's/^/| /' conftest.$ac_ext >&5
11718 eval "$as_ac_var=no"
11720 rm -f conftest.err conftest.$ac_objext \
11721 conftest$ac_exeext conftest.$ac_ext
11723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11725 if test `eval echo '${'$as_ac_var'}'` = yes; then
11726 cat >>confdefs.h <<_ACEOF
11727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11728 _ACEOF
11731 done
11733 else
11735 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
11736 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
11737 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
11738 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
11739 echo $ECHO_N "(cached) $ECHO_C" >&6
11740 else
11744 ac_ext=cc
11745 ac_cpp='$CXXCPP $CPPFLAGS'
11746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11750 cat >conftest.$ac_ext <<_ACEOF
11751 /* confdefs.h. */
11752 _ACEOF
11753 cat confdefs.h >>conftest.$ac_ext
11754 cat >>conftest.$ac_ext <<_ACEOF
11755 /* end confdefs.h. */
11756 #include <math.h>
11758 main ()
11760 _sincos(0, 0, 0);
11762 return 0;
11764 _ACEOF
11765 rm -f conftest.$ac_objext
11766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11767 (eval $ac_compile) 2>conftest.er1
11768 ac_status=$?
11769 grep -v '^ *+' conftest.er1 >conftest.err
11770 rm -f conftest.er1
11771 cat conftest.err >&5
11772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11773 (exit $ac_status); } &&
11774 { ac_try='test -z "$ac_cxx_werror_flag"
11775 || test ! -s conftest.err'
11776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11777 (eval $ac_try) 2>&5
11778 ac_status=$?
11779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11780 (exit $ac_status); }; } &&
11781 { ac_try='test -s conftest.$ac_objext'
11782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11783 (eval $ac_try) 2>&5
11784 ac_status=$?
11785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11786 (exit $ac_status); }; }; then
11787 glibcxx_cv_func__sincos_use=yes
11788 else
11789 echo "$as_me: failed program was:" >&5
11790 sed 's/^/| /' conftest.$ac_ext >&5
11792 glibcxx_cv_func__sincos_use=no
11794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11795 ac_ext=c
11796 ac_cpp='$CPP $CPPFLAGS'
11797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11805 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
11806 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
11808 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
11810 for ac_func in _sincos
11812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11813 echo "$as_me:$LINENO: checking for $ac_func" >&5
11814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11815 if eval "test \"\${$as_ac_var+set}\" = set"; then
11816 echo $ECHO_N "(cached) $ECHO_C" >&6
11817 else
11818 if test x$gcc_no_link = xyes; then
11819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11821 { (exit 1); exit 1; }; }
11823 cat >conftest.$ac_ext <<_ACEOF
11824 /* confdefs.h. */
11825 _ACEOF
11826 cat confdefs.h >>conftest.$ac_ext
11827 cat >>conftest.$ac_ext <<_ACEOF
11828 /* end confdefs.h. */
11829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11831 #define $ac_func innocuous_$ac_func
11833 /* System header to define __stub macros and hopefully few prototypes,
11834 which can conflict with char $ac_func (); below.
11835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11836 <limits.h> exists even on freestanding compilers. */
11838 #ifdef __STDC__
11839 # include <limits.h>
11840 #else
11841 # include <assert.h>
11842 #endif
11844 #undef $ac_func
11846 /* Override any gcc2 internal prototype to avoid an error. */
11847 #ifdef __cplusplus
11848 extern "C"
11850 #endif
11851 /* We use char because int might match the return type of a gcc2
11852 builtin and then its argument prototype would still apply. */
11853 char $ac_func ();
11854 /* The GNU C library defines this for functions which it implements
11855 to always fail with ENOSYS. Some functions are actually named
11856 something starting with __ and the normal name is an alias. */
11857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11858 choke me
11859 #else
11860 char (*f) () = $ac_func;
11861 #endif
11862 #ifdef __cplusplus
11864 #endif
11867 main ()
11869 return f != $ac_func;
11871 return 0;
11873 _ACEOF
11874 rm -f conftest.$ac_objext conftest$ac_exeext
11875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11876 (eval $ac_link) 2>conftest.er1
11877 ac_status=$?
11878 grep -v '^ *+' conftest.er1 >conftest.err
11879 rm -f conftest.er1
11880 cat conftest.err >&5
11881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11882 (exit $ac_status); } &&
11883 { ac_try='test -z "$ac_c_werror_flag"
11884 || test ! -s conftest.err'
11885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11886 (eval $ac_try) 2>&5
11887 ac_status=$?
11888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11889 (exit $ac_status); }; } &&
11890 { ac_try='test -s conftest$ac_exeext'
11891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11892 (eval $ac_try) 2>&5
11893 ac_status=$?
11894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11895 (exit $ac_status); }; }; then
11896 eval "$as_ac_var=yes"
11897 else
11898 echo "$as_me: failed program was:" >&5
11899 sed 's/^/| /' conftest.$ac_ext >&5
11901 eval "$as_ac_var=no"
11903 rm -f conftest.err conftest.$ac_objext \
11904 conftest$ac_exeext conftest.$ac_ext
11906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11908 if test `eval echo '${'$as_ac_var'}'` = yes; then
11909 cat >>confdefs.h <<_ACEOF
11910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11911 _ACEOF
11914 done
11921 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
11922 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
11923 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
11924 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
11925 echo $ECHO_N "(cached) $ECHO_C" >&6
11926 else
11930 ac_ext=cc
11931 ac_cpp='$CXXCPP $CPPFLAGS'
11932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11936 cat >conftest.$ac_ext <<_ACEOF
11937 /* confdefs.h. */
11938 _ACEOF
11939 cat confdefs.h >>conftest.$ac_ext
11940 cat >>conftest.$ac_ext <<_ACEOF
11941 /* end confdefs.h. */
11942 #include <math.h>
11943 #ifdef HAVE_IEEEFP_H
11944 #include <ieeefp.h>
11945 #endif
11948 main ()
11950 fpclass(0);
11952 return 0;
11954 _ACEOF
11955 rm -f conftest.$ac_objext
11956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11957 (eval $ac_compile) 2>conftest.er1
11958 ac_status=$?
11959 grep -v '^ *+' conftest.er1 >conftest.err
11960 rm -f conftest.er1
11961 cat conftest.err >&5
11962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11963 (exit $ac_status); } &&
11964 { ac_try='test -z "$ac_cxx_werror_flag"
11965 || test ! -s conftest.err'
11966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11967 (eval $ac_try) 2>&5
11968 ac_status=$?
11969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11970 (exit $ac_status); }; } &&
11971 { ac_try='test -s conftest.$ac_objext'
11972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11973 (eval $ac_try) 2>&5
11974 ac_status=$?
11975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11976 (exit $ac_status); }; }; then
11977 glibcxx_cv_func_fpclass_use=yes
11978 else
11979 echo "$as_me: failed program was:" >&5
11980 sed 's/^/| /' conftest.$ac_ext >&5
11982 glibcxx_cv_func_fpclass_use=no
11984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11985 ac_ext=c
11986 ac_cpp='$CPP $CPPFLAGS'
11987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11995 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
11996 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
11998 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
12000 for ac_func in fpclass
12002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12003 echo "$as_me:$LINENO: checking for $ac_func" >&5
12004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12005 if eval "test \"\${$as_ac_var+set}\" = set"; then
12006 echo $ECHO_N "(cached) $ECHO_C" >&6
12007 else
12008 if test x$gcc_no_link = xyes; then
12009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12011 { (exit 1); exit 1; }; }
12013 cat >conftest.$ac_ext <<_ACEOF
12014 /* confdefs.h. */
12015 _ACEOF
12016 cat confdefs.h >>conftest.$ac_ext
12017 cat >>conftest.$ac_ext <<_ACEOF
12018 /* end confdefs.h. */
12019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12021 #define $ac_func innocuous_$ac_func
12023 /* System header to define __stub macros and hopefully few prototypes,
12024 which can conflict with char $ac_func (); below.
12025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12026 <limits.h> exists even on freestanding compilers. */
12028 #ifdef __STDC__
12029 # include <limits.h>
12030 #else
12031 # include <assert.h>
12032 #endif
12034 #undef $ac_func
12036 /* Override any gcc2 internal prototype to avoid an error. */
12037 #ifdef __cplusplus
12038 extern "C"
12040 #endif
12041 /* We use char because int might match the return type of a gcc2
12042 builtin and then its argument prototype would still apply. */
12043 char $ac_func ();
12044 /* The GNU C library defines this for functions which it implements
12045 to always fail with ENOSYS. Some functions are actually named
12046 something starting with __ and the normal name is an alias. */
12047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12048 choke me
12049 #else
12050 char (*f) () = $ac_func;
12051 #endif
12052 #ifdef __cplusplus
12054 #endif
12057 main ()
12059 return f != $ac_func;
12061 return 0;
12063 _ACEOF
12064 rm -f conftest.$ac_objext conftest$ac_exeext
12065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12066 (eval $ac_link) 2>conftest.er1
12067 ac_status=$?
12068 grep -v '^ *+' conftest.er1 >conftest.err
12069 rm -f conftest.er1
12070 cat conftest.err >&5
12071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072 (exit $ac_status); } &&
12073 { ac_try='test -z "$ac_c_werror_flag"
12074 || test ! -s conftest.err'
12075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12076 (eval $ac_try) 2>&5
12077 ac_status=$?
12078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079 (exit $ac_status); }; } &&
12080 { ac_try='test -s conftest$ac_exeext'
12081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12082 (eval $ac_try) 2>&5
12083 ac_status=$?
12084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12085 (exit $ac_status); }; }; then
12086 eval "$as_ac_var=yes"
12087 else
12088 echo "$as_me: failed program was:" >&5
12089 sed 's/^/| /' conftest.$ac_ext >&5
12091 eval "$as_ac_var=no"
12093 rm -f conftest.err conftest.$ac_objext \
12094 conftest$ac_exeext conftest.$ac_ext
12096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12098 if test `eval echo '${'$as_ac_var'}'` = yes; then
12099 cat >>confdefs.h <<_ACEOF
12100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12101 _ACEOF
12104 done
12106 else
12108 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
12109 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
12110 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
12111 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
12112 echo $ECHO_N "(cached) $ECHO_C" >&6
12113 else
12117 ac_ext=cc
12118 ac_cpp='$CXXCPP $CPPFLAGS'
12119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12123 cat >conftest.$ac_ext <<_ACEOF
12124 /* confdefs.h. */
12125 _ACEOF
12126 cat confdefs.h >>conftest.$ac_ext
12127 cat >>conftest.$ac_ext <<_ACEOF
12128 /* end confdefs.h. */
12129 #include <math.h>
12130 #ifdef HAVE_IEEEFP_H
12131 #include <ieeefp.h>
12132 #endif
12135 main ()
12137 _fpclass(0);
12139 return 0;
12141 _ACEOF
12142 rm -f conftest.$ac_objext
12143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12144 (eval $ac_compile) 2>conftest.er1
12145 ac_status=$?
12146 grep -v '^ *+' conftest.er1 >conftest.err
12147 rm -f conftest.er1
12148 cat conftest.err >&5
12149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12150 (exit $ac_status); } &&
12151 { ac_try='test -z "$ac_cxx_werror_flag"
12152 || test ! -s conftest.err'
12153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12154 (eval $ac_try) 2>&5
12155 ac_status=$?
12156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12157 (exit $ac_status); }; } &&
12158 { ac_try='test -s conftest.$ac_objext'
12159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12160 (eval $ac_try) 2>&5
12161 ac_status=$?
12162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12163 (exit $ac_status); }; }; then
12164 glibcxx_cv_func__fpclass_use=yes
12165 else
12166 echo "$as_me: failed program was:" >&5
12167 sed 's/^/| /' conftest.$ac_ext >&5
12169 glibcxx_cv_func__fpclass_use=no
12171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12172 ac_ext=c
12173 ac_cpp='$CPP $CPPFLAGS'
12174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12182 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
12183 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
12185 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
12187 for ac_func in _fpclass
12189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12190 echo "$as_me:$LINENO: checking for $ac_func" >&5
12191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12192 if eval "test \"\${$as_ac_var+set}\" = set"; then
12193 echo $ECHO_N "(cached) $ECHO_C" >&6
12194 else
12195 if test x$gcc_no_link = xyes; then
12196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12198 { (exit 1); exit 1; }; }
12200 cat >conftest.$ac_ext <<_ACEOF
12201 /* confdefs.h. */
12202 _ACEOF
12203 cat confdefs.h >>conftest.$ac_ext
12204 cat >>conftest.$ac_ext <<_ACEOF
12205 /* end confdefs.h. */
12206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12208 #define $ac_func innocuous_$ac_func
12210 /* System header to define __stub macros and hopefully few prototypes,
12211 which can conflict with char $ac_func (); below.
12212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12213 <limits.h> exists even on freestanding compilers. */
12215 #ifdef __STDC__
12216 # include <limits.h>
12217 #else
12218 # include <assert.h>
12219 #endif
12221 #undef $ac_func
12223 /* Override any gcc2 internal prototype to avoid an error. */
12224 #ifdef __cplusplus
12225 extern "C"
12227 #endif
12228 /* We use char because int might match the return type of a gcc2
12229 builtin and then its argument prototype would still apply. */
12230 char $ac_func ();
12231 /* The GNU C library defines this for functions which it implements
12232 to always fail with ENOSYS. Some functions are actually named
12233 something starting with __ and the normal name is an alias. */
12234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12235 choke me
12236 #else
12237 char (*f) () = $ac_func;
12238 #endif
12239 #ifdef __cplusplus
12241 #endif
12244 main ()
12246 return f != $ac_func;
12248 return 0;
12250 _ACEOF
12251 rm -f conftest.$ac_objext conftest$ac_exeext
12252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12253 (eval $ac_link) 2>conftest.er1
12254 ac_status=$?
12255 grep -v '^ *+' conftest.er1 >conftest.err
12256 rm -f conftest.er1
12257 cat conftest.err >&5
12258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12259 (exit $ac_status); } &&
12260 { ac_try='test -z "$ac_c_werror_flag"
12261 || test ! -s conftest.err'
12262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12263 (eval $ac_try) 2>&5
12264 ac_status=$?
12265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12266 (exit $ac_status); }; } &&
12267 { ac_try='test -s conftest$ac_exeext'
12268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12269 (eval $ac_try) 2>&5
12270 ac_status=$?
12271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272 (exit $ac_status); }; }; then
12273 eval "$as_ac_var=yes"
12274 else
12275 echo "$as_me: failed program was:" >&5
12276 sed 's/^/| /' conftest.$ac_ext >&5
12278 eval "$as_ac_var=no"
12280 rm -f conftest.err conftest.$ac_objext \
12281 conftest$ac_exeext conftest.$ac_ext
12283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12285 if test `eval echo '${'$as_ac_var'}'` = yes; then
12286 cat >>confdefs.h <<_ACEOF
12287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12288 _ACEOF
12291 done
12298 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
12299 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
12300 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
12301 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
12302 echo $ECHO_N "(cached) $ECHO_C" >&6
12303 else
12307 ac_ext=cc
12308 ac_cpp='$CXXCPP $CPPFLAGS'
12309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12313 cat >conftest.$ac_ext <<_ACEOF
12314 /* confdefs.h. */
12315 _ACEOF
12316 cat confdefs.h >>conftest.$ac_ext
12317 cat >>conftest.$ac_ext <<_ACEOF
12318 /* end confdefs.h. */
12319 #include <math.h>
12320 #ifdef HAVE_IEEEFP_H
12321 #include <ieeefp.h>
12322 #endif
12325 main ()
12327 qfpclass(0);
12329 return 0;
12331 _ACEOF
12332 rm -f conftest.$ac_objext
12333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12334 (eval $ac_compile) 2>conftest.er1
12335 ac_status=$?
12336 grep -v '^ *+' conftest.er1 >conftest.err
12337 rm -f conftest.er1
12338 cat conftest.err >&5
12339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12340 (exit $ac_status); } &&
12341 { ac_try='test -z "$ac_cxx_werror_flag"
12342 || test ! -s conftest.err'
12343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12344 (eval $ac_try) 2>&5
12345 ac_status=$?
12346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12347 (exit $ac_status); }; } &&
12348 { ac_try='test -s conftest.$ac_objext'
12349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12350 (eval $ac_try) 2>&5
12351 ac_status=$?
12352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12353 (exit $ac_status); }; }; then
12354 glibcxx_cv_func_qfpclass_use=yes
12355 else
12356 echo "$as_me: failed program was:" >&5
12357 sed 's/^/| /' conftest.$ac_ext >&5
12359 glibcxx_cv_func_qfpclass_use=no
12361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12362 ac_ext=c
12363 ac_cpp='$CPP $CPPFLAGS'
12364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12372 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
12373 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
12375 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
12377 for ac_func in qfpclass
12379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12380 echo "$as_me:$LINENO: checking for $ac_func" >&5
12381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12382 if eval "test \"\${$as_ac_var+set}\" = set"; then
12383 echo $ECHO_N "(cached) $ECHO_C" >&6
12384 else
12385 if test x$gcc_no_link = xyes; then
12386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12388 { (exit 1); exit 1; }; }
12390 cat >conftest.$ac_ext <<_ACEOF
12391 /* confdefs.h. */
12392 _ACEOF
12393 cat confdefs.h >>conftest.$ac_ext
12394 cat >>conftest.$ac_ext <<_ACEOF
12395 /* end confdefs.h. */
12396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12398 #define $ac_func innocuous_$ac_func
12400 /* System header to define __stub macros and hopefully few prototypes,
12401 which can conflict with char $ac_func (); below.
12402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12403 <limits.h> exists even on freestanding compilers. */
12405 #ifdef __STDC__
12406 # include <limits.h>
12407 #else
12408 # include <assert.h>
12409 #endif
12411 #undef $ac_func
12413 /* Override any gcc2 internal prototype to avoid an error. */
12414 #ifdef __cplusplus
12415 extern "C"
12417 #endif
12418 /* We use char because int might match the return type of a gcc2
12419 builtin and then its argument prototype would still apply. */
12420 char $ac_func ();
12421 /* The GNU C library defines this for functions which it implements
12422 to always fail with ENOSYS. Some functions are actually named
12423 something starting with __ and the normal name is an alias. */
12424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12425 choke me
12426 #else
12427 char (*f) () = $ac_func;
12428 #endif
12429 #ifdef __cplusplus
12431 #endif
12434 main ()
12436 return f != $ac_func;
12438 return 0;
12440 _ACEOF
12441 rm -f conftest.$ac_objext conftest$ac_exeext
12442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12443 (eval $ac_link) 2>conftest.er1
12444 ac_status=$?
12445 grep -v '^ *+' conftest.er1 >conftest.err
12446 rm -f conftest.er1
12447 cat conftest.err >&5
12448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12449 (exit $ac_status); } &&
12450 { ac_try='test -z "$ac_c_werror_flag"
12451 || test ! -s conftest.err'
12452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12453 (eval $ac_try) 2>&5
12454 ac_status=$?
12455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12456 (exit $ac_status); }; } &&
12457 { ac_try='test -s conftest$ac_exeext'
12458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12459 (eval $ac_try) 2>&5
12460 ac_status=$?
12461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12462 (exit $ac_status); }; }; then
12463 eval "$as_ac_var=yes"
12464 else
12465 echo "$as_me: failed program was:" >&5
12466 sed 's/^/| /' conftest.$ac_ext >&5
12468 eval "$as_ac_var=no"
12470 rm -f conftest.err conftest.$ac_objext \
12471 conftest$ac_exeext conftest.$ac_ext
12473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12475 if test `eval echo '${'$as_ac_var'}'` = yes; then
12476 cat >>confdefs.h <<_ACEOF
12477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12478 _ACEOF
12481 done
12483 else
12485 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
12486 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
12487 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
12488 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
12489 echo $ECHO_N "(cached) $ECHO_C" >&6
12490 else
12494 ac_ext=cc
12495 ac_cpp='$CXXCPP $CPPFLAGS'
12496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12500 cat >conftest.$ac_ext <<_ACEOF
12501 /* confdefs.h. */
12502 _ACEOF
12503 cat confdefs.h >>conftest.$ac_ext
12504 cat >>conftest.$ac_ext <<_ACEOF
12505 /* end confdefs.h. */
12506 #include <math.h>
12507 #ifdef HAVE_IEEEFP_H
12508 #include <ieeefp.h>
12509 #endif
12512 main ()
12514 _qfpclass(0);
12516 return 0;
12518 _ACEOF
12519 rm -f conftest.$ac_objext
12520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12521 (eval $ac_compile) 2>conftest.er1
12522 ac_status=$?
12523 grep -v '^ *+' conftest.er1 >conftest.err
12524 rm -f conftest.er1
12525 cat conftest.err >&5
12526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12527 (exit $ac_status); } &&
12528 { ac_try='test -z "$ac_cxx_werror_flag"
12529 || test ! -s conftest.err'
12530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12531 (eval $ac_try) 2>&5
12532 ac_status=$?
12533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534 (exit $ac_status); }; } &&
12535 { ac_try='test -s conftest.$ac_objext'
12536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12537 (eval $ac_try) 2>&5
12538 ac_status=$?
12539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); }; }; then
12541 glibcxx_cv_func__qfpclass_use=yes
12542 else
12543 echo "$as_me: failed program was:" >&5
12544 sed 's/^/| /' conftest.$ac_ext >&5
12546 glibcxx_cv_func__qfpclass_use=no
12548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12549 ac_ext=c
12550 ac_cpp='$CPP $CPPFLAGS'
12551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12559 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
12560 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
12562 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
12564 for ac_func in _qfpclass
12566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12567 echo "$as_me:$LINENO: checking for $ac_func" >&5
12568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12569 if eval "test \"\${$as_ac_var+set}\" = set"; then
12570 echo $ECHO_N "(cached) $ECHO_C" >&6
12571 else
12572 if test x$gcc_no_link = xyes; then
12573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12575 { (exit 1); exit 1; }; }
12577 cat >conftest.$ac_ext <<_ACEOF
12578 /* confdefs.h. */
12579 _ACEOF
12580 cat confdefs.h >>conftest.$ac_ext
12581 cat >>conftest.$ac_ext <<_ACEOF
12582 /* end confdefs.h. */
12583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12585 #define $ac_func innocuous_$ac_func
12587 /* System header to define __stub macros and hopefully few prototypes,
12588 which can conflict with char $ac_func (); below.
12589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12590 <limits.h> exists even on freestanding compilers. */
12592 #ifdef __STDC__
12593 # include <limits.h>
12594 #else
12595 # include <assert.h>
12596 #endif
12598 #undef $ac_func
12600 /* Override any gcc2 internal prototype to avoid an error. */
12601 #ifdef __cplusplus
12602 extern "C"
12604 #endif
12605 /* We use char because int might match the return type of a gcc2
12606 builtin and then its argument prototype would still apply. */
12607 char $ac_func ();
12608 /* The GNU C library defines this for functions which it implements
12609 to always fail with ENOSYS. Some functions are actually named
12610 something starting with __ and the normal name is an alias. */
12611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12612 choke me
12613 #else
12614 char (*f) () = $ac_func;
12615 #endif
12616 #ifdef __cplusplus
12618 #endif
12621 main ()
12623 return f != $ac_func;
12625 return 0;
12627 _ACEOF
12628 rm -f conftest.$ac_objext conftest$ac_exeext
12629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12630 (eval $ac_link) 2>conftest.er1
12631 ac_status=$?
12632 grep -v '^ *+' conftest.er1 >conftest.err
12633 rm -f conftest.er1
12634 cat conftest.err >&5
12635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12636 (exit $ac_status); } &&
12637 { ac_try='test -z "$ac_c_werror_flag"
12638 || test ! -s conftest.err'
12639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12640 (eval $ac_try) 2>&5
12641 ac_status=$?
12642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12643 (exit $ac_status); }; } &&
12644 { ac_try='test -s conftest$ac_exeext'
12645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12646 (eval $ac_try) 2>&5
12647 ac_status=$?
12648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); }; }; then
12650 eval "$as_ac_var=yes"
12651 else
12652 echo "$as_me: failed program was:" >&5
12653 sed 's/^/| /' conftest.$ac_ext >&5
12655 eval "$as_ac_var=no"
12657 rm -f conftest.err conftest.$ac_objext \
12658 conftest$ac_exeext conftest.$ac_ext
12660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12662 if test `eval echo '${'$as_ac_var'}'` = yes; then
12663 cat >>confdefs.h <<_ACEOF
12664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12665 _ACEOF
12668 done
12675 echo "$as_me:$LINENO: checking for hypot declaration" >&5
12676 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
12677 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
12678 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
12679 echo $ECHO_N "(cached) $ECHO_C" >&6
12680 else
12684 ac_ext=cc
12685 ac_cpp='$CXXCPP $CPPFLAGS'
12686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12690 cat >conftest.$ac_ext <<_ACEOF
12691 /* confdefs.h. */
12692 _ACEOF
12693 cat confdefs.h >>conftest.$ac_ext
12694 cat >>conftest.$ac_ext <<_ACEOF
12695 /* end confdefs.h. */
12696 #include <math.h>
12698 main ()
12700 hypot(0, 0);
12702 return 0;
12704 _ACEOF
12705 rm -f conftest.$ac_objext
12706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12707 (eval $ac_compile) 2>conftest.er1
12708 ac_status=$?
12709 grep -v '^ *+' conftest.er1 >conftest.err
12710 rm -f conftest.er1
12711 cat conftest.err >&5
12712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713 (exit $ac_status); } &&
12714 { ac_try='test -z "$ac_cxx_werror_flag"
12715 || test ! -s conftest.err'
12716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12717 (eval $ac_try) 2>&5
12718 ac_status=$?
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); }; } &&
12721 { ac_try='test -s conftest.$ac_objext'
12722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12723 (eval $ac_try) 2>&5
12724 ac_status=$?
12725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12726 (exit $ac_status); }; }; then
12727 glibcxx_cv_func_hypot_use=yes
12728 else
12729 echo "$as_me: failed program was:" >&5
12730 sed 's/^/| /' conftest.$ac_ext >&5
12732 glibcxx_cv_func_hypot_use=no
12734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12735 ac_ext=c
12736 ac_cpp='$CPP $CPPFLAGS'
12737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12745 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
12746 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
12748 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
12750 for ac_func in hypot
12752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12753 echo "$as_me:$LINENO: checking for $ac_func" >&5
12754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12755 if eval "test \"\${$as_ac_var+set}\" = set"; then
12756 echo $ECHO_N "(cached) $ECHO_C" >&6
12757 else
12758 if test x$gcc_no_link = xyes; then
12759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12761 { (exit 1); exit 1; }; }
12763 cat >conftest.$ac_ext <<_ACEOF
12764 /* confdefs.h. */
12765 _ACEOF
12766 cat confdefs.h >>conftest.$ac_ext
12767 cat >>conftest.$ac_ext <<_ACEOF
12768 /* end confdefs.h. */
12769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12771 #define $ac_func innocuous_$ac_func
12773 /* System header to define __stub macros and hopefully few prototypes,
12774 which can conflict with char $ac_func (); below.
12775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12776 <limits.h> exists even on freestanding compilers. */
12778 #ifdef __STDC__
12779 # include <limits.h>
12780 #else
12781 # include <assert.h>
12782 #endif
12784 #undef $ac_func
12786 /* Override any gcc2 internal prototype to avoid an error. */
12787 #ifdef __cplusplus
12788 extern "C"
12790 #endif
12791 /* We use char because int might match the return type of a gcc2
12792 builtin and then its argument prototype would still apply. */
12793 char $ac_func ();
12794 /* The GNU C library defines this for functions which it implements
12795 to always fail with ENOSYS. Some functions are actually named
12796 something starting with __ and the normal name is an alias. */
12797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12798 choke me
12799 #else
12800 char (*f) () = $ac_func;
12801 #endif
12802 #ifdef __cplusplus
12804 #endif
12807 main ()
12809 return f != $ac_func;
12811 return 0;
12813 _ACEOF
12814 rm -f conftest.$ac_objext conftest$ac_exeext
12815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12816 (eval $ac_link) 2>conftest.er1
12817 ac_status=$?
12818 grep -v '^ *+' conftest.er1 >conftest.err
12819 rm -f conftest.er1
12820 cat conftest.err >&5
12821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822 (exit $ac_status); } &&
12823 { ac_try='test -z "$ac_c_werror_flag"
12824 || test ! -s conftest.err'
12825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12826 (eval $ac_try) 2>&5
12827 ac_status=$?
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); }; } &&
12830 { ac_try='test -s conftest$ac_exeext'
12831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12832 (eval $ac_try) 2>&5
12833 ac_status=$?
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); }; }; then
12836 eval "$as_ac_var=yes"
12837 else
12838 echo "$as_me: failed program was:" >&5
12839 sed 's/^/| /' conftest.$ac_ext >&5
12841 eval "$as_ac_var=no"
12843 rm -f conftest.err conftest.$ac_objext \
12844 conftest$ac_exeext conftest.$ac_ext
12846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12848 if test `eval echo '${'$as_ac_var'}'` = yes; then
12849 cat >>confdefs.h <<_ACEOF
12850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12851 _ACEOF
12854 done
12856 else
12858 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
12859 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
12860 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
12861 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
12862 echo $ECHO_N "(cached) $ECHO_C" >&6
12863 else
12867 ac_ext=cc
12868 ac_cpp='$CXXCPP $CPPFLAGS'
12869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12873 cat >conftest.$ac_ext <<_ACEOF
12874 /* confdefs.h. */
12875 _ACEOF
12876 cat confdefs.h >>conftest.$ac_ext
12877 cat >>conftest.$ac_ext <<_ACEOF
12878 /* end confdefs.h. */
12879 #include <math.h>
12881 main ()
12883 _hypot(0, 0);
12885 return 0;
12887 _ACEOF
12888 rm -f conftest.$ac_objext
12889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12890 (eval $ac_compile) 2>conftest.er1
12891 ac_status=$?
12892 grep -v '^ *+' conftest.er1 >conftest.err
12893 rm -f conftest.er1
12894 cat conftest.err >&5
12895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12896 (exit $ac_status); } &&
12897 { ac_try='test -z "$ac_cxx_werror_flag"
12898 || test ! -s conftest.err'
12899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12900 (eval $ac_try) 2>&5
12901 ac_status=$?
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); }; } &&
12904 { ac_try='test -s conftest.$ac_objext'
12905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12906 (eval $ac_try) 2>&5
12907 ac_status=$?
12908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12909 (exit $ac_status); }; }; then
12910 glibcxx_cv_func__hypot_use=yes
12911 else
12912 echo "$as_me: failed program was:" >&5
12913 sed 's/^/| /' conftest.$ac_ext >&5
12915 glibcxx_cv_func__hypot_use=no
12917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12918 ac_ext=c
12919 ac_cpp='$CPP $CPPFLAGS'
12920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12928 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
12929 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
12931 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
12933 for ac_func in _hypot
12935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12936 echo "$as_me:$LINENO: checking for $ac_func" >&5
12937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12938 if eval "test \"\${$as_ac_var+set}\" = set"; then
12939 echo $ECHO_N "(cached) $ECHO_C" >&6
12940 else
12941 if test x$gcc_no_link = xyes; then
12942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12944 { (exit 1); exit 1; }; }
12946 cat >conftest.$ac_ext <<_ACEOF
12947 /* confdefs.h. */
12948 _ACEOF
12949 cat confdefs.h >>conftest.$ac_ext
12950 cat >>conftest.$ac_ext <<_ACEOF
12951 /* end confdefs.h. */
12952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12954 #define $ac_func innocuous_$ac_func
12956 /* System header to define __stub macros and hopefully few prototypes,
12957 which can conflict with char $ac_func (); below.
12958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12959 <limits.h> exists even on freestanding compilers. */
12961 #ifdef __STDC__
12962 # include <limits.h>
12963 #else
12964 # include <assert.h>
12965 #endif
12967 #undef $ac_func
12969 /* Override any gcc2 internal prototype to avoid an error. */
12970 #ifdef __cplusplus
12971 extern "C"
12973 #endif
12974 /* We use char because int might match the return type of a gcc2
12975 builtin and then its argument prototype would still apply. */
12976 char $ac_func ();
12977 /* The GNU C library defines this for functions which it implements
12978 to always fail with ENOSYS. Some functions are actually named
12979 something starting with __ and the normal name is an alias. */
12980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12981 choke me
12982 #else
12983 char (*f) () = $ac_func;
12984 #endif
12985 #ifdef __cplusplus
12987 #endif
12990 main ()
12992 return f != $ac_func;
12994 return 0;
12996 _ACEOF
12997 rm -f conftest.$ac_objext conftest$ac_exeext
12998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12999 (eval $ac_link) 2>conftest.er1
13000 ac_status=$?
13001 grep -v '^ *+' conftest.er1 >conftest.err
13002 rm -f conftest.er1
13003 cat conftest.err >&5
13004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13005 (exit $ac_status); } &&
13006 { ac_try='test -z "$ac_c_werror_flag"
13007 || test ! -s conftest.err'
13008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13009 (eval $ac_try) 2>&5
13010 ac_status=$?
13011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13012 (exit $ac_status); }; } &&
13013 { ac_try='test -s conftest$ac_exeext'
13014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13015 (eval $ac_try) 2>&5
13016 ac_status=$?
13017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13018 (exit $ac_status); }; }; then
13019 eval "$as_ac_var=yes"
13020 else
13021 echo "$as_me: failed program was:" >&5
13022 sed 's/^/| /' conftest.$ac_ext >&5
13024 eval "$as_ac_var=no"
13026 rm -f conftest.err conftest.$ac_objext \
13027 conftest$ac_exeext conftest.$ac_ext
13029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13031 if test `eval echo '${'$as_ac_var'}'` = yes; then
13032 cat >>confdefs.h <<_ACEOF
13033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13034 _ACEOF
13037 done
13044 echo "$as_me:$LINENO: checking for float trig functions" >&5
13045 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
13046 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
13047 echo $ECHO_N "(cached) $ECHO_C" >&6
13048 else
13052 ac_ext=cc
13053 ac_cpp='$CXXCPP $CPPFLAGS'
13054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13058 cat >conftest.$ac_ext <<_ACEOF
13059 /* confdefs.h. */
13060 _ACEOF
13061 cat confdefs.h >>conftest.$ac_ext
13062 cat >>conftest.$ac_ext <<_ACEOF
13063 /* end confdefs.h. */
13064 #include <math.h>
13066 main ()
13068 `for x in acosf asinf atanf \
13069 cosf sinf tanf \
13070 coshf sinhf tanhf; do echo "$x (0);"; done`
13072 return 0;
13074 _ACEOF
13075 rm -f conftest.$ac_objext
13076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13077 (eval $ac_compile) 2>conftest.er1
13078 ac_status=$?
13079 grep -v '^ *+' conftest.er1 >conftest.err
13080 rm -f conftest.er1
13081 cat conftest.err >&5
13082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13083 (exit $ac_status); } &&
13084 { ac_try='test -z "$ac_cxx_werror_flag"
13085 || test ! -s conftest.err'
13086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13087 (eval $ac_try) 2>&5
13088 ac_status=$?
13089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13090 (exit $ac_status); }; } &&
13091 { ac_try='test -s conftest.$ac_objext'
13092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13093 (eval $ac_try) 2>&5
13094 ac_status=$?
13095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13096 (exit $ac_status); }; }; then
13097 glibcxx_cv_func_float_trig_use=yes
13098 else
13099 echo "$as_me: failed program was:" >&5
13100 sed 's/^/| /' conftest.$ac_ext >&5
13102 glibcxx_cv_func_float_trig_use=no
13104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13105 ac_ext=c
13106 ac_cpp='$CPP $CPPFLAGS'
13107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13113 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
13114 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
13115 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
13125 for ac_func in acosf asinf atanf \
13126 cosf sinf tanf \
13127 coshf sinhf tanhf
13129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13130 echo "$as_me:$LINENO: checking for $ac_func" >&5
13131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13132 if eval "test \"\${$as_ac_var+set}\" = set"; then
13133 echo $ECHO_N "(cached) $ECHO_C" >&6
13134 else
13135 if test x$gcc_no_link = xyes; then
13136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13138 { (exit 1); exit 1; }; }
13140 cat >conftest.$ac_ext <<_ACEOF
13141 /* confdefs.h. */
13142 _ACEOF
13143 cat confdefs.h >>conftest.$ac_ext
13144 cat >>conftest.$ac_ext <<_ACEOF
13145 /* end confdefs.h. */
13146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13148 #define $ac_func innocuous_$ac_func
13150 /* System header to define __stub macros and hopefully few prototypes,
13151 which can conflict with char $ac_func (); below.
13152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13153 <limits.h> exists even on freestanding compilers. */
13155 #ifdef __STDC__
13156 # include <limits.h>
13157 #else
13158 # include <assert.h>
13159 #endif
13161 #undef $ac_func
13163 /* Override any gcc2 internal prototype to avoid an error. */
13164 #ifdef __cplusplus
13165 extern "C"
13167 #endif
13168 /* We use char because int might match the return type of a gcc2
13169 builtin and then its argument prototype would still apply. */
13170 char $ac_func ();
13171 /* The GNU C library defines this for functions which it implements
13172 to always fail with ENOSYS. Some functions are actually named
13173 something starting with __ and the normal name is an alias. */
13174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13175 choke me
13176 #else
13177 char (*f) () = $ac_func;
13178 #endif
13179 #ifdef __cplusplus
13181 #endif
13184 main ()
13186 return f != $ac_func;
13188 return 0;
13190 _ACEOF
13191 rm -f conftest.$ac_objext conftest$ac_exeext
13192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13193 (eval $ac_link) 2>conftest.er1
13194 ac_status=$?
13195 grep -v '^ *+' conftest.er1 >conftest.err
13196 rm -f conftest.er1
13197 cat conftest.err >&5
13198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13199 (exit $ac_status); } &&
13200 { ac_try='test -z "$ac_c_werror_flag"
13201 || test ! -s conftest.err'
13202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13203 (eval $ac_try) 2>&5
13204 ac_status=$?
13205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13206 (exit $ac_status); }; } &&
13207 { ac_try='test -s conftest$ac_exeext'
13208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13209 (eval $ac_try) 2>&5
13210 ac_status=$?
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); }; }; then
13213 eval "$as_ac_var=yes"
13214 else
13215 echo "$as_me: failed program was:" >&5
13216 sed 's/^/| /' conftest.$ac_ext >&5
13218 eval "$as_ac_var=no"
13220 rm -f conftest.err conftest.$ac_objext \
13221 conftest$ac_exeext conftest.$ac_ext
13223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13225 if test `eval echo '${'$as_ac_var'}'` = yes; then
13226 cat >>confdefs.h <<_ACEOF
13227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13228 _ACEOF
13231 done
13236 echo "$as_me:$LINENO: checking for float round functions" >&5
13237 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
13238 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
13239 echo $ECHO_N "(cached) $ECHO_C" >&6
13240 else
13244 ac_ext=cc
13245 ac_cpp='$CXXCPP $CPPFLAGS'
13246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13250 cat >conftest.$ac_ext <<_ACEOF
13251 /* confdefs.h. */
13252 _ACEOF
13253 cat confdefs.h >>conftest.$ac_ext
13254 cat >>conftest.$ac_ext <<_ACEOF
13255 /* end confdefs.h. */
13256 #include <math.h>
13258 main ()
13260 `for x in ceilf floorf; do echo "$x (0);"; done`
13262 return 0;
13264 _ACEOF
13265 rm -f conftest.$ac_objext
13266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13267 (eval $ac_compile) 2>conftest.er1
13268 ac_status=$?
13269 grep -v '^ *+' conftest.er1 >conftest.err
13270 rm -f conftest.er1
13271 cat conftest.err >&5
13272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13273 (exit $ac_status); } &&
13274 { ac_try='test -z "$ac_cxx_werror_flag"
13275 || test ! -s conftest.err'
13276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13277 (eval $ac_try) 2>&5
13278 ac_status=$?
13279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280 (exit $ac_status); }; } &&
13281 { ac_try='test -s conftest.$ac_objext'
13282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13283 (eval $ac_try) 2>&5
13284 ac_status=$?
13285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286 (exit $ac_status); }; }; then
13287 glibcxx_cv_func_float_round_use=yes
13288 else
13289 echo "$as_me: failed program was:" >&5
13290 sed 's/^/| /' conftest.$ac_ext >&5
13292 glibcxx_cv_func_float_round_use=no
13294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13295 ac_ext=c
13296 ac_cpp='$CPP $CPPFLAGS'
13297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13303 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
13304 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
13305 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
13308 for ac_func in ceilf floorf
13310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13311 echo "$as_me:$LINENO: checking for $ac_func" >&5
13312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13313 if eval "test \"\${$as_ac_var+set}\" = set"; then
13314 echo $ECHO_N "(cached) $ECHO_C" >&6
13315 else
13316 if test x$gcc_no_link = xyes; then
13317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13319 { (exit 1); exit 1; }; }
13321 cat >conftest.$ac_ext <<_ACEOF
13322 /* confdefs.h. */
13323 _ACEOF
13324 cat confdefs.h >>conftest.$ac_ext
13325 cat >>conftest.$ac_ext <<_ACEOF
13326 /* end confdefs.h. */
13327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13329 #define $ac_func innocuous_$ac_func
13331 /* System header to define __stub macros and hopefully few prototypes,
13332 which can conflict with char $ac_func (); below.
13333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13334 <limits.h> exists even on freestanding compilers. */
13336 #ifdef __STDC__
13337 # include <limits.h>
13338 #else
13339 # include <assert.h>
13340 #endif
13342 #undef $ac_func
13344 /* Override any gcc2 internal prototype to avoid an error. */
13345 #ifdef __cplusplus
13346 extern "C"
13348 #endif
13349 /* We use char because int might match the return type of a gcc2
13350 builtin and then its argument prototype would still apply. */
13351 char $ac_func ();
13352 /* The GNU C library defines this for functions which it implements
13353 to always fail with ENOSYS. Some functions are actually named
13354 something starting with __ and the normal name is an alias. */
13355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13356 choke me
13357 #else
13358 char (*f) () = $ac_func;
13359 #endif
13360 #ifdef __cplusplus
13362 #endif
13365 main ()
13367 return f != $ac_func;
13369 return 0;
13371 _ACEOF
13372 rm -f conftest.$ac_objext conftest$ac_exeext
13373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13374 (eval $ac_link) 2>conftest.er1
13375 ac_status=$?
13376 grep -v '^ *+' conftest.er1 >conftest.err
13377 rm -f conftest.er1
13378 cat conftest.err >&5
13379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13380 (exit $ac_status); } &&
13381 { ac_try='test -z "$ac_c_werror_flag"
13382 || test ! -s conftest.err'
13383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13384 (eval $ac_try) 2>&5
13385 ac_status=$?
13386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13387 (exit $ac_status); }; } &&
13388 { ac_try='test -s conftest$ac_exeext'
13389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13390 (eval $ac_try) 2>&5
13391 ac_status=$?
13392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13393 (exit $ac_status); }; }; then
13394 eval "$as_ac_var=yes"
13395 else
13396 echo "$as_me: failed program was:" >&5
13397 sed 's/^/| /' conftest.$ac_ext >&5
13399 eval "$as_ac_var=no"
13401 rm -f conftest.err conftest.$ac_objext \
13402 conftest$ac_exeext conftest.$ac_ext
13404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13406 if test `eval echo '${'$as_ac_var'}'` = yes; then
13407 cat >>confdefs.h <<_ACEOF
13408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13409 _ACEOF
13412 done
13418 echo "$as_me:$LINENO: checking for expf declaration" >&5
13419 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
13420 if test x${glibcxx_cv_func_expf_use+set} != xset; then
13421 if test "${glibcxx_cv_func_expf_use+set}" = set; then
13422 echo $ECHO_N "(cached) $ECHO_C" >&6
13423 else
13427 ac_ext=cc
13428 ac_cpp='$CXXCPP $CPPFLAGS'
13429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13433 cat >conftest.$ac_ext <<_ACEOF
13434 /* confdefs.h. */
13435 _ACEOF
13436 cat confdefs.h >>conftest.$ac_ext
13437 cat >>conftest.$ac_ext <<_ACEOF
13438 /* end confdefs.h. */
13439 #include <math.h>
13440 #ifdef HAVE_IEEEFP_H
13441 #include <ieeefp.h>
13442 #endif
13445 main ()
13447 expf(0);
13449 return 0;
13451 _ACEOF
13452 rm -f conftest.$ac_objext
13453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13454 (eval $ac_compile) 2>conftest.er1
13455 ac_status=$?
13456 grep -v '^ *+' conftest.er1 >conftest.err
13457 rm -f conftest.er1
13458 cat conftest.err >&5
13459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13460 (exit $ac_status); } &&
13461 { ac_try='test -z "$ac_cxx_werror_flag"
13462 || test ! -s conftest.err'
13463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13464 (eval $ac_try) 2>&5
13465 ac_status=$?
13466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467 (exit $ac_status); }; } &&
13468 { ac_try='test -s conftest.$ac_objext'
13469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13470 (eval $ac_try) 2>&5
13471 ac_status=$?
13472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473 (exit $ac_status); }; }; then
13474 glibcxx_cv_func_expf_use=yes
13475 else
13476 echo "$as_me: failed program was:" >&5
13477 sed 's/^/| /' conftest.$ac_ext >&5
13479 glibcxx_cv_func_expf_use=no
13481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13482 ac_ext=c
13483 ac_cpp='$CPP $CPPFLAGS'
13484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13492 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
13493 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
13495 if test x$glibcxx_cv_func_expf_use = x"yes"; then
13497 for ac_func in expf
13499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13500 echo "$as_me:$LINENO: checking for $ac_func" >&5
13501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13502 if eval "test \"\${$as_ac_var+set}\" = set"; then
13503 echo $ECHO_N "(cached) $ECHO_C" >&6
13504 else
13505 if test x$gcc_no_link = xyes; then
13506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13508 { (exit 1); exit 1; }; }
13510 cat >conftest.$ac_ext <<_ACEOF
13511 /* confdefs.h. */
13512 _ACEOF
13513 cat confdefs.h >>conftest.$ac_ext
13514 cat >>conftest.$ac_ext <<_ACEOF
13515 /* end confdefs.h. */
13516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13518 #define $ac_func innocuous_$ac_func
13520 /* System header to define __stub macros and hopefully few prototypes,
13521 which can conflict with char $ac_func (); below.
13522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13523 <limits.h> exists even on freestanding compilers. */
13525 #ifdef __STDC__
13526 # include <limits.h>
13527 #else
13528 # include <assert.h>
13529 #endif
13531 #undef $ac_func
13533 /* Override any gcc2 internal prototype to avoid an error. */
13534 #ifdef __cplusplus
13535 extern "C"
13537 #endif
13538 /* We use char because int might match the return type of a gcc2
13539 builtin and then its argument prototype would still apply. */
13540 char $ac_func ();
13541 /* The GNU C library defines this for functions which it implements
13542 to always fail with ENOSYS. Some functions are actually named
13543 something starting with __ and the normal name is an alias. */
13544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13545 choke me
13546 #else
13547 char (*f) () = $ac_func;
13548 #endif
13549 #ifdef __cplusplus
13551 #endif
13554 main ()
13556 return f != $ac_func;
13558 return 0;
13560 _ACEOF
13561 rm -f conftest.$ac_objext conftest$ac_exeext
13562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13563 (eval $ac_link) 2>conftest.er1
13564 ac_status=$?
13565 grep -v '^ *+' conftest.er1 >conftest.err
13566 rm -f conftest.er1
13567 cat conftest.err >&5
13568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13569 (exit $ac_status); } &&
13570 { ac_try='test -z "$ac_c_werror_flag"
13571 || test ! -s conftest.err'
13572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13573 (eval $ac_try) 2>&5
13574 ac_status=$?
13575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13576 (exit $ac_status); }; } &&
13577 { ac_try='test -s conftest$ac_exeext'
13578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13579 (eval $ac_try) 2>&5
13580 ac_status=$?
13581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13582 (exit $ac_status); }; }; then
13583 eval "$as_ac_var=yes"
13584 else
13585 echo "$as_me: failed program was:" >&5
13586 sed 's/^/| /' conftest.$ac_ext >&5
13588 eval "$as_ac_var=no"
13590 rm -f conftest.err conftest.$ac_objext \
13591 conftest$ac_exeext conftest.$ac_ext
13593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13595 if test `eval echo '${'$as_ac_var'}'` = yes; then
13596 cat >>confdefs.h <<_ACEOF
13597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13598 _ACEOF
13601 done
13603 else
13605 echo "$as_me:$LINENO: checking for _expf declaration" >&5
13606 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
13607 if test x${glibcxx_cv_func__expf_use+set} != xset; then
13608 if test "${glibcxx_cv_func__expf_use+set}" = set; then
13609 echo $ECHO_N "(cached) $ECHO_C" >&6
13610 else
13614 ac_ext=cc
13615 ac_cpp='$CXXCPP $CPPFLAGS'
13616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13620 cat >conftest.$ac_ext <<_ACEOF
13621 /* confdefs.h. */
13622 _ACEOF
13623 cat confdefs.h >>conftest.$ac_ext
13624 cat >>conftest.$ac_ext <<_ACEOF
13625 /* end confdefs.h. */
13626 #include <math.h>
13627 #ifdef HAVE_IEEEFP_H
13628 #include <ieeefp.h>
13629 #endif
13632 main ()
13634 _expf(0);
13636 return 0;
13638 _ACEOF
13639 rm -f conftest.$ac_objext
13640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13641 (eval $ac_compile) 2>conftest.er1
13642 ac_status=$?
13643 grep -v '^ *+' conftest.er1 >conftest.err
13644 rm -f conftest.er1
13645 cat conftest.err >&5
13646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13647 (exit $ac_status); } &&
13648 { ac_try='test -z "$ac_cxx_werror_flag"
13649 || test ! -s conftest.err'
13650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13651 (eval $ac_try) 2>&5
13652 ac_status=$?
13653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13654 (exit $ac_status); }; } &&
13655 { ac_try='test -s conftest.$ac_objext'
13656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13657 (eval $ac_try) 2>&5
13658 ac_status=$?
13659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13660 (exit $ac_status); }; }; then
13661 glibcxx_cv_func__expf_use=yes
13662 else
13663 echo "$as_me: failed program was:" >&5
13664 sed 's/^/| /' conftest.$ac_ext >&5
13666 glibcxx_cv_func__expf_use=no
13668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13669 ac_ext=c
13670 ac_cpp='$CPP $CPPFLAGS'
13671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13679 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
13680 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
13682 if test x$glibcxx_cv_func__expf_use = x"yes"; then
13684 for ac_func in _expf
13686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13687 echo "$as_me:$LINENO: checking for $ac_func" >&5
13688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13689 if eval "test \"\${$as_ac_var+set}\" = set"; then
13690 echo $ECHO_N "(cached) $ECHO_C" >&6
13691 else
13692 if test x$gcc_no_link = xyes; then
13693 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13695 { (exit 1); exit 1; }; }
13697 cat >conftest.$ac_ext <<_ACEOF
13698 /* confdefs.h. */
13699 _ACEOF
13700 cat confdefs.h >>conftest.$ac_ext
13701 cat >>conftest.$ac_ext <<_ACEOF
13702 /* end confdefs.h. */
13703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13705 #define $ac_func innocuous_$ac_func
13707 /* System header to define __stub macros and hopefully few prototypes,
13708 which can conflict with char $ac_func (); below.
13709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13710 <limits.h> exists even on freestanding compilers. */
13712 #ifdef __STDC__
13713 # include <limits.h>
13714 #else
13715 # include <assert.h>
13716 #endif
13718 #undef $ac_func
13720 /* Override any gcc2 internal prototype to avoid an error. */
13721 #ifdef __cplusplus
13722 extern "C"
13724 #endif
13725 /* We use char because int might match the return type of a gcc2
13726 builtin and then its argument prototype would still apply. */
13727 char $ac_func ();
13728 /* The GNU C library defines this for functions which it implements
13729 to always fail with ENOSYS. Some functions are actually named
13730 something starting with __ and the normal name is an alias. */
13731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13732 choke me
13733 #else
13734 char (*f) () = $ac_func;
13735 #endif
13736 #ifdef __cplusplus
13738 #endif
13741 main ()
13743 return f != $ac_func;
13745 return 0;
13747 _ACEOF
13748 rm -f conftest.$ac_objext conftest$ac_exeext
13749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13750 (eval $ac_link) 2>conftest.er1
13751 ac_status=$?
13752 grep -v '^ *+' conftest.er1 >conftest.err
13753 rm -f conftest.er1
13754 cat conftest.err >&5
13755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13756 (exit $ac_status); } &&
13757 { ac_try='test -z "$ac_c_werror_flag"
13758 || test ! -s conftest.err'
13759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13760 (eval $ac_try) 2>&5
13761 ac_status=$?
13762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13763 (exit $ac_status); }; } &&
13764 { ac_try='test -s conftest$ac_exeext'
13765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13766 (eval $ac_try) 2>&5
13767 ac_status=$?
13768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13769 (exit $ac_status); }; }; then
13770 eval "$as_ac_var=yes"
13771 else
13772 echo "$as_me: failed program was:" >&5
13773 sed 's/^/| /' conftest.$ac_ext >&5
13775 eval "$as_ac_var=no"
13777 rm -f conftest.err conftest.$ac_objext \
13778 conftest$ac_exeext conftest.$ac_ext
13780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13782 if test `eval echo '${'$as_ac_var'}'` = yes; then
13783 cat >>confdefs.h <<_ACEOF
13784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13785 _ACEOF
13788 done
13795 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
13796 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
13797 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
13798 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
13799 echo $ECHO_N "(cached) $ECHO_C" >&6
13800 else
13804 ac_ext=cc
13805 ac_cpp='$CXXCPP $CPPFLAGS'
13806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13810 cat >conftest.$ac_ext <<_ACEOF
13811 /* confdefs.h. */
13812 _ACEOF
13813 cat confdefs.h >>conftest.$ac_ext
13814 cat >>conftest.$ac_ext <<_ACEOF
13815 /* end confdefs.h. */
13816 #include <math.h>
13817 #ifdef HAVE_IEEEFP_H
13818 #include <ieeefp.h>
13819 #endif
13822 main ()
13824 isnanf(0);
13826 return 0;
13828 _ACEOF
13829 rm -f conftest.$ac_objext
13830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13831 (eval $ac_compile) 2>conftest.er1
13832 ac_status=$?
13833 grep -v '^ *+' conftest.er1 >conftest.err
13834 rm -f conftest.er1
13835 cat conftest.err >&5
13836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13837 (exit $ac_status); } &&
13838 { ac_try='test -z "$ac_cxx_werror_flag"
13839 || test ! -s conftest.err'
13840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13841 (eval $ac_try) 2>&5
13842 ac_status=$?
13843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13844 (exit $ac_status); }; } &&
13845 { ac_try='test -s conftest.$ac_objext'
13846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13847 (eval $ac_try) 2>&5
13848 ac_status=$?
13849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850 (exit $ac_status); }; }; then
13851 glibcxx_cv_func_isnanf_use=yes
13852 else
13853 echo "$as_me: failed program was:" >&5
13854 sed 's/^/| /' conftest.$ac_ext >&5
13856 glibcxx_cv_func_isnanf_use=no
13858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13859 ac_ext=c
13860 ac_cpp='$CPP $CPPFLAGS'
13861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13869 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
13870 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
13872 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
13874 for ac_func in isnanf
13876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13877 echo "$as_me:$LINENO: checking for $ac_func" >&5
13878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13879 if eval "test \"\${$as_ac_var+set}\" = set"; then
13880 echo $ECHO_N "(cached) $ECHO_C" >&6
13881 else
13882 if test x$gcc_no_link = xyes; then
13883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13885 { (exit 1); exit 1; }; }
13887 cat >conftest.$ac_ext <<_ACEOF
13888 /* confdefs.h. */
13889 _ACEOF
13890 cat confdefs.h >>conftest.$ac_ext
13891 cat >>conftest.$ac_ext <<_ACEOF
13892 /* end confdefs.h. */
13893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13895 #define $ac_func innocuous_$ac_func
13897 /* System header to define __stub macros and hopefully few prototypes,
13898 which can conflict with char $ac_func (); below.
13899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13900 <limits.h> exists even on freestanding compilers. */
13902 #ifdef __STDC__
13903 # include <limits.h>
13904 #else
13905 # include <assert.h>
13906 #endif
13908 #undef $ac_func
13910 /* Override any gcc2 internal prototype to avoid an error. */
13911 #ifdef __cplusplus
13912 extern "C"
13914 #endif
13915 /* We use char because int might match the return type of a gcc2
13916 builtin and then its argument prototype would still apply. */
13917 char $ac_func ();
13918 /* The GNU C library defines this for functions which it implements
13919 to always fail with ENOSYS. Some functions are actually named
13920 something starting with __ and the normal name is an alias. */
13921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13922 choke me
13923 #else
13924 char (*f) () = $ac_func;
13925 #endif
13926 #ifdef __cplusplus
13928 #endif
13931 main ()
13933 return f != $ac_func;
13935 return 0;
13937 _ACEOF
13938 rm -f conftest.$ac_objext conftest$ac_exeext
13939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13940 (eval $ac_link) 2>conftest.er1
13941 ac_status=$?
13942 grep -v '^ *+' conftest.er1 >conftest.err
13943 rm -f conftest.er1
13944 cat conftest.err >&5
13945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13946 (exit $ac_status); } &&
13947 { ac_try='test -z "$ac_c_werror_flag"
13948 || test ! -s conftest.err'
13949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13950 (eval $ac_try) 2>&5
13951 ac_status=$?
13952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13953 (exit $ac_status); }; } &&
13954 { ac_try='test -s conftest$ac_exeext'
13955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13956 (eval $ac_try) 2>&5
13957 ac_status=$?
13958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959 (exit $ac_status); }; }; then
13960 eval "$as_ac_var=yes"
13961 else
13962 echo "$as_me: failed program was:" >&5
13963 sed 's/^/| /' conftest.$ac_ext >&5
13965 eval "$as_ac_var=no"
13967 rm -f conftest.err conftest.$ac_objext \
13968 conftest$ac_exeext conftest.$ac_ext
13970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13972 if test `eval echo '${'$as_ac_var'}'` = yes; then
13973 cat >>confdefs.h <<_ACEOF
13974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13975 _ACEOF
13978 done
13980 else
13982 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
13983 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
13984 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
13985 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
13986 echo $ECHO_N "(cached) $ECHO_C" >&6
13987 else
13991 ac_ext=cc
13992 ac_cpp='$CXXCPP $CPPFLAGS'
13993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13997 cat >conftest.$ac_ext <<_ACEOF
13998 /* confdefs.h. */
13999 _ACEOF
14000 cat confdefs.h >>conftest.$ac_ext
14001 cat >>conftest.$ac_ext <<_ACEOF
14002 /* end confdefs.h. */
14003 #include <math.h>
14004 #ifdef HAVE_IEEEFP_H
14005 #include <ieeefp.h>
14006 #endif
14009 main ()
14011 _isnanf(0);
14013 return 0;
14015 _ACEOF
14016 rm -f conftest.$ac_objext
14017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14018 (eval $ac_compile) 2>conftest.er1
14019 ac_status=$?
14020 grep -v '^ *+' conftest.er1 >conftest.err
14021 rm -f conftest.er1
14022 cat conftest.err >&5
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); } &&
14025 { ac_try='test -z "$ac_cxx_werror_flag"
14026 || test ! -s conftest.err'
14027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14028 (eval $ac_try) 2>&5
14029 ac_status=$?
14030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14031 (exit $ac_status); }; } &&
14032 { ac_try='test -s conftest.$ac_objext'
14033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14034 (eval $ac_try) 2>&5
14035 ac_status=$?
14036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14037 (exit $ac_status); }; }; then
14038 glibcxx_cv_func__isnanf_use=yes
14039 else
14040 echo "$as_me: failed program was:" >&5
14041 sed 's/^/| /' conftest.$ac_ext >&5
14043 glibcxx_cv_func__isnanf_use=no
14045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14046 ac_ext=c
14047 ac_cpp='$CPP $CPPFLAGS'
14048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14056 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
14057 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
14059 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
14061 for ac_func in _isnanf
14063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14064 echo "$as_me:$LINENO: checking for $ac_func" >&5
14065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14066 if eval "test \"\${$as_ac_var+set}\" = set"; then
14067 echo $ECHO_N "(cached) $ECHO_C" >&6
14068 else
14069 if test x$gcc_no_link = xyes; then
14070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14072 { (exit 1); exit 1; }; }
14074 cat >conftest.$ac_ext <<_ACEOF
14075 /* confdefs.h. */
14076 _ACEOF
14077 cat confdefs.h >>conftest.$ac_ext
14078 cat >>conftest.$ac_ext <<_ACEOF
14079 /* end confdefs.h. */
14080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14082 #define $ac_func innocuous_$ac_func
14084 /* System header to define __stub macros and hopefully few prototypes,
14085 which can conflict with char $ac_func (); below.
14086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14087 <limits.h> exists even on freestanding compilers. */
14089 #ifdef __STDC__
14090 # include <limits.h>
14091 #else
14092 # include <assert.h>
14093 #endif
14095 #undef $ac_func
14097 /* Override any gcc2 internal prototype to avoid an error. */
14098 #ifdef __cplusplus
14099 extern "C"
14101 #endif
14102 /* We use char because int might match the return type of a gcc2
14103 builtin and then its argument prototype would still apply. */
14104 char $ac_func ();
14105 /* The GNU C library defines this for functions which it implements
14106 to always fail with ENOSYS. Some functions are actually named
14107 something starting with __ and the normal name is an alias. */
14108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14109 choke me
14110 #else
14111 char (*f) () = $ac_func;
14112 #endif
14113 #ifdef __cplusplus
14115 #endif
14118 main ()
14120 return f != $ac_func;
14122 return 0;
14124 _ACEOF
14125 rm -f conftest.$ac_objext conftest$ac_exeext
14126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14127 (eval $ac_link) 2>conftest.er1
14128 ac_status=$?
14129 grep -v '^ *+' conftest.er1 >conftest.err
14130 rm -f conftest.er1
14131 cat conftest.err >&5
14132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133 (exit $ac_status); } &&
14134 { ac_try='test -z "$ac_c_werror_flag"
14135 || test ! -s conftest.err'
14136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14137 (eval $ac_try) 2>&5
14138 ac_status=$?
14139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14140 (exit $ac_status); }; } &&
14141 { ac_try='test -s conftest$ac_exeext'
14142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14143 (eval $ac_try) 2>&5
14144 ac_status=$?
14145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14146 (exit $ac_status); }; }; then
14147 eval "$as_ac_var=yes"
14148 else
14149 echo "$as_me: failed program was:" >&5
14150 sed 's/^/| /' conftest.$ac_ext >&5
14152 eval "$as_ac_var=no"
14154 rm -f conftest.err conftest.$ac_objext \
14155 conftest$ac_exeext conftest.$ac_ext
14157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14159 if test `eval echo '${'$as_ac_var'}'` = yes; then
14160 cat >>confdefs.h <<_ACEOF
14161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14162 _ACEOF
14165 done
14172 echo "$as_me:$LINENO: checking for isinff declaration" >&5
14173 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
14174 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
14175 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
14176 echo $ECHO_N "(cached) $ECHO_C" >&6
14177 else
14181 ac_ext=cc
14182 ac_cpp='$CXXCPP $CPPFLAGS'
14183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14187 cat >conftest.$ac_ext <<_ACEOF
14188 /* confdefs.h. */
14189 _ACEOF
14190 cat confdefs.h >>conftest.$ac_ext
14191 cat >>conftest.$ac_ext <<_ACEOF
14192 /* end confdefs.h. */
14193 #include <math.h>
14194 #ifdef HAVE_IEEEFP_H
14195 #include <ieeefp.h>
14196 #endif
14199 main ()
14201 isinff(0);
14203 return 0;
14205 _ACEOF
14206 rm -f conftest.$ac_objext
14207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14208 (eval $ac_compile) 2>conftest.er1
14209 ac_status=$?
14210 grep -v '^ *+' conftest.er1 >conftest.err
14211 rm -f conftest.er1
14212 cat conftest.err >&5
14213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14214 (exit $ac_status); } &&
14215 { ac_try='test -z "$ac_cxx_werror_flag"
14216 || test ! -s conftest.err'
14217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14218 (eval $ac_try) 2>&5
14219 ac_status=$?
14220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14221 (exit $ac_status); }; } &&
14222 { ac_try='test -s conftest.$ac_objext'
14223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14224 (eval $ac_try) 2>&5
14225 ac_status=$?
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227 (exit $ac_status); }; }; then
14228 glibcxx_cv_func_isinff_use=yes
14229 else
14230 echo "$as_me: failed program was:" >&5
14231 sed 's/^/| /' conftest.$ac_ext >&5
14233 glibcxx_cv_func_isinff_use=no
14235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14236 ac_ext=c
14237 ac_cpp='$CPP $CPPFLAGS'
14238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14246 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
14247 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
14249 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
14251 for ac_func in isinff
14253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14254 echo "$as_me:$LINENO: checking for $ac_func" >&5
14255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14256 if eval "test \"\${$as_ac_var+set}\" = set"; then
14257 echo $ECHO_N "(cached) $ECHO_C" >&6
14258 else
14259 if test x$gcc_no_link = xyes; then
14260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14262 { (exit 1); exit 1; }; }
14264 cat >conftest.$ac_ext <<_ACEOF
14265 /* confdefs.h. */
14266 _ACEOF
14267 cat confdefs.h >>conftest.$ac_ext
14268 cat >>conftest.$ac_ext <<_ACEOF
14269 /* end confdefs.h. */
14270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14272 #define $ac_func innocuous_$ac_func
14274 /* System header to define __stub macros and hopefully few prototypes,
14275 which can conflict with char $ac_func (); below.
14276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14277 <limits.h> exists even on freestanding compilers. */
14279 #ifdef __STDC__
14280 # include <limits.h>
14281 #else
14282 # include <assert.h>
14283 #endif
14285 #undef $ac_func
14287 /* Override any gcc2 internal prototype to avoid an error. */
14288 #ifdef __cplusplus
14289 extern "C"
14291 #endif
14292 /* We use char because int might match the return type of a gcc2
14293 builtin and then its argument prototype would still apply. */
14294 char $ac_func ();
14295 /* The GNU C library defines this for functions which it implements
14296 to always fail with ENOSYS. Some functions are actually named
14297 something starting with __ and the normal name is an alias. */
14298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14299 choke me
14300 #else
14301 char (*f) () = $ac_func;
14302 #endif
14303 #ifdef __cplusplus
14305 #endif
14308 main ()
14310 return f != $ac_func;
14312 return 0;
14314 _ACEOF
14315 rm -f conftest.$ac_objext conftest$ac_exeext
14316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14317 (eval $ac_link) 2>conftest.er1
14318 ac_status=$?
14319 grep -v '^ *+' conftest.er1 >conftest.err
14320 rm -f conftest.er1
14321 cat conftest.err >&5
14322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14323 (exit $ac_status); } &&
14324 { ac_try='test -z "$ac_c_werror_flag"
14325 || test ! -s conftest.err'
14326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14327 (eval $ac_try) 2>&5
14328 ac_status=$?
14329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14330 (exit $ac_status); }; } &&
14331 { ac_try='test -s conftest$ac_exeext'
14332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14333 (eval $ac_try) 2>&5
14334 ac_status=$?
14335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14336 (exit $ac_status); }; }; then
14337 eval "$as_ac_var=yes"
14338 else
14339 echo "$as_me: failed program was:" >&5
14340 sed 's/^/| /' conftest.$ac_ext >&5
14342 eval "$as_ac_var=no"
14344 rm -f conftest.err conftest.$ac_objext \
14345 conftest$ac_exeext conftest.$ac_ext
14347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14349 if test `eval echo '${'$as_ac_var'}'` = yes; then
14350 cat >>confdefs.h <<_ACEOF
14351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14352 _ACEOF
14355 done
14357 else
14359 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
14360 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
14361 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
14362 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
14363 echo $ECHO_N "(cached) $ECHO_C" >&6
14364 else
14368 ac_ext=cc
14369 ac_cpp='$CXXCPP $CPPFLAGS'
14370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14374 cat >conftest.$ac_ext <<_ACEOF
14375 /* confdefs.h. */
14376 _ACEOF
14377 cat confdefs.h >>conftest.$ac_ext
14378 cat >>conftest.$ac_ext <<_ACEOF
14379 /* end confdefs.h. */
14380 #include <math.h>
14381 #ifdef HAVE_IEEEFP_H
14382 #include <ieeefp.h>
14383 #endif
14386 main ()
14388 _isinff(0);
14390 return 0;
14392 _ACEOF
14393 rm -f conftest.$ac_objext
14394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14395 (eval $ac_compile) 2>conftest.er1
14396 ac_status=$?
14397 grep -v '^ *+' conftest.er1 >conftest.err
14398 rm -f conftest.er1
14399 cat conftest.err >&5
14400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401 (exit $ac_status); } &&
14402 { ac_try='test -z "$ac_cxx_werror_flag"
14403 || test ! -s conftest.err'
14404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14405 (eval $ac_try) 2>&5
14406 ac_status=$?
14407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14408 (exit $ac_status); }; } &&
14409 { ac_try='test -s conftest.$ac_objext'
14410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14411 (eval $ac_try) 2>&5
14412 ac_status=$?
14413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14414 (exit $ac_status); }; }; then
14415 glibcxx_cv_func__isinff_use=yes
14416 else
14417 echo "$as_me: failed program was:" >&5
14418 sed 's/^/| /' conftest.$ac_ext >&5
14420 glibcxx_cv_func__isinff_use=no
14422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14423 ac_ext=c
14424 ac_cpp='$CPP $CPPFLAGS'
14425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14433 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
14434 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
14436 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
14438 for ac_func in _isinff
14440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14441 echo "$as_me:$LINENO: checking for $ac_func" >&5
14442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14443 if eval "test \"\${$as_ac_var+set}\" = set"; then
14444 echo $ECHO_N "(cached) $ECHO_C" >&6
14445 else
14446 if test x$gcc_no_link = xyes; then
14447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14449 { (exit 1); exit 1; }; }
14451 cat >conftest.$ac_ext <<_ACEOF
14452 /* confdefs.h. */
14453 _ACEOF
14454 cat confdefs.h >>conftest.$ac_ext
14455 cat >>conftest.$ac_ext <<_ACEOF
14456 /* end confdefs.h. */
14457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14459 #define $ac_func innocuous_$ac_func
14461 /* System header to define __stub macros and hopefully few prototypes,
14462 which can conflict with char $ac_func (); below.
14463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14464 <limits.h> exists even on freestanding compilers. */
14466 #ifdef __STDC__
14467 # include <limits.h>
14468 #else
14469 # include <assert.h>
14470 #endif
14472 #undef $ac_func
14474 /* Override any gcc2 internal prototype to avoid an error. */
14475 #ifdef __cplusplus
14476 extern "C"
14478 #endif
14479 /* We use char because int might match the return type of a gcc2
14480 builtin and then its argument prototype would still apply. */
14481 char $ac_func ();
14482 /* The GNU C library defines this for functions which it implements
14483 to always fail with ENOSYS. Some functions are actually named
14484 something starting with __ and the normal name is an alias. */
14485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14486 choke me
14487 #else
14488 char (*f) () = $ac_func;
14489 #endif
14490 #ifdef __cplusplus
14492 #endif
14495 main ()
14497 return f != $ac_func;
14499 return 0;
14501 _ACEOF
14502 rm -f conftest.$ac_objext conftest$ac_exeext
14503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14504 (eval $ac_link) 2>conftest.er1
14505 ac_status=$?
14506 grep -v '^ *+' conftest.er1 >conftest.err
14507 rm -f conftest.er1
14508 cat conftest.err >&5
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); } &&
14511 { ac_try='test -z "$ac_c_werror_flag"
14512 || test ! -s conftest.err'
14513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14514 (eval $ac_try) 2>&5
14515 ac_status=$?
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); }; } &&
14518 { ac_try='test -s conftest$ac_exeext'
14519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14520 (eval $ac_try) 2>&5
14521 ac_status=$?
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); }; }; then
14524 eval "$as_ac_var=yes"
14525 else
14526 echo "$as_me: failed program was:" >&5
14527 sed 's/^/| /' conftest.$ac_ext >&5
14529 eval "$as_ac_var=no"
14531 rm -f conftest.err conftest.$ac_objext \
14532 conftest$ac_exeext conftest.$ac_ext
14534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14536 if test `eval echo '${'$as_ac_var'}'` = yes; then
14537 cat >>confdefs.h <<_ACEOF
14538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14539 _ACEOF
14542 done
14549 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
14550 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
14551 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
14552 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
14553 echo $ECHO_N "(cached) $ECHO_C" >&6
14554 else
14558 ac_ext=cc
14559 ac_cpp='$CXXCPP $CPPFLAGS'
14560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14564 cat >conftest.$ac_ext <<_ACEOF
14565 /* confdefs.h. */
14566 _ACEOF
14567 cat confdefs.h >>conftest.$ac_ext
14568 cat >>conftest.$ac_ext <<_ACEOF
14569 /* end confdefs.h. */
14570 #include <math.h>
14572 main ()
14574 atan2f(0, 0);
14576 return 0;
14578 _ACEOF
14579 rm -f conftest.$ac_objext
14580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14581 (eval $ac_compile) 2>conftest.er1
14582 ac_status=$?
14583 grep -v '^ *+' conftest.er1 >conftest.err
14584 rm -f conftest.er1
14585 cat conftest.err >&5
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); } &&
14588 { ac_try='test -z "$ac_cxx_werror_flag"
14589 || test ! -s conftest.err'
14590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14591 (eval $ac_try) 2>&5
14592 ac_status=$?
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 (exit $ac_status); }; } &&
14595 { ac_try='test -s conftest.$ac_objext'
14596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14597 (eval $ac_try) 2>&5
14598 ac_status=$?
14599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14600 (exit $ac_status); }; }; then
14601 glibcxx_cv_func_atan2f_use=yes
14602 else
14603 echo "$as_me: failed program was:" >&5
14604 sed 's/^/| /' conftest.$ac_ext >&5
14606 glibcxx_cv_func_atan2f_use=no
14608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14609 ac_ext=c
14610 ac_cpp='$CPP $CPPFLAGS'
14611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14619 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
14620 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
14622 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
14624 for ac_func in atan2f
14626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14627 echo "$as_me:$LINENO: checking for $ac_func" >&5
14628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14629 if eval "test \"\${$as_ac_var+set}\" = set"; then
14630 echo $ECHO_N "(cached) $ECHO_C" >&6
14631 else
14632 if test x$gcc_no_link = xyes; then
14633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14635 { (exit 1); exit 1; }; }
14637 cat >conftest.$ac_ext <<_ACEOF
14638 /* confdefs.h. */
14639 _ACEOF
14640 cat confdefs.h >>conftest.$ac_ext
14641 cat >>conftest.$ac_ext <<_ACEOF
14642 /* end confdefs.h. */
14643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14645 #define $ac_func innocuous_$ac_func
14647 /* System header to define __stub macros and hopefully few prototypes,
14648 which can conflict with char $ac_func (); below.
14649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14650 <limits.h> exists even on freestanding compilers. */
14652 #ifdef __STDC__
14653 # include <limits.h>
14654 #else
14655 # include <assert.h>
14656 #endif
14658 #undef $ac_func
14660 /* Override any gcc2 internal prototype to avoid an error. */
14661 #ifdef __cplusplus
14662 extern "C"
14664 #endif
14665 /* We use char because int might match the return type of a gcc2
14666 builtin and then its argument prototype would still apply. */
14667 char $ac_func ();
14668 /* The GNU C library defines this for functions which it implements
14669 to always fail with ENOSYS. Some functions are actually named
14670 something starting with __ and the normal name is an alias. */
14671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14672 choke me
14673 #else
14674 char (*f) () = $ac_func;
14675 #endif
14676 #ifdef __cplusplus
14678 #endif
14681 main ()
14683 return f != $ac_func;
14685 return 0;
14687 _ACEOF
14688 rm -f conftest.$ac_objext conftest$ac_exeext
14689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14690 (eval $ac_link) 2>conftest.er1
14691 ac_status=$?
14692 grep -v '^ *+' conftest.er1 >conftest.err
14693 rm -f conftest.er1
14694 cat conftest.err >&5
14695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14696 (exit $ac_status); } &&
14697 { ac_try='test -z "$ac_c_werror_flag"
14698 || test ! -s conftest.err'
14699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14700 (eval $ac_try) 2>&5
14701 ac_status=$?
14702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14703 (exit $ac_status); }; } &&
14704 { ac_try='test -s conftest$ac_exeext'
14705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14706 (eval $ac_try) 2>&5
14707 ac_status=$?
14708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14709 (exit $ac_status); }; }; then
14710 eval "$as_ac_var=yes"
14711 else
14712 echo "$as_me: failed program was:" >&5
14713 sed 's/^/| /' conftest.$ac_ext >&5
14715 eval "$as_ac_var=no"
14717 rm -f conftest.err conftest.$ac_objext \
14718 conftest$ac_exeext conftest.$ac_ext
14720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14722 if test `eval echo '${'$as_ac_var'}'` = yes; then
14723 cat >>confdefs.h <<_ACEOF
14724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14725 _ACEOF
14728 done
14730 else
14732 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
14733 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
14734 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
14735 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
14736 echo $ECHO_N "(cached) $ECHO_C" >&6
14737 else
14741 ac_ext=cc
14742 ac_cpp='$CXXCPP $CPPFLAGS'
14743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14747 cat >conftest.$ac_ext <<_ACEOF
14748 /* confdefs.h. */
14749 _ACEOF
14750 cat confdefs.h >>conftest.$ac_ext
14751 cat >>conftest.$ac_ext <<_ACEOF
14752 /* end confdefs.h. */
14753 #include <math.h>
14755 main ()
14757 _atan2f(0, 0);
14759 return 0;
14761 _ACEOF
14762 rm -f conftest.$ac_objext
14763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14764 (eval $ac_compile) 2>conftest.er1
14765 ac_status=$?
14766 grep -v '^ *+' conftest.er1 >conftest.err
14767 rm -f conftest.er1
14768 cat conftest.err >&5
14769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14770 (exit $ac_status); } &&
14771 { ac_try='test -z "$ac_cxx_werror_flag"
14772 || test ! -s conftest.err'
14773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14774 (eval $ac_try) 2>&5
14775 ac_status=$?
14776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14777 (exit $ac_status); }; } &&
14778 { ac_try='test -s conftest.$ac_objext'
14779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14780 (eval $ac_try) 2>&5
14781 ac_status=$?
14782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14783 (exit $ac_status); }; }; then
14784 glibcxx_cv_func__atan2f_use=yes
14785 else
14786 echo "$as_me: failed program was:" >&5
14787 sed 's/^/| /' conftest.$ac_ext >&5
14789 glibcxx_cv_func__atan2f_use=no
14791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14792 ac_ext=c
14793 ac_cpp='$CPP $CPPFLAGS'
14794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14802 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
14803 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
14805 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
14807 for ac_func in _atan2f
14809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14810 echo "$as_me:$LINENO: checking for $ac_func" >&5
14811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14812 if eval "test \"\${$as_ac_var+set}\" = set"; then
14813 echo $ECHO_N "(cached) $ECHO_C" >&6
14814 else
14815 if test x$gcc_no_link = xyes; then
14816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14818 { (exit 1); exit 1; }; }
14820 cat >conftest.$ac_ext <<_ACEOF
14821 /* confdefs.h. */
14822 _ACEOF
14823 cat confdefs.h >>conftest.$ac_ext
14824 cat >>conftest.$ac_ext <<_ACEOF
14825 /* end confdefs.h. */
14826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14828 #define $ac_func innocuous_$ac_func
14830 /* System header to define __stub macros and hopefully few prototypes,
14831 which can conflict with char $ac_func (); below.
14832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14833 <limits.h> exists even on freestanding compilers. */
14835 #ifdef __STDC__
14836 # include <limits.h>
14837 #else
14838 # include <assert.h>
14839 #endif
14841 #undef $ac_func
14843 /* Override any gcc2 internal prototype to avoid an error. */
14844 #ifdef __cplusplus
14845 extern "C"
14847 #endif
14848 /* We use char because int might match the return type of a gcc2
14849 builtin and then its argument prototype would still apply. */
14850 char $ac_func ();
14851 /* The GNU C library defines this for functions which it implements
14852 to always fail with ENOSYS. Some functions are actually named
14853 something starting with __ and the normal name is an alias. */
14854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14855 choke me
14856 #else
14857 char (*f) () = $ac_func;
14858 #endif
14859 #ifdef __cplusplus
14861 #endif
14864 main ()
14866 return f != $ac_func;
14868 return 0;
14870 _ACEOF
14871 rm -f conftest.$ac_objext conftest$ac_exeext
14872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14873 (eval $ac_link) 2>conftest.er1
14874 ac_status=$?
14875 grep -v '^ *+' conftest.er1 >conftest.err
14876 rm -f conftest.er1
14877 cat conftest.err >&5
14878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879 (exit $ac_status); } &&
14880 { ac_try='test -z "$ac_c_werror_flag"
14881 || test ! -s conftest.err'
14882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14883 (eval $ac_try) 2>&5
14884 ac_status=$?
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); }; } &&
14887 { ac_try='test -s conftest$ac_exeext'
14888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14889 (eval $ac_try) 2>&5
14890 ac_status=$?
14891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14892 (exit $ac_status); }; }; then
14893 eval "$as_ac_var=yes"
14894 else
14895 echo "$as_me: failed program was:" >&5
14896 sed 's/^/| /' conftest.$ac_ext >&5
14898 eval "$as_ac_var=no"
14900 rm -f conftest.err conftest.$ac_objext \
14901 conftest$ac_exeext conftest.$ac_ext
14903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14905 if test `eval echo '${'$as_ac_var'}'` = yes; then
14906 cat >>confdefs.h <<_ACEOF
14907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14908 _ACEOF
14911 done
14918 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
14919 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
14920 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
14921 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
14922 echo $ECHO_N "(cached) $ECHO_C" >&6
14923 else
14927 ac_ext=cc
14928 ac_cpp='$CXXCPP $CPPFLAGS'
14929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14933 cat >conftest.$ac_ext <<_ACEOF
14934 /* confdefs.h. */
14935 _ACEOF
14936 cat confdefs.h >>conftest.$ac_ext
14937 cat >>conftest.$ac_ext <<_ACEOF
14938 /* end confdefs.h. */
14939 #include <math.h>
14940 #ifdef HAVE_IEEEFP_H
14941 #include <ieeefp.h>
14942 #endif
14945 main ()
14947 fabsf(0);
14949 return 0;
14951 _ACEOF
14952 rm -f conftest.$ac_objext
14953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14954 (eval $ac_compile) 2>conftest.er1
14955 ac_status=$?
14956 grep -v '^ *+' conftest.er1 >conftest.err
14957 rm -f conftest.er1
14958 cat conftest.err >&5
14959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960 (exit $ac_status); } &&
14961 { ac_try='test -z "$ac_cxx_werror_flag"
14962 || test ! -s conftest.err'
14963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14964 (eval $ac_try) 2>&5
14965 ac_status=$?
14966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14967 (exit $ac_status); }; } &&
14968 { ac_try='test -s conftest.$ac_objext'
14969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14970 (eval $ac_try) 2>&5
14971 ac_status=$?
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); }; }; then
14974 glibcxx_cv_func_fabsf_use=yes
14975 else
14976 echo "$as_me: failed program was:" >&5
14977 sed 's/^/| /' conftest.$ac_ext >&5
14979 glibcxx_cv_func_fabsf_use=no
14981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14982 ac_ext=c
14983 ac_cpp='$CPP $CPPFLAGS'
14984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14992 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
14993 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
14995 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
14997 for ac_func in fabsf
14999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15000 echo "$as_me:$LINENO: checking for $ac_func" >&5
15001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15002 if eval "test \"\${$as_ac_var+set}\" = set"; then
15003 echo $ECHO_N "(cached) $ECHO_C" >&6
15004 else
15005 if test x$gcc_no_link = xyes; then
15006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15008 { (exit 1); exit 1; }; }
15010 cat >conftest.$ac_ext <<_ACEOF
15011 /* confdefs.h. */
15012 _ACEOF
15013 cat confdefs.h >>conftest.$ac_ext
15014 cat >>conftest.$ac_ext <<_ACEOF
15015 /* end confdefs.h. */
15016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15018 #define $ac_func innocuous_$ac_func
15020 /* System header to define __stub macros and hopefully few prototypes,
15021 which can conflict with char $ac_func (); below.
15022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15023 <limits.h> exists even on freestanding compilers. */
15025 #ifdef __STDC__
15026 # include <limits.h>
15027 #else
15028 # include <assert.h>
15029 #endif
15031 #undef $ac_func
15033 /* Override any gcc2 internal prototype to avoid an error. */
15034 #ifdef __cplusplus
15035 extern "C"
15037 #endif
15038 /* We use char because int might match the return type of a gcc2
15039 builtin and then its argument prototype would still apply. */
15040 char $ac_func ();
15041 /* The GNU C library defines this for functions which it implements
15042 to always fail with ENOSYS. Some functions are actually named
15043 something starting with __ and the normal name is an alias. */
15044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15045 choke me
15046 #else
15047 char (*f) () = $ac_func;
15048 #endif
15049 #ifdef __cplusplus
15051 #endif
15054 main ()
15056 return f != $ac_func;
15058 return 0;
15060 _ACEOF
15061 rm -f conftest.$ac_objext conftest$ac_exeext
15062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15063 (eval $ac_link) 2>conftest.er1
15064 ac_status=$?
15065 grep -v '^ *+' conftest.er1 >conftest.err
15066 rm -f conftest.er1
15067 cat conftest.err >&5
15068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069 (exit $ac_status); } &&
15070 { ac_try='test -z "$ac_c_werror_flag"
15071 || test ! -s conftest.err'
15072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15073 (eval $ac_try) 2>&5
15074 ac_status=$?
15075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076 (exit $ac_status); }; } &&
15077 { ac_try='test -s conftest$ac_exeext'
15078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15079 (eval $ac_try) 2>&5
15080 ac_status=$?
15081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15082 (exit $ac_status); }; }; then
15083 eval "$as_ac_var=yes"
15084 else
15085 echo "$as_me: failed program was:" >&5
15086 sed 's/^/| /' conftest.$ac_ext >&5
15088 eval "$as_ac_var=no"
15090 rm -f conftest.err conftest.$ac_objext \
15091 conftest$ac_exeext conftest.$ac_ext
15093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15095 if test `eval echo '${'$as_ac_var'}'` = yes; then
15096 cat >>confdefs.h <<_ACEOF
15097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15098 _ACEOF
15101 done
15103 else
15105 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
15106 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
15107 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
15108 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
15109 echo $ECHO_N "(cached) $ECHO_C" >&6
15110 else
15114 ac_ext=cc
15115 ac_cpp='$CXXCPP $CPPFLAGS'
15116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15120 cat >conftest.$ac_ext <<_ACEOF
15121 /* confdefs.h. */
15122 _ACEOF
15123 cat confdefs.h >>conftest.$ac_ext
15124 cat >>conftest.$ac_ext <<_ACEOF
15125 /* end confdefs.h. */
15126 #include <math.h>
15127 #ifdef HAVE_IEEEFP_H
15128 #include <ieeefp.h>
15129 #endif
15132 main ()
15134 _fabsf(0);
15136 return 0;
15138 _ACEOF
15139 rm -f conftest.$ac_objext
15140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15141 (eval $ac_compile) 2>conftest.er1
15142 ac_status=$?
15143 grep -v '^ *+' conftest.er1 >conftest.err
15144 rm -f conftest.er1
15145 cat conftest.err >&5
15146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15147 (exit $ac_status); } &&
15148 { ac_try='test -z "$ac_cxx_werror_flag"
15149 || test ! -s conftest.err'
15150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15151 (eval $ac_try) 2>&5
15152 ac_status=$?
15153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15154 (exit $ac_status); }; } &&
15155 { ac_try='test -s conftest.$ac_objext'
15156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15157 (eval $ac_try) 2>&5
15158 ac_status=$?
15159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15160 (exit $ac_status); }; }; then
15161 glibcxx_cv_func__fabsf_use=yes
15162 else
15163 echo "$as_me: failed program was:" >&5
15164 sed 's/^/| /' conftest.$ac_ext >&5
15166 glibcxx_cv_func__fabsf_use=no
15168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15169 ac_ext=c
15170 ac_cpp='$CPP $CPPFLAGS'
15171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15179 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
15180 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
15182 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
15184 for ac_func in _fabsf
15186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15187 echo "$as_me:$LINENO: checking for $ac_func" >&5
15188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15189 if eval "test \"\${$as_ac_var+set}\" = set"; then
15190 echo $ECHO_N "(cached) $ECHO_C" >&6
15191 else
15192 if test x$gcc_no_link = xyes; then
15193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15195 { (exit 1); exit 1; }; }
15197 cat >conftest.$ac_ext <<_ACEOF
15198 /* confdefs.h. */
15199 _ACEOF
15200 cat confdefs.h >>conftest.$ac_ext
15201 cat >>conftest.$ac_ext <<_ACEOF
15202 /* end confdefs.h. */
15203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15205 #define $ac_func innocuous_$ac_func
15207 /* System header to define __stub macros and hopefully few prototypes,
15208 which can conflict with char $ac_func (); below.
15209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15210 <limits.h> exists even on freestanding compilers. */
15212 #ifdef __STDC__
15213 # include <limits.h>
15214 #else
15215 # include <assert.h>
15216 #endif
15218 #undef $ac_func
15220 /* Override any gcc2 internal prototype to avoid an error. */
15221 #ifdef __cplusplus
15222 extern "C"
15224 #endif
15225 /* We use char because int might match the return type of a gcc2
15226 builtin and then its argument prototype would still apply. */
15227 char $ac_func ();
15228 /* The GNU C library defines this for functions which it implements
15229 to always fail with ENOSYS. Some functions are actually named
15230 something starting with __ and the normal name is an alias. */
15231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15232 choke me
15233 #else
15234 char (*f) () = $ac_func;
15235 #endif
15236 #ifdef __cplusplus
15238 #endif
15241 main ()
15243 return f != $ac_func;
15245 return 0;
15247 _ACEOF
15248 rm -f conftest.$ac_objext conftest$ac_exeext
15249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15250 (eval $ac_link) 2>conftest.er1
15251 ac_status=$?
15252 grep -v '^ *+' conftest.er1 >conftest.err
15253 rm -f conftest.er1
15254 cat conftest.err >&5
15255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256 (exit $ac_status); } &&
15257 { ac_try='test -z "$ac_c_werror_flag"
15258 || test ! -s conftest.err'
15259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15260 (eval $ac_try) 2>&5
15261 ac_status=$?
15262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15263 (exit $ac_status); }; } &&
15264 { ac_try='test -s conftest$ac_exeext'
15265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15266 (eval $ac_try) 2>&5
15267 ac_status=$?
15268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15269 (exit $ac_status); }; }; then
15270 eval "$as_ac_var=yes"
15271 else
15272 echo "$as_me: failed program was:" >&5
15273 sed 's/^/| /' conftest.$ac_ext >&5
15275 eval "$as_ac_var=no"
15277 rm -f conftest.err conftest.$ac_objext \
15278 conftest$ac_exeext conftest.$ac_ext
15280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15282 if test `eval echo '${'$as_ac_var'}'` = yes; then
15283 cat >>confdefs.h <<_ACEOF
15284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15285 _ACEOF
15288 done
15295 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
15296 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
15297 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
15298 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
15299 echo $ECHO_N "(cached) $ECHO_C" >&6
15300 else
15304 ac_ext=cc
15305 ac_cpp='$CXXCPP $CPPFLAGS'
15306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15310 cat >conftest.$ac_ext <<_ACEOF
15311 /* confdefs.h. */
15312 _ACEOF
15313 cat confdefs.h >>conftest.$ac_ext
15314 cat >>conftest.$ac_ext <<_ACEOF
15315 /* end confdefs.h. */
15316 #include <math.h>
15318 main ()
15320 fmodf(0, 0);
15322 return 0;
15324 _ACEOF
15325 rm -f conftest.$ac_objext
15326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15327 (eval $ac_compile) 2>conftest.er1
15328 ac_status=$?
15329 grep -v '^ *+' conftest.er1 >conftest.err
15330 rm -f conftest.er1
15331 cat conftest.err >&5
15332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15333 (exit $ac_status); } &&
15334 { ac_try='test -z "$ac_cxx_werror_flag"
15335 || test ! -s conftest.err'
15336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15337 (eval $ac_try) 2>&5
15338 ac_status=$?
15339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15340 (exit $ac_status); }; } &&
15341 { ac_try='test -s conftest.$ac_objext'
15342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15343 (eval $ac_try) 2>&5
15344 ac_status=$?
15345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15346 (exit $ac_status); }; }; then
15347 glibcxx_cv_func_fmodf_use=yes
15348 else
15349 echo "$as_me: failed program was:" >&5
15350 sed 's/^/| /' conftest.$ac_ext >&5
15352 glibcxx_cv_func_fmodf_use=no
15354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15355 ac_ext=c
15356 ac_cpp='$CPP $CPPFLAGS'
15357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15365 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
15366 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
15368 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
15370 for ac_func in fmodf
15372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15373 echo "$as_me:$LINENO: checking for $ac_func" >&5
15374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15375 if eval "test \"\${$as_ac_var+set}\" = set"; then
15376 echo $ECHO_N "(cached) $ECHO_C" >&6
15377 else
15378 if test x$gcc_no_link = xyes; then
15379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15381 { (exit 1); exit 1; }; }
15383 cat >conftest.$ac_ext <<_ACEOF
15384 /* confdefs.h. */
15385 _ACEOF
15386 cat confdefs.h >>conftest.$ac_ext
15387 cat >>conftest.$ac_ext <<_ACEOF
15388 /* end confdefs.h. */
15389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15391 #define $ac_func innocuous_$ac_func
15393 /* System header to define __stub macros and hopefully few prototypes,
15394 which can conflict with char $ac_func (); below.
15395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15396 <limits.h> exists even on freestanding compilers. */
15398 #ifdef __STDC__
15399 # include <limits.h>
15400 #else
15401 # include <assert.h>
15402 #endif
15404 #undef $ac_func
15406 /* Override any gcc2 internal prototype to avoid an error. */
15407 #ifdef __cplusplus
15408 extern "C"
15410 #endif
15411 /* We use char because int might match the return type of a gcc2
15412 builtin and then its argument prototype would still apply. */
15413 char $ac_func ();
15414 /* The GNU C library defines this for functions which it implements
15415 to always fail with ENOSYS. Some functions are actually named
15416 something starting with __ and the normal name is an alias. */
15417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15418 choke me
15419 #else
15420 char (*f) () = $ac_func;
15421 #endif
15422 #ifdef __cplusplus
15424 #endif
15427 main ()
15429 return f != $ac_func;
15431 return 0;
15433 _ACEOF
15434 rm -f conftest.$ac_objext conftest$ac_exeext
15435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15436 (eval $ac_link) 2>conftest.er1
15437 ac_status=$?
15438 grep -v '^ *+' conftest.er1 >conftest.err
15439 rm -f conftest.er1
15440 cat conftest.err >&5
15441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15442 (exit $ac_status); } &&
15443 { ac_try='test -z "$ac_c_werror_flag"
15444 || test ! -s conftest.err'
15445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15446 (eval $ac_try) 2>&5
15447 ac_status=$?
15448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15449 (exit $ac_status); }; } &&
15450 { ac_try='test -s conftest$ac_exeext'
15451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15452 (eval $ac_try) 2>&5
15453 ac_status=$?
15454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455 (exit $ac_status); }; }; then
15456 eval "$as_ac_var=yes"
15457 else
15458 echo "$as_me: failed program was:" >&5
15459 sed 's/^/| /' conftest.$ac_ext >&5
15461 eval "$as_ac_var=no"
15463 rm -f conftest.err conftest.$ac_objext \
15464 conftest$ac_exeext conftest.$ac_ext
15466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15468 if test `eval echo '${'$as_ac_var'}'` = yes; then
15469 cat >>confdefs.h <<_ACEOF
15470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15471 _ACEOF
15474 done
15476 else
15478 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
15479 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
15480 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
15481 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
15482 echo $ECHO_N "(cached) $ECHO_C" >&6
15483 else
15487 ac_ext=cc
15488 ac_cpp='$CXXCPP $CPPFLAGS'
15489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15493 cat >conftest.$ac_ext <<_ACEOF
15494 /* confdefs.h. */
15495 _ACEOF
15496 cat confdefs.h >>conftest.$ac_ext
15497 cat >>conftest.$ac_ext <<_ACEOF
15498 /* end confdefs.h. */
15499 #include <math.h>
15501 main ()
15503 _fmodf(0, 0);
15505 return 0;
15507 _ACEOF
15508 rm -f conftest.$ac_objext
15509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15510 (eval $ac_compile) 2>conftest.er1
15511 ac_status=$?
15512 grep -v '^ *+' conftest.er1 >conftest.err
15513 rm -f conftest.er1
15514 cat conftest.err >&5
15515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516 (exit $ac_status); } &&
15517 { ac_try='test -z "$ac_cxx_werror_flag"
15518 || test ! -s conftest.err'
15519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15520 (eval $ac_try) 2>&5
15521 ac_status=$?
15522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15523 (exit $ac_status); }; } &&
15524 { ac_try='test -s conftest.$ac_objext'
15525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15526 (eval $ac_try) 2>&5
15527 ac_status=$?
15528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15529 (exit $ac_status); }; }; then
15530 glibcxx_cv_func__fmodf_use=yes
15531 else
15532 echo "$as_me: failed program was:" >&5
15533 sed 's/^/| /' conftest.$ac_ext >&5
15535 glibcxx_cv_func__fmodf_use=no
15537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15538 ac_ext=c
15539 ac_cpp='$CPP $CPPFLAGS'
15540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15548 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
15549 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
15551 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
15553 for ac_func in _fmodf
15555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15556 echo "$as_me:$LINENO: checking for $ac_func" >&5
15557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15558 if eval "test \"\${$as_ac_var+set}\" = set"; then
15559 echo $ECHO_N "(cached) $ECHO_C" >&6
15560 else
15561 if test x$gcc_no_link = xyes; then
15562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15564 { (exit 1); exit 1; }; }
15566 cat >conftest.$ac_ext <<_ACEOF
15567 /* confdefs.h. */
15568 _ACEOF
15569 cat confdefs.h >>conftest.$ac_ext
15570 cat >>conftest.$ac_ext <<_ACEOF
15571 /* end confdefs.h. */
15572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15574 #define $ac_func innocuous_$ac_func
15576 /* System header to define __stub macros and hopefully few prototypes,
15577 which can conflict with char $ac_func (); below.
15578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15579 <limits.h> exists even on freestanding compilers. */
15581 #ifdef __STDC__
15582 # include <limits.h>
15583 #else
15584 # include <assert.h>
15585 #endif
15587 #undef $ac_func
15589 /* Override any gcc2 internal prototype to avoid an error. */
15590 #ifdef __cplusplus
15591 extern "C"
15593 #endif
15594 /* We use char because int might match the return type of a gcc2
15595 builtin and then its argument prototype would still apply. */
15596 char $ac_func ();
15597 /* The GNU C library defines this for functions which it implements
15598 to always fail with ENOSYS. Some functions are actually named
15599 something starting with __ and the normal name is an alias. */
15600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15601 choke me
15602 #else
15603 char (*f) () = $ac_func;
15604 #endif
15605 #ifdef __cplusplus
15607 #endif
15610 main ()
15612 return f != $ac_func;
15614 return 0;
15616 _ACEOF
15617 rm -f conftest.$ac_objext conftest$ac_exeext
15618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15619 (eval $ac_link) 2>conftest.er1
15620 ac_status=$?
15621 grep -v '^ *+' conftest.er1 >conftest.err
15622 rm -f conftest.er1
15623 cat conftest.err >&5
15624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15625 (exit $ac_status); } &&
15626 { ac_try='test -z "$ac_c_werror_flag"
15627 || test ! -s conftest.err'
15628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15629 (eval $ac_try) 2>&5
15630 ac_status=$?
15631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15632 (exit $ac_status); }; } &&
15633 { ac_try='test -s conftest$ac_exeext'
15634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15635 (eval $ac_try) 2>&5
15636 ac_status=$?
15637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15638 (exit $ac_status); }; }; then
15639 eval "$as_ac_var=yes"
15640 else
15641 echo "$as_me: failed program was:" >&5
15642 sed 's/^/| /' conftest.$ac_ext >&5
15644 eval "$as_ac_var=no"
15646 rm -f conftest.err conftest.$ac_objext \
15647 conftest$ac_exeext conftest.$ac_ext
15649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15651 if test `eval echo '${'$as_ac_var'}'` = yes; then
15652 cat >>confdefs.h <<_ACEOF
15653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15654 _ACEOF
15657 done
15664 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
15665 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
15666 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
15667 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
15668 echo $ECHO_N "(cached) $ECHO_C" >&6
15669 else
15673 ac_ext=cc
15674 ac_cpp='$CXXCPP $CPPFLAGS'
15675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15679 cat >conftest.$ac_ext <<_ACEOF
15680 /* confdefs.h. */
15681 _ACEOF
15682 cat confdefs.h >>conftest.$ac_ext
15683 cat >>conftest.$ac_ext <<_ACEOF
15684 /* end confdefs.h. */
15685 #include <math.h>
15687 main ()
15689 frexpf(0, 0);
15691 return 0;
15693 _ACEOF
15694 rm -f conftest.$ac_objext
15695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15696 (eval $ac_compile) 2>conftest.er1
15697 ac_status=$?
15698 grep -v '^ *+' conftest.er1 >conftest.err
15699 rm -f conftest.er1
15700 cat conftest.err >&5
15701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15702 (exit $ac_status); } &&
15703 { ac_try='test -z "$ac_cxx_werror_flag"
15704 || test ! -s conftest.err'
15705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15706 (eval $ac_try) 2>&5
15707 ac_status=$?
15708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709 (exit $ac_status); }; } &&
15710 { ac_try='test -s conftest.$ac_objext'
15711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15712 (eval $ac_try) 2>&5
15713 ac_status=$?
15714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15715 (exit $ac_status); }; }; then
15716 glibcxx_cv_func_frexpf_use=yes
15717 else
15718 echo "$as_me: failed program was:" >&5
15719 sed 's/^/| /' conftest.$ac_ext >&5
15721 glibcxx_cv_func_frexpf_use=no
15723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15724 ac_ext=c
15725 ac_cpp='$CPP $CPPFLAGS'
15726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15734 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
15735 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
15737 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
15739 for ac_func in frexpf
15741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15742 echo "$as_me:$LINENO: checking for $ac_func" >&5
15743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15744 if eval "test \"\${$as_ac_var+set}\" = set"; then
15745 echo $ECHO_N "(cached) $ECHO_C" >&6
15746 else
15747 if test x$gcc_no_link = xyes; then
15748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15750 { (exit 1); exit 1; }; }
15752 cat >conftest.$ac_ext <<_ACEOF
15753 /* confdefs.h. */
15754 _ACEOF
15755 cat confdefs.h >>conftest.$ac_ext
15756 cat >>conftest.$ac_ext <<_ACEOF
15757 /* end confdefs.h. */
15758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15760 #define $ac_func innocuous_$ac_func
15762 /* System header to define __stub macros and hopefully few prototypes,
15763 which can conflict with char $ac_func (); below.
15764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15765 <limits.h> exists even on freestanding compilers. */
15767 #ifdef __STDC__
15768 # include <limits.h>
15769 #else
15770 # include <assert.h>
15771 #endif
15773 #undef $ac_func
15775 /* Override any gcc2 internal prototype to avoid an error. */
15776 #ifdef __cplusplus
15777 extern "C"
15779 #endif
15780 /* We use char because int might match the return type of a gcc2
15781 builtin and then its argument prototype would still apply. */
15782 char $ac_func ();
15783 /* The GNU C library defines this for functions which it implements
15784 to always fail with ENOSYS. Some functions are actually named
15785 something starting with __ and the normal name is an alias. */
15786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15787 choke me
15788 #else
15789 char (*f) () = $ac_func;
15790 #endif
15791 #ifdef __cplusplus
15793 #endif
15796 main ()
15798 return f != $ac_func;
15800 return 0;
15802 _ACEOF
15803 rm -f conftest.$ac_objext conftest$ac_exeext
15804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15805 (eval $ac_link) 2>conftest.er1
15806 ac_status=$?
15807 grep -v '^ *+' conftest.er1 >conftest.err
15808 rm -f conftest.er1
15809 cat conftest.err >&5
15810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15811 (exit $ac_status); } &&
15812 { ac_try='test -z "$ac_c_werror_flag"
15813 || test ! -s conftest.err'
15814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15815 (eval $ac_try) 2>&5
15816 ac_status=$?
15817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15818 (exit $ac_status); }; } &&
15819 { ac_try='test -s conftest$ac_exeext'
15820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15821 (eval $ac_try) 2>&5
15822 ac_status=$?
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); }; }; then
15825 eval "$as_ac_var=yes"
15826 else
15827 echo "$as_me: failed program was:" >&5
15828 sed 's/^/| /' conftest.$ac_ext >&5
15830 eval "$as_ac_var=no"
15832 rm -f conftest.err conftest.$ac_objext \
15833 conftest$ac_exeext conftest.$ac_ext
15835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15837 if test `eval echo '${'$as_ac_var'}'` = yes; then
15838 cat >>confdefs.h <<_ACEOF
15839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15840 _ACEOF
15843 done
15845 else
15847 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
15848 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
15849 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
15850 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
15851 echo $ECHO_N "(cached) $ECHO_C" >&6
15852 else
15856 ac_ext=cc
15857 ac_cpp='$CXXCPP $CPPFLAGS'
15858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15862 cat >conftest.$ac_ext <<_ACEOF
15863 /* confdefs.h. */
15864 _ACEOF
15865 cat confdefs.h >>conftest.$ac_ext
15866 cat >>conftest.$ac_ext <<_ACEOF
15867 /* end confdefs.h. */
15868 #include <math.h>
15870 main ()
15872 _frexpf(0, 0);
15874 return 0;
15876 _ACEOF
15877 rm -f conftest.$ac_objext
15878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15879 (eval $ac_compile) 2>conftest.er1
15880 ac_status=$?
15881 grep -v '^ *+' conftest.er1 >conftest.err
15882 rm -f conftest.er1
15883 cat conftest.err >&5
15884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15885 (exit $ac_status); } &&
15886 { ac_try='test -z "$ac_cxx_werror_flag"
15887 || test ! -s conftest.err'
15888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15889 (eval $ac_try) 2>&5
15890 ac_status=$?
15891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15892 (exit $ac_status); }; } &&
15893 { ac_try='test -s conftest.$ac_objext'
15894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15895 (eval $ac_try) 2>&5
15896 ac_status=$?
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); }; }; then
15899 glibcxx_cv_func__frexpf_use=yes
15900 else
15901 echo "$as_me: failed program was:" >&5
15902 sed 's/^/| /' conftest.$ac_ext >&5
15904 glibcxx_cv_func__frexpf_use=no
15906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15907 ac_ext=c
15908 ac_cpp='$CPP $CPPFLAGS'
15909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15917 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
15918 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
15920 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
15922 for ac_func in _frexpf
15924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15925 echo "$as_me:$LINENO: checking for $ac_func" >&5
15926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15927 if eval "test \"\${$as_ac_var+set}\" = set"; then
15928 echo $ECHO_N "(cached) $ECHO_C" >&6
15929 else
15930 if test x$gcc_no_link = xyes; then
15931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15933 { (exit 1); exit 1; }; }
15935 cat >conftest.$ac_ext <<_ACEOF
15936 /* confdefs.h. */
15937 _ACEOF
15938 cat confdefs.h >>conftest.$ac_ext
15939 cat >>conftest.$ac_ext <<_ACEOF
15940 /* end confdefs.h. */
15941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15943 #define $ac_func innocuous_$ac_func
15945 /* System header to define __stub macros and hopefully few prototypes,
15946 which can conflict with char $ac_func (); below.
15947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15948 <limits.h> exists even on freestanding compilers. */
15950 #ifdef __STDC__
15951 # include <limits.h>
15952 #else
15953 # include <assert.h>
15954 #endif
15956 #undef $ac_func
15958 /* Override any gcc2 internal prototype to avoid an error. */
15959 #ifdef __cplusplus
15960 extern "C"
15962 #endif
15963 /* We use char because int might match the return type of a gcc2
15964 builtin and then its argument prototype would still apply. */
15965 char $ac_func ();
15966 /* The GNU C library defines this for functions which it implements
15967 to always fail with ENOSYS. Some functions are actually named
15968 something starting with __ and the normal name is an alias. */
15969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15970 choke me
15971 #else
15972 char (*f) () = $ac_func;
15973 #endif
15974 #ifdef __cplusplus
15976 #endif
15979 main ()
15981 return f != $ac_func;
15983 return 0;
15985 _ACEOF
15986 rm -f conftest.$ac_objext conftest$ac_exeext
15987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15988 (eval $ac_link) 2>conftest.er1
15989 ac_status=$?
15990 grep -v '^ *+' conftest.er1 >conftest.err
15991 rm -f conftest.er1
15992 cat conftest.err >&5
15993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15994 (exit $ac_status); } &&
15995 { ac_try='test -z "$ac_c_werror_flag"
15996 || test ! -s conftest.err'
15997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15998 (eval $ac_try) 2>&5
15999 ac_status=$?
16000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16001 (exit $ac_status); }; } &&
16002 { ac_try='test -s conftest$ac_exeext'
16003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16004 (eval $ac_try) 2>&5
16005 ac_status=$?
16006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16007 (exit $ac_status); }; }; then
16008 eval "$as_ac_var=yes"
16009 else
16010 echo "$as_me: failed program was:" >&5
16011 sed 's/^/| /' conftest.$ac_ext >&5
16013 eval "$as_ac_var=no"
16015 rm -f conftest.err conftest.$ac_objext \
16016 conftest$ac_exeext conftest.$ac_ext
16018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16020 if test `eval echo '${'$as_ac_var'}'` = yes; then
16021 cat >>confdefs.h <<_ACEOF
16022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16023 _ACEOF
16026 done
16033 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
16034 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
16035 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
16036 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
16037 echo $ECHO_N "(cached) $ECHO_C" >&6
16038 else
16042 ac_ext=cc
16043 ac_cpp='$CXXCPP $CPPFLAGS'
16044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16048 cat >conftest.$ac_ext <<_ACEOF
16049 /* confdefs.h. */
16050 _ACEOF
16051 cat confdefs.h >>conftest.$ac_ext
16052 cat >>conftest.$ac_ext <<_ACEOF
16053 /* end confdefs.h. */
16054 #include <math.h>
16056 main ()
16058 hypotf(0, 0);
16060 return 0;
16062 _ACEOF
16063 rm -f conftest.$ac_objext
16064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16065 (eval $ac_compile) 2>conftest.er1
16066 ac_status=$?
16067 grep -v '^ *+' conftest.er1 >conftest.err
16068 rm -f conftest.er1
16069 cat conftest.err >&5
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); } &&
16072 { ac_try='test -z "$ac_cxx_werror_flag"
16073 || test ! -s conftest.err'
16074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16075 (eval $ac_try) 2>&5
16076 ac_status=$?
16077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16078 (exit $ac_status); }; } &&
16079 { ac_try='test -s conftest.$ac_objext'
16080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16081 (eval $ac_try) 2>&5
16082 ac_status=$?
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); }; }; then
16085 glibcxx_cv_func_hypotf_use=yes
16086 else
16087 echo "$as_me: failed program was:" >&5
16088 sed 's/^/| /' conftest.$ac_ext >&5
16090 glibcxx_cv_func_hypotf_use=no
16092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16093 ac_ext=c
16094 ac_cpp='$CPP $CPPFLAGS'
16095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16103 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
16104 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
16106 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
16108 for ac_func in hypotf
16110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16111 echo "$as_me:$LINENO: checking for $ac_func" >&5
16112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16113 if eval "test \"\${$as_ac_var+set}\" = set"; then
16114 echo $ECHO_N "(cached) $ECHO_C" >&6
16115 else
16116 if test x$gcc_no_link = xyes; then
16117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16119 { (exit 1); exit 1; }; }
16121 cat >conftest.$ac_ext <<_ACEOF
16122 /* confdefs.h. */
16123 _ACEOF
16124 cat confdefs.h >>conftest.$ac_ext
16125 cat >>conftest.$ac_ext <<_ACEOF
16126 /* end confdefs.h. */
16127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16129 #define $ac_func innocuous_$ac_func
16131 /* System header to define __stub macros and hopefully few prototypes,
16132 which can conflict with char $ac_func (); below.
16133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16134 <limits.h> exists even on freestanding compilers. */
16136 #ifdef __STDC__
16137 # include <limits.h>
16138 #else
16139 # include <assert.h>
16140 #endif
16142 #undef $ac_func
16144 /* Override any gcc2 internal prototype to avoid an error. */
16145 #ifdef __cplusplus
16146 extern "C"
16148 #endif
16149 /* We use char because int might match the return type of a gcc2
16150 builtin and then its argument prototype would still apply. */
16151 char $ac_func ();
16152 /* The GNU C library defines this for functions which it implements
16153 to always fail with ENOSYS. Some functions are actually named
16154 something starting with __ and the normal name is an alias. */
16155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16156 choke me
16157 #else
16158 char (*f) () = $ac_func;
16159 #endif
16160 #ifdef __cplusplus
16162 #endif
16165 main ()
16167 return f != $ac_func;
16169 return 0;
16171 _ACEOF
16172 rm -f conftest.$ac_objext conftest$ac_exeext
16173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16174 (eval $ac_link) 2>conftest.er1
16175 ac_status=$?
16176 grep -v '^ *+' conftest.er1 >conftest.err
16177 rm -f conftest.er1
16178 cat conftest.err >&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); } &&
16181 { ac_try='test -z "$ac_c_werror_flag"
16182 || test ! -s conftest.err'
16183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16184 (eval $ac_try) 2>&5
16185 ac_status=$?
16186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187 (exit $ac_status); }; } &&
16188 { ac_try='test -s conftest$ac_exeext'
16189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16190 (eval $ac_try) 2>&5
16191 ac_status=$?
16192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16193 (exit $ac_status); }; }; then
16194 eval "$as_ac_var=yes"
16195 else
16196 echo "$as_me: failed program was:" >&5
16197 sed 's/^/| /' conftest.$ac_ext >&5
16199 eval "$as_ac_var=no"
16201 rm -f conftest.err conftest.$ac_objext \
16202 conftest$ac_exeext conftest.$ac_ext
16204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16206 if test `eval echo '${'$as_ac_var'}'` = yes; then
16207 cat >>confdefs.h <<_ACEOF
16208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16209 _ACEOF
16212 done
16214 else
16216 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
16217 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
16218 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
16219 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
16220 echo $ECHO_N "(cached) $ECHO_C" >&6
16221 else
16225 ac_ext=cc
16226 ac_cpp='$CXXCPP $CPPFLAGS'
16227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16231 cat >conftest.$ac_ext <<_ACEOF
16232 /* confdefs.h. */
16233 _ACEOF
16234 cat confdefs.h >>conftest.$ac_ext
16235 cat >>conftest.$ac_ext <<_ACEOF
16236 /* end confdefs.h. */
16237 #include <math.h>
16239 main ()
16241 _hypotf(0, 0);
16243 return 0;
16245 _ACEOF
16246 rm -f conftest.$ac_objext
16247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16248 (eval $ac_compile) 2>conftest.er1
16249 ac_status=$?
16250 grep -v '^ *+' conftest.er1 >conftest.err
16251 rm -f conftest.er1
16252 cat conftest.err >&5
16253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254 (exit $ac_status); } &&
16255 { ac_try='test -z "$ac_cxx_werror_flag"
16256 || test ! -s conftest.err'
16257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16258 (eval $ac_try) 2>&5
16259 ac_status=$?
16260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16261 (exit $ac_status); }; } &&
16262 { ac_try='test -s conftest.$ac_objext'
16263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16264 (eval $ac_try) 2>&5
16265 ac_status=$?
16266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16267 (exit $ac_status); }; }; then
16268 glibcxx_cv_func__hypotf_use=yes
16269 else
16270 echo "$as_me: failed program was:" >&5
16271 sed 's/^/| /' conftest.$ac_ext >&5
16273 glibcxx_cv_func__hypotf_use=no
16275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16276 ac_ext=c
16277 ac_cpp='$CPP $CPPFLAGS'
16278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16286 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
16287 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
16289 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
16291 for ac_func in _hypotf
16293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16294 echo "$as_me:$LINENO: checking for $ac_func" >&5
16295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16296 if eval "test \"\${$as_ac_var+set}\" = set"; then
16297 echo $ECHO_N "(cached) $ECHO_C" >&6
16298 else
16299 if test x$gcc_no_link = xyes; then
16300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16302 { (exit 1); exit 1; }; }
16304 cat >conftest.$ac_ext <<_ACEOF
16305 /* confdefs.h. */
16306 _ACEOF
16307 cat confdefs.h >>conftest.$ac_ext
16308 cat >>conftest.$ac_ext <<_ACEOF
16309 /* end confdefs.h. */
16310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16312 #define $ac_func innocuous_$ac_func
16314 /* System header to define __stub macros and hopefully few prototypes,
16315 which can conflict with char $ac_func (); below.
16316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16317 <limits.h> exists even on freestanding compilers. */
16319 #ifdef __STDC__
16320 # include <limits.h>
16321 #else
16322 # include <assert.h>
16323 #endif
16325 #undef $ac_func
16327 /* Override any gcc2 internal prototype to avoid an error. */
16328 #ifdef __cplusplus
16329 extern "C"
16331 #endif
16332 /* We use char because int might match the return type of a gcc2
16333 builtin and then its argument prototype would still apply. */
16334 char $ac_func ();
16335 /* The GNU C library defines this for functions which it implements
16336 to always fail with ENOSYS. Some functions are actually named
16337 something starting with __ and the normal name is an alias. */
16338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16339 choke me
16340 #else
16341 char (*f) () = $ac_func;
16342 #endif
16343 #ifdef __cplusplus
16345 #endif
16348 main ()
16350 return f != $ac_func;
16352 return 0;
16354 _ACEOF
16355 rm -f conftest.$ac_objext conftest$ac_exeext
16356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16357 (eval $ac_link) 2>conftest.er1
16358 ac_status=$?
16359 grep -v '^ *+' conftest.er1 >conftest.err
16360 rm -f conftest.er1
16361 cat conftest.err >&5
16362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363 (exit $ac_status); } &&
16364 { ac_try='test -z "$ac_c_werror_flag"
16365 || test ! -s conftest.err'
16366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16367 (eval $ac_try) 2>&5
16368 ac_status=$?
16369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16370 (exit $ac_status); }; } &&
16371 { ac_try='test -s conftest$ac_exeext'
16372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16373 (eval $ac_try) 2>&5
16374 ac_status=$?
16375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); }; }; then
16377 eval "$as_ac_var=yes"
16378 else
16379 echo "$as_me: failed program was:" >&5
16380 sed 's/^/| /' conftest.$ac_ext >&5
16382 eval "$as_ac_var=no"
16384 rm -f conftest.err conftest.$ac_objext \
16385 conftest$ac_exeext conftest.$ac_ext
16387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16389 if test `eval echo '${'$as_ac_var'}'` = yes; then
16390 cat >>confdefs.h <<_ACEOF
16391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16392 _ACEOF
16395 done
16402 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
16403 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
16404 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
16405 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
16406 echo $ECHO_N "(cached) $ECHO_C" >&6
16407 else
16411 ac_ext=cc
16412 ac_cpp='$CXXCPP $CPPFLAGS'
16413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16417 cat >conftest.$ac_ext <<_ACEOF
16418 /* confdefs.h. */
16419 _ACEOF
16420 cat confdefs.h >>conftest.$ac_ext
16421 cat >>conftest.$ac_ext <<_ACEOF
16422 /* end confdefs.h. */
16423 #include <math.h>
16425 main ()
16427 ldexpf(0, 0);
16429 return 0;
16431 _ACEOF
16432 rm -f conftest.$ac_objext
16433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16434 (eval $ac_compile) 2>conftest.er1
16435 ac_status=$?
16436 grep -v '^ *+' conftest.er1 >conftest.err
16437 rm -f conftest.er1
16438 cat conftest.err >&5
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); } &&
16441 { ac_try='test -z "$ac_cxx_werror_flag"
16442 || test ! -s conftest.err'
16443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16444 (eval $ac_try) 2>&5
16445 ac_status=$?
16446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447 (exit $ac_status); }; } &&
16448 { ac_try='test -s conftest.$ac_objext'
16449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16450 (eval $ac_try) 2>&5
16451 ac_status=$?
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); }; }; then
16454 glibcxx_cv_func_ldexpf_use=yes
16455 else
16456 echo "$as_me: failed program was:" >&5
16457 sed 's/^/| /' conftest.$ac_ext >&5
16459 glibcxx_cv_func_ldexpf_use=no
16461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16462 ac_ext=c
16463 ac_cpp='$CPP $CPPFLAGS'
16464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16472 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
16473 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
16475 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
16477 for ac_func in ldexpf
16479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16480 echo "$as_me:$LINENO: checking for $ac_func" >&5
16481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16482 if eval "test \"\${$as_ac_var+set}\" = set"; then
16483 echo $ECHO_N "(cached) $ECHO_C" >&6
16484 else
16485 if test x$gcc_no_link = xyes; then
16486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16488 { (exit 1); exit 1; }; }
16490 cat >conftest.$ac_ext <<_ACEOF
16491 /* confdefs.h. */
16492 _ACEOF
16493 cat confdefs.h >>conftest.$ac_ext
16494 cat >>conftest.$ac_ext <<_ACEOF
16495 /* end confdefs.h. */
16496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16498 #define $ac_func innocuous_$ac_func
16500 /* System header to define __stub macros and hopefully few prototypes,
16501 which can conflict with char $ac_func (); below.
16502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16503 <limits.h> exists even on freestanding compilers. */
16505 #ifdef __STDC__
16506 # include <limits.h>
16507 #else
16508 # include <assert.h>
16509 #endif
16511 #undef $ac_func
16513 /* Override any gcc2 internal prototype to avoid an error. */
16514 #ifdef __cplusplus
16515 extern "C"
16517 #endif
16518 /* We use char because int might match the return type of a gcc2
16519 builtin and then its argument prototype would still apply. */
16520 char $ac_func ();
16521 /* The GNU C library defines this for functions which it implements
16522 to always fail with ENOSYS. Some functions are actually named
16523 something starting with __ and the normal name is an alias. */
16524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16525 choke me
16526 #else
16527 char (*f) () = $ac_func;
16528 #endif
16529 #ifdef __cplusplus
16531 #endif
16534 main ()
16536 return f != $ac_func;
16538 return 0;
16540 _ACEOF
16541 rm -f conftest.$ac_objext conftest$ac_exeext
16542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16543 (eval $ac_link) 2>conftest.er1
16544 ac_status=$?
16545 grep -v '^ *+' conftest.er1 >conftest.err
16546 rm -f conftest.er1
16547 cat conftest.err >&5
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 (exit $ac_status); } &&
16550 { ac_try='test -z "$ac_c_werror_flag"
16551 || test ! -s conftest.err'
16552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16553 (eval $ac_try) 2>&5
16554 ac_status=$?
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); }; } &&
16557 { ac_try='test -s conftest$ac_exeext'
16558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16559 (eval $ac_try) 2>&5
16560 ac_status=$?
16561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562 (exit $ac_status); }; }; then
16563 eval "$as_ac_var=yes"
16564 else
16565 echo "$as_me: failed program was:" >&5
16566 sed 's/^/| /' conftest.$ac_ext >&5
16568 eval "$as_ac_var=no"
16570 rm -f conftest.err conftest.$ac_objext \
16571 conftest$ac_exeext conftest.$ac_ext
16573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16575 if test `eval echo '${'$as_ac_var'}'` = yes; then
16576 cat >>confdefs.h <<_ACEOF
16577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16578 _ACEOF
16581 done
16583 else
16585 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
16586 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
16587 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
16588 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
16589 echo $ECHO_N "(cached) $ECHO_C" >&6
16590 else
16594 ac_ext=cc
16595 ac_cpp='$CXXCPP $CPPFLAGS'
16596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16600 cat >conftest.$ac_ext <<_ACEOF
16601 /* confdefs.h. */
16602 _ACEOF
16603 cat confdefs.h >>conftest.$ac_ext
16604 cat >>conftest.$ac_ext <<_ACEOF
16605 /* end confdefs.h. */
16606 #include <math.h>
16608 main ()
16610 _ldexpf(0, 0);
16612 return 0;
16614 _ACEOF
16615 rm -f conftest.$ac_objext
16616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16617 (eval $ac_compile) 2>conftest.er1
16618 ac_status=$?
16619 grep -v '^ *+' conftest.er1 >conftest.err
16620 rm -f conftest.er1
16621 cat conftest.err >&5
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); } &&
16624 { ac_try='test -z "$ac_cxx_werror_flag"
16625 || test ! -s conftest.err'
16626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16627 (eval $ac_try) 2>&5
16628 ac_status=$?
16629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16630 (exit $ac_status); }; } &&
16631 { ac_try='test -s conftest.$ac_objext'
16632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16633 (eval $ac_try) 2>&5
16634 ac_status=$?
16635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16636 (exit $ac_status); }; }; then
16637 glibcxx_cv_func__ldexpf_use=yes
16638 else
16639 echo "$as_me: failed program was:" >&5
16640 sed 's/^/| /' conftest.$ac_ext >&5
16642 glibcxx_cv_func__ldexpf_use=no
16644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16645 ac_ext=c
16646 ac_cpp='$CPP $CPPFLAGS'
16647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16655 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
16656 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
16658 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
16660 for ac_func in _ldexpf
16662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16663 echo "$as_me:$LINENO: checking for $ac_func" >&5
16664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16665 if eval "test \"\${$as_ac_var+set}\" = set"; then
16666 echo $ECHO_N "(cached) $ECHO_C" >&6
16667 else
16668 if test x$gcc_no_link = xyes; then
16669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16671 { (exit 1); exit 1; }; }
16673 cat >conftest.$ac_ext <<_ACEOF
16674 /* confdefs.h. */
16675 _ACEOF
16676 cat confdefs.h >>conftest.$ac_ext
16677 cat >>conftest.$ac_ext <<_ACEOF
16678 /* end confdefs.h. */
16679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16681 #define $ac_func innocuous_$ac_func
16683 /* System header to define __stub macros and hopefully few prototypes,
16684 which can conflict with char $ac_func (); below.
16685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16686 <limits.h> exists even on freestanding compilers. */
16688 #ifdef __STDC__
16689 # include <limits.h>
16690 #else
16691 # include <assert.h>
16692 #endif
16694 #undef $ac_func
16696 /* Override any gcc2 internal prototype to avoid an error. */
16697 #ifdef __cplusplus
16698 extern "C"
16700 #endif
16701 /* We use char because int might match the return type of a gcc2
16702 builtin and then its argument prototype would still apply. */
16703 char $ac_func ();
16704 /* The GNU C library defines this for functions which it implements
16705 to always fail with ENOSYS. Some functions are actually named
16706 something starting with __ and the normal name is an alias. */
16707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16708 choke me
16709 #else
16710 char (*f) () = $ac_func;
16711 #endif
16712 #ifdef __cplusplus
16714 #endif
16717 main ()
16719 return f != $ac_func;
16721 return 0;
16723 _ACEOF
16724 rm -f conftest.$ac_objext conftest$ac_exeext
16725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16726 (eval $ac_link) 2>conftest.er1
16727 ac_status=$?
16728 grep -v '^ *+' conftest.er1 >conftest.err
16729 rm -f conftest.er1
16730 cat conftest.err >&5
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); } &&
16733 { ac_try='test -z "$ac_c_werror_flag"
16734 || test ! -s conftest.err'
16735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16736 (eval $ac_try) 2>&5
16737 ac_status=$?
16738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16739 (exit $ac_status); }; } &&
16740 { ac_try='test -s conftest$ac_exeext'
16741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16742 (eval $ac_try) 2>&5
16743 ac_status=$?
16744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16745 (exit $ac_status); }; }; then
16746 eval "$as_ac_var=yes"
16747 else
16748 echo "$as_me: failed program was:" >&5
16749 sed 's/^/| /' conftest.$ac_ext >&5
16751 eval "$as_ac_var=no"
16753 rm -f conftest.err conftest.$ac_objext \
16754 conftest$ac_exeext conftest.$ac_ext
16756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16758 if test `eval echo '${'$as_ac_var'}'` = yes; then
16759 cat >>confdefs.h <<_ACEOF
16760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16761 _ACEOF
16764 done
16771 echo "$as_me:$LINENO: checking for logf declaration" >&5
16772 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
16773 if test x${glibcxx_cv_func_logf_use+set} != xset; then
16774 if test "${glibcxx_cv_func_logf_use+set}" = set; then
16775 echo $ECHO_N "(cached) $ECHO_C" >&6
16776 else
16780 ac_ext=cc
16781 ac_cpp='$CXXCPP $CPPFLAGS'
16782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16786 cat >conftest.$ac_ext <<_ACEOF
16787 /* confdefs.h. */
16788 _ACEOF
16789 cat confdefs.h >>conftest.$ac_ext
16790 cat >>conftest.$ac_ext <<_ACEOF
16791 /* end confdefs.h. */
16792 #include <math.h>
16793 #ifdef HAVE_IEEEFP_H
16794 #include <ieeefp.h>
16795 #endif
16798 main ()
16800 logf(0);
16802 return 0;
16804 _ACEOF
16805 rm -f conftest.$ac_objext
16806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16807 (eval $ac_compile) 2>conftest.er1
16808 ac_status=$?
16809 grep -v '^ *+' conftest.er1 >conftest.err
16810 rm -f conftest.er1
16811 cat conftest.err >&5
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); } &&
16814 { ac_try='test -z "$ac_cxx_werror_flag"
16815 || test ! -s conftest.err'
16816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16817 (eval $ac_try) 2>&5
16818 ac_status=$?
16819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 (exit $ac_status); }; } &&
16821 { ac_try='test -s conftest.$ac_objext'
16822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16823 (eval $ac_try) 2>&5
16824 ac_status=$?
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); }; }; then
16827 glibcxx_cv_func_logf_use=yes
16828 else
16829 echo "$as_me: failed program was:" >&5
16830 sed 's/^/| /' conftest.$ac_ext >&5
16832 glibcxx_cv_func_logf_use=no
16834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16835 ac_ext=c
16836 ac_cpp='$CPP $CPPFLAGS'
16837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16845 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
16846 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
16848 if test x$glibcxx_cv_func_logf_use = x"yes"; then
16850 for ac_func in logf
16852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16853 echo "$as_me:$LINENO: checking for $ac_func" >&5
16854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16855 if eval "test \"\${$as_ac_var+set}\" = set"; then
16856 echo $ECHO_N "(cached) $ECHO_C" >&6
16857 else
16858 if test x$gcc_no_link = xyes; then
16859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16861 { (exit 1); exit 1; }; }
16863 cat >conftest.$ac_ext <<_ACEOF
16864 /* confdefs.h. */
16865 _ACEOF
16866 cat confdefs.h >>conftest.$ac_ext
16867 cat >>conftest.$ac_ext <<_ACEOF
16868 /* end confdefs.h. */
16869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16871 #define $ac_func innocuous_$ac_func
16873 /* System header to define __stub macros and hopefully few prototypes,
16874 which can conflict with char $ac_func (); below.
16875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16876 <limits.h> exists even on freestanding compilers. */
16878 #ifdef __STDC__
16879 # include <limits.h>
16880 #else
16881 # include <assert.h>
16882 #endif
16884 #undef $ac_func
16886 /* Override any gcc2 internal prototype to avoid an error. */
16887 #ifdef __cplusplus
16888 extern "C"
16890 #endif
16891 /* We use char because int might match the return type of a gcc2
16892 builtin and then its argument prototype would still apply. */
16893 char $ac_func ();
16894 /* The GNU C library defines this for functions which it implements
16895 to always fail with ENOSYS. Some functions are actually named
16896 something starting with __ and the normal name is an alias. */
16897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16898 choke me
16899 #else
16900 char (*f) () = $ac_func;
16901 #endif
16902 #ifdef __cplusplus
16904 #endif
16907 main ()
16909 return f != $ac_func;
16911 return 0;
16913 _ACEOF
16914 rm -f conftest.$ac_objext conftest$ac_exeext
16915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16916 (eval $ac_link) 2>conftest.er1
16917 ac_status=$?
16918 grep -v '^ *+' conftest.er1 >conftest.err
16919 rm -f conftest.er1
16920 cat conftest.err >&5
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); } &&
16923 { ac_try='test -z "$ac_c_werror_flag"
16924 || test ! -s conftest.err'
16925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16926 (eval $ac_try) 2>&5
16927 ac_status=$?
16928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929 (exit $ac_status); }; } &&
16930 { ac_try='test -s conftest$ac_exeext'
16931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16932 (eval $ac_try) 2>&5
16933 ac_status=$?
16934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 (exit $ac_status); }; }; then
16936 eval "$as_ac_var=yes"
16937 else
16938 echo "$as_me: failed program was:" >&5
16939 sed 's/^/| /' conftest.$ac_ext >&5
16941 eval "$as_ac_var=no"
16943 rm -f conftest.err conftest.$ac_objext \
16944 conftest$ac_exeext conftest.$ac_ext
16946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16948 if test `eval echo '${'$as_ac_var'}'` = yes; then
16949 cat >>confdefs.h <<_ACEOF
16950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16951 _ACEOF
16954 done
16956 else
16958 echo "$as_me:$LINENO: checking for _logf declaration" >&5
16959 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
16960 if test x${glibcxx_cv_func__logf_use+set} != xset; then
16961 if test "${glibcxx_cv_func__logf_use+set}" = set; then
16962 echo $ECHO_N "(cached) $ECHO_C" >&6
16963 else
16967 ac_ext=cc
16968 ac_cpp='$CXXCPP $CPPFLAGS'
16969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16973 cat >conftest.$ac_ext <<_ACEOF
16974 /* confdefs.h. */
16975 _ACEOF
16976 cat confdefs.h >>conftest.$ac_ext
16977 cat >>conftest.$ac_ext <<_ACEOF
16978 /* end confdefs.h. */
16979 #include <math.h>
16980 #ifdef HAVE_IEEEFP_H
16981 #include <ieeefp.h>
16982 #endif
16985 main ()
16987 _logf(0);
16989 return 0;
16991 _ACEOF
16992 rm -f conftest.$ac_objext
16993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16994 (eval $ac_compile) 2>conftest.er1
16995 ac_status=$?
16996 grep -v '^ *+' conftest.er1 >conftest.err
16997 rm -f conftest.er1
16998 cat conftest.err >&5
16999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000 (exit $ac_status); } &&
17001 { ac_try='test -z "$ac_cxx_werror_flag"
17002 || test ! -s conftest.err'
17003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17004 (eval $ac_try) 2>&5
17005 ac_status=$?
17006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17007 (exit $ac_status); }; } &&
17008 { ac_try='test -s conftest.$ac_objext'
17009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17010 (eval $ac_try) 2>&5
17011 ac_status=$?
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); }; }; then
17014 glibcxx_cv_func__logf_use=yes
17015 else
17016 echo "$as_me: failed program was:" >&5
17017 sed 's/^/| /' conftest.$ac_ext >&5
17019 glibcxx_cv_func__logf_use=no
17021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17022 ac_ext=c
17023 ac_cpp='$CPP $CPPFLAGS'
17024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17032 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
17033 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
17035 if test x$glibcxx_cv_func__logf_use = x"yes"; then
17037 for ac_func in _logf
17039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17040 echo "$as_me:$LINENO: checking for $ac_func" >&5
17041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17042 if eval "test \"\${$as_ac_var+set}\" = set"; then
17043 echo $ECHO_N "(cached) $ECHO_C" >&6
17044 else
17045 if test x$gcc_no_link = xyes; then
17046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17048 { (exit 1); exit 1; }; }
17050 cat >conftest.$ac_ext <<_ACEOF
17051 /* confdefs.h. */
17052 _ACEOF
17053 cat confdefs.h >>conftest.$ac_ext
17054 cat >>conftest.$ac_ext <<_ACEOF
17055 /* end confdefs.h. */
17056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17058 #define $ac_func innocuous_$ac_func
17060 /* System header to define __stub macros and hopefully few prototypes,
17061 which can conflict with char $ac_func (); below.
17062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17063 <limits.h> exists even on freestanding compilers. */
17065 #ifdef __STDC__
17066 # include <limits.h>
17067 #else
17068 # include <assert.h>
17069 #endif
17071 #undef $ac_func
17073 /* Override any gcc2 internal prototype to avoid an error. */
17074 #ifdef __cplusplus
17075 extern "C"
17077 #endif
17078 /* We use char because int might match the return type of a gcc2
17079 builtin and then its argument prototype would still apply. */
17080 char $ac_func ();
17081 /* The GNU C library defines this for functions which it implements
17082 to always fail with ENOSYS. Some functions are actually named
17083 something starting with __ and the normal name is an alias. */
17084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17085 choke me
17086 #else
17087 char (*f) () = $ac_func;
17088 #endif
17089 #ifdef __cplusplus
17091 #endif
17094 main ()
17096 return f != $ac_func;
17098 return 0;
17100 _ACEOF
17101 rm -f conftest.$ac_objext conftest$ac_exeext
17102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17103 (eval $ac_link) 2>conftest.er1
17104 ac_status=$?
17105 grep -v '^ *+' conftest.er1 >conftest.err
17106 rm -f conftest.er1
17107 cat conftest.err >&5
17108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17109 (exit $ac_status); } &&
17110 { ac_try='test -z "$ac_c_werror_flag"
17111 || test ! -s conftest.err'
17112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17113 (eval $ac_try) 2>&5
17114 ac_status=$?
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); }; } &&
17117 { ac_try='test -s conftest$ac_exeext'
17118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17119 (eval $ac_try) 2>&5
17120 ac_status=$?
17121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17122 (exit $ac_status); }; }; then
17123 eval "$as_ac_var=yes"
17124 else
17125 echo "$as_me: failed program was:" >&5
17126 sed 's/^/| /' conftest.$ac_ext >&5
17128 eval "$as_ac_var=no"
17130 rm -f conftest.err conftest.$ac_objext \
17131 conftest$ac_exeext conftest.$ac_ext
17133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17135 if test `eval echo '${'$as_ac_var'}'` = yes; then
17136 cat >>confdefs.h <<_ACEOF
17137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17138 _ACEOF
17141 done
17148 echo "$as_me:$LINENO: checking for log10f declaration" >&5
17149 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
17150 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
17151 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
17152 echo $ECHO_N "(cached) $ECHO_C" >&6
17153 else
17157 ac_ext=cc
17158 ac_cpp='$CXXCPP $CPPFLAGS'
17159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17163 cat >conftest.$ac_ext <<_ACEOF
17164 /* confdefs.h. */
17165 _ACEOF
17166 cat confdefs.h >>conftest.$ac_ext
17167 cat >>conftest.$ac_ext <<_ACEOF
17168 /* end confdefs.h. */
17169 #include <math.h>
17170 #ifdef HAVE_IEEEFP_H
17171 #include <ieeefp.h>
17172 #endif
17175 main ()
17177 log10f(0);
17179 return 0;
17181 _ACEOF
17182 rm -f conftest.$ac_objext
17183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17184 (eval $ac_compile) 2>conftest.er1
17185 ac_status=$?
17186 grep -v '^ *+' conftest.er1 >conftest.err
17187 rm -f conftest.er1
17188 cat conftest.err >&5
17189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17190 (exit $ac_status); } &&
17191 { ac_try='test -z "$ac_cxx_werror_flag"
17192 || test ! -s conftest.err'
17193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17194 (eval $ac_try) 2>&5
17195 ac_status=$?
17196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17197 (exit $ac_status); }; } &&
17198 { ac_try='test -s conftest.$ac_objext'
17199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17200 (eval $ac_try) 2>&5
17201 ac_status=$?
17202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17203 (exit $ac_status); }; }; then
17204 glibcxx_cv_func_log10f_use=yes
17205 else
17206 echo "$as_me: failed program was:" >&5
17207 sed 's/^/| /' conftest.$ac_ext >&5
17209 glibcxx_cv_func_log10f_use=no
17211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17212 ac_ext=c
17213 ac_cpp='$CPP $CPPFLAGS'
17214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17222 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
17223 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
17225 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
17227 for ac_func in log10f
17229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17230 echo "$as_me:$LINENO: checking for $ac_func" >&5
17231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17232 if eval "test \"\${$as_ac_var+set}\" = set"; then
17233 echo $ECHO_N "(cached) $ECHO_C" >&6
17234 else
17235 if test x$gcc_no_link = xyes; then
17236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17238 { (exit 1); exit 1; }; }
17240 cat >conftest.$ac_ext <<_ACEOF
17241 /* confdefs.h. */
17242 _ACEOF
17243 cat confdefs.h >>conftest.$ac_ext
17244 cat >>conftest.$ac_ext <<_ACEOF
17245 /* end confdefs.h. */
17246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17248 #define $ac_func innocuous_$ac_func
17250 /* System header to define __stub macros and hopefully few prototypes,
17251 which can conflict with char $ac_func (); below.
17252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17253 <limits.h> exists even on freestanding compilers. */
17255 #ifdef __STDC__
17256 # include <limits.h>
17257 #else
17258 # include <assert.h>
17259 #endif
17261 #undef $ac_func
17263 /* Override any gcc2 internal prototype to avoid an error. */
17264 #ifdef __cplusplus
17265 extern "C"
17267 #endif
17268 /* We use char because int might match the return type of a gcc2
17269 builtin and then its argument prototype would still apply. */
17270 char $ac_func ();
17271 /* The GNU C library defines this for functions which it implements
17272 to always fail with ENOSYS. Some functions are actually named
17273 something starting with __ and the normal name is an alias. */
17274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17275 choke me
17276 #else
17277 char (*f) () = $ac_func;
17278 #endif
17279 #ifdef __cplusplus
17281 #endif
17284 main ()
17286 return f != $ac_func;
17288 return 0;
17290 _ACEOF
17291 rm -f conftest.$ac_objext conftest$ac_exeext
17292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17293 (eval $ac_link) 2>conftest.er1
17294 ac_status=$?
17295 grep -v '^ *+' conftest.er1 >conftest.err
17296 rm -f conftest.er1
17297 cat conftest.err >&5
17298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17299 (exit $ac_status); } &&
17300 { ac_try='test -z "$ac_c_werror_flag"
17301 || test ! -s conftest.err'
17302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17303 (eval $ac_try) 2>&5
17304 ac_status=$?
17305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306 (exit $ac_status); }; } &&
17307 { ac_try='test -s conftest$ac_exeext'
17308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17309 (eval $ac_try) 2>&5
17310 ac_status=$?
17311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17312 (exit $ac_status); }; }; then
17313 eval "$as_ac_var=yes"
17314 else
17315 echo "$as_me: failed program was:" >&5
17316 sed 's/^/| /' conftest.$ac_ext >&5
17318 eval "$as_ac_var=no"
17320 rm -f conftest.err conftest.$ac_objext \
17321 conftest$ac_exeext conftest.$ac_ext
17323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17325 if test `eval echo '${'$as_ac_var'}'` = yes; then
17326 cat >>confdefs.h <<_ACEOF
17327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17328 _ACEOF
17331 done
17333 else
17335 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
17336 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
17337 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
17338 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
17339 echo $ECHO_N "(cached) $ECHO_C" >&6
17340 else
17344 ac_ext=cc
17345 ac_cpp='$CXXCPP $CPPFLAGS'
17346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17350 cat >conftest.$ac_ext <<_ACEOF
17351 /* confdefs.h. */
17352 _ACEOF
17353 cat confdefs.h >>conftest.$ac_ext
17354 cat >>conftest.$ac_ext <<_ACEOF
17355 /* end confdefs.h. */
17356 #include <math.h>
17357 #ifdef HAVE_IEEEFP_H
17358 #include <ieeefp.h>
17359 #endif
17362 main ()
17364 _log10f(0);
17366 return 0;
17368 _ACEOF
17369 rm -f conftest.$ac_objext
17370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17371 (eval $ac_compile) 2>conftest.er1
17372 ac_status=$?
17373 grep -v '^ *+' conftest.er1 >conftest.err
17374 rm -f conftest.er1
17375 cat conftest.err >&5
17376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17377 (exit $ac_status); } &&
17378 { ac_try='test -z "$ac_cxx_werror_flag"
17379 || test ! -s conftest.err'
17380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17381 (eval $ac_try) 2>&5
17382 ac_status=$?
17383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384 (exit $ac_status); }; } &&
17385 { ac_try='test -s conftest.$ac_objext'
17386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17387 (eval $ac_try) 2>&5
17388 ac_status=$?
17389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390 (exit $ac_status); }; }; then
17391 glibcxx_cv_func__log10f_use=yes
17392 else
17393 echo "$as_me: failed program was:" >&5
17394 sed 's/^/| /' conftest.$ac_ext >&5
17396 glibcxx_cv_func__log10f_use=no
17398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17399 ac_ext=c
17400 ac_cpp='$CPP $CPPFLAGS'
17401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17409 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
17410 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
17412 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
17414 for ac_func in _log10f
17416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17417 echo "$as_me:$LINENO: checking for $ac_func" >&5
17418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17419 if eval "test \"\${$as_ac_var+set}\" = set"; then
17420 echo $ECHO_N "(cached) $ECHO_C" >&6
17421 else
17422 if test x$gcc_no_link = xyes; then
17423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17425 { (exit 1); exit 1; }; }
17427 cat >conftest.$ac_ext <<_ACEOF
17428 /* confdefs.h. */
17429 _ACEOF
17430 cat confdefs.h >>conftest.$ac_ext
17431 cat >>conftest.$ac_ext <<_ACEOF
17432 /* end confdefs.h. */
17433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17435 #define $ac_func innocuous_$ac_func
17437 /* System header to define __stub macros and hopefully few prototypes,
17438 which can conflict with char $ac_func (); below.
17439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17440 <limits.h> exists even on freestanding compilers. */
17442 #ifdef __STDC__
17443 # include <limits.h>
17444 #else
17445 # include <assert.h>
17446 #endif
17448 #undef $ac_func
17450 /* Override any gcc2 internal prototype to avoid an error. */
17451 #ifdef __cplusplus
17452 extern "C"
17454 #endif
17455 /* We use char because int might match the return type of a gcc2
17456 builtin and then its argument prototype would still apply. */
17457 char $ac_func ();
17458 /* The GNU C library defines this for functions which it implements
17459 to always fail with ENOSYS. Some functions are actually named
17460 something starting with __ and the normal name is an alias. */
17461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17462 choke me
17463 #else
17464 char (*f) () = $ac_func;
17465 #endif
17466 #ifdef __cplusplus
17468 #endif
17471 main ()
17473 return f != $ac_func;
17475 return 0;
17477 _ACEOF
17478 rm -f conftest.$ac_objext conftest$ac_exeext
17479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17480 (eval $ac_link) 2>conftest.er1
17481 ac_status=$?
17482 grep -v '^ *+' conftest.er1 >conftest.err
17483 rm -f conftest.er1
17484 cat conftest.err >&5
17485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17486 (exit $ac_status); } &&
17487 { ac_try='test -z "$ac_c_werror_flag"
17488 || test ! -s conftest.err'
17489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17490 (eval $ac_try) 2>&5
17491 ac_status=$?
17492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17493 (exit $ac_status); }; } &&
17494 { ac_try='test -s conftest$ac_exeext'
17495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17496 (eval $ac_try) 2>&5
17497 ac_status=$?
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); }; }; then
17500 eval "$as_ac_var=yes"
17501 else
17502 echo "$as_me: failed program was:" >&5
17503 sed 's/^/| /' conftest.$ac_ext >&5
17505 eval "$as_ac_var=no"
17507 rm -f conftest.err conftest.$ac_objext \
17508 conftest$ac_exeext conftest.$ac_ext
17510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17512 if test `eval echo '${'$as_ac_var'}'` = yes; then
17513 cat >>confdefs.h <<_ACEOF
17514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17515 _ACEOF
17518 done
17525 echo "$as_me:$LINENO: checking for modff declaration" >&5
17526 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
17527 if test x${glibcxx_cv_func_modff_use+set} != xset; then
17528 if test "${glibcxx_cv_func_modff_use+set}" = set; then
17529 echo $ECHO_N "(cached) $ECHO_C" >&6
17530 else
17534 ac_ext=cc
17535 ac_cpp='$CXXCPP $CPPFLAGS'
17536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17540 cat >conftest.$ac_ext <<_ACEOF
17541 /* confdefs.h. */
17542 _ACEOF
17543 cat confdefs.h >>conftest.$ac_ext
17544 cat >>conftest.$ac_ext <<_ACEOF
17545 /* end confdefs.h. */
17546 #include <math.h>
17548 main ()
17550 modff(0, 0);
17552 return 0;
17554 _ACEOF
17555 rm -f conftest.$ac_objext
17556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17557 (eval $ac_compile) 2>conftest.er1
17558 ac_status=$?
17559 grep -v '^ *+' conftest.er1 >conftest.err
17560 rm -f conftest.er1
17561 cat conftest.err >&5
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); } &&
17564 { ac_try='test -z "$ac_cxx_werror_flag"
17565 || test ! -s conftest.err'
17566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17567 (eval $ac_try) 2>&5
17568 ac_status=$?
17569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17570 (exit $ac_status); }; } &&
17571 { ac_try='test -s conftest.$ac_objext'
17572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17573 (eval $ac_try) 2>&5
17574 ac_status=$?
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); }; }; then
17577 glibcxx_cv_func_modff_use=yes
17578 else
17579 echo "$as_me: failed program was:" >&5
17580 sed 's/^/| /' conftest.$ac_ext >&5
17582 glibcxx_cv_func_modff_use=no
17584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17585 ac_ext=c
17586 ac_cpp='$CPP $CPPFLAGS'
17587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17595 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
17596 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
17598 if test x$glibcxx_cv_func_modff_use = x"yes"; then
17600 for ac_func in modff
17602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17603 echo "$as_me:$LINENO: checking for $ac_func" >&5
17604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17605 if eval "test \"\${$as_ac_var+set}\" = set"; then
17606 echo $ECHO_N "(cached) $ECHO_C" >&6
17607 else
17608 if test x$gcc_no_link = xyes; then
17609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17611 { (exit 1); exit 1; }; }
17613 cat >conftest.$ac_ext <<_ACEOF
17614 /* confdefs.h. */
17615 _ACEOF
17616 cat confdefs.h >>conftest.$ac_ext
17617 cat >>conftest.$ac_ext <<_ACEOF
17618 /* end confdefs.h. */
17619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17621 #define $ac_func innocuous_$ac_func
17623 /* System header to define __stub macros and hopefully few prototypes,
17624 which can conflict with char $ac_func (); below.
17625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17626 <limits.h> exists even on freestanding compilers. */
17628 #ifdef __STDC__
17629 # include <limits.h>
17630 #else
17631 # include <assert.h>
17632 #endif
17634 #undef $ac_func
17636 /* Override any gcc2 internal prototype to avoid an error. */
17637 #ifdef __cplusplus
17638 extern "C"
17640 #endif
17641 /* We use char because int might match the return type of a gcc2
17642 builtin and then its argument prototype would still apply. */
17643 char $ac_func ();
17644 /* The GNU C library defines this for functions which it implements
17645 to always fail with ENOSYS. Some functions are actually named
17646 something starting with __ and the normal name is an alias. */
17647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17648 choke me
17649 #else
17650 char (*f) () = $ac_func;
17651 #endif
17652 #ifdef __cplusplus
17654 #endif
17657 main ()
17659 return f != $ac_func;
17661 return 0;
17663 _ACEOF
17664 rm -f conftest.$ac_objext conftest$ac_exeext
17665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17666 (eval $ac_link) 2>conftest.er1
17667 ac_status=$?
17668 grep -v '^ *+' conftest.er1 >conftest.err
17669 rm -f conftest.er1
17670 cat conftest.err >&5
17671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17672 (exit $ac_status); } &&
17673 { ac_try='test -z "$ac_c_werror_flag"
17674 || test ! -s conftest.err'
17675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17676 (eval $ac_try) 2>&5
17677 ac_status=$?
17678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17679 (exit $ac_status); }; } &&
17680 { ac_try='test -s conftest$ac_exeext'
17681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17682 (eval $ac_try) 2>&5
17683 ac_status=$?
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); }; }; then
17686 eval "$as_ac_var=yes"
17687 else
17688 echo "$as_me: failed program was:" >&5
17689 sed 's/^/| /' conftest.$ac_ext >&5
17691 eval "$as_ac_var=no"
17693 rm -f conftest.err conftest.$ac_objext \
17694 conftest$ac_exeext conftest.$ac_ext
17696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17698 if test `eval echo '${'$as_ac_var'}'` = yes; then
17699 cat >>confdefs.h <<_ACEOF
17700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17701 _ACEOF
17704 done
17706 else
17708 echo "$as_me:$LINENO: checking for _modff declaration" >&5
17709 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
17710 if test x${glibcxx_cv_func__modff_use+set} != xset; then
17711 if test "${glibcxx_cv_func__modff_use+set}" = set; then
17712 echo $ECHO_N "(cached) $ECHO_C" >&6
17713 else
17717 ac_ext=cc
17718 ac_cpp='$CXXCPP $CPPFLAGS'
17719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17723 cat >conftest.$ac_ext <<_ACEOF
17724 /* confdefs.h. */
17725 _ACEOF
17726 cat confdefs.h >>conftest.$ac_ext
17727 cat >>conftest.$ac_ext <<_ACEOF
17728 /* end confdefs.h. */
17729 #include <math.h>
17731 main ()
17733 _modff(0, 0);
17735 return 0;
17737 _ACEOF
17738 rm -f conftest.$ac_objext
17739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17740 (eval $ac_compile) 2>conftest.er1
17741 ac_status=$?
17742 grep -v '^ *+' conftest.er1 >conftest.err
17743 rm -f conftest.er1
17744 cat conftest.err >&5
17745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17746 (exit $ac_status); } &&
17747 { ac_try='test -z "$ac_cxx_werror_flag"
17748 || test ! -s conftest.err'
17749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17750 (eval $ac_try) 2>&5
17751 ac_status=$?
17752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 (exit $ac_status); }; } &&
17754 { ac_try='test -s conftest.$ac_objext'
17755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17756 (eval $ac_try) 2>&5
17757 ac_status=$?
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); }; }; then
17760 glibcxx_cv_func__modff_use=yes
17761 else
17762 echo "$as_me: failed program was:" >&5
17763 sed 's/^/| /' conftest.$ac_ext >&5
17765 glibcxx_cv_func__modff_use=no
17767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17768 ac_ext=c
17769 ac_cpp='$CPP $CPPFLAGS'
17770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17778 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
17779 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
17781 if test x$glibcxx_cv_func__modff_use = x"yes"; then
17783 for ac_func in _modff
17785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17786 echo "$as_me:$LINENO: checking for $ac_func" >&5
17787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17788 if eval "test \"\${$as_ac_var+set}\" = set"; then
17789 echo $ECHO_N "(cached) $ECHO_C" >&6
17790 else
17791 if test x$gcc_no_link = xyes; then
17792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17794 { (exit 1); exit 1; }; }
17796 cat >conftest.$ac_ext <<_ACEOF
17797 /* confdefs.h. */
17798 _ACEOF
17799 cat confdefs.h >>conftest.$ac_ext
17800 cat >>conftest.$ac_ext <<_ACEOF
17801 /* end confdefs.h. */
17802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17804 #define $ac_func innocuous_$ac_func
17806 /* System header to define __stub macros and hopefully few prototypes,
17807 which can conflict with char $ac_func (); below.
17808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17809 <limits.h> exists even on freestanding compilers. */
17811 #ifdef __STDC__
17812 # include <limits.h>
17813 #else
17814 # include <assert.h>
17815 #endif
17817 #undef $ac_func
17819 /* Override any gcc2 internal prototype to avoid an error. */
17820 #ifdef __cplusplus
17821 extern "C"
17823 #endif
17824 /* We use char because int might match the return type of a gcc2
17825 builtin and then its argument prototype would still apply. */
17826 char $ac_func ();
17827 /* The GNU C library defines this for functions which it implements
17828 to always fail with ENOSYS. Some functions are actually named
17829 something starting with __ and the normal name is an alias. */
17830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17831 choke me
17832 #else
17833 char (*f) () = $ac_func;
17834 #endif
17835 #ifdef __cplusplus
17837 #endif
17840 main ()
17842 return f != $ac_func;
17844 return 0;
17846 _ACEOF
17847 rm -f conftest.$ac_objext conftest$ac_exeext
17848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17849 (eval $ac_link) 2>conftest.er1
17850 ac_status=$?
17851 grep -v '^ *+' conftest.er1 >conftest.err
17852 rm -f conftest.er1
17853 cat conftest.err >&5
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); } &&
17856 { ac_try='test -z "$ac_c_werror_flag"
17857 || test ! -s conftest.err'
17858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17859 (eval $ac_try) 2>&5
17860 ac_status=$?
17861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17862 (exit $ac_status); }; } &&
17863 { ac_try='test -s conftest$ac_exeext'
17864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17865 (eval $ac_try) 2>&5
17866 ac_status=$?
17867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17868 (exit $ac_status); }; }; then
17869 eval "$as_ac_var=yes"
17870 else
17871 echo "$as_me: failed program was:" >&5
17872 sed 's/^/| /' conftest.$ac_ext >&5
17874 eval "$as_ac_var=no"
17876 rm -f conftest.err conftest.$ac_objext \
17877 conftest$ac_exeext conftest.$ac_ext
17879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17881 if test `eval echo '${'$as_ac_var'}'` = yes; then
17882 cat >>confdefs.h <<_ACEOF
17883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17884 _ACEOF
17887 done
17894 echo "$as_me:$LINENO: checking for powf declaration" >&5
17895 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17896 if test x${glibcxx_cv_func_powf_use+set} != xset; then
17897 if test "${glibcxx_cv_func_powf_use+set}" = set; then
17898 echo $ECHO_N "(cached) $ECHO_C" >&6
17899 else
17903 ac_ext=cc
17904 ac_cpp='$CXXCPP $CPPFLAGS'
17905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17909 cat >conftest.$ac_ext <<_ACEOF
17910 /* confdefs.h. */
17911 _ACEOF
17912 cat confdefs.h >>conftest.$ac_ext
17913 cat >>conftest.$ac_ext <<_ACEOF
17914 /* end confdefs.h. */
17915 #include <math.h>
17917 main ()
17919 powf(0, 0);
17921 return 0;
17923 _ACEOF
17924 rm -f conftest.$ac_objext
17925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17926 (eval $ac_compile) 2>conftest.er1
17927 ac_status=$?
17928 grep -v '^ *+' conftest.er1 >conftest.err
17929 rm -f conftest.er1
17930 cat conftest.err >&5
17931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17932 (exit $ac_status); } &&
17933 { ac_try='test -z "$ac_cxx_werror_flag"
17934 || test ! -s conftest.err'
17935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17936 (eval $ac_try) 2>&5
17937 ac_status=$?
17938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17939 (exit $ac_status); }; } &&
17940 { ac_try='test -s conftest.$ac_objext'
17941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17942 (eval $ac_try) 2>&5
17943 ac_status=$?
17944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17945 (exit $ac_status); }; }; then
17946 glibcxx_cv_func_powf_use=yes
17947 else
17948 echo "$as_me: failed program was:" >&5
17949 sed 's/^/| /' conftest.$ac_ext >&5
17951 glibcxx_cv_func_powf_use=no
17953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17954 ac_ext=c
17955 ac_cpp='$CPP $CPPFLAGS'
17956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17964 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17965 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17967 if test x$glibcxx_cv_func_powf_use = x"yes"; then
17969 for ac_func in powf
17971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17972 echo "$as_me:$LINENO: checking for $ac_func" >&5
17973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17974 if eval "test \"\${$as_ac_var+set}\" = set"; then
17975 echo $ECHO_N "(cached) $ECHO_C" >&6
17976 else
17977 if test x$gcc_no_link = xyes; then
17978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17980 { (exit 1); exit 1; }; }
17982 cat >conftest.$ac_ext <<_ACEOF
17983 /* confdefs.h. */
17984 _ACEOF
17985 cat confdefs.h >>conftest.$ac_ext
17986 cat >>conftest.$ac_ext <<_ACEOF
17987 /* end confdefs.h. */
17988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17990 #define $ac_func innocuous_$ac_func
17992 /* System header to define __stub macros and hopefully few prototypes,
17993 which can conflict with char $ac_func (); below.
17994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17995 <limits.h> exists even on freestanding compilers. */
17997 #ifdef __STDC__
17998 # include <limits.h>
17999 #else
18000 # include <assert.h>
18001 #endif
18003 #undef $ac_func
18005 /* Override any gcc2 internal prototype to avoid an error. */
18006 #ifdef __cplusplus
18007 extern "C"
18009 #endif
18010 /* We use char because int might match the return type of a gcc2
18011 builtin and then its argument prototype would still apply. */
18012 char $ac_func ();
18013 /* The GNU C library defines this for functions which it implements
18014 to always fail with ENOSYS. Some functions are actually named
18015 something starting with __ and the normal name is an alias. */
18016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18017 choke me
18018 #else
18019 char (*f) () = $ac_func;
18020 #endif
18021 #ifdef __cplusplus
18023 #endif
18026 main ()
18028 return f != $ac_func;
18030 return 0;
18032 _ACEOF
18033 rm -f conftest.$ac_objext conftest$ac_exeext
18034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18035 (eval $ac_link) 2>conftest.er1
18036 ac_status=$?
18037 grep -v '^ *+' conftest.er1 >conftest.err
18038 rm -f conftest.er1
18039 cat conftest.err >&5
18040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18041 (exit $ac_status); } &&
18042 { ac_try='test -z "$ac_c_werror_flag"
18043 || test ! -s conftest.err'
18044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18045 (eval $ac_try) 2>&5
18046 ac_status=$?
18047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048 (exit $ac_status); }; } &&
18049 { ac_try='test -s conftest$ac_exeext'
18050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18051 (eval $ac_try) 2>&5
18052 ac_status=$?
18053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18054 (exit $ac_status); }; }; then
18055 eval "$as_ac_var=yes"
18056 else
18057 echo "$as_me: failed program was:" >&5
18058 sed 's/^/| /' conftest.$ac_ext >&5
18060 eval "$as_ac_var=no"
18062 rm -f conftest.err conftest.$ac_objext \
18063 conftest$ac_exeext conftest.$ac_ext
18065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18067 if test `eval echo '${'$as_ac_var'}'` = yes; then
18068 cat >>confdefs.h <<_ACEOF
18069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18070 _ACEOF
18073 done
18075 else
18077 echo "$as_me:$LINENO: checking for _powf declaration" >&5
18078 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
18079 if test x${glibcxx_cv_func__powf_use+set} != xset; then
18080 if test "${glibcxx_cv_func__powf_use+set}" = set; then
18081 echo $ECHO_N "(cached) $ECHO_C" >&6
18082 else
18086 ac_ext=cc
18087 ac_cpp='$CXXCPP $CPPFLAGS'
18088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18092 cat >conftest.$ac_ext <<_ACEOF
18093 /* confdefs.h. */
18094 _ACEOF
18095 cat confdefs.h >>conftest.$ac_ext
18096 cat >>conftest.$ac_ext <<_ACEOF
18097 /* end confdefs.h. */
18098 #include <math.h>
18100 main ()
18102 _powf(0, 0);
18104 return 0;
18106 _ACEOF
18107 rm -f conftest.$ac_objext
18108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18109 (eval $ac_compile) 2>conftest.er1
18110 ac_status=$?
18111 grep -v '^ *+' conftest.er1 >conftest.err
18112 rm -f conftest.er1
18113 cat conftest.err >&5
18114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18115 (exit $ac_status); } &&
18116 { ac_try='test -z "$ac_cxx_werror_flag"
18117 || test ! -s conftest.err'
18118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18119 (eval $ac_try) 2>&5
18120 ac_status=$?
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); }; } &&
18123 { ac_try='test -s conftest.$ac_objext'
18124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18125 (eval $ac_try) 2>&5
18126 ac_status=$?
18127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18128 (exit $ac_status); }; }; then
18129 glibcxx_cv_func__powf_use=yes
18130 else
18131 echo "$as_me: failed program was:" >&5
18132 sed 's/^/| /' conftest.$ac_ext >&5
18134 glibcxx_cv_func__powf_use=no
18136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18137 ac_ext=c
18138 ac_cpp='$CPP $CPPFLAGS'
18139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18147 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
18148 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
18150 if test x$glibcxx_cv_func__powf_use = x"yes"; then
18152 for ac_func in _powf
18154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18155 echo "$as_me:$LINENO: checking for $ac_func" >&5
18156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18157 if eval "test \"\${$as_ac_var+set}\" = set"; then
18158 echo $ECHO_N "(cached) $ECHO_C" >&6
18159 else
18160 if test x$gcc_no_link = xyes; then
18161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18163 { (exit 1); exit 1; }; }
18165 cat >conftest.$ac_ext <<_ACEOF
18166 /* confdefs.h. */
18167 _ACEOF
18168 cat confdefs.h >>conftest.$ac_ext
18169 cat >>conftest.$ac_ext <<_ACEOF
18170 /* end confdefs.h. */
18171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18173 #define $ac_func innocuous_$ac_func
18175 /* System header to define __stub macros and hopefully few prototypes,
18176 which can conflict with char $ac_func (); below.
18177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18178 <limits.h> exists even on freestanding compilers. */
18180 #ifdef __STDC__
18181 # include <limits.h>
18182 #else
18183 # include <assert.h>
18184 #endif
18186 #undef $ac_func
18188 /* Override any gcc2 internal prototype to avoid an error. */
18189 #ifdef __cplusplus
18190 extern "C"
18192 #endif
18193 /* We use char because int might match the return type of a gcc2
18194 builtin and then its argument prototype would still apply. */
18195 char $ac_func ();
18196 /* The GNU C library defines this for functions which it implements
18197 to always fail with ENOSYS. Some functions are actually named
18198 something starting with __ and the normal name is an alias. */
18199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18200 choke me
18201 #else
18202 char (*f) () = $ac_func;
18203 #endif
18204 #ifdef __cplusplus
18206 #endif
18209 main ()
18211 return f != $ac_func;
18213 return 0;
18215 _ACEOF
18216 rm -f conftest.$ac_objext conftest$ac_exeext
18217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18218 (eval $ac_link) 2>conftest.er1
18219 ac_status=$?
18220 grep -v '^ *+' conftest.er1 >conftest.err
18221 rm -f conftest.er1
18222 cat conftest.err >&5
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); } &&
18225 { ac_try='test -z "$ac_c_werror_flag"
18226 || test ! -s conftest.err'
18227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18228 (eval $ac_try) 2>&5
18229 ac_status=$?
18230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231 (exit $ac_status); }; } &&
18232 { ac_try='test -s conftest$ac_exeext'
18233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18234 (eval $ac_try) 2>&5
18235 ac_status=$?
18236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18237 (exit $ac_status); }; }; then
18238 eval "$as_ac_var=yes"
18239 else
18240 echo "$as_me: failed program was:" >&5
18241 sed 's/^/| /' conftest.$ac_ext >&5
18243 eval "$as_ac_var=no"
18245 rm -f conftest.err conftest.$ac_objext \
18246 conftest$ac_exeext conftest.$ac_ext
18248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18250 if test `eval echo '${'$as_ac_var'}'` = yes; then
18251 cat >>confdefs.h <<_ACEOF
18252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18253 _ACEOF
18256 done
18263 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
18264 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
18265 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
18266 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
18267 echo $ECHO_N "(cached) $ECHO_C" >&6
18268 else
18272 ac_ext=cc
18273 ac_cpp='$CXXCPP $CPPFLAGS'
18274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18278 cat >conftest.$ac_ext <<_ACEOF
18279 /* confdefs.h. */
18280 _ACEOF
18281 cat confdefs.h >>conftest.$ac_ext
18282 cat >>conftest.$ac_ext <<_ACEOF
18283 /* end confdefs.h. */
18284 #include <math.h>
18285 #ifdef HAVE_IEEEFP_H
18286 #include <ieeefp.h>
18287 #endif
18290 main ()
18292 sqrtf(0);
18294 return 0;
18296 _ACEOF
18297 rm -f conftest.$ac_objext
18298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18299 (eval $ac_compile) 2>conftest.er1
18300 ac_status=$?
18301 grep -v '^ *+' conftest.er1 >conftest.err
18302 rm -f conftest.er1
18303 cat conftest.err >&5
18304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18305 (exit $ac_status); } &&
18306 { ac_try='test -z "$ac_cxx_werror_flag"
18307 || test ! -s conftest.err'
18308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18309 (eval $ac_try) 2>&5
18310 ac_status=$?
18311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18312 (exit $ac_status); }; } &&
18313 { ac_try='test -s conftest.$ac_objext'
18314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18315 (eval $ac_try) 2>&5
18316 ac_status=$?
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); }; }; then
18319 glibcxx_cv_func_sqrtf_use=yes
18320 else
18321 echo "$as_me: failed program was:" >&5
18322 sed 's/^/| /' conftest.$ac_ext >&5
18324 glibcxx_cv_func_sqrtf_use=no
18326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18327 ac_ext=c
18328 ac_cpp='$CPP $CPPFLAGS'
18329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18337 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
18338 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
18340 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
18342 for ac_func in sqrtf
18344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18345 echo "$as_me:$LINENO: checking for $ac_func" >&5
18346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18347 if eval "test \"\${$as_ac_var+set}\" = set"; then
18348 echo $ECHO_N "(cached) $ECHO_C" >&6
18349 else
18350 if test x$gcc_no_link = xyes; then
18351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18353 { (exit 1); exit 1; }; }
18355 cat >conftest.$ac_ext <<_ACEOF
18356 /* confdefs.h. */
18357 _ACEOF
18358 cat confdefs.h >>conftest.$ac_ext
18359 cat >>conftest.$ac_ext <<_ACEOF
18360 /* end confdefs.h. */
18361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18363 #define $ac_func innocuous_$ac_func
18365 /* System header to define __stub macros and hopefully few prototypes,
18366 which can conflict with char $ac_func (); below.
18367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18368 <limits.h> exists even on freestanding compilers. */
18370 #ifdef __STDC__
18371 # include <limits.h>
18372 #else
18373 # include <assert.h>
18374 #endif
18376 #undef $ac_func
18378 /* Override any gcc2 internal prototype to avoid an error. */
18379 #ifdef __cplusplus
18380 extern "C"
18382 #endif
18383 /* We use char because int might match the return type of a gcc2
18384 builtin and then its argument prototype would still apply. */
18385 char $ac_func ();
18386 /* The GNU C library defines this for functions which it implements
18387 to always fail with ENOSYS. Some functions are actually named
18388 something starting with __ and the normal name is an alias. */
18389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18390 choke me
18391 #else
18392 char (*f) () = $ac_func;
18393 #endif
18394 #ifdef __cplusplus
18396 #endif
18399 main ()
18401 return f != $ac_func;
18403 return 0;
18405 _ACEOF
18406 rm -f conftest.$ac_objext conftest$ac_exeext
18407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18408 (eval $ac_link) 2>conftest.er1
18409 ac_status=$?
18410 grep -v '^ *+' conftest.er1 >conftest.err
18411 rm -f conftest.er1
18412 cat conftest.err >&5
18413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414 (exit $ac_status); } &&
18415 { ac_try='test -z "$ac_c_werror_flag"
18416 || test ! -s conftest.err'
18417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18418 (eval $ac_try) 2>&5
18419 ac_status=$?
18420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18421 (exit $ac_status); }; } &&
18422 { ac_try='test -s conftest$ac_exeext'
18423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18424 (eval $ac_try) 2>&5
18425 ac_status=$?
18426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427 (exit $ac_status); }; }; then
18428 eval "$as_ac_var=yes"
18429 else
18430 echo "$as_me: failed program was:" >&5
18431 sed 's/^/| /' conftest.$ac_ext >&5
18433 eval "$as_ac_var=no"
18435 rm -f conftest.err conftest.$ac_objext \
18436 conftest$ac_exeext conftest.$ac_ext
18438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18440 if test `eval echo '${'$as_ac_var'}'` = yes; then
18441 cat >>confdefs.h <<_ACEOF
18442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18443 _ACEOF
18446 done
18448 else
18450 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
18451 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
18452 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
18453 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
18454 echo $ECHO_N "(cached) $ECHO_C" >&6
18455 else
18459 ac_ext=cc
18460 ac_cpp='$CXXCPP $CPPFLAGS'
18461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18465 cat >conftest.$ac_ext <<_ACEOF
18466 /* confdefs.h. */
18467 _ACEOF
18468 cat confdefs.h >>conftest.$ac_ext
18469 cat >>conftest.$ac_ext <<_ACEOF
18470 /* end confdefs.h. */
18471 #include <math.h>
18472 #ifdef HAVE_IEEEFP_H
18473 #include <ieeefp.h>
18474 #endif
18477 main ()
18479 _sqrtf(0);
18481 return 0;
18483 _ACEOF
18484 rm -f conftest.$ac_objext
18485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18486 (eval $ac_compile) 2>conftest.er1
18487 ac_status=$?
18488 grep -v '^ *+' conftest.er1 >conftest.err
18489 rm -f conftest.er1
18490 cat conftest.err >&5
18491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18492 (exit $ac_status); } &&
18493 { ac_try='test -z "$ac_cxx_werror_flag"
18494 || test ! -s conftest.err'
18495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18496 (eval $ac_try) 2>&5
18497 ac_status=$?
18498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18499 (exit $ac_status); }; } &&
18500 { ac_try='test -s conftest.$ac_objext'
18501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18502 (eval $ac_try) 2>&5
18503 ac_status=$?
18504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18505 (exit $ac_status); }; }; then
18506 glibcxx_cv_func__sqrtf_use=yes
18507 else
18508 echo "$as_me: failed program was:" >&5
18509 sed 's/^/| /' conftest.$ac_ext >&5
18511 glibcxx_cv_func__sqrtf_use=no
18513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18514 ac_ext=c
18515 ac_cpp='$CPP $CPPFLAGS'
18516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18524 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
18525 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
18527 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
18529 for ac_func in _sqrtf
18531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18532 echo "$as_me:$LINENO: checking for $ac_func" >&5
18533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18534 if eval "test \"\${$as_ac_var+set}\" = set"; then
18535 echo $ECHO_N "(cached) $ECHO_C" >&6
18536 else
18537 if test x$gcc_no_link = xyes; then
18538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18540 { (exit 1); exit 1; }; }
18542 cat >conftest.$ac_ext <<_ACEOF
18543 /* confdefs.h. */
18544 _ACEOF
18545 cat confdefs.h >>conftest.$ac_ext
18546 cat >>conftest.$ac_ext <<_ACEOF
18547 /* end confdefs.h. */
18548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18550 #define $ac_func innocuous_$ac_func
18552 /* System header to define __stub macros and hopefully few prototypes,
18553 which can conflict with char $ac_func (); below.
18554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18555 <limits.h> exists even on freestanding compilers. */
18557 #ifdef __STDC__
18558 # include <limits.h>
18559 #else
18560 # include <assert.h>
18561 #endif
18563 #undef $ac_func
18565 /* Override any gcc2 internal prototype to avoid an error. */
18566 #ifdef __cplusplus
18567 extern "C"
18569 #endif
18570 /* We use char because int might match the return type of a gcc2
18571 builtin and then its argument prototype would still apply. */
18572 char $ac_func ();
18573 /* The GNU C library defines this for functions which it implements
18574 to always fail with ENOSYS. Some functions are actually named
18575 something starting with __ and the normal name is an alias. */
18576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18577 choke me
18578 #else
18579 char (*f) () = $ac_func;
18580 #endif
18581 #ifdef __cplusplus
18583 #endif
18586 main ()
18588 return f != $ac_func;
18590 return 0;
18592 _ACEOF
18593 rm -f conftest.$ac_objext conftest$ac_exeext
18594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18595 (eval $ac_link) 2>conftest.er1
18596 ac_status=$?
18597 grep -v '^ *+' conftest.er1 >conftest.err
18598 rm -f conftest.er1
18599 cat conftest.err >&5
18600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18601 (exit $ac_status); } &&
18602 { ac_try='test -z "$ac_c_werror_flag"
18603 || test ! -s conftest.err'
18604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18605 (eval $ac_try) 2>&5
18606 ac_status=$?
18607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18608 (exit $ac_status); }; } &&
18609 { ac_try='test -s conftest$ac_exeext'
18610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18611 (eval $ac_try) 2>&5
18612 ac_status=$?
18613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614 (exit $ac_status); }; }; then
18615 eval "$as_ac_var=yes"
18616 else
18617 echo "$as_me: failed program was:" >&5
18618 sed 's/^/| /' conftest.$ac_ext >&5
18620 eval "$as_ac_var=no"
18622 rm -f conftest.err conftest.$ac_objext \
18623 conftest$ac_exeext conftest.$ac_ext
18625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18627 if test `eval echo '${'$as_ac_var'}'` = yes; then
18628 cat >>confdefs.h <<_ACEOF
18629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18630 _ACEOF
18633 done
18640 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
18641 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
18642 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
18643 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
18644 echo $ECHO_N "(cached) $ECHO_C" >&6
18645 else
18649 ac_ext=cc
18650 ac_cpp='$CXXCPP $CPPFLAGS'
18651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18655 cat >conftest.$ac_ext <<_ACEOF
18656 /* confdefs.h. */
18657 _ACEOF
18658 cat confdefs.h >>conftest.$ac_ext
18659 cat >>conftest.$ac_ext <<_ACEOF
18660 /* end confdefs.h. */
18661 #include <math.h>
18663 main ()
18665 sincosf(0, 0, 0);
18667 return 0;
18669 _ACEOF
18670 rm -f conftest.$ac_objext
18671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18672 (eval $ac_compile) 2>conftest.er1
18673 ac_status=$?
18674 grep -v '^ *+' conftest.er1 >conftest.err
18675 rm -f conftest.er1
18676 cat conftest.err >&5
18677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18678 (exit $ac_status); } &&
18679 { ac_try='test -z "$ac_cxx_werror_flag"
18680 || test ! -s conftest.err'
18681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18682 (eval $ac_try) 2>&5
18683 ac_status=$?
18684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); }; } &&
18686 { ac_try='test -s conftest.$ac_objext'
18687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18688 (eval $ac_try) 2>&5
18689 ac_status=$?
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); }; }; then
18692 glibcxx_cv_func_sincosf_use=yes
18693 else
18694 echo "$as_me: failed program was:" >&5
18695 sed 's/^/| /' conftest.$ac_ext >&5
18697 glibcxx_cv_func_sincosf_use=no
18699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18700 ac_ext=c
18701 ac_cpp='$CPP $CPPFLAGS'
18702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18710 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
18711 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
18713 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
18715 for ac_func in sincosf
18717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18718 echo "$as_me:$LINENO: checking for $ac_func" >&5
18719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18720 if eval "test \"\${$as_ac_var+set}\" = set"; then
18721 echo $ECHO_N "(cached) $ECHO_C" >&6
18722 else
18723 if test x$gcc_no_link = xyes; then
18724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18726 { (exit 1); exit 1; }; }
18728 cat >conftest.$ac_ext <<_ACEOF
18729 /* confdefs.h. */
18730 _ACEOF
18731 cat confdefs.h >>conftest.$ac_ext
18732 cat >>conftest.$ac_ext <<_ACEOF
18733 /* end confdefs.h. */
18734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18736 #define $ac_func innocuous_$ac_func
18738 /* System header to define __stub macros and hopefully few prototypes,
18739 which can conflict with char $ac_func (); below.
18740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18741 <limits.h> exists even on freestanding compilers. */
18743 #ifdef __STDC__
18744 # include <limits.h>
18745 #else
18746 # include <assert.h>
18747 #endif
18749 #undef $ac_func
18751 /* Override any gcc2 internal prototype to avoid an error. */
18752 #ifdef __cplusplus
18753 extern "C"
18755 #endif
18756 /* We use char because int might match the return type of a gcc2
18757 builtin and then its argument prototype would still apply. */
18758 char $ac_func ();
18759 /* The GNU C library defines this for functions which it implements
18760 to always fail with ENOSYS. Some functions are actually named
18761 something starting with __ and the normal name is an alias. */
18762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18763 choke me
18764 #else
18765 char (*f) () = $ac_func;
18766 #endif
18767 #ifdef __cplusplus
18769 #endif
18772 main ()
18774 return f != $ac_func;
18776 return 0;
18778 _ACEOF
18779 rm -f conftest.$ac_objext conftest$ac_exeext
18780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18781 (eval $ac_link) 2>conftest.er1
18782 ac_status=$?
18783 grep -v '^ *+' conftest.er1 >conftest.err
18784 rm -f conftest.er1
18785 cat conftest.err >&5
18786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 (exit $ac_status); } &&
18788 { ac_try='test -z "$ac_c_werror_flag"
18789 || test ! -s conftest.err'
18790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18791 (eval $ac_try) 2>&5
18792 ac_status=$?
18793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18794 (exit $ac_status); }; } &&
18795 { ac_try='test -s conftest$ac_exeext'
18796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18797 (eval $ac_try) 2>&5
18798 ac_status=$?
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); }; }; then
18801 eval "$as_ac_var=yes"
18802 else
18803 echo "$as_me: failed program was:" >&5
18804 sed 's/^/| /' conftest.$ac_ext >&5
18806 eval "$as_ac_var=no"
18808 rm -f conftest.err conftest.$ac_objext \
18809 conftest$ac_exeext conftest.$ac_ext
18811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18813 if test `eval echo '${'$as_ac_var'}'` = yes; then
18814 cat >>confdefs.h <<_ACEOF
18815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18816 _ACEOF
18819 done
18821 else
18823 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
18824 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
18825 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
18826 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
18827 echo $ECHO_N "(cached) $ECHO_C" >&6
18828 else
18832 ac_ext=cc
18833 ac_cpp='$CXXCPP $CPPFLAGS'
18834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18838 cat >conftest.$ac_ext <<_ACEOF
18839 /* confdefs.h. */
18840 _ACEOF
18841 cat confdefs.h >>conftest.$ac_ext
18842 cat >>conftest.$ac_ext <<_ACEOF
18843 /* end confdefs.h. */
18844 #include <math.h>
18846 main ()
18848 _sincosf(0, 0, 0);
18850 return 0;
18852 _ACEOF
18853 rm -f conftest.$ac_objext
18854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18855 (eval $ac_compile) 2>conftest.er1
18856 ac_status=$?
18857 grep -v '^ *+' conftest.er1 >conftest.err
18858 rm -f conftest.er1
18859 cat conftest.err >&5
18860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18861 (exit $ac_status); } &&
18862 { ac_try='test -z "$ac_cxx_werror_flag"
18863 || test ! -s conftest.err'
18864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18865 (eval $ac_try) 2>&5
18866 ac_status=$?
18867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18868 (exit $ac_status); }; } &&
18869 { ac_try='test -s conftest.$ac_objext'
18870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18871 (eval $ac_try) 2>&5
18872 ac_status=$?
18873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18874 (exit $ac_status); }; }; then
18875 glibcxx_cv_func__sincosf_use=yes
18876 else
18877 echo "$as_me: failed program was:" >&5
18878 sed 's/^/| /' conftest.$ac_ext >&5
18880 glibcxx_cv_func__sincosf_use=no
18882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18883 ac_ext=c
18884 ac_cpp='$CPP $CPPFLAGS'
18885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18893 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18894 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18896 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18898 for ac_func in _sincosf
18900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18901 echo "$as_me:$LINENO: checking for $ac_func" >&5
18902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18903 if eval "test \"\${$as_ac_var+set}\" = set"; then
18904 echo $ECHO_N "(cached) $ECHO_C" >&6
18905 else
18906 if test x$gcc_no_link = xyes; then
18907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18909 { (exit 1); exit 1; }; }
18911 cat >conftest.$ac_ext <<_ACEOF
18912 /* confdefs.h. */
18913 _ACEOF
18914 cat confdefs.h >>conftest.$ac_ext
18915 cat >>conftest.$ac_ext <<_ACEOF
18916 /* end confdefs.h. */
18917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18919 #define $ac_func innocuous_$ac_func
18921 /* System header to define __stub macros and hopefully few prototypes,
18922 which can conflict with char $ac_func (); below.
18923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18924 <limits.h> exists even on freestanding compilers. */
18926 #ifdef __STDC__
18927 # include <limits.h>
18928 #else
18929 # include <assert.h>
18930 #endif
18932 #undef $ac_func
18934 /* Override any gcc2 internal prototype to avoid an error. */
18935 #ifdef __cplusplus
18936 extern "C"
18938 #endif
18939 /* We use char because int might match the return type of a gcc2
18940 builtin and then its argument prototype would still apply. */
18941 char $ac_func ();
18942 /* The GNU C library defines this for functions which it implements
18943 to always fail with ENOSYS. Some functions are actually named
18944 something starting with __ and the normal name is an alias. */
18945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18946 choke me
18947 #else
18948 char (*f) () = $ac_func;
18949 #endif
18950 #ifdef __cplusplus
18952 #endif
18955 main ()
18957 return f != $ac_func;
18959 return 0;
18961 _ACEOF
18962 rm -f conftest.$ac_objext conftest$ac_exeext
18963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18964 (eval $ac_link) 2>conftest.er1
18965 ac_status=$?
18966 grep -v '^ *+' conftest.er1 >conftest.err
18967 rm -f conftest.er1
18968 cat conftest.err >&5
18969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970 (exit $ac_status); } &&
18971 { ac_try='test -z "$ac_c_werror_flag"
18972 || test ! -s conftest.err'
18973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18974 (eval $ac_try) 2>&5
18975 ac_status=$?
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); }; } &&
18978 { ac_try='test -s conftest$ac_exeext'
18979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18980 (eval $ac_try) 2>&5
18981 ac_status=$?
18982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18983 (exit $ac_status); }; }; then
18984 eval "$as_ac_var=yes"
18985 else
18986 echo "$as_me: failed program was:" >&5
18987 sed 's/^/| /' conftest.$ac_ext >&5
18989 eval "$as_ac_var=no"
18991 rm -f conftest.err conftest.$ac_objext \
18992 conftest$ac_exeext conftest.$ac_ext
18994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18996 if test `eval echo '${'$as_ac_var'}'` = yes; then
18997 cat >>confdefs.h <<_ACEOF
18998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18999 _ACEOF
19002 done
19009 echo "$as_me:$LINENO: checking for finitef declaration" >&5
19010 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
19011 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
19012 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
19013 echo $ECHO_N "(cached) $ECHO_C" >&6
19014 else
19018 ac_ext=cc
19019 ac_cpp='$CXXCPP $CPPFLAGS'
19020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19024 cat >conftest.$ac_ext <<_ACEOF
19025 /* confdefs.h. */
19026 _ACEOF
19027 cat confdefs.h >>conftest.$ac_ext
19028 cat >>conftest.$ac_ext <<_ACEOF
19029 /* end confdefs.h. */
19030 #include <math.h>
19031 #ifdef HAVE_IEEEFP_H
19032 #include <ieeefp.h>
19033 #endif
19036 main ()
19038 finitef(0);
19040 return 0;
19042 _ACEOF
19043 rm -f conftest.$ac_objext
19044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19045 (eval $ac_compile) 2>conftest.er1
19046 ac_status=$?
19047 grep -v '^ *+' conftest.er1 >conftest.err
19048 rm -f conftest.er1
19049 cat conftest.err >&5
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); } &&
19052 { ac_try='test -z "$ac_cxx_werror_flag"
19053 || test ! -s conftest.err'
19054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19055 (eval $ac_try) 2>&5
19056 ac_status=$?
19057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19058 (exit $ac_status); }; } &&
19059 { ac_try='test -s conftest.$ac_objext'
19060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19061 (eval $ac_try) 2>&5
19062 ac_status=$?
19063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19064 (exit $ac_status); }; }; then
19065 glibcxx_cv_func_finitef_use=yes
19066 else
19067 echo "$as_me: failed program was:" >&5
19068 sed 's/^/| /' conftest.$ac_ext >&5
19070 glibcxx_cv_func_finitef_use=no
19072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19073 ac_ext=c
19074 ac_cpp='$CPP $CPPFLAGS'
19075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19083 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
19084 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
19086 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
19088 for ac_func in finitef
19090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19091 echo "$as_me:$LINENO: checking for $ac_func" >&5
19092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19093 if eval "test \"\${$as_ac_var+set}\" = set"; then
19094 echo $ECHO_N "(cached) $ECHO_C" >&6
19095 else
19096 if test x$gcc_no_link = xyes; then
19097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19099 { (exit 1); exit 1; }; }
19101 cat >conftest.$ac_ext <<_ACEOF
19102 /* confdefs.h. */
19103 _ACEOF
19104 cat confdefs.h >>conftest.$ac_ext
19105 cat >>conftest.$ac_ext <<_ACEOF
19106 /* end confdefs.h. */
19107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19109 #define $ac_func innocuous_$ac_func
19111 /* System header to define __stub macros and hopefully few prototypes,
19112 which can conflict with char $ac_func (); below.
19113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19114 <limits.h> exists even on freestanding compilers. */
19116 #ifdef __STDC__
19117 # include <limits.h>
19118 #else
19119 # include <assert.h>
19120 #endif
19122 #undef $ac_func
19124 /* Override any gcc2 internal prototype to avoid an error. */
19125 #ifdef __cplusplus
19126 extern "C"
19128 #endif
19129 /* We use char because int might match the return type of a gcc2
19130 builtin and then its argument prototype would still apply. */
19131 char $ac_func ();
19132 /* The GNU C library defines this for functions which it implements
19133 to always fail with ENOSYS. Some functions are actually named
19134 something starting with __ and the normal name is an alias. */
19135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19136 choke me
19137 #else
19138 char (*f) () = $ac_func;
19139 #endif
19140 #ifdef __cplusplus
19142 #endif
19145 main ()
19147 return f != $ac_func;
19149 return 0;
19151 _ACEOF
19152 rm -f conftest.$ac_objext conftest$ac_exeext
19153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19154 (eval $ac_link) 2>conftest.er1
19155 ac_status=$?
19156 grep -v '^ *+' conftest.er1 >conftest.err
19157 rm -f conftest.er1
19158 cat conftest.err >&5
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); } &&
19161 { ac_try='test -z "$ac_c_werror_flag"
19162 || test ! -s conftest.err'
19163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19164 (eval $ac_try) 2>&5
19165 ac_status=$?
19166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19167 (exit $ac_status); }; } &&
19168 { ac_try='test -s conftest$ac_exeext'
19169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19170 (eval $ac_try) 2>&5
19171 ac_status=$?
19172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19173 (exit $ac_status); }; }; then
19174 eval "$as_ac_var=yes"
19175 else
19176 echo "$as_me: failed program was:" >&5
19177 sed 's/^/| /' conftest.$ac_ext >&5
19179 eval "$as_ac_var=no"
19181 rm -f conftest.err conftest.$ac_objext \
19182 conftest$ac_exeext conftest.$ac_ext
19184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19186 if test `eval echo '${'$as_ac_var'}'` = yes; then
19187 cat >>confdefs.h <<_ACEOF
19188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19189 _ACEOF
19192 done
19194 else
19196 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
19197 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
19198 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
19199 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
19200 echo $ECHO_N "(cached) $ECHO_C" >&6
19201 else
19205 ac_ext=cc
19206 ac_cpp='$CXXCPP $CPPFLAGS'
19207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19211 cat >conftest.$ac_ext <<_ACEOF
19212 /* confdefs.h. */
19213 _ACEOF
19214 cat confdefs.h >>conftest.$ac_ext
19215 cat >>conftest.$ac_ext <<_ACEOF
19216 /* end confdefs.h. */
19217 #include <math.h>
19218 #ifdef HAVE_IEEEFP_H
19219 #include <ieeefp.h>
19220 #endif
19223 main ()
19225 _finitef(0);
19227 return 0;
19229 _ACEOF
19230 rm -f conftest.$ac_objext
19231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19232 (eval $ac_compile) 2>conftest.er1
19233 ac_status=$?
19234 grep -v '^ *+' conftest.er1 >conftest.err
19235 rm -f conftest.er1
19236 cat conftest.err >&5
19237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19238 (exit $ac_status); } &&
19239 { ac_try='test -z "$ac_cxx_werror_flag"
19240 || test ! -s conftest.err'
19241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19242 (eval $ac_try) 2>&5
19243 ac_status=$?
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); }; } &&
19246 { ac_try='test -s conftest.$ac_objext'
19247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19248 (eval $ac_try) 2>&5
19249 ac_status=$?
19250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19251 (exit $ac_status); }; }; then
19252 glibcxx_cv_func__finitef_use=yes
19253 else
19254 echo "$as_me: failed program was:" >&5
19255 sed 's/^/| /' conftest.$ac_ext >&5
19257 glibcxx_cv_func__finitef_use=no
19259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19260 ac_ext=c
19261 ac_cpp='$CPP $CPPFLAGS'
19262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19270 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
19271 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
19273 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
19275 for ac_func in _finitef
19277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19278 echo "$as_me:$LINENO: checking for $ac_func" >&5
19279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19280 if eval "test \"\${$as_ac_var+set}\" = set"; then
19281 echo $ECHO_N "(cached) $ECHO_C" >&6
19282 else
19283 if test x$gcc_no_link = xyes; then
19284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19286 { (exit 1); exit 1; }; }
19288 cat >conftest.$ac_ext <<_ACEOF
19289 /* confdefs.h. */
19290 _ACEOF
19291 cat confdefs.h >>conftest.$ac_ext
19292 cat >>conftest.$ac_ext <<_ACEOF
19293 /* end confdefs.h. */
19294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19296 #define $ac_func innocuous_$ac_func
19298 /* System header to define __stub macros and hopefully few prototypes,
19299 which can conflict with char $ac_func (); below.
19300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19301 <limits.h> exists even on freestanding compilers. */
19303 #ifdef __STDC__
19304 # include <limits.h>
19305 #else
19306 # include <assert.h>
19307 #endif
19309 #undef $ac_func
19311 /* Override any gcc2 internal prototype to avoid an error. */
19312 #ifdef __cplusplus
19313 extern "C"
19315 #endif
19316 /* We use char because int might match the return type of a gcc2
19317 builtin and then its argument prototype would still apply. */
19318 char $ac_func ();
19319 /* The GNU C library defines this for functions which it implements
19320 to always fail with ENOSYS. Some functions are actually named
19321 something starting with __ and the normal name is an alias. */
19322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19323 choke me
19324 #else
19325 char (*f) () = $ac_func;
19326 #endif
19327 #ifdef __cplusplus
19329 #endif
19332 main ()
19334 return f != $ac_func;
19336 return 0;
19338 _ACEOF
19339 rm -f conftest.$ac_objext conftest$ac_exeext
19340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19341 (eval $ac_link) 2>conftest.er1
19342 ac_status=$?
19343 grep -v '^ *+' conftest.er1 >conftest.err
19344 rm -f conftest.er1
19345 cat conftest.err >&5
19346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19347 (exit $ac_status); } &&
19348 { ac_try='test -z "$ac_c_werror_flag"
19349 || test ! -s conftest.err'
19350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19351 (eval $ac_try) 2>&5
19352 ac_status=$?
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); }; } &&
19355 { ac_try='test -s conftest$ac_exeext'
19356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19357 (eval $ac_try) 2>&5
19358 ac_status=$?
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); }; }; then
19361 eval "$as_ac_var=yes"
19362 else
19363 echo "$as_me: failed program was:" >&5
19364 sed 's/^/| /' conftest.$ac_ext >&5
19366 eval "$as_ac_var=no"
19368 rm -f conftest.err conftest.$ac_objext \
19369 conftest$ac_exeext conftest.$ac_ext
19371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19373 if test `eval echo '${'$as_ac_var'}'` = yes; then
19374 cat >>confdefs.h <<_ACEOF
19375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19376 _ACEOF
19379 done
19386 echo "$as_me:$LINENO: checking for long double trig functions" >&5
19387 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
19388 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
19389 echo $ECHO_N "(cached) $ECHO_C" >&6
19390 else
19394 ac_ext=cc
19395 ac_cpp='$CXXCPP $CPPFLAGS'
19396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19400 cat >conftest.$ac_ext <<_ACEOF
19401 /* confdefs.h. */
19402 _ACEOF
19403 cat confdefs.h >>conftest.$ac_ext
19404 cat >>conftest.$ac_ext <<_ACEOF
19405 /* end confdefs.h. */
19406 #include <math.h>
19408 main ()
19410 `for x in acosl asinl atanl \
19411 cosl sinl tanl \
19412 coshl sinhl tanhl; do echo "$x (0);"; done`
19414 return 0;
19416 _ACEOF
19417 rm -f conftest.$ac_objext
19418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19419 (eval $ac_compile) 2>conftest.er1
19420 ac_status=$?
19421 grep -v '^ *+' conftest.er1 >conftest.err
19422 rm -f conftest.er1
19423 cat conftest.err >&5
19424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19425 (exit $ac_status); } &&
19426 { ac_try='test -z "$ac_cxx_werror_flag"
19427 || test ! -s conftest.err'
19428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19429 (eval $ac_try) 2>&5
19430 ac_status=$?
19431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19432 (exit $ac_status); }; } &&
19433 { ac_try='test -s conftest.$ac_objext'
19434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19435 (eval $ac_try) 2>&5
19436 ac_status=$?
19437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438 (exit $ac_status); }; }; then
19439 glibcxx_cv_func_long_double_trig_use=yes
19440 else
19441 echo "$as_me: failed program was:" >&5
19442 sed 's/^/| /' conftest.$ac_ext >&5
19444 glibcxx_cv_func_long_double_trig_use=no
19446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19447 ac_ext=c
19448 ac_cpp='$CPP $CPPFLAGS'
19449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19455 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
19456 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
19457 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
19467 for ac_func in acosl asinl atanl \
19468 cosl sinl tanl \
19469 coshl sinhl tanhl
19471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19472 echo "$as_me:$LINENO: checking for $ac_func" >&5
19473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19474 if eval "test \"\${$as_ac_var+set}\" = set"; then
19475 echo $ECHO_N "(cached) $ECHO_C" >&6
19476 else
19477 if test x$gcc_no_link = xyes; then
19478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19480 { (exit 1); exit 1; }; }
19482 cat >conftest.$ac_ext <<_ACEOF
19483 /* confdefs.h. */
19484 _ACEOF
19485 cat confdefs.h >>conftest.$ac_ext
19486 cat >>conftest.$ac_ext <<_ACEOF
19487 /* end confdefs.h. */
19488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19490 #define $ac_func innocuous_$ac_func
19492 /* System header to define __stub macros and hopefully few prototypes,
19493 which can conflict with char $ac_func (); below.
19494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19495 <limits.h> exists even on freestanding compilers. */
19497 #ifdef __STDC__
19498 # include <limits.h>
19499 #else
19500 # include <assert.h>
19501 #endif
19503 #undef $ac_func
19505 /* Override any gcc2 internal prototype to avoid an error. */
19506 #ifdef __cplusplus
19507 extern "C"
19509 #endif
19510 /* We use char because int might match the return type of a gcc2
19511 builtin and then its argument prototype would still apply. */
19512 char $ac_func ();
19513 /* The GNU C library defines this for functions which it implements
19514 to always fail with ENOSYS. Some functions are actually named
19515 something starting with __ and the normal name is an alias. */
19516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19517 choke me
19518 #else
19519 char (*f) () = $ac_func;
19520 #endif
19521 #ifdef __cplusplus
19523 #endif
19526 main ()
19528 return f != $ac_func;
19530 return 0;
19532 _ACEOF
19533 rm -f conftest.$ac_objext conftest$ac_exeext
19534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19535 (eval $ac_link) 2>conftest.er1
19536 ac_status=$?
19537 grep -v '^ *+' conftest.er1 >conftest.err
19538 rm -f conftest.er1
19539 cat conftest.err >&5
19540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541 (exit $ac_status); } &&
19542 { ac_try='test -z "$ac_c_werror_flag"
19543 || test ! -s conftest.err'
19544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19545 (eval $ac_try) 2>&5
19546 ac_status=$?
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); }; } &&
19549 { ac_try='test -s conftest$ac_exeext'
19550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19551 (eval $ac_try) 2>&5
19552 ac_status=$?
19553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19554 (exit $ac_status); }; }; then
19555 eval "$as_ac_var=yes"
19556 else
19557 echo "$as_me: failed program was:" >&5
19558 sed 's/^/| /' conftest.$ac_ext >&5
19560 eval "$as_ac_var=no"
19562 rm -f conftest.err conftest.$ac_objext \
19563 conftest$ac_exeext conftest.$ac_ext
19565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19567 if test `eval echo '${'$as_ac_var'}'` = yes; then
19568 cat >>confdefs.h <<_ACEOF
19569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19570 _ACEOF
19573 done
19578 echo "$as_me:$LINENO: checking for long double round functions" >&5
19579 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
19580 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
19581 echo $ECHO_N "(cached) $ECHO_C" >&6
19582 else
19586 ac_ext=cc
19587 ac_cpp='$CXXCPP $CPPFLAGS'
19588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19592 cat >conftest.$ac_ext <<_ACEOF
19593 /* confdefs.h. */
19594 _ACEOF
19595 cat confdefs.h >>conftest.$ac_ext
19596 cat >>conftest.$ac_ext <<_ACEOF
19597 /* end confdefs.h. */
19598 #include <math.h>
19600 main ()
19602 `for x in ceill floorl; do echo "$x (0);"; done`
19604 return 0;
19606 _ACEOF
19607 rm -f conftest.$ac_objext
19608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19609 (eval $ac_compile) 2>conftest.er1
19610 ac_status=$?
19611 grep -v '^ *+' conftest.er1 >conftest.err
19612 rm -f conftest.er1
19613 cat conftest.err >&5
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); } &&
19616 { ac_try='test -z "$ac_cxx_werror_flag"
19617 || test ! -s conftest.err'
19618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19619 (eval $ac_try) 2>&5
19620 ac_status=$?
19621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19622 (exit $ac_status); }; } &&
19623 { ac_try='test -s conftest.$ac_objext'
19624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19625 (eval $ac_try) 2>&5
19626 ac_status=$?
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); }; }; then
19629 glibcxx_cv_func_long_double_round_use=yes
19630 else
19631 echo "$as_me: failed program was:" >&5
19632 sed 's/^/| /' conftest.$ac_ext >&5
19634 glibcxx_cv_func_long_double_round_use=no
19636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19637 ac_ext=c
19638 ac_cpp='$CPP $CPPFLAGS'
19639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19645 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
19646 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
19647 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
19650 for ac_func in ceill floorl
19652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19653 echo "$as_me:$LINENO: checking for $ac_func" >&5
19654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19655 if eval "test \"\${$as_ac_var+set}\" = set"; then
19656 echo $ECHO_N "(cached) $ECHO_C" >&6
19657 else
19658 if test x$gcc_no_link = xyes; then
19659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19661 { (exit 1); exit 1; }; }
19663 cat >conftest.$ac_ext <<_ACEOF
19664 /* confdefs.h. */
19665 _ACEOF
19666 cat confdefs.h >>conftest.$ac_ext
19667 cat >>conftest.$ac_ext <<_ACEOF
19668 /* end confdefs.h. */
19669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19671 #define $ac_func innocuous_$ac_func
19673 /* System header to define __stub macros and hopefully few prototypes,
19674 which can conflict with char $ac_func (); below.
19675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19676 <limits.h> exists even on freestanding compilers. */
19678 #ifdef __STDC__
19679 # include <limits.h>
19680 #else
19681 # include <assert.h>
19682 #endif
19684 #undef $ac_func
19686 /* Override any gcc2 internal prototype to avoid an error. */
19687 #ifdef __cplusplus
19688 extern "C"
19690 #endif
19691 /* We use char because int might match the return type of a gcc2
19692 builtin and then its argument prototype would still apply. */
19693 char $ac_func ();
19694 /* The GNU C library defines this for functions which it implements
19695 to always fail with ENOSYS. Some functions are actually named
19696 something starting with __ and the normal name is an alias. */
19697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19698 choke me
19699 #else
19700 char (*f) () = $ac_func;
19701 #endif
19702 #ifdef __cplusplus
19704 #endif
19707 main ()
19709 return f != $ac_func;
19711 return 0;
19713 _ACEOF
19714 rm -f conftest.$ac_objext conftest$ac_exeext
19715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19716 (eval $ac_link) 2>conftest.er1
19717 ac_status=$?
19718 grep -v '^ *+' conftest.er1 >conftest.err
19719 rm -f conftest.er1
19720 cat conftest.err >&5
19721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19722 (exit $ac_status); } &&
19723 { ac_try='test -z "$ac_c_werror_flag"
19724 || test ! -s conftest.err'
19725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19726 (eval $ac_try) 2>&5
19727 ac_status=$?
19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19729 (exit $ac_status); }; } &&
19730 { ac_try='test -s conftest$ac_exeext'
19731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19732 (eval $ac_try) 2>&5
19733 ac_status=$?
19734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19735 (exit $ac_status); }; }; then
19736 eval "$as_ac_var=yes"
19737 else
19738 echo "$as_me: failed program was:" >&5
19739 sed 's/^/| /' conftest.$ac_ext >&5
19741 eval "$as_ac_var=no"
19743 rm -f conftest.err conftest.$ac_objext \
19744 conftest$ac_exeext conftest.$ac_ext
19746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19748 if test `eval echo '${'$as_ac_var'}'` = yes; then
19749 cat >>confdefs.h <<_ACEOF
19750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19751 _ACEOF
19754 done
19760 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19761 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19762 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19763 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19764 echo $ECHO_N "(cached) $ECHO_C" >&6
19765 else
19769 ac_ext=cc
19770 ac_cpp='$CXXCPP $CPPFLAGS'
19771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19775 cat >conftest.$ac_ext <<_ACEOF
19776 /* confdefs.h. */
19777 _ACEOF
19778 cat confdefs.h >>conftest.$ac_ext
19779 cat >>conftest.$ac_ext <<_ACEOF
19780 /* end confdefs.h. */
19781 #include <math.h>
19782 #ifdef HAVE_IEEEFP_H
19783 #include <ieeefp.h>
19784 #endif
19787 main ()
19789 isnanl(0);
19791 return 0;
19793 _ACEOF
19794 rm -f conftest.$ac_objext
19795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19796 (eval $ac_compile) 2>conftest.er1
19797 ac_status=$?
19798 grep -v '^ *+' conftest.er1 >conftest.err
19799 rm -f conftest.er1
19800 cat conftest.err >&5
19801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19802 (exit $ac_status); } &&
19803 { ac_try='test -z "$ac_cxx_werror_flag"
19804 || test ! -s conftest.err'
19805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19806 (eval $ac_try) 2>&5
19807 ac_status=$?
19808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19809 (exit $ac_status); }; } &&
19810 { ac_try='test -s conftest.$ac_objext'
19811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19812 (eval $ac_try) 2>&5
19813 ac_status=$?
19814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815 (exit $ac_status); }; }; then
19816 glibcxx_cv_func_isnanl_use=yes
19817 else
19818 echo "$as_me: failed program was:" >&5
19819 sed 's/^/| /' conftest.$ac_ext >&5
19821 glibcxx_cv_func_isnanl_use=no
19823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19824 ac_ext=c
19825 ac_cpp='$CPP $CPPFLAGS'
19826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19834 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19835 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19837 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19839 for ac_func in isnanl
19841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19842 echo "$as_me:$LINENO: checking for $ac_func" >&5
19843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19844 if eval "test \"\${$as_ac_var+set}\" = set"; then
19845 echo $ECHO_N "(cached) $ECHO_C" >&6
19846 else
19847 if test x$gcc_no_link = xyes; then
19848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19850 { (exit 1); exit 1; }; }
19852 cat >conftest.$ac_ext <<_ACEOF
19853 /* confdefs.h. */
19854 _ACEOF
19855 cat confdefs.h >>conftest.$ac_ext
19856 cat >>conftest.$ac_ext <<_ACEOF
19857 /* end confdefs.h. */
19858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19860 #define $ac_func innocuous_$ac_func
19862 /* System header to define __stub macros and hopefully few prototypes,
19863 which can conflict with char $ac_func (); below.
19864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19865 <limits.h> exists even on freestanding compilers. */
19867 #ifdef __STDC__
19868 # include <limits.h>
19869 #else
19870 # include <assert.h>
19871 #endif
19873 #undef $ac_func
19875 /* Override any gcc2 internal prototype to avoid an error. */
19876 #ifdef __cplusplus
19877 extern "C"
19879 #endif
19880 /* We use char because int might match the return type of a gcc2
19881 builtin and then its argument prototype would still apply. */
19882 char $ac_func ();
19883 /* The GNU C library defines this for functions which it implements
19884 to always fail with ENOSYS. Some functions are actually named
19885 something starting with __ and the normal name is an alias. */
19886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19887 choke me
19888 #else
19889 char (*f) () = $ac_func;
19890 #endif
19891 #ifdef __cplusplus
19893 #endif
19896 main ()
19898 return f != $ac_func;
19900 return 0;
19902 _ACEOF
19903 rm -f conftest.$ac_objext conftest$ac_exeext
19904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19905 (eval $ac_link) 2>conftest.er1
19906 ac_status=$?
19907 grep -v '^ *+' conftest.er1 >conftest.err
19908 rm -f conftest.er1
19909 cat conftest.err >&5
19910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19911 (exit $ac_status); } &&
19912 { ac_try='test -z "$ac_c_werror_flag"
19913 || test ! -s conftest.err'
19914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19915 (eval $ac_try) 2>&5
19916 ac_status=$?
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); }; } &&
19919 { ac_try='test -s conftest$ac_exeext'
19920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19921 (eval $ac_try) 2>&5
19922 ac_status=$?
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); }; }; then
19925 eval "$as_ac_var=yes"
19926 else
19927 echo "$as_me: failed program was:" >&5
19928 sed 's/^/| /' conftest.$ac_ext >&5
19930 eval "$as_ac_var=no"
19932 rm -f conftest.err conftest.$ac_objext \
19933 conftest$ac_exeext conftest.$ac_ext
19935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19937 if test `eval echo '${'$as_ac_var'}'` = yes; then
19938 cat >>confdefs.h <<_ACEOF
19939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19940 _ACEOF
19943 done
19945 else
19947 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19948 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19949 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19950 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19951 echo $ECHO_N "(cached) $ECHO_C" >&6
19952 else
19956 ac_ext=cc
19957 ac_cpp='$CXXCPP $CPPFLAGS'
19958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19962 cat >conftest.$ac_ext <<_ACEOF
19963 /* confdefs.h. */
19964 _ACEOF
19965 cat confdefs.h >>conftest.$ac_ext
19966 cat >>conftest.$ac_ext <<_ACEOF
19967 /* end confdefs.h. */
19968 #include <math.h>
19969 #ifdef HAVE_IEEEFP_H
19970 #include <ieeefp.h>
19971 #endif
19974 main ()
19976 _isnanl(0);
19978 return 0;
19980 _ACEOF
19981 rm -f conftest.$ac_objext
19982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19983 (eval $ac_compile) 2>conftest.er1
19984 ac_status=$?
19985 grep -v '^ *+' conftest.er1 >conftest.err
19986 rm -f conftest.er1
19987 cat conftest.err >&5
19988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19989 (exit $ac_status); } &&
19990 { ac_try='test -z "$ac_cxx_werror_flag"
19991 || test ! -s conftest.err'
19992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19993 (eval $ac_try) 2>&5
19994 ac_status=$?
19995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996 (exit $ac_status); }; } &&
19997 { ac_try='test -s conftest.$ac_objext'
19998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19999 (eval $ac_try) 2>&5
20000 ac_status=$?
20001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20002 (exit $ac_status); }; }; then
20003 glibcxx_cv_func__isnanl_use=yes
20004 else
20005 echo "$as_me: failed program was:" >&5
20006 sed 's/^/| /' conftest.$ac_ext >&5
20008 glibcxx_cv_func__isnanl_use=no
20010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20011 ac_ext=c
20012 ac_cpp='$CPP $CPPFLAGS'
20013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20021 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
20022 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
20024 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
20026 for ac_func in _isnanl
20028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20029 echo "$as_me:$LINENO: checking for $ac_func" >&5
20030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20031 if eval "test \"\${$as_ac_var+set}\" = set"; then
20032 echo $ECHO_N "(cached) $ECHO_C" >&6
20033 else
20034 if test x$gcc_no_link = xyes; then
20035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20037 { (exit 1); exit 1; }; }
20039 cat >conftest.$ac_ext <<_ACEOF
20040 /* confdefs.h. */
20041 _ACEOF
20042 cat confdefs.h >>conftest.$ac_ext
20043 cat >>conftest.$ac_ext <<_ACEOF
20044 /* end confdefs.h. */
20045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20047 #define $ac_func innocuous_$ac_func
20049 /* System header to define __stub macros and hopefully few prototypes,
20050 which can conflict with char $ac_func (); below.
20051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20052 <limits.h> exists even on freestanding compilers. */
20054 #ifdef __STDC__
20055 # include <limits.h>
20056 #else
20057 # include <assert.h>
20058 #endif
20060 #undef $ac_func
20062 /* Override any gcc2 internal prototype to avoid an error. */
20063 #ifdef __cplusplus
20064 extern "C"
20066 #endif
20067 /* We use char because int might match the return type of a gcc2
20068 builtin and then its argument prototype would still apply. */
20069 char $ac_func ();
20070 /* The GNU C library defines this for functions which it implements
20071 to always fail with ENOSYS. Some functions are actually named
20072 something starting with __ and the normal name is an alias. */
20073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20074 choke me
20075 #else
20076 char (*f) () = $ac_func;
20077 #endif
20078 #ifdef __cplusplus
20080 #endif
20083 main ()
20085 return f != $ac_func;
20087 return 0;
20089 _ACEOF
20090 rm -f conftest.$ac_objext conftest$ac_exeext
20091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20092 (eval $ac_link) 2>conftest.er1
20093 ac_status=$?
20094 grep -v '^ *+' conftest.er1 >conftest.err
20095 rm -f conftest.er1
20096 cat conftest.err >&5
20097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20098 (exit $ac_status); } &&
20099 { ac_try='test -z "$ac_c_werror_flag"
20100 || test ! -s conftest.err'
20101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20102 (eval $ac_try) 2>&5
20103 ac_status=$?
20104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105 (exit $ac_status); }; } &&
20106 { ac_try='test -s conftest$ac_exeext'
20107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20108 (eval $ac_try) 2>&5
20109 ac_status=$?
20110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20111 (exit $ac_status); }; }; then
20112 eval "$as_ac_var=yes"
20113 else
20114 echo "$as_me: failed program was:" >&5
20115 sed 's/^/| /' conftest.$ac_ext >&5
20117 eval "$as_ac_var=no"
20119 rm -f conftest.err conftest.$ac_objext \
20120 conftest$ac_exeext conftest.$ac_ext
20122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20124 if test `eval echo '${'$as_ac_var'}'` = yes; then
20125 cat >>confdefs.h <<_ACEOF
20126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20127 _ACEOF
20130 done
20137 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
20138 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
20139 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
20140 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
20141 echo $ECHO_N "(cached) $ECHO_C" >&6
20142 else
20146 ac_ext=cc
20147 ac_cpp='$CXXCPP $CPPFLAGS'
20148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20152 cat >conftest.$ac_ext <<_ACEOF
20153 /* confdefs.h. */
20154 _ACEOF
20155 cat confdefs.h >>conftest.$ac_ext
20156 cat >>conftest.$ac_ext <<_ACEOF
20157 /* end confdefs.h. */
20158 #include <math.h>
20159 #ifdef HAVE_IEEEFP_H
20160 #include <ieeefp.h>
20161 #endif
20164 main ()
20166 isinfl(0);
20168 return 0;
20170 _ACEOF
20171 rm -f conftest.$ac_objext
20172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20173 (eval $ac_compile) 2>conftest.er1
20174 ac_status=$?
20175 grep -v '^ *+' conftest.er1 >conftest.err
20176 rm -f conftest.er1
20177 cat conftest.err >&5
20178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20179 (exit $ac_status); } &&
20180 { ac_try='test -z "$ac_cxx_werror_flag"
20181 || test ! -s conftest.err'
20182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20183 (eval $ac_try) 2>&5
20184 ac_status=$?
20185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20186 (exit $ac_status); }; } &&
20187 { ac_try='test -s conftest.$ac_objext'
20188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20189 (eval $ac_try) 2>&5
20190 ac_status=$?
20191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20192 (exit $ac_status); }; }; then
20193 glibcxx_cv_func_isinfl_use=yes
20194 else
20195 echo "$as_me: failed program was:" >&5
20196 sed 's/^/| /' conftest.$ac_ext >&5
20198 glibcxx_cv_func_isinfl_use=no
20200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20201 ac_ext=c
20202 ac_cpp='$CPP $CPPFLAGS'
20203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20211 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
20212 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
20214 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
20216 for ac_func in isinfl
20218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20219 echo "$as_me:$LINENO: checking for $ac_func" >&5
20220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20221 if eval "test \"\${$as_ac_var+set}\" = set"; then
20222 echo $ECHO_N "(cached) $ECHO_C" >&6
20223 else
20224 if test x$gcc_no_link = xyes; then
20225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20227 { (exit 1); exit 1; }; }
20229 cat >conftest.$ac_ext <<_ACEOF
20230 /* confdefs.h. */
20231 _ACEOF
20232 cat confdefs.h >>conftest.$ac_ext
20233 cat >>conftest.$ac_ext <<_ACEOF
20234 /* end confdefs.h. */
20235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20237 #define $ac_func innocuous_$ac_func
20239 /* System header to define __stub macros and hopefully few prototypes,
20240 which can conflict with char $ac_func (); below.
20241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20242 <limits.h> exists even on freestanding compilers. */
20244 #ifdef __STDC__
20245 # include <limits.h>
20246 #else
20247 # include <assert.h>
20248 #endif
20250 #undef $ac_func
20252 /* Override any gcc2 internal prototype to avoid an error. */
20253 #ifdef __cplusplus
20254 extern "C"
20256 #endif
20257 /* We use char because int might match the return type of a gcc2
20258 builtin and then its argument prototype would still apply. */
20259 char $ac_func ();
20260 /* The GNU C library defines this for functions which it implements
20261 to always fail with ENOSYS. Some functions are actually named
20262 something starting with __ and the normal name is an alias. */
20263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20264 choke me
20265 #else
20266 char (*f) () = $ac_func;
20267 #endif
20268 #ifdef __cplusplus
20270 #endif
20273 main ()
20275 return f != $ac_func;
20277 return 0;
20279 _ACEOF
20280 rm -f conftest.$ac_objext conftest$ac_exeext
20281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20282 (eval $ac_link) 2>conftest.er1
20283 ac_status=$?
20284 grep -v '^ *+' conftest.er1 >conftest.err
20285 rm -f conftest.er1
20286 cat conftest.err >&5
20287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20288 (exit $ac_status); } &&
20289 { ac_try='test -z "$ac_c_werror_flag"
20290 || test ! -s conftest.err'
20291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20292 (eval $ac_try) 2>&5
20293 ac_status=$?
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); }; } &&
20296 { ac_try='test -s conftest$ac_exeext'
20297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20298 (eval $ac_try) 2>&5
20299 ac_status=$?
20300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20301 (exit $ac_status); }; }; then
20302 eval "$as_ac_var=yes"
20303 else
20304 echo "$as_me: failed program was:" >&5
20305 sed 's/^/| /' conftest.$ac_ext >&5
20307 eval "$as_ac_var=no"
20309 rm -f conftest.err conftest.$ac_objext \
20310 conftest$ac_exeext conftest.$ac_ext
20312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20314 if test `eval echo '${'$as_ac_var'}'` = yes; then
20315 cat >>confdefs.h <<_ACEOF
20316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20317 _ACEOF
20320 done
20322 else
20324 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
20325 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
20326 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
20327 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
20328 echo $ECHO_N "(cached) $ECHO_C" >&6
20329 else
20333 ac_ext=cc
20334 ac_cpp='$CXXCPP $CPPFLAGS'
20335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20339 cat >conftest.$ac_ext <<_ACEOF
20340 /* confdefs.h. */
20341 _ACEOF
20342 cat confdefs.h >>conftest.$ac_ext
20343 cat >>conftest.$ac_ext <<_ACEOF
20344 /* end confdefs.h. */
20345 #include <math.h>
20346 #ifdef HAVE_IEEEFP_H
20347 #include <ieeefp.h>
20348 #endif
20351 main ()
20353 _isinfl(0);
20355 return 0;
20357 _ACEOF
20358 rm -f conftest.$ac_objext
20359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20360 (eval $ac_compile) 2>conftest.er1
20361 ac_status=$?
20362 grep -v '^ *+' conftest.er1 >conftest.err
20363 rm -f conftest.er1
20364 cat conftest.err >&5
20365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20366 (exit $ac_status); } &&
20367 { ac_try='test -z "$ac_cxx_werror_flag"
20368 || test ! -s conftest.err'
20369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20370 (eval $ac_try) 2>&5
20371 ac_status=$?
20372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20373 (exit $ac_status); }; } &&
20374 { ac_try='test -s conftest.$ac_objext'
20375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20376 (eval $ac_try) 2>&5
20377 ac_status=$?
20378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20379 (exit $ac_status); }; }; then
20380 glibcxx_cv_func__isinfl_use=yes
20381 else
20382 echo "$as_me: failed program was:" >&5
20383 sed 's/^/| /' conftest.$ac_ext >&5
20385 glibcxx_cv_func__isinfl_use=no
20387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20388 ac_ext=c
20389 ac_cpp='$CPP $CPPFLAGS'
20390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20398 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
20399 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
20401 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
20403 for ac_func in _isinfl
20405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20406 echo "$as_me:$LINENO: checking for $ac_func" >&5
20407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20408 if eval "test \"\${$as_ac_var+set}\" = set"; then
20409 echo $ECHO_N "(cached) $ECHO_C" >&6
20410 else
20411 if test x$gcc_no_link = xyes; then
20412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20414 { (exit 1); exit 1; }; }
20416 cat >conftest.$ac_ext <<_ACEOF
20417 /* confdefs.h. */
20418 _ACEOF
20419 cat confdefs.h >>conftest.$ac_ext
20420 cat >>conftest.$ac_ext <<_ACEOF
20421 /* end confdefs.h. */
20422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20424 #define $ac_func innocuous_$ac_func
20426 /* System header to define __stub macros and hopefully few prototypes,
20427 which can conflict with char $ac_func (); below.
20428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20429 <limits.h> exists even on freestanding compilers. */
20431 #ifdef __STDC__
20432 # include <limits.h>
20433 #else
20434 # include <assert.h>
20435 #endif
20437 #undef $ac_func
20439 /* Override any gcc2 internal prototype to avoid an error. */
20440 #ifdef __cplusplus
20441 extern "C"
20443 #endif
20444 /* We use char because int might match the return type of a gcc2
20445 builtin and then its argument prototype would still apply. */
20446 char $ac_func ();
20447 /* The GNU C library defines this for functions which it implements
20448 to always fail with ENOSYS. Some functions are actually named
20449 something starting with __ and the normal name is an alias. */
20450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20451 choke me
20452 #else
20453 char (*f) () = $ac_func;
20454 #endif
20455 #ifdef __cplusplus
20457 #endif
20460 main ()
20462 return f != $ac_func;
20464 return 0;
20466 _ACEOF
20467 rm -f conftest.$ac_objext conftest$ac_exeext
20468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20469 (eval $ac_link) 2>conftest.er1
20470 ac_status=$?
20471 grep -v '^ *+' conftest.er1 >conftest.err
20472 rm -f conftest.er1
20473 cat conftest.err >&5
20474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20475 (exit $ac_status); } &&
20476 { ac_try='test -z "$ac_c_werror_flag"
20477 || test ! -s conftest.err'
20478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20479 (eval $ac_try) 2>&5
20480 ac_status=$?
20481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20482 (exit $ac_status); }; } &&
20483 { ac_try='test -s conftest$ac_exeext'
20484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20485 (eval $ac_try) 2>&5
20486 ac_status=$?
20487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488 (exit $ac_status); }; }; then
20489 eval "$as_ac_var=yes"
20490 else
20491 echo "$as_me: failed program was:" >&5
20492 sed 's/^/| /' conftest.$ac_ext >&5
20494 eval "$as_ac_var=no"
20496 rm -f conftest.err conftest.$ac_objext \
20497 conftest$ac_exeext conftest.$ac_ext
20499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20501 if test `eval echo '${'$as_ac_var'}'` = yes; then
20502 cat >>confdefs.h <<_ACEOF
20503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20504 _ACEOF
20507 done
20514 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20515 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20516 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20517 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20518 echo $ECHO_N "(cached) $ECHO_C" >&6
20519 else
20523 ac_ext=cc
20524 ac_cpp='$CXXCPP $CPPFLAGS'
20525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20529 cat >conftest.$ac_ext <<_ACEOF
20530 /* confdefs.h. */
20531 _ACEOF
20532 cat confdefs.h >>conftest.$ac_ext
20533 cat >>conftest.$ac_ext <<_ACEOF
20534 /* end confdefs.h. */
20535 #include <math.h>
20537 main ()
20539 copysignl(0, 0);
20541 return 0;
20543 _ACEOF
20544 rm -f conftest.$ac_objext
20545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20546 (eval $ac_compile) 2>conftest.er1
20547 ac_status=$?
20548 grep -v '^ *+' conftest.er1 >conftest.err
20549 rm -f conftest.er1
20550 cat conftest.err >&5
20551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20552 (exit $ac_status); } &&
20553 { ac_try='test -z "$ac_cxx_werror_flag"
20554 || test ! -s conftest.err'
20555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20556 (eval $ac_try) 2>&5
20557 ac_status=$?
20558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559 (exit $ac_status); }; } &&
20560 { ac_try='test -s conftest.$ac_objext'
20561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20562 (eval $ac_try) 2>&5
20563 ac_status=$?
20564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20565 (exit $ac_status); }; }; then
20566 glibcxx_cv_func_copysignl_use=yes
20567 else
20568 echo "$as_me: failed program was:" >&5
20569 sed 's/^/| /' conftest.$ac_ext >&5
20571 glibcxx_cv_func_copysignl_use=no
20573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20574 ac_ext=c
20575 ac_cpp='$CPP $CPPFLAGS'
20576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20584 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20585 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20587 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20589 for ac_func in copysignl
20591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20592 echo "$as_me:$LINENO: checking for $ac_func" >&5
20593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20594 if eval "test \"\${$as_ac_var+set}\" = set"; then
20595 echo $ECHO_N "(cached) $ECHO_C" >&6
20596 else
20597 if test x$gcc_no_link = xyes; then
20598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20600 { (exit 1); exit 1; }; }
20602 cat >conftest.$ac_ext <<_ACEOF
20603 /* confdefs.h. */
20604 _ACEOF
20605 cat confdefs.h >>conftest.$ac_ext
20606 cat >>conftest.$ac_ext <<_ACEOF
20607 /* end confdefs.h. */
20608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20610 #define $ac_func innocuous_$ac_func
20612 /* System header to define __stub macros and hopefully few prototypes,
20613 which can conflict with char $ac_func (); below.
20614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20615 <limits.h> exists even on freestanding compilers. */
20617 #ifdef __STDC__
20618 # include <limits.h>
20619 #else
20620 # include <assert.h>
20621 #endif
20623 #undef $ac_func
20625 /* Override any gcc2 internal prototype to avoid an error. */
20626 #ifdef __cplusplus
20627 extern "C"
20629 #endif
20630 /* We use char because int might match the return type of a gcc2
20631 builtin and then its argument prototype would still apply. */
20632 char $ac_func ();
20633 /* The GNU C library defines this for functions which it implements
20634 to always fail with ENOSYS. Some functions are actually named
20635 something starting with __ and the normal name is an alias. */
20636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20637 choke me
20638 #else
20639 char (*f) () = $ac_func;
20640 #endif
20641 #ifdef __cplusplus
20643 #endif
20646 main ()
20648 return f != $ac_func;
20650 return 0;
20652 _ACEOF
20653 rm -f conftest.$ac_objext conftest$ac_exeext
20654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20655 (eval $ac_link) 2>conftest.er1
20656 ac_status=$?
20657 grep -v '^ *+' conftest.er1 >conftest.err
20658 rm -f conftest.er1
20659 cat conftest.err >&5
20660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20661 (exit $ac_status); } &&
20662 { ac_try='test -z "$ac_c_werror_flag"
20663 || test ! -s conftest.err'
20664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20665 (eval $ac_try) 2>&5
20666 ac_status=$?
20667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20668 (exit $ac_status); }; } &&
20669 { ac_try='test -s conftest$ac_exeext'
20670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20671 (eval $ac_try) 2>&5
20672 ac_status=$?
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); }; }; then
20675 eval "$as_ac_var=yes"
20676 else
20677 echo "$as_me: failed program was:" >&5
20678 sed 's/^/| /' conftest.$ac_ext >&5
20680 eval "$as_ac_var=no"
20682 rm -f conftest.err conftest.$ac_objext \
20683 conftest$ac_exeext conftest.$ac_ext
20685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20687 if test `eval echo '${'$as_ac_var'}'` = yes; then
20688 cat >>confdefs.h <<_ACEOF
20689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20690 _ACEOF
20693 done
20695 else
20697 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20698 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20699 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20700 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20701 echo $ECHO_N "(cached) $ECHO_C" >&6
20702 else
20706 ac_ext=cc
20707 ac_cpp='$CXXCPP $CPPFLAGS'
20708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20712 cat >conftest.$ac_ext <<_ACEOF
20713 /* confdefs.h. */
20714 _ACEOF
20715 cat confdefs.h >>conftest.$ac_ext
20716 cat >>conftest.$ac_ext <<_ACEOF
20717 /* end confdefs.h. */
20718 #include <math.h>
20720 main ()
20722 _copysignl(0, 0);
20724 return 0;
20726 _ACEOF
20727 rm -f conftest.$ac_objext
20728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20729 (eval $ac_compile) 2>conftest.er1
20730 ac_status=$?
20731 grep -v '^ *+' conftest.er1 >conftest.err
20732 rm -f conftest.er1
20733 cat conftest.err >&5
20734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735 (exit $ac_status); } &&
20736 { ac_try='test -z "$ac_cxx_werror_flag"
20737 || test ! -s conftest.err'
20738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20739 (eval $ac_try) 2>&5
20740 ac_status=$?
20741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20742 (exit $ac_status); }; } &&
20743 { ac_try='test -s conftest.$ac_objext'
20744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20745 (eval $ac_try) 2>&5
20746 ac_status=$?
20747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20748 (exit $ac_status); }; }; then
20749 glibcxx_cv_func__copysignl_use=yes
20750 else
20751 echo "$as_me: failed program was:" >&5
20752 sed 's/^/| /' conftest.$ac_ext >&5
20754 glibcxx_cv_func__copysignl_use=no
20756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20757 ac_ext=c
20758 ac_cpp='$CPP $CPPFLAGS'
20759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20767 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20768 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20770 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20772 for ac_func in _copysignl
20774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20775 echo "$as_me:$LINENO: checking for $ac_func" >&5
20776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20777 if eval "test \"\${$as_ac_var+set}\" = set"; then
20778 echo $ECHO_N "(cached) $ECHO_C" >&6
20779 else
20780 if test x$gcc_no_link = xyes; then
20781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20783 { (exit 1); exit 1; }; }
20785 cat >conftest.$ac_ext <<_ACEOF
20786 /* confdefs.h. */
20787 _ACEOF
20788 cat confdefs.h >>conftest.$ac_ext
20789 cat >>conftest.$ac_ext <<_ACEOF
20790 /* end confdefs.h. */
20791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20793 #define $ac_func innocuous_$ac_func
20795 /* System header to define __stub macros and hopefully few prototypes,
20796 which can conflict with char $ac_func (); below.
20797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20798 <limits.h> exists even on freestanding compilers. */
20800 #ifdef __STDC__
20801 # include <limits.h>
20802 #else
20803 # include <assert.h>
20804 #endif
20806 #undef $ac_func
20808 /* Override any gcc2 internal prototype to avoid an error. */
20809 #ifdef __cplusplus
20810 extern "C"
20812 #endif
20813 /* We use char because int might match the return type of a gcc2
20814 builtin and then its argument prototype would still apply. */
20815 char $ac_func ();
20816 /* The GNU C library defines this for functions which it implements
20817 to always fail with ENOSYS. Some functions are actually named
20818 something starting with __ and the normal name is an alias. */
20819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20820 choke me
20821 #else
20822 char (*f) () = $ac_func;
20823 #endif
20824 #ifdef __cplusplus
20826 #endif
20829 main ()
20831 return f != $ac_func;
20833 return 0;
20835 _ACEOF
20836 rm -f conftest.$ac_objext conftest$ac_exeext
20837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20838 (eval $ac_link) 2>conftest.er1
20839 ac_status=$?
20840 grep -v '^ *+' conftest.er1 >conftest.err
20841 rm -f conftest.er1
20842 cat conftest.err >&5
20843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20844 (exit $ac_status); } &&
20845 { ac_try='test -z "$ac_c_werror_flag"
20846 || test ! -s conftest.err'
20847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20848 (eval $ac_try) 2>&5
20849 ac_status=$?
20850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851 (exit $ac_status); }; } &&
20852 { ac_try='test -s conftest$ac_exeext'
20853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20854 (eval $ac_try) 2>&5
20855 ac_status=$?
20856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857 (exit $ac_status); }; }; then
20858 eval "$as_ac_var=yes"
20859 else
20860 echo "$as_me: failed program was:" >&5
20861 sed 's/^/| /' conftest.$ac_ext >&5
20863 eval "$as_ac_var=no"
20865 rm -f conftest.err conftest.$ac_objext \
20866 conftest$ac_exeext conftest.$ac_ext
20868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20870 if test `eval echo '${'$as_ac_var'}'` = yes; then
20871 cat >>confdefs.h <<_ACEOF
20872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20873 _ACEOF
20876 done
20883 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20884 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20885 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20886 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20887 echo $ECHO_N "(cached) $ECHO_C" >&6
20888 else
20892 ac_ext=cc
20893 ac_cpp='$CXXCPP $CPPFLAGS'
20894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20898 cat >conftest.$ac_ext <<_ACEOF
20899 /* confdefs.h. */
20900 _ACEOF
20901 cat confdefs.h >>conftest.$ac_ext
20902 cat >>conftest.$ac_ext <<_ACEOF
20903 /* end confdefs.h. */
20904 #include <math.h>
20906 main ()
20908 atan2l(0, 0);
20910 return 0;
20912 _ACEOF
20913 rm -f conftest.$ac_objext
20914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20915 (eval $ac_compile) 2>conftest.er1
20916 ac_status=$?
20917 grep -v '^ *+' conftest.er1 >conftest.err
20918 rm -f conftest.er1
20919 cat conftest.err >&5
20920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921 (exit $ac_status); } &&
20922 { ac_try='test -z "$ac_cxx_werror_flag"
20923 || test ! -s conftest.err'
20924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20925 (eval $ac_try) 2>&5
20926 ac_status=$?
20927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928 (exit $ac_status); }; } &&
20929 { ac_try='test -s conftest.$ac_objext'
20930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20931 (eval $ac_try) 2>&5
20932 ac_status=$?
20933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20934 (exit $ac_status); }; }; then
20935 glibcxx_cv_func_atan2l_use=yes
20936 else
20937 echo "$as_me: failed program was:" >&5
20938 sed 's/^/| /' conftest.$ac_ext >&5
20940 glibcxx_cv_func_atan2l_use=no
20942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20943 ac_ext=c
20944 ac_cpp='$CPP $CPPFLAGS'
20945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20953 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20954 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20956 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20958 for ac_func in atan2l
20960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20961 echo "$as_me:$LINENO: checking for $ac_func" >&5
20962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20963 if eval "test \"\${$as_ac_var+set}\" = set"; then
20964 echo $ECHO_N "(cached) $ECHO_C" >&6
20965 else
20966 if test x$gcc_no_link = xyes; then
20967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20969 { (exit 1); exit 1; }; }
20971 cat >conftest.$ac_ext <<_ACEOF
20972 /* confdefs.h. */
20973 _ACEOF
20974 cat confdefs.h >>conftest.$ac_ext
20975 cat >>conftest.$ac_ext <<_ACEOF
20976 /* end confdefs.h. */
20977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20979 #define $ac_func innocuous_$ac_func
20981 /* System header to define __stub macros and hopefully few prototypes,
20982 which can conflict with char $ac_func (); below.
20983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20984 <limits.h> exists even on freestanding compilers. */
20986 #ifdef __STDC__
20987 # include <limits.h>
20988 #else
20989 # include <assert.h>
20990 #endif
20992 #undef $ac_func
20994 /* Override any gcc2 internal prototype to avoid an error. */
20995 #ifdef __cplusplus
20996 extern "C"
20998 #endif
20999 /* We use char because int might match the return type of a gcc2
21000 builtin and then its argument prototype would still apply. */
21001 char $ac_func ();
21002 /* The GNU C library defines this for functions which it implements
21003 to always fail with ENOSYS. Some functions are actually named
21004 something starting with __ and the normal name is an alias. */
21005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21006 choke me
21007 #else
21008 char (*f) () = $ac_func;
21009 #endif
21010 #ifdef __cplusplus
21012 #endif
21015 main ()
21017 return f != $ac_func;
21019 return 0;
21021 _ACEOF
21022 rm -f conftest.$ac_objext conftest$ac_exeext
21023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21024 (eval $ac_link) 2>conftest.er1
21025 ac_status=$?
21026 grep -v '^ *+' conftest.er1 >conftest.err
21027 rm -f conftest.er1
21028 cat conftest.err >&5
21029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21030 (exit $ac_status); } &&
21031 { ac_try='test -z "$ac_c_werror_flag"
21032 || test ! -s conftest.err'
21033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21034 (eval $ac_try) 2>&5
21035 ac_status=$?
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); }; } &&
21038 { ac_try='test -s conftest$ac_exeext'
21039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21040 (eval $ac_try) 2>&5
21041 ac_status=$?
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); }; }; then
21044 eval "$as_ac_var=yes"
21045 else
21046 echo "$as_me: failed program was:" >&5
21047 sed 's/^/| /' conftest.$ac_ext >&5
21049 eval "$as_ac_var=no"
21051 rm -f conftest.err conftest.$ac_objext \
21052 conftest$ac_exeext conftest.$ac_ext
21054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21056 if test `eval echo '${'$as_ac_var'}'` = yes; then
21057 cat >>confdefs.h <<_ACEOF
21058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21059 _ACEOF
21062 done
21064 else
21066 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
21067 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
21068 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
21069 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
21070 echo $ECHO_N "(cached) $ECHO_C" >&6
21071 else
21075 ac_ext=cc
21076 ac_cpp='$CXXCPP $CPPFLAGS'
21077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21081 cat >conftest.$ac_ext <<_ACEOF
21082 /* confdefs.h. */
21083 _ACEOF
21084 cat confdefs.h >>conftest.$ac_ext
21085 cat >>conftest.$ac_ext <<_ACEOF
21086 /* end confdefs.h. */
21087 #include <math.h>
21089 main ()
21091 _atan2l(0, 0);
21093 return 0;
21095 _ACEOF
21096 rm -f conftest.$ac_objext
21097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21098 (eval $ac_compile) 2>conftest.er1
21099 ac_status=$?
21100 grep -v '^ *+' conftest.er1 >conftest.err
21101 rm -f conftest.er1
21102 cat conftest.err >&5
21103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21104 (exit $ac_status); } &&
21105 { ac_try='test -z "$ac_cxx_werror_flag"
21106 || test ! -s conftest.err'
21107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21108 (eval $ac_try) 2>&5
21109 ac_status=$?
21110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21111 (exit $ac_status); }; } &&
21112 { ac_try='test -s conftest.$ac_objext'
21113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21114 (eval $ac_try) 2>&5
21115 ac_status=$?
21116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21117 (exit $ac_status); }; }; then
21118 glibcxx_cv_func__atan2l_use=yes
21119 else
21120 echo "$as_me: failed program was:" >&5
21121 sed 's/^/| /' conftest.$ac_ext >&5
21123 glibcxx_cv_func__atan2l_use=no
21125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21126 ac_ext=c
21127 ac_cpp='$CPP $CPPFLAGS'
21128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21136 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
21137 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
21139 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
21141 for ac_func in _atan2l
21143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21144 echo "$as_me:$LINENO: checking for $ac_func" >&5
21145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21146 if eval "test \"\${$as_ac_var+set}\" = set"; then
21147 echo $ECHO_N "(cached) $ECHO_C" >&6
21148 else
21149 if test x$gcc_no_link = xyes; then
21150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21152 { (exit 1); exit 1; }; }
21154 cat >conftest.$ac_ext <<_ACEOF
21155 /* confdefs.h. */
21156 _ACEOF
21157 cat confdefs.h >>conftest.$ac_ext
21158 cat >>conftest.$ac_ext <<_ACEOF
21159 /* end confdefs.h. */
21160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21162 #define $ac_func innocuous_$ac_func
21164 /* System header to define __stub macros and hopefully few prototypes,
21165 which can conflict with char $ac_func (); below.
21166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21167 <limits.h> exists even on freestanding compilers. */
21169 #ifdef __STDC__
21170 # include <limits.h>
21171 #else
21172 # include <assert.h>
21173 #endif
21175 #undef $ac_func
21177 /* Override any gcc2 internal prototype to avoid an error. */
21178 #ifdef __cplusplus
21179 extern "C"
21181 #endif
21182 /* We use char because int might match the return type of a gcc2
21183 builtin and then its argument prototype would still apply. */
21184 char $ac_func ();
21185 /* The GNU C library defines this for functions which it implements
21186 to always fail with ENOSYS. Some functions are actually named
21187 something starting with __ and the normal name is an alias. */
21188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21189 choke me
21190 #else
21191 char (*f) () = $ac_func;
21192 #endif
21193 #ifdef __cplusplus
21195 #endif
21198 main ()
21200 return f != $ac_func;
21202 return 0;
21204 _ACEOF
21205 rm -f conftest.$ac_objext conftest$ac_exeext
21206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21207 (eval $ac_link) 2>conftest.er1
21208 ac_status=$?
21209 grep -v '^ *+' conftest.er1 >conftest.err
21210 rm -f conftest.er1
21211 cat conftest.err >&5
21212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21213 (exit $ac_status); } &&
21214 { ac_try='test -z "$ac_c_werror_flag"
21215 || test ! -s conftest.err'
21216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21217 (eval $ac_try) 2>&5
21218 ac_status=$?
21219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21220 (exit $ac_status); }; } &&
21221 { ac_try='test -s conftest$ac_exeext'
21222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21223 (eval $ac_try) 2>&5
21224 ac_status=$?
21225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226 (exit $ac_status); }; }; then
21227 eval "$as_ac_var=yes"
21228 else
21229 echo "$as_me: failed program was:" >&5
21230 sed 's/^/| /' conftest.$ac_ext >&5
21232 eval "$as_ac_var=no"
21234 rm -f conftest.err conftest.$ac_objext \
21235 conftest$ac_exeext conftest.$ac_ext
21237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21239 if test `eval echo '${'$as_ac_var'}'` = yes; then
21240 cat >>confdefs.h <<_ACEOF
21241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21242 _ACEOF
21245 done
21252 echo "$as_me:$LINENO: checking for expl declaration" >&5
21253 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
21254 if test x${glibcxx_cv_func_expl_use+set} != xset; then
21255 if test "${glibcxx_cv_func_expl_use+set}" = set; then
21256 echo $ECHO_N "(cached) $ECHO_C" >&6
21257 else
21261 ac_ext=cc
21262 ac_cpp='$CXXCPP $CPPFLAGS'
21263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21267 cat >conftest.$ac_ext <<_ACEOF
21268 /* confdefs.h. */
21269 _ACEOF
21270 cat confdefs.h >>conftest.$ac_ext
21271 cat >>conftest.$ac_ext <<_ACEOF
21272 /* end confdefs.h. */
21273 #include <math.h>
21274 #ifdef HAVE_IEEEFP_H
21275 #include <ieeefp.h>
21276 #endif
21279 main ()
21281 expl(0);
21283 return 0;
21285 _ACEOF
21286 rm -f conftest.$ac_objext
21287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21288 (eval $ac_compile) 2>conftest.er1
21289 ac_status=$?
21290 grep -v '^ *+' conftest.er1 >conftest.err
21291 rm -f conftest.er1
21292 cat conftest.err >&5
21293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294 (exit $ac_status); } &&
21295 { ac_try='test -z "$ac_cxx_werror_flag"
21296 || test ! -s conftest.err'
21297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21298 (eval $ac_try) 2>&5
21299 ac_status=$?
21300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21301 (exit $ac_status); }; } &&
21302 { ac_try='test -s conftest.$ac_objext'
21303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21304 (eval $ac_try) 2>&5
21305 ac_status=$?
21306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21307 (exit $ac_status); }; }; then
21308 glibcxx_cv_func_expl_use=yes
21309 else
21310 echo "$as_me: failed program was:" >&5
21311 sed 's/^/| /' conftest.$ac_ext >&5
21313 glibcxx_cv_func_expl_use=no
21315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21316 ac_ext=c
21317 ac_cpp='$CPP $CPPFLAGS'
21318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21326 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
21327 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
21329 if test x$glibcxx_cv_func_expl_use = x"yes"; then
21331 for ac_func in expl
21333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21334 echo "$as_me:$LINENO: checking for $ac_func" >&5
21335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21336 if eval "test \"\${$as_ac_var+set}\" = set"; then
21337 echo $ECHO_N "(cached) $ECHO_C" >&6
21338 else
21339 if test x$gcc_no_link = xyes; then
21340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21342 { (exit 1); exit 1; }; }
21344 cat >conftest.$ac_ext <<_ACEOF
21345 /* confdefs.h. */
21346 _ACEOF
21347 cat confdefs.h >>conftest.$ac_ext
21348 cat >>conftest.$ac_ext <<_ACEOF
21349 /* end confdefs.h. */
21350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21352 #define $ac_func innocuous_$ac_func
21354 /* System header to define __stub macros and hopefully few prototypes,
21355 which can conflict with char $ac_func (); below.
21356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21357 <limits.h> exists even on freestanding compilers. */
21359 #ifdef __STDC__
21360 # include <limits.h>
21361 #else
21362 # include <assert.h>
21363 #endif
21365 #undef $ac_func
21367 /* Override any gcc2 internal prototype to avoid an error. */
21368 #ifdef __cplusplus
21369 extern "C"
21371 #endif
21372 /* We use char because int might match the return type of a gcc2
21373 builtin and then its argument prototype would still apply. */
21374 char $ac_func ();
21375 /* The GNU C library defines this for functions which it implements
21376 to always fail with ENOSYS. Some functions are actually named
21377 something starting with __ and the normal name is an alias. */
21378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21379 choke me
21380 #else
21381 char (*f) () = $ac_func;
21382 #endif
21383 #ifdef __cplusplus
21385 #endif
21388 main ()
21390 return f != $ac_func;
21392 return 0;
21394 _ACEOF
21395 rm -f conftest.$ac_objext conftest$ac_exeext
21396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21397 (eval $ac_link) 2>conftest.er1
21398 ac_status=$?
21399 grep -v '^ *+' conftest.er1 >conftest.err
21400 rm -f conftest.er1
21401 cat conftest.err >&5
21402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21403 (exit $ac_status); } &&
21404 { ac_try='test -z "$ac_c_werror_flag"
21405 || test ! -s conftest.err'
21406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21407 (eval $ac_try) 2>&5
21408 ac_status=$?
21409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21410 (exit $ac_status); }; } &&
21411 { ac_try='test -s conftest$ac_exeext'
21412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21413 (eval $ac_try) 2>&5
21414 ac_status=$?
21415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21416 (exit $ac_status); }; }; then
21417 eval "$as_ac_var=yes"
21418 else
21419 echo "$as_me: failed program was:" >&5
21420 sed 's/^/| /' conftest.$ac_ext >&5
21422 eval "$as_ac_var=no"
21424 rm -f conftest.err conftest.$ac_objext \
21425 conftest$ac_exeext conftest.$ac_ext
21427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21429 if test `eval echo '${'$as_ac_var'}'` = yes; then
21430 cat >>confdefs.h <<_ACEOF
21431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21432 _ACEOF
21435 done
21437 else
21439 echo "$as_me:$LINENO: checking for _expl declaration" >&5
21440 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
21441 if test x${glibcxx_cv_func__expl_use+set} != xset; then
21442 if test "${glibcxx_cv_func__expl_use+set}" = set; then
21443 echo $ECHO_N "(cached) $ECHO_C" >&6
21444 else
21448 ac_ext=cc
21449 ac_cpp='$CXXCPP $CPPFLAGS'
21450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21454 cat >conftest.$ac_ext <<_ACEOF
21455 /* confdefs.h. */
21456 _ACEOF
21457 cat confdefs.h >>conftest.$ac_ext
21458 cat >>conftest.$ac_ext <<_ACEOF
21459 /* end confdefs.h. */
21460 #include <math.h>
21461 #ifdef HAVE_IEEEFP_H
21462 #include <ieeefp.h>
21463 #endif
21466 main ()
21468 _expl(0);
21470 return 0;
21472 _ACEOF
21473 rm -f conftest.$ac_objext
21474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21475 (eval $ac_compile) 2>conftest.er1
21476 ac_status=$?
21477 grep -v '^ *+' conftest.er1 >conftest.err
21478 rm -f conftest.er1
21479 cat conftest.err >&5
21480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21481 (exit $ac_status); } &&
21482 { ac_try='test -z "$ac_cxx_werror_flag"
21483 || test ! -s conftest.err'
21484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21485 (eval $ac_try) 2>&5
21486 ac_status=$?
21487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21488 (exit $ac_status); }; } &&
21489 { ac_try='test -s conftest.$ac_objext'
21490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21491 (eval $ac_try) 2>&5
21492 ac_status=$?
21493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21494 (exit $ac_status); }; }; then
21495 glibcxx_cv_func__expl_use=yes
21496 else
21497 echo "$as_me: failed program was:" >&5
21498 sed 's/^/| /' conftest.$ac_ext >&5
21500 glibcxx_cv_func__expl_use=no
21502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21503 ac_ext=c
21504 ac_cpp='$CPP $CPPFLAGS'
21505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21513 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21514 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21516 if test x$glibcxx_cv_func__expl_use = x"yes"; then
21518 for ac_func in _expl
21520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21521 echo "$as_me:$LINENO: checking for $ac_func" >&5
21522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21523 if eval "test \"\${$as_ac_var+set}\" = set"; then
21524 echo $ECHO_N "(cached) $ECHO_C" >&6
21525 else
21526 if test x$gcc_no_link = xyes; then
21527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21529 { (exit 1); exit 1; }; }
21531 cat >conftest.$ac_ext <<_ACEOF
21532 /* confdefs.h. */
21533 _ACEOF
21534 cat confdefs.h >>conftest.$ac_ext
21535 cat >>conftest.$ac_ext <<_ACEOF
21536 /* end confdefs.h. */
21537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21539 #define $ac_func innocuous_$ac_func
21541 /* System header to define __stub macros and hopefully few prototypes,
21542 which can conflict with char $ac_func (); below.
21543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21544 <limits.h> exists even on freestanding compilers. */
21546 #ifdef __STDC__
21547 # include <limits.h>
21548 #else
21549 # include <assert.h>
21550 #endif
21552 #undef $ac_func
21554 /* Override any gcc2 internal prototype to avoid an error. */
21555 #ifdef __cplusplus
21556 extern "C"
21558 #endif
21559 /* We use char because int might match the return type of a gcc2
21560 builtin and then its argument prototype would still apply. */
21561 char $ac_func ();
21562 /* The GNU C library defines this for functions which it implements
21563 to always fail with ENOSYS. Some functions are actually named
21564 something starting with __ and the normal name is an alias. */
21565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21566 choke me
21567 #else
21568 char (*f) () = $ac_func;
21569 #endif
21570 #ifdef __cplusplus
21572 #endif
21575 main ()
21577 return f != $ac_func;
21579 return 0;
21581 _ACEOF
21582 rm -f conftest.$ac_objext conftest$ac_exeext
21583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21584 (eval $ac_link) 2>conftest.er1
21585 ac_status=$?
21586 grep -v '^ *+' conftest.er1 >conftest.err
21587 rm -f conftest.er1
21588 cat conftest.err >&5
21589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21590 (exit $ac_status); } &&
21591 { ac_try='test -z "$ac_c_werror_flag"
21592 || test ! -s conftest.err'
21593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21594 (eval $ac_try) 2>&5
21595 ac_status=$?
21596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21597 (exit $ac_status); }; } &&
21598 { ac_try='test -s conftest$ac_exeext'
21599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21600 (eval $ac_try) 2>&5
21601 ac_status=$?
21602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21603 (exit $ac_status); }; }; then
21604 eval "$as_ac_var=yes"
21605 else
21606 echo "$as_me: failed program was:" >&5
21607 sed 's/^/| /' conftest.$ac_ext >&5
21609 eval "$as_ac_var=no"
21611 rm -f conftest.err conftest.$ac_objext \
21612 conftest$ac_exeext conftest.$ac_ext
21614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21616 if test `eval echo '${'$as_ac_var'}'` = yes; then
21617 cat >>confdefs.h <<_ACEOF
21618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21619 _ACEOF
21622 done
21629 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21630 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21631 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21632 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21633 echo $ECHO_N "(cached) $ECHO_C" >&6
21634 else
21638 ac_ext=cc
21639 ac_cpp='$CXXCPP $CPPFLAGS'
21640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21644 cat >conftest.$ac_ext <<_ACEOF
21645 /* confdefs.h. */
21646 _ACEOF
21647 cat confdefs.h >>conftest.$ac_ext
21648 cat >>conftest.$ac_ext <<_ACEOF
21649 /* end confdefs.h. */
21650 #include <math.h>
21651 #ifdef HAVE_IEEEFP_H
21652 #include <ieeefp.h>
21653 #endif
21656 main ()
21658 fabsl(0);
21660 return 0;
21662 _ACEOF
21663 rm -f conftest.$ac_objext
21664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21665 (eval $ac_compile) 2>conftest.er1
21666 ac_status=$?
21667 grep -v '^ *+' conftest.er1 >conftest.err
21668 rm -f conftest.er1
21669 cat conftest.err >&5
21670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21671 (exit $ac_status); } &&
21672 { ac_try='test -z "$ac_cxx_werror_flag"
21673 || test ! -s conftest.err'
21674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21675 (eval $ac_try) 2>&5
21676 ac_status=$?
21677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21678 (exit $ac_status); }; } &&
21679 { ac_try='test -s conftest.$ac_objext'
21680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21681 (eval $ac_try) 2>&5
21682 ac_status=$?
21683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21684 (exit $ac_status); }; }; then
21685 glibcxx_cv_func_fabsl_use=yes
21686 else
21687 echo "$as_me: failed program was:" >&5
21688 sed 's/^/| /' conftest.$ac_ext >&5
21690 glibcxx_cv_func_fabsl_use=no
21692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21693 ac_ext=c
21694 ac_cpp='$CPP $CPPFLAGS'
21695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21703 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21704 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21706 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21708 for ac_func in fabsl
21710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21711 echo "$as_me:$LINENO: checking for $ac_func" >&5
21712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21713 if eval "test \"\${$as_ac_var+set}\" = set"; then
21714 echo $ECHO_N "(cached) $ECHO_C" >&6
21715 else
21716 if test x$gcc_no_link = xyes; then
21717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21719 { (exit 1); exit 1; }; }
21721 cat >conftest.$ac_ext <<_ACEOF
21722 /* confdefs.h. */
21723 _ACEOF
21724 cat confdefs.h >>conftest.$ac_ext
21725 cat >>conftest.$ac_ext <<_ACEOF
21726 /* end confdefs.h. */
21727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21729 #define $ac_func innocuous_$ac_func
21731 /* System header to define __stub macros and hopefully few prototypes,
21732 which can conflict with char $ac_func (); below.
21733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21734 <limits.h> exists even on freestanding compilers. */
21736 #ifdef __STDC__
21737 # include <limits.h>
21738 #else
21739 # include <assert.h>
21740 #endif
21742 #undef $ac_func
21744 /* Override any gcc2 internal prototype to avoid an error. */
21745 #ifdef __cplusplus
21746 extern "C"
21748 #endif
21749 /* We use char because int might match the return type of a gcc2
21750 builtin and then its argument prototype would still apply. */
21751 char $ac_func ();
21752 /* The GNU C library defines this for functions which it implements
21753 to always fail with ENOSYS. Some functions are actually named
21754 something starting with __ and the normal name is an alias. */
21755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21756 choke me
21757 #else
21758 char (*f) () = $ac_func;
21759 #endif
21760 #ifdef __cplusplus
21762 #endif
21765 main ()
21767 return f != $ac_func;
21769 return 0;
21771 _ACEOF
21772 rm -f conftest.$ac_objext conftest$ac_exeext
21773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21774 (eval $ac_link) 2>conftest.er1
21775 ac_status=$?
21776 grep -v '^ *+' conftest.er1 >conftest.err
21777 rm -f conftest.er1
21778 cat conftest.err >&5
21779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21780 (exit $ac_status); } &&
21781 { ac_try='test -z "$ac_c_werror_flag"
21782 || test ! -s conftest.err'
21783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21784 (eval $ac_try) 2>&5
21785 ac_status=$?
21786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787 (exit $ac_status); }; } &&
21788 { ac_try='test -s conftest$ac_exeext'
21789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21790 (eval $ac_try) 2>&5
21791 ac_status=$?
21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793 (exit $ac_status); }; }; then
21794 eval "$as_ac_var=yes"
21795 else
21796 echo "$as_me: failed program was:" >&5
21797 sed 's/^/| /' conftest.$ac_ext >&5
21799 eval "$as_ac_var=no"
21801 rm -f conftest.err conftest.$ac_objext \
21802 conftest$ac_exeext conftest.$ac_ext
21804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21806 if test `eval echo '${'$as_ac_var'}'` = yes; then
21807 cat >>confdefs.h <<_ACEOF
21808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21809 _ACEOF
21812 done
21814 else
21816 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21817 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21818 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21819 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21820 echo $ECHO_N "(cached) $ECHO_C" >&6
21821 else
21825 ac_ext=cc
21826 ac_cpp='$CXXCPP $CPPFLAGS'
21827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21831 cat >conftest.$ac_ext <<_ACEOF
21832 /* confdefs.h. */
21833 _ACEOF
21834 cat confdefs.h >>conftest.$ac_ext
21835 cat >>conftest.$ac_ext <<_ACEOF
21836 /* end confdefs.h. */
21837 #include <math.h>
21838 #ifdef HAVE_IEEEFP_H
21839 #include <ieeefp.h>
21840 #endif
21843 main ()
21845 _fabsl(0);
21847 return 0;
21849 _ACEOF
21850 rm -f conftest.$ac_objext
21851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21852 (eval $ac_compile) 2>conftest.er1
21853 ac_status=$?
21854 grep -v '^ *+' conftest.er1 >conftest.err
21855 rm -f conftest.er1
21856 cat conftest.err >&5
21857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21858 (exit $ac_status); } &&
21859 { ac_try='test -z "$ac_cxx_werror_flag"
21860 || test ! -s conftest.err'
21861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21862 (eval $ac_try) 2>&5
21863 ac_status=$?
21864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865 (exit $ac_status); }; } &&
21866 { ac_try='test -s conftest.$ac_objext'
21867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21868 (eval $ac_try) 2>&5
21869 ac_status=$?
21870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21871 (exit $ac_status); }; }; then
21872 glibcxx_cv_func__fabsl_use=yes
21873 else
21874 echo "$as_me: failed program was:" >&5
21875 sed 's/^/| /' conftest.$ac_ext >&5
21877 glibcxx_cv_func__fabsl_use=no
21879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21880 ac_ext=c
21881 ac_cpp='$CPP $CPPFLAGS'
21882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21890 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21891 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21893 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21895 for ac_func in _fabsl
21897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21898 echo "$as_me:$LINENO: checking for $ac_func" >&5
21899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21900 if eval "test \"\${$as_ac_var+set}\" = set"; then
21901 echo $ECHO_N "(cached) $ECHO_C" >&6
21902 else
21903 if test x$gcc_no_link = xyes; then
21904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21906 { (exit 1); exit 1; }; }
21908 cat >conftest.$ac_ext <<_ACEOF
21909 /* confdefs.h. */
21910 _ACEOF
21911 cat confdefs.h >>conftest.$ac_ext
21912 cat >>conftest.$ac_ext <<_ACEOF
21913 /* end confdefs.h. */
21914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21916 #define $ac_func innocuous_$ac_func
21918 /* System header to define __stub macros and hopefully few prototypes,
21919 which can conflict with char $ac_func (); below.
21920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21921 <limits.h> exists even on freestanding compilers. */
21923 #ifdef __STDC__
21924 # include <limits.h>
21925 #else
21926 # include <assert.h>
21927 #endif
21929 #undef $ac_func
21931 /* Override any gcc2 internal prototype to avoid an error. */
21932 #ifdef __cplusplus
21933 extern "C"
21935 #endif
21936 /* We use char because int might match the return type of a gcc2
21937 builtin and then its argument prototype would still apply. */
21938 char $ac_func ();
21939 /* The GNU C library defines this for functions which it implements
21940 to always fail with ENOSYS. Some functions are actually named
21941 something starting with __ and the normal name is an alias. */
21942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21943 choke me
21944 #else
21945 char (*f) () = $ac_func;
21946 #endif
21947 #ifdef __cplusplus
21949 #endif
21952 main ()
21954 return f != $ac_func;
21956 return 0;
21958 _ACEOF
21959 rm -f conftest.$ac_objext conftest$ac_exeext
21960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21961 (eval $ac_link) 2>conftest.er1
21962 ac_status=$?
21963 grep -v '^ *+' conftest.er1 >conftest.err
21964 rm -f conftest.er1
21965 cat conftest.err >&5
21966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21967 (exit $ac_status); } &&
21968 { ac_try='test -z "$ac_c_werror_flag"
21969 || test ! -s conftest.err'
21970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21971 (eval $ac_try) 2>&5
21972 ac_status=$?
21973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21974 (exit $ac_status); }; } &&
21975 { ac_try='test -s conftest$ac_exeext'
21976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21977 (eval $ac_try) 2>&5
21978 ac_status=$?
21979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21980 (exit $ac_status); }; }; then
21981 eval "$as_ac_var=yes"
21982 else
21983 echo "$as_me: failed program was:" >&5
21984 sed 's/^/| /' conftest.$ac_ext >&5
21986 eval "$as_ac_var=no"
21988 rm -f conftest.err conftest.$ac_objext \
21989 conftest$ac_exeext conftest.$ac_ext
21991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21993 if test `eval echo '${'$as_ac_var'}'` = yes; then
21994 cat >>confdefs.h <<_ACEOF
21995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21996 _ACEOF
21999 done
22006 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
22007 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
22008 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
22009 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
22010 echo $ECHO_N "(cached) $ECHO_C" >&6
22011 else
22015 ac_ext=cc
22016 ac_cpp='$CXXCPP $CPPFLAGS'
22017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22021 cat >conftest.$ac_ext <<_ACEOF
22022 /* confdefs.h. */
22023 _ACEOF
22024 cat confdefs.h >>conftest.$ac_ext
22025 cat >>conftest.$ac_ext <<_ACEOF
22026 /* end confdefs.h. */
22027 #include <math.h>
22029 main ()
22031 fmodl(0, 0);
22033 return 0;
22035 _ACEOF
22036 rm -f conftest.$ac_objext
22037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22038 (eval $ac_compile) 2>conftest.er1
22039 ac_status=$?
22040 grep -v '^ *+' conftest.er1 >conftest.err
22041 rm -f conftest.er1
22042 cat conftest.err >&5
22043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22044 (exit $ac_status); } &&
22045 { ac_try='test -z "$ac_cxx_werror_flag"
22046 || test ! -s conftest.err'
22047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22048 (eval $ac_try) 2>&5
22049 ac_status=$?
22050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22051 (exit $ac_status); }; } &&
22052 { ac_try='test -s conftest.$ac_objext'
22053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22054 (eval $ac_try) 2>&5
22055 ac_status=$?
22056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22057 (exit $ac_status); }; }; then
22058 glibcxx_cv_func_fmodl_use=yes
22059 else
22060 echo "$as_me: failed program was:" >&5
22061 sed 's/^/| /' conftest.$ac_ext >&5
22063 glibcxx_cv_func_fmodl_use=no
22065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22066 ac_ext=c
22067 ac_cpp='$CPP $CPPFLAGS'
22068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22076 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
22077 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
22079 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
22081 for ac_func in fmodl
22083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22084 echo "$as_me:$LINENO: checking for $ac_func" >&5
22085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22086 if eval "test \"\${$as_ac_var+set}\" = set"; then
22087 echo $ECHO_N "(cached) $ECHO_C" >&6
22088 else
22089 if test x$gcc_no_link = xyes; then
22090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22092 { (exit 1); exit 1; }; }
22094 cat >conftest.$ac_ext <<_ACEOF
22095 /* confdefs.h. */
22096 _ACEOF
22097 cat confdefs.h >>conftest.$ac_ext
22098 cat >>conftest.$ac_ext <<_ACEOF
22099 /* end confdefs.h. */
22100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22102 #define $ac_func innocuous_$ac_func
22104 /* System header to define __stub macros and hopefully few prototypes,
22105 which can conflict with char $ac_func (); below.
22106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22107 <limits.h> exists even on freestanding compilers. */
22109 #ifdef __STDC__
22110 # include <limits.h>
22111 #else
22112 # include <assert.h>
22113 #endif
22115 #undef $ac_func
22117 /* Override any gcc2 internal prototype to avoid an error. */
22118 #ifdef __cplusplus
22119 extern "C"
22121 #endif
22122 /* We use char because int might match the return type of a gcc2
22123 builtin and then its argument prototype would still apply. */
22124 char $ac_func ();
22125 /* The GNU C library defines this for functions which it implements
22126 to always fail with ENOSYS. Some functions are actually named
22127 something starting with __ and the normal name is an alias. */
22128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22129 choke me
22130 #else
22131 char (*f) () = $ac_func;
22132 #endif
22133 #ifdef __cplusplus
22135 #endif
22138 main ()
22140 return f != $ac_func;
22142 return 0;
22144 _ACEOF
22145 rm -f conftest.$ac_objext conftest$ac_exeext
22146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22147 (eval $ac_link) 2>conftest.er1
22148 ac_status=$?
22149 grep -v '^ *+' conftest.er1 >conftest.err
22150 rm -f conftest.er1
22151 cat conftest.err >&5
22152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22153 (exit $ac_status); } &&
22154 { ac_try='test -z "$ac_c_werror_flag"
22155 || test ! -s conftest.err'
22156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22157 (eval $ac_try) 2>&5
22158 ac_status=$?
22159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22160 (exit $ac_status); }; } &&
22161 { ac_try='test -s conftest$ac_exeext'
22162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22163 (eval $ac_try) 2>&5
22164 ac_status=$?
22165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22166 (exit $ac_status); }; }; then
22167 eval "$as_ac_var=yes"
22168 else
22169 echo "$as_me: failed program was:" >&5
22170 sed 's/^/| /' conftest.$ac_ext >&5
22172 eval "$as_ac_var=no"
22174 rm -f conftest.err conftest.$ac_objext \
22175 conftest$ac_exeext conftest.$ac_ext
22177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22179 if test `eval echo '${'$as_ac_var'}'` = yes; then
22180 cat >>confdefs.h <<_ACEOF
22181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22182 _ACEOF
22185 done
22187 else
22189 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
22190 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
22191 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
22192 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
22193 echo $ECHO_N "(cached) $ECHO_C" >&6
22194 else
22198 ac_ext=cc
22199 ac_cpp='$CXXCPP $CPPFLAGS'
22200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22204 cat >conftest.$ac_ext <<_ACEOF
22205 /* confdefs.h. */
22206 _ACEOF
22207 cat confdefs.h >>conftest.$ac_ext
22208 cat >>conftest.$ac_ext <<_ACEOF
22209 /* end confdefs.h. */
22210 #include <math.h>
22212 main ()
22214 _fmodl(0, 0);
22216 return 0;
22218 _ACEOF
22219 rm -f conftest.$ac_objext
22220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22221 (eval $ac_compile) 2>conftest.er1
22222 ac_status=$?
22223 grep -v '^ *+' conftest.er1 >conftest.err
22224 rm -f conftest.er1
22225 cat conftest.err >&5
22226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22227 (exit $ac_status); } &&
22228 { ac_try='test -z "$ac_cxx_werror_flag"
22229 || test ! -s conftest.err'
22230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22231 (eval $ac_try) 2>&5
22232 ac_status=$?
22233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22234 (exit $ac_status); }; } &&
22235 { ac_try='test -s conftest.$ac_objext'
22236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22237 (eval $ac_try) 2>&5
22238 ac_status=$?
22239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240 (exit $ac_status); }; }; then
22241 glibcxx_cv_func__fmodl_use=yes
22242 else
22243 echo "$as_me: failed program was:" >&5
22244 sed 's/^/| /' conftest.$ac_ext >&5
22246 glibcxx_cv_func__fmodl_use=no
22248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22249 ac_ext=c
22250 ac_cpp='$CPP $CPPFLAGS'
22251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22259 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
22260 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
22262 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
22264 for ac_func in _fmodl
22266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22267 echo "$as_me:$LINENO: checking for $ac_func" >&5
22268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22269 if eval "test \"\${$as_ac_var+set}\" = set"; then
22270 echo $ECHO_N "(cached) $ECHO_C" >&6
22271 else
22272 if test x$gcc_no_link = xyes; then
22273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22275 { (exit 1); exit 1; }; }
22277 cat >conftest.$ac_ext <<_ACEOF
22278 /* confdefs.h. */
22279 _ACEOF
22280 cat confdefs.h >>conftest.$ac_ext
22281 cat >>conftest.$ac_ext <<_ACEOF
22282 /* end confdefs.h. */
22283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22285 #define $ac_func innocuous_$ac_func
22287 /* System header to define __stub macros and hopefully few prototypes,
22288 which can conflict with char $ac_func (); below.
22289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22290 <limits.h> exists even on freestanding compilers. */
22292 #ifdef __STDC__
22293 # include <limits.h>
22294 #else
22295 # include <assert.h>
22296 #endif
22298 #undef $ac_func
22300 /* Override any gcc2 internal prototype to avoid an error. */
22301 #ifdef __cplusplus
22302 extern "C"
22304 #endif
22305 /* We use char because int might match the return type of a gcc2
22306 builtin and then its argument prototype would still apply. */
22307 char $ac_func ();
22308 /* The GNU C library defines this for functions which it implements
22309 to always fail with ENOSYS. Some functions are actually named
22310 something starting with __ and the normal name is an alias. */
22311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22312 choke me
22313 #else
22314 char (*f) () = $ac_func;
22315 #endif
22316 #ifdef __cplusplus
22318 #endif
22321 main ()
22323 return f != $ac_func;
22325 return 0;
22327 _ACEOF
22328 rm -f conftest.$ac_objext conftest$ac_exeext
22329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22330 (eval $ac_link) 2>conftest.er1
22331 ac_status=$?
22332 grep -v '^ *+' conftest.er1 >conftest.err
22333 rm -f conftest.er1
22334 cat conftest.err >&5
22335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22336 (exit $ac_status); } &&
22337 { ac_try='test -z "$ac_c_werror_flag"
22338 || test ! -s conftest.err'
22339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22340 (eval $ac_try) 2>&5
22341 ac_status=$?
22342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22343 (exit $ac_status); }; } &&
22344 { ac_try='test -s conftest$ac_exeext'
22345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22346 (eval $ac_try) 2>&5
22347 ac_status=$?
22348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22349 (exit $ac_status); }; }; then
22350 eval "$as_ac_var=yes"
22351 else
22352 echo "$as_me: failed program was:" >&5
22353 sed 's/^/| /' conftest.$ac_ext >&5
22355 eval "$as_ac_var=no"
22357 rm -f conftest.err conftest.$ac_objext \
22358 conftest$ac_exeext conftest.$ac_ext
22360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22362 if test `eval echo '${'$as_ac_var'}'` = yes; then
22363 cat >>confdefs.h <<_ACEOF
22364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22365 _ACEOF
22368 done
22375 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
22376 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
22377 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
22378 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
22379 echo $ECHO_N "(cached) $ECHO_C" >&6
22380 else
22384 ac_ext=cc
22385 ac_cpp='$CXXCPP $CPPFLAGS'
22386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22390 cat >conftest.$ac_ext <<_ACEOF
22391 /* confdefs.h. */
22392 _ACEOF
22393 cat confdefs.h >>conftest.$ac_ext
22394 cat >>conftest.$ac_ext <<_ACEOF
22395 /* end confdefs.h. */
22396 #include <math.h>
22398 main ()
22400 frexpl(0, 0);
22402 return 0;
22404 _ACEOF
22405 rm -f conftest.$ac_objext
22406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22407 (eval $ac_compile) 2>conftest.er1
22408 ac_status=$?
22409 grep -v '^ *+' conftest.er1 >conftest.err
22410 rm -f conftest.er1
22411 cat conftest.err >&5
22412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22413 (exit $ac_status); } &&
22414 { ac_try='test -z "$ac_cxx_werror_flag"
22415 || test ! -s conftest.err'
22416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22417 (eval $ac_try) 2>&5
22418 ac_status=$?
22419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22420 (exit $ac_status); }; } &&
22421 { ac_try='test -s conftest.$ac_objext'
22422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22423 (eval $ac_try) 2>&5
22424 ac_status=$?
22425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22426 (exit $ac_status); }; }; then
22427 glibcxx_cv_func_frexpl_use=yes
22428 else
22429 echo "$as_me: failed program was:" >&5
22430 sed 's/^/| /' conftest.$ac_ext >&5
22432 glibcxx_cv_func_frexpl_use=no
22434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22435 ac_ext=c
22436 ac_cpp='$CPP $CPPFLAGS'
22437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22445 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
22446 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
22448 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
22450 for ac_func in frexpl
22452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22453 echo "$as_me:$LINENO: checking for $ac_func" >&5
22454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22455 if eval "test \"\${$as_ac_var+set}\" = set"; then
22456 echo $ECHO_N "(cached) $ECHO_C" >&6
22457 else
22458 if test x$gcc_no_link = xyes; then
22459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22461 { (exit 1); exit 1; }; }
22463 cat >conftest.$ac_ext <<_ACEOF
22464 /* confdefs.h. */
22465 _ACEOF
22466 cat confdefs.h >>conftest.$ac_ext
22467 cat >>conftest.$ac_ext <<_ACEOF
22468 /* end confdefs.h. */
22469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22471 #define $ac_func innocuous_$ac_func
22473 /* System header to define __stub macros and hopefully few prototypes,
22474 which can conflict with char $ac_func (); below.
22475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22476 <limits.h> exists even on freestanding compilers. */
22478 #ifdef __STDC__
22479 # include <limits.h>
22480 #else
22481 # include <assert.h>
22482 #endif
22484 #undef $ac_func
22486 /* Override any gcc2 internal prototype to avoid an error. */
22487 #ifdef __cplusplus
22488 extern "C"
22490 #endif
22491 /* We use char because int might match the return type of a gcc2
22492 builtin and then its argument prototype would still apply. */
22493 char $ac_func ();
22494 /* The GNU C library defines this for functions which it implements
22495 to always fail with ENOSYS. Some functions are actually named
22496 something starting with __ and the normal name is an alias. */
22497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22498 choke me
22499 #else
22500 char (*f) () = $ac_func;
22501 #endif
22502 #ifdef __cplusplus
22504 #endif
22507 main ()
22509 return f != $ac_func;
22511 return 0;
22513 _ACEOF
22514 rm -f conftest.$ac_objext conftest$ac_exeext
22515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22516 (eval $ac_link) 2>conftest.er1
22517 ac_status=$?
22518 grep -v '^ *+' conftest.er1 >conftest.err
22519 rm -f conftest.er1
22520 cat conftest.err >&5
22521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522 (exit $ac_status); } &&
22523 { ac_try='test -z "$ac_c_werror_flag"
22524 || test ! -s conftest.err'
22525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22526 (eval $ac_try) 2>&5
22527 ac_status=$?
22528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22529 (exit $ac_status); }; } &&
22530 { ac_try='test -s conftest$ac_exeext'
22531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22532 (eval $ac_try) 2>&5
22533 ac_status=$?
22534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22535 (exit $ac_status); }; }; then
22536 eval "$as_ac_var=yes"
22537 else
22538 echo "$as_me: failed program was:" >&5
22539 sed 's/^/| /' conftest.$ac_ext >&5
22541 eval "$as_ac_var=no"
22543 rm -f conftest.err conftest.$ac_objext \
22544 conftest$ac_exeext conftest.$ac_ext
22546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22548 if test `eval echo '${'$as_ac_var'}'` = yes; then
22549 cat >>confdefs.h <<_ACEOF
22550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22551 _ACEOF
22554 done
22556 else
22558 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22559 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22560 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22561 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22562 echo $ECHO_N "(cached) $ECHO_C" >&6
22563 else
22567 ac_ext=cc
22568 ac_cpp='$CXXCPP $CPPFLAGS'
22569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22573 cat >conftest.$ac_ext <<_ACEOF
22574 /* confdefs.h. */
22575 _ACEOF
22576 cat confdefs.h >>conftest.$ac_ext
22577 cat >>conftest.$ac_ext <<_ACEOF
22578 /* end confdefs.h. */
22579 #include <math.h>
22581 main ()
22583 _frexpl(0, 0);
22585 return 0;
22587 _ACEOF
22588 rm -f conftest.$ac_objext
22589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22590 (eval $ac_compile) 2>conftest.er1
22591 ac_status=$?
22592 grep -v '^ *+' conftest.er1 >conftest.err
22593 rm -f conftest.er1
22594 cat conftest.err >&5
22595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22596 (exit $ac_status); } &&
22597 { ac_try='test -z "$ac_cxx_werror_flag"
22598 || test ! -s conftest.err'
22599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22600 (eval $ac_try) 2>&5
22601 ac_status=$?
22602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603 (exit $ac_status); }; } &&
22604 { ac_try='test -s conftest.$ac_objext'
22605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22606 (eval $ac_try) 2>&5
22607 ac_status=$?
22608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22609 (exit $ac_status); }; }; then
22610 glibcxx_cv_func__frexpl_use=yes
22611 else
22612 echo "$as_me: failed program was:" >&5
22613 sed 's/^/| /' conftest.$ac_ext >&5
22615 glibcxx_cv_func__frexpl_use=no
22617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22618 ac_ext=c
22619 ac_cpp='$CPP $CPPFLAGS'
22620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22628 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22629 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22631 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22633 for ac_func in _frexpl
22635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22636 echo "$as_me:$LINENO: checking for $ac_func" >&5
22637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22638 if eval "test \"\${$as_ac_var+set}\" = set"; then
22639 echo $ECHO_N "(cached) $ECHO_C" >&6
22640 else
22641 if test x$gcc_no_link = xyes; then
22642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22644 { (exit 1); exit 1; }; }
22646 cat >conftest.$ac_ext <<_ACEOF
22647 /* confdefs.h. */
22648 _ACEOF
22649 cat confdefs.h >>conftest.$ac_ext
22650 cat >>conftest.$ac_ext <<_ACEOF
22651 /* end confdefs.h. */
22652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22654 #define $ac_func innocuous_$ac_func
22656 /* System header to define __stub macros and hopefully few prototypes,
22657 which can conflict with char $ac_func (); below.
22658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22659 <limits.h> exists even on freestanding compilers. */
22661 #ifdef __STDC__
22662 # include <limits.h>
22663 #else
22664 # include <assert.h>
22665 #endif
22667 #undef $ac_func
22669 /* Override any gcc2 internal prototype to avoid an error. */
22670 #ifdef __cplusplus
22671 extern "C"
22673 #endif
22674 /* We use char because int might match the return type of a gcc2
22675 builtin and then its argument prototype would still apply. */
22676 char $ac_func ();
22677 /* The GNU C library defines this for functions which it implements
22678 to always fail with ENOSYS. Some functions are actually named
22679 something starting with __ and the normal name is an alias. */
22680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22681 choke me
22682 #else
22683 char (*f) () = $ac_func;
22684 #endif
22685 #ifdef __cplusplus
22687 #endif
22690 main ()
22692 return f != $ac_func;
22694 return 0;
22696 _ACEOF
22697 rm -f conftest.$ac_objext conftest$ac_exeext
22698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22699 (eval $ac_link) 2>conftest.er1
22700 ac_status=$?
22701 grep -v '^ *+' conftest.er1 >conftest.err
22702 rm -f conftest.er1
22703 cat conftest.err >&5
22704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705 (exit $ac_status); } &&
22706 { ac_try='test -z "$ac_c_werror_flag"
22707 || test ! -s conftest.err'
22708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22709 (eval $ac_try) 2>&5
22710 ac_status=$?
22711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22712 (exit $ac_status); }; } &&
22713 { ac_try='test -s conftest$ac_exeext'
22714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22715 (eval $ac_try) 2>&5
22716 ac_status=$?
22717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718 (exit $ac_status); }; }; then
22719 eval "$as_ac_var=yes"
22720 else
22721 echo "$as_me: failed program was:" >&5
22722 sed 's/^/| /' conftest.$ac_ext >&5
22724 eval "$as_ac_var=no"
22726 rm -f conftest.err conftest.$ac_objext \
22727 conftest$ac_exeext conftest.$ac_ext
22729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22731 if test `eval echo '${'$as_ac_var'}'` = yes; then
22732 cat >>confdefs.h <<_ACEOF
22733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22734 _ACEOF
22737 done
22744 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22745 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22746 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22747 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22748 echo $ECHO_N "(cached) $ECHO_C" >&6
22749 else
22753 ac_ext=cc
22754 ac_cpp='$CXXCPP $CPPFLAGS'
22755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22759 cat >conftest.$ac_ext <<_ACEOF
22760 /* confdefs.h. */
22761 _ACEOF
22762 cat confdefs.h >>conftest.$ac_ext
22763 cat >>conftest.$ac_ext <<_ACEOF
22764 /* end confdefs.h. */
22765 #include <math.h>
22767 main ()
22769 hypotl(0, 0);
22771 return 0;
22773 _ACEOF
22774 rm -f conftest.$ac_objext
22775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22776 (eval $ac_compile) 2>conftest.er1
22777 ac_status=$?
22778 grep -v '^ *+' conftest.er1 >conftest.err
22779 rm -f conftest.er1
22780 cat conftest.err >&5
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); } &&
22783 { ac_try='test -z "$ac_cxx_werror_flag"
22784 || test ! -s conftest.err'
22785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22786 (eval $ac_try) 2>&5
22787 ac_status=$?
22788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789 (exit $ac_status); }; } &&
22790 { ac_try='test -s conftest.$ac_objext'
22791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22792 (eval $ac_try) 2>&5
22793 ac_status=$?
22794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22795 (exit $ac_status); }; }; then
22796 glibcxx_cv_func_hypotl_use=yes
22797 else
22798 echo "$as_me: failed program was:" >&5
22799 sed 's/^/| /' conftest.$ac_ext >&5
22801 glibcxx_cv_func_hypotl_use=no
22803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22804 ac_ext=c
22805 ac_cpp='$CPP $CPPFLAGS'
22806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22814 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22815 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22817 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22819 for ac_func in hypotl
22821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22822 echo "$as_me:$LINENO: checking for $ac_func" >&5
22823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22824 if eval "test \"\${$as_ac_var+set}\" = set"; then
22825 echo $ECHO_N "(cached) $ECHO_C" >&6
22826 else
22827 if test x$gcc_no_link = xyes; then
22828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22830 { (exit 1); exit 1; }; }
22832 cat >conftest.$ac_ext <<_ACEOF
22833 /* confdefs.h. */
22834 _ACEOF
22835 cat confdefs.h >>conftest.$ac_ext
22836 cat >>conftest.$ac_ext <<_ACEOF
22837 /* end confdefs.h. */
22838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22840 #define $ac_func innocuous_$ac_func
22842 /* System header to define __stub macros and hopefully few prototypes,
22843 which can conflict with char $ac_func (); below.
22844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22845 <limits.h> exists even on freestanding compilers. */
22847 #ifdef __STDC__
22848 # include <limits.h>
22849 #else
22850 # include <assert.h>
22851 #endif
22853 #undef $ac_func
22855 /* Override any gcc2 internal prototype to avoid an error. */
22856 #ifdef __cplusplus
22857 extern "C"
22859 #endif
22860 /* We use char because int might match the return type of a gcc2
22861 builtin and then its argument prototype would still apply. */
22862 char $ac_func ();
22863 /* The GNU C library defines this for functions which it implements
22864 to always fail with ENOSYS. Some functions are actually named
22865 something starting with __ and the normal name is an alias. */
22866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22867 choke me
22868 #else
22869 char (*f) () = $ac_func;
22870 #endif
22871 #ifdef __cplusplus
22873 #endif
22876 main ()
22878 return f != $ac_func;
22880 return 0;
22882 _ACEOF
22883 rm -f conftest.$ac_objext conftest$ac_exeext
22884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22885 (eval $ac_link) 2>conftest.er1
22886 ac_status=$?
22887 grep -v '^ *+' conftest.er1 >conftest.err
22888 rm -f conftest.er1
22889 cat conftest.err >&5
22890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22891 (exit $ac_status); } &&
22892 { ac_try='test -z "$ac_c_werror_flag"
22893 || test ! -s conftest.err'
22894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22895 (eval $ac_try) 2>&5
22896 ac_status=$?
22897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22898 (exit $ac_status); }; } &&
22899 { ac_try='test -s conftest$ac_exeext'
22900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22901 (eval $ac_try) 2>&5
22902 ac_status=$?
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); }; }; then
22905 eval "$as_ac_var=yes"
22906 else
22907 echo "$as_me: failed program was:" >&5
22908 sed 's/^/| /' conftest.$ac_ext >&5
22910 eval "$as_ac_var=no"
22912 rm -f conftest.err conftest.$ac_objext \
22913 conftest$ac_exeext conftest.$ac_ext
22915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22917 if test `eval echo '${'$as_ac_var'}'` = yes; then
22918 cat >>confdefs.h <<_ACEOF
22919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22920 _ACEOF
22923 done
22925 else
22927 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22928 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22929 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22930 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22931 echo $ECHO_N "(cached) $ECHO_C" >&6
22932 else
22936 ac_ext=cc
22937 ac_cpp='$CXXCPP $CPPFLAGS'
22938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22942 cat >conftest.$ac_ext <<_ACEOF
22943 /* confdefs.h. */
22944 _ACEOF
22945 cat confdefs.h >>conftest.$ac_ext
22946 cat >>conftest.$ac_ext <<_ACEOF
22947 /* end confdefs.h. */
22948 #include <math.h>
22950 main ()
22952 _hypotl(0, 0);
22954 return 0;
22956 _ACEOF
22957 rm -f conftest.$ac_objext
22958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22959 (eval $ac_compile) 2>conftest.er1
22960 ac_status=$?
22961 grep -v '^ *+' conftest.er1 >conftest.err
22962 rm -f conftest.er1
22963 cat conftest.err >&5
22964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22965 (exit $ac_status); } &&
22966 { ac_try='test -z "$ac_cxx_werror_flag"
22967 || test ! -s conftest.err'
22968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22969 (eval $ac_try) 2>&5
22970 ac_status=$?
22971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22972 (exit $ac_status); }; } &&
22973 { ac_try='test -s conftest.$ac_objext'
22974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22975 (eval $ac_try) 2>&5
22976 ac_status=$?
22977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22978 (exit $ac_status); }; }; then
22979 glibcxx_cv_func__hypotl_use=yes
22980 else
22981 echo "$as_me: failed program was:" >&5
22982 sed 's/^/| /' conftest.$ac_ext >&5
22984 glibcxx_cv_func__hypotl_use=no
22986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22987 ac_ext=c
22988 ac_cpp='$CPP $CPPFLAGS'
22989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22997 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22998 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
23000 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
23002 for ac_func in _hypotl
23004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23005 echo "$as_me:$LINENO: checking for $ac_func" >&5
23006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23007 if eval "test \"\${$as_ac_var+set}\" = set"; then
23008 echo $ECHO_N "(cached) $ECHO_C" >&6
23009 else
23010 if test x$gcc_no_link = xyes; then
23011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23013 { (exit 1); exit 1; }; }
23015 cat >conftest.$ac_ext <<_ACEOF
23016 /* confdefs.h. */
23017 _ACEOF
23018 cat confdefs.h >>conftest.$ac_ext
23019 cat >>conftest.$ac_ext <<_ACEOF
23020 /* end confdefs.h. */
23021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23023 #define $ac_func innocuous_$ac_func
23025 /* System header to define __stub macros and hopefully few prototypes,
23026 which can conflict with char $ac_func (); below.
23027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23028 <limits.h> exists even on freestanding compilers. */
23030 #ifdef __STDC__
23031 # include <limits.h>
23032 #else
23033 # include <assert.h>
23034 #endif
23036 #undef $ac_func
23038 /* Override any gcc2 internal prototype to avoid an error. */
23039 #ifdef __cplusplus
23040 extern "C"
23042 #endif
23043 /* We use char because int might match the return type of a gcc2
23044 builtin and then its argument prototype would still apply. */
23045 char $ac_func ();
23046 /* The GNU C library defines this for functions which it implements
23047 to always fail with ENOSYS. Some functions are actually named
23048 something starting with __ and the normal name is an alias. */
23049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23050 choke me
23051 #else
23052 char (*f) () = $ac_func;
23053 #endif
23054 #ifdef __cplusplus
23056 #endif
23059 main ()
23061 return f != $ac_func;
23063 return 0;
23065 _ACEOF
23066 rm -f conftest.$ac_objext conftest$ac_exeext
23067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23068 (eval $ac_link) 2>conftest.er1
23069 ac_status=$?
23070 grep -v '^ *+' conftest.er1 >conftest.err
23071 rm -f conftest.er1
23072 cat conftest.err >&5
23073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23074 (exit $ac_status); } &&
23075 { ac_try='test -z "$ac_c_werror_flag"
23076 || test ! -s conftest.err'
23077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23078 (eval $ac_try) 2>&5
23079 ac_status=$?
23080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23081 (exit $ac_status); }; } &&
23082 { ac_try='test -s conftest$ac_exeext'
23083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23084 (eval $ac_try) 2>&5
23085 ac_status=$?
23086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23087 (exit $ac_status); }; }; then
23088 eval "$as_ac_var=yes"
23089 else
23090 echo "$as_me: failed program was:" >&5
23091 sed 's/^/| /' conftest.$ac_ext >&5
23093 eval "$as_ac_var=no"
23095 rm -f conftest.err conftest.$ac_objext \
23096 conftest$ac_exeext conftest.$ac_ext
23098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23100 if test `eval echo '${'$as_ac_var'}'` = yes; then
23101 cat >>confdefs.h <<_ACEOF
23102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23103 _ACEOF
23106 done
23113 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
23114 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
23115 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
23116 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
23117 echo $ECHO_N "(cached) $ECHO_C" >&6
23118 else
23122 ac_ext=cc
23123 ac_cpp='$CXXCPP $CPPFLAGS'
23124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23128 cat >conftest.$ac_ext <<_ACEOF
23129 /* confdefs.h. */
23130 _ACEOF
23131 cat confdefs.h >>conftest.$ac_ext
23132 cat >>conftest.$ac_ext <<_ACEOF
23133 /* end confdefs.h. */
23134 #include <math.h>
23136 main ()
23138 ldexpl(0, 0);
23140 return 0;
23142 _ACEOF
23143 rm -f conftest.$ac_objext
23144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23145 (eval $ac_compile) 2>conftest.er1
23146 ac_status=$?
23147 grep -v '^ *+' conftest.er1 >conftest.err
23148 rm -f conftest.er1
23149 cat conftest.err >&5
23150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23151 (exit $ac_status); } &&
23152 { ac_try='test -z "$ac_cxx_werror_flag"
23153 || test ! -s conftest.err'
23154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23155 (eval $ac_try) 2>&5
23156 ac_status=$?
23157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23158 (exit $ac_status); }; } &&
23159 { ac_try='test -s conftest.$ac_objext'
23160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23161 (eval $ac_try) 2>&5
23162 ac_status=$?
23163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23164 (exit $ac_status); }; }; then
23165 glibcxx_cv_func_ldexpl_use=yes
23166 else
23167 echo "$as_me: failed program was:" >&5
23168 sed 's/^/| /' conftest.$ac_ext >&5
23170 glibcxx_cv_func_ldexpl_use=no
23172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23173 ac_ext=c
23174 ac_cpp='$CPP $CPPFLAGS'
23175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23183 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
23184 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
23186 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
23188 for ac_func in ldexpl
23190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23191 echo "$as_me:$LINENO: checking for $ac_func" >&5
23192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23193 if eval "test \"\${$as_ac_var+set}\" = set"; then
23194 echo $ECHO_N "(cached) $ECHO_C" >&6
23195 else
23196 if test x$gcc_no_link = xyes; then
23197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23199 { (exit 1); exit 1; }; }
23201 cat >conftest.$ac_ext <<_ACEOF
23202 /* confdefs.h. */
23203 _ACEOF
23204 cat confdefs.h >>conftest.$ac_ext
23205 cat >>conftest.$ac_ext <<_ACEOF
23206 /* end confdefs.h. */
23207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23209 #define $ac_func innocuous_$ac_func
23211 /* System header to define __stub macros and hopefully few prototypes,
23212 which can conflict with char $ac_func (); below.
23213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23214 <limits.h> exists even on freestanding compilers. */
23216 #ifdef __STDC__
23217 # include <limits.h>
23218 #else
23219 # include <assert.h>
23220 #endif
23222 #undef $ac_func
23224 /* Override any gcc2 internal prototype to avoid an error. */
23225 #ifdef __cplusplus
23226 extern "C"
23228 #endif
23229 /* We use char because int might match the return type of a gcc2
23230 builtin and then its argument prototype would still apply. */
23231 char $ac_func ();
23232 /* The GNU C library defines this for functions which it implements
23233 to always fail with ENOSYS. Some functions are actually named
23234 something starting with __ and the normal name is an alias. */
23235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23236 choke me
23237 #else
23238 char (*f) () = $ac_func;
23239 #endif
23240 #ifdef __cplusplus
23242 #endif
23245 main ()
23247 return f != $ac_func;
23249 return 0;
23251 _ACEOF
23252 rm -f conftest.$ac_objext conftest$ac_exeext
23253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23254 (eval $ac_link) 2>conftest.er1
23255 ac_status=$?
23256 grep -v '^ *+' conftest.er1 >conftest.err
23257 rm -f conftest.er1
23258 cat conftest.err >&5
23259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23260 (exit $ac_status); } &&
23261 { ac_try='test -z "$ac_c_werror_flag"
23262 || test ! -s conftest.err'
23263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23264 (eval $ac_try) 2>&5
23265 ac_status=$?
23266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23267 (exit $ac_status); }; } &&
23268 { ac_try='test -s conftest$ac_exeext'
23269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23270 (eval $ac_try) 2>&5
23271 ac_status=$?
23272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23273 (exit $ac_status); }; }; then
23274 eval "$as_ac_var=yes"
23275 else
23276 echo "$as_me: failed program was:" >&5
23277 sed 's/^/| /' conftest.$ac_ext >&5
23279 eval "$as_ac_var=no"
23281 rm -f conftest.err conftest.$ac_objext \
23282 conftest$ac_exeext conftest.$ac_ext
23284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23286 if test `eval echo '${'$as_ac_var'}'` = yes; then
23287 cat >>confdefs.h <<_ACEOF
23288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23289 _ACEOF
23292 done
23294 else
23296 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
23297 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
23298 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
23299 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
23300 echo $ECHO_N "(cached) $ECHO_C" >&6
23301 else
23305 ac_ext=cc
23306 ac_cpp='$CXXCPP $CPPFLAGS'
23307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23311 cat >conftest.$ac_ext <<_ACEOF
23312 /* confdefs.h. */
23313 _ACEOF
23314 cat confdefs.h >>conftest.$ac_ext
23315 cat >>conftest.$ac_ext <<_ACEOF
23316 /* end confdefs.h. */
23317 #include <math.h>
23319 main ()
23321 _ldexpl(0, 0);
23323 return 0;
23325 _ACEOF
23326 rm -f conftest.$ac_objext
23327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23328 (eval $ac_compile) 2>conftest.er1
23329 ac_status=$?
23330 grep -v '^ *+' conftest.er1 >conftest.err
23331 rm -f conftest.er1
23332 cat conftest.err >&5
23333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23334 (exit $ac_status); } &&
23335 { ac_try='test -z "$ac_cxx_werror_flag"
23336 || test ! -s conftest.err'
23337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23338 (eval $ac_try) 2>&5
23339 ac_status=$?
23340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341 (exit $ac_status); }; } &&
23342 { ac_try='test -s conftest.$ac_objext'
23343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23344 (eval $ac_try) 2>&5
23345 ac_status=$?
23346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23347 (exit $ac_status); }; }; then
23348 glibcxx_cv_func__ldexpl_use=yes
23349 else
23350 echo "$as_me: failed program was:" >&5
23351 sed 's/^/| /' conftest.$ac_ext >&5
23353 glibcxx_cv_func__ldexpl_use=no
23355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23356 ac_ext=c
23357 ac_cpp='$CPP $CPPFLAGS'
23358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23366 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
23367 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
23369 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
23371 for ac_func in _ldexpl
23373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23374 echo "$as_me:$LINENO: checking for $ac_func" >&5
23375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23376 if eval "test \"\${$as_ac_var+set}\" = set"; then
23377 echo $ECHO_N "(cached) $ECHO_C" >&6
23378 else
23379 if test x$gcc_no_link = xyes; then
23380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23382 { (exit 1); exit 1; }; }
23384 cat >conftest.$ac_ext <<_ACEOF
23385 /* confdefs.h. */
23386 _ACEOF
23387 cat confdefs.h >>conftest.$ac_ext
23388 cat >>conftest.$ac_ext <<_ACEOF
23389 /* end confdefs.h. */
23390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23392 #define $ac_func innocuous_$ac_func
23394 /* System header to define __stub macros and hopefully few prototypes,
23395 which can conflict with char $ac_func (); below.
23396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23397 <limits.h> exists even on freestanding compilers. */
23399 #ifdef __STDC__
23400 # include <limits.h>
23401 #else
23402 # include <assert.h>
23403 #endif
23405 #undef $ac_func
23407 /* Override any gcc2 internal prototype to avoid an error. */
23408 #ifdef __cplusplus
23409 extern "C"
23411 #endif
23412 /* We use char because int might match the return type of a gcc2
23413 builtin and then its argument prototype would still apply. */
23414 char $ac_func ();
23415 /* The GNU C library defines this for functions which it implements
23416 to always fail with ENOSYS. Some functions are actually named
23417 something starting with __ and the normal name is an alias. */
23418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23419 choke me
23420 #else
23421 char (*f) () = $ac_func;
23422 #endif
23423 #ifdef __cplusplus
23425 #endif
23428 main ()
23430 return f != $ac_func;
23432 return 0;
23434 _ACEOF
23435 rm -f conftest.$ac_objext conftest$ac_exeext
23436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23437 (eval $ac_link) 2>conftest.er1
23438 ac_status=$?
23439 grep -v '^ *+' conftest.er1 >conftest.err
23440 rm -f conftest.er1
23441 cat conftest.err >&5
23442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443 (exit $ac_status); } &&
23444 { ac_try='test -z "$ac_c_werror_flag"
23445 || test ! -s conftest.err'
23446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23447 (eval $ac_try) 2>&5
23448 ac_status=$?
23449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23450 (exit $ac_status); }; } &&
23451 { ac_try='test -s conftest$ac_exeext'
23452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23453 (eval $ac_try) 2>&5
23454 ac_status=$?
23455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23456 (exit $ac_status); }; }; then
23457 eval "$as_ac_var=yes"
23458 else
23459 echo "$as_me: failed program was:" >&5
23460 sed 's/^/| /' conftest.$ac_ext >&5
23462 eval "$as_ac_var=no"
23464 rm -f conftest.err conftest.$ac_objext \
23465 conftest$ac_exeext conftest.$ac_ext
23467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23469 if test `eval echo '${'$as_ac_var'}'` = yes; then
23470 cat >>confdefs.h <<_ACEOF
23471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23472 _ACEOF
23475 done
23482 echo "$as_me:$LINENO: checking for logl declaration" >&5
23483 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23484 if test x${glibcxx_cv_func_logl_use+set} != xset; then
23485 if test "${glibcxx_cv_func_logl_use+set}" = set; then
23486 echo $ECHO_N "(cached) $ECHO_C" >&6
23487 else
23491 ac_ext=cc
23492 ac_cpp='$CXXCPP $CPPFLAGS'
23493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23497 cat >conftest.$ac_ext <<_ACEOF
23498 /* confdefs.h. */
23499 _ACEOF
23500 cat confdefs.h >>conftest.$ac_ext
23501 cat >>conftest.$ac_ext <<_ACEOF
23502 /* end confdefs.h. */
23503 #include <math.h>
23504 #ifdef HAVE_IEEEFP_H
23505 #include <ieeefp.h>
23506 #endif
23509 main ()
23511 logl(0);
23513 return 0;
23515 _ACEOF
23516 rm -f conftest.$ac_objext
23517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23518 (eval $ac_compile) 2>conftest.er1
23519 ac_status=$?
23520 grep -v '^ *+' conftest.er1 >conftest.err
23521 rm -f conftest.er1
23522 cat conftest.err >&5
23523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23524 (exit $ac_status); } &&
23525 { ac_try='test -z "$ac_cxx_werror_flag"
23526 || test ! -s conftest.err'
23527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23528 (eval $ac_try) 2>&5
23529 ac_status=$?
23530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23531 (exit $ac_status); }; } &&
23532 { ac_try='test -s conftest.$ac_objext'
23533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23534 (eval $ac_try) 2>&5
23535 ac_status=$?
23536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23537 (exit $ac_status); }; }; then
23538 glibcxx_cv_func_logl_use=yes
23539 else
23540 echo "$as_me: failed program was:" >&5
23541 sed 's/^/| /' conftest.$ac_ext >&5
23543 glibcxx_cv_func_logl_use=no
23545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23546 ac_ext=c
23547 ac_cpp='$CPP $CPPFLAGS'
23548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23556 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23557 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23559 if test x$glibcxx_cv_func_logl_use = x"yes"; then
23561 for ac_func in logl
23563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23564 echo "$as_me:$LINENO: checking for $ac_func" >&5
23565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23566 if eval "test \"\${$as_ac_var+set}\" = set"; then
23567 echo $ECHO_N "(cached) $ECHO_C" >&6
23568 else
23569 if test x$gcc_no_link = xyes; then
23570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23572 { (exit 1); exit 1; }; }
23574 cat >conftest.$ac_ext <<_ACEOF
23575 /* confdefs.h. */
23576 _ACEOF
23577 cat confdefs.h >>conftest.$ac_ext
23578 cat >>conftest.$ac_ext <<_ACEOF
23579 /* end confdefs.h. */
23580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23582 #define $ac_func innocuous_$ac_func
23584 /* System header to define __stub macros and hopefully few prototypes,
23585 which can conflict with char $ac_func (); below.
23586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23587 <limits.h> exists even on freestanding compilers. */
23589 #ifdef __STDC__
23590 # include <limits.h>
23591 #else
23592 # include <assert.h>
23593 #endif
23595 #undef $ac_func
23597 /* Override any gcc2 internal prototype to avoid an error. */
23598 #ifdef __cplusplus
23599 extern "C"
23601 #endif
23602 /* We use char because int might match the return type of a gcc2
23603 builtin and then its argument prototype would still apply. */
23604 char $ac_func ();
23605 /* The GNU C library defines this for functions which it implements
23606 to always fail with ENOSYS. Some functions are actually named
23607 something starting with __ and the normal name is an alias. */
23608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23609 choke me
23610 #else
23611 char (*f) () = $ac_func;
23612 #endif
23613 #ifdef __cplusplus
23615 #endif
23618 main ()
23620 return f != $ac_func;
23622 return 0;
23624 _ACEOF
23625 rm -f conftest.$ac_objext conftest$ac_exeext
23626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23627 (eval $ac_link) 2>conftest.er1
23628 ac_status=$?
23629 grep -v '^ *+' conftest.er1 >conftest.err
23630 rm -f conftest.er1
23631 cat conftest.err >&5
23632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23633 (exit $ac_status); } &&
23634 { ac_try='test -z "$ac_c_werror_flag"
23635 || test ! -s conftest.err'
23636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23637 (eval $ac_try) 2>&5
23638 ac_status=$?
23639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23640 (exit $ac_status); }; } &&
23641 { ac_try='test -s conftest$ac_exeext'
23642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23643 (eval $ac_try) 2>&5
23644 ac_status=$?
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); }; }; then
23647 eval "$as_ac_var=yes"
23648 else
23649 echo "$as_me: failed program was:" >&5
23650 sed 's/^/| /' conftest.$ac_ext >&5
23652 eval "$as_ac_var=no"
23654 rm -f conftest.err conftest.$ac_objext \
23655 conftest$ac_exeext conftest.$ac_ext
23657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23659 if test `eval echo '${'$as_ac_var'}'` = yes; then
23660 cat >>confdefs.h <<_ACEOF
23661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23662 _ACEOF
23665 done
23667 else
23669 echo "$as_me:$LINENO: checking for _logl declaration" >&5
23670 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23671 if test x${glibcxx_cv_func__logl_use+set} != xset; then
23672 if test "${glibcxx_cv_func__logl_use+set}" = set; then
23673 echo $ECHO_N "(cached) $ECHO_C" >&6
23674 else
23678 ac_ext=cc
23679 ac_cpp='$CXXCPP $CPPFLAGS'
23680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23684 cat >conftest.$ac_ext <<_ACEOF
23685 /* confdefs.h. */
23686 _ACEOF
23687 cat confdefs.h >>conftest.$ac_ext
23688 cat >>conftest.$ac_ext <<_ACEOF
23689 /* end confdefs.h. */
23690 #include <math.h>
23691 #ifdef HAVE_IEEEFP_H
23692 #include <ieeefp.h>
23693 #endif
23696 main ()
23698 _logl(0);
23700 return 0;
23702 _ACEOF
23703 rm -f conftest.$ac_objext
23704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23705 (eval $ac_compile) 2>conftest.er1
23706 ac_status=$?
23707 grep -v '^ *+' conftest.er1 >conftest.err
23708 rm -f conftest.er1
23709 cat conftest.err >&5
23710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23711 (exit $ac_status); } &&
23712 { ac_try='test -z "$ac_cxx_werror_flag"
23713 || test ! -s conftest.err'
23714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23715 (eval $ac_try) 2>&5
23716 ac_status=$?
23717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23718 (exit $ac_status); }; } &&
23719 { ac_try='test -s conftest.$ac_objext'
23720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23721 (eval $ac_try) 2>&5
23722 ac_status=$?
23723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23724 (exit $ac_status); }; }; then
23725 glibcxx_cv_func__logl_use=yes
23726 else
23727 echo "$as_me: failed program was:" >&5
23728 sed 's/^/| /' conftest.$ac_ext >&5
23730 glibcxx_cv_func__logl_use=no
23732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23733 ac_ext=c
23734 ac_cpp='$CPP $CPPFLAGS'
23735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23743 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23744 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23746 if test x$glibcxx_cv_func__logl_use = x"yes"; then
23748 for ac_func in _logl
23750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23751 echo "$as_me:$LINENO: checking for $ac_func" >&5
23752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23753 if eval "test \"\${$as_ac_var+set}\" = set"; then
23754 echo $ECHO_N "(cached) $ECHO_C" >&6
23755 else
23756 if test x$gcc_no_link = xyes; then
23757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23759 { (exit 1); exit 1; }; }
23761 cat >conftest.$ac_ext <<_ACEOF
23762 /* confdefs.h. */
23763 _ACEOF
23764 cat confdefs.h >>conftest.$ac_ext
23765 cat >>conftest.$ac_ext <<_ACEOF
23766 /* end confdefs.h. */
23767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23769 #define $ac_func innocuous_$ac_func
23771 /* System header to define __stub macros and hopefully few prototypes,
23772 which can conflict with char $ac_func (); below.
23773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23774 <limits.h> exists even on freestanding compilers. */
23776 #ifdef __STDC__
23777 # include <limits.h>
23778 #else
23779 # include <assert.h>
23780 #endif
23782 #undef $ac_func
23784 /* Override any gcc2 internal prototype to avoid an error. */
23785 #ifdef __cplusplus
23786 extern "C"
23788 #endif
23789 /* We use char because int might match the return type of a gcc2
23790 builtin and then its argument prototype would still apply. */
23791 char $ac_func ();
23792 /* The GNU C library defines this for functions which it implements
23793 to always fail with ENOSYS. Some functions are actually named
23794 something starting with __ and the normal name is an alias. */
23795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23796 choke me
23797 #else
23798 char (*f) () = $ac_func;
23799 #endif
23800 #ifdef __cplusplus
23802 #endif
23805 main ()
23807 return f != $ac_func;
23809 return 0;
23811 _ACEOF
23812 rm -f conftest.$ac_objext conftest$ac_exeext
23813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23814 (eval $ac_link) 2>conftest.er1
23815 ac_status=$?
23816 grep -v '^ *+' conftest.er1 >conftest.err
23817 rm -f conftest.er1
23818 cat conftest.err >&5
23819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23820 (exit $ac_status); } &&
23821 { ac_try='test -z "$ac_c_werror_flag"
23822 || test ! -s conftest.err'
23823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23824 (eval $ac_try) 2>&5
23825 ac_status=$?
23826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23827 (exit $ac_status); }; } &&
23828 { ac_try='test -s conftest$ac_exeext'
23829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23830 (eval $ac_try) 2>&5
23831 ac_status=$?
23832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23833 (exit $ac_status); }; }; then
23834 eval "$as_ac_var=yes"
23835 else
23836 echo "$as_me: failed program was:" >&5
23837 sed 's/^/| /' conftest.$ac_ext >&5
23839 eval "$as_ac_var=no"
23841 rm -f conftest.err conftest.$ac_objext \
23842 conftest$ac_exeext conftest.$ac_ext
23844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23846 if test `eval echo '${'$as_ac_var'}'` = yes; then
23847 cat >>confdefs.h <<_ACEOF
23848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23849 _ACEOF
23852 done
23859 echo "$as_me:$LINENO: checking for log10l declaration" >&5
23860 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23861 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23862 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23863 echo $ECHO_N "(cached) $ECHO_C" >&6
23864 else
23868 ac_ext=cc
23869 ac_cpp='$CXXCPP $CPPFLAGS'
23870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23874 cat >conftest.$ac_ext <<_ACEOF
23875 /* confdefs.h. */
23876 _ACEOF
23877 cat confdefs.h >>conftest.$ac_ext
23878 cat >>conftest.$ac_ext <<_ACEOF
23879 /* end confdefs.h. */
23880 #include <math.h>
23881 #ifdef HAVE_IEEEFP_H
23882 #include <ieeefp.h>
23883 #endif
23886 main ()
23888 log10l(0);
23890 return 0;
23892 _ACEOF
23893 rm -f conftest.$ac_objext
23894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23895 (eval $ac_compile) 2>conftest.er1
23896 ac_status=$?
23897 grep -v '^ *+' conftest.er1 >conftest.err
23898 rm -f conftest.er1
23899 cat conftest.err >&5
23900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23901 (exit $ac_status); } &&
23902 { ac_try='test -z "$ac_cxx_werror_flag"
23903 || test ! -s conftest.err'
23904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23905 (eval $ac_try) 2>&5
23906 ac_status=$?
23907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23908 (exit $ac_status); }; } &&
23909 { ac_try='test -s conftest.$ac_objext'
23910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23911 (eval $ac_try) 2>&5
23912 ac_status=$?
23913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23914 (exit $ac_status); }; }; then
23915 glibcxx_cv_func_log10l_use=yes
23916 else
23917 echo "$as_me: failed program was:" >&5
23918 sed 's/^/| /' conftest.$ac_ext >&5
23920 glibcxx_cv_func_log10l_use=no
23922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23923 ac_ext=c
23924 ac_cpp='$CPP $CPPFLAGS'
23925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23933 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23934 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23936 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23938 for ac_func in log10l
23940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23941 echo "$as_me:$LINENO: checking for $ac_func" >&5
23942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23943 if eval "test \"\${$as_ac_var+set}\" = set"; then
23944 echo $ECHO_N "(cached) $ECHO_C" >&6
23945 else
23946 if test x$gcc_no_link = xyes; then
23947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23949 { (exit 1); exit 1; }; }
23951 cat >conftest.$ac_ext <<_ACEOF
23952 /* confdefs.h. */
23953 _ACEOF
23954 cat confdefs.h >>conftest.$ac_ext
23955 cat >>conftest.$ac_ext <<_ACEOF
23956 /* end confdefs.h. */
23957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23959 #define $ac_func innocuous_$ac_func
23961 /* System header to define __stub macros and hopefully few prototypes,
23962 which can conflict with char $ac_func (); below.
23963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23964 <limits.h> exists even on freestanding compilers. */
23966 #ifdef __STDC__
23967 # include <limits.h>
23968 #else
23969 # include <assert.h>
23970 #endif
23972 #undef $ac_func
23974 /* Override any gcc2 internal prototype to avoid an error. */
23975 #ifdef __cplusplus
23976 extern "C"
23978 #endif
23979 /* We use char because int might match the return type of a gcc2
23980 builtin and then its argument prototype would still apply. */
23981 char $ac_func ();
23982 /* The GNU C library defines this for functions which it implements
23983 to always fail with ENOSYS. Some functions are actually named
23984 something starting with __ and the normal name is an alias. */
23985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23986 choke me
23987 #else
23988 char (*f) () = $ac_func;
23989 #endif
23990 #ifdef __cplusplus
23992 #endif
23995 main ()
23997 return f != $ac_func;
23999 return 0;
24001 _ACEOF
24002 rm -f conftest.$ac_objext conftest$ac_exeext
24003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24004 (eval $ac_link) 2>conftest.er1
24005 ac_status=$?
24006 grep -v '^ *+' conftest.er1 >conftest.err
24007 rm -f conftest.er1
24008 cat conftest.err >&5
24009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24010 (exit $ac_status); } &&
24011 { ac_try='test -z "$ac_c_werror_flag"
24012 || test ! -s conftest.err'
24013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24014 (eval $ac_try) 2>&5
24015 ac_status=$?
24016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24017 (exit $ac_status); }; } &&
24018 { ac_try='test -s conftest$ac_exeext'
24019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24020 (eval $ac_try) 2>&5
24021 ac_status=$?
24022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24023 (exit $ac_status); }; }; then
24024 eval "$as_ac_var=yes"
24025 else
24026 echo "$as_me: failed program was:" >&5
24027 sed 's/^/| /' conftest.$ac_ext >&5
24029 eval "$as_ac_var=no"
24031 rm -f conftest.err conftest.$ac_objext \
24032 conftest$ac_exeext conftest.$ac_ext
24034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24036 if test `eval echo '${'$as_ac_var'}'` = yes; then
24037 cat >>confdefs.h <<_ACEOF
24038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24039 _ACEOF
24042 done
24044 else
24046 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
24047 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
24048 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24049 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
24050 echo $ECHO_N "(cached) $ECHO_C" >&6
24051 else
24055 ac_ext=cc
24056 ac_cpp='$CXXCPP $CPPFLAGS'
24057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24061 cat >conftest.$ac_ext <<_ACEOF
24062 /* confdefs.h. */
24063 _ACEOF
24064 cat confdefs.h >>conftest.$ac_ext
24065 cat >>conftest.$ac_ext <<_ACEOF
24066 /* end confdefs.h. */
24067 #include <math.h>
24068 #ifdef HAVE_IEEEFP_H
24069 #include <ieeefp.h>
24070 #endif
24073 main ()
24075 _log10l(0);
24077 return 0;
24079 _ACEOF
24080 rm -f conftest.$ac_objext
24081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24082 (eval $ac_compile) 2>conftest.er1
24083 ac_status=$?
24084 grep -v '^ *+' conftest.er1 >conftest.err
24085 rm -f conftest.er1
24086 cat conftest.err >&5
24087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24088 (exit $ac_status); } &&
24089 { ac_try='test -z "$ac_cxx_werror_flag"
24090 || test ! -s conftest.err'
24091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24092 (eval $ac_try) 2>&5
24093 ac_status=$?
24094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24095 (exit $ac_status); }; } &&
24096 { ac_try='test -s conftest.$ac_objext'
24097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24098 (eval $ac_try) 2>&5
24099 ac_status=$?
24100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24101 (exit $ac_status); }; }; then
24102 glibcxx_cv_func__log10l_use=yes
24103 else
24104 echo "$as_me: failed program was:" >&5
24105 sed 's/^/| /' conftest.$ac_ext >&5
24107 glibcxx_cv_func__log10l_use=no
24109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24110 ac_ext=c
24111 ac_cpp='$CPP $CPPFLAGS'
24112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24120 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
24121 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
24123 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24125 for ac_func in _log10l
24127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24128 echo "$as_me:$LINENO: checking for $ac_func" >&5
24129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24130 if eval "test \"\${$as_ac_var+set}\" = set"; then
24131 echo $ECHO_N "(cached) $ECHO_C" >&6
24132 else
24133 if test x$gcc_no_link = xyes; then
24134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24136 { (exit 1); exit 1; }; }
24138 cat >conftest.$ac_ext <<_ACEOF
24139 /* confdefs.h. */
24140 _ACEOF
24141 cat confdefs.h >>conftest.$ac_ext
24142 cat >>conftest.$ac_ext <<_ACEOF
24143 /* end confdefs.h. */
24144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24146 #define $ac_func innocuous_$ac_func
24148 /* System header to define __stub macros and hopefully few prototypes,
24149 which can conflict with char $ac_func (); below.
24150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24151 <limits.h> exists even on freestanding compilers. */
24153 #ifdef __STDC__
24154 # include <limits.h>
24155 #else
24156 # include <assert.h>
24157 #endif
24159 #undef $ac_func
24161 /* Override any gcc2 internal prototype to avoid an error. */
24162 #ifdef __cplusplus
24163 extern "C"
24165 #endif
24166 /* We use char because int might match the return type of a gcc2
24167 builtin and then its argument prototype would still apply. */
24168 char $ac_func ();
24169 /* The GNU C library defines this for functions which it implements
24170 to always fail with ENOSYS. Some functions are actually named
24171 something starting with __ and the normal name is an alias. */
24172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24173 choke me
24174 #else
24175 char (*f) () = $ac_func;
24176 #endif
24177 #ifdef __cplusplus
24179 #endif
24182 main ()
24184 return f != $ac_func;
24186 return 0;
24188 _ACEOF
24189 rm -f conftest.$ac_objext conftest$ac_exeext
24190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24191 (eval $ac_link) 2>conftest.er1
24192 ac_status=$?
24193 grep -v '^ *+' conftest.er1 >conftest.err
24194 rm -f conftest.er1
24195 cat conftest.err >&5
24196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24197 (exit $ac_status); } &&
24198 { ac_try='test -z "$ac_c_werror_flag"
24199 || test ! -s conftest.err'
24200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24201 (eval $ac_try) 2>&5
24202 ac_status=$?
24203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24204 (exit $ac_status); }; } &&
24205 { ac_try='test -s conftest$ac_exeext'
24206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24207 (eval $ac_try) 2>&5
24208 ac_status=$?
24209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24210 (exit $ac_status); }; }; then
24211 eval "$as_ac_var=yes"
24212 else
24213 echo "$as_me: failed program was:" >&5
24214 sed 's/^/| /' conftest.$ac_ext >&5
24216 eval "$as_ac_var=no"
24218 rm -f conftest.err conftest.$ac_objext \
24219 conftest$ac_exeext conftest.$ac_ext
24221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24223 if test `eval echo '${'$as_ac_var'}'` = yes; then
24224 cat >>confdefs.h <<_ACEOF
24225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24226 _ACEOF
24229 done
24236 echo "$as_me:$LINENO: checking for modfl declaration" >&5
24237 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
24238 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24239 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
24240 echo $ECHO_N "(cached) $ECHO_C" >&6
24241 else
24245 ac_ext=cc
24246 ac_cpp='$CXXCPP $CPPFLAGS'
24247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24251 cat >conftest.$ac_ext <<_ACEOF
24252 /* confdefs.h. */
24253 _ACEOF
24254 cat confdefs.h >>conftest.$ac_ext
24255 cat >>conftest.$ac_ext <<_ACEOF
24256 /* end confdefs.h. */
24257 #include <math.h>
24259 main ()
24261 modfl(0, 0);
24263 return 0;
24265 _ACEOF
24266 rm -f conftest.$ac_objext
24267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24268 (eval $ac_compile) 2>conftest.er1
24269 ac_status=$?
24270 grep -v '^ *+' conftest.er1 >conftest.err
24271 rm -f conftest.er1
24272 cat conftest.err >&5
24273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24274 (exit $ac_status); } &&
24275 { ac_try='test -z "$ac_cxx_werror_flag"
24276 || test ! -s conftest.err'
24277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24278 (eval $ac_try) 2>&5
24279 ac_status=$?
24280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24281 (exit $ac_status); }; } &&
24282 { ac_try='test -s conftest.$ac_objext'
24283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24284 (eval $ac_try) 2>&5
24285 ac_status=$?
24286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24287 (exit $ac_status); }; }; then
24288 glibcxx_cv_func_modfl_use=yes
24289 else
24290 echo "$as_me: failed program was:" >&5
24291 sed 's/^/| /' conftest.$ac_ext >&5
24293 glibcxx_cv_func_modfl_use=no
24295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24296 ac_ext=c
24297 ac_cpp='$CPP $CPPFLAGS'
24298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24306 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
24307 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
24309 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24311 for ac_func in modfl
24313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24314 echo "$as_me:$LINENO: checking for $ac_func" >&5
24315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24316 if eval "test \"\${$as_ac_var+set}\" = set"; then
24317 echo $ECHO_N "(cached) $ECHO_C" >&6
24318 else
24319 if test x$gcc_no_link = xyes; then
24320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24322 { (exit 1); exit 1; }; }
24324 cat >conftest.$ac_ext <<_ACEOF
24325 /* confdefs.h. */
24326 _ACEOF
24327 cat confdefs.h >>conftest.$ac_ext
24328 cat >>conftest.$ac_ext <<_ACEOF
24329 /* end confdefs.h. */
24330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24332 #define $ac_func innocuous_$ac_func
24334 /* System header to define __stub macros and hopefully few prototypes,
24335 which can conflict with char $ac_func (); below.
24336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24337 <limits.h> exists even on freestanding compilers. */
24339 #ifdef __STDC__
24340 # include <limits.h>
24341 #else
24342 # include <assert.h>
24343 #endif
24345 #undef $ac_func
24347 /* Override any gcc2 internal prototype to avoid an error. */
24348 #ifdef __cplusplus
24349 extern "C"
24351 #endif
24352 /* We use char because int might match the return type of a gcc2
24353 builtin and then its argument prototype would still apply. */
24354 char $ac_func ();
24355 /* The GNU C library defines this for functions which it implements
24356 to always fail with ENOSYS. Some functions are actually named
24357 something starting with __ and the normal name is an alias. */
24358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24359 choke me
24360 #else
24361 char (*f) () = $ac_func;
24362 #endif
24363 #ifdef __cplusplus
24365 #endif
24368 main ()
24370 return f != $ac_func;
24372 return 0;
24374 _ACEOF
24375 rm -f conftest.$ac_objext conftest$ac_exeext
24376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24377 (eval $ac_link) 2>conftest.er1
24378 ac_status=$?
24379 grep -v '^ *+' conftest.er1 >conftest.err
24380 rm -f conftest.er1
24381 cat conftest.err >&5
24382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24383 (exit $ac_status); } &&
24384 { ac_try='test -z "$ac_c_werror_flag"
24385 || test ! -s conftest.err'
24386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24387 (eval $ac_try) 2>&5
24388 ac_status=$?
24389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24390 (exit $ac_status); }; } &&
24391 { ac_try='test -s conftest$ac_exeext'
24392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24393 (eval $ac_try) 2>&5
24394 ac_status=$?
24395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24396 (exit $ac_status); }; }; then
24397 eval "$as_ac_var=yes"
24398 else
24399 echo "$as_me: failed program was:" >&5
24400 sed 's/^/| /' conftest.$ac_ext >&5
24402 eval "$as_ac_var=no"
24404 rm -f conftest.err conftest.$ac_objext \
24405 conftest$ac_exeext conftest.$ac_ext
24407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24409 if test `eval echo '${'$as_ac_var'}'` = yes; then
24410 cat >>confdefs.h <<_ACEOF
24411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24412 _ACEOF
24415 done
24417 else
24419 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
24420 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
24421 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24422 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
24423 echo $ECHO_N "(cached) $ECHO_C" >&6
24424 else
24428 ac_ext=cc
24429 ac_cpp='$CXXCPP $CPPFLAGS'
24430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24434 cat >conftest.$ac_ext <<_ACEOF
24435 /* confdefs.h. */
24436 _ACEOF
24437 cat confdefs.h >>conftest.$ac_ext
24438 cat >>conftest.$ac_ext <<_ACEOF
24439 /* end confdefs.h. */
24440 #include <math.h>
24442 main ()
24444 _modfl(0, 0);
24446 return 0;
24448 _ACEOF
24449 rm -f conftest.$ac_objext
24450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24451 (eval $ac_compile) 2>conftest.er1
24452 ac_status=$?
24453 grep -v '^ *+' conftest.er1 >conftest.err
24454 rm -f conftest.er1
24455 cat conftest.err >&5
24456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24457 (exit $ac_status); } &&
24458 { ac_try='test -z "$ac_cxx_werror_flag"
24459 || test ! -s conftest.err'
24460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24461 (eval $ac_try) 2>&5
24462 ac_status=$?
24463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24464 (exit $ac_status); }; } &&
24465 { ac_try='test -s conftest.$ac_objext'
24466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24467 (eval $ac_try) 2>&5
24468 ac_status=$?
24469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24470 (exit $ac_status); }; }; then
24471 glibcxx_cv_func__modfl_use=yes
24472 else
24473 echo "$as_me: failed program was:" >&5
24474 sed 's/^/| /' conftest.$ac_ext >&5
24476 glibcxx_cv_func__modfl_use=no
24478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24479 ac_ext=c
24480 ac_cpp='$CPP $CPPFLAGS'
24481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24489 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24490 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24492 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24494 for ac_func in _modfl
24496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24497 echo "$as_me:$LINENO: checking for $ac_func" >&5
24498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24499 if eval "test \"\${$as_ac_var+set}\" = set"; then
24500 echo $ECHO_N "(cached) $ECHO_C" >&6
24501 else
24502 if test x$gcc_no_link = xyes; then
24503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24505 { (exit 1); exit 1; }; }
24507 cat >conftest.$ac_ext <<_ACEOF
24508 /* confdefs.h. */
24509 _ACEOF
24510 cat confdefs.h >>conftest.$ac_ext
24511 cat >>conftest.$ac_ext <<_ACEOF
24512 /* end confdefs.h. */
24513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24515 #define $ac_func innocuous_$ac_func
24517 /* System header to define __stub macros and hopefully few prototypes,
24518 which can conflict with char $ac_func (); below.
24519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24520 <limits.h> exists even on freestanding compilers. */
24522 #ifdef __STDC__
24523 # include <limits.h>
24524 #else
24525 # include <assert.h>
24526 #endif
24528 #undef $ac_func
24530 /* Override any gcc2 internal prototype to avoid an error. */
24531 #ifdef __cplusplus
24532 extern "C"
24534 #endif
24535 /* We use char because int might match the return type of a gcc2
24536 builtin and then its argument prototype would still apply. */
24537 char $ac_func ();
24538 /* The GNU C library defines this for functions which it implements
24539 to always fail with ENOSYS. Some functions are actually named
24540 something starting with __ and the normal name is an alias. */
24541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24542 choke me
24543 #else
24544 char (*f) () = $ac_func;
24545 #endif
24546 #ifdef __cplusplus
24548 #endif
24551 main ()
24553 return f != $ac_func;
24555 return 0;
24557 _ACEOF
24558 rm -f conftest.$ac_objext conftest$ac_exeext
24559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24560 (eval $ac_link) 2>conftest.er1
24561 ac_status=$?
24562 grep -v '^ *+' conftest.er1 >conftest.err
24563 rm -f conftest.er1
24564 cat conftest.err >&5
24565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24566 (exit $ac_status); } &&
24567 { ac_try='test -z "$ac_c_werror_flag"
24568 || test ! -s conftest.err'
24569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24570 (eval $ac_try) 2>&5
24571 ac_status=$?
24572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24573 (exit $ac_status); }; } &&
24574 { ac_try='test -s conftest$ac_exeext'
24575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24576 (eval $ac_try) 2>&5
24577 ac_status=$?
24578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24579 (exit $ac_status); }; }; then
24580 eval "$as_ac_var=yes"
24581 else
24582 echo "$as_me: failed program was:" >&5
24583 sed 's/^/| /' conftest.$ac_ext >&5
24585 eval "$as_ac_var=no"
24587 rm -f conftest.err conftest.$ac_objext \
24588 conftest$ac_exeext conftest.$ac_ext
24590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24592 if test `eval echo '${'$as_ac_var'}'` = yes; then
24593 cat >>confdefs.h <<_ACEOF
24594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24595 _ACEOF
24598 done
24605 echo "$as_me:$LINENO: checking for powl declaration" >&5
24606 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24607 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24608 if test "${glibcxx_cv_func_powl_use+set}" = set; then
24609 echo $ECHO_N "(cached) $ECHO_C" >&6
24610 else
24614 ac_ext=cc
24615 ac_cpp='$CXXCPP $CPPFLAGS'
24616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24620 cat >conftest.$ac_ext <<_ACEOF
24621 /* confdefs.h. */
24622 _ACEOF
24623 cat confdefs.h >>conftest.$ac_ext
24624 cat >>conftest.$ac_ext <<_ACEOF
24625 /* end confdefs.h. */
24626 #include <math.h>
24628 main ()
24630 powl(0, 0);
24632 return 0;
24634 _ACEOF
24635 rm -f conftest.$ac_objext
24636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24637 (eval $ac_compile) 2>conftest.er1
24638 ac_status=$?
24639 grep -v '^ *+' conftest.er1 >conftest.err
24640 rm -f conftest.er1
24641 cat conftest.err >&5
24642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24643 (exit $ac_status); } &&
24644 { ac_try='test -z "$ac_cxx_werror_flag"
24645 || test ! -s conftest.err'
24646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24647 (eval $ac_try) 2>&5
24648 ac_status=$?
24649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24650 (exit $ac_status); }; } &&
24651 { ac_try='test -s conftest.$ac_objext'
24652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24653 (eval $ac_try) 2>&5
24654 ac_status=$?
24655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24656 (exit $ac_status); }; }; then
24657 glibcxx_cv_func_powl_use=yes
24658 else
24659 echo "$as_me: failed program was:" >&5
24660 sed 's/^/| /' conftest.$ac_ext >&5
24662 glibcxx_cv_func_powl_use=no
24664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24665 ac_ext=c
24666 ac_cpp='$CPP $CPPFLAGS'
24667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24675 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24676 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24678 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24680 for ac_func in powl
24682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24683 echo "$as_me:$LINENO: checking for $ac_func" >&5
24684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24685 if eval "test \"\${$as_ac_var+set}\" = set"; then
24686 echo $ECHO_N "(cached) $ECHO_C" >&6
24687 else
24688 if test x$gcc_no_link = xyes; then
24689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24691 { (exit 1); exit 1; }; }
24693 cat >conftest.$ac_ext <<_ACEOF
24694 /* confdefs.h. */
24695 _ACEOF
24696 cat confdefs.h >>conftest.$ac_ext
24697 cat >>conftest.$ac_ext <<_ACEOF
24698 /* end confdefs.h. */
24699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24701 #define $ac_func innocuous_$ac_func
24703 /* System header to define __stub macros and hopefully few prototypes,
24704 which can conflict with char $ac_func (); below.
24705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24706 <limits.h> exists even on freestanding compilers. */
24708 #ifdef __STDC__
24709 # include <limits.h>
24710 #else
24711 # include <assert.h>
24712 #endif
24714 #undef $ac_func
24716 /* Override any gcc2 internal prototype to avoid an error. */
24717 #ifdef __cplusplus
24718 extern "C"
24720 #endif
24721 /* We use char because int might match the return type of a gcc2
24722 builtin and then its argument prototype would still apply. */
24723 char $ac_func ();
24724 /* The GNU C library defines this for functions which it implements
24725 to always fail with ENOSYS. Some functions are actually named
24726 something starting with __ and the normal name is an alias. */
24727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24728 choke me
24729 #else
24730 char (*f) () = $ac_func;
24731 #endif
24732 #ifdef __cplusplus
24734 #endif
24737 main ()
24739 return f != $ac_func;
24741 return 0;
24743 _ACEOF
24744 rm -f conftest.$ac_objext conftest$ac_exeext
24745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24746 (eval $ac_link) 2>conftest.er1
24747 ac_status=$?
24748 grep -v '^ *+' conftest.er1 >conftest.err
24749 rm -f conftest.er1
24750 cat conftest.err >&5
24751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24752 (exit $ac_status); } &&
24753 { ac_try='test -z "$ac_c_werror_flag"
24754 || test ! -s conftest.err'
24755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24756 (eval $ac_try) 2>&5
24757 ac_status=$?
24758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24759 (exit $ac_status); }; } &&
24760 { ac_try='test -s conftest$ac_exeext'
24761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24762 (eval $ac_try) 2>&5
24763 ac_status=$?
24764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24765 (exit $ac_status); }; }; then
24766 eval "$as_ac_var=yes"
24767 else
24768 echo "$as_me: failed program was:" >&5
24769 sed 's/^/| /' conftest.$ac_ext >&5
24771 eval "$as_ac_var=no"
24773 rm -f conftest.err conftest.$ac_objext \
24774 conftest$ac_exeext conftest.$ac_ext
24776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24778 if test `eval echo '${'$as_ac_var'}'` = yes; then
24779 cat >>confdefs.h <<_ACEOF
24780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24781 _ACEOF
24784 done
24786 else
24788 echo "$as_me:$LINENO: checking for _powl declaration" >&5
24789 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24790 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24791 if test "${glibcxx_cv_func__powl_use+set}" = set; then
24792 echo $ECHO_N "(cached) $ECHO_C" >&6
24793 else
24797 ac_ext=cc
24798 ac_cpp='$CXXCPP $CPPFLAGS'
24799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24803 cat >conftest.$ac_ext <<_ACEOF
24804 /* confdefs.h. */
24805 _ACEOF
24806 cat confdefs.h >>conftest.$ac_ext
24807 cat >>conftest.$ac_ext <<_ACEOF
24808 /* end confdefs.h. */
24809 #include <math.h>
24811 main ()
24813 _powl(0, 0);
24815 return 0;
24817 _ACEOF
24818 rm -f conftest.$ac_objext
24819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24820 (eval $ac_compile) 2>conftest.er1
24821 ac_status=$?
24822 grep -v '^ *+' conftest.er1 >conftest.err
24823 rm -f conftest.er1
24824 cat conftest.err >&5
24825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826 (exit $ac_status); } &&
24827 { ac_try='test -z "$ac_cxx_werror_flag"
24828 || test ! -s conftest.err'
24829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24830 (eval $ac_try) 2>&5
24831 ac_status=$?
24832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24833 (exit $ac_status); }; } &&
24834 { ac_try='test -s conftest.$ac_objext'
24835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24836 (eval $ac_try) 2>&5
24837 ac_status=$?
24838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24839 (exit $ac_status); }; }; then
24840 glibcxx_cv_func__powl_use=yes
24841 else
24842 echo "$as_me: failed program was:" >&5
24843 sed 's/^/| /' conftest.$ac_ext >&5
24845 glibcxx_cv_func__powl_use=no
24847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24848 ac_ext=c
24849 ac_cpp='$CPP $CPPFLAGS'
24850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24858 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24859 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24861 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24863 for ac_func in _powl
24865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24866 echo "$as_me:$LINENO: checking for $ac_func" >&5
24867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24868 if eval "test \"\${$as_ac_var+set}\" = set"; then
24869 echo $ECHO_N "(cached) $ECHO_C" >&6
24870 else
24871 if test x$gcc_no_link = xyes; then
24872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24874 { (exit 1); exit 1; }; }
24876 cat >conftest.$ac_ext <<_ACEOF
24877 /* confdefs.h. */
24878 _ACEOF
24879 cat confdefs.h >>conftest.$ac_ext
24880 cat >>conftest.$ac_ext <<_ACEOF
24881 /* end confdefs.h. */
24882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24884 #define $ac_func innocuous_$ac_func
24886 /* System header to define __stub macros and hopefully few prototypes,
24887 which can conflict with char $ac_func (); below.
24888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24889 <limits.h> exists even on freestanding compilers. */
24891 #ifdef __STDC__
24892 # include <limits.h>
24893 #else
24894 # include <assert.h>
24895 #endif
24897 #undef $ac_func
24899 /* Override any gcc2 internal prototype to avoid an error. */
24900 #ifdef __cplusplus
24901 extern "C"
24903 #endif
24904 /* We use char because int might match the return type of a gcc2
24905 builtin and then its argument prototype would still apply. */
24906 char $ac_func ();
24907 /* The GNU C library defines this for functions which it implements
24908 to always fail with ENOSYS. Some functions are actually named
24909 something starting with __ and the normal name is an alias. */
24910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24911 choke me
24912 #else
24913 char (*f) () = $ac_func;
24914 #endif
24915 #ifdef __cplusplus
24917 #endif
24920 main ()
24922 return f != $ac_func;
24924 return 0;
24926 _ACEOF
24927 rm -f conftest.$ac_objext conftest$ac_exeext
24928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24929 (eval $ac_link) 2>conftest.er1
24930 ac_status=$?
24931 grep -v '^ *+' conftest.er1 >conftest.err
24932 rm -f conftest.er1
24933 cat conftest.err >&5
24934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24935 (exit $ac_status); } &&
24936 { ac_try='test -z "$ac_c_werror_flag"
24937 || test ! -s conftest.err'
24938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24939 (eval $ac_try) 2>&5
24940 ac_status=$?
24941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24942 (exit $ac_status); }; } &&
24943 { ac_try='test -s conftest$ac_exeext'
24944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24945 (eval $ac_try) 2>&5
24946 ac_status=$?
24947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24948 (exit $ac_status); }; }; then
24949 eval "$as_ac_var=yes"
24950 else
24951 echo "$as_me: failed program was:" >&5
24952 sed 's/^/| /' conftest.$ac_ext >&5
24954 eval "$as_ac_var=no"
24956 rm -f conftest.err conftest.$ac_objext \
24957 conftest$ac_exeext conftest.$ac_ext
24959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24961 if test `eval echo '${'$as_ac_var'}'` = yes; then
24962 cat >>confdefs.h <<_ACEOF
24963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24964 _ACEOF
24967 done
24974 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24975 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24976 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24977 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24978 echo $ECHO_N "(cached) $ECHO_C" >&6
24979 else
24983 ac_ext=cc
24984 ac_cpp='$CXXCPP $CPPFLAGS'
24985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24989 cat >conftest.$ac_ext <<_ACEOF
24990 /* confdefs.h. */
24991 _ACEOF
24992 cat confdefs.h >>conftest.$ac_ext
24993 cat >>conftest.$ac_ext <<_ACEOF
24994 /* end confdefs.h. */
24995 #include <math.h>
24996 #ifdef HAVE_IEEEFP_H
24997 #include <ieeefp.h>
24998 #endif
25001 main ()
25003 sqrtl(0);
25005 return 0;
25007 _ACEOF
25008 rm -f conftest.$ac_objext
25009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25010 (eval $ac_compile) 2>conftest.er1
25011 ac_status=$?
25012 grep -v '^ *+' conftest.er1 >conftest.err
25013 rm -f conftest.er1
25014 cat conftest.err >&5
25015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25016 (exit $ac_status); } &&
25017 { ac_try='test -z "$ac_cxx_werror_flag"
25018 || test ! -s conftest.err'
25019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25020 (eval $ac_try) 2>&5
25021 ac_status=$?
25022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25023 (exit $ac_status); }; } &&
25024 { ac_try='test -s conftest.$ac_objext'
25025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25026 (eval $ac_try) 2>&5
25027 ac_status=$?
25028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25029 (exit $ac_status); }; }; then
25030 glibcxx_cv_func_sqrtl_use=yes
25031 else
25032 echo "$as_me: failed program was:" >&5
25033 sed 's/^/| /' conftest.$ac_ext >&5
25035 glibcxx_cv_func_sqrtl_use=no
25037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25038 ac_ext=c
25039 ac_cpp='$CPP $CPPFLAGS'
25040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25048 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
25049 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
25051 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25053 for ac_func in sqrtl
25055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25056 echo "$as_me:$LINENO: checking for $ac_func" >&5
25057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25058 if eval "test \"\${$as_ac_var+set}\" = set"; then
25059 echo $ECHO_N "(cached) $ECHO_C" >&6
25060 else
25061 if test x$gcc_no_link = xyes; then
25062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25064 { (exit 1); exit 1; }; }
25066 cat >conftest.$ac_ext <<_ACEOF
25067 /* confdefs.h. */
25068 _ACEOF
25069 cat confdefs.h >>conftest.$ac_ext
25070 cat >>conftest.$ac_ext <<_ACEOF
25071 /* end confdefs.h. */
25072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25074 #define $ac_func innocuous_$ac_func
25076 /* System header to define __stub macros and hopefully few prototypes,
25077 which can conflict with char $ac_func (); below.
25078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25079 <limits.h> exists even on freestanding compilers. */
25081 #ifdef __STDC__
25082 # include <limits.h>
25083 #else
25084 # include <assert.h>
25085 #endif
25087 #undef $ac_func
25089 /* Override any gcc2 internal prototype to avoid an error. */
25090 #ifdef __cplusplus
25091 extern "C"
25093 #endif
25094 /* We use char because int might match the return type of a gcc2
25095 builtin and then its argument prototype would still apply. */
25096 char $ac_func ();
25097 /* The GNU C library defines this for functions which it implements
25098 to always fail with ENOSYS. Some functions are actually named
25099 something starting with __ and the normal name is an alias. */
25100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25101 choke me
25102 #else
25103 char (*f) () = $ac_func;
25104 #endif
25105 #ifdef __cplusplus
25107 #endif
25110 main ()
25112 return f != $ac_func;
25114 return 0;
25116 _ACEOF
25117 rm -f conftest.$ac_objext conftest$ac_exeext
25118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25119 (eval $ac_link) 2>conftest.er1
25120 ac_status=$?
25121 grep -v '^ *+' conftest.er1 >conftest.err
25122 rm -f conftest.er1
25123 cat conftest.err >&5
25124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25125 (exit $ac_status); } &&
25126 { ac_try='test -z "$ac_c_werror_flag"
25127 || test ! -s conftest.err'
25128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25129 (eval $ac_try) 2>&5
25130 ac_status=$?
25131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25132 (exit $ac_status); }; } &&
25133 { ac_try='test -s conftest$ac_exeext'
25134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25135 (eval $ac_try) 2>&5
25136 ac_status=$?
25137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25138 (exit $ac_status); }; }; then
25139 eval "$as_ac_var=yes"
25140 else
25141 echo "$as_me: failed program was:" >&5
25142 sed 's/^/| /' conftest.$ac_ext >&5
25144 eval "$as_ac_var=no"
25146 rm -f conftest.err conftest.$ac_objext \
25147 conftest$ac_exeext conftest.$ac_ext
25149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25151 if test `eval echo '${'$as_ac_var'}'` = yes; then
25152 cat >>confdefs.h <<_ACEOF
25153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25154 _ACEOF
25157 done
25159 else
25161 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
25162 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
25163 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25164 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
25165 echo $ECHO_N "(cached) $ECHO_C" >&6
25166 else
25170 ac_ext=cc
25171 ac_cpp='$CXXCPP $CPPFLAGS'
25172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25176 cat >conftest.$ac_ext <<_ACEOF
25177 /* confdefs.h. */
25178 _ACEOF
25179 cat confdefs.h >>conftest.$ac_ext
25180 cat >>conftest.$ac_ext <<_ACEOF
25181 /* end confdefs.h. */
25182 #include <math.h>
25183 #ifdef HAVE_IEEEFP_H
25184 #include <ieeefp.h>
25185 #endif
25188 main ()
25190 _sqrtl(0);
25192 return 0;
25194 _ACEOF
25195 rm -f conftest.$ac_objext
25196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25197 (eval $ac_compile) 2>conftest.er1
25198 ac_status=$?
25199 grep -v '^ *+' conftest.er1 >conftest.err
25200 rm -f conftest.er1
25201 cat conftest.err >&5
25202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25203 (exit $ac_status); } &&
25204 { ac_try='test -z "$ac_cxx_werror_flag"
25205 || test ! -s conftest.err'
25206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25207 (eval $ac_try) 2>&5
25208 ac_status=$?
25209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25210 (exit $ac_status); }; } &&
25211 { ac_try='test -s conftest.$ac_objext'
25212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25213 (eval $ac_try) 2>&5
25214 ac_status=$?
25215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25216 (exit $ac_status); }; }; then
25217 glibcxx_cv_func__sqrtl_use=yes
25218 else
25219 echo "$as_me: failed program was:" >&5
25220 sed 's/^/| /' conftest.$ac_ext >&5
25222 glibcxx_cv_func__sqrtl_use=no
25224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25225 ac_ext=c
25226 ac_cpp='$CPP $CPPFLAGS'
25227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25235 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
25236 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
25238 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25240 for ac_func in _sqrtl
25242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25243 echo "$as_me:$LINENO: checking for $ac_func" >&5
25244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25245 if eval "test \"\${$as_ac_var+set}\" = set"; then
25246 echo $ECHO_N "(cached) $ECHO_C" >&6
25247 else
25248 if test x$gcc_no_link = xyes; then
25249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25251 { (exit 1); exit 1; }; }
25253 cat >conftest.$ac_ext <<_ACEOF
25254 /* confdefs.h. */
25255 _ACEOF
25256 cat confdefs.h >>conftest.$ac_ext
25257 cat >>conftest.$ac_ext <<_ACEOF
25258 /* end confdefs.h. */
25259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25261 #define $ac_func innocuous_$ac_func
25263 /* System header to define __stub macros and hopefully few prototypes,
25264 which can conflict with char $ac_func (); below.
25265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25266 <limits.h> exists even on freestanding compilers. */
25268 #ifdef __STDC__
25269 # include <limits.h>
25270 #else
25271 # include <assert.h>
25272 #endif
25274 #undef $ac_func
25276 /* Override any gcc2 internal prototype to avoid an error. */
25277 #ifdef __cplusplus
25278 extern "C"
25280 #endif
25281 /* We use char because int might match the return type of a gcc2
25282 builtin and then its argument prototype would still apply. */
25283 char $ac_func ();
25284 /* The GNU C library defines this for functions which it implements
25285 to always fail with ENOSYS. Some functions are actually named
25286 something starting with __ and the normal name is an alias. */
25287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25288 choke me
25289 #else
25290 char (*f) () = $ac_func;
25291 #endif
25292 #ifdef __cplusplus
25294 #endif
25297 main ()
25299 return f != $ac_func;
25301 return 0;
25303 _ACEOF
25304 rm -f conftest.$ac_objext conftest$ac_exeext
25305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25306 (eval $ac_link) 2>conftest.er1
25307 ac_status=$?
25308 grep -v '^ *+' conftest.er1 >conftest.err
25309 rm -f conftest.er1
25310 cat conftest.err >&5
25311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25312 (exit $ac_status); } &&
25313 { ac_try='test -z "$ac_c_werror_flag"
25314 || test ! -s conftest.err'
25315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25316 (eval $ac_try) 2>&5
25317 ac_status=$?
25318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25319 (exit $ac_status); }; } &&
25320 { ac_try='test -s conftest$ac_exeext'
25321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25322 (eval $ac_try) 2>&5
25323 ac_status=$?
25324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25325 (exit $ac_status); }; }; then
25326 eval "$as_ac_var=yes"
25327 else
25328 echo "$as_me: failed program was:" >&5
25329 sed 's/^/| /' conftest.$ac_ext >&5
25331 eval "$as_ac_var=no"
25333 rm -f conftest.err conftest.$ac_objext \
25334 conftest$ac_exeext conftest.$ac_ext
25336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25338 if test `eval echo '${'$as_ac_var'}'` = yes; then
25339 cat >>confdefs.h <<_ACEOF
25340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25341 _ACEOF
25344 done
25351 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
25352 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
25353 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25354 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
25355 echo $ECHO_N "(cached) $ECHO_C" >&6
25356 else
25360 ac_ext=cc
25361 ac_cpp='$CXXCPP $CPPFLAGS'
25362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25366 cat >conftest.$ac_ext <<_ACEOF
25367 /* confdefs.h. */
25368 _ACEOF
25369 cat confdefs.h >>conftest.$ac_ext
25370 cat >>conftest.$ac_ext <<_ACEOF
25371 /* end confdefs.h. */
25372 #include <math.h>
25374 main ()
25376 sincosl(0, 0, 0);
25378 return 0;
25380 _ACEOF
25381 rm -f conftest.$ac_objext
25382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25383 (eval $ac_compile) 2>conftest.er1
25384 ac_status=$?
25385 grep -v '^ *+' conftest.er1 >conftest.err
25386 rm -f conftest.er1
25387 cat conftest.err >&5
25388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25389 (exit $ac_status); } &&
25390 { ac_try='test -z "$ac_cxx_werror_flag"
25391 || test ! -s conftest.err'
25392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25393 (eval $ac_try) 2>&5
25394 ac_status=$?
25395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25396 (exit $ac_status); }; } &&
25397 { ac_try='test -s conftest.$ac_objext'
25398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25399 (eval $ac_try) 2>&5
25400 ac_status=$?
25401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25402 (exit $ac_status); }; }; then
25403 glibcxx_cv_func_sincosl_use=yes
25404 else
25405 echo "$as_me: failed program was:" >&5
25406 sed 's/^/| /' conftest.$ac_ext >&5
25408 glibcxx_cv_func_sincosl_use=no
25410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25411 ac_ext=c
25412 ac_cpp='$CPP $CPPFLAGS'
25413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25421 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
25422 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
25424 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25426 for ac_func in sincosl
25428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25429 echo "$as_me:$LINENO: checking for $ac_func" >&5
25430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25431 if eval "test \"\${$as_ac_var+set}\" = set"; then
25432 echo $ECHO_N "(cached) $ECHO_C" >&6
25433 else
25434 if test x$gcc_no_link = xyes; then
25435 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25437 { (exit 1); exit 1; }; }
25439 cat >conftest.$ac_ext <<_ACEOF
25440 /* confdefs.h. */
25441 _ACEOF
25442 cat confdefs.h >>conftest.$ac_ext
25443 cat >>conftest.$ac_ext <<_ACEOF
25444 /* end confdefs.h. */
25445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25447 #define $ac_func innocuous_$ac_func
25449 /* System header to define __stub macros and hopefully few prototypes,
25450 which can conflict with char $ac_func (); below.
25451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25452 <limits.h> exists even on freestanding compilers. */
25454 #ifdef __STDC__
25455 # include <limits.h>
25456 #else
25457 # include <assert.h>
25458 #endif
25460 #undef $ac_func
25462 /* Override any gcc2 internal prototype to avoid an error. */
25463 #ifdef __cplusplus
25464 extern "C"
25466 #endif
25467 /* We use char because int might match the return type of a gcc2
25468 builtin and then its argument prototype would still apply. */
25469 char $ac_func ();
25470 /* The GNU C library defines this for functions which it implements
25471 to always fail with ENOSYS. Some functions are actually named
25472 something starting with __ and the normal name is an alias. */
25473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25474 choke me
25475 #else
25476 char (*f) () = $ac_func;
25477 #endif
25478 #ifdef __cplusplus
25480 #endif
25483 main ()
25485 return f != $ac_func;
25487 return 0;
25489 _ACEOF
25490 rm -f conftest.$ac_objext conftest$ac_exeext
25491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25492 (eval $ac_link) 2>conftest.er1
25493 ac_status=$?
25494 grep -v '^ *+' conftest.er1 >conftest.err
25495 rm -f conftest.er1
25496 cat conftest.err >&5
25497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25498 (exit $ac_status); } &&
25499 { ac_try='test -z "$ac_c_werror_flag"
25500 || test ! -s conftest.err'
25501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25502 (eval $ac_try) 2>&5
25503 ac_status=$?
25504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25505 (exit $ac_status); }; } &&
25506 { ac_try='test -s conftest$ac_exeext'
25507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25508 (eval $ac_try) 2>&5
25509 ac_status=$?
25510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25511 (exit $ac_status); }; }; then
25512 eval "$as_ac_var=yes"
25513 else
25514 echo "$as_me: failed program was:" >&5
25515 sed 's/^/| /' conftest.$ac_ext >&5
25517 eval "$as_ac_var=no"
25519 rm -f conftest.err conftest.$ac_objext \
25520 conftest$ac_exeext conftest.$ac_ext
25522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25524 if test `eval echo '${'$as_ac_var'}'` = yes; then
25525 cat >>confdefs.h <<_ACEOF
25526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25527 _ACEOF
25530 done
25532 else
25534 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25535 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25536 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25537 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25538 echo $ECHO_N "(cached) $ECHO_C" >&6
25539 else
25543 ac_ext=cc
25544 ac_cpp='$CXXCPP $CPPFLAGS'
25545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25549 cat >conftest.$ac_ext <<_ACEOF
25550 /* confdefs.h. */
25551 _ACEOF
25552 cat confdefs.h >>conftest.$ac_ext
25553 cat >>conftest.$ac_ext <<_ACEOF
25554 /* end confdefs.h. */
25555 #include <math.h>
25557 main ()
25559 _sincosl(0, 0, 0);
25561 return 0;
25563 _ACEOF
25564 rm -f conftest.$ac_objext
25565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25566 (eval $ac_compile) 2>conftest.er1
25567 ac_status=$?
25568 grep -v '^ *+' conftest.er1 >conftest.err
25569 rm -f conftest.er1
25570 cat conftest.err >&5
25571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25572 (exit $ac_status); } &&
25573 { ac_try='test -z "$ac_cxx_werror_flag"
25574 || test ! -s conftest.err'
25575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25576 (eval $ac_try) 2>&5
25577 ac_status=$?
25578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25579 (exit $ac_status); }; } &&
25580 { ac_try='test -s conftest.$ac_objext'
25581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25582 (eval $ac_try) 2>&5
25583 ac_status=$?
25584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25585 (exit $ac_status); }; }; then
25586 glibcxx_cv_func__sincosl_use=yes
25587 else
25588 echo "$as_me: failed program was:" >&5
25589 sed 's/^/| /' conftest.$ac_ext >&5
25591 glibcxx_cv_func__sincosl_use=no
25593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25594 ac_ext=c
25595 ac_cpp='$CPP $CPPFLAGS'
25596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25604 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25605 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25607 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25609 for ac_func in _sincosl
25611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25612 echo "$as_me:$LINENO: checking for $ac_func" >&5
25613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25614 if eval "test \"\${$as_ac_var+set}\" = set"; then
25615 echo $ECHO_N "(cached) $ECHO_C" >&6
25616 else
25617 if test x$gcc_no_link = xyes; then
25618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25620 { (exit 1); exit 1; }; }
25622 cat >conftest.$ac_ext <<_ACEOF
25623 /* confdefs.h. */
25624 _ACEOF
25625 cat confdefs.h >>conftest.$ac_ext
25626 cat >>conftest.$ac_ext <<_ACEOF
25627 /* end confdefs.h. */
25628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25630 #define $ac_func innocuous_$ac_func
25632 /* System header to define __stub macros and hopefully few prototypes,
25633 which can conflict with char $ac_func (); below.
25634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25635 <limits.h> exists even on freestanding compilers. */
25637 #ifdef __STDC__
25638 # include <limits.h>
25639 #else
25640 # include <assert.h>
25641 #endif
25643 #undef $ac_func
25645 /* Override any gcc2 internal prototype to avoid an error. */
25646 #ifdef __cplusplus
25647 extern "C"
25649 #endif
25650 /* We use char because int might match the return type of a gcc2
25651 builtin and then its argument prototype would still apply. */
25652 char $ac_func ();
25653 /* The GNU C library defines this for functions which it implements
25654 to always fail with ENOSYS. Some functions are actually named
25655 something starting with __ and the normal name is an alias. */
25656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25657 choke me
25658 #else
25659 char (*f) () = $ac_func;
25660 #endif
25661 #ifdef __cplusplus
25663 #endif
25666 main ()
25668 return f != $ac_func;
25670 return 0;
25672 _ACEOF
25673 rm -f conftest.$ac_objext conftest$ac_exeext
25674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25675 (eval $ac_link) 2>conftest.er1
25676 ac_status=$?
25677 grep -v '^ *+' conftest.er1 >conftest.err
25678 rm -f conftest.er1
25679 cat conftest.err >&5
25680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25681 (exit $ac_status); } &&
25682 { ac_try='test -z "$ac_c_werror_flag"
25683 || test ! -s conftest.err'
25684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25685 (eval $ac_try) 2>&5
25686 ac_status=$?
25687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25688 (exit $ac_status); }; } &&
25689 { ac_try='test -s conftest$ac_exeext'
25690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25691 (eval $ac_try) 2>&5
25692 ac_status=$?
25693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25694 (exit $ac_status); }; }; then
25695 eval "$as_ac_var=yes"
25696 else
25697 echo "$as_me: failed program was:" >&5
25698 sed 's/^/| /' conftest.$ac_ext >&5
25700 eval "$as_ac_var=no"
25702 rm -f conftest.err conftest.$ac_objext \
25703 conftest$ac_exeext conftest.$ac_ext
25705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25707 if test `eval echo '${'$as_ac_var'}'` = yes; then
25708 cat >>confdefs.h <<_ACEOF
25709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25710 _ACEOF
25713 done
25720 echo "$as_me:$LINENO: checking for finitel declaration" >&5
25721 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25722 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25723 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25724 echo $ECHO_N "(cached) $ECHO_C" >&6
25725 else
25729 ac_ext=cc
25730 ac_cpp='$CXXCPP $CPPFLAGS'
25731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25735 cat >conftest.$ac_ext <<_ACEOF
25736 /* confdefs.h. */
25737 _ACEOF
25738 cat confdefs.h >>conftest.$ac_ext
25739 cat >>conftest.$ac_ext <<_ACEOF
25740 /* end confdefs.h. */
25741 #include <math.h>
25742 #ifdef HAVE_IEEEFP_H
25743 #include <ieeefp.h>
25744 #endif
25747 main ()
25749 finitel(0);
25751 return 0;
25753 _ACEOF
25754 rm -f conftest.$ac_objext
25755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25756 (eval $ac_compile) 2>conftest.er1
25757 ac_status=$?
25758 grep -v '^ *+' conftest.er1 >conftest.err
25759 rm -f conftest.er1
25760 cat conftest.err >&5
25761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25762 (exit $ac_status); } &&
25763 { ac_try='test -z "$ac_cxx_werror_flag"
25764 || test ! -s conftest.err'
25765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25766 (eval $ac_try) 2>&5
25767 ac_status=$?
25768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25769 (exit $ac_status); }; } &&
25770 { ac_try='test -s conftest.$ac_objext'
25771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25772 (eval $ac_try) 2>&5
25773 ac_status=$?
25774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25775 (exit $ac_status); }; }; then
25776 glibcxx_cv_func_finitel_use=yes
25777 else
25778 echo "$as_me: failed program was:" >&5
25779 sed 's/^/| /' conftest.$ac_ext >&5
25781 glibcxx_cv_func_finitel_use=no
25783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25784 ac_ext=c
25785 ac_cpp='$CPP $CPPFLAGS'
25786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25794 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25795 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25797 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25799 for ac_func in finitel
25801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25802 echo "$as_me:$LINENO: checking for $ac_func" >&5
25803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25804 if eval "test \"\${$as_ac_var+set}\" = set"; then
25805 echo $ECHO_N "(cached) $ECHO_C" >&6
25806 else
25807 if test x$gcc_no_link = xyes; then
25808 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25810 { (exit 1); exit 1; }; }
25812 cat >conftest.$ac_ext <<_ACEOF
25813 /* confdefs.h. */
25814 _ACEOF
25815 cat confdefs.h >>conftest.$ac_ext
25816 cat >>conftest.$ac_ext <<_ACEOF
25817 /* end confdefs.h. */
25818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25820 #define $ac_func innocuous_$ac_func
25822 /* System header to define __stub macros and hopefully few prototypes,
25823 which can conflict with char $ac_func (); below.
25824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25825 <limits.h> exists even on freestanding compilers. */
25827 #ifdef __STDC__
25828 # include <limits.h>
25829 #else
25830 # include <assert.h>
25831 #endif
25833 #undef $ac_func
25835 /* Override any gcc2 internal prototype to avoid an error. */
25836 #ifdef __cplusplus
25837 extern "C"
25839 #endif
25840 /* We use char because int might match the return type of a gcc2
25841 builtin and then its argument prototype would still apply. */
25842 char $ac_func ();
25843 /* The GNU C library defines this for functions which it implements
25844 to always fail with ENOSYS. Some functions are actually named
25845 something starting with __ and the normal name is an alias. */
25846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25847 choke me
25848 #else
25849 char (*f) () = $ac_func;
25850 #endif
25851 #ifdef __cplusplus
25853 #endif
25856 main ()
25858 return f != $ac_func;
25860 return 0;
25862 _ACEOF
25863 rm -f conftest.$ac_objext conftest$ac_exeext
25864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25865 (eval $ac_link) 2>conftest.er1
25866 ac_status=$?
25867 grep -v '^ *+' conftest.er1 >conftest.err
25868 rm -f conftest.er1
25869 cat conftest.err >&5
25870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25871 (exit $ac_status); } &&
25872 { ac_try='test -z "$ac_c_werror_flag"
25873 || test ! -s conftest.err'
25874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25875 (eval $ac_try) 2>&5
25876 ac_status=$?
25877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25878 (exit $ac_status); }; } &&
25879 { ac_try='test -s conftest$ac_exeext'
25880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25881 (eval $ac_try) 2>&5
25882 ac_status=$?
25883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25884 (exit $ac_status); }; }; then
25885 eval "$as_ac_var=yes"
25886 else
25887 echo "$as_me: failed program was:" >&5
25888 sed 's/^/| /' conftest.$ac_ext >&5
25890 eval "$as_ac_var=no"
25892 rm -f conftest.err conftest.$ac_objext \
25893 conftest$ac_exeext conftest.$ac_ext
25895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25897 if test `eval echo '${'$as_ac_var'}'` = yes; then
25898 cat >>confdefs.h <<_ACEOF
25899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25900 _ACEOF
25903 done
25905 else
25907 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25908 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25909 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25910 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25911 echo $ECHO_N "(cached) $ECHO_C" >&6
25912 else
25916 ac_ext=cc
25917 ac_cpp='$CXXCPP $CPPFLAGS'
25918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25922 cat >conftest.$ac_ext <<_ACEOF
25923 /* confdefs.h. */
25924 _ACEOF
25925 cat confdefs.h >>conftest.$ac_ext
25926 cat >>conftest.$ac_ext <<_ACEOF
25927 /* end confdefs.h. */
25928 #include <math.h>
25929 #ifdef HAVE_IEEEFP_H
25930 #include <ieeefp.h>
25931 #endif
25934 main ()
25936 _finitel(0);
25938 return 0;
25940 _ACEOF
25941 rm -f conftest.$ac_objext
25942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25943 (eval $ac_compile) 2>conftest.er1
25944 ac_status=$?
25945 grep -v '^ *+' conftest.er1 >conftest.err
25946 rm -f conftest.er1
25947 cat conftest.err >&5
25948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25949 (exit $ac_status); } &&
25950 { ac_try='test -z "$ac_cxx_werror_flag"
25951 || test ! -s conftest.err'
25952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25953 (eval $ac_try) 2>&5
25954 ac_status=$?
25955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25956 (exit $ac_status); }; } &&
25957 { ac_try='test -s conftest.$ac_objext'
25958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25959 (eval $ac_try) 2>&5
25960 ac_status=$?
25961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25962 (exit $ac_status); }; }; then
25963 glibcxx_cv_func__finitel_use=yes
25964 else
25965 echo "$as_me: failed program was:" >&5
25966 sed 's/^/| /' conftest.$ac_ext >&5
25968 glibcxx_cv_func__finitel_use=no
25970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25971 ac_ext=c
25972 ac_cpp='$CPP $CPPFLAGS'
25973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25981 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25982 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25984 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25986 for ac_func in _finitel
25988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25989 echo "$as_me:$LINENO: checking for $ac_func" >&5
25990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25991 if eval "test \"\${$as_ac_var+set}\" = set"; then
25992 echo $ECHO_N "(cached) $ECHO_C" >&6
25993 else
25994 if test x$gcc_no_link = xyes; then
25995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25997 { (exit 1); exit 1; }; }
25999 cat >conftest.$ac_ext <<_ACEOF
26000 /* confdefs.h. */
26001 _ACEOF
26002 cat confdefs.h >>conftest.$ac_ext
26003 cat >>conftest.$ac_ext <<_ACEOF
26004 /* end confdefs.h. */
26005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26007 #define $ac_func innocuous_$ac_func
26009 /* System header to define __stub macros and hopefully few prototypes,
26010 which can conflict with char $ac_func (); below.
26011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26012 <limits.h> exists even on freestanding compilers. */
26014 #ifdef __STDC__
26015 # include <limits.h>
26016 #else
26017 # include <assert.h>
26018 #endif
26020 #undef $ac_func
26022 /* Override any gcc2 internal prototype to avoid an error. */
26023 #ifdef __cplusplus
26024 extern "C"
26026 #endif
26027 /* We use char because int might match the return type of a gcc2
26028 builtin and then its argument prototype would still apply. */
26029 char $ac_func ();
26030 /* The GNU C library defines this for functions which it implements
26031 to always fail with ENOSYS. Some functions are actually named
26032 something starting with __ and the normal name is an alias. */
26033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26034 choke me
26035 #else
26036 char (*f) () = $ac_func;
26037 #endif
26038 #ifdef __cplusplus
26040 #endif
26043 main ()
26045 return f != $ac_func;
26047 return 0;
26049 _ACEOF
26050 rm -f conftest.$ac_objext conftest$ac_exeext
26051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26052 (eval $ac_link) 2>conftest.er1
26053 ac_status=$?
26054 grep -v '^ *+' conftest.er1 >conftest.err
26055 rm -f conftest.er1
26056 cat conftest.err >&5
26057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26058 (exit $ac_status); } &&
26059 { ac_try='test -z "$ac_c_werror_flag"
26060 || test ! -s conftest.err'
26061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26062 (eval $ac_try) 2>&5
26063 ac_status=$?
26064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26065 (exit $ac_status); }; } &&
26066 { ac_try='test -s conftest$ac_exeext'
26067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26068 (eval $ac_try) 2>&5
26069 ac_status=$?
26070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26071 (exit $ac_status); }; }; then
26072 eval "$as_ac_var=yes"
26073 else
26074 echo "$as_me: failed program was:" >&5
26075 sed 's/^/| /' conftest.$ac_ext >&5
26077 eval "$as_ac_var=no"
26079 rm -f conftest.err conftest.$ac_objext \
26080 conftest$ac_exeext conftest.$ac_ext
26082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26084 if test `eval echo '${'$as_ac_var'}'` = yes; then
26085 cat >>confdefs.h <<_ACEOF
26086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26087 _ACEOF
26090 done
26098 echo "$as_me:$LINENO: checking for _float trig functions" >&5
26099 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
26100 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
26101 echo $ECHO_N "(cached) $ECHO_C" >&6
26102 else
26106 ac_ext=cc
26107 ac_cpp='$CXXCPP $CPPFLAGS'
26108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26112 cat >conftest.$ac_ext <<_ACEOF
26113 /* confdefs.h. */
26114 _ACEOF
26115 cat confdefs.h >>conftest.$ac_ext
26116 cat >>conftest.$ac_ext <<_ACEOF
26117 /* end confdefs.h. */
26118 #include <math.h>
26120 main ()
26122 `for x in _acosf _asinf _atanf \
26123 _cosf _sinf _tanf \
26124 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
26126 return 0;
26128 _ACEOF
26129 rm -f conftest.$ac_objext
26130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26131 (eval $ac_compile) 2>conftest.er1
26132 ac_status=$?
26133 grep -v '^ *+' conftest.er1 >conftest.err
26134 rm -f conftest.er1
26135 cat conftest.err >&5
26136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26137 (exit $ac_status); } &&
26138 { ac_try='test -z "$ac_cxx_werror_flag"
26139 || test ! -s conftest.err'
26140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26141 (eval $ac_try) 2>&5
26142 ac_status=$?
26143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26144 (exit $ac_status); }; } &&
26145 { ac_try='test -s conftest.$ac_objext'
26146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26147 (eval $ac_try) 2>&5
26148 ac_status=$?
26149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150 (exit $ac_status); }; }; then
26151 glibcxx_cv_func__float_trig_use=yes
26152 else
26153 echo "$as_me: failed program was:" >&5
26154 sed 's/^/| /' conftest.$ac_ext >&5
26156 glibcxx_cv_func__float_trig_use=no
26158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26159 ac_ext=c
26160 ac_cpp='$CPP $CPPFLAGS'
26161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26167 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
26168 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
26169 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
26179 for ac_func in _acosf _asinf _atanf \
26180 _cosf _sinf _tanf \
26181 _coshf _sinhf _tanhf
26183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26184 echo "$as_me:$LINENO: checking for $ac_func" >&5
26185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26186 if eval "test \"\${$as_ac_var+set}\" = set"; then
26187 echo $ECHO_N "(cached) $ECHO_C" >&6
26188 else
26189 if test x$gcc_no_link = xyes; then
26190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26192 { (exit 1); exit 1; }; }
26194 cat >conftest.$ac_ext <<_ACEOF
26195 /* confdefs.h. */
26196 _ACEOF
26197 cat confdefs.h >>conftest.$ac_ext
26198 cat >>conftest.$ac_ext <<_ACEOF
26199 /* end confdefs.h. */
26200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26202 #define $ac_func innocuous_$ac_func
26204 /* System header to define __stub macros and hopefully few prototypes,
26205 which can conflict with char $ac_func (); below.
26206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26207 <limits.h> exists even on freestanding compilers. */
26209 #ifdef __STDC__
26210 # include <limits.h>
26211 #else
26212 # include <assert.h>
26213 #endif
26215 #undef $ac_func
26217 /* Override any gcc2 internal prototype to avoid an error. */
26218 #ifdef __cplusplus
26219 extern "C"
26221 #endif
26222 /* We use char because int might match the return type of a gcc2
26223 builtin and then its argument prototype would still apply. */
26224 char $ac_func ();
26225 /* The GNU C library defines this for functions which it implements
26226 to always fail with ENOSYS. Some functions are actually named
26227 something starting with __ and the normal name is an alias. */
26228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26229 choke me
26230 #else
26231 char (*f) () = $ac_func;
26232 #endif
26233 #ifdef __cplusplus
26235 #endif
26238 main ()
26240 return f != $ac_func;
26242 return 0;
26244 _ACEOF
26245 rm -f conftest.$ac_objext conftest$ac_exeext
26246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26247 (eval $ac_link) 2>conftest.er1
26248 ac_status=$?
26249 grep -v '^ *+' conftest.er1 >conftest.err
26250 rm -f conftest.er1
26251 cat conftest.err >&5
26252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26253 (exit $ac_status); } &&
26254 { ac_try='test -z "$ac_c_werror_flag"
26255 || test ! -s conftest.err'
26256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26257 (eval $ac_try) 2>&5
26258 ac_status=$?
26259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26260 (exit $ac_status); }; } &&
26261 { ac_try='test -s conftest$ac_exeext'
26262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26263 (eval $ac_try) 2>&5
26264 ac_status=$?
26265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26266 (exit $ac_status); }; }; then
26267 eval "$as_ac_var=yes"
26268 else
26269 echo "$as_me: failed program was:" >&5
26270 sed 's/^/| /' conftest.$ac_ext >&5
26272 eval "$as_ac_var=no"
26274 rm -f conftest.err conftest.$ac_objext \
26275 conftest$ac_exeext conftest.$ac_ext
26277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26279 if test `eval echo '${'$as_ac_var'}'` = yes; then
26280 cat >>confdefs.h <<_ACEOF
26281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26282 _ACEOF
26285 done
26290 echo "$as_me:$LINENO: checking for _float round functions" >&5
26291 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
26292 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
26293 echo $ECHO_N "(cached) $ECHO_C" >&6
26294 else
26298 ac_ext=cc
26299 ac_cpp='$CXXCPP $CPPFLAGS'
26300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26304 cat >conftest.$ac_ext <<_ACEOF
26305 /* confdefs.h. */
26306 _ACEOF
26307 cat confdefs.h >>conftest.$ac_ext
26308 cat >>conftest.$ac_ext <<_ACEOF
26309 /* end confdefs.h. */
26310 #include <math.h>
26312 main ()
26314 `for x in _ceilf _floorf; do echo "$x (0);"; done`
26316 return 0;
26318 _ACEOF
26319 rm -f conftest.$ac_objext
26320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26321 (eval $ac_compile) 2>conftest.er1
26322 ac_status=$?
26323 grep -v '^ *+' conftest.er1 >conftest.err
26324 rm -f conftest.er1
26325 cat conftest.err >&5
26326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26327 (exit $ac_status); } &&
26328 { ac_try='test -z "$ac_cxx_werror_flag"
26329 || test ! -s conftest.err'
26330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26331 (eval $ac_try) 2>&5
26332 ac_status=$?
26333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26334 (exit $ac_status); }; } &&
26335 { ac_try='test -s conftest.$ac_objext'
26336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26337 (eval $ac_try) 2>&5
26338 ac_status=$?
26339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26340 (exit $ac_status); }; }; then
26341 glibcxx_cv_func__float_round_use=yes
26342 else
26343 echo "$as_me: failed program was:" >&5
26344 sed 's/^/| /' conftest.$ac_ext >&5
26346 glibcxx_cv_func__float_round_use=no
26348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26349 ac_ext=c
26350 ac_cpp='$CPP $CPPFLAGS'
26351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26357 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
26358 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
26359 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
26362 for ac_func in _ceilf _floorf
26364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26365 echo "$as_me:$LINENO: checking for $ac_func" >&5
26366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26367 if eval "test \"\${$as_ac_var+set}\" = set"; then
26368 echo $ECHO_N "(cached) $ECHO_C" >&6
26369 else
26370 if test x$gcc_no_link = xyes; then
26371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26373 { (exit 1); exit 1; }; }
26375 cat >conftest.$ac_ext <<_ACEOF
26376 /* confdefs.h. */
26377 _ACEOF
26378 cat confdefs.h >>conftest.$ac_ext
26379 cat >>conftest.$ac_ext <<_ACEOF
26380 /* end confdefs.h. */
26381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26383 #define $ac_func innocuous_$ac_func
26385 /* System header to define __stub macros and hopefully few prototypes,
26386 which can conflict with char $ac_func (); below.
26387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26388 <limits.h> exists even on freestanding compilers. */
26390 #ifdef __STDC__
26391 # include <limits.h>
26392 #else
26393 # include <assert.h>
26394 #endif
26396 #undef $ac_func
26398 /* Override any gcc2 internal prototype to avoid an error. */
26399 #ifdef __cplusplus
26400 extern "C"
26402 #endif
26403 /* We use char because int might match the return type of a gcc2
26404 builtin and then its argument prototype would still apply. */
26405 char $ac_func ();
26406 /* The GNU C library defines this for functions which it implements
26407 to always fail with ENOSYS. Some functions are actually named
26408 something starting with __ and the normal name is an alias. */
26409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26410 choke me
26411 #else
26412 char (*f) () = $ac_func;
26413 #endif
26414 #ifdef __cplusplus
26416 #endif
26419 main ()
26421 return f != $ac_func;
26423 return 0;
26425 _ACEOF
26426 rm -f conftest.$ac_objext conftest$ac_exeext
26427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26428 (eval $ac_link) 2>conftest.er1
26429 ac_status=$?
26430 grep -v '^ *+' conftest.er1 >conftest.err
26431 rm -f conftest.er1
26432 cat conftest.err >&5
26433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26434 (exit $ac_status); } &&
26435 { ac_try='test -z "$ac_c_werror_flag"
26436 || test ! -s conftest.err'
26437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26438 (eval $ac_try) 2>&5
26439 ac_status=$?
26440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26441 (exit $ac_status); }; } &&
26442 { ac_try='test -s conftest$ac_exeext'
26443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26444 (eval $ac_try) 2>&5
26445 ac_status=$?
26446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26447 (exit $ac_status); }; }; then
26448 eval "$as_ac_var=yes"
26449 else
26450 echo "$as_me: failed program was:" >&5
26451 sed 's/^/| /' conftest.$ac_ext >&5
26453 eval "$as_ac_var=no"
26455 rm -f conftest.err conftest.$ac_objext \
26456 conftest$ac_exeext conftest.$ac_ext
26458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26460 if test `eval echo '${'$as_ac_var'}'` = yes; then
26461 cat >>confdefs.h <<_ACEOF
26462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26463 _ACEOF
26466 done
26472 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
26473 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
26474 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
26475 echo $ECHO_N "(cached) $ECHO_C" >&6
26476 else
26480 ac_ext=cc
26481 ac_cpp='$CXXCPP $CPPFLAGS'
26482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26486 cat >conftest.$ac_ext <<_ACEOF
26487 /* confdefs.h. */
26488 _ACEOF
26489 cat confdefs.h >>conftest.$ac_ext
26490 cat >>conftest.$ac_ext <<_ACEOF
26491 /* end confdefs.h. */
26492 #include <math.h>
26494 main ()
26496 `for x in _acosl _asinl _atanl \
26497 _cosl _sinl _tanl \
26498 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
26500 return 0;
26502 _ACEOF
26503 rm -f conftest.$ac_objext
26504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26505 (eval $ac_compile) 2>conftest.er1
26506 ac_status=$?
26507 grep -v '^ *+' conftest.er1 >conftest.err
26508 rm -f conftest.er1
26509 cat conftest.err >&5
26510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26511 (exit $ac_status); } &&
26512 { ac_try='test -z "$ac_cxx_werror_flag"
26513 || test ! -s conftest.err'
26514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26515 (eval $ac_try) 2>&5
26516 ac_status=$?
26517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26518 (exit $ac_status); }; } &&
26519 { ac_try='test -s conftest.$ac_objext'
26520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26521 (eval $ac_try) 2>&5
26522 ac_status=$?
26523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26524 (exit $ac_status); }; }; then
26525 glibcxx_cv_func__long_double_trig_use=yes
26526 else
26527 echo "$as_me: failed program was:" >&5
26528 sed 's/^/| /' conftest.$ac_ext >&5
26530 glibcxx_cv_func__long_double_trig_use=no
26532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26533 ac_ext=c
26534 ac_cpp='$CPP $CPPFLAGS'
26535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26541 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
26542 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
26543 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
26553 for ac_func in _acosl _asinl _atanl \
26554 _cosl _sinl _tanl \
26555 _coshl _sinhl _tanhl
26557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26558 echo "$as_me:$LINENO: checking for $ac_func" >&5
26559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26560 if eval "test \"\${$as_ac_var+set}\" = set"; then
26561 echo $ECHO_N "(cached) $ECHO_C" >&6
26562 else
26563 if test x$gcc_no_link = xyes; then
26564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26566 { (exit 1); exit 1; }; }
26568 cat >conftest.$ac_ext <<_ACEOF
26569 /* confdefs.h. */
26570 _ACEOF
26571 cat confdefs.h >>conftest.$ac_ext
26572 cat >>conftest.$ac_ext <<_ACEOF
26573 /* end confdefs.h. */
26574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26576 #define $ac_func innocuous_$ac_func
26578 /* System header to define __stub macros and hopefully few prototypes,
26579 which can conflict with char $ac_func (); below.
26580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26581 <limits.h> exists even on freestanding compilers. */
26583 #ifdef __STDC__
26584 # include <limits.h>
26585 #else
26586 # include <assert.h>
26587 #endif
26589 #undef $ac_func
26591 /* Override any gcc2 internal prototype to avoid an error. */
26592 #ifdef __cplusplus
26593 extern "C"
26595 #endif
26596 /* We use char because int might match the return type of a gcc2
26597 builtin and then its argument prototype would still apply. */
26598 char $ac_func ();
26599 /* The GNU C library defines this for functions which it implements
26600 to always fail with ENOSYS. Some functions are actually named
26601 something starting with __ and the normal name is an alias. */
26602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26603 choke me
26604 #else
26605 char (*f) () = $ac_func;
26606 #endif
26607 #ifdef __cplusplus
26609 #endif
26612 main ()
26614 return f != $ac_func;
26616 return 0;
26618 _ACEOF
26619 rm -f conftest.$ac_objext conftest$ac_exeext
26620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26621 (eval $ac_link) 2>conftest.er1
26622 ac_status=$?
26623 grep -v '^ *+' conftest.er1 >conftest.err
26624 rm -f conftest.er1
26625 cat conftest.err >&5
26626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26627 (exit $ac_status); } &&
26628 { ac_try='test -z "$ac_c_werror_flag"
26629 || test ! -s conftest.err'
26630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26631 (eval $ac_try) 2>&5
26632 ac_status=$?
26633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26634 (exit $ac_status); }; } &&
26635 { ac_try='test -s conftest$ac_exeext'
26636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26637 (eval $ac_try) 2>&5
26638 ac_status=$?
26639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26640 (exit $ac_status); }; }; then
26641 eval "$as_ac_var=yes"
26642 else
26643 echo "$as_me: failed program was:" >&5
26644 sed 's/^/| /' conftest.$ac_ext >&5
26646 eval "$as_ac_var=no"
26648 rm -f conftest.err conftest.$ac_objext \
26649 conftest$ac_exeext conftest.$ac_ext
26651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26653 if test `eval echo '${'$as_ac_var'}'` = yes; then
26654 cat >>confdefs.h <<_ACEOF
26655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26656 _ACEOF
26659 done
26664 echo "$as_me:$LINENO: checking for _long double round functions" >&5
26665 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
26666 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
26667 echo $ECHO_N "(cached) $ECHO_C" >&6
26668 else
26672 ac_ext=cc
26673 ac_cpp='$CXXCPP $CPPFLAGS'
26674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26678 cat >conftest.$ac_ext <<_ACEOF
26679 /* confdefs.h. */
26680 _ACEOF
26681 cat confdefs.h >>conftest.$ac_ext
26682 cat >>conftest.$ac_ext <<_ACEOF
26683 /* end confdefs.h. */
26684 #include <math.h>
26686 main ()
26688 `for x in _ceill _floorl; do echo "$x (0);"; done`
26690 return 0;
26692 _ACEOF
26693 rm -f conftest.$ac_objext
26694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26695 (eval $ac_compile) 2>conftest.er1
26696 ac_status=$?
26697 grep -v '^ *+' conftest.er1 >conftest.err
26698 rm -f conftest.er1
26699 cat conftest.err >&5
26700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26701 (exit $ac_status); } &&
26702 { ac_try='test -z "$ac_cxx_werror_flag"
26703 || test ! -s conftest.err'
26704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26705 (eval $ac_try) 2>&5
26706 ac_status=$?
26707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26708 (exit $ac_status); }; } &&
26709 { ac_try='test -s conftest.$ac_objext'
26710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26711 (eval $ac_try) 2>&5
26712 ac_status=$?
26713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26714 (exit $ac_status); }; }; then
26715 glibcxx_cv_func__long_double_round_use=yes
26716 else
26717 echo "$as_me: failed program was:" >&5
26718 sed 's/^/| /' conftest.$ac_ext >&5
26720 glibcxx_cv_func__long_double_round_use=no
26722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26723 ac_ext=c
26724 ac_cpp='$CPP $CPPFLAGS'
26725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26731 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
26732 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
26733 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
26736 for ac_func in _ceill _floorl
26738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26739 echo "$as_me:$LINENO: checking for $ac_func" >&5
26740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26741 if eval "test \"\${$as_ac_var+set}\" = set"; then
26742 echo $ECHO_N "(cached) $ECHO_C" >&6
26743 else
26744 if test x$gcc_no_link = xyes; then
26745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26747 { (exit 1); exit 1; }; }
26749 cat >conftest.$ac_ext <<_ACEOF
26750 /* confdefs.h. */
26751 _ACEOF
26752 cat confdefs.h >>conftest.$ac_ext
26753 cat >>conftest.$ac_ext <<_ACEOF
26754 /* end confdefs.h. */
26755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26757 #define $ac_func innocuous_$ac_func
26759 /* System header to define __stub macros and hopefully few prototypes,
26760 which can conflict with char $ac_func (); below.
26761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26762 <limits.h> exists even on freestanding compilers. */
26764 #ifdef __STDC__
26765 # include <limits.h>
26766 #else
26767 # include <assert.h>
26768 #endif
26770 #undef $ac_func
26772 /* Override any gcc2 internal prototype to avoid an error. */
26773 #ifdef __cplusplus
26774 extern "C"
26776 #endif
26777 /* We use char because int might match the return type of a gcc2
26778 builtin and then its argument prototype would still apply. */
26779 char $ac_func ();
26780 /* The GNU C library defines this for functions which it implements
26781 to always fail with ENOSYS. Some functions are actually named
26782 something starting with __ and the normal name is an alias. */
26783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26784 choke me
26785 #else
26786 char (*f) () = $ac_func;
26787 #endif
26788 #ifdef __cplusplus
26790 #endif
26793 main ()
26795 return f != $ac_func;
26797 return 0;
26799 _ACEOF
26800 rm -f conftest.$ac_objext conftest$ac_exeext
26801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26802 (eval $ac_link) 2>conftest.er1
26803 ac_status=$?
26804 grep -v '^ *+' conftest.er1 >conftest.err
26805 rm -f conftest.er1
26806 cat conftest.err >&5
26807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26808 (exit $ac_status); } &&
26809 { ac_try='test -z "$ac_c_werror_flag"
26810 || test ! -s conftest.err'
26811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26812 (eval $ac_try) 2>&5
26813 ac_status=$?
26814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26815 (exit $ac_status); }; } &&
26816 { ac_try='test -s conftest$ac_exeext'
26817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26818 (eval $ac_try) 2>&5
26819 ac_status=$?
26820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26821 (exit $ac_status); }; }; then
26822 eval "$as_ac_var=yes"
26823 else
26824 echo "$as_me: failed program was:" >&5
26825 sed 's/^/| /' conftest.$ac_ext >&5
26827 eval "$as_ac_var=no"
26829 rm -f conftest.err conftest.$ac_objext \
26830 conftest$ac_exeext conftest.$ac_ext
26832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26834 if test `eval echo '${'$as_ac_var'}'` = yes; then
26835 cat >>confdefs.h <<_ACEOF
26836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26837 _ACEOF
26840 done
26845 LIBS="$ac_save_LIBS"
26846 CXXFLAGS="$ac_save_CXXFLAGS"
26850 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
26851 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
26852 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
26853 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
26854 echo $ECHO_N "(cached) $ECHO_C" >&6
26855 else
26859 ac_ext=cc
26860 ac_cpp='$CXXCPP $CPPFLAGS'
26861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26865 cat >conftest.$ac_ext <<_ACEOF
26866 /* confdefs.h. */
26867 _ACEOF
26868 cat confdefs.h >>conftest.$ac_ext
26869 cat >>conftest.$ac_ext <<_ACEOF
26870 /* end confdefs.h. */
26871 #include <math.h>
26873 main ()
26875 __builtin_abs(0);
26877 return 0;
26879 _ACEOF
26880 rm -f conftest.$ac_objext
26881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26882 (eval $ac_compile) 2>conftest.er1
26883 ac_status=$?
26884 grep -v '^ *+' conftest.er1 >conftest.err
26885 rm -f conftest.er1
26886 cat conftest.err >&5
26887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26888 (exit $ac_status); } &&
26889 { ac_try='test -z "$ac_cxx_werror_flag"
26890 || test ! -s conftest.err'
26891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26892 (eval $ac_try) 2>&5
26893 ac_status=$?
26894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26895 (exit $ac_status); }; } &&
26896 { ac_try='test -s conftest.$ac_objext'
26897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26898 (eval $ac_try) 2>&5
26899 ac_status=$?
26900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26901 (exit $ac_status); }; }; then
26902 glibcxx_cv_func___builtin_abs_use=yes
26903 else
26904 echo "$as_me: failed program was:" >&5
26905 sed 's/^/| /' conftest.$ac_ext >&5
26907 glibcxx_cv_func___builtin_abs_use=no
26909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26910 ac_ext=c
26911 ac_cpp='$CPP $CPPFLAGS'
26912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26920 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
26921 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
26922 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
26923 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
26924 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
26925 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
26926 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
26927 echo $ECHO_N "(cached) $ECHO_C" >&6
26928 else
26930 if test x$gcc_no_link = xyes; then
26931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26933 { (exit 1); exit 1; }; }
26935 cat >conftest.$ac_ext <<_ACEOF
26936 /* confdefs.h. */
26937 _ACEOF
26938 cat confdefs.h >>conftest.$ac_ext
26939 cat >>conftest.$ac_ext <<_ACEOF
26940 /* end confdefs.h. */
26941 #include <math.h>
26943 main ()
26945 __builtin_abs(0);
26947 return 0;
26949 _ACEOF
26950 rm -f conftest.$ac_objext conftest$ac_exeext
26951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26952 (eval $ac_link) 2>conftest.er1
26953 ac_status=$?
26954 grep -v '^ *+' conftest.er1 >conftest.err
26955 rm -f conftest.er1
26956 cat conftest.err >&5
26957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26958 (exit $ac_status); } &&
26959 { ac_try='test -z "$ac_c_werror_flag"
26960 || test ! -s conftest.err'
26961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26962 (eval $ac_try) 2>&5
26963 ac_status=$?
26964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26965 (exit $ac_status); }; } &&
26966 { ac_try='test -s conftest$ac_exeext'
26967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26968 (eval $ac_try) 2>&5
26969 ac_status=$?
26970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26971 (exit $ac_status); }; }; then
26972 glibcxx_cv_func___builtin_abs_link=yes
26973 else
26974 echo "$as_me: failed program was:" >&5
26975 sed 's/^/| /' conftest.$ac_ext >&5
26977 glibcxx_cv_func___builtin_abs_link=no
26979 rm -f conftest.err conftest.$ac_objext \
26980 conftest$ac_exeext conftest.$ac_ext
26985 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
26986 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
26987 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
26988 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26990 cat >>confdefs.h <<_ACEOF
26991 #define ${ac_tr_func} 1
26992 _ACEOF
26998 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
26999 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
27000 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
27001 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
27002 echo $ECHO_N "(cached) $ECHO_C" >&6
27003 else
27007 ac_ext=cc
27008 ac_cpp='$CXXCPP $CPPFLAGS'
27009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27013 cat >conftest.$ac_ext <<_ACEOF
27014 /* confdefs.h. */
27015 _ACEOF
27016 cat confdefs.h >>conftest.$ac_ext
27017 cat >>conftest.$ac_ext <<_ACEOF
27018 /* end confdefs.h. */
27019 #include <math.h>
27021 main ()
27023 __builtin_fabsf(0);
27025 return 0;
27027 _ACEOF
27028 rm -f conftest.$ac_objext
27029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27030 (eval $ac_compile) 2>conftest.er1
27031 ac_status=$?
27032 grep -v '^ *+' conftest.er1 >conftest.err
27033 rm -f conftest.er1
27034 cat conftest.err >&5
27035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27036 (exit $ac_status); } &&
27037 { ac_try='test -z "$ac_cxx_werror_flag"
27038 || test ! -s conftest.err'
27039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27040 (eval $ac_try) 2>&5
27041 ac_status=$?
27042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27043 (exit $ac_status); }; } &&
27044 { ac_try='test -s conftest.$ac_objext'
27045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27046 (eval $ac_try) 2>&5
27047 ac_status=$?
27048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27049 (exit $ac_status); }; }; then
27050 glibcxx_cv_func___builtin_fabsf_use=yes
27051 else
27052 echo "$as_me: failed program was:" >&5
27053 sed 's/^/| /' conftest.$ac_ext >&5
27055 glibcxx_cv_func___builtin_fabsf_use=no
27057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27058 ac_ext=c
27059 ac_cpp='$CPP $CPPFLAGS'
27060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27068 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
27069 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
27070 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
27071 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
27072 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
27073 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
27074 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
27075 echo $ECHO_N "(cached) $ECHO_C" >&6
27076 else
27078 if test x$gcc_no_link = xyes; then
27079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27081 { (exit 1); exit 1; }; }
27083 cat >conftest.$ac_ext <<_ACEOF
27084 /* confdefs.h. */
27085 _ACEOF
27086 cat confdefs.h >>conftest.$ac_ext
27087 cat >>conftest.$ac_ext <<_ACEOF
27088 /* end confdefs.h. */
27089 #include <math.h>
27091 main ()
27093 __builtin_fabsf(0);
27095 return 0;
27097 _ACEOF
27098 rm -f conftest.$ac_objext conftest$ac_exeext
27099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27100 (eval $ac_link) 2>conftest.er1
27101 ac_status=$?
27102 grep -v '^ *+' conftest.er1 >conftest.err
27103 rm -f conftest.er1
27104 cat conftest.err >&5
27105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27106 (exit $ac_status); } &&
27107 { ac_try='test -z "$ac_c_werror_flag"
27108 || test ! -s conftest.err'
27109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27110 (eval $ac_try) 2>&5
27111 ac_status=$?
27112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27113 (exit $ac_status); }; } &&
27114 { ac_try='test -s conftest$ac_exeext'
27115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27116 (eval $ac_try) 2>&5
27117 ac_status=$?
27118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27119 (exit $ac_status); }; }; then
27120 glibcxx_cv_func___builtin_fabsf_link=yes
27121 else
27122 echo "$as_me: failed program was:" >&5
27123 sed 's/^/| /' conftest.$ac_ext >&5
27125 glibcxx_cv_func___builtin_fabsf_link=no
27127 rm -f conftest.err conftest.$ac_objext \
27128 conftest$ac_exeext conftest.$ac_ext
27133 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
27134 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
27135 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
27136 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27138 cat >>confdefs.h <<_ACEOF
27139 #define ${ac_tr_func} 1
27140 _ACEOF
27146 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
27147 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
27148 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
27149 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
27150 echo $ECHO_N "(cached) $ECHO_C" >&6
27151 else
27155 ac_ext=cc
27156 ac_cpp='$CXXCPP $CPPFLAGS'
27157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27161 cat >conftest.$ac_ext <<_ACEOF
27162 /* confdefs.h. */
27163 _ACEOF
27164 cat confdefs.h >>conftest.$ac_ext
27165 cat >>conftest.$ac_ext <<_ACEOF
27166 /* end confdefs.h. */
27167 #include <math.h>
27169 main ()
27171 __builtin_fabs(0);
27173 return 0;
27175 _ACEOF
27176 rm -f conftest.$ac_objext
27177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27178 (eval $ac_compile) 2>conftest.er1
27179 ac_status=$?
27180 grep -v '^ *+' conftest.er1 >conftest.err
27181 rm -f conftest.er1
27182 cat conftest.err >&5
27183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27184 (exit $ac_status); } &&
27185 { ac_try='test -z "$ac_cxx_werror_flag"
27186 || test ! -s conftest.err'
27187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27188 (eval $ac_try) 2>&5
27189 ac_status=$?
27190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27191 (exit $ac_status); }; } &&
27192 { ac_try='test -s conftest.$ac_objext'
27193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27194 (eval $ac_try) 2>&5
27195 ac_status=$?
27196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27197 (exit $ac_status); }; }; then
27198 glibcxx_cv_func___builtin_fabs_use=yes
27199 else
27200 echo "$as_me: failed program was:" >&5
27201 sed 's/^/| /' conftest.$ac_ext >&5
27203 glibcxx_cv_func___builtin_fabs_use=no
27205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27206 ac_ext=c
27207 ac_cpp='$CPP $CPPFLAGS'
27208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27216 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
27217 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
27218 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
27219 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
27220 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
27221 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
27222 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
27223 echo $ECHO_N "(cached) $ECHO_C" >&6
27224 else
27226 if test x$gcc_no_link = xyes; then
27227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27229 { (exit 1); exit 1; }; }
27231 cat >conftest.$ac_ext <<_ACEOF
27232 /* confdefs.h. */
27233 _ACEOF
27234 cat confdefs.h >>conftest.$ac_ext
27235 cat >>conftest.$ac_ext <<_ACEOF
27236 /* end confdefs.h. */
27237 #include <math.h>
27239 main ()
27241 __builtin_fabs(0);
27243 return 0;
27245 _ACEOF
27246 rm -f conftest.$ac_objext conftest$ac_exeext
27247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27248 (eval $ac_link) 2>conftest.er1
27249 ac_status=$?
27250 grep -v '^ *+' conftest.er1 >conftest.err
27251 rm -f conftest.er1
27252 cat conftest.err >&5
27253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27254 (exit $ac_status); } &&
27255 { ac_try='test -z "$ac_c_werror_flag"
27256 || test ! -s conftest.err'
27257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27258 (eval $ac_try) 2>&5
27259 ac_status=$?
27260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27261 (exit $ac_status); }; } &&
27262 { ac_try='test -s conftest$ac_exeext'
27263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27264 (eval $ac_try) 2>&5
27265 ac_status=$?
27266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27267 (exit $ac_status); }; }; then
27268 glibcxx_cv_func___builtin_fabs_link=yes
27269 else
27270 echo "$as_me: failed program was:" >&5
27271 sed 's/^/| /' conftest.$ac_ext >&5
27273 glibcxx_cv_func___builtin_fabs_link=no
27275 rm -f conftest.err conftest.$ac_objext \
27276 conftest$ac_exeext conftest.$ac_ext
27281 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
27282 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
27283 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
27284 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27286 cat >>confdefs.h <<_ACEOF
27287 #define ${ac_tr_func} 1
27288 _ACEOF
27294 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
27295 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
27296 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
27297 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
27298 echo $ECHO_N "(cached) $ECHO_C" >&6
27299 else
27303 ac_ext=cc
27304 ac_cpp='$CXXCPP $CPPFLAGS'
27305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27309 cat >conftest.$ac_ext <<_ACEOF
27310 /* confdefs.h. */
27311 _ACEOF
27312 cat confdefs.h >>conftest.$ac_ext
27313 cat >>conftest.$ac_ext <<_ACEOF
27314 /* end confdefs.h. */
27315 #include <math.h>
27317 main ()
27319 __builtin_fabsl(0);
27321 return 0;
27323 _ACEOF
27324 rm -f conftest.$ac_objext
27325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27326 (eval $ac_compile) 2>conftest.er1
27327 ac_status=$?
27328 grep -v '^ *+' conftest.er1 >conftest.err
27329 rm -f conftest.er1
27330 cat conftest.err >&5
27331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27332 (exit $ac_status); } &&
27333 { ac_try='test -z "$ac_cxx_werror_flag"
27334 || test ! -s conftest.err'
27335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27336 (eval $ac_try) 2>&5
27337 ac_status=$?
27338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27339 (exit $ac_status); }; } &&
27340 { ac_try='test -s conftest.$ac_objext'
27341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27342 (eval $ac_try) 2>&5
27343 ac_status=$?
27344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27345 (exit $ac_status); }; }; then
27346 glibcxx_cv_func___builtin_fabsl_use=yes
27347 else
27348 echo "$as_me: failed program was:" >&5
27349 sed 's/^/| /' conftest.$ac_ext >&5
27351 glibcxx_cv_func___builtin_fabsl_use=no
27353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27354 ac_ext=c
27355 ac_cpp='$CPP $CPPFLAGS'
27356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27364 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
27365 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
27366 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
27367 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
27368 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
27369 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
27370 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
27371 echo $ECHO_N "(cached) $ECHO_C" >&6
27372 else
27374 if test x$gcc_no_link = xyes; then
27375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27377 { (exit 1); exit 1; }; }
27379 cat >conftest.$ac_ext <<_ACEOF
27380 /* confdefs.h. */
27381 _ACEOF
27382 cat confdefs.h >>conftest.$ac_ext
27383 cat >>conftest.$ac_ext <<_ACEOF
27384 /* end confdefs.h. */
27385 #include <math.h>
27387 main ()
27389 __builtin_fabsl(0);
27391 return 0;
27393 _ACEOF
27394 rm -f conftest.$ac_objext conftest$ac_exeext
27395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27396 (eval $ac_link) 2>conftest.er1
27397 ac_status=$?
27398 grep -v '^ *+' conftest.er1 >conftest.err
27399 rm -f conftest.er1
27400 cat conftest.err >&5
27401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402 (exit $ac_status); } &&
27403 { ac_try='test -z "$ac_c_werror_flag"
27404 || test ! -s conftest.err'
27405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27406 (eval $ac_try) 2>&5
27407 ac_status=$?
27408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27409 (exit $ac_status); }; } &&
27410 { ac_try='test -s conftest$ac_exeext'
27411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27412 (eval $ac_try) 2>&5
27413 ac_status=$?
27414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27415 (exit $ac_status); }; }; then
27416 glibcxx_cv_func___builtin_fabsl_link=yes
27417 else
27418 echo "$as_me: failed program was:" >&5
27419 sed 's/^/| /' conftest.$ac_ext >&5
27421 glibcxx_cv_func___builtin_fabsl_link=no
27423 rm -f conftest.err conftest.$ac_objext \
27424 conftest$ac_exeext conftest.$ac_ext
27429 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
27430 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
27431 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
27432 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27434 cat >>confdefs.h <<_ACEOF
27435 #define ${ac_tr_func} 1
27436 _ACEOF
27442 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
27443 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
27444 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
27445 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
27446 echo $ECHO_N "(cached) $ECHO_C" >&6
27447 else
27451 ac_ext=cc
27452 ac_cpp='$CXXCPP $CPPFLAGS'
27453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27457 cat >conftest.$ac_ext <<_ACEOF
27458 /* confdefs.h. */
27459 _ACEOF
27460 cat confdefs.h >>conftest.$ac_ext
27461 cat >>conftest.$ac_ext <<_ACEOF
27462 /* end confdefs.h. */
27463 #include <math.h>
27465 main ()
27467 __builtin_labs(0);
27469 return 0;
27471 _ACEOF
27472 rm -f conftest.$ac_objext
27473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27474 (eval $ac_compile) 2>conftest.er1
27475 ac_status=$?
27476 grep -v '^ *+' conftest.er1 >conftest.err
27477 rm -f conftest.er1
27478 cat conftest.err >&5
27479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27480 (exit $ac_status); } &&
27481 { ac_try='test -z "$ac_cxx_werror_flag"
27482 || test ! -s conftest.err'
27483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27484 (eval $ac_try) 2>&5
27485 ac_status=$?
27486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27487 (exit $ac_status); }; } &&
27488 { ac_try='test -s conftest.$ac_objext'
27489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27490 (eval $ac_try) 2>&5
27491 ac_status=$?
27492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27493 (exit $ac_status); }; }; then
27494 glibcxx_cv_func___builtin_labs_use=yes
27495 else
27496 echo "$as_me: failed program was:" >&5
27497 sed 's/^/| /' conftest.$ac_ext >&5
27499 glibcxx_cv_func___builtin_labs_use=no
27501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27502 ac_ext=c
27503 ac_cpp='$CPP $CPPFLAGS'
27504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27512 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
27513 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
27514 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
27515 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
27516 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
27517 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
27518 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
27519 echo $ECHO_N "(cached) $ECHO_C" >&6
27520 else
27522 if test x$gcc_no_link = xyes; then
27523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27525 { (exit 1); exit 1; }; }
27527 cat >conftest.$ac_ext <<_ACEOF
27528 /* confdefs.h. */
27529 _ACEOF
27530 cat confdefs.h >>conftest.$ac_ext
27531 cat >>conftest.$ac_ext <<_ACEOF
27532 /* end confdefs.h. */
27533 #include <math.h>
27535 main ()
27537 __builtin_labs(0);
27539 return 0;
27541 _ACEOF
27542 rm -f conftest.$ac_objext conftest$ac_exeext
27543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27544 (eval $ac_link) 2>conftest.er1
27545 ac_status=$?
27546 grep -v '^ *+' conftest.er1 >conftest.err
27547 rm -f conftest.er1
27548 cat conftest.err >&5
27549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550 (exit $ac_status); } &&
27551 { ac_try='test -z "$ac_c_werror_flag"
27552 || test ! -s conftest.err'
27553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27554 (eval $ac_try) 2>&5
27555 ac_status=$?
27556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27557 (exit $ac_status); }; } &&
27558 { ac_try='test -s conftest$ac_exeext'
27559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27560 (eval $ac_try) 2>&5
27561 ac_status=$?
27562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27563 (exit $ac_status); }; }; then
27564 glibcxx_cv_func___builtin_labs_link=yes
27565 else
27566 echo "$as_me: failed program was:" >&5
27567 sed 's/^/| /' conftest.$ac_ext >&5
27569 glibcxx_cv_func___builtin_labs_link=no
27571 rm -f conftest.err conftest.$ac_objext \
27572 conftest$ac_exeext conftest.$ac_ext
27577 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
27578 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
27579 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
27580 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27582 cat >>confdefs.h <<_ACEOF
27583 #define ${ac_tr_func} 1
27584 _ACEOF
27591 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
27592 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
27593 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
27594 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
27595 echo $ECHO_N "(cached) $ECHO_C" >&6
27596 else
27600 ac_ext=cc
27601 ac_cpp='$CXXCPP $CPPFLAGS'
27602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27606 cat >conftest.$ac_ext <<_ACEOF
27607 /* confdefs.h. */
27608 _ACEOF
27609 cat confdefs.h >>conftest.$ac_ext
27610 cat >>conftest.$ac_ext <<_ACEOF
27611 /* end confdefs.h. */
27612 #include <math.h>
27614 main ()
27616 __builtin_sqrtf(0);
27618 return 0;
27620 _ACEOF
27621 rm -f conftest.$ac_objext
27622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27623 (eval $ac_compile) 2>conftest.er1
27624 ac_status=$?
27625 grep -v '^ *+' conftest.er1 >conftest.err
27626 rm -f conftest.er1
27627 cat conftest.err >&5
27628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27629 (exit $ac_status); } &&
27630 { ac_try='test -z "$ac_cxx_werror_flag"
27631 || test ! -s conftest.err'
27632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27633 (eval $ac_try) 2>&5
27634 ac_status=$?
27635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27636 (exit $ac_status); }; } &&
27637 { ac_try='test -s conftest.$ac_objext'
27638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27639 (eval $ac_try) 2>&5
27640 ac_status=$?
27641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27642 (exit $ac_status); }; }; then
27643 glibcxx_cv_func___builtin_sqrtf_use=yes
27644 else
27645 echo "$as_me: failed program was:" >&5
27646 sed 's/^/| /' conftest.$ac_ext >&5
27648 glibcxx_cv_func___builtin_sqrtf_use=no
27650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27651 ac_ext=c
27652 ac_cpp='$CPP $CPPFLAGS'
27653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27661 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
27662 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
27663 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
27664 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
27665 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
27666 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
27667 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
27668 echo $ECHO_N "(cached) $ECHO_C" >&6
27669 else
27671 if test x$gcc_no_link = xyes; then
27672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27674 { (exit 1); exit 1; }; }
27676 cat >conftest.$ac_ext <<_ACEOF
27677 /* confdefs.h. */
27678 _ACEOF
27679 cat confdefs.h >>conftest.$ac_ext
27680 cat >>conftest.$ac_ext <<_ACEOF
27681 /* end confdefs.h. */
27682 #include <math.h>
27684 main ()
27686 __builtin_sqrtf(0);
27688 return 0;
27690 _ACEOF
27691 rm -f conftest.$ac_objext conftest$ac_exeext
27692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27693 (eval $ac_link) 2>conftest.er1
27694 ac_status=$?
27695 grep -v '^ *+' conftest.er1 >conftest.err
27696 rm -f conftest.er1
27697 cat conftest.err >&5
27698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27699 (exit $ac_status); } &&
27700 { ac_try='test -z "$ac_c_werror_flag"
27701 || test ! -s conftest.err'
27702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27703 (eval $ac_try) 2>&5
27704 ac_status=$?
27705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27706 (exit $ac_status); }; } &&
27707 { ac_try='test -s conftest$ac_exeext'
27708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27709 (eval $ac_try) 2>&5
27710 ac_status=$?
27711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27712 (exit $ac_status); }; }; then
27713 glibcxx_cv_func___builtin_sqrtf_link=yes
27714 else
27715 echo "$as_me: failed program was:" >&5
27716 sed 's/^/| /' conftest.$ac_ext >&5
27718 glibcxx_cv_func___builtin_sqrtf_link=no
27720 rm -f conftest.err conftest.$ac_objext \
27721 conftest$ac_exeext conftest.$ac_ext
27726 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
27727 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
27728 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
27729 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27731 cat >>confdefs.h <<_ACEOF
27732 #define ${ac_tr_func} 1
27733 _ACEOF
27739 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
27740 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
27741 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
27742 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
27743 echo $ECHO_N "(cached) $ECHO_C" >&6
27744 else
27748 ac_ext=cc
27749 ac_cpp='$CXXCPP $CPPFLAGS'
27750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27754 cat >conftest.$ac_ext <<_ACEOF
27755 /* confdefs.h. */
27756 _ACEOF
27757 cat confdefs.h >>conftest.$ac_ext
27758 cat >>conftest.$ac_ext <<_ACEOF
27759 /* end confdefs.h. */
27760 #include <math.h>
27762 main ()
27764 __builtin_sqrt(0);
27766 return 0;
27768 _ACEOF
27769 rm -f conftest.$ac_objext
27770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27771 (eval $ac_compile) 2>conftest.er1
27772 ac_status=$?
27773 grep -v '^ *+' conftest.er1 >conftest.err
27774 rm -f conftest.er1
27775 cat conftest.err >&5
27776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27777 (exit $ac_status); } &&
27778 { ac_try='test -z "$ac_cxx_werror_flag"
27779 || test ! -s conftest.err'
27780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27781 (eval $ac_try) 2>&5
27782 ac_status=$?
27783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27784 (exit $ac_status); }; } &&
27785 { ac_try='test -s conftest.$ac_objext'
27786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27787 (eval $ac_try) 2>&5
27788 ac_status=$?
27789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27790 (exit $ac_status); }; }; then
27791 glibcxx_cv_func___builtin_sqrt_use=yes
27792 else
27793 echo "$as_me: failed program was:" >&5
27794 sed 's/^/| /' conftest.$ac_ext >&5
27796 glibcxx_cv_func___builtin_sqrt_use=no
27798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27799 ac_ext=c
27800 ac_cpp='$CPP $CPPFLAGS'
27801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27809 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
27810 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
27811 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
27812 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
27813 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
27814 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
27815 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
27816 echo $ECHO_N "(cached) $ECHO_C" >&6
27817 else
27819 if test x$gcc_no_link = xyes; then
27820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27822 { (exit 1); exit 1; }; }
27824 cat >conftest.$ac_ext <<_ACEOF
27825 /* confdefs.h. */
27826 _ACEOF
27827 cat confdefs.h >>conftest.$ac_ext
27828 cat >>conftest.$ac_ext <<_ACEOF
27829 /* end confdefs.h. */
27830 #include <math.h>
27832 main ()
27834 __builtin_sqrt(0);
27836 return 0;
27838 _ACEOF
27839 rm -f conftest.$ac_objext conftest$ac_exeext
27840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27841 (eval $ac_link) 2>conftest.er1
27842 ac_status=$?
27843 grep -v '^ *+' conftest.er1 >conftest.err
27844 rm -f conftest.er1
27845 cat conftest.err >&5
27846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27847 (exit $ac_status); } &&
27848 { ac_try='test -z "$ac_c_werror_flag"
27849 || test ! -s conftest.err'
27850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27851 (eval $ac_try) 2>&5
27852 ac_status=$?
27853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27854 (exit $ac_status); }; } &&
27855 { ac_try='test -s conftest$ac_exeext'
27856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27857 (eval $ac_try) 2>&5
27858 ac_status=$?
27859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27860 (exit $ac_status); }; }; then
27861 glibcxx_cv_func___builtin_sqrt_link=yes
27862 else
27863 echo "$as_me: failed program was:" >&5
27864 sed 's/^/| /' conftest.$ac_ext >&5
27866 glibcxx_cv_func___builtin_sqrt_link=no
27868 rm -f conftest.err conftest.$ac_objext \
27869 conftest$ac_exeext conftest.$ac_ext
27874 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
27875 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
27876 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
27877 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27879 cat >>confdefs.h <<_ACEOF
27880 #define ${ac_tr_func} 1
27881 _ACEOF
27887 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
27888 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
27889 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
27890 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
27891 echo $ECHO_N "(cached) $ECHO_C" >&6
27892 else
27896 ac_ext=cc
27897 ac_cpp='$CXXCPP $CPPFLAGS'
27898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27902 cat >conftest.$ac_ext <<_ACEOF
27903 /* confdefs.h. */
27904 _ACEOF
27905 cat confdefs.h >>conftest.$ac_ext
27906 cat >>conftest.$ac_ext <<_ACEOF
27907 /* end confdefs.h. */
27908 #include <math.h>
27910 main ()
27912 __builtin_sqrtl(0);
27914 return 0;
27916 _ACEOF
27917 rm -f conftest.$ac_objext
27918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27919 (eval $ac_compile) 2>conftest.er1
27920 ac_status=$?
27921 grep -v '^ *+' conftest.er1 >conftest.err
27922 rm -f conftest.er1
27923 cat conftest.err >&5
27924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27925 (exit $ac_status); } &&
27926 { ac_try='test -z "$ac_cxx_werror_flag"
27927 || test ! -s conftest.err'
27928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27929 (eval $ac_try) 2>&5
27930 ac_status=$?
27931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27932 (exit $ac_status); }; } &&
27933 { ac_try='test -s conftest.$ac_objext'
27934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27935 (eval $ac_try) 2>&5
27936 ac_status=$?
27937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27938 (exit $ac_status); }; }; then
27939 glibcxx_cv_func___builtin_sqrtl_use=yes
27940 else
27941 echo "$as_me: failed program was:" >&5
27942 sed 's/^/| /' conftest.$ac_ext >&5
27944 glibcxx_cv_func___builtin_sqrtl_use=no
27946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27947 ac_ext=c
27948 ac_cpp='$CPP $CPPFLAGS'
27949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27957 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
27958 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
27959 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
27960 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
27961 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
27962 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
27963 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
27964 echo $ECHO_N "(cached) $ECHO_C" >&6
27965 else
27967 if test x$gcc_no_link = xyes; then
27968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27970 { (exit 1); exit 1; }; }
27972 cat >conftest.$ac_ext <<_ACEOF
27973 /* confdefs.h. */
27974 _ACEOF
27975 cat confdefs.h >>conftest.$ac_ext
27976 cat >>conftest.$ac_ext <<_ACEOF
27977 /* end confdefs.h. */
27978 #include <math.h>
27980 main ()
27982 __builtin_sqrtl(0);
27984 return 0;
27986 _ACEOF
27987 rm -f conftest.$ac_objext conftest$ac_exeext
27988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27989 (eval $ac_link) 2>conftest.er1
27990 ac_status=$?
27991 grep -v '^ *+' conftest.er1 >conftest.err
27992 rm -f conftest.er1
27993 cat conftest.err >&5
27994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27995 (exit $ac_status); } &&
27996 { ac_try='test -z "$ac_c_werror_flag"
27997 || test ! -s conftest.err'
27998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27999 (eval $ac_try) 2>&5
28000 ac_status=$?
28001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28002 (exit $ac_status); }; } &&
28003 { ac_try='test -s conftest$ac_exeext'
28004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28005 (eval $ac_try) 2>&5
28006 ac_status=$?
28007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28008 (exit $ac_status); }; }; then
28009 glibcxx_cv_func___builtin_sqrtl_link=yes
28010 else
28011 echo "$as_me: failed program was:" >&5
28012 sed 's/^/| /' conftest.$ac_ext >&5
28014 glibcxx_cv_func___builtin_sqrtl_link=no
28016 rm -f conftest.err conftest.$ac_objext \
28017 conftest$ac_exeext conftest.$ac_ext
28022 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
28023 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
28024 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
28025 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
28027 cat >>confdefs.h <<_ACEOF
28028 #define ${ac_tr_func} 1
28029 _ACEOF
28036 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
28037 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
28038 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
28039 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
28040 echo $ECHO_N "(cached) $ECHO_C" >&6
28041 else
28045 ac_ext=cc
28046 ac_cpp='$CXXCPP $CPPFLAGS'
28047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28051 cat >conftest.$ac_ext <<_ACEOF
28052 /* confdefs.h. */
28053 _ACEOF
28054 cat confdefs.h >>conftest.$ac_ext
28055 cat >>conftest.$ac_ext <<_ACEOF
28056 /* end confdefs.h. */
28057 #include <math.h>
28059 main ()
28061 __builtin_sinf(0);
28063 return 0;
28065 _ACEOF
28066 rm -f conftest.$ac_objext
28067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28068 (eval $ac_compile) 2>conftest.er1
28069 ac_status=$?
28070 grep -v '^ *+' conftest.er1 >conftest.err
28071 rm -f conftest.er1
28072 cat conftest.err >&5
28073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28074 (exit $ac_status); } &&
28075 { ac_try='test -z "$ac_cxx_werror_flag"
28076 || test ! -s conftest.err'
28077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28078 (eval $ac_try) 2>&5
28079 ac_status=$?
28080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28081 (exit $ac_status); }; } &&
28082 { ac_try='test -s conftest.$ac_objext'
28083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28084 (eval $ac_try) 2>&5
28085 ac_status=$?
28086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28087 (exit $ac_status); }; }; then
28088 glibcxx_cv_func___builtin_sinf_use=yes
28089 else
28090 echo "$as_me: failed program was:" >&5
28091 sed 's/^/| /' conftest.$ac_ext >&5
28093 glibcxx_cv_func___builtin_sinf_use=no
28095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28096 ac_ext=c
28097 ac_cpp='$CPP $CPPFLAGS'
28098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28106 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
28107 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
28108 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
28109 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
28110 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
28111 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
28112 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
28113 echo $ECHO_N "(cached) $ECHO_C" >&6
28114 else
28116 if test x$gcc_no_link = xyes; then
28117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28119 { (exit 1); exit 1; }; }
28121 cat >conftest.$ac_ext <<_ACEOF
28122 /* confdefs.h. */
28123 _ACEOF
28124 cat confdefs.h >>conftest.$ac_ext
28125 cat >>conftest.$ac_ext <<_ACEOF
28126 /* end confdefs.h. */
28127 #include <math.h>
28129 main ()
28131 __builtin_sinf(0);
28133 return 0;
28135 _ACEOF
28136 rm -f conftest.$ac_objext conftest$ac_exeext
28137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28138 (eval $ac_link) 2>conftest.er1
28139 ac_status=$?
28140 grep -v '^ *+' conftest.er1 >conftest.err
28141 rm -f conftest.er1
28142 cat conftest.err >&5
28143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28144 (exit $ac_status); } &&
28145 { ac_try='test -z "$ac_c_werror_flag"
28146 || test ! -s conftest.err'
28147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28148 (eval $ac_try) 2>&5
28149 ac_status=$?
28150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28151 (exit $ac_status); }; } &&
28152 { ac_try='test -s conftest$ac_exeext'
28153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28154 (eval $ac_try) 2>&5
28155 ac_status=$?
28156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28157 (exit $ac_status); }; }; then
28158 glibcxx_cv_func___builtin_sinf_link=yes
28159 else
28160 echo "$as_me: failed program was:" >&5
28161 sed 's/^/| /' conftest.$ac_ext >&5
28163 glibcxx_cv_func___builtin_sinf_link=no
28165 rm -f conftest.err conftest.$ac_objext \
28166 conftest$ac_exeext conftest.$ac_ext
28171 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
28172 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
28173 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
28174 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
28176 cat >>confdefs.h <<_ACEOF
28177 #define ${ac_tr_func} 1
28178 _ACEOF
28184 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
28185 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
28186 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
28187 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
28188 echo $ECHO_N "(cached) $ECHO_C" >&6
28189 else
28193 ac_ext=cc
28194 ac_cpp='$CXXCPP $CPPFLAGS'
28195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28199 cat >conftest.$ac_ext <<_ACEOF
28200 /* confdefs.h. */
28201 _ACEOF
28202 cat confdefs.h >>conftest.$ac_ext
28203 cat >>conftest.$ac_ext <<_ACEOF
28204 /* end confdefs.h. */
28205 #include <math.h>
28207 main ()
28209 __builtin_sin(0);
28211 return 0;
28213 _ACEOF
28214 rm -f conftest.$ac_objext
28215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28216 (eval $ac_compile) 2>conftest.er1
28217 ac_status=$?
28218 grep -v '^ *+' conftest.er1 >conftest.err
28219 rm -f conftest.er1
28220 cat conftest.err >&5
28221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28222 (exit $ac_status); } &&
28223 { ac_try='test -z "$ac_cxx_werror_flag"
28224 || test ! -s conftest.err'
28225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28226 (eval $ac_try) 2>&5
28227 ac_status=$?
28228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28229 (exit $ac_status); }; } &&
28230 { ac_try='test -s conftest.$ac_objext'
28231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28232 (eval $ac_try) 2>&5
28233 ac_status=$?
28234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28235 (exit $ac_status); }; }; then
28236 glibcxx_cv_func___builtin_sin_use=yes
28237 else
28238 echo "$as_me: failed program was:" >&5
28239 sed 's/^/| /' conftest.$ac_ext >&5
28241 glibcxx_cv_func___builtin_sin_use=no
28243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28244 ac_ext=c
28245 ac_cpp='$CPP $CPPFLAGS'
28246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28254 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
28255 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
28256 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
28257 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
28258 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
28259 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
28260 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
28261 echo $ECHO_N "(cached) $ECHO_C" >&6
28262 else
28264 if test x$gcc_no_link = xyes; then
28265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28267 { (exit 1); exit 1; }; }
28269 cat >conftest.$ac_ext <<_ACEOF
28270 /* confdefs.h. */
28271 _ACEOF
28272 cat confdefs.h >>conftest.$ac_ext
28273 cat >>conftest.$ac_ext <<_ACEOF
28274 /* end confdefs.h. */
28275 #include <math.h>
28277 main ()
28279 __builtin_sin(0);
28281 return 0;
28283 _ACEOF
28284 rm -f conftest.$ac_objext conftest$ac_exeext
28285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28286 (eval $ac_link) 2>conftest.er1
28287 ac_status=$?
28288 grep -v '^ *+' conftest.er1 >conftest.err
28289 rm -f conftest.er1
28290 cat conftest.err >&5
28291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28292 (exit $ac_status); } &&
28293 { ac_try='test -z "$ac_c_werror_flag"
28294 || test ! -s conftest.err'
28295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28296 (eval $ac_try) 2>&5
28297 ac_status=$?
28298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28299 (exit $ac_status); }; } &&
28300 { ac_try='test -s conftest$ac_exeext'
28301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28302 (eval $ac_try) 2>&5
28303 ac_status=$?
28304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28305 (exit $ac_status); }; }; then
28306 glibcxx_cv_func___builtin_sin_link=yes
28307 else
28308 echo "$as_me: failed program was:" >&5
28309 sed 's/^/| /' conftest.$ac_ext >&5
28311 glibcxx_cv_func___builtin_sin_link=no
28313 rm -f conftest.err conftest.$ac_objext \
28314 conftest$ac_exeext conftest.$ac_ext
28319 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
28320 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
28321 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
28322 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
28324 cat >>confdefs.h <<_ACEOF
28325 #define ${ac_tr_func} 1
28326 _ACEOF
28332 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
28333 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
28334 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
28335 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
28336 echo $ECHO_N "(cached) $ECHO_C" >&6
28337 else
28341 ac_ext=cc
28342 ac_cpp='$CXXCPP $CPPFLAGS'
28343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28347 cat >conftest.$ac_ext <<_ACEOF
28348 /* confdefs.h. */
28349 _ACEOF
28350 cat confdefs.h >>conftest.$ac_ext
28351 cat >>conftest.$ac_ext <<_ACEOF
28352 /* end confdefs.h. */
28353 #include <math.h>
28355 main ()
28357 __builtin_sinl(0);
28359 return 0;
28361 _ACEOF
28362 rm -f conftest.$ac_objext
28363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28364 (eval $ac_compile) 2>conftest.er1
28365 ac_status=$?
28366 grep -v '^ *+' conftest.er1 >conftest.err
28367 rm -f conftest.er1
28368 cat conftest.err >&5
28369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28370 (exit $ac_status); } &&
28371 { ac_try='test -z "$ac_cxx_werror_flag"
28372 || test ! -s conftest.err'
28373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28374 (eval $ac_try) 2>&5
28375 ac_status=$?
28376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28377 (exit $ac_status); }; } &&
28378 { ac_try='test -s conftest.$ac_objext'
28379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28380 (eval $ac_try) 2>&5
28381 ac_status=$?
28382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28383 (exit $ac_status); }; }; then
28384 glibcxx_cv_func___builtin_sinl_use=yes
28385 else
28386 echo "$as_me: failed program was:" >&5
28387 sed 's/^/| /' conftest.$ac_ext >&5
28389 glibcxx_cv_func___builtin_sinl_use=no
28391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28392 ac_ext=c
28393 ac_cpp='$CPP $CPPFLAGS'
28394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28402 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
28403 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
28404 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
28405 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
28406 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
28407 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
28408 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
28409 echo $ECHO_N "(cached) $ECHO_C" >&6
28410 else
28412 if test x$gcc_no_link = xyes; then
28413 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28415 { (exit 1); exit 1; }; }
28417 cat >conftest.$ac_ext <<_ACEOF
28418 /* confdefs.h. */
28419 _ACEOF
28420 cat confdefs.h >>conftest.$ac_ext
28421 cat >>conftest.$ac_ext <<_ACEOF
28422 /* end confdefs.h. */
28423 #include <math.h>
28425 main ()
28427 __builtin_sinl(0);
28429 return 0;
28431 _ACEOF
28432 rm -f conftest.$ac_objext conftest$ac_exeext
28433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28434 (eval $ac_link) 2>conftest.er1
28435 ac_status=$?
28436 grep -v '^ *+' conftest.er1 >conftest.err
28437 rm -f conftest.er1
28438 cat conftest.err >&5
28439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28440 (exit $ac_status); } &&
28441 { ac_try='test -z "$ac_c_werror_flag"
28442 || test ! -s conftest.err'
28443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28444 (eval $ac_try) 2>&5
28445 ac_status=$?
28446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28447 (exit $ac_status); }; } &&
28448 { ac_try='test -s conftest$ac_exeext'
28449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28450 (eval $ac_try) 2>&5
28451 ac_status=$?
28452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28453 (exit $ac_status); }; }; then
28454 glibcxx_cv_func___builtin_sinl_link=yes
28455 else
28456 echo "$as_me: failed program was:" >&5
28457 sed 's/^/| /' conftest.$ac_ext >&5
28459 glibcxx_cv_func___builtin_sinl_link=no
28461 rm -f conftest.err conftest.$ac_objext \
28462 conftest$ac_exeext conftest.$ac_ext
28467 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
28468 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
28469 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
28470 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
28472 cat >>confdefs.h <<_ACEOF
28473 #define ${ac_tr_func} 1
28474 _ACEOF
28481 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
28482 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
28483 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
28484 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
28485 echo $ECHO_N "(cached) $ECHO_C" >&6
28486 else
28490 ac_ext=cc
28491 ac_cpp='$CXXCPP $CPPFLAGS'
28492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28496 cat >conftest.$ac_ext <<_ACEOF
28497 /* confdefs.h. */
28498 _ACEOF
28499 cat confdefs.h >>conftest.$ac_ext
28500 cat >>conftest.$ac_ext <<_ACEOF
28501 /* end confdefs.h. */
28502 #include <math.h>
28504 main ()
28506 __builtin_cosf(0);
28508 return 0;
28510 _ACEOF
28511 rm -f conftest.$ac_objext
28512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28513 (eval $ac_compile) 2>conftest.er1
28514 ac_status=$?
28515 grep -v '^ *+' conftest.er1 >conftest.err
28516 rm -f conftest.er1
28517 cat conftest.err >&5
28518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28519 (exit $ac_status); } &&
28520 { ac_try='test -z "$ac_cxx_werror_flag"
28521 || test ! -s conftest.err'
28522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28523 (eval $ac_try) 2>&5
28524 ac_status=$?
28525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28526 (exit $ac_status); }; } &&
28527 { ac_try='test -s conftest.$ac_objext'
28528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28529 (eval $ac_try) 2>&5
28530 ac_status=$?
28531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28532 (exit $ac_status); }; }; then
28533 glibcxx_cv_func___builtin_cosf_use=yes
28534 else
28535 echo "$as_me: failed program was:" >&5
28536 sed 's/^/| /' conftest.$ac_ext >&5
28538 glibcxx_cv_func___builtin_cosf_use=no
28540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28541 ac_ext=c
28542 ac_cpp='$CPP $CPPFLAGS'
28543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28551 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
28552 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
28553 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
28554 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
28555 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
28556 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
28557 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
28558 echo $ECHO_N "(cached) $ECHO_C" >&6
28559 else
28561 if test x$gcc_no_link = xyes; then
28562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28564 { (exit 1); exit 1; }; }
28566 cat >conftest.$ac_ext <<_ACEOF
28567 /* confdefs.h. */
28568 _ACEOF
28569 cat confdefs.h >>conftest.$ac_ext
28570 cat >>conftest.$ac_ext <<_ACEOF
28571 /* end confdefs.h. */
28572 #include <math.h>
28574 main ()
28576 __builtin_cosf(0);
28578 return 0;
28580 _ACEOF
28581 rm -f conftest.$ac_objext conftest$ac_exeext
28582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28583 (eval $ac_link) 2>conftest.er1
28584 ac_status=$?
28585 grep -v '^ *+' conftest.er1 >conftest.err
28586 rm -f conftest.er1
28587 cat conftest.err >&5
28588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28589 (exit $ac_status); } &&
28590 { ac_try='test -z "$ac_c_werror_flag"
28591 || test ! -s conftest.err'
28592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28593 (eval $ac_try) 2>&5
28594 ac_status=$?
28595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28596 (exit $ac_status); }; } &&
28597 { ac_try='test -s conftest$ac_exeext'
28598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28599 (eval $ac_try) 2>&5
28600 ac_status=$?
28601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28602 (exit $ac_status); }; }; then
28603 glibcxx_cv_func___builtin_cosf_link=yes
28604 else
28605 echo "$as_me: failed program was:" >&5
28606 sed 's/^/| /' conftest.$ac_ext >&5
28608 glibcxx_cv_func___builtin_cosf_link=no
28610 rm -f conftest.err conftest.$ac_objext \
28611 conftest$ac_exeext conftest.$ac_ext
28616 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
28617 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
28618 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
28619 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
28621 cat >>confdefs.h <<_ACEOF
28622 #define ${ac_tr_func} 1
28623 _ACEOF
28629 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
28630 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
28631 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
28632 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
28633 echo $ECHO_N "(cached) $ECHO_C" >&6
28634 else
28638 ac_ext=cc
28639 ac_cpp='$CXXCPP $CPPFLAGS'
28640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28644 cat >conftest.$ac_ext <<_ACEOF
28645 /* confdefs.h. */
28646 _ACEOF
28647 cat confdefs.h >>conftest.$ac_ext
28648 cat >>conftest.$ac_ext <<_ACEOF
28649 /* end confdefs.h. */
28650 #include <math.h>
28652 main ()
28654 __builtin_cos(0);
28656 return 0;
28658 _ACEOF
28659 rm -f conftest.$ac_objext
28660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28661 (eval $ac_compile) 2>conftest.er1
28662 ac_status=$?
28663 grep -v '^ *+' conftest.er1 >conftest.err
28664 rm -f conftest.er1
28665 cat conftest.err >&5
28666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28667 (exit $ac_status); } &&
28668 { ac_try='test -z "$ac_cxx_werror_flag"
28669 || test ! -s conftest.err'
28670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28671 (eval $ac_try) 2>&5
28672 ac_status=$?
28673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28674 (exit $ac_status); }; } &&
28675 { ac_try='test -s conftest.$ac_objext'
28676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28677 (eval $ac_try) 2>&5
28678 ac_status=$?
28679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28680 (exit $ac_status); }; }; then
28681 glibcxx_cv_func___builtin_cos_use=yes
28682 else
28683 echo "$as_me: failed program was:" >&5
28684 sed 's/^/| /' conftest.$ac_ext >&5
28686 glibcxx_cv_func___builtin_cos_use=no
28688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28689 ac_ext=c
28690 ac_cpp='$CPP $CPPFLAGS'
28691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28699 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
28700 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
28701 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
28702 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
28703 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
28704 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
28705 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
28706 echo $ECHO_N "(cached) $ECHO_C" >&6
28707 else
28709 if test x$gcc_no_link = xyes; then
28710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28712 { (exit 1); exit 1; }; }
28714 cat >conftest.$ac_ext <<_ACEOF
28715 /* confdefs.h. */
28716 _ACEOF
28717 cat confdefs.h >>conftest.$ac_ext
28718 cat >>conftest.$ac_ext <<_ACEOF
28719 /* end confdefs.h. */
28720 #include <math.h>
28722 main ()
28724 __builtin_cos(0);
28726 return 0;
28728 _ACEOF
28729 rm -f conftest.$ac_objext conftest$ac_exeext
28730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28731 (eval $ac_link) 2>conftest.er1
28732 ac_status=$?
28733 grep -v '^ *+' conftest.er1 >conftest.err
28734 rm -f conftest.er1
28735 cat conftest.err >&5
28736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28737 (exit $ac_status); } &&
28738 { ac_try='test -z "$ac_c_werror_flag"
28739 || test ! -s conftest.err'
28740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28741 (eval $ac_try) 2>&5
28742 ac_status=$?
28743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28744 (exit $ac_status); }; } &&
28745 { ac_try='test -s conftest$ac_exeext'
28746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28747 (eval $ac_try) 2>&5
28748 ac_status=$?
28749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28750 (exit $ac_status); }; }; then
28751 glibcxx_cv_func___builtin_cos_link=yes
28752 else
28753 echo "$as_me: failed program was:" >&5
28754 sed 's/^/| /' conftest.$ac_ext >&5
28756 glibcxx_cv_func___builtin_cos_link=no
28758 rm -f conftest.err conftest.$ac_objext \
28759 conftest$ac_exeext conftest.$ac_ext
28764 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
28765 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
28766 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
28767 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
28769 cat >>confdefs.h <<_ACEOF
28770 #define ${ac_tr_func} 1
28771 _ACEOF
28777 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
28778 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
28779 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
28780 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
28781 echo $ECHO_N "(cached) $ECHO_C" >&6
28782 else
28786 ac_ext=cc
28787 ac_cpp='$CXXCPP $CPPFLAGS'
28788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28792 cat >conftest.$ac_ext <<_ACEOF
28793 /* confdefs.h. */
28794 _ACEOF
28795 cat confdefs.h >>conftest.$ac_ext
28796 cat >>conftest.$ac_ext <<_ACEOF
28797 /* end confdefs.h. */
28798 #include <math.h>
28800 main ()
28802 __builtin_cosl(0);
28804 return 0;
28806 _ACEOF
28807 rm -f conftest.$ac_objext
28808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28809 (eval $ac_compile) 2>conftest.er1
28810 ac_status=$?
28811 grep -v '^ *+' conftest.er1 >conftest.err
28812 rm -f conftest.er1
28813 cat conftest.err >&5
28814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28815 (exit $ac_status); } &&
28816 { ac_try='test -z "$ac_cxx_werror_flag"
28817 || test ! -s conftest.err'
28818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28819 (eval $ac_try) 2>&5
28820 ac_status=$?
28821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28822 (exit $ac_status); }; } &&
28823 { ac_try='test -s conftest.$ac_objext'
28824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28825 (eval $ac_try) 2>&5
28826 ac_status=$?
28827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28828 (exit $ac_status); }; }; then
28829 glibcxx_cv_func___builtin_cosl_use=yes
28830 else
28831 echo "$as_me: failed program was:" >&5
28832 sed 's/^/| /' conftest.$ac_ext >&5
28834 glibcxx_cv_func___builtin_cosl_use=no
28836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28837 ac_ext=c
28838 ac_cpp='$CPP $CPPFLAGS'
28839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28847 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
28848 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
28849 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
28850 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
28851 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
28852 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
28853 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
28854 echo $ECHO_N "(cached) $ECHO_C" >&6
28855 else
28857 if test x$gcc_no_link = xyes; then
28858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28860 { (exit 1); exit 1; }; }
28862 cat >conftest.$ac_ext <<_ACEOF
28863 /* confdefs.h. */
28864 _ACEOF
28865 cat confdefs.h >>conftest.$ac_ext
28866 cat >>conftest.$ac_ext <<_ACEOF
28867 /* end confdefs.h. */
28868 #include <math.h>
28870 main ()
28872 __builtin_cosl(0);
28874 return 0;
28876 _ACEOF
28877 rm -f conftest.$ac_objext conftest$ac_exeext
28878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28879 (eval $ac_link) 2>conftest.er1
28880 ac_status=$?
28881 grep -v '^ *+' conftest.er1 >conftest.err
28882 rm -f conftest.er1
28883 cat conftest.err >&5
28884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28885 (exit $ac_status); } &&
28886 { ac_try='test -z "$ac_c_werror_flag"
28887 || test ! -s conftest.err'
28888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28889 (eval $ac_try) 2>&5
28890 ac_status=$?
28891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28892 (exit $ac_status); }; } &&
28893 { ac_try='test -s conftest$ac_exeext'
28894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28895 (eval $ac_try) 2>&5
28896 ac_status=$?
28897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28898 (exit $ac_status); }; }; then
28899 glibcxx_cv_func___builtin_cosl_link=yes
28900 else
28901 echo "$as_me: failed program was:" >&5
28902 sed 's/^/| /' conftest.$ac_ext >&5
28904 glibcxx_cv_func___builtin_cosl_link=no
28906 rm -f conftest.err conftest.$ac_objext \
28907 conftest$ac_exeext conftest.$ac_ext
28912 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
28913 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
28914 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
28915 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
28917 cat >>confdefs.h <<_ACEOF
28918 #define ${ac_tr_func} 1
28919 _ACEOF
28927 echo "$as_me:$LINENO: checking for main in -lm" >&5
28928 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
28929 if test "${ac_cv_lib_m_main+set}" = set; then
28930 echo $ECHO_N "(cached) $ECHO_C" >&6
28931 else
28932 ac_check_lib_save_LIBS=$LIBS
28933 LIBS="-lm $LIBS"
28934 if test x$gcc_no_link = xyes; then
28935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28937 { (exit 1); exit 1; }; }
28939 cat >conftest.$ac_ext <<_ACEOF
28940 /* confdefs.h. */
28941 _ACEOF
28942 cat confdefs.h >>conftest.$ac_ext
28943 cat >>conftest.$ac_ext <<_ACEOF
28944 /* end confdefs.h. */
28948 main ()
28950 main ();
28952 return 0;
28954 _ACEOF
28955 rm -f conftest.$ac_objext conftest$ac_exeext
28956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28957 (eval $ac_link) 2>conftest.er1
28958 ac_status=$?
28959 grep -v '^ *+' conftest.er1 >conftest.err
28960 rm -f conftest.er1
28961 cat conftest.err >&5
28962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28963 (exit $ac_status); } &&
28964 { ac_try='test -z "$ac_c_werror_flag"
28965 || test ! -s conftest.err'
28966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28967 (eval $ac_try) 2>&5
28968 ac_status=$?
28969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28970 (exit $ac_status); }; } &&
28971 { ac_try='test -s conftest$ac_exeext'
28972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28973 (eval $ac_try) 2>&5
28974 ac_status=$?
28975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28976 (exit $ac_status); }; }; then
28977 ac_cv_lib_m_main=yes
28978 else
28979 echo "$as_me: failed program was:" >&5
28980 sed 's/^/| /' conftest.$ac_ext >&5
28982 ac_cv_lib_m_main=no
28984 rm -f conftest.err conftest.$ac_objext \
28985 conftest$ac_exeext conftest.$ac_ext
28986 LIBS=$ac_check_lib_save_LIBS
28988 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
28989 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
28990 if test $ac_cv_lib_m_main = yes; then
28991 cat >>confdefs.h <<_ACEOF
28992 #define HAVE_LIBM 1
28993 _ACEOF
28995 LIBS="-lm $LIBS"
29000 for ac_func in copysignf
29002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29003 echo "$as_me:$LINENO: checking for $ac_func" >&5
29004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29005 if eval "test \"\${$as_ac_var+set}\" = set"; then
29006 echo $ECHO_N "(cached) $ECHO_C" >&6
29007 else
29008 if test x$gcc_no_link = xyes; then
29009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29011 { (exit 1); exit 1; }; }
29013 cat >conftest.$ac_ext <<_ACEOF
29014 /* confdefs.h. */
29015 _ACEOF
29016 cat confdefs.h >>conftest.$ac_ext
29017 cat >>conftest.$ac_ext <<_ACEOF
29018 /* end confdefs.h. */
29019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29021 #define $ac_func innocuous_$ac_func
29023 /* System header to define __stub macros and hopefully few prototypes,
29024 which can conflict with char $ac_func (); below.
29025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29026 <limits.h> exists even on freestanding compilers. */
29028 #ifdef __STDC__
29029 # include <limits.h>
29030 #else
29031 # include <assert.h>
29032 #endif
29034 #undef $ac_func
29036 /* Override any gcc2 internal prototype to avoid an error. */
29037 #ifdef __cplusplus
29038 extern "C"
29040 #endif
29041 /* We use char because int might match the return type of a gcc2
29042 builtin and then its argument prototype would still apply. */
29043 char $ac_func ();
29044 /* The GNU C library defines this for functions which it implements
29045 to always fail with ENOSYS. Some functions are actually named
29046 something starting with __ and the normal name is an alias. */
29047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29048 choke me
29049 #else
29050 char (*f) () = $ac_func;
29051 #endif
29052 #ifdef __cplusplus
29054 #endif
29057 main ()
29059 return f != $ac_func;
29061 return 0;
29063 _ACEOF
29064 rm -f conftest.$ac_objext conftest$ac_exeext
29065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29066 (eval $ac_link) 2>conftest.er1
29067 ac_status=$?
29068 grep -v '^ *+' conftest.er1 >conftest.err
29069 rm -f conftest.er1
29070 cat conftest.err >&5
29071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29072 (exit $ac_status); } &&
29073 { ac_try='test -z "$ac_c_werror_flag"
29074 || test ! -s conftest.err'
29075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29076 (eval $ac_try) 2>&5
29077 ac_status=$?
29078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29079 (exit $ac_status); }; } &&
29080 { ac_try='test -s conftest$ac_exeext'
29081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29082 (eval $ac_try) 2>&5
29083 ac_status=$?
29084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29085 (exit $ac_status); }; }; then
29086 eval "$as_ac_var=yes"
29087 else
29088 echo "$as_me: failed program was:" >&5
29089 sed 's/^/| /' conftest.$ac_ext >&5
29091 eval "$as_ac_var=no"
29093 rm -f conftest.err conftest.$ac_objext \
29094 conftest$ac_exeext conftest.$ac_ext
29096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29098 if test `eval echo '${'$as_ac_var'}'` = yes; then
29099 cat >>confdefs.h <<_ACEOF
29100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29101 _ACEOF
29103 else
29104 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
29106 done
29110 for ac_func in __signbit
29112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29113 echo "$as_me:$LINENO: checking for $ac_func" >&5
29114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29115 if eval "test \"\${$as_ac_var+set}\" = set"; then
29116 echo $ECHO_N "(cached) $ECHO_C" >&6
29117 else
29118 if test x$gcc_no_link = xyes; then
29119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29121 { (exit 1); exit 1; }; }
29123 cat >conftest.$ac_ext <<_ACEOF
29124 /* confdefs.h. */
29125 _ACEOF
29126 cat confdefs.h >>conftest.$ac_ext
29127 cat >>conftest.$ac_ext <<_ACEOF
29128 /* end confdefs.h. */
29129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29131 #define $ac_func innocuous_$ac_func
29133 /* System header to define __stub macros and hopefully few prototypes,
29134 which can conflict with char $ac_func (); below.
29135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29136 <limits.h> exists even on freestanding compilers. */
29138 #ifdef __STDC__
29139 # include <limits.h>
29140 #else
29141 # include <assert.h>
29142 #endif
29144 #undef $ac_func
29146 /* Override any gcc2 internal prototype to avoid an error. */
29147 #ifdef __cplusplus
29148 extern "C"
29150 #endif
29151 /* We use char because int might match the return type of a gcc2
29152 builtin and then its argument prototype would still apply. */
29153 char $ac_func ();
29154 /* The GNU C library defines this for functions which it implements
29155 to always fail with ENOSYS. Some functions are actually named
29156 something starting with __ and the normal name is an alias. */
29157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29158 choke me
29159 #else
29160 char (*f) () = $ac_func;
29161 #endif
29162 #ifdef __cplusplus
29164 #endif
29167 main ()
29169 return f != $ac_func;
29171 return 0;
29173 _ACEOF
29174 rm -f conftest.$ac_objext conftest$ac_exeext
29175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29176 (eval $ac_link) 2>conftest.er1
29177 ac_status=$?
29178 grep -v '^ *+' conftest.er1 >conftest.err
29179 rm -f conftest.er1
29180 cat conftest.err >&5
29181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29182 (exit $ac_status); } &&
29183 { ac_try='test -z "$ac_c_werror_flag"
29184 || test ! -s conftest.err'
29185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29186 (eval $ac_try) 2>&5
29187 ac_status=$?
29188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29189 (exit $ac_status); }; } &&
29190 { ac_try='test -s conftest$ac_exeext'
29191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29192 (eval $ac_try) 2>&5
29193 ac_status=$?
29194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29195 (exit $ac_status); }; }; then
29196 eval "$as_ac_var=yes"
29197 else
29198 echo "$as_me: failed program was:" >&5
29199 sed 's/^/| /' conftest.$ac_ext >&5
29201 eval "$as_ac_var=no"
29203 rm -f conftest.err conftest.$ac_objext \
29204 conftest$ac_exeext conftest.$ac_ext
29206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29208 if test `eval echo '${'$as_ac_var'}'` = yes; then
29209 cat >>confdefs.h <<_ACEOF
29210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29211 _ACEOF
29213 else
29214 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
29216 done
29220 for ac_func in __signbitf
29222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29223 echo "$as_me:$LINENO: checking for $ac_func" >&5
29224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29225 if eval "test \"\${$as_ac_var+set}\" = set"; then
29226 echo $ECHO_N "(cached) $ECHO_C" >&6
29227 else
29228 if test x$gcc_no_link = xyes; then
29229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29231 { (exit 1); exit 1; }; }
29233 cat >conftest.$ac_ext <<_ACEOF
29234 /* confdefs.h. */
29235 _ACEOF
29236 cat confdefs.h >>conftest.$ac_ext
29237 cat >>conftest.$ac_ext <<_ACEOF
29238 /* end confdefs.h. */
29239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29241 #define $ac_func innocuous_$ac_func
29243 /* System header to define __stub macros and hopefully few prototypes,
29244 which can conflict with char $ac_func (); below.
29245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29246 <limits.h> exists even on freestanding compilers. */
29248 #ifdef __STDC__
29249 # include <limits.h>
29250 #else
29251 # include <assert.h>
29252 #endif
29254 #undef $ac_func
29256 /* Override any gcc2 internal prototype to avoid an error. */
29257 #ifdef __cplusplus
29258 extern "C"
29260 #endif
29261 /* We use char because int might match the return type of a gcc2
29262 builtin and then its argument prototype would still apply. */
29263 char $ac_func ();
29264 /* The GNU C library defines this for functions which it implements
29265 to always fail with ENOSYS. Some functions are actually named
29266 something starting with __ and the normal name is an alias. */
29267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29268 choke me
29269 #else
29270 char (*f) () = $ac_func;
29271 #endif
29272 #ifdef __cplusplus
29274 #endif
29277 main ()
29279 return f != $ac_func;
29281 return 0;
29283 _ACEOF
29284 rm -f conftest.$ac_objext conftest$ac_exeext
29285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29286 (eval $ac_link) 2>conftest.er1
29287 ac_status=$?
29288 grep -v '^ *+' conftest.er1 >conftest.err
29289 rm -f conftest.er1
29290 cat conftest.err >&5
29291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29292 (exit $ac_status); } &&
29293 { ac_try='test -z "$ac_c_werror_flag"
29294 || test ! -s conftest.err'
29295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29296 (eval $ac_try) 2>&5
29297 ac_status=$?
29298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29299 (exit $ac_status); }; } &&
29300 { ac_try='test -s conftest$ac_exeext'
29301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29302 (eval $ac_try) 2>&5
29303 ac_status=$?
29304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29305 (exit $ac_status); }; }; then
29306 eval "$as_ac_var=yes"
29307 else
29308 echo "$as_me: failed program was:" >&5
29309 sed 's/^/| /' conftest.$ac_ext >&5
29311 eval "$as_ac_var=no"
29313 rm -f conftest.err conftest.$ac_objext \
29314 conftest$ac_exeext conftest.$ac_ext
29316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29318 if test `eval echo '${'$as_ac_var'}'` = yes; then
29319 cat >>confdefs.h <<_ACEOF
29320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29321 _ACEOF
29323 else
29324 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
29326 done
29329 if test x$ac_cv_func_copysignl = x"yes"; then
29331 for ac_func in __signbitl
29333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29334 echo "$as_me:$LINENO: checking for $ac_func" >&5
29335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29336 if eval "test \"\${$as_ac_var+set}\" = set"; then
29337 echo $ECHO_N "(cached) $ECHO_C" >&6
29338 else
29339 if test x$gcc_no_link = xyes; then
29340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29342 { (exit 1); exit 1; }; }
29344 cat >conftest.$ac_ext <<_ACEOF
29345 /* confdefs.h. */
29346 _ACEOF
29347 cat confdefs.h >>conftest.$ac_ext
29348 cat >>conftest.$ac_ext <<_ACEOF
29349 /* end confdefs.h. */
29350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29352 #define $ac_func innocuous_$ac_func
29354 /* System header to define __stub macros and hopefully few prototypes,
29355 which can conflict with char $ac_func (); below.
29356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29357 <limits.h> exists even on freestanding compilers. */
29359 #ifdef __STDC__
29360 # include <limits.h>
29361 #else
29362 # include <assert.h>
29363 #endif
29365 #undef $ac_func
29367 /* Override any gcc2 internal prototype to avoid an error. */
29368 #ifdef __cplusplus
29369 extern "C"
29371 #endif
29372 /* We use char because int might match the return type of a gcc2
29373 builtin and then its argument prototype would still apply. */
29374 char $ac_func ();
29375 /* The GNU C library defines this for functions which it implements
29376 to always fail with ENOSYS. Some functions are actually named
29377 something starting with __ and the normal name is an alias. */
29378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29379 choke me
29380 #else
29381 char (*f) () = $ac_func;
29382 #endif
29383 #ifdef __cplusplus
29385 #endif
29388 main ()
29390 return f != $ac_func;
29392 return 0;
29394 _ACEOF
29395 rm -f conftest.$ac_objext conftest$ac_exeext
29396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29397 (eval $ac_link) 2>conftest.er1
29398 ac_status=$?
29399 grep -v '^ *+' conftest.er1 >conftest.err
29400 rm -f conftest.er1
29401 cat conftest.err >&5
29402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29403 (exit $ac_status); } &&
29404 { ac_try='test -z "$ac_c_werror_flag"
29405 || test ! -s conftest.err'
29406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29407 (eval $ac_try) 2>&5
29408 ac_status=$?
29409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29410 (exit $ac_status); }; } &&
29411 { ac_try='test -s conftest$ac_exeext'
29412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29413 (eval $ac_try) 2>&5
29414 ac_status=$?
29415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29416 (exit $ac_status); }; }; then
29417 eval "$as_ac_var=yes"
29418 else
29419 echo "$as_me: failed program was:" >&5
29420 sed 's/^/| /' conftest.$ac_ext >&5
29422 eval "$as_ac_var=no"
29424 rm -f conftest.err conftest.$ac_objext \
29425 conftest$ac_exeext conftest.$ac_ext
29427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29429 if test `eval echo '${'$as_ac_var'}'` = yes; then
29430 cat >>confdefs.h <<_ACEOF
29431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29432 _ACEOF
29434 else
29435 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
29437 done
29441 # Used in libmath/Makefile.am.
29442 if test -n "$LIBMATHOBJS"; then
29443 need_libmath=yes
29448 # Test wchar.h for mbstate_t, which is needed for char_traits and
29449 # others even if wchar_t support is not on.
29450 echo "$as_me:$LINENO: checking for mbstate_t" >&5
29451 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
29452 cat >conftest.$ac_ext <<_ACEOF
29453 /* confdefs.h. */
29454 _ACEOF
29455 cat confdefs.h >>conftest.$ac_ext
29456 cat >>conftest.$ac_ext <<_ACEOF
29457 /* end confdefs.h. */
29458 #include <wchar.h>
29460 main ()
29462 mbstate_t teststate;
29464 return 0;
29466 _ACEOF
29467 rm -f conftest.$ac_objext
29468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29469 (eval $ac_compile) 2>conftest.er1
29470 ac_status=$?
29471 grep -v '^ *+' conftest.er1 >conftest.err
29472 rm -f conftest.er1
29473 cat conftest.err >&5
29474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29475 (exit $ac_status); } &&
29476 { ac_try='test -z "$ac_c_werror_flag"
29477 || test ! -s conftest.err'
29478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29479 (eval $ac_try) 2>&5
29480 ac_status=$?
29481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29482 (exit $ac_status); }; } &&
29483 { ac_try='test -s conftest.$ac_objext'
29484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29485 (eval $ac_try) 2>&5
29486 ac_status=$?
29487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29488 (exit $ac_status); }; }; then
29489 have_mbstate_t=yes
29490 else
29491 echo "$as_me: failed program was:" >&5
29492 sed 's/^/| /' conftest.$ac_ext >&5
29494 have_mbstate_t=no
29496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29497 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
29498 echo "${ECHO_T}$have_mbstate_t" >&6
29499 if test x"$have_mbstate_t" = xyes; then
29500 cat >>confdefs.h <<\_ACEOF
29501 #define HAVE_MBSTATE_T 1
29502 _ACEOF
29506 # Sanity check for existence of ISO C99 headers for extended encoding.
29508 for ac_header in wchar.h
29510 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29512 echo "$as_me:$LINENO: checking for $ac_header" >&5
29513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29515 echo $ECHO_N "(cached) $ECHO_C" >&6
29517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29519 else
29520 # Is the header compilable?
29521 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29522 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29523 cat >conftest.$ac_ext <<_ACEOF
29524 /* confdefs.h. */
29525 _ACEOF
29526 cat confdefs.h >>conftest.$ac_ext
29527 cat >>conftest.$ac_ext <<_ACEOF
29528 /* end confdefs.h. */
29529 $ac_includes_default
29530 #include <$ac_header>
29531 _ACEOF
29532 rm -f conftest.$ac_objext
29533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29534 (eval $ac_compile) 2>conftest.er1
29535 ac_status=$?
29536 grep -v '^ *+' conftest.er1 >conftest.err
29537 rm -f conftest.er1
29538 cat conftest.err >&5
29539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29540 (exit $ac_status); } &&
29541 { ac_try='test -z "$ac_c_werror_flag"
29542 || test ! -s conftest.err'
29543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29544 (eval $ac_try) 2>&5
29545 ac_status=$?
29546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29547 (exit $ac_status); }; } &&
29548 { ac_try='test -s conftest.$ac_objext'
29549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29550 (eval $ac_try) 2>&5
29551 ac_status=$?
29552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29553 (exit $ac_status); }; }; then
29554 ac_header_compiler=yes
29555 else
29556 echo "$as_me: failed program was:" >&5
29557 sed 's/^/| /' conftest.$ac_ext >&5
29559 ac_header_compiler=no
29561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29562 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29563 echo "${ECHO_T}$ac_header_compiler" >&6
29565 # Is the header present?
29566 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29567 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29568 cat >conftest.$ac_ext <<_ACEOF
29569 /* confdefs.h. */
29570 _ACEOF
29571 cat confdefs.h >>conftest.$ac_ext
29572 cat >>conftest.$ac_ext <<_ACEOF
29573 /* end confdefs.h. */
29574 #include <$ac_header>
29575 _ACEOF
29576 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29577 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29578 ac_status=$?
29579 grep -v '^ *+' conftest.er1 >conftest.err
29580 rm -f conftest.er1
29581 cat conftest.err >&5
29582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583 (exit $ac_status); } >/dev/null; then
29584 if test -s conftest.err; then
29585 ac_cpp_err=$ac_c_preproc_warn_flag
29586 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29587 else
29588 ac_cpp_err=
29590 else
29591 ac_cpp_err=yes
29593 if test -z "$ac_cpp_err"; then
29594 ac_header_preproc=yes
29595 else
29596 echo "$as_me: failed program was:" >&5
29597 sed 's/^/| /' conftest.$ac_ext >&5
29599 ac_header_preproc=no
29601 rm -f conftest.err conftest.$ac_ext
29602 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29603 echo "${ECHO_T}$ac_header_preproc" >&6
29605 # So? What about this header?
29606 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29607 yes:no: )
29608 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29609 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29611 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29612 ac_header_preproc=yes
29614 no:yes:* )
29615 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29616 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29617 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29618 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29619 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29620 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29621 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29622 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29623 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29624 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29625 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29626 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29628 cat <<\_ASBOX
29629 ## ----------------------------------------- ##
29630 ## Report this to the package-unused lists. ##
29631 ## ----------------------------------------- ##
29632 _ASBOX
29634 sed "s/^/$as_me: WARNING: /" >&2
29636 esac
29637 echo "$as_me:$LINENO: checking for $ac_header" >&5
29638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29640 echo $ECHO_N "(cached) $ECHO_C" >&6
29641 else
29642 eval "$as_ac_Header=\$ac_header_preproc"
29644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29645 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29649 cat >>confdefs.h <<_ACEOF
29650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29651 _ACEOF
29652 ac_has_wchar_h=yes
29653 else
29654 ac_has_wchar_h=no
29657 done
29660 for ac_header in wctype.h
29662 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29664 echo "$as_me:$LINENO: checking for $ac_header" >&5
29665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29667 echo $ECHO_N "(cached) $ECHO_C" >&6
29669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29671 else
29672 # Is the header compilable?
29673 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29674 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29675 cat >conftest.$ac_ext <<_ACEOF
29676 /* confdefs.h. */
29677 _ACEOF
29678 cat confdefs.h >>conftest.$ac_ext
29679 cat >>conftest.$ac_ext <<_ACEOF
29680 /* end confdefs.h. */
29681 $ac_includes_default
29682 #include <$ac_header>
29683 _ACEOF
29684 rm -f conftest.$ac_objext
29685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29686 (eval $ac_compile) 2>conftest.er1
29687 ac_status=$?
29688 grep -v '^ *+' conftest.er1 >conftest.err
29689 rm -f conftest.er1
29690 cat conftest.err >&5
29691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29692 (exit $ac_status); } &&
29693 { ac_try='test -z "$ac_c_werror_flag"
29694 || test ! -s conftest.err'
29695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29696 (eval $ac_try) 2>&5
29697 ac_status=$?
29698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29699 (exit $ac_status); }; } &&
29700 { ac_try='test -s conftest.$ac_objext'
29701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29702 (eval $ac_try) 2>&5
29703 ac_status=$?
29704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29705 (exit $ac_status); }; }; then
29706 ac_header_compiler=yes
29707 else
29708 echo "$as_me: failed program was:" >&5
29709 sed 's/^/| /' conftest.$ac_ext >&5
29711 ac_header_compiler=no
29713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29714 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29715 echo "${ECHO_T}$ac_header_compiler" >&6
29717 # Is the header present?
29718 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29719 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29720 cat >conftest.$ac_ext <<_ACEOF
29721 /* confdefs.h. */
29722 _ACEOF
29723 cat confdefs.h >>conftest.$ac_ext
29724 cat >>conftest.$ac_ext <<_ACEOF
29725 /* end confdefs.h. */
29726 #include <$ac_header>
29727 _ACEOF
29728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29729 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29730 ac_status=$?
29731 grep -v '^ *+' conftest.er1 >conftest.err
29732 rm -f conftest.er1
29733 cat conftest.err >&5
29734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29735 (exit $ac_status); } >/dev/null; then
29736 if test -s conftest.err; then
29737 ac_cpp_err=$ac_c_preproc_warn_flag
29738 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29739 else
29740 ac_cpp_err=
29742 else
29743 ac_cpp_err=yes
29745 if test -z "$ac_cpp_err"; then
29746 ac_header_preproc=yes
29747 else
29748 echo "$as_me: failed program was:" >&5
29749 sed 's/^/| /' conftest.$ac_ext >&5
29751 ac_header_preproc=no
29753 rm -f conftest.err conftest.$ac_ext
29754 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29755 echo "${ECHO_T}$ac_header_preproc" >&6
29757 # So? What about this header?
29758 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29759 yes:no: )
29760 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29761 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29763 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29764 ac_header_preproc=yes
29766 no:yes:* )
29767 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29768 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29769 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29770 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29771 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29772 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29773 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29774 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29776 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29777 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29778 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29780 cat <<\_ASBOX
29781 ## ----------------------------------------- ##
29782 ## Report this to the package-unused lists. ##
29783 ## ----------------------------------------- ##
29784 _ASBOX
29786 sed "s/^/$as_me: WARNING: /" >&2
29788 esac
29789 echo "$as_me:$LINENO: checking for $ac_header" >&5
29790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29792 echo $ECHO_N "(cached) $ECHO_C" >&6
29793 else
29794 eval "$as_ac_Header=\$ac_header_preproc"
29796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29800 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29801 cat >>confdefs.h <<_ACEOF
29802 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29803 _ACEOF
29804 ac_has_wctype_h=yes
29805 else
29806 ac_has_wctype_h=no
29809 done
29812 # Only continue checking if the ISO C99 headers exist and support is on.
29813 if test x"$ac_has_wchar_h" = xyes &&
29814 test x"$ac_has_wctype_h" = xyes &&
29815 test x"$enable_c_mbchar" != xno; then
29817 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
29818 # numeric_limits can instantiate type_traits<wchar_t>
29819 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
29820 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
29821 cat >conftest.$ac_ext <<_ACEOF
29822 /* confdefs.h. */
29823 _ACEOF
29824 cat confdefs.h >>conftest.$ac_ext
29825 cat >>conftest.$ac_ext <<_ACEOF
29826 /* end confdefs.h. */
29827 #include <wchar.h>
29829 main ()
29831 int i = WCHAR_MIN; int j = WCHAR_MAX;
29833 return 0;
29835 _ACEOF
29836 rm -f conftest.$ac_objext
29837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29838 (eval $ac_compile) 2>conftest.er1
29839 ac_status=$?
29840 grep -v '^ *+' conftest.er1 >conftest.err
29841 rm -f conftest.er1
29842 cat conftest.err >&5
29843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29844 (exit $ac_status); } &&
29845 { ac_try='test -z "$ac_c_werror_flag"
29846 || test ! -s conftest.err'
29847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29848 (eval $ac_try) 2>&5
29849 ac_status=$?
29850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29851 (exit $ac_status); }; } &&
29852 { ac_try='test -s conftest.$ac_objext'
29853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29854 (eval $ac_try) 2>&5
29855 ac_status=$?
29856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29857 (exit $ac_status); }; }; then
29858 has_wchar_minmax=yes
29859 else
29860 echo "$as_me: failed program was:" >&5
29861 sed 's/^/| /' conftest.$ac_ext >&5
29863 has_wchar_minmax=no
29865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29866 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
29867 echo "${ECHO_T}$has_wchar_minmax" >&6
29869 # Test wchar.h for WEOF, which is what we use to determine whether
29870 # to specialize for char_traits<wchar_t> or not.
29871 echo "$as_me:$LINENO: checking for WEOF" >&5
29872 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
29873 cat >conftest.$ac_ext <<_ACEOF
29874 /* confdefs.h. */
29875 _ACEOF
29876 cat confdefs.h >>conftest.$ac_ext
29877 cat >>conftest.$ac_ext <<_ACEOF
29878 /* end confdefs.h. */
29880 #include <wchar.h>
29881 #include <stddef.h>
29883 main ()
29885 wint_t i = WEOF;
29887 return 0;
29889 _ACEOF
29890 rm -f conftest.$ac_objext
29891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29892 (eval $ac_compile) 2>conftest.er1
29893 ac_status=$?
29894 grep -v '^ *+' conftest.er1 >conftest.err
29895 rm -f conftest.er1
29896 cat conftest.err >&5
29897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29898 (exit $ac_status); } &&
29899 { ac_try='test -z "$ac_c_werror_flag"
29900 || test ! -s conftest.err'
29901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29902 (eval $ac_try) 2>&5
29903 ac_status=$?
29904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29905 (exit $ac_status); }; } &&
29906 { ac_try='test -s conftest.$ac_objext'
29907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29908 (eval $ac_try) 2>&5
29909 ac_status=$?
29910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29911 (exit $ac_status); }; }; then
29912 has_weof=yes
29913 else
29914 echo "$as_me: failed program was:" >&5
29915 sed 's/^/| /' conftest.$ac_ext >&5
29917 has_weof=no
29919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29920 echo "$as_me:$LINENO: result: $has_weof" >&5
29921 echo "${ECHO_T}$has_weof" >&6
29923 # Tests for wide character functions used in char_traits<wchar_t>.
29924 ac_wfuncs=yes
29931 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
29933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29934 echo "$as_me:$LINENO: checking for $ac_func" >&5
29935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29936 if eval "test \"\${$as_ac_var+set}\" = set"; then
29937 echo $ECHO_N "(cached) $ECHO_C" >&6
29938 else
29939 if test x$gcc_no_link = xyes; then
29940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29942 { (exit 1); exit 1; }; }
29944 cat >conftest.$ac_ext <<_ACEOF
29945 /* confdefs.h. */
29946 _ACEOF
29947 cat confdefs.h >>conftest.$ac_ext
29948 cat >>conftest.$ac_ext <<_ACEOF
29949 /* end confdefs.h. */
29950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29952 #define $ac_func innocuous_$ac_func
29954 /* System header to define __stub macros and hopefully few prototypes,
29955 which can conflict with char $ac_func (); below.
29956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29957 <limits.h> exists even on freestanding compilers. */
29959 #ifdef __STDC__
29960 # include <limits.h>
29961 #else
29962 # include <assert.h>
29963 #endif
29965 #undef $ac_func
29967 /* Override any gcc2 internal prototype to avoid an error. */
29968 #ifdef __cplusplus
29969 extern "C"
29971 #endif
29972 /* We use char because int might match the return type of a gcc2
29973 builtin and then its argument prototype would still apply. */
29974 char $ac_func ();
29975 /* The GNU C library defines this for functions which it implements
29976 to always fail with ENOSYS. Some functions are actually named
29977 something starting with __ and the normal name is an alias. */
29978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29979 choke me
29980 #else
29981 char (*f) () = $ac_func;
29982 #endif
29983 #ifdef __cplusplus
29985 #endif
29988 main ()
29990 return f != $ac_func;
29992 return 0;
29994 _ACEOF
29995 rm -f conftest.$ac_objext conftest$ac_exeext
29996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29997 (eval $ac_link) 2>conftest.er1
29998 ac_status=$?
29999 grep -v '^ *+' conftest.er1 >conftest.err
30000 rm -f conftest.er1
30001 cat conftest.err >&5
30002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30003 (exit $ac_status); } &&
30004 { ac_try='test -z "$ac_c_werror_flag"
30005 || test ! -s conftest.err'
30006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30007 (eval $ac_try) 2>&5
30008 ac_status=$?
30009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30010 (exit $ac_status); }; } &&
30011 { ac_try='test -s conftest$ac_exeext'
30012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30013 (eval $ac_try) 2>&5
30014 ac_status=$?
30015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30016 (exit $ac_status); }; }; then
30017 eval "$as_ac_var=yes"
30018 else
30019 echo "$as_me: failed program was:" >&5
30020 sed 's/^/| /' conftest.$ac_ext >&5
30022 eval "$as_ac_var=no"
30024 rm -f conftest.err conftest.$ac_objext \
30025 conftest$ac_exeext conftest.$ac_ext
30027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30029 if test `eval echo '${'$as_ac_var'}'` = yes; then
30030 cat >>confdefs.h <<_ACEOF
30031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30032 _ACEOF
30034 else
30035 ac_wfuncs=no
30037 done
30040 # Checks for names injected into std:: by the c_std headers.
30087 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
30088 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
30089 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
30090 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
30091 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
30092 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
30094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30095 echo "$as_me:$LINENO: checking for $ac_func" >&5
30096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30097 if eval "test \"\${$as_ac_var+set}\" = set"; then
30098 echo $ECHO_N "(cached) $ECHO_C" >&6
30099 else
30100 if test x$gcc_no_link = xyes; then
30101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30103 { (exit 1); exit 1; }; }
30105 cat >conftest.$ac_ext <<_ACEOF
30106 /* confdefs.h. */
30107 _ACEOF
30108 cat confdefs.h >>conftest.$ac_ext
30109 cat >>conftest.$ac_ext <<_ACEOF
30110 /* end confdefs.h. */
30111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30113 #define $ac_func innocuous_$ac_func
30115 /* System header to define __stub macros and hopefully few prototypes,
30116 which can conflict with char $ac_func (); below.
30117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30118 <limits.h> exists even on freestanding compilers. */
30120 #ifdef __STDC__
30121 # include <limits.h>
30122 #else
30123 # include <assert.h>
30124 #endif
30126 #undef $ac_func
30128 /* Override any gcc2 internal prototype to avoid an error. */
30129 #ifdef __cplusplus
30130 extern "C"
30132 #endif
30133 /* We use char because int might match the return type of a gcc2
30134 builtin and then its argument prototype would still apply. */
30135 char $ac_func ();
30136 /* The GNU C library defines this for functions which it implements
30137 to always fail with ENOSYS. Some functions are actually named
30138 something starting with __ and the normal name is an alias. */
30139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30140 choke me
30141 #else
30142 char (*f) () = $ac_func;
30143 #endif
30144 #ifdef __cplusplus
30146 #endif
30149 main ()
30151 return f != $ac_func;
30153 return 0;
30155 _ACEOF
30156 rm -f conftest.$ac_objext conftest$ac_exeext
30157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30158 (eval $ac_link) 2>conftest.er1
30159 ac_status=$?
30160 grep -v '^ *+' conftest.er1 >conftest.err
30161 rm -f conftest.er1
30162 cat conftest.err >&5
30163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30164 (exit $ac_status); } &&
30165 { ac_try='test -z "$ac_c_werror_flag"
30166 || test ! -s conftest.err'
30167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30168 (eval $ac_try) 2>&5
30169 ac_status=$?
30170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30171 (exit $ac_status); }; } &&
30172 { ac_try='test -s conftest$ac_exeext'
30173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30174 (eval $ac_try) 2>&5
30175 ac_status=$?
30176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30177 (exit $ac_status); }; }; then
30178 eval "$as_ac_var=yes"
30179 else
30180 echo "$as_me: failed program was:" >&5
30181 sed 's/^/| /' conftest.$ac_ext >&5
30183 eval "$as_ac_var=no"
30185 rm -f conftest.err conftest.$ac_objext \
30186 conftest$ac_exeext conftest.$ac_ext
30188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30190 if test `eval echo '${'$as_ac_var'}'` = yes; then
30191 cat >>confdefs.h <<_ACEOF
30192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30193 _ACEOF
30195 else
30196 ac_wfuncs=no
30198 done
30201 # Checks for wide character functions that are not required
30202 # for basic wchar_t support. Don't disable support if they are missing.
30203 # Injection of these is wrapped with guard macros.
30209 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
30211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30212 echo "$as_me:$LINENO: checking for $ac_func" >&5
30213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30214 if eval "test \"\${$as_ac_var+set}\" = set"; then
30215 echo $ECHO_N "(cached) $ECHO_C" >&6
30216 else
30217 if test x$gcc_no_link = xyes; then
30218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30220 { (exit 1); exit 1; }; }
30222 cat >conftest.$ac_ext <<_ACEOF
30223 /* confdefs.h. */
30224 _ACEOF
30225 cat confdefs.h >>conftest.$ac_ext
30226 cat >>conftest.$ac_ext <<_ACEOF
30227 /* end confdefs.h. */
30228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30230 #define $ac_func innocuous_$ac_func
30232 /* System header to define __stub macros and hopefully few prototypes,
30233 which can conflict with char $ac_func (); below.
30234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30235 <limits.h> exists even on freestanding compilers. */
30237 #ifdef __STDC__
30238 # include <limits.h>
30239 #else
30240 # include <assert.h>
30241 #endif
30243 #undef $ac_func
30245 /* Override any gcc2 internal prototype to avoid an error. */
30246 #ifdef __cplusplus
30247 extern "C"
30249 #endif
30250 /* We use char because int might match the return type of a gcc2
30251 builtin and then its argument prototype would still apply. */
30252 char $ac_func ();
30253 /* The GNU C library defines this for functions which it implements
30254 to always fail with ENOSYS. Some functions are actually named
30255 something starting with __ and the normal name is an alias. */
30256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30257 choke me
30258 #else
30259 char (*f) () = $ac_func;
30260 #endif
30261 #ifdef __cplusplus
30263 #endif
30266 main ()
30268 return f != $ac_func;
30270 return 0;
30272 _ACEOF
30273 rm -f conftest.$ac_objext conftest$ac_exeext
30274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30275 (eval $ac_link) 2>conftest.er1
30276 ac_status=$?
30277 grep -v '^ *+' conftest.er1 >conftest.err
30278 rm -f conftest.er1
30279 cat conftest.err >&5
30280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30281 (exit $ac_status); } &&
30282 { ac_try='test -z "$ac_c_werror_flag"
30283 || test ! -s conftest.err'
30284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30285 (eval $ac_try) 2>&5
30286 ac_status=$?
30287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30288 (exit $ac_status); }; } &&
30289 { ac_try='test -s conftest$ac_exeext'
30290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30291 (eval $ac_try) 2>&5
30292 ac_status=$?
30293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30294 (exit $ac_status); }; }; then
30295 eval "$as_ac_var=yes"
30296 else
30297 echo "$as_me: failed program was:" >&5
30298 sed 's/^/| /' conftest.$ac_ext >&5
30300 eval "$as_ac_var=no"
30302 rm -f conftest.err conftest.$ac_objext \
30303 conftest$ac_exeext conftest.$ac_ext
30305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30307 if test `eval echo '${'$as_ac_var'}'` = yes; then
30308 cat >>confdefs.h <<_ACEOF
30309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30310 _ACEOF
30313 done
30316 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
30317 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
30318 if test x"$has_weof" = xyes &&
30319 test x"$has_wchar_minmax" = xyes &&
30320 test x"$ac_wfuncs" = xyes;
30321 then
30322 ac_isoC99_wchar_t=yes
30323 else
30324 ac_isoC99_wchar_t=no
30326 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
30327 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
30329 # Use iconv for wchar_t to char conversions. As such, check for
30330 # X/Open Portability Guide, version 2 features (XPG2).
30331 if test "${ac_cv_header_iconv_h+set}" = set; then
30332 echo "$as_me:$LINENO: checking for iconv.h" >&5
30333 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
30334 if test "${ac_cv_header_iconv_h+set}" = set; then
30335 echo $ECHO_N "(cached) $ECHO_C" >&6
30337 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
30338 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
30339 else
30340 # Is the header compilable?
30341 echo "$as_me:$LINENO: checking iconv.h usability" >&5
30342 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
30343 cat >conftest.$ac_ext <<_ACEOF
30344 /* confdefs.h. */
30345 _ACEOF
30346 cat confdefs.h >>conftest.$ac_ext
30347 cat >>conftest.$ac_ext <<_ACEOF
30348 /* end confdefs.h. */
30349 $ac_includes_default
30350 #include <iconv.h>
30351 _ACEOF
30352 rm -f conftest.$ac_objext
30353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30354 (eval $ac_compile) 2>conftest.er1
30355 ac_status=$?
30356 grep -v '^ *+' conftest.er1 >conftest.err
30357 rm -f conftest.er1
30358 cat conftest.err >&5
30359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30360 (exit $ac_status); } &&
30361 { ac_try='test -z "$ac_c_werror_flag"
30362 || test ! -s conftest.err'
30363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30364 (eval $ac_try) 2>&5
30365 ac_status=$?
30366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30367 (exit $ac_status); }; } &&
30368 { ac_try='test -s conftest.$ac_objext'
30369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30370 (eval $ac_try) 2>&5
30371 ac_status=$?
30372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30373 (exit $ac_status); }; }; then
30374 ac_header_compiler=yes
30375 else
30376 echo "$as_me: failed program was:" >&5
30377 sed 's/^/| /' conftest.$ac_ext >&5
30379 ac_header_compiler=no
30381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30382 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30383 echo "${ECHO_T}$ac_header_compiler" >&6
30385 # Is the header present?
30386 echo "$as_me:$LINENO: checking iconv.h presence" >&5
30387 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
30388 cat >conftest.$ac_ext <<_ACEOF
30389 /* confdefs.h. */
30390 _ACEOF
30391 cat confdefs.h >>conftest.$ac_ext
30392 cat >>conftest.$ac_ext <<_ACEOF
30393 /* end confdefs.h. */
30394 #include <iconv.h>
30395 _ACEOF
30396 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30397 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30398 ac_status=$?
30399 grep -v '^ *+' conftest.er1 >conftest.err
30400 rm -f conftest.er1
30401 cat conftest.err >&5
30402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30403 (exit $ac_status); } >/dev/null; then
30404 if test -s conftest.err; then
30405 ac_cpp_err=$ac_c_preproc_warn_flag
30406 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30407 else
30408 ac_cpp_err=
30410 else
30411 ac_cpp_err=yes
30413 if test -z "$ac_cpp_err"; then
30414 ac_header_preproc=yes
30415 else
30416 echo "$as_me: failed program was:" >&5
30417 sed 's/^/| /' conftest.$ac_ext >&5
30419 ac_header_preproc=no
30421 rm -f conftest.err conftest.$ac_ext
30422 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30423 echo "${ECHO_T}$ac_header_preproc" >&6
30425 # So? What about this header?
30426 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30427 yes:no: )
30428 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
30429 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30430 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
30431 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
30432 ac_header_preproc=yes
30434 no:yes:* )
30435 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
30436 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
30437 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
30438 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
30439 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
30440 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
30441 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
30442 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
30443 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
30444 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
30445 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
30446 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
30448 cat <<\_ASBOX
30449 ## ----------------------------------------- ##
30450 ## Report this to the package-unused lists. ##
30451 ## ----------------------------------------- ##
30452 _ASBOX
30454 sed "s/^/$as_me: WARNING: /" >&2
30456 esac
30457 echo "$as_me:$LINENO: checking for iconv.h" >&5
30458 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
30459 if test "${ac_cv_header_iconv_h+set}" = set; then
30460 echo $ECHO_N "(cached) $ECHO_C" >&6
30461 else
30462 ac_cv_header_iconv_h=$ac_header_preproc
30464 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
30465 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
30468 if test $ac_cv_header_iconv_h = yes; then
30469 ac_has_iconv_h=yes
30470 else
30471 ac_has_iconv_h=no
30475 if test "${ac_cv_header_langinfo_h+set}" = set; then
30476 echo "$as_me:$LINENO: checking for langinfo.h" >&5
30477 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
30478 if test "${ac_cv_header_langinfo_h+set}" = set; then
30479 echo $ECHO_N "(cached) $ECHO_C" >&6
30481 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
30482 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
30483 else
30484 # Is the header compilable?
30485 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
30486 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
30487 cat >conftest.$ac_ext <<_ACEOF
30488 /* confdefs.h. */
30489 _ACEOF
30490 cat confdefs.h >>conftest.$ac_ext
30491 cat >>conftest.$ac_ext <<_ACEOF
30492 /* end confdefs.h. */
30493 $ac_includes_default
30494 #include <langinfo.h>
30495 _ACEOF
30496 rm -f conftest.$ac_objext
30497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30498 (eval $ac_compile) 2>conftest.er1
30499 ac_status=$?
30500 grep -v '^ *+' conftest.er1 >conftest.err
30501 rm -f conftest.er1
30502 cat conftest.err >&5
30503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30504 (exit $ac_status); } &&
30505 { ac_try='test -z "$ac_c_werror_flag"
30506 || test ! -s conftest.err'
30507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30508 (eval $ac_try) 2>&5
30509 ac_status=$?
30510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30511 (exit $ac_status); }; } &&
30512 { ac_try='test -s conftest.$ac_objext'
30513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30514 (eval $ac_try) 2>&5
30515 ac_status=$?
30516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30517 (exit $ac_status); }; }; then
30518 ac_header_compiler=yes
30519 else
30520 echo "$as_me: failed program was:" >&5
30521 sed 's/^/| /' conftest.$ac_ext >&5
30523 ac_header_compiler=no
30525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30526 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30527 echo "${ECHO_T}$ac_header_compiler" >&6
30529 # Is the header present?
30530 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
30531 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
30532 cat >conftest.$ac_ext <<_ACEOF
30533 /* confdefs.h. */
30534 _ACEOF
30535 cat confdefs.h >>conftest.$ac_ext
30536 cat >>conftest.$ac_ext <<_ACEOF
30537 /* end confdefs.h. */
30538 #include <langinfo.h>
30539 _ACEOF
30540 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30541 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30542 ac_status=$?
30543 grep -v '^ *+' conftest.er1 >conftest.err
30544 rm -f conftest.er1
30545 cat conftest.err >&5
30546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30547 (exit $ac_status); } >/dev/null; then
30548 if test -s conftest.err; then
30549 ac_cpp_err=$ac_c_preproc_warn_flag
30550 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30551 else
30552 ac_cpp_err=
30554 else
30555 ac_cpp_err=yes
30557 if test -z "$ac_cpp_err"; then
30558 ac_header_preproc=yes
30559 else
30560 echo "$as_me: failed program was:" >&5
30561 sed 's/^/| /' conftest.$ac_ext >&5
30563 ac_header_preproc=no
30565 rm -f conftest.err conftest.$ac_ext
30566 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30567 echo "${ECHO_T}$ac_header_preproc" >&6
30569 # So? What about this header?
30570 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30571 yes:no: )
30572 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
30573 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30574 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
30575 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
30576 ac_header_preproc=yes
30578 no:yes:* )
30579 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
30580 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
30581 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
30582 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
30583 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
30584 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
30585 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
30586 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
30587 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
30588 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
30589 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
30590 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
30592 cat <<\_ASBOX
30593 ## ----------------------------------------- ##
30594 ## Report this to the package-unused lists. ##
30595 ## ----------------------------------------- ##
30596 _ASBOX
30598 sed "s/^/$as_me: WARNING: /" >&2
30600 esac
30601 echo "$as_me:$LINENO: checking for langinfo.h" >&5
30602 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
30603 if test "${ac_cv_header_langinfo_h+set}" = set; then
30604 echo $ECHO_N "(cached) $ECHO_C" >&6
30605 else
30606 ac_cv_header_langinfo_h=$ac_header_preproc
30608 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
30609 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
30612 if test $ac_cv_header_langinfo_h = yes; then
30613 ac_has_langinfo_h=yes
30614 else
30615 ac_has_langinfo_h=no
30620 # Check for existence of libiconv.a providing XPG2 wchar_t support.
30621 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
30622 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
30623 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
30624 echo $ECHO_N "(cached) $ECHO_C" >&6
30625 else
30626 ac_check_lib_save_LIBS=$LIBS
30627 LIBS="-liconv $LIBS"
30628 if test x$gcc_no_link = xyes; then
30629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30631 { (exit 1); exit 1; }; }
30633 cat >conftest.$ac_ext <<_ACEOF
30634 /* confdefs.h. */
30635 _ACEOF
30636 cat confdefs.h >>conftest.$ac_ext
30637 cat >>conftest.$ac_ext <<_ACEOF
30638 /* end confdefs.h. */
30640 /* Override any gcc2 internal prototype to avoid an error. */
30641 #ifdef __cplusplus
30642 extern "C"
30643 #endif
30644 /* We use char because int might match the return type of a gcc2
30645 builtin and then its argument prototype would still apply. */
30646 char iconv ();
30648 main ()
30650 iconv ();
30652 return 0;
30654 _ACEOF
30655 rm -f conftest.$ac_objext conftest$ac_exeext
30656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30657 (eval $ac_link) 2>conftest.er1
30658 ac_status=$?
30659 grep -v '^ *+' conftest.er1 >conftest.err
30660 rm -f conftest.er1
30661 cat conftest.err >&5
30662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30663 (exit $ac_status); } &&
30664 { ac_try='test -z "$ac_c_werror_flag"
30665 || test ! -s conftest.err'
30666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30667 (eval $ac_try) 2>&5
30668 ac_status=$?
30669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30670 (exit $ac_status); }; } &&
30671 { ac_try='test -s conftest$ac_exeext'
30672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30673 (eval $ac_try) 2>&5
30674 ac_status=$?
30675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30676 (exit $ac_status); }; }; then
30677 ac_cv_lib_iconv_iconv=yes
30678 else
30679 echo "$as_me: failed program was:" >&5
30680 sed 's/^/| /' conftest.$ac_ext >&5
30682 ac_cv_lib_iconv_iconv=no
30684 rm -f conftest.err conftest.$ac_objext \
30685 conftest$ac_exeext conftest.$ac_ext
30686 LIBS=$ac_check_lib_save_LIBS
30688 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
30689 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
30690 if test $ac_cv_lib_iconv_iconv = yes; then
30691 LIBICONV="-liconv"
30694 ac_save_LIBS="$LIBS"
30695 LIBS="$LIBS $LIBICONV"
30702 for ac_func in iconv_open iconv_close iconv nl_langinfo
30704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30705 echo "$as_me:$LINENO: checking for $ac_func" >&5
30706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30707 if eval "test \"\${$as_ac_var+set}\" = set"; then
30708 echo $ECHO_N "(cached) $ECHO_C" >&6
30709 else
30710 if test x$gcc_no_link = xyes; then
30711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30713 { (exit 1); exit 1; }; }
30715 cat >conftest.$ac_ext <<_ACEOF
30716 /* confdefs.h. */
30717 _ACEOF
30718 cat confdefs.h >>conftest.$ac_ext
30719 cat >>conftest.$ac_ext <<_ACEOF
30720 /* end confdefs.h. */
30721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30723 #define $ac_func innocuous_$ac_func
30725 /* System header to define __stub macros and hopefully few prototypes,
30726 which can conflict with char $ac_func (); below.
30727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30728 <limits.h> exists even on freestanding compilers. */
30730 #ifdef __STDC__
30731 # include <limits.h>
30732 #else
30733 # include <assert.h>
30734 #endif
30736 #undef $ac_func
30738 /* Override any gcc2 internal prototype to avoid an error. */
30739 #ifdef __cplusplus
30740 extern "C"
30742 #endif
30743 /* We use char because int might match the return type of a gcc2
30744 builtin and then its argument prototype would still apply. */
30745 char $ac_func ();
30746 /* The GNU C library defines this for functions which it implements
30747 to always fail with ENOSYS. Some functions are actually named
30748 something starting with __ and the normal name is an alias. */
30749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30750 choke me
30751 #else
30752 char (*f) () = $ac_func;
30753 #endif
30754 #ifdef __cplusplus
30756 #endif
30759 main ()
30761 return f != $ac_func;
30763 return 0;
30765 _ACEOF
30766 rm -f conftest.$ac_objext conftest$ac_exeext
30767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30768 (eval $ac_link) 2>conftest.er1
30769 ac_status=$?
30770 grep -v '^ *+' conftest.er1 >conftest.err
30771 rm -f conftest.er1
30772 cat conftest.err >&5
30773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30774 (exit $ac_status); } &&
30775 { ac_try='test -z "$ac_c_werror_flag"
30776 || test ! -s conftest.err'
30777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30778 (eval $ac_try) 2>&5
30779 ac_status=$?
30780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30781 (exit $ac_status); }; } &&
30782 { ac_try='test -s conftest$ac_exeext'
30783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30784 (eval $ac_try) 2>&5
30785 ac_status=$?
30786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30787 (exit $ac_status); }; }; then
30788 eval "$as_ac_var=yes"
30789 else
30790 echo "$as_me: failed program was:" >&5
30791 sed 's/^/| /' conftest.$ac_ext >&5
30793 eval "$as_ac_var=no"
30795 rm -f conftest.err conftest.$ac_objext \
30796 conftest$ac_exeext conftest.$ac_ext
30798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30800 if test `eval echo '${'$as_ac_var'}'` = yes; then
30801 cat >>confdefs.h <<_ACEOF
30802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30803 _ACEOF
30804 ac_XPG2funcs=yes
30805 else
30806 ac_XPG2funcs=no
30808 done
30811 LIBS="$ac_save_LIBS"
30813 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
30814 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
30815 if test x"$ac_has_iconv_h" = xyes &&
30816 test x"$ac_has_langinfo_h" = xyes &&
30817 test x"$ac_XPG2funcs" = xyes;
30818 then
30819 ac_XPG2_wchar_t=yes
30820 else
30821 ac_XPG2_wchar_t=no
30823 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
30824 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
30826 # At the moment, only enable wchar_t specializations if all the
30827 # above support is present.
30828 if test x"$ac_isoC99_wchar_t" = xyes &&
30829 test x"$ac_XPG2_wchar_t" = xyes;
30830 then
30831 cat >>confdefs.h <<\_ACEOF
30832 #define _GLIBCXX_USE_WCHAR_T 1
30833 _ACEOF
30835 enable_wchar_t=yes
30838 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
30839 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
30840 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
30841 echo "${ECHO_T}$enable_wchar_t" >&6
30844 ac_test_CXXFLAGS="${CXXFLAGS+set}"
30845 ac_save_CXXFLAGS="$CXXFLAGS"
30846 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
30849 echo "$as_me:$LINENO: checking for strtold declaration" >&5
30850 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
30851 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
30852 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
30853 echo $ECHO_N "(cached) $ECHO_C" >&6
30854 else
30858 ac_ext=cc
30859 ac_cpp='$CXXCPP $CPPFLAGS'
30860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30864 cat >conftest.$ac_ext <<_ACEOF
30865 /* confdefs.h. */
30866 _ACEOF
30867 cat confdefs.h >>conftest.$ac_ext
30868 cat >>conftest.$ac_ext <<_ACEOF
30869 /* end confdefs.h. */
30870 #include <stdlib.h>
30872 main ()
30874 strtold(0, 0);
30876 return 0;
30878 _ACEOF
30879 rm -f conftest.$ac_objext
30880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30881 (eval $ac_compile) 2>conftest.er1
30882 ac_status=$?
30883 grep -v '^ *+' conftest.er1 >conftest.err
30884 rm -f conftest.er1
30885 cat conftest.err >&5
30886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30887 (exit $ac_status); } &&
30888 { ac_try='test -z "$ac_cxx_werror_flag"
30889 || test ! -s conftest.err'
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); }; } &&
30895 { ac_try='test -s conftest.$ac_objext'
30896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30897 (eval $ac_try) 2>&5
30898 ac_status=$?
30899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30900 (exit $ac_status); }; }; then
30901 glibcxx_cv_func_strtold_use=yes
30902 else
30903 echo "$as_me: failed program was:" >&5
30904 sed 's/^/| /' conftest.$ac_ext >&5
30906 glibcxx_cv_func_strtold_use=no
30908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30909 ac_ext=c
30910 ac_cpp='$CPP $CPPFLAGS'
30911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30919 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
30920 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
30921 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
30923 for ac_func in strtold
30925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30926 echo "$as_me:$LINENO: checking for $ac_func" >&5
30927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30928 if eval "test \"\${$as_ac_var+set}\" = set"; then
30929 echo $ECHO_N "(cached) $ECHO_C" >&6
30930 else
30931 if test x$gcc_no_link = xyes; then
30932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30934 { (exit 1); exit 1; }; }
30936 cat >conftest.$ac_ext <<_ACEOF
30937 /* confdefs.h. */
30938 _ACEOF
30939 cat confdefs.h >>conftest.$ac_ext
30940 cat >>conftest.$ac_ext <<_ACEOF
30941 /* end confdefs.h. */
30942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30944 #define $ac_func innocuous_$ac_func
30946 /* System header to define __stub macros and hopefully few prototypes,
30947 which can conflict with char $ac_func (); below.
30948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30949 <limits.h> exists even on freestanding compilers. */
30951 #ifdef __STDC__
30952 # include <limits.h>
30953 #else
30954 # include <assert.h>
30955 #endif
30957 #undef $ac_func
30959 /* Override any gcc2 internal prototype to avoid an error. */
30960 #ifdef __cplusplus
30961 extern "C"
30963 #endif
30964 /* We use char because int might match the return type of a gcc2
30965 builtin and then its argument prototype would still apply. */
30966 char $ac_func ();
30967 /* The GNU C library defines this for functions which it implements
30968 to always fail with ENOSYS. Some functions are actually named
30969 something starting with __ and the normal name is an alias. */
30970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30971 choke me
30972 #else
30973 char (*f) () = $ac_func;
30974 #endif
30975 #ifdef __cplusplus
30977 #endif
30980 main ()
30982 return f != $ac_func;
30984 return 0;
30986 _ACEOF
30987 rm -f conftest.$ac_objext conftest$ac_exeext
30988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30989 (eval $ac_link) 2>conftest.er1
30990 ac_status=$?
30991 grep -v '^ *+' conftest.er1 >conftest.err
30992 rm -f conftest.er1
30993 cat conftest.err >&5
30994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30995 (exit $ac_status); } &&
30996 { ac_try='test -z "$ac_c_werror_flag"
30997 || test ! -s conftest.err'
30998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30999 (eval $ac_try) 2>&5
31000 ac_status=$?
31001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31002 (exit $ac_status); }; } &&
31003 { ac_try='test -s conftest$ac_exeext'
31004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31005 (eval $ac_try) 2>&5
31006 ac_status=$?
31007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31008 (exit $ac_status); }; }; then
31009 eval "$as_ac_var=yes"
31010 else
31011 echo "$as_me: failed program was:" >&5
31012 sed 's/^/| /' conftest.$ac_ext >&5
31014 eval "$as_ac_var=no"
31016 rm -f conftest.err conftest.$ac_objext \
31017 conftest$ac_exeext conftest.$ac_ext
31019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31021 if test `eval echo '${'$as_ac_var'}'` = yes; then
31022 cat >>confdefs.h <<_ACEOF
31023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31024 _ACEOF
31027 done
31032 echo "$as_me:$LINENO: checking for strtof declaration" >&5
31033 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
31034 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
31035 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
31036 echo $ECHO_N "(cached) $ECHO_C" >&6
31037 else
31041 ac_ext=cc
31042 ac_cpp='$CXXCPP $CPPFLAGS'
31043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31047 cat >conftest.$ac_ext <<_ACEOF
31048 /* confdefs.h. */
31049 _ACEOF
31050 cat confdefs.h >>conftest.$ac_ext
31051 cat >>conftest.$ac_ext <<_ACEOF
31052 /* end confdefs.h. */
31053 #include <stdlib.h>
31055 main ()
31057 strtof(0, 0);
31059 return 0;
31061 _ACEOF
31062 rm -f conftest.$ac_objext
31063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31064 (eval $ac_compile) 2>conftest.er1
31065 ac_status=$?
31066 grep -v '^ *+' conftest.er1 >conftest.err
31067 rm -f conftest.er1
31068 cat conftest.err >&5
31069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31070 (exit $ac_status); } &&
31071 { ac_try='test -z "$ac_cxx_werror_flag"
31072 || test ! -s conftest.err'
31073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31074 (eval $ac_try) 2>&5
31075 ac_status=$?
31076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31077 (exit $ac_status); }; } &&
31078 { ac_try='test -s conftest.$ac_objext'
31079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31080 (eval $ac_try) 2>&5
31081 ac_status=$?
31082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31083 (exit $ac_status); }; }; then
31084 glibcxx_cv_func_strtof_use=yes
31085 else
31086 echo "$as_me: failed program was:" >&5
31087 sed 's/^/| /' conftest.$ac_ext >&5
31089 glibcxx_cv_func_strtof_use=no
31091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31092 ac_ext=c
31093 ac_cpp='$CPP $CPPFLAGS'
31094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31102 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
31103 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
31104 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
31106 for ac_func in strtof
31108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31109 echo "$as_me:$LINENO: checking for $ac_func" >&5
31110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31111 if eval "test \"\${$as_ac_var+set}\" = set"; then
31112 echo $ECHO_N "(cached) $ECHO_C" >&6
31113 else
31114 if test x$gcc_no_link = xyes; then
31115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31117 { (exit 1); exit 1; }; }
31119 cat >conftest.$ac_ext <<_ACEOF
31120 /* confdefs.h. */
31121 _ACEOF
31122 cat confdefs.h >>conftest.$ac_ext
31123 cat >>conftest.$ac_ext <<_ACEOF
31124 /* end confdefs.h. */
31125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31127 #define $ac_func innocuous_$ac_func
31129 /* System header to define __stub macros and hopefully few prototypes,
31130 which can conflict with char $ac_func (); below.
31131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31132 <limits.h> exists even on freestanding compilers. */
31134 #ifdef __STDC__
31135 # include <limits.h>
31136 #else
31137 # include <assert.h>
31138 #endif
31140 #undef $ac_func
31142 /* Override any gcc2 internal prototype to avoid an error. */
31143 #ifdef __cplusplus
31144 extern "C"
31146 #endif
31147 /* We use char because int might match the return type of a gcc2
31148 builtin and then its argument prototype would still apply. */
31149 char $ac_func ();
31150 /* The GNU C library defines this for functions which it implements
31151 to always fail with ENOSYS. Some functions are actually named
31152 something starting with __ and the normal name is an alias. */
31153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31154 choke me
31155 #else
31156 char (*f) () = $ac_func;
31157 #endif
31158 #ifdef __cplusplus
31160 #endif
31163 main ()
31165 return f != $ac_func;
31167 return 0;
31169 _ACEOF
31170 rm -f conftest.$ac_objext conftest$ac_exeext
31171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31172 (eval $ac_link) 2>conftest.er1
31173 ac_status=$?
31174 grep -v '^ *+' conftest.er1 >conftest.err
31175 rm -f conftest.er1
31176 cat conftest.err >&5
31177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31178 (exit $ac_status); } &&
31179 { ac_try='test -z "$ac_c_werror_flag"
31180 || test ! -s conftest.err'
31181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31182 (eval $ac_try) 2>&5
31183 ac_status=$?
31184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31185 (exit $ac_status); }; } &&
31186 { ac_try='test -s conftest$ac_exeext'
31187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31188 (eval $ac_try) 2>&5
31189 ac_status=$?
31190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31191 (exit $ac_status); }; }; then
31192 eval "$as_ac_var=yes"
31193 else
31194 echo "$as_me: failed program was:" >&5
31195 sed 's/^/| /' conftest.$ac_ext >&5
31197 eval "$as_ac_var=no"
31199 rm -f conftest.err conftest.$ac_objext \
31200 conftest$ac_exeext conftest.$ac_ext
31202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31204 if test `eval echo '${'$as_ac_var'}'` = yes; then
31205 cat >>confdefs.h <<_ACEOF
31206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31207 _ACEOF
31210 done
31215 CXXFLAGS="$ac_save_CXXFLAGS"
31218 # For showmanyc_helper().
31221 for ac_header in sys/ioctl.h sys/filio.h
31223 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31225 echo "$as_me:$LINENO: checking for $ac_header" >&5
31226 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31227 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31228 echo $ECHO_N "(cached) $ECHO_C" >&6
31230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31231 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31232 else
31233 # Is the header compilable?
31234 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31235 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31236 cat >conftest.$ac_ext <<_ACEOF
31237 /* confdefs.h. */
31238 _ACEOF
31239 cat confdefs.h >>conftest.$ac_ext
31240 cat >>conftest.$ac_ext <<_ACEOF
31241 /* end confdefs.h. */
31242 $ac_includes_default
31243 #include <$ac_header>
31244 _ACEOF
31245 rm -f conftest.$ac_objext
31246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31247 (eval $ac_compile) 2>conftest.er1
31248 ac_status=$?
31249 grep -v '^ *+' conftest.er1 >conftest.err
31250 rm -f conftest.er1
31251 cat conftest.err >&5
31252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31253 (exit $ac_status); } &&
31254 { ac_try='test -z "$ac_c_werror_flag"
31255 || test ! -s conftest.err'
31256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31257 (eval $ac_try) 2>&5
31258 ac_status=$?
31259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31260 (exit $ac_status); }; } &&
31261 { ac_try='test -s conftest.$ac_objext'
31262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31263 (eval $ac_try) 2>&5
31264 ac_status=$?
31265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31266 (exit $ac_status); }; }; then
31267 ac_header_compiler=yes
31268 else
31269 echo "$as_me: failed program was:" >&5
31270 sed 's/^/| /' conftest.$ac_ext >&5
31272 ac_header_compiler=no
31274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31275 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31276 echo "${ECHO_T}$ac_header_compiler" >&6
31278 # Is the header present?
31279 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31280 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31281 cat >conftest.$ac_ext <<_ACEOF
31282 /* confdefs.h. */
31283 _ACEOF
31284 cat confdefs.h >>conftest.$ac_ext
31285 cat >>conftest.$ac_ext <<_ACEOF
31286 /* end confdefs.h. */
31287 #include <$ac_header>
31288 _ACEOF
31289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31290 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31291 ac_status=$?
31292 grep -v '^ *+' conftest.er1 >conftest.err
31293 rm -f conftest.er1
31294 cat conftest.err >&5
31295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31296 (exit $ac_status); } >/dev/null; then
31297 if test -s conftest.err; then
31298 ac_cpp_err=$ac_c_preproc_warn_flag
31299 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31300 else
31301 ac_cpp_err=
31303 else
31304 ac_cpp_err=yes
31306 if test -z "$ac_cpp_err"; then
31307 ac_header_preproc=yes
31308 else
31309 echo "$as_me: failed program was:" >&5
31310 sed 's/^/| /' conftest.$ac_ext >&5
31312 ac_header_preproc=no
31314 rm -f conftest.err conftest.$ac_ext
31315 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31316 echo "${ECHO_T}$ac_header_preproc" >&6
31318 # So? What about this header?
31319 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31320 yes:no: )
31321 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31322 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31323 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31324 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31325 ac_header_preproc=yes
31327 no:yes:* )
31328 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31329 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31330 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31331 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31332 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31333 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31334 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31335 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31336 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31337 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31338 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31339 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31341 cat <<\_ASBOX
31342 ## ----------------------------------------- ##
31343 ## Report this to the package-unused lists. ##
31344 ## ----------------------------------------- ##
31345 _ASBOX
31347 sed "s/^/$as_me: WARNING: /" >&2
31349 esac
31350 echo "$as_me:$LINENO: checking for $ac_header" >&5
31351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31353 echo $ECHO_N "(cached) $ECHO_C" >&6
31354 else
31355 eval "$as_ac_Header=\$ac_header_preproc"
31357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31361 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31362 cat >>confdefs.h <<_ACEOF
31363 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31364 _ACEOF
31368 done
31371 if test "${glibcxx_cv_POLL+set}" = set; then
31372 echo $ECHO_N "(cached) $ECHO_C" >&6
31373 else
31375 if test x$gcc_no_link = xyes; then
31376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31378 { (exit 1); exit 1; }; }
31380 cat >conftest.$ac_ext <<_ACEOF
31381 /* confdefs.h. */
31382 _ACEOF
31383 cat confdefs.h >>conftest.$ac_ext
31384 cat >>conftest.$ac_ext <<_ACEOF
31385 /* end confdefs.h. */
31386 #include <poll.h>
31388 main ()
31390 struct pollfd pfd[1];
31391 pfd[0].events = POLLIN;
31392 poll(pfd, 1, 0);
31394 return 0;
31396 _ACEOF
31397 rm -f conftest.$ac_objext conftest$ac_exeext
31398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31399 (eval $ac_link) 2>conftest.er1
31400 ac_status=$?
31401 grep -v '^ *+' conftest.er1 >conftest.err
31402 rm -f conftest.er1
31403 cat conftest.err >&5
31404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405 (exit $ac_status); } &&
31406 { ac_try='test -z "$ac_c_werror_flag"
31407 || test ! -s conftest.err'
31408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31409 (eval $ac_try) 2>&5
31410 ac_status=$?
31411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31412 (exit $ac_status); }; } &&
31413 { ac_try='test -s conftest$ac_exeext'
31414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31415 (eval $ac_try) 2>&5
31416 ac_status=$?
31417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31418 (exit $ac_status); }; }; then
31419 glibcxx_cv_POLL=yes
31420 else
31421 echo "$as_me: failed program was:" >&5
31422 sed 's/^/| /' conftest.$ac_ext >&5
31424 glibcxx_cv_POLL=no
31426 rm -f conftest.err conftest.$ac_objext \
31427 conftest$ac_exeext conftest.$ac_ext
31431 if test $glibcxx_cv_POLL = yes; then
31432 cat >>confdefs.h <<\_ACEOF
31433 #define HAVE_POLL 1
31434 _ACEOF
31439 if test "${glibcxx_cv_S_ISREG+set}" = set; then
31440 echo $ECHO_N "(cached) $ECHO_C" >&6
31441 else
31443 if test x$gcc_no_link = xyes; then
31444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31446 { (exit 1); exit 1; }; }
31448 cat >conftest.$ac_ext <<_ACEOF
31449 /* confdefs.h. */
31450 _ACEOF
31451 cat confdefs.h >>conftest.$ac_ext
31452 cat >>conftest.$ac_ext <<_ACEOF
31453 /* end confdefs.h. */
31454 #include <sys/stat.h>
31456 main ()
31458 struct stat buffer;
31459 fstat(0, &buffer);
31460 S_ISREG(buffer.st_mode);
31462 return 0;
31464 _ACEOF
31465 rm -f conftest.$ac_objext conftest$ac_exeext
31466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31467 (eval $ac_link) 2>conftest.er1
31468 ac_status=$?
31469 grep -v '^ *+' conftest.er1 >conftest.err
31470 rm -f conftest.er1
31471 cat conftest.err >&5
31472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31473 (exit $ac_status); } &&
31474 { ac_try='test -z "$ac_c_werror_flag"
31475 || test ! -s conftest.err'
31476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31477 (eval $ac_try) 2>&5
31478 ac_status=$?
31479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31480 (exit $ac_status); }; } &&
31481 { ac_try='test -s conftest$ac_exeext'
31482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31483 (eval $ac_try) 2>&5
31484 ac_status=$?
31485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31486 (exit $ac_status); }; }; then
31487 glibcxx_cv_S_ISREG=yes
31488 else
31489 echo "$as_me: failed program was:" >&5
31490 sed 's/^/| /' conftest.$ac_ext >&5
31492 glibcxx_cv_S_ISREG=no
31494 rm -f conftest.err conftest.$ac_objext \
31495 conftest$ac_exeext conftest.$ac_ext
31499 if test "${glibcxx_cv_S_IFREG+set}" = set; then
31500 echo $ECHO_N "(cached) $ECHO_C" >&6
31501 else
31503 if test x$gcc_no_link = xyes; then
31504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31506 { (exit 1); exit 1; }; }
31508 cat >conftest.$ac_ext <<_ACEOF
31509 /* confdefs.h. */
31510 _ACEOF
31511 cat confdefs.h >>conftest.$ac_ext
31512 cat >>conftest.$ac_ext <<_ACEOF
31513 /* end confdefs.h. */
31514 #include <sys/stat.h>
31516 main ()
31518 struct stat buffer;
31519 fstat(0, &buffer);
31520 S_IFREG & buffer.st_mode;
31522 return 0;
31524 _ACEOF
31525 rm -f conftest.$ac_objext conftest$ac_exeext
31526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31527 (eval $ac_link) 2>conftest.er1
31528 ac_status=$?
31529 grep -v '^ *+' conftest.er1 >conftest.err
31530 rm -f conftest.er1
31531 cat conftest.err >&5
31532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31533 (exit $ac_status); } &&
31534 { ac_try='test -z "$ac_c_werror_flag"
31535 || test ! -s conftest.err'
31536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31537 (eval $ac_try) 2>&5
31538 ac_status=$?
31539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31540 (exit $ac_status); }; } &&
31541 { ac_try='test -s conftest$ac_exeext'
31542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31543 (eval $ac_try) 2>&5
31544 ac_status=$?
31545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31546 (exit $ac_status); }; }; then
31547 glibcxx_cv_S_IFREG=yes
31548 else
31549 echo "$as_me: failed program was:" >&5
31550 sed 's/^/| /' conftest.$ac_ext >&5
31552 glibcxx_cv_S_IFREG=no
31554 rm -f conftest.err conftest.$ac_objext \
31555 conftest$ac_exeext conftest.$ac_ext
31559 if test $glibcxx_cv_S_ISREG = yes; then
31560 cat >>confdefs.h <<\_ACEOF
31561 #define HAVE_S_ISREG 1
31562 _ACEOF
31564 elif test $glibcxx_cv_S_IFREG = yes; then
31565 cat >>confdefs.h <<\_ACEOF
31566 #define HAVE_S_IFREG 1
31567 _ACEOF
31572 # For xsputn_2().
31574 for ac_header in sys/uio.h
31576 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31578 echo "$as_me:$LINENO: checking for $ac_header" >&5
31579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31581 echo $ECHO_N "(cached) $ECHO_C" >&6
31583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31585 else
31586 # Is the header compilable?
31587 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31588 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31589 cat >conftest.$ac_ext <<_ACEOF
31590 /* confdefs.h. */
31591 _ACEOF
31592 cat confdefs.h >>conftest.$ac_ext
31593 cat >>conftest.$ac_ext <<_ACEOF
31594 /* end confdefs.h. */
31595 $ac_includes_default
31596 #include <$ac_header>
31597 _ACEOF
31598 rm -f conftest.$ac_objext
31599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31600 (eval $ac_compile) 2>conftest.er1
31601 ac_status=$?
31602 grep -v '^ *+' conftest.er1 >conftest.err
31603 rm -f conftest.er1
31604 cat conftest.err >&5
31605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31606 (exit $ac_status); } &&
31607 { ac_try='test -z "$ac_c_werror_flag"
31608 || test ! -s conftest.err'
31609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31610 (eval $ac_try) 2>&5
31611 ac_status=$?
31612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31613 (exit $ac_status); }; } &&
31614 { ac_try='test -s conftest.$ac_objext'
31615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31616 (eval $ac_try) 2>&5
31617 ac_status=$?
31618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31619 (exit $ac_status); }; }; then
31620 ac_header_compiler=yes
31621 else
31622 echo "$as_me: failed program was:" >&5
31623 sed 's/^/| /' conftest.$ac_ext >&5
31625 ac_header_compiler=no
31627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31628 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31629 echo "${ECHO_T}$ac_header_compiler" >&6
31631 # Is the header present?
31632 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31633 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31634 cat >conftest.$ac_ext <<_ACEOF
31635 /* confdefs.h. */
31636 _ACEOF
31637 cat confdefs.h >>conftest.$ac_ext
31638 cat >>conftest.$ac_ext <<_ACEOF
31639 /* end confdefs.h. */
31640 #include <$ac_header>
31641 _ACEOF
31642 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31643 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31644 ac_status=$?
31645 grep -v '^ *+' conftest.er1 >conftest.err
31646 rm -f conftest.er1
31647 cat conftest.err >&5
31648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31649 (exit $ac_status); } >/dev/null; then
31650 if test -s conftest.err; then
31651 ac_cpp_err=$ac_c_preproc_warn_flag
31652 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31653 else
31654 ac_cpp_err=
31656 else
31657 ac_cpp_err=yes
31659 if test -z "$ac_cpp_err"; then
31660 ac_header_preproc=yes
31661 else
31662 echo "$as_me: failed program was:" >&5
31663 sed 's/^/| /' conftest.$ac_ext >&5
31665 ac_header_preproc=no
31667 rm -f conftest.err conftest.$ac_ext
31668 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31669 echo "${ECHO_T}$ac_header_preproc" >&6
31671 # So? What about this header?
31672 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31673 yes:no: )
31674 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31675 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31676 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31677 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31678 ac_header_preproc=yes
31680 no:yes:* )
31681 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31682 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31683 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31684 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31685 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31686 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31687 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31688 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31690 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31691 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31692 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31694 cat <<\_ASBOX
31695 ## ----------------------------------------- ##
31696 ## Report this to the package-unused lists. ##
31697 ## ----------------------------------------- ##
31698 _ASBOX
31700 sed "s/^/$as_me: WARNING: /" >&2
31702 esac
31703 echo "$as_me:$LINENO: checking for $ac_header" >&5
31704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31706 echo $ECHO_N "(cached) $ECHO_C" >&6
31707 else
31708 eval "$as_ac_Header=\$ac_header_preproc"
31710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31711 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31715 cat >>confdefs.h <<_ACEOF
31716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31717 _ACEOF
31721 done
31724 if test "${glibcxx_cv_WRITEV+set}" = set; then
31725 echo $ECHO_N "(cached) $ECHO_C" >&6
31726 else
31728 if test x$gcc_no_link = xyes; then
31729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31731 { (exit 1); exit 1; }; }
31733 cat >conftest.$ac_ext <<_ACEOF
31734 /* confdefs.h. */
31735 _ACEOF
31736 cat confdefs.h >>conftest.$ac_ext
31737 cat >>conftest.$ac_ext <<_ACEOF
31738 /* end confdefs.h. */
31739 #include <sys/uio.h>
31741 main ()
31743 struct iovec iov[2];
31744 writev(0, iov, 0);
31746 return 0;
31748 _ACEOF
31749 rm -f conftest.$ac_objext conftest$ac_exeext
31750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31751 (eval $ac_link) 2>conftest.er1
31752 ac_status=$?
31753 grep -v '^ *+' conftest.er1 >conftest.err
31754 rm -f conftest.er1
31755 cat conftest.err >&5
31756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31757 (exit $ac_status); } &&
31758 { ac_try='test -z "$ac_c_werror_flag"
31759 || test ! -s conftest.err'
31760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31761 (eval $ac_try) 2>&5
31762 ac_status=$?
31763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31764 (exit $ac_status); }; } &&
31765 { ac_try='test -s conftest$ac_exeext'
31766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31767 (eval $ac_try) 2>&5
31768 ac_status=$?
31769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31770 (exit $ac_status); }; }; then
31771 glibcxx_cv_WRITEV=yes
31772 else
31773 echo "$as_me: failed program was:" >&5
31774 sed 's/^/| /' conftest.$ac_ext >&5
31776 glibcxx_cv_WRITEV=no
31778 rm -f conftest.err conftest.$ac_objext \
31779 conftest$ac_exeext conftest.$ac_ext
31783 if test $glibcxx_cv_WRITEV = yes; then
31784 cat >>confdefs.h <<\_ACEOF
31785 #define HAVE_WRITEV 1
31786 _ACEOF
31791 # For the __streamoff_base_type typedef.
31793 if test "${glibcxx_cv_INT64_T+set}" = set; then
31794 echo $ECHO_N "(cached) $ECHO_C" >&6
31795 else
31797 cat >conftest.$ac_ext <<_ACEOF
31798 /* confdefs.h. */
31799 _ACEOF
31800 cat confdefs.h >>conftest.$ac_ext
31801 cat >>conftest.$ac_ext <<_ACEOF
31802 /* end confdefs.h. */
31803 #include <stdint.h>
31805 main ()
31807 int64_t var;
31809 return 0;
31811 _ACEOF
31812 rm -f conftest.$ac_objext
31813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31814 (eval $ac_compile) 2>conftest.er1
31815 ac_status=$?
31816 grep -v '^ *+' conftest.er1 >conftest.err
31817 rm -f conftest.er1
31818 cat conftest.err >&5
31819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31820 (exit $ac_status); } &&
31821 { ac_try='test -z "$ac_c_werror_flag"
31822 || test ! -s conftest.err'
31823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31824 (eval $ac_try) 2>&5
31825 ac_status=$?
31826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31827 (exit $ac_status); }; } &&
31828 { ac_try='test -s conftest.$ac_objext'
31829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31830 (eval $ac_try) 2>&5
31831 ac_status=$?
31832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31833 (exit $ac_status); }; }; then
31834 glibcxx_cv_INT64_T=yes
31835 else
31836 echo "$as_me: failed program was:" >&5
31837 sed 's/^/| /' conftest.$ac_ext >&5
31839 glibcxx_cv_INT64_T=no
31841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31845 if test $glibcxx_cv_INT64_T = yes; then
31846 cat >>confdefs.h <<\_ACEOF
31847 #define HAVE_INT64_T 1
31848 _ACEOF
31853 # For LFS support.
31857 ac_ext=cc
31858 ac_cpp='$CXXCPP $CPPFLAGS'
31859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31863 ac_save_CXXFLAGS="$CXXFLAGS"
31864 CXXFLAGS="$CXXFLAGS -fno-exceptions"
31865 if test "${glibcxx_cv_LFS+set}" = set; then
31866 echo $ECHO_N "(cached) $ECHO_C" >&6
31867 else
31869 if test x$gcc_no_link = xyes; then
31870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31872 { (exit 1); exit 1; }; }
31874 cat >conftest.$ac_ext <<_ACEOF
31875 /* confdefs.h. */
31876 _ACEOF
31877 cat confdefs.h >>conftest.$ac_ext
31878 cat >>conftest.$ac_ext <<_ACEOF
31879 /* end confdefs.h. */
31880 #include <unistd.h>
31881 #include <stdio.h>
31882 #include <sys/stat.h>
31885 main ()
31887 FILE* fp;
31888 fopen64("t", "w");
31889 fseeko64(fp, 0, SEEK_CUR);
31890 ftello64(fp);
31891 lseek64(1, 0, SEEK_CUR);
31892 struct stat64 buf;
31893 fstat64(1, &buf);
31895 return 0;
31897 _ACEOF
31898 rm -f conftest.$ac_objext conftest$ac_exeext
31899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31900 (eval $ac_link) 2>conftest.er1
31901 ac_status=$?
31902 grep -v '^ *+' conftest.er1 >conftest.err
31903 rm -f conftest.er1
31904 cat conftest.err >&5
31905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31906 (exit $ac_status); } &&
31907 { ac_try='test -z "$ac_cxx_werror_flag"
31908 || test ! -s conftest.err'
31909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31910 (eval $ac_try) 2>&5
31911 ac_status=$?
31912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31913 (exit $ac_status); }; } &&
31914 { ac_try='test -s conftest$ac_exeext'
31915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31916 (eval $ac_try) 2>&5
31917 ac_status=$?
31918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31919 (exit $ac_status); }; }; then
31920 glibcxx_cv_LFS=yes
31921 else
31922 echo "$as_me: failed program was:" >&5
31923 sed 's/^/| /' conftest.$ac_ext >&5
31925 glibcxx_cv_LFS=no
31927 rm -f conftest.err conftest.$ac_objext \
31928 conftest$ac_exeext conftest.$ac_ext
31932 if test $glibcxx_cv_LFS = yes; then
31933 cat >>confdefs.h <<\_ACEOF
31934 #define _GLIBCXX_USE_LFS 1
31935 _ACEOF
31938 CXXFLAGS="$ac_save_CXXFLAGS"
31939 ac_ext=c
31940 ac_cpp='$CPP $CPPFLAGS'
31941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31948 if test "${ac_cv_header_locale_h+set}" = set; then
31949 echo "$as_me:$LINENO: checking for locale.h" >&5
31950 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31951 if test "${ac_cv_header_locale_h+set}" = set; then
31952 echo $ECHO_N "(cached) $ECHO_C" >&6
31954 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31955 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31956 else
31957 # Is the header compilable?
31958 echo "$as_me:$LINENO: checking locale.h usability" >&5
31959 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
31960 cat >conftest.$ac_ext <<_ACEOF
31961 /* confdefs.h. */
31962 _ACEOF
31963 cat confdefs.h >>conftest.$ac_ext
31964 cat >>conftest.$ac_ext <<_ACEOF
31965 /* end confdefs.h. */
31966 $ac_includes_default
31967 #include <locale.h>
31968 _ACEOF
31969 rm -f conftest.$ac_objext
31970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31971 (eval $ac_compile) 2>conftest.er1
31972 ac_status=$?
31973 grep -v '^ *+' conftest.er1 >conftest.err
31974 rm -f conftest.er1
31975 cat conftest.err >&5
31976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31977 (exit $ac_status); } &&
31978 { ac_try='test -z "$ac_c_werror_flag"
31979 || test ! -s conftest.err'
31980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31981 (eval $ac_try) 2>&5
31982 ac_status=$?
31983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31984 (exit $ac_status); }; } &&
31985 { ac_try='test -s conftest.$ac_objext'
31986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31987 (eval $ac_try) 2>&5
31988 ac_status=$?
31989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31990 (exit $ac_status); }; }; then
31991 ac_header_compiler=yes
31992 else
31993 echo "$as_me: failed program was:" >&5
31994 sed 's/^/| /' conftest.$ac_ext >&5
31996 ac_header_compiler=no
31998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31999 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32000 echo "${ECHO_T}$ac_header_compiler" >&6
32002 # Is the header present?
32003 echo "$as_me:$LINENO: checking locale.h presence" >&5
32004 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
32005 cat >conftest.$ac_ext <<_ACEOF
32006 /* confdefs.h. */
32007 _ACEOF
32008 cat confdefs.h >>conftest.$ac_ext
32009 cat >>conftest.$ac_ext <<_ACEOF
32010 /* end confdefs.h. */
32011 #include <locale.h>
32012 _ACEOF
32013 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32014 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32015 ac_status=$?
32016 grep -v '^ *+' conftest.er1 >conftest.err
32017 rm -f conftest.er1
32018 cat conftest.err >&5
32019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32020 (exit $ac_status); } >/dev/null; then
32021 if test -s conftest.err; then
32022 ac_cpp_err=$ac_c_preproc_warn_flag
32023 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32024 else
32025 ac_cpp_err=
32027 else
32028 ac_cpp_err=yes
32030 if test -z "$ac_cpp_err"; then
32031 ac_header_preproc=yes
32032 else
32033 echo "$as_me: failed program was:" >&5
32034 sed 's/^/| /' conftest.$ac_ext >&5
32036 ac_header_preproc=no
32038 rm -f conftest.err conftest.$ac_ext
32039 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32040 echo "${ECHO_T}$ac_header_preproc" >&6
32042 # So? What about this header?
32043 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32044 yes:no: )
32045 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
32046 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32047 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
32048 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
32049 ac_header_preproc=yes
32051 no:yes:* )
32052 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
32053 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
32054 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
32055 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
32056 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
32057 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
32058 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
32059 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
32060 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
32061 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
32062 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
32063 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
32065 cat <<\_ASBOX
32066 ## ----------------------------------------- ##
32067 ## Report this to the package-unused lists. ##
32068 ## ----------------------------------------- ##
32069 _ASBOX
32071 sed "s/^/$as_me: WARNING: /" >&2
32073 esac
32074 echo "$as_me:$LINENO: checking for locale.h" >&5
32075 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
32076 if test "${ac_cv_header_locale_h+set}" = set; then
32077 echo $ECHO_N "(cached) $ECHO_C" >&6
32078 else
32079 ac_cv_header_locale_h=$ac_header_preproc
32081 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
32082 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
32085 if test $ac_cv_header_locale_h = yes; then
32087 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
32088 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
32089 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
32090 echo $ECHO_N "(cached) $ECHO_C" >&6
32091 else
32092 if test x$gcc_no_link = xyes; then
32093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32095 { (exit 1); exit 1; }; }
32097 cat >conftest.$ac_ext <<_ACEOF
32098 /* confdefs.h. */
32099 _ACEOF
32100 cat confdefs.h >>conftest.$ac_ext
32101 cat >>conftest.$ac_ext <<_ACEOF
32102 /* end confdefs.h. */
32103 #include <locale.h>
32105 main ()
32107 return LC_MESSAGES
32109 return 0;
32111 _ACEOF
32112 rm -f conftest.$ac_objext conftest$ac_exeext
32113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32114 (eval $ac_link) 2>conftest.er1
32115 ac_status=$?
32116 grep -v '^ *+' conftest.er1 >conftest.err
32117 rm -f conftest.er1
32118 cat conftest.err >&5
32119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32120 (exit $ac_status); } &&
32121 { ac_try='test -z "$ac_c_werror_flag"
32122 || test ! -s conftest.err'
32123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32124 (eval $ac_try) 2>&5
32125 ac_status=$?
32126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32127 (exit $ac_status); }; } &&
32128 { ac_try='test -s conftest$ac_exeext'
32129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32130 (eval $ac_try) 2>&5
32131 ac_status=$?
32132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32133 (exit $ac_status); }; }; then
32134 ac_cv_val_LC_MESSAGES=yes
32135 else
32136 echo "$as_me: failed program was:" >&5
32137 sed 's/^/| /' conftest.$ac_ext >&5
32139 ac_cv_val_LC_MESSAGES=no
32141 rm -f conftest.err conftest.$ac_objext \
32142 conftest$ac_exeext conftest.$ac_ext
32144 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
32145 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
32146 if test $ac_cv_val_LC_MESSAGES = yes; then
32147 cat >>confdefs.h <<\_ACEOF
32148 #define HAVE_LC_MESSAGES 1
32149 _ACEOF
32158 cat >conftest.$ac_ext <<_ACEOF
32159 /* confdefs.h. */
32160 _ACEOF
32161 cat confdefs.h >>conftest.$ac_ext
32162 cat >>conftest.$ac_ext <<_ACEOF
32163 /* end confdefs.h. */
32164 #include <setjmp.h>
32166 main ()
32168 sigjmp_buf env;
32169 while (! sigsetjmp (env, 1))
32170 siglongjmp (env, 1);
32173 return 0;
32175 _ACEOF
32176 rm -f conftest.$ac_objext
32177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32178 (eval $ac_compile) 2>conftest.er1
32179 ac_status=$?
32180 grep -v '^ *+' conftest.er1 >conftest.err
32181 rm -f conftest.er1
32182 cat conftest.err >&5
32183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32184 (exit $ac_status); } &&
32185 { ac_try='test -z "$ac_c_werror_flag"
32186 || test ! -s conftest.err'
32187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32188 (eval $ac_try) 2>&5
32189 ac_status=$?
32190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32191 (exit $ac_status); }; } &&
32192 { ac_try='test -s conftest.$ac_objext'
32193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32194 (eval $ac_try) 2>&5
32195 ac_status=$?
32196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32197 (exit $ac_status); }; }; then
32199 cat >>confdefs.h <<\_ACEOF
32200 #define HAVE_SIGSETJMP 1
32201 _ACEOF
32203 else
32204 echo "$as_me: failed program was:" >&5
32205 sed 's/^/| /' conftest.$ac_ext >&5
32208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32210 if test x$gcc_no_link = xyes; then
32211 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
32212 ac_cv_func_mmap_fixed_mapped=no
32215 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
32218 for ac_header in stdlib.h unistd.h
32220 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32221 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32222 echo "$as_me:$LINENO: checking for $ac_header" >&5
32223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32225 echo $ECHO_N "(cached) $ECHO_C" >&6
32227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32228 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32229 else
32230 # Is the header compilable?
32231 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32232 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32233 cat >conftest.$ac_ext <<_ACEOF
32234 /* confdefs.h. */
32235 _ACEOF
32236 cat confdefs.h >>conftest.$ac_ext
32237 cat >>conftest.$ac_ext <<_ACEOF
32238 /* end confdefs.h. */
32239 $ac_includes_default
32240 #include <$ac_header>
32241 _ACEOF
32242 rm -f conftest.$ac_objext
32243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32244 (eval $ac_compile) 2>conftest.er1
32245 ac_status=$?
32246 grep -v '^ *+' conftest.er1 >conftest.err
32247 rm -f conftest.er1
32248 cat conftest.err >&5
32249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32250 (exit $ac_status); } &&
32251 { ac_try='test -z "$ac_c_werror_flag"
32252 || test ! -s conftest.err'
32253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32254 (eval $ac_try) 2>&5
32255 ac_status=$?
32256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32257 (exit $ac_status); }; } &&
32258 { ac_try='test -s conftest.$ac_objext'
32259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32260 (eval $ac_try) 2>&5
32261 ac_status=$?
32262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32263 (exit $ac_status); }; }; then
32264 ac_header_compiler=yes
32265 else
32266 echo "$as_me: failed program was:" >&5
32267 sed 's/^/| /' conftest.$ac_ext >&5
32269 ac_header_compiler=no
32271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32272 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32273 echo "${ECHO_T}$ac_header_compiler" >&6
32275 # Is the header present?
32276 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32277 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32278 cat >conftest.$ac_ext <<_ACEOF
32279 /* confdefs.h. */
32280 _ACEOF
32281 cat confdefs.h >>conftest.$ac_ext
32282 cat >>conftest.$ac_ext <<_ACEOF
32283 /* end confdefs.h. */
32284 #include <$ac_header>
32285 _ACEOF
32286 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32287 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32288 ac_status=$?
32289 grep -v '^ *+' conftest.er1 >conftest.err
32290 rm -f conftest.er1
32291 cat conftest.err >&5
32292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32293 (exit $ac_status); } >/dev/null; then
32294 if test -s conftest.err; then
32295 ac_cpp_err=$ac_c_preproc_warn_flag
32296 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32297 else
32298 ac_cpp_err=
32300 else
32301 ac_cpp_err=yes
32303 if test -z "$ac_cpp_err"; then
32304 ac_header_preproc=yes
32305 else
32306 echo "$as_me: failed program was:" >&5
32307 sed 's/^/| /' conftest.$ac_ext >&5
32309 ac_header_preproc=no
32311 rm -f conftest.err conftest.$ac_ext
32312 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32313 echo "${ECHO_T}$ac_header_preproc" >&6
32315 # So? What about this header?
32316 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32317 yes:no: )
32318 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32319 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32320 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32321 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32322 ac_header_preproc=yes
32324 no:yes:* )
32325 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32326 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32327 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32328 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32329 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32330 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32331 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32332 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32333 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32334 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32335 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32336 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32338 cat <<\_ASBOX
32339 ## ----------------------------------------- ##
32340 ## Report this to the package-unused lists. ##
32341 ## ----------------------------------------- ##
32342 _ASBOX
32344 sed "s/^/$as_me: WARNING: /" >&2
32346 esac
32347 echo "$as_me:$LINENO: checking for $ac_header" >&5
32348 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32350 echo $ECHO_N "(cached) $ECHO_C" >&6
32351 else
32352 eval "$as_ac_Header=\$ac_header_preproc"
32354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32355 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32358 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32359 cat >>confdefs.h <<_ACEOF
32360 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32361 _ACEOF
32365 done
32368 for ac_func in getpagesize
32370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32371 echo "$as_me:$LINENO: checking for $ac_func" >&5
32372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32373 if eval "test \"\${$as_ac_var+set}\" = set"; then
32374 echo $ECHO_N "(cached) $ECHO_C" >&6
32375 else
32376 if test x$gcc_no_link = xyes; then
32377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32379 { (exit 1); exit 1; }; }
32381 cat >conftest.$ac_ext <<_ACEOF
32382 /* confdefs.h. */
32383 _ACEOF
32384 cat confdefs.h >>conftest.$ac_ext
32385 cat >>conftest.$ac_ext <<_ACEOF
32386 /* end confdefs.h. */
32387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32389 #define $ac_func innocuous_$ac_func
32391 /* System header to define __stub macros and hopefully few prototypes,
32392 which can conflict with char $ac_func (); below.
32393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32394 <limits.h> exists even on freestanding compilers. */
32396 #ifdef __STDC__
32397 # include <limits.h>
32398 #else
32399 # include <assert.h>
32400 #endif
32402 #undef $ac_func
32404 /* Override any gcc2 internal prototype to avoid an error. */
32405 #ifdef __cplusplus
32406 extern "C"
32408 #endif
32409 /* We use char because int might match the return type of a gcc2
32410 builtin and then its argument prototype would still apply. */
32411 char $ac_func ();
32412 /* The GNU C library defines this for functions which it implements
32413 to always fail with ENOSYS. Some functions are actually named
32414 something starting with __ and the normal name is an alias. */
32415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32416 choke me
32417 #else
32418 char (*f) () = $ac_func;
32419 #endif
32420 #ifdef __cplusplus
32422 #endif
32425 main ()
32427 return f != $ac_func;
32429 return 0;
32431 _ACEOF
32432 rm -f conftest.$ac_objext conftest$ac_exeext
32433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32434 (eval $ac_link) 2>conftest.er1
32435 ac_status=$?
32436 grep -v '^ *+' conftest.er1 >conftest.err
32437 rm -f conftest.er1
32438 cat conftest.err >&5
32439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32440 (exit $ac_status); } &&
32441 { ac_try='test -z "$ac_c_werror_flag"
32442 || test ! -s conftest.err'
32443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32444 (eval $ac_try) 2>&5
32445 ac_status=$?
32446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32447 (exit $ac_status); }; } &&
32448 { ac_try='test -s conftest$ac_exeext'
32449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32450 (eval $ac_try) 2>&5
32451 ac_status=$?
32452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32453 (exit $ac_status); }; }; then
32454 eval "$as_ac_var=yes"
32455 else
32456 echo "$as_me: failed program was:" >&5
32457 sed 's/^/| /' conftest.$ac_ext >&5
32459 eval "$as_ac_var=no"
32461 rm -f conftest.err conftest.$ac_objext \
32462 conftest$ac_exeext conftest.$ac_ext
32464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32466 if test `eval echo '${'$as_ac_var'}'` = yes; then
32467 cat >>confdefs.h <<_ACEOF
32468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32469 _ACEOF
32472 done
32474 echo "$as_me:$LINENO: checking for working mmap" >&5
32475 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
32476 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
32477 echo $ECHO_N "(cached) $ECHO_C" >&6
32478 else
32479 if test "$cross_compiling" = yes; then
32480 ac_cv_func_mmap_fixed_mapped=no
32481 else
32482 cat >conftest.$ac_ext <<_ACEOF
32483 /* confdefs.h. */
32484 _ACEOF
32485 cat confdefs.h >>conftest.$ac_ext
32486 cat >>conftest.$ac_ext <<_ACEOF
32487 /* end confdefs.h. */
32488 $ac_includes_default
32489 /* malloc might have been renamed as rpl_malloc. */
32490 #undef malloc
32492 /* Thanks to Mike Haertel and Jim Avera for this test.
32493 Here is a matrix of mmap possibilities:
32494 mmap private not fixed
32495 mmap private fixed at somewhere currently unmapped
32496 mmap private fixed at somewhere already mapped
32497 mmap shared not fixed
32498 mmap shared fixed at somewhere currently unmapped
32499 mmap shared fixed at somewhere already mapped
32500 For private mappings, we should verify that changes cannot be read()
32501 back from the file, nor mmap's back from the file at a different
32502 address. (There have been systems where private was not correctly
32503 implemented like the infamous i386 svr4.0, and systems where the
32504 VM page cache was not coherent with the file system buffer cache
32505 like early versions of FreeBSD and possibly contemporary NetBSD.)
32506 For shared mappings, we should conversely verify that changes get
32507 propagated back to all the places they're supposed to be.
32509 Grep wants private fixed already mapped.
32510 The main things grep needs to know about mmap are:
32511 * does it exist and is it safe to write into the mmap'd area
32512 * how to use it (BSD variants) */
32514 #include <fcntl.h>
32515 #include <sys/mman.h>
32517 #if !STDC_HEADERS && !HAVE_STDLIB_H
32518 char *malloc ();
32519 #endif
32521 /* This mess was copied from the GNU getpagesize.h. */
32522 #if !HAVE_GETPAGESIZE
32523 /* Assume that all systems that can run configure have sys/param.h. */
32524 # if !HAVE_SYS_PARAM_H
32525 # define HAVE_SYS_PARAM_H 1
32526 # endif
32528 # ifdef _SC_PAGESIZE
32529 # define getpagesize() sysconf(_SC_PAGESIZE)
32530 # else /* no _SC_PAGESIZE */
32531 # if HAVE_SYS_PARAM_H
32532 # include <sys/param.h>
32533 # ifdef EXEC_PAGESIZE
32534 # define getpagesize() EXEC_PAGESIZE
32535 # else /* no EXEC_PAGESIZE */
32536 # ifdef NBPG
32537 # define getpagesize() NBPG * CLSIZE
32538 # ifndef CLSIZE
32539 # define CLSIZE 1
32540 # endif /* no CLSIZE */
32541 # else /* no NBPG */
32542 # ifdef NBPC
32543 # define getpagesize() NBPC
32544 # else /* no NBPC */
32545 # ifdef PAGESIZE
32546 # define getpagesize() PAGESIZE
32547 # endif /* PAGESIZE */
32548 # endif /* no NBPC */
32549 # endif /* no NBPG */
32550 # endif /* no EXEC_PAGESIZE */
32551 # else /* no HAVE_SYS_PARAM_H */
32552 # define getpagesize() 8192 /* punt totally */
32553 # endif /* no HAVE_SYS_PARAM_H */
32554 # endif /* no _SC_PAGESIZE */
32556 #endif /* no HAVE_GETPAGESIZE */
32559 main ()
32561 char *data, *data2, *data3;
32562 int i, pagesize;
32563 int fd;
32565 pagesize = getpagesize ();
32567 /* First, make a file with some known garbage in it. */
32568 data = (char *) malloc (pagesize);
32569 if (!data)
32570 exit (1);
32571 for (i = 0; i < pagesize; ++i)
32572 *(data + i) = rand ();
32573 umask (0);
32574 fd = creat ("conftest.mmap", 0600);
32575 if (fd < 0)
32576 exit (1);
32577 if (write (fd, data, pagesize) != pagesize)
32578 exit (1);
32579 close (fd);
32581 /* Next, try to mmap the file at a fixed address which already has
32582 something else allocated at it. If we can, also make sure that
32583 we see the same garbage. */
32584 fd = open ("conftest.mmap", O_RDWR);
32585 if (fd < 0)
32586 exit (1);
32587 data2 = (char *) malloc (2 * pagesize);
32588 if (!data2)
32589 exit (1);
32590 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
32591 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
32592 MAP_PRIVATE | MAP_FIXED, fd, 0L))
32593 exit (1);
32594 for (i = 0; i < pagesize; ++i)
32595 if (*(data + i) != *(data2 + i))
32596 exit (1);
32598 /* Finally, make sure that changes to the mapped area do not
32599 percolate back to the file as seen by read(). (This is a bug on
32600 some variants of i386 svr4.0.) */
32601 for (i = 0; i < pagesize; ++i)
32602 *(data2 + i) = *(data2 + i) + 1;
32603 data3 = (char *) malloc (pagesize);
32604 if (!data3)
32605 exit (1);
32606 if (read (fd, data3, pagesize) != pagesize)
32607 exit (1);
32608 for (i = 0; i < pagesize; ++i)
32609 if (*(data + i) != *(data3 + i))
32610 exit (1);
32611 close (fd);
32612 exit (0);
32614 _ACEOF
32615 rm -f conftest$ac_exeext
32616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32617 (eval $ac_link) 2>&5
32618 ac_status=$?
32619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32620 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32622 (eval $ac_try) 2>&5
32623 ac_status=$?
32624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32625 (exit $ac_status); }; }; then
32626 ac_cv_func_mmap_fixed_mapped=yes
32627 else
32628 echo "$as_me: program exited with status $ac_status" >&5
32629 echo "$as_me: failed program was:" >&5
32630 sed 's/^/| /' conftest.$ac_ext >&5
32632 ( exit $ac_status )
32633 ac_cv_func_mmap_fixed_mapped=no
32635 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32638 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
32639 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
32640 if test $ac_cv_func_mmap_fixed_mapped = yes; then
32642 cat >>confdefs.h <<\_ACEOF
32643 #define HAVE_MMAP 1
32644 _ACEOF
32647 rm -f conftest.mmap
32651 else
32653 # This lets us hard-code the functionality we know we'll have in the cross
32654 # target environment. "Let" is a sugar-coated word placed on an especially
32655 # dull and tedious hack, actually.
32657 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
32658 # that involve linking, can't be used:
32659 # "cannot open sim-crt0.o"
32660 # "cannot open crt0.o"
32661 # etc. All this is because there currently exists no unified, consistent
32662 # way for top level CC information to be passed down to target directories:
32663 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
32664 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
32665 # crosses can be removed.
32667 # If Canadian cross, then don't pick up tools from the build directory.
32668 # Used only in GLIBCXX_EXPORT_INCLUDES.
32669 if test -n "$with_cross_host" &&
32670 test x"$build_alias" != x"$with_cross_host" &&
32671 test x"$build" != x"$target";
32672 then
32673 CANADIAN=yes
32674 else
32675 CANADIAN=no
32678 # Construct crosses by hand, eliminating bits that need ld...
32679 # GLIBCXX_CHECK_COMPILER_FEATURES
32680 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
32681 # GLIBCXX_CHECK_MATH_SUPPORT
32683 # First, test for "known" system libraries. We may be using newlib even
32684 # on a hosted environment.
32685 if test "x${with_newlib}" = "xyes"; then
32686 os_include_dir="os/newlib"
32687 cat >>confdefs.h <<\_ACEOF
32688 #define HAVE_HYPOT 1
32689 _ACEOF
32692 # GLIBCXX_CHECK_STDLIB_SUPPORT
32693 cat >>confdefs.h <<\_ACEOF
32694 #define HAVE_STRTOF 1
32695 _ACEOF
32697 # AC_FUNC_MMAP
32698 cat >>confdefs.h <<\_ACEOF
32699 #define HAVE_MMAP 1
32700 _ACEOF
32703 cat >>confdefs.h <<\_ACEOF
32704 #define HAVE_ACOSF 1
32705 _ACEOF
32707 cat >>confdefs.h <<\_ACEOF
32708 #define HAVE_ASINF 1
32709 _ACEOF
32711 cat >>confdefs.h <<\_ACEOF
32712 #define HAVE_ATAN2F 1
32713 _ACEOF
32715 cat >>confdefs.h <<\_ACEOF
32716 #define HAVE_ATANF 1
32717 _ACEOF
32719 cat >>confdefs.h <<\_ACEOF
32720 #define HAVE_CEILF 1
32721 _ACEOF
32723 cat >>confdefs.h <<\_ACEOF
32724 #define HAVE_COPYSIGN 1
32725 _ACEOF
32727 cat >>confdefs.h <<\_ACEOF
32728 #define HAVE_COPYSIGNF 1
32729 _ACEOF
32731 cat >>confdefs.h <<\_ACEOF
32732 #define HAVE_COSF 1
32733 _ACEOF
32735 cat >>confdefs.h <<\_ACEOF
32736 #define HAVE_COSHF 1
32737 _ACEOF
32739 cat >>confdefs.h <<\_ACEOF
32740 #define HAVE_EXPF 1
32741 _ACEOF
32743 cat >>confdefs.h <<\_ACEOF
32744 #define HAVE_FABSF 1
32745 _ACEOF
32747 cat >>confdefs.h <<\_ACEOF
32748 #define HAVE_FLOORF 1
32749 _ACEOF
32751 cat >>confdefs.h <<\_ACEOF
32752 #define HAVE_FMODF 1
32753 _ACEOF
32755 cat >>confdefs.h <<\_ACEOF
32756 #define HAVE_FREXPF 1
32757 _ACEOF
32759 cat >>confdefs.h <<\_ACEOF
32760 #define HAVE_LDEXPF 1
32761 _ACEOF
32763 cat >>confdefs.h <<\_ACEOF
32764 #define HAVE_LOG10F 1
32765 _ACEOF
32767 cat >>confdefs.h <<\_ACEOF
32768 #define HAVE_LOGF 1
32769 _ACEOF
32771 cat >>confdefs.h <<\_ACEOF
32772 #define HAVE_MODFF 1
32773 _ACEOF
32775 cat >>confdefs.h <<\_ACEOF
32776 #define HAVE_POWF 1
32777 _ACEOF
32779 cat >>confdefs.h <<\_ACEOF
32780 #define HAVE_SINF 1
32781 _ACEOF
32783 cat >>confdefs.h <<\_ACEOF
32784 #define HAVE_SINHF 1
32785 _ACEOF
32787 cat >>confdefs.h <<\_ACEOF
32788 #define HAVE_SQRTF 1
32789 _ACEOF
32791 cat >>confdefs.h <<\_ACEOF
32792 #define HAVE_TANF 1
32793 _ACEOF
32795 cat >>confdefs.h <<\_ACEOF
32796 #define HAVE_TANHF 1
32797 _ACEOF
32800 cat >>confdefs.h <<\_ACEOF
32801 #define HAVE_S_ISREG 1
32802 _ACEOF
32804 cat >>confdefs.h <<\_ACEOF
32805 #define HAVE_S_IFREG 1
32806 _ACEOF
32808 else
32810 # Base decisions on target environment.
32811 case "${host}" in
32812 arm*-*-symbianelf*)
32813 # This is a freestanding configuration; there is nothing to do here.
32816 *-darwin*)
32817 # Darwin versions vary, but the linker should work in a cross environment,
32818 # so we just check for all the features here.
32819 # Check for available headers.
32833 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
32834 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
32835 sys/types.h
32837 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32839 echo "$as_me:$LINENO: checking for $ac_header" >&5
32840 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32842 echo $ECHO_N "(cached) $ECHO_C" >&6
32844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32845 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32846 else
32847 # Is the header compilable?
32848 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32849 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32850 cat >conftest.$ac_ext <<_ACEOF
32851 /* confdefs.h. */
32852 _ACEOF
32853 cat confdefs.h >>conftest.$ac_ext
32854 cat >>conftest.$ac_ext <<_ACEOF
32855 /* end confdefs.h. */
32856 $ac_includes_default
32857 #include <$ac_header>
32858 _ACEOF
32859 rm -f conftest.$ac_objext
32860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32861 (eval $ac_compile) 2>conftest.er1
32862 ac_status=$?
32863 grep -v '^ *+' conftest.er1 >conftest.err
32864 rm -f conftest.er1
32865 cat conftest.err >&5
32866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32867 (exit $ac_status); } &&
32868 { ac_try='test -z "$ac_c_werror_flag"
32869 || test ! -s conftest.err'
32870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32871 (eval $ac_try) 2>&5
32872 ac_status=$?
32873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32874 (exit $ac_status); }; } &&
32875 { ac_try='test -s conftest.$ac_objext'
32876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32877 (eval $ac_try) 2>&5
32878 ac_status=$?
32879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32880 (exit $ac_status); }; }; then
32881 ac_header_compiler=yes
32882 else
32883 echo "$as_me: failed program was:" >&5
32884 sed 's/^/| /' conftest.$ac_ext >&5
32886 ac_header_compiler=no
32888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32889 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32890 echo "${ECHO_T}$ac_header_compiler" >&6
32892 # Is the header present?
32893 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32894 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32895 cat >conftest.$ac_ext <<_ACEOF
32896 /* confdefs.h. */
32897 _ACEOF
32898 cat confdefs.h >>conftest.$ac_ext
32899 cat >>conftest.$ac_ext <<_ACEOF
32900 /* end confdefs.h. */
32901 #include <$ac_header>
32902 _ACEOF
32903 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32904 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32905 ac_status=$?
32906 grep -v '^ *+' conftest.er1 >conftest.err
32907 rm -f conftest.er1
32908 cat conftest.err >&5
32909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32910 (exit $ac_status); } >/dev/null; then
32911 if test -s conftest.err; then
32912 ac_cpp_err=$ac_c_preproc_warn_flag
32913 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32914 else
32915 ac_cpp_err=
32917 else
32918 ac_cpp_err=yes
32920 if test -z "$ac_cpp_err"; then
32921 ac_header_preproc=yes
32922 else
32923 echo "$as_me: failed program was:" >&5
32924 sed 's/^/| /' conftest.$ac_ext >&5
32926 ac_header_preproc=no
32928 rm -f conftest.err conftest.$ac_ext
32929 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32930 echo "${ECHO_T}$ac_header_preproc" >&6
32932 # So? What about this header?
32933 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32934 yes:no: )
32935 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32936 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32937 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32938 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32939 ac_header_preproc=yes
32941 no:yes:* )
32942 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32943 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32944 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32945 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32946 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32947 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32948 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32949 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32950 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32951 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32952 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32953 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32955 cat <<\_ASBOX
32956 ## ----------------------------------------- ##
32957 ## Report this to the package-unused lists. ##
32958 ## ----------------------------------------- ##
32959 _ASBOX
32961 sed "s/^/$as_me: WARNING: /" >&2
32963 esac
32964 echo "$as_me:$LINENO: checking for $ac_header" >&5
32965 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32967 echo $ECHO_N "(cached) $ECHO_C" >&6
32968 else
32969 eval "$as_ac_Header=\$ac_header_preproc"
32971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32972 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32975 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32976 cat >>confdefs.h <<_ACEOF
32977 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32978 _ACEOF
32982 done
32986 # All these tests are for C++; save the language and the compiler flags.
32987 # The CXXFLAGS thing is suspicious, but based on similar bits previously
32988 # found in GLIBCXX_CONFIGURE.
32991 ac_ext=cc
32992 ac_cpp='$CXXCPP $CPPFLAGS'
32993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32997 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32998 ac_save_CXXFLAGS="$CXXFLAGS"
33000 # Check for maintainer-mode bits.
33001 if test x"$USE_MAINTAINER_MODE" = xno; then
33002 WERROR=''
33003 else
33004 WERROR='-Werror'
33007 # Check for -ffunction-sections -fdata-sections
33008 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
33009 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
33010 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
33011 cat >conftest.$ac_ext <<_ACEOF
33012 /* confdefs.h. */
33013 _ACEOF
33014 cat confdefs.h >>conftest.$ac_ext
33015 cat >>conftest.$ac_ext <<_ACEOF
33016 /* end confdefs.h. */
33019 main ()
33021 int foo;
33023 return 0;
33025 _ACEOF
33026 rm -f conftest.$ac_objext
33027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33028 (eval $ac_compile) 2>conftest.er1
33029 ac_status=$?
33030 grep -v '^ *+' conftest.er1 >conftest.err
33031 rm -f conftest.er1
33032 cat conftest.err >&5
33033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33034 (exit $ac_status); } &&
33035 { ac_try='test -z "$ac_cxx_werror_flag"
33036 || test ! -s conftest.err'
33037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33038 (eval $ac_try) 2>&5
33039 ac_status=$?
33040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33041 (exit $ac_status); }; } &&
33042 { ac_try='test -s conftest.$ac_objext'
33043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33044 (eval $ac_try) 2>&5
33045 ac_status=$?
33046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33047 (exit $ac_status); }; }; then
33048 ac_fdsections=yes
33049 else
33050 echo "$as_me: failed program was:" >&5
33051 sed 's/^/| /' conftest.$ac_ext >&5
33053 ac_fdsections=no
33055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33056 if test "$ac_test_CXXFLAGS" = set; then
33057 CXXFLAGS="$ac_save_CXXFLAGS"
33058 else
33059 # this is the suspicious part
33060 CXXFLAGS=''
33062 if test x"$ac_fdsections" = x"yes"; then
33063 SECTION_FLAGS='-ffunction-sections -fdata-sections'
33065 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
33066 echo "${ECHO_T}$ac_fdsections" >&6
33068 ac_ext=c
33069 ac_cpp='$CPP $CPPFLAGS'
33070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33077 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
33079 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33080 ac_save_CXXFLAGS="$CXXFLAGS"
33081 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33083 echo "$as_me:$LINENO: checking for sin in -lm" >&5
33084 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
33085 if test "${ac_cv_lib_m_sin+set}" = set; then
33086 echo $ECHO_N "(cached) $ECHO_C" >&6
33087 else
33088 ac_check_lib_save_LIBS=$LIBS
33089 LIBS="-lm $LIBS"
33090 if test x$gcc_no_link = xyes; then
33091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33093 { (exit 1); exit 1; }; }
33095 cat >conftest.$ac_ext <<_ACEOF
33096 /* confdefs.h. */
33097 _ACEOF
33098 cat confdefs.h >>conftest.$ac_ext
33099 cat >>conftest.$ac_ext <<_ACEOF
33100 /* end confdefs.h. */
33102 /* Override any gcc2 internal prototype to avoid an error. */
33103 #ifdef __cplusplus
33104 extern "C"
33105 #endif
33106 /* We use char because int might match the return type of a gcc2
33107 builtin and then its argument prototype would still apply. */
33108 char sin ();
33110 main ()
33112 sin ();
33114 return 0;
33116 _ACEOF
33117 rm -f conftest.$ac_objext conftest$ac_exeext
33118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33119 (eval $ac_link) 2>conftest.er1
33120 ac_status=$?
33121 grep -v '^ *+' conftest.er1 >conftest.err
33122 rm -f conftest.er1
33123 cat conftest.err >&5
33124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33125 (exit $ac_status); } &&
33126 { ac_try='test -z "$ac_c_werror_flag"
33127 || test ! -s conftest.err'
33128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33129 (eval $ac_try) 2>&5
33130 ac_status=$?
33131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33132 (exit $ac_status); }; } &&
33133 { ac_try='test -s conftest$ac_exeext'
33134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33135 (eval $ac_try) 2>&5
33136 ac_status=$?
33137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33138 (exit $ac_status); }; }; then
33139 ac_cv_lib_m_sin=yes
33140 else
33141 echo "$as_me: failed program was:" >&5
33142 sed 's/^/| /' conftest.$ac_ext >&5
33144 ac_cv_lib_m_sin=no
33146 rm -f conftest.err conftest.$ac_objext \
33147 conftest$ac_exeext conftest.$ac_ext
33148 LIBS=$ac_check_lib_save_LIBS
33150 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
33151 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
33152 if test $ac_cv_lib_m_sin = yes; then
33153 libm="-lm"
33156 ac_save_LIBS="$LIBS"
33157 LIBS="$LIBS $libm"
33161 echo "$as_me:$LINENO: checking for isinf declaration" >&5
33162 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
33163 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33164 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
33165 echo $ECHO_N "(cached) $ECHO_C" >&6
33166 else
33170 ac_ext=cc
33171 ac_cpp='$CXXCPP $CPPFLAGS'
33172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33176 cat >conftest.$ac_ext <<_ACEOF
33177 /* confdefs.h. */
33178 _ACEOF
33179 cat confdefs.h >>conftest.$ac_ext
33180 cat >>conftest.$ac_ext <<_ACEOF
33181 /* end confdefs.h. */
33182 #include <math.h>
33183 #ifdef HAVE_IEEEFP_H
33184 #include <ieeefp.h>
33185 #endif
33188 main ()
33190 isinf(0);
33192 return 0;
33194 _ACEOF
33195 rm -f conftest.$ac_objext
33196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33197 (eval $ac_compile) 2>conftest.er1
33198 ac_status=$?
33199 grep -v '^ *+' conftest.er1 >conftest.err
33200 rm -f conftest.er1
33201 cat conftest.err >&5
33202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33203 (exit $ac_status); } &&
33204 { ac_try='test -z "$ac_cxx_werror_flag"
33205 || test ! -s conftest.err'
33206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33207 (eval $ac_try) 2>&5
33208 ac_status=$?
33209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33210 (exit $ac_status); }; } &&
33211 { ac_try='test -s conftest.$ac_objext'
33212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33213 (eval $ac_try) 2>&5
33214 ac_status=$?
33215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33216 (exit $ac_status); }; }; then
33217 glibcxx_cv_func_isinf_use=yes
33218 else
33219 echo "$as_me: failed program was:" >&5
33220 sed 's/^/| /' conftest.$ac_ext >&5
33222 glibcxx_cv_func_isinf_use=no
33224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33225 ac_ext=c
33226 ac_cpp='$CPP $CPPFLAGS'
33227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33235 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
33236 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
33238 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33240 for ac_func in isinf
33242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33243 echo "$as_me:$LINENO: checking for $ac_func" >&5
33244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33245 if eval "test \"\${$as_ac_var+set}\" = set"; then
33246 echo $ECHO_N "(cached) $ECHO_C" >&6
33247 else
33248 if test x$gcc_no_link = xyes; then
33249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33251 { (exit 1); exit 1; }; }
33253 cat >conftest.$ac_ext <<_ACEOF
33254 /* confdefs.h. */
33255 _ACEOF
33256 cat confdefs.h >>conftest.$ac_ext
33257 cat >>conftest.$ac_ext <<_ACEOF
33258 /* end confdefs.h. */
33259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33261 #define $ac_func innocuous_$ac_func
33263 /* System header to define __stub macros and hopefully few prototypes,
33264 which can conflict with char $ac_func (); below.
33265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33266 <limits.h> exists even on freestanding compilers. */
33268 #ifdef __STDC__
33269 # include <limits.h>
33270 #else
33271 # include <assert.h>
33272 #endif
33274 #undef $ac_func
33276 /* Override any gcc2 internal prototype to avoid an error. */
33277 #ifdef __cplusplus
33278 extern "C"
33280 #endif
33281 /* We use char because int might match the return type of a gcc2
33282 builtin and then its argument prototype would still apply. */
33283 char $ac_func ();
33284 /* The GNU C library defines this for functions which it implements
33285 to always fail with ENOSYS. Some functions are actually named
33286 something starting with __ and the normal name is an alias. */
33287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33288 choke me
33289 #else
33290 char (*f) () = $ac_func;
33291 #endif
33292 #ifdef __cplusplus
33294 #endif
33297 main ()
33299 return f != $ac_func;
33301 return 0;
33303 _ACEOF
33304 rm -f conftest.$ac_objext conftest$ac_exeext
33305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33306 (eval $ac_link) 2>conftest.er1
33307 ac_status=$?
33308 grep -v '^ *+' conftest.er1 >conftest.err
33309 rm -f conftest.er1
33310 cat conftest.err >&5
33311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33312 (exit $ac_status); } &&
33313 { ac_try='test -z "$ac_c_werror_flag"
33314 || test ! -s conftest.err'
33315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33316 (eval $ac_try) 2>&5
33317 ac_status=$?
33318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33319 (exit $ac_status); }; } &&
33320 { ac_try='test -s conftest$ac_exeext'
33321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33322 (eval $ac_try) 2>&5
33323 ac_status=$?
33324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33325 (exit $ac_status); }; }; then
33326 eval "$as_ac_var=yes"
33327 else
33328 echo "$as_me: failed program was:" >&5
33329 sed 's/^/| /' conftest.$ac_ext >&5
33331 eval "$as_ac_var=no"
33333 rm -f conftest.err conftest.$ac_objext \
33334 conftest$ac_exeext conftest.$ac_ext
33336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33338 if test `eval echo '${'$as_ac_var'}'` = yes; then
33339 cat >>confdefs.h <<_ACEOF
33340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33341 _ACEOF
33344 done
33346 else
33348 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
33349 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
33350 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33351 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
33352 echo $ECHO_N "(cached) $ECHO_C" >&6
33353 else
33357 ac_ext=cc
33358 ac_cpp='$CXXCPP $CPPFLAGS'
33359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33363 cat >conftest.$ac_ext <<_ACEOF
33364 /* confdefs.h. */
33365 _ACEOF
33366 cat confdefs.h >>conftest.$ac_ext
33367 cat >>conftest.$ac_ext <<_ACEOF
33368 /* end confdefs.h. */
33369 #include <math.h>
33370 #ifdef HAVE_IEEEFP_H
33371 #include <ieeefp.h>
33372 #endif
33375 main ()
33377 _isinf(0);
33379 return 0;
33381 _ACEOF
33382 rm -f conftest.$ac_objext
33383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33384 (eval $ac_compile) 2>conftest.er1
33385 ac_status=$?
33386 grep -v '^ *+' conftest.er1 >conftest.err
33387 rm -f conftest.er1
33388 cat conftest.err >&5
33389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33390 (exit $ac_status); } &&
33391 { ac_try='test -z "$ac_cxx_werror_flag"
33392 || test ! -s conftest.err'
33393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33394 (eval $ac_try) 2>&5
33395 ac_status=$?
33396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33397 (exit $ac_status); }; } &&
33398 { ac_try='test -s conftest.$ac_objext'
33399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33400 (eval $ac_try) 2>&5
33401 ac_status=$?
33402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33403 (exit $ac_status); }; }; then
33404 glibcxx_cv_func__isinf_use=yes
33405 else
33406 echo "$as_me: failed program was:" >&5
33407 sed 's/^/| /' conftest.$ac_ext >&5
33409 glibcxx_cv_func__isinf_use=no
33411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33412 ac_ext=c
33413 ac_cpp='$CPP $CPPFLAGS'
33414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33422 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
33423 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
33425 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33427 for ac_func in _isinf
33429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33430 echo "$as_me:$LINENO: checking for $ac_func" >&5
33431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33432 if eval "test \"\${$as_ac_var+set}\" = set"; then
33433 echo $ECHO_N "(cached) $ECHO_C" >&6
33434 else
33435 if test x$gcc_no_link = xyes; then
33436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33438 { (exit 1); exit 1; }; }
33440 cat >conftest.$ac_ext <<_ACEOF
33441 /* confdefs.h. */
33442 _ACEOF
33443 cat confdefs.h >>conftest.$ac_ext
33444 cat >>conftest.$ac_ext <<_ACEOF
33445 /* end confdefs.h. */
33446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33448 #define $ac_func innocuous_$ac_func
33450 /* System header to define __stub macros and hopefully few prototypes,
33451 which can conflict with char $ac_func (); below.
33452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33453 <limits.h> exists even on freestanding compilers. */
33455 #ifdef __STDC__
33456 # include <limits.h>
33457 #else
33458 # include <assert.h>
33459 #endif
33461 #undef $ac_func
33463 /* Override any gcc2 internal prototype to avoid an error. */
33464 #ifdef __cplusplus
33465 extern "C"
33467 #endif
33468 /* We use char because int might match the return type of a gcc2
33469 builtin and then its argument prototype would still apply. */
33470 char $ac_func ();
33471 /* The GNU C library defines this for functions which it implements
33472 to always fail with ENOSYS. Some functions are actually named
33473 something starting with __ and the normal name is an alias. */
33474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33475 choke me
33476 #else
33477 char (*f) () = $ac_func;
33478 #endif
33479 #ifdef __cplusplus
33481 #endif
33484 main ()
33486 return f != $ac_func;
33488 return 0;
33490 _ACEOF
33491 rm -f conftest.$ac_objext conftest$ac_exeext
33492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33493 (eval $ac_link) 2>conftest.er1
33494 ac_status=$?
33495 grep -v '^ *+' conftest.er1 >conftest.err
33496 rm -f conftest.er1
33497 cat conftest.err >&5
33498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33499 (exit $ac_status); } &&
33500 { ac_try='test -z "$ac_c_werror_flag"
33501 || test ! -s conftest.err'
33502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33503 (eval $ac_try) 2>&5
33504 ac_status=$?
33505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33506 (exit $ac_status); }; } &&
33507 { ac_try='test -s conftest$ac_exeext'
33508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33509 (eval $ac_try) 2>&5
33510 ac_status=$?
33511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33512 (exit $ac_status); }; }; then
33513 eval "$as_ac_var=yes"
33514 else
33515 echo "$as_me: failed program was:" >&5
33516 sed 's/^/| /' conftest.$ac_ext >&5
33518 eval "$as_ac_var=no"
33520 rm -f conftest.err conftest.$ac_objext \
33521 conftest$ac_exeext conftest.$ac_ext
33523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33525 if test `eval echo '${'$as_ac_var'}'` = yes; then
33526 cat >>confdefs.h <<_ACEOF
33527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33528 _ACEOF
33531 done
33538 echo "$as_me:$LINENO: checking for isnan declaration" >&5
33539 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
33540 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33541 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
33542 echo $ECHO_N "(cached) $ECHO_C" >&6
33543 else
33547 ac_ext=cc
33548 ac_cpp='$CXXCPP $CPPFLAGS'
33549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33553 cat >conftest.$ac_ext <<_ACEOF
33554 /* confdefs.h. */
33555 _ACEOF
33556 cat confdefs.h >>conftest.$ac_ext
33557 cat >>conftest.$ac_ext <<_ACEOF
33558 /* end confdefs.h. */
33559 #include <math.h>
33560 #ifdef HAVE_IEEEFP_H
33561 #include <ieeefp.h>
33562 #endif
33565 main ()
33567 isnan(0);
33569 return 0;
33571 _ACEOF
33572 rm -f conftest.$ac_objext
33573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33574 (eval $ac_compile) 2>conftest.er1
33575 ac_status=$?
33576 grep -v '^ *+' conftest.er1 >conftest.err
33577 rm -f conftest.er1
33578 cat conftest.err >&5
33579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33580 (exit $ac_status); } &&
33581 { ac_try='test -z "$ac_cxx_werror_flag"
33582 || test ! -s conftest.err'
33583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33584 (eval $ac_try) 2>&5
33585 ac_status=$?
33586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33587 (exit $ac_status); }; } &&
33588 { ac_try='test -s conftest.$ac_objext'
33589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33590 (eval $ac_try) 2>&5
33591 ac_status=$?
33592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33593 (exit $ac_status); }; }; then
33594 glibcxx_cv_func_isnan_use=yes
33595 else
33596 echo "$as_me: failed program was:" >&5
33597 sed 's/^/| /' conftest.$ac_ext >&5
33599 glibcxx_cv_func_isnan_use=no
33601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33602 ac_ext=c
33603 ac_cpp='$CPP $CPPFLAGS'
33604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33612 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
33613 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
33615 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33617 for ac_func in isnan
33619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33620 echo "$as_me:$LINENO: checking for $ac_func" >&5
33621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33622 if eval "test \"\${$as_ac_var+set}\" = set"; then
33623 echo $ECHO_N "(cached) $ECHO_C" >&6
33624 else
33625 if test x$gcc_no_link = xyes; then
33626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33628 { (exit 1); exit 1; }; }
33630 cat >conftest.$ac_ext <<_ACEOF
33631 /* confdefs.h. */
33632 _ACEOF
33633 cat confdefs.h >>conftest.$ac_ext
33634 cat >>conftest.$ac_ext <<_ACEOF
33635 /* end confdefs.h. */
33636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33638 #define $ac_func innocuous_$ac_func
33640 /* System header to define __stub macros and hopefully few prototypes,
33641 which can conflict with char $ac_func (); below.
33642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33643 <limits.h> exists even on freestanding compilers. */
33645 #ifdef __STDC__
33646 # include <limits.h>
33647 #else
33648 # include <assert.h>
33649 #endif
33651 #undef $ac_func
33653 /* Override any gcc2 internal prototype to avoid an error. */
33654 #ifdef __cplusplus
33655 extern "C"
33657 #endif
33658 /* We use char because int might match the return type of a gcc2
33659 builtin and then its argument prototype would still apply. */
33660 char $ac_func ();
33661 /* The GNU C library defines this for functions which it implements
33662 to always fail with ENOSYS. Some functions are actually named
33663 something starting with __ and the normal name is an alias. */
33664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33665 choke me
33666 #else
33667 char (*f) () = $ac_func;
33668 #endif
33669 #ifdef __cplusplus
33671 #endif
33674 main ()
33676 return f != $ac_func;
33678 return 0;
33680 _ACEOF
33681 rm -f conftest.$ac_objext conftest$ac_exeext
33682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33683 (eval $ac_link) 2>conftest.er1
33684 ac_status=$?
33685 grep -v '^ *+' conftest.er1 >conftest.err
33686 rm -f conftest.er1
33687 cat conftest.err >&5
33688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33689 (exit $ac_status); } &&
33690 { ac_try='test -z "$ac_c_werror_flag"
33691 || test ! -s conftest.err'
33692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33693 (eval $ac_try) 2>&5
33694 ac_status=$?
33695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33696 (exit $ac_status); }; } &&
33697 { ac_try='test -s conftest$ac_exeext'
33698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33699 (eval $ac_try) 2>&5
33700 ac_status=$?
33701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33702 (exit $ac_status); }; }; then
33703 eval "$as_ac_var=yes"
33704 else
33705 echo "$as_me: failed program was:" >&5
33706 sed 's/^/| /' conftest.$ac_ext >&5
33708 eval "$as_ac_var=no"
33710 rm -f conftest.err conftest.$ac_objext \
33711 conftest$ac_exeext conftest.$ac_ext
33713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33715 if test `eval echo '${'$as_ac_var'}'` = yes; then
33716 cat >>confdefs.h <<_ACEOF
33717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33718 _ACEOF
33721 done
33723 else
33725 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
33726 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
33727 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33728 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
33729 echo $ECHO_N "(cached) $ECHO_C" >&6
33730 else
33734 ac_ext=cc
33735 ac_cpp='$CXXCPP $CPPFLAGS'
33736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33740 cat >conftest.$ac_ext <<_ACEOF
33741 /* confdefs.h. */
33742 _ACEOF
33743 cat confdefs.h >>conftest.$ac_ext
33744 cat >>conftest.$ac_ext <<_ACEOF
33745 /* end confdefs.h. */
33746 #include <math.h>
33747 #ifdef HAVE_IEEEFP_H
33748 #include <ieeefp.h>
33749 #endif
33752 main ()
33754 _isnan(0);
33756 return 0;
33758 _ACEOF
33759 rm -f conftest.$ac_objext
33760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33761 (eval $ac_compile) 2>conftest.er1
33762 ac_status=$?
33763 grep -v '^ *+' conftest.er1 >conftest.err
33764 rm -f conftest.er1
33765 cat conftest.err >&5
33766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33767 (exit $ac_status); } &&
33768 { ac_try='test -z "$ac_cxx_werror_flag"
33769 || test ! -s conftest.err'
33770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33771 (eval $ac_try) 2>&5
33772 ac_status=$?
33773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33774 (exit $ac_status); }; } &&
33775 { ac_try='test -s conftest.$ac_objext'
33776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33777 (eval $ac_try) 2>&5
33778 ac_status=$?
33779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33780 (exit $ac_status); }; }; then
33781 glibcxx_cv_func__isnan_use=yes
33782 else
33783 echo "$as_me: failed program was:" >&5
33784 sed 's/^/| /' conftest.$ac_ext >&5
33786 glibcxx_cv_func__isnan_use=no
33788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33789 ac_ext=c
33790 ac_cpp='$CPP $CPPFLAGS'
33791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33799 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
33800 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
33802 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33804 for ac_func in _isnan
33806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33807 echo "$as_me:$LINENO: checking for $ac_func" >&5
33808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33809 if eval "test \"\${$as_ac_var+set}\" = set"; then
33810 echo $ECHO_N "(cached) $ECHO_C" >&6
33811 else
33812 if test x$gcc_no_link = xyes; then
33813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33815 { (exit 1); exit 1; }; }
33817 cat >conftest.$ac_ext <<_ACEOF
33818 /* confdefs.h. */
33819 _ACEOF
33820 cat confdefs.h >>conftest.$ac_ext
33821 cat >>conftest.$ac_ext <<_ACEOF
33822 /* end confdefs.h. */
33823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33825 #define $ac_func innocuous_$ac_func
33827 /* System header to define __stub macros and hopefully few prototypes,
33828 which can conflict with char $ac_func (); below.
33829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33830 <limits.h> exists even on freestanding compilers. */
33832 #ifdef __STDC__
33833 # include <limits.h>
33834 #else
33835 # include <assert.h>
33836 #endif
33838 #undef $ac_func
33840 /* Override any gcc2 internal prototype to avoid an error. */
33841 #ifdef __cplusplus
33842 extern "C"
33844 #endif
33845 /* We use char because int might match the return type of a gcc2
33846 builtin and then its argument prototype would still apply. */
33847 char $ac_func ();
33848 /* The GNU C library defines this for functions which it implements
33849 to always fail with ENOSYS. Some functions are actually named
33850 something starting with __ and the normal name is an alias. */
33851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33852 choke me
33853 #else
33854 char (*f) () = $ac_func;
33855 #endif
33856 #ifdef __cplusplus
33858 #endif
33861 main ()
33863 return f != $ac_func;
33865 return 0;
33867 _ACEOF
33868 rm -f conftest.$ac_objext conftest$ac_exeext
33869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33870 (eval $ac_link) 2>conftest.er1
33871 ac_status=$?
33872 grep -v '^ *+' conftest.er1 >conftest.err
33873 rm -f conftest.er1
33874 cat conftest.err >&5
33875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33876 (exit $ac_status); } &&
33877 { ac_try='test -z "$ac_c_werror_flag"
33878 || test ! -s conftest.err'
33879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33880 (eval $ac_try) 2>&5
33881 ac_status=$?
33882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33883 (exit $ac_status); }; } &&
33884 { ac_try='test -s conftest$ac_exeext'
33885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33886 (eval $ac_try) 2>&5
33887 ac_status=$?
33888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33889 (exit $ac_status); }; }; then
33890 eval "$as_ac_var=yes"
33891 else
33892 echo "$as_me: failed program was:" >&5
33893 sed 's/^/| /' conftest.$ac_ext >&5
33895 eval "$as_ac_var=no"
33897 rm -f conftest.err conftest.$ac_objext \
33898 conftest$ac_exeext conftest.$ac_ext
33900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33902 if test `eval echo '${'$as_ac_var'}'` = yes; then
33903 cat >>confdefs.h <<_ACEOF
33904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33905 _ACEOF
33908 done
33915 echo "$as_me:$LINENO: checking for finite declaration" >&5
33916 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
33917 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33918 if test "${glibcxx_cv_func_finite_use+set}" = set; then
33919 echo $ECHO_N "(cached) $ECHO_C" >&6
33920 else
33924 ac_ext=cc
33925 ac_cpp='$CXXCPP $CPPFLAGS'
33926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33930 cat >conftest.$ac_ext <<_ACEOF
33931 /* confdefs.h. */
33932 _ACEOF
33933 cat confdefs.h >>conftest.$ac_ext
33934 cat >>conftest.$ac_ext <<_ACEOF
33935 /* end confdefs.h. */
33936 #include <math.h>
33937 #ifdef HAVE_IEEEFP_H
33938 #include <ieeefp.h>
33939 #endif
33942 main ()
33944 finite(0);
33946 return 0;
33948 _ACEOF
33949 rm -f conftest.$ac_objext
33950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33951 (eval $ac_compile) 2>conftest.er1
33952 ac_status=$?
33953 grep -v '^ *+' conftest.er1 >conftest.err
33954 rm -f conftest.er1
33955 cat conftest.err >&5
33956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33957 (exit $ac_status); } &&
33958 { ac_try='test -z "$ac_cxx_werror_flag"
33959 || test ! -s conftest.err'
33960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33961 (eval $ac_try) 2>&5
33962 ac_status=$?
33963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33964 (exit $ac_status); }; } &&
33965 { ac_try='test -s conftest.$ac_objext'
33966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33967 (eval $ac_try) 2>&5
33968 ac_status=$?
33969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33970 (exit $ac_status); }; }; then
33971 glibcxx_cv_func_finite_use=yes
33972 else
33973 echo "$as_me: failed program was:" >&5
33974 sed 's/^/| /' conftest.$ac_ext >&5
33976 glibcxx_cv_func_finite_use=no
33978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33979 ac_ext=c
33980 ac_cpp='$CPP $CPPFLAGS'
33981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33989 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
33990 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
33992 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33994 for ac_func in finite
33996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33997 echo "$as_me:$LINENO: checking for $ac_func" >&5
33998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33999 if eval "test \"\${$as_ac_var+set}\" = set"; then
34000 echo $ECHO_N "(cached) $ECHO_C" >&6
34001 else
34002 if test x$gcc_no_link = xyes; then
34003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34005 { (exit 1); exit 1; }; }
34007 cat >conftest.$ac_ext <<_ACEOF
34008 /* confdefs.h. */
34009 _ACEOF
34010 cat confdefs.h >>conftest.$ac_ext
34011 cat >>conftest.$ac_ext <<_ACEOF
34012 /* end confdefs.h. */
34013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34015 #define $ac_func innocuous_$ac_func
34017 /* System header to define __stub macros and hopefully few prototypes,
34018 which can conflict with char $ac_func (); below.
34019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34020 <limits.h> exists even on freestanding compilers. */
34022 #ifdef __STDC__
34023 # include <limits.h>
34024 #else
34025 # include <assert.h>
34026 #endif
34028 #undef $ac_func
34030 /* Override any gcc2 internal prototype to avoid an error. */
34031 #ifdef __cplusplus
34032 extern "C"
34034 #endif
34035 /* We use char because int might match the return type of a gcc2
34036 builtin and then its argument prototype would still apply. */
34037 char $ac_func ();
34038 /* The GNU C library defines this for functions which it implements
34039 to always fail with ENOSYS. Some functions are actually named
34040 something starting with __ and the normal name is an alias. */
34041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34042 choke me
34043 #else
34044 char (*f) () = $ac_func;
34045 #endif
34046 #ifdef __cplusplus
34048 #endif
34051 main ()
34053 return f != $ac_func;
34055 return 0;
34057 _ACEOF
34058 rm -f conftest.$ac_objext conftest$ac_exeext
34059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34060 (eval $ac_link) 2>conftest.er1
34061 ac_status=$?
34062 grep -v '^ *+' conftest.er1 >conftest.err
34063 rm -f conftest.er1
34064 cat conftest.err >&5
34065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34066 (exit $ac_status); } &&
34067 { ac_try='test -z "$ac_c_werror_flag"
34068 || test ! -s conftest.err'
34069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34070 (eval $ac_try) 2>&5
34071 ac_status=$?
34072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34073 (exit $ac_status); }; } &&
34074 { ac_try='test -s conftest$ac_exeext'
34075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34076 (eval $ac_try) 2>&5
34077 ac_status=$?
34078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34079 (exit $ac_status); }; }; then
34080 eval "$as_ac_var=yes"
34081 else
34082 echo "$as_me: failed program was:" >&5
34083 sed 's/^/| /' conftest.$ac_ext >&5
34085 eval "$as_ac_var=no"
34087 rm -f conftest.err conftest.$ac_objext \
34088 conftest$ac_exeext conftest.$ac_ext
34090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34092 if test `eval echo '${'$as_ac_var'}'` = yes; then
34093 cat >>confdefs.h <<_ACEOF
34094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34095 _ACEOF
34098 done
34100 else
34102 echo "$as_me:$LINENO: checking for _finite declaration" >&5
34103 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
34104 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34105 if test "${glibcxx_cv_func__finite_use+set}" = set; then
34106 echo $ECHO_N "(cached) $ECHO_C" >&6
34107 else
34111 ac_ext=cc
34112 ac_cpp='$CXXCPP $CPPFLAGS'
34113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34117 cat >conftest.$ac_ext <<_ACEOF
34118 /* confdefs.h. */
34119 _ACEOF
34120 cat confdefs.h >>conftest.$ac_ext
34121 cat >>conftest.$ac_ext <<_ACEOF
34122 /* end confdefs.h. */
34123 #include <math.h>
34124 #ifdef HAVE_IEEEFP_H
34125 #include <ieeefp.h>
34126 #endif
34129 main ()
34131 _finite(0);
34133 return 0;
34135 _ACEOF
34136 rm -f conftest.$ac_objext
34137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34138 (eval $ac_compile) 2>conftest.er1
34139 ac_status=$?
34140 grep -v '^ *+' conftest.er1 >conftest.err
34141 rm -f conftest.er1
34142 cat conftest.err >&5
34143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34144 (exit $ac_status); } &&
34145 { ac_try='test -z "$ac_cxx_werror_flag"
34146 || test ! -s conftest.err'
34147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34148 (eval $ac_try) 2>&5
34149 ac_status=$?
34150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34151 (exit $ac_status); }; } &&
34152 { ac_try='test -s conftest.$ac_objext'
34153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34154 (eval $ac_try) 2>&5
34155 ac_status=$?
34156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34157 (exit $ac_status); }; }; then
34158 glibcxx_cv_func__finite_use=yes
34159 else
34160 echo "$as_me: failed program was:" >&5
34161 sed 's/^/| /' conftest.$ac_ext >&5
34163 glibcxx_cv_func__finite_use=no
34165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34166 ac_ext=c
34167 ac_cpp='$CPP $CPPFLAGS'
34168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34176 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
34177 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
34179 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34181 for ac_func in _finite
34183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34184 echo "$as_me:$LINENO: checking for $ac_func" >&5
34185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34186 if eval "test \"\${$as_ac_var+set}\" = set"; then
34187 echo $ECHO_N "(cached) $ECHO_C" >&6
34188 else
34189 if test x$gcc_no_link = xyes; then
34190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34192 { (exit 1); exit 1; }; }
34194 cat >conftest.$ac_ext <<_ACEOF
34195 /* confdefs.h. */
34196 _ACEOF
34197 cat confdefs.h >>conftest.$ac_ext
34198 cat >>conftest.$ac_ext <<_ACEOF
34199 /* end confdefs.h. */
34200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34202 #define $ac_func innocuous_$ac_func
34204 /* System header to define __stub macros and hopefully few prototypes,
34205 which can conflict with char $ac_func (); below.
34206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34207 <limits.h> exists even on freestanding compilers. */
34209 #ifdef __STDC__
34210 # include <limits.h>
34211 #else
34212 # include <assert.h>
34213 #endif
34215 #undef $ac_func
34217 /* Override any gcc2 internal prototype to avoid an error. */
34218 #ifdef __cplusplus
34219 extern "C"
34221 #endif
34222 /* We use char because int might match the return type of a gcc2
34223 builtin and then its argument prototype would still apply. */
34224 char $ac_func ();
34225 /* The GNU C library defines this for functions which it implements
34226 to always fail with ENOSYS. Some functions are actually named
34227 something starting with __ and the normal name is an alias. */
34228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34229 choke me
34230 #else
34231 char (*f) () = $ac_func;
34232 #endif
34233 #ifdef __cplusplus
34235 #endif
34238 main ()
34240 return f != $ac_func;
34242 return 0;
34244 _ACEOF
34245 rm -f conftest.$ac_objext conftest$ac_exeext
34246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34247 (eval $ac_link) 2>conftest.er1
34248 ac_status=$?
34249 grep -v '^ *+' conftest.er1 >conftest.err
34250 rm -f conftest.er1
34251 cat conftest.err >&5
34252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34253 (exit $ac_status); } &&
34254 { ac_try='test -z "$ac_c_werror_flag"
34255 || test ! -s conftest.err'
34256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34257 (eval $ac_try) 2>&5
34258 ac_status=$?
34259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34260 (exit $ac_status); }; } &&
34261 { ac_try='test -s conftest$ac_exeext'
34262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34263 (eval $ac_try) 2>&5
34264 ac_status=$?
34265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34266 (exit $ac_status); }; }; then
34267 eval "$as_ac_var=yes"
34268 else
34269 echo "$as_me: failed program was:" >&5
34270 sed 's/^/| /' conftest.$ac_ext >&5
34272 eval "$as_ac_var=no"
34274 rm -f conftest.err conftest.$ac_objext \
34275 conftest$ac_exeext conftest.$ac_ext
34277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34279 if test `eval echo '${'$as_ac_var'}'` = yes; then
34280 cat >>confdefs.h <<_ACEOF
34281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34282 _ACEOF
34285 done
34292 echo "$as_me:$LINENO: checking for copysign declaration" >&5
34293 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
34294 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
34295 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
34296 echo $ECHO_N "(cached) $ECHO_C" >&6
34297 else
34301 ac_ext=cc
34302 ac_cpp='$CXXCPP $CPPFLAGS'
34303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34307 cat >conftest.$ac_ext <<_ACEOF
34308 /* confdefs.h. */
34309 _ACEOF
34310 cat confdefs.h >>conftest.$ac_ext
34311 cat >>conftest.$ac_ext <<_ACEOF
34312 /* end confdefs.h. */
34313 #include <math.h>
34315 main ()
34317 copysign(0, 0);
34319 return 0;
34321 _ACEOF
34322 rm -f conftest.$ac_objext
34323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34324 (eval $ac_compile) 2>conftest.er1
34325 ac_status=$?
34326 grep -v '^ *+' conftest.er1 >conftest.err
34327 rm -f conftest.er1
34328 cat conftest.err >&5
34329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34330 (exit $ac_status); } &&
34331 { ac_try='test -z "$ac_cxx_werror_flag"
34332 || test ! -s conftest.err'
34333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34334 (eval $ac_try) 2>&5
34335 ac_status=$?
34336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34337 (exit $ac_status); }; } &&
34338 { ac_try='test -s conftest.$ac_objext'
34339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34340 (eval $ac_try) 2>&5
34341 ac_status=$?
34342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34343 (exit $ac_status); }; }; then
34344 glibcxx_cv_func_copysign_use=yes
34345 else
34346 echo "$as_me: failed program was:" >&5
34347 sed 's/^/| /' conftest.$ac_ext >&5
34349 glibcxx_cv_func_copysign_use=no
34351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34352 ac_ext=c
34353 ac_cpp='$CPP $CPPFLAGS'
34354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34362 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
34363 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
34365 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
34367 for ac_func in copysign
34369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34370 echo "$as_me:$LINENO: checking for $ac_func" >&5
34371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34372 if eval "test \"\${$as_ac_var+set}\" = set"; then
34373 echo $ECHO_N "(cached) $ECHO_C" >&6
34374 else
34375 if test x$gcc_no_link = xyes; then
34376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34378 { (exit 1); exit 1; }; }
34380 cat >conftest.$ac_ext <<_ACEOF
34381 /* confdefs.h. */
34382 _ACEOF
34383 cat confdefs.h >>conftest.$ac_ext
34384 cat >>conftest.$ac_ext <<_ACEOF
34385 /* end confdefs.h. */
34386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34388 #define $ac_func innocuous_$ac_func
34390 /* System header to define __stub macros and hopefully few prototypes,
34391 which can conflict with char $ac_func (); below.
34392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34393 <limits.h> exists even on freestanding compilers. */
34395 #ifdef __STDC__
34396 # include <limits.h>
34397 #else
34398 # include <assert.h>
34399 #endif
34401 #undef $ac_func
34403 /* Override any gcc2 internal prototype to avoid an error. */
34404 #ifdef __cplusplus
34405 extern "C"
34407 #endif
34408 /* We use char because int might match the return type of a gcc2
34409 builtin and then its argument prototype would still apply. */
34410 char $ac_func ();
34411 /* The GNU C library defines this for functions which it implements
34412 to always fail with ENOSYS. Some functions are actually named
34413 something starting with __ and the normal name is an alias. */
34414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34415 choke me
34416 #else
34417 char (*f) () = $ac_func;
34418 #endif
34419 #ifdef __cplusplus
34421 #endif
34424 main ()
34426 return f != $ac_func;
34428 return 0;
34430 _ACEOF
34431 rm -f conftest.$ac_objext conftest$ac_exeext
34432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34433 (eval $ac_link) 2>conftest.er1
34434 ac_status=$?
34435 grep -v '^ *+' conftest.er1 >conftest.err
34436 rm -f conftest.er1
34437 cat conftest.err >&5
34438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34439 (exit $ac_status); } &&
34440 { ac_try='test -z "$ac_c_werror_flag"
34441 || test ! -s conftest.err'
34442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34443 (eval $ac_try) 2>&5
34444 ac_status=$?
34445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34446 (exit $ac_status); }; } &&
34447 { ac_try='test -s conftest$ac_exeext'
34448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34449 (eval $ac_try) 2>&5
34450 ac_status=$?
34451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34452 (exit $ac_status); }; }; then
34453 eval "$as_ac_var=yes"
34454 else
34455 echo "$as_me: failed program was:" >&5
34456 sed 's/^/| /' conftest.$ac_ext >&5
34458 eval "$as_ac_var=no"
34460 rm -f conftest.err conftest.$ac_objext \
34461 conftest$ac_exeext conftest.$ac_ext
34463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34465 if test `eval echo '${'$as_ac_var'}'` = yes; then
34466 cat >>confdefs.h <<_ACEOF
34467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34468 _ACEOF
34471 done
34473 else
34475 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
34476 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
34477 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
34478 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
34479 echo $ECHO_N "(cached) $ECHO_C" >&6
34480 else
34484 ac_ext=cc
34485 ac_cpp='$CXXCPP $CPPFLAGS'
34486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34490 cat >conftest.$ac_ext <<_ACEOF
34491 /* confdefs.h. */
34492 _ACEOF
34493 cat confdefs.h >>conftest.$ac_ext
34494 cat >>conftest.$ac_ext <<_ACEOF
34495 /* end confdefs.h. */
34496 #include <math.h>
34498 main ()
34500 _copysign(0, 0);
34502 return 0;
34504 _ACEOF
34505 rm -f conftest.$ac_objext
34506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34507 (eval $ac_compile) 2>conftest.er1
34508 ac_status=$?
34509 grep -v '^ *+' conftest.er1 >conftest.err
34510 rm -f conftest.er1
34511 cat conftest.err >&5
34512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34513 (exit $ac_status); } &&
34514 { ac_try='test -z "$ac_cxx_werror_flag"
34515 || test ! -s conftest.err'
34516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34517 (eval $ac_try) 2>&5
34518 ac_status=$?
34519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34520 (exit $ac_status); }; } &&
34521 { ac_try='test -s conftest.$ac_objext'
34522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34523 (eval $ac_try) 2>&5
34524 ac_status=$?
34525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34526 (exit $ac_status); }; }; then
34527 glibcxx_cv_func__copysign_use=yes
34528 else
34529 echo "$as_me: failed program was:" >&5
34530 sed 's/^/| /' conftest.$ac_ext >&5
34532 glibcxx_cv_func__copysign_use=no
34534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34535 ac_ext=c
34536 ac_cpp='$CPP $CPPFLAGS'
34537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34545 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
34546 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
34548 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
34550 for ac_func in _copysign
34552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34553 echo "$as_me:$LINENO: checking for $ac_func" >&5
34554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34555 if eval "test \"\${$as_ac_var+set}\" = set"; then
34556 echo $ECHO_N "(cached) $ECHO_C" >&6
34557 else
34558 if test x$gcc_no_link = xyes; then
34559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34561 { (exit 1); exit 1; }; }
34563 cat >conftest.$ac_ext <<_ACEOF
34564 /* confdefs.h. */
34565 _ACEOF
34566 cat confdefs.h >>conftest.$ac_ext
34567 cat >>conftest.$ac_ext <<_ACEOF
34568 /* end confdefs.h. */
34569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34571 #define $ac_func innocuous_$ac_func
34573 /* System header to define __stub macros and hopefully few prototypes,
34574 which can conflict with char $ac_func (); below.
34575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34576 <limits.h> exists even on freestanding compilers. */
34578 #ifdef __STDC__
34579 # include <limits.h>
34580 #else
34581 # include <assert.h>
34582 #endif
34584 #undef $ac_func
34586 /* Override any gcc2 internal prototype to avoid an error. */
34587 #ifdef __cplusplus
34588 extern "C"
34590 #endif
34591 /* We use char because int might match the return type of a gcc2
34592 builtin and then its argument prototype would still apply. */
34593 char $ac_func ();
34594 /* The GNU C library defines this for functions which it implements
34595 to always fail with ENOSYS. Some functions are actually named
34596 something starting with __ and the normal name is an alias. */
34597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34598 choke me
34599 #else
34600 char (*f) () = $ac_func;
34601 #endif
34602 #ifdef __cplusplus
34604 #endif
34607 main ()
34609 return f != $ac_func;
34611 return 0;
34613 _ACEOF
34614 rm -f conftest.$ac_objext conftest$ac_exeext
34615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34616 (eval $ac_link) 2>conftest.er1
34617 ac_status=$?
34618 grep -v '^ *+' conftest.er1 >conftest.err
34619 rm -f conftest.er1
34620 cat conftest.err >&5
34621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34622 (exit $ac_status); } &&
34623 { ac_try='test -z "$ac_c_werror_flag"
34624 || test ! -s conftest.err'
34625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34626 (eval $ac_try) 2>&5
34627 ac_status=$?
34628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34629 (exit $ac_status); }; } &&
34630 { ac_try='test -s conftest$ac_exeext'
34631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34632 (eval $ac_try) 2>&5
34633 ac_status=$?
34634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34635 (exit $ac_status); }; }; then
34636 eval "$as_ac_var=yes"
34637 else
34638 echo "$as_me: failed program was:" >&5
34639 sed 's/^/| /' conftest.$ac_ext >&5
34641 eval "$as_ac_var=no"
34643 rm -f conftest.err conftest.$ac_objext \
34644 conftest$ac_exeext conftest.$ac_ext
34646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34648 if test `eval echo '${'$as_ac_var'}'` = yes; then
34649 cat >>confdefs.h <<_ACEOF
34650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34651 _ACEOF
34654 done
34661 echo "$as_me:$LINENO: checking for sincos declaration" >&5
34662 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
34663 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34664 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
34665 echo $ECHO_N "(cached) $ECHO_C" >&6
34666 else
34670 ac_ext=cc
34671 ac_cpp='$CXXCPP $CPPFLAGS'
34672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34676 cat >conftest.$ac_ext <<_ACEOF
34677 /* confdefs.h. */
34678 _ACEOF
34679 cat confdefs.h >>conftest.$ac_ext
34680 cat >>conftest.$ac_ext <<_ACEOF
34681 /* end confdefs.h. */
34682 #include <math.h>
34684 main ()
34686 sincos(0, 0, 0);
34688 return 0;
34690 _ACEOF
34691 rm -f conftest.$ac_objext
34692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34693 (eval $ac_compile) 2>conftest.er1
34694 ac_status=$?
34695 grep -v '^ *+' conftest.er1 >conftest.err
34696 rm -f conftest.er1
34697 cat conftest.err >&5
34698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34699 (exit $ac_status); } &&
34700 { ac_try='test -z "$ac_cxx_werror_flag"
34701 || test ! -s conftest.err'
34702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34703 (eval $ac_try) 2>&5
34704 ac_status=$?
34705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34706 (exit $ac_status); }; } &&
34707 { ac_try='test -s conftest.$ac_objext'
34708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34709 (eval $ac_try) 2>&5
34710 ac_status=$?
34711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34712 (exit $ac_status); }; }; then
34713 glibcxx_cv_func_sincos_use=yes
34714 else
34715 echo "$as_me: failed program was:" >&5
34716 sed 's/^/| /' conftest.$ac_ext >&5
34718 glibcxx_cv_func_sincos_use=no
34720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34721 ac_ext=c
34722 ac_cpp='$CPP $CPPFLAGS'
34723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34731 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
34732 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
34734 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34736 for ac_func in sincos
34738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34739 echo "$as_me:$LINENO: checking for $ac_func" >&5
34740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34741 if eval "test \"\${$as_ac_var+set}\" = set"; then
34742 echo $ECHO_N "(cached) $ECHO_C" >&6
34743 else
34744 if test x$gcc_no_link = xyes; then
34745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34747 { (exit 1); exit 1; }; }
34749 cat >conftest.$ac_ext <<_ACEOF
34750 /* confdefs.h. */
34751 _ACEOF
34752 cat confdefs.h >>conftest.$ac_ext
34753 cat >>conftest.$ac_ext <<_ACEOF
34754 /* end confdefs.h. */
34755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34757 #define $ac_func innocuous_$ac_func
34759 /* System header to define __stub macros and hopefully few prototypes,
34760 which can conflict with char $ac_func (); below.
34761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34762 <limits.h> exists even on freestanding compilers. */
34764 #ifdef __STDC__
34765 # include <limits.h>
34766 #else
34767 # include <assert.h>
34768 #endif
34770 #undef $ac_func
34772 /* Override any gcc2 internal prototype to avoid an error. */
34773 #ifdef __cplusplus
34774 extern "C"
34776 #endif
34777 /* We use char because int might match the return type of a gcc2
34778 builtin and then its argument prototype would still apply. */
34779 char $ac_func ();
34780 /* The GNU C library defines this for functions which it implements
34781 to always fail with ENOSYS. Some functions are actually named
34782 something starting with __ and the normal name is an alias. */
34783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34784 choke me
34785 #else
34786 char (*f) () = $ac_func;
34787 #endif
34788 #ifdef __cplusplus
34790 #endif
34793 main ()
34795 return f != $ac_func;
34797 return 0;
34799 _ACEOF
34800 rm -f conftest.$ac_objext conftest$ac_exeext
34801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34802 (eval $ac_link) 2>conftest.er1
34803 ac_status=$?
34804 grep -v '^ *+' conftest.er1 >conftest.err
34805 rm -f conftest.er1
34806 cat conftest.err >&5
34807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34808 (exit $ac_status); } &&
34809 { ac_try='test -z "$ac_c_werror_flag"
34810 || test ! -s conftest.err'
34811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34812 (eval $ac_try) 2>&5
34813 ac_status=$?
34814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34815 (exit $ac_status); }; } &&
34816 { ac_try='test -s conftest$ac_exeext'
34817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34818 (eval $ac_try) 2>&5
34819 ac_status=$?
34820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34821 (exit $ac_status); }; }; then
34822 eval "$as_ac_var=yes"
34823 else
34824 echo "$as_me: failed program was:" >&5
34825 sed 's/^/| /' conftest.$ac_ext >&5
34827 eval "$as_ac_var=no"
34829 rm -f conftest.err conftest.$ac_objext \
34830 conftest$ac_exeext conftest.$ac_ext
34832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34834 if test `eval echo '${'$as_ac_var'}'` = yes; then
34835 cat >>confdefs.h <<_ACEOF
34836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34837 _ACEOF
34840 done
34842 else
34844 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
34845 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
34846 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34847 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
34848 echo $ECHO_N "(cached) $ECHO_C" >&6
34849 else
34853 ac_ext=cc
34854 ac_cpp='$CXXCPP $CPPFLAGS'
34855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34859 cat >conftest.$ac_ext <<_ACEOF
34860 /* confdefs.h. */
34861 _ACEOF
34862 cat confdefs.h >>conftest.$ac_ext
34863 cat >>conftest.$ac_ext <<_ACEOF
34864 /* end confdefs.h. */
34865 #include <math.h>
34867 main ()
34869 _sincos(0, 0, 0);
34871 return 0;
34873 _ACEOF
34874 rm -f conftest.$ac_objext
34875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34876 (eval $ac_compile) 2>conftest.er1
34877 ac_status=$?
34878 grep -v '^ *+' conftest.er1 >conftest.err
34879 rm -f conftest.er1
34880 cat conftest.err >&5
34881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34882 (exit $ac_status); } &&
34883 { ac_try='test -z "$ac_cxx_werror_flag"
34884 || test ! -s conftest.err'
34885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34886 (eval $ac_try) 2>&5
34887 ac_status=$?
34888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34889 (exit $ac_status); }; } &&
34890 { ac_try='test -s conftest.$ac_objext'
34891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34892 (eval $ac_try) 2>&5
34893 ac_status=$?
34894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34895 (exit $ac_status); }; }; then
34896 glibcxx_cv_func__sincos_use=yes
34897 else
34898 echo "$as_me: failed program was:" >&5
34899 sed 's/^/| /' conftest.$ac_ext >&5
34901 glibcxx_cv_func__sincos_use=no
34903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34904 ac_ext=c
34905 ac_cpp='$CPP $CPPFLAGS'
34906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34914 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
34915 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
34917 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34919 for ac_func in _sincos
34921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34922 echo "$as_me:$LINENO: checking for $ac_func" >&5
34923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34924 if eval "test \"\${$as_ac_var+set}\" = set"; then
34925 echo $ECHO_N "(cached) $ECHO_C" >&6
34926 else
34927 if test x$gcc_no_link = xyes; then
34928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34930 { (exit 1); exit 1; }; }
34932 cat >conftest.$ac_ext <<_ACEOF
34933 /* confdefs.h. */
34934 _ACEOF
34935 cat confdefs.h >>conftest.$ac_ext
34936 cat >>conftest.$ac_ext <<_ACEOF
34937 /* end confdefs.h. */
34938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34940 #define $ac_func innocuous_$ac_func
34942 /* System header to define __stub macros and hopefully few prototypes,
34943 which can conflict with char $ac_func (); below.
34944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34945 <limits.h> exists even on freestanding compilers. */
34947 #ifdef __STDC__
34948 # include <limits.h>
34949 #else
34950 # include <assert.h>
34951 #endif
34953 #undef $ac_func
34955 /* Override any gcc2 internal prototype to avoid an error. */
34956 #ifdef __cplusplus
34957 extern "C"
34959 #endif
34960 /* We use char because int might match the return type of a gcc2
34961 builtin and then its argument prototype would still apply. */
34962 char $ac_func ();
34963 /* The GNU C library defines this for functions which it implements
34964 to always fail with ENOSYS. Some functions are actually named
34965 something starting with __ and the normal name is an alias. */
34966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34967 choke me
34968 #else
34969 char (*f) () = $ac_func;
34970 #endif
34971 #ifdef __cplusplus
34973 #endif
34976 main ()
34978 return f != $ac_func;
34980 return 0;
34982 _ACEOF
34983 rm -f conftest.$ac_objext conftest$ac_exeext
34984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34985 (eval $ac_link) 2>conftest.er1
34986 ac_status=$?
34987 grep -v '^ *+' conftest.er1 >conftest.err
34988 rm -f conftest.er1
34989 cat conftest.err >&5
34990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34991 (exit $ac_status); } &&
34992 { ac_try='test -z "$ac_c_werror_flag"
34993 || test ! -s conftest.err'
34994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34995 (eval $ac_try) 2>&5
34996 ac_status=$?
34997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34998 (exit $ac_status); }; } &&
34999 { ac_try='test -s conftest$ac_exeext'
35000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35001 (eval $ac_try) 2>&5
35002 ac_status=$?
35003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35004 (exit $ac_status); }; }; then
35005 eval "$as_ac_var=yes"
35006 else
35007 echo "$as_me: failed program was:" >&5
35008 sed 's/^/| /' conftest.$ac_ext >&5
35010 eval "$as_ac_var=no"
35012 rm -f conftest.err conftest.$ac_objext \
35013 conftest$ac_exeext conftest.$ac_ext
35015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35017 if test `eval echo '${'$as_ac_var'}'` = yes; then
35018 cat >>confdefs.h <<_ACEOF
35019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35020 _ACEOF
35023 done
35030 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
35031 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
35032 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35033 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
35034 echo $ECHO_N "(cached) $ECHO_C" >&6
35035 else
35039 ac_ext=cc
35040 ac_cpp='$CXXCPP $CPPFLAGS'
35041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35045 cat >conftest.$ac_ext <<_ACEOF
35046 /* confdefs.h. */
35047 _ACEOF
35048 cat confdefs.h >>conftest.$ac_ext
35049 cat >>conftest.$ac_ext <<_ACEOF
35050 /* end confdefs.h. */
35051 #include <math.h>
35052 #ifdef HAVE_IEEEFP_H
35053 #include <ieeefp.h>
35054 #endif
35057 main ()
35059 fpclass(0);
35061 return 0;
35063 _ACEOF
35064 rm -f conftest.$ac_objext
35065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35066 (eval $ac_compile) 2>conftest.er1
35067 ac_status=$?
35068 grep -v '^ *+' conftest.er1 >conftest.err
35069 rm -f conftest.er1
35070 cat conftest.err >&5
35071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35072 (exit $ac_status); } &&
35073 { ac_try='test -z "$ac_cxx_werror_flag"
35074 || test ! -s conftest.err'
35075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35076 (eval $ac_try) 2>&5
35077 ac_status=$?
35078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35079 (exit $ac_status); }; } &&
35080 { ac_try='test -s conftest.$ac_objext'
35081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35082 (eval $ac_try) 2>&5
35083 ac_status=$?
35084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35085 (exit $ac_status); }; }; then
35086 glibcxx_cv_func_fpclass_use=yes
35087 else
35088 echo "$as_me: failed program was:" >&5
35089 sed 's/^/| /' conftest.$ac_ext >&5
35091 glibcxx_cv_func_fpclass_use=no
35093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35094 ac_ext=c
35095 ac_cpp='$CPP $CPPFLAGS'
35096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35104 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
35105 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
35107 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35109 for ac_func in fpclass
35111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35112 echo "$as_me:$LINENO: checking for $ac_func" >&5
35113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35114 if eval "test \"\${$as_ac_var+set}\" = set"; then
35115 echo $ECHO_N "(cached) $ECHO_C" >&6
35116 else
35117 if test x$gcc_no_link = xyes; then
35118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35120 { (exit 1); exit 1; }; }
35122 cat >conftest.$ac_ext <<_ACEOF
35123 /* confdefs.h. */
35124 _ACEOF
35125 cat confdefs.h >>conftest.$ac_ext
35126 cat >>conftest.$ac_ext <<_ACEOF
35127 /* end confdefs.h. */
35128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35130 #define $ac_func innocuous_$ac_func
35132 /* System header to define __stub macros and hopefully few prototypes,
35133 which can conflict with char $ac_func (); below.
35134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35135 <limits.h> exists even on freestanding compilers. */
35137 #ifdef __STDC__
35138 # include <limits.h>
35139 #else
35140 # include <assert.h>
35141 #endif
35143 #undef $ac_func
35145 /* Override any gcc2 internal prototype to avoid an error. */
35146 #ifdef __cplusplus
35147 extern "C"
35149 #endif
35150 /* We use char because int might match the return type of a gcc2
35151 builtin and then its argument prototype would still apply. */
35152 char $ac_func ();
35153 /* The GNU C library defines this for functions which it implements
35154 to always fail with ENOSYS. Some functions are actually named
35155 something starting with __ and the normal name is an alias. */
35156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35157 choke me
35158 #else
35159 char (*f) () = $ac_func;
35160 #endif
35161 #ifdef __cplusplus
35163 #endif
35166 main ()
35168 return f != $ac_func;
35170 return 0;
35172 _ACEOF
35173 rm -f conftest.$ac_objext conftest$ac_exeext
35174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35175 (eval $ac_link) 2>conftest.er1
35176 ac_status=$?
35177 grep -v '^ *+' conftest.er1 >conftest.err
35178 rm -f conftest.er1
35179 cat conftest.err >&5
35180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35181 (exit $ac_status); } &&
35182 { ac_try='test -z "$ac_c_werror_flag"
35183 || test ! -s conftest.err'
35184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35185 (eval $ac_try) 2>&5
35186 ac_status=$?
35187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35188 (exit $ac_status); }; } &&
35189 { ac_try='test -s conftest$ac_exeext'
35190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35191 (eval $ac_try) 2>&5
35192 ac_status=$?
35193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35194 (exit $ac_status); }; }; then
35195 eval "$as_ac_var=yes"
35196 else
35197 echo "$as_me: failed program was:" >&5
35198 sed 's/^/| /' conftest.$ac_ext >&5
35200 eval "$as_ac_var=no"
35202 rm -f conftest.err conftest.$ac_objext \
35203 conftest$ac_exeext conftest.$ac_ext
35205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35207 if test `eval echo '${'$as_ac_var'}'` = yes; then
35208 cat >>confdefs.h <<_ACEOF
35209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35210 _ACEOF
35213 done
35215 else
35217 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
35218 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
35219 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35220 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
35221 echo $ECHO_N "(cached) $ECHO_C" >&6
35222 else
35226 ac_ext=cc
35227 ac_cpp='$CXXCPP $CPPFLAGS'
35228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35232 cat >conftest.$ac_ext <<_ACEOF
35233 /* confdefs.h. */
35234 _ACEOF
35235 cat confdefs.h >>conftest.$ac_ext
35236 cat >>conftest.$ac_ext <<_ACEOF
35237 /* end confdefs.h. */
35238 #include <math.h>
35239 #ifdef HAVE_IEEEFP_H
35240 #include <ieeefp.h>
35241 #endif
35244 main ()
35246 _fpclass(0);
35248 return 0;
35250 _ACEOF
35251 rm -f conftest.$ac_objext
35252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35253 (eval $ac_compile) 2>conftest.er1
35254 ac_status=$?
35255 grep -v '^ *+' conftest.er1 >conftest.err
35256 rm -f conftest.er1
35257 cat conftest.err >&5
35258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35259 (exit $ac_status); } &&
35260 { ac_try='test -z "$ac_cxx_werror_flag"
35261 || test ! -s conftest.err'
35262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35263 (eval $ac_try) 2>&5
35264 ac_status=$?
35265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35266 (exit $ac_status); }; } &&
35267 { ac_try='test -s conftest.$ac_objext'
35268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35269 (eval $ac_try) 2>&5
35270 ac_status=$?
35271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35272 (exit $ac_status); }; }; then
35273 glibcxx_cv_func__fpclass_use=yes
35274 else
35275 echo "$as_me: failed program was:" >&5
35276 sed 's/^/| /' conftest.$ac_ext >&5
35278 glibcxx_cv_func__fpclass_use=no
35280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35281 ac_ext=c
35282 ac_cpp='$CPP $CPPFLAGS'
35283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35291 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
35292 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
35294 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35296 for ac_func in _fpclass
35298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35299 echo "$as_me:$LINENO: checking for $ac_func" >&5
35300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35301 if eval "test \"\${$as_ac_var+set}\" = set"; then
35302 echo $ECHO_N "(cached) $ECHO_C" >&6
35303 else
35304 if test x$gcc_no_link = xyes; then
35305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35307 { (exit 1); exit 1; }; }
35309 cat >conftest.$ac_ext <<_ACEOF
35310 /* confdefs.h. */
35311 _ACEOF
35312 cat confdefs.h >>conftest.$ac_ext
35313 cat >>conftest.$ac_ext <<_ACEOF
35314 /* end confdefs.h. */
35315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35317 #define $ac_func innocuous_$ac_func
35319 /* System header to define __stub macros and hopefully few prototypes,
35320 which can conflict with char $ac_func (); below.
35321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35322 <limits.h> exists even on freestanding compilers. */
35324 #ifdef __STDC__
35325 # include <limits.h>
35326 #else
35327 # include <assert.h>
35328 #endif
35330 #undef $ac_func
35332 /* Override any gcc2 internal prototype to avoid an error. */
35333 #ifdef __cplusplus
35334 extern "C"
35336 #endif
35337 /* We use char because int might match the return type of a gcc2
35338 builtin and then its argument prototype would still apply. */
35339 char $ac_func ();
35340 /* The GNU C library defines this for functions which it implements
35341 to always fail with ENOSYS. Some functions are actually named
35342 something starting with __ and the normal name is an alias. */
35343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35344 choke me
35345 #else
35346 char (*f) () = $ac_func;
35347 #endif
35348 #ifdef __cplusplus
35350 #endif
35353 main ()
35355 return f != $ac_func;
35357 return 0;
35359 _ACEOF
35360 rm -f conftest.$ac_objext conftest$ac_exeext
35361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35362 (eval $ac_link) 2>conftest.er1
35363 ac_status=$?
35364 grep -v '^ *+' conftest.er1 >conftest.err
35365 rm -f conftest.er1
35366 cat conftest.err >&5
35367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35368 (exit $ac_status); } &&
35369 { ac_try='test -z "$ac_c_werror_flag"
35370 || test ! -s conftest.err'
35371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35372 (eval $ac_try) 2>&5
35373 ac_status=$?
35374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35375 (exit $ac_status); }; } &&
35376 { ac_try='test -s conftest$ac_exeext'
35377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35378 (eval $ac_try) 2>&5
35379 ac_status=$?
35380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35381 (exit $ac_status); }; }; then
35382 eval "$as_ac_var=yes"
35383 else
35384 echo "$as_me: failed program was:" >&5
35385 sed 's/^/| /' conftest.$ac_ext >&5
35387 eval "$as_ac_var=no"
35389 rm -f conftest.err conftest.$ac_objext \
35390 conftest$ac_exeext conftest.$ac_ext
35392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35394 if test `eval echo '${'$as_ac_var'}'` = yes; then
35395 cat >>confdefs.h <<_ACEOF
35396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35397 _ACEOF
35400 done
35407 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
35408 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
35409 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35410 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
35411 echo $ECHO_N "(cached) $ECHO_C" >&6
35412 else
35416 ac_ext=cc
35417 ac_cpp='$CXXCPP $CPPFLAGS'
35418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35422 cat >conftest.$ac_ext <<_ACEOF
35423 /* confdefs.h. */
35424 _ACEOF
35425 cat confdefs.h >>conftest.$ac_ext
35426 cat >>conftest.$ac_ext <<_ACEOF
35427 /* end confdefs.h. */
35428 #include <math.h>
35429 #ifdef HAVE_IEEEFP_H
35430 #include <ieeefp.h>
35431 #endif
35434 main ()
35436 qfpclass(0);
35438 return 0;
35440 _ACEOF
35441 rm -f conftest.$ac_objext
35442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35443 (eval $ac_compile) 2>conftest.er1
35444 ac_status=$?
35445 grep -v '^ *+' conftest.er1 >conftest.err
35446 rm -f conftest.er1
35447 cat conftest.err >&5
35448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35449 (exit $ac_status); } &&
35450 { ac_try='test -z "$ac_cxx_werror_flag"
35451 || test ! -s conftest.err'
35452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35453 (eval $ac_try) 2>&5
35454 ac_status=$?
35455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35456 (exit $ac_status); }; } &&
35457 { ac_try='test -s conftest.$ac_objext'
35458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35459 (eval $ac_try) 2>&5
35460 ac_status=$?
35461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35462 (exit $ac_status); }; }; then
35463 glibcxx_cv_func_qfpclass_use=yes
35464 else
35465 echo "$as_me: failed program was:" >&5
35466 sed 's/^/| /' conftest.$ac_ext >&5
35468 glibcxx_cv_func_qfpclass_use=no
35470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35471 ac_ext=c
35472 ac_cpp='$CPP $CPPFLAGS'
35473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35481 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
35482 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
35484 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35486 for ac_func in qfpclass
35488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35489 echo "$as_me:$LINENO: checking for $ac_func" >&5
35490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35491 if eval "test \"\${$as_ac_var+set}\" = set"; then
35492 echo $ECHO_N "(cached) $ECHO_C" >&6
35493 else
35494 if test x$gcc_no_link = xyes; then
35495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35497 { (exit 1); exit 1; }; }
35499 cat >conftest.$ac_ext <<_ACEOF
35500 /* confdefs.h. */
35501 _ACEOF
35502 cat confdefs.h >>conftest.$ac_ext
35503 cat >>conftest.$ac_ext <<_ACEOF
35504 /* end confdefs.h. */
35505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35507 #define $ac_func innocuous_$ac_func
35509 /* System header to define __stub macros and hopefully few prototypes,
35510 which can conflict with char $ac_func (); below.
35511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35512 <limits.h> exists even on freestanding compilers. */
35514 #ifdef __STDC__
35515 # include <limits.h>
35516 #else
35517 # include <assert.h>
35518 #endif
35520 #undef $ac_func
35522 /* Override any gcc2 internal prototype to avoid an error. */
35523 #ifdef __cplusplus
35524 extern "C"
35526 #endif
35527 /* We use char because int might match the return type of a gcc2
35528 builtin and then its argument prototype would still apply. */
35529 char $ac_func ();
35530 /* The GNU C library defines this for functions which it implements
35531 to always fail with ENOSYS. Some functions are actually named
35532 something starting with __ and the normal name is an alias. */
35533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35534 choke me
35535 #else
35536 char (*f) () = $ac_func;
35537 #endif
35538 #ifdef __cplusplus
35540 #endif
35543 main ()
35545 return f != $ac_func;
35547 return 0;
35549 _ACEOF
35550 rm -f conftest.$ac_objext conftest$ac_exeext
35551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35552 (eval $ac_link) 2>conftest.er1
35553 ac_status=$?
35554 grep -v '^ *+' conftest.er1 >conftest.err
35555 rm -f conftest.er1
35556 cat conftest.err >&5
35557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35558 (exit $ac_status); } &&
35559 { ac_try='test -z "$ac_c_werror_flag"
35560 || test ! -s conftest.err'
35561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35562 (eval $ac_try) 2>&5
35563 ac_status=$?
35564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35565 (exit $ac_status); }; } &&
35566 { ac_try='test -s conftest$ac_exeext'
35567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35568 (eval $ac_try) 2>&5
35569 ac_status=$?
35570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35571 (exit $ac_status); }; }; then
35572 eval "$as_ac_var=yes"
35573 else
35574 echo "$as_me: failed program was:" >&5
35575 sed 's/^/| /' conftest.$ac_ext >&5
35577 eval "$as_ac_var=no"
35579 rm -f conftest.err conftest.$ac_objext \
35580 conftest$ac_exeext conftest.$ac_ext
35582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35584 if test `eval echo '${'$as_ac_var'}'` = yes; then
35585 cat >>confdefs.h <<_ACEOF
35586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35587 _ACEOF
35590 done
35592 else
35594 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
35595 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
35596 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35597 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
35598 echo $ECHO_N "(cached) $ECHO_C" >&6
35599 else
35603 ac_ext=cc
35604 ac_cpp='$CXXCPP $CPPFLAGS'
35605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35609 cat >conftest.$ac_ext <<_ACEOF
35610 /* confdefs.h. */
35611 _ACEOF
35612 cat confdefs.h >>conftest.$ac_ext
35613 cat >>conftest.$ac_ext <<_ACEOF
35614 /* end confdefs.h. */
35615 #include <math.h>
35616 #ifdef HAVE_IEEEFP_H
35617 #include <ieeefp.h>
35618 #endif
35621 main ()
35623 _qfpclass(0);
35625 return 0;
35627 _ACEOF
35628 rm -f conftest.$ac_objext
35629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35630 (eval $ac_compile) 2>conftest.er1
35631 ac_status=$?
35632 grep -v '^ *+' conftest.er1 >conftest.err
35633 rm -f conftest.er1
35634 cat conftest.err >&5
35635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35636 (exit $ac_status); } &&
35637 { ac_try='test -z "$ac_cxx_werror_flag"
35638 || test ! -s conftest.err'
35639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35640 (eval $ac_try) 2>&5
35641 ac_status=$?
35642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35643 (exit $ac_status); }; } &&
35644 { ac_try='test -s conftest.$ac_objext'
35645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35646 (eval $ac_try) 2>&5
35647 ac_status=$?
35648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35649 (exit $ac_status); }; }; then
35650 glibcxx_cv_func__qfpclass_use=yes
35651 else
35652 echo "$as_me: failed program was:" >&5
35653 sed 's/^/| /' conftest.$ac_ext >&5
35655 glibcxx_cv_func__qfpclass_use=no
35657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35658 ac_ext=c
35659 ac_cpp='$CPP $CPPFLAGS'
35660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35668 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
35669 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
35671 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
35673 for ac_func in _qfpclass
35675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35676 echo "$as_me:$LINENO: checking for $ac_func" >&5
35677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35678 if eval "test \"\${$as_ac_var+set}\" = set"; then
35679 echo $ECHO_N "(cached) $ECHO_C" >&6
35680 else
35681 if test x$gcc_no_link = xyes; then
35682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35684 { (exit 1); exit 1; }; }
35686 cat >conftest.$ac_ext <<_ACEOF
35687 /* confdefs.h. */
35688 _ACEOF
35689 cat confdefs.h >>conftest.$ac_ext
35690 cat >>conftest.$ac_ext <<_ACEOF
35691 /* end confdefs.h. */
35692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35694 #define $ac_func innocuous_$ac_func
35696 /* System header to define __stub macros and hopefully few prototypes,
35697 which can conflict with char $ac_func (); below.
35698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35699 <limits.h> exists even on freestanding compilers. */
35701 #ifdef __STDC__
35702 # include <limits.h>
35703 #else
35704 # include <assert.h>
35705 #endif
35707 #undef $ac_func
35709 /* Override any gcc2 internal prototype to avoid an error. */
35710 #ifdef __cplusplus
35711 extern "C"
35713 #endif
35714 /* We use char because int might match the return type of a gcc2
35715 builtin and then its argument prototype would still apply. */
35716 char $ac_func ();
35717 /* The GNU C library defines this for functions which it implements
35718 to always fail with ENOSYS. Some functions are actually named
35719 something starting with __ and the normal name is an alias. */
35720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35721 choke me
35722 #else
35723 char (*f) () = $ac_func;
35724 #endif
35725 #ifdef __cplusplus
35727 #endif
35730 main ()
35732 return f != $ac_func;
35734 return 0;
35736 _ACEOF
35737 rm -f conftest.$ac_objext conftest$ac_exeext
35738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35739 (eval $ac_link) 2>conftest.er1
35740 ac_status=$?
35741 grep -v '^ *+' conftest.er1 >conftest.err
35742 rm -f conftest.er1
35743 cat conftest.err >&5
35744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35745 (exit $ac_status); } &&
35746 { ac_try='test -z "$ac_c_werror_flag"
35747 || test ! -s conftest.err'
35748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35749 (eval $ac_try) 2>&5
35750 ac_status=$?
35751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35752 (exit $ac_status); }; } &&
35753 { ac_try='test -s conftest$ac_exeext'
35754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35755 (eval $ac_try) 2>&5
35756 ac_status=$?
35757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35758 (exit $ac_status); }; }; then
35759 eval "$as_ac_var=yes"
35760 else
35761 echo "$as_me: failed program was:" >&5
35762 sed 's/^/| /' conftest.$ac_ext >&5
35764 eval "$as_ac_var=no"
35766 rm -f conftest.err conftest.$ac_objext \
35767 conftest$ac_exeext conftest.$ac_ext
35769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35771 if test `eval echo '${'$as_ac_var'}'` = yes; then
35772 cat >>confdefs.h <<_ACEOF
35773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35774 _ACEOF
35777 done
35784 echo "$as_me:$LINENO: checking for hypot declaration" >&5
35785 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
35786 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35787 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
35788 echo $ECHO_N "(cached) $ECHO_C" >&6
35789 else
35793 ac_ext=cc
35794 ac_cpp='$CXXCPP $CPPFLAGS'
35795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35799 cat >conftest.$ac_ext <<_ACEOF
35800 /* confdefs.h. */
35801 _ACEOF
35802 cat confdefs.h >>conftest.$ac_ext
35803 cat >>conftest.$ac_ext <<_ACEOF
35804 /* end confdefs.h. */
35805 #include <math.h>
35807 main ()
35809 hypot(0, 0);
35811 return 0;
35813 _ACEOF
35814 rm -f conftest.$ac_objext
35815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35816 (eval $ac_compile) 2>conftest.er1
35817 ac_status=$?
35818 grep -v '^ *+' conftest.er1 >conftest.err
35819 rm -f conftest.er1
35820 cat conftest.err >&5
35821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35822 (exit $ac_status); } &&
35823 { ac_try='test -z "$ac_cxx_werror_flag"
35824 || test ! -s conftest.err'
35825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35826 (eval $ac_try) 2>&5
35827 ac_status=$?
35828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35829 (exit $ac_status); }; } &&
35830 { ac_try='test -s conftest.$ac_objext'
35831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35832 (eval $ac_try) 2>&5
35833 ac_status=$?
35834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35835 (exit $ac_status); }; }; then
35836 glibcxx_cv_func_hypot_use=yes
35837 else
35838 echo "$as_me: failed program was:" >&5
35839 sed 's/^/| /' conftest.$ac_ext >&5
35841 glibcxx_cv_func_hypot_use=no
35843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35844 ac_ext=c
35845 ac_cpp='$CPP $CPPFLAGS'
35846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35854 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
35855 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
35857 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35859 for ac_func in hypot
35861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35862 echo "$as_me:$LINENO: checking for $ac_func" >&5
35863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35864 if eval "test \"\${$as_ac_var+set}\" = set"; then
35865 echo $ECHO_N "(cached) $ECHO_C" >&6
35866 else
35867 if test x$gcc_no_link = xyes; then
35868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35870 { (exit 1); exit 1; }; }
35872 cat >conftest.$ac_ext <<_ACEOF
35873 /* confdefs.h. */
35874 _ACEOF
35875 cat confdefs.h >>conftest.$ac_ext
35876 cat >>conftest.$ac_ext <<_ACEOF
35877 /* end confdefs.h. */
35878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35880 #define $ac_func innocuous_$ac_func
35882 /* System header to define __stub macros and hopefully few prototypes,
35883 which can conflict with char $ac_func (); below.
35884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35885 <limits.h> exists even on freestanding compilers. */
35887 #ifdef __STDC__
35888 # include <limits.h>
35889 #else
35890 # include <assert.h>
35891 #endif
35893 #undef $ac_func
35895 /* Override any gcc2 internal prototype to avoid an error. */
35896 #ifdef __cplusplus
35897 extern "C"
35899 #endif
35900 /* We use char because int might match the return type of a gcc2
35901 builtin and then its argument prototype would still apply. */
35902 char $ac_func ();
35903 /* The GNU C library defines this for functions which it implements
35904 to always fail with ENOSYS. Some functions are actually named
35905 something starting with __ and the normal name is an alias. */
35906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35907 choke me
35908 #else
35909 char (*f) () = $ac_func;
35910 #endif
35911 #ifdef __cplusplus
35913 #endif
35916 main ()
35918 return f != $ac_func;
35920 return 0;
35922 _ACEOF
35923 rm -f conftest.$ac_objext conftest$ac_exeext
35924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35925 (eval $ac_link) 2>conftest.er1
35926 ac_status=$?
35927 grep -v '^ *+' conftest.er1 >conftest.err
35928 rm -f conftest.er1
35929 cat conftest.err >&5
35930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35931 (exit $ac_status); } &&
35932 { ac_try='test -z "$ac_c_werror_flag"
35933 || test ! -s conftest.err'
35934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35935 (eval $ac_try) 2>&5
35936 ac_status=$?
35937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35938 (exit $ac_status); }; } &&
35939 { ac_try='test -s conftest$ac_exeext'
35940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35941 (eval $ac_try) 2>&5
35942 ac_status=$?
35943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35944 (exit $ac_status); }; }; then
35945 eval "$as_ac_var=yes"
35946 else
35947 echo "$as_me: failed program was:" >&5
35948 sed 's/^/| /' conftest.$ac_ext >&5
35950 eval "$as_ac_var=no"
35952 rm -f conftest.err conftest.$ac_objext \
35953 conftest$ac_exeext conftest.$ac_ext
35955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35957 if test `eval echo '${'$as_ac_var'}'` = yes; then
35958 cat >>confdefs.h <<_ACEOF
35959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35960 _ACEOF
35963 done
35965 else
35967 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
35968 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
35969 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35970 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
35971 echo $ECHO_N "(cached) $ECHO_C" >&6
35972 else
35976 ac_ext=cc
35977 ac_cpp='$CXXCPP $CPPFLAGS'
35978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35982 cat >conftest.$ac_ext <<_ACEOF
35983 /* confdefs.h. */
35984 _ACEOF
35985 cat confdefs.h >>conftest.$ac_ext
35986 cat >>conftest.$ac_ext <<_ACEOF
35987 /* end confdefs.h. */
35988 #include <math.h>
35990 main ()
35992 _hypot(0, 0);
35994 return 0;
35996 _ACEOF
35997 rm -f conftest.$ac_objext
35998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35999 (eval $ac_compile) 2>conftest.er1
36000 ac_status=$?
36001 grep -v '^ *+' conftest.er1 >conftest.err
36002 rm -f conftest.er1
36003 cat conftest.err >&5
36004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36005 (exit $ac_status); } &&
36006 { ac_try='test -z "$ac_cxx_werror_flag"
36007 || test ! -s conftest.err'
36008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36009 (eval $ac_try) 2>&5
36010 ac_status=$?
36011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36012 (exit $ac_status); }; } &&
36013 { ac_try='test -s conftest.$ac_objext'
36014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36015 (eval $ac_try) 2>&5
36016 ac_status=$?
36017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36018 (exit $ac_status); }; }; then
36019 glibcxx_cv_func__hypot_use=yes
36020 else
36021 echo "$as_me: failed program was:" >&5
36022 sed 's/^/| /' conftest.$ac_ext >&5
36024 glibcxx_cv_func__hypot_use=no
36026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36027 ac_ext=c
36028 ac_cpp='$CPP $CPPFLAGS'
36029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36037 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
36038 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
36040 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36042 for ac_func in _hypot
36044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36045 echo "$as_me:$LINENO: checking for $ac_func" >&5
36046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36047 if eval "test \"\${$as_ac_var+set}\" = set"; then
36048 echo $ECHO_N "(cached) $ECHO_C" >&6
36049 else
36050 if test x$gcc_no_link = xyes; then
36051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36053 { (exit 1); exit 1; }; }
36055 cat >conftest.$ac_ext <<_ACEOF
36056 /* confdefs.h. */
36057 _ACEOF
36058 cat confdefs.h >>conftest.$ac_ext
36059 cat >>conftest.$ac_ext <<_ACEOF
36060 /* end confdefs.h. */
36061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36063 #define $ac_func innocuous_$ac_func
36065 /* System header to define __stub macros and hopefully few prototypes,
36066 which can conflict with char $ac_func (); below.
36067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36068 <limits.h> exists even on freestanding compilers. */
36070 #ifdef __STDC__
36071 # include <limits.h>
36072 #else
36073 # include <assert.h>
36074 #endif
36076 #undef $ac_func
36078 /* Override any gcc2 internal prototype to avoid an error. */
36079 #ifdef __cplusplus
36080 extern "C"
36082 #endif
36083 /* We use char because int might match the return type of a gcc2
36084 builtin and then its argument prototype would still apply. */
36085 char $ac_func ();
36086 /* The GNU C library defines this for functions which it implements
36087 to always fail with ENOSYS. Some functions are actually named
36088 something starting with __ and the normal name is an alias. */
36089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36090 choke me
36091 #else
36092 char (*f) () = $ac_func;
36093 #endif
36094 #ifdef __cplusplus
36096 #endif
36099 main ()
36101 return f != $ac_func;
36103 return 0;
36105 _ACEOF
36106 rm -f conftest.$ac_objext conftest$ac_exeext
36107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36108 (eval $ac_link) 2>conftest.er1
36109 ac_status=$?
36110 grep -v '^ *+' conftest.er1 >conftest.err
36111 rm -f conftest.er1
36112 cat conftest.err >&5
36113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36114 (exit $ac_status); } &&
36115 { ac_try='test -z "$ac_c_werror_flag"
36116 || test ! -s conftest.err'
36117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36118 (eval $ac_try) 2>&5
36119 ac_status=$?
36120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36121 (exit $ac_status); }; } &&
36122 { ac_try='test -s conftest$ac_exeext'
36123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36124 (eval $ac_try) 2>&5
36125 ac_status=$?
36126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36127 (exit $ac_status); }; }; then
36128 eval "$as_ac_var=yes"
36129 else
36130 echo "$as_me: failed program was:" >&5
36131 sed 's/^/| /' conftest.$ac_ext >&5
36133 eval "$as_ac_var=no"
36135 rm -f conftest.err conftest.$ac_objext \
36136 conftest$ac_exeext conftest.$ac_ext
36138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36140 if test `eval echo '${'$as_ac_var'}'` = yes; then
36141 cat >>confdefs.h <<_ACEOF
36142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36143 _ACEOF
36146 done
36153 echo "$as_me:$LINENO: checking for float trig functions" >&5
36154 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
36155 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
36156 echo $ECHO_N "(cached) $ECHO_C" >&6
36157 else
36161 ac_ext=cc
36162 ac_cpp='$CXXCPP $CPPFLAGS'
36163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36167 cat >conftest.$ac_ext <<_ACEOF
36168 /* confdefs.h. */
36169 _ACEOF
36170 cat confdefs.h >>conftest.$ac_ext
36171 cat >>conftest.$ac_ext <<_ACEOF
36172 /* end confdefs.h. */
36173 #include <math.h>
36175 main ()
36177 `for x in acosf asinf atanf \
36178 cosf sinf tanf \
36179 coshf sinhf tanhf; do echo "$x (0);"; done`
36181 return 0;
36183 _ACEOF
36184 rm -f conftest.$ac_objext
36185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36186 (eval $ac_compile) 2>conftest.er1
36187 ac_status=$?
36188 grep -v '^ *+' conftest.er1 >conftest.err
36189 rm -f conftest.er1
36190 cat conftest.err >&5
36191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36192 (exit $ac_status); } &&
36193 { ac_try='test -z "$ac_cxx_werror_flag"
36194 || test ! -s conftest.err'
36195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36196 (eval $ac_try) 2>&5
36197 ac_status=$?
36198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36199 (exit $ac_status); }; } &&
36200 { ac_try='test -s conftest.$ac_objext'
36201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36202 (eval $ac_try) 2>&5
36203 ac_status=$?
36204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36205 (exit $ac_status); }; }; then
36206 glibcxx_cv_func_float_trig_use=yes
36207 else
36208 echo "$as_me: failed program was:" >&5
36209 sed 's/^/| /' conftest.$ac_ext >&5
36211 glibcxx_cv_func_float_trig_use=no
36213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36214 ac_ext=c
36215 ac_cpp='$CPP $CPPFLAGS'
36216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36222 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
36223 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
36224 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36234 for ac_func in acosf asinf atanf \
36235 cosf sinf tanf \
36236 coshf sinhf tanhf
36238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36239 echo "$as_me:$LINENO: checking for $ac_func" >&5
36240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36241 if eval "test \"\${$as_ac_var+set}\" = set"; then
36242 echo $ECHO_N "(cached) $ECHO_C" >&6
36243 else
36244 if test x$gcc_no_link = xyes; then
36245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36247 { (exit 1); exit 1; }; }
36249 cat >conftest.$ac_ext <<_ACEOF
36250 /* confdefs.h. */
36251 _ACEOF
36252 cat confdefs.h >>conftest.$ac_ext
36253 cat >>conftest.$ac_ext <<_ACEOF
36254 /* end confdefs.h. */
36255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36257 #define $ac_func innocuous_$ac_func
36259 /* System header to define __stub macros and hopefully few prototypes,
36260 which can conflict with char $ac_func (); below.
36261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36262 <limits.h> exists even on freestanding compilers. */
36264 #ifdef __STDC__
36265 # include <limits.h>
36266 #else
36267 # include <assert.h>
36268 #endif
36270 #undef $ac_func
36272 /* Override any gcc2 internal prototype to avoid an error. */
36273 #ifdef __cplusplus
36274 extern "C"
36276 #endif
36277 /* We use char because int might match the return type of a gcc2
36278 builtin and then its argument prototype would still apply. */
36279 char $ac_func ();
36280 /* The GNU C library defines this for functions which it implements
36281 to always fail with ENOSYS. Some functions are actually named
36282 something starting with __ and the normal name is an alias. */
36283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36284 choke me
36285 #else
36286 char (*f) () = $ac_func;
36287 #endif
36288 #ifdef __cplusplus
36290 #endif
36293 main ()
36295 return f != $ac_func;
36297 return 0;
36299 _ACEOF
36300 rm -f conftest.$ac_objext conftest$ac_exeext
36301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36302 (eval $ac_link) 2>conftest.er1
36303 ac_status=$?
36304 grep -v '^ *+' conftest.er1 >conftest.err
36305 rm -f conftest.er1
36306 cat conftest.err >&5
36307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36308 (exit $ac_status); } &&
36309 { ac_try='test -z "$ac_c_werror_flag"
36310 || test ! -s conftest.err'
36311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36312 (eval $ac_try) 2>&5
36313 ac_status=$?
36314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36315 (exit $ac_status); }; } &&
36316 { ac_try='test -s conftest$ac_exeext'
36317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36318 (eval $ac_try) 2>&5
36319 ac_status=$?
36320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36321 (exit $ac_status); }; }; then
36322 eval "$as_ac_var=yes"
36323 else
36324 echo "$as_me: failed program was:" >&5
36325 sed 's/^/| /' conftest.$ac_ext >&5
36327 eval "$as_ac_var=no"
36329 rm -f conftest.err conftest.$ac_objext \
36330 conftest$ac_exeext conftest.$ac_ext
36332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36334 if test `eval echo '${'$as_ac_var'}'` = yes; then
36335 cat >>confdefs.h <<_ACEOF
36336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36337 _ACEOF
36340 done
36345 echo "$as_me:$LINENO: checking for float round functions" >&5
36346 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
36347 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
36348 echo $ECHO_N "(cached) $ECHO_C" >&6
36349 else
36353 ac_ext=cc
36354 ac_cpp='$CXXCPP $CPPFLAGS'
36355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36359 cat >conftest.$ac_ext <<_ACEOF
36360 /* confdefs.h. */
36361 _ACEOF
36362 cat confdefs.h >>conftest.$ac_ext
36363 cat >>conftest.$ac_ext <<_ACEOF
36364 /* end confdefs.h. */
36365 #include <math.h>
36367 main ()
36369 `for x in ceilf floorf; do echo "$x (0);"; done`
36371 return 0;
36373 _ACEOF
36374 rm -f conftest.$ac_objext
36375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36376 (eval $ac_compile) 2>conftest.er1
36377 ac_status=$?
36378 grep -v '^ *+' conftest.er1 >conftest.err
36379 rm -f conftest.er1
36380 cat conftest.err >&5
36381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36382 (exit $ac_status); } &&
36383 { ac_try='test -z "$ac_cxx_werror_flag"
36384 || test ! -s conftest.err'
36385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36386 (eval $ac_try) 2>&5
36387 ac_status=$?
36388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36389 (exit $ac_status); }; } &&
36390 { ac_try='test -s conftest.$ac_objext'
36391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36392 (eval $ac_try) 2>&5
36393 ac_status=$?
36394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36395 (exit $ac_status); }; }; then
36396 glibcxx_cv_func_float_round_use=yes
36397 else
36398 echo "$as_me: failed program was:" >&5
36399 sed 's/^/| /' conftest.$ac_ext >&5
36401 glibcxx_cv_func_float_round_use=no
36403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36404 ac_ext=c
36405 ac_cpp='$CPP $CPPFLAGS'
36406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36412 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
36413 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
36414 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36417 for ac_func in ceilf floorf
36419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36420 echo "$as_me:$LINENO: checking for $ac_func" >&5
36421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36422 if eval "test \"\${$as_ac_var+set}\" = set"; then
36423 echo $ECHO_N "(cached) $ECHO_C" >&6
36424 else
36425 if test x$gcc_no_link = xyes; then
36426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36428 { (exit 1); exit 1; }; }
36430 cat >conftest.$ac_ext <<_ACEOF
36431 /* confdefs.h. */
36432 _ACEOF
36433 cat confdefs.h >>conftest.$ac_ext
36434 cat >>conftest.$ac_ext <<_ACEOF
36435 /* end confdefs.h. */
36436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36438 #define $ac_func innocuous_$ac_func
36440 /* System header to define __stub macros and hopefully few prototypes,
36441 which can conflict with char $ac_func (); below.
36442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36443 <limits.h> exists even on freestanding compilers. */
36445 #ifdef __STDC__
36446 # include <limits.h>
36447 #else
36448 # include <assert.h>
36449 #endif
36451 #undef $ac_func
36453 /* Override any gcc2 internal prototype to avoid an error. */
36454 #ifdef __cplusplus
36455 extern "C"
36457 #endif
36458 /* We use char because int might match the return type of a gcc2
36459 builtin and then its argument prototype would still apply. */
36460 char $ac_func ();
36461 /* The GNU C library defines this for functions which it implements
36462 to always fail with ENOSYS. Some functions are actually named
36463 something starting with __ and the normal name is an alias. */
36464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36465 choke me
36466 #else
36467 char (*f) () = $ac_func;
36468 #endif
36469 #ifdef __cplusplus
36471 #endif
36474 main ()
36476 return f != $ac_func;
36478 return 0;
36480 _ACEOF
36481 rm -f conftest.$ac_objext conftest$ac_exeext
36482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36483 (eval $ac_link) 2>conftest.er1
36484 ac_status=$?
36485 grep -v '^ *+' conftest.er1 >conftest.err
36486 rm -f conftest.er1
36487 cat conftest.err >&5
36488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36489 (exit $ac_status); } &&
36490 { ac_try='test -z "$ac_c_werror_flag"
36491 || test ! -s conftest.err'
36492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36493 (eval $ac_try) 2>&5
36494 ac_status=$?
36495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36496 (exit $ac_status); }; } &&
36497 { ac_try='test -s conftest$ac_exeext'
36498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36499 (eval $ac_try) 2>&5
36500 ac_status=$?
36501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36502 (exit $ac_status); }; }; then
36503 eval "$as_ac_var=yes"
36504 else
36505 echo "$as_me: failed program was:" >&5
36506 sed 's/^/| /' conftest.$ac_ext >&5
36508 eval "$as_ac_var=no"
36510 rm -f conftest.err conftest.$ac_objext \
36511 conftest$ac_exeext conftest.$ac_ext
36513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36515 if test `eval echo '${'$as_ac_var'}'` = yes; then
36516 cat >>confdefs.h <<_ACEOF
36517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36518 _ACEOF
36521 done
36527 echo "$as_me:$LINENO: checking for expf declaration" >&5
36528 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
36529 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36530 if test "${glibcxx_cv_func_expf_use+set}" = set; then
36531 echo $ECHO_N "(cached) $ECHO_C" >&6
36532 else
36536 ac_ext=cc
36537 ac_cpp='$CXXCPP $CPPFLAGS'
36538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36542 cat >conftest.$ac_ext <<_ACEOF
36543 /* confdefs.h. */
36544 _ACEOF
36545 cat confdefs.h >>conftest.$ac_ext
36546 cat >>conftest.$ac_ext <<_ACEOF
36547 /* end confdefs.h. */
36548 #include <math.h>
36549 #ifdef HAVE_IEEEFP_H
36550 #include <ieeefp.h>
36551 #endif
36554 main ()
36556 expf(0);
36558 return 0;
36560 _ACEOF
36561 rm -f conftest.$ac_objext
36562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36563 (eval $ac_compile) 2>conftest.er1
36564 ac_status=$?
36565 grep -v '^ *+' conftest.er1 >conftest.err
36566 rm -f conftest.er1
36567 cat conftest.err >&5
36568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36569 (exit $ac_status); } &&
36570 { ac_try='test -z "$ac_cxx_werror_flag"
36571 || test ! -s conftest.err'
36572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36573 (eval $ac_try) 2>&5
36574 ac_status=$?
36575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36576 (exit $ac_status); }; } &&
36577 { ac_try='test -s conftest.$ac_objext'
36578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36579 (eval $ac_try) 2>&5
36580 ac_status=$?
36581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36582 (exit $ac_status); }; }; then
36583 glibcxx_cv_func_expf_use=yes
36584 else
36585 echo "$as_me: failed program was:" >&5
36586 sed 's/^/| /' conftest.$ac_ext >&5
36588 glibcxx_cv_func_expf_use=no
36590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36591 ac_ext=c
36592 ac_cpp='$CPP $CPPFLAGS'
36593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36601 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
36602 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
36604 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36606 for ac_func in expf
36608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36609 echo "$as_me:$LINENO: checking for $ac_func" >&5
36610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36611 if eval "test \"\${$as_ac_var+set}\" = set"; then
36612 echo $ECHO_N "(cached) $ECHO_C" >&6
36613 else
36614 if test x$gcc_no_link = xyes; then
36615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36617 { (exit 1); exit 1; }; }
36619 cat >conftest.$ac_ext <<_ACEOF
36620 /* confdefs.h. */
36621 _ACEOF
36622 cat confdefs.h >>conftest.$ac_ext
36623 cat >>conftest.$ac_ext <<_ACEOF
36624 /* end confdefs.h. */
36625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36627 #define $ac_func innocuous_$ac_func
36629 /* System header to define __stub macros and hopefully few prototypes,
36630 which can conflict with char $ac_func (); below.
36631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36632 <limits.h> exists even on freestanding compilers. */
36634 #ifdef __STDC__
36635 # include <limits.h>
36636 #else
36637 # include <assert.h>
36638 #endif
36640 #undef $ac_func
36642 /* Override any gcc2 internal prototype to avoid an error. */
36643 #ifdef __cplusplus
36644 extern "C"
36646 #endif
36647 /* We use char because int might match the return type of a gcc2
36648 builtin and then its argument prototype would still apply. */
36649 char $ac_func ();
36650 /* The GNU C library defines this for functions which it implements
36651 to always fail with ENOSYS. Some functions are actually named
36652 something starting with __ and the normal name is an alias. */
36653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36654 choke me
36655 #else
36656 char (*f) () = $ac_func;
36657 #endif
36658 #ifdef __cplusplus
36660 #endif
36663 main ()
36665 return f != $ac_func;
36667 return 0;
36669 _ACEOF
36670 rm -f conftest.$ac_objext conftest$ac_exeext
36671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36672 (eval $ac_link) 2>conftest.er1
36673 ac_status=$?
36674 grep -v '^ *+' conftest.er1 >conftest.err
36675 rm -f conftest.er1
36676 cat conftest.err >&5
36677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36678 (exit $ac_status); } &&
36679 { ac_try='test -z "$ac_c_werror_flag"
36680 || test ! -s conftest.err'
36681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36682 (eval $ac_try) 2>&5
36683 ac_status=$?
36684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36685 (exit $ac_status); }; } &&
36686 { ac_try='test -s conftest$ac_exeext'
36687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36688 (eval $ac_try) 2>&5
36689 ac_status=$?
36690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36691 (exit $ac_status); }; }; then
36692 eval "$as_ac_var=yes"
36693 else
36694 echo "$as_me: failed program was:" >&5
36695 sed 's/^/| /' conftest.$ac_ext >&5
36697 eval "$as_ac_var=no"
36699 rm -f conftest.err conftest.$ac_objext \
36700 conftest$ac_exeext conftest.$ac_ext
36702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36704 if test `eval echo '${'$as_ac_var'}'` = yes; then
36705 cat >>confdefs.h <<_ACEOF
36706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36707 _ACEOF
36710 done
36712 else
36714 echo "$as_me:$LINENO: checking for _expf declaration" >&5
36715 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
36716 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36717 if test "${glibcxx_cv_func__expf_use+set}" = set; then
36718 echo $ECHO_N "(cached) $ECHO_C" >&6
36719 else
36723 ac_ext=cc
36724 ac_cpp='$CXXCPP $CPPFLAGS'
36725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36729 cat >conftest.$ac_ext <<_ACEOF
36730 /* confdefs.h. */
36731 _ACEOF
36732 cat confdefs.h >>conftest.$ac_ext
36733 cat >>conftest.$ac_ext <<_ACEOF
36734 /* end confdefs.h. */
36735 #include <math.h>
36736 #ifdef HAVE_IEEEFP_H
36737 #include <ieeefp.h>
36738 #endif
36741 main ()
36743 _expf(0);
36745 return 0;
36747 _ACEOF
36748 rm -f conftest.$ac_objext
36749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36750 (eval $ac_compile) 2>conftest.er1
36751 ac_status=$?
36752 grep -v '^ *+' conftest.er1 >conftest.err
36753 rm -f conftest.er1
36754 cat conftest.err >&5
36755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36756 (exit $ac_status); } &&
36757 { ac_try='test -z "$ac_cxx_werror_flag"
36758 || test ! -s conftest.err'
36759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36760 (eval $ac_try) 2>&5
36761 ac_status=$?
36762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36763 (exit $ac_status); }; } &&
36764 { ac_try='test -s conftest.$ac_objext'
36765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36766 (eval $ac_try) 2>&5
36767 ac_status=$?
36768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36769 (exit $ac_status); }; }; then
36770 glibcxx_cv_func__expf_use=yes
36771 else
36772 echo "$as_me: failed program was:" >&5
36773 sed 's/^/| /' conftest.$ac_ext >&5
36775 glibcxx_cv_func__expf_use=no
36777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36778 ac_ext=c
36779 ac_cpp='$CPP $CPPFLAGS'
36780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36788 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
36789 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
36791 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36793 for ac_func in _expf
36795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36796 echo "$as_me:$LINENO: checking for $ac_func" >&5
36797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36798 if eval "test \"\${$as_ac_var+set}\" = set"; then
36799 echo $ECHO_N "(cached) $ECHO_C" >&6
36800 else
36801 if test x$gcc_no_link = xyes; then
36802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36804 { (exit 1); exit 1; }; }
36806 cat >conftest.$ac_ext <<_ACEOF
36807 /* confdefs.h. */
36808 _ACEOF
36809 cat confdefs.h >>conftest.$ac_ext
36810 cat >>conftest.$ac_ext <<_ACEOF
36811 /* end confdefs.h. */
36812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36814 #define $ac_func innocuous_$ac_func
36816 /* System header to define __stub macros and hopefully few prototypes,
36817 which can conflict with char $ac_func (); below.
36818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36819 <limits.h> exists even on freestanding compilers. */
36821 #ifdef __STDC__
36822 # include <limits.h>
36823 #else
36824 # include <assert.h>
36825 #endif
36827 #undef $ac_func
36829 /* Override any gcc2 internal prototype to avoid an error. */
36830 #ifdef __cplusplus
36831 extern "C"
36833 #endif
36834 /* We use char because int might match the return type of a gcc2
36835 builtin and then its argument prototype would still apply. */
36836 char $ac_func ();
36837 /* The GNU C library defines this for functions which it implements
36838 to always fail with ENOSYS. Some functions are actually named
36839 something starting with __ and the normal name is an alias. */
36840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36841 choke me
36842 #else
36843 char (*f) () = $ac_func;
36844 #endif
36845 #ifdef __cplusplus
36847 #endif
36850 main ()
36852 return f != $ac_func;
36854 return 0;
36856 _ACEOF
36857 rm -f conftest.$ac_objext conftest$ac_exeext
36858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36859 (eval $ac_link) 2>conftest.er1
36860 ac_status=$?
36861 grep -v '^ *+' conftest.er1 >conftest.err
36862 rm -f conftest.er1
36863 cat conftest.err >&5
36864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36865 (exit $ac_status); } &&
36866 { ac_try='test -z "$ac_c_werror_flag"
36867 || test ! -s conftest.err'
36868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36869 (eval $ac_try) 2>&5
36870 ac_status=$?
36871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36872 (exit $ac_status); }; } &&
36873 { ac_try='test -s conftest$ac_exeext'
36874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36875 (eval $ac_try) 2>&5
36876 ac_status=$?
36877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36878 (exit $ac_status); }; }; then
36879 eval "$as_ac_var=yes"
36880 else
36881 echo "$as_me: failed program was:" >&5
36882 sed 's/^/| /' conftest.$ac_ext >&5
36884 eval "$as_ac_var=no"
36886 rm -f conftest.err conftest.$ac_objext \
36887 conftest$ac_exeext conftest.$ac_ext
36889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36891 if test `eval echo '${'$as_ac_var'}'` = yes; then
36892 cat >>confdefs.h <<_ACEOF
36893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36894 _ACEOF
36897 done
36904 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
36905 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
36906 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36907 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
36908 echo $ECHO_N "(cached) $ECHO_C" >&6
36909 else
36913 ac_ext=cc
36914 ac_cpp='$CXXCPP $CPPFLAGS'
36915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36919 cat >conftest.$ac_ext <<_ACEOF
36920 /* confdefs.h. */
36921 _ACEOF
36922 cat confdefs.h >>conftest.$ac_ext
36923 cat >>conftest.$ac_ext <<_ACEOF
36924 /* end confdefs.h. */
36925 #include <math.h>
36926 #ifdef HAVE_IEEEFP_H
36927 #include <ieeefp.h>
36928 #endif
36931 main ()
36933 isnanf(0);
36935 return 0;
36937 _ACEOF
36938 rm -f conftest.$ac_objext
36939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36940 (eval $ac_compile) 2>conftest.er1
36941 ac_status=$?
36942 grep -v '^ *+' conftest.er1 >conftest.err
36943 rm -f conftest.er1
36944 cat conftest.err >&5
36945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36946 (exit $ac_status); } &&
36947 { ac_try='test -z "$ac_cxx_werror_flag"
36948 || test ! -s conftest.err'
36949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36950 (eval $ac_try) 2>&5
36951 ac_status=$?
36952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36953 (exit $ac_status); }; } &&
36954 { ac_try='test -s conftest.$ac_objext'
36955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36956 (eval $ac_try) 2>&5
36957 ac_status=$?
36958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36959 (exit $ac_status); }; }; then
36960 glibcxx_cv_func_isnanf_use=yes
36961 else
36962 echo "$as_me: failed program was:" >&5
36963 sed 's/^/| /' conftest.$ac_ext >&5
36965 glibcxx_cv_func_isnanf_use=no
36967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36968 ac_ext=c
36969 ac_cpp='$CPP $CPPFLAGS'
36970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36978 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
36979 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
36981 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36983 for ac_func in isnanf
36985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36986 echo "$as_me:$LINENO: checking for $ac_func" >&5
36987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36988 if eval "test \"\${$as_ac_var+set}\" = set"; then
36989 echo $ECHO_N "(cached) $ECHO_C" >&6
36990 else
36991 if test x$gcc_no_link = xyes; then
36992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36994 { (exit 1); exit 1; }; }
36996 cat >conftest.$ac_ext <<_ACEOF
36997 /* confdefs.h. */
36998 _ACEOF
36999 cat confdefs.h >>conftest.$ac_ext
37000 cat >>conftest.$ac_ext <<_ACEOF
37001 /* end confdefs.h. */
37002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37004 #define $ac_func innocuous_$ac_func
37006 /* System header to define __stub macros and hopefully few prototypes,
37007 which can conflict with char $ac_func (); below.
37008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37009 <limits.h> exists even on freestanding compilers. */
37011 #ifdef __STDC__
37012 # include <limits.h>
37013 #else
37014 # include <assert.h>
37015 #endif
37017 #undef $ac_func
37019 /* Override any gcc2 internal prototype to avoid an error. */
37020 #ifdef __cplusplus
37021 extern "C"
37023 #endif
37024 /* We use char because int might match the return type of a gcc2
37025 builtin and then its argument prototype would still apply. */
37026 char $ac_func ();
37027 /* The GNU C library defines this for functions which it implements
37028 to always fail with ENOSYS. Some functions are actually named
37029 something starting with __ and the normal name is an alias. */
37030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37031 choke me
37032 #else
37033 char (*f) () = $ac_func;
37034 #endif
37035 #ifdef __cplusplus
37037 #endif
37040 main ()
37042 return f != $ac_func;
37044 return 0;
37046 _ACEOF
37047 rm -f conftest.$ac_objext conftest$ac_exeext
37048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37049 (eval $ac_link) 2>conftest.er1
37050 ac_status=$?
37051 grep -v '^ *+' conftest.er1 >conftest.err
37052 rm -f conftest.er1
37053 cat conftest.err >&5
37054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37055 (exit $ac_status); } &&
37056 { ac_try='test -z "$ac_c_werror_flag"
37057 || test ! -s conftest.err'
37058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37059 (eval $ac_try) 2>&5
37060 ac_status=$?
37061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37062 (exit $ac_status); }; } &&
37063 { ac_try='test -s conftest$ac_exeext'
37064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37065 (eval $ac_try) 2>&5
37066 ac_status=$?
37067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37068 (exit $ac_status); }; }; then
37069 eval "$as_ac_var=yes"
37070 else
37071 echo "$as_me: failed program was:" >&5
37072 sed 's/^/| /' conftest.$ac_ext >&5
37074 eval "$as_ac_var=no"
37076 rm -f conftest.err conftest.$ac_objext \
37077 conftest$ac_exeext conftest.$ac_ext
37079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37081 if test `eval echo '${'$as_ac_var'}'` = yes; then
37082 cat >>confdefs.h <<_ACEOF
37083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37084 _ACEOF
37087 done
37089 else
37091 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
37092 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
37093 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
37094 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
37095 echo $ECHO_N "(cached) $ECHO_C" >&6
37096 else
37100 ac_ext=cc
37101 ac_cpp='$CXXCPP $CPPFLAGS'
37102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37106 cat >conftest.$ac_ext <<_ACEOF
37107 /* confdefs.h. */
37108 _ACEOF
37109 cat confdefs.h >>conftest.$ac_ext
37110 cat >>conftest.$ac_ext <<_ACEOF
37111 /* end confdefs.h. */
37112 #include <math.h>
37113 #ifdef HAVE_IEEEFP_H
37114 #include <ieeefp.h>
37115 #endif
37118 main ()
37120 _isnanf(0);
37122 return 0;
37124 _ACEOF
37125 rm -f conftest.$ac_objext
37126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37127 (eval $ac_compile) 2>conftest.er1
37128 ac_status=$?
37129 grep -v '^ *+' conftest.er1 >conftest.err
37130 rm -f conftest.er1
37131 cat conftest.err >&5
37132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37133 (exit $ac_status); } &&
37134 { ac_try='test -z "$ac_cxx_werror_flag"
37135 || test ! -s conftest.err'
37136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37137 (eval $ac_try) 2>&5
37138 ac_status=$?
37139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37140 (exit $ac_status); }; } &&
37141 { ac_try='test -s conftest.$ac_objext'
37142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37143 (eval $ac_try) 2>&5
37144 ac_status=$?
37145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37146 (exit $ac_status); }; }; then
37147 glibcxx_cv_func__isnanf_use=yes
37148 else
37149 echo "$as_me: failed program was:" >&5
37150 sed 's/^/| /' conftest.$ac_ext >&5
37152 glibcxx_cv_func__isnanf_use=no
37154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37155 ac_ext=c
37156 ac_cpp='$CPP $CPPFLAGS'
37157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37165 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
37166 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
37168 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
37170 for ac_func in _isnanf
37172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37173 echo "$as_me:$LINENO: checking for $ac_func" >&5
37174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37175 if eval "test \"\${$as_ac_var+set}\" = set"; then
37176 echo $ECHO_N "(cached) $ECHO_C" >&6
37177 else
37178 if test x$gcc_no_link = xyes; then
37179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37181 { (exit 1); exit 1; }; }
37183 cat >conftest.$ac_ext <<_ACEOF
37184 /* confdefs.h. */
37185 _ACEOF
37186 cat confdefs.h >>conftest.$ac_ext
37187 cat >>conftest.$ac_ext <<_ACEOF
37188 /* end confdefs.h. */
37189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37191 #define $ac_func innocuous_$ac_func
37193 /* System header to define __stub macros and hopefully few prototypes,
37194 which can conflict with char $ac_func (); below.
37195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37196 <limits.h> exists even on freestanding compilers. */
37198 #ifdef __STDC__
37199 # include <limits.h>
37200 #else
37201 # include <assert.h>
37202 #endif
37204 #undef $ac_func
37206 /* Override any gcc2 internal prototype to avoid an error. */
37207 #ifdef __cplusplus
37208 extern "C"
37210 #endif
37211 /* We use char because int might match the return type of a gcc2
37212 builtin and then its argument prototype would still apply. */
37213 char $ac_func ();
37214 /* The GNU C library defines this for functions which it implements
37215 to always fail with ENOSYS. Some functions are actually named
37216 something starting with __ and the normal name is an alias. */
37217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37218 choke me
37219 #else
37220 char (*f) () = $ac_func;
37221 #endif
37222 #ifdef __cplusplus
37224 #endif
37227 main ()
37229 return f != $ac_func;
37231 return 0;
37233 _ACEOF
37234 rm -f conftest.$ac_objext conftest$ac_exeext
37235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37236 (eval $ac_link) 2>conftest.er1
37237 ac_status=$?
37238 grep -v '^ *+' conftest.er1 >conftest.err
37239 rm -f conftest.er1
37240 cat conftest.err >&5
37241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37242 (exit $ac_status); } &&
37243 { ac_try='test -z "$ac_c_werror_flag"
37244 || test ! -s conftest.err'
37245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37246 (eval $ac_try) 2>&5
37247 ac_status=$?
37248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37249 (exit $ac_status); }; } &&
37250 { ac_try='test -s conftest$ac_exeext'
37251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37252 (eval $ac_try) 2>&5
37253 ac_status=$?
37254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37255 (exit $ac_status); }; }; then
37256 eval "$as_ac_var=yes"
37257 else
37258 echo "$as_me: failed program was:" >&5
37259 sed 's/^/| /' conftest.$ac_ext >&5
37261 eval "$as_ac_var=no"
37263 rm -f conftest.err conftest.$ac_objext \
37264 conftest$ac_exeext conftest.$ac_ext
37266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37268 if test `eval echo '${'$as_ac_var'}'` = yes; then
37269 cat >>confdefs.h <<_ACEOF
37270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37271 _ACEOF
37274 done
37281 echo "$as_me:$LINENO: checking for isinff declaration" >&5
37282 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
37283 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
37284 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
37285 echo $ECHO_N "(cached) $ECHO_C" >&6
37286 else
37290 ac_ext=cc
37291 ac_cpp='$CXXCPP $CPPFLAGS'
37292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37296 cat >conftest.$ac_ext <<_ACEOF
37297 /* confdefs.h. */
37298 _ACEOF
37299 cat confdefs.h >>conftest.$ac_ext
37300 cat >>conftest.$ac_ext <<_ACEOF
37301 /* end confdefs.h. */
37302 #include <math.h>
37303 #ifdef HAVE_IEEEFP_H
37304 #include <ieeefp.h>
37305 #endif
37308 main ()
37310 isinff(0);
37312 return 0;
37314 _ACEOF
37315 rm -f conftest.$ac_objext
37316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37317 (eval $ac_compile) 2>conftest.er1
37318 ac_status=$?
37319 grep -v '^ *+' conftest.er1 >conftest.err
37320 rm -f conftest.er1
37321 cat conftest.err >&5
37322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37323 (exit $ac_status); } &&
37324 { ac_try='test -z "$ac_cxx_werror_flag"
37325 || test ! -s conftest.err'
37326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37327 (eval $ac_try) 2>&5
37328 ac_status=$?
37329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37330 (exit $ac_status); }; } &&
37331 { ac_try='test -s conftest.$ac_objext'
37332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37333 (eval $ac_try) 2>&5
37334 ac_status=$?
37335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37336 (exit $ac_status); }; }; then
37337 glibcxx_cv_func_isinff_use=yes
37338 else
37339 echo "$as_me: failed program was:" >&5
37340 sed 's/^/| /' conftest.$ac_ext >&5
37342 glibcxx_cv_func_isinff_use=no
37344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37345 ac_ext=c
37346 ac_cpp='$CPP $CPPFLAGS'
37347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37355 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
37356 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
37358 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37360 for ac_func in isinff
37362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37363 echo "$as_me:$LINENO: checking for $ac_func" >&5
37364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37365 if eval "test \"\${$as_ac_var+set}\" = set"; then
37366 echo $ECHO_N "(cached) $ECHO_C" >&6
37367 else
37368 if test x$gcc_no_link = xyes; then
37369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37371 { (exit 1); exit 1; }; }
37373 cat >conftest.$ac_ext <<_ACEOF
37374 /* confdefs.h. */
37375 _ACEOF
37376 cat confdefs.h >>conftest.$ac_ext
37377 cat >>conftest.$ac_ext <<_ACEOF
37378 /* end confdefs.h. */
37379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37381 #define $ac_func innocuous_$ac_func
37383 /* System header to define __stub macros and hopefully few prototypes,
37384 which can conflict with char $ac_func (); below.
37385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37386 <limits.h> exists even on freestanding compilers. */
37388 #ifdef __STDC__
37389 # include <limits.h>
37390 #else
37391 # include <assert.h>
37392 #endif
37394 #undef $ac_func
37396 /* Override any gcc2 internal prototype to avoid an error. */
37397 #ifdef __cplusplus
37398 extern "C"
37400 #endif
37401 /* We use char because int might match the return type of a gcc2
37402 builtin and then its argument prototype would still apply. */
37403 char $ac_func ();
37404 /* The GNU C library defines this for functions which it implements
37405 to always fail with ENOSYS. Some functions are actually named
37406 something starting with __ and the normal name is an alias. */
37407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37408 choke me
37409 #else
37410 char (*f) () = $ac_func;
37411 #endif
37412 #ifdef __cplusplus
37414 #endif
37417 main ()
37419 return f != $ac_func;
37421 return 0;
37423 _ACEOF
37424 rm -f conftest.$ac_objext conftest$ac_exeext
37425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37426 (eval $ac_link) 2>conftest.er1
37427 ac_status=$?
37428 grep -v '^ *+' conftest.er1 >conftest.err
37429 rm -f conftest.er1
37430 cat conftest.err >&5
37431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37432 (exit $ac_status); } &&
37433 { ac_try='test -z "$ac_c_werror_flag"
37434 || test ! -s conftest.err'
37435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37436 (eval $ac_try) 2>&5
37437 ac_status=$?
37438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37439 (exit $ac_status); }; } &&
37440 { ac_try='test -s conftest$ac_exeext'
37441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37442 (eval $ac_try) 2>&5
37443 ac_status=$?
37444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37445 (exit $ac_status); }; }; then
37446 eval "$as_ac_var=yes"
37447 else
37448 echo "$as_me: failed program was:" >&5
37449 sed 's/^/| /' conftest.$ac_ext >&5
37451 eval "$as_ac_var=no"
37453 rm -f conftest.err conftest.$ac_objext \
37454 conftest$ac_exeext conftest.$ac_ext
37456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37458 if test `eval echo '${'$as_ac_var'}'` = yes; then
37459 cat >>confdefs.h <<_ACEOF
37460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37461 _ACEOF
37464 done
37466 else
37468 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
37469 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
37470 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37471 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
37472 echo $ECHO_N "(cached) $ECHO_C" >&6
37473 else
37477 ac_ext=cc
37478 ac_cpp='$CXXCPP $CPPFLAGS'
37479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37483 cat >conftest.$ac_ext <<_ACEOF
37484 /* confdefs.h. */
37485 _ACEOF
37486 cat confdefs.h >>conftest.$ac_ext
37487 cat >>conftest.$ac_ext <<_ACEOF
37488 /* end confdefs.h. */
37489 #include <math.h>
37490 #ifdef HAVE_IEEEFP_H
37491 #include <ieeefp.h>
37492 #endif
37495 main ()
37497 _isinff(0);
37499 return 0;
37501 _ACEOF
37502 rm -f conftest.$ac_objext
37503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37504 (eval $ac_compile) 2>conftest.er1
37505 ac_status=$?
37506 grep -v '^ *+' conftest.er1 >conftest.err
37507 rm -f conftest.er1
37508 cat conftest.err >&5
37509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37510 (exit $ac_status); } &&
37511 { ac_try='test -z "$ac_cxx_werror_flag"
37512 || test ! -s conftest.err'
37513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37514 (eval $ac_try) 2>&5
37515 ac_status=$?
37516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37517 (exit $ac_status); }; } &&
37518 { ac_try='test -s conftest.$ac_objext'
37519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37520 (eval $ac_try) 2>&5
37521 ac_status=$?
37522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37523 (exit $ac_status); }; }; then
37524 glibcxx_cv_func__isinff_use=yes
37525 else
37526 echo "$as_me: failed program was:" >&5
37527 sed 's/^/| /' conftest.$ac_ext >&5
37529 glibcxx_cv_func__isinff_use=no
37531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37532 ac_ext=c
37533 ac_cpp='$CPP $CPPFLAGS'
37534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37542 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
37543 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
37545 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37547 for ac_func in _isinff
37549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37550 echo "$as_me:$LINENO: checking for $ac_func" >&5
37551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37552 if eval "test \"\${$as_ac_var+set}\" = set"; then
37553 echo $ECHO_N "(cached) $ECHO_C" >&6
37554 else
37555 if test x$gcc_no_link = xyes; then
37556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37558 { (exit 1); exit 1; }; }
37560 cat >conftest.$ac_ext <<_ACEOF
37561 /* confdefs.h. */
37562 _ACEOF
37563 cat confdefs.h >>conftest.$ac_ext
37564 cat >>conftest.$ac_ext <<_ACEOF
37565 /* end confdefs.h. */
37566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37568 #define $ac_func innocuous_$ac_func
37570 /* System header to define __stub macros and hopefully few prototypes,
37571 which can conflict with char $ac_func (); below.
37572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37573 <limits.h> exists even on freestanding compilers. */
37575 #ifdef __STDC__
37576 # include <limits.h>
37577 #else
37578 # include <assert.h>
37579 #endif
37581 #undef $ac_func
37583 /* Override any gcc2 internal prototype to avoid an error. */
37584 #ifdef __cplusplus
37585 extern "C"
37587 #endif
37588 /* We use char because int might match the return type of a gcc2
37589 builtin and then its argument prototype would still apply. */
37590 char $ac_func ();
37591 /* The GNU C library defines this for functions which it implements
37592 to always fail with ENOSYS. Some functions are actually named
37593 something starting with __ and the normal name is an alias. */
37594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37595 choke me
37596 #else
37597 char (*f) () = $ac_func;
37598 #endif
37599 #ifdef __cplusplus
37601 #endif
37604 main ()
37606 return f != $ac_func;
37608 return 0;
37610 _ACEOF
37611 rm -f conftest.$ac_objext conftest$ac_exeext
37612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37613 (eval $ac_link) 2>conftest.er1
37614 ac_status=$?
37615 grep -v '^ *+' conftest.er1 >conftest.err
37616 rm -f conftest.er1
37617 cat conftest.err >&5
37618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37619 (exit $ac_status); } &&
37620 { ac_try='test -z "$ac_c_werror_flag"
37621 || test ! -s conftest.err'
37622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37623 (eval $ac_try) 2>&5
37624 ac_status=$?
37625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37626 (exit $ac_status); }; } &&
37627 { ac_try='test -s conftest$ac_exeext'
37628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37629 (eval $ac_try) 2>&5
37630 ac_status=$?
37631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37632 (exit $ac_status); }; }; then
37633 eval "$as_ac_var=yes"
37634 else
37635 echo "$as_me: failed program was:" >&5
37636 sed 's/^/| /' conftest.$ac_ext >&5
37638 eval "$as_ac_var=no"
37640 rm -f conftest.err conftest.$ac_objext \
37641 conftest$ac_exeext conftest.$ac_ext
37643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37645 if test `eval echo '${'$as_ac_var'}'` = yes; then
37646 cat >>confdefs.h <<_ACEOF
37647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37648 _ACEOF
37651 done
37658 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
37659 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
37660 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37661 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
37662 echo $ECHO_N "(cached) $ECHO_C" >&6
37663 else
37667 ac_ext=cc
37668 ac_cpp='$CXXCPP $CPPFLAGS'
37669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37673 cat >conftest.$ac_ext <<_ACEOF
37674 /* confdefs.h. */
37675 _ACEOF
37676 cat confdefs.h >>conftest.$ac_ext
37677 cat >>conftest.$ac_ext <<_ACEOF
37678 /* end confdefs.h. */
37679 #include <math.h>
37681 main ()
37683 atan2f(0, 0);
37685 return 0;
37687 _ACEOF
37688 rm -f conftest.$ac_objext
37689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37690 (eval $ac_compile) 2>conftest.er1
37691 ac_status=$?
37692 grep -v '^ *+' conftest.er1 >conftest.err
37693 rm -f conftest.er1
37694 cat conftest.err >&5
37695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37696 (exit $ac_status); } &&
37697 { ac_try='test -z "$ac_cxx_werror_flag"
37698 || test ! -s conftest.err'
37699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37700 (eval $ac_try) 2>&5
37701 ac_status=$?
37702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37703 (exit $ac_status); }; } &&
37704 { ac_try='test -s conftest.$ac_objext'
37705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37706 (eval $ac_try) 2>&5
37707 ac_status=$?
37708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37709 (exit $ac_status); }; }; then
37710 glibcxx_cv_func_atan2f_use=yes
37711 else
37712 echo "$as_me: failed program was:" >&5
37713 sed 's/^/| /' conftest.$ac_ext >&5
37715 glibcxx_cv_func_atan2f_use=no
37717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37718 ac_ext=c
37719 ac_cpp='$CPP $CPPFLAGS'
37720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37728 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
37729 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
37731 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37733 for ac_func in atan2f
37735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37736 echo "$as_me:$LINENO: checking for $ac_func" >&5
37737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37738 if eval "test \"\${$as_ac_var+set}\" = set"; then
37739 echo $ECHO_N "(cached) $ECHO_C" >&6
37740 else
37741 if test x$gcc_no_link = xyes; then
37742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37744 { (exit 1); exit 1; }; }
37746 cat >conftest.$ac_ext <<_ACEOF
37747 /* confdefs.h. */
37748 _ACEOF
37749 cat confdefs.h >>conftest.$ac_ext
37750 cat >>conftest.$ac_ext <<_ACEOF
37751 /* end confdefs.h. */
37752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37754 #define $ac_func innocuous_$ac_func
37756 /* System header to define __stub macros and hopefully few prototypes,
37757 which can conflict with char $ac_func (); below.
37758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37759 <limits.h> exists even on freestanding compilers. */
37761 #ifdef __STDC__
37762 # include <limits.h>
37763 #else
37764 # include <assert.h>
37765 #endif
37767 #undef $ac_func
37769 /* Override any gcc2 internal prototype to avoid an error. */
37770 #ifdef __cplusplus
37771 extern "C"
37773 #endif
37774 /* We use char because int might match the return type of a gcc2
37775 builtin and then its argument prototype would still apply. */
37776 char $ac_func ();
37777 /* The GNU C library defines this for functions which it implements
37778 to always fail with ENOSYS. Some functions are actually named
37779 something starting with __ and the normal name is an alias. */
37780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37781 choke me
37782 #else
37783 char (*f) () = $ac_func;
37784 #endif
37785 #ifdef __cplusplus
37787 #endif
37790 main ()
37792 return f != $ac_func;
37794 return 0;
37796 _ACEOF
37797 rm -f conftest.$ac_objext conftest$ac_exeext
37798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37799 (eval $ac_link) 2>conftest.er1
37800 ac_status=$?
37801 grep -v '^ *+' conftest.er1 >conftest.err
37802 rm -f conftest.er1
37803 cat conftest.err >&5
37804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37805 (exit $ac_status); } &&
37806 { ac_try='test -z "$ac_c_werror_flag"
37807 || test ! -s conftest.err'
37808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37809 (eval $ac_try) 2>&5
37810 ac_status=$?
37811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37812 (exit $ac_status); }; } &&
37813 { ac_try='test -s conftest$ac_exeext'
37814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37815 (eval $ac_try) 2>&5
37816 ac_status=$?
37817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37818 (exit $ac_status); }; }; then
37819 eval "$as_ac_var=yes"
37820 else
37821 echo "$as_me: failed program was:" >&5
37822 sed 's/^/| /' conftest.$ac_ext >&5
37824 eval "$as_ac_var=no"
37826 rm -f conftest.err conftest.$ac_objext \
37827 conftest$ac_exeext conftest.$ac_ext
37829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37831 if test `eval echo '${'$as_ac_var'}'` = yes; then
37832 cat >>confdefs.h <<_ACEOF
37833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37834 _ACEOF
37837 done
37839 else
37841 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
37842 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
37843 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37844 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
37845 echo $ECHO_N "(cached) $ECHO_C" >&6
37846 else
37850 ac_ext=cc
37851 ac_cpp='$CXXCPP $CPPFLAGS'
37852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37856 cat >conftest.$ac_ext <<_ACEOF
37857 /* confdefs.h. */
37858 _ACEOF
37859 cat confdefs.h >>conftest.$ac_ext
37860 cat >>conftest.$ac_ext <<_ACEOF
37861 /* end confdefs.h. */
37862 #include <math.h>
37864 main ()
37866 _atan2f(0, 0);
37868 return 0;
37870 _ACEOF
37871 rm -f conftest.$ac_objext
37872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37873 (eval $ac_compile) 2>conftest.er1
37874 ac_status=$?
37875 grep -v '^ *+' conftest.er1 >conftest.err
37876 rm -f conftest.er1
37877 cat conftest.err >&5
37878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37879 (exit $ac_status); } &&
37880 { ac_try='test -z "$ac_cxx_werror_flag"
37881 || test ! -s conftest.err'
37882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37883 (eval $ac_try) 2>&5
37884 ac_status=$?
37885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37886 (exit $ac_status); }; } &&
37887 { ac_try='test -s conftest.$ac_objext'
37888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37889 (eval $ac_try) 2>&5
37890 ac_status=$?
37891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37892 (exit $ac_status); }; }; then
37893 glibcxx_cv_func__atan2f_use=yes
37894 else
37895 echo "$as_me: failed program was:" >&5
37896 sed 's/^/| /' conftest.$ac_ext >&5
37898 glibcxx_cv_func__atan2f_use=no
37900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37901 ac_ext=c
37902 ac_cpp='$CPP $CPPFLAGS'
37903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37911 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
37912 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
37914 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37916 for ac_func in _atan2f
37918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37919 echo "$as_me:$LINENO: checking for $ac_func" >&5
37920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37921 if eval "test \"\${$as_ac_var+set}\" = set"; then
37922 echo $ECHO_N "(cached) $ECHO_C" >&6
37923 else
37924 if test x$gcc_no_link = xyes; then
37925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37927 { (exit 1); exit 1; }; }
37929 cat >conftest.$ac_ext <<_ACEOF
37930 /* confdefs.h. */
37931 _ACEOF
37932 cat confdefs.h >>conftest.$ac_ext
37933 cat >>conftest.$ac_ext <<_ACEOF
37934 /* end confdefs.h. */
37935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37937 #define $ac_func innocuous_$ac_func
37939 /* System header to define __stub macros and hopefully few prototypes,
37940 which can conflict with char $ac_func (); below.
37941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37942 <limits.h> exists even on freestanding compilers. */
37944 #ifdef __STDC__
37945 # include <limits.h>
37946 #else
37947 # include <assert.h>
37948 #endif
37950 #undef $ac_func
37952 /* Override any gcc2 internal prototype to avoid an error. */
37953 #ifdef __cplusplus
37954 extern "C"
37956 #endif
37957 /* We use char because int might match the return type of a gcc2
37958 builtin and then its argument prototype would still apply. */
37959 char $ac_func ();
37960 /* The GNU C library defines this for functions which it implements
37961 to always fail with ENOSYS. Some functions are actually named
37962 something starting with __ and the normal name is an alias. */
37963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37964 choke me
37965 #else
37966 char (*f) () = $ac_func;
37967 #endif
37968 #ifdef __cplusplus
37970 #endif
37973 main ()
37975 return f != $ac_func;
37977 return 0;
37979 _ACEOF
37980 rm -f conftest.$ac_objext conftest$ac_exeext
37981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37982 (eval $ac_link) 2>conftest.er1
37983 ac_status=$?
37984 grep -v '^ *+' conftest.er1 >conftest.err
37985 rm -f conftest.er1
37986 cat conftest.err >&5
37987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37988 (exit $ac_status); } &&
37989 { ac_try='test -z "$ac_c_werror_flag"
37990 || test ! -s conftest.err'
37991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37992 (eval $ac_try) 2>&5
37993 ac_status=$?
37994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37995 (exit $ac_status); }; } &&
37996 { ac_try='test -s conftest$ac_exeext'
37997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37998 (eval $ac_try) 2>&5
37999 ac_status=$?
38000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38001 (exit $ac_status); }; }; then
38002 eval "$as_ac_var=yes"
38003 else
38004 echo "$as_me: failed program was:" >&5
38005 sed 's/^/| /' conftest.$ac_ext >&5
38007 eval "$as_ac_var=no"
38009 rm -f conftest.err conftest.$ac_objext \
38010 conftest$ac_exeext conftest.$ac_ext
38012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38014 if test `eval echo '${'$as_ac_var'}'` = yes; then
38015 cat >>confdefs.h <<_ACEOF
38016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38017 _ACEOF
38020 done
38027 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
38028 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
38029 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
38030 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
38031 echo $ECHO_N "(cached) $ECHO_C" >&6
38032 else
38036 ac_ext=cc
38037 ac_cpp='$CXXCPP $CPPFLAGS'
38038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38042 cat >conftest.$ac_ext <<_ACEOF
38043 /* confdefs.h. */
38044 _ACEOF
38045 cat confdefs.h >>conftest.$ac_ext
38046 cat >>conftest.$ac_ext <<_ACEOF
38047 /* end confdefs.h. */
38048 #include <math.h>
38049 #ifdef HAVE_IEEEFP_H
38050 #include <ieeefp.h>
38051 #endif
38054 main ()
38056 fabsf(0);
38058 return 0;
38060 _ACEOF
38061 rm -f conftest.$ac_objext
38062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38063 (eval $ac_compile) 2>conftest.er1
38064 ac_status=$?
38065 grep -v '^ *+' conftest.er1 >conftest.err
38066 rm -f conftest.er1
38067 cat conftest.err >&5
38068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38069 (exit $ac_status); } &&
38070 { ac_try='test -z "$ac_cxx_werror_flag"
38071 || test ! -s conftest.err'
38072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38073 (eval $ac_try) 2>&5
38074 ac_status=$?
38075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38076 (exit $ac_status); }; } &&
38077 { ac_try='test -s conftest.$ac_objext'
38078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38079 (eval $ac_try) 2>&5
38080 ac_status=$?
38081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38082 (exit $ac_status); }; }; then
38083 glibcxx_cv_func_fabsf_use=yes
38084 else
38085 echo "$as_me: failed program was:" >&5
38086 sed 's/^/| /' conftest.$ac_ext >&5
38088 glibcxx_cv_func_fabsf_use=no
38090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38091 ac_ext=c
38092 ac_cpp='$CPP $CPPFLAGS'
38093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38101 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
38102 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
38104 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
38106 for ac_func in fabsf
38108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38109 echo "$as_me:$LINENO: checking for $ac_func" >&5
38110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38111 if eval "test \"\${$as_ac_var+set}\" = set"; then
38112 echo $ECHO_N "(cached) $ECHO_C" >&6
38113 else
38114 if test x$gcc_no_link = xyes; then
38115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38117 { (exit 1); exit 1; }; }
38119 cat >conftest.$ac_ext <<_ACEOF
38120 /* confdefs.h. */
38121 _ACEOF
38122 cat confdefs.h >>conftest.$ac_ext
38123 cat >>conftest.$ac_ext <<_ACEOF
38124 /* end confdefs.h. */
38125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38127 #define $ac_func innocuous_$ac_func
38129 /* System header to define __stub macros and hopefully few prototypes,
38130 which can conflict with char $ac_func (); below.
38131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38132 <limits.h> exists even on freestanding compilers. */
38134 #ifdef __STDC__
38135 # include <limits.h>
38136 #else
38137 # include <assert.h>
38138 #endif
38140 #undef $ac_func
38142 /* Override any gcc2 internal prototype to avoid an error. */
38143 #ifdef __cplusplus
38144 extern "C"
38146 #endif
38147 /* We use char because int might match the return type of a gcc2
38148 builtin and then its argument prototype would still apply. */
38149 char $ac_func ();
38150 /* The GNU C library defines this for functions which it implements
38151 to always fail with ENOSYS. Some functions are actually named
38152 something starting with __ and the normal name is an alias. */
38153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38154 choke me
38155 #else
38156 char (*f) () = $ac_func;
38157 #endif
38158 #ifdef __cplusplus
38160 #endif
38163 main ()
38165 return f != $ac_func;
38167 return 0;
38169 _ACEOF
38170 rm -f conftest.$ac_objext conftest$ac_exeext
38171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38172 (eval $ac_link) 2>conftest.er1
38173 ac_status=$?
38174 grep -v '^ *+' conftest.er1 >conftest.err
38175 rm -f conftest.er1
38176 cat conftest.err >&5
38177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38178 (exit $ac_status); } &&
38179 { ac_try='test -z "$ac_c_werror_flag"
38180 || test ! -s conftest.err'
38181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38182 (eval $ac_try) 2>&5
38183 ac_status=$?
38184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38185 (exit $ac_status); }; } &&
38186 { ac_try='test -s conftest$ac_exeext'
38187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38188 (eval $ac_try) 2>&5
38189 ac_status=$?
38190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38191 (exit $ac_status); }; }; then
38192 eval "$as_ac_var=yes"
38193 else
38194 echo "$as_me: failed program was:" >&5
38195 sed 's/^/| /' conftest.$ac_ext >&5
38197 eval "$as_ac_var=no"
38199 rm -f conftest.err conftest.$ac_objext \
38200 conftest$ac_exeext conftest.$ac_ext
38202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38204 if test `eval echo '${'$as_ac_var'}'` = yes; then
38205 cat >>confdefs.h <<_ACEOF
38206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38207 _ACEOF
38210 done
38212 else
38214 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
38215 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
38216 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
38217 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
38218 echo $ECHO_N "(cached) $ECHO_C" >&6
38219 else
38223 ac_ext=cc
38224 ac_cpp='$CXXCPP $CPPFLAGS'
38225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38229 cat >conftest.$ac_ext <<_ACEOF
38230 /* confdefs.h. */
38231 _ACEOF
38232 cat confdefs.h >>conftest.$ac_ext
38233 cat >>conftest.$ac_ext <<_ACEOF
38234 /* end confdefs.h. */
38235 #include <math.h>
38236 #ifdef HAVE_IEEEFP_H
38237 #include <ieeefp.h>
38238 #endif
38241 main ()
38243 _fabsf(0);
38245 return 0;
38247 _ACEOF
38248 rm -f conftest.$ac_objext
38249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38250 (eval $ac_compile) 2>conftest.er1
38251 ac_status=$?
38252 grep -v '^ *+' conftest.er1 >conftest.err
38253 rm -f conftest.er1
38254 cat conftest.err >&5
38255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38256 (exit $ac_status); } &&
38257 { ac_try='test -z "$ac_cxx_werror_flag"
38258 || test ! -s conftest.err'
38259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38260 (eval $ac_try) 2>&5
38261 ac_status=$?
38262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38263 (exit $ac_status); }; } &&
38264 { ac_try='test -s conftest.$ac_objext'
38265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38266 (eval $ac_try) 2>&5
38267 ac_status=$?
38268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38269 (exit $ac_status); }; }; then
38270 glibcxx_cv_func__fabsf_use=yes
38271 else
38272 echo "$as_me: failed program was:" >&5
38273 sed 's/^/| /' conftest.$ac_ext >&5
38275 glibcxx_cv_func__fabsf_use=no
38277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38278 ac_ext=c
38279 ac_cpp='$CPP $CPPFLAGS'
38280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38288 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
38289 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
38291 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
38293 for ac_func in _fabsf
38295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38296 echo "$as_me:$LINENO: checking for $ac_func" >&5
38297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38298 if eval "test \"\${$as_ac_var+set}\" = set"; then
38299 echo $ECHO_N "(cached) $ECHO_C" >&6
38300 else
38301 if test x$gcc_no_link = xyes; then
38302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38304 { (exit 1); exit 1; }; }
38306 cat >conftest.$ac_ext <<_ACEOF
38307 /* confdefs.h. */
38308 _ACEOF
38309 cat confdefs.h >>conftest.$ac_ext
38310 cat >>conftest.$ac_ext <<_ACEOF
38311 /* end confdefs.h. */
38312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38314 #define $ac_func innocuous_$ac_func
38316 /* System header to define __stub macros and hopefully few prototypes,
38317 which can conflict with char $ac_func (); below.
38318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38319 <limits.h> exists even on freestanding compilers. */
38321 #ifdef __STDC__
38322 # include <limits.h>
38323 #else
38324 # include <assert.h>
38325 #endif
38327 #undef $ac_func
38329 /* Override any gcc2 internal prototype to avoid an error. */
38330 #ifdef __cplusplus
38331 extern "C"
38333 #endif
38334 /* We use char because int might match the return type of a gcc2
38335 builtin and then its argument prototype would still apply. */
38336 char $ac_func ();
38337 /* The GNU C library defines this for functions which it implements
38338 to always fail with ENOSYS. Some functions are actually named
38339 something starting with __ and the normal name is an alias. */
38340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38341 choke me
38342 #else
38343 char (*f) () = $ac_func;
38344 #endif
38345 #ifdef __cplusplus
38347 #endif
38350 main ()
38352 return f != $ac_func;
38354 return 0;
38356 _ACEOF
38357 rm -f conftest.$ac_objext conftest$ac_exeext
38358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38359 (eval $ac_link) 2>conftest.er1
38360 ac_status=$?
38361 grep -v '^ *+' conftest.er1 >conftest.err
38362 rm -f conftest.er1
38363 cat conftest.err >&5
38364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38365 (exit $ac_status); } &&
38366 { ac_try='test -z "$ac_c_werror_flag"
38367 || test ! -s conftest.err'
38368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38369 (eval $ac_try) 2>&5
38370 ac_status=$?
38371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38372 (exit $ac_status); }; } &&
38373 { ac_try='test -s conftest$ac_exeext'
38374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38375 (eval $ac_try) 2>&5
38376 ac_status=$?
38377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38378 (exit $ac_status); }; }; then
38379 eval "$as_ac_var=yes"
38380 else
38381 echo "$as_me: failed program was:" >&5
38382 sed 's/^/| /' conftest.$ac_ext >&5
38384 eval "$as_ac_var=no"
38386 rm -f conftest.err conftest.$ac_objext \
38387 conftest$ac_exeext conftest.$ac_ext
38389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38391 if test `eval echo '${'$as_ac_var'}'` = yes; then
38392 cat >>confdefs.h <<_ACEOF
38393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38394 _ACEOF
38397 done
38404 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
38405 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
38406 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
38407 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
38408 echo $ECHO_N "(cached) $ECHO_C" >&6
38409 else
38413 ac_ext=cc
38414 ac_cpp='$CXXCPP $CPPFLAGS'
38415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38419 cat >conftest.$ac_ext <<_ACEOF
38420 /* confdefs.h. */
38421 _ACEOF
38422 cat confdefs.h >>conftest.$ac_ext
38423 cat >>conftest.$ac_ext <<_ACEOF
38424 /* end confdefs.h. */
38425 #include <math.h>
38427 main ()
38429 fmodf(0, 0);
38431 return 0;
38433 _ACEOF
38434 rm -f conftest.$ac_objext
38435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38436 (eval $ac_compile) 2>conftest.er1
38437 ac_status=$?
38438 grep -v '^ *+' conftest.er1 >conftest.err
38439 rm -f conftest.er1
38440 cat conftest.err >&5
38441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38442 (exit $ac_status); } &&
38443 { ac_try='test -z "$ac_cxx_werror_flag"
38444 || test ! -s conftest.err'
38445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38446 (eval $ac_try) 2>&5
38447 ac_status=$?
38448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38449 (exit $ac_status); }; } &&
38450 { ac_try='test -s conftest.$ac_objext'
38451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38452 (eval $ac_try) 2>&5
38453 ac_status=$?
38454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38455 (exit $ac_status); }; }; then
38456 glibcxx_cv_func_fmodf_use=yes
38457 else
38458 echo "$as_me: failed program was:" >&5
38459 sed 's/^/| /' conftest.$ac_ext >&5
38461 glibcxx_cv_func_fmodf_use=no
38463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38464 ac_ext=c
38465 ac_cpp='$CPP $CPPFLAGS'
38466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38474 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
38475 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
38477 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
38479 for ac_func in fmodf
38481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38482 echo "$as_me:$LINENO: checking for $ac_func" >&5
38483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38484 if eval "test \"\${$as_ac_var+set}\" = set"; then
38485 echo $ECHO_N "(cached) $ECHO_C" >&6
38486 else
38487 if test x$gcc_no_link = xyes; then
38488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38490 { (exit 1); exit 1; }; }
38492 cat >conftest.$ac_ext <<_ACEOF
38493 /* confdefs.h. */
38494 _ACEOF
38495 cat confdefs.h >>conftest.$ac_ext
38496 cat >>conftest.$ac_ext <<_ACEOF
38497 /* end confdefs.h. */
38498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38500 #define $ac_func innocuous_$ac_func
38502 /* System header to define __stub macros and hopefully few prototypes,
38503 which can conflict with char $ac_func (); below.
38504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38505 <limits.h> exists even on freestanding compilers. */
38507 #ifdef __STDC__
38508 # include <limits.h>
38509 #else
38510 # include <assert.h>
38511 #endif
38513 #undef $ac_func
38515 /* Override any gcc2 internal prototype to avoid an error. */
38516 #ifdef __cplusplus
38517 extern "C"
38519 #endif
38520 /* We use char because int might match the return type of a gcc2
38521 builtin and then its argument prototype would still apply. */
38522 char $ac_func ();
38523 /* The GNU C library defines this for functions which it implements
38524 to always fail with ENOSYS. Some functions are actually named
38525 something starting with __ and the normal name is an alias. */
38526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38527 choke me
38528 #else
38529 char (*f) () = $ac_func;
38530 #endif
38531 #ifdef __cplusplus
38533 #endif
38536 main ()
38538 return f != $ac_func;
38540 return 0;
38542 _ACEOF
38543 rm -f conftest.$ac_objext conftest$ac_exeext
38544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38545 (eval $ac_link) 2>conftest.er1
38546 ac_status=$?
38547 grep -v '^ *+' conftest.er1 >conftest.err
38548 rm -f conftest.er1
38549 cat conftest.err >&5
38550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38551 (exit $ac_status); } &&
38552 { ac_try='test -z "$ac_c_werror_flag"
38553 || test ! -s conftest.err'
38554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38555 (eval $ac_try) 2>&5
38556 ac_status=$?
38557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38558 (exit $ac_status); }; } &&
38559 { ac_try='test -s conftest$ac_exeext'
38560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38561 (eval $ac_try) 2>&5
38562 ac_status=$?
38563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38564 (exit $ac_status); }; }; then
38565 eval "$as_ac_var=yes"
38566 else
38567 echo "$as_me: failed program was:" >&5
38568 sed 's/^/| /' conftest.$ac_ext >&5
38570 eval "$as_ac_var=no"
38572 rm -f conftest.err conftest.$ac_objext \
38573 conftest$ac_exeext conftest.$ac_ext
38575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38577 if test `eval echo '${'$as_ac_var'}'` = yes; then
38578 cat >>confdefs.h <<_ACEOF
38579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38580 _ACEOF
38583 done
38585 else
38587 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
38588 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
38589 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
38590 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
38591 echo $ECHO_N "(cached) $ECHO_C" >&6
38592 else
38596 ac_ext=cc
38597 ac_cpp='$CXXCPP $CPPFLAGS'
38598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38602 cat >conftest.$ac_ext <<_ACEOF
38603 /* confdefs.h. */
38604 _ACEOF
38605 cat confdefs.h >>conftest.$ac_ext
38606 cat >>conftest.$ac_ext <<_ACEOF
38607 /* end confdefs.h. */
38608 #include <math.h>
38610 main ()
38612 _fmodf(0, 0);
38614 return 0;
38616 _ACEOF
38617 rm -f conftest.$ac_objext
38618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38619 (eval $ac_compile) 2>conftest.er1
38620 ac_status=$?
38621 grep -v '^ *+' conftest.er1 >conftest.err
38622 rm -f conftest.er1
38623 cat conftest.err >&5
38624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38625 (exit $ac_status); } &&
38626 { ac_try='test -z "$ac_cxx_werror_flag"
38627 || test ! -s conftest.err'
38628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38629 (eval $ac_try) 2>&5
38630 ac_status=$?
38631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38632 (exit $ac_status); }; } &&
38633 { ac_try='test -s conftest.$ac_objext'
38634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38635 (eval $ac_try) 2>&5
38636 ac_status=$?
38637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38638 (exit $ac_status); }; }; then
38639 glibcxx_cv_func__fmodf_use=yes
38640 else
38641 echo "$as_me: failed program was:" >&5
38642 sed 's/^/| /' conftest.$ac_ext >&5
38644 glibcxx_cv_func__fmodf_use=no
38646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38647 ac_ext=c
38648 ac_cpp='$CPP $CPPFLAGS'
38649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38657 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
38658 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
38660 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
38662 for ac_func in _fmodf
38664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38665 echo "$as_me:$LINENO: checking for $ac_func" >&5
38666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38667 if eval "test \"\${$as_ac_var+set}\" = set"; then
38668 echo $ECHO_N "(cached) $ECHO_C" >&6
38669 else
38670 if test x$gcc_no_link = xyes; then
38671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38673 { (exit 1); exit 1; }; }
38675 cat >conftest.$ac_ext <<_ACEOF
38676 /* confdefs.h. */
38677 _ACEOF
38678 cat confdefs.h >>conftest.$ac_ext
38679 cat >>conftest.$ac_ext <<_ACEOF
38680 /* end confdefs.h. */
38681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38683 #define $ac_func innocuous_$ac_func
38685 /* System header to define __stub macros and hopefully few prototypes,
38686 which can conflict with char $ac_func (); below.
38687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38688 <limits.h> exists even on freestanding compilers. */
38690 #ifdef __STDC__
38691 # include <limits.h>
38692 #else
38693 # include <assert.h>
38694 #endif
38696 #undef $ac_func
38698 /* Override any gcc2 internal prototype to avoid an error. */
38699 #ifdef __cplusplus
38700 extern "C"
38702 #endif
38703 /* We use char because int might match the return type of a gcc2
38704 builtin and then its argument prototype would still apply. */
38705 char $ac_func ();
38706 /* The GNU C library defines this for functions which it implements
38707 to always fail with ENOSYS. Some functions are actually named
38708 something starting with __ and the normal name is an alias. */
38709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38710 choke me
38711 #else
38712 char (*f) () = $ac_func;
38713 #endif
38714 #ifdef __cplusplus
38716 #endif
38719 main ()
38721 return f != $ac_func;
38723 return 0;
38725 _ACEOF
38726 rm -f conftest.$ac_objext conftest$ac_exeext
38727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38728 (eval $ac_link) 2>conftest.er1
38729 ac_status=$?
38730 grep -v '^ *+' conftest.er1 >conftest.err
38731 rm -f conftest.er1
38732 cat conftest.err >&5
38733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38734 (exit $ac_status); } &&
38735 { ac_try='test -z "$ac_c_werror_flag"
38736 || test ! -s conftest.err'
38737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38738 (eval $ac_try) 2>&5
38739 ac_status=$?
38740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38741 (exit $ac_status); }; } &&
38742 { ac_try='test -s conftest$ac_exeext'
38743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38744 (eval $ac_try) 2>&5
38745 ac_status=$?
38746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38747 (exit $ac_status); }; }; then
38748 eval "$as_ac_var=yes"
38749 else
38750 echo "$as_me: failed program was:" >&5
38751 sed 's/^/| /' conftest.$ac_ext >&5
38753 eval "$as_ac_var=no"
38755 rm -f conftest.err conftest.$ac_objext \
38756 conftest$ac_exeext conftest.$ac_ext
38758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38760 if test `eval echo '${'$as_ac_var'}'` = yes; then
38761 cat >>confdefs.h <<_ACEOF
38762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38763 _ACEOF
38766 done
38773 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
38774 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
38775 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
38776 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
38777 echo $ECHO_N "(cached) $ECHO_C" >&6
38778 else
38782 ac_ext=cc
38783 ac_cpp='$CXXCPP $CPPFLAGS'
38784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38788 cat >conftest.$ac_ext <<_ACEOF
38789 /* confdefs.h. */
38790 _ACEOF
38791 cat confdefs.h >>conftest.$ac_ext
38792 cat >>conftest.$ac_ext <<_ACEOF
38793 /* end confdefs.h. */
38794 #include <math.h>
38796 main ()
38798 frexpf(0, 0);
38800 return 0;
38802 _ACEOF
38803 rm -f conftest.$ac_objext
38804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38805 (eval $ac_compile) 2>conftest.er1
38806 ac_status=$?
38807 grep -v '^ *+' conftest.er1 >conftest.err
38808 rm -f conftest.er1
38809 cat conftest.err >&5
38810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38811 (exit $ac_status); } &&
38812 { ac_try='test -z "$ac_cxx_werror_flag"
38813 || test ! -s conftest.err'
38814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38815 (eval $ac_try) 2>&5
38816 ac_status=$?
38817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38818 (exit $ac_status); }; } &&
38819 { ac_try='test -s conftest.$ac_objext'
38820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38821 (eval $ac_try) 2>&5
38822 ac_status=$?
38823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38824 (exit $ac_status); }; }; then
38825 glibcxx_cv_func_frexpf_use=yes
38826 else
38827 echo "$as_me: failed program was:" >&5
38828 sed 's/^/| /' conftest.$ac_ext >&5
38830 glibcxx_cv_func_frexpf_use=no
38832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38833 ac_ext=c
38834 ac_cpp='$CPP $CPPFLAGS'
38835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38843 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
38844 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
38846 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
38848 for ac_func in frexpf
38850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38851 echo "$as_me:$LINENO: checking for $ac_func" >&5
38852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38853 if eval "test \"\${$as_ac_var+set}\" = set"; then
38854 echo $ECHO_N "(cached) $ECHO_C" >&6
38855 else
38856 if test x$gcc_no_link = xyes; then
38857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38859 { (exit 1); exit 1; }; }
38861 cat >conftest.$ac_ext <<_ACEOF
38862 /* confdefs.h. */
38863 _ACEOF
38864 cat confdefs.h >>conftest.$ac_ext
38865 cat >>conftest.$ac_ext <<_ACEOF
38866 /* end confdefs.h. */
38867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38869 #define $ac_func innocuous_$ac_func
38871 /* System header to define __stub macros and hopefully few prototypes,
38872 which can conflict with char $ac_func (); below.
38873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38874 <limits.h> exists even on freestanding compilers. */
38876 #ifdef __STDC__
38877 # include <limits.h>
38878 #else
38879 # include <assert.h>
38880 #endif
38882 #undef $ac_func
38884 /* Override any gcc2 internal prototype to avoid an error. */
38885 #ifdef __cplusplus
38886 extern "C"
38888 #endif
38889 /* We use char because int might match the return type of a gcc2
38890 builtin and then its argument prototype would still apply. */
38891 char $ac_func ();
38892 /* The GNU C library defines this for functions which it implements
38893 to always fail with ENOSYS. Some functions are actually named
38894 something starting with __ and the normal name is an alias. */
38895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38896 choke me
38897 #else
38898 char (*f) () = $ac_func;
38899 #endif
38900 #ifdef __cplusplus
38902 #endif
38905 main ()
38907 return f != $ac_func;
38909 return 0;
38911 _ACEOF
38912 rm -f conftest.$ac_objext conftest$ac_exeext
38913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38914 (eval $ac_link) 2>conftest.er1
38915 ac_status=$?
38916 grep -v '^ *+' conftest.er1 >conftest.err
38917 rm -f conftest.er1
38918 cat conftest.err >&5
38919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38920 (exit $ac_status); } &&
38921 { ac_try='test -z "$ac_c_werror_flag"
38922 || test ! -s conftest.err'
38923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38924 (eval $ac_try) 2>&5
38925 ac_status=$?
38926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38927 (exit $ac_status); }; } &&
38928 { ac_try='test -s conftest$ac_exeext'
38929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38930 (eval $ac_try) 2>&5
38931 ac_status=$?
38932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38933 (exit $ac_status); }; }; then
38934 eval "$as_ac_var=yes"
38935 else
38936 echo "$as_me: failed program was:" >&5
38937 sed 's/^/| /' conftest.$ac_ext >&5
38939 eval "$as_ac_var=no"
38941 rm -f conftest.err conftest.$ac_objext \
38942 conftest$ac_exeext conftest.$ac_ext
38944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38946 if test `eval echo '${'$as_ac_var'}'` = yes; then
38947 cat >>confdefs.h <<_ACEOF
38948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38949 _ACEOF
38952 done
38954 else
38956 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
38957 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
38958 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
38959 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
38960 echo $ECHO_N "(cached) $ECHO_C" >&6
38961 else
38965 ac_ext=cc
38966 ac_cpp='$CXXCPP $CPPFLAGS'
38967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38971 cat >conftest.$ac_ext <<_ACEOF
38972 /* confdefs.h. */
38973 _ACEOF
38974 cat confdefs.h >>conftest.$ac_ext
38975 cat >>conftest.$ac_ext <<_ACEOF
38976 /* end confdefs.h. */
38977 #include <math.h>
38979 main ()
38981 _frexpf(0, 0);
38983 return 0;
38985 _ACEOF
38986 rm -f conftest.$ac_objext
38987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38988 (eval $ac_compile) 2>conftest.er1
38989 ac_status=$?
38990 grep -v '^ *+' conftest.er1 >conftest.err
38991 rm -f conftest.er1
38992 cat conftest.err >&5
38993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38994 (exit $ac_status); } &&
38995 { ac_try='test -z "$ac_cxx_werror_flag"
38996 || test ! -s conftest.err'
38997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38998 (eval $ac_try) 2>&5
38999 ac_status=$?
39000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39001 (exit $ac_status); }; } &&
39002 { ac_try='test -s conftest.$ac_objext'
39003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39004 (eval $ac_try) 2>&5
39005 ac_status=$?
39006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39007 (exit $ac_status); }; }; then
39008 glibcxx_cv_func__frexpf_use=yes
39009 else
39010 echo "$as_me: failed program was:" >&5
39011 sed 's/^/| /' conftest.$ac_ext >&5
39013 glibcxx_cv_func__frexpf_use=no
39015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39016 ac_ext=c
39017 ac_cpp='$CPP $CPPFLAGS'
39018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39026 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
39027 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
39029 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
39031 for ac_func in _frexpf
39033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39034 echo "$as_me:$LINENO: checking for $ac_func" >&5
39035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39036 if eval "test \"\${$as_ac_var+set}\" = set"; then
39037 echo $ECHO_N "(cached) $ECHO_C" >&6
39038 else
39039 if test x$gcc_no_link = xyes; then
39040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39042 { (exit 1); exit 1; }; }
39044 cat >conftest.$ac_ext <<_ACEOF
39045 /* confdefs.h. */
39046 _ACEOF
39047 cat confdefs.h >>conftest.$ac_ext
39048 cat >>conftest.$ac_ext <<_ACEOF
39049 /* end confdefs.h. */
39050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39052 #define $ac_func innocuous_$ac_func
39054 /* System header to define __stub macros and hopefully few prototypes,
39055 which can conflict with char $ac_func (); below.
39056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39057 <limits.h> exists even on freestanding compilers. */
39059 #ifdef __STDC__
39060 # include <limits.h>
39061 #else
39062 # include <assert.h>
39063 #endif
39065 #undef $ac_func
39067 /* Override any gcc2 internal prototype to avoid an error. */
39068 #ifdef __cplusplus
39069 extern "C"
39071 #endif
39072 /* We use char because int might match the return type of a gcc2
39073 builtin and then its argument prototype would still apply. */
39074 char $ac_func ();
39075 /* The GNU C library defines this for functions which it implements
39076 to always fail with ENOSYS. Some functions are actually named
39077 something starting with __ and the normal name is an alias. */
39078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39079 choke me
39080 #else
39081 char (*f) () = $ac_func;
39082 #endif
39083 #ifdef __cplusplus
39085 #endif
39088 main ()
39090 return f != $ac_func;
39092 return 0;
39094 _ACEOF
39095 rm -f conftest.$ac_objext conftest$ac_exeext
39096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39097 (eval $ac_link) 2>conftest.er1
39098 ac_status=$?
39099 grep -v '^ *+' conftest.er1 >conftest.err
39100 rm -f conftest.er1
39101 cat conftest.err >&5
39102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39103 (exit $ac_status); } &&
39104 { ac_try='test -z "$ac_c_werror_flag"
39105 || test ! -s conftest.err'
39106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39107 (eval $ac_try) 2>&5
39108 ac_status=$?
39109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39110 (exit $ac_status); }; } &&
39111 { ac_try='test -s conftest$ac_exeext'
39112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39113 (eval $ac_try) 2>&5
39114 ac_status=$?
39115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39116 (exit $ac_status); }; }; then
39117 eval "$as_ac_var=yes"
39118 else
39119 echo "$as_me: failed program was:" >&5
39120 sed 's/^/| /' conftest.$ac_ext >&5
39122 eval "$as_ac_var=no"
39124 rm -f conftest.err conftest.$ac_objext \
39125 conftest$ac_exeext conftest.$ac_ext
39127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39129 if test `eval echo '${'$as_ac_var'}'` = yes; then
39130 cat >>confdefs.h <<_ACEOF
39131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39132 _ACEOF
39135 done
39142 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
39143 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
39144 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
39145 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
39146 echo $ECHO_N "(cached) $ECHO_C" >&6
39147 else
39151 ac_ext=cc
39152 ac_cpp='$CXXCPP $CPPFLAGS'
39153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39157 cat >conftest.$ac_ext <<_ACEOF
39158 /* confdefs.h. */
39159 _ACEOF
39160 cat confdefs.h >>conftest.$ac_ext
39161 cat >>conftest.$ac_ext <<_ACEOF
39162 /* end confdefs.h. */
39163 #include <math.h>
39165 main ()
39167 hypotf(0, 0);
39169 return 0;
39171 _ACEOF
39172 rm -f conftest.$ac_objext
39173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39174 (eval $ac_compile) 2>conftest.er1
39175 ac_status=$?
39176 grep -v '^ *+' conftest.er1 >conftest.err
39177 rm -f conftest.er1
39178 cat conftest.err >&5
39179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39180 (exit $ac_status); } &&
39181 { ac_try='test -z "$ac_cxx_werror_flag"
39182 || test ! -s conftest.err'
39183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39184 (eval $ac_try) 2>&5
39185 ac_status=$?
39186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39187 (exit $ac_status); }; } &&
39188 { ac_try='test -s conftest.$ac_objext'
39189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39190 (eval $ac_try) 2>&5
39191 ac_status=$?
39192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39193 (exit $ac_status); }; }; then
39194 glibcxx_cv_func_hypotf_use=yes
39195 else
39196 echo "$as_me: failed program was:" >&5
39197 sed 's/^/| /' conftest.$ac_ext >&5
39199 glibcxx_cv_func_hypotf_use=no
39201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39202 ac_ext=c
39203 ac_cpp='$CPP $CPPFLAGS'
39204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39212 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
39213 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
39215 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
39217 for ac_func in hypotf
39219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39220 echo "$as_me:$LINENO: checking for $ac_func" >&5
39221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39222 if eval "test \"\${$as_ac_var+set}\" = set"; then
39223 echo $ECHO_N "(cached) $ECHO_C" >&6
39224 else
39225 if test x$gcc_no_link = xyes; then
39226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39228 { (exit 1); exit 1; }; }
39230 cat >conftest.$ac_ext <<_ACEOF
39231 /* confdefs.h. */
39232 _ACEOF
39233 cat confdefs.h >>conftest.$ac_ext
39234 cat >>conftest.$ac_ext <<_ACEOF
39235 /* end confdefs.h. */
39236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39238 #define $ac_func innocuous_$ac_func
39240 /* System header to define __stub macros and hopefully few prototypes,
39241 which can conflict with char $ac_func (); below.
39242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39243 <limits.h> exists even on freestanding compilers. */
39245 #ifdef __STDC__
39246 # include <limits.h>
39247 #else
39248 # include <assert.h>
39249 #endif
39251 #undef $ac_func
39253 /* Override any gcc2 internal prototype to avoid an error. */
39254 #ifdef __cplusplus
39255 extern "C"
39257 #endif
39258 /* We use char because int might match the return type of a gcc2
39259 builtin and then its argument prototype would still apply. */
39260 char $ac_func ();
39261 /* The GNU C library defines this for functions which it implements
39262 to always fail with ENOSYS. Some functions are actually named
39263 something starting with __ and the normal name is an alias. */
39264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39265 choke me
39266 #else
39267 char (*f) () = $ac_func;
39268 #endif
39269 #ifdef __cplusplus
39271 #endif
39274 main ()
39276 return f != $ac_func;
39278 return 0;
39280 _ACEOF
39281 rm -f conftest.$ac_objext conftest$ac_exeext
39282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39283 (eval $ac_link) 2>conftest.er1
39284 ac_status=$?
39285 grep -v '^ *+' conftest.er1 >conftest.err
39286 rm -f conftest.er1
39287 cat conftest.err >&5
39288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39289 (exit $ac_status); } &&
39290 { ac_try='test -z "$ac_c_werror_flag"
39291 || test ! -s conftest.err'
39292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39293 (eval $ac_try) 2>&5
39294 ac_status=$?
39295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39296 (exit $ac_status); }; } &&
39297 { ac_try='test -s conftest$ac_exeext'
39298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39299 (eval $ac_try) 2>&5
39300 ac_status=$?
39301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39302 (exit $ac_status); }; }; then
39303 eval "$as_ac_var=yes"
39304 else
39305 echo "$as_me: failed program was:" >&5
39306 sed 's/^/| /' conftest.$ac_ext >&5
39308 eval "$as_ac_var=no"
39310 rm -f conftest.err conftest.$ac_objext \
39311 conftest$ac_exeext conftest.$ac_ext
39313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39315 if test `eval echo '${'$as_ac_var'}'` = yes; then
39316 cat >>confdefs.h <<_ACEOF
39317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39318 _ACEOF
39321 done
39323 else
39325 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
39326 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
39327 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
39328 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
39329 echo $ECHO_N "(cached) $ECHO_C" >&6
39330 else
39334 ac_ext=cc
39335 ac_cpp='$CXXCPP $CPPFLAGS'
39336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39340 cat >conftest.$ac_ext <<_ACEOF
39341 /* confdefs.h. */
39342 _ACEOF
39343 cat confdefs.h >>conftest.$ac_ext
39344 cat >>conftest.$ac_ext <<_ACEOF
39345 /* end confdefs.h. */
39346 #include <math.h>
39348 main ()
39350 _hypotf(0, 0);
39352 return 0;
39354 _ACEOF
39355 rm -f conftest.$ac_objext
39356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39357 (eval $ac_compile) 2>conftest.er1
39358 ac_status=$?
39359 grep -v '^ *+' conftest.er1 >conftest.err
39360 rm -f conftest.er1
39361 cat conftest.err >&5
39362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39363 (exit $ac_status); } &&
39364 { ac_try='test -z "$ac_cxx_werror_flag"
39365 || test ! -s conftest.err'
39366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39367 (eval $ac_try) 2>&5
39368 ac_status=$?
39369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39370 (exit $ac_status); }; } &&
39371 { ac_try='test -s conftest.$ac_objext'
39372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39373 (eval $ac_try) 2>&5
39374 ac_status=$?
39375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39376 (exit $ac_status); }; }; then
39377 glibcxx_cv_func__hypotf_use=yes
39378 else
39379 echo "$as_me: failed program was:" >&5
39380 sed 's/^/| /' conftest.$ac_ext >&5
39382 glibcxx_cv_func__hypotf_use=no
39384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39385 ac_ext=c
39386 ac_cpp='$CPP $CPPFLAGS'
39387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39395 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
39396 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
39398 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
39400 for ac_func in _hypotf
39402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39403 echo "$as_me:$LINENO: checking for $ac_func" >&5
39404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39405 if eval "test \"\${$as_ac_var+set}\" = set"; then
39406 echo $ECHO_N "(cached) $ECHO_C" >&6
39407 else
39408 if test x$gcc_no_link = xyes; then
39409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39411 { (exit 1); exit 1; }; }
39413 cat >conftest.$ac_ext <<_ACEOF
39414 /* confdefs.h. */
39415 _ACEOF
39416 cat confdefs.h >>conftest.$ac_ext
39417 cat >>conftest.$ac_ext <<_ACEOF
39418 /* end confdefs.h. */
39419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39421 #define $ac_func innocuous_$ac_func
39423 /* System header to define __stub macros and hopefully few prototypes,
39424 which can conflict with char $ac_func (); below.
39425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39426 <limits.h> exists even on freestanding compilers. */
39428 #ifdef __STDC__
39429 # include <limits.h>
39430 #else
39431 # include <assert.h>
39432 #endif
39434 #undef $ac_func
39436 /* Override any gcc2 internal prototype to avoid an error. */
39437 #ifdef __cplusplus
39438 extern "C"
39440 #endif
39441 /* We use char because int might match the return type of a gcc2
39442 builtin and then its argument prototype would still apply. */
39443 char $ac_func ();
39444 /* The GNU C library defines this for functions which it implements
39445 to always fail with ENOSYS. Some functions are actually named
39446 something starting with __ and the normal name is an alias. */
39447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39448 choke me
39449 #else
39450 char (*f) () = $ac_func;
39451 #endif
39452 #ifdef __cplusplus
39454 #endif
39457 main ()
39459 return f != $ac_func;
39461 return 0;
39463 _ACEOF
39464 rm -f conftest.$ac_objext conftest$ac_exeext
39465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39466 (eval $ac_link) 2>conftest.er1
39467 ac_status=$?
39468 grep -v '^ *+' conftest.er1 >conftest.err
39469 rm -f conftest.er1
39470 cat conftest.err >&5
39471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39472 (exit $ac_status); } &&
39473 { ac_try='test -z "$ac_c_werror_flag"
39474 || test ! -s conftest.err'
39475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39476 (eval $ac_try) 2>&5
39477 ac_status=$?
39478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39479 (exit $ac_status); }; } &&
39480 { ac_try='test -s conftest$ac_exeext'
39481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39482 (eval $ac_try) 2>&5
39483 ac_status=$?
39484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39485 (exit $ac_status); }; }; then
39486 eval "$as_ac_var=yes"
39487 else
39488 echo "$as_me: failed program was:" >&5
39489 sed 's/^/| /' conftest.$ac_ext >&5
39491 eval "$as_ac_var=no"
39493 rm -f conftest.err conftest.$ac_objext \
39494 conftest$ac_exeext conftest.$ac_ext
39496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39498 if test `eval echo '${'$as_ac_var'}'` = yes; then
39499 cat >>confdefs.h <<_ACEOF
39500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39501 _ACEOF
39504 done
39511 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
39512 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
39513 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
39514 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
39515 echo $ECHO_N "(cached) $ECHO_C" >&6
39516 else
39520 ac_ext=cc
39521 ac_cpp='$CXXCPP $CPPFLAGS'
39522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39526 cat >conftest.$ac_ext <<_ACEOF
39527 /* confdefs.h. */
39528 _ACEOF
39529 cat confdefs.h >>conftest.$ac_ext
39530 cat >>conftest.$ac_ext <<_ACEOF
39531 /* end confdefs.h. */
39532 #include <math.h>
39534 main ()
39536 ldexpf(0, 0);
39538 return 0;
39540 _ACEOF
39541 rm -f conftest.$ac_objext
39542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39543 (eval $ac_compile) 2>conftest.er1
39544 ac_status=$?
39545 grep -v '^ *+' conftest.er1 >conftest.err
39546 rm -f conftest.er1
39547 cat conftest.err >&5
39548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39549 (exit $ac_status); } &&
39550 { ac_try='test -z "$ac_cxx_werror_flag"
39551 || test ! -s conftest.err'
39552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39553 (eval $ac_try) 2>&5
39554 ac_status=$?
39555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39556 (exit $ac_status); }; } &&
39557 { ac_try='test -s conftest.$ac_objext'
39558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39559 (eval $ac_try) 2>&5
39560 ac_status=$?
39561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39562 (exit $ac_status); }; }; then
39563 glibcxx_cv_func_ldexpf_use=yes
39564 else
39565 echo "$as_me: failed program was:" >&5
39566 sed 's/^/| /' conftest.$ac_ext >&5
39568 glibcxx_cv_func_ldexpf_use=no
39570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39571 ac_ext=c
39572 ac_cpp='$CPP $CPPFLAGS'
39573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39581 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
39582 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
39584 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
39586 for ac_func in ldexpf
39588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39589 echo "$as_me:$LINENO: checking for $ac_func" >&5
39590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39591 if eval "test \"\${$as_ac_var+set}\" = set"; then
39592 echo $ECHO_N "(cached) $ECHO_C" >&6
39593 else
39594 if test x$gcc_no_link = xyes; then
39595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39597 { (exit 1); exit 1; }; }
39599 cat >conftest.$ac_ext <<_ACEOF
39600 /* confdefs.h. */
39601 _ACEOF
39602 cat confdefs.h >>conftest.$ac_ext
39603 cat >>conftest.$ac_ext <<_ACEOF
39604 /* end confdefs.h. */
39605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39607 #define $ac_func innocuous_$ac_func
39609 /* System header to define __stub macros and hopefully few prototypes,
39610 which can conflict with char $ac_func (); below.
39611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39612 <limits.h> exists even on freestanding compilers. */
39614 #ifdef __STDC__
39615 # include <limits.h>
39616 #else
39617 # include <assert.h>
39618 #endif
39620 #undef $ac_func
39622 /* Override any gcc2 internal prototype to avoid an error. */
39623 #ifdef __cplusplus
39624 extern "C"
39626 #endif
39627 /* We use char because int might match the return type of a gcc2
39628 builtin and then its argument prototype would still apply. */
39629 char $ac_func ();
39630 /* The GNU C library defines this for functions which it implements
39631 to always fail with ENOSYS. Some functions are actually named
39632 something starting with __ and the normal name is an alias. */
39633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39634 choke me
39635 #else
39636 char (*f) () = $ac_func;
39637 #endif
39638 #ifdef __cplusplus
39640 #endif
39643 main ()
39645 return f != $ac_func;
39647 return 0;
39649 _ACEOF
39650 rm -f conftest.$ac_objext conftest$ac_exeext
39651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39652 (eval $ac_link) 2>conftest.er1
39653 ac_status=$?
39654 grep -v '^ *+' conftest.er1 >conftest.err
39655 rm -f conftest.er1
39656 cat conftest.err >&5
39657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39658 (exit $ac_status); } &&
39659 { ac_try='test -z "$ac_c_werror_flag"
39660 || test ! -s conftest.err'
39661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39662 (eval $ac_try) 2>&5
39663 ac_status=$?
39664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39665 (exit $ac_status); }; } &&
39666 { ac_try='test -s conftest$ac_exeext'
39667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39668 (eval $ac_try) 2>&5
39669 ac_status=$?
39670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39671 (exit $ac_status); }; }; then
39672 eval "$as_ac_var=yes"
39673 else
39674 echo "$as_me: failed program was:" >&5
39675 sed 's/^/| /' conftest.$ac_ext >&5
39677 eval "$as_ac_var=no"
39679 rm -f conftest.err conftest.$ac_objext \
39680 conftest$ac_exeext conftest.$ac_ext
39682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39684 if test `eval echo '${'$as_ac_var'}'` = yes; then
39685 cat >>confdefs.h <<_ACEOF
39686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39687 _ACEOF
39690 done
39692 else
39694 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
39695 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
39696 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
39697 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
39698 echo $ECHO_N "(cached) $ECHO_C" >&6
39699 else
39703 ac_ext=cc
39704 ac_cpp='$CXXCPP $CPPFLAGS'
39705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39709 cat >conftest.$ac_ext <<_ACEOF
39710 /* confdefs.h. */
39711 _ACEOF
39712 cat confdefs.h >>conftest.$ac_ext
39713 cat >>conftest.$ac_ext <<_ACEOF
39714 /* end confdefs.h. */
39715 #include <math.h>
39717 main ()
39719 _ldexpf(0, 0);
39721 return 0;
39723 _ACEOF
39724 rm -f conftest.$ac_objext
39725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39726 (eval $ac_compile) 2>conftest.er1
39727 ac_status=$?
39728 grep -v '^ *+' conftest.er1 >conftest.err
39729 rm -f conftest.er1
39730 cat conftest.err >&5
39731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39732 (exit $ac_status); } &&
39733 { ac_try='test -z "$ac_cxx_werror_flag"
39734 || test ! -s conftest.err'
39735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39736 (eval $ac_try) 2>&5
39737 ac_status=$?
39738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39739 (exit $ac_status); }; } &&
39740 { ac_try='test -s conftest.$ac_objext'
39741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39742 (eval $ac_try) 2>&5
39743 ac_status=$?
39744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39745 (exit $ac_status); }; }; then
39746 glibcxx_cv_func__ldexpf_use=yes
39747 else
39748 echo "$as_me: failed program was:" >&5
39749 sed 's/^/| /' conftest.$ac_ext >&5
39751 glibcxx_cv_func__ldexpf_use=no
39753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39754 ac_ext=c
39755 ac_cpp='$CPP $CPPFLAGS'
39756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39764 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
39765 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
39767 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
39769 for ac_func in _ldexpf
39771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39772 echo "$as_me:$LINENO: checking for $ac_func" >&5
39773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39774 if eval "test \"\${$as_ac_var+set}\" = set"; then
39775 echo $ECHO_N "(cached) $ECHO_C" >&6
39776 else
39777 if test x$gcc_no_link = xyes; then
39778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39780 { (exit 1); exit 1; }; }
39782 cat >conftest.$ac_ext <<_ACEOF
39783 /* confdefs.h. */
39784 _ACEOF
39785 cat confdefs.h >>conftest.$ac_ext
39786 cat >>conftest.$ac_ext <<_ACEOF
39787 /* end confdefs.h. */
39788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39790 #define $ac_func innocuous_$ac_func
39792 /* System header to define __stub macros and hopefully few prototypes,
39793 which can conflict with char $ac_func (); below.
39794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39795 <limits.h> exists even on freestanding compilers. */
39797 #ifdef __STDC__
39798 # include <limits.h>
39799 #else
39800 # include <assert.h>
39801 #endif
39803 #undef $ac_func
39805 /* Override any gcc2 internal prototype to avoid an error. */
39806 #ifdef __cplusplus
39807 extern "C"
39809 #endif
39810 /* We use char because int might match the return type of a gcc2
39811 builtin and then its argument prototype would still apply. */
39812 char $ac_func ();
39813 /* The GNU C library defines this for functions which it implements
39814 to always fail with ENOSYS. Some functions are actually named
39815 something starting with __ and the normal name is an alias. */
39816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39817 choke me
39818 #else
39819 char (*f) () = $ac_func;
39820 #endif
39821 #ifdef __cplusplus
39823 #endif
39826 main ()
39828 return f != $ac_func;
39830 return 0;
39832 _ACEOF
39833 rm -f conftest.$ac_objext conftest$ac_exeext
39834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39835 (eval $ac_link) 2>conftest.er1
39836 ac_status=$?
39837 grep -v '^ *+' conftest.er1 >conftest.err
39838 rm -f conftest.er1
39839 cat conftest.err >&5
39840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39841 (exit $ac_status); } &&
39842 { ac_try='test -z "$ac_c_werror_flag"
39843 || test ! -s conftest.err'
39844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39845 (eval $ac_try) 2>&5
39846 ac_status=$?
39847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39848 (exit $ac_status); }; } &&
39849 { ac_try='test -s conftest$ac_exeext'
39850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39851 (eval $ac_try) 2>&5
39852 ac_status=$?
39853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39854 (exit $ac_status); }; }; then
39855 eval "$as_ac_var=yes"
39856 else
39857 echo "$as_me: failed program was:" >&5
39858 sed 's/^/| /' conftest.$ac_ext >&5
39860 eval "$as_ac_var=no"
39862 rm -f conftest.err conftest.$ac_objext \
39863 conftest$ac_exeext conftest.$ac_ext
39865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39867 if test `eval echo '${'$as_ac_var'}'` = yes; then
39868 cat >>confdefs.h <<_ACEOF
39869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39870 _ACEOF
39873 done
39880 echo "$as_me:$LINENO: checking for logf declaration" >&5
39881 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
39882 if test x${glibcxx_cv_func_logf_use+set} != xset; then
39883 if test "${glibcxx_cv_func_logf_use+set}" = set; then
39884 echo $ECHO_N "(cached) $ECHO_C" >&6
39885 else
39889 ac_ext=cc
39890 ac_cpp='$CXXCPP $CPPFLAGS'
39891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39895 cat >conftest.$ac_ext <<_ACEOF
39896 /* confdefs.h. */
39897 _ACEOF
39898 cat confdefs.h >>conftest.$ac_ext
39899 cat >>conftest.$ac_ext <<_ACEOF
39900 /* end confdefs.h. */
39901 #include <math.h>
39902 #ifdef HAVE_IEEEFP_H
39903 #include <ieeefp.h>
39904 #endif
39907 main ()
39909 logf(0);
39911 return 0;
39913 _ACEOF
39914 rm -f conftest.$ac_objext
39915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39916 (eval $ac_compile) 2>conftest.er1
39917 ac_status=$?
39918 grep -v '^ *+' conftest.er1 >conftest.err
39919 rm -f conftest.er1
39920 cat conftest.err >&5
39921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39922 (exit $ac_status); } &&
39923 { ac_try='test -z "$ac_cxx_werror_flag"
39924 || test ! -s conftest.err'
39925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39926 (eval $ac_try) 2>&5
39927 ac_status=$?
39928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39929 (exit $ac_status); }; } &&
39930 { ac_try='test -s conftest.$ac_objext'
39931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39932 (eval $ac_try) 2>&5
39933 ac_status=$?
39934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39935 (exit $ac_status); }; }; then
39936 glibcxx_cv_func_logf_use=yes
39937 else
39938 echo "$as_me: failed program was:" >&5
39939 sed 's/^/| /' conftest.$ac_ext >&5
39941 glibcxx_cv_func_logf_use=no
39943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39944 ac_ext=c
39945 ac_cpp='$CPP $CPPFLAGS'
39946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39954 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
39955 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
39957 if test x$glibcxx_cv_func_logf_use = x"yes"; then
39959 for ac_func in logf
39961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39962 echo "$as_me:$LINENO: checking for $ac_func" >&5
39963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39964 if eval "test \"\${$as_ac_var+set}\" = set"; then
39965 echo $ECHO_N "(cached) $ECHO_C" >&6
39966 else
39967 if test x$gcc_no_link = xyes; then
39968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39970 { (exit 1); exit 1; }; }
39972 cat >conftest.$ac_ext <<_ACEOF
39973 /* confdefs.h. */
39974 _ACEOF
39975 cat confdefs.h >>conftest.$ac_ext
39976 cat >>conftest.$ac_ext <<_ACEOF
39977 /* end confdefs.h. */
39978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39980 #define $ac_func innocuous_$ac_func
39982 /* System header to define __stub macros and hopefully few prototypes,
39983 which can conflict with char $ac_func (); below.
39984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39985 <limits.h> exists even on freestanding compilers. */
39987 #ifdef __STDC__
39988 # include <limits.h>
39989 #else
39990 # include <assert.h>
39991 #endif
39993 #undef $ac_func
39995 /* Override any gcc2 internal prototype to avoid an error. */
39996 #ifdef __cplusplus
39997 extern "C"
39999 #endif
40000 /* We use char because int might match the return type of a gcc2
40001 builtin and then its argument prototype would still apply. */
40002 char $ac_func ();
40003 /* The GNU C library defines this for functions which it implements
40004 to always fail with ENOSYS. Some functions are actually named
40005 something starting with __ and the normal name is an alias. */
40006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40007 choke me
40008 #else
40009 char (*f) () = $ac_func;
40010 #endif
40011 #ifdef __cplusplus
40013 #endif
40016 main ()
40018 return f != $ac_func;
40020 return 0;
40022 _ACEOF
40023 rm -f conftest.$ac_objext conftest$ac_exeext
40024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40025 (eval $ac_link) 2>conftest.er1
40026 ac_status=$?
40027 grep -v '^ *+' conftest.er1 >conftest.err
40028 rm -f conftest.er1
40029 cat conftest.err >&5
40030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40031 (exit $ac_status); } &&
40032 { ac_try='test -z "$ac_c_werror_flag"
40033 || test ! -s conftest.err'
40034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40035 (eval $ac_try) 2>&5
40036 ac_status=$?
40037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40038 (exit $ac_status); }; } &&
40039 { ac_try='test -s conftest$ac_exeext'
40040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40041 (eval $ac_try) 2>&5
40042 ac_status=$?
40043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40044 (exit $ac_status); }; }; then
40045 eval "$as_ac_var=yes"
40046 else
40047 echo "$as_me: failed program was:" >&5
40048 sed 's/^/| /' conftest.$ac_ext >&5
40050 eval "$as_ac_var=no"
40052 rm -f conftest.err conftest.$ac_objext \
40053 conftest$ac_exeext conftest.$ac_ext
40055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40057 if test `eval echo '${'$as_ac_var'}'` = yes; then
40058 cat >>confdefs.h <<_ACEOF
40059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40060 _ACEOF
40063 done
40065 else
40067 echo "$as_me:$LINENO: checking for _logf declaration" >&5
40068 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
40069 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40070 if test "${glibcxx_cv_func__logf_use+set}" = set; then
40071 echo $ECHO_N "(cached) $ECHO_C" >&6
40072 else
40076 ac_ext=cc
40077 ac_cpp='$CXXCPP $CPPFLAGS'
40078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40082 cat >conftest.$ac_ext <<_ACEOF
40083 /* confdefs.h. */
40084 _ACEOF
40085 cat confdefs.h >>conftest.$ac_ext
40086 cat >>conftest.$ac_ext <<_ACEOF
40087 /* end confdefs.h. */
40088 #include <math.h>
40089 #ifdef HAVE_IEEEFP_H
40090 #include <ieeefp.h>
40091 #endif
40094 main ()
40096 _logf(0);
40098 return 0;
40100 _ACEOF
40101 rm -f conftest.$ac_objext
40102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40103 (eval $ac_compile) 2>conftest.er1
40104 ac_status=$?
40105 grep -v '^ *+' conftest.er1 >conftest.err
40106 rm -f conftest.er1
40107 cat conftest.err >&5
40108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40109 (exit $ac_status); } &&
40110 { ac_try='test -z "$ac_cxx_werror_flag"
40111 || test ! -s conftest.err'
40112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40113 (eval $ac_try) 2>&5
40114 ac_status=$?
40115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40116 (exit $ac_status); }; } &&
40117 { ac_try='test -s conftest.$ac_objext'
40118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40119 (eval $ac_try) 2>&5
40120 ac_status=$?
40121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40122 (exit $ac_status); }; }; then
40123 glibcxx_cv_func__logf_use=yes
40124 else
40125 echo "$as_me: failed program was:" >&5
40126 sed 's/^/| /' conftest.$ac_ext >&5
40128 glibcxx_cv_func__logf_use=no
40130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40131 ac_ext=c
40132 ac_cpp='$CPP $CPPFLAGS'
40133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40141 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
40142 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
40144 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40146 for ac_func in _logf
40148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40149 echo "$as_me:$LINENO: checking for $ac_func" >&5
40150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40151 if eval "test \"\${$as_ac_var+set}\" = set"; then
40152 echo $ECHO_N "(cached) $ECHO_C" >&6
40153 else
40154 if test x$gcc_no_link = xyes; then
40155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40157 { (exit 1); exit 1; }; }
40159 cat >conftest.$ac_ext <<_ACEOF
40160 /* confdefs.h. */
40161 _ACEOF
40162 cat confdefs.h >>conftest.$ac_ext
40163 cat >>conftest.$ac_ext <<_ACEOF
40164 /* end confdefs.h. */
40165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40167 #define $ac_func innocuous_$ac_func
40169 /* System header to define __stub macros and hopefully few prototypes,
40170 which can conflict with char $ac_func (); below.
40171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40172 <limits.h> exists even on freestanding compilers. */
40174 #ifdef __STDC__
40175 # include <limits.h>
40176 #else
40177 # include <assert.h>
40178 #endif
40180 #undef $ac_func
40182 /* Override any gcc2 internal prototype to avoid an error. */
40183 #ifdef __cplusplus
40184 extern "C"
40186 #endif
40187 /* We use char because int might match the return type of a gcc2
40188 builtin and then its argument prototype would still apply. */
40189 char $ac_func ();
40190 /* The GNU C library defines this for functions which it implements
40191 to always fail with ENOSYS. Some functions are actually named
40192 something starting with __ and the normal name is an alias. */
40193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40194 choke me
40195 #else
40196 char (*f) () = $ac_func;
40197 #endif
40198 #ifdef __cplusplus
40200 #endif
40203 main ()
40205 return f != $ac_func;
40207 return 0;
40209 _ACEOF
40210 rm -f conftest.$ac_objext conftest$ac_exeext
40211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40212 (eval $ac_link) 2>conftest.er1
40213 ac_status=$?
40214 grep -v '^ *+' conftest.er1 >conftest.err
40215 rm -f conftest.er1
40216 cat conftest.err >&5
40217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40218 (exit $ac_status); } &&
40219 { ac_try='test -z "$ac_c_werror_flag"
40220 || test ! -s conftest.err'
40221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40222 (eval $ac_try) 2>&5
40223 ac_status=$?
40224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40225 (exit $ac_status); }; } &&
40226 { ac_try='test -s conftest$ac_exeext'
40227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40228 (eval $ac_try) 2>&5
40229 ac_status=$?
40230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40231 (exit $ac_status); }; }; then
40232 eval "$as_ac_var=yes"
40233 else
40234 echo "$as_me: failed program was:" >&5
40235 sed 's/^/| /' conftest.$ac_ext >&5
40237 eval "$as_ac_var=no"
40239 rm -f conftest.err conftest.$ac_objext \
40240 conftest$ac_exeext conftest.$ac_ext
40242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40244 if test `eval echo '${'$as_ac_var'}'` = yes; then
40245 cat >>confdefs.h <<_ACEOF
40246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40247 _ACEOF
40250 done
40257 echo "$as_me:$LINENO: checking for log10f declaration" >&5
40258 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
40259 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40260 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
40261 echo $ECHO_N "(cached) $ECHO_C" >&6
40262 else
40266 ac_ext=cc
40267 ac_cpp='$CXXCPP $CPPFLAGS'
40268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40272 cat >conftest.$ac_ext <<_ACEOF
40273 /* confdefs.h. */
40274 _ACEOF
40275 cat confdefs.h >>conftest.$ac_ext
40276 cat >>conftest.$ac_ext <<_ACEOF
40277 /* end confdefs.h. */
40278 #include <math.h>
40279 #ifdef HAVE_IEEEFP_H
40280 #include <ieeefp.h>
40281 #endif
40284 main ()
40286 log10f(0);
40288 return 0;
40290 _ACEOF
40291 rm -f conftest.$ac_objext
40292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40293 (eval $ac_compile) 2>conftest.er1
40294 ac_status=$?
40295 grep -v '^ *+' conftest.er1 >conftest.err
40296 rm -f conftest.er1
40297 cat conftest.err >&5
40298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40299 (exit $ac_status); } &&
40300 { ac_try='test -z "$ac_cxx_werror_flag"
40301 || test ! -s conftest.err'
40302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40303 (eval $ac_try) 2>&5
40304 ac_status=$?
40305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40306 (exit $ac_status); }; } &&
40307 { ac_try='test -s conftest.$ac_objext'
40308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40309 (eval $ac_try) 2>&5
40310 ac_status=$?
40311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40312 (exit $ac_status); }; }; then
40313 glibcxx_cv_func_log10f_use=yes
40314 else
40315 echo "$as_me: failed program was:" >&5
40316 sed 's/^/| /' conftest.$ac_ext >&5
40318 glibcxx_cv_func_log10f_use=no
40320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40321 ac_ext=c
40322 ac_cpp='$CPP $CPPFLAGS'
40323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40331 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
40332 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
40334 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40336 for ac_func in log10f
40338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40339 echo "$as_me:$LINENO: checking for $ac_func" >&5
40340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40341 if eval "test \"\${$as_ac_var+set}\" = set"; then
40342 echo $ECHO_N "(cached) $ECHO_C" >&6
40343 else
40344 if test x$gcc_no_link = xyes; then
40345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40347 { (exit 1); exit 1; }; }
40349 cat >conftest.$ac_ext <<_ACEOF
40350 /* confdefs.h. */
40351 _ACEOF
40352 cat confdefs.h >>conftest.$ac_ext
40353 cat >>conftest.$ac_ext <<_ACEOF
40354 /* end confdefs.h. */
40355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40357 #define $ac_func innocuous_$ac_func
40359 /* System header to define __stub macros and hopefully few prototypes,
40360 which can conflict with char $ac_func (); below.
40361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40362 <limits.h> exists even on freestanding compilers. */
40364 #ifdef __STDC__
40365 # include <limits.h>
40366 #else
40367 # include <assert.h>
40368 #endif
40370 #undef $ac_func
40372 /* Override any gcc2 internal prototype to avoid an error. */
40373 #ifdef __cplusplus
40374 extern "C"
40376 #endif
40377 /* We use char because int might match the return type of a gcc2
40378 builtin and then its argument prototype would still apply. */
40379 char $ac_func ();
40380 /* The GNU C library defines this for functions which it implements
40381 to always fail with ENOSYS. Some functions are actually named
40382 something starting with __ and the normal name is an alias. */
40383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40384 choke me
40385 #else
40386 char (*f) () = $ac_func;
40387 #endif
40388 #ifdef __cplusplus
40390 #endif
40393 main ()
40395 return f != $ac_func;
40397 return 0;
40399 _ACEOF
40400 rm -f conftest.$ac_objext conftest$ac_exeext
40401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40402 (eval $ac_link) 2>conftest.er1
40403 ac_status=$?
40404 grep -v '^ *+' conftest.er1 >conftest.err
40405 rm -f conftest.er1
40406 cat conftest.err >&5
40407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40408 (exit $ac_status); } &&
40409 { ac_try='test -z "$ac_c_werror_flag"
40410 || test ! -s conftest.err'
40411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40412 (eval $ac_try) 2>&5
40413 ac_status=$?
40414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40415 (exit $ac_status); }; } &&
40416 { ac_try='test -s conftest$ac_exeext'
40417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40418 (eval $ac_try) 2>&5
40419 ac_status=$?
40420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40421 (exit $ac_status); }; }; then
40422 eval "$as_ac_var=yes"
40423 else
40424 echo "$as_me: failed program was:" >&5
40425 sed 's/^/| /' conftest.$ac_ext >&5
40427 eval "$as_ac_var=no"
40429 rm -f conftest.err conftest.$ac_objext \
40430 conftest$ac_exeext conftest.$ac_ext
40432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40434 if test `eval echo '${'$as_ac_var'}'` = yes; then
40435 cat >>confdefs.h <<_ACEOF
40436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40437 _ACEOF
40440 done
40442 else
40444 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
40445 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
40446 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40447 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
40448 echo $ECHO_N "(cached) $ECHO_C" >&6
40449 else
40453 ac_ext=cc
40454 ac_cpp='$CXXCPP $CPPFLAGS'
40455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40459 cat >conftest.$ac_ext <<_ACEOF
40460 /* confdefs.h. */
40461 _ACEOF
40462 cat confdefs.h >>conftest.$ac_ext
40463 cat >>conftest.$ac_ext <<_ACEOF
40464 /* end confdefs.h. */
40465 #include <math.h>
40466 #ifdef HAVE_IEEEFP_H
40467 #include <ieeefp.h>
40468 #endif
40471 main ()
40473 _log10f(0);
40475 return 0;
40477 _ACEOF
40478 rm -f conftest.$ac_objext
40479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40480 (eval $ac_compile) 2>conftest.er1
40481 ac_status=$?
40482 grep -v '^ *+' conftest.er1 >conftest.err
40483 rm -f conftest.er1
40484 cat conftest.err >&5
40485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40486 (exit $ac_status); } &&
40487 { ac_try='test -z "$ac_cxx_werror_flag"
40488 || test ! -s conftest.err'
40489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40490 (eval $ac_try) 2>&5
40491 ac_status=$?
40492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40493 (exit $ac_status); }; } &&
40494 { ac_try='test -s conftest.$ac_objext'
40495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40496 (eval $ac_try) 2>&5
40497 ac_status=$?
40498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40499 (exit $ac_status); }; }; then
40500 glibcxx_cv_func__log10f_use=yes
40501 else
40502 echo "$as_me: failed program was:" >&5
40503 sed 's/^/| /' conftest.$ac_ext >&5
40505 glibcxx_cv_func__log10f_use=no
40507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40508 ac_ext=c
40509 ac_cpp='$CPP $CPPFLAGS'
40510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40518 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
40519 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
40521 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40523 for ac_func in _log10f
40525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40526 echo "$as_me:$LINENO: checking for $ac_func" >&5
40527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40528 if eval "test \"\${$as_ac_var+set}\" = set"; then
40529 echo $ECHO_N "(cached) $ECHO_C" >&6
40530 else
40531 if test x$gcc_no_link = xyes; then
40532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40534 { (exit 1); exit 1; }; }
40536 cat >conftest.$ac_ext <<_ACEOF
40537 /* confdefs.h. */
40538 _ACEOF
40539 cat confdefs.h >>conftest.$ac_ext
40540 cat >>conftest.$ac_ext <<_ACEOF
40541 /* end confdefs.h. */
40542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40544 #define $ac_func innocuous_$ac_func
40546 /* System header to define __stub macros and hopefully few prototypes,
40547 which can conflict with char $ac_func (); below.
40548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40549 <limits.h> exists even on freestanding compilers. */
40551 #ifdef __STDC__
40552 # include <limits.h>
40553 #else
40554 # include <assert.h>
40555 #endif
40557 #undef $ac_func
40559 /* Override any gcc2 internal prototype to avoid an error. */
40560 #ifdef __cplusplus
40561 extern "C"
40563 #endif
40564 /* We use char because int might match the return type of a gcc2
40565 builtin and then its argument prototype would still apply. */
40566 char $ac_func ();
40567 /* The GNU C library defines this for functions which it implements
40568 to always fail with ENOSYS. Some functions are actually named
40569 something starting with __ and the normal name is an alias. */
40570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40571 choke me
40572 #else
40573 char (*f) () = $ac_func;
40574 #endif
40575 #ifdef __cplusplus
40577 #endif
40580 main ()
40582 return f != $ac_func;
40584 return 0;
40586 _ACEOF
40587 rm -f conftest.$ac_objext conftest$ac_exeext
40588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40589 (eval $ac_link) 2>conftest.er1
40590 ac_status=$?
40591 grep -v '^ *+' conftest.er1 >conftest.err
40592 rm -f conftest.er1
40593 cat conftest.err >&5
40594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40595 (exit $ac_status); } &&
40596 { ac_try='test -z "$ac_c_werror_flag"
40597 || test ! -s conftest.err'
40598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40599 (eval $ac_try) 2>&5
40600 ac_status=$?
40601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40602 (exit $ac_status); }; } &&
40603 { ac_try='test -s conftest$ac_exeext'
40604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40605 (eval $ac_try) 2>&5
40606 ac_status=$?
40607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40608 (exit $ac_status); }; }; then
40609 eval "$as_ac_var=yes"
40610 else
40611 echo "$as_me: failed program was:" >&5
40612 sed 's/^/| /' conftest.$ac_ext >&5
40614 eval "$as_ac_var=no"
40616 rm -f conftest.err conftest.$ac_objext \
40617 conftest$ac_exeext conftest.$ac_ext
40619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40621 if test `eval echo '${'$as_ac_var'}'` = yes; then
40622 cat >>confdefs.h <<_ACEOF
40623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40624 _ACEOF
40627 done
40634 echo "$as_me:$LINENO: checking for modff declaration" >&5
40635 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
40636 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40637 if test "${glibcxx_cv_func_modff_use+set}" = set; then
40638 echo $ECHO_N "(cached) $ECHO_C" >&6
40639 else
40643 ac_ext=cc
40644 ac_cpp='$CXXCPP $CPPFLAGS'
40645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40649 cat >conftest.$ac_ext <<_ACEOF
40650 /* confdefs.h. */
40651 _ACEOF
40652 cat confdefs.h >>conftest.$ac_ext
40653 cat >>conftest.$ac_ext <<_ACEOF
40654 /* end confdefs.h. */
40655 #include <math.h>
40657 main ()
40659 modff(0, 0);
40661 return 0;
40663 _ACEOF
40664 rm -f conftest.$ac_objext
40665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40666 (eval $ac_compile) 2>conftest.er1
40667 ac_status=$?
40668 grep -v '^ *+' conftest.er1 >conftest.err
40669 rm -f conftest.er1
40670 cat conftest.err >&5
40671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40672 (exit $ac_status); } &&
40673 { ac_try='test -z "$ac_cxx_werror_flag"
40674 || test ! -s conftest.err'
40675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40676 (eval $ac_try) 2>&5
40677 ac_status=$?
40678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40679 (exit $ac_status); }; } &&
40680 { ac_try='test -s conftest.$ac_objext'
40681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40682 (eval $ac_try) 2>&5
40683 ac_status=$?
40684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40685 (exit $ac_status); }; }; then
40686 glibcxx_cv_func_modff_use=yes
40687 else
40688 echo "$as_me: failed program was:" >&5
40689 sed 's/^/| /' conftest.$ac_ext >&5
40691 glibcxx_cv_func_modff_use=no
40693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40694 ac_ext=c
40695 ac_cpp='$CPP $CPPFLAGS'
40696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40704 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
40705 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
40707 if test x$glibcxx_cv_func_modff_use = x"yes"; then
40709 for ac_func in modff
40711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40712 echo "$as_me:$LINENO: checking for $ac_func" >&5
40713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40714 if eval "test \"\${$as_ac_var+set}\" = set"; then
40715 echo $ECHO_N "(cached) $ECHO_C" >&6
40716 else
40717 if test x$gcc_no_link = xyes; then
40718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40720 { (exit 1); exit 1; }; }
40722 cat >conftest.$ac_ext <<_ACEOF
40723 /* confdefs.h. */
40724 _ACEOF
40725 cat confdefs.h >>conftest.$ac_ext
40726 cat >>conftest.$ac_ext <<_ACEOF
40727 /* end confdefs.h. */
40728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40730 #define $ac_func innocuous_$ac_func
40732 /* System header to define __stub macros and hopefully few prototypes,
40733 which can conflict with char $ac_func (); below.
40734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40735 <limits.h> exists even on freestanding compilers. */
40737 #ifdef __STDC__
40738 # include <limits.h>
40739 #else
40740 # include <assert.h>
40741 #endif
40743 #undef $ac_func
40745 /* Override any gcc2 internal prototype to avoid an error. */
40746 #ifdef __cplusplus
40747 extern "C"
40749 #endif
40750 /* We use char because int might match the return type of a gcc2
40751 builtin and then its argument prototype would still apply. */
40752 char $ac_func ();
40753 /* The GNU C library defines this for functions which it implements
40754 to always fail with ENOSYS. Some functions are actually named
40755 something starting with __ and the normal name is an alias. */
40756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40757 choke me
40758 #else
40759 char (*f) () = $ac_func;
40760 #endif
40761 #ifdef __cplusplus
40763 #endif
40766 main ()
40768 return f != $ac_func;
40770 return 0;
40772 _ACEOF
40773 rm -f conftest.$ac_objext conftest$ac_exeext
40774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40775 (eval $ac_link) 2>conftest.er1
40776 ac_status=$?
40777 grep -v '^ *+' conftest.er1 >conftest.err
40778 rm -f conftest.er1
40779 cat conftest.err >&5
40780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40781 (exit $ac_status); } &&
40782 { ac_try='test -z "$ac_c_werror_flag"
40783 || test ! -s conftest.err'
40784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40785 (eval $ac_try) 2>&5
40786 ac_status=$?
40787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40788 (exit $ac_status); }; } &&
40789 { ac_try='test -s conftest$ac_exeext'
40790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40791 (eval $ac_try) 2>&5
40792 ac_status=$?
40793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40794 (exit $ac_status); }; }; then
40795 eval "$as_ac_var=yes"
40796 else
40797 echo "$as_me: failed program was:" >&5
40798 sed 's/^/| /' conftest.$ac_ext >&5
40800 eval "$as_ac_var=no"
40802 rm -f conftest.err conftest.$ac_objext \
40803 conftest$ac_exeext conftest.$ac_ext
40805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40807 if test `eval echo '${'$as_ac_var'}'` = yes; then
40808 cat >>confdefs.h <<_ACEOF
40809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40810 _ACEOF
40813 done
40815 else
40817 echo "$as_me:$LINENO: checking for _modff declaration" >&5
40818 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
40819 if test x${glibcxx_cv_func__modff_use+set} != xset; then
40820 if test "${glibcxx_cv_func__modff_use+set}" = set; then
40821 echo $ECHO_N "(cached) $ECHO_C" >&6
40822 else
40826 ac_ext=cc
40827 ac_cpp='$CXXCPP $CPPFLAGS'
40828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40832 cat >conftest.$ac_ext <<_ACEOF
40833 /* confdefs.h. */
40834 _ACEOF
40835 cat confdefs.h >>conftest.$ac_ext
40836 cat >>conftest.$ac_ext <<_ACEOF
40837 /* end confdefs.h. */
40838 #include <math.h>
40840 main ()
40842 _modff(0, 0);
40844 return 0;
40846 _ACEOF
40847 rm -f conftest.$ac_objext
40848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40849 (eval $ac_compile) 2>conftest.er1
40850 ac_status=$?
40851 grep -v '^ *+' conftest.er1 >conftest.err
40852 rm -f conftest.er1
40853 cat conftest.err >&5
40854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40855 (exit $ac_status); } &&
40856 { ac_try='test -z "$ac_cxx_werror_flag"
40857 || test ! -s conftest.err'
40858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40859 (eval $ac_try) 2>&5
40860 ac_status=$?
40861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40862 (exit $ac_status); }; } &&
40863 { ac_try='test -s conftest.$ac_objext'
40864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40865 (eval $ac_try) 2>&5
40866 ac_status=$?
40867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40868 (exit $ac_status); }; }; then
40869 glibcxx_cv_func__modff_use=yes
40870 else
40871 echo "$as_me: failed program was:" >&5
40872 sed 's/^/| /' conftest.$ac_ext >&5
40874 glibcxx_cv_func__modff_use=no
40876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40877 ac_ext=c
40878 ac_cpp='$CPP $CPPFLAGS'
40879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40887 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
40888 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
40890 if test x$glibcxx_cv_func__modff_use = x"yes"; then
40892 for ac_func in _modff
40894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40895 echo "$as_me:$LINENO: checking for $ac_func" >&5
40896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40897 if eval "test \"\${$as_ac_var+set}\" = set"; then
40898 echo $ECHO_N "(cached) $ECHO_C" >&6
40899 else
40900 if test x$gcc_no_link = xyes; then
40901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40903 { (exit 1); exit 1; }; }
40905 cat >conftest.$ac_ext <<_ACEOF
40906 /* confdefs.h. */
40907 _ACEOF
40908 cat confdefs.h >>conftest.$ac_ext
40909 cat >>conftest.$ac_ext <<_ACEOF
40910 /* end confdefs.h. */
40911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40913 #define $ac_func innocuous_$ac_func
40915 /* System header to define __stub macros and hopefully few prototypes,
40916 which can conflict with char $ac_func (); below.
40917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40918 <limits.h> exists even on freestanding compilers. */
40920 #ifdef __STDC__
40921 # include <limits.h>
40922 #else
40923 # include <assert.h>
40924 #endif
40926 #undef $ac_func
40928 /* Override any gcc2 internal prototype to avoid an error. */
40929 #ifdef __cplusplus
40930 extern "C"
40932 #endif
40933 /* We use char because int might match the return type of a gcc2
40934 builtin and then its argument prototype would still apply. */
40935 char $ac_func ();
40936 /* The GNU C library defines this for functions which it implements
40937 to always fail with ENOSYS. Some functions are actually named
40938 something starting with __ and the normal name is an alias. */
40939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40940 choke me
40941 #else
40942 char (*f) () = $ac_func;
40943 #endif
40944 #ifdef __cplusplus
40946 #endif
40949 main ()
40951 return f != $ac_func;
40953 return 0;
40955 _ACEOF
40956 rm -f conftest.$ac_objext conftest$ac_exeext
40957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40958 (eval $ac_link) 2>conftest.er1
40959 ac_status=$?
40960 grep -v '^ *+' conftest.er1 >conftest.err
40961 rm -f conftest.er1
40962 cat conftest.err >&5
40963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40964 (exit $ac_status); } &&
40965 { ac_try='test -z "$ac_c_werror_flag"
40966 || test ! -s conftest.err'
40967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40968 (eval $ac_try) 2>&5
40969 ac_status=$?
40970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40971 (exit $ac_status); }; } &&
40972 { ac_try='test -s conftest$ac_exeext'
40973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40974 (eval $ac_try) 2>&5
40975 ac_status=$?
40976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40977 (exit $ac_status); }; }; then
40978 eval "$as_ac_var=yes"
40979 else
40980 echo "$as_me: failed program was:" >&5
40981 sed 's/^/| /' conftest.$ac_ext >&5
40983 eval "$as_ac_var=no"
40985 rm -f conftest.err conftest.$ac_objext \
40986 conftest$ac_exeext conftest.$ac_ext
40988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40990 if test `eval echo '${'$as_ac_var'}'` = yes; then
40991 cat >>confdefs.h <<_ACEOF
40992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40993 _ACEOF
40996 done
41003 echo "$as_me:$LINENO: checking for powf declaration" >&5
41004 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
41005 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41006 if test "${glibcxx_cv_func_powf_use+set}" = set; then
41007 echo $ECHO_N "(cached) $ECHO_C" >&6
41008 else
41012 ac_ext=cc
41013 ac_cpp='$CXXCPP $CPPFLAGS'
41014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41018 cat >conftest.$ac_ext <<_ACEOF
41019 /* confdefs.h. */
41020 _ACEOF
41021 cat confdefs.h >>conftest.$ac_ext
41022 cat >>conftest.$ac_ext <<_ACEOF
41023 /* end confdefs.h. */
41024 #include <math.h>
41026 main ()
41028 powf(0, 0);
41030 return 0;
41032 _ACEOF
41033 rm -f conftest.$ac_objext
41034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41035 (eval $ac_compile) 2>conftest.er1
41036 ac_status=$?
41037 grep -v '^ *+' conftest.er1 >conftest.err
41038 rm -f conftest.er1
41039 cat conftest.err >&5
41040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41041 (exit $ac_status); } &&
41042 { ac_try='test -z "$ac_cxx_werror_flag"
41043 || test ! -s conftest.err'
41044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41045 (eval $ac_try) 2>&5
41046 ac_status=$?
41047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41048 (exit $ac_status); }; } &&
41049 { ac_try='test -s conftest.$ac_objext'
41050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41051 (eval $ac_try) 2>&5
41052 ac_status=$?
41053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41054 (exit $ac_status); }; }; then
41055 glibcxx_cv_func_powf_use=yes
41056 else
41057 echo "$as_me: failed program was:" >&5
41058 sed 's/^/| /' conftest.$ac_ext >&5
41060 glibcxx_cv_func_powf_use=no
41062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41063 ac_ext=c
41064 ac_cpp='$CPP $CPPFLAGS'
41065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41073 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
41074 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
41076 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41078 for ac_func in powf
41080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41081 echo "$as_me:$LINENO: checking for $ac_func" >&5
41082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41083 if eval "test \"\${$as_ac_var+set}\" = set"; then
41084 echo $ECHO_N "(cached) $ECHO_C" >&6
41085 else
41086 if test x$gcc_no_link = xyes; then
41087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41089 { (exit 1); exit 1; }; }
41091 cat >conftest.$ac_ext <<_ACEOF
41092 /* confdefs.h. */
41093 _ACEOF
41094 cat confdefs.h >>conftest.$ac_ext
41095 cat >>conftest.$ac_ext <<_ACEOF
41096 /* end confdefs.h. */
41097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41099 #define $ac_func innocuous_$ac_func
41101 /* System header to define __stub macros and hopefully few prototypes,
41102 which can conflict with char $ac_func (); below.
41103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41104 <limits.h> exists even on freestanding compilers. */
41106 #ifdef __STDC__
41107 # include <limits.h>
41108 #else
41109 # include <assert.h>
41110 #endif
41112 #undef $ac_func
41114 /* Override any gcc2 internal prototype to avoid an error. */
41115 #ifdef __cplusplus
41116 extern "C"
41118 #endif
41119 /* We use char because int might match the return type of a gcc2
41120 builtin and then its argument prototype would still apply. */
41121 char $ac_func ();
41122 /* The GNU C library defines this for functions which it implements
41123 to always fail with ENOSYS. Some functions are actually named
41124 something starting with __ and the normal name is an alias. */
41125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41126 choke me
41127 #else
41128 char (*f) () = $ac_func;
41129 #endif
41130 #ifdef __cplusplus
41132 #endif
41135 main ()
41137 return f != $ac_func;
41139 return 0;
41141 _ACEOF
41142 rm -f conftest.$ac_objext conftest$ac_exeext
41143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41144 (eval $ac_link) 2>conftest.er1
41145 ac_status=$?
41146 grep -v '^ *+' conftest.er1 >conftest.err
41147 rm -f conftest.er1
41148 cat conftest.err >&5
41149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41150 (exit $ac_status); } &&
41151 { ac_try='test -z "$ac_c_werror_flag"
41152 || test ! -s conftest.err'
41153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41154 (eval $ac_try) 2>&5
41155 ac_status=$?
41156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41157 (exit $ac_status); }; } &&
41158 { ac_try='test -s conftest$ac_exeext'
41159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41160 (eval $ac_try) 2>&5
41161 ac_status=$?
41162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41163 (exit $ac_status); }; }; then
41164 eval "$as_ac_var=yes"
41165 else
41166 echo "$as_me: failed program was:" >&5
41167 sed 's/^/| /' conftest.$ac_ext >&5
41169 eval "$as_ac_var=no"
41171 rm -f conftest.err conftest.$ac_objext \
41172 conftest$ac_exeext conftest.$ac_ext
41174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41176 if test `eval echo '${'$as_ac_var'}'` = yes; then
41177 cat >>confdefs.h <<_ACEOF
41178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41179 _ACEOF
41182 done
41184 else
41186 echo "$as_me:$LINENO: checking for _powf declaration" >&5
41187 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
41188 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41189 if test "${glibcxx_cv_func__powf_use+set}" = set; then
41190 echo $ECHO_N "(cached) $ECHO_C" >&6
41191 else
41195 ac_ext=cc
41196 ac_cpp='$CXXCPP $CPPFLAGS'
41197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41201 cat >conftest.$ac_ext <<_ACEOF
41202 /* confdefs.h. */
41203 _ACEOF
41204 cat confdefs.h >>conftest.$ac_ext
41205 cat >>conftest.$ac_ext <<_ACEOF
41206 /* end confdefs.h. */
41207 #include <math.h>
41209 main ()
41211 _powf(0, 0);
41213 return 0;
41215 _ACEOF
41216 rm -f conftest.$ac_objext
41217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41218 (eval $ac_compile) 2>conftest.er1
41219 ac_status=$?
41220 grep -v '^ *+' conftest.er1 >conftest.err
41221 rm -f conftest.er1
41222 cat conftest.err >&5
41223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41224 (exit $ac_status); } &&
41225 { ac_try='test -z "$ac_cxx_werror_flag"
41226 || test ! -s conftest.err'
41227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41228 (eval $ac_try) 2>&5
41229 ac_status=$?
41230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41231 (exit $ac_status); }; } &&
41232 { ac_try='test -s conftest.$ac_objext'
41233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41234 (eval $ac_try) 2>&5
41235 ac_status=$?
41236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41237 (exit $ac_status); }; }; then
41238 glibcxx_cv_func__powf_use=yes
41239 else
41240 echo "$as_me: failed program was:" >&5
41241 sed 's/^/| /' conftest.$ac_ext >&5
41243 glibcxx_cv_func__powf_use=no
41245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41246 ac_ext=c
41247 ac_cpp='$CPP $CPPFLAGS'
41248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41256 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
41257 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
41259 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41261 for ac_func in _powf
41263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41264 echo "$as_me:$LINENO: checking for $ac_func" >&5
41265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41266 if eval "test \"\${$as_ac_var+set}\" = set"; then
41267 echo $ECHO_N "(cached) $ECHO_C" >&6
41268 else
41269 if test x$gcc_no_link = xyes; then
41270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41272 { (exit 1); exit 1; }; }
41274 cat >conftest.$ac_ext <<_ACEOF
41275 /* confdefs.h. */
41276 _ACEOF
41277 cat confdefs.h >>conftest.$ac_ext
41278 cat >>conftest.$ac_ext <<_ACEOF
41279 /* end confdefs.h. */
41280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41282 #define $ac_func innocuous_$ac_func
41284 /* System header to define __stub macros and hopefully few prototypes,
41285 which can conflict with char $ac_func (); below.
41286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41287 <limits.h> exists even on freestanding compilers. */
41289 #ifdef __STDC__
41290 # include <limits.h>
41291 #else
41292 # include <assert.h>
41293 #endif
41295 #undef $ac_func
41297 /* Override any gcc2 internal prototype to avoid an error. */
41298 #ifdef __cplusplus
41299 extern "C"
41301 #endif
41302 /* We use char because int might match the return type of a gcc2
41303 builtin and then its argument prototype would still apply. */
41304 char $ac_func ();
41305 /* The GNU C library defines this for functions which it implements
41306 to always fail with ENOSYS. Some functions are actually named
41307 something starting with __ and the normal name is an alias. */
41308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41309 choke me
41310 #else
41311 char (*f) () = $ac_func;
41312 #endif
41313 #ifdef __cplusplus
41315 #endif
41318 main ()
41320 return f != $ac_func;
41322 return 0;
41324 _ACEOF
41325 rm -f conftest.$ac_objext conftest$ac_exeext
41326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41327 (eval $ac_link) 2>conftest.er1
41328 ac_status=$?
41329 grep -v '^ *+' conftest.er1 >conftest.err
41330 rm -f conftest.er1
41331 cat conftest.err >&5
41332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41333 (exit $ac_status); } &&
41334 { ac_try='test -z "$ac_c_werror_flag"
41335 || test ! -s conftest.err'
41336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41337 (eval $ac_try) 2>&5
41338 ac_status=$?
41339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41340 (exit $ac_status); }; } &&
41341 { ac_try='test -s conftest$ac_exeext'
41342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41343 (eval $ac_try) 2>&5
41344 ac_status=$?
41345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41346 (exit $ac_status); }; }; then
41347 eval "$as_ac_var=yes"
41348 else
41349 echo "$as_me: failed program was:" >&5
41350 sed 's/^/| /' conftest.$ac_ext >&5
41352 eval "$as_ac_var=no"
41354 rm -f conftest.err conftest.$ac_objext \
41355 conftest$ac_exeext conftest.$ac_ext
41357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41359 if test `eval echo '${'$as_ac_var'}'` = yes; then
41360 cat >>confdefs.h <<_ACEOF
41361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41362 _ACEOF
41365 done
41372 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
41373 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
41374 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41375 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
41376 echo $ECHO_N "(cached) $ECHO_C" >&6
41377 else
41381 ac_ext=cc
41382 ac_cpp='$CXXCPP $CPPFLAGS'
41383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41387 cat >conftest.$ac_ext <<_ACEOF
41388 /* confdefs.h. */
41389 _ACEOF
41390 cat confdefs.h >>conftest.$ac_ext
41391 cat >>conftest.$ac_ext <<_ACEOF
41392 /* end confdefs.h. */
41393 #include <math.h>
41394 #ifdef HAVE_IEEEFP_H
41395 #include <ieeefp.h>
41396 #endif
41399 main ()
41401 sqrtf(0);
41403 return 0;
41405 _ACEOF
41406 rm -f conftest.$ac_objext
41407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41408 (eval $ac_compile) 2>conftest.er1
41409 ac_status=$?
41410 grep -v '^ *+' conftest.er1 >conftest.err
41411 rm -f conftest.er1
41412 cat conftest.err >&5
41413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41414 (exit $ac_status); } &&
41415 { ac_try='test -z "$ac_cxx_werror_flag"
41416 || test ! -s conftest.err'
41417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41418 (eval $ac_try) 2>&5
41419 ac_status=$?
41420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41421 (exit $ac_status); }; } &&
41422 { ac_try='test -s conftest.$ac_objext'
41423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41424 (eval $ac_try) 2>&5
41425 ac_status=$?
41426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41427 (exit $ac_status); }; }; then
41428 glibcxx_cv_func_sqrtf_use=yes
41429 else
41430 echo "$as_me: failed program was:" >&5
41431 sed 's/^/| /' conftest.$ac_ext >&5
41433 glibcxx_cv_func_sqrtf_use=no
41435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41436 ac_ext=c
41437 ac_cpp='$CPP $CPPFLAGS'
41438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41446 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
41447 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
41449 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41451 for ac_func in sqrtf
41453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41454 echo "$as_me:$LINENO: checking for $ac_func" >&5
41455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41456 if eval "test \"\${$as_ac_var+set}\" = set"; then
41457 echo $ECHO_N "(cached) $ECHO_C" >&6
41458 else
41459 if test x$gcc_no_link = xyes; then
41460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41462 { (exit 1); exit 1; }; }
41464 cat >conftest.$ac_ext <<_ACEOF
41465 /* confdefs.h. */
41466 _ACEOF
41467 cat confdefs.h >>conftest.$ac_ext
41468 cat >>conftest.$ac_ext <<_ACEOF
41469 /* end confdefs.h. */
41470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41472 #define $ac_func innocuous_$ac_func
41474 /* System header to define __stub macros and hopefully few prototypes,
41475 which can conflict with char $ac_func (); below.
41476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41477 <limits.h> exists even on freestanding compilers. */
41479 #ifdef __STDC__
41480 # include <limits.h>
41481 #else
41482 # include <assert.h>
41483 #endif
41485 #undef $ac_func
41487 /* Override any gcc2 internal prototype to avoid an error. */
41488 #ifdef __cplusplus
41489 extern "C"
41491 #endif
41492 /* We use char because int might match the return type of a gcc2
41493 builtin and then its argument prototype would still apply. */
41494 char $ac_func ();
41495 /* The GNU C library defines this for functions which it implements
41496 to always fail with ENOSYS. Some functions are actually named
41497 something starting with __ and the normal name is an alias. */
41498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41499 choke me
41500 #else
41501 char (*f) () = $ac_func;
41502 #endif
41503 #ifdef __cplusplus
41505 #endif
41508 main ()
41510 return f != $ac_func;
41512 return 0;
41514 _ACEOF
41515 rm -f conftest.$ac_objext conftest$ac_exeext
41516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41517 (eval $ac_link) 2>conftest.er1
41518 ac_status=$?
41519 grep -v '^ *+' conftest.er1 >conftest.err
41520 rm -f conftest.er1
41521 cat conftest.err >&5
41522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41523 (exit $ac_status); } &&
41524 { ac_try='test -z "$ac_c_werror_flag"
41525 || test ! -s conftest.err'
41526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41527 (eval $ac_try) 2>&5
41528 ac_status=$?
41529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41530 (exit $ac_status); }; } &&
41531 { ac_try='test -s conftest$ac_exeext'
41532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41533 (eval $ac_try) 2>&5
41534 ac_status=$?
41535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41536 (exit $ac_status); }; }; then
41537 eval "$as_ac_var=yes"
41538 else
41539 echo "$as_me: failed program was:" >&5
41540 sed 's/^/| /' conftest.$ac_ext >&5
41542 eval "$as_ac_var=no"
41544 rm -f conftest.err conftest.$ac_objext \
41545 conftest$ac_exeext conftest.$ac_ext
41547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41549 if test `eval echo '${'$as_ac_var'}'` = yes; then
41550 cat >>confdefs.h <<_ACEOF
41551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41552 _ACEOF
41555 done
41557 else
41559 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
41560 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
41561 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41562 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
41563 echo $ECHO_N "(cached) $ECHO_C" >&6
41564 else
41568 ac_ext=cc
41569 ac_cpp='$CXXCPP $CPPFLAGS'
41570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41574 cat >conftest.$ac_ext <<_ACEOF
41575 /* confdefs.h. */
41576 _ACEOF
41577 cat confdefs.h >>conftest.$ac_ext
41578 cat >>conftest.$ac_ext <<_ACEOF
41579 /* end confdefs.h. */
41580 #include <math.h>
41581 #ifdef HAVE_IEEEFP_H
41582 #include <ieeefp.h>
41583 #endif
41586 main ()
41588 _sqrtf(0);
41590 return 0;
41592 _ACEOF
41593 rm -f conftest.$ac_objext
41594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41595 (eval $ac_compile) 2>conftest.er1
41596 ac_status=$?
41597 grep -v '^ *+' conftest.er1 >conftest.err
41598 rm -f conftest.er1
41599 cat conftest.err >&5
41600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41601 (exit $ac_status); } &&
41602 { ac_try='test -z "$ac_cxx_werror_flag"
41603 || test ! -s conftest.err'
41604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41605 (eval $ac_try) 2>&5
41606 ac_status=$?
41607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41608 (exit $ac_status); }; } &&
41609 { ac_try='test -s conftest.$ac_objext'
41610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41611 (eval $ac_try) 2>&5
41612 ac_status=$?
41613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41614 (exit $ac_status); }; }; then
41615 glibcxx_cv_func__sqrtf_use=yes
41616 else
41617 echo "$as_me: failed program was:" >&5
41618 sed 's/^/| /' conftest.$ac_ext >&5
41620 glibcxx_cv_func__sqrtf_use=no
41622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41623 ac_ext=c
41624 ac_cpp='$CPP $CPPFLAGS'
41625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41633 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
41634 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
41636 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41638 for ac_func in _sqrtf
41640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41641 echo "$as_me:$LINENO: checking for $ac_func" >&5
41642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41643 if eval "test \"\${$as_ac_var+set}\" = set"; then
41644 echo $ECHO_N "(cached) $ECHO_C" >&6
41645 else
41646 if test x$gcc_no_link = xyes; then
41647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41649 { (exit 1); exit 1; }; }
41651 cat >conftest.$ac_ext <<_ACEOF
41652 /* confdefs.h. */
41653 _ACEOF
41654 cat confdefs.h >>conftest.$ac_ext
41655 cat >>conftest.$ac_ext <<_ACEOF
41656 /* end confdefs.h. */
41657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41659 #define $ac_func innocuous_$ac_func
41661 /* System header to define __stub macros and hopefully few prototypes,
41662 which can conflict with char $ac_func (); below.
41663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41664 <limits.h> exists even on freestanding compilers. */
41666 #ifdef __STDC__
41667 # include <limits.h>
41668 #else
41669 # include <assert.h>
41670 #endif
41672 #undef $ac_func
41674 /* Override any gcc2 internal prototype to avoid an error. */
41675 #ifdef __cplusplus
41676 extern "C"
41678 #endif
41679 /* We use char because int might match the return type of a gcc2
41680 builtin and then its argument prototype would still apply. */
41681 char $ac_func ();
41682 /* The GNU C library defines this for functions which it implements
41683 to always fail with ENOSYS. Some functions are actually named
41684 something starting with __ and the normal name is an alias. */
41685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41686 choke me
41687 #else
41688 char (*f) () = $ac_func;
41689 #endif
41690 #ifdef __cplusplus
41692 #endif
41695 main ()
41697 return f != $ac_func;
41699 return 0;
41701 _ACEOF
41702 rm -f conftest.$ac_objext conftest$ac_exeext
41703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41704 (eval $ac_link) 2>conftest.er1
41705 ac_status=$?
41706 grep -v '^ *+' conftest.er1 >conftest.err
41707 rm -f conftest.er1
41708 cat conftest.err >&5
41709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41710 (exit $ac_status); } &&
41711 { ac_try='test -z "$ac_c_werror_flag"
41712 || test ! -s conftest.err'
41713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41714 (eval $ac_try) 2>&5
41715 ac_status=$?
41716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41717 (exit $ac_status); }; } &&
41718 { ac_try='test -s conftest$ac_exeext'
41719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41720 (eval $ac_try) 2>&5
41721 ac_status=$?
41722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41723 (exit $ac_status); }; }; then
41724 eval "$as_ac_var=yes"
41725 else
41726 echo "$as_me: failed program was:" >&5
41727 sed 's/^/| /' conftest.$ac_ext >&5
41729 eval "$as_ac_var=no"
41731 rm -f conftest.err conftest.$ac_objext \
41732 conftest$ac_exeext conftest.$ac_ext
41734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41736 if test `eval echo '${'$as_ac_var'}'` = yes; then
41737 cat >>confdefs.h <<_ACEOF
41738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41739 _ACEOF
41742 done
41749 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
41750 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
41751 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41752 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
41753 echo $ECHO_N "(cached) $ECHO_C" >&6
41754 else
41758 ac_ext=cc
41759 ac_cpp='$CXXCPP $CPPFLAGS'
41760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41764 cat >conftest.$ac_ext <<_ACEOF
41765 /* confdefs.h. */
41766 _ACEOF
41767 cat confdefs.h >>conftest.$ac_ext
41768 cat >>conftest.$ac_ext <<_ACEOF
41769 /* end confdefs.h. */
41770 #include <math.h>
41772 main ()
41774 sincosf(0, 0, 0);
41776 return 0;
41778 _ACEOF
41779 rm -f conftest.$ac_objext
41780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41781 (eval $ac_compile) 2>conftest.er1
41782 ac_status=$?
41783 grep -v '^ *+' conftest.er1 >conftest.err
41784 rm -f conftest.er1
41785 cat conftest.err >&5
41786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41787 (exit $ac_status); } &&
41788 { ac_try='test -z "$ac_cxx_werror_flag"
41789 || test ! -s conftest.err'
41790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41791 (eval $ac_try) 2>&5
41792 ac_status=$?
41793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41794 (exit $ac_status); }; } &&
41795 { ac_try='test -s conftest.$ac_objext'
41796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41797 (eval $ac_try) 2>&5
41798 ac_status=$?
41799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41800 (exit $ac_status); }; }; then
41801 glibcxx_cv_func_sincosf_use=yes
41802 else
41803 echo "$as_me: failed program was:" >&5
41804 sed 's/^/| /' conftest.$ac_ext >&5
41806 glibcxx_cv_func_sincosf_use=no
41808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41809 ac_ext=c
41810 ac_cpp='$CPP $CPPFLAGS'
41811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41819 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
41820 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
41822 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41824 for ac_func in sincosf
41826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41827 echo "$as_me:$LINENO: checking for $ac_func" >&5
41828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41829 if eval "test \"\${$as_ac_var+set}\" = set"; then
41830 echo $ECHO_N "(cached) $ECHO_C" >&6
41831 else
41832 if test x$gcc_no_link = xyes; then
41833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41835 { (exit 1); exit 1; }; }
41837 cat >conftest.$ac_ext <<_ACEOF
41838 /* confdefs.h. */
41839 _ACEOF
41840 cat confdefs.h >>conftest.$ac_ext
41841 cat >>conftest.$ac_ext <<_ACEOF
41842 /* end confdefs.h. */
41843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41845 #define $ac_func innocuous_$ac_func
41847 /* System header to define __stub macros and hopefully few prototypes,
41848 which can conflict with char $ac_func (); below.
41849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41850 <limits.h> exists even on freestanding compilers. */
41852 #ifdef __STDC__
41853 # include <limits.h>
41854 #else
41855 # include <assert.h>
41856 #endif
41858 #undef $ac_func
41860 /* Override any gcc2 internal prototype to avoid an error. */
41861 #ifdef __cplusplus
41862 extern "C"
41864 #endif
41865 /* We use char because int might match the return type of a gcc2
41866 builtin and then its argument prototype would still apply. */
41867 char $ac_func ();
41868 /* The GNU C library defines this for functions which it implements
41869 to always fail with ENOSYS. Some functions are actually named
41870 something starting with __ and the normal name is an alias. */
41871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41872 choke me
41873 #else
41874 char (*f) () = $ac_func;
41875 #endif
41876 #ifdef __cplusplus
41878 #endif
41881 main ()
41883 return f != $ac_func;
41885 return 0;
41887 _ACEOF
41888 rm -f conftest.$ac_objext conftest$ac_exeext
41889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41890 (eval $ac_link) 2>conftest.er1
41891 ac_status=$?
41892 grep -v '^ *+' conftest.er1 >conftest.err
41893 rm -f conftest.er1
41894 cat conftest.err >&5
41895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41896 (exit $ac_status); } &&
41897 { ac_try='test -z "$ac_c_werror_flag"
41898 || test ! -s conftest.err'
41899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41900 (eval $ac_try) 2>&5
41901 ac_status=$?
41902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41903 (exit $ac_status); }; } &&
41904 { ac_try='test -s conftest$ac_exeext'
41905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41906 (eval $ac_try) 2>&5
41907 ac_status=$?
41908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41909 (exit $ac_status); }; }; then
41910 eval "$as_ac_var=yes"
41911 else
41912 echo "$as_me: failed program was:" >&5
41913 sed 's/^/| /' conftest.$ac_ext >&5
41915 eval "$as_ac_var=no"
41917 rm -f conftest.err conftest.$ac_objext \
41918 conftest$ac_exeext conftest.$ac_ext
41920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41922 if test `eval echo '${'$as_ac_var'}'` = yes; then
41923 cat >>confdefs.h <<_ACEOF
41924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41925 _ACEOF
41928 done
41930 else
41932 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
41933 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
41934 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41935 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
41936 echo $ECHO_N "(cached) $ECHO_C" >&6
41937 else
41941 ac_ext=cc
41942 ac_cpp='$CXXCPP $CPPFLAGS'
41943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41947 cat >conftest.$ac_ext <<_ACEOF
41948 /* confdefs.h. */
41949 _ACEOF
41950 cat confdefs.h >>conftest.$ac_ext
41951 cat >>conftest.$ac_ext <<_ACEOF
41952 /* end confdefs.h. */
41953 #include <math.h>
41955 main ()
41957 _sincosf(0, 0, 0);
41959 return 0;
41961 _ACEOF
41962 rm -f conftest.$ac_objext
41963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41964 (eval $ac_compile) 2>conftest.er1
41965 ac_status=$?
41966 grep -v '^ *+' conftest.er1 >conftest.err
41967 rm -f conftest.er1
41968 cat conftest.err >&5
41969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41970 (exit $ac_status); } &&
41971 { ac_try='test -z "$ac_cxx_werror_flag"
41972 || test ! -s conftest.err'
41973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41974 (eval $ac_try) 2>&5
41975 ac_status=$?
41976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41977 (exit $ac_status); }; } &&
41978 { ac_try='test -s conftest.$ac_objext'
41979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41980 (eval $ac_try) 2>&5
41981 ac_status=$?
41982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41983 (exit $ac_status); }; }; then
41984 glibcxx_cv_func__sincosf_use=yes
41985 else
41986 echo "$as_me: failed program was:" >&5
41987 sed 's/^/| /' conftest.$ac_ext >&5
41989 glibcxx_cv_func__sincosf_use=no
41991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41992 ac_ext=c
41993 ac_cpp='$CPP $CPPFLAGS'
41994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42002 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
42003 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
42005 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42007 for ac_func in _sincosf
42009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42010 echo "$as_me:$LINENO: checking for $ac_func" >&5
42011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42012 if eval "test \"\${$as_ac_var+set}\" = set"; then
42013 echo $ECHO_N "(cached) $ECHO_C" >&6
42014 else
42015 if test x$gcc_no_link = xyes; then
42016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42018 { (exit 1); exit 1; }; }
42020 cat >conftest.$ac_ext <<_ACEOF
42021 /* confdefs.h. */
42022 _ACEOF
42023 cat confdefs.h >>conftest.$ac_ext
42024 cat >>conftest.$ac_ext <<_ACEOF
42025 /* end confdefs.h. */
42026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42028 #define $ac_func innocuous_$ac_func
42030 /* System header to define __stub macros and hopefully few prototypes,
42031 which can conflict with char $ac_func (); below.
42032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42033 <limits.h> exists even on freestanding compilers. */
42035 #ifdef __STDC__
42036 # include <limits.h>
42037 #else
42038 # include <assert.h>
42039 #endif
42041 #undef $ac_func
42043 /* Override any gcc2 internal prototype to avoid an error. */
42044 #ifdef __cplusplus
42045 extern "C"
42047 #endif
42048 /* We use char because int might match the return type of a gcc2
42049 builtin and then its argument prototype would still apply. */
42050 char $ac_func ();
42051 /* The GNU C library defines this for functions which it implements
42052 to always fail with ENOSYS. Some functions are actually named
42053 something starting with __ and the normal name is an alias. */
42054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42055 choke me
42056 #else
42057 char (*f) () = $ac_func;
42058 #endif
42059 #ifdef __cplusplus
42061 #endif
42064 main ()
42066 return f != $ac_func;
42068 return 0;
42070 _ACEOF
42071 rm -f conftest.$ac_objext conftest$ac_exeext
42072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42073 (eval $ac_link) 2>conftest.er1
42074 ac_status=$?
42075 grep -v '^ *+' conftest.er1 >conftest.err
42076 rm -f conftest.er1
42077 cat conftest.err >&5
42078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42079 (exit $ac_status); } &&
42080 { ac_try='test -z "$ac_c_werror_flag"
42081 || test ! -s conftest.err'
42082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42083 (eval $ac_try) 2>&5
42084 ac_status=$?
42085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42086 (exit $ac_status); }; } &&
42087 { ac_try='test -s conftest$ac_exeext'
42088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42089 (eval $ac_try) 2>&5
42090 ac_status=$?
42091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42092 (exit $ac_status); }; }; then
42093 eval "$as_ac_var=yes"
42094 else
42095 echo "$as_me: failed program was:" >&5
42096 sed 's/^/| /' conftest.$ac_ext >&5
42098 eval "$as_ac_var=no"
42100 rm -f conftest.err conftest.$ac_objext \
42101 conftest$ac_exeext conftest.$ac_ext
42103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42105 if test `eval echo '${'$as_ac_var'}'` = yes; then
42106 cat >>confdefs.h <<_ACEOF
42107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42108 _ACEOF
42111 done
42118 echo "$as_me:$LINENO: checking for finitef declaration" >&5
42119 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
42120 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42121 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
42122 echo $ECHO_N "(cached) $ECHO_C" >&6
42123 else
42127 ac_ext=cc
42128 ac_cpp='$CXXCPP $CPPFLAGS'
42129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42133 cat >conftest.$ac_ext <<_ACEOF
42134 /* confdefs.h. */
42135 _ACEOF
42136 cat confdefs.h >>conftest.$ac_ext
42137 cat >>conftest.$ac_ext <<_ACEOF
42138 /* end confdefs.h. */
42139 #include <math.h>
42140 #ifdef HAVE_IEEEFP_H
42141 #include <ieeefp.h>
42142 #endif
42145 main ()
42147 finitef(0);
42149 return 0;
42151 _ACEOF
42152 rm -f conftest.$ac_objext
42153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42154 (eval $ac_compile) 2>conftest.er1
42155 ac_status=$?
42156 grep -v '^ *+' conftest.er1 >conftest.err
42157 rm -f conftest.er1
42158 cat conftest.err >&5
42159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42160 (exit $ac_status); } &&
42161 { ac_try='test -z "$ac_cxx_werror_flag"
42162 || test ! -s conftest.err'
42163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42164 (eval $ac_try) 2>&5
42165 ac_status=$?
42166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42167 (exit $ac_status); }; } &&
42168 { ac_try='test -s conftest.$ac_objext'
42169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42170 (eval $ac_try) 2>&5
42171 ac_status=$?
42172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42173 (exit $ac_status); }; }; then
42174 glibcxx_cv_func_finitef_use=yes
42175 else
42176 echo "$as_me: failed program was:" >&5
42177 sed 's/^/| /' conftest.$ac_ext >&5
42179 glibcxx_cv_func_finitef_use=no
42181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42182 ac_ext=c
42183 ac_cpp='$CPP $CPPFLAGS'
42184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42192 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
42193 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
42195 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42197 for ac_func in finitef
42199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42200 echo "$as_me:$LINENO: checking for $ac_func" >&5
42201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42202 if eval "test \"\${$as_ac_var+set}\" = set"; then
42203 echo $ECHO_N "(cached) $ECHO_C" >&6
42204 else
42205 if test x$gcc_no_link = xyes; then
42206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42208 { (exit 1); exit 1; }; }
42210 cat >conftest.$ac_ext <<_ACEOF
42211 /* confdefs.h. */
42212 _ACEOF
42213 cat confdefs.h >>conftest.$ac_ext
42214 cat >>conftest.$ac_ext <<_ACEOF
42215 /* end confdefs.h. */
42216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42218 #define $ac_func innocuous_$ac_func
42220 /* System header to define __stub macros and hopefully few prototypes,
42221 which can conflict with char $ac_func (); below.
42222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42223 <limits.h> exists even on freestanding compilers. */
42225 #ifdef __STDC__
42226 # include <limits.h>
42227 #else
42228 # include <assert.h>
42229 #endif
42231 #undef $ac_func
42233 /* Override any gcc2 internal prototype to avoid an error. */
42234 #ifdef __cplusplus
42235 extern "C"
42237 #endif
42238 /* We use char because int might match the return type of a gcc2
42239 builtin and then its argument prototype would still apply. */
42240 char $ac_func ();
42241 /* The GNU C library defines this for functions which it implements
42242 to always fail with ENOSYS. Some functions are actually named
42243 something starting with __ and the normal name is an alias. */
42244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42245 choke me
42246 #else
42247 char (*f) () = $ac_func;
42248 #endif
42249 #ifdef __cplusplus
42251 #endif
42254 main ()
42256 return f != $ac_func;
42258 return 0;
42260 _ACEOF
42261 rm -f conftest.$ac_objext conftest$ac_exeext
42262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42263 (eval $ac_link) 2>conftest.er1
42264 ac_status=$?
42265 grep -v '^ *+' conftest.er1 >conftest.err
42266 rm -f conftest.er1
42267 cat conftest.err >&5
42268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42269 (exit $ac_status); } &&
42270 { ac_try='test -z "$ac_c_werror_flag"
42271 || test ! -s conftest.err'
42272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42273 (eval $ac_try) 2>&5
42274 ac_status=$?
42275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42276 (exit $ac_status); }; } &&
42277 { ac_try='test -s conftest$ac_exeext'
42278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42279 (eval $ac_try) 2>&5
42280 ac_status=$?
42281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42282 (exit $ac_status); }; }; then
42283 eval "$as_ac_var=yes"
42284 else
42285 echo "$as_me: failed program was:" >&5
42286 sed 's/^/| /' conftest.$ac_ext >&5
42288 eval "$as_ac_var=no"
42290 rm -f conftest.err conftest.$ac_objext \
42291 conftest$ac_exeext conftest.$ac_ext
42293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42295 if test `eval echo '${'$as_ac_var'}'` = yes; then
42296 cat >>confdefs.h <<_ACEOF
42297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42298 _ACEOF
42301 done
42303 else
42305 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
42306 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
42307 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42308 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
42309 echo $ECHO_N "(cached) $ECHO_C" >&6
42310 else
42314 ac_ext=cc
42315 ac_cpp='$CXXCPP $CPPFLAGS'
42316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42320 cat >conftest.$ac_ext <<_ACEOF
42321 /* confdefs.h. */
42322 _ACEOF
42323 cat confdefs.h >>conftest.$ac_ext
42324 cat >>conftest.$ac_ext <<_ACEOF
42325 /* end confdefs.h. */
42326 #include <math.h>
42327 #ifdef HAVE_IEEEFP_H
42328 #include <ieeefp.h>
42329 #endif
42332 main ()
42334 _finitef(0);
42336 return 0;
42338 _ACEOF
42339 rm -f conftest.$ac_objext
42340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42341 (eval $ac_compile) 2>conftest.er1
42342 ac_status=$?
42343 grep -v '^ *+' conftest.er1 >conftest.err
42344 rm -f conftest.er1
42345 cat conftest.err >&5
42346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42347 (exit $ac_status); } &&
42348 { ac_try='test -z "$ac_cxx_werror_flag"
42349 || test ! -s conftest.err'
42350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42351 (eval $ac_try) 2>&5
42352 ac_status=$?
42353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42354 (exit $ac_status); }; } &&
42355 { ac_try='test -s conftest.$ac_objext'
42356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42357 (eval $ac_try) 2>&5
42358 ac_status=$?
42359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42360 (exit $ac_status); }; }; then
42361 glibcxx_cv_func__finitef_use=yes
42362 else
42363 echo "$as_me: failed program was:" >&5
42364 sed 's/^/| /' conftest.$ac_ext >&5
42366 glibcxx_cv_func__finitef_use=no
42368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42369 ac_ext=c
42370 ac_cpp='$CPP $CPPFLAGS'
42371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42379 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
42380 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
42382 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42384 for ac_func in _finitef
42386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42387 echo "$as_me:$LINENO: checking for $ac_func" >&5
42388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42389 if eval "test \"\${$as_ac_var+set}\" = set"; then
42390 echo $ECHO_N "(cached) $ECHO_C" >&6
42391 else
42392 if test x$gcc_no_link = xyes; then
42393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42395 { (exit 1); exit 1; }; }
42397 cat >conftest.$ac_ext <<_ACEOF
42398 /* confdefs.h. */
42399 _ACEOF
42400 cat confdefs.h >>conftest.$ac_ext
42401 cat >>conftest.$ac_ext <<_ACEOF
42402 /* end confdefs.h. */
42403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42405 #define $ac_func innocuous_$ac_func
42407 /* System header to define __stub macros and hopefully few prototypes,
42408 which can conflict with char $ac_func (); below.
42409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42410 <limits.h> exists even on freestanding compilers. */
42412 #ifdef __STDC__
42413 # include <limits.h>
42414 #else
42415 # include <assert.h>
42416 #endif
42418 #undef $ac_func
42420 /* Override any gcc2 internal prototype to avoid an error. */
42421 #ifdef __cplusplus
42422 extern "C"
42424 #endif
42425 /* We use char because int might match the return type of a gcc2
42426 builtin and then its argument prototype would still apply. */
42427 char $ac_func ();
42428 /* The GNU C library defines this for functions which it implements
42429 to always fail with ENOSYS. Some functions are actually named
42430 something starting with __ and the normal name is an alias. */
42431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42432 choke me
42433 #else
42434 char (*f) () = $ac_func;
42435 #endif
42436 #ifdef __cplusplus
42438 #endif
42441 main ()
42443 return f != $ac_func;
42445 return 0;
42447 _ACEOF
42448 rm -f conftest.$ac_objext conftest$ac_exeext
42449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42450 (eval $ac_link) 2>conftest.er1
42451 ac_status=$?
42452 grep -v '^ *+' conftest.er1 >conftest.err
42453 rm -f conftest.er1
42454 cat conftest.err >&5
42455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42456 (exit $ac_status); } &&
42457 { ac_try='test -z "$ac_c_werror_flag"
42458 || test ! -s conftest.err'
42459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42460 (eval $ac_try) 2>&5
42461 ac_status=$?
42462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42463 (exit $ac_status); }; } &&
42464 { ac_try='test -s conftest$ac_exeext'
42465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42466 (eval $ac_try) 2>&5
42467 ac_status=$?
42468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42469 (exit $ac_status); }; }; then
42470 eval "$as_ac_var=yes"
42471 else
42472 echo "$as_me: failed program was:" >&5
42473 sed 's/^/| /' conftest.$ac_ext >&5
42475 eval "$as_ac_var=no"
42477 rm -f conftest.err conftest.$ac_objext \
42478 conftest$ac_exeext conftest.$ac_ext
42480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42482 if test `eval echo '${'$as_ac_var'}'` = yes; then
42483 cat >>confdefs.h <<_ACEOF
42484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42485 _ACEOF
42488 done
42495 echo "$as_me:$LINENO: checking for long double trig functions" >&5
42496 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
42497 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
42498 echo $ECHO_N "(cached) $ECHO_C" >&6
42499 else
42503 ac_ext=cc
42504 ac_cpp='$CXXCPP $CPPFLAGS'
42505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42509 cat >conftest.$ac_ext <<_ACEOF
42510 /* confdefs.h. */
42511 _ACEOF
42512 cat confdefs.h >>conftest.$ac_ext
42513 cat >>conftest.$ac_ext <<_ACEOF
42514 /* end confdefs.h. */
42515 #include <math.h>
42517 main ()
42519 `for x in acosl asinl atanl \
42520 cosl sinl tanl \
42521 coshl sinhl tanhl; do echo "$x (0);"; done`
42523 return 0;
42525 _ACEOF
42526 rm -f conftest.$ac_objext
42527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42528 (eval $ac_compile) 2>conftest.er1
42529 ac_status=$?
42530 grep -v '^ *+' conftest.er1 >conftest.err
42531 rm -f conftest.er1
42532 cat conftest.err >&5
42533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42534 (exit $ac_status); } &&
42535 { ac_try='test -z "$ac_cxx_werror_flag"
42536 || test ! -s conftest.err'
42537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42538 (eval $ac_try) 2>&5
42539 ac_status=$?
42540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42541 (exit $ac_status); }; } &&
42542 { ac_try='test -s conftest.$ac_objext'
42543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42544 (eval $ac_try) 2>&5
42545 ac_status=$?
42546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42547 (exit $ac_status); }; }; then
42548 glibcxx_cv_func_long_double_trig_use=yes
42549 else
42550 echo "$as_me: failed program was:" >&5
42551 sed 's/^/| /' conftest.$ac_ext >&5
42553 glibcxx_cv_func_long_double_trig_use=no
42555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42556 ac_ext=c
42557 ac_cpp='$CPP $CPPFLAGS'
42558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42564 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
42565 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
42566 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42576 for ac_func in acosl asinl atanl \
42577 cosl sinl tanl \
42578 coshl sinhl tanhl
42580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42581 echo "$as_me:$LINENO: checking for $ac_func" >&5
42582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42583 if eval "test \"\${$as_ac_var+set}\" = set"; then
42584 echo $ECHO_N "(cached) $ECHO_C" >&6
42585 else
42586 if test x$gcc_no_link = xyes; then
42587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42589 { (exit 1); exit 1; }; }
42591 cat >conftest.$ac_ext <<_ACEOF
42592 /* confdefs.h. */
42593 _ACEOF
42594 cat confdefs.h >>conftest.$ac_ext
42595 cat >>conftest.$ac_ext <<_ACEOF
42596 /* end confdefs.h. */
42597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42599 #define $ac_func innocuous_$ac_func
42601 /* System header to define __stub macros and hopefully few prototypes,
42602 which can conflict with char $ac_func (); below.
42603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42604 <limits.h> exists even on freestanding compilers. */
42606 #ifdef __STDC__
42607 # include <limits.h>
42608 #else
42609 # include <assert.h>
42610 #endif
42612 #undef $ac_func
42614 /* Override any gcc2 internal prototype to avoid an error. */
42615 #ifdef __cplusplus
42616 extern "C"
42618 #endif
42619 /* We use char because int might match the return type of a gcc2
42620 builtin and then its argument prototype would still apply. */
42621 char $ac_func ();
42622 /* The GNU C library defines this for functions which it implements
42623 to always fail with ENOSYS. Some functions are actually named
42624 something starting with __ and the normal name is an alias. */
42625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42626 choke me
42627 #else
42628 char (*f) () = $ac_func;
42629 #endif
42630 #ifdef __cplusplus
42632 #endif
42635 main ()
42637 return f != $ac_func;
42639 return 0;
42641 _ACEOF
42642 rm -f conftest.$ac_objext conftest$ac_exeext
42643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42644 (eval $ac_link) 2>conftest.er1
42645 ac_status=$?
42646 grep -v '^ *+' conftest.er1 >conftest.err
42647 rm -f conftest.er1
42648 cat conftest.err >&5
42649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42650 (exit $ac_status); } &&
42651 { ac_try='test -z "$ac_c_werror_flag"
42652 || test ! -s conftest.err'
42653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42654 (eval $ac_try) 2>&5
42655 ac_status=$?
42656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42657 (exit $ac_status); }; } &&
42658 { ac_try='test -s conftest$ac_exeext'
42659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42660 (eval $ac_try) 2>&5
42661 ac_status=$?
42662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42663 (exit $ac_status); }; }; then
42664 eval "$as_ac_var=yes"
42665 else
42666 echo "$as_me: failed program was:" >&5
42667 sed 's/^/| /' conftest.$ac_ext >&5
42669 eval "$as_ac_var=no"
42671 rm -f conftest.err conftest.$ac_objext \
42672 conftest$ac_exeext conftest.$ac_ext
42674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42676 if test `eval echo '${'$as_ac_var'}'` = yes; then
42677 cat >>confdefs.h <<_ACEOF
42678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42679 _ACEOF
42682 done
42687 echo "$as_me:$LINENO: checking for long double round functions" >&5
42688 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
42689 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
42690 echo $ECHO_N "(cached) $ECHO_C" >&6
42691 else
42695 ac_ext=cc
42696 ac_cpp='$CXXCPP $CPPFLAGS'
42697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42701 cat >conftest.$ac_ext <<_ACEOF
42702 /* confdefs.h. */
42703 _ACEOF
42704 cat confdefs.h >>conftest.$ac_ext
42705 cat >>conftest.$ac_ext <<_ACEOF
42706 /* end confdefs.h. */
42707 #include <math.h>
42709 main ()
42711 `for x in ceill floorl; do echo "$x (0);"; done`
42713 return 0;
42715 _ACEOF
42716 rm -f conftest.$ac_objext
42717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42718 (eval $ac_compile) 2>conftest.er1
42719 ac_status=$?
42720 grep -v '^ *+' conftest.er1 >conftest.err
42721 rm -f conftest.er1
42722 cat conftest.err >&5
42723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42724 (exit $ac_status); } &&
42725 { ac_try='test -z "$ac_cxx_werror_flag"
42726 || test ! -s conftest.err'
42727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42728 (eval $ac_try) 2>&5
42729 ac_status=$?
42730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42731 (exit $ac_status); }; } &&
42732 { ac_try='test -s conftest.$ac_objext'
42733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42734 (eval $ac_try) 2>&5
42735 ac_status=$?
42736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42737 (exit $ac_status); }; }; then
42738 glibcxx_cv_func_long_double_round_use=yes
42739 else
42740 echo "$as_me: failed program was:" >&5
42741 sed 's/^/| /' conftest.$ac_ext >&5
42743 glibcxx_cv_func_long_double_round_use=no
42745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42746 ac_ext=c
42747 ac_cpp='$CPP $CPPFLAGS'
42748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42754 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
42755 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
42756 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42759 for ac_func in ceill floorl
42761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42762 echo "$as_me:$LINENO: checking for $ac_func" >&5
42763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42764 if eval "test \"\${$as_ac_var+set}\" = set"; then
42765 echo $ECHO_N "(cached) $ECHO_C" >&6
42766 else
42767 if test x$gcc_no_link = xyes; then
42768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42770 { (exit 1); exit 1; }; }
42772 cat >conftest.$ac_ext <<_ACEOF
42773 /* confdefs.h. */
42774 _ACEOF
42775 cat confdefs.h >>conftest.$ac_ext
42776 cat >>conftest.$ac_ext <<_ACEOF
42777 /* end confdefs.h. */
42778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42780 #define $ac_func innocuous_$ac_func
42782 /* System header to define __stub macros and hopefully few prototypes,
42783 which can conflict with char $ac_func (); below.
42784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42785 <limits.h> exists even on freestanding compilers. */
42787 #ifdef __STDC__
42788 # include <limits.h>
42789 #else
42790 # include <assert.h>
42791 #endif
42793 #undef $ac_func
42795 /* Override any gcc2 internal prototype to avoid an error. */
42796 #ifdef __cplusplus
42797 extern "C"
42799 #endif
42800 /* We use char because int might match the return type of a gcc2
42801 builtin and then its argument prototype would still apply. */
42802 char $ac_func ();
42803 /* The GNU C library defines this for functions which it implements
42804 to always fail with ENOSYS. Some functions are actually named
42805 something starting with __ and the normal name is an alias. */
42806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42807 choke me
42808 #else
42809 char (*f) () = $ac_func;
42810 #endif
42811 #ifdef __cplusplus
42813 #endif
42816 main ()
42818 return f != $ac_func;
42820 return 0;
42822 _ACEOF
42823 rm -f conftest.$ac_objext conftest$ac_exeext
42824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42825 (eval $ac_link) 2>conftest.er1
42826 ac_status=$?
42827 grep -v '^ *+' conftest.er1 >conftest.err
42828 rm -f conftest.er1
42829 cat conftest.err >&5
42830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42831 (exit $ac_status); } &&
42832 { ac_try='test -z "$ac_c_werror_flag"
42833 || test ! -s conftest.err'
42834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42835 (eval $ac_try) 2>&5
42836 ac_status=$?
42837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42838 (exit $ac_status); }; } &&
42839 { ac_try='test -s conftest$ac_exeext'
42840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42841 (eval $ac_try) 2>&5
42842 ac_status=$?
42843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42844 (exit $ac_status); }; }; then
42845 eval "$as_ac_var=yes"
42846 else
42847 echo "$as_me: failed program was:" >&5
42848 sed 's/^/| /' conftest.$ac_ext >&5
42850 eval "$as_ac_var=no"
42852 rm -f conftest.err conftest.$ac_objext \
42853 conftest$ac_exeext conftest.$ac_ext
42855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42857 if test `eval echo '${'$as_ac_var'}'` = yes; then
42858 cat >>confdefs.h <<_ACEOF
42859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42860 _ACEOF
42863 done
42869 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
42870 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
42871 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42872 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
42873 echo $ECHO_N "(cached) $ECHO_C" >&6
42874 else
42878 ac_ext=cc
42879 ac_cpp='$CXXCPP $CPPFLAGS'
42880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42884 cat >conftest.$ac_ext <<_ACEOF
42885 /* confdefs.h. */
42886 _ACEOF
42887 cat confdefs.h >>conftest.$ac_ext
42888 cat >>conftest.$ac_ext <<_ACEOF
42889 /* end confdefs.h. */
42890 #include <math.h>
42891 #ifdef HAVE_IEEEFP_H
42892 #include <ieeefp.h>
42893 #endif
42896 main ()
42898 isnanl(0);
42900 return 0;
42902 _ACEOF
42903 rm -f conftest.$ac_objext
42904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42905 (eval $ac_compile) 2>conftest.er1
42906 ac_status=$?
42907 grep -v '^ *+' conftest.er1 >conftest.err
42908 rm -f conftest.er1
42909 cat conftest.err >&5
42910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42911 (exit $ac_status); } &&
42912 { ac_try='test -z "$ac_cxx_werror_flag"
42913 || test ! -s conftest.err'
42914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42915 (eval $ac_try) 2>&5
42916 ac_status=$?
42917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42918 (exit $ac_status); }; } &&
42919 { ac_try='test -s conftest.$ac_objext'
42920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42921 (eval $ac_try) 2>&5
42922 ac_status=$?
42923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42924 (exit $ac_status); }; }; then
42925 glibcxx_cv_func_isnanl_use=yes
42926 else
42927 echo "$as_me: failed program was:" >&5
42928 sed 's/^/| /' conftest.$ac_ext >&5
42930 glibcxx_cv_func_isnanl_use=no
42932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42933 ac_ext=c
42934 ac_cpp='$CPP $CPPFLAGS'
42935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42943 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
42944 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
42946 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42948 for ac_func in isnanl
42950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42951 echo "$as_me:$LINENO: checking for $ac_func" >&5
42952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42953 if eval "test \"\${$as_ac_var+set}\" = set"; then
42954 echo $ECHO_N "(cached) $ECHO_C" >&6
42955 else
42956 if test x$gcc_no_link = xyes; then
42957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42959 { (exit 1); exit 1; }; }
42961 cat >conftest.$ac_ext <<_ACEOF
42962 /* confdefs.h. */
42963 _ACEOF
42964 cat confdefs.h >>conftest.$ac_ext
42965 cat >>conftest.$ac_ext <<_ACEOF
42966 /* end confdefs.h. */
42967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42969 #define $ac_func innocuous_$ac_func
42971 /* System header to define __stub macros and hopefully few prototypes,
42972 which can conflict with char $ac_func (); below.
42973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42974 <limits.h> exists even on freestanding compilers. */
42976 #ifdef __STDC__
42977 # include <limits.h>
42978 #else
42979 # include <assert.h>
42980 #endif
42982 #undef $ac_func
42984 /* Override any gcc2 internal prototype to avoid an error. */
42985 #ifdef __cplusplus
42986 extern "C"
42988 #endif
42989 /* We use char because int might match the return type of a gcc2
42990 builtin and then its argument prototype would still apply. */
42991 char $ac_func ();
42992 /* The GNU C library defines this for functions which it implements
42993 to always fail with ENOSYS. Some functions are actually named
42994 something starting with __ and the normal name is an alias. */
42995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42996 choke me
42997 #else
42998 char (*f) () = $ac_func;
42999 #endif
43000 #ifdef __cplusplus
43002 #endif
43005 main ()
43007 return f != $ac_func;
43009 return 0;
43011 _ACEOF
43012 rm -f conftest.$ac_objext conftest$ac_exeext
43013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43014 (eval $ac_link) 2>conftest.er1
43015 ac_status=$?
43016 grep -v '^ *+' conftest.er1 >conftest.err
43017 rm -f conftest.er1
43018 cat conftest.err >&5
43019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43020 (exit $ac_status); } &&
43021 { ac_try='test -z "$ac_c_werror_flag"
43022 || test ! -s conftest.err'
43023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43024 (eval $ac_try) 2>&5
43025 ac_status=$?
43026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43027 (exit $ac_status); }; } &&
43028 { ac_try='test -s conftest$ac_exeext'
43029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43030 (eval $ac_try) 2>&5
43031 ac_status=$?
43032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43033 (exit $ac_status); }; }; then
43034 eval "$as_ac_var=yes"
43035 else
43036 echo "$as_me: failed program was:" >&5
43037 sed 's/^/| /' conftest.$ac_ext >&5
43039 eval "$as_ac_var=no"
43041 rm -f conftest.err conftest.$ac_objext \
43042 conftest$ac_exeext conftest.$ac_ext
43044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43046 if test `eval echo '${'$as_ac_var'}'` = yes; then
43047 cat >>confdefs.h <<_ACEOF
43048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43049 _ACEOF
43052 done
43054 else
43056 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
43057 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
43058 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43059 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
43060 echo $ECHO_N "(cached) $ECHO_C" >&6
43061 else
43065 ac_ext=cc
43066 ac_cpp='$CXXCPP $CPPFLAGS'
43067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43071 cat >conftest.$ac_ext <<_ACEOF
43072 /* confdefs.h. */
43073 _ACEOF
43074 cat confdefs.h >>conftest.$ac_ext
43075 cat >>conftest.$ac_ext <<_ACEOF
43076 /* end confdefs.h. */
43077 #include <math.h>
43078 #ifdef HAVE_IEEEFP_H
43079 #include <ieeefp.h>
43080 #endif
43083 main ()
43085 _isnanl(0);
43087 return 0;
43089 _ACEOF
43090 rm -f conftest.$ac_objext
43091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43092 (eval $ac_compile) 2>conftest.er1
43093 ac_status=$?
43094 grep -v '^ *+' conftest.er1 >conftest.err
43095 rm -f conftest.er1
43096 cat conftest.err >&5
43097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43098 (exit $ac_status); } &&
43099 { ac_try='test -z "$ac_cxx_werror_flag"
43100 || test ! -s conftest.err'
43101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43102 (eval $ac_try) 2>&5
43103 ac_status=$?
43104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43105 (exit $ac_status); }; } &&
43106 { ac_try='test -s conftest.$ac_objext'
43107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43108 (eval $ac_try) 2>&5
43109 ac_status=$?
43110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43111 (exit $ac_status); }; }; then
43112 glibcxx_cv_func__isnanl_use=yes
43113 else
43114 echo "$as_me: failed program was:" >&5
43115 sed 's/^/| /' conftest.$ac_ext >&5
43117 glibcxx_cv_func__isnanl_use=no
43119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43120 ac_ext=c
43121 ac_cpp='$CPP $CPPFLAGS'
43122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43130 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
43131 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
43133 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43135 for ac_func in _isnanl
43137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43138 echo "$as_me:$LINENO: checking for $ac_func" >&5
43139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43140 if eval "test \"\${$as_ac_var+set}\" = set"; then
43141 echo $ECHO_N "(cached) $ECHO_C" >&6
43142 else
43143 if test x$gcc_no_link = xyes; then
43144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43146 { (exit 1); exit 1; }; }
43148 cat >conftest.$ac_ext <<_ACEOF
43149 /* confdefs.h. */
43150 _ACEOF
43151 cat confdefs.h >>conftest.$ac_ext
43152 cat >>conftest.$ac_ext <<_ACEOF
43153 /* end confdefs.h. */
43154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43156 #define $ac_func innocuous_$ac_func
43158 /* System header to define __stub macros and hopefully few prototypes,
43159 which can conflict with char $ac_func (); below.
43160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43161 <limits.h> exists even on freestanding compilers. */
43163 #ifdef __STDC__
43164 # include <limits.h>
43165 #else
43166 # include <assert.h>
43167 #endif
43169 #undef $ac_func
43171 /* Override any gcc2 internal prototype to avoid an error. */
43172 #ifdef __cplusplus
43173 extern "C"
43175 #endif
43176 /* We use char because int might match the return type of a gcc2
43177 builtin and then its argument prototype would still apply. */
43178 char $ac_func ();
43179 /* The GNU C library defines this for functions which it implements
43180 to always fail with ENOSYS. Some functions are actually named
43181 something starting with __ and the normal name is an alias. */
43182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43183 choke me
43184 #else
43185 char (*f) () = $ac_func;
43186 #endif
43187 #ifdef __cplusplus
43189 #endif
43192 main ()
43194 return f != $ac_func;
43196 return 0;
43198 _ACEOF
43199 rm -f conftest.$ac_objext conftest$ac_exeext
43200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43201 (eval $ac_link) 2>conftest.er1
43202 ac_status=$?
43203 grep -v '^ *+' conftest.er1 >conftest.err
43204 rm -f conftest.er1
43205 cat conftest.err >&5
43206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43207 (exit $ac_status); } &&
43208 { ac_try='test -z "$ac_c_werror_flag"
43209 || test ! -s conftest.err'
43210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43211 (eval $ac_try) 2>&5
43212 ac_status=$?
43213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43214 (exit $ac_status); }; } &&
43215 { ac_try='test -s conftest$ac_exeext'
43216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43217 (eval $ac_try) 2>&5
43218 ac_status=$?
43219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43220 (exit $ac_status); }; }; then
43221 eval "$as_ac_var=yes"
43222 else
43223 echo "$as_me: failed program was:" >&5
43224 sed 's/^/| /' conftest.$ac_ext >&5
43226 eval "$as_ac_var=no"
43228 rm -f conftest.err conftest.$ac_objext \
43229 conftest$ac_exeext conftest.$ac_ext
43231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43233 if test `eval echo '${'$as_ac_var'}'` = yes; then
43234 cat >>confdefs.h <<_ACEOF
43235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43236 _ACEOF
43239 done
43246 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
43247 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
43248 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43249 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
43250 echo $ECHO_N "(cached) $ECHO_C" >&6
43251 else
43255 ac_ext=cc
43256 ac_cpp='$CXXCPP $CPPFLAGS'
43257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43261 cat >conftest.$ac_ext <<_ACEOF
43262 /* confdefs.h. */
43263 _ACEOF
43264 cat confdefs.h >>conftest.$ac_ext
43265 cat >>conftest.$ac_ext <<_ACEOF
43266 /* end confdefs.h. */
43267 #include <math.h>
43268 #ifdef HAVE_IEEEFP_H
43269 #include <ieeefp.h>
43270 #endif
43273 main ()
43275 isinfl(0);
43277 return 0;
43279 _ACEOF
43280 rm -f conftest.$ac_objext
43281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43282 (eval $ac_compile) 2>conftest.er1
43283 ac_status=$?
43284 grep -v '^ *+' conftest.er1 >conftest.err
43285 rm -f conftest.er1
43286 cat conftest.err >&5
43287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43288 (exit $ac_status); } &&
43289 { ac_try='test -z "$ac_cxx_werror_flag"
43290 || test ! -s conftest.err'
43291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43292 (eval $ac_try) 2>&5
43293 ac_status=$?
43294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43295 (exit $ac_status); }; } &&
43296 { ac_try='test -s conftest.$ac_objext'
43297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43298 (eval $ac_try) 2>&5
43299 ac_status=$?
43300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43301 (exit $ac_status); }; }; then
43302 glibcxx_cv_func_isinfl_use=yes
43303 else
43304 echo "$as_me: failed program was:" >&5
43305 sed 's/^/| /' conftest.$ac_ext >&5
43307 glibcxx_cv_func_isinfl_use=no
43309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43310 ac_ext=c
43311 ac_cpp='$CPP $CPPFLAGS'
43312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43320 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
43321 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
43323 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43325 for ac_func in isinfl
43327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43328 echo "$as_me:$LINENO: checking for $ac_func" >&5
43329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43330 if eval "test \"\${$as_ac_var+set}\" = set"; then
43331 echo $ECHO_N "(cached) $ECHO_C" >&6
43332 else
43333 if test x$gcc_no_link = xyes; then
43334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43336 { (exit 1); exit 1; }; }
43338 cat >conftest.$ac_ext <<_ACEOF
43339 /* confdefs.h. */
43340 _ACEOF
43341 cat confdefs.h >>conftest.$ac_ext
43342 cat >>conftest.$ac_ext <<_ACEOF
43343 /* end confdefs.h. */
43344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43346 #define $ac_func innocuous_$ac_func
43348 /* System header to define __stub macros and hopefully few prototypes,
43349 which can conflict with char $ac_func (); below.
43350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43351 <limits.h> exists even on freestanding compilers. */
43353 #ifdef __STDC__
43354 # include <limits.h>
43355 #else
43356 # include <assert.h>
43357 #endif
43359 #undef $ac_func
43361 /* Override any gcc2 internal prototype to avoid an error. */
43362 #ifdef __cplusplus
43363 extern "C"
43365 #endif
43366 /* We use char because int might match the return type of a gcc2
43367 builtin and then its argument prototype would still apply. */
43368 char $ac_func ();
43369 /* The GNU C library defines this for functions which it implements
43370 to always fail with ENOSYS. Some functions are actually named
43371 something starting with __ and the normal name is an alias. */
43372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43373 choke me
43374 #else
43375 char (*f) () = $ac_func;
43376 #endif
43377 #ifdef __cplusplus
43379 #endif
43382 main ()
43384 return f != $ac_func;
43386 return 0;
43388 _ACEOF
43389 rm -f conftest.$ac_objext conftest$ac_exeext
43390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43391 (eval $ac_link) 2>conftest.er1
43392 ac_status=$?
43393 grep -v '^ *+' conftest.er1 >conftest.err
43394 rm -f conftest.er1
43395 cat conftest.err >&5
43396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43397 (exit $ac_status); } &&
43398 { ac_try='test -z "$ac_c_werror_flag"
43399 || test ! -s conftest.err'
43400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43401 (eval $ac_try) 2>&5
43402 ac_status=$?
43403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43404 (exit $ac_status); }; } &&
43405 { ac_try='test -s conftest$ac_exeext'
43406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43407 (eval $ac_try) 2>&5
43408 ac_status=$?
43409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43410 (exit $ac_status); }; }; then
43411 eval "$as_ac_var=yes"
43412 else
43413 echo "$as_me: failed program was:" >&5
43414 sed 's/^/| /' conftest.$ac_ext >&5
43416 eval "$as_ac_var=no"
43418 rm -f conftest.err conftest.$ac_objext \
43419 conftest$ac_exeext conftest.$ac_ext
43421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43423 if test `eval echo '${'$as_ac_var'}'` = yes; then
43424 cat >>confdefs.h <<_ACEOF
43425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43426 _ACEOF
43429 done
43431 else
43433 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
43434 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
43435 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43436 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
43437 echo $ECHO_N "(cached) $ECHO_C" >&6
43438 else
43442 ac_ext=cc
43443 ac_cpp='$CXXCPP $CPPFLAGS'
43444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43448 cat >conftest.$ac_ext <<_ACEOF
43449 /* confdefs.h. */
43450 _ACEOF
43451 cat confdefs.h >>conftest.$ac_ext
43452 cat >>conftest.$ac_ext <<_ACEOF
43453 /* end confdefs.h. */
43454 #include <math.h>
43455 #ifdef HAVE_IEEEFP_H
43456 #include <ieeefp.h>
43457 #endif
43460 main ()
43462 _isinfl(0);
43464 return 0;
43466 _ACEOF
43467 rm -f conftest.$ac_objext
43468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43469 (eval $ac_compile) 2>conftest.er1
43470 ac_status=$?
43471 grep -v '^ *+' conftest.er1 >conftest.err
43472 rm -f conftest.er1
43473 cat conftest.err >&5
43474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43475 (exit $ac_status); } &&
43476 { ac_try='test -z "$ac_cxx_werror_flag"
43477 || test ! -s conftest.err'
43478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43479 (eval $ac_try) 2>&5
43480 ac_status=$?
43481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43482 (exit $ac_status); }; } &&
43483 { ac_try='test -s conftest.$ac_objext'
43484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43485 (eval $ac_try) 2>&5
43486 ac_status=$?
43487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43488 (exit $ac_status); }; }; then
43489 glibcxx_cv_func__isinfl_use=yes
43490 else
43491 echo "$as_me: failed program was:" >&5
43492 sed 's/^/| /' conftest.$ac_ext >&5
43494 glibcxx_cv_func__isinfl_use=no
43496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43497 ac_ext=c
43498 ac_cpp='$CPP $CPPFLAGS'
43499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43507 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
43508 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
43510 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43512 for ac_func in _isinfl
43514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43515 echo "$as_me:$LINENO: checking for $ac_func" >&5
43516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43517 if eval "test \"\${$as_ac_var+set}\" = set"; then
43518 echo $ECHO_N "(cached) $ECHO_C" >&6
43519 else
43520 if test x$gcc_no_link = xyes; then
43521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43523 { (exit 1); exit 1; }; }
43525 cat >conftest.$ac_ext <<_ACEOF
43526 /* confdefs.h. */
43527 _ACEOF
43528 cat confdefs.h >>conftest.$ac_ext
43529 cat >>conftest.$ac_ext <<_ACEOF
43530 /* end confdefs.h. */
43531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43533 #define $ac_func innocuous_$ac_func
43535 /* System header to define __stub macros and hopefully few prototypes,
43536 which can conflict with char $ac_func (); below.
43537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43538 <limits.h> exists even on freestanding compilers. */
43540 #ifdef __STDC__
43541 # include <limits.h>
43542 #else
43543 # include <assert.h>
43544 #endif
43546 #undef $ac_func
43548 /* Override any gcc2 internal prototype to avoid an error. */
43549 #ifdef __cplusplus
43550 extern "C"
43552 #endif
43553 /* We use char because int might match the return type of a gcc2
43554 builtin and then its argument prototype would still apply. */
43555 char $ac_func ();
43556 /* The GNU C library defines this for functions which it implements
43557 to always fail with ENOSYS. Some functions are actually named
43558 something starting with __ and the normal name is an alias. */
43559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43560 choke me
43561 #else
43562 char (*f) () = $ac_func;
43563 #endif
43564 #ifdef __cplusplus
43566 #endif
43569 main ()
43571 return f != $ac_func;
43573 return 0;
43575 _ACEOF
43576 rm -f conftest.$ac_objext conftest$ac_exeext
43577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43578 (eval $ac_link) 2>conftest.er1
43579 ac_status=$?
43580 grep -v '^ *+' conftest.er1 >conftest.err
43581 rm -f conftest.er1
43582 cat conftest.err >&5
43583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43584 (exit $ac_status); } &&
43585 { ac_try='test -z "$ac_c_werror_flag"
43586 || test ! -s conftest.err'
43587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43588 (eval $ac_try) 2>&5
43589 ac_status=$?
43590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43591 (exit $ac_status); }; } &&
43592 { ac_try='test -s conftest$ac_exeext'
43593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43594 (eval $ac_try) 2>&5
43595 ac_status=$?
43596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43597 (exit $ac_status); }; }; then
43598 eval "$as_ac_var=yes"
43599 else
43600 echo "$as_me: failed program was:" >&5
43601 sed 's/^/| /' conftest.$ac_ext >&5
43603 eval "$as_ac_var=no"
43605 rm -f conftest.err conftest.$ac_objext \
43606 conftest$ac_exeext conftest.$ac_ext
43608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43610 if test `eval echo '${'$as_ac_var'}'` = yes; then
43611 cat >>confdefs.h <<_ACEOF
43612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43613 _ACEOF
43616 done
43623 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
43624 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
43625 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
43626 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
43627 echo $ECHO_N "(cached) $ECHO_C" >&6
43628 else
43632 ac_ext=cc
43633 ac_cpp='$CXXCPP $CPPFLAGS'
43634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43638 cat >conftest.$ac_ext <<_ACEOF
43639 /* confdefs.h. */
43640 _ACEOF
43641 cat confdefs.h >>conftest.$ac_ext
43642 cat >>conftest.$ac_ext <<_ACEOF
43643 /* end confdefs.h. */
43644 #include <math.h>
43646 main ()
43648 copysignl(0, 0);
43650 return 0;
43652 _ACEOF
43653 rm -f conftest.$ac_objext
43654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43655 (eval $ac_compile) 2>conftest.er1
43656 ac_status=$?
43657 grep -v '^ *+' conftest.er1 >conftest.err
43658 rm -f conftest.er1
43659 cat conftest.err >&5
43660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43661 (exit $ac_status); } &&
43662 { ac_try='test -z "$ac_cxx_werror_flag"
43663 || test ! -s conftest.err'
43664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43665 (eval $ac_try) 2>&5
43666 ac_status=$?
43667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43668 (exit $ac_status); }; } &&
43669 { ac_try='test -s conftest.$ac_objext'
43670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43671 (eval $ac_try) 2>&5
43672 ac_status=$?
43673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43674 (exit $ac_status); }; }; then
43675 glibcxx_cv_func_copysignl_use=yes
43676 else
43677 echo "$as_me: failed program was:" >&5
43678 sed 's/^/| /' conftest.$ac_ext >&5
43680 glibcxx_cv_func_copysignl_use=no
43682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43683 ac_ext=c
43684 ac_cpp='$CPP $CPPFLAGS'
43685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43693 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
43694 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
43696 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
43698 for ac_func in copysignl
43700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43701 echo "$as_me:$LINENO: checking for $ac_func" >&5
43702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43703 if eval "test \"\${$as_ac_var+set}\" = set"; then
43704 echo $ECHO_N "(cached) $ECHO_C" >&6
43705 else
43706 if test x$gcc_no_link = xyes; then
43707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43709 { (exit 1); exit 1; }; }
43711 cat >conftest.$ac_ext <<_ACEOF
43712 /* confdefs.h. */
43713 _ACEOF
43714 cat confdefs.h >>conftest.$ac_ext
43715 cat >>conftest.$ac_ext <<_ACEOF
43716 /* end confdefs.h. */
43717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43719 #define $ac_func innocuous_$ac_func
43721 /* System header to define __stub macros and hopefully few prototypes,
43722 which can conflict with char $ac_func (); below.
43723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43724 <limits.h> exists even on freestanding compilers. */
43726 #ifdef __STDC__
43727 # include <limits.h>
43728 #else
43729 # include <assert.h>
43730 #endif
43732 #undef $ac_func
43734 /* Override any gcc2 internal prototype to avoid an error. */
43735 #ifdef __cplusplus
43736 extern "C"
43738 #endif
43739 /* We use char because int might match the return type of a gcc2
43740 builtin and then its argument prototype would still apply. */
43741 char $ac_func ();
43742 /* The GNU C library defines this for functions which it implements
43743 to always fail with ENOSYS. Some functions are actually named
43744 something starting with __ and the normal name is an alias. */
43745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43746 choke me
43747 #else
43748 char (*f) () = $ac_func;
43749 #endif
43750 #ifdef __cplusplus
43752 #endif
43755 main ()
43757 return f != $ac_func;
43759 return 0;
43761 _ACEOF
43762 rm -f conftest.$ac_objext conftest$ac_exeext
43763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43764 (eval $ac_link) 2>conftest.er1
43765 ac_status=$?
43766 grep -v '^ *+' conftest.er1 >conftest.err
43767 rm -f conftest.er1
43768 cat conftest.err >&5
43769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43770 (exit $ac_status); } &&
43771 { ac_try='test -z "$ac_c_werror_flag"
43772 || test ! -s conftest.err'
43773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43774 (eval $ac_try) 2>&5
43775 ac_status=$?
43776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43777 (exit $ac_status); }; } &&
43778 { ac_try='test -s conftest$ac_exeext'
43779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43780 (eval $ac_try) 2>&5
43781 ac_status=$?
43782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43783 (exit $ac_status); }; }; then
43784 eval "$as_ac_var=yes"
43785 else
43786 echo "$as_me: failed program was:" >&5
43787 sed 's/^/| /' conftest.$ac_ext >&5
43789 eval "$as_ac_var=no"
43791 rm -f conftest.err conftest.$ac_objext \
43792 conftest$ac_exeext conftest.$ac_ext
43794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43796 if test `eval echo '${'$as_ac_var'}'` = yes; then
43797 cat >>confdefs.h <<_ACEOF
43798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43799 _ACEOF
43802 done
43804 else
43806 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
43807 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
43808 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
43809 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
43810 echo $ECHO_N "(cached) $ECHO_C" >&6
43811 else
43815 ac_ext=cc
43816 ac_cpp='$CXXCPP $CPPFLAGS'
43817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43821 cat >conftest.$ac_ext <<_ACEOF
43822 /* confdefs.h. */
43823 _ACEOF
43824 cat confdefs.h >>conftest.$ac_ext
43825 cat >>conftest.$ac_ext <<_ACEOF
43826 /* end confdefs.h. */
43827 #include <math.h>
43829 main ()
43831 _copysignl(0, 0);
43833 return 0;
43835 _ACEOF
43836 rm -f conftest.$ac_objext
43837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43838 (eval $ac_compile) 2>conftest.er1
43839 ac_status=$?
43840 grep -v '^ *+' conftest.er1 >conftest.err
43841 rm -f conftest.er1
43842 cat conftest.err >&5
43843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43844 (exit $ac_status); } &&
43845 { ac_try='test -z "$ac_cxx_werror_flag"
43846 || test ! -s conftest.err'
43847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43848 (eval $ac_try) 2>&5
43849 ac_status=$?
43850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43851 (exit $ac_status); }; } &&
43852 { ac_try='test -s conftest.$ac_objext'
43853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43854 (eval $ac_try) 2>&5
43855 ac_status=$?
43856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43857 (exit $ac_status); }; }; then
43858 glibcxx_cv_func__copysignl_use=yes
43859 else
43860 echo "$as_me: failed program was:" >&5
43861 sed 's/^/| /' conftest.$ac_ext >&5
43863 glibcxx_cv_func__copysignl_use=no
43865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43866 ac_ext=c
43867 ac_cpp='$CPP $CPPFLAGS'
43868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43876 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
43877 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
43879 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
43881 for ac_func in _copysignl
43883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43884 echo "$as_me:$LINENO: checking for $ac_func" >&5
43885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43886 if eval "test \"\${$as_ac_var+set}\" = set"; then
43887 echo $ECHO_N "(cached) $ECHO_C" >&6
43888 else
43889 if test x$gcc_no_link = xyes; then
43890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43892 { (exit 1); exit 1; }; }
43894 cat >conftest.$ac_ext <<_ACEOF
43895 /* confdefs.h. */
43896 _ACEOF
43897 cat confdefs.h >>conftest.$ac_ext
43898 cat >>conftest.$ac_ext <<_ACEOF
43899 /* end confdefs.h. */
43900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43902 #define $ac_func innocuous_$ac_func
43904 /* System header to define __stub macros and hopefully few prototypes,
43905 which can conflict with char $ac_func (); below.
43906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43907 <limits.h> exists even on freestanding compilers. */
43909 #ifdef __STDC__
43910 # include <limits.h>
43911 #else
43912 # include <assert.h>
43913 #endif
43915 #undef $ac_func
43917 /* Override any gcc2 internal prototype to avoid an error. */
43918 #ifdef __cplusplus
43919 extern "C"
43921 #endif
43922 /* We use char because int might match the return type of a gcc2
43923 builtin and then its argument prototype would still apply. */
43924 char $ac_func ();
43925 /* The GNU C library defines this for functions which it implements
43926 to always fail with ENOSYS. Some functions are actually named
43927 something starting with __ and the normal name is an alias. */
43928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43929 choke me
43930 #else
43931 char (*f) () = $ac_func;
43932 #endif
43933 #ifdef __cplusplus
43935 #endif
43938 main ()
43940 return f != $ac_func;
43942 return 0;
43944 _ACEOF
43945 rm -f conftest.$ac_objext conftest$ac_exeext
43946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43947 (eval $ac_link) 2>conftest.er1
43948 ac_status=$?
43949 grep -v '^ *+' conftest.er1 >conftest.err
43950 rm -f conftest.er1
43951 cat conftest.err >&5
43952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43953 (exit $ac_status); } &&
43954 { ac_try='test -z "$ac_c_werror_flag"
43955 || test ! -s conftest.err'
43956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43957 (eval $ac_try) 2>&5
43958 ac_status=$?
43959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43960 (exit $ac_status); }; } &&
43961 { ac_try='test -s conftest$ac_exeext'
43962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43963 (eval $ac_try) 2>&5
43964 ac_status=$?
43965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43966 (exit $ac_status); }; }; then
43967 eval "$as_ac_var=yes"
43968 else
43969 echo "$as_me: failed program was:" >&5
43970 sed 's/^/| /' conftest.$ac_ext >&5
43972 eval "$as_ac_var=no"
43974 rm -f conftest.err conftest.$ac_objext \
43975 conftest$ac_exeext conftest.$ac_ext
43977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43979 if test `eval echo '${'$as_ac_var'}'` = yes; then
43980 cat >>confdefs.h <<_ACEOF
43981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43982 _ACEOF
43985 done
43992 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
43993 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
43994 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43995 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
43996 echo $ECHO_N "(cached) $ECHO_C" >&6
43997 else
44001 ac_ext=cc
44002 ac_cpp='$CXXCPP $CPPFLAGS'
44003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44007 cat >conftest.$ac_ext <<_ACEOF
44008 /* confdefs.h. */
44009 _ACEOF
44010 cat confdefs.h >>conftest.$ac_ext
44011 cat >>conftest.$ac_ext <<_ACEOF
44012 /* end confdefs.h. */
44013 #include <math.h>
44015 main ()
44017 atan2l(0, 0);
44019 return 0;
44021 _ACEOF
44022 rm -f conftest.$ac_objext
44023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44024 (eval $ac_compile) 2>conftest.er1
44025 ac_status=$?
44026 grep -v '^ *+' conftest.er1 >conftest.err
44027 rm -f conftest.er1
44028 cat conftest.err >&5
44029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44030 (exit $ac_status); } &&
44031 { ac_try='test -z "$ac_cxx_werror_flag"
44032 || test ! -s conftest.err'
44033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44034 (eval $ac_try) 2>&5
44035 ac_status=$?
44036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44037 (exit $ac_status); }; } &&
44038 { ac_try='test -s conftest.$ac_objext'
44039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44040 (eval $ac_try) 2>&5
44041 ac_status=$?
44042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44043 (exit $ac_status); }; }; then
44044 glibcxx_cv_func_atan2l_use=yes
44045 else
44046 echo "$as_me: failed program was:" >&5
44047 sed 's/^/| /' conftest.$ac_ext >&5
44049 glibcxx_cv_func_atan2l_use=no
44051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44052 ac_ext=c
44053 ac_cpp='$CPP $CPPFLAGS'
44054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44062 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
44063 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
44065 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44067 for ac_func in atan2l
44069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44070 echo "$as_me:$LINENO: checking for $ac_func" >&5
44071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44072 if eval "test \"\${$as_ac_var+set}\" = set"; then
44073 echo $ECHO_N "(cached) $ECHO_C" >&6
44074 else
44075 if test x$gcc_no_link = xyes; then
44076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44078 { (exit 1); exit 1; }; }
44080 cat >conftest.$ac_ext <<_ACEOF
44081 /* confdefs.h. */
44082 _ACEOF
44083 cat confdefs.h >>conftest.$ac_ext
44084 cat >>conftest.$ac_ext <<_ACEOF
44085 /* end confdefs.h. */
44086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44088 #define $ac_func innocuous_$ac_func
44090 /* System header to define __stub macros and hopefully few prototypes,
44091 which can conflict with char $ac_func (); below.
44092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44093 <limits.h> exists even on freestanding compilers. */
44095 #ifdef __STDC__
44096 # include <limits.h>
44097 #else
44098 # include <assert.h>
44099 #endif
44101 #undef $ac_func
44103 /* Override any gcc2 internal prototype to avoid an error. */
44104 #ifdef __cplusplus
44105 extern "C"
44107 #endif
44108 /* We use char because int might match the return type of a gcc2
44109 builtin and then its argument prototype would still apply. */
44110 char $ac_func ();
44111 /* The GNU C library defines this for functions which it implements
44112 to always fail with ENOSYS. Some functions are actually named
44113 something starting with __ and the normal name is an alias. */
44114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44115 choke me
44116 #else
44117 char (*f) () = $ac_func;
44118 #endif
44119 #ifdef __cplusplus
44121 #endif
44124 main ()
44126 return f != $ac_func;
44128 return 0;
44130 _ACEOF
44131 rm -f conftest.$ac_objext conftest$ac_exeext
44132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44133 (eval $ac_link) 2>conftest.er1
44134 ac_status=$?
44135 grep -v '^ *+' conftest.er1 >conftest.err
44136 rm -f conftest.er1
44137 cat conftest.err >&5
44138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44139 (exit $ac_status); } &&
44140 { ac_try='test -z "$ac_c_werror_flag"
44141 || test ! -s conftest.err'
44142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44143 (eval $ac_try) 2>&5
44144 ac_status=$?
44145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44146 (exit $ac_status); }; } &&
44147 { ac_try='test -s conftest$ac_exeext'
44148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44149 (eval $ac_try) 2>&5
44150 ac_status=$?
44151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44152 (exit $ac_status); }; }; then
44153 eval "$as_ac_var=yes"
44154 else
44155 echo "$as_me: failed program was:" >&5
44156 sed 's/^/| /' conftest.$ac_ext >&5
44158 eval "$as_ac_var=no"
44160 rm -f conftest.err conftest.$ac_objext \
44161 conftest$ac_exeext conftest.$ac_ext
44163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44165 if test `eval echo '${'$as_ac_var'}'` = yes; then
44166 cat >>confdefs.h <<_ACEOF
44167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44168 _ACEOF
44171 done
44173 else
44175 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
44176 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
44177 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44178 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
44179 echo $ECHO_N "(cached) $ECHO_C" >&6
44180 else
44184 ac_ext=cc
44185 ac_cpp='$CXXCPP $CPPFLAGS'
44186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44190 cat >conftest.$ac_ext <<_ACEOF
44191 /* confdefs.h. */
44192 _ACEOF
44193 cat confdefs.h >>conftest.$ac_ext
44194 cat >>conftest.$ac_ext <<_ACEOF
44195 /* end confdefs.h. */
44196 #include <math.h>
44198 main ()
44200 _atan2l(0, 0);
44202 return 0;
44204 _ACEOF
44205 rm -f conftest.$ac_objext
44206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44207 (eval $ac_compile) 2>conftest.er1
44208 ac_status=$?
44209 grep -v '^ *+' conftest.er1 >conftest.err
44210 rm -f conftest.er1
44211 cat conftest.err >&5
44212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44213 (exit $ac_status); } &&
44214 { ac_try='test -z "$ac_cxx_werror_flag"
44215 || test ! -s conftest.err'
44216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44217 (eval $ac_try) 2>&5
44218 ac_status=$?
44219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44220 (exit $ac_status); }; } &&
44221 { ac_try='test -s conftest.$ac_objext'
44222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44223 (eval $ac_try) 2>&5
44224 ac_status=$?
44225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44226 (exit $ac_status); }; }; then
44227 glibcxx_cv_func__atan2l_use=yes
44228 else
44229 echo "$as_me: failed program was:" >&5
44230 sed 's/^/| /' conftest.$ac_ext >&5
44232 glibcxx_cv_func__atan2l_use=no
44234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44235 ac_ext=c
44236 ac_cpp='$CPP $CPPFLAGS'
44237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44245 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
44246 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
44248 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44250 for ac_func in _atan2l
44252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44253 echo "$as_me:$LINENO: checking for $ac_func" >&5
44254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44255 if eval "test \"\${$as_ac_var+set}\" = set"; then
44256 echo $ECHO_N "(cached) $ECHO_C" >&6
44257 else
44258 if test x$gcc_no_link = xyes; then
44259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44261 { (exit 1); exit 1; }; }
44263 cat >conftest.$ac_ext <<_ACEOF
44264 /* confdefs.h. */
44265 _ACEOF
44266 cat confdefs.h >>conftest.$ac_ext
44267 cat >>conftest.$ac_ext <<_ACEOF
44268 /* end confdefs.h. */
44269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44271 #define $ac_func innocuous_$ac_func
44273 /* System header to define __stub macros and hopefully few prototypes,
44274 which can conflict with char $ac_func (); below.
44275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44276 <limits.h> exists even on freestanding compilers. */
44278 #ifdef __STDC__
44279 # include <limits.h>
44280 #else
44281 # include <assert.h>
44282 #endif
44284 #undef $ac_func
44286 /* Override any gcc2 internal prototype to avoid an error. */
44287 #ifdef __cplusplus
44288 extern "C"
44290 #endif
44291 /* We use char because int might match the return type of a gcc2
44292 builtin and then its argument prototype would still apply. */
44293 char $ac_func ();
44294 /* The GNU C library defines this for functions which it implements
44295 to always fail with ENOSYS. Some functions are actually named
44296 something starting with __ and the normal name is an alias. */
44297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44298 choke me
44299 #else
44300 char (*f) () = $ac_func;
44301 #endif
44302 #ifdef __cplusplus
44304 #endif
44307 main ()
44309 return f != $ac_func;
44311 return 0;
44313 _ACEOF
44314 rm -f conftest.$ac_objext conftest$ac_exeext
44315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44316 (eval $ac_link) 2>conftest.er1
44317 ac_status=$?
44318 grep -v '^ *+' conftest.er1 >conftest.err
44319 rm -f conftest.er1
44320 cat conftest.err >&5
44321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44322 (exit $ac_status); } &&
44323 { ac_try='test -z "$ac_c_werror_flag"
44324 || test ! -s conftest.err'
44325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44326 (eval $ac_try) 2>&5
44327 ac_status=$?
44328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44329 (exit $ac_status); }; } &&
44330 { ac_try='test -s conftest$ac_exeext'
44331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44332 (eval $ac_try) 2>&5
44333 ac_status=$?
44334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44335 (exit $ac_status); }; }; then
44336 eval "$as_ac_var=yes"
44337 else
44338 echo "$as_me: failed program was:" >&5
44339 sed 's/^/| /' conftest.$ac_ext >&5
44341 eval "$as_ac_var=no"
44343 rm -f conftest.err conftest.$ac_objext \
44344 conftest$ac_exeext conftest.$ac_ext
44346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44348 if test `eval echo '${'$as_ac_var'}'` = yes; then
44349 cat >>confdefs.h <<_ACEOF
44350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44351 _ACEOF
44354 done
44361 echo "$as_me:$LINENO: checking for expl declaration" >&5
44362 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
44363 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44364 if test "${glibcxx_cv_func_expl_use+set}" = set; then
44365 echo $ECHO_N "(cached) $ECHO_C" >&6
44366 else
44370 ac_ext=cc
44371 ac_cpp='$CXXCPP $CPPFLAGS'
44372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44376 cat >conftest.$ac_ext <<_ACEOF
44377 /* confdefs.h. */
44378 _ACEOF
44379 cat confdefs.h >>conftest.$ac_ext
44380 cat >>conftest.$ac_ext <<_ACEOF
44381 /* end confdefs.h. */
44382 #include <math.h>
44383 #ifdef HAVE_IEEEFP_H
44384 #include <ieeefp.h>
44385 #endif
44388 main ()
44390 expl(0);
44392 return 0;
44394 _ACEOF
44395 rm -f conftest.$ac_objext
44396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44397 (eval $ac_compile) 2>conftest.er1
44398 ac_status=$?
44399 grep -v '^ *+' conftest.er1 >conftest.err
44400 rm -f conftest.er1
44401 cat conftest.err >&5
44402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44403 (exit $ac_status); } &&
44404 { ac_try='test -z "$ac_cxx_werror_flag"
44405 || test ! -s conftest.err'
44406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44407 (eval $ac_try) 2>&5
44408 ac_status=$?
44409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44410 (exit $ac_status); }; } &&
44411 { ac_try='test -s conftest.$ac_objext'
44412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44413 (eval $ac_try) 2>&5
44414 ac_status=$?
44415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44416 (exit $ac_status); }; }; then
44417 glibcxx_cv_func_expl_use=yes
44418 else
44419 echo "$as_me: failed program was:" >&5
44420 sed 's/^/| /' conftest.$ac_ext >&5
44422 glibcxx_cv_func_expl_use=no
44424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44425 ac_ext=c
44426 ac_cpp='$CPP $CPPFLAGS'
44427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44435 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
44436 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
44438 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44440 for ac_func in expl
44442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44443 echo "$as_me:$LINENO: checking for $ac_func" >&5
44444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44445 if eval "test \"\${$as_ac_var+set}\" = set"; then
44446 echo $ECHO_N "(cached) $ECHO_C" >&6
44447 else
44448 if test x$gcc_no_link = xyes; then
44449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44451 { (exit 1); exit 1; }; }
44453 cat >conftest.$ac_ext <<_ACEOF
44454 /* confdefs.h. */
44455 _ACEOF
44456 cat confdefs.h >>conftest.$ac_ext
44457 cat >>conftest.$ac_ext <<_ACEOF
44458 /* end confdefs.h. */
44459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44461 #define $ac_func innocuous_$ac_func
44463 /* System header to define __stub macros and hopefully few prototypes,
44464 which can conflict with char $ac_func (); below.
44465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44466 <limits.h> exists even on freestanding compilers. */
44468 #ifdef __STDC__
44469 # include <limits.h>
44470 #else
44471 # include <assert.h>
44472 #endif
44474 #undef $ac_func
44476 /* Override any gcc2 internal prototype to avoid an error. */
44477 #ifdef __cplusplus
44478 extern "C"
44480 #endif
44481 /* We use char because int might match the return type of a gcc2
44482 builtin and then its argument prototype would still apply. */
44483 char $ac_func ();
44484 /* The GNU C library defines this for functions which it implements
44485 to always fail with ENOSYS. Some functions are actually named
44486 something starting with __ and the normal name is an alias. */
44487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44488 choke me
44489 #else
44490 char (*f) () = $ac_func;
44491 #endif
44492 #ifdef __cplusplus
44494 #endif
44497 main ()
44499 return f != $ac_func;
44501 return 0;
44503 _ACEOF
44504 rm -f conftest.$ac_objext conftest$ac_exeext
44505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44506 (eval $ac_link) 2>conftest.er1
44507 ac_status=$?
44508 grep -v '^ *+' conftest.er1 >conftest.err
44509 rm -f conftest.er1
44510 cat conftest.err >&5
44511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44512 (exit $ac_status); } &&
44513 { ac_try='test -z "$ac_c_werror_flag"
44514 || test ! -s conftest.err'
44515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44516 (eval $ac_try) 2>&5
44517 ac_status=$?
44518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44519 (exit $ac_status); }; } &&
44520 { ac_try='test -s conftest$ac_exeext'
44521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44522 (eval $ac_try) 2>&5
44523 ac_status=$?
44524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44525 (exit $ac_status); }; }; then
44526 eval "$as_ac_var=yes"
44527 else
44528 echo "$as_me: failed program was:" >&5
44529 sed 's/^/| /' conftest.$ac_ext >&5
44531 eval "$as_ac_var=no"
44533 rm -f conftest.err conftest.$ac_objext \
44534 conftest$ac_exeext conftest.$ac_ext
44536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44538 if test `eval echo '${'$as_ac_var'}'` = yes; then
44539 cat >>confdefs.h <<_ACEOF
44540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44541 _ACEOF
44544 done
44546 else
44548 echo "$as_me:$LINENO: checking for _expl declaration" >&5
44549 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
44550 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44551 if test "${glibcxx_cv_func__expl_use+set}" = set; then
44552 echo $ECHO_N "(cached) $ECHO_C" >&6
44553 else
44557 ac_ext=cc
44558 ac_cpp='$CXXCPP $CPPFLAGS'
44559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44563 cat >conftest.$ac_ext <<_ACEOF
44564 /* confdefs.h. */
44565 _ACEOF
44566 cat confdefs.h >>conftest.$ac_ext
44567 cat >>conftest.$ac_ext <<_ACEOF
44568 /* end confdefs.h. */
44569 #include <math.h>
44570 #ifdef HAVE_IEEEFP_H
44571 #include <ieeefp.h>
44572 #endif
44575 main ()
44577 _expl(0);
44579 return 0;
44581 _ACEOF
44582 rm -f conftest.$ac_objext
44583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44584 (eval $ac_compile) 2>conftest.er1
44585 ac_status=$?
44586 grep -v '^ *+' conftest.er1 >conftest.err
44587 rm -f conftest.er1
44588 cat conftest.err >&5
44589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44590 (exit $ac_status); } &&
44591 { ac_try='test -z "$ac_cxx_werror_flag"
44592 || test ! -s conftest.err'
44593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44594 (eval $ac_try) 2>&5
44595 ac_status=$?
44596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44597 (exit $ac_status); }; } &&
44598 { ac_try='test -s conftest.$ac_objext'
44599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44600 (eval $ac_try) 2>&5
44601 ac_status=$?
44602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44603 (exit $ac_status); }; }; then
44604 glibcxx_cv_func__expl_use=yes
44605 else
44606 echo "$as_me: failed program was:" >&5
44607 sed 's/^/| /' conftest.$ac_ext >&5
44609 glibcxx_cv_func__expl_use=no
44611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44612 ac_ext=c
44613 ac_cpp='$CPP $CPPFLAGS'
44614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44622 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
44623 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
44625 if test x$glibcxx_cv_func__expl_use = x"yes"; then
44627 for ac_func in _expl
44629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44630 echo "$as_me:$LINENO: checking for $ac_func" >&5
44631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44632 if eval "test \"\${$as_ac_var+set}\" = set"; then
44633 echo $ECHO_N "(cached) $ECHO_C" >&6
44634 else
44635 if test x$gcc_no_link = xyes; then
44636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44638 { (exit 1); exit 1; }; }
44640 cat >conftest.$ac_ext <<_ACEOF
44641 /* confdefs.h. */
44642 _ACEOF
44643 cat confdefs.h >>conftest.$ac_ext
44644 cat >>conftest.$ac_ext <<_ACEOF
44645 /* end confdefs.h. */
44646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44648 #define $ac_func innocuous_$ac_func
44650 /* System header to define __stub macros and hopefully few prototypes,
44651 which can conflict with char $ac_func (); below.
44652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44653 <limits.h> exists even on freestanding compilers. */
44655 #ifdef __STDC__
44656 # include <limits.h>
44657 #else
44658 # include <assert.h>
44659 #endif
44661 #undef $ac_func
44663 /* Override any gcc2 internal prototype to avoid an error. */
44664 #ifdef __cplusplus
44665 extern "C"
44667 #endif
44668 /* We use char because int might match the return type of a gcc2
44669 builtin and then its argument prototype would still apply. */
44670 char $ac_func ();
44671 /* The GNU C library defines this for functions which it implements
44672 to always fail with ENOSYS. Some functions are actually named
44673 something starting with __ and the normal name is an alias. */
44674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44675 choke me
44676 #else
44677 char (*f) () = $ac_func;
44678 #endif
44679 #ifdef __cplusplus
44681 #endif
44684 main ()
44686 return f != $ac_func;
44688 return 0;
44690 _ACEOF
44691 rm -f conftest.$ac_objext conftest$ac_exeext
44692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44693 (eval $ac_link) 2>conftest.er1
44694 ac_status=$?
44695 grep -v '^ *+' conftest.er1 >conftest.err
44696 rm -f conftest.er1
44697 cat conftest.err >&5
44698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44699 (exit $ac_status); } &&
44700 { ac_try='test -z "$ac_c_werror_flag"
44701 || test ! -s conftest.err'
44702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44703 (eval $ac_try) 2>&5
44704 ac_status=$?
44705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44706 (exit $ac_status); }; } &&
44707 { ac_try='test -s conftest$ac_exeext'
44708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44709 (eval $ac_try) 2>&5
44710 ac_status=$?
44711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44712 (exit $ac_status); }; }; then
44713 eval "$as_ac_var=yes"
44714 else
44715 echo "$as_me: failed program was:" >&5
44716 sed 's/^/| /' conftest.$ac_ext >&5
44718 eval "$as_ac_var=no"
44720 rm -f conftest.err conftest.$ac_objext \
44721 conftest$ac_exeext conftest.$ac_ext
44723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44725 if test `eval echo '${'$as_ac_var'}'` = yes; then
44726 cat >>confdefs.h <<_ACEOF
44727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44728 _ACEOF
44731 done
44738 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
44739 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
44740 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44741 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
44742 echo $ECHO_N "(cached) $ECHO_C" >&6
44743 else
44747 ac_ext=cc
44748 ac_cpp='$CXXCPP $CPPFLAGS'
44749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44753 cat >conftest.$ac_ext <<_ACEOF
44754 /* confdefs.h. */
44755 _ACEOF
44756 cat confdefs.h >>conftest.$ac_ext
44757 cat >>conftest.$ac_ext <<_ACEOF
44758 /* end confdefs.h. */
44759 #include <math.h>
44760 #ifdef HAVE_IEEEFP_H
44761 #include <ieeefp.h>
44762 #endif
44765 main ()
44767 fabsl(0);
44769 return 0;
44771 _ACEOF
44772 rm -f conftest.$ac_objext
44773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44774 (eval $ac_compile) 2>conftest.er1
44775 ac_status=$?
44776 grep -v '^ *+' conftest.er1 >conftest.err
44777 rm -f conftest.er1
44778 cat conftest.err >&5
44779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44780 (exit $ac_status); } &&
44781 { ac_try='test -z "$ac_cxx_werror_flag"
44782 || test ! -s conftest.err'
44783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44784 (eval $ac_try) 2>&5
44785 ac_status=$?
44786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44787 (exit $ac_status); }; } &&
44788 { ac_try='test -s conftest.$ac_objext'
44789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44790 (eval $ac_try) 2>&5
44791 ac_status=$?
44792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44793 (exit $ac_status); }; }; then
44794 glibcxx_cv_func_fabsl_use=yes
44795 else
44796 echo "$as_me: failed program was:" >&5
44797 sed 's/^/| /' conftest.$ac_ext >&5
44799 glibcxx_cv_func_fabsl_use=no
44801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44802 ac_ext=c
44803 ac_cpp='$CPP $CPPFLAGS'
44804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44812 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
44813 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
44815 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44817 for ac_func in fabsl
44819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44820 echo "$as_me:$LINENO: checking for $ac_func" >&5
44821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44822 if eval "test \"\${$as_ac_var+set}\" = set"; then
44823 echo $ECHO_N "(cached) $ECHO_C" >&6
44824 else
44825 if test x$gcc_no_link = xyes; then
44826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44828 { (exit 1); exit 1; }; }
44830 cat >conftest.$ac_ext <<_ACEOF
44831 /* confdefs.h. */
44832 _ACEOF
44833 cat confdefs.h >>conftest.$ac_ext
44834 cat >>conftest.$ac_ext <<_ACEOF
44835 /* end confdefs.h. */
44836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44838 #define $ac_func innocuous_$ac_func
44840 /* System header to define __stub macros and hopefully few prototypes,
44841 which can conflict with char $ac_func (); below.
44842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44843 <limits.h> exists even on freestanding compilers. */
44845 #ifdef __STDC__
44846 # include <limits.h>
44847 #else
44848 # include <assert.h>
44849 #endif
44851 #undef $ac_func
44853 /* Override any gcc2 internal prototype to avoid an error. */
44854 #ifdef __cplusplus
44855 extern "C"
44857 #endif
44858 /* We use char because int might match the return type of a gcc2
44859 builtin and then its argument prototype would still apply. */
44860 char $ac_func ();
44861 /* The GNU C library defines this for functions which it implements
44862 to always fail with ENOSYS. Some functions are actually named
44863 something starting with __ and the normal name is an alias. */
44864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44865 choke me
44866 #else
44867 char (*f) () = $ac_func;
44868 #endif
44869 #ifdef __cplusplus
44871 #endif
44874 main ()
44876 return f != $ac_func;
44878 return 0;
44880 _ACEOF
44881 rm -f conftest.$ac_objext conftest$ac_exeext
44882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44883 (eval $ac_link) 2>conftest.er1
44884 ac_status=$?
44885 grep -v '^ *+' conftest.er1 >conftest.err
44886 rm -f conftest.er1
44887 cat conftest.err >&5
44888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44889 (exit $ac_status); } &&
44890 { ac_try='test -z "$ac_c_werror_flag"
44891 || test ! -s conftest.err'
44892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44893 (eval $ac_try) 2>&5
44894 ac_status=$?
44895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44896 (exit $ac_status); }; } &&
44897 { ac_try='test -s conftest$ac_exeext'
44898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44899 (eval $ac_try) 2>&5
44900 ac_status=$?
44901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44902 (exit $ac_status); }; }; then
44903 eval "$as_ac_var=yes"
44904 else
44905 echo "$as_me: failed program was:" >&5
44906 sed 's/^/| /' conftest.$ac_ext >&5
44908 eval "$as_ac_var=no"
44910 rm -f conftest.err conftest.$ac_objext \
44911 conftest$ac_exeext conftest.$ac_ext
44913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44915 if test `eval echo '${'$as_ac_var'}'` = yes; then
44916 cat >>confdefs.h <<_ACEOF
44917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44918 _ACEOF
44921 done
44923 else
44925 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
44926 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
44927 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44928 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
44929 echo $ECHO_N "(cached) $ECHO_C" >&6
44930 else
44934 ac_ext=cc
44935 ac_cpp='$CXXCPP $CPPFLAGS'
44936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44940 cat >conftest.$ac_ext <<_ACEOF
44941 /* confdefs.h. */
44942 _ACEOF
44943 cat confdefs.h >>conftest.$ac_ext
44944 cat >>conftest.$ac_ext <<_ACEOF
44945 /* end confdefs.h. */
44946 #include <math.h>
44947 #ifdef HAVE_IEEEFP_H
44948 #include <ieeefp.h>
44949 #endif
44952 main ()
44954 _fabsl(0);
44956 return 0;
44958 _ACEOF
44959 rm -f conftest.$ac_objext
44960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44961 (eval $ac_compile) 2>conftest.er1
44962 ac_status=$?
44963 grep -v '^ *+' conftest.er1 >conftest.err
44964 rm -f conftest.er1
44965 cat conftest.err >&5
44966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44967 (exit $ac_status); } &&
44968 { ac_try='test -z "$ac_cxx_werror_flag"
44969 || test ! -s conftest.err'
44970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44971 (eval $ac_try) 2>&5
44972 ac_status=$?
44973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44974 (exit $ac_status); }; } &&
44975 { ac_try='test -s conftest.$ac_objext'
44976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44977 (eval $ac_try) 2>&5
44978 ac_status=$?
44979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44980 (exit $ac_status); }; }; then
44981 glibcxx_cv_func__fabsl_use=yes
44982 else
44983 echo "$as_me: failed program was:" >&5
44984 sed 's/^/| /' conftest.$ac_ext >&5
44986 glibcxx_cv_func__fabsl_use=no
44988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44989 ac_ext=c
44990 ac_cpp='$CPP $CPPFLAGS'
44991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44999 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
45000 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
45002 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45004 for ac_func in _fabsl
45006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45007 echo "$as_me:$LINENO: checking for $ac_func" >&5
45008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45009 if eval "test \"\${$as_ac_var+set}\" = set"; then
45010 echo $ECHO_N "(cached) $ECHO_C" >&6
45011 else
45012 if test x$gcc_no_link = xyes; then
45013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45015 { (exit 1); exit 1; }; }
45017 cat >conftest.$ac_ext <<_ACEOF
45018 /* confdefs.h. */
45019 _ACEOF
45020 cat confdefs.h >>conftest.$ac_ext
45021 cat >>conftest.$ac_ext <<_ACEOF
45022 /* end confdefs.h. */
45023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45025 #define $ac_func innocuous_$ac_func
45027 /* System header to define __stub macros and hopefully few prototypes,
45028 which can conflict with char $ac_func (); below.
45029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45030 <limits.h> exists even on freestanding compilers. */
45032 #ifdef __STDC__
45033 # include <limits.h>
45034 #else
45035 # include <assert.h>
45036 #endif
45038 #undef $ac_func
45040 /* Override any gcc2 internal prototype to avoid an error. */
45041 #ifdef __cplusplus
45042 extern "C"
45044 #endif
45045 /* We use char because int might match the return type of a gcc2
45046 builtin and then its argument prototype would still apply. */
45047 char $ac_func ();
45048 /* The GNU C library defines this for functions which it implements
45049 to always fail with ENOSYS. Some functions are actually named
45050 something starting with __ and the normal name is an alias. */
45051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45052 choke me
45053 #else
45054 char (*f) () = $ac_func;
45055 #endif
45056 #ifdef __cplusplus
45058 #endif
45061 main ()
45063 return f != $ac_func;
45065 return 0;
45067 _ACEOF
45068 rm -f conftest.$ac_objext conftest$ac_exeext
45069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45070 (eval $ac_link) 2>conftest.er1
45071 ac_status=$?
45072 grep -v '^ *+' conftest.er1 >conftest.err
45073 rm -f conftest.er1
45074 cat conftest.err >&5
45075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45076 (exit $ac_status); } &&
45077 { ac_try='test -z "$ac_c_werror_flag"
45078 || test ! -s conftest.err'
45079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45080 (eval $ac_try) 2>&5
45081 ac_status=$?
45082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45083 (exit $ac_status); }; } &&
45084 { ac_try='test -s conftest$ac_exeext'
45085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45086 (eval $ac_try) 2>&5
45087 ac_status=$?
45088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45089 (exit $ac_status); }; }; then
45090 eval "$as_ac_var=yes"
45091 else
45092 echo "$as_me: failed program was:" >&5
45093 sed 's/^/| /' conftest.$ac_ext >&5
45095 eval "$as_ac_var=no"
45097 rm -f conftest.err conftest.$ac_objext \
45098 conftest$ac_exeext conftest.$ac_ext
45100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45102 if test `eval echo '${'$as_ac_var'}'` = yes; then
45103 cat >>confdefs.h <<_ACEOF
45104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45105 _ACEOF
45108 done
45115 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
45116 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
45117 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45118 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
45119 echo $ECHO_N "(cached) $ECHO_C" >&6
45120 else
45124 ac_ext=cc
45125 ac_cpp='$CXXCPP $CPPFLAGS'
45126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45130 cat >conftest.$ac_ext <<_ACEOF
45131 /* confdefs.h. */
45132 _ACEOF
45133 cat confdefs.h >>conftest.$ac_ext
45134 cat >>conftest.$ac_ext <<_ACEOF
45135 /* end confdefs.h. */
45136 #include <math.h>
45138 main ()
45140 fmodl(0, 0);
45142 return 0;
45144 _ACEOF
45145 rm -f conftest.$ac_objext
45146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45147 (eval $ac_compile) 2>conftest.er1
45148 ac_status=$?
45149 grep -v '^ *+' conftest.er1 >conftest.err
45150 rm -f conftest.er1
45151 cat conftest.err >&5
45152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45153 (exit $ac_status); } &&
45154 { ac_try='test -z "$ac_cxx_werror_flag"
45155 || test ! -s conftest.err'
45156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45157 (eval $ac_try) 2>&5
45158 ac_status=$?
45159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45160 (exit $ac_status); }; } &&
45161 { ac_try='test -s conftest.$ac_objext'
45162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45163 (eval $ac_try) 2>&5
45164 ac_status=$?
45165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45166 (exit $ac_status); }; }; then
45167 glibcxx_cv_func_fmodl_use=yes
45168 else
45169 echo "$as_me: failed program was:" >&5
45170 sed 's/^/| /' conftest.$ac_ext >&5
45172 glibcxx_cv_func_fmodl_use=no
45174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45175 ac_ext=c
45176 ac_cpp='$CPP $CPPFLAGS'
45177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45185 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
45186 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
45188 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45190 for ac_func in fmodl
45192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45193 echo "$as_me:$LINENO: checking for $ac_func" >&5
45194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45195 if eval "test \"\${$as_ac_var+set}\" = set"; then
45196 echo $ECHO_N "(cached) $ECHO_C" >&6
45197 else
45198 if test x$gcc_no_link = xyes; then
45199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45201 { (exit 1); exit 1; }; }
45203 cat >conftest.$ac_ext <<_ACEOF
45204 /* confdefs.h. */
45205 _ACEOF
45206 cat confdefs.h >>conftest.$ac_ext
45207 cat >>conftest.$ac_ext <<_ACEOF
45208 /* end confdefs.h. */
45209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45211 #define $ac_func innocuous_$ac_func
45213 /* System header to define __stub macros and hopefully few prototypes,
45214 which can conflict with char $ac_func (); below.
45215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45216 <limits.h> exists even on freestanding compilers. */
45218 #ifdef __STDC__
45219 # include <limits.h>
45220 #else
45221 # include <assert.h>
45222 #endif
45224 #undef $ac_func
45226 /* Override any gcc2 internal prototype to avoid an error. */
45227 #ifdef __cplusplus
45228 extern "C"
45230 #endif
45231 /* We use char because int might match the return type of a gcc2
45232 builtin and then its argument prototype would still apply. */
45233 char $ac_func ();
45234 /* The GNU C library defines this for functions which it implements
45235 to always fail with ENOSYS. Some functions are actually named
45236 something starting with __ and the normal name is an alias. */
45237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45238 choke me
45239 #else
45240 char (*f) () = $ac_func;
45241 #endif
45242 #ifdef __cplusplus
45244 #endif
45247 main ()
45249 return f != $ac_func;
45251 return 0;
45253 _ACEOF
45254 rm -f conftest.$ac_objext conftest$ac_exeext
45255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45256 (eval $ac_link) 2>conftest.er1
45257 ac_status=$?
45258 grep -v '^ *+' conftest.er1 >conftest.err
45259 rm -f conftest.er1
45260 cat conftest.err >&5
45261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45262 (exit $ac_status); } &&
45263 { ac_try='test -z "$ac_c_werror_flag"
45264 || test ! -s conftest.err'
45265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45266 (eval $ac_try) 2>&5
45267 ac_status=$?
45268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45269 (exit $ac_status); }; } &&
45270 { ac_try='test -s conftest$ac_exeext'
45271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45272 (eval $ac_try) 2>&5
45273 ac_status=$?
45274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45275 (exit $ac_status); }; }; then
45276 eval "$as_ac_var=yes"
45277 else
45278 echo "$as_me: failed program was:" >&5
45279 sed 's/^/| /' conftest.$ac_ext >&5
45281 eval "$as_ac_var=no"
45283 rm -f conftest.err conftest.$ac_objext \
45284 conftest$ac_exeext conftest.$ac_ext
45286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45288 if test `eval echo '${'$as_ac_var'}'` = yes; then
45289 cat >>confdefs.h <<_ACEOF
45290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45291 _ACEOF
45294 done
45296 else
45298 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
45299 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
45300 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45301 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
45302 echo $ECHO_N "(cached) $ECHO_C" >&6
45303 else
45307 ac_ext=cc
45308 ac_cpp='$CXXCPP $CPPFLAGS'
45309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45313 cat >conftest.$ac_ext <<_ACEOF
45314 /* confdefs.h. */
45315 _ACEOF
45316 cat confdefs.h >>conftest.$ac_ext
45317 cat >>conftest.$ac_ext <<_ACEOF
45318 /* end confdefs.h. */
45319 #include <math.h>
45321 main ()
45323 _fmodl(0, 0);
45325 return 0;
45327 _ACEOF
45328 rm -f conftest.$ac_objext
45329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45330 (eval $ac_compile) 2>conftest.er1
45331 ac_status=$?
45332 grep -v '^ *+' conftest.er1 >conftest.err
45333 rm -f conftest.er1
45334 cat conftest.err >&5
45335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45336 (exit $ac_status); } &&
45337 { ac_try='test -z "$ac_cxx_werror_flag"
45338 || test ! -s conftest.err'
45339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45340 (eval $ac_try) 2>&5
45341 ac_status=$?
45342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45343 (exit $ac_status); }; } &&
45344 { ac_try='test -s conftest.$ac_objext'
45345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45346 (eval $ac_try) 2>&5
45347 ac_status=$?
45348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45349 (exit $ac_status); }; }; then
45350 glibcxx_cv_func__fmodl_use=yes
45351 else
45352 echo "$as_me: failed program was:" >&5
45353 sed 's/^/| /' conftest.$ac_ext >&5
45355 glibcxx_cv_func__fmodl_use=no
45357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45358 ac_ext=c
45359 ac_cpp='$CPP $CPPFLAGS'
45360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45368 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
45369 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
45371 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45373 for ac_func in _fmodl
45375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45376 echo "$as_me:$LINENO: checking for $ac_func" >&5
45377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45378 if eval "test \"\${$as_ac_var+set}\" = set"; then
45379 echo $ECHO_N "(cached) $ECHO_C" >&6
45380 else
45381 if test x$gcc_no_link = xyes; then
45382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45384 { (exit 1); exit 1; }; }
45386 cat >conftest.$ac_ext <<_ACEOF
45387 /* confdefs.h. */
45388 _ACEOF
45389 cat confdefs.h >>conftest.$ac_ext
45390 cat >>conftest.$ac_ext <<_ACEOF
45391 /* end confdefs.h. */
45392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45394 #define $ac_func innocuous_$ac_func
45396 /* System header to define __stub macros and hopefully few prototypes,
45397 which can conflict with char $ac_func (); below.
45398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45399 <limits.h> exists even on freestanding compilers. */
45401 #ifdef __STDC__
45402 # include <limits.h>
45403 #else
45404 # include <assert.h>
45405 #endif
45407 #undef $ac_func
45409 /* Override any gcc2 internal prototype to avoid an error. */
45410 #ifdef __cplusplus
45411 extern "C"
45413 #endif
45414 /* We use char because int might match the return type of a gcc2
45415 builtin and then its argument prototype would still apply. */
45416 char $ac_func ();
45417 /* The GNU C library defines this for functions which it implements
45418 to always fail with ENOSYS. Some functions are actually named
45419 something starting with __ and the normal name is an alias. */
45420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45421 choke me
45422 #else
45423 char (*f) () = $ac_func;
45424 #endif
45425 #ifdef __cplusplus
45427 #endif
45430 main ()
45432 return f != $ac_func;
45434 return 0;
45436 _ACEOF
45437 rm -f conftest.$ac_objext conftest$ac_exeext
45438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45439 (eval $ac_link) 2>conftest.er1
45440 ac_status=$?
45441 grep -v '^ *+' conftest.er1 >conftest.err
45442 rm -f conftest.er1
45443 cat conftest.err >&5
45444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45445 (exit $ac_status); } &&
45446 { ac_try='test -z "$ac_c_werror_flag"
45447 || test ! -s conftest.err'
45448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45449 (eval $ac_try) 2>&5
45450 ac_status=$?
45451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45452 (exit $ac_status); }; } &&
45453 { ac_try='test -s conftest$ac_exeext'
45454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45455 (eval $ac_try) 2>&5
45456 ac_status=$?
45457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45458 (exit $ac_status); }; }; then
45459 eval "$as_ac_var=yes"
45460 else
45461 echo "$as_me: failed program was:" >&5
45462 sed 's/^/| /' conftest.$ac_ext >&5
45464 eval "$as_ac_var=no"
45466 rm -f conftest.err conftest.$ac_objext \
45467 conftest$ac_exeext conftest.$ac_ext
45469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45471 if test `eval echo '${'$as_ac_var'}'` = yes; then
45472 cat >>confdefs.h <<_ACEOF
45473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45474 _ACEOF
45477 done
45484 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
45485 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
45486 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45487 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
45488 echo $ECHO_N "(cached) $ECHO_C" >&6
45489 else
45493 ac_ext=cc
45494 ac_cpp='$CXXCPP $CPPFLAGS'
45495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45499 cat >conftest.$ac_ext <<_ACEOF
45500 /* confdefs.h. */
45501 _ACEOF
45502 cat confdefs.h >>conftest.$ac_ext
45503 cat >>conftest.$ac_ext <<_ACEOF
45504 /* end confdefs.h. */
45505 #include <math.h>
45507 main ()
45509 frexpl(0, 0);
45511 return 0;
45513 _ACEOF
45514 rm -f conftest.$ac_objext
45515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45516 (eval $ac_compile) 2>conftest.er1
45517 ac_status=$?
45518 grep -v '^ *+' conftest.er1 >conftest.err
45519 rm -f conftest.er1
45520 cat conftest.err >&5
45521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45522 (exit $ac_status); } &&
45523 { ac_try='test -z "$ac_cxx_werror_flag"
45524 || test ! -s conftest.err'
45525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45526 (eval $ac_try) 2>&5
45527 ac_status=$?
45528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45529 (exit $ac_status); }; } &&
45530 { ac_try='test -s conftest.$ac_objext'
45531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45532 (eval $ac_try) 2>&5
45533 ac_status=$?
45534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45535 (exit $ac_status); }; }; then
45536 glibcxx_cv_func_frexpl_use=yes
45537 else
45538 echo "$as_me: failed program was:" >&5
45539 sed 's/^/| /' conftest.$ac_ext >&5
45541 glibcxx_cv_func_frexpl_use=no
45543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45544 ac_ext=c
45545 ac_cpp='$CPP $CPPFLAGS'
45546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45554 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
45555 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
45557 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45559 for ac_func in frexpl
45561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45562 echo "$as_me:$LINENO: checking for $ac_func" >&5
45563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45564 if eval "test \"\${$as_ac_var+set}\" = set"; then
45565 echo $ECHO_N "(cached) $ECHO_C" >&6
45566 else
45567 if test x$gcc_no_link = xyes; then
45568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45570 { (exit 1); exit 1; }; }
45572 cat >conftest.$ac_ext <<_ACEOF
45573 /* confdefs.h. */
45574 _ACEOF
45575 cat confdefs.h >>conftest.$ac_ext
45576 cat >>conftest.$ac_ext <<_ACEOF
45577 /* end confdefs.h. */
45578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45580 #define $ac_func innocuous_$ac_func
45582 /* System header to define __stub macros and hopefully few prototypes,
45583 which can conflict with char $ac_func (); below.
45584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45585 <limits.h> exists even on freestanding compilers. */
45587 #ifdef __STDC__
45588 # include <limits.h>
45589 #else
45590 # include <assert.h>
45591 #endif
45593 #undef $ac_func
45595 /* Override any gcc2 internal prototype to avoid an error. */
45596 #ifdef __cplusplus
45597 extern "C"
45599 #endif
45600 /* We use char because int might match the return type of a gcc2
45601 builtin and then its argument prototype would still apply. */
45602 char $ac_func ();
45603 /* The GNU C library defines this for functions which it implements
45604 to always fail with ENOSYS. Some functions are actually named
45605 something starting with __ and the normal name is an alias. */
45606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45607 choke me
45608 #else
45609 char (*f) () = $ac_func;
45610 #endif
45611 #ifdef __cplusplus
45613 #endif
45616 main ()
45618 return f != $ac_func;
45620 return 0;
45622 _ACEOF
45623 rm -f conftest.$ac_objext conftest$ac_exeext
45624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45625 (eval $ac_link) 2>conftest.er1
45626 ac_status=$?
45627 grep -v '^ *+' conftest.er1 >conftest.err
45628 rm -f conftest.er1
45629 cat conftest.err >&5
45630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45631 (exit $ac_status); } &&
45632 { ac_try='test -z "$ac_c_werror_flag"
45633 || test ! -s conftest.err'
45634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45635 (eval $ac_try) 2>&5
45636 ac_status=$?
45637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45638 (exit $ac_status); }; } &&
45639 { ac_try='test -s conftest$ac_exeext'
45640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45641 (eval $ac_try) 2>&5
45642 ac_status=$?
45643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45644 (exit $ac_status); }; }; then
45645 eval "$as_ac_var=yes"
45646 else
45647 echo "$as_me: failed program was:" >&5
45648 sed 's/^/| /' conftest.$ac_ext >&5
45650 eval "$as_ac_var=no"
45652 rm -f conftest.err conftest.$ac_objext \
45653 conftest$ac_exeext conftest.$ac_ext
45655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45657 if test `eval echo '${'$as_ac_var'}'` = yes; then
45658 cat >>confdefs.h <<_ACEOF
45659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45660 _ACEOF
45663 done
45665 else
45667 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
45668 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
45669 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45670 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
45671 echo $ECHO_N "(cached) $ECHO_C" >&6
45672 else
45676 ac_ext=cc
45677 ac_cpp='$CXXCPP $CPPFLAGS'
45678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45682 cat >conftest.$ac_ext <<_ACEOF
45683 /* confdefs.h. */
45684 _ACEOF
45685 cat confdefs.h >>conftest.$ac_ext
45686 cat >>conftest.$ac_ext <<_ACEOF
45687 /* end confdefs.h. */
45688 #include <math.h>
45690 main ()
45692 _frexpl(0, 0);
45694 return 0;
45696 _ACEOF
45697 rm -f conftest.$ac_objext
45698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45699 (eval $ac_compile) 2>conftest.er1
45700 ac_status=$?
45701 grep -v '^ *+' conftest.er1 >conftest.err
45702 rm -f conftest.er1
45703 cat conftest.err >&5
45704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45705 (exit $ac_status); } &&
45706 { ac_try='test -z "$ac_cxx_werror_flag"
45707 || test ! -s conftest.err'
45708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45709 (eval $ac_try) 2>&5
45710 ac_status=$?
45711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45712 (exit $ac_status); }; } &&
45713 { ac_try='test -s conftest.$ac_objext'
45714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45715 (eval $ac_try) 2>&5
45716 ac_status=$?
45717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45718 (exit $ac_status); }; }; then
45719 glibcxx_cv_func__frexpl_use=yes
45720 else
45721 echo "$as_me: failed program was:" >&5
45722 sed 's/^/| /' conftest.$ac_ext >&5
45724 glibcxx_cv_func__frexpl_use=no
45726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45727 ac_ext=c
45728 ac_cpp='$CPP $CPPFLAGS'
45729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45737 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
45738 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
45740 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45742 for ac_func in _frexpl
45744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45745 echo "$as_me:$LINENO: checking for $ac_func" >&5
45746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45747 if eval "test \"\${$as_ac_var+set}\" = set"; then
45748 echo $ECHO_N "(cached) $ECHO_C" >&6
45749 else
45750 if test x$gcc_no_link = xyes; then
45751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45753 { (exit 1); exit 1; }; }
45755 cat >conftest.$ac_ext <<_ACEOF
45756 /* confdefs.h. */
45757 _ACEOF
45758 cat confdefs.h >>conftest.$ac_ext
45759 cat >>conftest.$ac_ext <<_ACEOF
45760 /* end confdefs.h. */
45761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45763 #define $ac_func innocuous_$ac_func
45765 /* System header to define __stub macros and hopefully few prototypes,
45766 which can conflict with char $ac_func (); below.
45767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45768 <limits.h> exists even on freestanding compilers. */
45770 #ifdef __STDC__
45771 # include <limits.h>
45772 #else
45773 # include <assert.h>
45774 #endif
45776 #undef $ac_func
45778 /* Override any gcc2 internal prototype to avoid an error. */
45779 #ifdef __cplusplus
45780 extern "C"
45782 #endif
45783 /* We use char because int might match the return type of a gcc2
45784 builtin and then its argument prototype would still apply. */
45785 char $ac_func ();
45786 /* The GNU C library defines this for functions which it implements
45787 to always fail with ENOSYS. Some functions are actually named
45788 something starting with __ and the normal name is an alias. */
45789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45790 choke me
45791 #else
45792 char (*f) () = $ac_func;
45793 #endif
45794 #ifdef __cplusplus
45796 #endif
45799 main ()
45801 return f != $ac_func;
45803 return 0;
45805 _ACEOF
45806 rm -f conftest.$ac_objext conftest$ac_exeext
45807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45808 (eval $ac_link) 2>conftest.er1
45809 ac_status=$?
45810 grep -v '^ *+' conftest.er1 >conftest.err
45811 rm -f conftest.er1
45812 cat conftest.err >&5
45813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45814 (exit $ac_status); } &&
45815 { ac_try='test -z "$ac_c_werror_flag"
45816 || test ! -s conftest.err'
45817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45818 (eval $ac_try) 2>&5
45819 ac_status=$?
45820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45821 (exit $ac_status); }; } &&
45822 { ac_try='test -s conftest$ac_exeext'
45823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45824 (eval $ac_try) 2>&5
45825 ac_status=$?
45826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45827 (exit $ac_status); }; }; then
45828 eval "$as_ac_var=yes"
45829 else
45830 echo "$as_me: failed program was:" >&5
45831 sed 's/^/| /' conftest.$ac_ext >&5
45833 eval "$as_ac_var=no"
45835 rm -f conftest.err conftest.$ac_objext \
45836 conftest$ac_exeext conftest.$ac_ext
45838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45840 if test `eval echo '${'$as_ac_var'}'` = yes; then
45841 cat >>confdefs.h <<_ACEOF
45842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45843 _ACEOF
45846 done
45853 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
45854 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
45855 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45856 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
45857 echo $ECHO_N "(cached) $ECHO_C" >&6
45858 else
45862 ac_ext=cc
45863 ac_cpp='$CXXCPP $CPPFLAGS'
45864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45868 cat >conftest.$ac_ext <<_ACEOF
45869 /* confdefs.h. */
45870 _ACEOF
45871 cat confdefs.h >>conftest.$ac_ext
45872 cat >>conftest.$ac_ext <<_ACEOF
45873 /* end confdefs.h. */
45874 #include <math.h>
45876 main ()
45878 hypotl(0, 0);
45880 return 0;
45882 _ACEOF
45883 rm -f conftest.$ac_objext
45884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45885 (eval $ac_compile) 2>conftest.er1
45886 ac_status=$?
45887 grep -v '^ *+' conftest.er1 >conftest.err
45888 rm -f conftest.er1
45889 cat conftest.err >&5
45890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45891 (exit $ac_status); } &&
45892 { ac_try='test -z "$ac_cxx_werror_flag"
45893 || test ! -s conftest.err'
45894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45895 (eval $ac_try) 2>&5
45896 ac_status=$?
45897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45898 (exit $ac_status); }; } &&
45899 { ac_try='test -s conftest.$ac_objext'
45900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45901 (eval $ac_try) 2>&5
45902 ac_status=$?
45903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45904 (exit $ac_status); }; }; then
45905 glibcxx_cv_func_hypotl_use=yes
45906 else
45907 echo "$as_me: failed program was:" >&5
45908 sed 's/^/| /' conftest.$ac_ext >&5
45910 glibcxx_cv_func_hypotl_use=no
45912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45913 ac_ext=c
45914 ac_cpp='$CPP $CPPFLAGS'
45915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45923 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
45924 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
45926 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45928 for ac_func in hypotl
45930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45931 echo "$as_me:$LINENO: checking for $ac_func" >&5
45932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45933 if eval "test \"\${$as_ac_var+set}\" = set"; then
45934 echo $ECHO_N "(cached) $ECHO_C" >&6
45935 else
45936 if test x$gcc_no_link = xyes; then
45937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45939 { (exit 1); exit 1; }; }
45941 cat >conftest.$ac_ext <<_ACEOF
45942 /* confdefs.h. */
45943 _ACEOF
45944 cat confdefs.h >>conftest.$ac_ext
45945 cat >>conftest.$ac_ext <<_ACEOF
45946 /* end confdefs.h. */
45947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45949 #define $ac_func innocuous_$ac_func
45951 /* System header to define __stub macros and hopefully few prototypes,
45952 which can conflict with char $ac_func (); below.
45953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45954 <limits.h> exists even on freestanding compilers. */
45956 #ifdef __STDC__
45957 # include <limits.h>
45958 #else
45959 # include <assert.h>
45960 #endif
45962 #undef $ac_func
45964 /* Override any gcc2 internal prototype to avoid an error. */
45965 #ifdef __cplusplus
45966 extern "C"
45968 #endif
45969 /* We use char because int might match the return type of a gcc2
45970 builtin and then its argument prototype would still apply. */
45971 char $ac_func ();
45972 /* The GNU C library defines this for functions which it implements
45973 to always fail with ENOSYS. Some functions are actually named
45974 something starting with __ and the normal name is an alias. */
45975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45976 choke me
45977 #else
45978 char (*f) () = $ac_func;
45979 #endif
45980 #ifdef __cplusplus
45982 #endif
45985 main ()
45987 return f != $ac_func;
45989 return 0;
45991 _ACEOF
45992 rm -f conftest.$ac_objext conftest$ac_exeext
45993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45994 (eval $ac_link) 2>conftest.er1
45995 ac_status=$?
45996 grep -v '^ *+' conftest.er1 >conftest.err
45997 rm -f conftest.er1
45998 cat conftest.err >&5
45999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46000 (exit $ac_status); } &&
46001 { ac_try='test -z "$ac_c_werror_flag"
46002 || test ! -s conftest.err'
46003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46004 (eval $ac_try) 2>&5
46005 ac_status=$?
46006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46007 (exit $ac_status); }; } &&
46008 { ac_try='test -s conftest$ac_exeext'
46009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46010 (eval $ac_try) 2>&5
46011 ac_status=$?
46012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46013 (exit $ac_status); }; }; then
46014 eval "$as_ac_var=yes"
46015 else
46016 echo "$as_me: failed program was:" >&5
46017 sed 's/^/| /' conftest.$ac_ext >&5
46019 eval "$as_ac_var=no"
46021 rm -f conftest.err conftest.$ac_objext \
46022 conftest$ac_exeext conftest.$ac_ext
46024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46026 if test `eval echo '${'$as_ac_var'}'` = yes; then
46027 cat >>confdefs.h <<_ACEOF
46028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46029 _ACEOF
46032 done
46034 else
46036 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
46037 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
46038 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46039 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
46040 echo $ECHO_N "(cached) $ECHO_C" >&6
46041 else
46045 ac_ext=cc
46046 ac_cpp='$CXXCPP $CPPFLAGS'
46047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46051 cat >conftest.$ac_ext <<_ACEOF
46052 /* confdefs.h. */
46053 _ACEOF
46054 cat confdefs.h >>conftest.$ac_ext
46055 cat >>conftest.$ac_ext <<_ACEOF
46056 /* end confdefs.h. */
46057 #include <math.h>
46059 main ()
46061 _hypotl(0, 0);
46063 return 0;
46065 _ACEOF
46066 rm -f conftest.$ac_objext
46067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46068 (eval $ac_compile) 2>conftest.er1
46069 ac_status=$?
46070 grep -v '^ *+' conftest.er1 >conftest.err
46071 rm -f conftest.er1
46072 cat conftest.err >&5
46073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46074 (exit $ac_status); } &&
46075 { ac_try='test -z "$ac_cxx_werror_flag"
46076 || test ! -s conftest.err'
46077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46078 (eval $ac_try) 2>&5
46079 ac_status=$?
46080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46081 (exit $ac_status); }; } &&
46082 { ac_try='test -s conftest.$ac_objext'
46083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46084 (eval $ac_try) 2>&5
46085 ac_status=$?
46086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46087 (exit $ac_status); }; }; then
46088 glibcxx_cv_func__hypotl_use=yes
46089 else
46090 echo "$as_me: failed program was:" >&5
46091 sed 's/^/| /' conftest.$ac_ext >&5
46093 glibcxx_cv_func__hypotl_use=no
46095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46096 ac_ext=c
46097 ac_cpp='$CPP $CPPFLAGS'
46098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46106 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
46107 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
46109 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46111 for ac_func in _hypotl
46113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46114 echo "$as_me:$LINENO: checking for $ac_func" >&5
46115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46116 if eval "test \"\${$as_ac_var+set}\" = set"; then
46117 echo $ECHO_N "(cached) $ECHO_C" >&6
46118 else
46119 if test x$gcc_no_link = xyes; then
46120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46122 { (exit 1); exit 1; }; }
46124 cat >conftest.$ac_ext <<_ACEOF
46125 /* confdefs.h. */
46126 _ACEOF
46127 cat confdefs.h >>conftest.$ac_ext
46128 cat >>conftest.$ac_ext <<_ACEOF
46129 /* end confdefs.h. */
46130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46132 #define $ac_func innocuous_$ac_func
46134 /* System header to define __stub macros and hopefully few prototypes,
46135 which can conflict with char $ac_func (); below.
46136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46137 <limits.h> exists even on freestanding compilers. */
46139 #ifdef __STDC__
46140 # include <limits.h>
46141 #else
46142 # include <assert.h>
46143 #endif
46145 #undef $ac_func
46147 /* Override any gcc2 internal prototype to avoid an error. */
46148 #ifdef __cplusplus
46149 extern "C"
46151 #endif
46152 /* We use char because int might match the return type of a gcc2
46153 builtin and then its argument prototype would still apply. */
46154 char $ac_func ();
46155 /* The GNU C library defines this for functions which it implements
46156 to always fail with ENOSYS. Some functions are actually named
46157 something starting with __ and the normal name is an alias. */
46158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46159 choke me
46160 #else
46161 char (*f) () = $ac_func;
46162 #endif
46163 #ifdef __cplusplus
46165 #endif
46168 main ()
46170 return f != $ac_func;
46172 return 0;
46174 _ACEOF
46175 rm -f conftest.$ac_objext conftest$ac_exeext
46176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46177 (eval $ac_link) 2>conftest.er1
46178 ac_status=$?
46179 grep -v '^ *+' conftest.er1 >conftest.err
46180 rm -f conftest.er1
46181 cat conftest.err >&5
46182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46183 (exit $ac_status); } &&
46184 { ac_try='test -z "$ac_c_werror_flag"
46185 || test ! -s conftest.err'
46186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46187 (eval $ac_try) 2>&5
46188 ac_status=$?
46189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46190 (exit $ac_status); }; } &&
46191 { ac_try='test -s conftest$ac_exeext'
46192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46193 (eval $ac_try) 2>&5
46194 ac_status=$?
46195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46196 (exit $ac_status); }; }; then
46197 eval "$as_ac_var=yes"
46198 else
46199 echo "$as_me: failed program was:" >&5
46200 sed 's/^/| /' conftest.$ac_ext >&5
46202 eval "$as_ac_var=no"
46204 rm -f conftest.err conftest.$ac_objext \
46205 conftest$ac_exeext conftest.$ac_ext
46207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46209 if test `eval echo '${'$as_ac_var'}'` = yes; then
46210 cat >>confdefs.h <<_ACEOF
46211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46212 _ACEOF
46215 done
46222 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
46223 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
46224 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46225 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
46226 echo $ECHO_N "(cached) $ECHO_C" >&6
46227 else
46231 ac_ext=cc
46232 ac_cpp='$CXXCPP $CPPFLAGS'
46233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46237 cat >conftest.$ac_ext <<_ACEOF
46238 /* confdefs.h. */
46239 _ACEOF
46240 cat confdefs.h >>conftest.$ac_ext
46241 cat >>conftest.$ac_ext <<_ACEOF
46242 /* end confdefs.h. */
46243 #include <math.h>
46245 main ()
46247 ldexpl(0, 0);
46249 return 0;
46251 _ACEOF
46252 rm -f conftest.$ac_objext
46253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46254 (eval $ac_compile) 2>conftest.er1
46255 ac_status=$?
46256 grep -v '^ *+' conftest.er1 >conftest.err
46257 rm -f conftest.er1
46258 cat conftest.err >&5
46259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46260 (exit $ac_status); } &&
46261 { ac_try='test -z "$ac_cxx_werror_flag"
46262 || test ! -s conftest.err'
46263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46264 (eval $ac_try) 2>&5
46265 ac_status=$?
46266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46267 (exit $ac_status); }; } &&
46268 { ac_try='test -s conftest.$ac_objext'
46269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46270 (eval $ac_try) 2>&5
46271 ac_status=$?
46272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46273 (exit $ac_status); }; }; then
46274 glibcxx_cv_func_ldexpl_use=yes
46275 else
46276 echo "$as_me: failed program was:" >&5
46277 sed 's/^/| /' conftest.$ac_ext >&5
46279 glibcxx_cv_func_ldexpl_use=no
46281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46282 ac_ext=c
46283 ac_cpp='$CPP $CPPFLAGS'
46284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46292 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
46293 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
46295 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46297 for ac_func in ldexpl
46299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46300 echo "$as_me:$LINENO: checking for $ac_func" >&5
46301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46302 if eval "test \"\${$as_ac_var+set}\" = set"; then
46303 echo $ECHO_N "(cached) $ECHO_C" >&6
46304 else
46305 if test x$gcc_no_link = xyes; then
46306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46308 { (exit 1); exit 1; }; }
46310 cat >conftest.$ac_ext <<_ACEOF
46311 /* confdefs.h. */
46312 _ACEOF
46313 cat confdefs.h >>conftest.$ac_ext
46314 cat >>conftest.$ac_ext <<_ACEOF
46315 /* end confdefs.h. */
46316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46318 #define $ac_func innocuous_$ac_func
46320 /* System header to define __stub macros and hopefully few prototypes,
46321 which can conflict with char $ac_func (); below.
46322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46323 <limits.h> exists even on freestanding compilers. */
46325 #ifdef __STDC__
46326 # include <limits.h>
46327 #else
46328 # include <assert.h>
46329 #endif
46331 #undef $ac_func
46333 /* Override any gcc2 internal prototype to avoid an error. */
46334 #ifdef __cplusplus
46335 extern "C"
46337 #endif
46338 /* We use char because int might match the return type of a gcc2
46339 builtin and then its argument prototype would still apply. */
46340 char $ac_func ();
46341 /* The GNU C library defines this for functions which it implements
46342 to always fail with ENOSYS. Some functions are actually named
46343 something starting with __ and the normal name is an alias. */
46344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46345 choke me
46346 #else
46347 char (*f) () = $ac_func;
46348 #endif
46349 #ifdef __cplusplus
46351 #endif
46354 main ()
46356 return f != $ac_func;
46358 return 0;
46360 _ACEOF
46361 rm -f conftest.$ac_objext conftest$ac_exeext
46362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46363 (eval $ac_link) 2>conftest.er1
46364 ac_status=$?
46365 grep -v '^ *+' conftest.er1 >conftest.err
46366 rm -f conftest.er1
46367 cat conftest.err >&5
46368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46369 (exit $ac_status); } &&
46370 { ac_try='test -z "$ac_c_werror_flag"
46371 || test ! -s conftest.err'
46372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46373 (eval $ac_try) 2>&5
46374 ac_status=$?
46375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46376 (exit $ac_status); }; } &&
46377 { ac_try='test -s conftest$ac_exeext'
46378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46379 (eval $ac_try) 2>&5
46380 ac_status=$?
46381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46382 (exit $ac_status); }; }; then
46383 eval "$as_ac_var=yes"
46384 else
46385 echo "$as_me: failed program was:" >&5
46386 sed 's/^/| /' conftest.$ac_ext >&5
46388 eval "$as_ac_var=no"
46390 rm -f conftest.err conftest.$ac_objext \
46391 conftest$ac_exeext conftest.$ac_ext
46393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46395 if test `eval echo '${'$as_ac_var'}'` = yes; then
46396 cat >>confdefs.h <<_ACEOF
46397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46398 _ACEOF
46401 done
46403 else
46405 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
46406 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
46407 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46408 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
46409 echo $ECHO_N "(cached) $ECHO_C" >&6
46410 else
46414 ac_ext=cc
46415 ac_cpp='$CXXCPP $CPPFLAGS'
46416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46420 cat >conftest.$ac_ext <<_ACEOF
46421 /* confdefs.h. */
46422 _ACEOF
46423 cat confdefs.h >>conftest.$ac_ext
46424 cat >>conftest.$ac_ext <<_ACEOF
46425 /* end confdefs.h. */
46426 #include <math.h>
46428 main ()
46430 _ldexpl(0, 0);
46432 return 0;
46434 _ACEOF
46435 rm -f conftest.$ac_objext
46436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46437 (eval $ac_compile) 2>conftest.er1
46438 ac_status=$?
46439 grep -v '^ *+' conftest.er1 >conftest.err
46440 rm -f conftest.er1
46441 cat conftest.err >&5
46442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46443 (exit $ac_status); } &&
46444 { ac_try='test -z "$ac_cxx_werror_flag"
46445 || test ! -s conftest.err'
46446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46447 (eval $ac_try) 2>&5
46448 ac_status=$?
46449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46450 (exit $ac_status); }; } &&
46451 { ac_try='test -s conftest.$ac_objext'
46452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46453 (eval $ac_try) 2>&5
46454 ac_status=$?
46455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46456 (exit $ac_status); }; }; then
46457 glibcxx_cv_func__ldexpl_use=yes
46458 else
46459 echo "$as_me: failed program was:" >&5
46460 sed 's/^/| /' conftest.$ac_ext >&5
46462 glibcxx_cv_func__ldexpl_use=no
46464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46465 ac_ext=c
46466 ac_cpp='$CPP $CPPFLAGS'
46467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46475 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
46476 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
46478 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46480 for ac_func in _ldexpl
46482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46483 echo "$as_me:$LINENO: checking for $ac_func" >&5
46484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46485 if eval "test \"\${$as_ac_var+set}\" = set"; then
46486 echo $ECHO_N "(cached) $ECHO_C" >&6
46487 else
46488 if test x$gcc_no_link = xyes; then
46489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46491 { (exit 1); exit 1; }; }
46493 cat >conftest.$ac_ext <<_ACEOF
46494 /* confdefs.h. */
46495 _ACEOF
46496 cat confdefs.h >>conftest.$ac_ext
46497 cat >>conftest.$ac_ext <<_ACEOF
46498 /* end confdefs.h. */
46499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46501 #define $ac_func innocuous_$ac_func
46503 /* System header to define __stub macros and hopefully few prototypes,
46504 which can conflict with char $ac_func (); below.
46505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46506 <limits.h> exists even on freestanding compilers. */
46508 #ifdef __STDC__
46509 # include <limits.h>
46510 #else
46511 # include <assert.h>
46512 #endif
46514 #undef $ac_func
46516 /* Override any gcc2 internal prototype to avoid an error. */
46517 #ifdef __cplusplus
46518 extern "C"
46520 #endif
46521 /* We use char because int might match the return type of a gcc2
46522 builtin and then its argument prototype would still apply. */
46523 char $ac_func ();
46524 /* The GNU C library defines this for functions which it implements
46525 to always fail with ENOSYS. Some functions are actually named
46526 something starting with __ and the normal name is an alias. */
46527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46528 choke me
46529 #else
46530 char (*f) () = $ac_func;
46531 #endif
46532 #ifdef __cplusplus
46534 #endif
46537 main ()
46539 return f != $ac_func;
46541 return 0;
46543 _ACEOF
46544 rm -f conftest.$ac_objext conftest$ac_exeext
46545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46546 (eval $ac_link) 2>conftest.er1
46547 ac_status=$?
46548 grep -v '^ *+' conftest.er1 >conftest.err
46549 rm -f conftest.er1
46550 cat conftest.err >&5
46551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46552 (exit $ac_status); } &&
46553 { ac_try='test -z "$ac_c_werror_flag"
46554 || test ! -s conftest.err'
46555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46556 (eval $ac_try) 2>&5
46557 ac_status=$?
46558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46559 (exit $ac_status); }; } &&
46560 { ac_try='test -s conftest$ac_exeext'
46561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46562 (eval $ac_try) 2>&5
46563 ac_status=$?
46564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46565 (exit $ac_status); }; }; then
46566 eval "$as_ac_var=yes"
46567 else
46568 echo "$as_me: failed program was:" >&5
46569 sed 's/^/| /' conftest.$ac_ext >&5
46571 eval "$as_ac_var=no"
46573 rm -f conftest.err conftest.$ac_objext \
46574 conftest$ac_exeext conftest.$ac_ext
46576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46578 if test `eval echo '${'$as_ac_var'}'` = yes; then
46579 cat >>confdefs.h <<_ACEOF
46580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46581 _ACEOF
46584 done
46591 echo "$as_me:$LINENO: checking for logl declaration" >&5
46592 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
46593 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46594 if test "${glibcxx_cv_func_logl_use+set}" = set; then
46595 echo $ECHO_N "(cached) $ECHO_C" >&6
46596 else
46600 ac_ext=cc
46601 ac_cpp='$CXXCPP $CPPFLAGS'
46602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46606 cat >conftest.$ac_ext <<_ACEOF
46607 /* confdefs.h. */
46608 _ACEOF
46609 cat confdefs.h >>conftest.$ac_ext
46610 cat >>conftest.$ac_ext <<_ACEOF
46611 /* end confdefs.h. */
46612 #include <math.h>
46613 #ifdef HAVE_IEEEFP_H
46614 #include <ieeefp.h>
46615 #endif
46618 main ()
46620 logl(0);
46622 return 0;
46624 _ACEOF
46625 rm -f conftest.$ac_objext
46626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46627 (eval $ac_compile) 2>conftest.er1
46628 ac_status=$?
46629 grep -v '^ *+' conftest.er1 >conftest.err
46630 rm -f conftest.er1
46631 cat conftest.err >&5
46632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46633 (exit $ac_status); } &&
46634 { ac_try='test -z "$ac_cxx_werror_flag"
46635 || test ! -s conftest.err'
46636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46637 (eval $ac_try) 2>&5
46638 ac_status=$?
46639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46640 (exit $ac_status); }; } &&
46641 { ac_try='test -s conftest.$ac_objext'
46642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46643 (eval $ac_try) 2>&5
46644 ac_status=$?
46645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46646 (exit $ac_status); }; }; then
46647 glibcxx_cv_func_logl_use=yes
46648 else
46649 echo "$as_me: failed program was:" >&5
46650 sed 's/^/| /' conftest.$ac_ext >&5
46652 glibcxx_cv_func_logl_use=no
46654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46655 ac_ext=c
46656 ac_cpp='$CPP $CPPFLAGS'
46657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46665 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
46666 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
46668 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46670 for ac_func in logl
46672 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46673 echo "$as_me:$LINENO: checking for $ac_func" >&5
46674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46675 if eval "test \"\${$as_ac_var+set}\" = set"; then
46676 echo $ECHO_N "(cached) $ECHO_C" >&6
46677 else
46678 if test x$gcc_no_link = xyes; then
46679 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46681 { (exit 1); exit 1; }; }
46683 cat >conftest.$ac_ext <<_ACEOF
46684 /* confdefs.h. */
46685 _ACEOF
46686 cat confdefs.h >>conftest.$ac_ext
46687 cat >>conftest.$ac_ext <<_ACEOF
46688 /* end confdefs.h. */
46689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46691 #define $ac_func innocuous_$ac_func
46693 /* System header to define __stub macros and hopefully few prototypes,
46694 which can conflict with char $ac_func (); below.
46695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46696 <limits.h> exists even on freestanding compilers. */
46698 #ifdef __STDC__
46699 # include <limits.h>
46700 #else
46701 # include <assert.h>
46702 #endif
46704 #undef $ac_func
46706 /* Override any gcc2 internal prototype to avoid an error. */
46707 #ifdef __cplusplus
46708 extern "C"
46710 #endif
46711 /* We use char because int might match the return type of a gcc2
46712 builtin and then its argument prototype would still apply. */
46713 char $ac_func ();
46714 /* The GNU C library defines this for functions which it implements
46715 to always fail with ENOSYS. Some functions are actually named
46716 something starting with __ and the normal name is an alias. */
46717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46718 choke me
46719 #else
46720 char (*f) () = $ac_func;
46721 #endif
46722 #ifdef __cplusplus
46724 #endif
46727 main ()
46729 return f != $ac_func;
46731 return 0;
46733 _ACEOF
46734 rm -f conftest.$ac_objext conftest$ac_exeext
46735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46736 (eval $ac_link) 2>conftest.er1
46737 ac_status=$?
46738 grep -v '^ *+' conftest.er1 >conftest.err
46739 rm -f conftest.er1
46740 cat conftest.err >&5
46741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46742 (exit $ac_status); } &&
46743 { ac_try='test -z "$ac_c_werror_flag"
46744 || test ! -s conftest.err'
46745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46746 (eval $ac_try) 2>&5
46747 ac_status=$?
46748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46749 (exit $ac_status); }; } &&
46750 { ac_try='test -s conftest$ac_exeext'
46751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46752 (eval $ac_try) 2>&5
46753 ac_status=$?
46754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46755 (exit $ac_status); }; }; then
46756 eval "$as_ac_var=yes"
46757 else
46758 echo "$as_me: failed program was:" >&5
46759 sed 's/^/| /' conftest.$ac_ext >&5
46761 eval "$as_ac_var=no"
46763 rm -f conftest.err conftest.$ac_objext \
46764 conftest$ac_exeext conftest.$ac_ext
46766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46768 if test `eval echo '${'$as_ac_var'}'` = yes; then
46769 cat >>confdefs.h <<_ACEOF
46770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46771 _ACEOF
46774 done
46776 else
46778 echo "$as_me:$LINENO: checking for _logl declaration" >&5
46779 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
46780 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46781 if test "${glibcxx_cv_func__logl_use+set}" = set; then
46782 echo $ECHO_N "(cached) $ECHO_C" >&6
46783 else
46787 ac_ext=cc
46788 ac_cpp='$CXXCPP $CPPFLAGS'
46789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46793 cat >conftest.$ac_ext <<_ACEOF
46794 /* confdefs.h. */
46795 _ACEOF
46796 cat confdefs.h >>conftest.$ac_ext
46797 cat >>conftest.$ac_ext <<_ACEOF
46798 /* end confdefs.h. */
46799 #include <math.h>
46800 #ifdef HAVE_IEEEFP_H
46801 #include <ieeefp.h>
46802 #endif
46805 main ()
46807 _logl(0);
46809 return 0;
46811 _ACEOF
46812 rm -f conftest.$ac_objext
46813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46814 (eval $ac_compile) 2>conftest.er1
46815 ac_status=$?
46816 grep -v '^ *+' conftest.er1 >conftest.err
46817 rm -f conftest.er1
46818 cat conftest.err >&5
46819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46820 (exit $ac_status); } &&
46821 { ac_try='test -z "$ac_cxx_werror_flag"
46822 || test ! -s conftest.err'
46823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46824 (eval $ac_try) 2>&5
46825 ac_status=$?
46826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46827 (exit $ac_status); }; } &&
46828 { ac_try='test -s conftest.$ac_objext'
46829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46830 (eval $ac_try) 2>&5
46831 ac_status=$?
46832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46833 (exit $ac_status); }; }; then
46834 glibcxx_cv_func__logl_use=yes
46835 else
46836 echo "$as_me: failed program was:" >&5
46837 sed 's/^/| /' conftest.$ac_ext >&5
46839 glibcxx_cv_func__logl_use=no
46841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46842 ac_ext=c
46843 ac_cpp='$CPP $CPPFLAGS'
46844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46852 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
46853 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
46855 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46857 for ac_func in _logl
46859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46860 echo "$as_me:$LINENO: checking for $ac_func" >&5
46861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46862 if eval "test \"\${$as_ac_var+set}\" = set"; then
46863 echo $ECHO_N "(cached) $ECHO_C" >&6
46864 else
46865 if test x$gcc_no_link = xyes; then
46866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46868 { (exit 1); exit 1; }; }
46870 cat >conftest.$ac_ext <<_ACEOF
46871 /* confdefs.h. */
46872 _ACEOF
46873 cat confdefs.h >>conftest.$ac_ext
46874 cat >>conftest.$ac_ext <<_ACEOF
46875 /* end confdefs.h. */
46876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46878 #define $ac_func innocuous_$ac_func
46880 /* System header to define __stub macros and hopefully few prototypes,
46881 which can conflict with char $ac_func (); below.
46882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46883 <limits.h> exists even on freestanding compilers. */
46885 #ifdef __STDC__
46886 # include <limits.h>
46887 #else
46888 # include <assert.h>
46889 #endif
46891 #undef $ac_func
46893 /* Override any gcc2 internal prototype to avoid an error. */
46894 #ifdef __cplusplus
46895 extern "C"
46897 #endif
46898 /* We use char because int might match the return type of a gcc2
46899 builtin and then its argument prototype would still apply. */
46900 char $ac_func ();
46901 /* The GNU C library defines this for functions which it implements
46902 to always fail with ENOSYS. Some functions are actually named
46903 something starting with __ and the normal name is an alias. */
46904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46905 choke me
46906 #else
46907 char (*f) () = $ac_func;
46908 #endif
46909 #ifdef __cplusplus
46911 #endif
46914 main ()
46916 return f != $ac_func;
46918 return 0;
46920 _ACEOF
46921 rm -f conftest.$ac_objext conftest$ac_exeext
46922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46923 (eval $ac_link) 2>conftest.er1
46924 ac_status=$?
46925 grep -v '^ *+' conftest.er1 >conftest.err
46926 rm -f conftest.er1
46927 cat conftest.err >&5
46928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46929 (exit $ac_status); } &&
46930 { ac_try='test -z "$ac_c_werror_flag"
46931 || test ! -s conftest.err'
46932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46933 (eval $ac_try) 2>&5
46934 ac_status=$?
46935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46936 (exit $ac_status); }; } &&
46937 { ac_try='test -s conftest$ac_exeext'
46938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46939 (eval $ac_try) 2>&5
46940 ac_status=$?
46941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46942 (exit $ac_status); }; }; then
46943 eval "$as_ac_var=yes"
46944 else
46945 echo "$as_me: failed program was:" >&5
46946 sed 's/^/| /' conftest.$ac_ext >&5
46948 eval "$as_ac_var=no"
46950 rm -f conftest.err conftest.$ac_objext \
46951 conftest$ac_exeext conftest.$ac_ext
46953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46955 if test `eval echo '${'$as_ac_var'}'` = yes; then
46956 cat >>confdefs.h <<_ACEOF
46957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46958 _ACEOF
46961 done
46968 echo "$as_me:$LINENO: checking for log10l declaration" >&5
46969 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
46970 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46971 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
46972 echo $ECHO_N "(cached) $ECHO_C" >&6
46973 else
46977 ac_ext=cc
46978 ac_cpp='$CXXCPP $CPPFLAGS'
46979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46983 cat >conftest.$ac_ext <<_ACEOF
46984 /* confdefs.h. */
46985 _ACEOF
46986 cat confdefs.h >>conftest.$ac_ext
46987 cat >>conftest.$ac_ext <<_ACEOF
46988 /* end confdefs.h. */
46989 #include <math.h>
46990 #ifdef HAVE_IEEEFP_H
46991 #include <ieeefp.h>
46992 #endif
46995 main ()
46997 log10l(0);
46999 return 0;
47001 _ACEOF
47002 rm -f conftest.$ac_objext
47003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47004 (eval $ac_compile) 2>conftest.er1
47005 ac_status=$?
47006 grep -v '^ *+' conftest.er1 >conftest.err
47007 rm -f conftest.er1
47008 cat conftest.err >&5
47009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47010 (exit $ac_status); } &&
47011 { ac_try='test -z "$ac_cxx_werror_flag"
47012 || test ! -s conftest.err'
47013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47014 (eval $ac_try) 2>&5
47015 ac_status=$?
47016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47017 (exit $ac_status); }; } &&
47018 { ac_try='test -s conftest.$ac_objext'
47019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47020 (eval $ac_try) 2>&5
47021 ac_status=$?
47022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47023 (exit $ac_status); }; }; then
47024 glibcxx_cv_func_log10l_use=yes
47025 else
47026 echo "$as_me: failed program was:" >&5
47027 sed 's/^/| /' conftest.$ac_ext >&5
47029 glibcxx_cv_func_log10l_use=no
47031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47032 ac_ext=c
47033 ac_cpp='$CPP $CPPFLAGS'
47034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47042 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
47043 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
47045 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
47047 for ac_func in log10l
47049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47050 echo "$as_me:$LINENO: checking for $ac_func" >&5
47051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47052 if eval "test \"\${$as_ac_var+set}\" = set"; then
47053 echo $ECHO_N "(cached) $ECHO_C" >&6
47054 else
47055 if test x$gcc_no_link = xyes; then
47056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47058 { (exit 1); exit 1; }; }
47060 cat >conftest.$ac_ext <<_ACEOF
47061 /* confdefs.h. */
47062 _ACEOF
47063 cat confdefs.h >>conftest.$ac_ext
47064 cat >>conftest.$ac_ext <<_ACEOF
47065 /* end confdefs.h. */
47066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47068 #define $ac_func innocuous_$ac_func
47070 /* System header to define __stub macros and hopefully few prototypes,
47071 which can conflict with char $ac_func (); below.
47072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47073 <limits.h> exists even on freestanding compilers. */
47075 #ifdef __STDC__
47076 # include <limits.h>
47077 #else
47078 # include <assert.h>
47079 #endif
47081 #undef $ac_func
47083 /* Override any gcc2 internal prototype to avoid an error. */
47084 #ifdef __cplusplus
47085 extern "C"
47087 #endif
47088 /* We use char because int might match the return type of a gcc2
47089 builtin and then its argument prototype would still apply. */
47090 char $ac_func ();
47091 /* The GNU C library defines this for functions which it implements
47092 to always fail with ENOSYS. Some functions are actually named
47093 something starting with __ and the normal name is an alias. */
47094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47095 choke me
47096 #else
47097 char (*f) () = $ac_func;
47098 #endif
47099 #ifdef __cplusplus
47101 #endif
47104 main ()
47106 return f != $ac_func;
47108 return 0;
47110 _ACEOF
47111 rm -f conftest.$ac_objext conftest$ac_exeext
47112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47113 (eval $ac_link) 2>conftest.er1
47114 ac_status=$?
47115 grep -v '^ *+' conftest.er1 >conftest.err
47116 rm -f conftest.er1
47117 cat conftest.err >&5
47118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47119 (exit $ac_status); } &&
47120 { ac_try='test -z "$ac_c_werror_flag"
47121 || test ! -s conftest.err'
47122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47123 (eval $ac_try) 2>&5
47124 ac_status=$?
47125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47126 (exit $ac_status); }; } &&
47127 { ac_try='test -s conftest$ac_exeext'
47128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47129 (eval $ac_try) 2>&5
47130 ac_status=$?
47131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47132 (exit $ac_status); }; }; then
47133 eval "$as_ac_var=yes"
47134 else
47135 echo "$as_me: failed program was:" >&5
47136 sed 's/^/| /' conftest.$ac_ext >&5
47138 eval "$as_ac_var=no"
47140 rm -f conftest.err conftest.$ac_objext \
47141 conftest$ac_exeext conftest.$ac_ext
47143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47145 if test `eval echo '${'$as_ac_var'}'` = yes; then
47146 cat >>confdefs.h <<_ACEOF
47147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47148 _ACEOF
47151 done
47153 else
47155 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
47156 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
47157 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
47158 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
47159 echo $ECHO_N "(cached) $ECHO_C" >&6
47160 else
47164 ac_ext=cc
47165 ac_cpp='$CXXCPP $CPPFLAGS'
47166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47170 cat >conftest.$ac_ext <<_ACEOF
47171 /* confdefs.h. */
47172 _ACEOF
47173 cat confdefs.h >>conftest.$ac_ext
47174 cat >>conftest.$ac_ext <<_ACEOF
47175 /* end confdefs.h. */
47176 #include <math.h>
47177 #ifdef HAVE_IEEEFP_H
47178 #include <ieeefp.h>
47179 #endif
47182 main ()
47184 _log10l(0);
47186 return 0;
47188 _ACEOF
47189 rm -f conftest.$ac_objext
47190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47191 (eval $ac_compile) 2>conftest.er1
47192 ac_status=$?
47193 grep -v '^ *+' conftest.er1 >conftest.err
47194 rm -f conftest.er1
47195 cat conftest.err >&5
47196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47197 (exit $ac_status); } &&
47198 { ac_try='test -z "$ac_cxx_werror_flag"
47199 || test ! -s conftest.err'
47200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47201 (eval $ac_try) 2>&5
47202 ac_status=$?
47203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47204 (exit $ac_status); }; } &&
47205 { ac_try='test -s conftest.$ac_objext'
47206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47207 (eval $ac_try) 2>&5
47208 ac_status=$?
47209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47210 (exit $ac_status); }; }; then
47211 glibcxx_cv_func__log10l_use=yes
47212 else
47213 echo "$as_me: failed program was:" >&5
47214 sed 's/^/| /' conftest.$ac_ext >&5
47216 glibcxx_cv_func__log10l_use=no
47218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47219 ac_ext=c
47220 ac_cpp='$CPP $CPPFLAGS'
47221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47229 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
47230 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
47232 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
47234 for ac_func in _log10l
47236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47237 echo "$as_me:$LINENO: checking for $ac_func" >&5
47238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47239 if eval "test \"\${$as_ac_var+set}\" = set"; then
47240 echo $ECHO_N "(cached) $ECHO_C" >&6
47241 else
47242 if test x$gcc_no_link = xyes; then
47243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47245 { (exit 1); exit 1; }; }
47247 cat >conftest.$ac_ext <<_ACEOF
47248 /* confdefs.h. */
47249 _ACEOF
47250 cat confdefs.h >>conftest.$ac_ext
47251 cat >>conftest.$ac_ext <<_ACEOF
47252 /* end confdefs.h. */
47253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47255 #define $ac_func innocuous_$ac_func
47257 /* System header to define __stub macros and hopefully few prototypes,
47258 which can conflict with char $ac_func (); below.
47259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47260 <limits.h> exists even on freestanding compilers. */
47262 #ifdef __STDC__
47263 # include <limits.h>
47264 #else
47265 # include <assert.h>
47266 #endif
47268 #undef $ac_func
47270 /* Override any gcc2 internal prototype to avoid an error. */
47271 #ifdef __cplusplus
47272 extern "C"
47274 #endif
47275 /* We use char because int might match the return type of a gcc2
47276 builtin and then its argument prototype would still apply. */
47277 char $ac_func ();
47278 /* The GNU C library defines this for functions which it implements
47279 to always fail with ENOSYS. Some functions are actually named
47280 something starting with __ and the normal name is an alias. */
47281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47282 choke me
47283 #else
47284 char (*f) () = $ac_func;
47285 #endif
47286 #ifdef __cplusplus
47288 #endif
47291 main ()
47293 return f != $ac_func;
47295 return 0;
47297 _ACEOF
47298 rm -f conftest.$ac_objext conftest$ac_exeext
47299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47300 (eval $ac_link) 2>conftest.er1
47301 ac_status=$?
47302 grep -v '^ *+' conftest.er1 >conftest.err
47303 rm -f conftest.er1
47304 cat conftest.err >&5
47305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47306 (exit $ac_status); } &&
47307 { ac_try='test -z "$ac_c_werror_flag"
47308 || test ! -s conftest.err'
47309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47310 (eval $ac_try) 2>&5
47311 ac_status=$?
47312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47313 (exit $ac_status); }; } &&
47314 { ac_try='test -s conftest$ac_exeext'
47315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47316 (eval $ac_try) 2>&5
47317 ac_status=$?
47318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47319 (exit $ac_status); }; }; then
47320 eval "$as_ac_var=yes"
47321 else
47322 echo "$as_me: failed program was:" >&5
47323 sed 's/^/| /' conftest.$ac_ext >&5
47325 eval "$as_ac_var=no"
47327 rm -f conftest.err conftest.$ac_objext \
47328 conftest$ac_exeext conftest.$ac_ext
47330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47332 if test `eval echo '${'$as_ac_var'}'` = yes; then
47333 cat >>confdefs.h <<_ACEOF
47334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47335 _ACEOF
47338 done
47345 echo "$as_me:$LINENO: checking for modfl declaration" >&5
47346 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
47347 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
47348 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
47349 echo $ECHO_N "(cached) $ECHO_C" >&6
47350 else
47354 ac_ext=cc
47355 ac_cpp='$CXXCPP $CPPFLAGS'
47356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47360 cat >conftest.$ac_ext <<_ACEOF
47361 /* confdefs.h. */
47362 _ACEOF
47363 cat confdefs.h >>conftest.$ac_ext
47364 cat >>conftest.$ac_ext <<_ACEOF
47365 /* end confdefs.h. */
47366 #include <math.h>
47368 main ()
47370 modfl(0, 0);
47372 return 0;
47374 _ACEOF
47375 rm -f conftest.$ac_objext
47376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47377 (eval $ac_compile) 2>conftest.er1
47378 ac_status=$?
47379 grep -v '^ *+' conftest.er1 >conftest.err
47380 rm -f conftest.er1
47381 cat conftest.err >&5
47382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47383 (exit $ac_status); } &&
47384 { ac_try='test -z "$ac_cxx_werror_flag"
47385 || test ! -s conftest.err'
47386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47387 (eval $ac_try) 2>&5
47388 ac_status=$?
47389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47390 (exit $ac_status); }; } &&
47391 { ac_try='test -s conftest.$ac_objext'
47392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47393 (eval $ac_try) 2>&5
47394 ac_status=$?
47395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47396 (exit $ac_status); }; }; then
47397 glibcxx_cv_func_modfl_use=yes
47398 else
47399 echo "$as_me: failed program was:" >&5
47400 sed 's/^/| /' conftest.$ac_ext >&5
47402 glibcxx_cv_func_modfl_use=no
47404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47405 ac_ext=c
47406 ac_cpp='$CPP $CPPFLAGS'
47407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47415 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
47416 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
47418 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
47420 for ac_func in modfl
47422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47423 echo "$as_me:$LINENO: checking for $ac_func" >&5
47424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47425 if eval "test \"\${$as_ac_var+set}\" = set"; then
47426 echo $ECHO_N "(cached) $ECHO_C" >&6
47427 else
47428 if test x$gcc_no_link = xyes; then
47429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47431 { (exit 1); exit 1; }; }
47433 cat >conftest.$ac_ext <<_ACEOF
47434 /* confdefs.h. */
47435 _ACEOF
47436 cat confdefs.h >>conftest.$ac_ext
47437 cat >>conftest.$ac_ext <<_ACEOF
47438 /* end confdefs.h. */
47439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47441 #define $ac_func innocuous_$ac_func
47443 /* System header to define __stub macros and hopefully few prototypes,
47444 which can conflict with char $ac_func (); below.
47445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47446 <limits.h> exists even on freestanding compilers. */
47448 #ifdef __STDC__
47449 # include <limits.h>
47450 #else
47451 # include <assert.h>
47452 #endif
47454 #undef $ac_func
47456 /* Override any gcc2 internal prototype to avoid an error. */
47457 #ifdef __cplusplus
47458 extern "C"
47460 #endif
47461 /* We use char because int might match the return type of a gcc2
47462 builtin and then its argument prototype would still apply. */
47463 char $ac_func ();
47464 /* The GNU C library defines this for functions which it implements
47465 to always fail with ENOSYS. Some functions are actually named
47466 something starting with __ and the normal name is an alias. */
47467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47468 choke me
47469 #else
47470 char (*f) () = $ac_func;
47471 #endif
47472 #ifdef __cplusplus
47474 #endif
47477 main ()
47479 return f != $ac_func;
47481 return 0;
47483 _ACEOF
47484 rm -f conftest.$ac_objext conftest$ac_exeext
47485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47486 (eval $ac_link) 2>conftest.er1
47487 ac_status=$?
47488 grep -v '^ *+' conftest.er1 >conftest.err
47489 rm -f conftest.er1
47490 cat conftest.err >&5
47491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47492 (exit $ac_status); } &&
47493 { ac_try='test -z "$ac_c_werror_flag"
47494 || test ! -s conftest.err'
47495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47496 (eval $ac_try) 2>&5
47497 ac_status=$?
47498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47499 (exit $ac_status); }; } &&
47500 { ac_try='test -s conftest$ac_exeext'
47501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47502 (eval $ac_try) 2>&5
47503 ac_status=$?
47504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47505 (exit $ac_status); }; }; then
47506 eval "$as_ac_var=yes"
47507 else
47508 echo "$as_me: failed program was:" >&5
47509 sed 's/^/| /' conftest.$ac_ext >&5
47511 eval "$as_ac_var=no"
47513 rm -f conftest.err conftest.$ac_objext \
47514 conftest$ac_exeext conftest.$ac_ext
47516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47518 if test `eval echo '${'$as_ac_var'}'` = yes; then
47519 cat >>confdefs.h <<_ACEOF
47520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47521 _ACEOF
47524 done
47526 else
47528 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
47529 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
47530 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
47531 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
47532 echo $ECHO_N "(cached) $ECHO_C" >&6
47533 else
47537 ac_ext=cc
47538 ac_cpp='$CXXCPP $CPPFLAGS'
47539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47543 cat >conftest.$ac_ext <<_ACEOF
47544 /* confdefs.h. */
47545 _ACEOF
47546 cat confdefs.h >>conftest.$ac_ext
47547 cat >>conftest.$ac_ext <<_ACEOF
47548 /* end confdefs.h. */
47549 #include <math.h>
47551 main ()
47553 _modfl(0, 0);
47555 return 0;
47557 _ACEOF
47558 rm -f conftest.$ac_objext
47559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47560 (eval $ac_compile) 2>conftest.er1
47561 ac_status=$?
47562 grep -v '^ *+' conftest.er1 >conftest.err
47563 rm -f conftest.er1
47564 cat conftest.err >&5
47565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47566 (exit $ac_status); } &&
47567 { ac_try='test -z "$ac_cxx_werror_flag"
47568 || test ! -s conftest.err'
47569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47570 (eval $ac_try) 2>&5
47571 ac_status=$?
47572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47573 (exit $ac_status); }; } &&
47574 { ac_try='test -s conftest.$ac_objext'
47575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47576 (eval $ac_try) 2>&5
47577 ac_status=$?
47578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47579 (exit $ac_status); }; }; then
47580 glibcxx_cv_func__modfl_use=yes
47581 else
47582 echo "$as_me: failed program was:" >&5
47583 sed 's/^/| /' conftest.$ac_ext >&5
47585 glibcxx_cv_func__modfl_use=no
47587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47588 ac_ext=c
47589 ac_cpp='$CPP $CPPFLAGS'
47590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47598 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
47599 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
47601 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
47603 for ac_func in _modfl
47605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47606 echo "$as_me:$LINENO: checking for $ac_func" >&5
47607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47608 if eval "test \"\${$as_ac_var+set}\" = set"; then
47609 echo $ECHO_N "(cached) $ECHO_C" >&6
47610 else
47611 if test x$gcc_no_link = xyes; then
47612 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47614 { (exit 1); exit 1; }; }
47616 cat >conftest.$ac_ext <<_ACEOF
47617 /* confdefs.h. */
47618 _ACEOF
47619 cat confdefs.h >>conftest.$ac_ext
47620 cat >>conftest.$ac_ext <<_ACEOF
47621 /* end confdefs.h. */
47622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47624 #define $ac_func innocuous_$ac_func
47626 /* System header to define __stub macros and hopefully few prototypes,
47627 which can conflict with char $ac_func (); below.
47628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47629 <limits.h> exists even on freestanding compilers. */
47631 #ifdef __STDC__
47632 # include <limits.h>
47633 #else
47634 # include <assert.h>
47635 #endif
47637 #undef $ac_func
47639 /* Override any gcc2 internal prototype to avoid an error. */
47640 #ifdef __cplusplus
47641 extern "C"
47643 #endif
47644 /* We use char because int might match the return type of a gcc2
47645 builtin and then its argument prototype would still apply. */
47646 char $ac_func ();
47647 /* The GNU C library defines this for functions which it implements
47648 to always fail with ENOSYS. Some functions are actually named
47649 something starting with __ and the normal name is an alias. */
47650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47651 choke me
47652 #else
47653 char (*f) () = $ac_func;
47654 #endif
47655 #ifdef __cplusplus
47657 #endif
47660 main ()
47662 return f != $ac_func;
47664 return 0;
47666 _ACEOF
47667 rm -f conftest.$ac_objext conftest$ac_exeext
47668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47669 (eval $ac_link) 2>conftest.er1
47670 ac_status=$?
47671 grep -v '^ *+' conftest.er1 >conftest.err
47672 rm -f conftest.er1
47673 cat conftest.err >&5
47674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47675 (exit $ac_status); } &&
47676 { ac_try='test -z "$ac_c_werror_flag"
47677 || test ! -s conftest.err'
47678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47679 (eval $ac_try) 2>&5
47680 ac_status=$?
47681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47682 (exit $ac_status); }; } &&
47683 { ac_try='test -s conftest$ac_exeext'
47684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47685 (eval $ac_try) 2>&5
47686 ac_status=$?
47687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47688 (exit $ac_status); }; }; then
47689 eval "$as_ac_var=yes"
47690 else
47691 echo "$as_me: failed program was:" >&5
47692 sed 's/^/| /' conftest.$ac_ext >&5
47694 eval "$as_ac_var=no"
47696 rm -f conftest.err conftest.$ac_objext \
47697 conftest$ac_exeext conftest.$ac_ext
47699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47701 if test `eval echo '${'$as_ac_var'}'` = yes; then
47702 cat >>confdefs.h <<_ACEOF
47703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47704 _ACEOF
47707 done
47714 echo "$as_me:$LINENO: checking for powl declaration" >&5
47715 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
47716 if test x${glibcxx_cv_func_powl_use+set} != xset; then
47717 if test "${glibcxx_cv_func_powl_use+set}" = set; then
47718 echo $ECHO_N "(cached) $ECHO_C" >&6
47719 else
47723 ac_ext=cc
47724 ac_cpp='$CXXCPP $CPPFLAGS'
47725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47729 cat >conftest.$ac_ext <<_ACEOF
47730 /* confdefs.h. */
47731 _ACEOF
47732 cat confdefs.h >>conftest.$ac_ext
47733 cat >>conftest.$ac_ext <<_ACEOF
47734 /* end confdefs.h. */
47735 #include <math.h>
47737 main ()
47739 powl(0, 0);
47741 return 0;
47743 _ACEOF
47744 rm -f conftest.$ac_objext
47745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47746 (eval $ac_compile) 2>conftest.er1
47747 ac_status=$?
47748 grep -v '^ *+' conftest.er1 >conftest.err
47749 rm -f conftest.er1
47750 cat conftest.err >&5
47751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47752 (exit $ac_status); } &&
47753 { ac_try='test -z "$ac_cxx_werror_flag"
47754 || test ! -s conftest.err'
47755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47756 (eval $ac_try) 2>&5
47757 ac_status=$?
47758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47759 (exit $ac_status); }; } &&
47760 { ac_try='test -s conftest.$ac_objext'
47761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47762 (eval $ac_try) 2>&5
47763 ac_status=$?
47764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47765 (exit $ac_status); }; }; then
47766 glibcxx_cv_func_powl_use=yes
47767 else
47768 echo "$as_me: failed program was:" >&5
47769 sed 's/^/| /' conftest.$ac_ext >&5
47771 glibcxx_cv_func_powl_use=no
47773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47774 ac_ext=c
47775 ac_cpp='$CPP $CPPFLAGS'
47776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47784 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
47785 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
47787 if test x$glibcxx_cv_func_powl_use = x"yes"; then
47789 for ac_func in powl
47791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47792 echo "$as_me:$LINENO: checking for $ac_func" >&5
47793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47794 if eval "test \"\${$as_ac_var+set}\" = set"; then
47795 echo $ECHO_N "(cached) $ECHO_C" >&6
47796 else
47797 if test x$gcc_no_link = xyes; then
47798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47800 { (exit 1); exit 1; }; }
47802 cat >conftest.$ac_ext <<_ACEOF
47803 /* confdefs.h. */
47804 _ACEOF
47805 cat confdefs.h >>conftest.$ac_ext
47806 cat >>conftest.$ac_ext <<_ACEOF
47807 /* end confdefs.h. */
47808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47810 #define $ac_func innocuous_$ac_func
47812 /* System header to define __stub macros and hopefully few prototypes,
47813 which can conflict with char $ac_func (); below.
47814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47815 <limits.h> exists even on freestanding compilers. */
47817 #ifdef __STDC__
47818 # include <limits.h>
47819 #else
47820 # include <assert.h>
47821 #endif
47823 #undef $ac_func
47825 /* Override any gcc2 internal prototype to avoid an error. */
47826 #ifdef __cplusplus
47827 extern "C"
47829 #endif
47830 /* We use char because int might match the return type of a gcc2
47831 builtin and then its argument prototype would still apply. */
47832 char $ac_func ();
47833 /* The GNU C library defines this for functions which it implements
47834 to always fail with ENOSYS. Some functions are actually named
47835 something starting with __ and the normal name is an alias. */
47836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47837 choke me
47838 #else
47839 char (*f) () = $ac_func;
47840 #endif
47841 #ifdef __cplusplus
47843 #endif
47846 main ()
47848 return f != $ac_func;
47850 return 0;
47852 _ACEOF
47853 rm -f conftest.$ac_objext conftest$ac_exeext
47854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47855 (eval $ac_link) 2>conftest.er1
47856 ac_status=$?
47857 grep -v '^ *+' conftest.er1 >conftest.err
47858 rm -f conftest.er1
47859 cat conftest.err >&5
47860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47861 (exit $ac_status); } &&
47862 { ac_try='test -z "$ac_c_werror_flag"
47863 || test ! -s conftest.err'
47864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47865 (eval $ac_try) 2>&5
47866 ac_status=$?
47867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47868 (exit $ac_status); }; } &&
47869 { ac_try='test -s conftest$ac_exeext'
47870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47871 (eval $ac_try) 2>&5
47872 ac_status=$?
47873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47874 (exit $ac_status); }; }; then
47875 eval "$as_ac_var=yes"
47876 else
47877 echo "$as_me: failed program was:" >&5
47878 sed 's/^/| /' conftest.$ac_ext >&5
47880 eval "$as_ac_var=no"
47882 rm -f conftest.err conftest.$ac_objext \
47883 conftest$ac_exeext conftest.$ac_ext
47885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47887 if test `eval echo '${'$as_ac_var'}'` = yes; then
47888 cat >>confdefs.h <<_ACEOF
47889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47890 _ACEOF
47893 done
47895 else
47897 echo "$as_me:$LINENO: checking for _powl declaration" >&5
47898 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
47899 if test x${glibcxx_cv_func__powl_use+set} != xset; then
47900 if test "${glibcxx_cv_func__powl_use+set}" = set; then
47901 echo $ECHO_N "(cached) $ECHO_C" >&6
47902 else
47906 ac_ext=cc
47907 ac_cpp='$CXXCPP $CPPFLAGS'
47908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47912 cat >conftest.$ac_ext <<_ACEOF
47913 /* confdefs.h. */
47914 _ACEOF
47915 cat confdefs.h >>conftest.$ac_ext
47916 cat >>conftest.$ac_ext <<_ACEOF
47917 /* end confdefs.h. */
47918 #include <math.h>
47920 main ()
47922 _powl(0, 0);
47924 return 0;
47926 _ACEOF
47927 rm -f conftest.$ac_objext
47928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47929 (eval $ac_compile) 2>conftest.er1
47930 ac_status=$?
47931 grep -v '^ *+' conftest.er1 >conftest.err
47932 rm -f conftest.er1
47933 cat conftest.err >&5
47934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47935 (exit $ac_status); } &&
47936 { ac_try='test -z "$ac_cxx_werror_flag"
47937 || test ! -s conftest.err'
47938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47939 (eval $ac_try) 2>&5
47940 ac_status=$?
47941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47942 (exit $ac_status); }; } &&
47943 { ac_try='test -s conftest.$ac_objext'
47944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47945 (eval $ac_try) 2>&5
47946 ac_status=$?
47947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47948 (exit $ac_status); }; }; then
47949 glibcxx_cv_func__powl_use=yes
47950 else
47951 echo "$as_me: failed program was:" >&5
47952 sed 's/^/| /' conftest.$ac_ext >&5
47954 glibcxx_cv_func__powl_use=no
47956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47957 ac_ext=c
47958 ac_cpp='$CPP $CPPFLAGS'
47959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47967 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
47968 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
47970 if test x$glibcxx_cv_func__powl_use = x"yes"; then
47972 for ac_func in _powl
47974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47975 echo "$as_me:$LINENO: checking for $ac_func" >&5
47976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47977 if eval "test \"\${$as_ac_var+set}\" = set"; then
47978 echo $ECHO_N "(cached) $ECHO_C" >&6
47979 else
47980 if test x$gcc_no_link = xyes; then
47981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47983 { (exit 1); exit 1; }; }
47985 cat >conftest.$ac_ext <<_ACEOF
47986 /* confdefs.h. */
47987 _ACEOF
47988 cat confdefs.h >>conftest.$ac_ext
47989 cat >>conftest.$ac_ext <<_ACEOF
47990 /* end confdefs.h. */
47991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47993 #define $ac_func innocuous_$ac_func
47995 /* System header to define __stub macros and hopefully few prototypes,
47996 which can conflict with char $ac_func (); below.
47997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47998 <limits.h> exists even on freestanding compilers. */
48000 #ifdef __STDC__
48001 # include <limits.h>
48002 #else
48003 # include <assert.h>
48004 #endif
48006 #undef $ac_func
48008 /* Override any gcc2 internal prototype to avoid an error. */
48009 #ifdef __cplusplus
48010 extern "C"
48012 #endif
48013 /* We use char because int might match the return type of a gcc2
48014 builtin and then its argument prototype would still apply. */
48015 char $ac_func ();
48016 /* The GNU C library defines this for functions which it implements
48017 to always fail with ENOSYS. Some functions are actually named
48018 something starting with __ and the normal name is an alias. */
48019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48020 choke me
48021 #else
48022 char (*f) () = $ac_func;
48023 #endif
48024 #ifdef __cplusplus
48026 #endif
48029 main ()
48031 return f != $ac_func;
48033 return 0;
48035 _ACEOF
48036 rm -f conftest.$ac_objext conftest$ac_exeext
48037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48038 (eval $ac_link) 2>conftest.er1
48039 ac_status=$?
48040 grep -v '^ *+' conftest.er1 >conftest.err
48041 rm -f conftest.er1
48042 cat conftest.err >&5
48043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48044 (exit $ac_status); } &&
48045 { ac_try='test -z "$ac_c_werror_flag"
48046 || test ! -s conftest.err'
48047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48048 (eval $ac_try) 2>&5
48049 ac_status=$?
48050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48051 (exit $ac_status); }; } &&
48052 { ac_try='test -s conftest$ac_exeext'
48053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48054 (eval $ac_try) 2>&5
48055 ac_status=$?
48056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48057 (exit $ac_status); }; }; then
48058 eval "$as_ac_var=yes"
48059 else
48060 echo "$as_me: failed program was:" >&5
48061 sed 's/^/| /' conftest.$ac_ext >&5
48063 eval "$as_ac_var=no"
48065 rm -f conftest.err conftest.$ac_objext \
48066 conftest$ac_exeext conftest.$ac_ext
48068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48070 if test `eval echo '${'$as_ac_var'}'` = yes; then
48071 cat >>confdefs.h <<_ACEOF
48072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48073 _ACEOF
48076 done
48083 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
48084 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
48085 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
48086 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
48087 echo $ECHO_N "(cached) $ECHO_C" >&6
48088 else
48092 ac_ext=cc
48093 ac_cpp='$CXXCPP $CPPFLAGS'
48094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48098 cat >conftest.$ac_ext <<_ACEOF
48099 /* confdefs.h. */
48100 _ACEOF
48101 cat confdefs.h >>conftest.$ac_ext
48102 cat >>conftest.$ac_ext <<_ACEOF
48103 /* end confdefs.h. */
48104 #include <math.h>
48105 #ifdef HAVE_IEEEFP_H
48106 #include <ieeefp.h>
48107 #endif
48110 main ()
48112 sqrtl(0);
48114 return 0;
48116 _ACEOF
48117 rm -f conftest.$ac_objext
48118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48119 (eval $ac_compile) 2>conftest.er1
48120 ac_status=$?
48121 grep -v '^ *+' conftest.er1 >conftest.err
48122 rm -f conftest.er1
48123 cat conftest.err >&5
48124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48125 (exit $ac_status); } &&
48126 { ac_try='test -z "$ac_cxx_werror_flag"
48127 || test ! -s conftest.err'
48128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48129 (eval $ac_try) 2>&5
48130 ac_status=$?
48131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48132 (exit $ac_status); }; } &&
48133 { ac_try='test -s conftest.$ac_objext'
48134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48135 (eval $ac_try) 2>&5
48136 ac_status=$?
48137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48138 (exit $ac_status); }; }; then
48139 glibcxx_cv_func_sqrtl_use=yes
48140 else
48141 echo "$as_me: failed program was:" >&5
48142 sed 's/^/| /' conftest.$ac_ext >&5
48144 glibcxx_cv_func_sqrtl_use=no
48146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48147 ac_ext=c
48148 ac_cpp='$CPP $CPPFLAGS'
48149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48157 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
48158 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
48160 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
48162 for ac_func in sqrtl
48164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48165 echo "$as_me:$LINENO: checking for $ac_func" >&5
48166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48167 if eval "test \"\${$as_ac_var+set}\" = set"; then
48168 echo $ECHO_N "(cached) $ECHO_C" >&6
48169 else
48170 if test x$gcc_no_link = xyes; then
48171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48173 { (exit 1); exit 1; }; }
48175 cat >conftest.$ac_ext <<_ACEOF
48176 /* confdefs.h. */
48177 _ACEOF
48178 cat confdefs.h >>conftest.$ac_ext
48179 cat >>conftest.$ac_ext <<_ACEOF
48180 /* end confdefs.h. */
48181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48183 #define $ac_func innocuous_$ac_func
48185 /* System header to define __stub macros and hopefully few prototypes,
48186 which can conflict with char $ac_func (); below.
48187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48188 <limits.h> exists even on freestanding compilers. */
48190 #ifdef __STDC__
48191 # include <limits.h>
48192 #else
48193 # include <assert.h>
48194 #endif
48196 #undef $ac_func
48198 /* Override any gcc2 internal prototype to avoid an error. */
48199 #ifdef __cplusplus
48200 extern "C"
48202 #endif
48203 /* We use char because int might match the return type of a gcc2
48204 builtin and then its argument prototype would still apply. */
48205 char $ac_func ();
48206 /* The GNU C library defines this for functions which it implements
48207 to always fail with ENOSYS. Some functions are actually named
48208 something starting with __ and the normal name is an alias. */
48209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48210 choke me
48211 #else
48212 char (*f) () = $ac_func;
48213 #endif
48214 #ifdef __cplusplus
48216 #endif
48219 main ()
48221 return f != $ac_func;
48223 return 0;
48225 _ACEOF
48226 rm -f conftest.$ac_objext conftest$ac_exeext
48227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48228 (eval $ac_link) 2>conftest.er1
48229 ac_status=$?
48230 grep -v '^ *+' conftest.er1 >conftest.err
48231 rm -f conftest.er1
48232 cat conftest.err >&5
48233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48234 (exit $ac_status); } &&
48235 { ac_try='test -z "$ac_c_werror_flag"
48236 || test ! -s conftest.err'
48237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48238 (eval $ac_try) 2>&5
48239 ac_status=$?
48240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48241 (exit $ac_status); }; } &&
48242 { ac_try='test -s conftest$ac_exeext'
48243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48244 (eval $ac_try) 2>&5
48245 ac_status=$?
48246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48247 (exit $ac_status); }; }; then
48248 eval "$as_ac_var=yes"
48249 else
48250 echo "$as_me: failed program was:" >&5
48251 sed 's/^/| /' conftest.$ac_ext >&5
48253 eval "$as_ac_var=no"
48255 rm -f conftest.err conftest.$ac_objext \
48256 conftest$ac_exeext conftest.$ac_ext
48258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48260 if test `eval echo '${'$as_ac_var'}'` = yes; then
48261 cat >>confdefs.h <<_ACEOF
48262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48263 _ACEOF
48266 done
48268 else
48270 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
48271 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
48272 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
48273 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
48274 echo $ECHO_N "(cached) $ECHO_C" >&6
48275 else
48279 ac_ext=cc
48280 ac_cpp='$CXXCPP $CPPFLAGS'
48281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48285 cat >conftest.$ac_ext <<_ACEOF
48286 /* confdefs.h. */
48287 _ACEOF
48288 cat confdefs.h >>conftest.$ac_ext
48289 cat >>conftest.$ac_ext <<_ACEOF
48290 /* end confdefs.h. */
48291 #include <math.h>
48292 #ifdef HAVE_IEEEFP_H
48293 #include <ieeefp.h>
48294 #endif
48297 main ()
48299 _sqrtl(0);
48301 return 0;
48303 _ACEOF
48304 rm -f conftest.$ac_objext
48305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48306 (eval $ac_compile) 2>conftest.er1
48307 ac_status=$?
48308 grep -v '^ *+' conftest.er1 >conftest.err
48309 rm -f conftest.er1
48310 cat conftest.err >&5
48311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48312 (exit $ac_status); } &&
48313 { ac_try='test -z "$ac_cxx_werror_flag"
48314 || test ! -s conftest.err'
48315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48316 (eval $ac_try) 2>&5
48317 ac_status=$?
48318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48319 (exit $ac_status); }; } &&
48320 { ac_try='test -s conftest.$ac_objext'
48321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48322 (eval $ac_try) 2>&5
48323 ac_status=$?
48324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48325 (exit $ac_status); }; }; then
48326 glibcxx_cv_func__sqrtl_use=yes
48327 else
48328 echo "$as_me: failed program was:" >&5
48329 sed 's/^/| /' conftest.$ac_ext >&5
48331 glibcxx_cv_func__sqrtl_use=no
48333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48334 ac_ext=c
48335 ac_cpp='$CPP $CPPFLAGS'
48336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48344 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
48345 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
48347 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
48349 for ac_func in _sqrtl
48351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48352 echo "$as_me:$LINENO: checking for $ac_func" >&5
48353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48354 if eval "test \"\${$as_ac_var+set}\" = set"; then
48355 echo $ECHO_N "(cached) $ECHO_C" >&6
48356 else
48357 if test x$gcc_no_link = xyes; then
48358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48360 { (exit 1); exit 1; }; }
48362 cat >conftest.$ac_ext <<_ACEOF
48363 /* confdefs.h. */
48364 _ACEOF
48365 cat confdefs.h >>conftest.$ac_ext
48366 cat >>conftest.$ac_ext <<_ACEOF
48367 /* end confdefs.h. */
48368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48370 #define $ac_func innocuous_$ac_func
48372 /* System header to define __stub macros and hopefully few prototypes,
48373 which can conflict with char $ac_func (); below.
48374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48375 <limits.h> exists even on freestanding compilers. */
48377 #ifdef __STDC__
48378 # include <limits.h>
48379 #else
48380 # include <assert.h>
48381 #endif
48383 #undef $ac_func
48385 /* Override any gcc2 internal prototype to avoid an error. */
48386 #ifdef __cplusplus
48387 extern "C"
48389 #endif
48390 /* We use char because int might match the return type of a gcc2
48391 builtin and then its argument prototype would still apply. */
48392 char $ac_func ();
48393 /* The GNU C library defines this for functions which it implements
48394 to always fail with ENOSYS. Some functions are actually named
48395 something starting with __ and the normal name is an alias. */
48396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48397 choke me
48398 #else
48399 char (*f) () = $ac_func;
48400 #endif
48401 #ifdef __cplusplus
48403 #endif
48406 main ()
48408 return f != $ac_func;
48410 return 0;
48412 _ACEOF
48413 rm -f conftest.$ac_objext conftest$ac_exeext
48414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48415 (eval $ac_link) 2>conftest.er1
48416 ac_status=$?
48417 grep -v '^ *+' conftest.er1 >conftest.err
48418 rm -f conftest.er1
48419 cat conftest.err >&5
48420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48421 (exit $ac_status); } &&
48422 { ac_try='test -z "$ac_c_werror_flag"
48423 || test ! -s conftest.err'
48424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48425 (eval $ac_try) 2>&5
48426 ac_status=$?
48427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48428 (exit $ac_status); }; } &&
48429 { ac_try='test -s conftest$ac_exeext'
48430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48431 (eval $ac_try) 2>&5
48432 ac_status=$?
48433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48434 (exit $ac_status); }; }; then
48435 eval "$as_ac_var=yes"
48436 else
48437 echo "$as_me: failed program was:" >&5
48438 sed 's/^/| /' conftest.$ac_ext >&5
48440 eval "$as_ac_var=no"
48442 rm -f conftest.err conftest.$ac_objext \
48443 conftest$ac_exeext conftest.$ac_ext
48445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48447 if test `eval echo '${'$as_ac_var'}'` = yes; then
48448 cat >>confdefs.h <<_ACEOF
48449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48450 _ACEOF
48453 done
48460 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
48461 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
48462 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
48463 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
48464 echo $ECHO_N "(cached) $ECHO_C" >&6
48465 else
48469 ac_ext=cc
48470 ac_cpp='$CXXCPP $CPPFLAGS'
48471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48475 cat >conftest.$ac_ext <<_ACEOF
48476 /* confdefs.h. */
48477 _ACEOF
48478 cat confdefs.h >>conftest.$ac_ext
48479 cat >>conftest.$ac_ext <<_ACEOF
48480 /* end confdefs.h. */
48481 #include <math.h>
48483 main ()
48485 sincosl(0, 0, 0);
48487 return 0;
48489 _ACEOF
48490 rm -f conftest.$ac_objext
48491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48492 (eval $ac_compile) 2>conftest.er1
48493 ac_status=$?
48494 grep -v '^ *+' conftest.er1 >conftest.err
48495 rm -f conftest.er1
48496 cat conftest.err >&5
48497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48498 (exit $ac_status); } &&
48499 { ac_try='test -z "$ac_cxx_werror_flag"
48500 || test ! -s conftest.err'
48501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48502 (eval $ac_try) 2>&5
48503 ac_status=$?
48504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48505 (exit $ac_status); }; } &&
48506 { ac_try='test -s conftest.$ac_objext'
48507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48508 (eval $ac_try) 2>&5
48509 ac_status=$?
48510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48511 (exit $ac_status); }; }; then
48512 glibcxx_cv_func_sincosl_use=yes
48513 else
48514 echo "$as_me: failed program was:" >&5
48515 sed 's/^/| /' conftest.$ac_ext >&5
48517 glibcxx_cv_func_sincosl_use=no
48519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48520 ac_ext=c
48521 ac_cpp='$CPP $CPPFLAGS'
48522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48530 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
48531 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
48533 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
48535 for ac_func in sincosl
48537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48538 echo "$as_me:$LINENO: checking for $ac_func" >&5
48539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48540 if eval "test \"\${$as_ac_var+set}\" = set"; then
48541 echo $ECHO_N "(cached) $ECHO_C" >&6
48542 else
48543 if test x$gcc_no_link = xyes; then
48544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48546 { (exit 1); exit 1; }; }
48548 cat >conftest.$ac_ext <<_ACEOF
48549 /* confdefs.h. */
48550 _ACEOF
48551 cat confdefs.h >>conftest.$ac_ext
48552 cat >>conftest.$ac_ext <<_ACEOF
48553 /* end confdefs.h. */
48554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48556 #define $ac_func innocuous_$ac_func
48558 /* System header to define __stub macros and hopefully few prototypes,
48559 which can conflict with char $ac_func (); below.
48560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48561 <limits.h> exists even on freestanding compilers. */
48563 #ifdef __STDC__
48564 # include <limits.h>
48565 #else
48566 # include <assert.h>
48567 #endif
48569 #undef $ac_func
48571 /* Override any gcc2 internal prototype to avoid an error. */
48572 #ifdef __cplusplus
48573 extern "C"
48575 #endif
48576 /* We use char because int might match the return type of a gcc2
48577 builtin and then its argument prototype would still apply. */
48578 char $ac_func ();
48579 /* The GNU C library defines this for functions which it implements
48580 to always fail with ENOSYS. Some functions are actually named
48581 something starting with __ and the normal name is an alias. */
48582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48583 choke me
48584 #else
48585 char (*f) () = $ac_func;
48586 #endif
48587 #ifdef __cplusplus
48589 #endif
48592 main ()
48594 return f != $ac_func;
48596 return 0;
48598 _ACEOF
48599 rm -f conftest.$ac_objext conftest$ac_exeext
48600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48601 (eval $ac_link) 2>conftest.er1
48602 ac_status=$?
48603 grep -v '^ *+' conftest.er1 >conftest.err
48604 rm -f conftest.er1
48605 cat conftest.err >&5
48606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48607 (exit $ac_status); } &&
48608 { ac_try='test -z "$ac_c_werror_flag"
48609 || test ! -s conftest.err'
48610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48611 (eval $ac_try) 2>&5
48612 ac_status=$?
48613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48614 (exit $ac_status); }; } &&
48615 { ac_try='test -s conftest$ac_exeext'
48616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48617 (eval $ac_try) 2>&5
48618 ac_status=$?
48619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48620 (exit $ac_status); }; }; then
48621 eval "$as_ac_var=yes"
48622 else
48623 echo "$as_me: failed program was:" >&5
48624 sed 's/^/| /' conftest.$ac_ext >&5
48626 eval "$as_ac_var=no"
48628 rm -f conftest.err conftest.$ac_objext \
48629 conftest$ac_exeext conftest.$ac_ext
48631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48633 if test `eval echo '${'$as_ac_var'}'` = yes; then
48634 cat >>confdefs.h <<_ACEOF
48635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48636 _ACEOF
48639 done
48641 else
48643 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
48644 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
48645 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
48646 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
48647 echo $ECHO_N "(cached) $ECHO_C" >&6
48648 else
48652 ac_ext=cc
48653 ac_cpp='$CXXCPP $CPPFLAGS'
48654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48658 cat >conftest.$ac_ext <<_ACEOF
48659 /* confdefs.h. */
48660 _ACEOF
48661 cat confdefs.h >>conftest.$ac_ext
48662 cat >>conftest.$ac_ext <<_ACEOF
48663 /* end confdefs.h. */
48664 #include <math.h>
48666 main ()
48668 _sincosl(0, 0, 0);
48670 return 0;
48672 _ACEOF
48673 rm -f conftest.$ac_objext
48674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48675 (eval $ac_compile) 2>conftest.er1
48676 ac_status=$?
48677 grep -v '^ *+' conftest.er1 >conftest.err
48678 rm -f conftest.er1
48679 cat conftest.err >&5
48680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48681 (exit $ac_status); } &&
48682 { ac_try='test -z "$ac_cxx_werror_flag"
48683 || test ! -s conftest.err'
48684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48685 (eval $ac_try) 2>&5
48686 ac_status=$?
48687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48688 (exit $ac_status); }; } &&
48689 { ac_try='test -s conftest.$ac_objext'
48690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48691 (eval $ac_try) 2>&5
48692 ac_status=$?
48693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48694 (exit $ac_status); }; }; then
48695 glibcxx_cv_func__sincosl_use=yes
48696 else
48697 echo "$as_me: failed program was:" >&5
48698 sed 's/^/| /' conftest.$ac_ext >&5
48700 glibcxx_cv_func__sincosl_use=no
48702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48703 ac_ext=c
48704 ac_cpp='$CPP $CPPFLAGS'
48705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48713 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
48714 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
48716 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
48718 for ac_func in _sincosl
48720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48721 echo "$as_me:$LINENO: checking for $ac_func" >&5
48722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48723 if eval "test \"\${$as_ac_var+set}\" = set"; then
48724 echo $ECHO_N "(cached) $ECHO_C" >&6
48725 else
48726 if test x$gcc_no_link = xyes; then
48727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48729 { (exit 1); exit 1; }; }
48731 cat >conftest.$ac_ext <<_ACEOF
48732 /* confdefs.h. */
48733 _ACEOF
48734 cat confdefs.h >>conftest.$ac_ext
48735 cat >>conftest.$ac_ext <<_ACEOF
48736 /* end confdefs.h. */
48737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48739 #define $ac_func innocuous_$ac_func
48741 /* System header to define __stub macros and hopefully few prototypes,
48742 which can conflict with char $ac_func (); below.
48743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48744 <limits.h> exists even on freestanding compilers. */
48746 #ifdef __STDC__
48747 # include <limits.h>
48748 #else
48749 # include <assert.h>
48750 #endif
48752 #undef $ac_func
48754 /* Override any gcc2 internal prototype to avoid an error. */
48755 #ifdef __cplusplus
48756 extern "C"
48758 #endif
48759 /* We use char because int might match the return type of a gcc2
48760 builtin and then its argument prototype would still apply. */
48761 char $ac_func ();
48762 /* The GNU C library defines this for functions which it implements
48763 to always fail with ENOSYS. Some functions are actually named
48764 something starting with __ and the normal name is an alias. */
48765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48766 choke me
48767 #else
48768 char (*f) () = $ac_func;
48769 #endif
48770 #ifdef __cplusplus
48772 #endif
48775 main ()
48777 return f != $ac_func;
48779 return 0;
48781 _ACEOF
48782 rm -f conftest.$ac_objext conftest$ac_exeext
48783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48784 (eval $ac_link) 2>conftest.er1
48785 ac_status=$?
48786 grep -v '^ *+' conftest.er1 >conftest.err
48787 rm -f conftest.er1
48788 cat conftest.err >&5
48789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48790 (exit $ac_status); } &&
48791 { ac_try='test -z "$ac_c_werror_flag"
48792 || test ! -s conftest.err'
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); }; } &&
48798 { ac_try='test -s conftest$ac_exeext'
48799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48800 (eval $ac_try) 2>&5
48801 ac_status=$?
48802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48803 (exit $ac_status); }; }; then
48804 eval "$as_ac_var=yes"
48805 else
48806 echo "$as_me: failed program was:" >&5
48807 sed 's/^/| /' conftest.$ac_ext >&5
48809 eval "$as_ac_var=no"
48811 rm -f conftest.err conftest.$ac_objext \
48812 conftest$ac_exeext conftest.$ac_ext
48814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48816 if test `eval echo '${'$as_ac_var'}'` = yes; then
48817 cat >>confdefs.h <<_ACEOF
48818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48819 _ACEOF
48822 done
48829 echo "$as_me:$LINENO: checking for finitel declaration" >&5
48830 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
48831 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
48832 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
48833 echo $ECHO_N "(cached) $ECHO_C" >&6
48834 else
48838 ac_ext=cc
48839 ac_cpp='$CXXCPP $CPPFLAGS'
48840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48844 cat >conftest.$ac_ext <<_ACEOF
48845 /* confdefs.h. */
48846 _ACEOF
48847 cat confdefs.h >>conftest.$ac_ext
48848 cat >>conftest.$ac_ext <<_ACEOF
48849 /* end confdefs.h. */
48850 #include <math.h>
48851 #ifdef HAVE_IEEEFP_H
48852 #include <ieeefp.h>
48853 #endif
48856 main ()
48858 finitel(0);
48860 return 0;
48862 _ACEOF
48863 rm -f conftest.$ac_objext
48864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48865 (eval $ac_compile) 2>conftest.er1
48866 ac_status=$?
48867 grep -v '^ *+' conftest.er1 >conftest.err
48868 rm -f conftest.er1
48869 cat conftest.err >&5
48870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48871 (exit $ac_status); } &&
48872 { ac_try='test -z "$ac_cxx_werror_flag"
48873 || test ! -s conftest.err'
48874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48875 (eval $ac_try) 2>&5
48876 ac_status=$?
48877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48878 (exit $ac_status); }; } &&
48879 { ac_try='test -s conftest.$ac_objext'
48880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48881 (eval $ac_try) 2>&5
48882 ac_status=$?
48883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48884 (exit $ac_status); }; }; then
48885 glibcxx_cv_func_finitel_use=yes
48886 else
48887 echo "$as_me: failed program was:" >&5
48888 sed 's/^/| /' conftest.$ac_ext >&5
48890 glibcxx_cv_func_finitel_use=no
48892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48893 ac_ext=c
48894 ac_cpp='$CPP $CPPFLAGS'
48895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48903 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
48904 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
48906 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
48908 for ac_func in finitel
48910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48911 echo "$as_me:$LINENO: checking for $ac_func" >&5
48912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48913 if eval "test \"\${$as_ac_var+set}\" = set"; then
48914 echo $ECHO_N "(cached) $ECHO_C" >&6
48915 else
48916 if test x$gcc_no_link = xyes; then
48917 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48919 { (exit 1); exit 1; }; }
48921 cat >conftest.$ac_ext <<_ACEOF
48922 /* confdefs.h. */
48923 _ACEOF
48924 cat confdefs.h >>conftest.$ac_ext
48925 cat >>conftest.$ac_ext <<_ACEOF
48926 /* end confdefs.h. */
48927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48929 #define $ac_func innocuous_$ac_func
48931 /* System header to define __stub macros and hopefully few prototypes,
48932 which can conflict with char $ac_func (); below.
48933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48934 <limits.h> exists even on freestanding compilers. */
48936 #ifdef __STDC__
48937 # include <limits.h>
48938 #else
48939 # include <assert.h>
48940 #endif
48942 #undef $ac_func
48944 /* Override any gcc2 internal prototype to avoid an error. */
48945 #ifdef __cplusplus
48946 extern "C"
48948 #endif
48949 /* We use char because int might match the return type of a gcc2
48950 builtin and then its argument prototype would still apply. */
48951 char $ac_func ();
48952 /* The GNU C library defines this for functions which it implements
48953 to always fail with ENOSYS. Some functions are actually named
48954 something starting with __ and the normal name is an alias. */
48955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48956 choke me
48957 #else
48958 char (*f) () = $ac_func;
48959 #endif
48960 #ifdef __cplusplus
48962 #endif
48965 main ()
48967 return f != $ac_func;
48969 return 0;
48971 _ACEOF
48972 rm -f conftest.$ac_objext conftest$ac_exeext
48973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48974 (eval $ac_link) 2>conftest.er1
48975 ac_status=$?
48976 grep -v '^ *+' conftest.er1 >conftest.err
48977 rm -f conftest.er1
48978 cat conftest.err >&5
48979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48980 (exit $ac_status); } &&
48981 { ac_try='test -z "$ac_c_werror_flag"
48982 || test ! -s conftest.err'
48983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48984 (eval $ac_try) 2>&5
48985 ac_status=$?
48986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48987 (exit $ac_status); }; } &&
48988 { ac_try='test -s conftest$ac_exeext'
48989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48990 (eval $ac_try) 2>&5
48991 ac_status=$?
48992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48993 (exit $ac_status); }; }; then
48994 eval "$as_ac_var=yes"
48995 else
48996 echo "$as_me: failed program was:" >&5
48997 sed 's/^/| /' conftest.$ac_ext >&5
48999 eval "$as_ac_var=no"
49001 rm -f conftest.err conftest.$ac_objext \
49002 conftest$ac_exeext conftest.$ac_ext
49004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49006 if test `eval echo '${'$as_ac_var'}'` = yes; then
49007 cat >>confdefs.h <<_ACEOF
49008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49009 _ACEOF
49012 done
49014 else
49016 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
49017 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
49018 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
49019 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
49020 echo $ECHO_N "(cached) $ECHO_C" >&6
49021 else
49025 ac_ext=cc
49026 ac_cpp='$CXXCPP $CPPFLAGS'
49027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49031 cat >conftest.$ac_ext <<_ACEOF
49032 /* confdefs.h. */
49033 _ACEOF
49034 cat confdefs.h >>conftest.$ac_ext
49035 cat >>conftest.$ac_ext <<_ACEOF
49036 /* end confdefs.h. */
49037 #include <math.h>
49038 #ifdef HAVE_IEEEFP_H
49039 #include <ieeefp.h>
49040 #endif
49043 main ()
49045 _finitel(0);
49047 return 0;
49049 _ACEOF
49050 rm -f conftest.$ac_objext
49051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49052 (eval $ac_compile) 2>conftest.er1
49053 ac_status=$?
49054 grep -v '^ *+' conftest.er1 >conftest.err
49055 rm -f conftest.er1
49056 cat conftest.err >&5
49057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49058 (exit $ac_status); } &&
49059 { ac_try='test -z "$ac_cxx_werror_flag"
49060 || test ! -s conftest.err'
49061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49062 (eval $ac_try) 2>&5
49063 ac_status=$?
49064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49065 (exit $ac_status); }; } &&
49066 { ac_try='test -s conftest.$ac_objext'
49067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49068 (eval $ac_try) 2>&5
49069 ac_status=$?
49070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49071 (exit $ac_status); }; }; then
49072 glibcxx_cv_func__finitel_use=yes
49073 else
49074 echo "$as_me: failed program was:" >&5
49075 sed 's/^/| /' conftest.$ac_ext >&5
49077 glibcxx_cv_func__finitel_use=no
49079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49080 ac_ext=c
49081 ac_cpp='$CPP $CPPFLAGS'
49082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49090 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
49091 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
49093 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
49095 for ac_func in _finitel
49097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49098 echo "$as_me:$LINENO: checking for $ac_func" >&5
49099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49100 if eval "test \"\${$as_ac_var+set}\" = set"; then
49101 echo $ECHO_N "(cached) $ECHO_C" >&6
49102 else
49103 if test x$gcc_no_link = xyes; then
49104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49106 { (exit 1); exit 1; }; }
49108 cat >conftest.$ac_ext <<_ACEOF
49109 /* confdefs.h. */
49110 _ACEOF
49111 cat confdefs.h >>conftest.$ac_ext
49112 cat >>conftest.$ac_ext <<_ACEOF
49113 /* end confdefs.h. */
49114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49116 #define $ac_func innocuous_$ac_func
49118 /* System header to define __stub macros and hopefully few prototypes,
49119 which can conflict with char $ac_func (); below.
49120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49121 <limits.h> exists even on freestanding compilers. */
49123 #ifdef __STDC__
49124 # include <limits.h>
49125 #else
49126 # include <assert.h>
49127 #endif
49129 #undef $ac_func
49131 /* Override any gcc2 internal prototype to avoid an error. */
49132 #ifdef __cplusplus
49133 extern "C"
49135 #endif
49136 /* We use char because int might match the return type of a gcc2
49137 builtin and then its argument prototype would still apply. */
49138 char $ac_func ();
49139 /* The GNU C library defines this for functions which it implements
49140 to always fail with ENOSYS. Some functions are actually named
49141 something starting with __ and the normal name is an alias. */
49142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49143 choke me
49144 #else
49145 char (*f) () = $ac_func;
49146 #endif
49147 #ifdef __cplusplus
49149 #endif
49152 main ()
49154 return f != $ac_func;
49156 return 0;
49158 _ACEOF
49159 rm -f conftest.$ac_objext conftest$ac_exeext
49160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49161 (eval $ac_link) 2>conftest.er1
49162 ac_status=$?
49163 grep -v '^ *+' conftest.er1 >conftest.err
49164 rm -f conftest.er1
49165 cat conftest.err >&5
49166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49167 (exit $ac_status); } &&
49168 { ac_try='test -z "$ac_c_werror_flag"
49169 || test ! -s conftest.err'
49170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49171 (eval $ac_try) 2>&5
49172 ac_status=$?
49173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49174 (exit $ac_status); }; } &&
49175 { ac_try='test -s conftest$ac_exeext'
49176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49177 (eval $ac_try) 2>&5
49178 ac_status=$?
49179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49180 (exit $ac_status); }; }; then
49181 eval "$as_ac_var=yes"
49182 else
49183 echo "$as_me: failed program was:" >&5
49184 sed 's/^/| /' conftest.$ac_ext >&5
49186 eval "$as_ac_var=no"
49188 rm -f conftest.err conftest.$ac_objext \
49189 conftest$ac_exeext conftest.$ac_ext
49191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49193 if test `eval echo '${'$as_ac_var'}'` = yes; then
49194 cat >>confdefs.h <<_ACEOF
49195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49196 _ACEOF
49199 done
49207 echo "$as_me:$LINENO: checking for _float trig functions" >&5
49208 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
49209 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
49210 echo $ECHO_N "(cached) $ECHO_C" >&6
49211 else
49215 ac_ext=cc
49216 ac_cpp='$CXXCPP $CPPFLAGS'
49217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49221 cat >conftest.$ac_ext <<_ACEOF
49222 /* confdefs.h. */
49223 _ACEOF
49224 cat confdefs.h >>conftest.$ac_ext
49225 cat >>conftest.$ac_ext <<_ACEOF
49226 /* end confdefs.h. */
49227 #include <math.h>
49229 main ()
49231 `for x in _acosf _asinf _atanf \
49232 _cosf _sinf _tanf \
49233 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
49235 return 0;
49237 _ACEOF
49238 rm -f conftest.$ac_objext
49239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49240 (eval $ac_compile) 2>conftest.er1
49241 ac_status=$?
49242 grep -v '^ *+' conftest.er1 >conftest.err
49243 rm -f conftest.er1
49244 cat conftest.err >&5
49245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49246 (exit $ac_status); } &&
49247 { ac_try='test -z "$ac_cxx_werror_flag"
49248 || test ! -s conftest.err'
49249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49250 (eval $ac_try) 2>&5
49251 ac_status=$?
49252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49253 (exit $ac_status); }; } &&
49254 { ac_try='test -s conftest.$ac_objext'
49255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49256 (eval $ac_try) 2>&5
49257 ac_status=$?
49258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49259 (exit $ac_status); }; }; then
49260 glibcxx_cv_func__float_trig_use=yes
49261 else
49262 echo "$as_me: failed program was:" >&5
49263 sed 's/^/| /' conftest.$ac_ext >&5
49265 glibcxx_cv_func__float_trig_use=no
49267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49268 ac_ext=c
49269 ac_cpp='$CPP $CPPFLAGS'
49270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49276 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
49277 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
49278 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
49288 for ac_func in _acosf _asinf _atanf \
49289 _cosf _sinf _tanf \
49290 _coshf _sinhf _tanhf
49292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49293 echo "$as_me:$LINENO: checking for $ac_func" >&5
49294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49295 if eval "test \"\${$as_ac_var+set}\" = set"; then
49296 echo $ECHO_N "(cached) $ECHO_C" >&6
49297 else
49298 if test x$gcc_no_link = xyes; then
49299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49301 { (exit 1); exit 1; }; }
49303 cat >conftest.$ac_ext <<_ACEOF
49304 /* confdefs.h. */
49305 _ACEOF
49306 cat confdefs.h >>conftest.$ac_ext
49307 cat >>conftest.$ac_ext <<_ACEOF
49308 /* end confdefs.h. */
49309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49311 #define $ac_func innocuous_$ac_func
49313 /* System header to define __stub macros and hopefully few prototypes,
49314 which can conflict with char $ac_func (); below.
49315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49316 <limits.h> exists even on freestanding compilers. */
49318 #ifdef __STDC__
49319 # include <limits.h>
49320 #else
49321 # include <assert.h>
49322 #endif
49324 #undef $ac_func
49326 /* Override any gcc2 internal prototype to avoid an error. */
49327 #ifdef __cplusplus
49328 extern "C"
49330 #endif
49331 /* We use char because int might match the return type of a gcc2
49332 builtin and then its argument prototype would still apply. */
49333 char $ac_func ();
49334 /* The GNU C library defines this for functions which it implements
49335 to always fail with ENOSYS. Some functions are actually named
49336 something starting with __ and the normal name is an alias. */
49337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49338 choke me
49339 #else
49340 char (*f) () = $ac_func;
49341 #endif
49342 #ifdef __cplusplus
49344 #endif
49347 main ()
49349 return f != $ac_func;
49351 return 0;
49353 _ACEOF
49354 rm -f conftest.$ac_objext conftest$ac_exeext
49355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49356 (eval $ac_link) 2>conftest.er1
49357 ac_status=$?
49358 grep -v '^ *+' conftest.er1 >conftest.err
49359 rm -f conftest.er1
49360 cat conftest.err >&5
49361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49362 (exit $ac_status); } &&
49363 { ac_try='test -z "$ac_c_werror_flag"
49364 || test ! -s conftest.err'
49365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49366 (eval $ac_try) 2>&5
49367 ac_status=$?
49368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49369 (exit $ac_status); }; } &&
49370 { ac_try='test -s conftest$ac_exeext'
49371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49372 (eval $ac_try) 2>&5
49373 ac_status=$?
49374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49375 (exit $ac_status); }; }; then
49376 eval "$as_ac_var=yes"
49377 else
49378 echo "$as_me: failed program was:" >&5
49379 sed 's/^/| /' conftest.$ac_ext >&5
49381 eval "$as_ac_var=no"
49383 rm -f conftest.err conftest.$ac_objext \
49384 conftest$ac_exeext conftest.$ac_ext
49386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49388 if test `eval echo '${'$as_ac_var'}'` = yes; then
49389 cat >>confdefs.h <<_ACEOF
49390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49391 _ACEOF
49394 done
49399 echo "$as_me:$LINENO: checking for _float round functions" >&5
49400 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
49401 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
49402 echo $ECHO_N "(cached) $ECHO_C" >&6
49403 else
49407 ac_ext=cc
49408 ac_cpp='$CXXCPP $CPPFLAGS'
49409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49413 cat >conftest.$ac_ext <<_ACEOF
49414 /* confdefs.h. */
49415 _ACEOF
49416 cat confdefs.h >>conftest.$ac_ext
49417 cat >>conftest.$ac_ext <<_ACEOF
49418 /* end confdefs.h. */
49419 #include <math.h>
49421 main ()
49423 `for x in _ceilf _floorf; do echo "$x (0);"; done`
49425 return 0;
49427 _ACEOF
49428 rm -f conftest.$ac_objext
49429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49430 (eval $ac_compile) 2>conftest.er1
49431 ac_status=$?
49432 grep -v '^ *+' conftest.er1 >conftest.err
49433 rm -f conftest.er1
49434 cat conftest.err >&5
49435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49436 (exit $ac_status); } &&
49437 { ac_try='test -z "$ac_cxx_werror_flag"
49438 || test ! -s conftest.err'
49439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49440 (eval $ac_try) 2>&5
49441 ac_status=$?
49442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49443 (exit $ac_status); }; } &&
49444 { ac_try='test -s conftest.$ac_objext'
49445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49446 (eval $ac_try) 2>&5
49447 ac_status=$?
49448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49449 (exit $ac_status); }; }; then
49450 glibcxx_cv_func__float_round_use=yes
49451 else
49452 echo "$as_me: failed program was:" >&5
49453 sed 's/^/| /' conftest.$ac_ext >&5
49455 glibcxx_cv_func__float_round_use=no
49457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49458 ac_ext=c
49459 ac_cpp='$CPP $CPPFLAGS'
49460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49466 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
49467 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
49468 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
49471 for ac_func in _ceilf _floorf
49473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49474 echo "$as_me:$LINENO: checking for $ac_func" >&5
49475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49476 if eval "test \"\${$as_ac_var+set}\" = set"; then
49477 echo $ECHO_N "(cached) $ECHO_C" >&6
49478 else
49479 if test x$gcc_no_link = xyes; then
49480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49482 { (exit 1); exit 1; }; }
49484 cat >conftest.$ac_ext <<_ACEOF
49485 /* confdefs.h. */
49486 _ACEOF
49487 cat confdefs.h >>conftest.$ac_ext
49488 cat >>conftest.$ac_ext <<_ACEOF
49489 /* end confdefs.h. */
49490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49492 #define $ac_func innocuous_$ac_func
49494 /* System header to define __stub macros and hopefully few prototypes,
49495 which can conflict with char $ac_func (); below.
49496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49497 <limits.h> exists even on freestanding compilers. */
49499 #ifdef __STDC__
49500 # include <limits.h>
49501 #else
49502 # include <assert.h>
49503 #endif
49505 #undef $ac_func
49507 /* Override any gcc2 internal prototype to avoid an error. */
49508 #ifdef __cplusplus
49509 extern "C"
49511 #endif
49512 /* We use char because int might match the return type of a gcc2
49513 builtin and then its argument prototype would still apply. */
49514 char $ac_func ();
49515 /* The GNU C library defines this for functions which it implements
49516 to always fail with ENOSYS. Some functions are actually named
49517 something starting with __ and the normal name is an alias. */
49518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49519 choke me
49520 #else
49521 char (*f) () = $ac_func;
49522 #endif
49523 #ifdef __cplusplus
49525 #endif
49528 main ()
49530 return f != $ac_func;
49532 return 0;
49534 _ACEOF
49535 rm -f conftest.$ac_objext conftest$ac_exeext
49536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49537 (eval $ac_link) 2>conftest.er1
49538 ac_status=$?
49539 grep -v '^ *+' conftest.er1 >conftest.err
49540 rm -f conftest.er1
49541 cat conftest.err >&5
49542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49543 (exit $ac_status); } &&
49544 { ac_try='test -z "$ac_c_werror_flag"
49545 || test ! -s conftest.err'
49546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49547 (eval $ac_try) 2>&5
49548 ac_status=$?
49549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49550 (exit $ac_status); }; } &&
49551 { ac_try='test -s conftest$ac_exeext'
49552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49553 (eval $ac_try) 2>&5
49554 ac_status=$?
49555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49556 (exit $ac_status); }; }; then
49557 eval "$as_ac_var=yes"
49558 else
49559 echo "$as_me: failed program was:" >&5
49560 sed 's/^/| /' conftest.$ac_ext >&5
49562 eval "$as_ac_var=no"
49564 rm -f conftest.err conftest.$ac_objext \
49565 conftest$ac_exeext conftest.$ac_ext
49567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49569 if test `eval echo '${'$as_ac_var'}'` = yes; then
49570 cat >>confdefs.h <<_ACEOF
49571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49572 _ACEOF
49575 done
49581 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
49582 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
49583 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
49584 echo $ECHO_N "(cached) $ECHO_C" >&6
49585 else
49589 ac_ext=cc
49590 ac_cpp='$CXXCPP $CPPFLAGS'
49591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49595 cat >conftest.$ac_ext <<_ACEOF
49596 /* confdefs.h. */
49597 _ACEOF
49598 cat confdefs.h >>conftest.$ac_ext
49599 cat >>conftest.$ac_ext <<_ACEOF
49600 /* end confdefs.h. */
49601 #include <math.h>
49603 main ()
49605 `for x in _acosl _asinl _atanl \
49606 _cosl _sinl _tanl \
49607 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
49609 return 0;
49611 _ACEOF
49612 rm -f conftest.$ac_objext
49613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49614 (eval $ac_compile) 2>conftest.er1
49615 ac_status=$?
49616 grep -v '^ *+' conftest.er1 >conftest.err
49617 rm -f conftest.er1
49618 cat conftest.err >&5
49619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49620 (exit $ac_status); } &&
49621 { ac_try='test -z "$ac_cxx_werror_flag"
49622 || test ! -s conftest.err'
49623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49624 (eval $ac_try) 2>&5
49625 ac_status=$?
49626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49627 (exit $ac_status); }; } &&
49628 { ac_try='test -s conftest.$ac_objext'
49629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49630 (eval $ac_try) 2>&5
49631 ac_status=$?
49632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49633 (exit $ac_status); }; }; then
49634 glibcxx_cv_func__long_double_trig_use=yes
49635 else
49636 echo "$as_me: failed program was:" >&5
49637 sed 's/^/| /' conftest.$ac_ext >&5
49639 glibcxx_cv_func__long_double_trig_use=no
49641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49642 ac_ext=c
49643 ac_cpp='$CPP $CPPFLAGS'
49644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49650 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
49651 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
49652 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49662 for ac_func in _acosl _asinl _atanl \
49663 _cosl _sinl _tanl \
49664 _coshl _sinhl _tanhl
49666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49667 echo "$as_me:$LINENO: checking for $ac_func" >&5
49668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49669 if eval "test \"\${$as_ac_var+set}\" = set"; then
49670 echo $ECHO_N "(cached) $ECHO_C" >&6
49671 else
49672 if test x$gcc_no_link = xyes; then
49673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49675 { (exit 1); exit 1; }; }
49677 cat >conftest.$ac_ext <<_ACEOF
49678 /* confdefs.h. */
49679 _ACEOF
49680 cat confdefs.h >>conftest.$ac_ext
49681 cat >>conftest.$ac_ext <<_ACEOF
49682 /* end confdefs.h. */
49683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49685 #define $ac_func innocuous_$ac_func
49687 /* System header to define __stub macros and hopefully few prototypes,
49688 which can conflict with char $ac_func (); below.
49689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49690 <limits.h> exists even on freestanding compilers. */
49692 #ifdef __STDC__
49693 # include <limits.h>
49694 #else
49695 # include <assert.h>
49696 #endif
49698 #undef $ac_func
49700 /* Override any gcc2 internal prototype to avoid an error. */
49701 #ifdef __cplusplus
49702 extern "C"
49704 #endif
49705 /* We use char because int might match the return type of a gcc2
49706 builtin and then its argument prototype would still apply. */
49707 char $ac_func ();
49708 /* The GNU C library defines this for functions which it implements
49709 to always fail with ENOSYS. Some functions are actually named
49710 something starting with __ and the normal name is an alias. */
49711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49712 choke me
49713 #else
49714 char (*f) () = $ac_func;
49715 #endif
49716 #ifdef __cplusplus
49718 #endif
49721 main ()
49723 return f != $ac_func;
49725 return 0;
49727 _ACEOF
49728 rm -f conftest.$ac_objext conftest$ac_exeext
49729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49730 (eval $ac_link) 2>conftest.er1
49731 ac_status=$?
49732 grep -v '^ *+' conftest.er1 >conftest.err
49733 rm -f conftest.er1
49734 cat conftest.err >&5
49735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49736 (exit $ac_status); } &&
49737 { ac_try='test -z "$ac_c_werror_flag"
49738 || test ! -s conftest.err'
49739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49740 (eval $ac_try) 2>&5
49741 ac_status=$?
49742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49743 (exit $ac_status); }; } &&
49744 { ac_try='test -s conftest$ac_exeext'
49745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49746 (eval $ac_try) 2>&5
49747 ac_status=$?
49748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49749 (exit $ac_status); }; }; then
49750 eval "$as_ac_var=yes"
49751 else
49752 echo "$as_me: failed program was:" >&5
49753 sed 's/^/| /' conftest.$ac_ext >&5
49755 eval "$as_ac_var=no"
49757 rm -f conftest.err conftest.$ac_objext \
49758 conftest$ac_exeext conftest.$ac_ext
49760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49762 if test `eval echo '${'$as_ac_var'}'` = yes; then
49763 cat >>confdefs.h <<_ACEOF
49764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49765 _ACEOF
49768 done
49773 echo "$as_me:$LINENO: checking for _long double round functions" >&5
49774 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
49775 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
49776 echo $ECHO_N "(cached) $ECHO_C" >&6
49777 else
49781 ac_ext=cc
49782 ac_cpp='$CXXCPP $CPPFLAGS'
49783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49787 cat >conftest.$ac_ext <<_ACEOF
49788 /* confdefs.h. */
49789 _ACEOF
49790 cat confdefs.h >>conftest.$ac_ext
49791 cat >>conftest.$ac_ext <<_ACEOF
49792 /* end confdefs.h. */
49793 #include <math.h>
49795 main ()
49797 `for x in _ceill _floorl; do echo "$x (0);"; done`
49799 return 0;
49801 _ACEOF
49802 rm -f conftest.$ac_objext
49803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49804 (eval $ac_compile) 2>conftest.er1
49805 ac_status=$?
49806 grep -v '^ *+' conftest.er1 >conftest.err
49807 rm -f conftest.er1
49808 cat conftest.err >&5
49809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49810 (exit $ac_status); } &&
49811 { ac_try='test -z "$ac_cxx_werror_flag"
49812 || test ! -s conftest.err'
49813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49814 (eval $ac_try) 2>&5
49815 ac_status=$?
49816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49817 (exit $ac_status); }; } &&
49818 { ac_try='test -s conftest.$ac_objext'
49819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49820 (eval $ac_try) 2>&5
49821 ac_status=$?
49822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49823 (exit $ac_status); }; }; then
49824 glibcxx_cv_func__long_double_round_use=yes
49825 else
49826 echo "$as_me: failed program was:" >&5
49827 sed 's/^/| /' conftest.$ac_ext >&5
49829 glibcxx_cv_func__long_double_round_use=no
49831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49832 ac_ext=c
49833 ac_cpp='$CPP $CPPFLAGS'
49834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49840 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
49841 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
49842 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49845 for ac_func in _ceill _floorl
49847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49848 echo "$as_me:$LINENO: checking for $ac_func" >&5
49849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49850 if eval "test \"\${$as_ac_var+set}\" = set"; then
49851 echo $ECHO_N "(cached) $ECHO_C" >&6
49852 else
49853 if test x$gcc_no_link = xyes; then
49854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49856 { (exit 1); exit 1; }; }
49858 cat >conftest.$ac_ext <<_ACEOF
49859 /* confdefs.h. */
49860 _ACEOF
49861 cat confdefs.h >>conftest.$ac_ext
49862 cat >>conftest.$ac_ext <<_ACEOF
49863 /* end confdefs.h. */
49864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49866 #define $ac_func innocuous_$ac_func
49868 /* System header to define __stub macros and hopefully few prototypes,
49869 which can conflict with char $ac_func (); below.
49870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49871 <limits.h> exists even on freestanding compilers. */
49873 #ifdef __STDC__
49874 # include <limits.h>
49875 #else
49876 # include <assert.h>
49877 #endif
49879 #undef $ac_func
49881 /* Override any gcc2 internal prototype to avoid an error. */
49882 #ifdef __cplusplus
49883 extern "C"
49885 #endif
49886 /* We use char because int might match the return type of a gcc2
49887 builtin and then its argument prototype would still apply. */
49888 char $ac_func ();
49889 /* The GNU C library defines this for functions which it implements
49890 to always fail with ENOSYS. Some functions are actually named
49891 something starting with __ and the normal name is an alias. */
49892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49893 choke me
49894 #else
49895 char (*f) () = $ac_func;
49896 #endif
49897 #ifdef __cplusplus
49899 #endif
49902 main ()
49904 return f != $ac_func;
49906 return 0;
49908 _ACEOF
49909 rm -f conftest.$ac_objext conftest$ac_exeext
49910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49911 (eval $ac_link) 2>conftest.er1
49912 ac_status=$?
49913 grep -v '^ *+' conftest.er1 >conftest.err
49914 rm -f conftest.er1
49915 cat conftest.err >&5
49916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49917 (exit $ac_status); } &&
49918 { ac_try='test -z "$ac_c_werror_flag"
49919 || test ! -s conftest.err'
49920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49921 (eval $ac_try) 2>&5
49922 ac_status=$?
49923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49924 (exit $ac_status); }; } &&
49925 { ac_try='test -s conftest$ac_exeext'
49926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49927 (eval $ac_try) 2>&5
49928 ac_status=$?
49929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49930 (exit $ac_status); }; }; then
49931 eval "$as_ac_var=yes"
49932 else
49933 echo "$as_me: failed program was:" >&5
49934 sed 's/^/| /' conftest.$ac_ext >&5
49936 eval "$as_ac_var=no"
49938 rm -f conftest.err conftest.$ac_objext \
49939 conftest$ac_exeext conftest.$ac_ext
49941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49943 if test `eval echo '${'$as_ac_var'}'` = yes; then
49944 cat >>confdefs.h <<_ACEOF
49945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49946 _ACEOF
49949 done
49954 LIBS="$ac_save_LIBS"
49955 CXXFLAGS="$ac_save_CXXFLAGS"
49959 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
49960 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
49961 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
49962 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
49963 echo $ECHO_N "(cached) $ECHO_C" >&6
49964 else
49968 ac_ext=cc
49969 ac_cpp='$CXXCPP $CPPFLAGS'
49970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49974 cat >conftest.$ac_ext <<_ACEOF
49975 /* confdefs.h. */
49976 _ACEOF
49977 cat confdefs.h >>conftest.$ac_ext
49978 cat >>conftest.$ac_ext <<_ACEOF
49979 /* end confdefs.h. */
49980 #include <math.h>
49982 main ()
49984 __builtin_abs(0);
49986 return 0;
49988 _ACEOF
49989 rm -f conftest.$ac_objext
49990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49991 (eval $ac_compile) 2>conftest.er1
49992 ac_status=$?
49993 grep -v '^ *+' conftest.er1 >conftest.err
49994 rm -f conftest.er1
49995 cat conftest.err >&5
49996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49997 (exit $ac_status); } &&
49998 { ac_try='test -z "$ac_cxx_werror_flag"
49999 || test ! -s conftest.err'
50000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50001 (eval $ac_try) 2>&5
50002 ac_status=$?
50003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50004 (exit $ac_status); }; } &&
50005 { ac_try='test -s conftest.$ac_objext'
50006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50007 (eval $ac_try) 2>&5
50008 ac_status=$?
50009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50010 (exit $ac_status); }; }; then
50011 glibcxx_cv_func___builtin_abs_use=yes
50012 else
50013 echo "$as_me: failed program was:" >&5
50014 sed 's/^/| /' conftest.$ac_ext >&5
50016 glibcxx_cv_func___builtin_abs_use=no
50018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50019 ac_ext=c
50020 ac_cpp='$CPP $CPPFLAGS'
50021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50029 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
50030 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
50031 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
50032 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
50033 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
50034 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
50035 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
50036 echo $ECHO_N "(cached) $ECHO_C" >&6
50037 else
50039 if test x$gcc_no_link = xyes; then
50040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50042 { (exit 1); exit 1; }; }
50044 cat >conftest.$ac_ext <<_ACEOF
50045 /* confdefs.h. */
50046 _ACEOF
50047 cat confdefs.h >>conftest.$ac_ext
50048 cat >>conftest.$ac_ext <<_ACEOF
50049 /* end confdefs.h. */
50050 #include <math.h>
50052 main ()
50054 __builtin_abs(0);
50056 return 0;
50058 _ACEOF
50059 rm -f conftest.$ac_objext conftest$ac_exeext
50060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50061 (eval $ac_link) 2>conftest.er1
50062 ac_status=$?
50063 grep -v '^ *+' conftest.er1 >conftest.err
50064 rm -f conftest.er1
50065 cat conftest.err >&5
50066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50067 (exit $ac_status); } &&
50068 { ac_try='test -z "$ac_c_werror_flag"
50069 || test ! -s conftest.err'
50070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50071 (eval $ac_try) 2>&5
50072 ac_status=$?
50073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50074 (exit $ac_status); }; } &&
50075 { ac_try='test -s conftest$ac_exeext'
50076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50077 (eval $ac_try) 2>&5
50078 ac_status=$?
50079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50080 (exit $ac_status); }; }; then
50081 glibcxx_cv_func___builtin_abs_link=yes
50082 else
50083 echo "$as_me: failed program was:" >&5
50084 sed 's/^/| /' conftest.$ac_ext >&5
50086 glibcxx_cv_func___builtin_abs_link=no
50088 rm -f conftest.err conftest.$ac_objext \
50089 conftest$ac_exeext conftest.$ac_ext
50094 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
50095 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
50096 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
50097 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50099 cat >>confdefs.h <<_ACEOF
50100 #define ${ac_tr_func} 1
50101 _ACEOF
50107 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
50108 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
50109 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
50110 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
50111 echo $ECHO_N "(cached) $ECHO_C" >&6
50112 else
50116 ac_ext=cc
50117 ac_cpp='$CXXCPP $CPPFLAGS'
50118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50122 cat >conftest.$ac_ext <<_ACEOF
50123 /* confdefs.h. */
50124 _ACEOF
50125 cat confdefs.h >>conftest.$ac_ext
50126 cat >>conftest.$ac_ext <<_ACEOF
50127 /* end confdefs.h. */
50128 #include <math.h>
50130 main ()
50132 __builtin_fabsf(0);
50134 return 0;
50136 _ACEOF
50137 rm -f conftest.$ac_objext
50138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50139 (eval $ac_compile) 2>conftest.er1
50140 ac_status=$?
50141 grep -v '^ *+' conftest.er1 >conftest.err
50142 rm -f conftest.er1
50143 cat conftest.err >&5
50144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50145 (exit $ac_status); } &&
50146 { ac_try='test -z "$ac_cxx_werror_flag"
50147 || test ! -s conftest.err'
50148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50149 (eval $ac_try) 2>&5
50150 ac_status=$?
50151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50152 (exit $ac_status); }; } &&
50153 { ac_try='test -s conftest.$ac_objext'
50154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50155 (eval $ac_try) 2>&5
50156 ac_status=$?
50157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50158 (exit $ac_status); }; }; then
50159 glibcxx_cv_func___builtin_fabsf_use=yes
50160 else
50161 echo "$as_me: failed program was:" >&5
50162 sed 's/^/| /' conftest.$ac_ext >&5
50164 glibcxx_cv_func___builtin_fabsf_use=no
50166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50167 ac_ext=c
50168 ac_cpp='$CPP $CPPFLAGS'
50169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50177 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
50178 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
50179 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
50180 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
50181 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
50182 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
50183 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
50184 echo $ECHO_N "(cached) $ECHO_C" >&6
50185 else
50187 if test x$gcc_no_link = xyes; then
50188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50190 { (exit 1); exit 1; }; }
50192 cat >conftest.$ac_ext <<_ACEOF
50193 /* confdefs.h. */
50194 _ACEOF
50195 cat confdefs.h >>conftest.$ac_ext
50196 cat >>conftest.$ac_ext <<_ACEOF
50197 /* end confdefs.h. */
50198 #include <math.h>
50200 main ()
50202 __builtin_fabsf(0);
50204 return 0;
50206 _ACEOF
50207 rm -f conftest.$ac_objext conftest$ac_exeext
50208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50209 (eval $ac_link) 2>conftest.er1
50210 ac_status=$?
50211 grep -v '^ *+' conftest.er1 >conftest.err
50212 rm -f conftest.er1
50213 cat conftest.err >&5
50214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50215 (exit $ac_status); } &&
50216 { ac_try='test -z "$ac_c_werror_flag"
50217 || test ! -s conftest.err'
50218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50219 (eval $ac_try) 2>&5
50220 ac_status=$?
50221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50222 (exit $ac_status); }; } &&
50223 { ac_try='test -s conftest$ac_exeext'
50224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50225 (eval $ac_try) 2>&5
50226 ac_status=$?
50227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50228 (exit $ac_status); }; }; then
50229 glibcxx_cv_func___builtin_fabsf_link=yes
50230 else
50231 echo "$as_me: failed program was:" >&5
50232 sed 's/^/| /' conftest.$ac_ext >&5
50234 glibcxx_cv_func___builtin_fabsf_link=no
50236 rm -f conftest.err conftest.$ac_objext \
50237 conftest$ac_exeext conftest.$ac_ext
50242 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
50243 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
50244 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
50245 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50247 cat >>confdefs.h <<_ACEOF
50248 #define ${ac_tr_func} 1
50249 _ACEOF
50255 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
50256 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
50257 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
50258 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
50259 echo $ECHO_N "(cached) $ECHO_C" >&6
50260 else
50264 ac_ext=cc
50265 ac_cpp='$CXXCPP $CPPFLAGS'
50266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50270 cat >conftest.$ac_ext <<_ACEOF
50271 /* confdefs.h. */
50272 _ACEOF
50273 cat confdefs.h >>conftest.$ac_ext
50274 cat >>conftest.$ac_ext <<_ACEOF
50275 /* end confdefs.h. */
50276 #include <math.h>
50278 main ()
50280 __builtin_fabs(0);
50282 return 0;
50284 _ACEOF
50285 rm -f conftest.$ac_objext
50286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50287 (eval $ac_compile) 2>conftest.er1
50288 ac_status=$?
50289 grep -v '^ *+' conftest.er1 >conftest.err
50290 rm -f conftest.er1
50291 cat conftest.err >&5
50292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50293 (exit $ac_status); } &&
50294 { ac_try='test -z "$ac_cxx_werror_flag"
50295 || test ! -s conftest.err'
50296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50297 (eval $ac_try) 2>&5
50298 ac_status=$?
50299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50300 (exit $ac_status); }; } &&
50301 { ac_try='test -s conftest.$ac_objext'
50302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50303 (eval $ac_try) 2>&5
50304 ac_status=$?
50305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50306 (exit $ac_status); }; }; then
50307 glibcxx_cv_func___builtin_fabs_use=yes
50308 else
50309 echo "$as_me: failed program was:" >&5
50310 sed 's/^/| /' conftest.$ac_ext >&5
50312 glibcxx_cv_func___builtin_fabs_use=no
50314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50315 ac_ext=c
50316 ac_cpp='$CPP $CPPFLAGS'
50317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50325 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
50326 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
50327 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
50328 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
50329 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
50330 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
50331 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
50332 echo $ECHO_N "(cached) $ECHO_C" >&6
50333 else
50335 if test x$gcc_no_link = xyes; then
50336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50338 { (exit 1); exit 1; }; }
50340 cat >conftest.$ac_ext <<_ACEOF
50341 /* confdefs.h. */
50342 _ACEOF
50343 cat confdefs.h >>conftest.$ac_ext
50344 cat >>conftest.$ac_ext <<_ACEOF
50345 /* end confdefs.h. */
50346 #include <math.h>
50348 main ()
50350 __builtin_fabs(0);
50352 return 0;
50354 _ACEOF
50355 rm -f conftest.$ac_objext conftest$ac_exeext
50356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50357 (eval $ac_link) 2>conftest.er1
50358 ac_status=$?
50359 grep -v '^ *+' conftest.er1 >conftest.err
50360 rm -f conftest.er1
50361 cat conftest.err >&5
50362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50363 (exit $ac_status); } &&
50364 { ac_try='test -z "$ac_c_werror_flag"
50365 || test ! -s conftest.err'
50366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50367 (eval $ac_try) 2>&5
50368 ac_status=$?
50369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50370 (exit $ac_status); }; } &&
50371 { ac_try='test -s conftest$ac_exeext'
50372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50373 (eval $ac_try) 2>&5
50374 ac_status=$?
50375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50376 (exit $ac_status); }; }; then
50377 glibcxx_cv_func___builtin_fabs_link=yes
50378 else
50379 echo "$as_me: failed program was:" >&5
50380 sed 's/^/| /' conftest.$ac_ext >&5
50382 glibcxx_cv_func___builtin_fabs_link=no
50384 rm -f conftest.err conftest.$ac_objext \
50385 conftest$ac_exeext conftest.$ac_ext
50390 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
50391 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
50392 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
50393 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50395 cat >>confdefs.h <<_ACEOF
50396 #define ${ac_tr_func} 1
50397 _ACEOF
50403 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
50404 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
50405 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
50406 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
50407 echo $ECHO_N "(cached) $ECHO_C" >&6
50408 else
50412 ac_ext=cc
50413 ac_cpp='$CXXCPP $CPPFLAGS'
50414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50418 cat >conftest.$ac_ext <<_ACEOF
50419 /* confdefs.h. */
50420 _ACEOF
50421 cat confdefs.h >>conftest.$ac_ext
50422 cat >>conftest.$ac_ext <<_ACEOF
50423 /* end confdefs.h. */
50424 #include <math.h>
50426 main ()
50428 __builtin_fabsl(0);
50430 return 0;
50432 _ACEOF
50433 rm -f conftest.$ac_objext
50434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50435 (eval $ac_compile) 2>conftest.er1
50436 ac_status=$?
50437 grep -v '^ *+' conftest.er1 >conftest.err
50438 rm -f conftest.er1
50439 cat conftest.err >&5
50440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50441 (exit $ac_status); } &&
50442 { ac_try='test -z "$ac_cxx_werror_flag"
50443 || test ! -s conftest.err'
50444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50445 (eval $ac_try) 2>&5
50446 ac_status=$?
50447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50448 (exit $ac_status); }; } &&
50449 { ac_try='test -s conftest.$ac_objext'
50450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50451 (eval $ac_try) 2>&5
50452 ac_status=$?
50453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50454 (exit $ac_status); }; }; then
50455 glibcxx_cv_func___builtin_fabsl_use=yes
50456 else
50457 echo "$as_me: failed program was:" >&5
50458 sed 's/^/| /' conftest.$ac_ext >&5
50460 glibcxx_cv_func___builtin_fabsl_use=no
50462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50463 ac_ext=c
50464 ac_cpp='$CPP $CPPFLAGS'
50465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50473 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
50474 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
50475 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
50476 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
50477 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
50478 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
50479 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
50480 echo $ECHO_N "(cached) $ECHO_C" >&6
50481 else
50483 if test x$gcc_no_link = xyes; then
50484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50486 { (exit 1); exit 1; }; }
50488 cat >conftest.$ac_ext <<_ACEOF
50489 /* confdefs.h. */
50490 _ACEOF
50491 cat confdefs.h >>conftest.$ac_ext
50492 cat >>conftest.$ac_ext <<_ACEOF
50493 /* end confdefs.h. */
50494 #include <math.h>
50496 main ()
50498 __builtin_fabsl(0);
50500 return 0;
50502 _ACEOF
50503 rm -f conftest.$ac_objext conftest$ac_exeext
50504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50505 (eval $ac_link) 2>conftest.er1
50506 ac_status=$?
50507 grep -v '^ *+' conftest.er1 >conftest.err
50508 rm -f conftest.er1
50509 cat conftest.err >&5
50510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50511 (exit $ac_status); } &&
50512 { ac_try='test -z "$ac_c_werror_flag"
50513 || test ! -s conftest.err'
50514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50515 (eval $ac_try) 2>&5
50516 ac_status=$?
50517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50518 (exit $ac_status); }; } &&
50519 { ac_try='test -s conftest$ac_exeext'
50520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50521 (eval $ac_try) 2>&5
50522 ac_status=$?
50523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50524 (exit $ac_status); }; }; then
50525 glibcxx_cv_func___builtin_fabsl_link=yes
50526 else
50527 echo "$as_me: failed program was:" >&5
50528 sed 's/^/| /' conftest.$ac_ext >&5
50530 glibcxx_cv_func___builtin_fabsl_link=no
50532 rm -f conftest.err conftest.$ac_objext \
50533 conftest$ac_exeext conftest.$ac_ext
50538 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
50539 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
50540 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
50541 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50543 cat >>confdefs.h <<_ACEOF
50544 #define ${ac_tr_func} 1
50545 _ACEOF
50551 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
50552 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
50553 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
50554 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
50555 echo $ECHO_N "(cached) $ECHO_C" >&6
50556 else
50560 ac_ext=cc
50561 ac_cpp='$CXXCPP $CPPFLAGS'
50562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50566 cat >conftest.$ac_ext <<_ACEOF
50567 /* confdefs.h. */
50568 _ACEOF
50569 cat confdefs.h >>conftest.$ac_ext
50570 cat >>conftest.$ac_ext <<_ACEOF
50571 /* end confdefs.h. */
50572 #include <math.h>
50574 main ()
50576 __builtin_labs(0);
50578 return 0;
50580 _ACEOF
50581 rm -f conftest.$ac_objext
50582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50583 (eval $ac_compile) 2>conftest.er1
50584 ac_status=$?
50585 grep -v '^ *+' conftest.er1 >conftest.err
50586 rm -f conftest.er1
50587 cat conftest.err >&5
50588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50589 (exit $ac_status); } &&
50590 { ac_try='test -z "$ac_cxx_werror_flag"
50591 || test ! -s conftest.err'
50592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50593 (eval $ac_try) 2>&5
50594 ac_status=$?
50595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50596 (exit $ac_status); }; } &&
50597 { ac_try='test -s conftest.$ac_objext'
50598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50599 (eval $ac_try) 2>&5
50600 ac_status=$?
50601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50602 (exit $ac_status); }; }; then
50603 glibcxx_cv_func___builtin_labs_use=yes
50604 else
50605 echo "$as_me: failed program was:" >&5
50606 sed 's/^/| /' conftest.$ac_ext >&5
50608 glibcxx_cv_func___builtin_labs_use=no
50610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50611 ac_ext=c
50612 ac_cpp='$CPP $CPPFLAGS'
50613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50621 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
50622 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
50623 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
50624 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
50625 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
50626 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
50627 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
50628 echo $ECHO_N "(cached) $ECHO_C" >&6
50629 else
50631 if test x$gcc_no_link = xyes; then
50632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50634 { (exit 1); exit 1; }; }
50636 cat >conftest.$ac_ext <<_ACEOF
50637 /* confdefs.h. */
50638 _ACEOF
50639 cat confdefs.h >>conftest.$ac_ext
50640 cat >>conftest.$ac_ext <<_ACEOF
50641 /* end confdefs.h. */
50642 #include <math.h>
50644 main ()
50646 __builtin_labs(0);
50648 return 0;
50650 _ACEOF
50651 rm -f conftest.$ac_objext conftest$ac_exeext
50652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50653 (eval $ac_link) 2>conftest.er1
50654 ac_status=$?
50655 grep -v '^ *+' conftest.er1 >conftest.err
50656 rm -f conftest.er1
50657 cat conftest.err >&5
50658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50659 (exit $ac_status); } &&
50660 { ac_try='test -z "$ac_c_werror_flag"
50661 || test ! -s conftest.err'
50662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50663 (eval $ac_try) 2>&5
50664 ac_status=$?
50665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50666 (exit $ac_status); }; } &&
50667 { ac_try='test -s conftest$ac_exeext'
50668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50669 (eval $ac_try) 2>&5
50670 ac_status=$?
50671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50672 (exit $ac_status); }; }; then
50673 glibcxx_cv_func___builtin_labs_link=yes
50674 else
50675 echo "$as_me: failed program was:" >&5
50676 sed 's/^/| /' conftest.$ac_ext >&5
50678 glibcxx_cv_func___builtin_labs_link=no
50680 rm -f conftest.err conftest.$ac_objext \
50681 conftest$ac_exeext conftest.$ac_ext
50686 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
50687 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
50688 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
50689 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50691 cat >>confdefs.h <<_ACEOF
50692 #define ${ac_tr_func} 1
50693 _ACEOF
50700 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
50701 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
50702 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
50703 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
50704 echo $ECHO_N "(cached) $ECHO_C" >&6
50705 else
50709 ac_ext=cc
50710 ac_cpp='$CXXCPP $CPPFLAGS'
50711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50715 cat >conftest.$ac_ext <<_ACEOF
50716 /* confdefs.h. */
50717 _ACEOF
50718 cat confdefs.h >>conftest.$ac_ext
50719 cat >>conftest.$ac_ext <<_ACEOF
50720 /* end confdefs.h. */
50721 #include <math.h>
50723 main ()
50725 __builtin_sqrtf(0);
50727 return 0;
50729 _ACEOF
50730 rm -f conftest.$ac_objext
50731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50732 (eval $ac_compile) 2>conftest.er1
50733 ac_status=$?
50734 grep -v '^ *+' conftest.er1 >conftest.err
50735 rm -f conftest.er1
50736 cat conftest.err >&5
50737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50738 (exit $ac_status); } &&
50739 { ac_try='test -z "$ac_cxx_werror_flag"
50740 || test ! -s conftest.err'
50741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50742 (eval $ac_try) 2>&5
50743 ac_status=$?
50744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50745 (exit $ac_status); }; } &&
50746 { ac_try='test -s conftest.$ac_objext'
50747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50748 (eval $ac_try) 2>&5
50749 ac_status=$?
50750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50751 (exit $ac_status); }; }; then
50752 glibcxx_cv_func___builtin_sqrtf_use=yes
50753 else
50754 echo "$as_me: failed program was:" >&5
50755 sed 's/^/| /' conftest.$ac_ext >&5
50757 glibcxx_cv_func___builtin_sqrtf_use=no
50759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50760 ac_ext=c
50761 ac_cpp='$CPP $CPPFLAGS'
50762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50770 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
50771 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
50772 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
50773 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
50774 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
50775 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
50776 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
50777 echo $ECHO_N "(cached) $ECHO_C" >&6
50778 else
50780 if test x$gcc_no_link = xyes; then
50781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50783 { (exit 1); exit 1; }; }
50785 cat >conftest.$ac_ext <<_ACEOF
50786 /* confdefs.h. */
50787 _ACEOF
50788 cat confdefs.h >>conftest.$ac_ext
50789 cat >>conftest.$ac_ext <<_ACEOF
50790 /* end confdefs.h. */
50791 #include <math.h>
50793 main ()
50795 __builtin_sqrtf(0);
50797 return 0;
50799 _ACEOF
50800 rm -f conftest.$ac_objext conftest$ac_exeext
50801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50802 (eval $ac_link) 2>conftest.er1
50803 ac_status=$?
50804 grep -v '^ *+' conftest.er1 >conftest.err
50805 rm -f conftest.er1
50806 cat conftest.err >&5
50807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50808 (exit $ac_status); } &&
50809 { ac_try='test -z "$ac_c_werror_flag"
50810 || test ! -s conftest.err'
50811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50812 (eval $ac_try) 2>&5
50813 ac_status=$?
50814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50815 (exit $ac_status); }; } &&
50816 { ac_try='test -s conftest$ac_exeext'
50817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50818 (eval $ac_try) 2>&5
50819 ac_status=$?
50820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50821 (exit $ac_status); }; }; then
50822 glibcxx_cv_func___builtin_sqrtf_link=yes
50823 else
50824 echo "$as_me: failed program was:" >&5
50825 sed 's/^/| /' conftest.$ac_ext >&5
50827 glibcxx_cv_func___builtin_sqrtf_link=no
50829 rm -f conftest.err conftest.$ac_objext \
50830 conftest$ac_exeext conftest.$ac_ext
50835 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
50836 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
50837 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
50838 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50840 cat >>confdefs.h <<_ACEOF
50841 #define ${ac_tr_func} 1
50842 _ACEOF
50848 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
50849 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
50850 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
50851 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
50852 echo $ECHO_N "(cached) $ECHO_C" >&6
50853 else
50857 ac_ext=cc
50858 ac_cpp='$CXXCPP $CPPFLAGS'
50859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50863 cat >conftest.$ac_ext <<_ACEOF
50864 /* confdefs.h. */
50865 _ACEOF
50866 cat confdefs.h >>conftest.$ac_ext
50867 cat >>conftest.$ac_ext <<_ACEOF
50868 /* end confdefs.h. */
50869 #include <math.h>
50871 main ()
50873 __builtin_sqrt(0);
50875 return 0;
50877 _ACEOF
50878 rm -f conftest.$ac_objext
50879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50880 (eval $ac_compile) 2>conftest.er1
50881 ac_status=$?
50882 grep -v '^ *+' conftest.er1 >conftest.err
50883 rm -f conftest.er1
50884 cat conftest.err >&5
50885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50886 (exit $ac_status); } &&
50887 { ac_try='test -z "$ac_cxx_werror_flag"
50888 || test ! -s conftest.err'
50889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50890 (eval $ac_try) 2>&5
50891 ac_status=$?
50892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50893 (exit $ac_status); }; } &&
50894 { ac_try='test -s conftest.$ac_objext'
50895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50896 (eval $ac_try) 2>&5
50897 ac_status=$?
50898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50899 (exit $ac_status); }; }; then
50900 glibcxx_cv_func___builtin_sqrt_use=yes
50901 else
50902 echo "$as_me: failed program was:" >&5
50903 sed 's/^/| /' conftest.$ac_ext >&5
50905 glibcxx_cv_func___builtin_sqrt_use=no
50907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50908 ac_ext=c
50909 ac_cpp='$CPP $CPPFLAGS'
50910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50918 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
50919 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
50920 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
50921 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
50922 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
50923 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
50924 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
50925 echo $ECHO_N "(cached) $ECHO_C" >&6
50926 else
50928 if test x$gcc_no_link = xyes; then
50929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50931 { (exit 1); exit 1; }; }
50933 cat >conftest.$ac_ext <<_ACEOF
50934 /* confdefs.h. */
50935 _ACEOF
50936 cat confdefs.h >>conftest.$ac_ext
50937 cat >>conftest.$ac_ext <<_ACEOF
50938 /* end confdefs.h. */
50939 #include <math.h>
50941 main ()
50943 __builtin_sqrt(0);
50945 return 0;
50947 _ACEOF
50948 rm -f conftest.$ac_objext conftest$ac_exeext
50949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50950 (eval $ac_link) 2>conftest.er1
50951 ac_status=$?
50952 grep -v '^ *+' conftest.er1 >conftest.err
50953 rm -f conftest.er1
50954 cat conftest.err >&5
50955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50956 (exit $ac_status); } &&
50957 { ac_try='test -z "$ac_c_werror_flag"
50958 || test ! -s conftest.err'
50959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50960 (eval $ac_try) 2>&5
50961 ac_status=$?
50962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50963 (exit $ac_status); }; } &&
50964 { ac_try='test -s conftest$ac_exeext'
50965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50966 (eval $ac_try) 2>&5
50967 ac_status=$?
50968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50969 (exit $ac_status); }; }; then
50970 glibcxx_cv_func___builtin_sqrt_link=yes
50971 else
50972 echo "$as_me: failed program was:" >&5
50973 sed 's/^/| /' conftest.$ac_ext >&5
50975 glibcxx_cv_func___builtin_sqrt_link=no
50977 rm -f conftest.err conftest.$ac_objext \
50978 conftest$ac_exeext conftest.$ac_ext
50983 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
50984 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
50985 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
50986 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50988 cat >>confdefs.h <<_ACEOF
50989 #define ${ac_tr_func} 1
50990 _ACEOF
50996 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
50997 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
50998 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
50999 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
51000 echo $ECHO_N "(cached) $ECHO_C" >&6
51001 else
51005 ac_ext=cc
51006 ac_cpp='$CXXCPP $CPPFLAGS'
51007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51011 cat >conftest.$ac_ext <<_ACEOF
51012 /* confdefs.h. */
51013 _ACEOF
51014 cat confdefs.h >>conftest.$ac_ext
51015 cat >>conftest.$ac_ext <<_ACEOF
51016 /* end confdefs.h. */
51017 #include <math.h>
51019 main ()
51021 __builtin_sqrtl(0);
51023 return 0;
51025 _ACEOF
51026 rm -f conftest.$ac_objext
51027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51028 (eval $ac_compile) 2>conftest.er1
51029 ac_status=$?
51030 grep -v '^ *+' conftest.er1 >conftest.err
51031 rm -f conftest.er1
51032 cat conftest.err >&5
51033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51034 (exit $ac_status); } &&
51035 { ac_try='test -z "$ac_cxx_werror_flag"
51036 || test ! -s conftest.err'
51037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51038 (eval $ac_try) 2>&5
51039 ac_status=$?
51040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51041 (exit $ac_status); }; } &&
51042 { ac_try='test -s conftest.$ac_objext'
51043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51044 (eval $ac_try) 2>&5
51045 ac_status=$?
51046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51047 (exit $ac_status); }; }; then
51048 glibcxx_cv_func___builtin_sqrtl_use=yes
51049 else
51050 echo "$as_me: failed program was:" >&5
51051 sed 's/^/| /' conftest.$ac_ext >&5
51053 glibcxx_cv_func___builtin_sqrtl_use=no
51055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51056 ac_ext=c
51057 ac_cpp='$CPP $CPPFLAGS'
51058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51066 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
51067 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
51068 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
51069 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
51070 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
51071 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
51072 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
51073 echo $ECHO_N "(cached) $ECHO_C" >&6
51074 else
51076 if test x$gcc_no_link = xyes; then
51077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51079 { (exit 1); exit 1; }; }
51081 cat >conftest.$ac_ext <<_ACEOF
51082 /* confdefs.h. */
51083 _ACEOF
51084 cat confdefs.h >>conftest.$ac_ext
51085 cat >>conftest.$ac_ext <<_ACEOF
51086 /* end confdefs.h. */
51087 #include <math.h>
51089 main ()
51091 __builtin_sqrtl(0);
51093 return 0;
51095 _ACEOF
51096 rm -f conftest.$ac_objext conftest$ac_exeext
51097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51098 (eval $ac_link) 2>conftest.er1
51099 ac_status=$?
51100 grep -v '^ *+' conftest.er1 >conftest.err
51101 rm -f conftest.er1
51102 cat conftest.err >&5
51103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51104 (exit $ac_status); } &&
51105 { ac_try='test -z "$ac_c_werror_flag"
51106 || test ! -s conftest.err'
51107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51108 (eval $ac_try) 2>&5
51109 ac_status=$?
51110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51111 (exit $ac_status); }; } &&
51112 { ac_try='test -s conftest$ac_exeext'
51113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51114 (eval $ac_try) 2>&5
51115 ac_status=$?
51116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51117 (exit $ac_status); }; }; then
51118 glibcxx_cv_func___builtin_sqrtl_link=yes
51119 else
51120 echo "$as_me: failed program was:" >&5
51121 sed 's/^/| /' conftest.$ac_ext >&5
51123 glibcxx_cv_func___builtin_sqrtl_link=no
51125 rm -f conftest.err conftest.$ac_objext \
51126 conftest$ac_exeext conftest.$ac_ext
51131 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
51132 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
51133 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
51134 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
51136 cat >>confdefs.h <<_ACEOF
51137 #define ${ac_tr_func} 1
51138 _ACEOF
51145 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
51146 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
51147 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
51148 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
51149 echo $ECHO_N "(cached) $ECHO_C" >&6
51150 else
51154 ac_ext=cc
51155 ac_cpp='$CXXCPP $CPPFLAGS'
51156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51160 cat >conftest.$ac_ext <<_ACEOF
51161 /* confdefs.h. */
51162 _ACEOF
51163 cat confdefs.h >>conftest.$ac_ext
51164 cat >>conftest.$ac_ext <<_ACEOF
51165 /* end confdefs.h. */
51166 #include <math.h>
51168 main ()
51170 __builtin_sinf(0);
51172 return 0;
51174 _ACEOF
51175 rm -f conftest.$ac_objext
51176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51177 (eval $ac_compile) 2>conftest.er1
51178 ac_status=$?
51179 grep -v '^ *+' conftest.er1 >conftest.err
51180 rm -f conftest.er1
51181 cat conftest.err >&5
51182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51183 (exit $ac_status); } &&
51184 { ac_try='test -z "$ac_cxx_werror_flag"
51185 || test ! -s conftest.err'
51186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51187 (eval $ac_try) 2>&5
51188 ac_status=$?
51189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51190 (exit $ac_status); }; } &&
51191 { ac_try='test -s conftest.$ac_objext'
51192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51193 (eval $ac_try) 2>&5
51194 ac_status=$?
51195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51196 (exit $ac_status); }; }; then
51197 glibcxx_cv_func___builtin_sinf_use=yes
51198 else
51199 echo "$as_me: failed program was:" >&5
51200 sed 's/^/| /' conftest.$ac_ext >&5
51202 glibcxx_cv_func___builtin_sinf_use=no
51204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51205 ac_ext=c
51206 ac_cpp='$CPP $CPPFLAGS'
51207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51215 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
51216 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
51217 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
51218 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
51219 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
51220 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
51221 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
51222 echo $ECHO_N "(cached) $ECHO_C" >&6
51223 else
51225 if test x$gcc_no_link = xyes; then
51226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51228 { (exit 1); exit 1; }; }
51230 cat >conftest.$ac_ext <<_ACEOF
51231 /* confdefs.h. */
51232 _ACEOF
51233 cat confdefs.h >>conftest.$ac_ext
51234 cat >>conftest.$ac_ext <<_ACEOF
51235 /* end confdefs.h. */
51236 #include <math.h>
51238 main ()
51240 __builtin_sinf(0);
51242 return 0;
51244 _ACEOF
51245 rm -f conftest.$ac_objext conftest$ac_exeext
51246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51247 (eval $ac_link) 2>conftest.er1
51248 ac_status=$?
51249 grep -v '^ *+' conftest.er1 >conftest.err
51250 rm -f conftest.er1
51251 cat conftest.err >&5
51252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51253 (exit $ac_status); } &&
51254 { ac_try='test -z "$ac_c_werror_flag"
51255 || test ! -s conftest.err'
51256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51257 (eval $ac_try) 2>&5
51258 ac_status=$?
51259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51260 (exit $ac_status); }; } &&
51261 { ac_try='test -s conftest$ac_exeext'
51262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51263 (eval $ac_try) 2>&5
51264 ac_status=$?
51265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51266 (exit $ac_status); }; }; then
51267 glibcxx_cv_func___builtin_sinf_link=yes
51268 else
51269 echo "$as_me: failed program was:" >&5
51270 sed 's/^/| /' conftest.$ac_ext >&5
51272 glibcxx_cv_func___builtin_sinf_link=no
51274 rm -f conftest.err conftest.$ac_objext \
51275 conftest$ac_exeext conftest.$ac_ext
51280 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
51281 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
51282 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
51283 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
51285 cat >>confdefs.h <<_ACEOF
51286 #define ${ac_tr_func} 1
51287 _ACEOF
51293 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
51294 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
51295 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
51296 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
51297 echo $ECHO_N "(cached) $ECHO_C" >&6
51298 else
51302 ac_ext=cc
51303 ac_cpp='$CXXCPP $CPPFLAGS'
51304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51308 cat >conftest.$ac_ext <<_ACEOF
51309 /* confdefs.h. */
51310 _ACEOF
51311 cat confdefs.h >>conftest.$ac_ext
51312 cat >>conftest.$ac_ext <<_ACEOF
51313 /* end confdefs.h. */
51314 #include <math.h>
51316 main ()
51318 __builtin_sin(0);
51320 return 0;
51322 _ACEOF
51323 rm -f conftest.$ac_objext
51324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51325 (eval $ac_compile) 2>conftest.er1
51326 ac_status=$?
51327 grep -v '^ *+' conftest.er1 >conftest.err
51328 rm -f conftest.er1
51329 cat conftest.err >&5
51330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51331 (exit $ac_status); } &&
51332 { ac_try='test -z "$ac_cxx_werror_flag"
51333 || test ! -s conftest.err'
51334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51335 (eval $ac_try) 2>&5
51336 ac_status=$?
51337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51338 (exit $ac_status); }; } &&
51339 { ac_try='test -s conftest.$ac_objext'
51340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51341 (eval $ac_try) 2>&5
51342 ac_status=$?
51343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51344 (exit $ac_status); }; }; then
51345 glibcxx_cv_func___builtin_sin_use=yes
51346 else
51347 echo "$as_me: failed program was:" >&5
51348 sed 's/^/| /' conftest.$ac_ext >&5
51350 glibcxx_cv_func___builtin_sin_use=no
51352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51353 ac_ext=c
51354 ac_cpp='$CPP $CPPFLAGS'
51355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51363 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
51364 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
51365 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
51366 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
51367 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
51368 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
51369 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
51370 echo $ECHO_N "(cached) $ECHO_C" >&6
51371 else
51373 if test x$gcc_no_link = xyes; then
51374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51376 { (exit 1); exit 1; }; }
51378 cat >conftest.$ac_ext <<_ACEOF
51379 /* confdefs.h. */
51380 _ACEOF
51381 cat confdefs.h >>conftest.$ac_ext
51382 cat >>conftest.$ac_ext <<_ACEOF
51383 /* end confdefs.h. */
51384 #include <math.h>
51386 main ()
51388 __builtin_sin(0);
51390 return 0;
51392 _ACEOF
51393 rm -f conftest.$ac_objext conftest$ac_exeext
51394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51395 (eval $ac_link) 2>conftest.er1
51396 ac_status=$?
51397 grep -v '^ *+' conftest.er1 >conftest.err
51398 rm -f conftest.er1
51399 cat conftest.err >&5
51400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51401 (exit $ac_status); } &&
51402 { ac_try='test -z "$ac_c_werror_flag"
51403 || test ! -s conftest.err'
51404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51405 (eval $ac_try) 2>&5
51406 ac_status=$?
51407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51408 (exit $ac_status); }; } &&
51409 { ac_try='test -s conftest$ac_exeext'
51410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51411 (eval $ac_try) 2>&5
51412 ac_status=$?
51413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51414 (exit $ac_status); }; }; then
51415 glibcxx_cv_func___builtin_sin_link=yes
51416 else
51417 echo "$as_me: failed program was:" >&5
51418 sed 's/^/| /' conftest.$ac_ext >&5
51420 glibcxx_cv_func___builtin_sin_link=no
51422 rm -f conftest.err conftest.$ac_objext \
51423 conftest$ac_exeext conftest.$ac_ext
51428 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
51429 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
51430 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
51431 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
51433 cat >>confdefs.h <<_ACEOF
51434 #define ${ac_tr_func} 1
51435 _ACEOF
51441 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
51442 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
51443 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
51444 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
51445 echo $ECHO_N "(cached) $ECHO_C" >&6
51446 else
51450 ac_ext=cc
51451 ac_cpp='$CXXCPP $CPPFLAGS'
51452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51456 cat >conftest.$ac_ext <<_ACEOF
51457 /* confdefs.h. */
51458 _ACEOF
51459 cat confdefs.h >>conftest.$ac_ext
51460 cat >>conftest.$ac_ext <<_ACEOF
51461 /* end confdefs.h. */
51462 #include <math.h>
51464 main ()
51466 __builtin_sinl(0);
51468 return 0;
51470 _ACEOF
51471 rm -f conftest.$ac_objext
51472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51473 (eval $ac_compile) 2>conftest.er1
51474 ac_status=$?
51475 grep -v '^ *+' conftest.er1 >conftest.err
51476 rm -f conftest.er1
51477 cat conftest.err >&5
51478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51479 (exit $ac_status); } &&
51480 { ac_try='test -z "$ac_cxx_werror_flag"
51481 || test ! -s conftest.err'
51482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51483 (eval $ac_try) 2>&5
51484 ac_status=$?
51485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51486 (exit $ac_status); }; } &&
51487 { ac_try='test -s conftest.$ac_objext'
51488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51489 (eval $ac_try) 2>&5
51490 ac_status=$?
51491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51492 (exit $ac_status); }; }; then
51493 glibcxx_cv_func___builtin_sinl_use=yes
51494 else
51495 echo "$as_me: failed program was:" >&5
51496 sed 's/^/| /' conftest.$ac_ext >&5
51498 glibcxx_cv_func___builtin_sinl_use=no
51500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51501 ac_ext=c
51502 ac_cpp='$CPP $CPPFLAGS'
51503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51511 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
51512 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
51513 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
51514 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
51515 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
51516 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
51517 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
51518 echo $ECHO_N "(cached) $ECHO_C" >&6
51519 else
51521 if test x$gcc_no_link = xyes; then
51522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51524 { (exit 1); exit 1; }; }
51526 cat >conftest.$ac_ext <<_ACEOF
51527 /* confdefs.h. */
51528 _ACEOF
51529 cat confdefs.h >>conftest.$ac_ext
51530 cat >>conftest.$ac_ext <<_ACEOF
51531 /* end confdefs.h. */
51532 #include <math.h>
51534 main ()
51536 __builtin_sinl(0);
51538 return 0;
51540 _ACEOF
51541 rm -f conftest.$ac_objext conftest$ac_exeext
51542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51543 (eval $ac_link) 2>conftest.er1
51544 ac_status=$?
51545 grep -v '^ *+' conftest.er1 >conftest.err
51546 rm -f conftest.er1
51547 cat conftest.err >&5
51548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51549 (exit $ac_status); } &&
51550 { ac_try='test -z "$ac_c_werror_flag"
51551 || test ! -s conftest.err'
51552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51553 (eval $ac_try) 2>&5
51554 ac_status=$?
51555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51556 (exit $ac_status); }; } &&
51557 { ac_try='test -s conftest$ac_exeext'
51558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51559 (eval $ac_try) 2>&5
51560 ac_status=$?
51561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51562 (exit $ac_status); }; }; then
51563 glibcxx_cv_func___builtin_sinl_link=yes
51564 else
51565 echo "$as_me: failed program was:" >&5
51566 sed 's/^/| /' conftest.$ac_ext >&5
51568 glibcxx_cv_func___builtin_sinl_link=no
51570 rm -f conftest.err conftest.$ac_objext \
51571 conftest$ac_exeext conftest.$ac_ext
51576 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
51577 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
51578 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
51579 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
51581 cat >>confdefs.h <<_ACEOF
51582 #define ${ac_tr_func} 1
51583 _ACEOF
51590 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
51591 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
51592 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
51593 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
51594 echo $ECHO_N "(cached) $ECHO_C" >&6
51595 else
51599 ac_ext=cc
51600 ac_cpp='$CXXCPP $CPPFLAGS'
51601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51605 cat >conftest.$ac_ext <<_ACEOF
51606 /* confdefs.h. */
51607 _ACEOF
51608 cat confdefs.h >>conftest.$ac_ext
51609 cat >>conftest.$ac_ext <<_ACEOF
51610 /* end confdefs.h. */
51611 #include <math.h>
51613 main ()
51615 __builtin_cosf(0);
51617 return 0;
51619 _ACEOF
51620 rm -f conftest.$ac_objext
51621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51622 (eval $ac_compile) 2>conftest.er1
51623 ac_status=$?
51624 grep -v '^ *+' conftest.er1 >conftest.err
51625 rm -f conftest.er1
51626 cat conftest.err >&5
51627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51628 (exit $ac_status); } &&
51629 { ac_try='test -z "$ac_cxx_werror_flag"
51630 || test ! -s conftest.err'
51631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51632 (eval $ac_try) 2>&5
51633 ac_status=$?
51634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51635 (exit $ac_status); }; } &&
51636 { ac_try='test -s conftest.$ac_objext'
51637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51638 (eval $ac_try) 2>&5
51639 ac_status=$?
51640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51641 (exit $ac_status); }; }; then
51642 glibcxx_cv_func___builtin_cosf_use=yes
51643 else
51644 echo "$as_me: failed program was:" >&5
51645 sed 's/^/| /' conftest.$ac_ext >&5
51647 glibcxx_cv_func___builtin_cosf_use=no
51649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51650 ac_ext=c
51651 ac_cpp='$CPP $CPPFLAGS'
51652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51660 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
51661 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
51662 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
51663 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
51664 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
51665 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
51666 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
51667 echo $ECHO_N "(cached) $ECHO_C" >&6
51668 else
51670 if test x$gcc_no_link = xyes; then
51671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51673 { (exit 1); exit 1; }; }
51675 cat >conftest.$ac_ext <<_ACEOF
51676 /* confdefs.h. */
51677 _ACEOF
51678 cat confdefs.h >>conftest.$ac_ext
51679 cat >>conftest.$ac_ext <<_ACEOF
51680 /* end confdefs.h. */
51681 #include <math.h>
51683 main ()
51685 __builtin_cosf(0);
51687 return 0;
51689 _ACEOF
51690 rm -f conftest.$ac_objext conftest$ac_exeext
51691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51692 (eval $ac_link) 2>conftest.er1
51693 ac_status=$?
51694 grep -v '^ *+' conftest.er1 >conftest.err
51695 rm -f conftest.er1
51696 cat conftest.err >&5
51697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51698 (exit $ac_status); } &&
51699 { ac_try='test -z "$ac_c_werror_flag"
51700 || test ! -s conftest.err'
51701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51702 (eval $ac_try) 2>&5
51703 ac_status=$?
51704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51705 (exit $ac_status); }; } &&
51706 { ac_try='test -s conftest$ac_exeext'
51707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51708 (eval $ac_try) 2>&5
51709 ac_status=$?
51710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51711 (exit $ac_status); }; }; then
51712 glibcxx_cv_func___builtin_cosf_link=yes
51713 else
51714 echo "$as_me: failed program was:" >&5
51715 sed 's/^/| /' conftest.$ac_ext >&5
51717 glibcxx_cv_func___builtin_cosf_link=no
51719 rm -f conftest.err conftest.$ac_objext \
51720 conftest$ac_exeext conftest.$ac_ext
51725 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
51726 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
51727 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
51728 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
51730 cat >>confdefs.h <<_ACEOF
51731 #define ${ac_tr_func} 1
51732 _ACEOF
51738 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
51739 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
51740 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
51741 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
51742 echo $ECHO_N "(cached) $ECHO_C" >&6
51743 else
51747 ac_ext=cc
51748 ac_cpp='$CXXCPP $CPPFLAGS'
51749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51753 cat >conftest.$ac_ext <<_ACEOF
51754 /* confdefs.h. */
51755 _ACEOF
51756 cat confdefs.h >>conftest.$ac_ext
51757 cat >>conftest.$ac_ext <<_ACEOF
51758 /* end confdefs.h. */
51759 #include <math.h>
51761 main ()
51763 __builtin_cos(0);
51765 return 0;
51767 _ACEOF
51768 rm -f conftest.$ac_objext
51769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51770 (eval $ac_compile) 2>conftest.er1
51771 ac_status=$?
51772 grep -v '^ *+' conftest.er1 >conftest.err
51773 rm -f conftest.er1
51774 cat conftest.err >&5
51775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51776 (exit $ac_status); } &&
51777 { ac_try='test -z "$ac_cxx_werror_flag"
51778 || test ! -s conftest.err'
51779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51780 (eval $ac_try) 2>&5
51781 ac_status=$?
51782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51783 (exit $ac_status); }; } &&
51784 { ac_try='test -s conftest.$ac_objext'
51785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51786 (eval $ac_try) 2>&5
51787 ac_status=$?
51788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51789 (exit $ac_status); }; }; then
51790 glibcxx_cv_func___builtin_cos_use=yes
51791 else
51792 echo "$as_me: failed program was:" >&5
51793 sed 's/^/| /' conftest.$ac_ext >&5
51795 glibcxx_cv_func___builtin_cos_use=no
51797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51798 ac_ext=c
51799 ac_cpp='$CPP $CPPFLAGS'
51800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51808 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
51809 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
51810 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
51811 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
51812 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
51813 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
51814 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
51815 echo $ECHO_N "(cached) $ECHO_C" >&6
51816 else
51818 if test x$gcc_no_link = xyes; then
51819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51821 { (exit 1); exit 1; }; }
51823 cat >conftest.$ac_ext <<_ACEOF
51824 /* confdefs.h. */
51825 _ACEOF
51826 cat confdefs.h >>conftest.$ac_ext
51827 cat >>conftest.$ac_ext <<_ACEOF
51828 /* end confdefs.h. */
51829 #include <math.h>
51831 main ()
51833 __builtin_cos(0);
51835 return 0;
51837 _ACEOF
51838 rm -f conftest.$ac_objext conftest$ac_exeext
51839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51840 (eval $ac_link) 2>conftest.er1
51841 ac_status=$?
51842 grep -v '^ *+' conftest.er1 >conftest.err
51843 rm -f conftest.er1
51844 cat conftest.err >&5
51845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51846 (exit $ac_status); } &&
51847 { ac_try='test -z "$ac_c_werror_flag"
51848 || test ! -s conftest.err'
51849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51850 (eval $ac_try) 2>&5
51851 ac_status=$?
51852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51853 (exit $ac_status); }; } &&
51854 { ac_try='test -s conftest$ac_exeext'
51855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51856 (eval $ac_try) 2>&5
51857 ac_status=$?
51858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51859 (exit $ac_status); }; }; then
51860 glibcxx_cv_func___builtin_cos_link=yes
51861 else
51862 echo "$as_me: failed program was:" >&5
51863 sed 's/^/| /' conftest.$ac_ext >&5
51865 glibcxx_cv_func___builtin_cos_link=no
51867 rm -f conftest.err conftest.$ac_objext \
51868 conftest$ac_exeext conftest.$ac_ext
51873 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
51874 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
51875 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
51876 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
51878 cat >>confdefs.h <<_ACEOF
51879 #define ${ac_tr_func} 1
51880 _ACEOF
51886 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
51887 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
51888 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
51889 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
51890 echo $ECHO_N "(cached) $ECHO_C" >&6
51891 else
51895 ac_ext=cc
51896 ac_cpp='$CXXCPP $CPPFLAGS'
51897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51901 cat >conftest.$ac_ext <<_ACEOF
51902 /* confdefs.h. */
51903 _ACEOF
51904 cat confdefs.h >>conftest.$ac_ext
51905 cat >>conftest.$ac_ext <<_ACEOF
51906 /* end confdefs.h. */
51907 #include <math.h>
51909 main ()
51911 __builtin_cosl(0);
51913 return 0;
51915 _ACEOF
51916 rm -f conftest.$ac_objext
51917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51918 (eval $ac_compile) 2>conftest.er1
51919 ac_status=$?
51920 grep -v '^ *+' conftest.er1 >conftest.err
51921 rm -f conftest.er1
51922 cat conftest.err >&5
51923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51924 (exit $ac_status); } &&
51925 { ac_try='test -z "$ac_cxx_werror_flag"
51926 || test ! -s conftest.err'
51927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51928 (eval $ac_try) 2>&5
51929 ac_status=$?
51930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51931 (exit $ac_status); }; } &&
51932 { ac_try='test -s conftest.$ac_objext'
51933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51934 (eval $ac_try) 2>&5
51935 ac_status=$?
51936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51937 (exit $ac_status); }; }; then
51938 glibcxx_cv_func___builtin_cosl_use=yes
51939 else
51940 echo "$as_me: failed program was:" >&5
51941 sed 's/^/| /' conftest.$ac_ext >&5
51943 glibcxx_cv_func___builtin_cosl_use=no
51945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51946 ac_ext=c
51947 ac_cpp='$CPP $CPPFLAGS'
51948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51956 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
51957 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
51958 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
51959 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
51960 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
51961 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
51962 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
51963 echo $ECHO_N "(cached) $ECHO_C" >&6
51964 else
51966 if test x$gcc_no_link = xyes; then
51967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51969 { (exit 1); exit 1; }; }
51971 cat >conftest.$ac_ext <<_ACEOF
51972 /* confdefs.h. */
51973 _ACEOF
51974 cat confdefs.h >>conftest.$ac_ext
51975 cat >>conftest.$ac_ext <<_ACEOF
51976 /* end confdefs.h. */
51977 #include <math.h>
51979 main ()
51981 __builtin_cosl(0);
51983 return 0;
51985 _ACEOF
51986 rm -f conftest.$ac_objext conftest$ac_exeext
51987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51988 (eval $ac_link) 2>conftest.er1
51989 ac_status=$?
51990 grep -v '^ *+' conftest.er1 >conftest.err
51991 rm -f conftest.er1
51992 cat conftest.err >&5
51993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51994 (exit $ac_status); } &&
51995 { ac_try='test -z "$ac_c_werror_flag"
51996 || test ! -s conftest.err'
51997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51998 (eval $ac_try) 2>&5
51999 ac_status=$?
52000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52001 (exit $ac_status); }; } &&
52002 { ac_try='test -s conftest$ac_exeext'
52003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52004 (eval $ac_try) 2>&5
52005 ac_status=$?
52006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52007 (exit $ac_status); }; }; then
52008 glibcxx_cv_func___builtin_cosl_link=yes
52009 else
52010 echo "$as_me: failed program was:" >&5
52011 sed 's/^/| /' conftest.$ac_ext >&5
52013 glibcxx_cv_func___builtin_cosl_link=no
52015 rm -f conftest.err conftest.$ac_objext \
52016 conftest$ac_exeext conftest.$ac_ext
52021 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
52022 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
52023 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
52024 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
52026 cat >>confdefs.h <<_ACEOF
52027 #define ${ac_tr_func} 1
52028 _ACEOF
52036 echo "$as_me:$LINENO: checking for main in -lm" >&5
52037 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
52038 if test "${ac_cv_lib_m_main+set}" = set; then
52039 echo $ECHO_N "(cached) $ECHO_C" >&6
52040 else
52041 ac_check_lib_save_LIBS=$LIBS
52042 LIBS="-lm $LIBS"
52043 if test x$gcc_no_link = xyes; then
52044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52046 { (exit 1); exit 1; }; }
52048 cat >conftest.$ac_ext <<_ACEOF
52049 /* confdefs.h. */
52050 _ACEOF
52051 cat confdefs.h >>conftest.$ac_ext
52052 cat >>conftest.$ac_ext <<_ACEOF
52053 /* end confdefs.h. */
52057 main ()
52059 main ();
52061 return 0;
52063 _ACEOF
52064 rm -f conftest.$ac_objext conftest$ac_exeext
52065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52066 (eval $ac_link) 2>conftest.er1
52067 ac_status=$?
52068 grep -v '^ *+' conftest.er1 >conftest.err
52069 rm -f conftest.er1
52070 cat conftest.err >&5
52071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52072 (exit $ac_status); } &&
52073 { ac_try='test -z "$ac_c_werror_flag"
52074 || test ! -s conftest.err'
52075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52076 (eval $ac_try) 2>&5
52077 ac_status=$?
52078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52079 (exit $ac_status); }; } &&
52080 { ac_try='test -s conftest$ac_exeext'
52081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52082 (eval $ac_try) 2>&5
52083 ac_status=$?
52084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52085 (exit $ac_status); }; }; then
52086 ac_cv_lib_m_main=yes
52087 else
52088 echo "$as_me: failed program was:" >&5
52089 sed 's/^/| /' conftest.$ac_ext >&5
52091 ac_cv_lib_m_main=no
52093 rm -f conftest.err conftest.$ac_objext \
52094 conftest$ac_exeext conftest.$ac_ext
52095 LIBS=$ac_check_lib_save_LIBS
52097 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
52098 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
52099 if test $ac_cv_lib_m_main = yes; then
52100 cat >>confdefs.h <<_ACEOF
52101 #define HAVE_LIBM 1
52102 _ACEOF
52104 LIBS="-lm $LIBS"
52109 for ac_func in copysignf
52111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52112 echo "$as_me:$LINENO: checking for $ac_func" >&5
52113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52114 if eval "test \"\${$as_ac_var+set}\" = set"; then
52115 echo $ECHO_N "(cached) $ECHO_C" >&6
52116 else
52117 if test x$gcc_no_link = xyes; then
52118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52120 { (exit 1); exit 1; }; }
52122 cat >conftest.$ac_ext <<_ACEOF
52123 /* confdefs.h. */
52124 _ACEOF
52125 cat confdefs.h >>conftest.$ac_ext
52126 cat >>conftest.$ac_ext <<_ACEOF
52127 /* end confdefs.h. */
52128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52130 #define $ac_func innocuous_$ac_func
52132 /* System header to define __stub macros and hopefully few prototypes,
52133 which can conflict with char $ac_func (); below.
52134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52135 <limits.h> exists even on freestanding compilers. */
52137 #ifdef __STDC__
52138 # include <limits.h>
52139 #else
52140 # include <assert.h>
52141 #endif
52143 #undef $ac_func
52145 /* Override any gcc2 internal prototype to avoid an error. */
52146 #ifdef __cplusplus
52147 extern "C"
52149 #endif
52150 /* We use char because int might match the return type of a gcc2
52151 builtin and then its argument prototype would still apply. */
52152 char $ac_func ();
52153 /* The GNU C library defines this for functions which it implements
52154 to always fail with ENOSYS. Some functions are actually named
52155 something starting with __ and the normal name is an alias. */
52156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52157 choke me
52158 #else
52159 char (*f) () = $ac_func;
52160 #endif
52161 #ifdef __cplusplus
52163 #endif
52166 main ()
52168 return f != $ac_func;
52170 return 0;
52172 _ACEOF
52173 rm -f conftest.$ac_objext conftest$ac_exeext
52174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52175 (eval $ac_link) 2>conftest.er1
52176 ac_status=$?
52177 grep -v '^ *+' conftest.er1 >conftest.err
52178 rm -f conftest.er1
52179 cat conftest.err >&5
52180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52181 (exit $ac_status); } &&
52182 { ac_try='test -z "$ac_c_werror_flag"
52183 || test ! -s conftest.err'
52184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52185 (eval $ac_try) 2>&5
52186 ac_status=$?
52187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52188 (exit $ac_status); }; } &&
52189 { ac_try='test -s conftest$ac_exeext'
52190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52191 (eval $ac_try) 2>&5
52192 ac_status=$?
52193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52194 (exit $ac_status); }; }; then
52195 eval "$as_ac_var=yes"
52196 else
52197 echo "$as_me: failed program was:" >&5
52198 sed 's/^/| /' conftest.$ac_ext >&5
52200 eval "$as_ac_var=no"
52202 rm -f conftest.err conftest.$ac_objext \
52203 conftest$ac_exeext conftest.$ac_ext
52205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52207 if test `eval echo '${'$as_ac_var'}'` = yes; then
52208 cat >>confdefs.h <<_ACEOF
52209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52210 _ACEOF
52212 else
52213 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
52215 done
52219 for ac_func in __signbit
52221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52222 echo "$as_me:$LINENO: checking for $ac_func" >&5
52223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52224 if eval "test \"\${$as_ac_var+set}\" = set"; then
52225 echo $ECHO_N "(cached) $ECHO_C" >&6
52226 else
52227 if test x$gcc_no_link = xyes; then
52228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52230 { (exit 1); exit 1; }; }
52232 cat >conftest.$ac_ext <<_ACEOF
52233 /* confdefs.h. */
52234 _ACEOF
52235 cat confdefs.h >>conftest.$ac_ext
52236 cat >>conftest.$ac_ext <<_ACEOF
52237 /* end confdefs.h. */
52238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52240 #define $ac_func innocuous_$ac_func
52242 /* System header to define __stub macros and hopefully few prototypes,
52243 which can conflict with char $ac_func (); below.
52244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52245 <limits.h> exists even on freestanding compilers. */
52247 #ifdef __STDC__
52248 # include <limits.h>
52249 #else
52250 # include <assert.h>
52251 #endif
52253 #undef $ac_func
52255 /* Override any gcc2 internal prototype to avoid an error. */
52256 #ifdef __cplusplus
52257 extern "C"
52259 #endif
52260 /* We use char because int might match the return type of a gcc2
52261 builtin and then its argument prototype would still apply. */
52262 char $ac_func ();
52263 /* The GNU C library defines this for functions which it implements
52264 to always fail with ENOSYS. Some functions are actually named
52265 something starting with __ and the normal name is an alias. */
52266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52267 choke me
52268 #else
52269 char (*f) () = $ac_func;
52270 #endif
52271 #ifdef __cplusplus
52273 #endif
52276 main ()
52278 return f != $ac_func;
52280 return 0;
52282 _ACEOF
52283 rm -f conftest.$ac_objext conftest$ac_exeext
52284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52285 (eval $ac_link) 2>conftest.er1
52286 ac_status=$?
52287 grep -v '^ *+' conftest.er1 >conftest.err
52288 rm -f conftest.er1
52289 cat conftest.err >&5
52290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52291 (exit $ac_status); } &&
52292 { ac_try='test -z "$ac_c_werror_flag"
52293 || test ! -s conftest.err'
52294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52295 (eval $ac_try) 2>&5
52296 ac_status=$?
52297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52298 (exit $ac_status); }; } &&
52299 { ac_try='test -s conftest$ac_exeext'
52300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52301 (eval $ac_try) 2>&5
52302 ac_status=$?
52303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52304 (exit $ac_status); }; }; then
52305 eval "$as_ac_var=yes"
52306 else
52307 echo "$as_me: failed program was:" >&5
52308 sed 's/^/| /' conftest.$ac_ext >&5
52310 eval "$as_ac_var=no"
52312 rm -f conftest.err conftest.$ac_objext \
52313 conftest$ac_exeext conftest.$ac_ext
52315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52317 if test `eval echo '${'$as_ac_var'}'` = yes; then
52318 cat >>confdefs.h <<_ACEOF
52319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52320 _ACEOF
52322 else
52323 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
52325 done
52329 for ac_func in __signbitf
52331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52332 echo "$as_me:$LINENO: checking for $ac_func" >&5
52333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52334 if eval "test \"\${$as_ac_var+set}\" = set"; then
52335 echo $ECHO_N "(cached) $ECHO_C" >&6
52336 else
52337 if test x$gcc_no_link = xyes; then
52338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52340 { (exit 1); exit 1; }; }
52342 cat >conftest.$ac_ext <<_ACEOF
52343 /* confdefs.h. */
52344 _ACEOF
52345 cat confdefs.h >>conftest.$ac_ext
52346 cat >>conftest.$ac_ext <<_ACEOF
52347 /* end confdefs.h. */
52348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52350 #define $ac_func innocuous_$ac_func
52352 /* System header to define __stub macros and hopefully few prototypes,
52353 which can conflict with char $ac_func (); below.
52354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52355 <limits.h> exists even on freestanding compilers. */
52357 #ifdef __STDC__
52358 # include <limits.h>
52359 #else
52360 # include <assert.h>
52361 #endif
52363 #undef $ac_func
52365 /* Override any gcc2 internal prototype to avoid an error. */
52366 #ifdef __cplusplus
52367 extern "C"
52369 #endif
52370 /* We use char because int might match the return type of a gcc2
52371 builtin and then its argument prototype would still apply. */
52372 char $ac_func ();
52373 /* The GNU C library defines this for functions which it implements
52374 to always fail with ENOSYS. Some functions are actually named
52375 something starting with __ and the normal name is an alias. */
52376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52377 choke me
52378 #else
52379 char (*f) () = $ac_func;
52380 #endif
52381 #ifdef __cplusplus
52383 #endif
52386 main ()
52388 return f != $ac_func;
52390 return 0;
52392 _ACEOF
52393 rm -f conftest.$ac_objext conftest$ac_exeext
52394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52395 (eval $ac_link) 2>conftest.er1
52396 ac_status=$?
52397 grep -v '^ *+' conftest.er1 >conftest.err
52398 rm -f conftest.er1
52399 cat conftest.err >&5
52400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52401 (exit $ac_status); } &&
52402 { ac_try='test -z "$ac_c_werror_flag"
52403 || test ! -s conftest.err'
52404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52405 (eval $ac_try) 2>&5
52406 ac_status=$?
52407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52408 (exit $ac_status); }; } &&
52409 { ac_try='test -s conftest$ac_exeext'
52410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52411 (eval $ac_try) 2>&5
52412 ac_status=$?
52413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52414 (exit $ac_status); }; }; then
52415 eval "$as_ac_var=yes"
52416 else
52417 echo "$as_me: failed program was:" >&5
52418 sed 's/^/| /' conftest.$ac_ext >&5
52420 eval "$as_ac_var=no"
52422 rm -f conftest.err conftest.$ac_objext \
52423 conftest$ac_exeext conftest.$ac_ext
52425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52427 if test `eval echo '${'$as_ac_var'}'` = yes; then
52428 cat >>confdefs.h <<_ACEOF
52429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52430 _ACEOF
52432 else
52433 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
52435 done
52438 if test x$ac_cv_func_copysignl = x"yes"; then
52440 for ac_func in __signbitl
52442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52443 echo "$as_me:$LINENO: checking for $ac_func" >&5
52444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52445 if eval "test \"\${$as_ac_var+set}\" = set"; then
52446 echo $ECHO_N "(cached) $ECHO_C" >&6
52447 else
52448 if test x$gcc_no_link = xyes; then
52449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52451 { (exit 1); exit 1; }; }
52453 cat >conftest.$ac_ext <<_ACEOF
52454 /* confdefs.h. */
52455 _ACEOF
52456 cat confdefs.h >>conftest.$ac_ext
52457 cat >>conftest.$ac_ext <<_ACEOF
52458 /* end confdefs.h. */
52459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52461 #define $ac_func innocuous_$ac_func
52463 /* System header to define __stub macros and hopefully few prototypes,
52464 which can conflict with char $ac_func (); below.
52465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52466 <limits.h> exists even on freestanding compilers. */
52468 #ifdef __STDC__
52469 # include <limits.h>
52470 #else
52471 # include <assert.h>
52472 #endif
52474 #undef $ac_func
52476 /* Override any gcc2 internal prototype to avoid an error. */
52477 #ifdef __cplusplus
52478 extern "C"
52480 #endif
52481 /* We use char because int might match the return type of a gcc2
52482 builtin and then its argument prototype would still apply. */
52483 char $ac_func ();
52484 /* The GNU C library defines this for functions which it implements
52485 to always fail with ENOSYS. Some functions are actually named
52486 something starting with __ and the normal name is an alias. */
52487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52488 choke me
52489 #else
52490 char (*f) () = $ac_func;
52491 #endif
52492 #ifdef __cplusplus
52494 #endif
52497 main ()
52499 return f != $ac_func;
52501 return 0;
52503 _ACEOF
52504 rm -f conftest.$ac_objext conftest$ac_exeext
52505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52506 (eval $ac_link) 2>conftest.er1
52507 ac_status=$?
52508 grep -v '^ *+' conftest.er1 >conftest.err
52509 rm -f conftest.er1
52510 cat conftest.err >&5
52511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52512 (exit $ac_status); } &&
52513 { ac_try='test -z "$ac_c_werror_flag"
52514 || test ! -s conftest.err'
52515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52516 (eval $ac_try) 2>&5
52517 ac_status=$?
52518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52519 (exit $ac_status); }; } &&
52520 { ac_try='test -s conftest$ac_exeext'
52521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52522 (eval $ac_try) 2>&5
52523 ac_status=$?
52524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52525 (exit $ac_status); }; }; then
52526 eval "$as_ac_var=yes"
52527 else
52528 echo "$as_me: failed program was:" >&5
52529 sed 's/^/| /' conftest.$ac_ext >&5
52531 eval "$as_ac_var=no"
52533 rm -f conftest.err conftest.$ac_objext \
52534 conftest$ac_exeext conftest.$ac_ext
52536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52538 if test `eval echo '${'$as_ac_var'}'` = yes; then
52539 cat >>confdefs.h <<_ACEOF
52540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52541 _ACEOF
52543 else
52544 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
52546 done
52550 # Used in libmath/Makefile.am.
52551 if test -n "$LIBMATHOBJS"; then
52552 need_libmath=yes
52557 # Test wchar.h for mbstate_t, which is needed for char_traits and
52558 # others even if wchar_t support is not on.
52559 echo "$as_me:$LINENO: checking for mbstate_t" >&5
52560 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
52561 cat >conftest.$ac_ext <<_ACEOF
52562 /* confdefs.h. */
52563 _ACEOF
52564 cat confdefs.h >>conftest.$ac_ext
52565 cat >>conftest.$ac_ext <<_ACEOF
52566 /* end confdefs.h. */
52567 #include <wchar.h>
52569 main ()
52571 mbstate_t teststate;
52573 return 0;
52575 _ACEOF
52576 rm -f conftest.$ac_objext
52577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52578 (eval $ac_compile) 2>conftest.er1
52579 ac_status=$?
52580 grep -v '^ *+' conftest.er1 >conftest.err
52581 rm -f conftest.er1
52582 cat conftest.err >&5
52583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52584 (exit $ac_status); } &&
52585 { ac_try='test -z "$ac_c_werror_flag"
52586 || test ! -s conftest.err'
52587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52588 (eval $ac_try) 2>&5
52589 ac_status=$?
52590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52591 (exit $ac_status); }; } &&
52592 { ac_try='test -s conftest.$ac_objext'
52593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52594 (eval $ac_try) 2>&5
52595 ac_status=$?
52596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52597 (exit $ac_status); }; }; then
52598 have_mbstate_t=yes
52599 else
52600 echo "$as_me: failed program was:" >&5
52601 sed 's/^/| /' conftest.$ac_ext >&5
52603 have_mbstate_t=no
52605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52606 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
52607 echo "${ECHO_T}$have_mbstate_t" >&6
52608 if test x"$have_mbstate_t" = xyes; then
52609 cat >>confdefs.h <<\_ACEOF
52610 #define HAVE_MBSTATE_T 1
52611 _ACEOF
52615 # Sanity check for existence of ISO C99 headers for extended encoding.
52617 for ac_header in wchar.h
52619 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52621 echo "$as_me:$LINENO: checking for $ac_header" >&5
52622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52624 echo $ECHO_N "(cached) $ECHO_C" >&6
52626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52628 else
52629 # Is the header compilable?
52630 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52631 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52632 cat >conftest.$ac_ext <<_ACEOF
52633 /* confdefs.h. */
52634 _ACEOF
52635 cat confdefs.h >>conftest.$ac_ext
52636 cat >>conftest.$ac_ext <<_ACEOF
52637 /* end confdefs.h. */
52638 $ac_includes_default
52639 #include <$ac_header>
52640 _ACEOF
52641 rm -f conftest.$ac_objext
52642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52643 (eval $ac_compile) 2>conftest.er1
52644 ac_status=$?
52645 grep -v '^ *+' conftest.er1 >conftest.err
52646 rm -f conftest.er1
52647 cat conftest.err >&5
52648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52649 (exit $ac_status); } &&
52650 { ac_try='test -z "$ac_c_werror_flag"
52651 || test ! -s conftest.err'
52652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52653 (eval $ac_try) 2>&5
52654 ac_status=$?
52655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52656 (exit $ac_status); }; } &&
52657 { ac_try='test -s conftest.$ac_objext'
52658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52659 (eval $ac_try) 2>&5
52660 ac_status=$?
52661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52662 (exit $ac_status); }; }; then
52663 ac_header_compiler=yes
52664 else
52665 echo "$as_me: failed program was:" >&5
52666 sed 's/^/| /' conftest.$ac_ext >&5
52668 ac_header_compiler=no
52670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52671 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52672 echo "${ECHO_T}$ac_header_compiler" >&6
52674 # Is the header present?
52675 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52676 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52677 cat >conftest.$ac_ext <<_ACEOF
52678 /* confdefs.h. */
52679 _ACEOF
52680 cat confdefs.h >>conftest.$ac_ext
52681 cat >>conftest.$ac_ext <<_ACEOF
52682 /* end confdefs.h. */
52683 #include <$ac_header>
52684 _ACEOF
52685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52686 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52687 ac_status=$?
52688 grep -v '^ *+' conftest.er1 >conftest.err
52689 rm -f conftest.er1
52690 cat conftest.err >&5
52691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52692 (exit $ac_status); } >/dev/null; then
52693 if test -s conftest.err; then
52694 ac_cpp_err=$ac_c_preproc_warn_flag
52695 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52696 else
52697 ac_cpp_err=
52699 else
52700 ac_cpp_err=yes
52702 if test -z "$ac_cpp_err"; then
52703 ac_header_preproc=yes
52704 else
52705 echo "$as_me: failed program was:" >&5
52706 sed 's/^/| /' conftest.$ac_ext >&5
52708 ac_header_preproc=no
52710 rm -f conftest.err conftest.$ac_ext
52711 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52712 echo "${ECHO_T}$ac_header_preproc" >&6
52714 # So? What about this header?
52715 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52716 yes:no: )
52717 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52718 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52719 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52720 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52721 ac_header_preproc=yes
52723 no:yes:* )
52724 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52725 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52726 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52727 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52728 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52729 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52730 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52731 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52733 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52734 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52735 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52737 cat <<\_ASBOX
52738 ## ----------------------------------------- ##
52739 ## Report this to the package-unused lists. ##
52740 ## ----------------------------------------- ##
52741 _ASBOX
52743 sed "s/^/$as_me: WARNING: /" >&2
52745 esac
52746 echo "$as_me:$LINENO: checking for $ac_header" >&5
52747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52749 echo $ECHO_N "(cached) $ECHO_C" >&6
52750 else
52751 eval "$as_ac_Header=\$ac_header_preproc"
52753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52757 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52758 cat >>confdefs.h <<_ACEOF
52759 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52760 _ACEOF
52761 ac_has_wchar_h=yes
52762 else
52763 ac_has_wchar_h=no
52766 done
52769 for ac_header in wctype.h
52771 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52773 echo "$as_me:$LINENO: checking for $ac_header" >&5
52774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52776 echo $ECHO_N "(cached) $ECHO_C" >&6
52778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52779 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52780 else
52781 # Is the header compilable?
52782 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52783 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52784 cat >conftest.$ac_ext <<_ACEOF
52785 /* confdefs.h. */
52786 _ACEOF
52787 cat confdefs.h >>conftest.$ac_ext
52788 cat >>conftest.$ac_ext <<_ACEOF
52789 /* end confdefs.h. */
52790 $ac_includes_default
52791 #include <$ac_header>
52792 _ACEOF
52793 rm -f conftest.$ac_objext
52794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52795 (eval $ac_compile) 2>conftest.er1
52796 ac_status=$?
52797 grep -v '^ *+' conftest.er1 >conftest.err
52798 rm -f conftest.er1
52799 cat conftest.err >&5
52800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52801 (exit $ac_status); } &&
52802 { ac_try='test -z "$ac_c_werror_flag"
52803 || test ! -s conftest.err'
52804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52805 (eval $ac_try) 2>&5
52806 ac_status=$?
52807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52808 (exit $ac_status); }; } &&
52809 { ac_try='test -s conftest.$ac_objext'
52810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52811 (eval $ac_try) 2>&5
52812 ac_status=$?
52813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52814 (exit $ac_status); }; }; then
52815 ac_header_compiler=yes
52816 else
52817 echo "$as_me: failed program was:" >&5
52818 sed 's/^/| /' conftest.$ac_ext >&5
52820 ac_header_compiler=no
52822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52823 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52824 echo "${ECHO_T}$ac_header_compiler" >&6
52826 # Is the header present?
52827 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52828 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52829 cat >conftest.$ac_ext <<_ACEOF
52830 /* confdefs.h. */
52831 _ACEOF
52832 cat confdefs.h >>conftest.$ac_ext
52833 cat >>conftest.$ac_ext <<_ACEOF
52834 /* end confdefs.h. */
52835 #include <$ac_header>
52836 _ACEOF
52837 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52838 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52839 ac_status=$?
52840 grep -v '^ *+' conftest.er1 >conftest.err
52841 rm -f conftest.er1
52842 cat conftest.err >&5
52843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52844 (exit $ac_status); } >/dev/null; then
52845 if test -s conftest.err; then
52846 ac_cpp_err=$ac_c_preproc_warn_flag
52847 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52848 else
52849 ac_cpp_err=
52851 else
52852 ac_cpp_err=yes
52854 if test -z "$ac_cpp_err"; then
52855 ac_header_preproc=yes
52856 else
52857 echo "$as_me: failed program was:" >&5
52858 sed 's/^/| /' conftest.$ac_ext >&5
52860 ac_header_preproc=no
52862 rm -f conftest.err conftest.$ac_ext
52863 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52864 echo "${ECHO_T}$ac_header_preproc" >&6
52866 # So? What about this header?
52867 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52868 yes:no: )
52869 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52870 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52871 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52872 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52873 ac_header_preproc=yes
52875 no:yes:* )
52876 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52877 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52878 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52879 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52880 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52881 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52882 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52883 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52884 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52885 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52886 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52887 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52889 cat <<\_ASBOX
52890 ## ----------------------------------------- ##
52891 ## Report this to the package-unused lists. ##
52892 ## ----------------------------------------- ##
52893 _ASBOX
52895 sed "s/^/$as_me: WARNING: /" >&2
52897 esac
52898 echo "$as_me:$LINENO: checking for $ac_header" >&5
52899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52901 echo $ECHO_N "(cached) $ECHO_C" >&6
52902 else
52903 eval "$as_ac_Header=\$ac_header_preproc"
52905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52906 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52909 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52910 cat >>confdefs.h <<_ACEOF
52911 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52912 _ACEOF
52913 ac_has_wctype_h=yes
52914 else
52915 ac_has_wctype_h=no
52918 done
52921 # Only continue checking if the ISO C99 headers exist and support is on.
52922 if test x"$ac_has_wchar_h" = xyes &&
52923 test x"$ac_has_wctype_h" = xyes &&
52924 test x"$enable_c_mbchar" != xno; then
52926 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
52927 # numeric_limits can instantiate type_traits<wchar_t>
52928 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
52929 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
52930 cat >conftest.$ac_ext <<_ACEOF
52931 /* confdefs.h. */
52932 _ACEOF
52933 cat confdefs.h >>conftest.$ac_ext
52934 cat >>conftest.$ac_ext <<_ACEOF
52935 /* end confdefs.h. */
52936 #include <wchar.h>
52938 main ()
52940 int i = WCHAR_MIN; int j = WCHAR_MAX;
52942 return 0;
52944 _ACEOF
52945 rm -f conftest.$ac_objext
52946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52947 (eval $ac_compile) 2>conftest.er1
52948 ac_status=$?
52949 grep -v '^ *+' conftest.er1 >conftest.err
52950 rm -f conftest.er1
52951 cat conftest.err >&5
52952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52953 (exit $ac_status); } &&
52954 { ac_try='test -z "$ac_c_werror_flag"
52955 || test ! -s conftest.err'
52956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52957 (eval $ac_try) 2>&5
52958 ac_status=$?
52959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52960 (exit $ac_status); }; } &&
52961 { ac_try='test -s conftest.$ac_objext'
52962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52963 (eval $ac_try) 2>&5
52964 ac_status=$?
52965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52966 (exit $ac_status); }; }; then
52967 has_wchar_minmax=yes
52968 else
52969 echo "$as_me: failed program was:" >&5
52970 sed 's/^/| /' conftest.$ac_ext >&5
52972 has_wchar_minmax=no
52974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52975 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
52976 echo "${ECHO_T}$has_wchar_minmax" >&6
52978 # Test wchar.h for WEOF, which is what we use to determine whether
52979 # to specialize for char_traits<wchar_t> or not.
52980 echo "$as_me:$LINENO: checking for WEOF" >&5
52981 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
52982 cat >conftest.$ac_ext <<_ACEOF
52983 /* confdefs.h. */
52984 _ACEOF
52985 cat confdefs.h >>conftest.$ac_ext
52986 cat >>conftest.$ac_ext <<_ACEOF
52987 /* end confdefs.h. */
52989 #include <wchar.h>
52990 #include <stddef.h>
52992 main ()
52994 wint_t i = WEOF;
52996 return 0;
52998 _ACEOF
52999 rm -f conftest.$ac_objext
53000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53001 (eval $ac_compile) 2>conftest.er1
53002 ac_status=$?
53003 grep -v '^ *+' conftest.er1 >conftest.err
53004 rm -f conftest.er1
53005 cat conftest.err >&5
53006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53007 (exit $ac_status); } &&
53008 { ac_try='test -z "$ac_c_werror_flag"
53009 || test ! -s conftest.err'
53010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53011 (eval $ac_try) 2>&5
53012 ac_status=$?
53013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53014 (exit $ac_status); }; } &&
53015 { ac_try='test -s conftest.$ac_objext'
53016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53017 (eval $ac_try) 2>&5
53018 ac_status=$?
53019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53020 (exit $ac_status); }; }; then
53021 has_weof=yes
53022 else
53023 echo "$as_me: failed program was:" >&5
53024 sed 's/^/| /' conftest.$ac_ext >&5
53026 has_weof=no
53028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53029 echo "$as_me:$LINENO: result: $has_weof" >&5
53030 echo "${ECHO_T}$has_weof" >&6
53032 # Tests for wide character functions used in char_traits<wchar_t>.
53033 ac_wfuncs=yes
53040 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
53042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53043 echo "$as_me:$LINENO: checking for $ac_func" >&5
53044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53045 if eval "test \"\${$as_ac_var+set}\" = set"; then
53046 echo $ECHO_N "(cached) $ECHO_C" >&6
53047 else
53048 if test x$gcc_no_link = xyes; then
53049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53051 { (exit 1); exit 1; }; }
53053 cat >conftest.$ac_ext <<_ACEOF
53054 /* confdefs.h. */
53055 _ACEOF
53056 cat confdefs.h >>conftest.$ac_ext
53057 cat >>conftest.$ac_ext <<_ACEOF
53058 /* end confdefs.h. */
53059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53061 #define $ac_func innocuous_$ac_func
53063 /* System header to define __stub macros and hopefully few prototypes,
53064 which can conflict with char $ac_func (); below.
53065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53066 <limits.h> exists even on freestanding compilers. */
53068 #ifdef __STDC__
53069 # include <limits.h>
53070 #else
53071 # include <assert.h>
53072 #endif
53074 #undef $ac_func
53076 /* Override any gcc2 internal prototype to avoid an error. */
53077 #ifdef __cplusplus
53078 extern "C"
53080 #endif
53081 /* We use char because int might match the return type of a gcc2
53082 builtin and then its argument prototype would still apply. */
53083 char $ac_func ();
53084 /* The GNU C library defines this for functions which it implements
53085 to always fail with ENOSYS. Some functions are actually named
53086 something starting with __ and the normal name is an alias. */
53087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53088 choke me
53089 #else
53090 char (*f) () = $ac_func;
53091 #endif
53092 #ifdef __cplusplus
53094 #endif
53097 main ()
53099 return f != $ac_func;
53101 return 0;
53103 _ACEOF
53104 rm -f conftest.$ac_objext conftest$ac_exeext
53105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53106 (eval $ac_link) 2>conftest.er1
53107 ac_status=$?
53108 grep -v '^ *+' conftest.er1 >conftest.err
53109 rm -f conftest.er1
53110 cat conftest.err >&5
53111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53112 (exit $ac_status); } &&
53113 { ac_try='test -z "$ac_c_werror_flag"
53114 || test ! -s conftest.err'
53115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53116 (eval $ac_try) 2>&5
53117 ac_status=$?
53118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53119 (exit $ac_status); }; } &&
53120 { ac_try='test -s conftest$ac_exeext'
53121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53122 (eval $ac_try) 2>&5
53123 ac_status=$?
53124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53125 (exit $ac_status); }; }; then
53126 eval "$as_ac_var=yes"
53127 else
53128 echo "$as_me: failed program was:" >&5
53129 sed 's/^/| /' conftest.$ac_ext >&5
53131 eval "$as_ac_var=no"
53133 rm -f conftest.err conftest.$ac_objext \
53134 conftest$ac_exeext conftest.$ac_ext
53136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53138 if test `eval echo '${'$as_ac_var'}'` = yes; then
53139 cat >>confdefs.h <<_ACEOF
53140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53141 _ACEOF
53143 else
53144 ac_wfuncs=no
53146 done
53149 # Checks for names injected into std:: by the c_std headers.
53196 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
53197 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
53198 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
53199 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
53200 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
53201 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
53203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53204 echo "$as_me:$LINENO: checking for $ac_func" >&5
53205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53206 if eval "test \"\${$as_ac_var+set}\" = set"; then
53207 echo $ECHO_N "(cached) $ECHO_C" >&6
53208 else
53209 if test x$gcc_no_link = xyes; then
53210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53212 { (exit 1); exit 1; }; }
53214 cat >conftest.$ac_ext <<_ACEOF
53215 /* confdefs.h. */
53216 _ACEOF
53217 cat confdefs.h >>conftest.$ac_ext
53218 cat >>conftest.$ac_ext <<_ACEOF
53219 /* end confdefs.h. */
53220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53222 #define $ac_func innocuous_$ac_func
53224 /* System header to define __stub macros and hopefully few prototypes,
53225 which can conflict with char $ac_func (); below.
53226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53227 <limits.h> exists even on freestanding compilers. */
53229 #ifdef __STDC__
53230 # include <limits.h>
53231 #else
53232 # include <assert.h>
53233 #endif
53235 #undef $ac_func
53237 /* Override any gcc2 internal prototype to avoid an error. */
53238 #ifdef __cplusplus
53239 extern "C"
53241 #endif
53242 /* We use char because int might match the return type of a gcc2
53243 builtin and then its argument prototype would still apply. */
53244 char $ac_func ();
53245 /* The GNU C library defines this for functions which it implements
53246 to always fail with ENOSYS. Some functions are actually named
53247 something starting with __ and the normal name is an alias. */
53248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53249 choke me
53250 #else
53251 char (*f) () = $ac_func;
53252 #endif
53253 #ifdef __cplusplus
53255 #endif
53258 main ()
53260 return f != $ac_func;
53262 return 0;
53264 _ACEOF
53265 rm -f conftest.$ac_objext conftest$ac_exeext
53266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53267 (eval $ac_link) 2>conftest.er1
53268 ac_status=$?
53269 grep -v '^ *+' conftest.er1 >conftest.err
53270 rm -f conftest.er1
53271 cat conftest.err >&5
53272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53273 (exit $ac_status); } &&
53274 { ac_try='test -z "$ac_c_werror_flag"
53275 || test ! -s conftest.err'
53276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53277 (eval $ac_try) 2>&5
53278 ac_status=$?
53279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53280 (exit $ac_status); }; } &&
53281 { ac_try='test -s conftest$ac_exeext'
53282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53283 (eval $ac_try) 2>&5
53284 ac_status=$?
53285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53286 (exit $ac_status); }; }; then
53287 eval "$as_ac_var=yes"
53288 else
53289 echo "$as_me: failed program was:" >&5
53290 sed 's/^/| /' conftest.$ac_ext >&5
53292 eval "$as_ac_var=no"
53294 rm -f conftest.err conftest.$ac_objext \
53295 conftest$ac_exeext conftest.$ac_ext
53297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53299 if test `eval echo '${'$as_ac_var'}'` = yes; then
53300 cat >>confdefs.h <<_ACEOF
53301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53302 _ACEOF
53304 else
53305 ac_wfuncs=no
53307 done
53310 # Checks for wide character functions that are not required
53311 # for basic wchar_t support. Don't disable support if they are missing.
53312 # Injection of these is wrapped with guard macros.
53318 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
53320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53321 echo "$as_me:$LINENO: checking for $ac_func" >&5
53322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53323 if eval "test \"\${$as_ac_var+set}\" = set"; then
53324 echo $ECHO_N "(cached) $ECHO_C" >&6
53325 else
53326 if test x$gcc_no_link = xyes; then
53327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53329 { (exit 1); exit 1; }; }
53331 cat >conftest.$ac_ext <<_ACEOF
53332 /* confdefs.h. */
53333 _ACEOF
53334 cat confdefs.h >>conftest.$ac_ext
53335 cat >>conftest.$ac_ext <<_ACEOF
53336 /* end confdefs.h. */
53337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53339 #define $ac_func innocuous_$ac_func
53341 /* System header to define __stub macros and hopefully few prototypes,
53342 which can conflict with char $ac_func (); below.
53343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53344 <limits.h> exists even on freestanding compilers. */
53346 #ifdef __STDC__
53347 # include <limits.h>
53348 #else
53349 # include <assert.h>
53350 #endif
53352 #undef $ac_func
53354 /* Override any gcc2 internal prototype to avoid an error. */
53355 #ifdef __cplusplus
53356 extern "C"
53358 #endif
53359 /* We use char because int might match the return type of a gcc2
53360 builtin and then its argument prototype would still apply. */
53361 char $ac_func ();
53362 /* The GNU C library defines this for functions which it implements
53363 to always fail with ENOSYS. Some functions are actually named
53364 something starting with __ and the normal name is an alias. */
53365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53366 choke me
53367 #else
53368 char (*f) () = $ac_func;
53369 #endif
53370 #ifdef __cplusplus
53372 #endif
53375 main ()
53377 return f != $ac_func;
53379 return 0;
53381 _ACEOF
53382 rm -f conftest.$ac_objext conftest$ac_exeext
53383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53384 (eval $ac_link) 2>conftest.er1
53385 ac_status=$?
53386 grep -v '^ *+' conftest.er1 >conftest.err
53387 rm -f conftest.er1
53388 cat conftest.err >&5
53389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53390 (exit $ac_status); } &&
53391 { ac_try='test -z "$ac_c_werror_flag"
53392 || test ! -s conftest.err'
53393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53394 (eval $ac_try) 2>&5
53395 ac_status=$?
53396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53397 (exit $ac_status); }; } &&
53398 { ac_try='test -s conftest$ac_exeext'
53399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53400 (eval $ac_try) 2>&5
53401 ac_status=$?
53402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53403 (exit $ac_status); }; }; then
53404 eval "$as_ac_var=yes"
53405 else
53406 echo "$as_me: failed program was:" >&5
53407 sed 's/^/| /' conftest.$ac_ext >&5
53409 eval "$as_ac_var=no"
53411 rm -f conftest.err conftest.$ac_objext \
53412 conftest$ac_exeext conftest.$ac_ext
53414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53416 if test `eval echo '${'$as_ac_var'}'` = yes; then
53417 cat >>confdefs.h <<_ACEOF
53418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53419 _ACEOF
53422 done
53425 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
53426 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
53427 if test x"$has_weof" = xyes &&
53428 test x"$has_wchar_minmax" = xyes &&
53429 test x"$ac_wfuncs" = xyes;
53430 then
53431 ac_isoC99_wchar_t=yes
53432 else
53433 ac_isoC99_wchar_t=no
53435 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
53436 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
53438 # Use iconv for wchar_t to char conversions. As such, check for
53439 # X/Open Portability Guide, version 2 features (XPG2).
53440 if test "${ac_cv_header_iconv_h+set}" = set; then
53441 echo "$as_me:$LINENO: checking for iconv.h" >&5
53442 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
53443 if test "${ac_cv_header_iconv_h+set}" = set; then
53444 echo $ECHO_N "(cached) $ECHO_C" >&6
53446 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
53447 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
53448 else
53449 # Is the header compilable?
53450 echo "$as_me:$LINENO: checking iconv.h usability" >&5
53451 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
53452 cat >conftest.$ac_ext <<_ACEOF
53453 /* confdefs.h. */
53454 _ACEOF
53455 cat confdefs.h >>conftest.$ac_ext
53456 cat >>conftest.$ac_ext <<_ACEOF
53457 /* end confdefs.h. */
53458 $ac_includes_default
53459 #include <iconv.h>
53460 _ACEOF
53461 rm -f conftest.$ac_objext
53462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53463 (eval $ac_compile) 2>conftest.er1
53464 ac_status=$?
53465 grep -v '^ *+' conftest.er1 >conftest.err
53466 rm -f conftest.er1
53467 cat conftest.err >&5
53468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53469 (exit $ac_status); } &&
53470 { ac_try='test -z "$ac_c_werror_flag"
53471 || test ! -s conftest.err'
53472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53473 (eval $ac_try) 2>&5
53474 ac_status=$?
53475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53476 (exit $ac_status); }; } &&
53477 { ac_try='test -s conftest.$ac_objext'
53478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53479 (eval $ac_try) 2>&5
53480 ac_status=$?
53481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53482 (exit $ac_status); }; }; then
53483 ac_header_compiler=yes
53484 else
53485 echo "$as_me: failed program was:" >&5
53486 sed 's/^/| /' conftest.$ac_ext >&5
53488 ac_header_compiler=no
53490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53491 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53492 echo "${ECHO_T}$ac_header_compiler" >&6
53494 # Is the header present?
53495 echo "$as_me:$LINENO: checking iconv.h presence" >&5
53496 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
53497 cat >conftest.$ac_ext <<_ACEOF
53498 /* confdefs.h. */
53499 _ACEOF
53500 cat confdefs.h >>conftest.$ac_ext
53501 cat >>conftest.$ac_ext <<_ACEOF
53502 /* end confdefs.h. */
53503 #include <iconv.h>
53504 _ACEOF
53505 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53506 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53507 ac_status=$?
53508 grep -v '^ *+' conftest.er1 >conftest.err
53509 rm -f conftest.er1
53510 cat conftest.err >&5
53511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53512 (exit $ac_status); } >/dev/null; then
53513 if test -s conftest.err; then
53514 ac_cpp_err=$ac_c_preproc_warn_flag
53515 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53516 else
53517 ac_cpp_err=
53519 else
53520 ac_cpp_err=yes
53522 if test -z "$ac_cpp_err"; then
53523 ac_header_preproc=yes
53524 else
53525 echo "$as_me: failed program was:" >&5
53526 sed 's/^/| /' conftest.$ac_ext >&5
53528 ac_header_preproc=no
53530 rm -f conftest.err conftest.$ac_ext
53531 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53532 echo "${ECHO_T}$ac_header_preproc" >&6
53534 # So? What about this header?
53535 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53536 yes:no: )
53537 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
53538 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
53539 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
53540 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
53541 ac_header_preproc=yes
53543 no:yes:* )
53544 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
53545 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
53546 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
53547 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
53548 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
53549 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
53550 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
53551 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
53552 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
53553 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
53554 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
53555 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
53557 cat <<\_ASBOX
53558 ## ----------------------------------------- ##
53559 ## Report this to the package-unused lists. ##
53560 ## ----------------------------------------- ##
53561 _ASBOX
53563 sed "s/^/$as_me: WARNING: /" >&2
53565 esac
53566 echo "$as_me:$LINENO: checking for iconv.h" >&5
53567 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
53568 if test "${ac_cv_header_iconv_h+set}" = set; then
53569 echo $ECHO_N "(cached) $ECHO_C" >&6
53570 else
53571 ac_cv_header_iconv_h=$ac_header_preproc
53573 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
53574 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
53577 if test $ac_cv_header_iconv_h = yes; then
53578 ac_has_iconv_h=yes
53579 else
53580 ac_has_iconv_h=no
53584 if test "${ac_cv_header_langinfo_h+set}" = set; then
53585 echo "$as_me:$LINENO: checking for langinfo.h" >&5
53586 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
53587 if test "${ac_cv_header_langinfo_h+set}" = set; then
53588 echo $ECHO_N "(cached) $ECHO_C" >&6
53590 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
53591 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
53592 else
53593 # Is the header compilable?
53594 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
53595 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
53596 cat >conftest.$ac_ext <<_ACEOF
53597 /* confdefs.h. */
53598 _ACEOF
53599 cat confdefs.h >>conftest.$ac_ext
53600 cat >>conftest.$ac_ext <<_ACEOF
53601 /* end confdefs.h. */
53602 $ac_includes_default
53603 #include <langinfo.h>
53604 _ACEOF
53605 rm -f conftest.$ac_objext
53606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53607 (eval $ac_compile) 2>conftest.er1
53608 ac_status=$?
53609 grep -v '^ *+' conftest.er1 >conftest.err
53610 rm -f conftest.er1
53611 cat conftest.err >&5
53612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53613 (exit $ac_status); } &&
53614 { ac_try='test -z "$ac_c_werror_flag"
53615 || test ! -s conftest.err'
53616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53617 (eval $ac_try) 2>&5
53618 ac_status=$?
53619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53620 (exit $ac_status); }; } &&
53621 { ac_try='test -s conftest.$ac_objext'
53622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53623 (eval $ac_try) 2>&5
53624 ac_status=$?
53625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53626 (exit $ac_status); }; }; then
53627 ac_header_compiler=yes
53628 else
53629 echo "$as_me: failed program was:" >&5
53630 sed 's/^/| /' conftest.$ac_ext >&5
53632 ac_header_compiler=no
53634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53635 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53636 echo "${ECHO_T}$ac_header_compiler" >&6
53638 # Is the header present?
53639 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
53640 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
53641 cat >conftest.$ac_ext <<_ACEOF
53642 /* confdefs.h. */
53643 _ACEOF
53644 cat confdefs.h >>conftest.$ac_ext
53645 cat >>conftest.$ac_ext <<_ACEOF
53646 /* end confdefs.h. */
53647 #include <langinfo.h>
53648 _ACEOF
53649 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53650 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53651 ac_status=$?
53652 grep -v '^ *+' conftest.er1 >conftest.err
53653 rm -f conftest.er1
53654 cat conftest.err >&5
53655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53656 (exit $ac_status); } >/dev/null; then
53657 if test -s conftest.err; then
53658 ac_cpp_err=$ac_c_preproc_warn_flag
53659 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53660 else
53661 ac_cpp_err=
53663 else
53664 ac_cpp_err=yes
53666 if test -z "$ac_cpp_err"; then
53667 ac_header_preproc=yes
53668 else
53669 echo "$as_me: failed program was:" >&5
53670 sed 's/^/| /' conftest.$ac_ext >&5
53672 ac_header_preproc=no
53674 rm -f conftest.err conftest.$ac_ext
53675 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53676 echo "${ECHO_T}$ac_header_preproc" >&6
53678 # So? What about this header?
53679 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53680 yes:no: )
53681 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
53682 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
53683 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
53684 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
53685 ac_header_preproc=yes
53687 no:yes:* )
53688 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
53689 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
53690 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
53691 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
53692 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
53693 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
53694 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
53695 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
53696 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
53697 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
53698 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
53699 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
53701 cat <<\_ASBOX
53702 ## ----------------------------------------- ##
53703 ## Report this to the package-unused lists. ##
53704 ## ----------------------------------------- ##
53705 _ASBOX
53707 sed "s/^/$as_me: WARNING: /" >&2
53709 esac
53710 echo "$as_me:$LINENO: checking for langinfo.h" >&5
53711 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
53712 if test "${ac_cv_header_langinfo_h+set}" = set; then
53713 echo $ECHO_N "(cached) $ECHO_C" >&6
53714 else
53715 ac_cv_header_langinfo_h=$ac_header_preproc
53717 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
53718 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
53721 if test $ac_cv_header_langinfo_h = yes; then
53722 ac_has_langinfo_h=yes
53723 else
53724 ac_has_langinfo_h=no
53729 # Check for existence of libiconv.a providing XPG2 wchar_t support.
53730 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
53731 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
53732 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
53733 echo $ECHO_N "(cached) $ECHO_C" >&6
53734 else
53735 ac_check_lib_save_LIBS=$LIBS
53736 LIBS="-liconv $LIBS"
53737 if test x$gcc_no_link = xyes; then
53738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53740 { (exit 1); exit 1; }; }
53742 cat >conftest.$ac_ext <<_ACEOF
53743 /* confdefs.h. */
53744 _ACEOF
53745 cat confdefs.h >>conftest.$ac_ext
53746 cat >>conftest.$ac_ext <<_ACEOF
53747 /* end confdefs.h. */
53749 /* Override any gcc2 internal prototype to avoid an error. */
53750 #ifdef __cplusplus
53751 extern "C"
53752 #endif
53753 /* We use char because int might match the return type of a gcc2
53754 builtin and then its argument prototype would still apply. */
53755 char iconv ();
53757 main ()
53759 iconv ();
53761 return 0;
53763 _ACEOF
53764 rm -f conftest.$ac_objext conftest$ac_exeext
53765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53766 (eval $ac_link) 2>conftest.er1
53767 ac_status=$?
53768 grep -v '^ *+' conftest.er1 >conftest.err
53769 rm -f conftest.er1
53770 cat conftest.err >&5
53771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53772 (exit $ac_status); } &&
53773 { ac_try='test -z "$ac_c_werror_flag"
53774 || test ! -s conftest.err'
53775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53776 (eval $ac_try) 2>&5
53777 ac_status=$?
53778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53779 (exit $ac_status); }; } &&
53780 { ac_try='test -s conftest$ac_exeext'
53781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53782 (eval $ac_try) 2>&5
53783 ac_status=$?
53784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53785 (exit $ac_status); }; }; then
53786 ac_cv_lib_iconv_iconv=yes
53787 else
53788 echo "$as_me: failed program was:" >&5
53789 sed 's/^/| /' conftest.$ac_ext >&5
53791 ac_cv_lib_iconv_iconv=no
53793 rm -f conftest.err conftest.$ac_objext \
53794 conftest$ac_exeext conftest.$ac_ext
53795 LIBS=$ac_check_lib_save_LIBS
53797 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
53798 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
53799 if test $ac_cv_lib_iconv_iconv = yes; then
53800 LIBICONV="-liconv"
53803 ac_save_LIBS="$LIBS"
53804 LIBS="$LIBS $LIBICONV"
53811 for ac_func in iconv_open iconv_close iconv nl_langinfo
53813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53814 echo "$as_me:$LINENO: checking for $ac_func" >&5
53815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53816 if eval "test \"\${$as_ac_var+set}\" = set"; then
53817 echo $ECHO_N "(cached) $ECHO_C" >&6
53818 else
53819 if test x$gcc_no_link = xyes; then
53820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53822 { (exit 1); exit 1; }; }
53824 cat >conftest.$ac_ext <<_ACEOF
53825 /* confdefs.h. */
53826 _ACEOF
53827 cat confdefs.h >>conftest.$ac_ext
53828 cat >>conftest.$ac_ext <<_ACEOF
53829 /* end confdefs.h. */
53830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53832 #define $ac_func innocuous_$ac_func
53834 /* System header to define __stub macros and hopefully few prototypes,
53835 which can conflict with char $ac_func (); below.
53836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53837 <limits.h> exists even on freestanding compilers. */
53839 #ifdef __STDC__
53840 # include <limits.h>
53841 #else
53842 # include <assert.h>
53843 #endif
53845 #undef $ac_func
53847 /* Override any gcc2 internal prototype to avoid an error. */
53848 #ifdef __cplusplus
53849 extern "C"
53851 #endif
53852 /* We use char because int might match the return type of a gcc2
53853 builtin and then its argument prototype would still apply. */
53854 char $ac_func ();
53855 /* The GNU C library defines this for functions which it implements
53856 to always fail with ENOSYS. Some functions are actually named
53857 something starting with __ and the normal name is an alias. */
53858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53859 choke me
53860 #else
53861 char (*f) () = $ac_func;
53862 #endif
53863 #ifdef __cplusplus
53865 #endif
53868 main ()
53870 return f != $ac_func;
53872 return 0;
53874 _ACEOF
53875 rm -f conftest.$ac_objext conftest$ac_exeext
53876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53877 (eval $ac_link) 2>conftest.er1
53878 ac_status=$?
53879 grep -v '^ *+' conftest.er1 >conftest.err
53880 rm -f conftest.er1
53881 cat conftest.err >&5
53882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53883 (exit $ac_status); } &&
53884 { ac_try='test -z "$ac_c_werror_flag"
53885 || test ! -s conftest.err'
53886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53887 (eval $ac_try) 2>&5
53888 ac_status=$?
53889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53890 (exit $ac_status); }; } &&
53891 { ac_try='test -s conftest$ac_exeext'
53892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53893 (eval $ac_try) 2>&5
53894 ac_status=$?
53895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53896 (exit $ac_status); }; }; then
53897 eval "$as_ac_var=yes"
53898 else
53899 echo "$as_me: failed program was:" >&5
53900 sed 's/^/| /' conftest.$ac_ext >&5
53902 eval "$as_ac_var=no"
53904 rm -f conftest.err conftest.$ac_objext \
53905 conftest$ac_exeext conftest.$ac_ext
53907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53909 if test `eval echo '${'$as_ac_var'}'` = yes; then
53910 cat >>confdefs.h <<_ACEOF
53911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53912 _ACEOF
53913 ac_XPG2funcs=yes
53914 else
53915 ac_XPG2funcs=no
53917 done
53920 LIBS="$ac_save_LIBS"
53922 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
53923 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
53924 if test x"$ac_has_iconv_h" = xyes &&
53925 test x"$ac_has_langinfo_h" = xyes &&
53926 test x"$ac_XPG2funcs" = xyes;
53927 then
53928 ac_XPG2_wchar_t=yes
53929 else
53930 ac_XPG2_wchar_t=no
53932 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
53933 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
53935 # At the moment, only enable wchar_t specializations if all the
53936 # above support is present.
53937 if test x"$ac_isoC99_wchar_t" = xyes &&
53938 test x"$ac_XPG2_wchar_t" = xyes;
53939 then
53940 cat >>confdefs.h <<\_ACEOF
53941 #define _GLIBCXX_USE_WCHAR_T 1
53942 _ACEOF
53944 enable_wchar_t=yes
53947 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
53948 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
53949 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
53950 echo "${ECHO_T}$enable_wchar_t" >&6
53953 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53954 ac_save_CXXFLAGS="$CXXFLAGS"
53955 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53958 echo "$as_me:$LINENO: checking for strtold declaration" >&5
53959 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
53960 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53961 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
53962 echo $ECHO_N "(cached) $ECHO_C" >&6
53963 else
53967 ac_ext=cc
53968 ac_cpp='$CXXCPP $CPPFLAGS'
53969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53973 cat >conftest.$ac_ext <<_ACEOF
53974 /* confdefs.h. */
53975 _ACEOF
53976 cat confdefs.h >>conftest.$ac_ext
53977 cat >>conftest.$ac_ext <<_ACEOF
53978 /* end confdefs.h. */
53979 #include <stdlib.h>
53981 main ()
53983 strtold(0, 0);
53985 return 0;
53987 _ACEOF
53988 rm -f conftest.$ac_objext
53989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53990 (eval $ac_compile) 2>conftest.er1
53991 ac_status=$?
53992 grep -v '^ *+' conftest.er1 >conftest.err
53993 rm -f conftest.er1
53994 cat conftest.err >&5
53995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53996 (exit $ac_status); } &&
53997 { ac_try='test -z "$ac_cxx_werror_flag"
53998 || test ! -s conftest.err'
53999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54000 (eval $ac_try) 2>&5
54001 ac_status=$?
54002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54003 (exit $ac_status); }; } &&
54004 { ac_try='test -s conftest.$ac_objext'
54005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54006 (eval $ac_try) 2>&5
54007 ac_status=$?
54008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54009 (exit $ac_status); }; }; then
54010 glibcxx_cv_func_strtold_use=yes
54011 else
54012 echo "$as_me: failed program was:" >&5
54013 sed 's/^/| /' conftest.$ac_ext >&5
54015 glibcxx_cv_func_strtold_use=no
54017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54018 ac_ext=c
54019 ac_cpp='$CPP $CPPFLAGS'
54020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54028 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
54029 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
54030 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
54032 for ac_func in strtold
54034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54035 echo "$as_me:$LINENO: checking for $ac_func" >&5
54036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54037 if eval "test \"\${$as_ac_var+set}\" = set"; then
54038 echo $ECHO_N "(cached) $ECHO_C" >&6
54039 else
54040 if test x$gcc_no_link = xyes; then
54041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54043 { (exit 1); exit 1; }; }
54045 cat >conftest.$ac_ext <<_ACEOF
54046 /* confdefs.h. */
54047 _ACEOF
54048 cat confdefs.h >>conftest.$ac_ext
54049 cat >>conftest.$ac_ext <<_ACEOF
54050 /* end confdefs.h. */
54051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54053 #define $ac_func innocuous_$ac_func
54055 /* System header to define __stub macros and hopefully few prototypes,
54056 which can conflict with char $ac_func (); below.
54057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54058 <limits.h> exists even on freestanding compilers. */
54060 #ifdef __STDC__
54061 # include <limits.h>
54062 #else
54063 # include <assert.h>
54064 #endif
54066 #undef $ac_func
54068 /* Override any gcc2 internal prototype to avoid an error. */
54069 #ifdef __cplusplus
54070 extern "C"
54072 #endif
54073 /* We use char because int might match the return type of a gcc2
54074 builtin and then its argument prototype would still apply. */
54075 char $ac_func ();
54076 /* The GNU C library defines this for functions which it implements
54077 to always fail with ENOSYS. Some functions are actually named
54078 something starting with __ and the normal name is an alias. */
54079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54080 choke me
54081 #else
54082 char (*f) () = $ac_func;
54083 #endif
54084 #ifdef __cplusplus
54086 #endif
54089 main ()
54091 return f != $ac_func;
54093 return 0;
54095 _ACEOF
54096 rm -f conftest.$ac_objext conftest$ac_exeext
54097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54098 (eval $ac_link) 2>conftest.er1
54099 ac_status=$?
54100 grep -v '^ *+' conftest.er1 >conftest.err
54101 rm -f conftest.er1
54102 cat conftest.err >&5
54103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54104 (exit $ac_status); } &&
54105 { ac_try='test -z "$ac_c_werror_flag"
54106 || test ! -s conftest.err'
54107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54108 (eval $ac_try) 2>&5
54109 ac_status=$?
54110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54111 (exit $ac_status); }; } &&
54112 { ac_try='test -s conftest$ac_exeext'
54113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54114 (eval $ac_try) 2>&5
54115 ac_status=$?
54116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54117 (exit $ac_status); }; }; then
54118 eval "$as_ac_var=yes"
54119 else
54120 echo "$as_me: failed program was:" >&5
54121 sed 's/^/| /' conftest.$ac_ext >&5
54123 eval "$as_ac_var=no"
54125 rm -f conftest.err conftest.$ac_objext \
54126 conftest$ac_exeext conftest.$ac_ext
54128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54130 if test `eval echo '${'$as_ac_var'}'` = yes; then
54131 cat >>confdefs.h <<_ACEOF
54132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54133 _ACEOF
54136 done
54141 echo "$as_me:$LINENO: checking for strtof declaration" >&5
54142 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
54143 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
54144 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
54145 echo $ECHO_N "(cached) $ECHO_C" >&6
54146 else
54150 ac_ext=cc
54151 ac_cpp='$CXXCPP $CPPFLAGS'
54152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54156 cat >conftest.$ac_ext <<_ACEOF
54157 /* confdefs.h. */
54158 _ACEOF
54159 cat confdefs.h >>conftest.$ac_ext
54160 cat >>conftest.$ac_ext <<_ACEOF
54161 /* end confdefs.h. */
54162 #include <stdlib.h>
54164 main ()
54166 strtof(0, 0);
54168 return 0;
54170 _ACEOF
54171 rm -f conftest.$ac_objext
54172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54173 (eval $ac_compile) 2>conftest.er1
54174 ac_status=$?
54175 grep -v '^ *+' conftest.er1 >conftest.err
54176 rm -f conftest.er1
54177 cat conftest.err >&5
54178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54179 (exit $ac_status); } &&
54180 { ac_try='test -z "$ac_cxx_werror_flag"
54181 || test ! -s conftest.err'
54182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54183 (eval $ac_try) 2>&5
54184 ac_status=$?
54185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54186 (exit $ac_status); }; } &&
54187 { ac_try='test -s conftest.$ac_objext'
54188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54189 (eval $ac_try) 2>&5
54190 ac_status=$?
54191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54192 (exit $ac_status); }; }; then
54193 glibcxx_cv_func_strtof_use=yes
54194 else
54195 echo "$as_me: failed program was:" >&5
54196 sed 's/^/| /' conftest.$ac_ext >&5
54198 glibcxx_cv_func_strtof_use=no
54200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54201 ac_ext=c
54202 ac_cpp='$CPP $CPPFLAGS'
54203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54211 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
54212 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
54213 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
54215 for ac_func in strtof
54217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54218 echo "$as_me:$LINENO: checking for $ac_func" >&5
54219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54220 if eval "test \"\${$as_ac_var+set}\" = set"; then
54221 echo $ECHO_N "(cached) $ECHO_C" >&6
54222 else
54223 if test x$gcc_no_link = xyes; then
54224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54226 { (exit 1); exit 1; }; }
54228 cat >conftest.$ac_ext <<_ACEOF
54229 /* confdefs.h. */
54230 _ACEOF
54231 cat confdefs.h >>conftest.$ac_ext
54232 cat >>conftest.$ac_ext <<_ACEOF
54233 /* end confdefs.h. */
54234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54236 #define $ac_func innocuous_$ac_func
54238 /* System header to define __stub macros and hopefully few prototypes,
54239 which can conflict with char $ac_func (); below.
54240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54241 <limits.h> exists even on freestanding compilers. */
54243 #ifdef __STDC__
54244 # include <limits.h>
54245 #else
54246 # include <assert.h>
54247 #endif
54249 #undef $ac_func
54251 /* Override any gcc2 internal prototype to avoid an error. */
54252 #ifdef __cplusplus
54253 extern "C"
54255 #endif
54256 /* We use char because int might match the return type of a gcc2
54257 builtin and then its argument prototype would still apply. */
54258 char $ac_func ();
54259 /* The GNU C library defines this for functions which it implements
54260 to always fail with ENOSYS. Some functions are actually named
54261 something starting with __ and the normal name is an alias. */
54262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54263 choke me
54264 #else
54265 char (*f) () = $ac_func;
54266 #endif
54267 #ifdef __cplusplus
54269 #endif
54272 main ()
54274 return f != $ac_func;
54276 return 0;
54278 _ACEOF
54279 rm -f conftest.$ac_objext conftest$ac_exeext
54280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54281 (eval $ac_link) 2>conftest.er1
54282 ac_status=$?
54283 grep -v '^ *+' conftest.er1 >conftest.err
54284 rm -f conftest.er1
54285 cat conftest.err >&5
54286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54287 (exit $ac_status); } &&
54288 { ac_try='test -z "$ac_c_werror_flag"
54289 || test ! -s conftest.err'
54290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54291 (eval $ac_try) 2>&5
54292 ac_status=$?
54293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54294 (exit $ac_status); }; } &&
54295 { ac_try='test -s conftest$ac_exeext'
54296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54297 (eval $ac_try) 2>&5
54298 ac_status=$?
54299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54300 (exit $ac_status); }; }; then
54301 eval "$as_ac_var=yes"
54302 else
54303 echo "$as_me: failed program was:" >&5
54304 sed 's/^/| /' conftest.$ac_ext >&5
54306 eval "$as_ac_var=no"
54308 rm -f conftest.err conftest.$ac_objext \
54309 conftest$ac_exeext conftest.$ac_ext
54311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54313 if test `eval echo '${'$as_ac_var'}'` = yes; then
54314 cat >>confdefs.h <<_ACEOF
54315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54316 _ACEOF
54319 done
54324 CXXFLAGS="$ac_save_CXXFLAGS"
54327 # For showmanyc_helper().
54330 for ac_header in sys/ioctl.h sys/filio.h
54332 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54334 echo "$as_me:$LINENO: checking for $ac_header" >&5
54335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54337 echo $ECHO_N "(cached) $ECHO_C" >&6
54339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54340 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54341 else
54342 # Is the header compilable?
54343 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54344 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54345 cat >conftest.$ac_ext <<_ACEOF
54346 /* confdefs.h. */
54347 _ACEOF
54348 cat confdefs.h >>conftest.$ac_ext
54349 cat >>conftest.$ac_ext <<_ACEOF
54350 /* end confdefs.h. */
54351 $ac_includes_default
54352 #include <$ac_header>
54353 _ACEOF
54354 rm -f conftest.$ac_objext
54355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54356 (eval $ac_compile) 2>conftest.er1
54357 ac_status=$?
54358 grep -v '^ *+' conftest.er1 >conftest.err
54359 rm -f conftest.er1
54360 cat conftest.err >&5
54361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54362 (exit $ac_status); } &&
54363 { ac_try='test -z "$ac_c_werror_flag"
54364 || test ! -s conftest.err'
54365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54366 (eval $ac_try) 2>&5
54367 ac_status=$?
54368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54369 (exit $ac_status); }; } &&
54370 { ac_try='test -s conftest.$ac_objext'
54371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54372 (eval $ac_try) 2>&5
54373 ac_status=$?
54374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54375 (exit $ac_status); }; }; then
54376 ac_header_compiler=yes
54377 else
54378 echo "$as_me: failed program was:" >&5
54379 sed 's/^/| /' conftest.$ac_ext >&5
54381 ac_header_compiler=no
54383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54384 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54385 echo "${ECHO_T}$ac_header_compiler" >&6
54387 # Is the header present?
54388 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54389 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54390 cat >conftest.$ac_ext <<_ACEOF
54391 /* confdefs.h. */
54392 _ACEOF
54393 cat confdefs.h >>conftest.$ac_ext
54394 cat >>conftest.$ac_ext <<_ACEOF
54395 /* end confdefs.h. */
54396 #include <$ac_header>
54397 _ACEOF
54398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54399 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54400 ac_status=$?
54401 grep -v '^ *+' conftest.er1 >conftest.err
54402 rm -f conftest.er1
54403 cat conftest.err >&5
54404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54405 (exit $ac_status); } >/dev/null; then
54406 if test -s conftest.err; then
54407 ac_cpp_err=$ac_c_preproc_warn_flag
54408 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
54409 else
54410 ac_cpp_err=
54412 else
54413 ac_cpp_err=yes
54415 if test -z "$ac_cpp_err"; then
54416 ac_header_preproc=yes
54417 else
54418 echo "$as_me: failed program was:" >&5
54419 sed 's/^/| /' conftest.$ac_ext >&5
54421 ac_header_preproc=no
54423 rm -f conftest.err conftest.$ac_ext
54424 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54425 echo "${ECHO_T}$ac_header_preproc" >&6
54427 # So? What about this header?
54428 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54429 yes:no: )
54430 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54431 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54432 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54433 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54434 ac_header_preproc=yes
54436 no:yes:* )
54437 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54438 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54439 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54440 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54441 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54442 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54443 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
54444 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
54445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54446 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54447 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54448 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54450 cat <<\_ASBOX
54451 ## ----------------------------------------- ##
54452 ## Report this to the package-unused lists. ##
54453 ## ----------------------------------------- ##
54454 _ASBOX
54456 sed "s/^/$as_me: WARNING: /" >&2
54458 esac
54459 echo "$as_me:$LINENO: checking for $ac_header" >&5
54460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54462 echo $ECHO_N "(cached) $ECHO_C" >&6
54463 else
54464 eval "$as_ac_Header=\$ac_header_preproc"
54466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54470 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54471 cat >>confdefs.h <<_ACEOF
54472 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54473 _ACEOF
54477 done
54480 if test "${glibcxx_cv_POLL+set}" = set; then
54481 echo $ECHO_N "(cached) $ECHO_C" >&6
54482 else
54484 if test x$gcc_no_link = xyes; then
54485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54487 { (exit 1); exit 1; }; }
54489 cat >conftest.$ac_ext <<_ACEOF
54490 /* confdefs.h. */
54491 _ACEOF
54492 cat confdefs.h >>conftest.$ac_ext
54493 cat >>conftest.$ac_ext <<_ACEOF
54494 /* end confdefs.h. */
54495 #include <poll.h>
54497 main ()
54499 struct pollfd pfd[1];
54500 pfd[0].events = POLLIN;
54501 poll(pfd, 1, 0);
54503 return 0;
54505 _ACEOF
54506 rm -f conftest.$ac_objext conftest$ac_exeext
54507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54508 (eval $ac_link) 2>conftest.er1
54509 ac_status=$?
54510 grep -v '^ *+' conftest.er1 >conftest.err
54511 rm -f conftest.er1
54512 cat conftest.err >&5
54513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54514 (exit $ac_status); } &&
54515 { ac_try='test -z "$ac_c_werror_flag"
54516 || test ! -s conftest.err'
54517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54518 (eval $ac_try) 2>&5
54519 ac_status=$?
54520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54521 (exit $ac_status); }; } &&
54522 { ac_try='test -s conftest$ac_exeext'
54523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54524 (eval $ac_try) 2>&5
54525 ac_status=$?
54526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54527 (exit $ac_status); }; }; then
54528 glibcxx_cv_POLL=yes
54529 else
54530 echo "$as_me: failed program was:" >&5
54531 sed 's/^/| /' conftest.$ac_ext >&5
54533 glibcxx_cv_POLL=no
54535 rm -f conftest.err conftest.$ac_objext \
54536 conftest$ac_exeext conftest.$ac_ext
54540 if test $glibcxx_cv_POLL = yes; then
54541 cat >>confdefs.h <<\_ACEOF
54542 #define HAVE_POLL 1
54543 _ACEOF
54548 if test "${glibcxx_cv_S_ISREG+set}" = set; then
54549 echo $ECHO_N "(cached) $ECHO_C" >&6
54550 else
54552 if test x$gcc_no_link = xyes; then
54553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54555 { (exit 1); exit 1; }; }
54557 cat >conftest.$ac_ext <<_ACEOF
54558 /* confdefs.h. */
54559 _ACEOF
54560 cat confdefs.h >>conftest.$ac_ext
54561 cat >>conftest.$ac_ext <<_ACEOF
54562 /* end confdefs.h. */
54563 #include <sys/stat.h>
54565 main ()
54567 struct stat buffer;
54568 fstat(0, &buffer);
54569 S_ISREG(buffer.st_mode);
54571 return 0;
54573 _ACEOF
54574 rm -f conftest.$ac_objext conftest$ac_exeext
54575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54576 (eval $ac_link) 2>conftest.er1
54577 ac_status=$?
54578 grep -v '^ *+' conftest.er1 >conftest.err
54579 rm -f conftest.er1
54580 cat conftest.err >&5
54581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54582 (exit $ac_status); } &&
54583 { ac_try='test -z "$ac_c_werror_flag"
54584 || test ! -s conftest.err'
54585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54586 (eval $ac_try) 2>&5
54587 ac_status=$?
54588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54589 (exit $ac_status); }; } &&
54590 { ac_try='test -s conftest$ac_exeext'
54591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54592 (eval $ac_try) 2>&5
54593 ac_status=$?
54594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54595 (exit $ac_status); }; }; then
54596 glibcxx_cv_S_ISREG=yes
54597 else
54598 echo "$as_me: failed program was:" >&5
54599 sed 's/^/| /' conftest.$ac_ext >&5
54601 glibcxx_cv_S_ISREG=no
54603 rm -f conftest.err conftest.$ac_objext \
54604 conftest$ac_exeext conftest.$ac_ext
54608 if test "${glibcxx_cv_S_IFREG+set}" = set; then
54609 echo $ECHO_N "(cached) $ECHO_C" >&6
54610 else
54612 if test x$gcc_no_link = xyes; then
54613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54615 { (exit 1); exit 1; }; }
54617 cat >conftest.$ac_ext <<_ACEOF
54618 /* confdefs.h. */
54619 _ACEOF
54620 cat confdefs.h >>conftest.$ac_ext
54621 cat >>conftest.$ac_ext <<_ACEOF
54622 /* end confdefs.h. */
54623 #include <sys/stat.h>
54625 main ()
54627 struct stat buffer;
54628 fstat(0, &buffer);
54629 S_IFREG & buffer.st_mode;
54631 return 0;
54633 _ACEOF
54634 rm -f conftest.$ac_objext conftest$ac_exeext
54635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54636 (eval $ac_link) 2>conftest.er1
54637 ac_status=$?
54638 grep -v '^ *+' conftest.er1 >conftest.err
54639 rm -f conftest.er1
54640 cat conftest.err >&5
54641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54642 (exit $ac_status); } &&
54643 { ac_try='test -z "$ac_c_werror_flag"
54644 || test ! -s conftest.err'
54645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54646 (eval $ac_try) 2>&5
54647 ac_status=$?
54648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54649 (exit $ac_status); }; } &&
54650 { ac_try='test -s conftest$ac_exeext'
54651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54652 (eval $ac_try) 2>&5
54653 ac_status=$?
54654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54655 (exit $ac_status); }; }; then
54656 glibcxx_cv_S_IFREG=yes
54657 else
54658 echo "$as_me: failed program was:" >&5
54659 sed 's/^/| /' conftest.$ac_ext >&5
54661 glibcxx_cv_S_IFREG=no
54663 rm -f conftest.err conftest.$ac_objext \
54664 conftest$ac_exeext conftest.$ac_ext
54668 if test $glibcxx_cv_S_ISREG = yes; then
54669 cat >>confdefs.h <<\_ACEOF
54670 #define HAVE_S_ISREG 1
54671 _ACEOF
54673 elif test $glibcxx_cv_S_IFREG = yes; then
54674 cat >>confdefs.h <<\_ACEOF
54675 #define HAVE_S_IFREG 1
54676 _ACEOF
54681 # For xsputn_2().
54683 for ac_header in sys/uio.h
54685 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54687 echo "$as_me:$LINENO: checking for $ac_header" >&5
54688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54690 echo $ECHO_N "(cached) $ECHO_C" >&6
54692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54693 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54694 else
54695 # Is the header compilable?
54696 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54697 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54698 cat >conftest.$ac_ext <<_ACEOF
54699 /* confdefs.h. */
54700 _ACEOF
54701 cat confdefs.h >>conftest.$ac_ext
54702 cat >>conftest.$ac_ext <<_ACEOF
54703 /* end confdefs.h. */
54704 $ac_includes_default
54705 #include <$ac_header>
54706 _ACEOF
54707 rm -f conftest.$ac_objext
54708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54709 (eval $ac_compile) 2>conftest.er1
54710 ac_status=$?
54711 grep -v '^ *+' conftest.er1 >conftest.err
54712 rm -f conftest.er1
54713 cat conftest.err >&5
54714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54715 (exit $ac_status); } &&
54716 { ac_try='test -z "$ac_c_werror_flag"
54717 || test ! -s conftest.err'
54718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54719 (eval $ac_try) 2>&5
54720 ac_status=$?
54721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54722 (exit $ac_status); }; } &&
54723 { ac_try='test -s conftest.$ac_objext'
54724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54725 (eval $ac_try) 2>&5
54726 ac_status=$?
54727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54728 (exit $ac_status); }; }; then
54729 ac_header_compiler=yes
54730 else
54731 echo "$as_me: failed program was:" >&5
54732 sed 's/^/| /' conftest.$ac_ext >&5
54734 ac_header_compiler=no
54736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54737 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54738 echo "${ECHO_T}$ac_header_compiler" >&6
54740 # Is the header present?
54741 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54742 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54743 cat >conftest.$ac_ext <<_ACEOF
54744 /* confdefs.h. */
54745 _ACEOF
54746 cat confdefs.h >>conftest.$ac_ext
54747 cat >>conftest.$ac_ext <<_ACEOF
54748 /* end confdefs.h. */
54749 #include <$ac_header>
54750 _ACEOF
54751 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54752 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54753 ac_status=$?
54754 grep -v '^ *+' conftest.er1 >conftest.err
54755 rm -f conftest.er1
54756 cat conftest.err >&5
54757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54758 (exit $ac_status); } >/dev/null; then
54759 if test -s conftest.err; then
54760 ac_cpp_err=$ac_c_preproc_warn_flag
54761 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
54762 else
54763 ac_cpp_err=
54765 else
54766 ac_cpp_err=yes
54768 if test -z "$ac_cpp_err"; then
54769 ac_header_preproc=yes
54770 else
54771 echo "$as_me: failed program was:" >&5
54772 sed 's/^/| /' conftest.$ac_ext >&5
54774 ac_header_preproc=no
54776 rm -f conftest.err conftest.$ac_ext
54777 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54778 echo "${ECHO_T}$ac_header_preproc" >&6
54780 # So? What about this header?
54781 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54782 yes:no: )
54783 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54784 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54785 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54786 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54787 ac_header_preproc=yes
54789 no:yes:* )
54790 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54791 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54792 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54793 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54794 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54795 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54796 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
54797 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
54798 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54799 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54800 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54801 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54803 cat <<\_ASBOX
54804 ## ----------------------------------------- ##
54805 ## Report this to the package-unused lists. ##
54806 ## ----------------------------------------- ##
54807 _ASBOX
54809 sed "s/^/$as_me: WARNING: /" >&2
54811 esac
54812 echo "$as_me:$LINENO: checking for $ac_header" >&5
54813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54815 echo $ECHO_N "(cached) $ECHO_C" >&6
54816 else
54817 eval "$as_ac_Header=\$ac_header_preproc"
54819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54820 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54823 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54824 cat >>confdefs.h <<_ACEOF
54825 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54826 _ACEOF
54830 done
54833 if test "${glibcxx_cv_WRITEV+set}" = set; then
54834 echo $ECHO_N "(cached) $ECHO_C" >&6
54835 else
54837 if test x$gcc_no_link = xyes; then
54838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54840 { (exit 1); exit 1; }; }
54842 cat >conftest.$ac_ext <<_ACEOF
54843 /* confdefs.h. */
54844 _ACEOF
54845 cat confdefs.h >>conftest.$ac_ext
54846 cat >>conftest.$ac_ext <<_ACEOF
54847 /* end confdefs.h. */
54848 #include <sys/uio.h>
54850 main ()
54852 struct iovec iov[2];
54853 writev(0, iov, 0);
54855 return 0;
54857 _ACEOF
54858 rm -f conftest.$ac_objext conftest$ac_exeext
54859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54860 (eval $ac_link) 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_c_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_exeext'
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_WRITEV=yes
54881 else
54882 echo "$as_me: failed program was:" >&5
54883 sed 's/^/| /' conftest.$ac_ext >&5
54885 glibcxx_cv_WRITEV=no
54887 rm -f conftest.err conftest.$ac_objext \
54888 conftest$ac_exeext conftest.$ac_ext
54892 if test $glibcxx_cv_WRITEV = yes; then
54893 cat >>confdefs.h <<\_ACEOF
54894 #define HAVE_WRITEV 1
54895 _ACEOF
54900 cat >>confdefs.h <<\_ACEOF
54901 #define HAVE_LC_MESSAGES 1
54902 _ACEOF
54905 cat >conftest.$ac_ext <<_ACEOF
54906 /* confdefs.h. */
54907 _ACEOF
54908 cat confdefs.h >>conftest.$ac_ext
54909 cat >>conftest.$ac_ext <<_ACEOF
54910 /* end confdefs.h. */
54911 #include <setjmp.h>
54913 main ()
54915 sigjmp_buf env;
54916 while (! sigsetjmp (env, 1))
54917 siglongjmp (env, 1);
54920 return 0;
54922 _ACEOF
54923 rm -f conftest.$ac_objext
54924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54925 (eval $ac_compile) 2>conftest.er1
54926 ac_status=$?
54927 grep -v '^ *+' conftest.er1 >conftest.err
54928 rm -f conftest.er1
54929 cat conftest.err >&5
54930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54931 (exit $ac_status); } &&
54932 { ac_try='test -z "$ac_c_werror_flag"
54933 || test ! -s conftest.err'
54934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54935 (eval $ac_try) 2>&5
54936 ac_status=$?
54937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54938 (exit $ac_status); }; } &&
54939 { ac_try='test -s conftest.$ac_objext'
54940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54941 (eval $ac_try) 2>&5
54942 ac_status=$?
54943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54944 (exit $ac_status); }; }; then
54946 cat >>confdefs.h <<\_ACEOF
54947 #define HAVE_SIGSETJMP 1
54948 _ACEOF
54950 else
54951 echo "$as_me: failed program was:" >&5
54952 sed 's/^/| /' conftest.$ac_ext >&5
54955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54957 cat >>confdefs.h <<\_ACEOF
54958 #define HAVE_MMAP 1
54959 _ACEOF
54963 *djgpp)
54984 for ac_header in float.h ieeefp.h inttypes.h locale.h \
54985 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
54986 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
54987 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
54989 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54991 echo "$as_me:$LINENO: checking for $ac_header" >&5
54992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54994 echo $ECHO_N "(cached) $ECHO_C" >&6
54996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54997 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54998 else
54999 # Is the header compilable?
55000 echo "$as_me:$LINENO: checking $ac_header usability" >&5
55001 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
55002 cat >conftest.$ac_ext <<_ACEOF
55003 /* confdefs.h. */
55004 _ACEOF
55005 cat confdefs.h >>conftest.$ac_ext
55006 cat >>conftest.$ac_ext <<_ACEOF
55007 /* end confdefs.h. */
55008 $ac_includes_default
55009 #include <$ac_header>
55010 _ACEOF
55011 rm -f conftest.$ac_objext
55012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55013 (eval $ac_compile) 2>conftest.er1
55014 ac_status=$?
55015 grep -v '^ *+' conftest.er1 >conftest.err
55016 rm -f conftest.er1
55017 cat conftest.err >&5
55018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55019 (exit $ac_status); } &&
55020 { ac_try='test -z "$ac_c_werror_flag"
55021 || test ! -s conftest.err'
55022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55023 (eval $ac_try) 2>&5
55024 ac_status=$?
55025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55026 (exit $ac_status); }; } &&
55027 { ac_try='test -s conftest.$ac_objext'
55028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55029 (eval $ac_try) 2>&5
55030 ac_status=$?
55031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55032 (exit $ac_status); }; }; then
55033 ac_header_compiler=yes
55034 else
55035 echo "$as_me: failed program was:" >&5
55036 sed 's/^/| /' conftest.$ac_ext >&5
55038 ac_header_compiler=no
55040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55041 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55042 echo "${ECHO_T}$ac_header_compiler" >&6
55044 # Is the header present?
55045 echo "$as_me:$LINENO: checking $ac_header presence" >&5
55046 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
55047 cat >conftest.$ac_ext <<_ACEOF
55048 /* confdefs.h. */
55049 _ACEOF
55050 cat confdefs.h >>conftest.$ac_ext
55051 cat >>conftest.$ac_ext <<_ACEOF
55052 /* end confdefs.h. */
55053 #include <$ac_header>
55054 _ACEOF
55055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55056 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55057 ac_status=$?
55058 grep -v '^ *+' conftest.er1 >conftest.err
55059 rm -f conftest.er1
55060 cat conftest.err >&5
55061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55062 (exit $ac_status); } >/dev/null; then
55063 if test -s conftest.err; then
55064 ac_cpp_err=$ac_c_preproc_warn_flag
55065 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
55066 else
55067 ac_cpp_err=
55069 else
55070 ac_cpp_err=yes
55072 if test -z "$ac_cpp_err"; then
55073 ac_header_preproc=yes
55074 else
55075 echo "$as_me: failed program was:" >&5
55076 sed 's/^/| /' conftest.$ac_ext >&5
55078 ac_header_preproc=no
55080 rm -f conftest.err conftest.$ac_ext
55081 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55082 echo "${ECHO_T}$ac_header_preproc" >&6
55084 # So? What about this header?
55085 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
55086 yes:no: )
55087 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
55088 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
55089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
55090 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
55091 ac_header_preproc=yes
55093 no:yes:* )
55094 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
55095 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
55096 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
55097 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
55098 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
55099 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
55100 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
55101 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
55102 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55103 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55104 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
55105 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
55107 cat <<\_ASBOX
55108 ## ----------------------------------------- ##
55109 ## Report this to the package-unused lists. ##
55110 ## ----------------------------------------- ##
55111 _ASBOX
55113 sed "s/^/$as_me: WARNING: /" >&2
55115 esac
55116 echo "$as_me:$LINENO: checking for $ac_header" >&5
55117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55119 echo $ECHO_N "(cached) $ECHO_C" >&6
55120 else
55121 eval "$as_ac_Header=\$ac_header_preproc"
55123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
55128 cat >>confdefs.h <<_ACEOF
55129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
55130 _ACEOF
55134 done
55137 # All these tests are for C++; save the language and the compiler flags.
55138 # The CXXFLAGS thing is suspicious, but based on similar bits previously
55139 # found in GLIBCXX_CONFIGURE.
55142 ac_ext=cc
55143 ac_cpp='$CXXCPP $CPPFLAGS'
55144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55148 ac_test_CXXFLAGS="${CXXFLAGS+set}"
55149 ac_save_CXXFLAGS="$CXXFLAGS"
55151 # Check for maintainer-mode bits.
55152 if test x"$USE_MAINTAINER_MODE" = xno; then
55153 WERROR=''
55154 else
55155 WERROR='-Werror'
55158 # Check for -ffunction-sections -fdata-sections
55159 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
55160 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
55161 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
55162 cat >conftest.$ac_ext <<_ACEOF
55163 /* confdefs.h. */
55164 _ACEOF
55165 cat confdefs.h >>conftest.$ac_ext
55166 cat >>conftest.$ac_ext <<_ACEOF
55167 /* end confdefs.h. */
55170 main ()
55172 int foo;
55174 return 0;
55176 _ACEOF
55177 rm -f conftest.$ac_objext
55178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55179 (eval $ac_compile) 2>conftest.er1
55180 ac_status=$?
55181 grep -v '^ *+' conftest.er1 >conftest.err
55182 rm -f conftest.er1
55183 cat conftest.err >&5
55184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55185 (exit $ac_status); } &&
55186 { ac_try='test -z "$ac_cxx_werror_flag"
55187 || test ! -s conftest.err'
55188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55189 (eval $ac_try) 2>&5
55190 ac_status=$?
55191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55192 (exit $ac_status); }; } &&
55193 { ac_try='test -s conftest.$ac_objext'
55194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55195 (eval $ac_try) 2>&5
55196 ac_status=$?
55197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55198 (exit $ac_status); }; }; then
55199 ac_fdsections=yes
55200 else
55201 echo "$as_me: failed program was:" >&5
55202 sed 's/^/| /' conftest.$ac_ext >&5
55204 ac_fdsections=no
55206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55207 if test "$ac_test_CXXFLAGS" = set; then
55208 CXXFLAGS="$ac_save_CXXFLAGS"
55209 else
55210 # this is the suspicious part
55211 CXXFLAGS=''
55213 if test x"$ac_fdsections" = x"yes"; then
55214 SECTION_FLAGS='-ffunction-sections -fdata-sections'
55216 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
55217 echo "${ECHO_T}$ac_fdsections" >&6
55219 ac_ext=c
55220 ac_cpp='$CPP $CPPFLAGS'
55221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55229 # If we're not using GNU ld, then there's no point in even trying these
55230 # tests. Check for that first. We should have already tested for gld
55231 # by now (in libtool), but require it now just to be safe...
55232 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
55233 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
55237 # The name set by libtool depends on the version of libtool. Shame on us
55238 # for depending on an impl detail, but c'est la vie. Older versions used
55239 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
55240 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
55241 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
55242 # set (hence we're using an older libtool), then set it.
55243 if test x${with_gnu_ld+set} != xset; then
55244 if test x${ac_cv_prog_gnu_ld+set} != xset; then
55245 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
55246 with_gnu_ld=no
55247 else
55248 with_gnu_ld=$ac_cv_prog_gnu_ld
55252 # Start by getting the version number. I think the libtool test already
55253 # does some of this, but throws away the result.
55255 ldver=`$LD --version 2>/dev/null | head -1 | \
55256 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
55258 glibcxx_gnu_ld_version=`echo $ldver | \
55259 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
55261 # Set --gc-sections.
55262 if test "$with_gnu_ld" = "notbroken"; then
55263 # GNU ld it is! Joy and bunny rabbits!
55265 # All these tests are for C++; save the language and the compiler flags.
55266 # Need to do this so that g++ won't try to link in libstdc++
55267 ac_test_CFLAGS="${CFLAGS+set}"
55268 ac_save_CFLAGS="$CFLAGS"
55269 CFLAGS='-x c++ -Wl,--gc-sections'
55271 # Check for -Wl,--gc-sections
55272 # XXX This test is broken at the moment, as symbols required for linking
55273 # are now in libsupc++ (not built yet). In addition, this test has
55274 # cored on solaris in the past. In addition, --gc-sections doesn't
55275 # really work at the moment (keeps on discarding used sections, first
55276 # .eh_frame and now some of the glibc sections for iconv).
55277 # Bzzzzt. Thanks for playing, maybe next time.
55278 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
55279 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
55280 if test "$cross_compiling" = yes; then
55281 ac_sectionLDflags=yes
55282 else
55283 cat >conftest.$ac_ext <<_ACEOF
55284 /* confdefs.h. */
55285 _ACEOF
55286 cat confdefs.h >>conftest.$ac_ext
55287 cat >>conftest.$ac_ext <<_ACEOF
55288 /* end confdefs.h. */
55290 int main(void)
55292 try { throw 1; }
55293 catch (...) { };
55294 return 0;
55297 _ACEOF
55298 rm -f conftest$ac_exeext
55299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55300 (eval $ac_link) 2>&5
55301 ac_status=$?
55302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55303 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
55304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55305 (eval $ac_try) 2>&5
55306 ac_status=$?
55307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55308 (exit $ac_status); }; }; then
55309 ac_sectionLDflags=yes
55310 else
55311 echo "$as_me: program exited with status $ac_status" >&5
55312 echo "$as_me: failed program was:" >&5
55313 sed 's/^/| /' conftest.$ac_ext >&5
55315 ( exit $ac_status )
55316 ac_sectionLDflags=no
55318 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
55320 if test "$ac_test_CFLAGS" = set; then
55321 CFLAGS="$ac_save_CFLAGS"
55322 else
55323 # this is the suspicious part
55324 CFLAGS=''
55326 if test "$ac_sectionLDflags" = "yes"; then
55327 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
55329 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
55330 echo "${ECHO_T}$ac_sectionLDflags" >&6
55333 # Set linker optimization flags.
55334 if test x"$with_gnu_ld" = x"yes"; then
55335 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
55342 ac_test_CXXFLAGS="${CXXFLAGS+set}"
55343 ac_save_CXXFLAGS="$CXXFLAGS"
55344 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
55346 echo "$as_me:$LINENO: checking for sin in -lm" >&5
55347 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
55348 if test "${ac_cv_lib_m_sin+set}" = set; then
55349 echo $ECHO_N "(cached) $ECHO_C" >&6
55350 else
55351 ac_check_lib_save_LIBS=$LIBS
55352 LIBS="-lm $LIBS"
55353 if test x$gcc_no_link = xyes; then
55354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55356 { (exit 1); exit 1; }; }
55358 cat >conftest.$ac_ext <<_ACEOF
55359 /* confdefs.h. */
55360 _ACEOF
55361 cat confdefs.h >>conftest.$ac_ext
55362 cat >>conftest.$ac_ext <<_ACEOF
55363 /* end confdefs.h. */
55365 /* Override any gcc2 internal prototype to avoid an error. */
55366 #ifdef __cplusplus
55367 extern "C"
55368 #endif
55369 /* We use char because int might match the return type of a gcc2
55370 builtin and then its argument prototype would still apply. */
55371 char sin ();
55373 main ()
55375 sin ();
55377 return 0;
55379 _ACEOF
55380 rm -f conftest.$ac_objext conftest$ac_exeext
55381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55382 (eval $ac_link) 2>conftest.er1
55383 ac_status=$?
55384 grep -v '^ *+' conftest.er1 >conftest.err
55385 rm -f conftest.er1
55386 cat conftest.err >&5
55387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55388 (exit $ac_status); } &&
55389 { ac_try='test -z "$ac_c_werror_flag"
55390 || test ! -s conftest.err'
55391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55392 (eval $ac_try) 2>&5
55393 ac_status=$?
55394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55395 (exit $ac_status); }; } &&
55396 { ac_try='test -s conftest$ac_exeext'
55397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55398 (eval $ac_try) 2>&5
55399 ac_status=$?
55400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55401 (exit $ac_status); }; }; then
55402 ac_cv_lib_m_sin=yes
55403 else
55404 echo "$as_me: failed program was:" >&5
55405 sed 's/^/| /' conftest.$ac_ext >&5
55407 ac_cv_lib_m_sin=no
55409 rm -f conftest.err conftest.$ac_objext \
55410 conftest$ac_exeext conftest.$ac_ext
55411 LIBS=$ac_check_lib_save_LIBS
55413 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
55414 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
55415 if test $ac_cv_lib_m_sin = yes; then
55416 libm="-lm"
55419 ac_save_LIBS="$LIBS"
55420 LIBS="$LIBS $libm"
55424 echo "$as_me:$LINENO: checking for isinf declaration" >&5
55425 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
55426 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
55427 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
55428 echo $ECHO_N "(cached) $ECHO_C" >&6
55429 else
55433 ac_ext=cc
55434 ac_cpp='$CXXCPP $CPPFLAGS'
55435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55439 cat >conftest.$ac_ext <<_ACEOF
55440 /* confdefs.h. */
55441 _ACEOF
55442 cat confdefs.h >>conftest.$ac_ext
55443 cat >>conftest.$ac_ext <<_ACEOF
55444 /* end confdefs.h. */
55445 #include <math.h>
55446 #ifdef HAVE_IEEEFP_H
55447 #include <ieeefp.h>
55448 #endif
55451 main ()
55453 isinf(0);
55455 return 0;
55457 _ACEOF
55458 rm -f conftest.$ac_objext
55459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55460 (eval $ac_compile) 2>conftest.er1
55461 ac_status=$?
55462 grep -v '^ *+' conftest.er1 >conftest.err
55463 rm -f conftest.er1
55464 cat conftest.err >&5
55465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55466 (exit $ac_status); } &&
55467 { ac_try='test -z "$ac_cxx_werror_flag"
55468 || test ! -s conftest.err'
55469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55470 (eval $ac_try) 2>&5
55471 ac_status=$?
55472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55473 (exit $ac_status); }; } &&
55474 { ac_try='test -s conftest.$ac_objext'
55475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55476 (eval $ac_try) 2>&5
55477 ac_status=$?
55478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55479 (exit $ac_status); }; }; then
55480 glibcxx_cv_func_isinf_use=yes
55481 else
55482 echo "$as_me: failed program was:" >&5
55483 sed 's/^/| /' conftest.$ac_ext >&5
55485 glibcxx_cv_func_isinf_use=no
55487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55488 ac_ext=c
55489 ac_cpp='$CPP $CPPFLAGS'
55490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55498 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
55499 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
55501 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
55503 for ac_func in isinf
55505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55506 echo "$as_me:$LINENO: checking for $ac_func" >&5
55507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55508 if eval "test \"\${$as_ac_var+set}\" = set"; then
55509 echo $ECHO_N "(cached) $ECHO_C" >&6
55510 else
55511 if test x$gcc_no_link = xyes; then
55512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55514 { (exit 1); exit 1; }; }
55516 cat >conftest.$ac_ext <<_ACEOF
55517 /* confdefs.h. */
55518 _ACEOF
55519 cat confdefs.h >>conftest.$ac_ext
55520 cat >>conftest.$ac_ext <<_ACEOF
55521 /* end confdefs.h. */
55522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55524 #define $ac_func innocuous_$ac_func
55526 /* System header to define __stub macros and hopefully few prototypes,
55527 which can conflict with char $ac_func (); below.
55528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55529 <limits.h> exists even on freestanding compilers. */
55531 #ifdef __STDC__
55532 # include <limits.h>
55533 #else
55534 # include <assert.h>
55535 #endif
55537 #undef $ac_func
55539 /* Override any gcc2 internal prototype to avoid an error. */
55540 #ifdef __cplusplus
55541 extern "C"
55543 #endif
55544 /* We use char because int might match the return type of a gcc2
55545 builtin and then its argument prototype would still apply. */
55546 char $ac_func ();
55547 /* The GNU C library defines this for functions which it implements
55548 to always fail with ENOSYS. Some functions are actually named
55549 something starting with __ and the normal name is an alias. */
55550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55551 choke me
55552 #else
55553 char (*f) () = $ac_func;
55554 #endif
55555 #ifdef __cplusplus
55557 #endif
55560 main ()
55562 return f != $ac_func;
55564 return 0;
55566 _ACEOF
55567 rm -f conftest.$ac_objext conftest$ac_exeext
55568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55569 (eval $ac_link) 2>conftest.er1
55570 ac_status=$?
55571 grep -v '^ *+' conftest.er1 >conftest.err
55572 rm -f conftest.er1
55573 cat conftest.err >&5
55574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55575 (exit $ac_status); } &&
55576 { ac_try='test -z "$ac_c_werror_flag"
55577 || test ! -s conftest.err'
55578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55579 (eval $ac_try) 2>&5
55580 ac_status=$?
55581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55582 (exit $ac_status); }; } &&
55583 { ac_try='test -s conftest$ac_exeext'
55584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55585 (eval $ac_try) 2>&5
55586 ac_status=$?
55587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55588 (exit $ac_status); }; }; then
55589 eval "$as_ac_var=yes"
55590 else
55591 echo "$as_me: failed program was:" >&5
55592 sed 's/^/| /' conftest.$ac_ext >&5
55594 eval "$as_ac_var=no"
55596 rm -f conftest.err conftest.$ac_objext \
55597 conftest$ac_exeext conftest.$ac_ext
55599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55601 if test `eval echo '${'$as_ac_var'}'` = yes; then
55602 cat >>confdefs.h <<_ACEOF
55603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55604 _ACEOF
55607 done
55609 else
55611 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
55612 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
55613 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
55614 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
55615 echo $ECHO_N "(cached) $ECHO_C" >&6
55616 else
55620 ac_ext=cc
55621 ac_cpp='$CXXCPP $CPPFLAGS'
55622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55626 cat >conftest.$ac_ext <<_ACEOF
55627 /* confdefs.h. */
55628 _ACEOF
55629 cat confdefs.h >>conftest.$ac_ext
55630 cat >>conftest.$ac_ext <<_ACEOF
55631 /* end confdefs.h. */
55632 #include <math.h>
55633 #ifdef HAVE_IEEEFP_H
55634 #include <ieeefp.h>
55635 #endif
55638 main ()
55640 _isinf(0);
55642 return 0;
55644 _ACEOF
55645 rm -f conftest.$ac_objext
55646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55647 (eval $ac_compile) 2>conftest.er1
55648 ac_status=$?
55649 grep -v '^ *+' conftest.er1 >conftest.err
55650 rm -f conftest.er1
55651 cat conftest.err >&5
55652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55653 (exit $ac_status); } &&
55654 { ac_try='test -z "$ac_cxx_werror_flag"
55655 || test ! -s conftest.err'
55656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55657 (eval $ac_try) 2>&5
55658 ac_status=$?
55659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55660 (exit $ac_status); }; } &&
55661 { ac_try='test -s conftest.$ac_objext'
55662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55663 (eval $ac_try) 2>&5
55664 ac_status=$?
55665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55666 (exit $ac_status); }; }; then
55667 glibcxx_cv_func__isinf_use=yes
55668 else
55669 echo "$as_me: failed program was:" >&5
55670 sed 's/^/| /' conftest.$ac_ext >&5
55672 glibcxx_cv_func__isinf_use=no
55674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55675 ac_ext=c
55676 ac_cpp='$CPP $CPPFLAGS'
55677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55685 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
55686 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
55688 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
55690 for ac_func in _isinf
55692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55693 echo "$as_me:$LINENO: checking for $ac_func" >&5
55694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55695 if eval "test \"\${$as_ac_var+set}\" = set"; then
55696 echo $ECHO_N "(cached) $ECHO_C" >&6
55697 else
55698 if test x$gcc_no_link = xyes; then
55699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55701 { (exit 1); exit 1; }; }
55703 cat >conftest.$ac_ext <<_ACEOF
55704 /* confdefs.h. */
55705 _ACEOF
55706 cat confdefs.h >>conftest.$ac_ext
55707 cat >>conftest.$ac_ext <<_ACEOF
55708 /* end confdefs.h. */
55709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55711 #define $ac_func innocuous_$ac_func
55713 /* System header to define __stub macros and hopefully few prototypes,
55714 which can conflict with char $ac_func (); below.
55715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55716 <limits.h> exists even on freestanding compilers. */
55718 #ifdef __STDC__
55719 # include <limits.h>
55720 #else
55721 # include <assert.h>
55722 #endif
55724 #undef $ac_func
55726 /* Override any gcc2 internal prototype to avoid an error. */
55727 #ifdef __cplusplus
55728 extern "C"
55730 #endif
55731 /* We use char because int might match the return type of a gcc2
55732 builtin and then its argument prototype would still apply. */
55733 char $ac_func ();
55734 /* The GNU C library defines this for functions which it implements
55735 to always fail with ENOSYS. Some functions are actually named
55736 something starting with __ and the normal name is an alias. */
55737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55738 choke me
55739 #else
55740 char (*f) () = $ac_func;
55741 #endif
55742 #ifdef __cplusplus
55744 #endif
55747 main ()
55749 return f != $ac_func;
55751 return 0;
55753 _ACEOF
55754 rm -f conftest.$ac_objext conftest$ac_exeext
55755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55756 (eval $ac_link) 2>conftest.er1
55757 ac_status=$?
55758 grep -v '^ *+' conftest.er1 >conftest.err
55759 rm -f conftest.er1
55760 cat conftest.err >&5
55761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55762 (exit $ac_status); } &&
55763 { ac_try='test -z "$ac_c_werror_flag"
55764 || test ! -s conftest.err'
55765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55766 (eval $ac_try) 2>&5
55767 ac_status=$?
55768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55769 (exit $ac_status); }; } &&
55770 { ac_try='test -s conftest$ac_exeext'
55771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55772 (eval $ac_try) 2>&5
55773 ac_status=$?
55774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55775 (exit $ac_status); }; }; then
55776 eval "$as_ac_var=yes"
55777 else
55778 echo "$as_me: failed program was:" >&5
55779 sed 's/^/| /' conftest.$ac_ext >&5
55781 eval "$as_ac_var=no"
55783 rm -f conftest.err conftest.$ac_objext \
55784 conftest$ac_exeext conftest.$ac_ext
55786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55788 if test `eval echo '${'$as_ac_var'}'` = yes; then
55789 cat >>confdefs.h <<_ACEOF
55790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55791 _ACEOF
55794 done
55801 echo "$as_me:$LINENO: checking for isnan declaration" >&5
55802 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
55803 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
55804 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
55805 echo $ECHO_N "(cached) $ECHO_C" >&6
55806 else
55810 ac_ext=cc
55811 ac_cpp='$CXXCPP $CPPFLAGS'
55812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55816 cat >conftest.$ac_ext <<_ACEOF
55817 /* confdefs.h. */
55818 _ACEOF
55819 cat confdefs.h >>conftest.$ac_ext
55820 cat >>conftest.$ac_ext <<_ACEOF
55821 /* end confdefs.h. */
55822 #include <math.h>
55823 #ifdef HAVE_IEEEFP_H
55824 #include <ieeefp.h>
55825 #endif
55828 main ()
55830 isnan(0);
55832 return 0;
55834 _ACEOF
55835 rm -f conftest.$ac_objext
55836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55837 (eval $ac_compile) 2>conftest.er1
55838 ac_status=$?
55839 grep -v '^ *+' conftest.er1 >conftest.err
55840 rm -f conftest.er1
55841 cat conftest.err >&5
55842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55843 (exit $ac_status); } &&
55844 { ac_try='test -z "$ac_cxx_werror_flag"
55845 || test ! -s conftest.err'
55846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55847 (eval $ac_try) 2>&5
55848 ac_status=$?
55849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55850 (exit $ac_status); }; } &&
55851 { ac_try='test -s conftest.$ac_objext'
55852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55853 (eval $ac_try) 2>&5
55854 ac_status=$?
55855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55856 (exit $ac_status); }; }; then
55857 glibcxx_cv_func_isnan_use=yes
55858 else
55859 echo "$as_me: failed program was:" >&5
55860 sed 's/^/| /' conftest.$ac_ext >&5
55862 glibcxx_cv_func_isnan_use=no
55864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55865 ac_ext=c
55866 ac_cpp='$CPP $CPPFLAGS'
55867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55875 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
55876 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
55878 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
55880 for ac_func in isnan
55882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55883 echo "$as_me:$LINENO: checking for $ac_func" >&5
55884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55885 if eval "test \"\${$as_ac_var+set}\" = set"; then
55886 echo $ECHO_N "(cached) $ECHO_C" >&6
55887 else
55888 if test x$gcc_no_link = xyes; then
55889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55891 { (exit 1); exit 1; }; }
55893 cat >conftest.$ac_ext <<_ACEOF
55894 /* confdefs.h. */
55895 _ACEOF
55896 cat confdefs.h >>conftest.$ac_ext
55897 cat >>conftest.$ac_ext <<_ACEOF
55898 /* end confdefs.h. */
55899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55901 #define $ac_func innocuous_$ac_func
55903 /* System header to define __stub macros and hopefully few prototypes,
55904 which can conflict with char $ac_func (); below.
55905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55906 <limits.h> exists even on freestanding compilers. */
55908 #ifdef __STDC__
55909 # include <limits.h>
55910 #else
55911 # include <assert.h>
55912 #endif
55914 #undef $ac_func
55916 /* Override any gcc2 internal prototype to avoid an error. */
55917 #ifdef __cplusplus
55918 extern "C"
55920 #endif
55921 /* We use char because int might match the return type of a gcc2
55922 builtin and then its argument prototype would still apply. */
55923 char $ac_func ();
55924 /* The GNU C library defines this for functions which it implements
55925 to always fail with ENOSYS. Some functions are actually named
55926 something starting with __ and the normal name is an alias. */
55927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55928 choke me
55929 #else
55930 char (*f) () = $ac_func;
55931 #endif
55932 #ifdef __cplusplus
55934 #endif
55937 main ()
55939 return f != $ac_func;
55941 return 0;
55943 _ACEOF
55944 rm -f conftest.$ac_objext conftest$ac_exeext
55945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55946 (eval $ac_link) 2>conftest.er1
55947 ac_status=$?
55948 grep -v '^ *+' conftest.er1 >conftest.err
55949 rm -f conftest.er1
55950 cat conftest.err >&5
55951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55952 (exit $ac_status); } &&
55953 { ac_try='test -z "$ac_c_werror_flag"
55954 || test ! -s conftest.err'
55955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55956 (eval $ac_try) 2>&5
55957 ac_status=$?
55958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55959 (exit $ac_status); }; } &&
55960 { ac_try='test -s conftest$ac_exeext'
55961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55962 (eval $ac_try) 2>&5
55963 ac_status=$?
55964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55965 (exit $ac_status); }; }; then
55966 eval "$as_ac_var=yes"
55967 else
55968 echo "$as_me: failed program was:" >&5
55969 sed 's/^/| /' conftest.$ac_ext >&5
55971 eval "$as_ac_var=no"
55973 rm -f conftest.err conftest.$ac_objext \
55974 conftest$ac_exeext conftest.$ac_ext
55976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55978 if test `eval echo '${'$as_ac_var'}'` = yes; then
55979 cat >>confdefs.h <<_ACEOF
55980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55981 _ACEOF
55984 done
55986 else
55988 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
55989 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
55990 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
55991 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
55992 echo $ECHO_N "(cached) $ECHO_C" >&6
55993 else
55997 ac_ext=cc
55998 ac_cpp='$CXXCPP $CPPFLAGS'
55999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56003 cat >conftest.$ac_ext <<_ACEOF
56004 /* confdefs.h. */
56005 _ACEOF
56006 cat confdefs.h >>conftest.$ac_ext
56007 cat >>conftest.$ac_ext <<_ACEOF
56008 /* end confdefs.h. */
56009 #include <math.h>
56010 #ifdef HAVE_IEEEFP_H
56011 #include <ieeefp.h>
56012 #endif
56015 main ()
56017 _isnan(0);
56019 return 0;
56021 _ACEOF
56022 rm -f conftest.$ac_objext
56023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56024 (eval $ac_compile) 2>conftest.er1
56025 ac_status=$?
56026 grep -v '^ *+' conftest.er1 >conftest.err
56027 rm -f conftest.er1
56028 cat conftest.err >&5
56029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56030 (exit $ac_status); } &&
56031 { ac_try='test -z "$ac_cxx_werror_flag"
56032 || test ! -s conftest.err'
56033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56034 (eval $ac_try) 2>&5
56035 ac_status=$?
56036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56037 (exit $ac_status); }; } &&
56038 { ac_try='test -s conftest.$ac_objext'
56039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56040 (eval $ac_try) 2>&5
56041 ac_status=$?
56042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56043 (exit $ac_status); }; }; then
56044 glibcxx_cv_func__isnan_use=yes
56045 else
56046 echo "$as_me: failed program was:" >&5
56047 sed 's/^/| /' conftest.$ac_ext >&5
56049 glibcxx_cv_func__isnan_use=no
56051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56052 ac_ext=c
56053 ac_cpp='$CPP $CPPFLAGS'
56054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56062 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
56063 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
56065 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
56067 for ac_func in _isnan
56069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56070 echo "$as_me:$LINENO: checking for $ac_func" >&5
56071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56072 if eval "test \"\${$as_ac_var+set}\" = set"; then
56073 echo $ECHO_N "(cached) $ECHO_C" >&6
56074 else
56075 if test x$gcc_no_link = xyes; then
56076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56078 { (exit 1); exit 1; }; }
56080 cat >conftest.$ac_ext <<_ACEOF
56081 /* confdefs.h. */
56082 _ACEOF
56083 cat confdefs.h >>conftest.$ac_ext
56084 cat >>conftest.$ac_ext <<_ACEOF
56085 /* end confdefs.h. */
56086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56088 #define $ac_func innocuous_$ac_func
56090 /* System header to define __stub macros and hopefully few prototypes,
56091 which can conflict with char $ac_func (); below.
56092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56093 <limits.h> exists even on freestanding compilers. */
56095 #ifdef __STDC__
56096 # include <limits.h>
56097 #else
56098 # include <assert.h>
56099 #endif
56101 #undef $ac_func
56103 /* Override any gcc2 internal prototype to avoid an error. */
56104 #ifdef __cplusplus
56105 extern "C"
56107 #endif
56108 /* We use char because int might match the return type of a gcc2
56109 builtin and then its argument prototype would still apply. */
56110 char $ac_func ();
56111 /* The GNU C library defines this for functions which it implements
56112 to always fail with ENOSYS. Some functions are actually named
56113 something starting with __ and the normal name is an alias. */
56114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56115 choke me
56116 #else
56117 char (*f) () = $ac_func;
56118 #endif
56119 #ifdef __cplusplus
56121 #endif
56124 main ()
56126 return f != $ac_func;
56128 return 0;
56130 _ACEOF
56131 rm -f conftest.$ac_objext conftest$ac_exeext
56132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56133 (eval $ac_link) 2>conftest.er1
56134 ac_status=$?
56135 grep -v '^ *+' conftest.er1 >conftest.err
56136 rm -f conftest.er1
56137 cat conftest.err >&5
56138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56139 (exit $ac_status); } &&
56140 { ac_try='test -z "$ac_c_werror_flag"
56141 || test ! -s conftest.err'
56142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56143 (eval $ac_try) 2>&5
56144 ac_status=$?
56145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56146 (exit $ac_status); }; } &&
56147 { ac_try='test -s conftest$ac_exeext'
56148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56149 (eval $ac_try) 2>&5
56150 ac_status=$?
56151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56152 (exit $ac_status); }; }; then
56153 eval "$as_ac_var=yes"
56154 else
56155 echo "$as_me: failed program was:" >&5
56156 sed 's/^/| /' conftest.$ac_ext >&5
56158 eval "$as_ac_var=no"
56160 rm -f conftest.err conftest.$ac_objext \
56161 conftest$ac_exeext conftest.$ac_ext
56163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56165 if test `eval echo '${'$as_ac_var'}'` = yes; then
56166 cat >>confdefs.h <<_ACEOF
56167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56168 _ACEOF
56171 done
56178 echo "$as_me:$LINENO: checking for finite declaration" >&5
56179 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
56180 if test x${glibcxx_cv_func_finite_use+set} != xset; then
56181 if test "${glibcxx_cv_func_finite_use+set}" = set; then
56182 echo $ECHO_N "(cached) $ECHO_C" >&6
56183 else
56187 ac_ext=cc
56188 ac_cpp='$CXXCPP $CPPFLAGS'
56189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56193 cat >conftest.$ac_ext <<_ACEOF
56194 /* confdefs.h. */
56195 _ACEOF
56196 cat confdefs.h >>conftest.$ac_ext
56197 cat >>conftest.$ac_ext <<_ACEOF
56198 /* end confdefs.h. */
56199 #include <math.h>
56200 #ifdef HAVE_IEEEFP_H
56201 #include <ieeefp.h>
56202 #endif
56205 main ()
56207 finite(0);
56209 return 0;
56211 _ACEOF
56212 rm -f conftest.$ac_objext
56213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56214 (eval $ac_compile) 2>conftest.er1
56215 ac_status=$?
56216 grep -v '^ *+' conftest.er1 >conftest.err
56217 rm -f conftest.er1
56218 cat conftest.err >&5
56219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56220 (exit $ac_status); } &&
56221 { ac_try='test -z "$ac_cxx_werror_flag"
56222 || test ! -s conftest.err'
56223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56224 (eval $ac_try) 2>&5
56225 ac_status=$?
56226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56227 (exit $ac_status); }; } &&
56228 { ac_try='test -s conftest.$ac_objext'
56229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56230 (eval $ac_try) 2>&5
56231 ac_status=$?
56232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56233 (exit $ac_status); }; }; then
56234 glibcxx_cv_func_finite_use=yes
56235 else
56236 echo "$as_me: failed program was:" >&5
56237 sed 's/^/| /' conftest.$ac_ext >&5
56239 glibcxx_cv_func_finite_use=no
56241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56242 ac_ext=c
56243 ac_cpp='$CPP $CPPFLAGS'
56244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56252 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
56253 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
56255 if test x$glibcxx_cv_func_finite_use = x"yes"; then
56257 for ac_func in finite
56259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56260 echo "$as_me:$LINENO: checking for $ac_func" >&5
56261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56262 if eval "test \"\${$as_ac_var+set}\" = set"; then
56263 echo $ECHO_N "(cached) $ECHO_C" >&6
56264 else
56265 if test x$gcc_no_link = xyes; then
56266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56268 { (exit 1); exit 1; }; }
56270 cat >conftest.$ac_ext <<_ACEOF
56271 /* confdefs.h. */
56272 _ACEOF
56273 cat confdefs.h >>conftest.$ac_ext
56274 cat >>conftest.$ac_ext <<_ACEOF
56275 /* end confdefs.h. */
56276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56278 #define $ac_func innocuous_$ac_func
56280 /* System header to define __stub macros and hopefully few prototypes,
56281 which can conflict with char $ac_func (); below.
56282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56283 <limits.h> exists even on freestanding compilers. */
56285 #ifdef __STDC__
56286 # include <limits.h>
56287 #else
56288 # include <assert.h>
56289 #endif
56291 #undef $ac_func
56293 /* Override any gcc2 internal prototype to avoid an error. */
56294 #ifdef __cplusplus
56295 extern "C"
56297 #endif
56298 /* We use char because int might match the return type of a gcc2
56299 builtin and then its argument prototype would still apply. */
56300 char $ac_func ();
56301 /* The GNU C library defines this for functions which it implements
56302 to always fail with ENOSYS. Some functions are actually named
56303 something starting with __ and the normal name is an alias. */
56304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56305 choke me
56306 #else
56307 char (*f) () = $ac_func;
56308 #endif
56309 #ifdef __cplusplus
56311 #endif
56314 main ()
56316 return f != $ac_func;
56318 return 0;
56320 _ACEOF
56321 rm -f conftest.$ac_objext conftest$ac_exeext
56322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56323 (eval $ac_link) 2>conftest.er1
56324 ac_status=$?
56325 grep -v '^ *+' conftest.er1 >conftest.err
56326 rm -f conftest.er1
56327 cat conftest.err >&5
56328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56329 (exit $ac_status); } &&
56330 { ac_try='test -z "$ac_c_werror_flag"
56331 || test ! -s conftest.err'
56332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56333 (eval $ac_try) 2>&5
56334 ac_status=$?
56335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56336 (exit $ac_status); }; } &&
56337 { ac_try='test -s conftest$ac_exeext'
56338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56339 (eval $ac_try) 2>&5
56340 ac_status=$?
56341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56342 (exit $ac_status); }; }; then
56343 eval "$as_ac_var=yes"
56344 else
56345 echo "$as_me: failed program was:" >&5
56346 sed 's/^/| /' conftest.$ac_ext >&5
56348 eval "$as_ac_var=no"
56350 rm -f conftest.err conftest.$ac_objext \
56351 conftest$ac_exeext conftest.$ac_ext
56353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56355 if test `eval echo '${'$as_ac_var'}'` = yes; then
56356 cat >>confdefs.h <<_ACEOF
56357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56358 _ACEOF
56361 done
56363 else
56365 echo "$as_me:$LINENO: checking for _finite declaration" >&5
56366 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
56367 if test x${glibcxx_cv_func__finite_use+set} != xset; then
56368 if test "${glibcxx_cv_func__finite_use+set}" = set; then
56369 echo $ECHO_N "(cached) $ECHO_C" >&6
56370 else
56374 ac_ext=cc
56375 ac_cpp='$CXXCPP $CPPFLAGS'
56376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56380 cat >conftest.$ac_ext <<_ACEOF
56381 /* confdefs.h. */
56382 _ACEOF
56383 cat confdefs.h >>conftest.$ac_ext
56384 cat >>conftest.$ac_ext <<_ACEOF
56385 /* end confdefs.h. */
56386 #include <math.h>
56387 #ifdef HAVE_IEEEFP_H
56388 #include <ieeefp.h>
56389 #endif
56392 main ()
56394 _finite(0);
56396 return 0;
56398 _ACEOF
56399 rm -f conftest.$ac_objext
56400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56401 (eval $ac_compile) 2>conftest.er1
56402 ac_status=$?
56403 grep -v '^ *+' conftest.er1 >conftest.err
56404 rm -f conftest.er1
56405 cat conftest.err >&5
56406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56407 (exit $ac_status); } &&
56408 { ac_try='test -z "$ac_cxx_werror_flag"
56409 || test ! -s conftest.err'
56410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56411 (eval $ac_try) 2>&5
56412 ac_status=$?
56413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56414 (exit $ac_status); }; } &&
56415 { ac_try='test -s conftest.$ac_objext'
56416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56417 (eval $ac_try) 2>&5
56418 ac_status=$?
56419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56420 (exit $ac_status); }; }; then
56421 glibcxx_cv_func__finite_use=yes
56422 else
56423 echo "$as_me: failed program was:" >&5
56424 sed 's/^/| /' conftest.$ac_ext >&5
56426 glibcxx_cv_func__finite_use=no
56428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56429 ac_ext=c
56430 ac_cpp='$CPP $CPPFLAGS'
56431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56439 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
56440 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
56442 if test x$glibcxx_cv_func__finite_use = x"yes"; then
56444 for ac_func in _finite
56446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56447 echo "$as_me:$LINENO: checking for $ac_func" >&5
56448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56449 if eval "test \"\${$as_ac_var+set}\" = set"; then
56450 echo $ECHO_N "(cached) $ECHO_C" >&6
56451 else
56452 if test x$gcc_no_link = xyes; then
56453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56455 { (exit 1); exit 1; }; }
56457 cat >conftest.$ac_ext <<_ACEOF
56458 /* confdefs.h. */
56459 _ACEOF
56460 cat confdefs.h >>conftest.$ac_ext
56461 cat >>conftest.$ac_ext <<_ACEOF
56462 /* end confdefs.h. */
56463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56465 #define $ac_func innocuous_$ac_func
56467 /* System header to define __stub macros and hopefully few prototypes,
56468 which can conflict with char $ac_func (); below.
56469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56470 <limits.h> exists even on freestanding compilers. */
56472 #ifdef __STDC__
56473 # include <limits.h>
56474 #else
56475 # include <assert.h>
56476 #endif
56478 #undef $ac_func
56480 /* Override any gcc2 internal prototype to avoid an error. */
56481 #ifdef __cplusplus
56482 extern "C"
56484 #endif
56485 /* We use char because int might match the return type of a gcc2
56486 builtin and then its argument prototype would still apply. */
56487 char $ac_func ();
56488 /* The GNU C library defines this for functions which it implements
56489 to always fail with ENOSYS. Some functions are actually named
56490 something starting with __ and the normal name is an alias. */
56491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56492 choke me
56493 #else
56494 char (*f) () = $ac_func;
56495 #endif
56496 #ifdef __cplusplus
56498 #endif
56501 main ()
56503 return f != $ac_func;
56505 return 0;
56507 _ACEOF
56508 rm -f conftest.$ac_objext conftest$ac_exeext
56509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56510 (eval $ac_link) 2>conftest.er1
56511 ac_status=$?
56512 grep -v '^ *+' conftest.er1 >conftest.err
56513 rm -f conftest.er1
56514 cat conftest.err >&5
56515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56516 (exit $ac_status); } &&
56517 { ac_try='test -z "$ac_c_werror_flag"
56518 || test ! -s conftest.err'
56519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56520 (eval $ac_try) 2>&5
56521 ac_status=$?
56522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56523 (exit $ac_status); }; } &&
56524 { ac_try='test -s conftest$ac_exeext'
56525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56526 (eval $ac_try) 2>&5
56527 ac_status=$?
56528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56529 (exit $ac_status); }; }; then
56530 eval "$as_ac_var=yes"
56531 else
56532 echo "$as_me: failed program was:" >&5
56533 sed 's/^/| /' conftest.$ac_ext >&5
56535 eval "$as_ac_var=no"
56537 rm -f conftest.err conftest.$ac_objext \
56538 conftest$ac_exeext conftest.$ac_ext
56540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56542 if test `eval echo '${'$as_ac_var'}'` = yes; then
56543 cat >>confdefs.h <<_ACEOF
56544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56545 _ACEOF
56548 done
56555 echo "$as_me:$LINENO: checking for copysign declaration" >&5
56556 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
56557 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
56558 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
56559 echo $ECHO_N "(cached) $ECHO_C" >&6
56560 else
56564 ac_ext=cc
56565 ac_cpp='$CXXCPP $CPPFLAGS'
56566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56570 cat >conftest.$ac_ext <<_ACEOF
56571 /* confdefs.h. */
56572 _ACEOF
56573 cat confdefs.h >>conftest.$ac_ext
56574 cat >>conftest.$ac_ext <<_ACEOF
56575 /* end confdefs.h. */
56576 #include <math.h>
56578 main ()
56580 copysign(0, 0);
56582 return 0;
56584 _ACEOF
56585 rm -f conftest.$ac_objext
56586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56587 (eval $ac_compile) 2>conftest.er1
56588 ac_status=$?
56589 grep -v '^ *+' conftest.er1 >conftest.err
56590 rm -f conftest.er1
56591 cat conftest.err >&5
56592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56593 (exit $ac_status); } &&
56594 { ac_try='test -z "$ac_cxx_werror_flag"
56595 || test ! -s conftest.err'
56596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56597 (eval $ac_try) 2>&5
56598 ac_status=$?
56599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56600 (exit $ac_status); }; } &&
56601 { ac_try='test -s conftest.$ac_objext'
56602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56603 (eval $ac_try) 2>&5
56604 ac_status=$?
56605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56606 (exit $ac_status); }; }; then
56607 glibcxx_cv_func_copysign_use=yes
56608 else
56609 echo "$as_me: failed program was:" >&5
56610 sed 's/^/| /' conftest.$ac_ext >&5
56612 glibcxx_cv_func_copysign_use=no
56614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56615 ac_ext=c
56616 ac_cpp='$CPP $CPPFLAGS'
56617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56625 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
56626 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
56628 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
56630 for ac_func in copysign
56632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56633 echo "$as_me:$LINENO: checking for $ac_func" >&5
56634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56635 if eval "test \"\${$as_ac_var+set}\" = set"; then
56636 echo $ECHO_N "(cached) $ECHO_C" >&6
56637 else
56638 if test x$gcc_no_link = xyes; then
56639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56641 { (exit 1); exit 1; }; }
56643 cat >conftest.$ac_ext <<_ACEOF
56644 /* confdefs.h. */
56645 _ACEOF
56646 cat confdefs.h >>conftest.$ac_ext
56647 cat >>conftest.$ac_ext <<_ACEOF
56648 /* end confdefs.h. */
56649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56651 #define $ac_func innocuous_$ac_func
56653 /* System header to define __stub macros and hopefully few prototypes,
56654 which can conflict with char $ac_func (); below.
56655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56656 <limits.h> exists even on freestanding compilers. */
56658 #ifdef __STDC__
56659 # include <limits.h>
56660 #else
56661 # include <assert.h>
56662 #endif
56664 #undef $ac_func
56666 /* Override any gcc2 internal prototype to avoid an error. */
56667 #ifdef __cplusplus
56668 extern "C"
56670 #endif
56671 /* We use char because int might match the return type of a gcc2
56672 builtin and then its argument prototype would still apply. */
56673 char $ac_func ();
56674 /* The GNU C library defines this for functions which it implements
56675 to always fail with ENOSYS. Some functions are actually named
56676 something starting with __ and the normal name is an alias. */
56677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56678 choke me
56679 #else
56680 char (*f) () = $ac_func;
56681 #endif
56682 #ifdef __cplusplus
56684 #endif
56687 main ()
56689 return f != $ac_func;
56691 return 0;
56693 _ACEOF
56694 rm -f conftest.$ac_objext conftest$ac_exeext
56695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56696 (eval $ac_link) 2>conftest.er1
56697 ac_status=$?
56698 grep -v '^ *+' conftest.er1 >conftest.err
56699 rm -f conftest.er1
56700 cat conftest.err >&5
56701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56702 (exit $ac_status); } &&
56703 { ac_try='test -z "$ac_c_werror_flag"
56704 || test ! -s conftest.err'
56705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56706 (eval $ac_try) 2>&5
56707 ac_status=$?
56708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56709 (exit $ac_status); }; } &&
56710 { ac_try='test -s conftest$ac_exeext'
56711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56712 (eval $ac_try) 2>&5
56713 ac_status=$?
56714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56715 (exit $ac_status); }; }; then
56716 eval "$as_ac_var=yes"
56717 else
56718 echo "$as_me: failed program was:" >&5
56719 sed 's/^/| /' conftest.$ac_ext >&5
56721 eval "$as_ac_var=no"
56723 rm -f conftest.err conftest.$ac_objext \
56724 conftest$ac_exeext conftest.$ac_ext
56726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56728 if test `eval echo '${'$as_ac_var'}'` = yes; then
56729 cat >>confdefs.h <<_ACEOF
56730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56731 _ACEOF
56734 done
56736 else
56738 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
56739 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
56740 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
56741 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
56742 echo $ECHO_N "(cached) $ECHO_C" >&6
56743 else
56747 ac_ext=cc
56748 ac_cpp='$CXXCPP $CPPFLAGS'
56749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56753 cat >conftest.$ac_ext <<_ACEOF
56754 /* confdefs.h. */
56755 _ACEOF
56756 cat confdefs.h >>conftest.$ac_ext
56757 cat >>conftest.$ac_ext <<_ACEOF
56758 /* end confdefs.h. */
56759 #include <math.h>
56761 main ()
56763 _copysign(0, 0);
56765 return 0;
56767 _ACEOF
56768 rm -f conftest.$ac_objext
56769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56770 (eval $ac_compile) 2>conftest.er1
56771 ac_status=$?
56772 grep -v '^ *+' conftest.er1 >conftest.err
56773 rm -f conftest.er1
56774 cat conftest.err >&5
56775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56776 (exit $ac_status); } &&
56777 { ac_try='test -z "$ac_cxx_werror_flag"
56778 || test ! -s conftest.err'
56779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56780 (eval $ac_try) 2>&5
56781 ac_status=$?
56782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56783 (exit $ac_status); }; } &&
56784 { ac_try='test -s conftest.$ac_objext'
56785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56786 (eval $ac_try) 2>&5
56787 ac_status=$?
56788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56789 (exit $ac_status); }; }; then
56790 glibcxx_cv_func__copysign_use=yes
56791 else
56792 echo "$as_me: failed program was:" >&5
56793 sed 's/^/| /' conftest.$ac_ext >&5
56795 glibcxx_cv_func__copysign_use=no
56797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56798 ac_ext=c
56799 ac_cpp='$CPP $CPPFLAGS'
56800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56808 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
56809 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
56811 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
56813 for ac_func in _copysign
56815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56816 echo "$as_me:$LINENO: checking for $ac_func" >&5
56817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56818 if eval "test \"\${$as_ac_var+set}\" = set"; then
56819 echo $ECHO_N "(cached) $ECHO_C" >&6
56820 else
56821 if test x$gcc_no_link = xyes; then
56822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56824 { (exit 1); exit 1; }; }
56826 cat >conftest.$ac_ext <<_ACEOF
56827 /* confdefs.h. */
56828 _ACEOF
56829 cat confdefs.h >>conftest.$ac_ext
56830 cat >>conftest.$ac_ext <<_ACEOF
56831 /* end confdefs.h. */
56832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56834 #define $ac_func innocuous_$ac_func
56836 /* System header to define __stub macros and hopefully few prototypes,
56837 which can conflict with char $ac_func (); below.
56838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56839 <limits.h> exists even on freestanding compilers. */
56841 #ifdef __STDC__
56842 # include <limits.h>
56843 #else
56844 # include <assert.h>
56845 #endif
56847 #undef $ac_func
56849 /* Override any gcc2 internal prototype to avoid an error. */
56850 #ifdef __cplusplus
56851 extern "C"
56853 #endif
56854 /* We use char because int might match the return type of a gcc2
56855 builtin and then its argument prototype would still apply. */
56856 char $ac_func ();
56857 /* The GNU C library defines this for functions which it implements
56858 to always fail with ENOSYS. Some functions are actually named
56859 something starting with __ and the normal name is an alias. */
56860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56861 choke me
56862 #else
56863 char (*f) () = $ac_func;
56864 #endif
56865 #ifdef __cplusplus
56867 #endif
56870 main ()
56872 return f != $ac_func;
56874 return 0;
56876 _ACEOF
56877 rm -f conftest.$ac_objext conftest$ac_exeext
56878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56879 (eval $ac_link) 2>conftest.er1
56880 ac_status=$?
56881 grep -v '^ *+' conftest.er1 >conftest.err
56882 rm -f conftest.er1
56883 cat conftest.err >&5
56884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56885 (exit $ac_status); } &&
56886 { ac_try='test -z "$ac_c_werror_flag"
56887 || test ! -s conftest.err'
56888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56889 (eval $ac_try) 2>&5
56890 ac_status=$?
56891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56892 (exit $ac_status); }; } &&
56893 { ac_try='test -s conftest$ac_exeext'
56894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56895 (eval $ac_try) 2>&5
56896 ac_status=$?
56897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56898 (exit $ac_status); }; }; then
56899 eval "$as_ac_var=yes"
56900 else
56901 echo "$as_me: failed program was:" >&5
56902 sed 's/^/| /' conftest.$ac_ext >&5
56904 eval "$as_ac_var=no"
56906 rm -f conftest.err conftest.$ac_objext \
56907 conftest$ac_exeext conftest.$ac_ext
56909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56911 if test `eval echo '${'$as_ac_var'}'` = yes; then
56912 cat >>confdefs.h <<_ACEOF
56913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56914 _ACEOF
56917 done
56924 echo "$as_me:$LINENO: checking for sincos declaration" >&5
56925 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
56926 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
56927 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
56928 echo $ECHO_N "(cached) $ECHO_C" >&6
56929 else
56933 ac_ext=cc
56934 ac_cpp='$CXXCPP $CPPFLAGS'
56935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56939 cat >conftest.$ac_ext <<_ACEOF
56940 /* confdefs.h. */
56941 _ACEOF
56942 cat confdefs.h >>conftest.$ac_ext
56943 cat >>conftest.$ac_ext <<_ACEOF
56944 /* end confdefs.h. */
56945 #include <math.h>
56947 main ()
56949 sincos(0, 0, 0);
56951 return 0;
56953 _ACEOF
56954 rm -f conftest.$ac_objext
56955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56956 (eval $ac_compile) 2>conftest.er1
56957 ac_status=$?
56958 grep -v '^ *+' conftest.er1 >conftest.err
56959 rm -f conftest.er1
56960 cat conftest.err >&5
56961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56962 (exit $ac_status); } &&
56963 { ac_try='test -z "$ac_cxx_werror_flag"
56964 || test ! -s conftest.err'
56965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56966 (eval $ac_try) 2>&5
56967 ac_status=$?
56968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56969 (exit $ac_status); }; } &&
56970 { ac_try='test -s conftest.$ac_objext'
56971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56972 (eval $ac_try) 2>&5
56973 ac_status=$?
56974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56975 (exit $ac_status); }; }; then
56976 glibcxx_cv_func_sincos_use=yes
56977 else
56978 echo "$as_me: failed program was:" >&5
56979 sed 's/^/| /' conftest.$ac_ext >&5
56981 glibcxx_cv_func_sincos_use=no
56983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56984 ac_ext=c
56985 ac_cpp='$CPP $CPPFLAGS'
56986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56994 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
56995 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
56997 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
56999 for ac_func in sincos
57001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57002 echo "$as_me:$LINENO: checking for $ac_func" >&5
57003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57004 if eval "test \"\${$as_ac_var+set}\" = set"; then
57005 echo $ECHO_N "(cached) $ECHO_C" >&6
57006 else
57007 if test x$gcc_no_link = xyes; then
57008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57010 { (exit 1); exit 1; }; }
57012 cat >conftest.$ac_ext <<_ACEOF
57013 /* confdefs.h. */
57014 _ACEOF
57015 cat confdefs.h >>conftest.$ac_ext
57016 cat >>conftest.$ac_ext <<_ACEOF
57017 /* end confdefs.h. */
57018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57020 #define $ac_func innocuous_$ac_func
57022 /* System header to define __stub macros and hopefully few prototypes,
57023 which can conflict with char $ac_func (); below.
57024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57025 <limits.h> exists even on freestanding compilers. */
57027 #ifdef __STDC__
57028 # include <limits.h>
57029 #else
57030 # include <assert.h>
57031 #endif
57033 #undef $ac_func
57035 /* Override any gcc2 internal prototype to avoid an error. */
57036 #ifdef __cplusplus
57037 extern "C"
57039 #endif
57040 /* We use char because int might match the return type of a gcc2
57041 builtin and then its argument prototype would still apply. */
57042 char $ac_func ();
57043 /* The GNU C library defines this for functions which it implements
57044 to always fail with ENOSYS. Some functions are actually named
57045 something starting with __ and the normal name is an alias. */
57046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57047 choke me
57048 #else
57049 char (*f) () = $ac_func;
57050 #endif
57051 #ifdef __cplusplus
57053 #endif
57056 main ()
57058 return f != $ac_func;
57060 return 0;
57062 _ACEOF
57063 rm -f conftest.$ac_objext conftest$ac_exeext
57064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57065 (eval $ac_link) 2>conftest.er1
57066 ac_status=$?
57067 grep -v '^ *+' conftest.er1 >conftest.err
57068 rm -f conftest.er1
57069 cat conftest.err >&5
57070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57071 (exit $ac_status); } &&
57072 { ac_try='test -z "$ac_c_werror_flag"
57073 || test ! -s conftest.err'
57074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57075 (eval $ac_try) 2>&5
57076 ac_status=$?
57077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57078 (exit $ac_status); }; } &&
57079 { ac_try='test -s conftest$ac_exeext'
57080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57081 (eval $ac_try) 2>&5
57082 ac_status=$?
57083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57084 (exit $ac_status); }; }; then
57085 eval "$as_ac_var=yes"
57086 else
57087 echo "$as_me: failed program was:" >&5
57088 sed 's/^/| /' conftest.$ac_ext >&5
57090 eval "$as_ac_var=no"
57092 rm -f conftest.err conftest.$ac_objext \
57093 conftest$ac_exeext conftest.$ac_ext
57095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57097 if test `eval echo '${'$as_ac_var'}'` = yes; then
57098 cat >>confdefs.h <<_ACEOF
57099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57100 _ACEOF
57103 done
57105 else
57107 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
57108 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
57109 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
57110 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
57111 echo $ECHO_N "(cached) $ECHO_C" >&6
57112 else
57116 ac_ext=cc
57117 ac_cpp='$CXXCPP $CPPFLAGS'
57118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57122 cat >conftest.$ac_ext <<_ACEOF
57123 /* confdefs.h. */
57124 _ACEOF
57125 cat confdefs.h >>conftest.$ac_ext
57126 cat >>conftest.$ac_ext <<_ACEOF
57127 /* end confdefs.h. */
57128 #include <math.h>
57130 main ()
57132 _sincos(0, 0, 0);
57134 return 0;
57136 _ACEOF
57137 rm -f conftest.$ac_objext
57138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57139 (eval $ac_compile) 2>conftest.er1
57140 ac_status=$?
57141 grep -v '^ *+' conftest.er1 >conftest.err
57142 rm -f conftest.er1
57143 cat conftest.err >&5
57144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57145 (exit $ac_status); } &&
57146 { ac_try='test -z "$ac_cxx_werror_flag"
57147 || test ! -s conftest.err'
57148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57149 (eval $ac_try) 2>&5
57150 ac_status=$?
57151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57152 (exit $ac_status); }; } &&
57153 { ac_try='test -s conftest.$ac_objext'
57154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57155 (eval $ac_try) 2>&5
57156 ac_status=$?
57157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57158 (exit $ac_status); }; }; then
57159 glibcxx_cv_func__sincos_use=yes
57160 else
57161 echo "$as_me: failed program was:" >&5
57162 sed 's/^/| /' conftest.$ac_ext >&5
57164 glibcxx_cv_func__sincos_use=no
57166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57167 ac_ext=c
57168 ac_cpp='$CPP $CPPFLAGS'
57169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57177 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
57178 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
57180 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
57182 for ac_func in _sincos
57184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57185 echo "$as_me:$LINENO: checking for $ac_func" >&5
57186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57187 if eval "test \"\${$as_ac_var+set}\" = set"; then
57188 echo $ECHO_N "(cached) $ECHO_C" >&6
57189 else
57190 if test x$gcc_no_link = xyes; then
57191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57193 { (exit 1); exit 1; }; }
57195 cat >conftest.$ac_ext <<_ACEOF
57196 /* confdefs.h. */
57197 _ACEOF
57198 cat confdefs.h >>conftest.$ac_ext
57199 cat >>conftest.$ac_ext <<_ACEOF
57200 /* end confdefs.h. */
57201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57203 #define $ac_func innocuous_$ac_func
57205 /* System header to define __stub macros and hopefully few prototypes,
57206 which can conflict with char $ac_func (); below.
57207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57208 <limits.h> exists even on freestanding compilers. */
57210 #ifdef __STDC__
57211 # include <limits.h>
57212 #else
57213 # include <assert.h>
57214 #endif
57216 #undef $ac_func
57218 /* Override any gcc2 internal prototype to avoid an error. */
57219 #ifdef __cplusplus
57220 extern "C"
57222 #endif
57223 /* We use char because int might match the return type of a gcc2
57224 builtin and then its argument prototype would still apply. */
57225 char $ac_func ();
57226 /* The GNU C library defines this for functions which it implements
57227 to always fail with ENOSYS. Some functions are actually named
57228 something starting with __ and the normal name is an alias. */
57229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57230 choke me
57231 #else
57232 char (*f) () = $ac_func;
57233 #endif
57234 #ifdef __cplusplus
57236 #endif
57239 main ()
57241 return f != $ac_func;
57243 return 0;
57245 _ACEOF
57246 rm -f conftest.$ac_objext conftest$ac_exeext
57247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57248 (eval $ac_link) 2>conftest.er1
57249 ac_status=$?
57250 grep -v '^ *+' conftest.er1 >conftest.err
57251 rm -f conftest.er1
57252 cat conftest.err >&5
57253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57254 (exit $ac_status); } &&
57255 { ac_try='test -z "$ac_c_werror_flag"
57256 || test ! -s conftest.err'
57257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57258 (eval $ac_try) 2>&5
57259 ac_status=$?
57260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57261 (exit $ac_status); }; } &&
57262 { ac_try='test -s conftest$ac_exeext'
57263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57264 (eval $ac_try) 2>&5
57265 ac_status=$?
57266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57267 (exit $ac_status); }; }; then
57268 eval "$as_ac_var=yes"
57269 else
57270 echo "$as_me: failed program was:" >&5
57271 sed 's/^/| /' conftest.$ac_ext >&5
57273 eval "$as_ac_var=no"
57275 rm -f conftest.err conftest.$ac_objext \
57276 conftest$ac_exeext conftest.$ac_ext
57278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57280 if test `eval echo '${'$as_ac_var'}'` = yes; then
57281 cat >>confdefs.h <<_ACEOF
57282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57283 _ACEOF
57286 done
57293 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
57294 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
57295 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
57296 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
57297 echo $ECHO_N "(cached) $ECHO_C" >&6
57298 else
57302 ac_ext=cc
57303 ac_cpp='$CXXCPP $CPPFLAGS'
57304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57308 cat >conftest.$ac_ext <<_ACEOF
57309 /* confdefs.h. */
57310 _ACEOF
57311 cat confdefs.h >>conftest.$ac_ext
57312 cat >>conftest.$ac_ext <<_ACEOF
57313 /* end confdefs.h. */
57314 #include <math.h>
57315 #ifdef HAVE_IEEEFP_H
57316 #include <ieeefp.h>
57317 #endif
57320 main ()
57322 fpclass(0);
57324 return 0;
57326 _ACEOF
57327 rm -f conftest.$ac_objext
57328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57329 (eval $ac_compile) 2>conftest.er1
57330 ac_status=$?
57331 grep -v '^ *+' conftest.er1 >conftest.err
57332 rm -f conftest.er1
57333 cat conftest.err >&5
57334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57335 (exit $ac_status); } &&
57336 { ac_try='test -z "$ac_cxx_werror_flag"
57337 || test ! -s conftest.err'
57338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57339 (eval $ac_try) 2>&5
57340 ac_status=$?
57341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57342 (exit $ac_status); }; } &&
57343 { ac_try='test -s conftest.$ac_objext'
57344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57345 (eval $ac_try) 2>&5
57346 ac_status=$?
57347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57348 (exit $ac_status); }; }; then
57349 glibcxx_cv_func_fpclass_use=yes
57350 else
57351 echo "$as_me: failed program was:" >&5
57352 sed 's/^/| /' conftest.$ac_ext >&5
57354 glibcxx_cv_func_fpclass_use=no
57356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57357 ac_ext=c
57358 ac_cpp='$CPP $CPPFLAGS'
57359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57367 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
57368 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
57370 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
57372 for ac_func in fpclass
57374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57375 echo "$as_me:$LINENO: checking for $ac_func" >&5
57376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57377 if eval "test \"\${$as_ac_var+set}\" = set"; then
57378 echo $ECHO_N "(cached) $ECHO_C" >&6
57379 else
57380 if test x$gcc_no_link = xyes; then
57381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57383 { (exit 1); exit 1; }; }
57385 cat >conftest.$ac_ext <<_ACEOF
57386 /* confdefs.h. */
57387 _ACEOF
57388 cat confdefs.h >>conftest.$ac_ext
57389 cat >>conftest.$ac_ext <<_ACEOF
57390 /* end confdefs.h. */
57391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57393 #define $ac_func innocuous_$ac_func
57395 /* System header to define __stub macros and hopefully few prototypes,
57396 which can conflict with char $ac_func (); below.
57397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57398 <limits.h> exists even on freestanding compilers. */
57400 #ifdef __STDC__
57401 # include <limits.h>
57402 #else
57403 # include <assert.h>
57404 #endif
57406 #undef $ac_func
57408 /* Override any gcc2 internal prototype to avoid an error. */
57409 #ifdef __cplusplus
57410 extern "C"
57412 #endif
57413 /* We use char because int might match the return type of a gcc2
57414 builtin and then its argument prototype would still apply. */
57415 char $ac_func ();
57416 /* The GNU C library defines this for functions which it implements
57417 to always fail with ENOSYS. Some functions are actually named
57418 something starting with __ and the normal name is an alias. */
57419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57420 choke me
57421 #else
57422 char (*f) () = $ac_func;
57423 #endif
57424 #ifdef __cplusplus
57426 #endif
57429 main ()
57431 return f != $ac_func;
57433 return 0;
57435 _ACEOF
57436 rm -f conftest.$ac_objext conftest$ac_exeext
57437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57438 (eval $ac_link) 2>conftest.er1
57439 ac_status=$?
57440 grep -v '^ *+' conftest.er1 >conftest.err
57441 rm -f conftest.er1
57442 cat conftest.err >&5
57443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57444 (exit $ac_status); } &&
57445 { ac_try='test -z "$ac_c_werror_flag"
57446 || test ! -s conftest.err'
57447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57448 (eval $ac_try) 2>&5
57449 ac_status=$?
57450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57451 (exit $ac_status); }; } &&
57452 { ac_try='test -s conftest$ac_exeext'
57453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57454 (eval $ac_try) 2>&5
57455 ac_status=$?
57456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57457 (exit $ac_status); }; }; then
57458 eval "$as_ac_var=yes"
57459 else
57460 echo "$as_me: failed program was:" >&5
57461 sed 's/^/| /' conftest.$ac_ext >&5
57463 eval "$as_ac_var=no"
57465 rm -f conftest.err conftest.$ac_objext \
57466 conftest$ac_exeext conftest.$ac_ext
57468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57470 if test `eval echo '${'$as_ac_var'}'` = yes; then
57471 cat >>confdefs.h <<_ACEOF
57472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57473 _ACEOF
57476 done
57478 else
57480 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
57481 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
57482 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
57483 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
57484 echo $ECHO_N "(cached) $ECHO_C" >&6
57485 else
57489 ac_ext=cc
57490 ac_cpp='$CXXCPP $CPPFLAGS'
57491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57495 cat >conftest.$ac_ext <<_ACEOF
57496 /* confdefs.h. */
57497 _ACEOF
57498 cat confdefs.h >>conftest.$ac_ext
57499 cat >>conftest.$ac_ext <<_ACEOF
57500 /* end confdefs.h. */
57501 #include <math.h>
57502 #ifdef HAVE_IEEEFP_H
57503 #include <ieeefp.h>
57504 #endif
57507 main ()
57509 _fpclass(0);
57511 return 0;
57513 _ACEOF
57514 rm -f conftest.$ac_objext
57515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57516 (eval $ac_compile) 2>conftest.er1
57517 ac_status=$?
57518 grep -v '^ *+' conftest.er1 >conftest.err
57519 rm -f conftest.er1
57520 cat conftest.err >&5
57521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57522 (exit $ac_status); } &&
57523 { ac_try='test -z "$ac_cxx_werror_flag"
57524 || test ! -s conftest.err'
57525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57526 (eval $ac_try) 2>&5
57527 ac_status=$?
57528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57529 (exit $ac_status); }; } &&
57530 { ac_try='test -s conftest.$ac_objext'
57531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57532 (eval $ac_try) 2>&5
57533 ac_status=$?
57534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57535 (exit $ac_status); }; }; then
57536 glibcxx_cv_func__fpclass_use=yes
57537 else
57538 echo "$as_me: failed program was:" >&5
57539 sed 's/^/| /' conftest.$ac_ext >&5
57541 glibcxx_cv_func__fpclass_use=no
57543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57544 ac_ext=c
57545 ac_cpp='$CPP $CPPFLAGS'
57546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57554 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
57555 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
57557 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
57559 for ac_func in _fpclass
57561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57562 echo "$as_me:$LINENO: checking for $ac_func" >&5
57563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57564 if eval "test \"\${$as_ac_var+set}\" = set"; then
57565 echo $ECHO_N "(cached) $ECHO_C" >&6
57566 else
57567 if test x$gcc_no_link = xyes; then
57568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57570 { (exit 1); exit 1; }; }
57572 cat >conftest.$ac_ext <<_ACEOF
57573 /* confdefs.h. */
57574 _ACEOF
57575 cat confdefs.h >>conftest.$ac_ext
57576 cat >>conftest.$ac_ext <<_ACEOF
57577 /* end confdefs.h. */
57578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57580 #define $ac_func innocuous_$ac_func
57582 /* System header to define __stub macros and hopefully few prototypes,
57583 which can conflict with char $ac_func (); below.
57584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57585 <limits.h> exists even on freestanding compilers. */
57587 #ifdef __STDC__
57588 # include <limits.h>
57589 #else
57590 # include <assert.h>
57591 #endif
57593 #undef $ac_func
57595 /* Override any gcc2 internal prototype to avoid an error. */
57596 #ifdef __cplusplus
57597 extern "C"
57599 #endif
57600 /* We use char because int might match the return type of a gcc2
57601 builtin and then its argument prototype would still apply. */
57602 char $ac_func ();
57603 /* The GNU C library defines this for functions which it implements
57604 to always fail with ENOSYS. Some functions are actually named
57605 something starting with __ and the normal name is an alias. */
57606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57607 choke me
57608 #else
57609 char (*f) () = $ac_func;
57610 #endif
57611 #ifdef __cplusplus
57613 #endif
57616 main ()
57618 return f != $ac_func;
57620 return 0;
57622 _ACEOF
57623 rm -f conftest.$ac_objext conftest$ac_exeext
57624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57625 (eval $ac_link) 2>conftest.er1
57626 ac_status=$?
57627 grep -v '^ *+' conftest.er1 >conftest.err
57628 rm -f conftest.er1
57629 cat conftest.err >&5
57630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57631 (exit $ac_status); } &&
57632 { ac_try='test -z "$ac_c_werror_flag"
57633 || test ! -s conftest.err'
57634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57635 (eval $ac_try) 2>&5
57636 ac_status=$?
57637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57638 (exit $ac_status); }; } &&
57639 { ac_try='test -s conftest$ac_exeext'
57640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57641 (eval $ac_try) 2>&5
57642 ac_status=$?
57643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57644 (exit $ac_status); }; }; then
57645 eval "$as_ac_var=yes"
57646 else
57647 echo "$as_me: failed program was:" >&5
57648 sed 's/^/| /' conftest.$ac_ext >&5
57650 eval "$as_ac_var=no"
57652 rm -f conftest.err conftest.$ac_objext \
57653 conftest$ac_exeext conftest.$ac_ext
57655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57657 if test `eval echo '${'$as_ac_var'}'` = yes; then
57658 cat >>confdefs.h <<_ACEOF
57659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57660 _ACEOF
57663 done
57670 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
57671 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
57672 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
57673 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
57674 echo $ECHO_N "(cached) $ECHO_C" >&6
57675 else
57679 ac_ext=cc
57680 ac_cpp='$CXXCPP $CPPFLAGS'
57681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57685 cat >conftest.$ac_ext <<_ACEOF
57686 /* confdefs.h. */
57687 _ACEOF
57688 cat confdefs.h >>conftest.$ac_ext
57689 cat >>conftest.$ac_ext <<_ACEOF
57690 /* end confdefs.h. */
57691 #include <math.h>
57692 #ifdef HAVE_IEEEFP_H
57693 #include <ieeefp.h>
57694 #endif
57697 main ()
57699 qfpclass(0);
57701 return 0;
57703 _ACEOF
57704 rm -f conftest.$ac_objext
57705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57706 (eval $ac_compile) 2>conftest.er1
57707 ac_status=$?
57708 grep -v '^ *+' conftest.er1 >conftest.err
57709 rm -f conftest.er1
57710 cat conftest.err >&5
57711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57712 (exit $ac_status); } &&
57713 { ac_try='test -z "$ac_cxx_werror_flag"
57714 || test ! -s conftest.err'
57715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57716 (eval $ac_try) 2>&5
57717 ac_status=$?
57718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57719 (exit $ac_status); }; } &&
57720 { ac_try='test -s conftest.$ac_objext'
57721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57722 (eval $ac_try) 2>&5
57723 ac_status=$?
57724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57725 (exit $ac_status); }; }; then
57726 glibcxx_cv_func_qfpclass_use=yes
57727 else
57728 echo "$as_me: failed program was:" >&5
57729 sed 's/^/| /' conftest.$ac_ext >&5
57731 glibcxx_cv_func_qfpclass_use=no
57733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57734 ac_ext=c
57735 ac_cpp='$CPP $CPPFLAGS'
57736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57744 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
57745 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
57747 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
57749 for ac_func in qfpclass
57751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57752 echo "$as_me:$LINENO: checking for $ac_func" >&5
57753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57754 if eval "test \"\${$as_ac_var+set}\" = set"; then
57755 echo $ECHO_N "(cached) $ECHO_C" >&6
57756 else
57757 if test x$gcc_no_link = xyes; then
57758 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57760 { (exit 1); exit 1; }; }
57762 cat >conftest.$ac_ext <<_ACEOF
57763 /* confdefs.h. */
57764 _ACEOF
57765 cat confdefs.h >>conftest.$ac_ext
57766 cat >>conftest.$ac_ext <<_ACEOF
57767 /* end confdefs.h. */
57768 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57770 #define $ac_func innocuous_$ac_func
57772 /* System header to define __stub macros and hopefully few prototypes,
57773 which can conflict with char $ac_func (); below.
57774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57775 <limits.h> exists even on freestanding compilers. */
57777 #ifdef __STDC__
57778 # include <limits.h>
57779 #else
57780 # include <assert.h>
57781 #endif
57783 #undef $ac_func
57785 /* Override any gcc2 internal prototype to avoid an error. */
57786 #ifdef __cplusplus
57787 extern "C"
57789 #endif
57790 /* We use char because int might match the return type of a gcc2
57791 builtin and then its argument prototype would still apply. */
57792 char $ac_func ();
57793 /* The GNU C library defines this for functions which it implements
57794 to always fail with ENOSYS. Some functions are actually named
57795 something starting with __ and the normal name is an alias. */
57796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57797 choke me
57798 #else
57799 char (*f) () = $ac_func;
57800 #endif
57801 #ifdef __cplusplus
57803 #endif
57806 main ()
57808 return f != $ac_func;
57810 return 0;
57812 _ACEOF
57813 rm -f conftest.$ac_objext conftest$ac_exeext
57814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57815 (eval $ac_link) 2>conftest.er1
57816 ac_status=$?
57817 grep -v '^ *+' conftest.er1 >conftest.err
57818 rm -f conftest.er1
57819 cat conftest.err >&5
57820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57821 (exit $ac_status); } &&
57822 { ac_try='test -z "$ac_c_werror_flag"
57823 || test ! -s conftest.err'
57824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57825 (eval $ac_try) 2>&5
57826 ac_status=$?
57827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57828 (exit $ac_status); }; } &&
57829 { ac_try='test -s conftest$ac_exeext'
57830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57831 (eval $ac_try) 2>&5
57832 ac_status=$?
57833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57834 (exit $ac_status); }; }; then
57835 eval "$as_ac_var=yes"
57836 else
57837 echo "$as_me: failed program was:" >&5
57838 sed 's/^/| /' conftest.$ac_ext >&5
57840 eval "$as_ac_var=no"
57842 rm -f conftest.err conftest.$ac_objext \
57843 conftest$ac_exeext conftest.$ac_ext
57845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57846 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57847 if test `eval echo '${'$as_ac_var'}'` = yes; then
57848 cat >>confdefs.h <<_ACEOF
57849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57850 _ACEOF
57853 done
57855 else
57857 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
57858 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
57859 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
57860 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
57861 echo $ECHO_N "(cached) $ECHO_C" >&6
57862 else
57866 ac_ext=cc
57867 ac_cpp='$CXXCPP $CPPFLAGS'
57868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57872 cat >conftest.$ac_ext <<_ACEOF
57873 /* confdefs.h. */
57874 _ACEOF
57875 cat confdefs.h >>conftest.$ac_ext
57876 cat >>conftest.$ac_ext <<_ACEOF
57877 /* end confdefs.h. */
57878 #include <math.h>
57879 #ifdef HAVE_IEEEFP_H
57880 #include <ieeefp.h>
57881 #endif
57884 main ()
57886 _qfpclass(0);
57888 return 0;
57890 _ACEOF
57891 rm -f conftest.$ac_objext
57892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57893 (eval $ac_compile) 2>conftest.er1
57894 ac_status=$?
57895 grep -v '^ *+' conftest.er1 >conftest.err
57896 rm -f conftest.er1
57897 cat conftest.err >&5
57898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57899 (exit $ac_status); } &&
57900 { ac_try='test -z "$ac_cxx_werror_flag"
57901 || test ! -s conftest.err'
57902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57903 (eval $ac_try) 2>&5
57904 ac_status=$?
57905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57906 (exit $ac_status); }; } &&
57907 { ac_try='test -s conftest.$ac_objext'
57908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57909 (eval $ac_try) 2>&5
57910 ac_status=$?
57911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57912 (exit $ac_status); }; }; then
57913 glibcxx_cv_func__qfpclass_use=yes
57914 else
57915 echo "$as_me: failed program was:" >&5
57916 sed 's/^/| /' conftest.$ac_ext >&5
57918 glibcxx_cv_func__qfpclass_use=no
57920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57921 ac_ext=c
57922 ac_cpp='$CPP $CPPFLAGS'
57923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57931 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
57932 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
57934 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
57936 for ac_func in _qfpclass
57938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57939 echo "$as_me:$LINENO: checking for $ac_func" >&5
57940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57941 if eval "test \"\${$as_ac_var+set}\" = set"; then
57942 echo $ECHO_N "(cached) $ECHO_C" >&6
57943 else
57944 if test x$gcc_no_link = xyes; then
57945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57947 { (exit 1); exit 1; }; }
57949 cat >conftest.$ac_ext <<_ACEOF
57950 /* confdefs.h. */
57951 _ACEOF
57952 cat confdefs.h >>conftest.$ac_ext
57953 cat >>conftest.$ac_ext <<_ACEOF
57954 /* end confdefs.h. */
57955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57957 #define $ac_func innocuous_$ac_func
57959 /* System header to define __stub macros and hopefully few prototypes,
57960 which can conflict with char $ac_func (); below.
57961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57962 <limits.h> exists even on freestanding compilers. */
57964 #ifdef __STDC__
57965 # include <limits.h>
57966 #else
57967 # include <assert.h>
57968 #endif
57970 #undef $ac_func
57972 /* Override any gcc2 internal prototype to avoid an error. */
57973 #ifdef __cplusplus
57974 extern "C"
57976 #endif
57977 /* We use char because int might match the return type of a gcc2
57978 builtin and then its argument prototype would still apply. */
57979 char $ac_func ();
57980 /* The GNU C library defines this for functions which it implements
57981 to always fail with ENOSYS. Some functions are actually named
57982 something starting with __ and the normal name is an alias. */
57983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57984 choke me
57985 #else
57986 char (*f) () = $ac_func;
57987 #endif
57988 #ifdef __cplusplus
57990 #endif
57993 main ()
57995 return f != $ac_func;
57997 return 0;
57999 _ACEOF
58000 rm -f conftest.$ac_objext conftest$ac_exeext
58001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58002 (eval $ac_link) 2>conftest.er1
58003 ac_status=$?
58004 grep -v '^ *+' conftest.er1 >conftest.err
58005 rm -f conftest.er1
58006 cat conftest.err >&5
58007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58008 (exit $ac_status); } &&
58009 { ac_try='test -z "$ac_c_werror_flag"
58010 || test ! -s conftest.err'
58011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58012 (eval $ac_try) 2>&5
58013 ac_status=$?
58014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58015 (exit $ac_status); }; } &&
58016 { ac_try='test -s conftest$ac_exeext'
58017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58018 (eval $ac_try) 2>&5
58019 ac_status=$?
58020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58021 (exit $ac_status); }; }; then
58022 eval "$as_ac_var=yes"
58023 else
58024 echo "$as_me: failed program was:" >&5
58025 sed 's/^/| /' conftest.$ac_ext >&5
58027 eval "$as_ac_var=no"
58029 rm -f conftest.err conftest.$ac_objext \
58030 conftest$ac_exeext conftest.$ac_ext
58032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58034 if test `eval echo '${'$as_ac_var'}'` = yes; then
58035 cat >>confdefs.h <<_ACEOF
58036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58037 _ACEOF
58040 done
58047 echo "$as_me:$LINENO: checking for hypot declaration" >&5
58048 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
58049 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58050 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
58051 echo $ECHO_N "(cached) $ECHO_C" >&6
58052 else
58056 ac_ext=cc
58057 ac_cpp='$CXXCPP $CPPFLAGS'
58058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58062 cat >conftest.$ac_ext <<_ACEOF
58063 /* confdefs.h. */
58064 _ACEOF
58065 cat confdefs.h >>conftest.$ac_ext
58066 cat >>conftest.$ac_ext <<_ACEOF
58067 /* end confdefs.h. */
58068 #include <math.h>
58070 main ()
58072 hypot(0, 0);
58074 return 0;
58076 _ACEOF
58077 rm -f conftest.$ac_objext
58078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58079 (eval $ac_compile) 2>conftest.er1
58080 ac_status=$?
58081 grep -v '^ *+' conftest.er1 >conftest.err
58082 rm -f conftest.er1
58083 cat conftest.err >&5
58084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58085 (exit $ac_status); } &&
58086 { ac_try='test -z "$ac_cxx_werror_flag"
58087 || test ! -s conftest.err'
58088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58089 (eval $ac_try) 2>&5
58090 ac_status=$?
58091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58092 (exit $ac_status); }; } &&
58093 { ac_try='test -s conftest.$ac_objext'
58094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58095 (eval $ac_try) 2>&5
58096 ac_status=$?
58097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58098 (exit $ac_status); }; }; then
58099 glibcxx_cv_func_hypot_use=yes
58100 else
58101 echo "$as_me: failed program was:" >&5
58102 sed 's/^/| /' conftest.$ac_ext >&5
58104 glibcxx_cv_func_hypot_use=no
58106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58107 ac_ext=c
58108 ac_cpp='$CPP $CPPFLAGS'
58109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58117 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
58118 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
58120 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58122 for ac_func in hypot
58124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58125 echo "$as_me:$LINENO: checking for $ac_func" >&5
58126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58127 if eval "test \"\${$as_ac_var+set}\" = set"; then
58128 echo $ECHO_N "(cached) $ECHO_C" >&6
58129 else
58130 if test x$gcc_no_link = xyes; then
58131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58133 { (exit 1); exit 1; }; }
58135 cat >conftest.$ac_ext <<_ACEOF
58136 /* confdefs.h. */
58137 _ACEOF
58138 cat confdefs.h >>conftest.$ac_ext
58139 cat >>conftest.$ac_ext <<_ACEOF
58140 /* end confdefs.h. */
58141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58143 #define $ac_func innocuous_$ac_func
58145 /* System header to define __stub macros and hopefully few prototypes,
58146 which can conflict with char $ac_func (); below.
58147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58148 <limits.h> exists even on freestanding compilers. */
58150 #ifdef __STDC__
58151 # include <limits.h>
58152 #else
58153 # include <assert.h>
58154 #endif
58156 #undef $ac_func
58158 /* Override any gcc2 internal prototype to avoid an error. */
58159 #ifdef __cplusplus
58160 extern "C"
58162 #endif
58163 /* We use char because int might match the return type of a gcc2
58164 builtin and then its argument prototype would still apply. */
58165 char $ac_func ();
58166 /* The GNU C library defines this for functions which it implements
58167 to always fail with ENOSYS. Some functions are actually named
58168 something starting with __ and the normal name is an alias. */
58169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58170 choke me
58171 #else
58172 char (*f) () = $ac_func;
58173 #endif
58174 #ifdef __cplusplus
58176 #endif
58179 main ()
58181 return f != $ac_func;
58183 return 0;
58185 _ACEOF
58186 rm -f conftest.$ac_objext conftest$ac_exeext
58187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58188 (eval $ac_link) 2>conftest.er1
58189 ac_status=$?
58190 grep -v '^ *+' conftest.er1 >conftest.err
58191 rm -f conftest.er1
58192 cat conftest.err >&5
58193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58194 (exit $ac_status); } &&
58195 { ac_try='test -z "$ac_c_werror_flag"
58196 || test ! -s conftest.err'
58197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58198 (eval $ac_try) 2>&5
58199 ac_status=$?
58200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58201 (exit $ac_status); }; } &&
58202 { ac_try='test -s conftest$ac_exeext'
58203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58204 (eval $ac_try) 2>&5
58205 ac_status=$?
58206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58207 (exit $ac_status); }; }; then
58208 eval "$as_ac_var=yes"
58209 else
58210 echo "$as_me: failed program was:" >&5
58211 sed 's/^/| /' conftest.$ac_ext >&5
58213 eval "$as_ac_var=no"
58215 rm -f conftest.err conftest.$ac_objext \
58216 conftest$ac_exeext conftest.$ac_ext
58218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58220 if test `eval echo '${'$as_ac_var'}'` = yes; then
58221 cat >>confdefs.h <<_ACEOF
58222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58223 _ACEOF
58226 done
58228 else
58230 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
58231 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
58232 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58233 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
58234 echo $ECHO_N "(cached) $ECHO_C" >&6
58235 else
58239 ac_ext=cc
58240 ac_cpp='$CXXCPP $CPPFLAGS'
58241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58245 cat >conftest.$ac_ext <<_ACEOF
58246 /* confdefs.h. */
58247 _ACEOF
58248 cat confdefs.h >>conftest.$ac_ext
58249 cat >>conftest.$ac_ext <<_ACEOF
58250 /* end confdefs.h. */
58251 #include <math.h>
58253 main ()
58255 _hypot(0, 0);
58257 return 0;
58259 _ACEOF
58260 rm -f conftest.$ac_objext
58261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58262 (eval $ac_compile) 2>conftest.er1
58263 ac_status=$?
58264 grep -v '^ *+' conftest.er1 >conftest.err
58265 rm -f conftest.er1
58266 cat conftest.err >&5
58267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58268 (exit $ac_status); } &&
58269 { ac_try='test -z "$ac_cxx_werror_flag"
58270 || test ! -s conftest.err'
58271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58272 (eval $ac_try) 2>&5
58273 ac_status=$?
58274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58275 (exit $ac_status); }; } &&
58276 { ac_try='test -s conftest.$ac_objext'
58277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58278 (eval $ac_try) 2>&5
58279 ac_status=$?
58280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58281 (exit $ac_status); }; }; then
58282 glibcxx_cv_func__hypot_use=yes
58283 else
58284 echo "$as_me: failed program was:" >&5
58285 sed 's/^/| /' conftest.$ac_ext >&5
58287 glibcxx_cv_func__hypot_use=no
58289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58290 ac_ext=c
58291 ac_cpp='$CPP $CPPFLAGS'
58292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58300 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
58301 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
58303 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58305 for ac_func in _hypot
58307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58308 echo "$as_me:$LINENO: checking for $ac_func" >&5
58309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58310 if eval "test \"\${$as_ac_var+set}\" = set"; then
58311 echo $ECHO_N "(cached) $ECHO_C" >&6
58312 else
58313 if test x$gcc_no_link = xyes; then
58314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58316 { (exit 1); exit 1; }; }
58318 cat >conftest.$ac_ext <<_ACEOF
58319 /* confdefs.h. */
58320 _ACEOF
58321 cat confdefs.h >>conftest.$ac_ext
58322 cat >>conftest.$ac_ext <<_ACEOF
58323 /* end confdefs.h. */
58324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58326 #define $ac_func innocuous_$ac_func
58328 /* System header to define __stub macros and hopefully few prototypes,
58329 which can conflict with char $ac_func (); below.
58330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58331 <limits.h> exists even on freestanding compilers. */
58333 #ifdef __STDC__
58334 # include <limits.h>
58335 #else
58336 # include <assert.h>
58337 #endif
58339 #undef $ac_func
58341 /* Override any gcc2 internal prototype to avoid an error. */
58342 #ifdef __cplusplus
58343 extern "C"
58345 #endif
58346 /* We use char because int might match the return type of a gcc2
58347 builtin and then its argument prototype would still apply. */
58348 char $ac_func ();
58349 /* The GNU C library defines this for functions which it implements
58350 to always fail with ENOSYS. Some functions are actually named
58351 something starting with __ and the normal name is an alias. */
58352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58353 choke me
58354 #else
58355 char (*f) () = $ac_func;
58356 #endif
58357 #ifdef __cplusplus
58359 #endif
58362 main ()
58364 return f != $ac_func;
58366 return 0;
58368 _ACEOF
58369 rm -f conftest.$ac_objext conftest$ac_exeext
58370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58371 (eval $ac_link) 2>conftest.er1
58372 ac_status=$?
58373 grep -v '^ *+' conftest.er1 >conftest.err
58374 rm -f conftest.er1
58375 cat conftest.err >&5
58376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58377 (exit $ac_status); } &&
58378 { ac_try='test -z "$ac_c_werror_flag"
58379 || test ! -s conftest.err'
58380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58381 (eval $ac_try) 2>&5
58382 ac_status=$?
58383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58384 (exit $ac_status); }; } &&
58385 { ac_try='test -s conftest$ac_exeext'
58386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58387 (eval $ac_try) 2>&5
58388 ac_status=$?
58389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58390 (exit $ac_status); }; }; then
58391 eval "$as_ac_var=yes"
58392 else
58393 echo "$as_me: failed program was:" >&5
58394 sed 's/^/| /' conftest.$ac_ext >&5
58396 eval "$as_ac_var=no"
58398 rm -f conftest.err conftest.$ac_objext \
58399 conftest$ac_exeext conftest.$ac_ext
58401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58403 if test `eval echo '${'$as_ac_var'}'` = yes; then
58404 cat >>confdefs.h <<_ACEOF
58405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58406 _ACEOF
58409 done
58416 echo "$as_me:$LINENO: checking for float trig functions" >&5
58417 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
58418 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
58419 echo $ECHO_N "(cached) $ECHO_C" >&6
58420 else
58424 ac_ext=cc
58425 ac_cpp='$CXXCPP $CPPFLAGS'
58426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58430 cat >conftest.$ac_ext <<_ACEOF
58431 /* confdefs.h. */
58432 _ACEOF
58433 cat confdefs.h >>conftest.$ac_ext
58434 cat >>conftest.$ac_ext <<_ACEOF
58435 /* end confdefs.h. */
58436 #include <math.h>
58438 main ()
58440 `for x in acosf asinf atanf \
58441 cosf sinf tanf \
58442 coshf sinhf tanhf; do echo "$x (0);"; done`
58444 return 0;
58446 _ACEOF
58447 rm -f conftest.$ac_objext
58448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58449 (eval $ac_compile) 2>conftest.er1
58450 ac_status=$?
58451 grep -v '^ *+' conftest.er1 >conftest.err
58452 rm -f conftest.er1
58453 cat conftest.err >&5
58454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58455 (exit $ac_status); } &&
58456 { ac_try='test -z "$ac_cxx_werror_flag"
58457 || test ! -s conftest.err'
58458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58459 (eval $ac_try) 2>&5
58460 ac_status=$?
58461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58462 (exit $ac_status); }; } &&
58463 { ac_try='test -s conftest.$ac_objext'
58464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58465 (eval $ac_try) 2>&5
58466 ac_status=$?
58467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58468 (exit $ac_status); }; }; then
58469 glibcxx_cv_func_float_trig_use=yes
58470 else
58471 echo "$as_me: failed program was:" >&5
58472 sed 's/^/| /' conftest.$ac_ext >&5
58474 glibcxx_cv_func_float_trig_use=no
58476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58477 ac_ext=c
58478 ac_cpp='$CPP $CPPFLAGS'
58479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58485 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
58486 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
58487 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58497 for ac_func in acosf asinf atanf \
58498 cosf sinf tanf \
58499 coshf sinhf tanhf
58501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58502 echo "$as_me:$LINENO: checking for $ac_func" >&5
58503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58504 if eval "test \"\${$as_ac_var+set}\" = set"; then
58505 echo $ECHO_N "(cached) $ECHO_C" >&6
58506 else
58507 if test x$gcc_no_link = xyes; then
58508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58510 { (exit 1); exit 1; }; }
58512 cat >conftest.$ac_ext <<_ACEOF
58513 /* confdefs.h. */
58514 _ACEOF
58515 cat confdefs.h >>conftest.$ac_ext
58516 cat >>conftest.$ac_ext <<_ACEOF
58517 /* end confdefs.h. */
58518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58520 #define $ac_func innocuous_$ac_func
58522 /* System header to define __stub macros and hopefully few prototypes,
58523 which can conflict with char $ac_func (); below.
58524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58525 <limits.h> exists even on freestanding compilers. */
58527 #ifdef __STDC__
58528 # include <limits.h>
58529 #else
58530 # include <assert.h>
58531 #endif
58533 #undef $ac_func
58535 /* Override any gcc2 internal prototype to avoid an error. */
58536 #ifdef __cplusplus
58537 extern "C"
58539 #endif
58540 /* We use char because int might match the return type of a gcc2
58541 builtin and then its argument prototype would still apply. */
58542 char $ac_func ();
58543 /* The GNU C library defines this for functions which it implements
58544 to always fail with ENOSYS. Some functions are actually named
58545 something starting with __ and the normal name is an alias. */
58546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58547 choke me
58548 #else
58549 char (*f) () = $ac_func;
58550 #endif
58551 #ifdef __cplusplus
58553 #endif
58556 main ()
58558 return f != $ac_func;
58560 return 0;
58562 _ACEOF
58563 rm -f conftest.$ac_objext conftest$ac_exeext
58564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58565 (eval $ac_link) 2>conftest.er1
58566 ac_status=$?
58567 grep -v '^ *+' conftest.er1 >conftest.err
58568 rm -f conftest.er1
58569 cat conftest.err >&5
58570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58571 (exit $ac_status); } &&
58572 { ac_try='test -z "$ac_c_werror_flag"
58573 || test ! -s conftest.err'
58574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58575 (eval $ac_try) 2>&5
58576 ac_status=$?
58577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58578 (exit $ac_status); }; } &&
58579 { ac_try='test -s conftest$ac_exeext'
58580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58581 (eval $ac_try) 2>&5
58582 ac_status=$?
58583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58584 (exit $ac_status); }; }; then
58585 eval "$as_ac_var=yes"
58586 else
58587 echo "$as_me: failed program was:" >&5
58588 sed 's/^/| /' conftest.$ac_ext >&5
58590 eval "$as_ac_var=no"
58592 rm -f conftest.err conftest.$ac_objext \
58593 conftest$ac_exeext conftest.$ac_ext
58595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58597 if test `eval echo '${'$as_ac_var'}'` = yes; then
58598 cat >>confdefs.h <<_ACEOF
58599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58600 _ACEOF
58603 done
58608 echo "$as_me:$LINENO: checking for float round functions" >&5
58609 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
58610 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
58611 echo $ECHO_N "(cached) $ECHO_C" >&6
58612 else
58616 ac_ext=cc
58617 ac_cpp='$CXXCPP $CPPFLAGS'
58618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58622 cat >conftest.$ac_ext <<_ACEOF
58623 /* confdefs.h. */
58624 _ACEOF
58625 cat confdefs.h >>conftest.$ac_ext
58626 cat >>conftest.$ac_ext <<_ACEOF
58627 /* end confdefs.h. */
58628 #include <math.h>
58630 main ()
58632 `for x in ceilf floorf; do echo "$x (0);"; done`
58634 return 0;
58636 _ACEOF
58637 rm -f conftest.$ac_objext
58638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58639 (eval $ac_compile) 2>conftest.er1
58640 ac_status=$?
58641 grep -v '^ *+' conftest.er1 >conftest.err
58642 rm -f conftest.er1
58643 cat conftest.err >&5
58644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58645 (exit $ac_status); } &&
58646 { ac_try='test -z "$ac_cxx_werror_flag"
58647 || test ! -s conftest.err'
58648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58649 (eval $ac_try) 2>&5
58650 ac_status=$?
58651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58652 (exit $ac_status); }; } &&
58653 { ac_try='test -s conftest.$ac_objext'
58654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58655 (eval $ac_try) 2>&5
58656 ac_status=$?
58657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58658 (exit $ac_status); }; }; then
58659 glibcxx_cv_func_float_round_use=yes
58660 else
58661 echo "$as_me: failed program was:" >&5
58662 sed 's/^/| /' conftest.$ac_ext >&5
58664 glibcxx_cv_func_float_round_use=no
58666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58667 ac_ext=c
58668 ac_cpp='$CPP $CPPFLAGS'
58669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58675 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
58676 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
58677 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
58680 for ac_func in ceilf floorf
58682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58683 echo "$as_me:$LINENO: checking for $ac_func" >&5
58684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58685 if eval "test \"\${$as_ac_var+set}\" = set"; then
58686 echo $ECHO_N "(cached) $ECHO_C" >&6
58687 else
58688 if test x$gcc_no_link = xyes; then
58689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58691 { (exit 1); exit 1; }; }
58693 cat >conftest.$ac_ext <<_ACEOF
58694 /* confdefs.h. */
58695 _ACEOF
58696 cat confdefs.h >>conftest.$ac_ext
58697 cat >>conftest.$ac_ext <<_ACEOF
58698 /* end confdefs.h. */
58699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58701 #define $ac_func innocuous_$ac_func
58703 /* System header to define __stub macros and hopefully few prototypes,
58704 which can conflict with char $ac_func (); below.
58705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58706 <limits.h> exists even on freestanding compilers. */
58708 #ifdef __STDC__
58709 # include <limits.h>
58710 #else
58711 # include <assert.h>
58712 #endif
58714 #undef $ac_func
58716 /* Override any gcc2 internal prototype to avoid an error. */
58717 #ifdef __cplusplus
58718 extern "C"
58720 #endif
58721 /* We use char because int might match the return type of a gcc2
58722 builtin and then its argument prototype would still apply. */
58723 char $ac_func ();
58724 /* The GNU C library defines this for functions which it implements
58725 to always fail with ENOSYS. Some functions are actually named
58726 something starting with __ and the normal name is an alias. */
58727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58728 choke me
58729 #else
58730 char (*f) () = $ac_func;
58731 #endif
58732 #ifdef __cplusplus
58734 #endif
58737 main ()
58739 return f != $ac_func;
58741 return 0;
58743 _ACEOF
58744 rm -f conftest.$ac_objext conftest$ac_exeext
58745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58746 (eval $ac_link) 2>conftest.er1
58747 ac_status=$?
58748 grep -v '^ *+' conftest.er1 >conftest.err
58749 rm -f conftest.er1
58750 cat conftest.err >&5
58751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58752 (exit $ac_status); } &&
58753 { ac_try='test -z "$ac_c_werror_flag"
58754 || test ! -s conftest.err'
58755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58756 (eval $ac_try) 2>&5
58757 ac_status=$?
58758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58759 (exit $ac_status); }; } &&
58760 { ac_try='test -s conftest$ac_exeext'
58761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58762 (eval $ac_try) 2>&5
58763 ac_status=$?
58764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58765 (exit $ac_status); }; }; then
58766 eval "$as_ac_var=yes"
58767 else
58768 echo "$as_me: failed program was:" >&5
58769 sed 's/^/| /' conftest.$ac_ext >&5
58771 eval "$as_ac_var=no"
58773 rm -f conftest.err conftest.$ac_objext \
58774 conftest$ac_exeext conftest.$ac_ext
58776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58778 if test `eval echo '${'$as_ac_var'}'` = yes; then
58779 cat >>confdefs.h <<_ACEOF
58780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58781 _ACEOF
58784 done
58790 echo "$as_me:$LINENO: checking for expf declaration" >&5
58791 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
58792 if test x${glibcxx_cv_func_expf_use+set} != xset; then
58793 if test "${glibcxx_cv_func_expf_use+set}" = set; then
58794 echo $ECHO_N "(cached) $ECHO_C" >&6
58795 else
58799 ac_ext=cc
58800 ac_cpp='$CXXCPP $CPPFLAGS'
58801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58805 cat >conftest.$ac_ext <<_ACEOF
58806 /* confdefs.h. */
58807 _ACEOF
58808 cat confdefs.h >>conftest.$ac_ext
58809 cat >>conftest.$ac_ext <<_ACEOF
58810 /* end confdefs.h. */
58811 #include <math.h>
58812 #ifdef HAVE_IEEEFP_H
58813 #include <ieeefp.h>
58814 #endif
58817 main ()
58819 expf(0);
58821 return 0;
58823 _ACEOF
58824 rm -f conftest.$ac_objext
58825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58826 (eval $ac_compile) 2>conftest.er1
58827 ac_status=$?
58828 grep -v '^ *+' conftest.er1 >conftest.err
58829 rm -f conftest.er1
58830 cat conftest.err >&5
58831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58832 (exit $ac_status); } &&
58833 { ac_try='test -z "$ac_cxx_werror_flag"
58834 || test ! -s conftest.err'
58835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58836 (eval $ac_try) 2>&5
58837 ac_status=$?
58838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58839 (exit $ac_status); }; } &&
58840 { ac_try='test -s conftest.$ac_objext'
58841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58842 (eval $ac_try) 2>&5
58843 ac_status=$?
58844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58845 (exit $ac_status); }; }; then
58846 glibcxx_cv_func_expf_use=yes
58847 else
58848 echo "$as_me: failed program was:" >&5
58849 sed 's/^/| /' conftest.$ac_ext >&5
58851 glibcxx_cv_func_expf_use=no
58853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58854 ac_ext=c
58855 ac_cpp='$CPP $CPPFLAGS'
58856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58864 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
58865 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
58867 if test x$glibcxx_cv_func_expf_use = x"yes"; then
58869 for ac_func in expf
58871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58872 echo "$as_me:$LINENO: checking for $ac_func" >&5
58873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58874 if eval "test \"\${$as_ac_var+set}\" = set"; then
58875 echo $ECHO_N "(cached) $ECHO_C" >&6
58876 else
58877 if test x$gcc_no_link = xyes; then
58878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58880 { (exit 1); exit 1; }; }
58882 cat >conftest.$ac_ext <<_ACEOF
58883 /* confdefs.h. */
58884 _ACEOF
58885 cat confdefs.h >>conftest.$ac_ext
58886 cat >>conftest.$ac_ext <<_ACEOF
58887 /* end confdefs.h. */
58888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58890 #define $ac_func innocuous_$ac_func
58892 /* System header to define __stub macros and hopefully few prototypes,
58893 which can conflict with char $ac_func (); below.
58894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58895 <limits.h> exists even on freestanding compilers. */
58897 #ifdef __STDC__
58898 # include <limits.h>
58899 #else
58900 # include <assert.h>
58901 #endif
58903 #undef $ac_func
58905 /* Override any gcc2 internal prototype to avoid an error. */
58906 #ifdef __cplusplus
58907 extern "C"
58909 #endif
58910 /* We use char because int might match the return type of a gcc2
58911 builtin and then its argument prototype would still apply. */
58912 char $ac_func ();
58913 /* The GNU C library defines this for functions which it implements
58914 to always fail with ENOSYS. Some functions are actually named
58915 something starting with __ and the normal name is an alias. */
58916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58917 choke me
58918 #else
58919 char (*f) () = $ac_func;
58920 #endif
58921 #ifdef __cplusplus
58923 #endif
58926 main ()
58928 return f != $ac_func;
58930 return 0;
58932 _ACEOF
58933 rm -f conftest.$ac_objext conftest$ac_exeext
58934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58935 (eval $ac_link) 2>conftest.er1
58936 ac_status=$?
58937 grep -v '^ *+' conftest.er1 >conftest.err
58938 rm -f conftest.er1
58939 cat conftest.err >&5
58940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58941 (exit $ac_status); } &&
58942 { ac_try='test -z "$ac_c_werror_flag"
58943 || test ! -s conftest.err'
58944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58945 (eval $ac_try) 2>&5
58946 ac_status=$?
58947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58948 (exit $ac_status); }; } &&
58949 { ac_try='test -s conftest$ac_exeext'
58950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58951 (eval $ac_try) 2>&5
58952 ac_status=$?
58953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58954 (exit $ac_status); }; }; then
58955 eval "$as_ac_var=yes"
58956 else
58957 echo "$as_me: failed program was:" >&5
58958 sed 's/^/| /' conftest.$ac_ext >&5
58960 eval "$as_ac_var=no"
58962 rm -f conftest.err conftest.$ac_objext \
58963 conftest$ac_exeext conftest.$ac_ext
58965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58967 if test `eval echo '${'$as_ac_var'}'` = yes; then
58968 cat >>confdefs.h <<_ACEOF
58969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58970 _ACEOF
58973 done
58975 else
58977 echo "$as_me:$LINENO: checking for _expf declaration" >&5
58978 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
58979 if test x${glibcxx_cv_func__expf_use+set} != xset; then
58980 if test "${glibcxx_cv_func__expf_use+set}" = set; then
58981 echo $ECHO_N "(cached) $ECHO_C" >&6
58982 else
58986 ac_ext=cc
58987 ac_cpp='$CXXCPP $CPPFLAGS'
58988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58992 cat >conftest.$ac_ext <<_ACEOF
58993 /* confdefs.h. */
58994 _ACEOF
58995 cat confdefs.h >>conftest.$ac_ext
58996 cat >>conftest.$ac_ext <<_ACEOF
58997 /* end confdefs.h. */
58998 #include <math.h>
58999 #ifdef HAVE_IEEEFP_H
59000 #include <ieeefp.h>
59001 #endif
59004 main ()
59006 _expf(0);
59008 return 0;
59010 _ACEOF
59011 rm -f conftest.$ac_objext
59012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59013 (eval $ac_compile) 2>conftest.er1
59014 ac_status=$?
59015 grep -v '^ *+' conftest.er1 >conftest.err
59016 rm -f conftest.er1
59017 cat conftest.err >&5
59018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59019 (exit $ac_status); } &&
59020 { ac_try='test -z "$ac_cxx_werror_flag"
59021 || test ! -s conftest.err'
59022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59023 (eval $ac_try) 2>&5
59024 ac_status=$?
59025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59026 (exit $ac_status); }; } &&
59027 { ac_try='test -s conftest.$ac_objext'
59028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59029 (eval $ac_try) 2>&5
59030 ac_status=$?
59031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59032 (exit $ac_status); }; }; then
59033 glibcxx_cv_func__expf_use=yes
59034 else
59035 echo "$as_me: failed program was:" >&5
59036 sed 's/^/| /' conftest.$ac_ext >&5
59038 glibcxx_cv_func__expf_use=no
59040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59041 ac_ext=c
59042 ac_cpp='$CPP $CPPFLAGS'
59043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59051 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
59052 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
59054 if test x$glibcxx_cv_func__expf_use = x"yes"; then
59056 for ac_func in _expf
59058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59059 echo "$as_me:$LINENO: checking for $ac_func" >&5
59060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59061 if eval "test \"\${$as_ac_var+set}\" = set"; then
59062 echo $ECHO_N "(cached) $ECHO_C" >&6
59063 else
59064 if test x$gcc_no_link = xyes; then
59065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59067 { (exit 1); exit 1; }; }
59069 cat >conftest.$ac_ext <<_ACEOF
59070 /* confdefs.h. */
59071 _ACEOF
59072 cat confdefs.h >>conftest.$ac_ext
59073 cat >>conftest.$ac_ext <<_ACEOF
59074 /* end confdefs.h. */
59075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59077 #define $ac_func innocuous_$ac_func
59079 /* System header to define __stub macros and hopefully few prototypes,
59080 which can conflict with char $ac_func (); below.
59081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59082 <limits.h> exists even on freestanding compilers. */
59084 #ifdef __STDC__
59085 # include <limits.h>
59086 #else
59087 # include <assert.h>
59088 #endif
59090 #undef $ac_func
59092 /* Override any gcc2 internal prototype to avoid an error. */
59093 #ifdef __cplusplus
59094 extern "C"
59096 #endif
59097 /* We use char because int might match the return type of a gcc2
59098 builtin and then its argument prototype would still apply. */
59099 char $ac_func ();
59100 /* The GNU C library defines this for functions which it implements
59101 to always fail with ENOSYS. Some functions are actually named
59102 something starting with __ and the normal name is an alias. */
59103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59104 choke me
59105 #else
59106 char (*f) () = $ac_func;
59107 #endif
59108 #ifdef __cplusplus
59110 #endif
59113 main ()
59115 return f != $ac_func;
59117 return 0;
59119 _ACEOF
59120 rm -f conftest.$ac_objext conftest$ac_exeext
59121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59122 (eval $ac_link) 2>conftest.er1
59123 ac_status=$?
59124 grep -v '^ *+' conftest.er1 >conftest.err
59125 rm -f conftest.er1
59126 cat conftest.err >&5
59127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59128 (exit $ac_status); } &&
59129 { ac_try='test -z "$ac_c_werror_flag"
59130 || test ! -s conftest.err'
59131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59132 (eval $ac_try) 2>&5
59133 ac_status=$?
59134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59135 (exit $ac_status); }; } &&
59136 { ac_try='test -s conftest$ac_exeext'
59137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59138 (eval $ac_try) 2>&5
59139 ac_status=$?
59140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59141 (exit $ac_status); }; }; then
59142 eval "$as_ac_var=yes"
59143 else
59144 echo "$as_me: failed program was:" >&5
59145 sed 's/^/| /' conftest.$ac_ext >&5
59147 eval "$as_ac_var=no"
59149 rm -f conftest.err conftest.$ac_objext \
59150 conftest$ac_exeext conftest.$ac_ext
59152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59154 if test `eval echo '${'$as_ac_var'}'` = yes; then
59155 cat >>confdefs.h <<_ACEOF
59156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59157 _ACEOF
59160 done
59167 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
59168 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
59169 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59170 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
59171 echo $ECHO_N "(cached) $ECHO_C" >&6
59172 else
59176 ac_ext=cc
59177 ac_cpp='$CXXCPP $CPPFLAGS'
59178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59182 cat >conftest.$ac_ext <<_ACEOF
59183 /* confdefs.h. */
59184 _ACEOF
59185 cat confdefs.h >>conftest.$ac_ext
59186 cat >>conftest.$ac_ext <<_ACEOF
59187 /* end confdefs.h. */
59188 #include <math.h>
59189 #ifdef HAVE_IEEEFP_H
59190 #include <ieeefp.h>
59191 #endif
59194 main ()
59196 isnanf(0);
59198 return 0;
59200 _ACEOF
59201 rm -f conftest.$ac_objext
59202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59203 (eval $ac_compile) 2>conftest.er1
59204 ac_status=$?
59205 grep -v '^ *+' conftest.er1 >conftest.err
59206 rm -f conftest.er1
59207 cat conftest.err >&5
59208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59209 (exit $ac_status); } &&
59210 { ac_try='test -z "$ac_cxx_werror_flag"
59211 || test ! -s conftest.err'
59212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59213 (eval $ac_try) 2>&5
59214 ac_status=$?
59215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59216 (exit $ac_status); }; } &&
59217 { ac_try='test -s conftest.$ac_objext'
59218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59219 (eval $ac_try) 2>&5
59220 ac_status=$?
59221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59222 (exit $ac_status); }; }; then
59223 glibcxx_cv_func_isnanf_use=yes
59224 else
59225 echo "$as_me: failed program was:" >&5
59226 sed 's/^/| /' conftest.$ac_ext >&5
59228 glibcxx_cv_func_isnanf_use=no
59230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59231 ac_ext=c
59232 ac_cpp='$CPP $CPPFLAGS'
59233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59241 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
59242 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
59244 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59246 for ac_func in isnanf
59248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59249 echo "$as_me:$LINENO: checking for $ac_func" >&5
59250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59251 if eval "test \"\${$as_ac_var+set}\" = set"; then
59252 echo $ECHO_N "(cached) $ECHO_C" >&6
59253 else
59254 if test x$gcc_no_link = xyes; then
59255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59257 { (exit 1); exit 1; }; }
59259 cat >conftest.$ac_ext <<_ACEOF
59260 /* confdefs.h. */
59261 _ACEOF
59262 cat confdefs.h >>conftest.$ac_ext
59263 cat >>conftest.$ac_ext <<_ACEOF
59264 /* end confdefs.h. */
59265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59267 #define $ac_func innocuous_$ac_func
59269 /* System header to define __stub macros and hopefully few prototypes,
59270 which can conflict with char $ac_func (); below.
59271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59272 <limits.h> exists even on freestanding compilers. */
59274 #ifdef __STDC__
59275 # include <limits.h>
59276 #else
59277 # include <assert.h>
59278 #endif
59280 #undef $ac_func
59282 /* Override any gcc2 internal prototype to avoid an error. */
59283 #ifdef __cplusplus
59284 extern "C"
59286 #endif
59287 /* We use char because int might match the return type of a gcc2
59288 builtin and then its argument prototype would still apply. */
59289 char $ac_func ();
59290 /* The GNU C library defines this for functions which it implements
59291 to always fail with ENOSYS. Some functions are actually named
59292 something starting with __ and the normal name is an alias. */
59293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59294 choke me
59295 #else
59296 char (*f) () = $ac_func;
59297 #endif
59298 #ifdef __cplusplus
59300 #endif
59303 main ()
59305 return f != $ac_func;
59307 return 0;
59309 _ACEOF
59310 rm -f conftest.$ac_objext conftest$ac_exeext
59311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59312 (eval $ac_link) 2>conftest.er1
59313 ac_status=$?
59314 grep -v '^ *+' conftest.er1 >conftest.err
59315 rm -f conftest.er1
59316 cat conftest.err >&5
59317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59318 (exit $ac_status); } &&
59319 { ac_try='test -z "$ac_c_werror_flag"
59320 || test ! -s conftest.err'
59321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59322 (eval $ac_try) 2>&5
59323 ac_status=$?
59324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59325 (exit $ac_status); }; } &&
59326 { ac_try='test -s conftest$ac_exeext'
59327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59328 (eval $ac_try) 2>&5
59329 ac_status=$?
59330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59331 (exit $ac_status); }; }; then
59332 eval "$as_ac_var=yes"
59333 else
59334 echo "$as_me: failed program was:" >&5
59335 sed 's/^/| /' conftest.$ac_ext >&5
59337 eval "$as_ac_var=no"
59339 rm -f conftest.err conftest.$ac_objext \
59340 conftest$ac_exeext conftest.$ac_ext
59342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59344 if test `eval echo '${'$as_ac_var'}'` = yes; then
59345 cat >>confdefs.h <<_ACEOF
59346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59347 _ACEOF
59350 done
59352 else
59354 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
59355 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
59356 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59357 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
59358 echo $ECHO_N "(cached) $ECHO_C" >&6
59359 else
59363 ac_ext=cc
59364 ac_cpp='$CXXCPP $CPPFLAGS'
59365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59369 cat >conftest.$ac_ext <<_ACEOF
59370 /* confdefs.h. */
59371 _ACEOF
59372 cat confdefs.h >>conftest.$ac_ext
59373 cat >>conftest.$ac_ext <<_ACEOF
59374 /* end confdefs.h. */
59375 #include <math.h>
59376 #ifdef HAVE_IEEEFP_H
59377 #include <ieeefp.h>
59378 #endif
59381 main ()
59383 _isnanf(0);
59385 return 0;
59387 _ACEOF
59388 rm -f conftest.$ac_objext
59389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59390 (eval $ac_compile) 2>conftest.er1
59391 ac_status=$?
59392 grep -v '^ *+' conftest.er1 >conftest.err
59393 rm -f conftest.er1
59394 cat conftest.err >&5
59395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59396 (exit $ac_status); } &&
59397 { ac_try='test -z "$ac_cxx_werror_flag"
59398 || test ! -s conftest.err'
59399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59400 (eval $ac_try) 2>&5
59401 ac_status=$?
59402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59403 (exit $ac_status); }; } &&
59404 { ac_try='test -s conftest.$ac_objext'
59405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59406 (eval $ac_try) 2>&5
59407 ac_status=$?
59408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59409 (exit $ac_status); }; }; then
59410 glibcxx_cv_func__isnanf_use=yes
59411 else
59412 echo "$as_me: failed program was:" >&5
59413 sed 's/^/| /' conftest.$ac_ext >&5
59415 glibcxx_cv_func__isnanf_use=no
59417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59418 ac_ext=c
59419 ac_cpp='$CPP $CPPFLAGS'
59420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59428 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
59429 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
59431 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59433 for ac_func in _isnanf
59435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59436 echo "$as_me:$LINENO: checking for $ac_func" >&5
59437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59438 if eval "test \"\${$as_ac_var+set}\" = set"; then
59439 echo $ECHO_N "(cached) $ECHO_C" >&6
59440 else
59441 if test x$gcc_no_link = xyes; then
59442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59444 { (exit 1); exit 1; }; }
59446 cat >conftest.$ac_ext <<_ACEOF
59447 /* confdefs.h. */
59448 _ACEOF
59449 cat confdefs.h >>conftest.$ac_ext
59450 cat >>conftest.$ac_ext <<_ACEOF
59451 /* end confdefs.h. */
59452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59454 #define $ac_func innocuous_$ac_func
59456 /* System header to define __stub macros and hopefully few prototypes,
59457 which can conflict with char $ac_func (); below.
59458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59459 <limits.h> exists even on freestanding compilers. */
59461 #ifdef __STDC__
59462 # include <limits.h>
59463 #else
59464 # include <assert.h>
59465 #endif
59467 #undef $ac_func
59469 /* Override any gcc2 internal prototype to avoid an error. */
59470 #ifdef __cplusplus
59471 extern "C"
59473 #endif
59474 /* We use char because int might match the return type of a gcc2
59475 builtin and then its argument prototype would still apply. */
59476 char $ac_func ();
59477 /* The GNU C library defines this for functions which it implements
59478 to always fail with ENOSYS. Some functions are actually named
59479 something starting with __ and the normal name is an alias. */
59480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59481 choke me
59482 #else
59483 char (*f) () = $ac_func;
59484 #endif
59485 #ifdef __cplusplus
59487 #endif
59490 main ()
59492 return f != $ac_func;
59494 return 0;
59496 _ACEOF
59497 rm -f conftest.$ac_objext conftest$ac_exeext
59498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59499 (eval $ac_link) 2>conftest.er1
59500 ac_status=$?
59501 grep -v '^ *+' conftest.er1 >conftest.err
59502 rm -f conftest.er1
59503 cat conftest.err >&5
59504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59505 (exit $ac_status); } &&
59506 { ac_try='test -z "$ac_c_werror_flag"
59507 || test ! -s conftest.err'
59508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59509 (eval $ac_try) 2>&5
59510 ac_status=$?
59511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59512 (exit $ac_status); }; } &&
59513 { ac_try='test -s conftest$ac_exeext'
59514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59515 (eval $ac_try) 2>&5
59516 ac_status=$?
59517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59518 (exit $ac_status); }; }; then
59519 eval "$as_ac_var=yes"
59520 else
59521 echo "$as_me: failed program was:" >&5
59522 sed 's/^/| /' conftest.$ac_ext >&5
59524 eval "$as_ac_var=no"
59526 rm -f conftest.err conftest.$ac_objext \
59527 conftest$ac_exeext conftest.$ac_ext
59529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59531 if test `eval echo '${'$as_ac_var'}'` = yes; then
59532 cat >>confdefs.h <<_ACEOF
59533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59534 _ACEOF
59537 done
59544 echo "$as_me:$LINENO: checking for isinff declaration" >&5
59545 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
59546 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59547 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
59548 echo $ECHO_N "(cached) $ECHO_C" >&6
59549 else
59553 ac_ext=cc
59554 ac_cpp='$CXXCPP $CPPFLAGS'
59555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59559 cat >conftest.$ac_ext <<_ACEOF
59560 /* confdefs.h. */
59561 _ACEOF
59562 cat confdefs.h >>conftest.$ac_ext
59563 cat >>conftest.$ac_ext <<_ACEOF
59564 /* end confdefs.h. */
59565 #include <math.h>
59566 #ifdef HAVE_IEEEFP_H
59567 #include <ieeefp.h>
59568 #endif
59571 main ()
59573 isinff(0);
59575 return 0;
59577 _ACEOF
59578 rm -f conftest.$ac_objext
59579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59580 (eval $ac_compile) 2>conftest.er1
59581 ac_status=$?
59582 grep -v '^ *+' conftest.er1 >conftest.err
59583 rm -f conftest.er1
59584 cat conftest.err >&5
59585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59586 (exit $ac_status); } &&
59587 { ac_try='test -z "$ac_cxx_werror_flag"
59588 || test ! -s conftest.err'
59589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59590 (eval $ac_try) 2>&5
59591 ac_status=$?
59592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59593 (exit $ac_status); }; } &&
59594 { ac_try='test -s conftest.$ac_objext'
59595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59596 (eval $ac_try) 2>&5
59597 ac_status=$?
59598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59599 (exit $ac_status); }; }; then
59600 glibcxx_cv_func_isinff_use=yes
59601 else
59602 echo "$as_me: failed program was:" >&5
59603 sed 's/^/| /' conftest.$ac_ext >&5
59605 glibcxx_cv_func_isinff_use=no
59607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59608 ac_ext=c
59609 ac_cpp='$CPP $CPPFLAGS'
59610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59618 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
59619 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
59621 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59623 for ac_func in isinff
59625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59626 echo "$as_me:$LINENO: checking for $ac_func" >&5
59627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59628 if eval "test \"\${$as_ac_var+set}\" = set"; then
59629 echo $ECHO_N "(cached) $ECHO_C" >&6
59630 else
59631 if test x$gcc_no_link = xyes; then
59632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59634 { (exit 1); exit 1; }; }
59636 cat >conftest.$ac_ext <<_ACEOF
59637 /* confdefs.h. */
59638 _ACEOF
59639 cat confdefs.h >>conftest.$ac_ext
59640 cat >>conftest.$ac_ext <<_ACEOF
59641 /* end confdefs.h. */
59642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59644 #define $ac_func innocuous_$ac_func
59646 /* System header to define __stub macros and hopefully few prototypes,
59647 which can conflict with char $ac_func (); below.
59648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59649 <limits.h> exists even on freestanding compilers. */
59651 #ifdef __STDC__
59652 # include <limits.h>
59653 #else
59654 # include <assert.h>
59655 #endif
59657 #undef $ac_func
59659 /* Override any gcc2 internal prototype to avoid an error. */
59660 #ifdef __cplusplus
59661 extern "C"
59663 #endif
59664 /* We use char because int might match the return type of a gcc2
59665 builtin and then its argument prototype would still apply. */
59666 char $ac_func ();
59667 /* The GNU C library defines this for functions which it implements
59668 to always fail with ENOSYS. Some functions are actually named
59669 something starting with __ and the normal name is an alias. */
59670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59671 choke me
59672 #else
59673 char (*f) () = $ac_func;
59674 #endif
59675 #ifdef __cplusplus
59677 #endif
59680 main ()
59682 return f != $ac_func;
59684 return 0;
59686 _ACEOF
59687 rm -f conftest.$ac_objext conftest$ac_exeext
59688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59689 (eval $ac_link) 2>conftest.er1
59690 ac_status=$?
59691 grep -v '^ *+' conftest.er1 >conftest.err
59692 rm -f conftest.er1
59693 cat conftest.err >&5
59694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59695 (exit $ac_status); } &&
59696 { ac_try='test -z "$ac_c_werror_flag"
59697 || test ! -s conftest.err'
59698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59699 (eval $ac_try) 2>&5
59700 ac_status=$?
59701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59702 (exit $ac_status); }; } &&
59703 { ac_try='test -s conftest$ac_exeext'
59704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59705 (eval $ac_try) 2>&5
59706 ac_status=$?
59707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59708 (exit $ac_status); }; }; then
59709 eval "$as_ac_var=yes"
59710 else
59711 echo "$as_me: failed program was:" >&5
59712 sed 's/^/| /' conftest.$ac_ext >&5
59714 eval "$as_ac_var=no"
59716 rm -f conftest.err conftest.$ac_objext \
59717 conftest$ac_exeext conftest.$ac_ext
59719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59721 if test `eval echo '${'$as_ac_var'}'` = yes; then
59722 cat >>confdefs.h <<_ACEOF
59723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59724 _ACEOF
59727 done
59729 else
59731 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
59732 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
59733 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59734 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
59735 echo $ECHO_N "(cached) $ECHO_C" >&6
59736 else
59740 ac_ext=cc
59741 ac_cpp='$CXXCPP $CPPFLAGS'
59742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59746 cat >conftest.$ac_ext <<_ACEOF
59747 /* confdefs.h. */
59748 _ACEOF
59749 cat confdefs.h >>conftest.$ac_ext
59750 cat >>conftest.$ac_ext <<_ACEOF
59751 /* end confdefs.h. */
59752 #include <math.h>
59753 #ifdef HAVE_IEEEFP_H
59754 #include <ieeefp.h>
59755 #endif
59758 main ()
59760 _isinff(0);
59762 return 0;
59764 _ACEOF
59765 rm -f conftest.$ac_objext
59766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59767 (eval $ac_compile) 2>conftest.er1
59768 ac_status=$?
59769 grep -v '^ *+' conftest.er1 >conftest.err
59770 rm -f conftest.er1
59771 cat conftest.err >&5
59772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59773 (exit $ac_status); } &&
59774 { ac_try='test -z "$ac_cxx_werror_flag"
59775 || test ! -s conftest.err'
59776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59777 (eval $ac_try) 2>&5
59778 ac_status=$?
59779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59780 (exit $ac_status); }; } &&
59781 { ac_try='test -s conftest.$ac_objext'
59782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59783 (eval $ac_try) 2>&5
59784 ac_status=$?
59785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59786 (exit $ac_status); }; }; then
59787 glibcxx_cv_func__isinff_use=yes
59788 else
59789 echo "$as_me: failed program was:" >&5
59790 sed 's/^/| /' conftest.$ac_ext >&5
59792 glibcxx_cv_func__isinff_use=no
59794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59795 ac_ext=c
59796 ac_cpp='$CPP $CPPFLAGS'
59797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59805 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
59806 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
59808 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59810 for ac_func in _isinff
59812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59813 echo "$as_me:$LINENO: checking for $ac_func" >&5
59814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59815 if eval "test \"\${$as_ac_var+set}\" = set"; then
59816 echo $ECHO_N "(cached) $ECHO_C" >&6
59817 else
59818 if test x$gcc_no_link = xyes; then
59819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59821 { (exit 1); exit 1; }; }
59823 cat >conftest.$ac_ext <<_ACEOF
59824 /* confdefs.h. */
59825 _ACEOF
59826 cat confdefs.h >>conftest.$ac_ext
59827 cat >>conftest.$ac_ext <<_ACEOF
59828 /* end confdefs.h. */
59829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59831 #define $ac_func innocuous_$ac_func
59833 /* System header to define __stub macros and hopefully few prototypes,
59834 which can conflict with char $ac_func (); below.
59835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59836 <limits.h> exists even on freestanding compilers. */
59838 #ifdef __STDC__
59839 # include <limits.h>
59840 #else
59841 # include <assert.h>
59842 #endif
59844 #undef $ac_func
59846 /* Override any gcc2 internal prototype to avoid an error. */
59847 #ifdef __cplusplus
59848 extern "C"
59850 #endif
59851 /* We use char because int might match the return type of a gcc2
59852 builtin and then its argument prototype would still apply. */
59853 char $ac_func ();
59854 /* The GNU C library defines this for functions which it implements
59855 to always fail with ENOSYS. Some functions are actually named
59856 something starting with __ and the normal name is an alias. */
59857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59858 choke me
59859 #else
59860 char (*f) () = $ac_func;
59861 #endif
59862 #ifdef __cplusplus
59864 #endif
59867 main ()
59869 return f != $ac_func;
59871 return 0;
59873 _ACEOF
59874 rm -f conftest.$ac_objext conftest$ac_exeext
59875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59876 (eval $ac_link) 2>conftest.er1
59877 ac_status=$?
59878 grep -v '^ *+' conftest.er1 >conftest.err
59879 rm -f conftest.er1
59880 cat conftest.err >&5
59881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59882 (exit $ac_status); } &&
59883 { ac_try='test -z "$ac_c_werror_flag"
59884 || test ! -s conftest.err'
59885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59886 (eval $ac_try) 2>&5
59887 ac_status=$?
59888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59889 (exit $ac_status); }; } &&
59890 { ac_try='test -s conftest$ac_exeext'
59891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59892 (eval $ac_try) 2>&5
59893 ac_status=$?
59894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59895 (exit $ac_status); }; }; then
59896 eval "$as_ac_var=yes"
59897 else
59898 echo "$as_me: failed program was:" >&5
59899 sed 's/^/| /' conftest.$ac_ext >&5
59901 eval "$as_ac_var=no"
59903 rm -f conftest.err conftest.$ac_objext \
59904 conftest$ac_exeext conftest.$ac_ext
59906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59908 if test `eval echo '${'$as_ac_var'}'` = yes; then
59909 cat >>confdefs.h <<_ACEOF
59910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59911 _ACEOF
59914 done
59921 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
59922 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
59923 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59924 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
59925 echo $ECHO_N "(cached) $ECHO_C" >&6
59926 else
59930 ac_ext=cc
59931 ac_cpp='$CXXCPP $CPPFLAGS'
59932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59936 cat >conftest.$ac_ext <<_ACEOF
59937 /* confdefs.h. */
59938 _ACEOF
59939 cat confdefs.h >>conftest.$ac_ext
59940 cat >>conftest.$ac_ext <<_ACEOF
59941 /* end confdefs.h. */
59942 #include <math.h>
59944 main ()
59946 atan2f(0, 0);
59948 return 0;
59950 _ACEOF
59951 rm -f conftest.$ac_objext
59952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59953 (eval $ac_compile) 2>conftest.er1
59954 ac_status=$?
59955 grep -v '^ *+' conftest.er1 >conftest.err
59956 rm -f conftest.er1
59957 cat conftest.err >&5
59958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59959 (exit $ac_status); } &&
59960 { ac_try='test -z "$ac_cxx_werror_flag"
59961 || test ! -s conftest.err'
59962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59963 (eval $ac_try) 2>&5
59964 ac_status=$?
59965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59966 (exit $ac_status); }; } &&
59967 { ac_try='test -s conftest.$ac_objext'
59968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59969 (eval $ac_try) 2>&5
59970 ac_status=$?
59971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59972 (exit $ac_status); }; }; then
59973 glibcxx_cv_func_atan2f_use=yes
59974 else
59975 echo "$as_me: failed program was:" >&5
59976 sed 's/^/| /' conftest.$ac_ext >&5
59978 glibcxx_cv_func_atan2f_use=no
59980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59981 ac_ext=c
59982 ac_cpp='$CPP $CPPFLAGS'
59983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59991 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
59992 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
59994 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59996 for ac_func in atan2f
59998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59999 echo "$as_me:$LINENO: checking for $ac_func" >&5
60000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60001 if eval "test \"\${$as_ac_var+set}\" = set"; then
60002 echo $ECHO_N "(cached) $ECHO_C" >&6
60003 else
60004 if test x$gcc_no_link = xyes; then
60005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60007 { (exit 1); exit 1; }; }
60009 cat >conftest.$ac_ext <<_ACEOF
60010 /* confdefs.h. */
60011 _ACEOF
60012 cat confdefs.h >>conftest.$ac_ext
60013 cat >>conftest.$ac_ext <<_ACEOF
60014 /* end confdefs.h. */
60015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60017 #define $ac_func innocuous_$ac_func
60019 /* System header to define __stub macros and hopefully few prototypes,
60020 which can conflict with char $ac_func (); below.
60021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60022 <limits.h> exists even on freestanding compilers. */
60024 #ifdef __STDC__
60025 # include <limits.h>
60026 #else
60027 # include <assert.h>
60028 #endif
60030 #undef $ac_func
60032 /* Override any gcc2 internal prototype to avoid an error. */
60033 #ifdef __cplusplus
60034 extern "C"
60036 #endif
60037 /* We use char because int might match the return type of a gcc2
60038 builtin and then its argument prototype would still apply. */
60039 char $ac_func ();
60040 /* The GNU C library defines this for functions which it implements
60041 to always fail with ENOSYS. Some functions are actually named
60042 something starting with __ and the normal name is an alias. */
60043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60044 choke me
60045 #else
60046 char (*f) () = $ac_func;
60047 #endif
60048 #ifdef __cplusplus
60050 #endif
60053 main ()
60055 return f != $ac_func;
60057 return 0;
60059 _ACEOF
60060 rm -f conftest.$ac_objext conftest$ac_exeext
60061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60062 (eval $ac_link) 2>conftest.er1
60063 ac_status=$?
60064 grep -v '^ *+' conftest.er1 >conftest.err
60065 rm -f conftest.er1
60066 cat conftest.err >&5
60067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60068 (exit $ac_status); } &&
60069 { ac_try='test -z "$ac_c_werror_flag"
60070 || test ! -s conftest.err'
60071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60072 (eval $ac_try) 2>&5
60073 ac_status=$?
60074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60075 (exit $ac_status); }; } &&
60076 { ac_try='test -s conftest$ac_exeext'
60077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60078 (eval $ac_try) 2>&5
60079 ac_status=$?
60080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60081 (exit $ac_status); }; }; then
60082 eval "$as_ac_var=yes"
60083 else
60084 echo "$as_me: failed program was:" >&5
60085 sed 's/^/| /' conftest.$ac_ext >&5
60087 eval "$as_ac_var=no"
60089 rm -f conftest.err conftest.$ac_objext \
60090 conftest$ac_exeext conftest.$ac_ext
60092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60094 if test `eval echo '${'$as_ac_var'}'` = yes; then
60095 cat >>confdefs.h <<_ACEOF
60096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60097 _ACEOF
60100 done
60102 else
60104 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
60105 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
60106 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60107 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
60108 echo $ECHO_N "(cached) $ECHO_C" >&6
60109 else
60113 ac_ext=cc
60114 ac_cpp='$CXXCPP $CPPFLAGS'
60115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60119 cat >conftest.$ac_ext <<_ACEOF
60120 /* confdefs.h. */
60121 _ACEOF
60122 cat confdefs.h >>conftest.$ac_ext
60123 cat >>conftest.$ac_ext <<_ACEOF
60124 /* end confdefs.h. */
60125 #include <math.h>
60127 main ()
60129 _atan2f(0, 0);
60131 return 0;
60133 _ACEOF
60134 rm -f conftest.$ac_objext
60135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60136 (eval $ac_compile) 2>conftest.er1
60137 ac_status=$?
60138 grep -v '^ *+' conftest.er1 >conftest.err
60139 rm -f conftest.er1
60140 cat conftest.err >&5
60141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60142 (exit $ac_status); } &&
60143 { ac_try='test -z "$ac_cxx_werror_flag"
60144 || test ! -s conftest.err'
60145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60146 (eval $ac_try) 2>&5
60147 ac_status=$?
60148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60149 (exit $ac_status); }; } &&
60150 { ac_try='test -s conftest.$ac_objext'
60151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60152 (eval $ac_try) 2>&5
60153 ac_status=$?
60154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60155 (exit $ac_status); }; }; then
60156 glibcxx_cv_func__atan2f_use=yes
60157 else
60158 echo "$as_me: failed program was:" >&5
60159 sed 's/^/| /' conftest.$ac_ext >&5
60161 glibcxx_cv_func__atan2f_use=no
60163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60164 ac_ext=c
60165 ac_cpp='$CPP $CPPFLAGS'
60166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60174 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
60175 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
60177 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60179 for ac_func in _atan2f
60181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60182 echo "$as_me:$LINENO: checking for $ac_func" >&5
60183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60184 if eval "test \"\${$as_ac_var+set}\" = set"; then
60185 echo $ECHO_N "(cached) $ECHO_C" >&6
60186 else
60187 if test x$gcc_no_link = xyes; then
60188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60190 { (exit 1); exit 1; }; }
60192 cat >conftest.$ac_ext <<_ACEOF
60193 /* confdefs.h. */
60194 _ACEOF
60195 cat confdefs.h >>conftest.$ac_ext
60196 cat >>conftest.$ac_ext <<_ACEOF
60197 /* end confdefs.h. */
60198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60200 #define $ac_func innocuous_$ac_func
60202 /* System header to define __stub macros and hopefully few prototypes,
60203 which can conflict with char $ac_func (); below.
60204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60205 <limits.h> exists even on freestanding compilers. */
60207 #ifdef __STDC__
60208 # include <limits.h>
60209 #else
60210 # include <assert.h>
60211 #endif
60213 #undef $ac_func
60215 /* Override any gcc2 internal prototype to avoid an error. */
60216 #ifdef __cplusplus
60217 extern "C"
60219 #endif
60220 /* We use char because int might match the return type of a gcc2
60221 builtin and then its argument prototype would still apply. */
60222 char $ac_func ();
60223 /* The GNU C library defines this for functions which it implements
60224 to always fail with ENOSYS. Some functions are actually named
60225 something starting with __ and the normal name is an alias. */
60226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60227 choke me
60228 #else
60229 char (*f) () = $ac_func;
60230 #endif
60231 #ifdef __cplusplus
60233 #endif
60236 main ()
60238 return f != $ac_func;
60240 return 0;
60242 _ACEOF
60243 rm -f conftest.$ac_objext conftest$ac_exeext
60244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60245 (eval $ac_link) 2>conftest.er1
60246 ac_status=$?
60247 grep -v '^ *+' conftest.er1 >conftest.err
60248 rm -f conftest.er1
60249 cat conftest.err >&5
60250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60251 (exit $ac_status); } &&
60252 { ac_try='test -z "$ac_c_werror_flag"
60253 || test ! -s conftest.err'
60254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60255 (eval $ac_try) 2>&5
60256 ac_status=$?
60257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60258 (exit $ac_status); }; } &&
60259 { ac_try='test -s conftest$ac_exeext'
60260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60261 (eval $ac_try) 2>&5
60262 ac_status=$?
60263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60264 (exit $ac_status); }; }; then
60265 eval "$as_ac_var=yes"
60266 else
60267 echo "$as_me: failed program was:" >&5
60268 sed 's/^/| /' conftest.$ac_ext >&5
60270 eval "$as_ac_var=no"
60272 rm -f conftest.err conftest.$ac_objext \
60273 conftest$ac_exeext conftest.$ac_ext
60275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60277 if test `eval echo '${'$as_ac_var'}'` = yes; then
60278 cat >>confdefs.h <<_ACEOF
60279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60280 _ACEOF
60283 done
60290 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
60291 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
60292 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60293 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
60294 echo $ECHO_N "(cached) $ECHO_C" >&6
60295 else
60299 ac_ext=cc
60300 ac_cpp='$CXXCPP $CPPFLAGS'
60301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60305 cat >conftest.$ac_ext <<_ACEOF
60306 /* confdefs.h. */
60307 _ACEOF
60308 cat confdefs.h >>conftest.$ac_ext
60309 cat >>conftest.$ac_ext <<_ACEOF
60310 /* end confdefs.h. */
60311 #include <math.h>
60312 #ifdef HAVE_IEEEFP_H
60313 #include <ieeefp.h>
60314 #endif
60317 main ()
60319 fabsf(0);
60321 return 0;
60323 _ACEOF
60324 rm -f conftest.$ac_objext
60325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60326 (eval $ac_compile) 2>conftest.er1
60327 ac_status=$?
60328 grep -v '^ *+' conftest.er1 >conftest.err
60329 rm -f conftest.er1
60330 cat conftest.err >&5
60331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60332 (exit $ac_status); } &&
60333 { ac_try='test -z "$ac_cxx_werror_flag"
60334 || test ! -s conftest.err'
60335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60336 (eval $ac_try) 2>&5
60337 ac_status=$?
60338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60339 (exit $ac_status); }; } &&
60340 { ac_try='test -s conftest.$ac_objext'
60341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60342 (eval $ac_try) 2>&5
60343 ac_status=$?
60344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60345 (exit $ac_status); }; }; then
60346 glibcxx_cv_func_fabsf_use=yes
60347 else
60348 echo "$as_me: failed program was:" >&5
60349 sed 's/^/| /' conftest.$ac_ext >&5
60351 glibcxx_cv_func_fabsf_use=no
60353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60354 ac_ext=c
60355 ac_cpp='$CPP $CPPFLAGS'
60356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60364 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
60365 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
60367 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60369 for ac_func in fabsf
60371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60372 echo "$as_me:$LINENO: checking for $ac_func" >&5
60373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60374 if eval "test \"\${$as_ac_var+set}\" = set"; then
60375 echo $ECHO_N "(cached) $ECHO_C" >&6
60376 else
60377 if test x$gcc_no_link = xyes; then
60378 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60380 { (exit 1); exit 1; }; }
60382 cat >conftest.$ac_ext <<_ACEOF
60383 /* confdefs.h. */
60384 _ACEOF
60385 cat confdefs.h >>conftest.$ac_ext
60386 cat >>conftest.$ac_ext <<_ACEOF
60387 /* end confdefs.h. */
60388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60390 #define $ac_func innocuous_$ac_func
60392 /* System header to define __stub macros and hopefully few prototypes,
60393 which can conflict with char $ac_func (); below.
60394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60395 <limits.h> exists even on freestanding compilers. */
60397 #ifdef __STDC__
60398 # include <limits.h>
60399 #else
60400 # include <assert.h>
60401 #endif
60403 #undef $ac_func
60405 /* Override any gcc2 internal prototype to avoid an error. */
60406 #ifdef __cplusplus
60407 extern "C"
60409 #endif
60410 /* We use char because int might match the return type of a gcc2
60411 builtin and then its argument prototype would still apply. */
60412 char $ac_func ();
60413 /* The GNU C library defines this for functions which it implements
60414 to always fail with ENOSYS. Some functions are actually named
60415 something starting with __ and the normal name is an alias. */
60416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60417 choke me
60418 #else
60419 char (*f) () = $ac_func;
60420 #endif
60421 #ifdef __cplusplus
60423 #endif
60426 main ()
60428 return f != $ac_func;
60430 return 0;
60432 _ACEOF
60433 rm -f conftest.$ac_objext conftest$ac_exeext
60434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60435 (eval $ac_link) 2>conftest.er1
60436 ac_status=$?
60437 grep -v '^ *+' conftest.er1 >conftest.err
60438 rm -f conftest.er1
60439 cat conftest.err >&5
60440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60441 (exit $ac_status); } &&
60442 { ac_try='test -z "$ac_c_werror_flag"
60443 || test ! -s conftest.err'
60444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60445 (eval $ac_try) 2>&5
60446 ac_status=$?
60447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60448 (exit $ac_status); }; } &&
60449 { ac_try='test -s conftest$ac_exeext'
60450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60451 (eval $ac_try) 2>&5
60452 ac_status=$?
60453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60454 (exit $ac_status); }; }; then
60455 eval "$as_ac_var=yes"
60456 else
60457 echo "$as_me: failed program was:" >&5
60458 sed 's/^/| /' conftest.$ac_ext >&5
60460 eval "$as_ac_var=no"
60462 rm -f conftest.err conftest.$ac_objext \
60463 conftest$ac_exeext conftest.$ac_ext
60465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60467 if test `eval echo '${'$as_ac_var'}'` = yes; then
60468 cat >>confdefs.h <<_ACEOF
60469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60470 _ACEOF
60473 done
60475 else
60477 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
60478 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
60479 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60480 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
60481 echo $ECHO_N "(cached) $ECHO_C" >&6
60482 else
60486 ac_ext=cc
60487 ac_cpp='$CXXCPP $CPPFLAGS'
60488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60492 cat >conftest.$ac_ext <<_ACEOF
60493 /* confdefs.h. */
60494 _ACEOF
60495 cat confdefs.h >>conftest.$ac_ext
60496 cat >>conftest.$ac_ext <<_ACEOF
60497 /* end confdefs.h. */
60498 #include <math.h>
60499 #ifdef HAVE_IEEEFP_H
60500 #include <ieeefp.h>
60501 #endif
60504 main ()
60506 _fabsf(0);
60508 return 0;
60510 _ACEOF
60511 rm -f conftest.$ac_objext
60512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60513 (eval $ac_compile) 2>conftest.er1
60514 ac_status=$?
60515 grep -v '^ *+' conftest.er1 >conftest.err
60516 rm -f conftest.er1
60517 cat conftest.err >&5
60518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60519 (exit $ac_status); } &&
60520 { ac_try='test -z "$ac_cxx_werror_flag"
60521 || test ! -s conftest.err'
60522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60523 (eval $ac_try) 2>&5
60524 ac_status=$?
60525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60526 (exit $ac_status); }; } &&
60527 { ac_try='test -s conftest.$ac_objext'
60528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60529 (eval $ac_try) 2>&5
60530 ac_status=$?
60531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60532 (exit $ac_status); }; }; then
60533 glibcxx_cv_func__fabsf_use=yes
60534 else
60535 echo "$as_me: failed program was:" >&5
60536 sed 's/^/| /' conftest.$ac_ext >&5
60538 glibcxx_cv_func__fabsf_use=no
60540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60541 ac_ext=c
60542 ac_cpp='$CPP $CPPFLAGS'
60543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60551 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
60552 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
60554 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60556 for ac_func in _fabsf
60558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60559 echo "$as_me:$LINENO: checking for $ac_func" >&5
60560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60561 if eval "test \"\${$as_ac_var+set}\" = set"; then
60562 echo $ECHO_N "(cached) $ECHO_C" >&6
60563 else
60564 if test x$gcc_no_link = xyes; then
60565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60567 { (exit 1); exit 1; }; }
60569 cat >conftest.$ac_ext <<_ACEOF
60570 /* confdefs.h. */
60571 _ACEOF
60572 cat confdefs.h >>conftest.$ac_ext
60573 cat >>conftest.$ac_ext <<_ACEOF
60574 /* end confdefs.h. */
60575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60577 #define $ac_func innocuous_$ac_func
60579 /* System header to define __stub macros and hopefully few prototypes,
60580 which can conflict with char $ac_func (); below.
60581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60582 <limits.h> exists even on freestanding compilers. */
60584 #ifdef __STDC__
60585 # include <limits.h>
60586 #else
60587 # include <assert.h>
60588 #endif
60590 #undef $ac_func
60592 /* Override any gcc2 internal prototype to avoid an error. */
60593 #ifdef __cplusplus
60594 extern "C"
60596 #endif
60597 /* We use char because int might match the return type of a gcc2
60598 builtin and then its argument prototype would still apply. */
60599 char $ac_func ();
60600 /* The GNU C library defines this for functions which it implements
60601 to always fail with ENOSYS. Some functions are actually named
60602 something starting with __ and the normal name is an alias. */
60603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60604 choke me
60605 #else
60606 char (*f) () = $ac_func;
60607 #endif
60608 #ifdef __cplusplus
60610 #endif
60613 main ()
60615 return f != $ac_func;
60617 return 0;
60619 _ACEOF
60620 rm -f conftest.$ac_objext conftest$ac_exeext
60621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60622 (eval $ac_link) 2>conftest.er1
60623 ac_status=$?
60624 grep -v '^ *+' conftest.er1 >conftest.err
60625 rm -f conftest.er1
60626 cat conftest.err >&5
60627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60628 (exit $ac_status); } &&
60629 { ac_try='test -z "$ac_c_werror_flag"
60630 || test ! -s conftest.err'
60631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60632 (eval $ac_try) 2>&5
60633 ac_status=$?
60634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60635 (exit $ac_status); }; } &&
60636 { ac_try='test -s conftest$ac_exeext'
60637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60638 (eval $ac_try) 2>&5
60639 ac_status=$?
60640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60641 (exit $ac_status); }; }; then
60642 eval "$as_ac_var=yes"
60643 else
60644 echo "$as_me: failed program was:" >&5
60645 sed 's/^/| /' conftest.$ac_ext >&5
60647 eval "$as_ac_var=no"
60649 rm -f conftest.err conftest.$ac_objext \
60650 conftest$ac_exeext conftest.$ac_ext
60652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60654 if test `eval echo '${'$as_ac_var'}'` = yes; then
60655 cat >>confdefs.h <<_ACEOF
60656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60657 _ACEOF
60660 done
60667 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
60668 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
60669 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60670 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
60671 echo $ECHO_N "(cached) $ECHO_C" >&6
60672 else
60676 ac_ext=cc
60677 ac_cpp='$CXXCPP $CPPFLAGS'
60678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60682 cat >conftest.$ac_ext <<_ACEOF
60683 /* confdefs.h. */
60684 _ACEOF
60685 cat confdefs.h >>conftest.$ac_ext
60686 cat >>conftest.$ac_ext <<_ACEOF
60687 /* end confdefs.h. */
60688 #include <math.h>
60690 main ()
60692 fmodf(0, 0);
60694 return 0;
60696 _ACEOF
60697 rm -f conftest.$ac_objext
60698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60699 (eval $ac_compile) 2>conftest.er1
60700 ac_status=$?
60701 grep -v '^ *+' conftest.er1 >conftest.err
60702 rm -f conftest.er1
60703 cat conftest.err >&5
60704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60705 (exit $ac_status); } &&
60706 { ac_try='test -z "$ac_cxx_werror_flag"
60707 || test ! -s conftest.err'
60708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60709 (eval $ac_try) 2>&5
60710 ac_status=$?
60711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60712 (exit $ac_status); }; } &&
60713 { ac_try='test -s conftest.$ac_objext'
60714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60715 (eval $ac_try) 2>&5
60716 ac_status=$?
60717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60718 (exit $ac_status); }; }; then
60719 glibcxx_cv_func_fmodf_use=yes
60720 else
60721 echo "$as_me: failed program was:" >&5
60722 sed 's/^/| /' conftest.$ac_ext >&5
60724 glibcxx_cv_func_fmodf_use=no
60726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60727 ac_ext=c
60728 ac_cpp='$CPP $CPPFLAGS'
60729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60737 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
60738 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
60740 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60742 for ac_func in fmodf
60744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60745 echo "$as_me:$LINENO: checking for $ac_func" >&5
60746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60747 if eval "test \"\${$as_ac_var+set}\" = set"; then
60748 echo $ECHO_N "(cached) $ECHO_C" >&6
60749 else
60750 if test x$gcc_no_link = xyes; then
60751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60753 { (exit 1); exit 1; }; }
60755 cat >conftest.$ac_ext <<_ACEOF
60756 /* confdefs.h. */
60757 _ACEOF
60758 cat confdefs.h >>conftest.$ac_ext
60759 cat >>conftest.$ac_ext <<_ACEOF
60760 /* end confdefs.h. */
60761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60763 #define $ac_func innocuous_$ac_func
60765 /* System header to define __stub macros and hopefully few prototypes,
60766 which can conflict with char $ac_func (); below.
60767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60768 <limits.h> exists even on freestanding compilers. */
60770 #ifdef __STDC__
60771 # include <limits.h>
60772 #else
60773 # include <assert.h>
60774 #endif
60776 #undef $ac_func
60778 /* Override any gcc2 internal prototype to avoid an error. */
60779 #ifdef __cplusplus
60780 extern "C"
60782 #endif
60783 /* We use char because int might match the return type of a gcc2
60784 builtin and then its argument prototype would still apply. */
60785 char $ac_func ();
60786 /* The GNU C library defines this for functions which it implements
60787 to always fail with ENOSYS. Some functions are actually named
60788 something starting with __ and the normal name is an alias. */
60789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60790 choke me
60791 #else
60792 char (*f) () = $ac_func;
60793 #endif
60794 #ifdef __cplusplus
60796 #endif
60799 main ()
60801 return f != $ac_func;
60803 return 0;
60805 _ACEOF
60806 rm -f conftest.$ac_objext conftest$ac_exeext
60807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60808 (eval $ac_link) 2>conftest.er1
60809 ac_status=$?
60810 grep -v '^ *+' conftest.er1 >conftest.err
60811 rm -f conftest.er1
60812 cat conftest.err >&5
60813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60814 (exit $ac_status); } &&
60815 { ac_try='test -z "$ac_c_werror_flag"
60816 || test ! -s conftest.err'
60817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60818 (eval $ac_try) 2>&5
60819 ac_status=$?
60820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60821 (exit $ac_status); }; } &&
60822 { ac_try='test -s conftest$ac_exeext'
60823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60824 (eval $ac_try) 2>&5
60825 ac_status=$?
60826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60827 (exit $ac_status); }; }; then
60828 eval "$as_ac_var=yes"
60829 else
60830 echo "$as_me: failed program was:" >&5
60831 sed 's/^/| /' conftest.$ac_ext >&5
60833 eval "$as_ac_var=no"
60835 rm -f conftest.err conftest.$ac_objext \
60836 conftest$ac_exeext conftest.$ac_ext
60838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60840 if test `eval echo '${'$as_ac_var'}'` = yes; then
60841 cat >>confdefs.h <<_ACEOF
60842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60843 _ACEOF
60846 done
60848 else
60850 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
60851 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
60852 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60853 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
60854 echo $ECHO_N "(cached) $ECHO_C" >&6
60855 else
60859 ac_ext=cc
60860 ac_cpp='$CXXCPP $CPPFLAGS'
60861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60865 cat >conftest.$ac_ext <<_ACEOF
60866 /* confdefs.h. */
60867 _ACEOF
60868 cat confdefs.h >>conftest.$ac_ext
60869 cat >>conftest.$ac_ext <<_ACEOF
60870 /* end confdefs.h. */
60871 #include <math.h>
60873 main ()
60875 _fmodf(0, 0);
60877 return 0;
60879 _ACEOF
60880 rm -f conftest.$ac_objext
60881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60882 (eval $ac_compile) 2>conftest.er1
60883 ac_status=$?
60884 grep -v '^ *+' conftest.er1 >conftest.err
60885 rm -f conftest.er1
60886 cat conftest.err >&5
60887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60888 (exit $ac_status); } &&
60889 { ac_try='test -z "$ac_cxx_werror_flag"
60890 || test ! -s conftest.err'
60891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60892 (eval $ac_try) 2>&5
60893 ac_status=$?
60894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60895 (exit $ac_status); }; } &&
60896 { ac_try='test -s conftest.$ac_objext'
60897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60898 (eval $ac_try) 2>&5
60899 ac_status=$?
60900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60901 (exit $ac_status); }; }; then
60902 glibcxx_cv_func__fmodf_use=yes
60903 else
60904 echo "$as_me: failed program was:" >&5
60905 sed 's/^/| /' conftest.$ac_ext >&5
60907 glibcxx_cv_func__fmodf_use=no
60909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60910 ac_ext=c
60911 ac_cpp='$CPP $CPPFLAGS'
60912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60920 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
60921 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
60923 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60925 for ac_func in _fmodf
60927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60928 echo "$as_me:$LINENO: checking for $ac_func" >&5
60929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60930 if eval "test \"\${$as_ac_var+set}\" = set"; then
60931 echo $ECHO_N "(cached) $ECHO_C" >&6
60932 else
60933 if test x$gcc_no_link = xyes; then
60934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60936 { (exit 1); exit 1; }; }
60938 cat >conftest.$ac_ext <<_ACEOF
60939 /* confdefs.h. */
60940 _ACEOF
60941 cat confdefs.h >>conftest.$ac_ext
60942 cat >>conftest.$ac_ext <<_ACEOF
60943 /* end confdefs.h. */
60944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60946 #define $ac_func innocuous_$ac_func
60948 /* System header to define __stub macros and hopefully few prototypes,
60949 which can conflict with char $ac_func (); below.
60950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60951 <limits.h> exists even on freestanding compilers. */
60953 #ifdef __STDC__
60954 # include <limits.h>
60955 #else
60956 # include <assert.h>
60957 #endif
60959 #undef $ac_func
60961 /* Override any gcc2 internal prototype to avoid an error. */
60962 #ifdef __cplusplus
60963 extern "C"
60965 #endif
60966 /* We use char because int might match the return type of a gcc2
60967 builtin and then its argument prototype would still apply. */
60968 char $ac_func ();
60969 /* The GNU C library defines this for functions which it implements
60970 to always fail with ENOSYS. Some functions are actually named
60971 something starting with __ and the normal name is an alias. */
60972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60973 choke me
60974 #else
60975 char (*f) () = $ac_func;
60976 #endif
60977 #ifdef __cplusplus
60979 #endif
60982 main ()
60984 return f != $ac_func;
60986 return 0;
60988 _ACEOF
60989 rm -f conftest.$ac_objext conftest$ac_exeext
60990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60991 (eval $ac_link) 2>conftest.er1
60992 ac_status=$?
60993 grep -v '^ *+' conftest.er1 >conftest.err
60994 rm -f conftest.er1
60995 cat conftest.err >&5
60996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60997 (exit $ac_status); } &&
60998 { ac_try='test -z "$ac_c_werror_flag"
60999 || test ! -s conftest.err'
61000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61001 (eval $ac_try) 2>&5
61002 ac_status=$?
61003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61004 (exit $ac_status); }; } &&
61005 { ac_try='test -s conftest$ac_exeext'
61006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61007 (eval $ac_try) 2>&5
61008 ac_status=$?
61009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61010 (exit $ac_status); }; }; then
61011 eval "$as_ac_var=yes"
61012 else
61013 echo "$as_me: failed program was:" >&5
61014 sed 's/^/| /' conftest.$ac_ext >&5
61016 eval "$as_ac_var=no"
61018 rm -f conftest.err conftest.$ac_objext \
61019 conftest$ac_exeext conftest.$ac_ext
61021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61023 if test `eval echo '${'$as_ac_var'}'` = yes; then
61024 cat >>confdefs.h <<_ACEOF
61025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61026 _ACEOF
61029 done
61036 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
61037 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
61038 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
61039 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
61040 echo $ECHO_N "(cached) $ECHO_C" >&6
61041 else
61045 ac_ext=cc
61046 ac_cpp='$CXXCPP $CPPFLAGS'
61047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61051 cat >conftest.$ac_ext <<_ACEOF
61052 /* confdefs.h. */
61053 _ACEOF
61054 cat confdefs.h >>conftest.$ac_ext
61055 cat >>conftest.$ac_ext <<_ACEOF
61056 /* end confdefs.h. */
61057 #include <math.h>
61059 main ()
61061 frexpf(0, 0);
61063 return 0;
61065 _ACEOF
61066 rm -f conftest.$ac_objext
61067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61068 (eval $ac_compile) 2>conftest.er1
61069 ac_status=$?
61070 grep -v '^ *+' conftest.er1 >conftest.err
61071 rm -f conftest.er1
61072 cat conftest.err >&5
61073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61074 (exit $ac_status); } &&
61075 { ac_try='test -z "$ac_cxx_werror_flag"
61076 || test ! -s conftest.err'
61077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61078 (eval $ac_try) 2>&5
61079 ac_status=$?
61080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61081 (exit $ac_status); }; } &&
61082 { ac_try='test -s conftest.$ac_objext'
61083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61084 (eval $ac_try) 2>&5
61085 ac_status=$?
61086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61087 (exit $ac_status); }; }; then
61088 glibcxx_cv_func_frexpf_use=yes
61089 else
61090 echo "$as_me: failed program was:" >&5
61091 sed 's/^/| /' conftest.$ac_ext >&5
61093 glibcxx_cv_func_frexpf_use=no
61095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61096 ac_ext=c
61097 ac_cpp='$CPP $CPPFLAGS'
61098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61106 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
61107 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
61109 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
61111 for ac_func in frexpf
61113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61114 echo "$as_me:$LINENO: checking for $ac_func" >&5
61115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61116 if eval "test \"\${$as_ac_var+set}\" = set"; then
61117 echo $ECHO_N "(cached) $ECHO_C" >&6
61118 else
61119 if test x$gcc_no_link = xyes; then
61120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61122 { (exit 1); exit 1; }; }
61124 cat >conftest.$ac_ext <<_ACEOF
61125 /* confdefs.h. */
61126 _ACEOF
61127 cat confdefs.h >>conftest.$ac_ext
61128 cat >>conftest.$ac_ext <<_ACEOF
61129 /* end confdefs.h. */
61130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61132 #define $ac_func innocuous_$ac_func
61134 /* System header to define __stub macros and hopefully few prototypes,
61135 which can conflict with char $ac_func (); below.
61136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61137 <limits.h> exists even on freestanding compilers. */
61139 #ifdef __STDC__
61140 # include <limits.h>
61141 #else
61142 # include <assert.h>
61143 #endif
61145 #undef $ac_func
61147 /* Override any gcc2 internal prototype to avoid an error. */
61148 #ifdef __cplusplus
61149 extern "C"
61151 #endif
61152 /* We use char because int might match the return type of a gcc2
61153 builtin and then its argument prototype would still apply. */
61154 char $ac_func ();
61155 /* The GNU C library defines this for functions which it implements
61156 to always fail with ENOSYS. Some functions are actually named
61157 something starting with __ and the normal name is an alias. */
61158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61159 choke me
61160 #else
61161 char (*f) () = $ac_func;
61162 #endif
61163 #ifdef __cplusplus
61165 #endif
61168 main ()
61170 return f != $ac_func;
61172 return 0;
61174 _ACEOF
61175 rm -f conftest.$ac_objext conftest$ac_exeext
61176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61177 (eval $ac_link) 2>conftest.er1
61178 ac_status=$?
61179 grep -v '^ *+' conftest.er1 >conftest.err
61180 rm -f conftest.er1
61181 cat conftest.err >&5
61182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61183 (exit $ac_status); } &&
61184 { ac_try='test -z "$ac_c_werror_flag"
61185 || test ! -s conftest.err'
61186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61187 (eval $ac_try) 2>&5
61188 ac_status=$?
61189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61190 (exit $ac_status); }; } &&
61191 { ac_try='test -s conftest$ac_exeext'
61192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61193 (eval $ac_try) 2>&5
61194 ac_status=$?
61195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61196 (exit $ac_status); }; }; then
61197 eval "$as_ac_var=yes"
61198 else
61199 echo "$as_me: failed program was:" >&5
61200 sed 's/^/| /' conftest.$ac_ext >&5
61202 eval "$as_ac_var=no"
61204 rm -f conftest.err conftest.$ac_objext \
61205 conftest$ac_exeext conftest.$ac_ext
61207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61209 if test `eval echo '${'$as_ac_var'}'` = yes; then
61210 cat >>confdefs.h <<_ACEOF
61211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61212 _ACEOF
61215 done
61217 else
61219 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
61220 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
61221 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
61222 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
61223 echo $ECHO_N "(cached) $ECHO_C" >&6
61224 else
61228 ac_ext=cc
61229 ac_cpp='$CXXCPP $CPPFLAGS'
61230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61234 cat >conftest.$ac_ext <<_ACEOF
61235 /* confdefs.h. */
61236 _ACEOF
61237 cat confdefs.h >>conftest.$ac_ext
61238 cat >>conftest.$ac_ext <<_ACEOF
61239 /* end confdefs.h. */
61240 #include <math.h>
61242 main ()
61244 _frexpf(0, 0);
61246 return 0;
61248 _ACEOF
61249 rm -f conftest.$ac_objext
61250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61251 (eval $ac_compile) 2>conftest.er1
61252 ac_status=$?
61253 grep -v '^ *+' conftest.er1 >conftest.err
61254 rm -f conftest.er1
61255 cat conftest.err >&5
61256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61257 (exit $ac_status); } &&
61258 { ac_try='test -z "$ac_cxx_werror_flag"
61259 || test ! -s conftest.err'
61260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61261 (eval $ac_try) 2>&5
61262 ac_status=$?
61263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61264 (exit $ac_status); }; } &&
61265 { ac_try='test -s conftest.$ac_objext'
61266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61267 (eval $ac_try) 2>&5
61268 ac_status=$?
61269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61270 (exit $ac_status); }; }; then
61271 glibcxx_cv_func__frexpf_use=yes
61272 else
61273 echo "$as_me: failed program was:" >&5
61274 sed 's/^/| /' conftest.$ac_ext >&5
61276 glibcxx_cv_func__frexpf_use=no
61278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61279 ac_ext=c
61280 ac_cpp='$CPP $CPPFLAGS'
61281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61289 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
61290 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
61292 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61294 for ac_func in _frexpf
61296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61297 echo "$as_me:$LINENO: checking for $ac_func" >&5
61298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61299 if eval "test \"\${$as_ac_var+set}\" = set"; then
61300 echo $ECHO_N "(cached) $ECHO_C" >&6
61301 else
61302 if test x$gcc_no_link = xyes; then
61303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61305 { (exit 1); exit 1; }; }
61307 cat >conftest.$ac_ext <<_ACEOF
61308 /* confdefs.h. */
61309 _ACEOF
61310 cat confdefs.h >>conftest.$ac_ext
61311 cat >>conftest.$ac_ext <<_ACEOF
61312 /* end confdefs.h. */
61313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61315 #define $ac_func innocuous_$ac_func
61317 /* System header to define __stub macros and hopefully few prototypes,
61318 which can conflict with char $ac_func (); below.
61319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61320 <limits.h> exists even on freestanding compilers. */
61322 #ifdef __STDC__
61323 # include <limits.h>
61324 #else
61325 # include <assert.h>
61326 #endif
61328 #undef $ac_func
61330 /* Override any gcc2 internal prototype to avoid an error. */
61331 #ifdef __cplusplus
61332 extern "C"
61334 #endif
61335 /* We use char because int might match the return type of a gcc2
61336 builtin and then its argument prototype would still apply. */
61337 char $ac_func ();
61338 /* The GNU C library defines this for functions which it implements
61339 to always fail with ENOSYS. Some functions are actually named
61340 something starting with __ and the normal name is an alias. */
61341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61342 choke me
61343 #else
61344 char (*f) () = $ac_func;
61345 #endif
61346 #ifdef __cplusplus
61348 #endif
61351 main ()
61353 return f != $ac_func;
61355 return 0;
61357 _ACEOF
61358 rm -f conftest.$ac_objext conftest$ac_exeext
61359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61360 (eval $ac_link) 2>conftest.er1
61361 ac_status=$?
61362 grep -v '^ *+' conftest.er1 >conftest.err
61363 rm -f conftest.er1
61364 cat conftest.err >&5
61365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61366 (exit $ac_status); } &&
61367 { ac_try='test -z "$ac_c_werror_flag"
61368 || test ! -s conftest.err'
61369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61370 (eval $ac_try) 2>&5
61371 ac_status=$?
61372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61373 (exit $ac_status); }; } &&
61374 { ac_try='test -s conftest$ac_exeext'
61375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61376 (eval $ac_try) 2>&5
61377 ac_status=$?
61378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61379 (exit $ac_status); }; }; then
61380 eval "$as_ac_var=yes"
61381 else
61382 echo "$as_me: failed program was:" >&5
61383 sed 's/^/| /' conftest.$ac_ext >&5
61385 eval "$as_ac_var=no"
61387 rm -f conftest.err conftest.$ac_objext \
61388 conftest$ac_exeext conftest.$ac_ext
61390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61392 if test `eval echo '${'$as_ac_var'}'` = yes; then
61393 cat >>confdefs.h <<_ACEOF
61394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61395 _ACEOF
61398 done
61405 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
61406 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
61407 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61408 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
61409 echo $ECHO_N "(cached) $ECHO_C" >&6
61410 else
61414 ac_ext=cc
61415 ac_cpp='$CXXCPP $CPPFLAGS'
61416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61420 cat >conftest.$ac_ext <<_ACEOF
61421 /* confdefs.h. */
61422 _ACEOF
61423 cat confdefs.h >>conftest.$ac_ext
61424 cat >>conftest.$ac_ext <<_ACEOF
61425 /* end confdefs.h. */
61426 #include <math.h>
61428 main ()
61430 hypotf(0, 0);
61432 return 0;
61434 _ACEOF
61435 rm -f conftest.$ac_objext
61436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61437 (eval $ac_compile) 2>conftest.er1
61438 ac_status=$?
61439 grep -v '^ *+' conftest.er1 >conftest.err
61440 rm -f conftest.er1
61441 cat conftest.err >&5
61442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61443 (exit $ac_status); } &&
61444 { ac_try='test -z "$ac_cxx_werror_flag"
61445 || test ! -s conftest.err'
61446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61447 (eval $ac_try) 2>&5
61448 ac_status=$?
61449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61450 (exit $ac_status); }; } &&
61451 { ac_try='test -s conftest.$ac_objext'
61452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61453 (eval $ac_try) 2>&5
61454 ac_status=$?
61455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61456 (exit $ac_status); }; }; then
61457 glibcxx_cv_func_hypotf_use=yes
61458 else
61459 echo "$as_me: failed program was:" >&5
61460 sed 's/^/| /' conftest.$ac_ext >&5
61462 glibcxx_cv_func_hypotf_use=no
61464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61465 ac_ext=c
61466 ac_cpp='$CPP $CPPFLAGS'
61467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61475 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
61476 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
61478 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61480 for ac_func in hypotf
61482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61483 echo "$as_me:$LINENO: checking for $ac_func" >&5
61484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61485 if eval "test \"\${$as_ac_var+set}\" = set"; then
61486 echo $ECHO_N "(cached) $ECHO_C" >&6
61487 else
61488 if test x$gcc_no_link = xyes; then
61489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61491 { (exit 1); exit 1; }; }
61493 cat >conftest.$ac_ext <<_ACEOF
61494 /* confdefs.h. */
61495 _ACEOF
61496 cat confdefs.h >>conftest.$ac_ext
61497 cat >>conftest.$ac_ext <<_ACEOF
61498 /* end confdefs.h. */
61499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61501 #define $ac_func innocuous_$ac_func
61503 /* System header to define __stub macros and hopefully few prototypes,
61504 which can conflict with char $ac_func (); below.
61505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61506 <limits.h> exists even on freestanding compilers. */
61508 #ifdef __STDC__
61509 # include <limits.h>
61510 #else
61511 # include <assert.h>
61512 #endif
61514 #undef $ac_func
61516 /* Override any gcc2 internal prototype to avoid an error. */
61517 #ifdef __cplusplus
61518 extern "C"
61520 #endif
61521 /* We use char because int might match the return type of a gcc2
61522 builtin and then its argument prototype would still apply. */
61523 char $ac_func ();
61524 /* The GNU C library defines this for functions which it implements
61525 to always fail with ENOSYS. Some functions are actually named
61526 something starting with __ and the normal name is an alias. */
61527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61528 choke me
61529 #else
61530 char (*f) () = $ac_func;
61531 #endif
61532 #ifdef __cplusplus
61534 #endif
61537 main ()
61539 return f != $ac_func;
61541 return 0;
61543 _ACEOF
61544 rm -f conftest.$ac_objext conftest$ac_exeext
61545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61546 (eval $ac_link) 2>conftest.er1
61547 ac_status=$?
61548 grep -v '^ *+' conftest.er1 >conftest.err
61549 rm -f conftest.er1
61550 cat conftest.err >&5
61551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61552 (exit $ac_status); } &&
61553 { ac_try='test -z "$ac_c_werror_flag"
61554 || test ! -s conftest.err'
61555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61556 (eval $ac_try) 2>&5
61557 ac_status=$?
61558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61559 (exit $ac_status); }; } &&
61560 { ac_try='test -s conftest$ac_exeext'
61561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61562 (eval $ac_try) 2>&5
61563 ac_status=$?
61564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61565 (exit $ac_status); }; }; then
61566 eval "$as_ac_var=yes"
61567 else
61568 echo "$as_me: failed program was:" >&5
61569 sed 's/^/| /' conftest.$ac_ext >&5
61571 eval "$as_ac_var=no"
61573 rm -f conftest.err conftest.$ac_objext \
61574 conftest$ac_exeext conftest.$ac_ext
61576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61578 if test `eval echo '${'$as_ac_var'}'` = yes; then
61579 cat >>confdefs.h <<_ACEOF
61580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61581 _ACEOF
61584 done
61586 else
61588 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
61589 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
61590 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61591 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
61592 echo $ECHO_N "(cached) $ECHO_C" >&6
61593 else
61597 ac_ext=cc
61598 ac_cpp='$CXXCPP $CPPFLAGS'
61599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61603 cat >conftest.$ac_ext <<_ACEOF
61604 /* confdefs.h. */
61605 _ACEOF
61606 cat confdefs.h >>conftest.$ac_ext
61607 cat >>conftest.$ac_ext <<_ACEOF
61608 /* end confdefs.h. */
61609 #include <math.h>
61611 main ()
61613 _hypotf(0, 0);
61615 return 0;
61617 _ACEOF
61618 rm -f conftest.$ac_objext
61619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61620 (eval $ac_compile) 2>conftest.er1
61621 ac_status=$?
61622 grep -v '^ *+' conftest.er1 >conftest.err
61623 rm -f conftest.er1
61624 cat conftest.err >&5
61625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61626 (exit $ac_status); } &&
61627 { ac_try='test -z "$ac_cxx_werror_flag"
61628 || test ! -s conftest.err'
61629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61630 (eval $ac_try) 2>&5
61631 ac_status=$?
61632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61633 (exit $ac_status); }; } &&
61634 { ac_try='test -s conftest.$ac_objext'
61635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61636 (eval $ac_try) 2>&5
61637 ac_status=$?
61638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61639 (exit $ac_status); }; }; then
61640 glibcxx_cv_func__hypotf_use=yes
61641 else
61642 echo "$as_me: failed program was:" >&5
61643 sed 's/^/| /' conftest.$ac_ext >&5
61645 glibcxx_cv_func__hypotf_use=no
61647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61648 ac_ext=c
61649 ac_cpp='$CPP $CPPFLAGS'
61650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61658 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
61659 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
61661 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61663 for ac_func in _hypotf
61665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61666 echo "$as_me:$LINENO: checking for $ac_func" >&5
61667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61668 if eval "test \"\${$as_ac_var+set}\" = set"; then
61669 echo $ECHO_N "(cached) $ECHO_C" >&6
61670 else
61671 if test x$gcc_no_link = xyes; then
61672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61674 { (exit 1); exit 1; }; }
61676 cat >conftest.$ac_ext <<_ACEOF
61677 /* confdefs.h. */
61678 _ACEOF
61679 cat confdefs.h >>conftest.$ac_ext
61680 cat >>conftest.$ac_ext <<_ACEOF
61681 /* end confdefs.h. */
61682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61684 #define $ac_func innocuous_$ac_func
61686 /* System header to define __stub macros and hopefully few prototypes,
61687 which can conflict with char $ac_func (); below.
61688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61689 <limits.h> exists even on freestanding compilers. */
61691 #ifdef __STDC__
61692 # include <limits.h>
61693 #else
61694 # include <assert.h>
61695 #endif
61697 #undef $ac_func
61699 /* Override any gcc2 internal prototype to avoid an error. */
61700 #ifdef __cplusplus
61701 extern "C"
61703 #endif
61704 /* We use char because int might match the return type of a gcc2
61705 builtin and then its argument prototype would still apply. */
61706 char $ac_func ();
61707 /* The GNU C library defines this for functions which it implements
61708 to always fail with ENOSYS. Some functions are actually named
61709 something starting with __ and the normal name is an alias. */
61710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61711 choke me
61712 #else
61713 char (*f) () = $ac_func;
61714 #endif
61715 #ifdef __cplusplus
61717 #endif
61720 main ()
61722 return f != $ac_func;
61724 return 0;
61726 _ACEOF
61727 rm -f conftest.$ac_objext conftest$ac_exeext
61728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61729 (eval $ac_link) 2>conftest.er1
61730 ac_status=$?
61731 grep -v '^ *+' conftest.er1 >conftest.err
61732 rm -f conftest.er1
61733 cat conftest.err >&5
61734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61735 (exit $ac_status); } &&
61736 { ac_try='test -z "$ac_c_werror_flag"
61737 || test ! -s conftest.err'
61738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61739 (eval $ac_try) 2>&5
61740 ac_status=$?
61741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61742 (exit $ac_status); }; } &&
61743 { ac_try='test -s conftest$ac_exeext'
61744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61745 (eval $ac_try) 2>&5
61746 ac_status=$?
61747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61748 (exit $ac_status); }; }; then
61749 eval "$as_ac_var=yes"
61750 else
61751 echo "$as_me: failed program was:" >&5
61752 sed 's/^/| /' conftest.$ac_ext >&5
61754 eval "$as_ac_var=no"
61756 rm -f conftest.err conftest.$ac_objext \
61757 conftest$ac_exeext conftest.$ac_ext
61759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61761 if test `eval echo '${'$as_ac_var'}'` = yes; then
61762 cat >>confdefs.h <<_ACEOF
61763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61764 _ACEOF
61767 done
61774 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
61775 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
61776 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61777 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
61778 echo $ECHO_N "(cached) $ECHO_C" >&6
61779 else
61783 ac_ext=cc
61784 ac_cpp='$CXXCPP $CPPFLAGS'
61785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61789 cat >conftest.$ac_ext <<_ACEOF
61790 /* confdefs.h. */
61791 _ACEOF
61792 cat confdefs.h >>conftest.$ac_ext
61793 cat >>conftest.$ac_ext <<_ACEOF
61794 /* end confdefs.h. */
61795 #include <math.h>
61797 main ()
61799 ldexpf(0, 0);
61801 return 0;
61803 _ACEOF
61804 rm -f conftest.$ac_objext
61805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61806 (eval $ac_compile) 2>conftest.er1
61807 ac_status=$?
61808 grep -v '^ *+' conftest.er1 >conftest.err
61809 rm -f conftest.er1
61810 cat conftest.err >&5
61811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61812 (exit $ac_status); } &&
61813 { ac_try='test -z "$ac_cxx_werror_flag"
61814 || test ! -s conftest.err'
61815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61816 (eval $ac_try) 2>&5
61817 ac_status=$?
61818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61819 (exit $ac_status); }; } &&
61820 { ac_try='test -s conftest.$ac_objext'
61821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61822 (eval $ac_try) 2>&5
61823 ac_status=$?
61824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61825 (exit $ac_status); }; }; then
61826 glibcxx_cv_func_ldexpf_use=yes
61827 else
61828 echo "$as_me: failed program was:" >&5
61829 sed 's/^/| /' conftest.$ac_ext >&5
61831 glibcxx_cv_func_ldexpf_use=no
61833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61834 ac_ext=c
61835 ac_cpp='$CPP $CPPFLAGS'
61836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61844 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
61845 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
61847 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61849 for ac_func in ldexpf
61851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61852 echo "$as_me:$LINENO: checking for $ac_func" >&5
61853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61854 if eval "test \"\${$as_ac_var+set}\" = set"; then
61855 echo $ECHO_N "(cached) $ECHO_C" >&6
61856 else
61857 if test x$gcc_no_link = xyes; then
61858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61860 { (exit 1); exit 1; }; }
61862 cat >conftest.$ac_ext <<_ACEOF
61863 /* confdefs.h. */
61864 _ACEOF
61865 cat confdefs.h >>conftest.$ac_ext
61866 cat >>conftest.$ac_ext <<_ACEOF
61867 /* end confdefs.h. */
61868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61870 #define $ac_func innocuous_$ac_func
61872 /* System header to define __stub macros and hopefully few prototypes,
61873 which can conflict with char $ac_func (); below.
61874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61875 <limits.h> exists even on freestanding compilers. */
61877 #ifdef __STDC__
61878 # include <limits.h>
61879 #else
61880 # include <assert.h>
61881 #endif
61883 #undef $ac_func
61885 /* Override any gcc2 internal prototype to avoid an error. */
61886 #ifdef __cplusplus
61887 extern "C"
61889 #endif
61890 /* We use char because int might match the return type of a gcc2
61891 builtin and then its argument prototype would still apply. */
61892 char $ac_func ();
61893 /* The GNU C library defines this for functions which it implements
61894 to always fail with ENOSYS. Some functions are actually named
61895 something starting with __ and the normal name is an alias. */
61896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61897 choke me
61898 #else
61899 char (*f) () = $ac_func;
61900 #endif
61901 #ifdef __cplusplus
61903 #endif
61906 main ()
61908 return f != $ac_func;
61910 return 0;
61912 _ACEOF
61913 rm -f conftest.$ac_objext conftest$ac_exeext
61914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61915 (eval $ac_link) 2>conftest.er1
61916 ac_status=$?
61917 grep -v '^ *+' conftest.er1 >conftest.err
61918 rm -f conftest.er1
61919 cat conftest.err >&5
61920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61921 (exit $ac_status); } &&
61922 { ac_try='test -z "$ac_c_werror_flag"
61923 || test ! -s conftest.err'
61924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61925 (eval $ac_try) 2>&5
61926 ac_status=$?
61927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61928 (exit $ac_status); }; } &&
61929 { ac_try='test -s conftest$ac_exeext'
61930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61931 (eval $ac_try) 2>&5
61932 ac_status=$?
61933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61934 (exit $ac_status); }; }; then
61935 eval "$as_ac_var=yes"
61936 else
61937 echo "$as_me: failed program was:" >&5
61938 sed 's/^/| /' conftest.$ac_ext >&5
61940 eval "$as_ac_var=no"
61942 rm -f conftest.err conftest.$ac_objext \
61943 conftest$ac_exeext conftest.$ac_ext
61945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61947 if test `eval echo '${'$as_ac_var'}'` = yes; then
61948 cat >>confdefs.h <<_ACEOF
61949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61950 _ACEOF
61953 done
61955 else
61957 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
61958 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
61959 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61960 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
61961 echo $ECHO_N "(cached) $ECHO_C" >&6
61962 else
61966 ac_ext=cc
61967 ac_cpp='$CXXCPP $CPPFLAGS'
61968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61972 cat >conftest.$ac_ext <<_ACEOF
61973 /* confdefs.h. */
61974 _ACEOF
61975 cat confdefs.h >>conftest.$ac_ext
61976 cat >>conftest.$ac_ext <<_ACEOF
61977 /* end confdefs.h. */
61978 #include <math.h>
61980 main ()
61982 _ldexpf(0, 0);
61984 return 0;
61986 _ACEOF
61987 rm -f conftest.$ac_objext
61988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61989 (eval $ac_compile) 2>conftest.er1
61990 ac_status=$?
61991 grep -v '^ *+' conftest.er1 >conftest.err
61992 rm -f conftest.er1
61993 cat conftest.err >&5
61994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61995 (exit $ac_status); } &&
61996 { ac_try='test -z "$ac_cxx_werror_flag"
61997 || test ! -s conftest.err'
61998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61999 (eval $ac_try) 2>&5
62000 ac_status=$?
62001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62002 (exit $ac_status); }; } &&
62003 { ac_try='test -s conftest.$ac_objext'
62004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62005 (eval $ac_try) 2>&5
62006 ac_status=$?
62007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62008 (exit $ac_status); }; }; then
62009 glibcxx_cv_func__ldexpf_use=yes
62010 else
62011 echo "$as_me: failed program was:" >&5
62012 sed 's/^/| /' conftest.$ac_ext >&5
62014 glibcxx_cv_func__ldexpf_use=no
62016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62017 ac_ext=c
62018 ac_cpp='$CPP $CPPFLAGS'
62019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62027 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
62028 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
62030 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62032 for ac_func in _ldexpf
62034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62035 echo "$as_me:$LINENO: checking for $ac_func" >&5
62036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62037 if eval "test \"\${$as_ac_var+set}\" = set"; then
62038 echo $ECHO_N "(cached) $ECHO_C" >&6
62039 else
62040 if test x$gcc_no_link = xyes; then
62041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62043 { (exit 1); exit 1; }; }
62045 cat >conftest.$ac_ext <<_ACEOF
62046 /* confdefs.h. */
62047 _ACEOF
62048 cat confdefs.h >>conftest.$ac_ext
62049 cat >>conftest.$ac_ext <<_ACEOF
62050 /* end confdefs.h. */
62051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62053 #define $ac_func innocuous_$ac_func
62055 /* System header to define __stub macros and hopefully few prototypes,
62056 which can conflict with char $ac_func (); below.
62057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62058 <limits.h> exists even on freestanding compilers. */
62060 #ifdef __STDC__
62061 # include <limits.h>
62062 #else
62063 # include <assert.h>
62064 #endif
62066 #undef $ac_func
62068 /* Override any gcc2 internal prototype to avoid an error. */
62069 #ifdef __cplusplus
62070 extern "C"
62072 #endif
62073 /* We use char because int might match the return type of a gcc2
62074 builtin and then its argument prototype would still apply. */
62075 char $ac_func ();
62076 /* The GNU C library defines this for functions which it implements
62077 to always fail with ENOSYS. Some functions are actually named
62078 something starting with __ and the normal name is an alias. */
62079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62080 choke me
62081 #else
62082 char (*f) () = $ac_func;
62083 #endif
62084 #ifdef __cplusplus
62086 #endif
62089 main ()
62091 return f != $ac_func;
62093 return 0;
62095 _ACEOF
62096 rm -f conftest.$ac_objext conftest$ac_exeext
62097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62098 (eval $ac_link) 2>conftest.er1
62099 ac_status=$?
62100 grep -v '^ *+' conftest.er1 >conftest.err
62101 rm -f conftest.er1
62102 cat conftest.err >&5
62103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62104 (exit $ac_status); } &&
62105 { ac_try='test -z "$ac_c_werror_flag"
62106 || test ! -s conftest.err'
62107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62108 (eval $ac_try) 2>&5
62109 ac_status=$?
62110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62111 (exit $ac_status); }; } &&
62112 { ac_try='test -s conftest$ac_exeext'
62113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62114 (eval $ac_try) 2>&5
62115 ac_status=$?
62116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62117 (exit $ac_status); }; }; then
62118 eval "$as_ac_var=yes"
62119 else
62120 echo "$as_me: failed program was:" >&5
62121 sed 's/^/| /' conftest.$ac_ext >&5
62123 eval "$as_ac_var=no"
62125 rm -f conftest.err conftest.$ac_objext \
62126 conftest$ac_exeext conftest.$ac_ext
62128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62130 if test `eval echo '${'$as_ac_var'}'` = yes; then
62131 cat >>confdefs.h <<_ACEOF
62132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62133 _ACEOF
62136 done
62143 echo "$as_me:$LINENO: checking for logf declaration" >&5
62144 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
62145 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62146 if test "${glibcxx_cv_func_logf_use+set}" = set; then
62147 echo $ECHO_N "(cached) $ECHO_C" >&6
62148 else
62152 ac_ext=cc
62153 ac_cpp='$CXXCPP $CPPFLAGS'
62154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62158 cat >conftest.$ac_ext <<_ACEOF
62159 /* confdefs.h. */
62160 _ACEOF
62161 cat confdefs.h >>conftest.$ac_ext
62162 cat >>conftest.$ac_ext <<_ACEOF
62163 /* end confdefs.h. */
62164 #include <math.h>
62165 #ifdef HAVE_IEEEFP_H
62166 #include <ieeefp.h>
62167 #endif
62170 main ()
62172 logf(0);
62174 return 0;
62176 _ACEOF
62177 rm -f conftest.$ac_objext
62178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62179 (eval $ac_compile) 2>conftest.er1
62180 ac_status=$?
62181 grep -v '^ *+' conftest.er1 >conftest.err
62182 rm -f conftest.er1
62183 cat conftest.err >&5
62184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62185 (exit $ac_status); } &&
62186 { ac_try='test -z "$ac_cxx_werror_flag"
62187 || test ! -s conftest.err'
62188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62189 (eval $ac_try) 2>&5
62190 ac_status=$?
62191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62192 (exit $ac_status); }; } &&
62193 { ac_try='test -s conftest.$ac_objext'
62194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62195 (eval $ac_try) 2>&5
62196 ac_status=$?
62197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62198 (exit $ac_status); }; }; then
62199 glibcxx_cv_func_logf_use=yes
62200 else
62201 echo "$as_me: failed program was:" >&5
62202 sed 's/^/| /' conftest.$ac_ext >&5
62204 glibcxx_cv_func_logf_use=no
62206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62207 ac_ext=c
62208 ac_cpp='$CPP $CPPFLAGS'
62209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62217 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
62218 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
62220 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62222 for ac_func in logf
62224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62225 echo "$as_me:$LINENO: checking for $ac_func" >&5
62226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62227 if eval "test \"\${$as_ac_var+set}\" = set"; then
62228 echo $ECHO_N "(cached) $ECHO_C" >&6
62229 else
62230 if test x$gcc_no_link = xyes; then
62231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62233 { (exit 1); exit 1; }; }
62235 cat >conftest.$ac_ext <<_ACEOF
62236 /* confdefs.h. */
62237 _ACEOF
62238 cat confdefs.h >>conftest.$ac_ext
62239 cat >>conftest.$ac_ext <<_ACEOF
62240 /* end confdefs.h. */
62241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62243 #define $ac_func innocuous_$ac_func
62245 /* System header to define __stub macros and hopefully few prototypes,
62246 which can conflict with char $ac_func (); below.
62247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62248 <limits.h> exists even on freestanding compilers. */
62250 #ifdef __STDC__
62251 # include <limits.h>
62252 #else
62253 # include <assert.h>
62254 #endif
62256 #undef $ac_func
62258 /* Override any gcc2 internal prototype to avoid an error. */
62259 #ifdef __cplusplus
62260 extern "C"
62262 #endif
62263 /* We use char because int might match the return type of a gcc2
62264 builtin and then its argument prototype would still apply. */
62265 char $ac_func ();
62266 /* The GNU C library defines this for functions which it implements
62267 to always fail with ENOSYS. Some functions are actually named
62268 something starting with __ and the normal name is an alias. */
62269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62270 choke me
62271 #else
62272 char (*f) () = $ac_func;
62273 #endif
62274 #ifdef __cplusplus
62276 #endif
62279 main ()
62281 return f != $ac_func;
62283 return 0;
62285 _ACEOF
62286 rm -f conftest.$ac_objext conftest$ac_exeext
62287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62288 (eval $ac_link) 2>conftest.er1
62289 ac_status=$?
62290 grep -v '^ *+' conftest.er1 >conftest.err
62291 rm -f conftest.er1
62292 cat conftest.err >&5
62293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62294 (exit $ac_status); } &&
62295 { ac_try='test -z "$ac_c_werror_flag"
62296 || test ! -s conftest.err'
62297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62298 (eval $ac_try) 2>&5
62299 ac_status=$?
62300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62301 (exit $ac_status); }; } &&
62302 { ac_try='test -s conftest$ac_exeext'
62303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62304 (eval $ac_try) 2>&5
62305 ac_status=$?
62306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62307 (exit $ac_status); }; }; then
62308 eval "$as_ac_var=yes"
62309 else
62310 echo "$as_me: failed program was:" >&5
62311 sed 's/^/| /' conftest.$ac_ext >&5
62313 eval "$as_ac_var=no"
62315 rm -f conftest.err conftest.$ac_objext \
62316 conftest$ac_exeext conftest.$ac_ext
62318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62320 if test `eval echo '${'$as_ac_var'}'` = yes; then
62321 cat >>confdefs.h <<_ACEOF
62322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62323 _ACEOF
62326 done
62328 else
62330 echo "$as_me:$LINENO: checking for _logf declaration" >&5
62331 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
62332 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62333 if test "${glibcxx_cv_func__logf_use+set}" = set; then
62334 echo $ECHO_N "(cached) $ECHO_C" >&6
62335 else
62339 ac_ext=cc
62340 ac_cpp='$CXXCPP $CPPFLAGS'
62341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62345 cat >conftest.$ac_ext <<_ACEOF
62346 /* confdefs.h. */
62347 _ACEOF
62348 cat confdefs.h >>conftest.$ac_ext
62349 cat >>conftest.$ac_ext <<_ACEOF
62350 /* end confdefs.h. */
62351 #include <math.h>
62352 #ifdef HAVE_IEEEFP_H
62353 #include <ieeefp.h>
62354 #endif
62357 main ()
62359 _logf(0);
62361 return 0;
62363 _ACEOF
62364 rm -f conftest.$ac_objext
62365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62366 (eval $ac_compile) 2>conftest.er1
62367 ac_status=$?
62368 grep -v '^ *+' conftest.er1 >conftest.err
62369 rm -f conftest.er1
62370 cat conftest.err >&5
62371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62372 (exit $ac_status); } &&
62373 { ac_try='test -z "$ac_cxx_werror_flag"
62374 || test ! -s conftest.err'
62375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62376 (eval $ac_try) 2>&5
62377 ac_status=$?
62378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62379 (exit $ac_status); }; } &&
62380 { ac_try='test -s conftest.$ac_objext'
62381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62382 (eval $ac_try) 2>&5
62383 ac_status=$?
62384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62385 (exit $ac_status); }; }; then
62386 glibcxx_cv_func__logf_use=yes
62387 else
62388 echo "$as_me: failed program was:" >&5
62389 sed 's/^/| /' conftest.$ac_ext >&5
62391 glibcxx_cv_func__logf_use=no
62393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62394 ac_ext=c
62395 ac_cpp='$CPP $CPPFLAGS'
62396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62404 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
62405 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
62407 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62409 for ac_func in _logf
62411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62412 echo "$as_me:$LINENO: checking for $ac_func" >&5
62413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62414 if eval "test \"\${$as_ac_var+set}\" = set"; then
62415 echo $ECHO_N "(cached) $ECHO_C" >&6
62416 else
62417 if test x$gcc_no_link = xyes; then
62418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62420 { (exit 1); exit 1; }; }
62422 cat >conftest.$ac_ext <<_ACEOF
62423 /* confdefs.h. */
62424 _ACEOF
62425 cat confdefs.h >>conftest.$ac_ext
62426 cat >>conftest.$ac_ext <<_ACEOF
62427 /* end confdefs.h. */
62428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62430 #define $ac_func innocuous_$ac_func
62432 /* System header to define __stub macros and hopefully few prototypes,
62433 which can conflict with char $ac_func (); below.
62434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62435 <limits.h> exists even on freestanding compilers. */
62437 #ifdef __STDC__
62438 # include <limits.h>
62439 #else
62440 # include <assert.h>
62441 #endif
62443 #undef $ac_func
62445 /* Override any gcc2 internal prototype to avoid an error. */
62446 #ifdef __cplusplus
62447 extern "C"
62449 #endif
62450 /* We use char because int might match the return type of a gcc2
62451 builtin and then its argument prototype would still apply. */
62452 char $ac_func ();
62453 /* The GNU C library defines this for functions which it implements
62454 to always fail with ENOSYS. Some functions are actually named
62455 something starting with __ and the normal name is an alias. */
62456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62457 choke me
62458 #else
62459 char (*f) () = $ac_func;
62460 #endif
62461 #ifdef __cplusplus
62463 #endif
62466 main ()
62468 return f != $ac_func;
62470 return 0;
62472 _ACEOF
62473 rm -f conftest.$ac_objext conftest$ac_exeext
62474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62475 (eval $ac_link) 2>conftest.er1
62476 ac_status=$?
62477 grep -v '^ *+' conftest.er1 >conftest.err
62478 rm -f conftest.er1
62479 cat conftest.err >&5
62480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62481 (exit $ac_status); } &&
62482 { ac_try='test -z "$ac_c_werror_flag"
62483 || test ! -s conftest.err'
62484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62485 (eval $ac_try) 2>&5
62486 ac_status=$?
62487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62488 (exit $ac_status); }; } &&
62489 { ac_try='test -s conftest$ac_exeext'
62490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62491 (eval $ac_try) 2>&5
62492 ac_status=$?
62493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62494 (exit $ac_status); }; }; then
62495 eval "$as_ac_var=yes"
62496 else
62497 echo "$as_me: failed program was:" >&5
62498 sed 's/^/| /' conftest.$ac_ext >&5
62500 eval "$as_ac_var=no"
62502 rm -f conftest.err conftest.$ac_objext \
62503 conftest$ac_exeext conftest.$ac_ext
62505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62507 if test `eval echo '${'$as_ac_var'}'` = yes; then
62508 cat >>confdefs.h <<_ACEOF
62509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62510 _ACEOF
62513 done
62520 echo "$as_me:$LINENO: checking for log10f declaration" >&5
62521 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
62522 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62523 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
62524 echo $ECHO_N "(cached) $ECHO_C" >&6
62525 else
62529 ac_ext=cc
62530 ac_cpp='$CXXCPP $CPPFLAGS'
62531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62535 cat >conftest.$ac_ext <<_ACEOF
62536 /* confdefs.h. */
62537 _ACEOF
62538 cat confdefs.h >>conftest.$ac_ext
62539 cat >>conftest.$ac_ext <<_ACEOF
62540 /* end confdefs.h. */
62541 #include <math.h>
62542 #ifdef HAVE_IEEEFP_H
62543 #include <ieeefp.h>
62544 #endif
62547 main ()
62549 log10f(0);
62551 return 0;
62553 _ACEOF
62554 rm -f conftest.$ac_objext
62555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62556 (eval $ac_compile) 2>conftest.er1
62557 ac_status=$?
62558 grep -v '^ *+' conftest.er1 >conftest.err
62559 rm -f conftest.er1
62560 cat conftest.err >&5
62561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62562 (exit $ac_status); } &&
62563 { ac_try='test -z "$ac_cxx_werror_flag"
62564 || test ! -s conftest.err'
62565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62566 (eval $ac_try) 2>&5
62567 ac_status=$?
62568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62569 (exit $ac_status); }; } &&
62570 { ac_try='test -s conftest.$ac_objext'
62571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62572 (eval $ac_try) 2>&5
62573 ac_status=$?
62574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62575 (exit $ac_status); }; }; then
62576 glibcxx_cv_func_log10f_use=yes
62577 else
62578 echo "$as_me: failed program was:" >&5
62579 sed 's/^/| /' conftest.$ac_ext >&5
62581 glibcxx_cv_func_log10f_use=no
62583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62584 ac_ext=c
62585 ac_cpp='$CPP $CPPFLAGS'
62586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62594 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
62595 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
62597 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62599 for ac_func in log10f
62601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62602 echo "$as_me:$LINENO: checking for $ac_func" >&5
62603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62604 if eval "test \"\${$as_ac_var+set}\" = set"; then
62605 echo $ECHO_N "(cached) $ECHO_C" >&6
62606 else
62607 if test x$gcc_no_link = xyes; then
62608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62610 { (exit 1); exit 1; }; }
62612 cat >conftest.$ac_ext <<_ACEOF
62613 /* confdefs.h. */
62614 _ACEOF
62615 cat confdefs.h >>conftest.$ac_ext
62616 cat >>conftest.$ac_ext <<_ACEOF
62617 /* end confdefs.h. */
62618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62620 #define $ac_func innocuous_$ac_func
62622 /* System header to define __stub macros and hopefully few prototypes,
62623 which can conflict with char $ac_func (); below.
62624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62625 <limits.h> exists even on freestanding compilers. */
62627 #ifdef __STDC__
62628 # include <limits.h>
62629 #else
62630 # include <assert.h>
62631 #endif
62633 #undef $ac_func
62635 /* Override any gcc2 internal prototype to avoid an error. */
62636 #ifdef __cplusplus
62637 extern "C"
62639 #endif
62640 /* We use char because int might match the return type of a gcc2
62641 builtin and then its argument prototype would still apply. */
62642 char $ac_func ();
62643 /* The GNU C library defines this for functions which it implements
62644 to always fail with ENOSYS. Some functions are actually named
62645 something starting with __ and the normal name is an alias. */
62646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62647 choke me
62648 #else
62649 char (*f) () = $ac_func;
62650 #endif
62651 #ifdef __cplusplus
62653 #endif
62656 main ()
62658 return f != $ac_func;
62660 return 0;
62662 _ACEOF
62663 rm -f conftest.$ac_objext conftest$ac_exeext
62664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62665 (eval $ac_link) 2>conftest.er1
62666 ac_status=$?
62667 grep -v '^ *+' conftest.er1 >conftest.err
62668 rm -f conftest.er1
62669 cat conftest.err >&5
62670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62671 (exit $ac_status); } &&
62672 { ac_try='test -z "$ac_c_werror_flag"
62673 || test ! -s conftest.err'
62674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62675 (eval $ac_try) 2>&5
62676 ac_status=$?
62677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62678 (exit $ac_status); }; } &&
62679 { ac_try='test -s conftest$ac_exeext'
62680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62681 (eval $ac_try) 2>&5
62682 ac_status=$?
62683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62684 (exit $ac_status); }; }; then
62685 eval "$as_ac_var=yes"
62686 else
62687 echo "$as_me: failed program was:" >&5
62688 sed 's/^/| /' conftest.$ac_ext >&5
62690 eval "$as_ac_var=no"
62692 rm -f conftest.err conftest.$ac_objext \
62693 conftest$ac_exeext conftest.$ac_ext
62695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62697 if test `eval echo '${'$as_ac_var'}'` = yes; then
62698 cat >>confdefs.h <<_ACEOF
62699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62700 _ACEOF
62703 done
62705 else
62707 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
62708 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
62709 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62710 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
62711 echo $ECHO_N "(cached) $ECHO_C" >&6
62712 else
62716 ac_ext=cc
62717 ac_cpp='$CXXCPP $CPPFLAGS'
62718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62722 cat >conftest.$ac_ext <<_ACEOF
62723 /* confdefs.h. */
62724 _ACEOF
62725 cat confdefs.h >>conftest.$ac_ext
62726 cat >>conftest.$ac_ext <<_ACEOF
62727 /* end confdefs.h. */
62728 #include <math.h>
62729 #ifdef HAVE_IEEEFP_H
62730 #include <ieeefp.h>
62731 #endif
62734 main ()
62736 _log10f(0);
62738 return 0;
62740 _ACEOF
62741 rm -f conftest.$ac_objext
62742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62743 (eval $ac_compile) 2>conftest.er1
62744 ac_status=$?
62745 grep -v '^ *+' conftest.er1 >conftest.err
62746 rm -f conftest.er1
62747 cat conftest.err >&5
62748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62749 (exit $ac_status); } &&
62750 { ac_try='test -z "$ac_cxx_werror_flag"
62751 || test ! -s conftest.err'
62752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62753 (eval $ac_try) 2>&5
62754 ac_status=$?
62755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62756 (exit $ac_status); }; } &&
62757 { ac_try='test -s conftest.$ac_objext'
62758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62759 (eval $ac_try) 2>&5
62760 ac_status=$?
62761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62762 (exit $ac_status); }; }; then
62763 glibcxx_cv_func__log10f_use=yes
62764 else
62765 echo "$as_me: failed program was:" >&5
62766 sed 's/^/| /' conftest.$ac_ext >&5
62768 glibcxx_cv_func__log10f_use=no
62770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62771 ac_ext=c
62772 ac_cpp='$CPP $CPPFLAGS'
62773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62781 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
62782 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
62784 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62786 for ac_func in _log10f
62788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62789 echo "$as_me:$LINENO: checking for $ac_func" >&5
62790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62791 if eval "test \"\${$as_ac_var+set}\" = set"; then
62792 echo $ECHO_N "(cached) $ECHO_C" >&6
62793 else
62794 if test x$gcc_no_link = xyes; then
62795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62797 { (exit 1); exit 1; }; }
62799 cat >conftest.$ac_ext <<_ACEOF
62800 /* confdefs.h. */
62801 _ACEOF
62802 cat confdefs.h >>conftest.$ac_ext
62803 cat >>conftest.$ac_ext <<_ACEOF
62804 /* end confdefs.h. */
62805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62807 #define $ac_func innocuous_$ac_func
62809 /* System header to define __stub macros and hopefully few prototypes,
62810 which can conflict with char $ac_func (); below.
62811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62812 <limits.h> exists even on freestanding compilers. */
62814 #ifdef __STDC__
62815 # include <limits.h>
62816 #else
62817 # include <assert.h>
62818 #endif
62820 #undef $ac_func
62822 /* Override any gcc2 internal prototype to avoid an error. */
62823 #ifdef __cplusplus
62824 extern "C"
62826 #endif
62827 /* We use char because int might match the return type of a gcc2
62828 builtin and then its argument prototype would still apply. */
62829 char $ac_func ();
62830 /* The GNU C library defines this for functions which it implements
62831 to always fail with ENOSYS. Some functions are actually named
62832 something starting with __ and the normal name is an alias. */
62833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62834 choke me
62835 #else
62836 char (*f) () = $ac_func;
62837 #endif
62838 #ifdef __cplusplus
62840 #endif
62843 main ()
62845 return f != $ac_func;
62847 return 0;
62849 _ACEOF
62850 rm -f conftest.$ac_objext conftest$ac_exeext
62851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62852 (eval $ac_link) 2>conftest.er1
62853 ac_status=$?
62854 grep -v '^ *+' conftest.er1 >conftest.err
62855 rm -f conftest.er1
62856 cat conftest.err >&5
62857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62858 (exit $ac_status); } &&
62859 { ac_try='test -z "$ac_c_werror_flag"
62860 || test ! -s conftest.err'
62861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62862 (eval $ac_try) 2>&5
62863 ac_status=$?
62864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62865 (exit $ac_status); }; } &&
62866 { ac_try='test -s conftest$ac_exeext'
62867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62868 (eval $ac_try) 2>&5
62869 ac_status=$?
62870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62871 (exit $ac_status); }; }; then
62872 eval "$as_ac_var=yes"
62873 else
62874 echo "$as_me: failed program was:" >&5
62875 sed 's/^/| /' conftest.$ac_ext >&5
62877 eval "$as_ac_var=no"
62879 rm -f conftest.err conftest.$ac_objext \
62880 conftest$ac_exeext conftest.$ac_ext
62882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62884 if test `eval echo '${'$as_ac_var'}'` = yes; then
62885 cat >>confdefs.h <<_ACEOF
62886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62887 _ACEOF
62890 done
62897 echo "$as_me:$LINENO: checking for modff declaration" >&5
62898 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
62899 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62900 if test "${glibcxx_cv_func_modff_use+set}" = set; then
62901 echo $ECHO_N "(cached) $ECHO_C" >&6
62902 else
62906 ac_ext=cc
62907 ac_cpp='$CXXCPP $CPPFLAGS'
62908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62912 cat >conftest.$ac_ext <<_ACEOF
62913 /* confdefs.h. */
62914 _ACEOF
62915 cat confdefs.h >>conftest.$ac_ext
62916 cat >>conftest.$ac_ext <<_ACEOF
62917 /* end confdefs.h. */
62918 #include <math.h>
62920 main ()
62922 modff(0, 0);
62924 return 0;
62926 _ACEOF
62927 rm -f conftest.$ac_objext
62928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62929 (eval $ac_compile) 2>conftest.er1
62930 ac_status=$?
62931 grep -v '^ *+' conftest.er1 >conftest.err
62932 rm -f conftest.er1
62933 cat conftest.err >&5
62934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62935 (exit $ac_status); } &&
62936 { ac_try='test -z "$ac_cxx_werror_flag"
62937 || test ! -s conftest.err'
62938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62939 (eval $ac_try) 2>&5
62940 ac_status=$?
62941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62942 (exit $ac_status); }; } &&
62943 { ac_try='test -s conftest.$ac_objext'
62944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62945 (eval $ac_try) 2>&5
62946 ac_status=$?
62947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62948 (exit $ac_status); }; }; then
62949 glibcxx_cv_func_modff_use=yes
62950 else
62951 echo "$as_me: failed program was:" >&5
62952 sed 's/^/| /' conftest.$ac_ext >&5
62954 glibcxx_cv_func_modff_use=no
62956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62957 ac_ext=c
62958 ac_cpp='$CPP $CPPFLAGS'
62959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62967 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
62968 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
62970 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62972 for ac_func in modff
62974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62975 echo "$as_me:$LINENO: checking for $ac_func" >&5
62976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62977 if eval "test \"\${$as_ac_var+set}\" = set"; then
62978 echo $ECHO_N "(cached) $ECHO_C" >&6
62979 else
62980 if test x$gcc_no_link = xyes; then
62981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62983 { (exit 1); exit 1; }; }
62985 cat >conftest.$ac_ext <<_ACEOF
62986 /* confdefs.h. */
62987 _ACEOF
62988 cat confdefs.h >>conftest.$ac_ext
62989 cat >>conftest.$ac_ext <<_ACEOF
62990 /* end confdefs.h. */
62991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62993 #define $ac_func innocuous_$ac_func
62995 /* System header to define __stub macros and hopefully few prototypes,
62996 which can conflict with char $ac_func (); below.
62997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62998 <limits.h> exists even on freestanding compilers. */
63000 #ifdef __STDC__
63001 # include <limits.h>
63002 #else
63003 # include <assert.h>
63004 #endif
63006 #undef $ac_func
63008 /* Override any gcc2 internal prototype to avoid an error. */
63009 #ifdef __cplusplus
63010 extern "C"
63012 #endif
63013 /* We use char because int might match the return type of a gcc2
63014 builtin and then its argument prototype would still apply. */
63015 char $ac_func ();
63016 /* The GNU C library defines this for functions which it implements
63017 to always fail with ENOSYS. Some functions are actually named
63018 something starting with __ and the normal name is an alias. */
63019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63020 choke me
63021 #else
63022 char (*f) () = $ac_func;
63023 #endif
63024 #ifdef __cplusplus
63026 #endif
63029 main ()
63031 return f != $ac_func;
63033 return 0;
63035 _ACEOF
63036 rm -f conftest.$ac_objext conftest$ac_exeext
63037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63038 (eval $ac_link) 2>conftest.er1
63039 ac_status=$?
63040 grep -v '^ *+' conftest.er1 >conftest.err
63041 rm -f conftest.er1
63042 cat conftest.err >&5
63043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63044 (exit $ac_status); } &&
63045 { ac_try='test -z "$ac_c_werror_flag"
63046 || test ! -s conftest.err'
63047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63048 (eval $ac_try) 2>&5
63049 ac_status=$?
63050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63051 (exit $ac_status); }; } &&
63052 { ac_try='test -s conftest$ac_exeext'
63053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63054 (eval $ac_try) 2>&5
63055 ac_status=$?
63056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63057 (exit $ac_status); }; }; then
63058 eval "$as_ac_var=yes"
63059 else
63060 echo "$as_me: failed program was:" >&5
63061 sed 's/^/| /' conftest.$ac_ext >&5
63063 eval "$as_ac_var=no"
63065 rm -f conftest.err conftest.$ac_objext \
63066 conftest$ac_exeext conftest.$ac_ext
63068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63070 if test `eval echo '${'$as_ac_var'}'` = yes; then
63071 cat >>confdefs.h <<_ACEOF
63072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63073 _ACEOF
63076 done
63078 else
63080 echo "$as_me:$LINENO: checking for _modff declaration" >&5
63081 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
63082 if test x${glibcxx_cv_func__modff_use+set} != xset; then
63083 if test "${glibcxx_cv_func__modff_use+set}" = set; then
63084 echo $ECHO_N "(cached) $ECHO_C" >&6
63085 else
63089 ac_ext=cc
63090 ac_cpp='$CXXCPP $CPPFLAGS'
63091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63095 cat >conftest.$ac_ext <<_ACEOF
63096 /* confdefs.h. */
63097 _ACEOF
63098 cat confdefs.h >>conftest.$ac_ext
63099 cat >>conftest.$ac_ext <<_ACEOF
63100 /* end confdefs.h. */
63101 #include <math.h>
63103 main ()
63105 _modff(0, 0);
63107 return 0;
63109 _ACEOF
63110 rm -f conftest.$ac_objext
63111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63112 (eval $ac_compile) 2>conftest.er1
63113 ac_status=$?
63114 grep -v '^ *+' conftest.er1 >conftest.err
63115 rm -f conftest.er1
63116 cat conftest.err >&5
63117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63118 (exit $ac_status); } &&
63119 { ac_try='test -z "$ac_cxx_werror_flag"
63120 || test ! -s conftest.err'
63121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63122 (eval $ac_try) 2>&5
63123 ac_status=$?
63124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63125 (exit $ac_status); }; } &&
63126 { ac_try='test -s conftest.$ac_objext'
63127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63128 (eval $ac_try) 2>&5
63129 ac_status=$?
63130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63131 (exit $ac_status); }; }; then
63132 glibcxx_cv_func__modff_use=yes
63133 else
63134 echo "$as_me: failed program was:" >&5
63135 sed 's/^/| /' conftest.$ac_ext >&5
63137 glibcxx_cv_func__modff_use=no
63139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63140 ac_ext=c
63141 ac_cpp='$CPP $CPPFLAGS'
63142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63150 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
63151 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
63153 if test x$glibcxx_cv_func__modff_use = x"yes"; then
63155 for ac_func in _modff
63157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63158 echo "$as_me:$LINENO: checking for $ac_func" >&5
63159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63160 if eval "test \"\${$as_ac_var+set}\" = set"; then
63161 echo $ECHO_N "(cached) $ECHO_C" >&6
63162 else
63163 if test x$gcc_no_link = xyes; then
63164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63166 { (exit 1); exit 1; }; }
63168 cat >conftest.$ac_ext <<_ACEOF
63169 /* confdefs.h. */
63170 _ACEOF
63171 cat confdefs.h >>conftest.$ac_ext
63172 cat >>conftest.$ac_ext <<_ACEOF
63173 /* end confdefs.h. */
63174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63176 #define $ac_func innocuous_$ac_func
63178 /* System header to define __stub macros and hopefully few prototypes,
63179 which can conflict with char $ac_func (); below.
63180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63181 <limits.h> exists even on freestanding compilers. */
63183 #ifdef __STDC__
63184 # include <limits.h>
63185 #else
63186 # include <assert.h>
63187 #endif
63189 #undef $ac_func
63191 /* Override any gcc2 internal prototype to avoid an error. */
63192 #ifdef __cplusplus
63193 extern "C"
63195 #endif
63196 /* We use char because int might match the return type of a gcc2
63197 builtin and then its argument prototype would still apply. */
63198 char $ac_func ();
63199 /* The GNU C library defines this for functions which it implements
63200 to always fail with ENOSYS. Some functions are actually named
63201 something starting with __ and the normal name is an alias. */
63202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63203 choke me
63204 #else
63205 char (*f) () = $ac_func;
63206 #endif
63207 #ifdef __cplusplus
63209 #endif
63212 main ()
63214 return f != $ac_func;
63216 return 0;
63218 _ACEOF
63219 rm -f conftest.$ac_objext conftest$ac_exeext
63220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63221 (eval $ac_link) 2>conftest.er1
63222 ac_status=$?
63223 grep -v '^ *+' conftest.er1 >conftest.err
63224 rm -f conftest.er1
63225 cat conftest.err >&5
63226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63227 (exit $ac_status); } &&
63228 { ac_try='test -z "$ac_c_werror_flag"
63229 || test ! -s conftest.err'
63230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63231 (eval $ac_try) 2>&5
63232 ac_status=$?
63233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63234 (exit $ac_status); }; } &&
63235 { ac_try='test -s conftest$ac_exeext'
63236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63237 (eval $ac_try) 2>&5
63238 ac_status=$?
63239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63240 (exit $ac_status); }; }; then
63241 eval "$as_ac_var=yes"
63242 else
63243 echo "$as_me: failed program was:" >&5
63244 sed 's/^/| /' conftest.$ac_ext >&5
63246 eval "$as_ac_var=no"
63248 rm -f conftest.err conftest.$ac_objext \
63249 conftest$ac_exeext conftest.$ac_ext
63251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63253 if test `eval echo '${'$as_ac_var'}'` = yes; then
63254 cat >>confdefs.h <<_ACEOF
63255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63256 _ACEOF
63259 done
63266 echo "$as_me:$LINENO: checking for powf declaration" >&5
63267 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
63268 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63269 if test "${glibcxx_cv_func_powf_use+set}" = set; then
63270 echo $ECHO_N "(cached) $ECHO_C" >&6
63271 else
63275 ac_ext=cc
63276 ac_cpp='$CXXCPP $CPPFLAGS'
63277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63281 cat >conftest.$ac_ext <<_ACEOF
63282 /* confdefs.h. */
63283 _ACEOF
63284 cat confdefs.h >>conftest.$ac_ext
63285 cat >>conftest.$ac_ext <<_ACEOF
63286 /* end confdefs.h. */
63287 #include <math.h>
63289 main ()
63291 powf(0, 0);
63293 return 0;
63295 _ACEOF
63296 rm -f conftest.$ac_objext
63297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63298 (eval $ac_compile) 2>conftest.er1
63299 ac_status=$?
63300 grep -v '^ *+' conftest.er1 >conftest.err
63301 rm -f conftest.er1
63302 cat conftest.err >&5
63303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63304 (exit $ac_status); } &&
63305 { ac_try='test -z "$ac_cxx_werror_flag"
63306 || test ! -s conftest.err'
63307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63308 (eval $ac_try) 2>&5
63309 ac_status=$?
63310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63311 (exit $ac_status); }; } &&
63312 { ac_try='test -s conftest.$ac_objext'
63313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63314 (eval $ac_try) 2>&5
63315 ac_status=$?
63316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63317 (exit $ac_status); }; }; then
63318 glibcxx_cv_func_powf_use=yes
63319 else
63320 echo "$as_me: failed program was:" >&5
63321 sed 's/^/| /' conftest.$ac_ext >&5
63323 glibcxx_cv_func_powf_use=no
63325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63326 ac_ext=c
63327 ac_cpp='$CPP $CPPFLAGS'
63328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63336 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
63337 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
63339 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63341 for ac_func in powf
63343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63344 echo "$as_me:$LINENO: checking for $ac_func" >&5
63345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63346 if eval "test \"\${$as_ac_var+set}\" = set"; then
63347 echo $ECHO_N "(cached) $ECHO_C" >&6
63348 else
63349 if test x$gcc_no_link = xyes; then
63350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63352 { (exit 1); exit 1; }; }
63354 cat >conftest.$ac_ext <<_ACEOF
63355 /* confdefs.h. */
63356 _ACEOF
63357 cat confdefs.h >>conftest.$ac_ext
63358 cat >>conftest.$ac_ext <<_ACEOF
63359 /* end confdefs.h. */
63360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63362 #define $ac_func innocuous_$ac_func
63364 /* System header to define __stub macros and hopefully few prototypes,
63365 which can conflict with char $ac_func (); below.
63366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63367 <limits.h> exists even on freestanding compilers. */
63369 #ifdef __STDC__
63370 # include <limits.h>
63371 #else
63372 # include <assert.h>
63373 #endif
63375 #undef $ac_func
63377 /* Override any gcc2 internal prototype to avoid an error. */
63378 #ifdef __cplusplus
63379 extern "C"
63381 #endif
63382 /* We use char because int might match the return type of a gcc2
63383 builtin and then its argument prototype would still apply. */
63384 char $ac_func ();
63385 /* The GNU C library defines this for functions which it implements
63386 to always fail with ENOSYS. Some functions are actually named
63387 something starting with __ and the normal name is an alias. */
63388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63389 choke me
63390 #else
63391 char (*f) () = $ac_func;
63392 #endif
63393 #ifdef __cplusplus
63395 #endif
63398 main ()
63400 return f != $ac_func;
63402 return 0;
63404 _ACEOF
63405 rm -f conftest.$ac_objext conftest$ac_exeext
63406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63407 (eval $ac_link) 2>conftest.er1
63408 ac_status=$?
63409 grep -v '^ *+' conftest.er1 >conftest.err
63410 rm -f conftest.er1
63411 cat conftest.err >&5
63412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63413 (exit $ac_status); } &&
63414 { ac_try='test -z "$ac_c_werror_flag"
63415 || test ! -s conftest.err'
63416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63417 (eval $ac_try) 2>&5
63418 ac_status=$?
63419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63420 (exit $ac_status); }; } &&
63421 { ac_try='test -s conftest$ac_exeext'
63422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63423 (eval $ac_try) 2>&5
63424 ac_status=$?
63425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63426 (exit $ac_status); }; }; then
63427 eval "$as_ac_var=yes"
63428 else
63429 echo "$as_me: failed program was:" >&5
63430 sed 's/^/| /' conftest.$ac_ext >&5
63432 eval "$as_ac_var=no"
63434 rm -f conftest.err conftest.$ac_objext \
63435 conftest$ac_exeext conftest.$ac_ext
63437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63439 if test `eval echo '${'$as_ac_var'}'` = yes; then
63440 cat >>confdefs.h <<_ACEOF
63441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63442 _ACEOF
63445 done
63447 else
63449 echo "$as_me:$LINENO: checking for _powf declaration" >&5
63450 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
63451 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63452 if test "${glibcxx_cv_func__powf_use+set}" = set; then
63453 echo $ECHO_N "(cached) $ECHO_C" >&6
63454 else
63458 ac_ext=cc
63459 ac_cpp='$CXXCPP $CPPFLAGS'
63460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63464 cat >conftest.$ac_ext <<_ACEOF
63465 /* confdefs.h. */
63466 _ACEOF
63467 cat confdefs.h >>conftest.$ac_ext
63468 cat >>conftest.$ac_ext <<_ACEOF
63469 /* end confdefs.h. */
63470 #include <math.h>
63472 main ()
63474 _powf(0, 0);
63476 return 0;
63478 _ACEOF
63479 rm -f conftest.$ac_objext
63480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63481 (eval $ac_compile) 2>conftest.er1
63482 ac_status=$?
63483 grep -v '^ *+' conftest.er1 >conftest.err
63484 rm -f conftest.er1
63485 cat conftest.err >&5
63486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63487 (exit $ac_status); } &&
63488 { ac_try='test -z "$ac_cxx_werror_flag"
63489 || test ! -s conftest.err'
63490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63491 (eval $ac_try) 2>&5
63492 ac_status=$?
63493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63494 (exit $ac_status); }; } &&
63495 { ac_try='test -s conftest.$ac_objext'
63496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63497 (eval $ac_try) 2>&5
63498 ac_status=$?
63499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63500 (exit $ac_status); }; }; then
63501 glibcxx_cv_func__powf_use=yes
63502 else
63503 echo "$as_me: failed program was:" >&5
63504 sed 's/^/| /' conftest.$ac_ext >&5
63506 glibcxx_cv_func__powf_use=no
63508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63509 ac_ext=c
63510 ac_cpp='$CPP $CPPFLAGS'
63511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63519 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
63520 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
63522 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63524 for ac_func in _powf
63526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63527 echo "$as_me:$LINENO: checking for $ac_func" >&5
63528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63529 if eval "test \"\${$as_ac_var+set}\" = set"; then
63530 echo $ECHO_N "(cached) $ECHO_C" >&6
63531 else
63532 if test x$gcc_no_link = xyes; then
63533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63535 { (exit 1); exit 1; }; }
63537 cat >conftest.$ac_ext <<_ACEOF
63538 /* confdefs.h. */
63539 _ACEOF
63540 cat confdefs.h >>conftest.$ac_ext
63541 cat >>conftest.$ac_ext <<_ACEOF
63542 /* end confdefs.h. */
63543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63545 #define $ac_func innocuous_$ac_func
63547 /* System header to define __stub macros and hopefully few prototypes,
63548 which can conflict with char $ac_func (); below.
63549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63550 <limits.h> exists even on freestanding compilers. */
63552 #ifdef __STDC__
63553 # include <limits.h>
63554 #else
63555 # include <assert.h>
63556 #endif
63558 #undef $ac_func
63560 /* Override any gcc2 internal prototype to avoid an error. */
63561 #ifdef __cplusplus
63562 extern "C"
63564 #endif
63565 /* We use char because int might match the return type of a gcc2
63566 builtin and then its argument prototype would still apply. */
63567 char $ac_func ();
63568 /* The GNU C library defines this for functions which it implements
63569 to always fail with ENOSYS. Some functions are actually named
63570 something starting with __ and the normal name is an alias. */
63571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63572 choke me
63573 #else
63574 char (*f) () = $ac_func;
63575 #endif
63576 #ifdef __cplusplus
63578 #endif
63581 main ()
63583 return f != $ac_func;
63585 return 0;
63587 _ACEOF
63588 rm -f conftest.$ac_objext conftest$ac_exeext
63589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63590 (eval $ac_link) 2>conftest.er1
63591 ac_status=$?
63592 grep -v '^ *+' conftest.er1 >conftest.err
63593 rm -f conftest.er1
63594 cat conftest.err >&5
63595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63596 (exit $ac_status); } &&
63597 { ac_try='test -z "$ac_c_werror_flag"
63598 || test ! -s conftest.err'
63599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63600 (eval $ac_try) 2>&5
63601 ac_status=$?
63602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63603 (exit $ac_status); }; } &&
63604 { ac_try='test -s conftest$ac_exeext'
63605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63606 (eval $ac_try) 2>&5
63607 ac_status=$?
63608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63609 (exit $ac_status); }; }; then
63610 eval "$as_ac_var=yes"
63611 else
63612 echo "$as_me: failed program was:" >&5
63613 sed 's/^/| /' conftest.$ac_ext >&5
63615 eval "$as_ac_var=no"
63617 rm -f conftest.err conftest.$ac_objext \
63618 conftest$ac_exeext conftest.$ac_ext
63620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63622 if test `eval echo '${'$as_ac_var'}'` = yes; then
63623 cat >>confdefs.h <<_ACEOF
63624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63625 _ACEOF
63628 done
63635 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
63636 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
63637 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63638 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
63639 echo $ECHO_N "(cached) $ECHO_C" >&6
63640 else
63644 ac_ext=cc
63645 ac_cpp='$CXXCPP $CPPFLAGS'
63646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63650 cat >conftest.$ac_ext <<_ACEOF
63651 /* confdefs.h. */
63652 _ACEOF
63653 cat confdefs.h >>conftest.$ac_ext
63654 cat >>conftest.$ac_ext <<_ACEOF
63655 /* end confdefs.h. */
63656 #include <math.h>
63657 #ifdef HAVE_IEEEFP_H
63658 #include <ieeefp.h>
63659 #endif
63662 main ()
63664 sqrtf(0);
63666 return 0;
63668 _ACEOF
63669 rm -f conftest.$ac_objext
63670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63671 (eval $ac_compile) 2>conftest.er1
63672 ac_status=$?
63673 grep -v '^ *+' conftest.er1 >conftest.err
63674 rm -f conftest.er1
63675 cat conftest.err >&5
63676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63677 (exit $ac_status); } &&
63678 { ac_try='test -z "$ac_cxx_werror_flag"
63679 || test ! -s conftest.err'
63680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63681 (eval $ac_try) 2>&5
63682 ac_status=$?
63683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63684 (exit $ac_status); }; } &&
63685 { ac_try='test -s conftest.$ac_objext'
63686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63687 (eval $ac_try) 2>&5
63688 ac_status=$?
63689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63690 (exit $ac_status); }; }; then
63691 glibcxx_cv_func_sqrtf_use=yes
63692 else
63693 echo "$as_me: failed program was:" >&5
63694 sed 's/^/| /' conftest.$ac_ext >&5
63696 glibcxx_cv_func_sqrtf_use=no
63698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63699 ac_ext=c
63700 ac_cpp='$CPP $CPPFLAGS'
63701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63709 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
63710 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
63712 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63714 for ac_func in sqrtf
63716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63717 echo "$as_me:$LINENO: checking for $ac_func" >&5
63718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63719 if eval "test \"\${$as_ac_var+set}\" = set"; then
63720 echo $ECHO_N "(cached) $ECHO_C" >&6
63721 else
63722 if test x$gcc_no_link = xyes; then
63723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63725 { (exit 1); exit 1; }; }
63727 cat >conftest.$ac_ext <<_ACEOF
63728 /* confdefs.h. */
63729 _ACEOF
63730 cat confdefs.h >>conftest.$ac_ext
63731 cat >>conftest.$ac_ext <<_ACEOF
63732 /* end confdefs.h. */
63733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63735 #define $ac_func innocuous_$ac_func
63737 /* System header to define __stub macros and hopefully few prototypes,
63738 which can conflict with char $ac_func (); below.
63739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63740 <limits.h> exists even on freestanding compilers. */
63742 #ifdef __STDC__
63743 # include <limits.h>
63744 #else
63745 # include <assert.h>
63746 #endif
63748 #undef $ac_func
63750 /* Override any gcc2 internal prototype to avoid an error. */
63751 #ifdef __cplusplus
63752 extern "C"
63754 #endif
63755 /* We use char because int might match the return type of a gcc2
63756 builtin and then its argument prototype would still apply. */
63757 char $ac_func ();
63758 /* The GNU C library defines this for functions which it implements
63759 to always fail with ENOSYS. Some functions are actually named
63760 something starting with __ and the normal name is an alias. */
63761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63762 choke me
63763 #else
63764 char (*f) () = $ac_func;
63765 #endif
63766 #ifdef __cplusplus
63768 #endif
63771 main ()
63773 return f != $ac_func;
63775 return 0;
63777 _ACEOF
63778 rm -f conftest.$ac_objext conftest$ac_exeext
63779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63780 (eval $ac_link) 2>conftest.er1
63781 ac_status=$?
63782 grep -v '^ *+' conftest.er1 >conftest.err
63783 rm -f conftest.er1
63784 cat conftest.err >&5
63785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63786 (exit $ac_status); } &&
63787 { ac_try='test -z "$ac_c_werror_flag"
63788 || test ! -s conftest.err'
63789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63790 (eval $ac_try) 2>&5
63791 ac_status=$?
63792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63793 (exit $ac_status); }; } &&
63794 { ac_try='test -s conftest$ac_exeext'
63795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63796 (eval $ac_try) 2>&5
63797 ac_status=$?
63798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63799 (exit $ac_status); }; }; then
63800 eval "$as_ac_var=yes"
63801 else
63802 echo "$as_me: failed program was:" >&5
63803 sed 's/^/| /' conftest.$ac_ext >&5
63805 eval "$as_ac_var=no"
63807 rm -f conftest.err conftest.$ac_objext \
63808 conftest$ac_exeext conftest.$ac_ext
63810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63812 if test `eval echo '${'$as_ac_var'}'` = yes; then
63813 cat >>confdefs.h <<_ACEOF
63814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63815 _ACEOF
63818 done
63820 else
63822 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
63823 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
63824 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63825 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
63826 echo $ECHO_N "(cached) $ECHO_C" >&6
63827 else
63831 ac_ext=cc
63832 ac_cpp='$CXXCPP $CPPFLAGS'
63833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63837 cat >conftest.$ac_ext <<_ACEOF
63838 /* confdefs.h. */
63839 _ACEOF
63840 cat confdefs.h >>conftest.$ac_ext
63841 cat >>conftest.$ac_ext <<_ACEOF
63842 /* end confdefs.h. */
63843 #include <math.h>
63844 #ifdef HAVE_IEEEFP_H
63845 #include <ieeefp.h>
63846 #endif
63849 main ()
63851 _sqrtf(0);
63853 return 0;
63855 _ACEOF
63856 rm -f conftest.$ac_objext
63857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63858 (eval $ac_compile) 2>conftest.er1
63859 ac_status=$?
63860 grep -v '^ *+' conftest.er1 >conftest.err
63861 rm -f conftest.er1
63862 cat conftest.err >&5
63863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63864 (exit $ac_status); } &&
63865 { ac_try='test -z "$ac_cxx_werror_flag"
63866 || test ! -s conftest.err'
63867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63868 (eval $ac_try) 2>&5
63869 ac_status=$?
63870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63871 (exit $ac_status); }; } &&
63872 { ac_try='test -s conftest.$ac_objext'
63873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63874 (eval $ac_try) 2>&5
63875 ac_status=$?
63876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63877 (exit $ac_status); }; }; then
63878 glibcxx_cv_func__sqrtf_use=yes
63879 else
63880 echo "$as_me: failed program was:" >&5
63881 sed 's/^/| /' conftest.$ac_ext >&5
63883 glibcxx_cv_func__sqrtf_use=no
63885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63886 ac_ext=c
63887 ac_cpp='$CPP $CPPFLAGS'
63888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63896 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
63897 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
63899 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63901 for ac_func in _sqrtf
63903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63904 echo "$as_me:$LINENO: checking for $ac_func" >&5
63905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63906 if eval "test \"\${$as_ac_var+set}\" = set"; then
63907 echo $ECHO_N "(cached) $ECHO_C" >&6
63908 else
63909 if test x$gcc_no_link = xyes; then
63910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63912 { (exit 1); exit 1; }; }
63914 cat >conftest.$ac_ext <<_ACEOF
63915 /* confdefs.h. */
63916 _ACEOF
63917 cat confdefs.h >>conftest.$ac_ext
63918 cat >>conftest.$ac_ext <<_ACEOF
63919 /* end confdefs.h. */
63920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63922 #define $ac_func innocuous_$ac_func
63924 /* System header to define __stub macros and hopefully few prototypes,
63925 which can conflict with char $ac_func (); below.
63926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63927 <limits.h> exists even on freestanding compilers. */
63929 #ifdef __STDC__
63930 # include <limits.h>
63931 #else
63932 # include <assert.h>
63933 #endif
63935 #undef $ac_func
63937 /* Override any gcc2 internal prototype to avoid an error. */
63938 #ifdef __cplusplus
63939 extern "C"
63941 #endif
63942 /* We use char because int might match the return type of a gcc2
63943 builtin and then its argument prototype would still apply. */
63944 char $ac_func ();
63945 /* The GNU C library defines this for functions which it implements
63946 to always fail with ENOSYS. Some functions are actually named
63947 something starting with __ and the normal name is an alias. */
63948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63949 choke me
63950 #else
63951 char (*f) () = $ac_func;
63952 #endif
63953 #ifdef __cplusplus
63955 #endif
63958 main ()
63960 return f != $ac_func;
63962 return 0;
63964 _ACEOF
63965 rm -f conftest.$ac_objext conftest$ac_exeext
63966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63967 (eval $ac_link) 2>conftest.er1
63968 ac_status=$?
63969 grep -v '^ *+' conftest.er1 >conftest.err
63970 rm -f conftest.er1
63971 cat conftest.err >&5
63972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63973 (exit $ac_status); } &&
63974 { ac_try='test -z "$ac_c_werror_flag"
63975 || test ! -s conftest.err'
63976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63977 (eval $ac_try) 2>&5
63978 ac_status=$?
63979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63980 (exit $ac_status); }; } &&
63981 { ac_try='test -s conftest$ac_exeext'
63982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63983 (eval $ac_try) 2>&5
63984 ac_status=$?
63985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63986 (exit $ac_status); }; }; then
63987 eval "$as_ac_var=yes"
63988 else
63989 echo "$as_me: failed program was:" >&5
63990 sed 's/^/| /' conftest.$ac_ext >&5
63992 eval "$as_ac_var=no"
63994 rm -f conftest.err conftest.$ac_objext \
63995 conftest$ac_exeext conftest.$ac_ext
63997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63999 if test `eval echo '${'$as_ac_var'}'` = yes; then
64000 cat >>confdefs.h <<_ACEOF
64001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64002 _ACEOF
64005 done
64012 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
64013 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
64014 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
64015 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
64016 echo $ECHO_N "(cached) $ECHO_C" >&6
64017 else
64021 ac_ext=cc
64022 ac_cpp='$CXXCPP $CPPFLAGS'
64023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64027 cat >conftest.$ac_ext <<_ACEOF
64028 /* confdefs.h. */
64029 _ACEOF
64030 cat confdefs.h >>conftest.$ac_ext
64031 cat >>conftest.$ac_ext <<_ACEOF
64032 /* end confdefs.h. */
64033 #include <math.h>
64035 main ()
64037 sincosf(0, 0, 0);
64039 return 0;
64041 _ACEOF
64042 rm -f conftest.$ac_objext
64043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64044 (eval $ac_compile) 2>conftest.er1
64045 ac_status=$?
64046 grep -v '^ *+' conftest.er1 >conftest.err
64047 rm -f conftest.er1
64048 cat conftest.err >&5
64049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64050 (exit $ac_status); } &&
64051 { ac_try='test -z "$ac_cxx_werror_flag"
64052 || test ! -s conftest.err'
64053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64054 (eval $ac_try) 2>&5
64055 ac_status=$?
64056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64057 (exit $ac_status); }; } &&
64058 { ac_try='test -s conftest.$ac_objext'
64059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64060 (eval $ac_try) 2>&5
64061 ac_status=$?
64062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64063 (exit $ac_status); }; }; then
64064 glibcxx_cv_func_sincosf_use=yes
64065 else
64066 echo "$as_me: failed program was:" >&5
64067 sed 's/^/| /' conftest.$ac_ext >&5
64069 glibcxx_cv_func_sincosf_use=no
64071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64072 ac_ext=c
64073 ac_cpp='$CPP $CPPFLAGS'
64074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64082 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
64083 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
64085 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
64087 for ac_func in sincosf
64089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64090 echo "$as_me:$LINENO: checking for $ac_func" >&5
64091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64092 if eval "test \"\${$as_ac_var+set}\" = set"; then
64093 echo $ECHO_N "(cached) $ECHO_C" >&6
64094 else
64095 if test x$gcc_no_link = xyes; then
64096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64098 { (exit 1); exit 1; }; }
64100 cat >conftest.$ac_ext <<_ACEOF
64101 /* confdefs.h. */
64102 _ACEOF
64103 cat confdefs.h >>conftest.$ac_ext
64104 cat >>conftest.$ac_ext <<_ACEOF
64105 /* end confdefs.h. */
64106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64108 #define $ac_func innocuous_$ac_func
64110 /* System header to define __stub macros and hopefully few prototypes,
64111 which can conflict with char $ac_func (); below.
64112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64113 <limits.h> exists even on freestanding compilers. */
64115 #ifdef __STDC__
64116 # include <limits.h>
64117 #else
64118 # include <assert.h>
64119 #endif
64121 #undef $ac_func
64123 /* Override any gcc2 internal prototype to avoid an error. */
64124 #ifdef __cplusplus
64125 extern "C"
64127 #endif
64128 /* We use char because int might match the return type of a gcc2
64129 builtin and then its argument prototype would still apply. */
64130 char $ac_func ();
64131 /* The GNU C library defines this for functions which it implements
64132 to always fail with ENOSYS. Some functions are actually named
64133 something starting with __ and the normal name is an alias. */
64134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64135 choke me
64136 #else
64137 char (*f) () = $ac_func;
64138 #endif
64139 #ifdef __cplusplus
64141 #endif
64144 main ()
64146 return f != $ac_func;
64148 return 0;
64150 _ACEOF
64151 rm -f conftest.$ac_objext conftest$ac_exeext
64152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64153 (eval $ac_link) 2>conftest.er1
64154 ac_status=$?
64155 grep -v '^ *+' conftest.er1 >conftest.err
64156 rm -f conftest.er1
64157 cat conftest.err >&5
64158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64159 (exit $ac_status); } &&
64160 { ac_try='test -z "$ac_c_werror_flag"
64161 || test ! -s conftest.err'
64162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64163 (eval $ac_try) 2>&5
64164 ac_status=$?
64165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64166 (exit $ac_status); }; } &&
64167 { ac_try='test -s conftest$ac_exeext'
64168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64169 (eval $ac_try) 2>&5
64170 ac_status=$?
64171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64172 (exit $ac_status); }; }; then
64173 eval "$as_ac_var=yes"
64174 else
64175 echo "$as_me: failed program was:" >&5
64176 sed 's/^/| /' conftest.$ac_ext >&5
64178 eval "$as_ac_var=no"
64180 rm -f conftest.err conftest.$ac_objext \
64181 conftest$ac_exeext conftest.$ac_ext
64183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64185 if test `eval echo '${'$as_ac_var'}'` = yes; then
64186 cat >>confdefs.h <<_ACEOF
64187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64188 _ACEOF
64191 done
64193 else
64195 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
64196 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
64197 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64198 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
64199 echo $ECHO_N "(cached) $ECHO_C" >&6
64200 else
64204 ac_ext=cc
64205 ac_cpp='$CXXCPP $CPPFLAGS'
64206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64210 cat >conftest.$ac_ext <<_ACEOF
64211 /* confdefs.h. */
64212 _ACEOF
64213 cat confdefs.h >>conftest.$ac_ext
64214 cat >>conftest.$ac_ext <<_ACEOF
64215 /* end confdefs.h. */
64216 #include <math.h>
64218 main ()
64220 _sincosf(0, 0, 0);
64222 return 0;
64224 _ACEOF
64225 rm -f conftest.$ac_objext
64226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64227 (eval $ac_compile) 2>conftest.er1
64228 ac_status=$?
64229 grep -v '^ *+' conftest.er1 >conftest.err
64230 rm -f conftest.er1
64231 cat conftest.err >&5
64232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64233 (exit $ac_status); } &&
64234 { ac_try='test -z "$ac_cxx_werror_flag"
64235 || test ! -s conftest.err'
64236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64237 (eval $ac_try) 2>&5
64238 ac_status=$?
64239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64240 (exit $ac_status); }; } &&
64241 { ac_try='test -s conftest.$ac_objext'
64242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64243 (eval $ac_try) 2>&5
64244 ac_status=$?
64245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64246 (exit $ac_status); }; }; then
64247 glibcxx_cv_func__sincosf_use=yes
64248 else
64249 echo "$as_me: failed program was:" >&5
64250 sed 's/^/| /' conftest.$ac_ext >&5
64252 glibcxx_cv_func__sincosf_use=no
64254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64255 ac_ext=c
64256 ac_cpp='$CPP $CPPFLAGS'
64257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64265 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
64266 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
64268 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64270 for ac_func in _sincosf
64272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64273 echo "$as_me:$LINENO: checking for $ac_func" >&5
64274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64275 if eval "test \"\${$as_ac_var+set}\" = set"; then
64276 echo $ECHO_N "(cached) $ECHO_C" >&6
64277 else
64278 if test x$gcc_no_link = xyes; then
64279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64281 { (exit 1); exit 1; }; }
64283 cat >conftest.$ac_ext <<_ACEOF
64284 /* confdefs.h. */
64285 _ACEOF
64286 cat confdefs.h >>conftest.$ac_ext
64287 cat >>conftest.$ac_ext <<_ACEOF
64288 /* end confdefs.h. */
64289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64291 #define $ac_func innocuous_$ac_func
64293 /* System header to define __stub macros and hopefully few prototypes,
64294 which can conflict with char $ac_func (); below.
64295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64296 <limits.h> exists even on freestanding compilers. */
64298 #ifdef __STDC__
64299 # include <limits.h>
64300 #else
64301 # include <assert.h>
64302 #endif
64304 #undef $ac_func
64306 /* Override any gcc2 internal prototype to avoid an error. */
64307 #ifdef __cplusplus
64308 extern "C"
64310 #endif
64311 /* We use char because int might match the return type of a gcc2
64312 builtin and then its argument prototype would still apply. */
64313 char $ac_func ();
64314 /* The GNU C library defines this for functions which it implements
64315 to always fail with ENOSYS. Some functions are actually named
64316 something starting with __ and the normal name is an alias. */
64317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64318 choke me
64319 #else
64320 char (*f) () = $ac_func;
64321 #endif
64322 #ifdef __cplusplus
64324 #endif
64327 main ()
64329 return f != $ac_func;
64331 return 0;
64333 _ACEOF
64334 rm -f conftest.$ac_objext conftest$ac_exeext
64335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64336 (eval $ac_link) 2>conftest.er1
64337 ac_status=$?
64338 grep -v '^ *+' conftest.er1 >conftest.err
64339 rm -f conftest.er1
64340 cat conftest.err >&5
64341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64342 (exit $ac_status); } &&
64343 { ac_try='test -z "$ac_c_werror_flag"
64344 || test ! -s conftest.err'
64345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64346 (eval $ac_try) 2>&5
64347 ac_status=$?
64348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64349 (exit $ac_status); }; } &&
64350 { ac_try='test -s conftest$ac_exeext'
64351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64352 (eval $ac_try) 2>&5
64353 ac_status=$?
64354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64355 (exit $ac_status); }; }; then
64356 eval "$as_ac_var=yes"
64357 else
64358 echo "$as_me: failed program was:" >&5
64359 sed 's/^/| /' conftest.$ac_ext >&5
64361 eval "$as_ac_var=no"
64363 rm -f conftest.err conftest.$ac_objext \
64364 conftest$ac_exeext conftest.$ac_ext
64366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64368 if test `eval echo '${'$as_ac_var'}'` = yes; then
64369 cat >>confdefs.h <<_ACEOF
64370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64371 _ACEOF
64374 done
64381 echo "$as_me:$LINENO: checking for finitef declaration" >&5
64382 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
64383 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64384 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
64385 echo $ECHO_N "(cached) $ECHO_C" >&6
64386 else
64390 ac_ext=cc
64391 ac_cpp='$CXXCPP $CPPFLAGS'
64392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64396 cat >conftest.$ac_ext <<_ACEOF
64397 /* confdefs.h. */
64398 _ACEOF
64399 cat confdefs.h >>conftest.$ac_ext
64400 cat >>conftest.$ac_ext <<_ACEOF
64401 /* end confdefs.h. */
64402 #include <math.h>
64403 #ifdef HAVE_IEEEFP_H
64404 #include <ieeefp.h>
64405 #endif
64408 main ()
64410 finitef(0);
64412 return 0;
64414 _ACEOF
64415 rm -f conftest.$ac_objext
64416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64417 (eval $ac_compile) 2>conftest.er1
64418 ac_status=$?
64419 grep -v '^ *+' conftest.er1 >conftest.err
64420 rm -f conftest.er1
64421 cat conftest.err >&5
64422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64423 (exit $ac_status); } &&
64424 { ac_try='test -z "$ac_cxx_werror_flag"
64425 || test ! -s conftest.err'
64426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64427 (eval $ac_try) 2>&5
64428 ac_status=$?
64429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64430 (exit $ac_status); }; } &&
64431 { ac_try='test -s conftest.$ac_objext'
64432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64433 (eval $ac_try) 2>&5
64434 ac_status=$?
64435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64436 (exit $ac_status); }; }; then
64437 glibcxx_cv_func_finitef_use=yes
64438 else
64439 echo "$as_me: failed program was:" >&5
64440 sed 's/^/| /' conftest.$ac_ext >&5
64442 glibcxx_cv_func_finitef_use=no
64444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64445 ac_ext=c
64446 ac_cpp='$CPP $CPPFLAGS'
64447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64455 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
64456 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
64458 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64460 for ac_func in finitef
64462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64463 echo "$as_me:$LINENO: checking for $ac_func" >&5
64464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64465 if eval "test \"\${$as_ac_var+set}\" = set"; then
64466 echo $ECHO_N "(cached) $ECHO_C" >&6
64467 else
64468 if test x$gcc_no_link = xyes; then
64469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64471 { (exit 1); exit 1; }; }
64473 cat >conftest.$ac_ext <<_ACEOF
64474 /* confdefs.h. */
64475 _ACEOF
64476 cat confdefs.h >>conftest.$ac_ext
64477 cat >>conftest.$ac_ext <<_ACEOF
64478 /* end confdefs.h. */
64479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64481 #define $ac_func innocuous_$ac_func
64483 /* System header to define __stub macros and hopefully few prototypes,
64484 which can conflict with char $ac_func (); below.
64485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64486 <limits.h> exists even on freestanding compilers. */
64488 #ifdef __STDC__
64489 # include <limits.h>
64490 #else
64491 # include <assert.h>
64492 #endif
64494 #undef $ac_func
64496 /* Override any gcc2 internal prototype to avoid an error. */
64497 #ifdef __cplusplus
64498 extern "C"
64500 #endif
64501 /* We use char because int might match the return type of a gcc2
64502 builtin and then its argument prototype would still apply. */
64503 char $ac_func ();
64504 /* The GNU C library defines this for functions which it implements
64505 to always fail with ENOSYS. Some functions are actually named
64506 something starting with __ and the normal name is an alias. */
64507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64508 choke me
64509 #else
64510 char (*f) () = $ac_func;
64511 #endif
64512 #ifdef __cplusplus
64514 #endif
64517 main ()
64519 return f != $ac_func;
64521 return 0;
64523 _ACEOF
64524 rm -f conftest.$ac_objext conftest$ac_exeext
64525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64526 (eval $ac_link) 2>conftest.er1
64527 ac_status=$?
64528 grep -v '^ *+' conftest.er1 >conftest.err
64529 rm -f conftest.er1
64530 cat conftest.err >&5
64531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64532 (exit $ac_status); } &&
64533 { ac_try='test -z "$ac_c_werror_flag"
64534 || test ! -s conftest.err'
64535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64536 (eval $ac_try) 2>&5
64537 ac_status=$?
64538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64539 (exit $ac_status); }; } &&
64540 { ac_try='test -s conftest$ac_exeext'
64541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64542 (eval $ac_try) 2>&5
64543 ac_status=$?
64544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64545 (exit $ac_status); }; }; then
64546 eval "$as_ac_var=yes"
64547 else
64548 echo "$as_me: failed program was:" >&5
64549 sed 's/^/| /' conftest.$ac_ext >&5
64551 eval "$as_ac_var=no"
64553 rm -f conftest.err conftest.$ac_objext \
64554 conftest$ac_exeext conftest.$ac_ext
64556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64558 if test `eval echo '${'$as_ac_var'}'` = yes; then
64559 cat >>confdefs.h <<_ACEOF
64560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64561 _ACEOF
64564 done
64566 else
64568 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
64569 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
64570 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64571 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
64572 echo $ECHO_N "(cached) $ECHO_C" >&6
64573 else
64577 ac_ext=cc
64578 ac_cpp='$CXXCPP $CPPFLAGS'
64579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64583 cat >conftest.$ac_ext <<_ACEOF
64584 /* confdefs.h. */
64585 _ACEOF
64586 cat confdefs.h >>conftest.$ac_ext
64587 cat >>conftest.$ac_ext <<_ACEOF
64588 /* end confdefs.h. */
64589 #include <math.h>
64590 #ifdef HAVE_IEEEFP_H
64591 #include <ieeefp.h>
64592 #endif
64595 main ()
64597 _finitef(0);
64599 return 0;
64601 _ACEOF
64602 rm -f conftest.$ac_objext
64603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64604 (eval $ac_compile) 2>conftest.er1
64605 ac_status=$?
64606 grep -v '^ *+' conftest.er1 >conftest.err
64607 rm -f conftest.er1
64608 cat conftest.err >&5
64609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64610 (exit $ac_status); } &&
64611 { ac_try='test -z "$ac_cxx_werror_flag"
64612 || test ! -s conftest.err'
64613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64614 (eval $ac_try) 2>&5
64615 ac_status=$?
64616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64617 (exit $ac_status); }; } &&
64618 { ac_try='test -s conftest.$ac_objext'
64619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64620 (eval $ac_try) 2>&5
64621 ac_status=$?
64622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64623 (exit $ac_status); }; }; then
64624 glibcxx_cv_func__finitef_use=yes
64625 else
64626 echo "$as_me: failed program was:" >&5
64627 sed 's/^/| /' conftest.$ac_ext >&5
64629 glibcxx_cv_func__finitef_use=no
64631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64632 ac_ext=c
64633 ac_cpp='$CPP $CPPFLAGS'
64634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64642 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
64643 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
64645 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64647 for ac_func in _finitef
64649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64650 echo "$as_me:$LINENO: checking for $ac_func" >&5
64651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64652 if eval "test \"\${$as_ac_var+set}\" = set"; then
64653 echo $ECHO_N "(cached) $ECHO_C" >&6
64654 else
64655 if test x$gcc_no_link = xyes; then
64656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64658 { (exit 1); exit 1; }; }
64660 cat >conftest.$ac_ext <<_ACEOF
64661 /* confdefs.h. */
64662 _ACEOF
64663 cat confdefs.h >>conftest.$ac_ext
64664 cat >>conftest.$ac_ext <<_ACEOF
64665 /* end confdefs.h. */
64666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64668 #define $ac_func innocuous_$ac_func
64670 /* System header to define __stub macros and hopefully few prototypes,
64671 which can conflict with char $ac_func (); below.
64672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64673 <limits.h> exists even on freestanding compilers. */
64675 #ifdef __STDC__
64676 # include <limits.h>
64677 #else
64678 # include <assert.h>
64679 #endif
64681 #undef $ac_func
64683 /* Override any gcc2 internal prototype to avoid an error. */
64684 #ifdef __cplusplus
64685 extern "C"
64687 #endif
64688 /* We use char because int might match the return type of a gcc2
64689 builtin and then its argument prototype would still apply. */
64690 char $ac_func ();
64691 /* The GNU C library defines this for functions which it implements
64692 to always fail with ENOSYS. Some functions are actually named
64693 something starting with __ and the normal name is an alias. */
64694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64695 choke me
64696 #else
64697 char (*f) () = $ac_func;
64698 #endif
64699 #ifdef __cplusplus
64701 #endif
64704 main ()
64706 return f != $ac_func;
64708 return 0;
64710 _ACEOF
64711 rm -f conftest.$ac_objext conftest$ac_exeext
64712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64713 (eval $ac_link) 2>conftest.er1
64714 ac_status=$?
64715 grep -v '^ *+' conftest.er1 >conftest.err
64716 rm -f conftest.er1
64717 cat conftest.err >&5
64718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64719 (exit $ac_status); } &&
64720 { ac_try='test -z "$ac_c_werror_flag"
64721 || test ! -s conftest.err'
64722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64723 (eval $ac_try) 2>&5
64724 ac_status=$?
64725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64726 (exit $ac_status); }; } &&
64727 { ac_try='test -s conftest$ac_exeext'
64728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64729 (eval $ac_try) 2>&5
64730 ac_status=$?
64731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64732 (exit $ac_status); }; }; then
64733 eval "$as_ac_var=yes"
64734 else
64735 echo "$as_me: failed program was:" >&5
64736 sed 's/^/| /' conftest.$ac_ext >&5
64738 eval "$as_ac_var=no"
64740 rm -f conftest.err conftest.$ac_objext \
64741 conftest$ac_exeext conftest.$ac_ext
64743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64745 if test `eval echo '${'$as_ac_var'}'` = yes; then
64746 cat >>confdefs.h <<_ACEOF
64747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64748 _ACEOF
64751 done
64758 echo "$as_me:$LINENO: checking for long double trig functions" >&5
64759 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
64760 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
64761 echo $ECHO_N "(cached) $ECHO_C" >&6
64762 else
64766 ac_ext=cc
64767 ac_cpp='$CXXCPP $CPPFLAGS'
64768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64772 cat >conftest.$ac_ext <<_ACEOF
64773 /* confdefs.h. */
64774 _ACEOF
64775 cat confdefs.h >>conftest.$ac_ext
64776 cat >>conftest.$ac_ext <<_ACEOF
64777 /* end confdefs.h. */
64778 #include <math.h>
64780 main ()
64782 `for x in acosl asinl atanl \
64783 cosl sinl tanl \
64784 coshl sinhl tanhl; do echo "$x (0);"; done`
64786 return 0;
64788 _ACEOF
64789 rm -f conftest.$ac_objext
64790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64791 (eval $ac_compile) 2>conftest.er1
64792 ac_status=$?
64793 grep -v '^ *+' conftest.er1 >conftest.err
64794 rm -f conftest.er1
64795 cat conftest.err >&5
64796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64797 (exit $ac_status); } &&
64798 { ac_try='test -z "$ac_cxx_werror_flag"
64799 || test ! -s conftest.err'
64800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64801 (eval $ac_try) 2>&5
64802 ac_status=$?
64803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64804 (exit $ac_status); }; } &&
64805 { ac_try='test -s conftest.$ac_objext'
64806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64807 (eval $ac_try) 2>&5
64808 ac_status=$?
64809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64810 (exit $ac_status); }; }; then
64811 glibcxx_cv_func_long_double_trig_use=yes
64812 else
64813 echo "$as_me: failed program was:" >&5
64814 sed 's/^/| /' conftest.$ac_ext >&5
64816 glibcxx_cv_func_long_double_trig_use=no
64818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64819 ac_ext=c
64820 ac_cpp='$CPP $CPPFLAGS'
64821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64827 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
64828 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
64829 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64839 for ac_func in acosl asinl atanl \
64840 cosl sinl tanl \
64841 coshl sinhl tanhl
64843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64844 echo "$as_me:$LINENO: checking for $ac_func" >&5
64845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64846 if eval "test \"\${$as_ac_var+set}\" = set"; then
64847 echo $ECHO_N "(cached) $ECHO_C" >&6
64848 else
64849 if test x$gcc_no_link = xyes; then
64850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64852 { (exit 1); exit 1; }; }
64854 cat >conftest.$ac_ext <<_ACEOF
64855 /* confdefs.h. */
64856 _ACEOF
64857 cat confdefs.h >>conftest.$ac_ext
64858 cat >>conftest.$ac_ext <<_ACEOF
64859 /* end confdefs.h. */
64860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64862 #define $ac_func innocuous_$ac_func
64864 /* System header to define __stub macros and hopefully few prototypes,
64865 which can conflict with char $ac_func (); below.
64866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64867 <limits.h> exists even on freestanding compilers. */
64869 #ifdef __STDC__
64870 # include <limits.h>
64871 #else
64872 # include <assert.h>
64873 #endif
64875 #undef $ac_func
64877 /* Override any gcc2 internal prototype to avoid an error. */
64878 #ifdef __cplusplus
64879 extern "C"
64881 #endif
64882 /* We use char because int might match the return type of a gcc2
64883 builtin and then its argument prototype would still apply. */
64884 char $ac_func ();
64885 /* The GNU C library defines this for functions which it implements
64886 to always fail with ENOSYS. Some functions are actually named
64887 something starting with __ and the normal name is an alias. */
64888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64889 choke me
64890 #else
64891 char (*f) () = $ac_func;
64892 #endif
64893 #ifdef __cplusplus
64895 #endif
64898 main ()
64900 return f != $ac_func;
64902 return 0;
64904 _ACEOF
64905 rm -f conftest.$ac_objext conftest$ac_exeext
64906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64907 (eval $ac_link) 2>conftest.er1
64908 ac_status=$?
64909 grep -v '^ *+' conftest.er1 >conftest.err
64910 rm -f conftest.er1
64911 cat conftest.err >&5
64912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64913 (exit $ac_status); } &&
64914 { ac_try='test -z "$ac_c_werror_flag"
64915 || test ! -s conftest.err'
64916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64917 (eval $ac_try) 2>&5
64918 ac_status=$?
64919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64920 (exit $ac_status); }; } &&
64921 { ac_try='test -s conftest$ac_exeext'
64922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64923 (eval $ac_try) 2>&5
64924 ac_status=$?
64925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64926 (exit $ac_status); }; }; then
64927 eval "$as_ac_var=yes"
64928 else
64929 echo "$as_me: failed program was:" >&5
64930 sed 's/^/| /' conftest.$ac_ext >&5
64932 eval "$as_ac_var=no"
64934 rm -f conftest.err conftest.$ac_objext \
64935 conftest$ac_exeext conftest.$ac_ext
64937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64939 if test `eval echo '${'$as_ac_var'}'` = yes; then
64940 cat >>confdefs.h <<_ACEOF
64941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64942 _ACEOF
64945 done
64950 echo "$as_me:$LINENO: checking for long double round functions" >&5
64951 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
64952 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
64953 echo $ECHO_N "(cached) $ECHO_C" >&6
64954 else
64958 ac_ext=cc
64959 ac_cpp='$CXXCPP $CPPFLAGS'
64960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64964 cat >conftest.$ac_ext <<_ACEOF
64965 /* confdefs.h. */
64966 _ACEOF
64967 cat confdefs.h >>conftest.$ac_ext
64968 cat >>conftest.$ac_ext <<_ACEOF
64969 /* end confdefs.h. */
64970 #include <math.h>
64972 main ()
64974 `for x in ceill floorl; do echo "$x (0);"; done`
64976 return 0;
64978 _ACEOF
64979 rm -f conftest.$ac_objext
64980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64981 (eval $ac_compile) 2>conftest.er1
64982 ac_status=$?
64983 grep -v '^ *+' conftest.er1 >conftest.err
64984 rm -f conftest.er1
64985 cat conftest.err >&5
64986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64987 (exit $ac_status); } &&
64988 { ac_try='test -z "$ac_cxx_werror_flag"
64989 || test ! -s conftest.err'
64990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64991 (eval $ac_try) 2>&5
64992 ac_status=$?
64993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64994 (exit $ac_status); }; } &&
64995 { ac_try='test -s conftest.$ac_objext'
64996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64997 (eval $ac_try) 2>&5
64998 ac_status=$?
64999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65000 (exit $ac_status); }; }; then
65001 glibcxx_cv_func_long_double_round_use=yes
65002 else
65003 echo "$as_me: failed program was:" >&5
65004 sed 's/^/| /' conftest.$ac_ext >&5
65006 glibcxx_cv_func_long_double_round_use=no
65008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65009 ac_ext=c
65010 ac_cpp='$CPP $CPPFLAGS'
65011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65017 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
65018 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
65019 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
65022 for ac_func in ceill floorl
65024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65025 echo "$as_me:$LINENO: checking for $ac_func" >&5
65026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65027 if eval "test \"\${$as_ac_var+set}\" = set"; then
65028 echo $ECHO_N "(cached) $ECHO_C" >&6
65029 else
65030 if test x$gcc_no_link = xyes; then
65031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65033 { (exit 1); exit 1; }; }
65035 cat >conftest.$ac_ext <<_ACEOF
65036 /* confdefs.h. */
65037 _ACEOF
65038 cat confdefs.h >>conftest.$ac_ext
65039 cat >>conftest.$ac_ext <<_ACEOF
65040 /* end confdefs.h. */
65041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65043 #define $ac_func innocuous_$ac_func
65045 /* System header to define __stub macros and hopefully few prototypes,
65046 which can conflict with char $ac_func (); below.
65047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65048 <limits.h> exists even on freestanding compilers. */
65050 #ifdef __STDC__
65051 # include <limits.h>
65052 #else
65053 # include <assert.h>
65054 #endif
65056 #undef $ac_func
65058 /* Override any gcc2 internal prototype to avoid an error. */
65059 #ifdef __cplusplus
65060 extern "C"
65062 #endif
65063 /* We use char because int might match the return type of a gcc2
65064 builtin and then its argument prototype would still apply. */
65065 char $ac_func ();
65066 /* The GNU C library defines this for functions which it implements
65067 to always fail with ENOSYS. Some functions are actually named
65068 something starting with __ and the normal name is an alias. */
65069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65070 choke me
65071 #else
65072 char (*f) () = $ac_func;
65073 #endif
65074 #ifdef __cplusplus
65076 #endif
65079 main ()
65081 return f != $ac_func;
65083 return 0;
65085 _ACEOF
65086 rm -f conftest.$ac_objext conftest$ac_exeext
65087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65088 (eval $ac_link) 2>conftest.er1
65089 ac_status=$?
65090 grep -v '^ *+' conftest.er1 >conftest.err
65091 rm -f conftest.er1
65092 cat conftest.err >&5
65093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65094 (exit $ac_status); } &&
65095 { ac_try='test -z "$ac_c_werror_flag"
65096 || test ! -s conftest.err'
65097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65098 (eval $ac_try) 2>&5
65099 ac_status=$?
65100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65101 (exit $ac_status); }; } &&
65102 { ac_try='test -s conftest$ac_exeext'
65103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65104 (eval $ac_try) 2>&5
65105 ac_status=$?
65106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65107 (exit $ac_status); }; }; then
65108 eval "$as_ac_var=yes"
65109 else
65110 echo "$as_me: failed program was:" >&5
65111 sed 's/^/| /' conftest.$ac_ext >&5
65113 eval "$as_ac_var=no"
65115 rm -f conftest.err conftest.$ac_objext \
65116 conftest$ac_exeext conftest.$ac_ext
65118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65120 if test `eval echo '${'$as_ac_var'}'` = yes; then
65121 cat >>confdefs.h <<_ACEOF
65122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65123 _ACEOF
65126 done
65132 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
65133 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
65134 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
65135 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
65136 echo $ECHO_N "(cached) $ECHO_C" >&6
65137 else
65141 ac_ext=cc
65142 ac_cpp='$CXXCPP $CPPFLAGS'
65143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65147 cat >conftest.$ac_ext <<_ACEOF
65148 /* confdefs.h. */
65149 _ACEOF
65150 cat confdefs.h >>conftest.$ac_ext
65151 cat >>conftest.$ac_ext <<_ACEOF
65152 /* end confdefs.h. */
65153 #include <math.h>
65154 #ifdef HAVE_IEEEFP_H
65155 #include <ieeefp.h>
65156 #endif
65159 main ()
65161 isnanl(0);
65163 return 0;
65165 _ACEOF
65166 rm -f conftest.$ac_objext
65167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65168 (eval $ac_compile) 2>conftest.er1
65169 ac_status=$?
65170 grep -v '^ *+' conftest.er1 >conftest.err
65171 rm -f conftest.er1
65172 cat conftest.err >&5
65173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65174 (exit $ac_status); } &&
65175 { ac_try='test -z "$ac_cxx_werror_flag"
65176 || test ! -s conftest.err'
65177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65178 (eval $ac_try) 2>&5
65179 ac_status=$?
65180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65181 (exit $ac_status); }; } &&
65182 { ac_try='test -s conftest.$ac_objext'
65183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65184 (eval $ac_try) 2>&5
65185 ac_status=$?
65186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65187 (exit $ac_status); }; }; then
65188 glibcxx_cv_func_isnanl_use=yes
65189 else
65190 echo "$as_me: failed program was:" >&5
65191 sed 's/^/| /' conftest.$ac_ext >&5
65193 glibcxx_cv_func_isnanl_use=no
65195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65196 ac_ext=c
65197 ac_cpp='$CPP $CPPFLAGS'
65198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65206 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
65207 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
65209 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
65211 for ac_func in isnanl
65213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65214 echo "$as_me:$LINENO: checking for $ac_func" >&5
65215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65216 if eval "test \"\${$as_ac_var+set}\" = set"; then
65217 echo $ECHO_N "(cached) $ECHO_C" >&6
65218 else
65219 if test x$gcc_no_link = xyes; then
65220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65222 { (exit 1); exit 1; }; }
65224 cat >conftest.$ac_ext <<_ACEOF
65225 /* confdefs.h. */
65226 _ACEOF
65227 cat confdefs.h >>conftest.$ac_ext
65228 cat >>conftest.$ac_ext <<_ACEOF
65229 /* end confdefs.h. */
65230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65232 #define $ac_func innocuous_$ac_func
65234 /* System header to define __stub macros and hopefully few prototypes,
65235 which can conflict with char $ac_func (); below.
65236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65237 <limits.h> exists even on freestanding compilers. */
65239 #ifdef __STDC__
65240 # include <limits.h>
65241 #else
65242 # include <assert.h>
65243 #endif
65245 #undef $ac_func
65247 /* Override any gcc2 internal prototype to avoid an error. */
65248 #ifdef __cplusplus
65249 extern "C"
65251 #endif
65252 /* We use char because int might match the return type of a gcc2
65253 builtin and then its argument prototype would still apply. */
65254 char $ac_func ();
65255 /* The GNU C library defines this for functions which it implements
65256 to always fail with ENOSYS. Some functions are actually named
65257 something starting with __ and the normal name is an alias. */
65258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65259 choke me
65260 #else
65261 char (*f) () = $ac_func;
65262 #endif
65263 #ifdef __cplusplus
65265 #endif
65268 main ()
65270 return f != $ac_func;
65272 return 0;
65274 _ACEOF
65275 rm -f conftest.$ac_objext conftest$ac_exeext
65276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65277 (eval $ac_link) 2>conftest.er1
65278 ac_status=$?
65279 grep -v '^ *+' conftest.er1 >conftest.err
65280 rm -f conftest.er1
65281 cat conftest.err >&5
65282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65283 (exit $ac_status); } &&
65284 { ac_try='test -z "$ac_c_werror_flag"
65285 || test ! -s conftest.err'
65286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65287 (eval $ac_try) 2>&5
65288 ac_status=$?
65289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65290 (exit $ac_status); }; } &&
65291 { ac_try='test -s conftest$ac_exeext'
65292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65293 (eval $ac_try) 2>&5
65294 ac_status=$?
65295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65296 (exit $ac_status); }; }; then
65297 eval "$as_ac_var=yes"
65298 else
65299 echo "$as_me: failed program was:" >&5
65300 sed 's/^/| /' conftest.$ac_ext >&5
65302 eval "$as_ac_var=no"
65304 rm -f conftest.err conftest.$ac_objext \
65305 conftest$ac_exeext conftest.$ac_ext
65307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65309 if test `eval echo '${'$as_ac_var'}'` = yes; then
65310 cat >>confdefs.h <<_ACEOF
65311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65312 _ACEOF
65315 done
65317 else
65319 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
65320 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
65321 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
65322 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
65323 echo $ECHO_N "(cached) $ECHO_C" >&6
65324 else
65328 ac_ext=cc
65329 ac_cpp='$CXXCPP $CPPFLAGS'
65330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65334 cat >conftest.$ac_ext <<_ACEOF
65335 /* confdefs.h. */
65336 _ACEOF
65337 cat confdefs.h >>conftest.$ac_ext
65338 cat >>conftest.$ac_ext <<_ACEOF
65339 /* end confdefs.h. */
65340 #include <math.h>
65341 #ifdef HAVE_IEEEFP_H
65342 #include <ieeefp.h>
65343 #endif
65346 main ()
65348 _isnanl(0);
65350 return 0;
65352 _ACEOF
65353 rm -f conftest.$ac_objext
65354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65355 (eval $ac_compile) 2>conftest.er1
65356 ac_status=$?
65357 grep -v '^ *+' conftest.er1 >conftest.err
65358 rm -f conftest.er1
65359 cat conftest.err >&5
65360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65361 (exit $ac_status); } &&
65362 { ac_try='test -z "$ac_cxx_werror_flag"
65363 || test ! -s conftest.err'
65364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65365 (eval $ac_try) 2>&5
65366 ac_status=$?
65367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65368 (exit $ac_status); }; } &&
65369 { ac_try='test -s conftest.$ac_objext'
65370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65371 (eval $ac_try) 2>&5
65372 ac_status=$?
65373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65374 (exit $ac_status); }; }; then
65375 glibcxx_cv_func__isnanl_use=yes
65376 else
65377 echo "$as_me: failed program was:" >&5
65378 sed 's/^/| /' conftest.$ac_ext >&5
65380 glibcxx_cv_func__isnanl_use=no
65382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65383 ac_ext=c
65384 ac_cpp='$CPP $CPPFLAGS'
65385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65393 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
65394 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
65396 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
65398 for ac_func in _isnanl
65400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65401 echo "$as_me:$LINENO: checking for $ac_func" >&5
65402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65403 if eval "test \"\${$as_ac_var+set}\" = set"; then
65404 echo $ECHO_N "(cached) $ECHO_C" >&6
65405 else
65406 if test x$gcc_no_link = xyes; then
65407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65409 { (exit 1); exit 1; }; }
65411 cat >conftest.$ac_ext <<_ACEOF
65412 /* confdefs.h. */
65413 _ACEOF
65414 cat confdefs.h >>conftest.$ac_ext
65415 cat >>conftest.$ac_ext <<_ACEOF
65416 /* end confdefs.h. */
65417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65419 #define $ac_func innocuous_$ac_func
65421 /* System header to define __stub macros and hopefully few prototypes,
65422 which can conflict with char $ac_func (); below.
65423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65424 <limits.h> exists even on freestanding compilers. */
65426 #ifdef __STDC__
65427 # include <limits.h>
65428 #else
65429 # include <assert.h>
65430 #endif
65432 #undef $ac_func
65434 /* Override any gcc2 internal prototype to avoid an error. */
65435 #ifdef __cplusplus
65436 extern "C"
65438 #endif
65439 /* We use char because int might match the return type of a gcc2
65440 builtin and then its argument prototype would still apply. */
65441 char $ac_func ();
65442 /* The GNU C library defines this for functions which it implements
65443 to always fail with ENOSYS. Some functions are actually named
65444 something starting with __ and the normal name is an alias. */
65445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65446 choke me
65447 #else
65448 char (*f) () = $ac_func;
65449 #endif
65450 #ifdef __cplusplus
65452 #endif
65455 main ()
65457 return f != $ac_func;
65459 return 0;
65461 _ACEOF
65462 rm -f conftest.$ac_objext conftest$ac_exeext
65463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65464 (eval $ac_link) 2>conftest.er1
65465 ac_status=$?
65466 grep -v '^ *+' conftest.er1 >conftest.err
65467 rm -f conftest.er1
65468 cat conftest.err >&5
65469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65470 (exit $ac_status); } &&
65471 { ac_try='test -z "$ac_c_werror_flag"
65472 || test ! -s conftest.err'
65473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65474 (eval $ac_try) 2>&5
65475 ac_status=$?
65476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65477 (exit $ac_status); }; } &&
65478 { ac_try='test -s conftest$ac_exeext'
65479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65480 (eval $ac_try) 2>&5
65481 ac_status=$?
65482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65483 (exit $ac_status); }; }; then
65484 eval "$as_ac_var=yes"
65485 else
65486 echo "$as_me: failed program was:" >&5
65487 sed 's/^/| /' conftest.$ac_ext >&5
65489 eval "$as_ac_var=no"
65491 rm -f conftest.err conftest.$ac_objext \
65492 conftest$ac_exeext conftest.$ac_ext
65494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65496 if test `eval echo '${'$as_ac_var'}'` = yes; then
65497 cat >>confdefs.h <<_ACEOF
65498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65499 _ACEOF
65502 done
65509 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
65510 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
65511 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
65512 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
65513 echo $ECHO_N "(cached) $ECHO_C" >&6
65514 else
65518 ac_ext=cc
65519 ac_cpp='$CXXCPP $CPPFLAGS'
65520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65524 cat >conftest.$ac_ext <<_ACEOF
65525 /* confdefs.h. */
65526 _ACEOF
65527 cat confdefs.h >>conftest.$ac_ext
65528 cat >>conftest.$ac_ext <<_ACEOF
65529 /* end confdefs.h. */
65530 #include <math.h>
65531 #ifdef HAVE_IEEEFP_H
65532 #include <ieeefp.h>
65533 #endif
65536 main ()
65538 isinfl(0);
65540 return 0;
65542 _ACEOF
65543 rm -f conftest.$ac_objext
65544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65545 (eval $ac_compile) 2>conftest.er1
65546 ac_status=$?
65547 grep -v '^ *+' conftest.er1 >conftest.err
65548 rm -f conftest.er1
65549 cat conftest.err >&5
65550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65551 (exit $ac_status); } &&
65552 { ac_try='test -z "$ac_cxx_werror_flag"
65553 || test ! -s conftest.err'
65554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65555 (eval $ac_try) 2>&5
65556 ac_status=$?
65557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65558 (exit $ac_status); }; } &&
65559 { ac_try='test -s conftest.$ac_objext'
65560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65561 (eval $ac_try) 2>&5
65562 ac_status=$?
65563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65564 (exit $ac_status); }; }; then
65565 glibcxx_cv_func_isinfl_use=yes
65566 else
65567 echo "$as_me: failed program was:" >&5
65568 sed 's/^/| /' conftest.$ac_ext >&5
65570 glibcxx_cv_func_isinfl_use=no
65572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65573 ac_ext=c
65574 ac_cpp='$CPP $CPPFLAGS'
65575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65583 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
65584 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
65586 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
65588 for ac_func in isinfl
65590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65591 echo "$as_me:$LINENO: checking for $ac_func" >&5
65592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65593 if eval "test \"\${$as_ac_var+set}\" = set"; then
65594 echo $ECHO_N "(cached) $ECHO_C" >&6
65595 else
65596 if test x$gcc_no_link = xyes; then
65597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65599 { (exit 1); exit 1; }; }
65601 cat >conftest.$ac_ext <<_ACEOF
65602 /* confdefs.h. */
65603 _ACEOF
65604 cat confdefs.h >>conftest.$ac_ext
65605 cat >>conftest.$ac_ext <<_ACEOF
65606 /* end confdefs.h. */
65607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65609 #define $ac_func innocuous_$ac_func
65611 /* System header to define __stub macros and hopefully few prototypes,
65612 which can conflict with char $ac_func (); below.
65613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65614 <limits.h> exists even on freestanding compilers. */
65616 #ifdef __STDC__
65617 # include <limits.h>
65618 #else
65619 # include <assert.h>
65620 #endif
65622 #undef $ac_func
65624 /* Override any gcc2 internal prototype to avoid an error. */
65625 #ifdef __cplusplus
65626 extern "C"
65628 #endif
65629 /* We use char because int might match the return type of a gcc2
65630 builtin and then its argument prototype would still apply. */
65631 char $ac_func ();
65632 /* The GNU C library defines this for functions which it implements
65633 to always fail with ENOSYS. Some functions are actually named
65634 something starting with __ and the normal name is an alias. */
65635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65636 choke me
65637 #else
65638 char (*f) () = $ac_func;
65639 #endif
65640 #ifdef __cplusplus
65642 #endif
65645 main ()
65647 return f != $ac_func;
65649 return 0;
65651 _ACEOF
65652 rm -f conftest.$ac_objext conftest$ac_exeext
65653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65654 (eval $ac_link) 2>conftest.er1
65655 ac_status=$?
65656 grep -v '^ *+' conftest.er1 >conftest.err
65657 rm -f conftest.er1
65658 cat conftest.err >&5
65659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65660 (exit $ac_status); } &&
65661 { ac_try='test -z "$ac_c_werror_flag"
65662 || test ! -s conftest.err'
65663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65664 (eval $ac_try) 2>&5
65665 ac_status=$?
65666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65667 (exit $ac_status); }; } &&
65668 { ac_try='test -s conftest$ac_exeext'
65669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65670 (eval $ac_try) 2>&5
65671 ac_status=$?
65672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65673 (exit $ac_status); }; }; then
65674 eval "$as_ac_var=yes"
65675 else
65676 echo "$as_me: failed program was:" >&5
65677 sed 's/^/| /' conftest.$ac_ext >&5
65679 eval "$as_ac_var=no"
65681 rm -f conftest.err conftest.$ac_objext \
65682 conftest$ac_exeext conftest.$ac_ext
65684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65686 if test `eval echo '${'$as_ac_var'}'` = yes; then
65687 cat >>confdefs.h <<_ACEOF
65688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65689 _ACEOF
65692 done
65694 else
65696 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
65697 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
65698 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
65699 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
65700 echo $ECHO_N "(cached) $ECHO_C" >&6
65701 else
65705 ac_ext=cc
65706 ac_cpp='$CXXCPP $CPPFLAGS'
65707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65711 cat >conftest.$ac_ext <<_ACEOF
65712 /* confdefs.h. */
65713 _ACEOF
65714 cat confdefs.h >>conftest.$ac_ext
65715 cat >>conftest.$ac_ext <<_ACEOF
65716 /* end confdefs.h. */
65717 #include <math.h>
65718 #ifdef HAVE_IEEEFP_H
65719 #include <ieeefp.h>
65720 #endif
65723 main ()
65725 _isinfl(0);
65727 return 0;
65729 _ACEOF
65730 rm -f conftest.$ac_objext
65731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65732 (eval $ac_compile) 2>conftest.er1
65733 ac_status=$?
65734 grep -v '^ *+' conftest.er1 >conftest.err
65735 rm -f conftest.er1
65736 cat conftest.err >&5
65737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65738 (exit $ac_status); } &&
65739 { ac_try='test -z "$ac_cxx_werror_flag"
65740 || test ! -s conftest.err'
65741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65742 (eval $ac_try) 2>&5
65743 ac_status=$?
65744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65745 (exit $ac_status); }; } &&
65746 { ac_try='test -s conftest.$ac_objext'
65747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65748 (eval $ac_try) 2>&5
65749 ac_status=$?
65750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65751 (exit $ac_status); }; }; then
65752 glibcxx_cv_func__isinfl_use=yes
65753 else
65754 echo "$as_me: failed program was:" >&5
65755 sed 's/^/| /' conftest.$ac_ext >&5
65757 glibcxx_cv_func__isinfl_use=no
65759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65760 ac_ext=c
65761 ac_cpp='$CPP $CPPFLAGS'
65762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65770 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
65771 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
65773 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
65775 for ac_func in _isinfl
65777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65778 echo "$as_me:$LINENO: checking for $ac_func" >&5
65779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65780 if eval "test \"\${$as_ac_var+set}\" = set"; then
65781 echo $ECHO_N "(cached) $ECHO_C" >&6
65782 else
65783 if test x$gcc_no_link = xyes; then
65784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65786 { (exit 1); exit 1; }; }
65788 cat >conftest.$ac_ext <<_ACEOF
65789 /* confdefs.h. */
65790 _ACEOF
65791 cat confdefs.h >>conftest.$ac_ext
65792 cat >>conftest.$ac_ext <<_ACEOF
65793 /* end confdefs.h. */
65794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65796 #define $ac_func innocuous_$ac_func
65798 /* System header to define __stub macros and hopefully few prototypes,
65799 which can conflict with char $ac_func (); below.
65800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65801 <limits.h> exists even on freestanding compilers. */
65803 #ifdef __STDC__
65804 # include <limits.h>
65805 #else
65806 # include <assert.h>
65807 #endif
65809 #undef $ac_func
65811 /* Override any gcc2 internal prototype to avoid an error. */
65812 #ifdef __cplusplus
65813 extern "C"
65815 #endif
65816 /* We use char because int might match the return type of a gcc2
65817 builtin and then its argument prototype would still apply. */
65818 char $ac_func ();
65819 /* The GNU C library defines this for functions which it implements
65820 to always fail with ENOSYS. Some functions are actually named
65821 something starting with __ and the normal name is an alias. */
65822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65823 choke me
65824 #else
65825 char (*f) () = $ac_func;
65826 #endif
65827 #ifdef __cplusplus
65829 #endif
65832 main ()
65834 return f != $ac_func;
65836 return 0;
65838 _ACEOF
65839 rm -f conftest.$ac_objext conftest$ac_exeext
65840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65841 (eval $ac_link) 2>conftest.er1
65842 ac_status=$?
65843 grep -v '^ *+' conftest.er1 >conftest.err
65844 rm -f conftest.er1
65845 cat conftest.err >&5
65846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65847 (exit $ac_status); } &&
65848 { ac_try='test -z "$ac_c_werror_flag"
65849 || test ! -s conftest.err'
65850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65851 (eval $ac_try) 2>&5
65852 ac_status=$?
65853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65854 (exit $ac_status); }; } &&
65855 { ac_try='test -s conftest$ac_exeext'
65856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65857 (eval $ac_try) 2>&5
65858 ac_status=$?
65859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65860 (exit $ac_status); }; }; then
65861 eval "$as_ac_var=yes"
65862 else
65863 echo "$as_me: failed program was:" >&5
65864 sed 's/^/| /' conftest.$ac_ext >&5
65866 eval "$as_ac_var=no"
65868 rm -f conftest.err conftest.$ac_objext \
65869 conftest$ac_exeext conftest.$ac_ext
65871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65873 if test `eval echo '${'$as_ac_var'}'` = yes; then
65874 cat >>confdefs.h <<_ACEOF
65875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65876 _ACEOF
65879 done
65886 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
65887 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
65888 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
65889 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
65890 echo $ECHO_N "(cached) $ECHO_C" >&6
65891 else
65895 ac_ext=cc
65896 ac_cpp='$CXXCPP $CPPFLAGS'
65897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65901 cat >conftest.$ac_ext <<_ACEOF
65902 /* confdefs.h. */
65903 _ACEOF
65904 cat confdefs.h >>conftest.$ac_ext
65905 cat >>conftest.$ac_ext <<_ACEOF
65906 /* end confdefs.h. */
65907 #include <math.h>
65909 main ()
65911 copysignl(0, 0);
65913 return 0;
65915 _ACEOF
65916 rm -f conftest.$ac_objext
65917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65918 (eval $ac_compile) 2>conftest.er1
65919 ac_status=$?
65920 grep -v '^ *+' conftest.er1 >conftest.err
65921 rm -f conftest.er1
65922 cat conftest.err >&5
65923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65924 (exit $ac_status); } &&
65925 { ac_try='test -z "$ac_cxx_werror_flag"
65926 || test ! -s conftest.err'
65927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65928 (eval $ac_try) 2>&5
65929 ac_status=$?
65930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65931 (exit $ac_status); }; } &&
65932 { ac_try='test -s conftest.$ac_objext'
65933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65934 (eval $ac_try) 2>&5
65935 ac_status=$?
65936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65937 (exit $ac_status); }; }; then
65938 glibcxx_cv_func_copysignl_use=yes
65939 else
65940 echo "$as_me: failed program was:" >&5
65941 sed 's/^/| /' conftest.$ac_ext >&5
65943 glibcxx_cv_func_copysignl_use=no
65945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65946 ac_ext=c
65947 ac_cpp='$CPP $CPPFLAGS'
65948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65956 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
65957 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
65959 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
65961 for ac_func in copysignl
65963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65964 echo "$as_me:$LINENO: checking for $ac_func" >&5
65965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65966 if eval "test \"\${$as_ac_var+set}\" = set"; then
65967 echo $ECHO_N "(cached) $ECHO_C" >&6
65968 else
65969 if test x$gcc_no_link = xyes; then
65970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65972 { (exit 1); exit 1; }; }
65974 cat >conftest.$ac_ext <<_ACEOF
65975 /* confdefs.h. */
65976 _ACEOF
65977 cat confdefs.h >>conftest.$ac_ext
65978 cat >>conftest.$ac_ext <<_ACEOF
65979 /* end confdefs.h. */
65980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65982 #define $ac_func innocuous_$ac_func
65984 /* System header to define __stub macros and hopefully few prototypes,
65985 which can conflict with char $ac_func (); below.
65986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65987 <limits.h> exists even on freestanding compilers. */
65989 #ifdef __STDC__
65990 # include <limits.h>
65991 #else
65992 # include <assert.h>
65993 #endif
65995 #undef $ac_func
65997 /* Override any gcc2 internal prototype to avoid an error. */
65998 #ifdef __cplusplus
65999 extern "C"
66001 #endif
66002 /* We use char because int might match the return type of a gcc2
66003 builtin and then its argument prototype would still apply. */
66004 char $ac_func ();
66005 /* The GNU C library defines this for functions which it implements
66006 to always fail with ENOSYS. Some functions are actually named
66007 something starting with __ and the normal name is an alias. */
66008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66009 choke me
66010 #else
66011 char (*f) () = $ac_func;
66012 #endif
66013 #ifdef __cplusplus
66015 #endif
66018 main ()
66020 return f != $ac_func;
66022 return 0;
66024 _ACEOF
66025 rm -f conftest.$ac_objext conftest$ac_exeext
66026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66027 (eval $ac_link) 2>conftest.er1
66028 ac_status=$?
66029 grep -v '^ *+' conftest.er1 >conftest.err
66030 rm -f conftest.er1
66031 cat conftest.err >&5
66032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66033 (exit $ac_status); } &&
66034 { ac_try='test -z "$ac_c_werror_flag"
66035 || test ! -s conftest.err'
66036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66037 (eval $ac_try) 2>&5
66038 ac_status=$?
66039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66040 (exit $ac_status); }; } &&
66041 { ac_try='test -s conftest$ac_exeext'
66042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66043 (eval $ac_try) 2>&5
66044 ac_status=$?
66045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66046 (exit $ac_status); }; }; then
66047 eval "$as_ac_var=yes"
66048 else
66049 echo "$as_me: failed program was:" >&5
66050 sed 's/^/| /' conftest.$ac_ext >&5
66052 eval "$as_ac_var=no"
66054 rm -f conftest.err conftest.$ac_objext \
66055 conftest$ac_exeext conftest.$ac_ext
66057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66059 if test `eval echo '${'$as_ac_var'}'` = yes; then
66060 cat >>confdefs.h <<_ACEOF
66061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66062 _ACEOF
66065 done
66067 else
66069 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
66070 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
66071 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
66072 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
66073 echo $ECHO_N "(cached) $ECHO_C" >&6
66074 else
66078 ac_ext=cc
66079 ac_cpp='$CXXCPP $CPPFLAGS'
66080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66084 cat >conftest.$ac_ext <<_ACEOF
66085 /* confdefs.h. */
66086 _ACEOF
66087 cat confdefs.h >>conftest.$ac_ext
66088 cat >>conftest.$ac_ext <<_ACEOF
66089 /* end confdefs.h. */
66090 #include <math.h>
66092 main ()
66094 _copysignl(0, 0);
66096 return 0;
66098 _ACEOF
66099 rm -f conftest.$ac_objext
66100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66101 (eval $ac_compile) 2>conftest.er1
66102 ac_status=$?
66103 grep -v '^ *+' conftest.er1 >conftest.err
66104 rm -f conftest.er1
66105 cat conftest.err >&5
66106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66107 (exit $ac_status); } &&
66108 { ac_try='test -z "$ac_cxx_werror_flag"
66109 || test ! -s conftest.err'
66110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66111 (eval $ac_try) 2>&5
66112 ac_status=$?
66113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66114 (exit $ac_status); }; } &&
66115 { ac_try='test -s conftest.$ac_objext'
66116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66117 (eval $ac_try) 2>&5
66118 ac_status=$?
66119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66120 (exit $ac_status); }; }; then
66121 glibcxx_cv_func__copysignl_use=yes
66122 else
66123 echo "$as_me: failed program was:" >&5
66124 sed 's/^/| /' conftest.$ac_ext >&5
66126 glibcxx_cv_func__copysignl_use=no
66128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66129 ac_ext=c
66130 ac_cpp='$CPP $CPPFLAGS'
66131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66139 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
66140 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
66142 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
66144 for ac_func in _copysignl
66146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66147 echo "$as_me:$LINENO: checking for $ac_func" >&5
66148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66149 if eval "test \"\${$as_ac_var+set}\" = set"; then
66150 echo $ECHO_N "(cached) $ECHO_C" >&6
66151 else
66152 if test x$gcc_no_link = xyes; then
66153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66155 { (exit 1); exit 1; }; }
66157 cat >conftest.$ac_ext <<_ACEOF
66158 /* confdefs.h. */
66159 _ACEOF
66160 cat confdefs.h >>conftest.$ac_ext
66161 cat >>conftest.$ac_ext <<_ACEOF
66162 /* end confdefs.h. */
66163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66165 #define $ac_func innocuous_$ac_func
66167 /* System header to define __stub macros and hopefully few prototypes,
66168 which can conflict with char $ac_func (); below.
66169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66170 <limits.h> exists even on freestanding compilers. */
66172 #ifdef __STDC__
66173 # include <limits.h>
66174 #else
66175 # include <assert.h>
66176 #endif
66178 #undef $ac_func
66180 /* Override any gcc2 internal prototype to avoid an error. */
66181 #ifdef __cplusplus
66182 extern "C"
66184 #endif
66185 /* We use char because int might match the return type of a gcc2
66186 builtin and then its argument prototype would still apply. */
66187 char $ac_func ();
66188 /* The GNU C library defines this for functions which it implements
66189 to always fail with ENOSYS. Some functions are actually named
66190 something starting with __ and the normal name is an alias. */
66191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66192 choke me
66193 #else
66194 char (*f) () = $ac_func;
66195 #endif
66196 #ifdef __cplusplus
66198 #endif
66201 main ()
66203 return f != $ac_func;
66205 return 0;
66207 _ACEOF
66208 rm -f conftest.$ac_objext conftest$ac_exeext
66209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66210 (eval $ac_link) 2>conftest.er1
66211 ac_status=$?
66212 grep -v '^ *+' conftest.er1 >conftest.err
66213 rm -f conftest.er1
66214 cat conftest.err >&5
66215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66216 (exit $ac_status); } &&
66217 { ac_try='test -z "$ac_c_werror_flag"
66218 || test ! -s conftest.err'
66219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66220 (eval $ac_try) 2>&5
66221 ac_status=$?
66222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66223 (exit $ac_status); }; } &&
66224 { ac_try='test -s conftest$ac_exeext'
66225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66226 (eval $ac_try) 2>&5
66227 ac_status=$?
66228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66229 (exit $ac_status); }; }; then
66230 eval "$as_ac_var=yes"
66231 else
66232 echo "$as_me: failed program was:" >&5
66233 sed 's/^/| /' conftest.$ac_ext >&5
66235 eval "$as_ac_var=no"
66237 rm -f conftest.err conftest.$ac_objext \
66238 conftest$ac_exeext conftest.$ac_ext
66240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66242 if test `eval echo '${'$as_ac_var'}'` = yes; then
66243 cat >>confdefs.h <<_ACEOF
66244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66245 _ACEOF
66248 done
66255 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
66256 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
66257 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
66258 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
66259 echo $ECHO_N "(cached) $ECHO_C" >&6
66260 else
66264 ac_ext=cc
66265 ac_cpp='$CXXCPP $CPPFLAGS'
66266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66270 cat >conftest.$ac_ext <<_ACEOF
66271 /* confdefs.h. */
66272 _ACEOF
66273 cat confdefs.h >>conftest.$ac_ext
66274 cat >>conftest.$ac_ext <<_ACEOF
66275 /* end confdefs.h. */
66276 #include <math.h>
66278 main ()
66280 atan2l(0, 0);
66282 return 0;
66284 _ACEOF
66285 rm -f conftest.$ac_objext
66286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66287 (eval $ac_compile) 2>conftest.er1
66288 ac_status=$?
66289 grep -v '^ *+' conftest.er1 >conftest.err
66290 rm -f conftest.er1
66291 cat conftest.err >&5
66292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66293 (exit $ac_status); } &&
66294 { ac_try='test -z "$ac_cxx_werror_flag"
66295 || test ! -s conftest.err'
66296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66297 (eval $ac_try) 2>&5
66298 ac_status=$?
66299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66300 (exit $ac_status); }; } &&
66301 { ac_try='test -s conftest.$ac_objext'
66302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66303 (eval $ac_try) 2>&5
66304 ac_status=$?
66305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66306 (exit $ac_status); }; }; then
66307 glibcxx_cv_func_atan2l_use=yes
66308 else
66309 echo "$as_me: failed program was:" >&5
66310 sed 's/^/| /' conftest.$ac_ext >&5
66312 glibcxx_cv_func_atan2l_use=no
66314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66315 ac_ext=c
66316 ac_cpp='$CPP $CPPFLAGS'
66317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66325 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
66326 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
66328 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
66330 for ac_func in atan2l
66332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66333 echo "$as_me:$LINENO: checking for $ac_func" >&5
66334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66335 if eval "test \"\${$as_ac_var+set}\" = set"; then
66336 echo $ECHO_N "(cached) $ECHO_C" >&6
66337 else
66338 if test x$gcc_no_link = xyes; then
66339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66341 { (exit 1); exit 1; }; }
66343 cat >conftest.$ac_ext <<_ACEOF
66344 /* confdefs.h. */
66345 _ACEOF
66346 cat confdefs.h >>conftest.$ac_ext
66347 cat >>conftest.$ac_ext <<_ACEOF
66348 /* end confdefs.h. */
66349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66351 #define $ac_func innocuous_$ac_func
66353 /* System header to define __stub macros and hopefully few prototypes,
66354 which can conflict with char $ac_func (); below.
66355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66356 <limits.h> exists even on freestanding compilers. */
66358 #ifdef __STDC__
66359 # include <limits.h>
66360 #else
66361 # include <assert.h>
66362 #endif
66364 #undef $ac_func
66366 /* Override any gcc2 internal prototype to avoid an error. */
66367 #ifdef __cplusplus
66368 extern "C"
66370 #endif
66371 /* We use char because int might match the return type of a gcc2
66372 builtin and then its argument prototype would still apply. */
66373 char $ac_func ();
66374 /* The GNU C library defines this for functions which it implements
66375 to always fail with ENOSYS. Some functions are actually named
66376 something starting with __ and the normal name is an alias. */
66377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66378 choke me
66379 #else
66380 char (*f) () = $ac_func;
66381 #endif
66382 #ifdef __cplusplus
66384 #endif
66387 main ()
66389 return f != $ac_func;
66391 return 0;
66393 _ACEOF
66394 rm -f conftest.$ac_objext conftest$ac_exeext
66395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66396 (eval $ac_link) 2>conftest.er1
66397 ac_status=$?
66398 grep -v '^ *+' conftest.er1 >conftest.err
66399 rm -f conftest.er1
66400 cat conftest.err >&5
66401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66402 (exit $ac_status); } &&
66403 { ac_try='test -z "$ac_c_werror_flag"
66404 || test ! -s conftest.err'
66405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66406 (eval $ac_try) 2>&5
66407 ac_status=$?
66408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66409 (exit $ac_status); }; } &&
66410 { ac_try='test -s conftest$ac_exeext'
66411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66412 (eval $ac_try) 2>&5
66413 ac_status=$?
66414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66415 (exit $ac_status); }; }; then
66416 eval "$as_ac_var=yes"
66417 else
66418 echo "$as_me: failed program was:" >&5
66419 sed 's/^/| /' conftest.$ac_ext >&5
66421 eval "$as_ac_var=no"
66423 rm -f conftest.err conftest.$ac_objext \
66424 conftest$ac_exeext conftest.$ac_ext
66426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66428 if test `eval echo '${'$as_ac_var'}'` = yes; then
66429 cat >>confdefs.h <<_ACEOF
66430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66431 _ACEOF
66434 done
66436 else
66438 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
66439 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
66440 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
66441 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
66442 echo $ECHO_N "(cached) $ECHO_C" >&6
66443 else
66447 ac_ext=cc
66448 ac_cpp='$CXXCPP $CPPFLAGS'
66449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66453 cat >conftest.$ac_ext <<_ACEOF
66454 /* confdefs.h. */
66455 _ACEOF
66456 cat confdefs.h >>conftest.$ac_ext
66457 cat >>conftest.$ac_ext <<_ACEOF
66458 /* end confdefs.h. */
66459 #include <math.h>
66461 main ()
66463 _atan2l(0, 0);
66465 return 0;
66467 _ACEOF
66468 rm -f conftest.$ac_objext
66469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66470 (eval $ac_compile) 2>conftest.er1
66471 ac_status=$?
66472 grep -v '^ *+' conftest.er1 >conftest.err
66473 rm -f conftest.er1
66474 cat conftest.err >&5
66475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66476 (exit $ac_status); } &&
66477 { ac_try='test -z "$ac_cxx_werror_flag"
66478 || test ! -s conftest.err'
66479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66480 (eval $ac_try) 2>&5
66481 ac_status=$?
66482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66483 (exit $ac_status); }; } &&
66484 { ac_try='test -s conftest.$ac_objext'
66485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66486 (eval $ac_try) 2>&5
66487 ac_status=$?
66488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66489 (exit $ac_status); }; }; then
66490 glibcxx_cv_func__atan2l_use=yes
66491 else
66492 echo "$as_me: failed program was:" >&5
66493 sed 's/^/| /' conftest.$ac_ext >&5
66495 glibcxx_cv_func__atan2l_use=no
66497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66498 ac_ext=c
66499 ac_cpp='$CPP $CPPFLAGS'
66500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66508 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
66509 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
66511 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
66513 for ac_func in _atan2l
66515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66516 echo "$as_me:$LINENO: checking for $ac_func" >&5
66517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66518 if eval "test \"\${$as_ac_var+set}\" = set"; then
66519 echo $ECHO_N "(cached) $ECHO_C" >&6
66520 else
66521 if test x$gcc_no_link = xyes; then
66522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66524 { (exit 1); exit 1; }; }
66526 cat >conftest.$ac_ext <<_ACEOF
66527 /* confdefs.h. */
66528 _ACEOF
66529 cat confdefs.h >>conftest.$ac_ext
66530 cat >>conftest.$ac_ext <<_ACEOF
66531 /* end confdefs.h. */
66532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66534 #define $ac_func innocuous_$ac_func
66536 /* System header to define __stub macros and hopefully few prototypes,
66537 which can conflict with char $ac_func (); below.
66538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66539 <limits.h> exists even on freestanding compilers. */
66541 #ifdef __STDC__
66542 # include <limits.h>
66543 #else
66544 # include <assert.h>
66545 #endif
66547 #undef $ac_func
66549 /* Override any gcc2 internal prototype to avoid an error. */
66550 #ifdef __cplusplus
66551 extern "C"
66553 #endif
66554 /* We use char because int might match the return type of a gcc2
66555 builtin and then its argument prototype would still apply. */
66556 char $ac_func ();
66557 /* The GNU C library defines this for functions which it implements
66558 to always fail with ENOSYS. Some functions are actually named
66559 something starting with __ and the normal name is an alias. */
66560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66561 choke me
66562 #else
66563 char (*f) () = $ac_func;
66564 #endif
66565 #ifdef __cplusplus
66567 #endif
66570 main ()
66572 return f != $ac_func;
66574 return 0;
66576 _ACEOF
66577 rm -f conftest.$ac_objext conftest$ac_exeext
66578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66579 (eval $ac_link) 2>conftest.er1
66580 ac_status=$?
66581 grep -v '^ *+' conftest.er1 >conftest.err
66582 rm -f conftest.er1
66583 cat conftest.err >&5
66584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66585 (exit $ac_status); } &&
66586 { ac_try='test -z "$ac_c_werror_flag"
66587 || test ! -s conftest.err'
66588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66589 (eval $ac_try) 2>&5
66590 ac_status=$?
66591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66592 (exit $ac_status); }; } &&
66593 { ac_try='test -s conftest$ac_exeext'
66594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66595 (eval $ac_try) 2>&5
66596 ac_status=$?
66597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66598 (exit $ac_status); }; }; then
66599 eval "$as_ac_var=yes"
66600 else
66601 echo "$as_me: failed program was:" >&5
66602 sed 's/^/| /' conftest.$ac_ext >&5
66604 eval "$as_ac_var=no"
66606 rm -f conftest.err conftest.$ac_objext \
66607 conftest$ac_exeext conftest.$ac_ext
66609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66611 if test `eval echo '${'$as_ac_var'}'` = yes; then
66612 cat >>confdefs.h <<_ACEOF
66613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66614 _ACEOF
66617 done
66624 echo "$as_me:$LINENO: checking for expl declaration" >&5
66625 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
66626 if test x${glibcxx_cv_func_expl_use+set} != xset; then
66627 if test "${glibcxx_cv_func_expl_use+set}" = set; then
66628 echo $ECHO_N "(cached) $ECHO_C" >&6
66629 else
66633 ac_ext=cc
66634 ac_cpp='$CXXCPP $CPPFLAGS'
66635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66639 cat >conftest.$ac_ext <<_ACEOF
66640 /* confdefs.h. */
66641 _ACEOF
66642 cat confdefs.h >>conftest.$ac_ext
66643 cat >>conftest.$ac_ext <<_ACEOF
66644 /* end confdefs.h. */
66645 #include <math.h>
66646 #ifdef HAVE_IEEEFP_H
66647 #include <ieeefp.h>
66648 #endif
66651 main ()
66653 expl(0);
66655 return 0;
66657 _ACEOF
66658 rm -f conftest.$ac_objext
66659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66660 (eval $ac_compile) 2>conftest.er1
66661 ac_status=$?
66662 grep -v '^ *+' conftest.er1 >conftest.err
66663 rm -f conftest.er1
66664 cat conftest.err >&5
66665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66666 (exit $ac_status); } &&
66667 { ac_try='test -z "$ac_cxx_werror_flag"
66668 || test ! -s conftest.err'
66669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66670 (eval $ac_try) 2>&5
66671 ac_status=$?
66672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66673 (exit $ac_status); }; } &&
66674 { ac_try='test -s conftest.$ac_objext'
66675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66676 (eval $ac_try) 2>&5
66677 ac_status=$?
66678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66679 (exit $ac_status); }; }; then
66680 glibcxx_cv_func_expl_use=yes
66681 else
66682 echo "$as_me: failed program was:" >&5
66683 sed 's/^/| /' conftest.$ac_ext >&5
66685 glibcxx_cv_func_expl_use=no
66687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66688 ac_ext=c
66689 ac_cpp='$CPP $CPPFLAGS'
66690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66698 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
66699 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
66701 if test x$glibcxx_cv_func_expl_use = x"yes"; then
66703 for ac_func in expl
66705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66706 echo "$as_me:$LINENO: checking for $ac_func" >&5
66707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66708 if eval "test \"\${$as_ac_var+set}\" = set"; then
66709 echo $ECHO_N "(cached) $ECHO_C" >&6
66710 else
66711 if test x$gcc_no_link = xyes; then
66712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66714 { (exit 1); exit 1; }; }
66716 cat >conftest.$ac_ext <<_ACEOF
66717 /* confdefs.h. */
66718 _ACEOF
66719 cat confdefs.h >>conftest.$ac_ext
66720 cat >>conftest.$ac_ext <<_ACEOF
66721 /* end confdefs.h. */
66722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66724 #define $ac_func innocuous_$ac_func
66726 /* System header to define __stub macros and hopefully few prototypes,
66727 which can conflict with char $ac_func (); below.
66728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66729 <limits.h> exists even on freestanding compilers. */
66731 #ifdef __STDC__
66732 # include <limits.h>
66733 #else
66734 # include <assert.h>
66735 #endif
66737 #undef $ac_func
66739 /* Override any gcc2 internal prototype to avoid an error. */
66740 #ifdef __cplusplus
66741 extern "C"
66743 #endif
66744 /* We use char because int might match the return type of a gcc2
66745 builtin and then its argument prototype would still apply. */
66746 char $ac_func ();
66747 /* The GNU C library defines this for functions which it implements
66748 to always fail with ENOSYS. Some functions are actually named
66749 something starting with __ and the normal name is an alias. */
66750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66751 choke me
66752 #else
66753 char (*f) () = $ac_func;
66754 #endif
66755 #ifdef __cplusplus
66757 #endif
66760 main ()
66762 return f != $ac_func;
66764 return 0;
66766 _ACEOF
66767 rm -f conftest.$ac_objext conftest$ac_exeext
66768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66769 (eval $ac_link) 2>conftest.er1
66770 ac_status=$?
66771 grep -v '^ *+' conftest.er1 >conftest.err
66772 rm -f conftest.er1
66773 cat conftest.err >&5
66774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66775 (exit $ac_status); } &&
66776 { ac_try='test -z "$ac_c_werror_flag"
66777 || test ! -s conftest.err'
66778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66779 (eval $ac_try) 2>&5
66780 ac_status=$?
66781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66782 (exit $ac_status); }; } &&
66783 { ac_try='test -s conftest$ac_exeext'
66784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66785 (eval $ac_try) 2>&5
66786 ac_status=$?
66787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66788 (exit $ac_status); }; }; then
66789 eval "$as_ac_var=yes"
66790 else
66791 echo "$as_me: failed program was:" >&5
66792 sed 's/^/| /' conftest.$ac_ext >&5
66794 eval "$as_ac_var=no"
66796 rm -f conftest.err conftest.$ac_objext \
66797 conftest$ac_exeext conftest.$ac_ext
66799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66801 if test `eval echo '${'$as_ac_var'}'` = yes; then
66802 cat >>confdefs.h <<_ACEOF
66803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66804 _ACEOF
66807 done
66809 else
66811 echo "$as_me:$LINENO: checking for _expl declaration" >&5
66812 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
66813 if test x${glibcxx_cv_func__expl_use+set} != xset; then
66814 if test "${glibcxx_cv_func__expl_use+set}" = set; then
66815 echo $ECHO_N "(cached) $ECHO_C" >&6
66816 else
66820 ac_ext=cc
66821 ac_cpp='$CXXCPP $CPPFLAGS'
66822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66826 cat >conftest.$ac_ext <<_ACEOF
66827 /* confdefs.h. */
66828 _ACEOF
66829 cat confdefs.h >>conftest.$ac_ext
66830 cat >>conftest.$ac_ext <<_ACEOF
66831 /* end confdefs.h. */
66832 #include <math.h>
66833 #ifdef HAVE_IEEEFP_H
66834 #include <ieeefp.h>
66835 #endif
66838 main ()
66840 _expl(0);
66842 return 0;
66844 _ACEOF
66845 rm -f conftest.$ac_objext
66846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66847 (eval $ac_compile) 2>conftest.er1
66848 ac_status=$?
66849 grep -v '^ *+' conftest.er1 >conftest.err
66850 rm -f conftest.er1
66851 cat conftest.err >&5
66852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66853 (exit $ac_status); } &&
66854 { ac_try='test -z "$ac_cxx_werror_flag"
66855 || test ! -s conftest.err'
66856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66857 (eval $ac_try) 2>&5
66858 ac_status=$?
66859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66860 (exit $ac_status); }; } &&
66861 { ac_try='test -s conftest.$ac_objext'
66862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66863 (eval $ac_try) 2>&5
66864 ac_status=$?
66865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66866 (exit $ac_status); }; }; then
66867 glibcxx_cv_func__expl_use=yes
66868 else
66869 echo "$as_me: failed program was:" >&5
66870 sed 's/^/| /' conftest.$ac_ext >&5
66872 glibcxx_cv_func__expl_use=no
66874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66875 ac_ext=c
66876 ac_cpp='$CPP $CPPFLAGS'
66877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66885 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
66886 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
66888 if test x$glibcxx_cv_func__expl_use = x"yes"; then
66890 for ac_func in _expl
66892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66893 echo "$as_me:$LINENO: checking for $ac_func" >&5
66894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66895 if eval "test \"\${$as_ac_var+set}\" = set"; then
66896 echo $ECHO_N "(cached) $ECHO_C" >&6
66897 else
66898 if test x$gcc_no_link = xyes; then
66899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66901 { (exit 1); exit 1; }; }
66903 cat >conftest.$ac_ext <<_ACEOF
66904 /* confdefs.h. */
66905 _ACEOF
66906 cat confdefs.h >>conftest.$ac_ext
66907 cat >>conftest.$ac_ext <<_ACEOF
66908 /* end confdefs.h. */
66909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66911 #define $ac_func innocuous_$ac_func
66913 /* System header to define __stub macros and hopefully few prototypes,
66914 which can conflict with char $ac_func (); below.
66915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66916 <limits.h> exists even on freestanding compilers. */
66918 #ifdef __STDC__
66919 # include <limits.h>
66920 #else
66921 # include <assert.h>
66922 #endif
66924 #undef $ac_func
66926 /* Override any gcc2 internal prototype to avoid an error. */
66927 #ifdef __cplusplus
66928 extern "C"
66930 #endif
66931 /* We use char because int might match the return type of a gcc2
66932 builtin and then its argument prototype would still apply. */
66933 char $ac_func ();
66934 /* The GNU C library defines this for functions which it implements
66935 to always fail with ENOSYS. Some functions are actually named
66936 something starting with __ and the normal name is an alias. */
66937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66938 choke me
66939 #else
66940 char (*f) () = $ac_func;
66941 #endif
66942 #ifdef __cplusplus
66944 #endif
66947 main ()
66949 return f != $ac_func;
66951 return 0;
66953 _ACEOF
66954 rm -f conftest.$ac_objext conftest$ac_exeext
66955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66956 (eval $ac_link) 2>conftest.er1
66957 ac_status=$?
66958 grep -v '^ *+' conftest.er1 >conftest.err
66959 rm -f conftest.er1
66960 cat conftest.err >&5
66961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66962 (exit $ac_status); } &&
66963 { ac_try='test -z "$ac_c_werror_flag"
66964 || test ! -s conftest.err'
66965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66966 (eval $ac_try) 2>&5
66967 ac_status=$?
66968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66969 (exit $ac_status); }; } &&
66970 { ac_try='test -s conftest$ac_exeext'
66971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66972 (eval $ac_try) 2>&5
66973 ac_status=$?
66974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66975 (exit $ac_status); }; }; then
66976 eval "$as_ac_var=yes"
66977 else
66978 echo "$as_me: failed program was:" >&5
66979 sed 's/^/| /' conftest.$ac_ext >&5
66981 eval "$as_ac_var=no"
66983 rm -f conftest.err conftest.$ac_objext \
66984 conftest$ac_exeext conftest.$ac_ext
66986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66988 if test `eval echo '${'$as_ac_var'}'` = yes; then
66989 cat >>confdefs.h <<_ACEOF
66990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66991 _ACEOF
66994 done
67001 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
67002 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
67003 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
67004 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
67005 echo $ECHO_N "(cached) $ECHO_C" >&6
67006 else
67010 ac_ext=cc
67011 ac_cpp='$CXXCPP $CPPFLAGS'
67012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67016 cat >conftest.$ac_ext <<_ACEOF
67017 /* confdefs.h. */
67018 _ACEOF
67019 cat confdefs.h >>conftest.$ac_ext
67020 cat >>conftest.$ac_ext <<_ACEOF
67021 /* end confdefs.h. */
67022 #include <math.h>
67023 #ifdef HAVE_IEEEFP_H
67024 #include <ieeefp.h>
67025 #endif
67028 main ()
67030 fabsl(0);
67032 return 0;
67034 _ACEOF
67035 rm -f conftest.$ac_objext
67036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67037 (eval $ac_compile) 2>conftest.er1
67038 ac_status=$?
67039 grep -v '^ *+' conftest.er1 >conftest.err
67040 rm -f conftest.er1
67041 cat conftest.err >&5
67042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67043 (exit $ac_status); } &&
67044 { ac_try='test -z "$ac_cxx_werror_flag"
67045 || test ! -s conftest.err'
67046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67047 (eval $ac_try) 2>&5
67048 ac_status=$?
67049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67050 (exit $ac_status); }; } &&
67051 { ac_try='test -s conftest.$ac_objext'
67052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67053 (eval $ac_try) 2>&5
67054 ac_status=$?
67055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67056 (exit $ac_status); }; }; then
67057 glibcxx_cv_func_fabsl_use=yes
67058 else
67059 echo "$as_me: failed program was:" >&5
67060 sed 's/^/| /' conftest.$ac_ext >&5
67062 glibcxx_cv_func_fabsl_use=no
67064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67065 ac_ext=c
67066 ac_cpp='$CPP $CPPFLAGS'
67067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67075 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
67076 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
67078 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
67080 for ac_func in fabsl
67082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67083 echo "$as_me:$LINENO: checking for $ac_func" >&5
67084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67085 if eval "test \"\${$as_ac_var+set}\" = set"; then
67086 echo $ECHO_N "(cached) $ECHO_C" >&6
67087 else
67088 if test x$gcc_no_link = xyes; then
67089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67091 { (exit 1); exit 1; }; }
67093 cat >conftest.$ac_ext <<_ACEOF
67094 /* confdefs.h. */
67095 _ACEOF
67096 cat confdefs.h >>conftest.$ac_ext
67097 cat >>conftest.$ac_ext <<_ACEOF
67098 /* end confdefs.h. */
67099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67101 #define $ac_func innocuous_$ac_func
67103 /* System header to define __stub macros and hopefully few prototypes,
67104 which can conflict with char $ac_func (); below.
67105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67106 <limits.h> exists even on freestanding compilers. */
67108 #ifdef __STDC__
67109 # include <limits.h>
67110 #else
67111 # include <assert.h>
67112 #endif
67114 #undef $ac_func
67116 /* Override any gcc2 internal prototype to avoid an error. */
67117 #ifdef __cplusplus
67118 extern "C"
67120 #endif
67121 /* We use char because int might match the return type of a gcc2
67122 builtin and then its argument prototype would still apply. */
67123 char $ac_func ();
67124 /* The GNU C library defines this for functions which it implements
67125 to always fail with ENOSYS. Some functions are actually named
67126 something starting with __ and the normal name is an alias. */
67127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67128 choke me
67129 #else
67130 char (*f) () = $ac_func;
67131 #endif
67132 #ifdef __cplusplus
67134 #endif
67137 main ()
67139 return f != $ac_func;
67141 return 0;
67143 _ACEOF
67144 rm -f conftest.$ac_objext conftest$ac_exeext
67145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67146 (eval $ac_link) 2>conftest.er1
67147 ac_status=$?
67148 grep -v '^ *+' conftest.er1 >conftest.err
67149 rm -f conftest.er1
67150 cat conftest.err >&5
67151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67152 (exit $ac_status); } &&
67153 { ac_try='test -z "$ac_c_werror_flag"
67154 || test ! -s conftest.err'
67155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67156 (eval $ac_try) 2>&5
67157 ac_status=$?
67158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67159 (exit $ac_status); }; } &&
67160 { ac_try='test -s conftest$ac_exeext'
67161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67162 (eval $ac_try) 2>&5
67163 ac_status=$?
67164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67165 (exit $ac_status); }; }; then
67166 eval "$as_ac_var=yes"
67167 else
67168 echo "$as_me: failed program was:" >&5
67169 sed 's/^/| /' conftest.$ac_ext >&5
67171 eval "$as_ac_var=no"
67173 rm -f conftest.err conftest.$ac_objext \
67174 conftest$ac_exeext conftest.$ac_ext
67176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67178 if test `eval echo '${'$as_ac_var'}'` = yes; then
67179 cat >>confdefs.h <<_ACEOF
67180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67181 _ACEOF
67184 done
67186 else
67188 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
67189 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
67190 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
67191 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
67192 echo $ECHO_N "(cached) $ECHO_C" >&6
67193 else
67197 ac_ext=cc
67198 ac_cpp='$CXXCPP $CPPFLAGS'
67199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67203 cat >conftest.$ac_ext <<_ACEOF
67204 /* confdefs.h. */
67205 _ACEOF
67206 cat confdefs.h >>conftest.$ac_ext
67207 cat >>conftest.$ac_ext <<_ACEOF
67208 /* end confdefs.h. */
67209 #include <math.h>
67210 #ifdef HAVE_IEEEFP_H
67211 #include <ieeefp.h>
67212 #endif
67215 main ()
67217 _fabsl(0);
67219 return 0;
67221 _ACEOF
67222 rm -f conftest.$ac_objext
67223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67224 (eval $ac_compile) 2>conftest.er1
67225 ac_status=$?
67226 grep -v '^ *+' conftest.er1 >conftest.err
67227 rm -f conftest.er1
67228 cat conftest.err >&5
67229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67230 (exit $ac_status); } &&
67231 { ac_try='test -z "$ac_cxx_werror_flag"
67232 || test ! -s conftest.err'
67233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67234 (eval $ac_try) 2>&5
67235 ac_status=$?
67236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67237 (exit $ac_status); }; } &&
67238 { ac_try='test -s conftest.$ac_objext'
67239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67240 (eval $ac_try) 2>&5
67241 ac_status=$?
67242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67243 (exit $ac_status); }; }; then
67244 glibcxx_cv_func__fabsl_use=yes
67245 else
67246 echo "$as_me: failed program was:" >&5
67247 sed 's/^/| /' conftest.$ac_ext >&5
67249 glibcxx_cv_func__fabsl_use=no
67251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67252 ac_ext=c
67253 ac_cpp='$CPP $CPPFLAGS'
67254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67262 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
67263 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
67265 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
67267 for ac_func in _fabsl
67269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67270 echo "$as_me:$LINENO: checking for $ac_func" >&5
67271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67272 if eval "test \"\${$as_ac_var+set}\" = set"; then
67273 echo $ECHO_N "(cached) $ECHO_C" >&6
67274 else
67275 if test x$gcc_no_link = xyes; then
67276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67278 { (exit 1); exit 1; }; }
67280 cat >conftest.$ac_ext <<_ACEOF
67281 /* confdefs.h. */
67282 _ACEOF
67283 cat confdefs.h >>conftest.$ac_ext
67284 cat >>conftest.$ac_ext <<_ACEOF
67285 /* end confdefs.h. */
67286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67288 #define $ac_func innocuous_$ac_func
67290 /* System header to define __stub macros and hopefully few prototypes,
67291 which can conflict with char $ac_func (); below.
67292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67293 <limits.h> exists even on freestanding compilers. */
67295 #ifdef __STDC__
67296 # include <limits.h>
67297 #else
67298 # include <assert.h>
67299 #endif
67301 #undef $ac_func
67303 /* Override any gcc2 internal prototype to avoid an error. */
67304 #ifdef __cplusplus
67305 extern "C"
67307 #endif
67308 /* We use char because int might match the return type of a gcc2
67309 builtin and then its argument prototype would still apply. */
67310 char $ac_func ();
67311 /* The GNU C library defines this for functions which it implements
67312 to always fail with ENOSYS. Some functions are actually named
67313 something starting with __ and the normal name is an alias. */
67314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67315 choke me
67316 #else
67317 char (*f) () = $ac_func;
67318 #endif
67319 #ifdef __cplusplus
67321 #endif
67324 main ()
67326 return f != $ac_func;
67328 return 0;
67330 _ACEOF
67331 rm -f conftest.$ac_objext conftest$ac_exeext
67332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67333 (eval $ac_link) 2>conftest.er1
67334 ac_status=$?
67335 grep -v '^ *+' conftest.er1 >conftest.err
67336 rm -f conftest.er1
67337 cat conftest.err >&5
67338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67339 (exit $ac_status); } &&
67340 { ac_try='test -z "$ac_c_werror_flag"
67341 || test ! -s conftest.err'
67342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67343 (eval $ac_try) 2>&5
67344 ac_status=$?
67345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67346 (exit $ac_status); }; } &&
67347 { ac_try='test -s conftest$ac_exeext'
67348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67349 (eval $ac_try) 2>&5
67350 ac_status=$?
67351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67352 (exit $ac_status); }; }; then
67353 eval "$as_ac_var=yes"
67354 else
67355 echo "$as_me: failed program was:" >&5
67356 sed 's/^/| /' conftest.$ac_ext >&5
67358 eval "$as_ac_var=no"
67360 rm -f conftest.err conftest.$ac_objext \
67361 conftest$ac_exeext conftest.$ac_ext
67363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67365 if test `eval echo '${'$as_ac_var'}'` = yes; then
67366 cat >>confdefs.h <<_ACEOF
67367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67368 _ACEOF
67371 done
67378 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
67379 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
67380 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
67381 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
67382 echo $ECHO_N "(cached) $ECHO_C" >&6
67383 else
67387 ac_ext=cc
67388 ac_cpp='$CXXCPP $CPPFLAGS'
67389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67393 cat >conftest.$ac_ext <<_ACEOF
67394 /* confdefs.h. */
67395 _ACEOF
67396 cat confdefs.h >>conftest.$ac_ext
67397 cat >>conftest.$ac_ext <<_ACEOF
67398 /* end confdefs.h. */
67399 #include <math.h>
67401 main ()
67403 fmodl(0, 0);
67405 return 0;
67407 _ACEOF
67408 rm -f conftest.$ac_objext
67409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67410 (eval $ac_compile) 2>conftest.er1
67411 ac_status=$?
67412 grep -v '^ *+' conftest.er1 >conftest.err
67413 rm -f conftest.er1
67414 cat conftest.err >&5
67415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67416 (exit $ac_status); } &&
67417 { ac_try='test -z "$ac_cxx_werror_flag"
67418 || test ! -s conftest.err'
67419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67420 (eval $ac_try) 2>&5
67421 ac_status=$?
67422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67423 (exit $ac_status); }; } &&
67424 { ac_try='test -s conftest.$ac_objext'
67425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67426 (eval $ac_try) 2>&5
67427 ac_status=$?
67428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67429 (exit $ac_status); }; }; then
67430 glibcxx_cv_func_fmodl_use=yes
67431 else
67432 echo "$as_me: failed program was:" >&5
67433 sed 's/^/| /' conftest.$ac_ext >&5
67435 glibcxx_cv_func_fmodl_use=no
67437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67438 ac_ext=c
67439 ac_cpp='$CPP $CPPFLAGS'
67440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67448 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
67449 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
67451 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
67453 for ac_func in fmodl
67455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67456 echo "$as_me:$LINENO: checking for $ac_func" >&5
67457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67458 if eval "test \"\${$as_ac_var+set}\" = set"; then
67459 echo $ECHO_N "(cached) $ECHO_C" >&6
67460 else
67461 if test x$gcc_no_link = xyes; then
67462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67464 { (exit 1); exit 1; }; }
67466 cat >conftest.$ac_ext <<_ACEOF
67467 /* confdefs.h. */
67468 _ACEOF
67469 cat confdefs.h >>conftest.$ac_ext
67470 cat >>conftest.$ac_ext <<_ACEOF
67471 /* end confdefs.h. */
67472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67474 #define $ac_func innocuous_$ac_func
67476 /* System header to define __stub macros and hopefully few prototypes,
67477 which can conflict with char $ac_func (); below.
67478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67479 <limits.h> exists even on freestanding compilers. */
67481 #ifdef __STDC__
67482 # include <limits.h>
67483 #else
67484 # include <assert.h>
67485 #endif
67487 #undef $ac_func
67489 /* Override any gcc2 internal prototype to avoid an error. */
67490 #ifdef __cplusplus
67491 extern "C"
67493 #endif
67494 /* We use char because int might match the return type of a gcc2
67495 builtin and then its argument prototype would still apply. */
67496 char $ac_func ();
67497 /* The GNU C library defines this for functions which it implements
67498 to always fail with ENOSYS. Some functions are actually named
67499 something starting with __ and the normal name is an alias. */
67500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67501 choke me
67502 #else
67503 char (*f) () = $ac_func;
67504 #endif
67505 #ifdef __cplusplus
67507 #endif
67510 main ()
67512 return f != $ac_func;
67514 return 0;
67516 _ACEOF
67517 rm -f conftest.$ac_objext conftest$ac_exeext
67518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67519 (eval $ac_link) 2>conftest.er1
67520 ac_status=$?
67521 grep -v '^ *+' conftest.er1 >conftest.err
67522 rm -f conftest.er1
67523 cat conftest.err >&5
67524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67525 (exit $ac_status); } &&
67526 { ac_try='test -z "$ac_c_werror_flag"
67527 || test ! -s conftest.err'
67528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67529 (eval $ac_try) 2>&5
67530 ac_status=$?
67531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67532 (exit $ac_status); }; } &&
67533 { ac_try='test -s conftest$ac_exeext'
67534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67535 (eval $ac_try) 2>&5
67536 ac_status=$?
67537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67538 (exit $ac_status); }; }; then
67539 eval "$as_ac_var=yes"
67540 else
67541 echo "$as_me: failed program was:" >&5
67542 sed 's/^/| /' conftest.$ac_ext >&5
67544 eval "$as_ac_var=no"
67546 rm -f conftest.err conftest.$ac_objext \
67547 conftest$ac_exeext conftest.$ac_ext
67549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67551 if test `eval echo '${'$as_ac_var'}'` = yes; then
67552 cat >>confdefs.h <<_ACEOF
67553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67554 _ACEOF
67557 done
67559 else
67561 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
67562 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
67563 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
67564 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
67565 echo $ECHO_N "(cached) $ECHO_C" >&6
67566 else
67570 ac_ext=cc
67571 ac_cpp='$CXXCPP $CPPFLAGS'
67572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67576 cat >conftest.$ac_ext <<_ACEOF
67577 /* confdefs.h. */
67578 _ACEOF
67579 cat confdefs.h >>conftest.$ac_ext
67580 cat >>conftest.$ac_ext <<_ACEOF
67581 /* end confdefs.h. */
67582 #include <math.h>
67584 main ()
67586 _fmodl(0, 0);
67588 return 0;
67590 _ACEOF
67591 rm -f conftest.$ac_objext
67592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67593 (eval $ac_compile) 2>conftest.er1
67594 ac_status=$?
67595 grep -v '^ *+' conftest.er1 >conftest.err
67596 rm -f conftest.er1
67597 cat conftest.err >&5
67598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67599 (exit $ac_status); } &&
67600 { ac_try='test -z "$ac_cxx_werror_flag"
67601 || test ! -s conftest.err'
67602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67603 (eval $ac_try) 2>&5
67604 ac_status=$?
67605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67606 (exit $ac_status); }; } &&
67607 { ac_try='test -s conftest.$ac_objext'
67608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67609 (eval $ac_try) 2>&5
67610 ac_status=$?
67611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67612 (exit $ac_status); }; }; then
67613 glibcxx_cv_func__fmodl_use=yes
67614 else
67615 echo "$as_me: failed program was:" >&5
67616 sed 's/^/| /' conftest.$ac_ext >&5
67618 glibcxx_cv_func__fmodl_use=no
67620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67621 ac_ext=c
67622 ac_cpp='$CPP $CPPFLAGS'
67623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67631 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
67632 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
67634 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
67636 for ac_func in _fmodl
67638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67639 echo "$as_me:$LINENO: checking for $ac_func" >&5
67640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67641 if eval "test \"\${$as_ac_var+set}\" = set"; then
67642 echo $ECHO_N "(cached) $ECHO_C" >&6
67643 else
67644 if test x$gcc_no_link = xyes; then
67645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67647 { (exit 1); exit 1; }; }
67649 cat >conftest.$ac_ext <<_ACEOF
67650 /* confdefs.h. */
67651 _ACEOF
67652 cat confdefs.h >>conftest.$ac_ext
67653 cat >>conftest.$ac_ext <<_ACEOF
67654 /* end confdefs.h. */
67655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67657 #define $ac_func innocuous_$ac_func
67659 /* System header to define __stub macros and hopefully few prototypes,
67660 which can conflict with char $ac_func (); below.
67661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67662 <limits.h> exists even on freestanding compilers. */
67664 #ifdef __STDC__
67665 # include <limits.h>
67666 #else
67667 # include <assert.h>
67668 #endif
67670 #undef $ac_func
67672 /* Override any gcc2 internal prototype to avoid an error. */
67673 #ifdef __cplusplus
67674 extern "C"
67676 #endif
67677 /* We use char because int might match the return type of a gcc2
67678 builtin and then its argument prototype would still apply. */
67679 char $ac_func ();
67680 /* The GNU C library defines this for functions which it implements
67681 to always fail with ENOSYS. Some functions are actually named
67682 something starting with __ and the normal name is an alias. */
67683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67684 choke me
67685 #else
67686 char (*f) () = $ac_func;
67687 #endif
67688 #ifdef __cplusplus
67690 #endif
67693 main ()
67695 return f != $ac_func;
67697 return 0;
67699 _ACEOF
67700 rm -f conftest.$ac_objext conftest$ac_exeext
67701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67702 (eval $ac_link) 2>conftest.er1
67703 ac_status=$?
67704 grep -v '^ *+' conftest.er1 >conftest.err
67705 rm -f conftest.er1
67706 cat conftest.err >&5
67707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67708 (exit $ac_status); } &&
67709 { ac_try='test -z "$ac_c_werror_flag"
67710 || test ! -s conftest.err'
67711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67712 (eval $ac_try) 2>&5
67713 ac_status=$?
67714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67715 (exit $ac_status); }; } &&
67716 { ac_try='test -s conftest$ac_exeext'
67717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67718 (eval $ac_try) 2>&5
67719 ac_status=$?
67720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67721 (exit $ac_status); }; }; then
67722 eval "$as_ac_var=yes"
67723 else
67724 echo "$as_me: failed program was:" >&5
67725 sed 's/^/| /' conftest.$ac_ext >&5
67727 eval "$as_ac_var=no"
67729 rm -f conftest.err conftest.$ac_objext \
67730 conftest$ac_exeext conftest.$ac_ext
67732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67734 if test `eval echo '${'$as_ac_var'}'` = yes; then
67735 cat >>confdefs.h <<_ACEOF
67736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67737 _ACEOF
67740 done
67747 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
67748 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
67749 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
67750 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
67751 echo $ECHO_N "(cached) $ECHO_C" >&6
67752 else
67756 ac_ext=cc
67757 ac_cpp='$CXXCPP $CPPFLAGS'
67758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67762 cat >conftest.$ac_ext <<_ACEOF
67763 /* confdefs.h. */
67764 _ACEOF
67765 cat confdefs.h >>conftest.$ac_ext
67766 cat >>conftest.$ac_ext <<_ACEOF
67767 /* end confdefs.h. */
67768 #include <math.h>
67770 main ()
67772 frexpl(0, 0);
67774 return 0;
67776 _ACEOF
67777 rm -f conftest.$ac_objext
67778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67779 (eval $ac_compile) 2>conftest.er1
67780 ac_status=$?
67781 grep -v '^ *+' conftest.er1 >conftest.err
67782 rm -f conftest.er1
67783 cat conftest.err >&5
67784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67785 (exit $ac_status); } &&
67786 { ac_try='test -z "$ac_cxx_werror_flag"
67787 || test ! -s conftest.err'
67788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67789 (eval $ac_try) 2>&5
67790 ac_status=$?
67791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67792 (exit $ac_status); }; } &&
67793 { ac_try='test -s conftest.$ac_objext'
67794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67795 (eval $ac_try) 2>&5
67796 ac_status=$?
67797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67798 (exit $ac_status); }; }; then
67799 glibcxx_cv_func_frexpl_use=yes
67800 else
67801 echo "$as_me: failed program was:" >&5
67802 sed 's/^/| /' conftest.$ac_ext >&5
67804 glibcxx_cv_func_frexpl_use=no
67806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67807 ac_ext=c
67808 ac_cpp='$CPP $CPPFLAGS'
67809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67817 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
67818 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
67820 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
67822 for ac_func in frexpl
67824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67825 echo "$as_me:$LINENO: checking for $ac_func" >&5
67826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67827 if eval "test \"\${$as_ac_var+set}\" = set"; then
67828 echo $ECHO_N "(cached) $ECHO_C" >&6
67829 else
67830 if test x$gcc_no_link = xyes; then
67831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67833 { (exit 1); exit 1; }; }
67835 cat >conftest.$ac_ext <<_ACEOF
67836 /* confdefs.h. */
67837 _ACEOF
67838 cat confdefs.h >>conftest.$ac_ext
67839 cat >>conftest.$ac_ext <<_ACEOF
67840 /* end confdefs.h. */
67841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67843 #define $ac_func innocuous_$ac_func
67845 /* System header to define __stub macros and hopefully few prototypes,
67846 which can conflict with char $ac_func (); below.
67847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67848 <limits.h> exists even on freestanding compilers. */
67850 #ifdef __STDC__
67851 # include <limits.h>
67852 #else
67853 # include <assert.h>
67854 #endif
67856 #undef $ac_func
67858 /* Override any gcc2 internal prototype to avoid an error. */
67859 #ifdef __cplusplus
67860 extern "C"
67862 #endif
67863 /* We use char because int might match the return type of a gcc2
67864 builtin and then its argument prototype would still apply. */
67865 char $ac_func ();
67866 /* The GNU C library defines this for functions which it implements
67867 to always fail with ENOSYS. Some functions are actually named
67868 something starting with __ and the normal name is an alias. */
67869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67870 choke me
67871 #else
67872 char (*f) () = $ac_func;
67873 #endif
67874 #ifdef __cplusplus
67876 #endif
67879 main ()
67881 return f != $ac_func;
67883 return 0;
67885 _ACEOF
67886 rm -f conftest.$ac_objext conftest$ac_exeext
67887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67888 (eval $ac_link) 2>conftest.er1
67889 ac_status=$?
67890 grep -v '^ *+' conftest.er1 >conftest.err
67891 rm -f conftest.er1
67892 cat conftest.err >&5
67893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67894 (exit $ac_status); } &&
67895 { ac_try='test -z "$ac_c_werror_flag"
67896 || test ! -s conftest.err'
67897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67898 (eval $ac_try) 2>&5
67899 ac_status=$?
67900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67901 (exit $ac_status); }; } &&
67902 { ac_try='test -s conftest$ac_exeext'
67903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67904 (eval $ac_try) 2>&5
67905 ac_status=$?
67906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67907 (exit $ac_status); }; }; then
67908 eval "$as_ac_var=yes"
67909 else
67910 echo "$as_me: failed program was:" >&5
67911 sed 's/^/| /' conftest.$ac_ext >&5
67913 eval "$as_ac_var=no"
67915 rm -f conftest.err conftest.$ac_objext \
67916 conftest$ac_exeext conftest.$ac_ext
67918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67920 if test `eval echo '${'$as_ac_var'}'` = yes; then
67921 cat >>confdefs.h <<_ACEOF
67922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67923 _ACEOF
67926 done
67928 else
67930 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
67931 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
67932 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
67933 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
67934 echo $ECHO_N "(cached) $ECHO_C" >&6
67935 else
67939 ac_ext=cc
67940 ac_cpp='$CXXCPP $CPPFLAGS'
67941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67945 cat >conftest.$ac_ext <<_ACEOF
67946 /* confdefs.h. */
67947 _ACEOF
67948 cat confdefs.h >>conftest.$ac_ext
67949 cat >>conftest.$ac_ext <<_ACEOF
67950 /* end confdefs.h. */
67951 #include <math.h>
67953 main ()
67955 _frexpl(0, 0);
67957 return 0;
67959 _ACEOF
67960 rm -f conftest.$ac_objext
67961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67962 (eval $ac_compile) 2>conftest.er1
67963 ac_status=$?
67964 grep -v '^ *+' conftest.er1 >conftest.err
67965 rm -f conftest.er1
67966 cat conftest.err >&5
67967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67968 (exit $ac_status); } &&
67969 { ac_try='test -z "$ac_cxx_werror_flag"
67970 || test ! -s conftest.err'
67971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67972 (eval $ac_try) 2>&5
67973 ac_status=$?
67974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67975 (exit $ac_status); }; } &&
67976 { ac_try='test -s conftest.$ac_objext'
67977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67978 (eval $ac_try) 2>&5
67979 ac_status=$?
67980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67981 (exit $ac_status); }; }; then
67982 glibcxx_cv_func__frexpl_use=yes
67983 else
67984 echo "$as_me: failed program was:" >&5
67985 sed 's/^/| /' conftest.$ac_ext >&5
67987 glibcxx_cv_func__frexpl_use=no
67989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67990 ac_ext=c
67991 ac_cpp='$CPP $CPPFLAGS'
67992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68000 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
68001 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
68003 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68005 for ac_func in _frexpl
68007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68008 echo "$as_me:$LINENO: checking for $ac_func" >&5
68009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68010 if eval "test \"\${$as_ac_var+set}\" = set"; then
68011 echo $ECHO_N "(cached) $ECHO_C" >&6
68012 else
68013 if test x$gcc_no_link = xyes; then
68014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68016 { (exit 1); exit 1; }; }
68018 cat >conftest.$ac_ext <<_ACEOF
68019 /* confdefs.h. */
68020 _ACEOF
68021 cat confdefs.h >>conftest.$ac_ext
68022 cat >>conftest.$ac_ext <<_ACEOF
68023 /* end confdefs.h. */
68024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68026 #define $ac_func innocuous_$ac_func
68028 /* System header to define __stub macros and hopefully few prototypes,
68029 which can conflict with char $ac_func (); below.
68030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68031 <limits.h> exists even on freestanding compilers. */
68033 #ifdef __STDC__
68034 # include <limits.h>
68035 #else
68036 # include <assert.h>
68037 #endif
68039 #undef $ac_func
68041 /* Override any gcc2 internal prototype to avoid an error. */
68042 #ifdef __cplusplus
68043 extern "C"
68045 #endif
68046 /* We use char because int might match the return type of a gcc2
68047 builtin and then its argument prototype would still apply. */
68048 char $ac_func ();
68049 /* The GNU C library defines this for functions which it implements
68050 to always fail with ENOSYS. Some functions are actually named
68051 something starting with __ and the normal name is an alias. */
68052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68053 choke me
68054 #else
68055 char (*f) () = $ac_func;
68056 #endif
68057 #ifdef __cplusplus
68059 #endif
68062 main ()
68064 return f != $ac_func;
68066 return 0;
68068 _ACEOF
68069 rm -f conftest.$ac_objext conftest$ac_exeext
68070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68071 (eval $ac_link) 2>conftest.er1
68072 ac_status=$?
68073 grep -v '^ *+' conftest.er1 >conftest.err
68074 rm -f conftest.er1
68075 cat conftest.err >&5
68076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68077 (exit $ac_status); } &&
68078 { ac_try='test -z "$ac_c_werror_flag"
68079 || test ! -s conftest.err'
68080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68081 (eval $ac_try) 2>&5
68082 ac_status=$?
68083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68084 (exit $ac_status); }; } &&
68085 { ac_try='test -s conftest$ac_exeext'
68086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68087 (eval $ac_try) 2>&5
68088 ac_status=$?
68089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68090 (exit $ac_status); }; }; then
68091 eval "$as_ac_var=yes"
68092 else
68093 echo "$as_me: failed program was:" >&5
68094 sed 's/^/| /' conftest.$ac_ext >&5
68096 eval "$as_ac_var=no"
68098 rm -f conftest.err conftest.$ac_objext \
68099 conftest$ac_exeext conftest.$ac_ext
68101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68103 if test `eval echo '${'$as_ac_var'}'` = yes; then
68104 cat >>confdefs.h <<_ACEOF
68105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68106 _ACEOF
68109 done
68116 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
68117 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
68118 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68119 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
68120 echo $ECHO_N "(cached) $ECHO_C" >&6
68121 else
68125 ac_ext=cc
68126 ac_cpp='$CXXCPP $CPPFLAGS'
68127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68131 cat >conftest.$ac_ext <<_ACEOF
68132 /* confdefs.h. */
68133 _ACEOF
68134 cat confdefs.h >>conftest.$ac_ext
68135 cat >>conftest.$ac_ext <<_ACEOF
68136 /* end confdefs.h. */
68137 #include <math.h>
68139 main ()
68141 hypotl(0, 0);
68143 return 0;
68145 _ACEOF
68146 rm -f conftest.$ac_objext
68147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68148 (eval $ac_compile) 2>conftest.er1
68149 ac_status=$?
68150 grep -v '^ *+' conftest.er1 >conftest.err
68151 rm -f conftest.er1
68152 cat conftest.err >&5
68153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68154 (exit $ac_status); } &&
68155 { ac_try='test -z "$ac_cxx_werror_flag"
68156 || test ! -s conftest.err'
68157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68158 (eval $ac_try) 2>&5
68159 ac_status=$?
68160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68161 (exit $ac_status); }; } &&
68162 { ac_try='test -s conftest.$ac_objext'
68163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68164 (eval $ac_try) 2>&5
68165 ac_status=$?
68166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68167 (exit $ac_status); }; }; then
68168 glibcxx_cv_func_hypotl_use=yes
68169 else
68170 echo "$as_me: failed program was:" >&5
68171 sed 's/^/| /' conftest.$ac_ext >&5
68173 glibcxx_cv_func_hypotl_use=no
68175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68176 ac_ext=c
68177 ac_cpp='$CPP $CPPFLAGS'
68178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68186 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
68187 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
68189 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68191 for ac_func in hypotl
68193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68194 echo "$as_me:$LINENO: checking for $ac_func" >&5
68195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68196 if eval "test \"\${$as_ac_var+set}\" = set"; then
68197 echo $ECHO_N "(cached) $ECHO_C" >&6
68198 else
68199 if test x$gcc_no_link = xyes; then
68200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68202 { (exit 1); exit 1; }; }
68204 cat >conftest.$ac_ext <<_ACEOF
68205 /* confdefs.h. */
68206 _ACEOF
68207 cat confdefs.h >>conftest.$ac_ext
68208 cat >>conftest.$ac_ext <<_ACEOF
68209 /* end confdefs.h. */
68210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68212 #define $ac_func innocuous_$ac_func
68214 /* System header to define __stub macros and hopefully few prototypes,
68215 which can conflict with char $ac_func (); below.
68216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68217 <limits.h> exists even on freestanding compilers. */
68219 #ifdef __STDC__
68220 # include <limits.h>
68221 #else
68222 # include <assert.h>
68223 #endif
68225 #undef $ac_func
68227 /* Override any gcc2 internal prototype to avoid an error. */
68228 #ifdef __cplusplus
68229 extern "C"
68231 #endif
68232 /* We use char because int might match the return type of a gcc2
68233 builtin and then its argument prototype would still apply. */
68234 char $ac_func ();
68235 /* The GNU C library defines this for functions which it implements
68236 to always fail with ENOSYS. Some functions are actually named
68237 something starting with __ and the normal name is an alias. */
68238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68239 choke me
68240 #else
68241 char (*f) () = $ac_func;
68242 #endif
68243 #ifdef __cplusplus
68245 #endif
68248 main ()
68250 return f != $ac_func;
68252 return 0;
68254 _ACEOF
68255 rm -f conftest.$ac_objext conftest$ac_exeext
68256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68257 (eval $ac_link) 2>conftest.er1
68258 ac_status=$?
68259 grep -v '^ *+' conftest.er1 >conftest.err
68260 rm -f conftest.er1
68261 cat conftest.err >&5
68262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68263 (exit $ac_status); } &&
68264 { ac_try='test -z "$ac_c_werror_flag"
68265 || test ! -s conftest.err'
68266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68267 (eval $ac_try) 2>&5
68268 ac_status=$?
68269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68270 (exit $ac_status); }; } &&
68271 { ac_try='test -s conftest$ac_exeext'
68272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68273 (eval $ac_try) 2>&5
68274 ac_status=$?
68275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68276 (exit $ac_status); }; }; then
68277 eval "$as_ac_var=yes"
68278 else
68279 echo "$as_me: failed program was:" >&5
68280 sed 's/^/| /' conftest.$ac_ext >&5
68282 eval "$as_ac_var=no"
68284 rm -f conftest.err conftest.$ac_objext \
68285 conftest$ac_exeext conftest.$ac_ext
68287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68289 if test `eval echo '${'$as_ac_var'}'` = yes; then
68290 cat >>confdefs.h <<_ACEOF
68291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68292 _ACEOF
68295 done
68297 else
68299 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
68300 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
68301 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68302 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
68303 echo $ECHO_N "(cached) $ECHO_C" >&6
68304 else
68308 ac_ext=cc
68309 ac_cpp='$CXXCPP $CPPFLAGS'
68310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68314 cat >conftest.$ac_ext <<_ACEOF
68315 /* confdefs.h. */
68316 _ACEOF
68317 cat confdefs.h >>conftest.$ac_ext
68318 cat >>conftest.$ac_ext <<_ACEOF
68319 /* end confdefs.h. */
68320 #include <math.h>
68322 main ()
68324 _hypotl(0, 0);
68326 return 0;
68328 _ACEOF
68329 rm -f conftest.$ac_objext
68330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68331 (eval $ac_compile) 2>conftest.er1
68332 ac_status=$?
68333 grep -v '^ *+' conftest.er1 >conftest.err
68334 rm -f conftest.er1
68335 cat conftest.err >&5
68336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68337 (exit $ac_status); } &&
68338 { ac_try='test -z "$ac_cxx_werror_flag"
68339 || test ! -s conftest.err'
68340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68341 (eval $ac_try) 2>&5
68342 ac_status=$?
68343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68344 (exit $ac_status); }; } &&
68345 { ac_try='test -s conftest.$ac_objext'
68346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68347 (eval $ac_try) 2>&5
68348 ac_status=$?
68349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68350 (exit $ac_status); }; }; then
68351 glibcxx_cv_func__hypotl_use=yes
68352 else
68353 echo "$as_me: failed program was:" >&5
68354 sed 's/^/| /' conftest.$ac_ext >&5
68356 glibcxx_cv_func__hypotl_use=no
68358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68359 ac_ext=c
68360 ac_cpp='$CPP $CPPFLAGS'
68361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68369 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
68370 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
68372 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68374 for ac_func in _hypotl
68376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68377 echo "$as_me:$LINENO: checking for $ac_func" >&5
68378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68379 if eval "test \"\${$as_ac_var+set}\" = set"; then
68380 echo $ECHO_N "(cached) $ECHO_C" >&6
68381 else
68382 if test x$gcc_no_link = xyes; then
68383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68385 { (exit 1); exit 1; }; }
68387 cat >conftest.$ac_ext <<_ACEOF
68388 /* confdefs.h. */
68389 _ACEOF
68390 cat confdefs.h >>conftest.$ac_ext
68391 cat >>conftest.$ac_ext <<_ACEOF
68392 /* end confdefs.h. */
68393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68395 #define $ac_func innocuous_$ac_func
68397 /* System header to define __stub macros and hopefully few prototypes,
68398 which can conflict with char $ac_func (); below.
68399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68400 <limits.h> exists even on freestanding compilers. */
68402 #ifdef __STDC__
68403 # include <limits.h>
68404 #else
68405 # include <assert.h>
68406 #endif
68408 #undef $ac_func
68410 /* Override any gcc2 internal prototype to avoid an error. */
68411 #ifdef __cplusplus
68412 extern "C"
68414 #endif
68415 /* We use char because int might match the return type of a gcc2
68416 builtin and then its argument prototype would still apply. */
68417 char $ac_func ();
68418 /* The GNU C library defines this for functions which it implements
68419 to always fail with ENOSYS. Some functions are actually named
68420 something starting with __ and the normal name is an alias. */
68421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68422 choke me
68423 #else
68424 char (*f) () = $ac_func;
68425 #endif
68426 #ifdef __cplusplus
68428 #endif
68431 main ()
68433 return f != $ac_func;
68435 return 0;
68437 _ACEOF
68438 rm -f conftest.$ac_objext conftest$ac_exeext
68439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68440 (eval $ac_link) 2>conftest.er1
68441 ac_status=$?
68442 grep -v '^ *+' conftest.er1 >conftest.err
68443 rm -f conftest.er1
68444 cat conftest.err >&5
68445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68446 (exit $ac_status); } &&
68447 { ac_try='test -z "$ac_c_werror_flag"
68448 || test ! -s conftest.err'
68449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68450 (eval $ac_try) 2>&5
68451 ac_status=$?
68452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68453 (exit $ac_status); }; } &&
68454 { ac_try='test -s conftest$ac_exeext'
68455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68456 (eval $ac_try) 2>&5
68457 ac_status=$?
68458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68459 (exit $ac_status); }; }; then
68460 eval "$as_ac_var=yes"
68461 else
68462 echo "$as_me: failed program was:" >&5
68463 sed 's/^/| /' conftest.$ac_ext >&5
68465 eval "$as_ac_var=no"
68467 rm -f conftest.err conftest.$ac_objext \
68468 conftest$ac_exeext conftest.$ac_ext
68470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68472 if test `eval echo '${'$as_ac_var'}'` = yes; then
68473 cat >>confdefs.h <<_ACEOF
68474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68475 _ACEOF
68478 done
68485 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
68486 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
68487 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68488 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
68489 echo $ECHO_N "(cached) $ECHO_C" >&6
68490 else
68494 ac_ext=cc
68495 ac_cpp='$CXXCPP $CPPFLAGS'
68496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68500 cat >conftest.$ac_ext <<_ACEOF
68501 /* confdefs.h. */
68502 _ACEOF
68503 cat confdefs.h >>conftest.$ac_ext
68504 cat >>conftest.$ac_ext <<_ACEOF
68505 /* end confdefs.h. */
68506 #include <math.h>
68508 main ()
68510 ldexpl(0, 0);
68512 return 0;
68514 _ACEOF
68515 rm -f conftest.$ac_objext
68516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68517 (eval $ac_compile) 2>conftest.er1
68518 ac_status=$?
68519 grep -v '^ *+' conftest.er1 >conftest.err
68520 rm -f conftest.er1
68521 cat conftest.err >&5
68522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68523 (exit $ac_status); } &&
68524 { ac_try='test -z "$ac_cxx_werror_flag"
68525 || test ! -s conftest.err'
68526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68527 (eval $ac_try) 2>&5
68528 ac_status=$?
68529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68530 (exit $ac_status); }; } &&
68531 { ac_try='test -s conftest.$ac_objext'
68532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68533 (eval $ac_try) 2>&5
68534 ac_status=$?
68535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68536 (exit $ac_status); }; }; then
68537 glibcxx_cv_func_ldexpl_use=yes
68538 else
68539 echo "$as_me: failed program was:" >&5
68540 sed 's/^/| /' conftest.$ac_ext >&5
68542 glibcxx_cv_func_ldexpl_use=no
68544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68545 ac_ext=c
68546 ac_cpp='$CPP $CPPFLAGS'
68547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68555 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
68556 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
68558 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68560 for ac_func in ldexpl
68562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68563 echo "$as_me:$LINENO: checking for $ac_func" >&5
68564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68565 if eval "test \"\${$as_ac_var+set}\" = set"; then
68566 echo $ECHO_N "(cached) $ECHO_C" >&6
68567 else
68568 if test x$gcc_no_link = xyes; then
68569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68571 { (exit 1); exit 1; }; }
68573 cat >conftest.$ac_ext <<_ACEOF
68574 /* confdefs.h. */
68575 _ACEOF
68576 cat confdefs.h >>conftest.$ac_ext
68577 cat >>conftest.$ac_ext <<_ACEOF
68578 /* end confdefs.h. */
68579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68581 #define $ac_func innocuous_$ac_func
68583 /* System header to define __stub macros and hopefully few prototypes,
68584 which can conflict with char $ac_func (); below.
68585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68586 <limits.h> exists even on freestanding compilers. */
68588 #ifdef __STDC__
68589 # include <limits.h>
68590 #else
68591 # include <assert.h>
68592 #endif
68594 #undef $ac_func
68596 /* Override any gcc2 internal prototype to avoid an error. */
68597 #ifdef __cplusplus
68598 extern "C"
68600 #endif
68601 /* We use char because int might match the return type of a gcc2
68602 builtin and then its argument prototype would still apply. */
68603 char $ac_func ();
68604 /* The GNU C library defines this for functions which it implements
68605 to always fail with ENOSYS. Some functions are actually named
68606 something starting with __ and the normal name is an alias. */
68607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68608 choke me
68609 #else
68610 char (*f) () = $ac_func;
68611 #endif
68612 #ifdef __cplusplus
68614 #endif
68617 main ()
68619 return f != $ac_func;
68621 return 0;
68623 _ACEOF
68624 rm -f conftest.$ac_objext conftest$ac_exeext
68625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68626 (eval $ac_link) 2>conftest.er1
68627 ac_status=$?
68628 grep -v '^ *+' conftest.er1 >conftest.err
68629 rm -f conftest.er1
68630 cat conftest.err >&5
68631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68632 (exit $ac_status); } &&
68633 { ac_try='test -z "$ac_c_werror_flag"
68634 || test ! -s conftest.err'
68635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68636 (eval $ac_try) 2>&5
68637 ac_status=$?
68638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68639 (exit $ac_status); }; } &&
68640 { ac_try='test -s conftest$ac_exeext'
68641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68642 (eval $ac_try) 2>&5
68643 ac_status=$?
68644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68645 (exit $ac_status); }; }; then
68646 eval "$as_ac_var=yes"
68647 else
68648 echo "$as_me: failed program was:" >&5
68649 sed 's/^/| /' conftest.$ac_ext >&5
68651 eval "$as_ac_var=no"
68653 rm -f conftest.err conftest.$ac_objext \
68654 conftest$ac_exeext conftest.$ac_ext
68656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68658 if test `eval echo '${'$as_ac_var'}'` = yes; then
68659 cat >>confdefs.h <<_ACEOF
68660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68661 _ACEOF
68664 done
68666 else
68668 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
68669 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
68670 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68671 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
68672 echo $ECHO_N "(cached) $ECHO_C" >&6
68673 else
68677 ac_ext=cc
68678 ac_cpp='$CXXCPP $CPPFLAGS'
68679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68683 cat >conftest.$ac_ext <<_ACEOF
68684 /* confdefs.h. */
68685 _ACEOF
68686 cat confdefs.h >>conftest.$ac_ext
68687 cat >>conftest.$ac_ext <<_ACEOF
68688 /* end confdefs.h. */
68689 #include <math.h>
68691 main ()
68693 _ldexpl(0, 0);
68695 return 0;
68697 _ACEOF
68698 rm -f conftest.$ac_objext
68699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68700 (eval $ac_compile) 2>conftest.er1
68701 ac_status=$?
68702 grep -v '^ *+' conftest.er1 >conftest.err
68703 rm -f conftest.er1
68704 cat conftest.err >&5
68705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68706 (exit $ac_status); } &&
68707 { ac_try='test -z "$ac_cxx_werror_flag"
68708 || test ! -s conftest.err'
68709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68710 (eval $ac_try) 2>&5
68711 ac_status=$?
68712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68713 (exit $ac_status); }; } &&
68714 { ac_try='test -s conftest.$ac_objext'
68715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68716 (eval $ac_try) 2>&5
68717 ac_status=$?
68718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68719 (exit $ac_status); }; }; then
68720 glibcxx_cv_func__ldexpl_use=yes
68721 else
68722 echo "$as_me: failed program was:" >&5
68723 sed 's/^/| /' conftest.$ac_ext >&5
68725 glibcxx_cv_func__ldexpl_use=no
68727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68728 ac_ext=c
68729 ac_cpp='$CPP $CPPFLAGS'
68730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68738 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
68739 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
68741 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
68743 for ac_func in _ldexpl
68745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68746 echo "$as_me:$LINENO: checking for $ac_func" >&5
68747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68748 if eval "test \"\${$as_ac_var+set}\" = set"; then
68749 echo $ECHO_N "(cached) $ECHO_C" >&6
68750 else
68751 if test x$gcc_no_link = xyes; then
68752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68754 { (exit 1); exit 1; }; }
68756 cat >conftest.$ac_ext <<_ACEOF
68757 /* confdefs.h. */
68758 _ACEOF
68759 cat confdefs.h >>conftest.$ac_ext
68760 cat >>conftest.$ac_ext <<_ACEOF
68761 /* end confdefs.h. */
68762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68764 #define $ac_func innocuous_$ac_func
68766 /* System header to define __stub macros and hopefully few prototypes,
68767 which can conflict with char $ac_func (); below.
68768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68769 <limits.h> exists even on freestanding compilers. */
68771 #ifdef __STDC__
68772 # include <limits.h>
68773 #else
68774 # include <assert.h>
68775 #endif
68777 #undef $ac_func
68779 /* Override any gcc2 internal prototype to avoid an error. */
68780 #ifdef __cplusplus
68781 extern "C"
68783 #endif
68784 /* We use char because int might match the return type of a gcc2
68785 builtin and then its argument prototype would still apply. */
68786 char $ac_func ();
68787 /* The GNU C library defines this for functions which it implements
68788 to always fail with ENOSYS. Some functions are actually named
68789 something starting with __ and the normal name is an alias. */
68790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68791 choke me
68792 #else
68793 char (*f) () = $ac_func;
68794 #endif
68795 #ifdef __cplusplus
68797 #endif
68800 main ()
68802 return f != $ac_func;
68804 return 0;
68806 _ACEOF
68807 rm -f conftest.$ac_objext conftest$ac_exeext
68808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68809 (eval $ac_link) 2>conftest.er1
68810 ac_status=$?
68811 grep -v '^ *+' conftest.er1 >conftest.err
68812 rm -f conftest.er1
68813 cat conftest.err >&5
68814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68815 (exit $ac_status); } &&
68816 { ac_try='test -z "$ac_c_werror_flag"
68817 || test ! -s conftest.err'
68818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68819 (eval $ac_try) 2>&5
68820 ac_status=$?
68821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68822 (exit $ac_status); }; } &&
68823 { ac_try='test -s conftest$ac_exeext'
68824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68825 (eval $ac_try) 2>&5
68826 ac_status=$?
68827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68828 (exit $ac_status); }; }; then
68829 eval "$as_ac_var=yes"
68830 else
68831 echo "$as_me: failed program was:" >&5
68832 sed 's/^/| /' conftest.$ac_ext >&5
68834 eval "$as_ac_var=no"
68836 rm -f conftest.err conftest.$ac_objext \
68837 conftest$ac_exeext conftest.$ac_ext
68839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68841 if test `eval echo '${'$as_ac_var'}'` = yes; then
68842 cat >>confdefs.h <<_ACEOF
68843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68844 _ACEOF
68847 done
68854 echo "$as_me:$LINENO: checking for logl declaration" >&5
68855 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
68856 if test x${glibcxx_cv_func_logl_use+set} != xset; then
68857 if test "${glibcxx_cv_func_logl_use+set}" = set; then
68858 echo $ECHO_N "(cached) $ECHO_C" >&6
68859 else
68863 ac_ext=cc
68864 ac_cpp='$CXXCPP $CPPFLAGS'
68865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68869 cat >conftest.$ac_ext <<_ACEOF
68870 /* confdefs.h. */
68871 _ACEOF
68872 cat confdefs.h >>conftest.$ac_ext
68873 cat >>conftest.$ac_ext <<_ACEOF
68874 /* end confdefs.h. */
68875 #include <math.h>
68876 #ifdef HAVE_IEEEFP_H
68877 #include <ieeefp.h>
68878 #endif
68881 main ()
68883 logl(0);
68885 return 0;
68887 _ACEOF
68888 rm -f conftest.$ac_objext
68889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68890 (eval $ac_compile) 2>conftest.er1
68891 ac_status=$?
68892 grep -v '^ *+' conftest.er1 >conftest.err
68893 rm -f conftest.er1
68894 cat conftest.err >&5
68895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68896 (exit $ac_status); } &&
68897 { ac_try='test -z "$ac_cxx_werror_flag"
68898 || test ! -s conftest.err'
68899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68900 (eval $ac_try) 2>&5
68901 ac_status=$?
68902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68903 (exit $ac_status); }; } &&
68904 { ac_try='test -s conftest.$ac_objext'
68905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68906 (eval $ac_try) 2>&5
68907 ac_status=$?
68908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68909 (exit $ac_status); }; }; then
68910 glibcxx_cv_func_logl_use=yes
68911 else
68912 echo "$as_me: failed program was:" >&5
68913 sed 's/^/| /' conftest.$ac_ext >&5
68915 glibcxx_cv_func_logl_use=no
68917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68918 ac_ext=c
68919 ac_cpp='$CPP $CPPFLAGS'
68920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68928 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
68929 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
68931 if test x$glibcxx_cv_func_logl_use = x"yes"; then
68933 for ac_func in logl
68935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68936 echo "$as_me:$LINENO: checking for $ac_func" >&5
68937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68938 if eval "test \"\${$as_ac_var+set}\" = set"; then
68939 echo $ECHO_N "(cached) $ECHO_C" >&6
68940 else
68941 if test x$gcc_no_link = xyes; then
68942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68944 { (exit 1); exit 1; }; }
68946 cat >conftest.$ac_ext <<_ACEOF
68947 /* confdefs.h. */
68948 _ACEOF
68949 cat confdefs.h >>conftest.$ac_ext
68950 cat >>conftest.$ac_ext <<_ACEOF
68951 /* end confdefs.h. */
68952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68954 #define $ac_func innocuous_$ac_func
68956 /* System header to define __stub macros and hopefully few prototypes,
68957 which can conflict with char $ac_func (); below.
68958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68959 <limits.h> exists even on freestanding compilers. */
68961 #ifdef __STDC__
68962 # include <limits.h>
68963 #else
68964 # include <assert.h>
68965 #endif
68967 #undef $ac_func
68969 /* Override any gcc2 internal prototype to avoid an error. */
68970 #ifdef __cplusplus
68971 extern "C"
68973 #endif
68974 /* We use char because int might match the return type of a gcc2
68975 builtin and then its argument prototype would still apply. */
68976 char $ac_func ();
68977 /* The GNU C library defines this for functions which it implements
68978 to always fail with ENOSYS. Some functions are actually named
68979 something starting with __ and the normal name is an alias. */
68980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68981 choke me
68982 #else
68983 char (*f) () = $ac_func;
68984 #endif
68985 #ifdef __cplusplus
68987 #endif
68990 main ()
68992 return f != $ac_func;
68994 return 0;
68996 _ACEOF
68997 rm -f conftest.$ac_objext conftest$ac_exeext
68998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68999 (eval $ac_link) 2>conftest.er1
69000 ac_status=$?
69001 grep -v '^ *+' conftest.er1 >conftest.err
69002 rm -f conftest.er1
69003 cat conftest.err >&5
69004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69005 (exit $ac_status); } &&
69006 { ac_try='test -z "$ac_c_werror_flag"
69007 || test ! -s conftest.err'
69008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69009 (eval $ac_try) 2>&5
69010 ac_status=$?
69011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69012 (exit $ac_status); }; } &&
69013 { ac_try='test -s conftest$ac_exeext'
69014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69015 (eval $ac_try) 2>&5
69016 ac_status=$?
69017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69018 (exit $ac_status); }; }; then
69019 eval "$as_ac_var=yes"
69020 else
69021 echo "$as_me: failed program was:" >&5
69022 sed 's/^/| /' conftest.$ac_ext >&5
69024 eval "$as_ac_var=no"
69026 rm -f conftest.err conftest.$ac_objext \
69027 conftest$ac_exeext conftest.$ac_ext
69029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69031 if test `eval echo '${'$as_ac_var'}'` = yes; then
69032 cat >>confdefs.h <<_ACEOF
69033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69034 _ACEOF
69037 done
69039 else
69041 echo "$as_me:$LINENO: checking for _logl declaration" >&5
69042 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
69043 if test x${glibcxx_cv_func__logl_use+set} != xset; then
69044 if test "${glibcxx_cv_func__logl_use+set}" = set; then
69045 echo $ECHO_N "(cached) $ECHO_C" >&6
69046 else
69050 ac_ext=cc
69051 ac_cpp='$CXXCPP $CPPFLAGS'
69052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69056 cat >conftest.$ac_ext <<_ACEOF
69057 /* confdefs.h. */
69058 _ACEOF
69059 cat confdefs.h >>conftest.$ac_ext
69060 cat >>conftest.$ac_ext <<_ACEOF
69061 /* end confdefs.h. */
69062 #include <math.h>
69063 #ifdef HAVE_IEEEFP_H
69064 #include <ieeefp.h>
69065 #endif
69068 main ()
69070 _logl(0);
69072 return 0;
69074 _ACEOF
69075 rm -f conftest.$ac_objext
69076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69077 (eval $ac_compile) 2>conftest.er1
69078 ac_status=$?
69079 grep -v '^ *+' conftest.er1 >conftest.err
69080 rm -f conftest.er1
69081 cat conftest.err >&5
69082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69083 (exit $ac_status); } &&
69084 { ac_try='test -z "$ac_cxx_werror_flag"
69085 || test ! -s conftest.err'
69086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69087 (eval $ac_try) 2>&5
69088 ac_status=$?
69089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69090 (exit $ac_status); }; } &&
69091 { ac_try='test -s conftest.$ac_objext'
69092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69093 (eval $ac_try) 2>&5
69094 ac_status=$?
69095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69096 (exit $ac_status); }; }; then
69097 glibcxx_cv_func__logl_use=yes
69098 else
69099 echo "$as_me: failed program was:" >&5
69100 sed 's/^/| /' conftest.$ac_ext >&5
69102 glibcxx_cv_func__logl_use=no
69104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69105 ac_ext=c
69106 ac_cpp='$CPP $CPPFLAGS'
69107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69115 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
69116 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
69118 if test x$glibcxx_cv_func__logl_use = x"yes"; then
69120 for ac_func in _logl
69122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69123 echo "$as_me:$LINENO: checking for $ac_func" >&5
69124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69125 if eval "test \"\${$as_ac_var+set}\" = set"; then
69126 echo $ECHO_N "(cached) $ECHO_C" >&6
69127 else
69128 if test x$gcc_no_link = xyes; then
69129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69131 { (exit 1); exit 1; }; }
69133 cat >conftest.$ac_ext <<_ACEOF
69134 /* confdefs.h. */
69135 _ACEOF
69136 cat confdefs.h >>conftest.$ac_ext
69137 cat >>conftest.$ac_ext <<_ACEOF
69138 /* end confdefs.h. */
69139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69141 #define $ac_func innocuous_$ac_func
69143 /* System header to define __stub macros and hopefully few prototypes,
69144 which can conflict with char $ac_func (); below.
69145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69146 <limits.h> exists even on freestanding compilers. */
69148 #ifdef __STDC__
69149 # include <limits.h>
69150 #else
69151 # include <assert.h>
69152 #endif
69154 #undef $ac_func
69156 /* Override any gcc2 internal prototype to avoid an error. */
69157 #ifdef __cplusplus
69158 extern "C"
69160 #endif
69161 /* We use char because int might match the return type of a gcc2
69162 builtin and then its argument prototype would still apply. */
69163 char $ac_func ();
69164 /* The GNU C library defines this for functions which it implements
69165 to always fail with ENOSYS. Some functions are actually named
69166 something starting with __ and the normal name is an alias. */
69167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69168 choke me
69169 #else
69170 char (*f) () = $ac_func;
69171 #endif
69172 #ifdef __cplusplus
69174 #endif
69177 main ()
69179 return f != $ac_func;
69181 return 0;
69183 _ACEOF
69184 rm -f conftest.$ac_objext conftest$ac_exeext
69185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69186 (eval $ac_link) 2>conftest.er1
69187 ac_status=$?
69188 grep -v '^ *+' conftest.er1 >conftest.err
69189 rm -f conftest.er1
69190 cat conftest.err >&5
69191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69192 (exit $ac_status); } &&
69193 { ac_try='test -z "$ac_c_werror_flag"
69194 || test ! -s conftest.err'
69195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69196 (eval $ac_try) 2>&5
69197 ac_status=$?
69198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69199 (exit $ac_status); }; } &&
69200 { ac_try='test -s conftest$ac_exeext'
69201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69202 (eval $ac_try) 2>&5
69203 ac_status=$?
69204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69205 (exit $ac_status); }; }; then
69206 eval "$as_ac_var=yes"
69207 else
69208 echo "$as_me: failed program was:" >&5
69209 sed 's/^/| /' conftest.$ac_ext >&5
69211 eval "$as_ac_var=no"
69213 rm -f conftest.err conftest.$ac_objext \
69214 conftest$ac_exeext conftest.$ac_ext
69216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69218 if test `eval echo '${'$as_ac_var'}'` = yes; then
69219 cat >>confdefs.h <<_ACEOF
69220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69221 _ACEOF
69224 done
69231 echo "$as_me:$LINENO: checking for log10l declaration" >&5
69232 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
69233 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69234 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
69235 echo $ECHO_N "(cached) $ECHO_C" >&6
69236 else
69240 ac_ext=cc
69241 ac_cpp='$CXXCPP $CPPFLAGS'
69242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69246 cat >conftest.$ac_ext <<_ACEOF
69247 /* confdefs.h. */
69248 _ACEOF
69249 cat confdefs.h >>conftest.$ac_ext
69250 cat >>conftest.$ac_ext <<_ACEOF
69251 /* end confdefs.h. */
69252 #include <math.h>
69253 #ifdef HAVE_IEEEFP_H
69254 #include <ieeefp.h>
69255 #endif
69258 main ()
69260 log10l(0);
69262 return 0;
69264 _ACEOF
69265 rm -f conftest.$ac_objext
69266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69267 (eval $ac_compile) 2>conftest.er1
69268 ac_status=$?
69269 grep -v '^ *+' conftest.er1 >conftest.err
69270 rm -f conftest.er1
69271 cat conftest.err >&5
69272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69273 (exit $ac_status); } &&
69274 { ac_try='test -z "$ac_cxx_werror_flag"
69275 || test ! -s conftest.err'
69276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69277 (eval $ac_try) 2>&5
69278 ac_status=$?
69279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69280 (exit $ac_status); }; } &&
69281 { ac_try='test -s conftest.$ac_objext'
69282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69283 (eval $ac_try) 2>&5
69284 ac_status=$?
69285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69286 (exit $ac_status); }; }; then
69287 glibcxx_cv_func_log10l_use=yes
69288 else
69289 echo "$as_me: failed program was:" >&5
69290 sed 's/^/| /' conftest.$ac_ext >&5
69292 glibcxx_cv_func_log10l_use=no
69294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69295 ac_ext=c
69296 ac_cpp='$CPP $CPPFLAGS'
69297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69305 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
69306 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
69308 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69310 for ac_func in log10l
69312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69313 echo "$as_me:$LINENO: checking for $ac_func" >&5
69314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69315 if eval "test \"\${$as_ac_var+set}\" = set"; then
69316 echo $ECHO_N "(cached) $ECHO_C" >&6
69317 else
69318 if test x$gcc_no_link = xyes; then
69319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69321 { (exit 1); exit 1; }; }
69323 cat >conftest.$ac_ext <<_ACEOF
69324 /* confdefs.h. */
69325 _ACEOF
69326 cat confdefs.h >>conftest.$ac_ext
69327 cat >>conftest.$ac_ext <<_ACEOF
69328 /* end confdefs.h. */
69329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69331 #define $ac_func innocuous_$ac_func
69333 /* System header to define __stub macros and hopefully few prototypes,
69334 which can conflict with char $ac_func (); below.
69335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69336 <limits.h> exists even on freestanding compilers. */
69338 #ifdef __STDC__
69339 # include <limits.h>
69340 #else
69341 # include <assert.h>
69342 #endif
69344 #undef $ac_func
69346 /* Override any gcc2 internal prototype to avoid an error. */
69347 #ifdef __cplusplus
69348 extern "C"
69350 #endif
69351 /* We use char because int might match the return type of a gcc2
69352 builtin and then its argument prototype would still apply. */
69353 char $ac_func ();
69354 /* The GNU C library defines this for functions which it implements
69355 to always fail with ENOSYS. Some functions are actually named
69356 something starting with __ and the normal name is an alias. */
69357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69358 choke me
69359 #else
69360 char (*f) () = $ac_func;
69361 #endif
69362 #ifdef __cplusplus
69364 #endif
69367 main ()
69369 return f != $ac_func;
69371 return 0;
69373 _ACEOF
69374 rm -f conftest.$ac_objext conftest$ac_exeext
69375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69376 (eval $ac_link) 2>conftest.er1
69377 ac_status=$?
69378 grep -v '^ *+' conftest.er1 >conftest.err
69379 rm -f conftest.er1
69380 cat conftest.err >&5
69381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69382 (exit $ac_status); } &&
69383 { ac_try='test -z "$ac_c_werror_flag"
69384 || test ! -s conftest.err'
69385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69386 (eval $ac_try) 2>&5
69387 ac_status=$?
69388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69389 (exit $ac_status); }; } &&
69390 { ac_try='test -s conftest$ac_exeext'
69391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69392 (eval $ac_try) 2>&5
69393 ac_status=$?
69394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69395 (exit $ac_status); }; }; then
69396 eval "$as_ac_var=yes"
69397 else
69398 echo "$as_me: failed program was:" >&5
69399 sed 's/^/| /' conftest.$ac_ext >&5
69401 eval "$as_ac_var=no"
69403 rm -f conftest.err conftest.$ac_objext \
69404 conftest$ac_exeext conftest.$ac_ext
69406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69408 if test `eval echo '${'$as_ac_var'}'` = yes; then
69409 cat >>confdefs.h <<_ACEOF
69410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69411 _ACEOF
69414 done
69416 else
69418 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
69419 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
69420 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69421 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
69422 echo $ECHO_N "(cached) $ECHO_C" >&6
69423 else
69427 ac_ext=cc
69428 ac_cpp='$CXXCPP $CPPFLAGS'
69429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69433 cat >conftest.$ac_ext <<_ACEOF
69434 /* confdefs.h. */
69435 _ACEOF
69436 cat confdefs.h >>conftest.$ac_ext
69437 cat >>conftest.$ac_ext <<_ACEOF
69438 /* end confdefs.h. */
69439 #include <math.h>
69440 #ifdef HAVE_IEEEFP_H
69441 #include <ieeefp.h>
69442 #endif
69445 main ()
69447 _log10l(0);
69449 return 0;
69451 _ACEOF
69452 rm -f conftest.$ac_objext
69453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69454 (eval $ac_compile) 2>conftest.er1
69455 ac_status=$?
69456 grep -v '^ *+' conftest.er1 >conftest.err
69457 rm -f conftest.er1
69458 cat conftest.err >&5
69459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69460 (exit $ac_status); } &&
69461 { ac_try='test -z "$ac_cxx_werror_flag"
69462 || test ! -s conftest.err'
69463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69464 (eval $ac_try) 2>&5
69465 ac_status=$?
69466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69467 (exit $ac_status); }; } &&
69468 { ac_try='test -s conftest.$ac_objext'
69469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69470 (eval $ac_try) 2>&5
69471 ac_status=$?
69472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69473 (exit $ac_status); }; }; then
69474 glibcxx_cv_func__log10l_use=yes
69475 else
69476 echo "$as_me: failed program was:" >&5
69477 sed 's/^/| /' conftest.$ac_ext >&5
69479 glibcxx_cv_func__log10l_use=no
69481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69482 ac_ext=c
69483 ac_cpp='$CPP $CPPFLAGS'
69484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69492 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
69493 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
69495 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69497 for ac_func in _log10l
69499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69500 echo "$as_me:$LINENO: checking for $ac_func" >&5
69501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69502 if eval "test \"\${$as_ac_var+set}\" = set"; then
69503 echo $ECHO_N "(cached) $ECHO_C" >&6
69504 else
69505 if test x$gcc_no_link = xyes; then
69506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69508 { (exit 1); exit 1; }; }
69510 cat >conftest.$ac_ext <<_ACEOF
69511 /* confdefs.h. */
69512 _ACEOF
69513 cat confdefs.h >>conftest.$ac_ext
69514 cat >>conftest.$ac_ext <<_ACEOF
69515 /* end confdefs.h. */
69516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69518 #define $ac_func innocuous_$ac_func
69520 /* System header to define __stub macros and hopefully few prototypes,
69521 which can conflict with char $ac_func (); below.
69522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69523 <limits.h> exists even on freestanding compilers. */
69525 #ifdef __STDC__
69526 # include <limits.h>
69527 #else
69528 # include <assert.h>
69529 #endif
69531 #undef $ac_func
69533 /* Override any gcc2 internal prototype to avoid an error. */
69534 #ifdef __cplusplus
69535 extern "C"
69537 #endif
69538 /* We use char because int might match the return type of a gcc2
69539 builtin and then its argument prototype would still apply. */
69540 char $ac_func ();
69541 /* The GNU C library defines this for functions which it implements
69542 to always fail with ENOSYS. Some functions are actually named
69543 something starting with __ and the normal name is an alias. */
69544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69545 choke me
69546 #else
69547 char (*f) () = $ac_func;
69548 #endif
69549 #ifdef __cplusplus
69551 #endif
69554 main ()
69556 return f != $ac_func;
69558 return 0;
69560 _ACEOF
69561 rm -f conftest.$ac_objext conftest$ac_exeext
69562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69563 (eval $ac_link) 2>conftest.er1
69564 ac_status=$?
69565 grep -v '^ *+' conftest.er1 >conftest.err
69566 rm -f conftest.er1
69567 cat conftest.err >&5
69568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69569 (exit $ac_status); } &&
69570 { ac_try='test -z "$ac_c_werror_flag"
69571 || test ! -s conftest.err'
69572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69573 (eval $ac_try) 2>&5
69574 ac_status=$?
69575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69576 (exit $ac_status); }; } &&
69577 { ac_try='test -s conftest$ac_exeext'
69578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69579 (eval $ac_try) 2>&5
69580 ac_status=$?
69581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69582 (exit $ac_status); }; }; then
69583 eval "$as_ac_var=yes"
69584 else
69585 echo "$as_me: failed program was:" >&5
69586 sed 's/^/| /' conftest.$ac_ext >&5
69588 eval "$as_ac_var=no"
69590 rm -f conftest.err conftest.$ac_objext \
69591 conftest$ac_exeext conftest.$ac_ext
69593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69595 if test `eval echo '${'$as_ac_var'}'` = yes; then
69596 cat >>confdefs.h <<_ACEOF
69597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69598 _ACEOF
69601 done
69608 echo "$as_me:$LINENO: checking for modfl declaration" >&5
69609 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
69610 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
69611 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
69612 echo $ECHO_N "(cached) $ECHO_C" >&6
69613 else
69617 ac_ext=cc
69618 ac_cpp='$CXXCPP $CPPFLAGS'
69619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69623 cat >conftest.$ac_ext <<_ACEOF
69624 /* confdefs.h. */
69625 _ACEOF
69626 cat confdefs.h >>conftest.$ac_ext
69627 cat >>conftest.$ac_ext <<_ACEOF
69628 /* end confdefs.h. */
69629 #include <math.h>
69631 main ()
69633 modfl(0, 0);
69635 return 0;
69637 _ACEOF
69638 rm -f conftest.$ac_objext
69639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69640 (eval $ac_compile) 2>conftest.er1
69641 ac_status=$?
69642 grep -v '^ *+' conftest.er1 >conftest.err
69643 rm -f conftest.er1
69644 cat conftest.err >&5
69645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69646 (exit $ac_status); } &&
69647 { ac_try='test -z "$ac_cxx_werror_flag"
69648 || test ! -s conftest.err'
69649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69650 (eval $ac_try) 2>&5
69651 ac_status=$?
69652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69653 (exit $ac_status); }; } &&
69654 { ac_try='test -s conftest.$ac_objext'
69655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69656 (eval $ac_try) 2>&5
69657 ac_status=$?
69658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69659 (exit $ac_status); }; }; then
69660 glibcxx_cv_func_modfl_use=yes
69661 else
69662 echo "$as_me: failed program was:" >&5
69663 sed 's/^/| /' conftest.$ac_ext >&5
69665 glibcxx_cv_func_modfl_use=no
69667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69668 ac_ext=c
69669 ac_cpp='$CPP $CPPFLAGS'
69670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69678 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
69679 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
69681 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
69683 for ac_func in modfl
69685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69686 echo "$as_me:$LINENO: checking for $ac_func" >&5
69687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69688 if eval "test \"\${$as_ac_var+set}\" = set"; then
69689 echo $ECHO_N "(cached) $ECHO_C" >&6
69690 else
69691 if test x$gcc_no_link = xyes; then
69692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69694 { (exit 1); exit 1; }; }
69696 cat >conftest.$ac_ext <<_ACEOF
69697 /* confdefs.h. */
69698 _ACEOF
69699 cat confdefs.h >>conftest.$ac_ext
69700 cat >>conftest.$ac_ext <<_ACEOF
69701 /* end confdefs.h. */
69702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69704 #define $ac_func innocuous_$ac_func
69706 /* System header to define __stub macros and hopefully few prototypes,
69707 which can conflict with char $ac_func (); below.
69708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69709 <limits.h> exists even on freestanding compilers. */
69711 #ifdef __STDC__
69712 # include <limits.h>
69713 #else
69714 # include <assert.h>
69715 #endif
69717 #undef $ac_func
69719 /* Override any gcc2 internal prototype to avoid an error. */
69720 #ifdef __cplusplus
69721 extern "C"
69723 #endif
69724 /* We use char because int might match the return type of a gcc2
69725 builtin and then its argument prototype would still apply. */
69726 char $ac_func ();
69727 /* The GNU C library defines this for functions which it implements
69728 to always fail with ENOSYS. Some functions are actually named
69729 something starting with __ and the normal name is an alias. */
69730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69731 choke me
69732 #else
69733 char (*f) () = $ac_func;
69734 #endif
69735 #ifdef __cplusplus
69737 #endif
69740 main ()
69742 return f != $ac_func;
69744 return 0;
69746 _ACEOF
69747 rm -f conftest.$ac_objext conftest$ac_exeext
69748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69749 (eval $ac_link) 2>conftest.er1
69750 ac_status=$?
69751 grep -v '^ *+' conftest.er1 >conftest.err
69752 rm -f conftest.er1
69753 cat conftest.err >&5
69754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69755 (exit $ac_status); } &&
69756 { ac_try='test -z "$ac_c_werror_flag"
69757 || test ! -s conftest.err'
69758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69759 (eval $ac_try) 2>&5
69760 ac_status=$?
69761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69762 (exit $ac_status); }; } &&
69763 { ac_try='test -s conftest$ac_exeext'
69764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69765 (eval $ac_try) 2>&5
69766 ac_status=$?
69767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69768 (exit $ac_status); }; }; then
69769 eval "$as_ac_var=yes"
69770 else
69771 echo "$as_me: failed program was:" >&5
69772 sed 's/^/| /' conftest.$ac_ext >&5
69774 eval "$as_ac_var=no"
69776 rm -f conftest.err conftest.$ac_objext \
69777 conftest$ac_exeext conftest.$ac_ext
69779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69781 if test `eval echo '${'$as_ac_var'}'` = yes; then
69782 cat >>confdefs.h <<_ACEOF
69783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69784 _ACEOF
69787 done
69789 else
69791 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
69792 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
69793 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
69794 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
69795 echo $ECHO_N "(cached) $ECHO_C" >&6
69796 else
69800 ac_ext=cc
69801 ac_cpp='$CXXCPP $CPPFLAGS'
69802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69806 cat >conftest.$ac_ext <<_ACEOF
69807 /* confdefs.h. */
69808 _ACEOF
69809 cat confdefs.h >>conftest.$ac_ext
69810 cat >>conftest.$ac_ext <<_ACEOF
69811 /* end confdefs.h. */
69812 #include <math.h>
69814 main ()
69816 _modfl(0, 0);
69818 return 0;
69820 _ACEOF
69821 rm -f conftest.$ac_objext
69822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69823 (eval $ac_compile) 2>conftest.er1
69824 ac_status=$?
69825 grep -v '^ *+' conftest.er1 >conftest.err
69826 rm -f conftest.er1
69827 cat conftest.err >&5
69828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69829 (exit $ac_status); } &&
69830 { ac_try='test -z "$ac_cxx_werror_flag"
69831 || test ! -s conftest.err'
69832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69833 (eval $ac_try) 2>&5
69834 ac_status=$?
69835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69836 (exit $ac_status); }; } &&
69837 { ac_try='test -s conftest.$ac_objext'
69838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69839 (eval $ac_try) 2>&5
69840 ac_status=$?
69841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69842 (exit $ac_status); }; }; then
69843 glibcxx_cv_func__modfl_use=yes
69844 else
69845 echo "$as_me: failed program was:" >&5
69846 sed 's/^/| /' conftest.$ac_ext >&5
69848 glibcxx_cv_func__modfl_use=no
69850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69851 ac_ext=c
69852 ac_cpp='$CPP $CPPFLAGS'
69853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69861 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
69862 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
69864 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
69866 for ac_func in _modfl
69868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69869 echo "$as_me:$LINENO: checking for $ac_func" >&5
69870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69871 if eval "test \"\${$as_ac_var+set}\" = set"; then
69872 echo $ECHO_N "(cached) $ECHO_C" >&6
69873 else
69874 if test x$gcc_no_link = xyes; then
69875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69877 { (exit 1); exit 1; }; }
69879 cat >conftest.$ac_ext <<_ACEOF
69880 /* confdefs.h. */
69881 _ACEOF
69882 cat confdefs.h >>conftest.$ac_ext
69883 cat >>conftest.$ac_ext <<_ACEOF
69884 /* end confdefs.h. */
69885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69887 #define $ac_func innocuous_$ac_func
69889 /* System header to define __stub macros and hopefully few prototypes,
69890 which can conflict with char $ac_func (); below.
69891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69892 <limits.h> exists even on freestanding compilers. */
69894 #ifdef __STDC__
69895 # include <limits.h>
69896 #else
69897 # include <assert.h>
69898 #endif
69900 #undef $ac_func
69902 /* Override any gcc2 internal prototype to avoid an error. */
69903 #ifdef __cplusplus
69904 extern "C"
69906 #endif
69907 /* We use char because int might match the return type of a gcc2
69908 builtin and then its argument prototype would still apply. */
69909 char $ac_func ();
69910 /* The GNU C library defines this for functions which it implements
69911 to always fail with ENOSYS. Some functions are actually named
69912 something starting with __ and the normal name is an alias. */
69913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69914 choke me
69915 #else
69916 char (*f) () = $ac_func;
69917 #endif
69918 #ifdef __cplusplus
69920 #endif
69923 main ()
69925 return f != $ac_func;
69927 return 0;
69929 _ACEOF
69930 rm -f conftest.$ac_objext conftest$ac_exeext
69931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69932 (eval $ac_link) 2>conftest.er1
69933 ac_status=$?
69934 grep -v '^ *+' conftest.er1 >conftest.err
69935 rm -f conftest.er1
69936 cat conftest.err >&5
69937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69938 (exit $ac_status); } &&
69939 { ac_try='test -z "$ac_c_werror_flag"
69940 || test ! -s conftest.err'
69941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69942 (eval $ac_try) 2>&5
69943 ac_status=$?
69944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69945 (exit $ac_status); }; } &&
69946 { ac_try='test -s conftest$ac_exeext'
69947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69948 (eval $ac_try) 2>&5
69949 ac_status=$?
69950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69951 (exit $ac_status); }; }; then
69952 eval "$as_ac_var=yes"
69953 else
69954 echo "$as_me: failed program was:" >&5
69955 sed 's/^/| /' conftest.$ac_ext >&5
69957 eval "$as_ac_var=no"
69959 rm -f conftest.err conftest.$ac_objext \
69960 conftest$ac_exeext conftest.$ac_ext
69962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69964 if test `eval echo '${'$as_ac_var'}'` = yes; then
69965 cat >>confdefs.h <<_ACEOF
69966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69967 _ACEOF
69970 done
69977 echo "$as_me:$LINENO: checking for powl declaration" >&5
69978 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
69979 if test x${glibcxx_cv_func_powl_use+set} != xset; then
69980 if test "${glibcxx_cv_func_powl_use+set}" = set; then
69981 echo $ECHO_N "(cached) $ECHO_C" >&6
69982 else
69986 ac_ext=cc
69987 ac_cpp='$CXXCPP $CPPFLAGS'
69988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69992 cat >conftest.$ac_ext <<_ACEOF
69993 /* confdefs.h. */
69994 _ACEOF
69995 cat confdefs.h >>conftest.$ac_ext
69996 cat >>conftest.$ac_ext <<_ACEOF
69997 /* end confdefs.h. */
69998 #include <math.h>
70000 main ()
70002 powl(0, 0);
70004 return 0;
70006 _ACEOF
70007 rm -f conftest.$ac_objext
70008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70009 (eval $ac_compile) 2>conftest.er1
70010 ac_status=$?
70011 grep -v '^ *+' conftest.er1 >conftest.err
70012 rm -f conftest.er1
70013 cat conftest.err >&5
70014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70015 (exit $ac_status); } &&
70016 { ac_try='test -z "$ac_cxx_werror_flag"
70017 || test ! -s conftest.err'
70018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70019 (eval $ac_try) 2>&5
70020 ac_status=$?
70021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70022 (exit $ac_status); }; } &&
70023 { ac_try='test -s conftest.$ac_objext'
70024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70025 (eval $ac_try) 2>&5
70026 ac_status=$?
70027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70028 (exit $ac_status); }; }; then
70029 glibcxx_cv_func_powl_use=yes
70030 else
70031 echo "$as_me: failed program was:" >&5
70032 sed 's/^/| /' conftest.$ac_ext >&5
70034 glibcxx_cv_func_powl_use=no
70036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70037 ac_ext=c
70038 ac_cpp='$CPP $CPPFLAGS'
70039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70047 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
70048 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
70050 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70052 for ac_func in powl
70054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70055 echo "$as_me:$LINENO: checking for $ac_func" >&5
70056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70057 if eval "test \"\${$as_ac_var+set}\" = set"; then
70058 echo $ECHO_N "(cached) $ECHO_C" >&6
70059 else
70060 if test x$gcc_no_link = xyes; then
70061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70063 { (exit 1); exit 1; }; }
70065 cat >conftest.$ac_ext <<_ACEOF
70066 /* confdefs.h. */
70067 _ACEOF
70068 cat confdefs.h >>conftest.$ac_ext
70069 cat >>conftest.$ac_ext <<_ACEOF
70070 /* end confdefs.h. */
70071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70073 #define $ac_func innocuous_$ac_func
70075 /* System header to define __stub macros and hopefully few prototypes,
70076 which can conflict with char $ac_func (); below.
70077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70078 <limits.h> exists even on freestanding compilers. */
70080 #ifdef __STDC__
70081 # include <limits.h>
70082 #else
70083 # include <assert.h>
70084 #endif
70086 #undef $ac_func
70088 /* Override any gcc2 internal prototype to avoid an error. */
70089 #ifdef __cplusplus
70090 extern "C"
70092 #endif
70093 /* We use char because int might match the return type of a gcc2
70094 builtin and then its argument prototype would still apply. */
70095 char $ac_func ();
70096 /* The GNU C library defines this for functions which it implements
70097 to always fail with ENOSYS. Some functions are actually named
70098 something starting with __ and the normal name is an alias. */
70099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70100 choke me
70101 #else
70102 char (*f) () = $ac_func;
70103 #endif
70104 #ifdef __cplusplus
70106 #endif
70109 main ()
70111 return f != $ac_func;
70113 return 0;
70115 _ACEOF
70116 rm -f conftest.$ac_objext conftest$ac_exeext
70117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70118 (eval $ac_link) 2>conftest.er1
70119 ac_status=$?
70120 grep -v '^ *+' conftest.er1 >conftest.err
70121 rm -f conftest.er1
70122 cat conftest.err >&5
70123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70124 (exit $ac_status); } &&
70125 { ac_try='test -z "$ac_c_werror_flag"
70126 || test ! -s conftest.err'
70127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70128 (eval $ac_try) 2>&5
70129 ac_status=$?
70130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70131 (exit $ac_status); }; } &&
70132 { ac_try='test -s conftest$ac_exeext'
70133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70134 (eval $ac_try) 2>&5
70135 ac_status=$?
70136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70137 (exit $ac_status); }; }; then
70138 eval "$as_ac_var=yes"
70139 else
70140 echo "$as_me: failed program was:" >&5
70141 sed 's/^/| /' conftest.$ac_ext >&5
70143 eval "$as_ac_var=no"
70145 rm -f conftest.err conftest.$ac_objext \
70146 conftest$ac_exeext conftest.$ac_ext
70148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70150 if test `eval echo '${'$as_ac_var'}'` = yes; then
70151 cat >>confdefs.h <<_ACEOF
70152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70153 _ACEOF
70156 done
70158 else
70160 echo "$as_me:$LINENO: checking for _powl declaration" >&5
70161 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
70162 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70163 if test "${glibcxx_cv_func__powl_use+set}" = set; then
70164 echo $ECHO_N "(cached) $ECHO_C" >&6
70165 else
70169 ac_ext=cc
70170 ac_cpp='$CXXCPP $CPPFLAGS'
70171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70175 cat >conftest.$ac_ext <<_ACEOF
70176 /* confdefs.h. */
70177 _ACEOF
70178 cat confdefs.h >>conftest.$ac_ext
70179 cat >>conftest.$ac_ext <<_ACEOF
70180 /* end confdefs.h. */
70181 #include <math.h>
70183 main ()
70185 _powl(0, 0);
70187 return 0;
70189 _ACEOF
70190 rm -f conftest.$ac_objext
70191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70192 (eval $ac_compile) 2>conftest.er1
70193 ac_status=$?
70194 grep -v '^ *+' conftest.er1 >conftest.err
70195 rm -f conftest.er1
70196 cat conftest.err >&5
70197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70198 (exit $ac_status); } &&
70199 { ac_try='test -z "$ac_cxx_werror_flag"
70200 || test ! -s conftest.err'
70201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70202 (eval $ac_try) 2>&5
70203 ac_status=$?
70204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70205 (exit $ac_status); }; } &&
70206 { ac_try='test -s conftest.$ac_objext'
70207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70208 (eval $ac_try) 2>&5
70209 ac_status=$?
70210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70211 (exit $ac_status); }; }; then
70212 glibcxx_cv_func__powl_use=yes
70213 else
70214 echo "$as_me: failed program was:" >&5
70215 sed 's/^/| /' conftest.$ac_ext >&5
70217 glibcxx_cv_func__powl_use=no
70219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70220 ac_ext=c
70221 ac_cpp='$CPP $CPPFLAGS'
70222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70230 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
70231 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
70233 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70235 for ac_func in _powl
70237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70238 echo "$as_me:$LINENO: checking for $ac_func" >&5
70239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70240 if eval "test \"\${$as_ac_var+set}\" = set"; then
70241 echo $ECHO_N "(cached) $ECHO_C" >&6
70242 else
70243 if test x$gcc_no_link = xyes; then
70244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70246 { (exit 1); exit 1; }; }
70248 cat >conftest.$ac_ext <<_ACEOF
70249 /* confdefs.h. */
70250 _ACEOF
70251 cat confdefs.h >>conftest.$ac_ext
70252 cat >>conftest.$ac_ext <<_ACEOF
70253 /* end confdefs.h. */
70254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70256 #define $ac_func innocuous_$ac_func
70258 /* System header to define __stub macros and hopefully few prototypes,
70259 which can conflict with char $ac_func (); below.
70260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70261 <limits.h> exists even on freestanding compilers. */
70263 #ifdef __STDC__
70264 # include <limits.h>
70265 #else
70266 # include <assert.h>
70267 #endif
70269 #undef $ac_func
70271 /* Override any gcc2 internal prototype to avoid an error. */
70272 #ifdef __cplusplus
70273 extern "C"
70275 #endif
70276 /* We use char because int might match the return type of a gcc2
70277 builtin and then its argument prototype would still apply. */
70278 char $ac_func ();
70279 /* The GNU C library defines this for functions which it implements
70280 to always fail with ENOSYS. Some functions are actually named
70281 something starting with __ and the normal name is an alias. */
70282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70283 choke me
70284 #else
70285 char (*f) () = $ac_func;
70286 #endif
70287 #ifdef __cplusplus
70289 #endif
70292 main ()
70294 return f != $ac_func;
70296 return 0;
70298 _ACEOF
70299 rm -f conftest.$ac_objext conftest$ac_exeext
70300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70301 (eval $ac_link) 2>conftest.er1
70302 ac_status=$?
70303 grep -v '^ *+' conftest.er1 >conftest.err
70304 rm -f conftest.er1
70305 cat conftest.err >&5
70306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70307 (exit $ac_status); } &&
70308 { ac_try='test -z "$ac_c_werror_flag"
70309 || test ! -s conftest.err'
70310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70311 (eval $ac_try) 2>&5
70312 ac_status=$?
70313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70314 (exit $ac_status); }; } &&
70315 { ac_try='test -s conftest$ac_exeext'
70316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70317 (eval $ac_try) 2>&5
70318 ac_status=$?
70319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70320 (exit $ac_status); }; }; then
70321 eval "$as_ac_var=yes"
70322 else
70323 echo "$as_me: failed program was:" >&5
70324 sed 's/^/| /' conftest.$ac_ext >&5
70326 eval "$as_ac_var=no"
70328 rm -f conftest.err conftest.$ac_objext \
70329 conftest$ac_exeext conftest.$ac_ext
70331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70333 if test `eval echo '${'$as_ac_var'}'` = yes; then
70334 cat >>confdefs.h <<_ACEOF
70335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70336 _ACEOF
70339 done
70346 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
70347 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
70348 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70349 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
70350 echo $ECHO_N "(cached) $ECHO_C" >&6
70351 else
70355 ac_ext=cc
70356 ac_cpp='$CXXCPP $CPPFLAGS'
70357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70361 cat >conftest.$ac_ext <<_ACEOF
70362 /* confdefs.h. */
70363 _ACEOF
70364 cat confdefs.h >>conftest.$ac_ext
70365 cat >>conftest.$ac_ext <<_ACEOF
70366 /* end confdefs.h. */
70367 #include <math.h>
70368 #ifdef HAVE_IEEEFP_H
70369 #include <ieeefp.h>
70370 #endif
70373 main ()
70375 sqrtl(0);
70377 return 0;
70379 _ACEOF
70380 rm -f conftest.$ac_objext
70381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70382 (eval $ac_compile) 2>conftest.er1
70383 ac_status=$?
70384 grep -v '^ *+' conftest.er1 >conftest.err
70385 rm -f conftest.er1
70386 cat conftest.err >&5
70387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70388 (exit $ac_status); } &&
70389 { ac_try='test -z "$ac_cxx_werror_flag"
70390 || test ! -s conftest.err'
70391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70392 (eval $ac_try) 2>&5
70393 ac_status=$?
70394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70395 (exit $ac_status); }; } &&
70396 { ac_try='test -s conftest.$ac_objext'
70397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70398 (eval $ac_try) 2>&5
70399 ac_status=$?
70400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70401 (exit $ac_status); }; }; then
70402 glibcxx_cv_func_sqrtl_use=yes
70403 else
70404 echo "$as_me: failed program was:" >&5
70405 sed 's/^/| /' conftest.$ac_ext >&5
70407 glibcxx_cv_func_sqrtl_use=no
70409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70410 ac_ext=c
70411 ac_cpp='$CPP $CPPFLAGS'
70412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70420 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
70421 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
70423 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70425 for ac_func in sqrtl
70427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70428 echo "$as_me:$LINENO: checking for $ac_func" >&5
70429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70430 if eval "test \"\${$as_ac_var+set}\" = set"; then
70431 echo $ECHO_N "(cached) $ECHO_C" >&6
70432 else
70433 if test x$gcc_no_link = xyes; then
70434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70436 { (exit 1); exit 1; }; }
70438 cat >conftest.$ac_ext <<_ACEOF
70439 /* confdefs.h. */
70440 _ACEOF
70441 cat confdefs.h >>conftest.$ac_ext
70442 cat >>conftest.$ac_ext <<_ACEOF
70443 /* end confdefs.h. */
70444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70446 #define $ac_func innocuous_$ac_func
70448 /* System header to define __stub macros and hopefully few prototypes,
70449 which can conflict with char $ac_func (); below.
70450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70451 <limits.h> exists even on freestanding compilers. */
70453 #ifdef __STDC__
70454 # include <limits.h>
70455 #else
70456 # include <assert.h>
70457 #endif
70459 #undef $ac_func
70461 /* Override any gcc2 internal prototype to avoid an error. */
70462 #ifdef __cplusplus
70463 extern "C"
70465 #endif
70466 /* We use char because int might match the return type of a gcc2
70467 builtin and then its argument prototype would still apply. */
70468 char $ac_func ();
70469 /* The GNU C library defines this for functions which it implements
70470 to always fail with ENOSYS. Some functions are actually named
70471 something starting with __ and the normal name is an alias. */
70472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70473 choke me
70474 #else
70475 char (*f) () = $ac_func;
70476 #endif
70477 #ifdef __cplusplus
70479 #endif
70482 main ()
70484 return f != $ac_func;
70486 return 0;
70488 _ACEOF
70489 rm -f conftest.$ac_objext conftest$ac_exeext
70490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70491 (eval $ac_link) 2>conftest.er1
70492 ac_status=$?
70493 grep -v '^ *+' conftest.er1 >conftest.err
70494 rm -f conftest.er1
70495 cat conftest.err >&5
70496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70497 (exit $ac_status); } &&
70498 { ac_try='test -z "$ac_c_werror_flag"
70499 || test ! -s conftest.err'
70500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70501 (eval $ac_try) 2>&5
70502 ac_status=$?
70503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70504 (exit $ac_status); }; } &&
70505 { ac_try='test -s conftest$ac_exeext'
70506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70507 (eval $ac_try) 2>&5
70508 ac_status=$?
70509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70510 (exit $ac_status); }; }; then
70511 eval "$as_ac_var=yes"
70512 else
70513 echo "$as_me: failed program was:" >&5
70514 sed 's/^/| /' conftest.$ac_ext >&5
70516 eval "$as_ac_var=no"
70518 rm -f conftest.err conftest.$ac_objext \
70519 conftest$ac_exeext conftest.$ac_ext
70521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70523 if test `eval echo '${'$as_ac_var'}'` = yes; then
70524 cat >>confdefs.h <<_ACEOF
70525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70526 _ACEOF
70529 done
70531 else
70533 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
70534 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
70535 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70536 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
70537 echo $ECHO_N "(cached) $ECHO_C" >&6
70538 else
70542 ac_ext=cc
70543 ac_cpp='$CXXCPP $CPPFLAGS'
70544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70548 cat >conftest.$ac_ext <<_ACEOF
70549 /* confdefs.h. */
70550 _ACEOF
70551 cat confdefs.h >>conftest.$ac_ext
70552 cat >>conftest.$ac_ext <<_ACEOF
70553 /* end confdefs.h. */
70554 #include <math.h>
70555 #ifdef HAVE_IEEEFP_H
70556 #include <ieeefp.h>
70557 #endif
70560 main ()
70562 _sqrtl(0);
70564 return 0;
70566 _ACEOF
70567 rm -f conftest.$ac_objext
70568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70569 (eval $ac_compile) 2>conftest.er1
70570 ac_status=$?
70571 grep -v '^ *+' conftest.er1 >conftest.err
70572 rm -f conftest.er1
70573 cat conftest.err >&5
70574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70575 (exit $ac_status); } &&
70576 { ac_try='test -z "$ac_cxx_werror_flag"
70577 || test ! -s conftest.err'
70578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70579 (eval $ac_try) 2>&5
70580 ac_status=$?
70581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70582 (exit $ac_status); }; } &&
70583 { ac_try='test -s conftest.$ac_objext'
70584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70585 (eval $ac_try) 2>&5
70586 ac_status=$?
70587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70588 (exit $ac_status); }; }; then
70589 glibcxx_cv_func__sqrtl_use=yes
70590 else
70591 echo "$as_me: failed program was:" >&5
70592 sed 's/^/| /' conftest.$ac_ext >&5
70594 glibcxx_cv_func__sqrtl_use=no
70596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70597 ac_ext=c
70598 ac_cpp='$CPP $CPPFLAGS'
70599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70607 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
70608 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
70610 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70612 for ac_func in _sqrtl
70614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70615 echo "$as_me:$LINENO: checking for $ac_func" >&5
70616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70617 if eval "test \"\${$as_ac_var+set}\" = set"; then
70618 echo $ECHO_N "(cached) $ECHO_C" >&6
70619 else
70620 if test x$gcc_no_link = xyes; then
70621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70623 { (exit 1); exit 1; }; }
70625 cat >conftest.$ac_ext <<_ACEOF
70626 /* confdefs.h. */
70627 _ACEOF
70628 cat confdefs.h >>conftest.$ac_ext
70629 cat >>conftest.$ac_ext <<_ACEOF
70630 /* end confdefs.h. */
70631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70633 #define $ac_func innocuous_$ac_func
70635 /* System header to define __stub macros and hopefully few prototypes,
70636 which can conflict with char $ac_func (); below.
70637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70638 <limits.h> exists even on freestanding compilers. */
70640 #ifdef __STDC__
70641 # include <limits.h>
70642 #else
70643 # include <assert.h>
70644 #endif
70646 #undef $ac_func
70648 /* Override any gcc2 internal prototype to avoid an error. */
70649 #ifdef __cplusplus
70650 extern "C"
70652 #endif
70653 /* We use char because int might match the return type of a gcc2
70654 builtin and then its argument prototype would still apply. */
70655 char $ac_func ();
70656 /* The GNU C library defines this for functions which it implements
70657 to always fail with ENOSYS. Some functions are actually named
70658 something starting with __ and the normal name is an alias. */
70659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70660 choke me
70661 #else
70662 char (*f) () = $ac_func;
70663 #endif
70664 #ifdef __cplusplus
70666 #endif
70669 main ()
70671 return f != $ac_func;
70673 return 0;
70675 _ACEOF
70676 rm -f conftest.$ac_objext conftest$ac_exeext
70677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70678 (eval $ac_link) 2>conftest.er1
70679 ac_status=$?
70680 grep -v '^ *+' conftest.er1 >conftest.err
70681 rm -f conftest.er1
70682 cat conftest.err >&5
70683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70684 (exit $ac_status); } &&
70685 { ac_try='test -z "$ac_c_werror_flag"
70686 || test ! -s conftest.err'
70687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70688 (eval $ac_try) 2>&5
70689 ac_status=$?
70690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70691 (exit $ac_status); }; } &&
70692 { ac_try='test -s conftest$ac_exeext'
70693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70694 (eval $ac_try) 2>&5
70695 ac_status=$?
70696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70697 (exit $ac_status); }; }; then
70698 eval "$as_ac_var=yes"
70699 else
70700 echo "$as_me: failed program was:" >&5
70701 sed 's/^/| /' conftest.$ac_ext >&5
70703 eval "$as_ac_var=no"
70705 rm -f conftest.err conftest.$ac_objext \
70706 conftest$ac_exeext conftest.$ac_ext
70708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70710 if test `eval echo '${'$as_ac_var'}'` = yes; then
70711 cat >>confdefs.h <<_ACEOF
70712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70713 _ACEOF
70716 done
70723 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
70724 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
70725 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70726 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
70727 echo $ECHO_N "(cached) $ECHO_C" >&6
70728 else
70732 ac_ext=cc
70733 ac_cpp='$CXXCPP $CPPFLAGS'
70734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70738 cat >conftest.$ac_ext <<_ACEOF
70739 /* confdefs.h. */
70740 _ACEOF
70741 cat confdefs.h >>conftest.$ac_ext
70742 cat >>conftest.$ac_ext <<_ACEOF
70743 /* end confdefs.h. */
70744 #include <math.h>
70746 main ()
70748 sincosl(0, 0, 0);
70750 return 0;
70752 _ACEOF
70753 rm -f conftest.$ac_objext
70754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70755 (eval $ac_compile) 2>conftest.er1
70756 ac_status=$?
70757 grep -v '^ *+' conftest.er1 >conftest.err
70758 rm -f conftest.er1
70759 cat conftest.err >&5
70760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70761 (exit $ac_status); } &&
70762 { ac_try='test -z "$ac_cxx_werror_flag"
70763 || test ! -s conftest.err'
70764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70765 (eval $ac_try) 2>&5
70766 ac_status=$?
70767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70768 (exit $ac_status); }; } &&
70769 { ac_try='test -s conftest.$ac_objext'
70770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70771 (eval $ac_try) 2>&5
70772 ac_status=$?
70773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70774 (exit $ac_status); }; }; then
70775 glibcxx_cv_func_sincosl_use=yes
70776 else
70777 echo "$as_me: failed program was:" >&5
70778 sed 's/^/| /' conftest.$ac_ext >&5
70780 glibcxx_cv_func_sincosl_use=no
70782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70783 ac_ext=c
70784 ac_cpp='$CPP $CPPFLAGS'
70785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70793 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
70794 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
70796 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70798 for ac_func in sincosl
70800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70801 echo "$as_me:$LINENO: checking for $ac_func" >&5
70802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70803 if eval "test \"\${$as_ac_var+set}\" = set"; then
70804 echo $ECHO_N "(cached) $ECHO_C" >&6
70805 else
70806 if test x$gcc_no_link = xyes; then
70807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70809 { (exit 1); exit 1; }; }
70811 cat >conftest.$ac_ext <<_ACEOF
70812 /* confdefs.h. */
70813 _ACEOF
70814 cat confdefs.h >>conftest.$ac_ext
70815 cat >>conftest.$ac_ext <<_ACEOF
70816 /* end confdefs.h. */
70817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70819 #define $ac_func innocuous_$ac_func
70821 /* System header to define __stub macros and hopefully few prototypes,
70822 which can conflict with char $ac_func (); below.
70823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70824 <limits.h> exists even on freestanding compilers. */
70826 #ifdef __STDC__
70827 # include <limits.h>
70828 #else
70829 # include <assert.h>
70830 #endif
70832 #undef $ac_func
70834 /* Override any gcc2 internal prototype to avoid an error. */
70835 #ifdef __cplusplus
70836 extern "C"
70838 #endif
70839 /* We use char because int might match the return type of a gcc2
70840 builtin and then its argument prototype would still apply. */
70841 char $ac_func ();
70842 /* The GNU C library defines this for functions which it implements
70843 to always fail with ENOSYS. Some functions are actually named
70844 something starting with __ and the normal name is an alias. */
70845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70846 choke me
70847 #else
70848 char (*f) () = $ac_func;
70849 #endif
70850 #ifdef __cplusplus
70852 #endif
70855 main ()
70857 return f != $ac_func;
70859 return 0;
70861 _ACEOF
70862 rm -f conftest.$ac_objext conftest$ac_exeext
70863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70864 (eval $ac_link) 2>conftest.er1
70865 ac_status=$?
70866 grep -v '^ *+' conftest.er1 >conftest.err
70867 rm -f conftest.er1
70868 cat conftest.err >&5
70869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70870 (exit $ac_status); } &&
70871 { ac_try='test -z "$ac_c_werror_flag"
70872 || test ! -s conftest.err'
70873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70874 (eval $ac_try) 2>&5
70875 ac_status=$?
70876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70877 (exit $ac_status); }; } &&
70878 { ac_try='test -s conftest$ac_exeext'
70879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70880 (eval $ac_try) 2>&5
70881 ac_status=$?
70882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70883 (exit $ac_status); }; }; then
70884 eval "$as_ac_var=yes"
70885 else
70886 echo "$as_me: failed program was:" >&5
70887 sed 's/^/| /' conftest.$ac_ext >&5
70889 eval "$as_ac_var=no"
70891 rm -f conftest.err conftest.$ac_objext \
70892 conftest$ac_exeext conftest.$ac_ext
70894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70896 if test `eval echo '${'$as_ac_var'}'` = yes; then
70897 cat >>confdefs.h <<_ACEOF
70898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70899 _ACEOF
70902 done
70904 else
70906 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
70907 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
70908 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70909 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
70910 echo $ECHO_N "(cached) $ECHO_C" >&6
70911 else
70915 ac_ext=cc
70916 ac_cpp='$CXXCPP $CPPFLAGS'
70917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70921 cat >conftest.$ac_ext <<_ACEOF
70922 /* confdefs.h. */
70923 _ACEOF
70924 cat confdefs.h >>conftest.$ac_ext
70925 cat >>conftest.$ac_ext <<_ACEOF
70926 /* end confdefs.h. */
70927 #include <math.h>
70929 main ()
70931 _sincosl(0, 0, 0);
70933 return 0;
70935 _ACEOF
70936 rm -f conftest.$ac_objext
70937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70938 (eval $ac_compile) 2>conftest.er1
70939 ac_status=$?
70940 grep -v '^ *+' conftest.er1 >conftest.err
70941 rm -f conftest.er1
70942 cat conftest.err >&5
70943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70944 (exit $ac_status); } &&
70945 { ac_try='test -z "$ac_cxx_werror_flag"
70946 || test ! -s conftest.err'
70947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70948 (eval $ac_try) 2>&5
70949 ac_status=$?
70950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70951 (exit $ac_status); }; } &&
70952 { ac_try='test -s conftest.$ac_objext'
70953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70954 (eval $ac_try) 2>&5
70955 ac_status=$?
70956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70957 (exit $ac_status); }; }; then
70958 glibcxx_cv_func__sincosl_use=yes
70959 else
70960 echo "$as_me: failed program was:" >&5
70961 sed 's/^/| /' conftest.$ac_ext >&5
70963 glibcxx_cv_func__sincosl_use=no
70965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70966 ac_ext=c
70967 ac_cpp='$CPP $CPPFLAGS'
70968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70976 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
70977 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
70979 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70981 for ac_func in _sincosl
70983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70984 echo "$as_me:$LINENO: checking for $ac_func" >&5
70985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70986 if eval "test \"\${$as_ac_var+set}\" = set"; then
70987 echo $ECHO_N "(cached) $ECHO_C" >&6
70988 else
70989 if test x$gcc_no_link = xyes; then
70990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70992 { (exit 1); exit 1; }; }
70994 cat >conftest.$ac_ext <<_ACEOF
70995 /* confdefs.h. */
70996 _ACEOF
70997 cat confdefs.h >>conftest.$ac_ext
70998 cat >>conftest.$ac_ext <<_ACEOF
70999 /* end confdefs.h. */
71000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71002 #define $ac_func innocuous_$ac_func
71004 /* System header to define __stub macros and hopefully few prototypes,
71005 which can conflict with char $ac_func (); below.
71006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71007 <limits.h> exists even on freestanding compilers. */
71009 #ifdef __STDC__
71010 # include <limits.h>
71011 #else
71012 # include <assert.h>
71013 #endif
71015 #undef $ac_func
71017 /* Override any gcc2 internal prototype to avoid an error. */
71018 #ifdef __cplusplus
71019 extern "C"
71021 #endif
71022 /* We use char because int might match the return type of a gcc2
71023 builtin and then its argument prototype would still apply. */
71024 char $ac_func ();
71025 /* The GNU C library defines this for functions which it implements
71026 to always fail with ENOSYS. Some functions are actually named
71027 something starting with __ and the normal name is an alias. */
71028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71029 choke me
71030 #else
71031 char (*f) () = $ac_func;
71032 #endif
71033 #ifdef __cplusplus
71035 #endif
71038 main ()
71040 return f != $ac_func;
71042 return 0;
71044 _ACEOF
71045 rm -f conftest.$ac_objext conftest$ac_exeext
71046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71047 (eval $ac_link) 2>conftest.er1
71048 ac_status=$?
71049 grep -v '^ *+' conftest.er1 >conftest.err
71050 rm -f conftest.er1
71051 cat conftest.err >&5
71052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71053 (exit $ac_status); } &&
71054 { ac_try='test -z "$ac_c_werror_flag"
71055 || test ! -s conftest.err'
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); }; } &&
71061 { ac_try='test -s conftest$ac_exeext'
71062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71063 (eval $ac_try) 2>&5
71064 ac_status=$?
71065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71066 (exit $ac_status); }; }; then
71067 eval "$as_ac_var=yes"
71068 else
71069 echo "$as_me: failed program was:" >&5
71070 sed 's/^/| /' conftest.$ac_ext >&5
71072 eval "$as_ac_var=no"
71074 rm -f conftest.err conftest.$ac_objext \
71075 conftest$ac_exeext conftest.$ac_ext
71077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71079 if test `eval echo '${'$as_ac_var'}'` = yes; then
71080 cat >>confdefs.h <<_ACEOF
71081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71082 _ACEOF
71085 done
71092 echo "$as_me:$LINENO: checking for finitel declaration" >&5
71093 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
71094 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
71095 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
71096 echo $ECHO_N "(cached) $ECHO_C" >&6
71097 else
71101 ac_ext=cc
71102 ac_cpp='$CXXCPP $CPPFLAGS'
71103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71107 cat >conftest.$ac_ext <<_ACEOF
71108 /* confdefs.h. */
71109 _ACEOF
71110 cat confdefs.h >>conftest.$ac_ext
71111 cat >>conftest.$ac_ext <<_ACEOF
71112 /* end confdefs.h. */
71113 #include <math.h>
71114 #ifdef HAVE_IEEEFP_H
71115 #include <ieeefp.h>
71116 #endif
71119 main ()
71121 finitel(0);
71123 return 0;
71125 _ACEOF
71126 rm -f conftest.$ac_objext
71127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71128 (eval $ac_compile) 2>conftest.er1
71129 ac_status=$?
71130 grep -v '^ *+' conftest.er1 >conftest.err
71131 rm -f conftest.er1
71132 cat conftest.err >&5
71133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71134 (exit $ac_status); } &&
71135 { ac_try='test -z "$ac_cxx_werror_flag"
71136 || test ! -s conftest.err'
71137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71138 (eval $ac_try) 2>&5
71139 ac_status=$?
71140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71141 (exit $ac_status); }; } &&
71142 { ac_try='test -s conftest.$ac_objext'
71143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71144 (eval $ac_try) 2>&5
71145 ac_status=$?
71146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71147 (exit $ac_status); }; }; then
71148 glibcxx_cv_func_finitel_use=yes
71149 else
71150 echo "$as_me: failed program was:" >&5
71151 sed 's/^/| /' conftest.$ac_ext >&5
71153 glibcxx_cv_func_finitel_use=no
71155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71156 ac_ext=c
71157 ac_cpp='$CPP $CPPFLAGS'
71158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71166 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
71167 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
71169 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
71171 for ac_func in finitel
71173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71174 echo "$as_me:$LINENO: checking for $ac_func" >&5
71175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71176 if eval "test \"\${$as_ac_var+set}\" = set"; then
71177 echo $ECHO_N "(cached) $ECHO_C" >&6
71178 else
71179 if test x$gcc_no_link = xyes; then
71180 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71182 { (exit 1); exit 1; }; }
71184 cat >conftest.$ac_ext <<_ACEOF
71185 /* confdefs.h. */
71186 _ACEOF
71187 cat confdefs.h >>conftest.$ac_ext
71188 cat >>conftest.$ac_ext <<_ACEOF
71189 /* end confdefs.h. */
71190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71192 #define $ac_func innocuous_$ac_func
71194 /* System header to define __stub macros and hopefully few prototypes,
71195 which can conflict with char $ac_func (); below.
71196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71197 <limits.h> exists even on freestanding compilers. */
71199 #ifdef __STDC__
71200 # include <limits.h>
71201 #else
71202 # include <assert.h>
71203 #endif
71205 #undef $ac_func
71207 /* Override any gcc2 internal prototype to avoid an error. */
71208 #ifdef __cplusplus
71209 extern "C"
71211 #endif
71212 /* We use char because int might match the return type of a gcc2
71213 builtin and then its argument prototype would still apply. */
71214 char $ac_func ();
71215 /* The GNU C library defines this for functions which it implements
71216 to always fail with ENOSYS. Some functions are actually named
71217 something starting with __ and the normal name is an alias. */
71218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71219 choke me
71220 #else
71221 char (*f) () = $ac_func;
71222 #endif
71223 #ifdef __cplusplus
71225 #endif
71228 main ()
71230 return f != $ac_func;
71232 return 0;
71234 _ACEOF
71235 rm -f conftest.$ac_objext conftest$ac_exeext
71236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71237 (eval $ac_link) 2>conftest.er1
71238 ac_status=$?
71239 grep -v '^ *+' conftest.er1 >conftest.err
71240 rm -f conftest.er1
71241 cat conftest.err >&5
71242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71243 (exit $ac_status); } &&
71244 { ac_try='test -z "$ac_c_werror_flag"
71245 || test ! -s conftest.err'
71246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71247 (eval $ac_try) 2>&5
71248 ac_status=$?
71249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71250 (exit $ac_status); }; } &&
71251 { ac_try='test -s conftest$ac_exeext'
71252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71253 (eval $ac_try) 2>&5
71254 ac_status=$?
71255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71256 (exit $ac_status); }; }; then
71257 eval "$as_ac_var=yes"
71258 else
71259 echo "$as_me: failed program was:" >&5
71260 sed 's/^/| /' conftest.$ac_ext >&5
71262 eval "$as_ac_var=no"
71264 rm -f conftest.err conftest.$ac_objext \
71265 conftest$ac_exeext conftest.$ac_ext
71267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71269 if test `eval echo '${'$as_ac_var'}'` = yes; then
71270 cat >>confdefs.h <<_ACEOF
71271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71272 _ACEOF
71275 done
71277 else
71279 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
71280 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
71281 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
71282 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
71283 echo $ECHO_N "(cached) $ECHO_C" >&6
71284 else
71288 ac_ext=cc
71289 ac_cpp='$CXXCPP $CPPFLAGS'
71290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71294 cat >conftest.$ac_ext <<_ACEOF
71295 /* confdefs.h. */
71296 _ACEOF
71297 cat confdefs.h >>conftest.$ac_ext
71298 cat >>conftest.$ac_ext <<_ACEOF
71299 /* end confdefs.h. */
71300 #include <math.h>
71301 #ifdef HAVE_IEEEFP_H
71302 #include <ieeefp.h>
71303 #endif
71306 main ()
71308 _finitel(0);
71310 return 0;
71312 _ACEOF
71313 rm -f conftest.$ac_objext
71314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71315 (eval $ac_compile) 2>conftest.er1
71316 ac_status=$?
71317 grep -v '^ *+' conftest.er1 >conftest.err
71318 rm -f conftest.er1
71319 cat conftest.err >&5
71320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71321 (exit $ac_status); } &&
71322 { ac_try='test -z "$ac_cxx_werror_flag"
71323 || test ! -s conftest.err'
71324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71325 (eval $ac_try) 2>&5
71326 ac_status=$?
71327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71328 (exit $ac_status); }; } &&
71329 { ac_try='test -s conftest.$ac_objext'
71330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71331 (eval $ac_try) 2>&5
71332 ac_status=$?
71333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71334 (exit $ac_status); }; }; then
71335 glibcxx_cv_func__finitel_use=yes
71336 else
71337 echo "$as_me: failed program was:" >&5
71338 sed 's/^/| /' conftest.$ac_ext >&5
71340 glibcxx_cv_func__finitel_use=no
71342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71343 ac_ext=c
71344 ac_cpp='$CPP $CPPFLAGS'
71345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71353 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
71354 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
71356 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
71358 for ac_func in _finitel
71360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71361 echo "$as_me:$LINENO: checking for $ac_func" >&5
71362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71363 if eval "test \"\${$as_ac_var+set}\" = set"; then
71364 echo $ECHO_N "(cached) $ECHO_C" >&6
71365 else
71366 if test x$gcc_no_link = xyes; then
71367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71369 { (exit 1); exit 1; }; }
71371 cat >conftest.$ac_ext <<_ACEOF
71372 /* confdefs.h. */
71373 _ACEOF
71374 cat confdefs.h >>conftest.$ac_ext
71375 cat >>conftest.$ac_ext <<_ACEOF
71376 /* end confdefs.h. */
71377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71379 #define $ac_func innocuous_$ac_func
71381 /* System header to define __stub macros and hopefully few prototypes,
71382 which can conflict with char $ac_func (); below.
71383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71384 <limits.h> exists even on freestanding compilers. */
71386 #ifdef __STDC__
71387 # include <limits.h>
71388 #else
71389 # include <assert.h>
71390 #endif
71392 #undef $ac_func
71394 /* Override any gcc2 internal prototype to avoid an error. */
71395 #ifdef __cplusplus
71396 extern "C"
71398 #endif
71399 /* We use char because int might match the return type of a gcc2
71400 builtin and then its argument prototype would still apply. */
71401 char $ac_func ();
71402 /* The GNU C library defines this for functions which it implements
71403 to always fail with ENOSYS. Some functions are actually named
71404 something starting with __ and the normal name is an alias. */
71405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71406 choke me
71407 #else
71408 char (*f) () = $ac_func;
71409 #endif
71410 #ifdef __cplusplus
71412 #endif
71415 main ()
71417 return f != $ac_func;
71419 return 0;
71421 _ACEOF
71422 rm -f conftest.$ac_objext conftest$ac_exeext
71423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71424 (eval $ac_link) 2>conftest.er1
71425 ac_status=$?
71426 grep -v '^ *+' conftest.er1 >conftest.err
71427 rm -f conftest.er1
71428 cat conftest.err >&5
71429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71430 (exit $ac_status); } &&
71431 { ac_try='test -z "$ac_c_werror_flag"
71432 || test ! -s conftest.err'
71433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71434 (eval $ac_try) 2>&5
71435 ac_status=$?
71436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71437 (exit $ac_status); }; } &&
71438 { ac_try='test -s conftest$ac_exeext'
71439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71440 (eval $ac_try) 2>&5
71441 ac_status=$?
71442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71443 (exit $ac_status); }; }; then
71444 eval "$as_ac_var=yes"
71445 else
71446 echo "$as_me: failed program was:" >&5
71447 sed 's/^/| /' conftest.$ac_ext >&5
71449 eval "$as_ac_var=no"
71451 rm -f conftest.err conftest.$ac_objext \
71452 conftest$ac_exeext conftest.$ac_ext
71454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71456 if test `eval echo '${'$as_ac_var'}'` = yes; then
71457 cat >>confdefs.h <<_ACEOF
71458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71459 _ACEOF
71462 done
71470 echo "$as_me:$LINENO: checking for _float trig functions" >&5
71471 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
71472 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
71473 echo $ECHO_N "(cached) $ECHO_C" >&6
71474 else
71478 ac_ext=cc
71479 ac_cpp='$CXXCPP $CPPFLAGS'
71480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71484 cat >conftest.$ac_ext <<_ACEOF
71485 /* confdefs.h. */
71486 _ACEOF
71487 cat confdefs.h >>conftest.$ac_ext
71488 cat >>conftest.$ac_ext <<_ACEOF
71489 /* end confdefs.h. */
71490 #include <math.h>
71492 main ()
71494 `for x in _acosf _asinf _atanf \
71495 _cosf _sinf _tanf \
71496 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
71498 return 0;
71500 _ACEOF
71501 rm -f conftest.$ac_objext
71502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71503 (eval $ac_compile) 2>conftest.er1
71504 ac_status=$?
71505 grep -v '^ *+' conftest.er1 >conftest.err
71506 rm -f conftest.er1
71507 cat conftest.err >&5
71508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71509 (exit $ac_status); } &&
71510 { ac_try='test -z "$ac_cxx_werror_flag"
71511 || test ! -s conftest.err'
71512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71513 (eval $ac_try) 2>&5
71514 ac_status=$?
71515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71516 (exit $ac_status); }; } &&
71517 { ac_try='test -s conftest.$ac_objext'
71518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71519 (eval $ac_try) 2>&5
71520 ac_status=$?
71521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71522 (exit $ac_status); }; }; then
71523 glibcxx_cv_func__float_trig_use=yes
71524 else
71525 echo "$as_me: failed program was:" >&5
71526 sed 's/^/| /' conftest.$ac_ext >&5
71528 glibcxx_cv_func__float_trig_use=no
71530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71531 ac_ext=c
71532 ac_cpp='$CPP $CPPFLAGS'
71533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71539 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
71540 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
71541 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
71551 for ac_func in _acosf _asinf _atanf \
71552 _cosf _sinf _tanf \
71553 _coshf _sinhf _tanhf
71555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71556 echo "$as_me:$LINENO: checking for $ac_func" >&5
71557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71558 if eval "test \"\${$as_ac_var+set}\" = set"; then
71559 echo $ECHO_N "(cached) $ECHO_C" >&6
71560 else
71561 if test x$gcc_no_link = xyes; then
71562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71564 { (exit 1); exit 1; }; }
71566 cat >conftest.$ac_ext <<_ACEOF
71567 /* confdefs.h. */
71568 _ACEOF
71569 cat confdefs.h >>conftest.$ac_ext
71570 cat >>conftest.$ac_ext <<_ACEOF
71571 /* end confdefs.h. */
71572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71574 #define $ac_func innocuous_$ac_func
71576 /* System header to define __stub macros and hopefully few prototypes,
71577 which can conflict with char $ac_func (); below.
71578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71579 <limits.h> exists even on freestanding compilers. */
71581 #ifdef __STDC__
71582 # include <limits.h>
71583 #else
71584 # include <assert.h>
71585 #endif
71587 #undef $ac_func
71589 /* Override any gcc2 internal prototype to avoid an error. */
71590 #ifdef __cplusplus
71591 extern "C"
71593 #endif
71594 /* We use char because int might match the return type of a gcc2
71595 builtin and then its argument prototype would still apply. */
71596 char $ac_func ();
71597 /* The GNU C library defines this for functions which it implements
71598 to always fail with ENOSYS. Some functions are actually named
71599 something starting with __ and the normal name is an alias. */
71600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71601 choke me
71602 #else
71603 char (*f) () = $ac_func;
71604 #endif
71605 #ifdef __cplusplus
71607 #endif
71610 main ()
71612 return f != $ac_func;
71614 return 0;
71616 _ACEOF
71617 rm -f conftest.$ac_objext conftest$ac_exeext
71618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71619 (eval $ac_link) 2>conftest.er1
71620 ac_status=$?
71621 grep -v '^ *+' conftest.er1 >conftest.err
71622 rm -f conftest.er1
71623 cat conftest.err >&5
71624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71625 (exit $ac_status); } &&
71626 { ac_try='test -z "$ac_c_werror_flag"
71627 || test ! -s conftest.err'
71628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71629 (eval $ac_try) 2>&5
71630 ac_status=$?
71631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71632 (exit $ac_status); }; } &&
71633 { ac_try='test -s conftest$ac_exeext'
71634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71635 (eval $ac_try) 2>&5
71636 ac_status=$?
71637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71638 (exit $ac_status); }; }; then
71639 eval "$as_ac_var=yes"
71640 else
71641 echo "$as_me: failed program was:" >&5
71642 sed 's/^/| /' conftest.$ac_ext >&5
71644 eval "$as_ac_var=no"
71646 rm -f conftest.err conftest.$ac_objext \
71647 conftest$ac_exeext conftest.$ac_ext
71649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71651 if test `eval echo '${'$as_ac_var'}'` = yes; then
71652 cat >>confdefs.h <<_ACEOF
71653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71654 _ACEOF
71657 done
71662 echo "$as_me:$LINENO: checking for _float round functions" >&5
71663 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
71664 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
71665 echo $ECHO_N "(cached) $ECHO_C" >&6
71666 else
71670 ac_ext=cc
71671 ac_cpp='$CXXCPP $CPPFLAGS'
71672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71676 cat >conftest.$ac_ext <<_ACEOF
71677 /* confdefs.h. */
71678 _ACEOF
71679 cat confdefs.h >>conftest.$ac_ext
71680 cat >>conftest.$ac_ext <<_ACEOF
71681 /* end confdefs.h. */
71682 #include <math.h>
71684 main ()
71686 `for x in _ceilf _floorf; do echo "$x (0);"; done`
71688 return 0;
71690 _ACEOF
71691 rm -f conftest.$ac_objext
71692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71693 (eval $ac_compile) 2>conftest.er1
71694 ac_status=$?
71695 grep -v '^ *+' conftest.er1 >conftest.err
71696 rm -f conftest.er1
71697 cat conftest.err >&5
71698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71699 (exit $ac_status); } &&
71700 { ac_try='test -z "$ac_cxx_werror_flag"
71701 || test ! -s conftest.err'
71702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71703 (eval $ac_try) 2>&5
71704 ac_status=$?
71705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71706 (exit $ac_status); }; } &&
71707 { ac_try='test -s conftest.$ac_objext'
71708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71709 (eval $ac_try) 2>&5
71710 ac_status=$?
71711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71712 (exit $ac_status); }; }; then
71713 glibcxx_cv_func__float_round_use=yes
71714 else
71715 echo "$as_me: failed program was:" >&5
71716 sed 's/^/| /' conftest.$ac_ext >&5
71718 glibcxx_cv_func__float_round_use=no
71720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71721 ac_ext=c
71722 ac_cpp='$CPP $CPPFLAGS'
71723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71729 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
71730 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
71731 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
71734 for ac_func in _ceilf _floorf
71736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71737 echo "$as_me:$LINENO: checking for $ac_func" >&5
71738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71739 if eval "test \"\${$as_ac_var+set}\" = set"; then
71740 echo $ECHO_N "(cached) $ECHO_C" >&6
71741 else
71742 if test x$gcc_no_link = xyes; then
71743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71745 { (exit 1); exit 1; }; }
71747 cat >conftest.$ac_ext <<_ACEOF
71748 /* confdefs.h. */
71749 _ACEOF
71750 cat confdefs.h >>conftest.$ac_ext
71751 cat >>conftest.$ac_ext <<_ACEOF
71752 /* end confdefs.h. */
71753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71755 #define $ac_func innocuous_$ac_func
71757 /* System header to define __stub macros and hopefully few prototypes,
71758 which can conflict with char $ac_func (); below.
71759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71760 <limits.h> exists even on freestanding compilers. */
71762 #ifdef __STDC__
71763 # include <limits.h>
71764 #else
71765 # include <assert.h>
71766 #endif
71768 #undef $ac_func
71770 /* Override any gcc2 internal prototype to avoid an error. */
71771 #ifdef __cplusplus
71772 extern "C"
71774 #endif
71775 /* We use char because int might match the return type of a gcc2
71776 builtin and then its argument prototype would still apply. */
71777 char $ac_func ();
71778 /* The GNU C library defines this for functions which it implements
71779 to always fail with ENOSYS. Some functions are actually named
71780 something starting with __ and the normal name is an alias. */
71781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71782 choke me
71783 #else
71784 char (*f) () = $ac_func;
71785 #endif
71786 #ifdef __cplusplus
71788 #endif
71791 main ()
71793 return f != $ac_func;
71795 return 0;
71797 _ACEOF
71798 rm -f conftest.$ac_objext conftest$ac_exeext
71799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71800 (eval $ac_link) 2>conftest.er1
71801 ac_status=$?
71802 grep -v '^ *+' conftest.er1 >conftest.err
71803 rm -f conftest.er1
71804 cat conftest.err >&5
71805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71806 (exit $ac_status); } &&
71807 { ac_try='test -z "$ac_c_werror_flag"
71808 || test ! -s conftest.err'
71809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71810 (eval $ac_try) 2>&5
71811 ac_status=$?
71812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71813 (exit $ac_status); }; } &&
71814 { ac_try='test -s conftest$ac_exeext'
71815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71816 (eval $ac_try) 2>&5
71817 ac_status=$?
71818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71819 (exit $ac_status); }; }; then
71820 eval "$as_ac_var=yes"
71821 else
71822 echo "$as_me: failed program was:" >&5
71823 sed 's/^/| /' conftest.$ac_ext >&5
71825 eval "$as_ac_var=no"
71827 rm -f conftest.err conftest.$ac_objext \
71828 conftest$ac_exeext conftest.$ac_ext
71830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71832 if test `eval echo '${'$as_ac_var'}'` = yes; then
71833 cat >>confdefs.h <<_ACEOF
71834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71835 _ACEOF
71838 done
71844 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
71845 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
71846 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
71847 echo $ECHO_N "(cached) $ECHO_C" >&6
71848 else
71852 ac_ext=cc
71853 ac_cpp='$CXXCPP $CPPFLAGS'
71854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71858 cat >conftest.$ac_ext <<_ACEOF
71859 /* confdefs.h. */
71860 _ACEOF
71861 cat confdefs.h >>conftest.$ac_ext
71862 cat >>conftest.$ac_ext <<_ACEOF
71863 /* end confdefs.h. */
71864 #include <math.h>
71866 main ()
71868 `for x in _acosl _asinl _atanl \
71869 _cosl _sinl _tanl \
71870 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
71872 return 0;
71874 _ACEOF
71875 rm -f conftest.$ac_objext
71876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71877 (eval $ac_compile) 2>conftest.er1
71878 ac_status=$?
71879 grep -v '^ *+' conftest.er1 >conftest.err
71880 rm -f conftest.er1
71881 cat conftest.err >&5
71882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71883 (exit $ac_status); } &&
71884 { ac_try='test -z "$ac_cxx_werror_flag"
71885 || test ! -s conftest.err'
71886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71887 (eval $ac_try) 2>&5
71888 ac_status=$?
71889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71890 (exit $ac_status); }; } &&
71891 { ac_try='test -s conftest.$ac_objext'
71892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71893 (eval $ac_try) 2>&5
71894 ac_status=$?
71895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71896 (exit $ac_status); }; }; then
71897 glibcxx_cv_func__long_double_trig_use=yes
71898 else
71899 echo "$as_me: failed program was:" >&5
71900 sed 's/^/| /' conftest.$ac_ext >&5
71902 glibcxx_cv_func__long_double_trig_use=no
71904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71905 ac_ext=c
71906 ac_cpp='$CPP $CPPFLAGS'
71907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71913 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
71914 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
71915 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
71925 for ac_func in _acosl _asinl _atanl \
71926 _cosl _sinl _tanl \
71927 _coshl _sinhl _tanhl
71929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71930 echo "$as_me:$LINENO: checking for $ac_func" >&5
71931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71932 if eval "test \"\${$as_ac_var+set}\" = set"; then
71933 echo $ECHO_N "(cached) $ECHO_C" >&6
71934 else
71935 if test x$gcc_no_link = xyes; then
71936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71938 { (exit 1); exit 1; }; }
71940 cat >conftest.$ac_ext <<_ACEOF
71941 /* confdefs.h. */
71942 _ACEOF
71943 cat confdefs.h >>conftest.$ac_ext
71944 cat >>conftest.$ac_ext <<_ACEOF
71945 /* end confdefs.h. */
71946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71948 #define $ac_func innocuous_$ac_func
71950 /* System header to define __stub macros and hopefully few prototypes,
71951 which can conflict with char $ac_func (); below.
71952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71953 <limits.h> exists even on freestanding compilers. */
71955 #ifdef __STDC__
71956 # include <limits.h>
71957 #else
71958 # include <assert.h>
71959 #endif
71961 #undef $ac_func
71963 /* Override any gcc2 internal prototype to avoid an error. */
71964 #ifdef __cplusplus
71965 extern "C"
71967 #endif
71968 /* We use char because int might match the return type of a gcc2
71969 builtin and then its argument prototype would still apply. */
71970 char $ac_func ();
71971 /* The GNU C library defines this for functions which it implements
71972 to always fail with ENOSYS. Some functions are actually named
71973 something starting with __ and the normal name is an alias. */
71974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71975 choke me
71976 #else
71977 char (*f) () = $ac_func;
71978 #endif
71979 #ifdef __cplusplus
71981 #endif
71984 main ()
71986 return f != $ac_func;
71988 return 0;
71990 _ACEOF
71991 rm -f conftest.$ac_objext conftest$ac_exeext
71992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71993 (eval $ac_link) 2>conftest.er1
71994 ac_status=$?
71995 grep -v '^ *+' conftest.er1 >conftest.err
71996 rm -f conftest.er1
71997 cat conftest.err >&5
71998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71999 (exit $ac_status); } &&
72000 { ac_try='test -z "$ac_c_werror_flag"
72001 || test ! -s conftest.err'
72002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72003 (eval $ac_try) 2>&5
72004 ac_status=$?
72005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72006 (exit $ac_status); }; } &&
72007 { ac_try='test -s conftest$ac_exeext'
72008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72009 (eval $ac_try) 2>&5
72010 ac_status=$?
72011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72012 (exit $ac_status); }; }; then
72013 eval "$as_ac_var=yes"
72014 else
72015 echo "$as_me: failed program was:" >&5
72016 sed 's/^/| /' conftest.$ac_ext >&5
72018 eval "$as_ac_var=no"
72020 rm -f conftest.err conftest.$ac_objext \
72021 conftest$ac_exeext conftest.$ac_ext
72023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72025 if test `eval echo '${'$as_ac_var'}'` = yes; then
72026 cat >>confdefs.h <<_ACEOF
72027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72028 _ACEOF
72031 done
72036 echo "$as_me:$LINENO: checking for _long double round functions" >&5
72037 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
72038 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
72039 echo $ECHO_N "(cached) $ECHO_C" >&6
72040 else
72044 ac_ext=cc
72045 ac_cpp='$CXXCPP $CPPFLAGS'
72046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72050 cat >conftest.$ac_ext <<_ACEOF
72051 /* confdefs.h. */
72052 _ACEOF
72053 cat confdefs.h >>conftest.$ac_ext
72054 cat >>conftest.$ac_ext <<_ACEOF
72055 /* end confdefs.h. */
72056 #include <math.h>
72058 main ()
72060 `for x in _ceill _floorl; do echo "$x (0);"; done`
72062 return 0;
72064 _ACEOF
72065 rm -f conftest.$ac_objext
72066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72067 (eval $ac_compile) 2>conftest.er1
72068 ac_status=$?
72069 grep -v '^ *+' conftest.er1 >conftest.err
72070 rm -f conftest.er1
72071 cat conftest.err >&5
72072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72073 (exit $ac_status); } &&
72074 { ac_try='test -z "$ac_cxx_werror_flag"
72075 || test ! -s conftest.err'
72076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72077 (eval $ac_try) 2>&5
72078 ac_status=$?
72079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72080 (exit $ac_status); }; } &&
72081 { ac_try='test -s conftest.$ac_objext'
72082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72083 (eval $ac_try) 2>&5
72084 ac_status=$?
72085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72086 (exit $ac_status); }; }; then
72087 glibcxx_cv_func__long_double_round_use=yes
72088 else
72089 echo "$as_me: failed program was:" >&5
72090 sed 's/^/| /' conftest.$ac_ext >&5
72092 glibcxx_cv_func__long_double_round_use=no
72094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72095 ac_ext=c
72096 ac_cpp='$CPP $CPPFLAGS'
72097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72103 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
72104 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
72105 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
72108 for ac_func in _ceill _floorl
72110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72111 echo "$as_me:$LINENO: checking for $ac_func" >&5
72112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72113 if eval "test \"\${$as_ac_var+set}\" = set"; then
72114 echo $ECHO_N "(cached) $ECHO_C" >&6
72115 else
72116 if test x$gcc_no_link = xyes; then
72117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72119 { (exit 1); exit 1; }; }
72121 cat >conftest.$ac_ext <<_ACEOF
72122 /* confdefs.h. */
72123 _ACEOF
72124 cat confdefs.h >>conftest.$ac_ext
72125 cat >>conftest.$ac_ext <<_ACEOF
72126 /* end confdefs.h. */
72127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72129 #define $ac_func innocuous_$ac_func
72131 /* System header to define __stub macros and hopefully few prototypes,
72132 which can conflict with char $ac_func (); below.
72133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72134 <limits.h> exists even on freestanding compilers. */
72136 #ifdef __STDC__
72137 # include <limits.h>
72138 #else
72139 # include <assert.h>
72140 #endif
72142 #undef $ac_func
72144 /* Override any gcc2 internal prototype to avoid an error. */
72145 #ifdef __cplusplus
72146 extern "C"
72148 #endif
72149 /* We use char because int might match the return type of a gcc2
72150 builtin and then its argument prototype would still apply. */
72151 char $ac_func ();
72152 /* The GNU C library defines this for functions which it implements
72153 to always fail with ENOSYS. Some functions are actually named
72154 something starting with __ and the normal name is an alias. */
72155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72156 choke me
72157 #else
72158 char (*f) () = $ac_func;
72159 #endif
72160 #ifdef __cplusplus
72162 #endif
72165 main ()
72167 return f != $ac_func;
72169 return 0;
72171 _ACEOF
72172 rm -f conftest.$ac_objext conftest$ac_exeext
72173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72174 (eval $ac_link) 2>conftest.er1
72175 ac_status=$?
72176 grep -v '^ *+' conftest.er1 >conftest.err
72177 rm -f conftest.er1
72178 cat conftest.err >&5
72179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72180 (exit $ac_status); } &&
72181 { ac_try='test -z "$ac_c_werror_flag"
72182 || test ! -s conftest.err'
72183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72184 (eval $ac_try) 2>&5
72185 ac_status=$?
72186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72187 (exit $ac_status); }; } &&
72188 { ac_try='test -s conftest$ac_exeext'
72189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72190 (eval $ac_try) 2>&5
72191 ac_status=$?
72192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72193 (exit $ac_status); }; }; then
72194 eval "$as_ac_var=yes"
72195 else
72196 echo "$as_me: failed program was:" >&5
72197 sed 's/^/| /' conftest.$ac_ext >&5
72199 eval "$as_ac_var=no"
72201 rm -f conftest.err conftest.$ac_objext \
72202 conftest$ac_exeext conftest.$ac_ext
72204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72206 if test `eval echo '${'$as_ac_var'}'` = yes; then
72207 cat >>confdefs.h <<_ACEOF
72208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72209 _ACEOF
72212 done
72217 LIBS="$ac_save_LIBS"
72218 CXXFLAGS="$ac_save_CXXFLAGS"
72222 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
72223 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
72224 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
72225 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
72226 echo $ECHO_N "(cached) $ECHO_C" >&6
72227 else
72231 ac_ext=cc
72232 ac_cpp='$CXXCPP $CPPFLAGS'
72233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72237 cat >conftest.$ac_ext <<_ACEOF
72238 /* confdefs.h. */
72239 _ACEOF
72240 cat confdefs.h >>conftest.$ac_ext
72241 cat >>conftest.$ac_ext <<_ACEOF
72242 /* end confdefs.h. */
72243 #include <math.h>
72245 main ()
72247 __builtin_abs(0);
72249 return 0;
72251 _ACEOF
72252 rm -f conftest.$ac_objext
72253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72254 (eval $ac_compile) 2>conftest.er1
72255 ac_status=$?
72256 grep -v '^ *+' conftest.er1 >conftest.err
72257 rm -f conftest.er1
72258 cat conftest.err >&5
72259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72260 (exit $ac_status); } &&
72261 { ac_try='test -z "$ac_cxx_werror_flag"
72262 || test ! -s conftest.err'
72263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72264 (eval $ac_try) 2>&5
72265 ac_status=$?
72266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72267 (exit $ac_status); }; } &&
72268 { ac_try='test -s conftest.$ac_objext'
72269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72270 (eval $ac_try) 2>&5
72271 ac_status=$?
72272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72273 (exit $ac_status); }; }; then
72274 glibcxx_cv_func___builtin_abs_use=yes
72275 else
72276 echo "$as_me: failed program was:" >&5
72277 sed 's/^/| /' conftest.$ac_ext >&5
72279 glibcxx_cv_func___builtin_abs_use=no
72281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72282 ac_ext=c
72283 ac_cpp='$CPP $CPPFLAGS'
72284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72292 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
72293 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
72294 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
72295 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
72296 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
72297 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
72298 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
72299 echo $ECHO_N "(cached) $ECHO_C" >&6
72300 else
72302 if test x$gcc_no_link = xyes; then
72303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72305 { (exit 1); exit 1; }; }
72307 cat >conftest.$ac_ext <<_ACEOF
72308 /* confdefs.h. */
72309 _ACEOF
72310 cat confdefs.h >>conftest.$ac_ext
72311 cat >>conftest.$ac_ext <<_ACEOF
72312 /* end confdefs.h. */
72313 #include <math.h>
72315 main ()
72317 __builtin_abs(0);
72319 return 0;
72321 _ACEOF
72322 rm -f conftest.$ac_objext conftest$ac_exeext
72323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72324 (eval $ac_link) 2>conftest.er1
72325 ac_status=$?
72326 grep -v '^ *+' conftest.er1 >conftest.err
72327 rm -f conftest.er1
72328 cat conftest.err >&5
72329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72330 (exit $ac_status); } &&
72331 { ac_try='test -z "$ac_c_werror_flag"
72332 || test ! -s conftest.err'
72333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72334 (eval $ac_try) 2>&5
72335 ac_status=$?
72336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72337 (exit $ac_status); }; } &&
72338 { ac_try='test -s conftest$ac_exeext'
72339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72340 (eval $ac_try) 2>&5
72341 ac_status=$?
72342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72343 (exit $ac_status); }; }; then
72344 glibcxx_cv_func___builtin_abs_link=yes
72345 else
72346 echo "$as_me: failed program was:" >&5
72347 sed 's/^/| /' conftest.$ac_ext >&5
72349 glibcxx_cv_func___builtin_abs_link=no
72351 rm -f conftest.err conftest.$ac_objext \
72352 conftest$ac_exeext conftest.$ac_ext
72357 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
72358 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
72359 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
72360 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72362 cat >>confdefs.h <<_ACEOF
72363 #define ${ac_tr_func} 1
72364 _ACEOF
72370 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
72371 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
72372 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
72373 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
72374 echo $ECHO_N "(cached) $ECHO_C" >&6
72375 else
72379 ac_ext=cc
72380 ac_cpp='$CXXCPP $CPPFLAGS'
72381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72385 cat >conftest.$ac_ext <<_ACEOF
72386 /* confdefs.h. */
72387 _ACEOF
72388 cat confdefs.h >>conftest.$ac_ext
72389 cat >>conftest.$ac_ext <<_ACEOF
72390 /* end confdefs.h. */
72391 #include <math.h>
72393 main ()
72395 __builtin_fabsf(0);
72397 return 0;
72399 _ACEOF
72400 rm -f conftest.$ac_objext
72401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72402 (eval $ac_compile) 2>conftest.er1
72403 ac_status=$?
72404 grep -v '^ *+' conftest.er1 >conftest.err
72405 rm -f conftest.er1
72406 cat conftest.err >&5
72407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72408 (exit $ac_status); } &&
72409 { ac_try='test -z "$ac_cxx_werror_flag"
72410 || test ! -s conftest.err'
72411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72412 (eval $ac_try) 2>&5
72413 ac_status=$?
72414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72415 (exit $ac_status); }; } &&
72416 { ac_try='test -s conftest.$ac_objext'
72417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72418 (eval $ac_try) 2>&5
72419 ac_status=$?
72420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72421 (exit $ac_status); }; }; then
72422 glibcxx_cv_func___builtin_fabsf_use=yes
72423 else
72424 echo "$as_me: failed program was:" >&5
72425 sed 's/^/| /' conftest.$ac_ext >&5
72427 glibcxx_cv_func___builtin_fabsf_use=no
72429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72430 ac_ext=c
72431 ac_cpp='$CPP $CPPFLAGS'
72432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72440 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
72441 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
72442 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
72443 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
72444 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
72445 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
72446 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
72447 echo $ECHO_N "(cached) $ECHO_C" >&6
72448 else
72450 if test x$gcc_no_link = xyes; then
72451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72453 { (exit 1); exit 1; }; }
72455 cat >conftest.$ac_ext <<_ACEOF
72456 /* confdefs.h. */
72457 _ACEOF
72458 cat confdefs.h >>conftest.$ac_ext
72459 cat >>conftest.$ac_ext <<_ACEOF
72460 /* end confdefs.h. */
72461 #include <math.h>
72463 main ()
72465 __builtin_fabsf(0);
72467 return 0;
72469 _ACEOF
72470 rm -f conftest.$ac_objext conftest$ac_exeext
72471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72472 (eval $ac_link) 2>conftest.er1
72473 ac_status=$?
72474 grep -v '^ *+' conftest.er1 >conftest.err
72475 rm -f conftest.er1
72476 cat conftest.err >&5
72477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72478 (exit $ac_status); } &&
72479 { ac_try='test -z "$ac_c_werror_flag"
72480 || test ! -s conftest.err'
72481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72482 (eval $ac_try) 2>&5
72483 ac_status=$?
72484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72485 (exit $ac_status); }; } &&
72486 { ac_try='test -s conftest$ac_exeext'
72487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72488 (eval $ac_try) 2>&5
72489 ac_status=$?
72490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72491 (exit $ac_status); }; }; then
72492 glibcxx_cv_func___builtin_fabsf_link=yes
72493 else
72494 echo "$as_me: failed program was:" >&5
72495 sed 's/^/| /' conftest.$ac_ext >&5
72497 glibcxx_cv_func___builtin_fabsf_link=no
72499 rm -f conftest.err conftest.$ac_objext \
72500 conftest$ac_exeext conftest.$ac_ext
72505 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
72506 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
72507 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
72508 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72510 cat >>confdefs.h <<_ACEOF
72511 #define ${ac_tr_func} 1
72512 _ACEOF
72518 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
72519 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
72520 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
72521 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
72522 echo $ECHO_N "(cached) $ECHO_C" >&6
72523 else
72527 ac_ext=cc
72528 ac_cpp='$CXXCPP $CPPFLAGS'
72529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72533 cat >conftest.$ac_ext <<_ACEOF
72534 /* confdefs.h. */
72535 _ACEOF
72536 cat confdefs.h >>conftest.$ac_ext
72537 cat >>conftest.$ac_ext <<_ACEOF
72538 /* end confdefs.h. */
72539 #include <math.h>
72541 main ()
72543 __builtin_fabs(0);
72545 return 0;
72547 _ACEOF
72548 rm -f conftest.$ac_objext
72549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72550 (eval $ac_compile) 2>conftest.er1
72551 ac_status=$?
72552 grep -v '^ *+' conftest.er1 >conftest.err
72553 rm -f conftest.er1
72554 cat conftest.err >&5
72555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72556 (exit $ac_status); } &&
72557 { ac_try='test -z "$ac_cxx_werror_flag"
72558 || test ! -s conftest.err'
72559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72560 (eval $ac_try) 2>&5
72561 ac_status=$?
72562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72563 (exit $ac_status); }; } &&
72564 { ac_try='test -s conftest.$ac_objext'
72565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72566 (eval $ac_try) 2>&5
72567 ac_status=$?
72568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72569 (exit $ac_status); }; }; then
72570 glibcxx_cv_func___builtin_fabs_use=yes
72571 else
72572 echo "$as_me: failed program was:" >&5
72573 sed 's/^/| /' conftest.$ac_ext >&5
72575 glibcxx_cv_func___builtin_fabs_use=no
72577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72578 ac_ext=c
72579 ac_cpp='$CPP $CPPFLAGS'
72580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72588 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
72589 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
72590 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
72591 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
72592 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
72593 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
72594 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
72595 echo $ECHO_N "(cached) $ECHO_C" >&6
72596 else
72598 if test x$gcc_no_link = xyes; then
72599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72601 { (exit 1); exit 1; }; }
72603 cat >conftest.$ac_ext <<_ACEOF
72604 /* confdefs.h. */
72605 _ACEOF
72606 cat confdefs.h >>conftest.$ac_ext
72607 cat >>conftest.$ac_ext <<_ACEOF
72608 /* end confdefs.h. */
72609 #include <math.h>
72611 main ()
72613 __builtin_fabs(0);
72615 return 0;
72617 _ACEOF
72618 rm -f conftest.$ac_objext conftest$ac_exeext
72619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72620 (eval $ac_link) 2>conftest.er1
72621 ac_status=$?
72622 grep -v '^ *+' conftest.er1 >conftest.err
72623 rm -f conftest.er1
72624 cat conftest.err >&5
72625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72626 (exit $ac_status); } &&
72627 { ac_try='test -z "$ac_c_werror_flag"
72628 || test ! -s conftest.err'
72629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72630 (eval $ac_try) 2>&5
72631 ac_status=$?
72632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72633 (exit $ac_status); }; } &&
72634 { ac_try='test -s conftest$ac_exeext'
72635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72636 (eval $ac_try) 2>&5
72637 ac_status=$?
72638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72639 (exit $ac_status); }; }; then
72640 glibcxx_cv_func___builtin_fabs_link=yes
72641 else
72642 echo "$as_me: failed program was:" >&5
72643 sed 's/^/| /' conftest.$ac_ext >&5
72645 glibcxx_cv_func___builtin_fabs_link=no
72647 rm -f conftest.err conftest.$ac_objext \
72648 conftest$ac_exeext conftest.$ac_ext
72653 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
72654 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
72655 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
72656 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72658 cat >>confdefs.h <<_ACEOF
72659 #define ${ac_tr_func} 1
72660 _ACEOF
72666 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
72667 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
72668 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
72669 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
72670 echo $ECHO_N "(cached) $ECHO_C" >&6
72671 else
72675 ac_ext=cc
72676 ac_cpp='$CXXCPP $CPPFLAGS'
72677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72681 cat >conftest.$ac_ext <<_ACEOF
72682 /* confdefs.h. */
72683 _ACEOF
72684 cat confdefs.h >>conftest.$ac_ext
72685 cat >>conftest.$ac_ext <<_ACEOF
72686 /* end confdefs.h. */
72687 #include <math.h>
72689 main ()
72691 __builtin_fabsl(0);
72693 return 0;
72695 _ACEOF
72696 rm -f conftest.$ac_objext
72697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72698 (eval $ac_compile) 2>conftest.er1
72699 ac_status=$?
72700 grep -v '^ *+' conftest.er1 >conftest.err
72701 rm -f conftest.er1
72702 cat conftest.err >&5
72703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72704 (exit $ac_status); } &&
72705 { ac_try='test -z "$ac_cxx_werror_flag"
72706 || test ! -s conftest.err'
72707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72708 (eval $ac_try) 2>&5
72709 ac_status=$?
72710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72711 (exit $ac_status); }; } &&
72712 { ac_try='test -s conftest.$ac_objext'
72713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72714 (eval $ac_try) 2>&5
72715 ac_status=$?
72716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72717 (exit $ac_status); }; }; then
72718 glibcxx_cv_func___builtin_fabsl_use=yes
72719 else
72720 echo "$as_me: failed program was:" >&5
72721 sed 's/^/| /' conftest.$ac_ext >&5
72723 glibcxx_cv_func___builtin_fabsl_use=no
72725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72726 ac_ext=c
72727 ac_cpp='$CPP $CPPFLAGS'
72728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72736 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
72737 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
72738 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
72739 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
72740 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
72741 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
72742 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
72743 echo $ECHO_N "(cached) $ECHO_C" >&6
72744 else
72746 if test x$gcc_no_link = xyes; then
72747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72749 { (exit 1); exit 1; }; }
72751 cat >conftest.$ac_ext <<_ACEOF
72752 /* confdefs.h. */
72753 _ACEOF
72754 cat confdefs.h >>conftest.$ac_ext
72755 cat >>conftest.$ac_ext <<_ACEOF
72756 /* end confdefs.h. */
72757 #include <math.h>
72759 main ()
72761 __builtin_fabsl(0);
72763 return 0;
72765 _ACEOF
72766 rm -f conftest.$ac_objext conftest$ac_exeext
72767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72768 (eval $ac_link) 2>conftest.er1
72769 ac_status=$?
72770 grep -v '^ *+' conftest.er1 >conftest.err
72771 rm -f conftest.er1
72772 cat conftest.err >&5
72773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72774 (exit $ac_status); } &&
72775 { ac_try='test -z "$ac_c_werror_flag"
72776 || test ! -s conftest.err'
72777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72778 (eval $ac_try) 2>&5
72779 ac_status=$?
72780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72781 (exit $ac_status); }; } &&
72782 { ac_try='test -s conftest$ac_exeext'
72783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72784 (eval $ac_try) 2>&5
72785 ac_status=$?
72786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72787 (exit $ac_status); }; }; then
72788 glibcxx_cv_func___builtin_fabsl_link=yes
72789 else
72790 echo "$as_me: failed program was:" >&5
72791 sed 's/^/| /' conftest.$ac_ext >&5
72793 glibcxx_cv_func___builtin_fabsl_link=no
72795 rm -f conftest.err conftest.$ac_objext \
72796 conftest$ac_exeext conftest.$ac_ext
72801 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
72802 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
72803 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
72804 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72806 cat >>confdefs.h <<_ACEOF
72807 #define ${ac_tr_func} 1
72808 _ACEOF
72814 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
72815 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
72816 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
72817 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
72818 echo $ECHO_N "(cached) $ECHO_C" >&6
72819 else
72823 ac_ext=cc
72824 ac_cpp='$CXXCPP $CPPFLAGS'
72825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72829 cat >conftest.$ac_ext <<_ACEOF
72830 /* confdefs.h. */
72831 _ACEOF
72832 cat confdefs.h >>conftest.$ac_ext
72833 cat >>conftest.$ac_ext <<_ACEOF
72834 /* end confdefs.h. */
72835 #include <math.h>
72837 main ()
72839 __builtin_labs(0);
72841 return 0;
72843 _ACEOF
72844 rm -f conftest.$ac_objext
72845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72846 (eval $ac_compile) 2>conftest.er1
72847 ac_status=$?
72848 grep -v '^ *+' conftest.er1 >conftest.err
72849 rm -f conftest.er1
72850 cat conftest.err >&5
72851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72852 (exit $ac_status); } &&
72853 { ac_try='test -z "$ac_cxx_werror_flag"
72854 || test ! -s conftest.err'
72855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72856 (eval $ac_try) 2>&5
72857 ac_status=$?
72858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72859 (exit $ac_status); }; } &&
72860 { ac_try='test -s conftest.$ac_objext'
72861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72862 (eval $ac_try) 2>&5
72863 ac_status=$?
72864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72865 (exit $ac_status); }; }; then
72866 glibcxx_cv_func___builtin_labs_use=yes
72867 else
72868 echo "$as_me: failed program was:" >&5
72869 sed 's/^/| /' conftest.$ac_ext >&5
72871 glibcxx_cv_func___builtin_labs_use=no
72873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72874 ac_ext=c
72875 ac_cpp='$CPP $CPPFLAGS'
72876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72884 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
72885 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
72886 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
72887 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
72888 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
72889 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
72890 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
72891 echo $ECHO_N "(cached) $ECHO_C" >&6
72892 else
72894 if test x$gcc_no_link = xyes; then
72895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72897 { (exit 1); exit 1; }; }
72899 cat >conftest.$ac_ext <<_ACEOF
72900 /* confdefs.h. */
72901 _ACEOF
72902 cat confdefs.h >>conftest.$ac_ext
72903 cat >>conftest.$ac_ext <<_ACEOF
72904 /* end confdefs.h. */
72905 #include <math.h>
72907 main ()
72909 __builtin_labs(0);
72911 return 0;
72913 _ACEOF
72914 rm -f conftest.$ac_objext conftest$ac_exeext
72915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72916 (eval $ac_link) 2>conftest.er1
72917 ac_status=$?
72918 grep -v '^ *+' conftest.er1 >conftest.err
72919 rm -f conftest.er1
72920 cat conftest.err >&5
72921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72922 (exit $ac_status); } &&
72923 { ac_try='test -z "$ac_c_werror_flag"
72924 || test ! -s conftest.err'
72925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72926 (eval $ac_try) 2>&5
72927 ac_status=$?
72928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72929 (exit $ac_status); }; } &&
72930 { ac_try='test -s conftest$ac_exeext'
72931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72932 (eval $ac_try) 2>&5
72933 ac_status=$?
72934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72935 (exit $ac_status); }; }; then
72936 glibcxx_cv_func___builtin_labs_link=yes
72937 else
72938 echo "$as_me: failed program was:" >&5
72939 sed 's/^/| /' conftest.$ac_ext >&5
72941 glibcxx_cv_func___builtin_labs_link=no
72943 rm -f conftest.err conftest.$ac_objext \
72944 conftest$ac_exeext conftest.$ac_ext
72949 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
72950 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
72951 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
72952 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72954 cat >>confdefs.h <<_ACEOF
72955 #define ${ac_tr_func} 1
72956 _ACEOF
72963 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
72964 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
72965 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
72966 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
72967 echo $ECHO_N "(cached) $ECHO_C" >&6
72968 else
72972 ac_ext=cc
72973 ac_cpp='$CXXCPP $CPPFLAGS'
72974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72978 cat >conftest.$ac_ext <<_ACEOF
72979 /* confdefs.h. */
72980 _ACEOF
72981 cat confdefs.h >>conftest.$ac_ext
72982 cat >>conftest.$ac_ext <<_ACEOF
72983 /* end confdefs.h. */
72984 #include <math.h>
72986 main ()
72988 __builtin_sqrtf(0);
72990 return 0;
72992 _ACEOF
72993 rm -f conftest.$ac_objext
72994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72995 (eval $ac_compile) 2>conftest.er1
72996 ac_status=$?
72997 grep -v '^ *+' conftest.er1 >conftest.err
72998 rm -f conftest.er1
72999 cat conftest.err >&5
73000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73001 (exit $ac_status); } &&
73002 { ac_try='test -z "$ac_cxx_werror_flag"
73003 || test ! -s conftest.err'
73004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73005 (eval $ac_try) 2>&5
73006 ac_status=$?
73007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73008 (exit $ac_status); }; } &&
73009 { ac_try='test -s conftest.$ac_objext'
73010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73011 (eval $ac_try) 2>&5
73012 ac_status=$?
73013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73014 (exit $ac_status); }; }; then
73015 glibcxx_cv_func___builtin_sqrtf_use=yes
73016 else
73017 echo "$as_me: failed program was:" >&5
73018 sed 's/^/| /' conftest.$ac_ext >&5
73020 glibcxx_cv_func___builtin_sqrtf_use=no
73022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73023 ac_ext=c
73024 ac_cpp='$CPP $CPPFLAGS'
73025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73033 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
73034 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
73035 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
73036 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
73037 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
73038 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
73039 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
73040 echo $ECHO_N "(cached) $ECHO_C" >&6
73041 else
73043 if test x$gcc_no_link = xyes; then
73044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73046 { (exit 1); exit 1; }; }
73048 cat >conftest.$ac_ext <<_ACEOF
73049 /* confdefs.h. */
73050 _ACEOF
73051 cat confdefs.h >>conftest.$ac_ext
73052 cat >>conftest.$ac_ext <<_ACEOF
73053 /* end confdefs.h. */
73054 #include <math.h>
73056 main ()
73058 __builtin_sqrtf(0);
73060 return 0;
73062 _ACEOF
73063 rm -f conftest.$ac_objext conftest$ac_exeext
73064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73065 (eval $ac_link) 2>conftest.er1
73066 ac_status=$?
73067 grep -v '^ *+' conftest.er1 >conftest.err
73068 rm -f conftest.er1
73069 cat conftest.err >&5
73070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73071 (exit $ac_status); } &&
73072 { ac_try='test -z "$ac_c_werror_flag"
73073 || test ! -s conftest.err'
73074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73075 (eval $ac_try) 2>&5
73076 ac_status=$?
73077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73078 (exit $ac_status); }; } &&
73079 { ac_try='test -s conftest$ac_exeext'
73080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73081 (eval $ac_try) 2>&5
73082 ac_status=$?
73083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73084 (exit $ac_status); }; }; then
73085 glibcxx_cv_func___builtin_sqrtf_link=yes
73086 else
73087 echo "$as_me: failed program was:" >&5
73088 sed 's/^/| /' conftest.$ac_ext >&5
73090 glibcxx_cv_func___builtin_sqrtf_link=no
73092 rm -f conftest.err conftest.$ac_objext \
73093 conftest$ac_exeext conftest.$ac_ext
73098 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
73099 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
73100 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
73101 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
73103 cat >>confdefs.h <<_ACEOF
73104 #define ${ac_tr_func} 1
73105 _ACEOF
73111 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
73112 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
73113 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
73114 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
73115 echo $ECHO_N "(cached) $ECHO_C" >&6
73116 else
73120 ac_ext=cc
73121 ac_cpp='$CXXCPP $CPPFLAGS'
73122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73126 cat >conftest.$ac_ext <<_ACEOF
73127 /* confdefs.h. */
73128 _ACEOF
73129 cat confdefs.h >>conftest.$ac_ext
73130 cat >>conftest.$ac_ext <<_ACEOF
73131 /* end confdefs.h. */
73132 #include <math.h>
73134 main ()
73136 __builtin_sqrt(0);
73138 return 0;
73140 _ACEOF
73141 rm -f conftest.$ac_objext
73142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73143 (eval $ac_compile) 2>conftest.er1
73144 ac_status=$?
73145 grep -v '^ *+' conftest.er1 >conftest.err
73146 rm -f conftest.er1
73147 cat conftest.err >&5
73148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73149 (exit $ac_status); } &&
73150 { ac_try='test -z "$ac_cxx_werror_flag"
73151 || test ! -s conftest.err'
73152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73153 (eval $ac_try) 2>&5
73154 ac_status=$?
73155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73156 (exit $ac_status); }; } &&
73157 { ac_try='test -s conftest.$ac_objext'
73158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73159 (eval $ac_try) 2>&5
73160 ac_status=$?
73161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73162 (exit $ac_status); }; }; then
73163 glibcxx_cv_func___builtin_sqrt_use=yes
73164 else
73165 echo "$as_me: failed program was:" >&5
73166 sed 's/^/| /' conftest.$ac_ext >&5
73168 glibcxx_cv_func___builtin_sqrt_use=no
73170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73171 ac_ext=c
73172 ac_cpp='$CPP $CPPFLAGS'
73173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73181 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
73182 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
73183 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
73184 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
73185 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
73186 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
73187 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
73188 echo $ECHO_N "(cached) $ECHO_C" >&6
73189 else
73191 if test x$gcc_no_link = xyes; then
73192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73194 { (exit 1); exit 1; }; }
73196 cat >conftest.$ac_ext <<_ACEOF
73197 /* confdefs.h. */
73198 _ACEOF
73199 cat confdefs.h >>conftest.$ac_ext
73200 cat >>conftest.$ac_ext <<_ACEOF
73201 /* end confdefs.h. */
73202 #include <math.h>
73204 main ()
73206 __builtin_sqrt(0);
73208 return 0;
73210 _ACEOF
73211 rm -f conftest.$ac_objext conftest$ac_exeext
73212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73213 (eval $ac_link) 2>conftest.er1
73214 ac_status=$?
73215 grep -v '^ *+' conftest.er1 >conftest.err
73216 rm -f conftest.er1
73217 cat conftest.err >&5
73218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73219 (exit $ac_status); } &&
73220 { ac_try='test -z "$ac_c_werror_flag"
73221 || test ! -s conftest.err'
73222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73223 (eval $ac_try) 2>&5
73224 ac_status=$?
73225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73226 (exit $ac_status); }; } &&
73227 { ac_try='test -s conftest$ac_exeext'
73228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73229 (eval $ac_try) 2>&5
73230 ac_status=$?
73231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73232 (exit $ac_status); }; }; then
73233 glibcxx_cv_func___builtin_sqrt_link=yes
73234 else
73235 echo "$as_me: failed program was:" >&5
73236 sed 's/^/| /' conftest.$ac_ext >&5
73238 glibcxx_cv_func___builtin_sqrt_link=no
73240 rm -f conftest.err conftest.$ac_objext \
73241 conftest$ac_exeext conftest.$ac_ext
73246 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
73247 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
73248 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
73249 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
73251 cat >>confdefs.h <<_ACEOF
73252 #define ${ac_tr_func} 1
73253 _ACEOF
73259 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
73260 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
73261 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
73262 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
73263 echo $ECHO_N "(cached) $ECHO_C" >&6
73264 else
73268 ac_ext=cc
73269 ac_cpp='$CXXCPP $CPPFLAGS'
73270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73274 cat >conftest.$ac_ext <<_ACEOF
73275 /* confdefs.h. */
73276 _ACEOF
73277 cat confdefs.h >>conftest.$ac_ext
73278 cat >>conftest.$ac_ext <<_ACEOF
73279 /* end confdefs.h. */
73280 #include <math.h>
73282 main ()
73284 __builtin_sqrtl(0);
73286 return 0;
73288 _ACEOF
73289 rm -f conftest.$ac_objext
73290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73291 (eval $ac_compile) 2>conftest.er1
73292 ac_status=$?
73293 grep -v '^ *+' conftest.er1 >conftest.err
73294 rm -f conftest.er1
73295 cat conftest.err >&5
73296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73297 (exit $ac_status); } &&
73298 { ac_try='test -z "$ac_cxx_werror_flag"
73299 || test ! -s conftest.err'
73300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73301 (eval $ac_try) 2>&5
73302 ac_status=$?
73303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73304 (exit $ac_status); }; } &&
73305 { ac_try='test -s conftest.$ac_objext'
73306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73307 (eval $ac_try) 2>&5
73308 ac_status=$?
73309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73310 (exit $ac_status); }; }; then
73311 glibcxx_cv_func___builtin_sqrtl_use=yes
73312 else
73313 echo "$as_me: failed program was:" >&5
73314 sed 's/^/| /' conftest.$ac_ext >&5
73316 glibcxx_cv_func___builtin_sqrtl_use=no
73318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73319 ac_ext=c
73320 ac_cpp='$CPP $CPPFLAGS'
73321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73329 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
73330 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
73331 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
73332 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
73333 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
73334 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
73335 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
73336 echo $ECHO_N "(cached) $ECHO_C" >&6
73337 else
73339 if test x$gcc_no_link = xyes; then
73340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73342 { (exit 1); exit 1; }; }
73344 cat >conftest.$ac_ext <<_ACEOF
73345 /* confdefs.h. */
73346 _ACEOF
73347 cat confdefs.h >>conftest.$ac_ext
73348 cat >>conftest.$ac_ext <<_ACEOF
73349 /* end confdefs.h. */
73350 #include <math.h>
73352 main ()
73354 __builtin_sqrtl(0);
73356 return 0;
73358 _ACEOF
73359 rm -f conftest.$ac_objext conftest$ac_exeext
73360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73361 (eval $ac_link) 2>conftest.er1
73362 ac_status=$?
73363 grep -v '^ *+' conftest.er1 >conftest.err
73364 rm -f conftest.er1
73365 cat conftest.err >&5
73366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73367 (exit $ac_status); } &&
73368 { ac_try='test -z "$ac_c_werror_flag"
73369 || test ! -s conftest.err'
73370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73371 (eval $ac_try) 2>&5
73372 ac_status=$?
73373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73374 (exit $ac_status); }; } &&
73375 { ac_try='test -s conftest$ac_exeext'
73376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73377 (eval $ac_try) 2>&5
73378 ac_status=$?
73379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73380 (exit $ac_status); }; }; then
73381 glibcxx_cv_func___builtin_sqrtl_link=yes
73382 else
73383 echo "$as_me: failed program was:" >&5
73384 sed 's/^/| /' conftest.$ac_ext >&5
73386 glibcxx_cv_func___builtin_sqrtl_link=no
73388 rm -f conftest.err conftest.$ac_objext \
73389 conftest$ac_exeext conftest.$ac_ext
73394 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
73395 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
73396 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
73397 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
73399 cat >>confdefs.h <<_ACEOF
73400 #define ${ac_tr_func} 1
73401 _ACEOF
73408 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
73409 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
73410 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
73411 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
73412 echo $ECHO_N "(cached) $ECHO_C" >&6
73413 else
73417 ac_ext=cc
73418 ac_cpp='$CXXCPP $CPPFLAGS'
73419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73423 cat >conftest.$ac_ext <<_ACEOF
73424 /* confdefs.h. */
73425 _ACEOF
73426 cat confdefs.h >>conftest.$ac_ext
73427 cat >>conftest.$ac_ext <<_ACEOF
73428 /* end confdefs.h. */
73429 #include <math.h>
73431 main ()
73433 __builtin_sinf(0);
73435 return 0;
73437 _ACEOF
73438 rm -f conftest.$ac_objext
73439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73440 (eval $ac_compile) 2>conftest.er1
73441 ac_status=$?
73442 grep -v '^ *+' conftest.er1 >conftest.err
73443 rm -f conftest.er1
73444 cat conftest.err >&5
73445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73446 (exit $ac_status); } &&
73447 { ac_try='test -z "$ac_cxx_werror_flag"
73448 || test ! -s conftest.err'
73449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73450 (eval $ac_try) 2>&5
73451 ac_status=$?
73452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73453 (exit $ac_status); }; } &&
73454 { ac_try='test -s conftest.$ac_objext'
73455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73456 (eval $ac_try) 2>&5
73457 ac_status=$?
73458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73459 (exit $ac_status); }; }; then
73460 glibcxx_cv_func___builtin_sinf_use=yes
73461 else
73462 echo "$as_me: failed program was:" >&5
73463 sed 's/^/| /' conftest.$ac_ext >&5
73465 glibcxx_cv_func___builtin_sinf_use=no
73467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73468 ac_ext=c
73469 ac_cpp='$CPP $CPPFLAGS'
73470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73478 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
73479 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
73480 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
73481 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
73482 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
73483 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
73484 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
73485 echo $ECHO_N "(cached) $ECHO_C" >&6
73486 else
73488 if test x$gcc_no_link = xyes; then
73489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73491 { (exit 1); exit 1; }; }
73493 cat >conftest.$ac_ext <<_ACEOF
73494 /* confdefs.h. */
73495 _ACEOF
73496 cat confdefs.h >>conftest.$ac_ext
73497 cat >>conftest.$ac_ext <<_ACEOF
73498 /* end confdefs.h. */
73499 #include <math.h>
73501 main ()
73503 __builtin_sinf(0);
73505 return 0;
73507 _ACEOF
73508 rm -f conftest.$ac_objext conftest$ac_exeext
73509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73510 (eval $ac_link) 2>conftest.er1
73511 ac_status=$?
73512 grep -v '^ *+' conftest.er1 >conftest.err
73513 rm -f conftest.er1
73514 cat conftest.err >&5
73515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73516 (exit $ac_status); } &&
73517 { ac_try='test -z "$ac_c_werror_flag"
73518 || test ! -s conftest.err'
73519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73520 (eval $ac_try) 2>&5
73521 ac_status=$?
73522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73523 (exit $ac_status); }; } &&
73524 { ac_try='test -s conftest$ac_exeext'
73525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73526 (eval $ac_try) 2>&5
73527 ac_status=$?
73528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73529 (exit $ac_status); }; }; then
73530 glibcxx_cv_func___builtin_sinf_link=yes
73531 else
73532 echo "$as_me: failed program was:" >&5
73533 sed 's/^/| /' conftest.$ac_ext >&5
73535 glibcxx_cv_func___builtin_sinf_link=no
73537 rm -f conftest.err conftest.$ac_objext \
73538 conftest$ac_exeext conftest.$ac_ext
73543 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
73544 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
73545 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
73546 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
73548 cat >>confdefs.h <<_ACEOF
73549 #define ${ac_tr_func} 1
73550 _ACEOF
73556 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
73557 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
73558 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
73559 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
73560 echo $ECHO_N "(cached) $ECHO_C" >&6
73561 else
73565 ac_ext=cc
73566 ac_cpp='$CXXCPP $CPPFLAGS'
73567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73571 cat >conftest.$ac_ext <<_ACEOF
73572 /* confdefs.h. */
73573 _ACEOF
73574 cat confdefs.h >>conftest.$ac_ext
73575 cat >>conftest.$ac_ext <<_ACEOF
73576 /* end confdefs.h. */
73577 #include <math.h>
73579 main ()
73581 __builtin_sin(0);
73583 return 0;
73585 _ACEOF
73586 rm -f conftest.$ac_objext
73587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73588 (eval $ac_compile) 2>conftest.er1
73589 ac_status=$?
73590 grep -v '^ *+' conftest.er1 >conftest.err
73591 rm -f conftest.er1
73592 cat conftest.err >&5
73593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73594 (exit $ac_status); } &&
73595 { ac_try='test -z "$ac_cxx_werror_flag"
73596 || test ! -s conftest.err'
73597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73598 (eval $ac_try) 2>&5
73599 ac_status=$?
73600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73601 (exit $ac_status); }; } &&
73602 { ac_try='test -s conftest.$ac_objext'
73603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73604 (eval $ac_try) 2>&5
73605 ac_status=$?
73606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73607 (exit $ac_status); }; }; then
73608 glibcxx_cv_func___builtin_sin_use=yes
73609 else
73610 echo "$as_me: failed program was:" >&5
73611 sed 's/^/| /' conftest.$ac_ext >&5
73613 glibcxx_cv_func___builtin_sin_use=no
73615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73616 ac_ext=c
73617 ac_cpp='$CPP $CPPFLAGS'
73618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73626 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
73627 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
73628 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
73629 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
73630 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
73631 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
73632 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
73633 echo $ECHO_N "(cached) $ECHO_C" >&6
73634 else
73636 if test x$gcc_no_link = xyes; then
73637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73639 { (exit 1); exit 1; }; }
73641 cat >conftest.$ac_ext <<_ACEOF
73642 /* confdefs.h. */
73643 _ACEOF
73644 cat confdefs.h >>conftest.$ac_ext
73645 cat >>conftest.$ac_ext <<_ACEOF
73646 /* end confdefs.h. */
73647 #include <math.h>
73649 main ()
73651 __builtin_sin(0);
73653 return 0;
73655 _ACEOF
73656 rm -f conftest.$ac_objext conftest$ac_exeext
73657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73658 (eval $ac_link) 2>conftest.er1
73659 ac_status=$?
73660 grep -v '^ *+' conftest.er1 >conftest.err
73661 rm -f conftest.er1
73662 cat conftest.err >&5
73663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73664 (exit $ac_status); } &&
73665 { ac_try='test -z "$ac_c_werror_flag"
73666 || test ! -s conftest.err'
73667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73668 (eval $ac_try) 2>&5
73669 ac_status=$?
73670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73671 (exit $ac_status); }; } &&
73672 { ac_try='test -s conftest$ac_exeext'
73673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73674 (eval $ac_try) 2>&5
73675 ac_status=$?
73676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73677 (exit $ac_status); }; }; then
73678 glibcxx_cv_func___builtin_sin_link=yes
73679 else
73680 echo "$as_me: failed program was:" >&5
73681 sed 's/^/| /' conftest.$ac_ext >&5
73683 glibcxx_cv_func___builtin_sin_link=no
73685 rm -f conftest.err conftest.$ac_objext \
73686 conftest$ac_exeext conftest.$ac_ext
73691 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
73692 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
73693 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
73694 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
73696 cat >>confdefs.h <<_ACEOF
73697 #define ${ac_tr_func} 1
73698 _ACEOF
73704 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
73705 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
73706 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
73707 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
73708 echo $ECHO_N "(cached) $ECHO_C" >&6
73709 else
73713 ac_ext=cc
73714 ac_cpp='$CXXCPP $CPPFLAGS'
73715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73719 cat >conftest.$ac_ext <<_ACEOF
73720 /* confdefs.h. */
73721 _ACEOF
73722 cat confdefs.h >>conftest.$ac_ext
73723 cat >>conftest.$ac_ext <<_ACEOF
73724 /* end confdefs.h. */
73725 #include <math.h>
73727 main ()
73729 __builtin_sinl(0);
73731 return 0;
73733 _ACEOF
73734 rm -f conftest.$ac_objext
73735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73736 (eval $ac_compile) 2>conftest.er1
73737 ac_status=$?
73738 grep -v '^ *+' conftest.er1 >conftest.err
73739 rm -f conftest.er1
73740 cat conftest.err >&5
73741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73742 (exit $ac_status); } &&
73743 { ac_try='test -z "$ac_cxx_werror_flag"
73744 || test ! -s conftest.err'
73745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73746 (eval $ac_try) 2>&5
73747 ac_status=$?
73748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73749 (exit $ac_status); }; } &&
73750 { ac_try='test -s conftest.$ac_objext'
73751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73752 (eval $ac_try) 2>&5
73753 ac_status=$?
73754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73755 (exit $ac_status); }; }; then
73756 glibcxx_cv_func___builtin_sinl_use=yes
73757 else
73758 echo "$as_me: failed program was:" >&5
73759 sed 's/^/| /' conftest.$ac_ext >&5
73761 glibcxx_cv_func___builtin_sinl_use=no
73763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73764 ac_ext=c
73765 ac_cpp='$CPP $CPPFLAGS'
73766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73774 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
73775 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
73776 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
73777 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
73778 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
73779 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
73780 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
73781 echo $ECHO_N "(cached) $ECHO_C" >&6
73782 else
73784 if test x$gcc_no_link = xyes; then
73785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73787 { (exit 1); exit 1; }; }
73789 cat >conftest.$ac_ext <<_ACEOF
73790 /* confdefs.h. */
73791 _ACEOF
73792 cat confdefs.h >>conftest.$ac_ext
73793 cat >>conftest.$ac_ext <<_ACEOF
73794 /* end confdefs.h. */
73795 #include <math.h>
73797 main ()
73799 __builtin_sinl(0);
73801 return 0;
73803 _ACEOF
73804 rm -f conftest.$ac_objext conftest$ac_exeext
73805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73806 (eval $ac_link) 2>conftest.er1
73807 ac_status=$?
73808 grep -v '^ *+' conftest.er1 >conftest.err
73809 rm -f conftest.er1
73810 cat conftest.err >&5
73811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73812 (exit $ac_status); } &&
73813 { ac_try='test -z "$ac_c_werror_flag"
73814 || test ! -s conftest.err'
73815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73816 (eval $ac_try) 2>&5
73817 ac_status=$?
73818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73819 (exit $ac_status); }; } &&
73820 { ac_try='test -s conftest$ac_exeext'
73821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73822 (eval $ac_try) 2>&5
73823 ac_status=$?
73824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73825 (exit $ac_status); }; }; then
73826 glibcxx_cv_func___builtin_sinl_link=yes
73827 else
73828 echo "$as_me: failed program was:" >&5
73829 sed 's/^/| /' conftest.$ac_ext >&5
73831 glibcxx_cv_func___builtin_sinl_link=no
73833 rm -f conftest.err conftest.$ac_objext \
73834 conftest$ac_exeext conftest.$ac_ext
73839 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
73840 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
73841 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
73842 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
73844 cat >>confdefs.h <<_ACEOF
73845 #define ${ac_tr_func} 1
73846 _ACEOF
73853 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
73854 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
73855 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
73856 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
73857 echo $ECHO_N "(cached) $ECHO_C" >&6
73858 else
73862 ac_ext=cc
73863 ac_cpp='$CXXCPP $CPPFLAGS'
73864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73868 cat >conftest.$ac_ext <<_ACEOF
73869 /* confdefs.h. */
73870 _ACEOF
73871 cat confdefs.h >>conftest.$ac_ext
73872 cat >>conftest.$ac_ext <<_ACEOF
73873 /* end confdefs.h. */
73874 #include <math.h>
73876 main ()
73878 __builtin_cosf(0);
73880 return 0;
73882 _ACEOF
73883 rm -f conftest.$ac_objext
73884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73885 (eval $ac_compile) 2>conftest.er1
73886 ac_status=$?
73887 grep -v '^ *+' conftest.er1 >conftest.err
73888 rm -f conftest.er1
73889 cat conftest.err >&5
73890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73891 (exit $ac_status); } &&
73892 { ac_try='test -z "$ac_cxx_werror_flag"
73893 || test ! -s conftest.err'
73894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73895 (eval $ac_try) 2>&5
73896 ac_status=$?
73897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73898 (exit $ac_status); }; } &&
73899 { ac_try='test -s conftest.$ac_objext'
73900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73901 (eval $ac_try) 2>&5
73902 ac_status=$?
73903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73904 (exit $ac_status); }; }; then
73905 glibcxx_cv_func___builtin_cosf_use=yes
73906 else
73907 echo "$as_me: failed program was:" >&5
73908 sed 's/^/| /' conftest.$ac_ext >&5
73910 glibcxx_cv_func___builtin_cosf_use=no
73912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73913 ac_ext=c
73914 ac_cpp='$CPP $CPPFLAGS'
73915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73923 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
73924 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
73925 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
73926 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
73927 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
73928 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
73929 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
73930 echo $ECHO_N "(cached) $ECHO_C" >&6
73931 else
73933 if test x$gcc_no_link = xyes; then
73934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73936 { (exit 1); exit 1; }; }
73938 cat >conftest.$ac_ext <<_ACEOF
73939 /* confdefs.h. */
73940 _ACEOF
73941 cat confdefs.h >>conftest.$ac_ext
73942 cat >>conftest.$ac_ext <<_ACEOF
73943 /* end confdefs.h. */
73944 #include <math.h>
73946 main ()
73948 __builtin_cosf(0);
73950 return 0;
73952 _ACEOF
73953 rm -f conftest.$ac_objext conftest$ac_exeext
73954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73955 (eval $ac_link) 2>conftest.er1
73956 ac_status=$?
73957 grep -v '^ *+' conftest.er1 >conftest.err
73958 rm -f conftest.er1
73959 cat conftest.err >&5
73960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73961 (exit $ac_status); } &&
73962 { ac_try='test -z "$ac_c_werror_flag"
73963 || test ! -s conftest.err'
73964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73965 (eval $ac_try) 2>&5
73966 ac_status=$?
73967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73968 (exit $ac_status); }; } &&
73969 { ac_try='test -s conftest$ac_exeext'
73970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73971 (eval $ac_try) 2>&5
73972 ac_status=$?
73973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73974 (exit $ac_status); }; }; then
73975 glibcxx_cv_func___builtin_cosf_link=yes
73976 else
73977 echo "$as_me: failed program was:" >&5
73978 sed 's/^/| /' conftest.$ac_ext >&5
73980 glibcxx_cv_func___builtin_cosf_link=no
73982 rm -f conftest.err conftest.$ac_objext \
73983 conftest$ac_exeext conftest.$ac_ext
73988 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
73989 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
73990 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
73991 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
73993 cat >>confdefs.h <<_ACEOF
73994 #define ${ac_tr_func} 1
73995 _ACEOF
74001 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
74002 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
74003 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
74004 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
74005 echo $ECHO_N "(cached) $ECHO_C" >&6
74006 else
74010 ac_ext=cc
74011 ac_cpp='$CXXCPP $CPPFLAGS'
74012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74016 cat >conftest.$ac_ext <<_ACEOF
74017 /* confdefs.h. */
74018 _ACEOF
74019 cat confdefs.h >>conftest.$ac_ext
74020 cat >>conftest.$ac_ext <<_ACEOF
74021 /* end confdefs.h. */
74022 #include <math.h>
74024 main ()
74026 __builtin_cos(0);
74028 return 0;
74030 _ACEOF
74031 rm -f conftest.$ac_objext
74032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74033 (eval $ac_compile) 2>conftest.er1
74034 ac_status=$?
74035 grep -v '^ *+' conftest.er1 >conftest.err
74036 rm -f conftest.er1
74037 cat conftest.err >&5
74038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74039 (exit $ac_status); } &&
74040 { ac_try='test -z "$ac_cxx_werror_flag"
74041 || test ! -s conftest.err'
74042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74043 (eval $ac_try) 2>&5
74044 ac_status=$?
74045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74046 (exit $ac_status); }; } &&
74047 { ac_try='test -s conftest.$ac_objext'
74048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74049 (eval $ac_try) 2>&5
74050 ac_status=$?
74051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74052 (exit $ac_status); }; }; then
74053 glibcxx_cv_func___builtin_cos_use=yes
74054 else
74055 echo "$as_me: failed program was:" >&5
74056 sed 's/^/| /' conftest.$ac_ext >&5
74058 glibcxx_cv_func___builtin_cos_use=no
74060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74061 ac_ext=c
74062 ac_cpp='$CPP $CPPFLAGS'
74063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74071 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
74072 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
74073 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
74074 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
74075 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
74076 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
74077 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
74078 echo $ECHO_N "(cached) $ECHO_C" >&6
74079 else
74081 if test x$gcc_no_link = xyes; then
74082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74084 { (exit 1); exit 1; }; }
74086 cat >conftest.$ac_ext <<_ACEOF
74087 /* confdefs.h. */
74088 _ACEOF
74089 cat confdefs.h >>conftest.$ac_ext
74090 cat >>conftest.$ac_ext <<_ACEOF
74091 /* end confdefs.h. */
74092 #include <math.h>
74094 main ()
74096 __builtin_cos(0);
74098 return 0;
74100 _ACEOF
74101 rm -f conftest.$ac_objext conftest$ac_exeext
74102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74103 (eval $ac_link) 2>conftest.er1
74104 ac_status=$?
74105 grep -v '^ *+' conftest.er1 >conftest.err
74106 rm -f conftest.er1
74107 cat conftest.err >&5
74108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74109 (exit $ac_status); } &&
74110 { ac_try='test -z "$ac_c_werror_flag"
74111 || test ! -s conftest.err'
74112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74113 (eval $ac_try) 2>&5
74114 ac_status=$?
74115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74116 (exit $ac_status); }; } &&
74117 { ac_try='test -s conftest$ac_exeext'
74118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74119 (eval $ac_try) 2>&5
74120 ac_status=$?
74121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74122 (exit $ac_status); }; }; then
74123 glibcxx_cv_func___builtin_cos_link=yes
74124 else
74125 echo "$as_me: failed program was:" >&5
74126 sed 's/^/| /' conftest.$ac_ext >&5
74128 glibcxx_cv_func___builtin_cos_link=no
74130 rm -f conftest.err conftest.$ac_objext \
74131 conftest$ac_exeext conftest.$ac_ext
74136 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
74137 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
74138 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
74139 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
74141 cat >>confdefs.h <<_ACEOF
74142 #define ${ac_tr_func} 1
74143 _ACEOF
74149 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
74150 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
74151 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
74152 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
74153 echo $ECHO_N "(cached) $ECHO_C" >&6
74154 else
74158 ac_ext=cc
74159 ac_cpp='$CXXCPP $CPPFLAGS'
74160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74164 cat >conftest.$ac_ext <<_ACEOF
74165 /* confdefs.h. */
74166 _ACEOF
74167 cat confdefs.h >>conftest.$ac_ext
74168 cat >>conftest.$ac_ext <<_ACEOF
74169 /* end confdefs.h. */
74170 #include <math.h>
74172 main ()
74174 __builtin_cosl(0);
74176 return 0;
74178 _ACEOF
74179 rm -f conftest.$ac_objext
74180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74181 (eval $ac_compile) 2>conftest.er1
74182 ac_status=$?
74183 grep -v '^ *+' conftest.er1 >conftest.err
74184 rm -f conftest.er1
74185 cat conftest.err >&5
74186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74187 (exit $ac_status); } &&
74188 { ac_try='test -z "$ac_cxx_werror_flag"
74189 || test ! -s conftest.err'
74190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74191 (eval $ac_try) 2>&5
74192 ac_status=$?
74193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74194 (exit $ac_status); }; } &&
74195 { ac_try='test -s conftest.$ac_objext'
74196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74197 (eval $ac_try) 2>&5
74198 ac_status=$?
74199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74200 (exit $ac_status); }; }; then
74201 glibcxx_cv_func___builtin_cosl_use=yes
74202 else
74203 echo "$as_me: failed program was:" >&5
74204 sed 's/^/| /' conftest.$ac_ext >&5
74206 glibcxx_cv_func___builtin_cosl_use=no
74208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74209 ac_ext=c
74210 ac_cpp='$CPP $CPPFLAGS'
74211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74219 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
74220 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
74221 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
74222 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
74223 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
74224 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
74225 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
74226 echo $ECHO_N "(cached) $ECHO_C" >&6
74227 else
74229 if test x$gcc_no_link = xyes; then
74230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74232 { (exit 1); exit 1; }; }
74234 cat >conftest.$ac_ext <<_ACEOF
74235 /* confdefs.h. */
74236 _ACEOF
74237 cat confdefs.h >>conftest.$ac_ext
74238 cat >>conftest.$ac_ext <<_ACEOF
74239 /* end confdefs.h. */
74240 #include <math.h>
74242 main ()
74244 __builtin_cosl(0);
74246 return 0;
74248 _ACEOF
74249 rm -f conftest.$ac_objext conftest$ac_exeext
74250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74251 (eval $ac_link) 2>conftest.er1
74252 ac_status=$?
74253 grep -v '^ *+' conftest.er1 >conftest.err
74254 rm -f conftest.er1
74255 cat conftest.err >&5
74256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74257 (exit $ac_status); } &&
74258 { ac_try='test -z "$ac_c_werror_flag"
74259 || test ! -s conftest.err'
74260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74261 (eval $ac_try) 2>&5
74262 ac_status=$?
74263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74264 (exit $ac_status); }; } &&
74265 { ac_try='test -s conftest$ac_exeext'
74266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74267 (eval $ac_try) 2>&5
74268 ac_status=$?
74269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74270 (exit $ac_status); }; }; then
74271 glibcxx_cv_func___builtin_cosl_link=yes
74272 else
74273 echo "$as_me: failed program was:" >&5
74274 sed 's/^/| /' conftest.$ac_ext >&5
74276 glibcxx_cv_func___builtin_cosl_link=no
74278 rm -f conftest.err conftest.$ac_objext \
74279 conftest$ac_exeext conftest.$ac_ext
74284 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
74285 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
74286 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
74287 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
74289 cat >>confdefs.h <<_ACEOF
74290 #define ${ac_tr_func} 1
74291 _ACEOF
74299 echo "$as_me:$LINENO: checking for main in -lm" >&5
74300 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
74301 if test "${ac_cv_lib_m_main+set}" = set; then
74302 echo $ECHO_N "(cached) $ECHO_C" >&6
74303 else
74304 ac_check_lib_save_LIBS=$LIBS
74305 LIBS="-lm $LIBS"
74306 if test x$gcc_no_link = xyes; then
74307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74309 { (exit 1); exit 1; }; }
74311 cat >conftest.$ac_ext <<_ACEOF
74312 /* confdefs.h. */
74313 _ACEOF
74314 cat confdefs.h >>conftest.$ac_ext
74315 cat >>conftest.$ac_ext <<_ACEOF
74316 /* end confdefs.h. */
74320 main ()
74322 main ();
74324 return 0;
74326 _ACEOF
74327 rm -f conftest.$ac_objext conftest$ac_exeext
74328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74329 (eval $ac_link) 2>conftest.er1
74330 ac_status=$?
74331 grep -v '^ *+' conftest.er1 >conftest.err
74332 rm -f conftest.er1
74333 cat conftest.err >&5
74334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74335 (exit $ac_status); } &&
74336 { ac_try='test -z "$ac_c_werror_flag"
74337 || test ! -s conftest.err'
74338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74339 (eval $ac_try) 2>&5
74340 ac_status=$?
74341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74342 (exit $ac_status); }; } &&
74343 { ac_try='test -s conftest$ac_exeext'
74344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74345 (eval $ac_try) 2>&5
74346 ac_status=$?
74347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74348 (exit $ac_status); }; }; then
74349 ac_cv_lib_m_main=yes
74350 else
74351 echo "$as_me: failed program was:" >&5
74352 sed 's/^/| /' conftest.$ac_ext >&5
74354 ac_cv_lib_m_main=no
74356 rm -f conftest.err conftest.$ac_objext \
74357 conftest$ac_exeext conftest.$ac_ext
74358 LIBS=$ac_check_lib_save_LIBS
74360 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
74361 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
74362 if test $ac_cv_lib_m_main = yes; then
74363 cat >>confdefs.h <<_ACEOF
74364 #define HAVE_LIBM 1
74365 _ACEOF
74367 LIBS="-lm $LIBS"
74372 for ac_func in copysignf
74374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74375 echo "$as_me:$LINENO: checking for $ac_func" >&5
74376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74377 if eval "test \"\${$as_ac_var+set}\" = set"; then
74378 echo $ECHO_N "(cached) $ECHO_C" >&6
74379 else
74380 if test x$gcc_no_link = xyes; then
74381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74383 { (exit 1); exit 1; }; }
74385 cat >conftest.$ac_ext <<_ACEOF
74386 /* confdefs.h. */
74387 _ACEOF
74388 cat confdefs.h >>conftest.$ac_ext
74389 cat >>conftest.$ac_ext <<_ACEOF
74390 /* end confdefs.h. */
74391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74393 #define $ac_func innocuous_$ac_func
74395 /* System header to define __stub macros and hopefully few prototypes,
74396 which can conflict with char $ac_func (); below.
74397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74398 <limits.h> exists even on freestanding compilers. */
74400 #ifdef __STDC__
74401 # include <limits.h>
74402 #else
74403 # include <assert.h>
74404 #endif
74406 #undef $ac_func
74408 /* Override any gcc2 internal prototype to avoid an error. */
74409 #ifdef __cplusplus
74410 extern "C"
74412 #endif
74413 /* We use char because int might match the return type of a gcc2
74414 builtin and then its argument prototype would still apply. */
74415 char $ac_func ();
74416 /* The GNU C library defines this for functions which it implements
74417 to always fail with ENOSYS. Some functions are actually named
74418 something starting with __ and the normal name is an alias. */
74419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74420 choke me
74421 #else
74422 char (*f) () = $ac_func;
74423 #endif
74424 #ifdef __cplusplus
74426 #endif
74429 main ()
74431 return f != $ac_func;
74433 return 0;
74435 _ACEOF
74436 rm -f conftest.$ac_objext conftest$ac_exeext
74437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74438 (eval $ac_link) 2>conftest.er1
74439 ac_status=$?
74440 grep -v '^ *+' conftest.er1 >conftest.err
74441 rm -f conftest.er1
74442 cat conftest.err >&5
74443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74444 (exit $ac_status); } &&
74445 { ac_try='test -z "$ac_c_werror_flag"
74446 || test ! -s conftest.err'
74447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74448 (eval $ac_try) 2>&5
74449 ac_status=$?
74450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74451 (exit $ac_status); }; } &&
74452 { ac_try='test -s conftest$ac_exeext'
74453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74454 (eval $ac_try) 2>&5
74455 ac_status=$?
74456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74457 (exit $ac_status); }; }; then
74458 eval "$as_ac_var=yes"
74459 else
74460 echo "$as_me: failed program was:" >&5
74461 sed 's/^/| /' conftest.$ac_ext >&5
74463 eval "$as_ac_var=no"
74465 rm -f conftest.err conftest.$ac_objext \
74466 conftest$ac_exeext conftest.$ac_ext
74468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74470 if test `eval echo '${'$as_ac_var'}'` = yes; then
74471 cat >>confdefs.h <<_ACEOF
74472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74473 _ACEOF
74475 else
74476 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
74478 done
74482 for ac_func in __signbit
74484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74485 echo "$as_me:$LINENO: checking for $ac_func" >&5
74486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74487 if eval "test \"\${$as_ac_var+set}\" = set"; then
74488 echo $ECHO_N "(cached) $ECHO_C" >&6
74489 else
74490 if test x$gcc_no_link = xyes; then
74491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74493 { (exit 1); exit 1; }; }
74495 cat >conftest.$ac_ext <<_ACEOF
74496 /* confdefs.h. */
74497 _ACEOF
74498 cat confdefs.h >>conftest.$ac_ext
74499 cat >>conftest.$ac_ext <<_ACEOF
74500 /* end confdefs.h. */
74501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74503 #define $ac_func innocuous_$ac_func
74505 /* System header to define __stub macros and hopefully few prototypes,
74506 which can conflict with char $ac_func (); below.
74507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74508 <limits.h> exists even on freestanding compilers. */
74510 #ifdef __STDC__
74511 # include <limits.h>
74512 #else
74513 # include <assert.h>
74514 #endif
74516 #undef $ac_func
74518 /* Override any gcc2 internal prototype to avoid an error. */
74519 #ifdef __cplusplus
74520 extern "C"
74522 #endif
74523 /* We use char because int might match the return type of a gcc2
74524 builtin and then its argument prototype would still apply. */
74525 char $ac_func ();
74526 /* The GNU C library defines this for functions which it implements
74527 to always fail with ENOSYS. Some functions are actually named
74528 something starting with __ and the normal name is an alias. */
74529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74530 choke me
74531 #else
74532 char (*f) () = $ac_func;
74533 #endif
74534 #ifdef __cplusplus
74536 #endif
74539 main ()
74541 return f != $ac_func;
74543 return 0;
74545 _ACEOF
74546 rm -f conftest.$ac_objext conftest$ac_exeext
74547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74548 (eval $ac_link) 2>conftest.er1
74549 ac_status=$?
74550 grep -v '^ *+' conftest.er1 >conftest.err
74551 rm -f conftest.er1
74552 cat conftest.err >&5
74553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74554 (exit $ac_status); } &&
74555 { ac_try='test -z "$ac_c_werror_flag"
74556 || test ! -s conftest.err'
74557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74558 (eval $ac_try) 2>&5
74559 ac_status=$?
74560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74561 (exit $ac_status); }; } &&
74562 { ac_try='test -s conftest$ac_exeext'
74563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74564 (eval $ac_try) 2>&5
74565 ac_status=$?
74566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74567 (exit $ac_status); }; }; then
74568 eval "$as_ac_var=yes"
74569 else
74570 echo "$as_me: failed program was:" >&5
74571 sed 's/^/| /' conftest.$ac_ext >&5
74573 eval "$as_ac_var=no"
74575 rm -f conftest.err conftest.$ac_objext \
74576 conftest$ac_exeext conftest.$ac_ext
74578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74580 if test `eval echo '${'$as_ac_var'}'` = yes; then
74581 cat >>confdefs.h <<_ACEOF
74582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74583 _ACEOF
74585 else
74586 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74588 done
74592 for ac_func in __signbitf
74594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74595 echo "$as_me:$LINENO: checking for $ac_func" >&5
74596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74597 if eval "test \"\${$as_ac_var+set}\" = set"; then
74598 echo $ECHO_N "(cached) $ECHO_C" >&6
74599 else
74600 if test x$gcc_no_link = xyes; then
74601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74603 { (exit 1); exit 1; }; }
74605 cat >conftest.$ac_ext <<_ACEOF
74606 /* confdefs.h. */
74607 _ACEOF
74608 cat confdefs.h >>conftest.$ac_ext
74609 cat >>conftest.$ac_ext <<_ACEOF
74610 /* end confdefs.h. */
74611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74613 #define $ac_func innocuous_$ac_func
74615 /* System header to define __stub macros and hopefully few prototypes,
74616 which can conflict with char $ac_func (); below.
74617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74618 <limits.h> exists even on freestanding compilers. */
74620 #ifdef __STDC__
74621 # include <limits.h>
74622 #else
74623 # include <assert.h>
74624 #endif
74626 #undef $ac_func
74628 /* Override any gcc2 internal prototype to avoid an error. */
74629 #ifdef __cplusplus
74630 extern "C"
74632 #endif
74633 /* We use char because int might match the return type of a gcc2
74634 builtin and then its argument prototype would still apply. */
74635 char $ac_func ();
74636 /* The GNU C library defines this for functions which it implements
74637 to always fail with ENOSYS. Some functions are actually named
74638 something starting with __ and the normal name is an alias. */
74639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74640 choke me
74641 #else
74642 char (*f) () = $ac_func;
74643 #endif
74644 #ifdef __cplusplus
74646 #endif
74649 main ()
74651 return f != $ac_func;
74653 return 0;
74655 _ACEOF
74656 rm -f conftest.$ac_objext conftest$ac_exeext
74657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74658 (eval $ac_link) 2>conftest.er1
74659 ac_status=$?
74660 grep -v '^ *+' conftest.er1 >conftest.err
74661 rm -f conftest.er1
74662 cat conftest.err >&5
74663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74664 (exit $ac_status); } &&
74665 { ac_try='test -z "$ac_c_werror_flag"
74666 || test ! -s conftest.err'
74667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74668 (eval $ac_try) 2>&5
74669 ac_status=$?
74670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74671 (exit $ac_status); }; } &&
74672 { ac_try='test -s conftest$ac_exeext'
74673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74674 (eval $ac_try) 2>&5
74675 ac_status=$?
74676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74677 (exit $ac_status); }; }; then
74678 eval "$as_ac_var=yes"
74679 else
74680 echo "$as_me: failed program was:" >&5
74681 sed 's/^/| /' conftest.$ac_ext >&5
74683 eval "$as_ac_var=no"
74685 rm -f conftest.err conftest.$ac_objext \
74686 conftest$ac_exeext conftest.$ac_ext
74688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74690 if test `eval echo '${'$as_ac_var'}'` = yes; then
74691 cat >>confdefs.h <<_ACEOF
74692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74693 _ACEOF
74695 else
74696 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74698 done
74701 if test x$ac_cv_func_copysignl = x"yes"; then
74703 for ac_func in __signbitl
74705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74706 echo "$as_me:$LINENO: checking for $ac_func" >&5
74707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74708 if eval "test \"\${$as_ac_var+set}\" = set"; then
74709 echo $ECHO_N "(cached) $ECHO_C" >&6
74710 else
74711 if test x$gcc_no_link = xyes; then
74712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74714 { (exit 1); exit 1; }; }
74716 cat >conftest.$ac_ext <<_ACEOF
74717 /* confdefs.h. */
74718 _ACEOF
74719 cat confdefs.h >>conftest.$ac_ext
74720 cat >>conftest.$ac_ext <<_ACEOF
74721 /* end confdefs.h. */
74722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74724 #define $ac_func innocuous_$ac_func
74726 /* System header to define __stub macros and hopefully few prototypes,
74727 which can conflict with char $ac_func (); below.
74728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74729 <limits.h> exists even on freestanding compilers. */
74731 #ifdef __STDC__
74732 # include <limits.h>
74733 #else
74734 # include <assert.h>
74735 #endif
74737 #undef $ac_func
74739 /* Override any gcc2 internal prototype to avoid an error. */
74740 #ifdef __cplusplus
74741 extern "C"
74743 #endif
74744 /* We use char because int might match the return type of a gcc2
74745 builtin and then its argument prototype would still apply. */
74746 char $ac_func ();
74747 /* The GNU C library defines this for functions which it implements
74748 to always fail with ENOSYS. Some functions are actually named
74749 something starting with __ and the normal name is an alias. */
74750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74751 choke me
74752 #else
74753 char (*f) () = $ac_func;
74754 #endif
74755 #ifdef __cplusplus
74757 #endif
74760 main ()
74762 return f != $ac_func;
74764 return 0;
74766 _ACEOF
74767 rm -f conftest.$ac_objext conftest$ac_exeext
74768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74769 (eval $ac_link) 2>conftest.er1
74770 ac_status=$?
74771 grep -v '^ *+' conftest.er1 >conftest.err
74772 rm -f conftest.er1
74773 cat conftest.err >&5
74774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74775 (exit $ac_status); } &&
74776 { ac_try='test -z "$ac_c_werror_flag"
74777 || test ! -s conftest.err'
74778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74779 (eval $ac_try) 2>&5
74780 ac_status=$?
74781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74782 (exit $ac_status); }; } &&
74783 { ac_try='test -s conftest$ac_exeext'
74784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74785 (eval $ac_try) 2>&5
74786 ac_status=$?
74787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74788 (exit $ac_status); }; }; then
74789 eval "$as_ac_var=yes"
74790 else
74791 echo "$as_me: failed program was:" >&5
74792 sed 's/^/| /' conftest.$ac_ext >&5
74794 eval "$as_ac_var=no"
74796 rm -f conftest.err conftest.$ac_objext \
74797 conftest$ac_exeext conftest.$ac_ext
74799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74801 if test `eval echo '${'$as_ac_var'}'` = yes; then
74802 cat >>confdefs.h <<_ACEOF
74803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74804 _ACEOF
74806 else
74807 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74809 done
74813 # Used in libmath/Makefile.am.
74814 if test -n "$LIBMATHOBJS"; then
74815 need_libmath=yes
74820 # Test wchar.h for mbstate_t, which is needed for char_traits and
74821 # others even if wchar_t support is not on.
74822 echo "$as_me:$LINENO: checking for mbstate_t" >&5
74823 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
74824 cat >conftest.$ac_ext <<_ACEOF
74825 /* confdefs.h. */
74826 _ACEOF
74827 cat confdefs.h >>conftest.$ac_ext
74828 cat >>conftest.$ac_ext <<_ACEOF
74829 /* end confdefs.h. */
74830 #include <wchar.h>
74832 main ()
74834 mbstate_t teststate;
74836 return 0;
74838 _ACEOF
74839 rm -f conftest.$ac_objext
74840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74841 (eval $ac_compile) 2>conftest.er1
74842 ac_status=$?
74843 grep -v '^ *+' conftest.er1 >conftest.err
74844 rm -f conftest.er1
74845 cat conftest.err >&5
74846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74847 (exit $ac_status); } &&
74848 { ac_try='test -z "$ac_c_werror_flag"
74849 || test ! -s conftest.err'
74850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74851 (eval $ac_try) 2>&5
74852 ac_status=$?
74853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74854 (exit $ac_status); }; } &&
74855 { ac_try='test -s conftest.$ac_objext'
74856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74857 (eval $ac_try) 2>&5
74858 ac_status=$?
74859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74860 (exit $ac_status); }; }; then
74861 have_mbstate_t=yes
74862 else
74863 echo "$as_me: failed program was:" >&5
74864 sed 's/^/| /' conftest.$ac_ext >&5
74866 have_mbstate_t=no
74868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74869 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
74870 echo "${ECHO_T}$have_mbstate_t" >&6
74871 if test x"$have_mbstate_t" = xyes; then
74872 cat >>confdefs.h <<\_ACEOF
74873 #define HAVE_MBSTATE_T 1
74874 _ACEOF
74878 # Sanity check for existence of ISO C99 headers for extended encoding.
74880 for ac_header in wchar.h
74882 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
74883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74884 echo "$as_me:$LINENO: checking for $ac_header" >&5
74885 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74886 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74887 echo $ECHO_N "(cached) $ECHO_C" >&6
74889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74890 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74891 else
74892 # Is the header compilable?
74893 echo "$as_me:$LINENO: checking $ac_header usability" >&5
74894 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
74895 cat >conftest.$ac_ext <<_ACEOF
74896 /* confdefs.h. */
74897 _ACEOF
74898 cat confdefs.h >>conftest.$ac_ext
74899 cat >>conftest.$ac_ext <<_ACEOF
74900 /* end confdefs.h. */
74901 $ac_includes_default
74902 #include <$ac_header>
74903 _ACEOF
74904 rm -f conftest.$ac_objext
74905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74906 (eval $ac_compile) 2>conftest.er1
74907 ac_status=$?
74908 grep -v '^ *+' conftest.er1 >conftest.err
74909 rm -f conftest.er1
74910 cat conftest.err >&5
74911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74912 (exit $ac_status); } &&
74913 { ac_try='test -z "$ac_c_werror_flag"
74914 || test ! -s conftest.err'
74915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74916 (eval $ac_try) 2>&5
74917 ac_status=$?
74918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74919 (exit $ac_status); }; } &&
74920 { ac_try='test -s conftest.$ac_objext'
74921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74922 (eval $ac_try) 2>&5
74923 ac_status=$?
74924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74925 (exit $ac_status); }; }; then
74926 ac_header_compiler=yes
74927 else
74928 echo "$as_me: failed program was:" >&5
74929 sed 's/^/| /' conftest.$ac_ext >&5
74931 ac_header_compiler=no
74933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74934 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74935 echo "${ECHO_T}$ac_header_compiler" >&6
74937 # Is the header present?
74938 echo "$as_me:$LINENO: checking $ac_header presence" >&5
74939 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
74940 cat >conftest.$ac_ext <<_ACEOF
74941 /* confdefs.h. */
74942 _ACEOF
74943 cat confdefs.h >>conftest.$ac_ext
74944 cat >>conftest.$ac_ext <<_ACEOF
74945 /* end confdefs.h. */
74946 #include <$ac_header>
74947 _ACEOF
74948 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74949 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74950 ac_status=$?
74951 grep -v '^ *+' conftest.er1 >conftest.err
74952 rm -f conftest.er1
74953 cat conftest.err >&5
74954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74955 (exit $ac_status); } >/dev/null; then
74956 if test -s conftest.err; then
74957 ac_cpp_err=$ac_c_preproc_warn_flag
74958 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74959 else
74960 ac_cpp_err=
74962 else
74963 ac_cpp_err=yes
74965 if test -z "$ac_cpp_err"; then
74966 ac_header_preproc=yes
74967 else
74968 echo "$as_me: failed program was:" >&5
74969 sed 's/^/| /' conftest.$ac_ext >&5
74971 ac_header_preproc=no
74973 rm -f conftest.err conftest.$ac_ext
74974 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74975 echo "${ECHO_T}$ac_header_preproc" >&6
74977 # So? What about this header?
74978 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74979 yes:no: )
74980 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
74981 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
74982 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
74983 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
74984 ac_header_preproc=yes
74986 no:yes:* )
74987 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
74988 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
74989 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
74990 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
74991 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
74992 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
74993 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
74994 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
74995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
74996 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
74997 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
74998 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75000 cat <<\_ASBOX
75001 ## ----------------------------------------- ##
75002 ## Report this to the package-unused lists. ##
75003 ## ----------------------------------------- ##
75004 _ASBOX
75006 sed "s/^/$as_me: WARNING: /" >&2
75008 esac
75009 echo "$as_me:$LINENO: checking for $ac_header" >&5
75010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75012 echo $ECHO_N "(cached) $ECHO_C" >&6
75013 else
75014 eval "$as_ac_Header=\$ac_header_preproc"
75016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75017 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75020 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75021 cat >>confdefs.h <<_ACEOF
75022 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75023 _ACEOF
75024 ac_has_wchar_h=yes
75025 else
75026 ac_has_wchar_h=no
75029 done
75032 for ac_header in wctype.h
75034 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75035 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75036 echo "$as_me:$LINENO: checking for $ac_header" >&5
75037 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75039 echo $ECHO_N "(cached) $ECHO_C" >&6
75041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75042 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75043 else
75044 # Is the header compilable?
75045 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75046 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75047 cat >conftest.$ac_ext <<_ACEOF
75048 /* confdefs.h. */
75049 _ACEOF
75050 cat confdefs.h >>conftest.$ac_ext
75051 cat >>conftest.$ac_ext <<_ACEOF
75052 /* end confdefs.h. */
75053 $ac_includes_default
75054 #include <$ac_header>
75055 _ACEOF
75056 rm -f conftest.$ac_objext
75057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75058 (eval $ac_compile) 2>conftest.er1
75059 ac_status=$?
75060 grep -v '^ *+' conftest.er1 >conftest.err
75061 rm -f conftest.er1
75062 cat conftest.err >&5
75063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75064 (exit $ac_status); } &&
75065 { ac_try='test -z "$ac_c_werror_flag"
75066 || test ! -s conftest.err'
75067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75068 (eval $ac_try) 2>&5
75069 ac_status=$?
75070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75071 (exit $ac_status); }; } &&
75072 { ac_try='test -s conftest.$ac_objext'
75073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75074 (eval $ac_try) 2>&5
75075 ac_status=$?
75076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75077 (exit $ac_status); }; }; then
75078 ac_header_compiler=yes
75079 else
75080 echo "$as_me: failed program was:" >&5
75081 sed 's/^/| /' conftest.$ac_ext >&5
75083 ac_header_compiler=no
75085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75086 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75087 echo "${ECHO_T}$ac_header_compiler" >&6
75089 # Is the header present?
75090 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75091 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75092 cat >conftest.$ac_ext <<_ACEOF
75093 /* confdefs.h. */
75094 _ACEOF
75095 cat confdefs.h >>conftest.$ac_ext
75096 cat >>conftest.$ac_ext <<_ACEOF
75097 /* end confdefs.h. */
75098 #include <$ac_header>
75099 _ACEOF
75100 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75101 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75102 ac_status=$?
75103 grep -v '^ *+' conftest.er1 >conftest.err
75104 rm -f conftest.er1
75105 cat conftest.err >&5
75106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75107 (exit $ac_status); } >/dev/null; then
75108 if test -s conftest.err; then
75109 ac_cpp_err=$ac_c_preproc_warn_flag
75110 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75111 else
75112 ac_cpp_err=
75114 else
75115 ac_cpp_err=yes
75117 if test -z "$ac_cpp_err"; then
75118 ac_header_preproc=yes
75119 else
75120 echo "$as_me: failed program was:" >&5
75121 sed 's/^/| /' conftest.$ac_ext >&5
75123 ac_header_preproc=no
75125 rm -f conftest.err conftest.$ac_ext
75126 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75127 echo "${ECHO_T}$ac_header_preproc" >&6
75129 # So? What about this header?
75130 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75131 yes:no: )
75132 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75133 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75134 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75135 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75136 ac_header_preproc=yes
75138 no:yes:* )
75139 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75140 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75141 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75142 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75143 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75144 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75145 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75146 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75147 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75148 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75149 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75150 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75152 cat <<\_ASBOX
75153 ## ----------------------------------------- ##
75154 ## Report this to the package-unused lists. ##
75155 ## ----------------------------------------- ##
75156 _ASBOX
75158 sed "s/^/$as_me: WARNING: /" >&2
75160 esac
75161 echo "$as_me:$LINENO: checking for $ac_header" >&5
75162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75164 echo $ECHO_N "(cached) $ECHO_C" >&6
75165 else
75166 eval "$as_ac_Header=\$ac_header_preproc"
75168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75169 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75172 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75173 cat >>confdefs.h <<_ACEOF
75174 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75175 _ACEOF
75176 ac_has_wctype_h=yes
75177 else
75178 ac_has_wctype_h=no
75181 done
75184 # Only continue checking if the ISO C99 headers exist and support is on.
75185 if test x"$ac_has_wchar_h" = xyes &&
75186 test x"$ac_has_wctype_h" = xyes &&
75187 test x"$enable_c_mbchar" != xno; then
75189 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
75190 # numeric_limits can instantiate type_traits<wchar_t>
75191 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
75192 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
75193 cat >conftest.$ac_ext <<_ACEOF
75194 /* confdefs.h. */
75195 _ACEOF
75196 cat confdefs.h >>conftest.$ac_ext
75197 cat >>conftest.$ac_ext <<_ACEOF
75198 /* end confdefs.h. */
75199 #include <wchar.h>
75201 main ()
75203 int i = WCHAR_MIN; int j = WCHAR_MAX;
75205 return 0;
75207 _ACEOF
75208 rm -f conftest.$ac_objext
75209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75210 (eval $ac_compile) 2>conftest.er1
75211 ac_status=$?
75212 grep -v '^ *+' conftest.er1 >conftest.err
75213 rm -f conftest.er1
75214 cat conftest.err >&5
75215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75216 (exit $ac_status); } &&
75217 { ac_try='test -z "$ac_c_werror_flag"
75218 || test ! -s conftest.err'
75219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75220 (eval $ac_try) 2>&5
75221 ac_status=$?
75222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75223 (exit $ac_status); }; } &&
75224 { ac_try='test -s conftest.$ac_objext'
75225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75226 (eval $ac_try) 2>&5
75227 ac_status=$?
75228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75229 (exit $ac_status); }; }; then
75230 has_wchar_minmax=yes
75231 else
75232 echo "$as_me: failed program was:" >&5
75233 sed 's/^/| /' conftest.$ac_ext >&5
75235 has_wchar_minmax=no
75237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75238 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
75239 echo "${ECHO_T}$has_wchar_minmax" >&6
75241 # Test wchar.h for WEOF, which is what we use to determine whether
75242 # to specialize for char_traits<wchar_t> or not.
75243 echo "$as_me:$LINENO: checking for WEOF" >&5
75244 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
75245 cat >conftest.$ac_ext <<_ACEOF
75246 /* confdefs.h. */
75247 _ACEOF
75248 cat confdefs.h >>conftest.$ac_ext
75249 cat >>conftest.$ac_ext <<_ACEOF
75250 /* end confdefs.h. */
75252 #include <wchar.h>
75253 #include <stddef.h>
75255 main ()
75257 wint_t i = WEOF;
75259 return 0;
75261 _ACEOF
75262 rm -f conftest.$ac_objext
75263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75264 (eval $ac_compile) 2>conftest.er1
75265 ac_status=$?
75266 grep -v '^ *+' conftest.er1 >conftest.err
75267 rm -f conftest.er1
75268 cat conftest.err >&5
75269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75270 (exit $ac_status); } &&
75271 { ac_try='test -z "$ac_c_werror_flag"
75272 || test ! -s conftest.err'
75273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75274 (eval $ac_try) 2>&5
75275 ac_status=$?
75276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75277 (exit $ac_status); }; } &&
75278 { ac_try='test -s conftest.$ac_objext'
75279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75280 (eval $ac_try) 2>&5
75281 ac_status=$?
75282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75283 (exit $ac_status); }; }; then
75284 has_weof=yes
75285 else
75286 echo "$as_me: failed program was:" >&5
75287 sed 's/^/| /' conftest.$ac_ext >&5
75289 has_weof=no
75291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75292 echo "$as_me:$LINENO: result: $has_weof" >&5
75293 echo "${ECHO_T}$has_weof" >&6
75295 # Tests for wide character functions used in char_traits<wchar_t>.
75296 ac_wfuncs=yes
75303 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
75305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75306 echo "$as_me:$LINENO: checking for $ac_func" >&5
75307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75308 if eval "test \"\${$as_ac_var+set}\" = set"; then
75309 echo $ECHO_N "(cached) $ECHO_C" >&6
75310 else
75311 if test x$gcc_no_link = xyes; then
75312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75314 { (exit 1); exit 1; }; }
75316 cat >conftest.$ac_ext <<_ACEOF
75317 /* confdefs.h. */
75318 _ACEOF
75319 cat confdefs.h >>conftest.$ac_ext
75320 cat >>conftest.$ac_ext <<_ACEOF
75321 /* end confdefs.h. */
75322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75324 #define $ac_func innocuous_$ac_func
75326 /* System header to define __stub macros and hopefully few prototypes,
75327 which can conflict with char $ac_func (); below.
75328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75329 <limits.h> exists even on freestanding compilers. */
75331 #ifdef __STDC__
75332 # include <limits.h>
75333 #else
75334 # include <assert.h>
75335 #endif
75337 #undef $ac_func
75339 /* Override any gcc2 internal prototype to avoid an error. */
75340 #ifdef __cplusplus
75341 extern "C"
75343 #endif
75344 /* We use char because int might match the return type of a gcc2
75345 builtin and then its argument prototype would still apply. */
75346 char $ac_func ();
75347 /* The GNU C library defines this for functions which it implements
75348 to always fail with ENOSYS. Some functions are actually named
75349 something starting with __ and the normal name is an alias. */
75350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75351 choke me
75352 #else
75353 char (*f) () = $ac_func;
75354 #endif
75355 #ifdef __cplusplus
75357 #endif
75360 main ()
75362 return f != $ac_func;
75364 return 0;
75366 _ACEOF
75367 rm -f conftest.$ac_objext conftest$ac_exeext
75368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75369 (eval $ac_link) 2>conftest.er1
75370 ac_status=$?
75371 grep -v '^ *+' conftest.er1 >conftest.err
75372 rm -f conftest.er1
75373 cat conftest.err >&5
75374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75375 (exit $ac_status); } &&
75376 { ac_try='test -z "$ac_c_werror_flag"
75377 || test ! -s conftest.err'
75378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75379 (eval $ac_try) 2>&5
75380 ac_status=$?
75381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75382 (exit $ac_status); }; } &&
75383 { ac_try='test -s conftest$ac_exeext'
75384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75385 (eval $ac_try) 2>&5
75386 ac_status=$?
75387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75388 (exit $ac_status); }; }; then
75389 eval "$as_ac_var=yes"
75390 else
75391 echo "$as_me: failed program was:" >&5
75392 sed 's/^/| /' conftest.$ac_ext >&5
75394 eval "$as_ac_var=no"
75396 rm -f conftest.err conftest.$ac_objext \
75397 conftest$ac_exeext conftest.$ac_ext
75399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75401 if test `eval echo '${'$as_ac_var'}'` = yes; then
75402 cat >>confdefs.h <<_ACEOF
75403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75404 _ACEOF
75406 else
75407 ac_wfuncs=no
75409 done
75412 # Checks for names injected into std:: by the c_std headers.
75459 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
75460 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
75461 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
75462 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
75463 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
75464 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
75466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75467 echo "$as_me:$LINENO: checking for $ac_func" >&5
75468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75469 if eval "test \"\${$as_ac_var+set}\" = set"; then
75470 echo $ECHO_N "(cached) $ECHO_C" >&6
75471 else
75472 if test x$gcc_no_link = xyes; then
75473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75475 { (exit 1); exit 1; }; }
75477 cat >conftest.$ac_ext <<_ACEOF
75478 /* confdefs.h. */
75479 _ACEOF
75480 cat confdefs.h >>conftest.$ac_ext
75481 cat >>conftest.$ac_ext <<_ACEOF
75482 /* end confdefs.h. */
75483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75485 #define $ac_func innocuous_$ac_func
75487 /* System header to define __stub macros and hopefully few prototypes,
75488 which can conflict with char $ac_func (); below.
75489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75490 <limits.h> exists even on freestanding compilers. */
75492 #ifdef __STDC__
75493 # include <limits.h>
75494 #else
75495 # include <assert.h>
75496 #endif
75498 #undef $ac_func
75500 /* Override any gcc2 internal prototype to avoid an error. */
75501 #ifdef __cplusplus
75502 extern "C"
75504 #endif
75505 /* We use char because int might match the return type of a gcc2
75506 builtin and then its argument prototype would still apply. */
75507 char $ac_func ();
75508 /* The GNU C library defines this for functions which it implements
75509 to always fail with ENOSYS. Some functions are actually named
75510 something starting with __ and the normal name is an alias. */
75511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75512 choke me
75513 #else
75514 char (*f) () = $ac_func;
75515 #endif
75516 #ifdef __cplusplus
75518 #endif
75521 main ()
75523 return f != $ac_func;
75525 return 0;
75527 _ACEOF
75528 rm -f conftest.$ac_objext conftest$ac_exeext
75529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75530 (eval $ac_link) 2>conftest.er1
75531 ac_status=$?
75532 grep -v '^ *+' conftest.er1 >conftest.err
75533 rm -f conftest.er1
75534 cat conftest.err >&5
75535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75536 (exit $ac_status); } &&
75537 { ac_try='test -z "$ac_c_werror_flag"
75538 || test ! -s conftest.err'
75539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75540 (eval $ac_try) 2>&5
75541 ac_status=$?
75542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75543 (exit $ac_status); }; } &&
75544 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
75550 eval "$as_ac_var=yes"
75551 else
75552 echo "$as_me: failed program was:" >&5
75553 sed 's/^/| /' conftest.$ac_ext >&5
75555 eval "$as_ac_var=no"
75557 rm -f conftest.err conftest.$ac_objext \
75558 conftest$ac_exeext conftest.$ac_ext
75560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75562 if test `eval echo '${'$as_ac_var'}'` = yes; then
75563 cat >>confdefs.h <<_ACEOF
75564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75565 _ACEOF
75567 else
75568 ac_wfuncs=no
75570 done
75573 # Checks for wide character functions that are not required
75574 # for basic wchar_t support. Don't disable support if they are missing.
75575 # Injection of these is wrapped with guard macros.
75581 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
75583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75584 echo "$as_me:$LINENO: checking for $ac_func" >&5
75585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75586 if eval "test \"\${$as_ac_var+set}\" = set"; then
75587 echo $ECHO_N "(cached) $ECHO_C" >&6
75588 else
75589 if test x$gcc_no_link = xyes; then
75590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75592 { (exit 1); exit 1; }; }
75594 cat >conftest.$ac_ext <<_ACEOF
75595 /* confdefs.h. */
75596 _ACEOF
75597 cat confdefs.h >>conftest.$ac_ext
75598 cat >>conftest.$ac_ext <<_ACEOF
75599 /* end confdefs.h. */
75600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75602 #define $ac_func innocuous_$ac_func
75604 /* System header to define __stub macros and hopefully few prototypes,
75605 which can conflict with char $ac_func (); below.
75606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75607 <limits.h> exists even on freestanding compilers. */
75609 #ifdef __STDC__
75610 # include <limits.h>
75611 #else
75612 # include <assert.h>
75613 #endif
75615 #undef $ac_func
75617 /* Override any gcc2 internal prototype to avoid an error. */
75618 #ifdef __cplusplus
75619 extern "C"
75621 #endif
75622 /* We use char because int might match the return type of a gcc2
75623 builtin and then its argument prototype would still apply. */
75624 char $ac_func ();
75625 /* The GNU C library defines this for functions which it implements
75626 to always fail with ENOSYS. Some functions are actually named
75627 something starting with __ and the normal name is an alias. */
75628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75629 choke me
75630 #else
75631 char (*f) () = $ac_func;
75632 #endif
75633 #ifdef __cplusplus
75635 #endif
75638 main ()
75640 return f != $ac_func;
75642 return 0;
75644 _ACEOF
75645 rm -f conftest.$ac_objext conftest$ac_exeext
75646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75647 (eval $ac_link) 2>conftest.er1
75648 ac_status=$?
75649 grep -v '^ *+' conftest.er1 >conftest.err
75650 rm -f conftest.er1
75651 cat conftest.err >&5
75652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75653 (exit $ac_status); } &&
75654 { ac_try='test -z "$ac_c_werror_flag"
75655 || test ! -s conftest.err'
75656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75657 (eval $ac_try) 2>&5
75658 ac_status=$?
75659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75660 (exit $ac_status); }; } &&
75661 { ac_try='test -s conftest$ac_exeext'
75662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75663 (eval $ac_try) 2>&5
75664 ac_status=$?
75665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75666 (exit $ac_status); }; }; then
75667 eval "$as_ac_var=yes"
75668 else
75669 echo "$as_me: failed program was:" >&5
75670 sed 's/^/| /' conftest.$ac_ext >&5
75672 eval "$as_ac_var=no"
75674 rm -f conftest.err conftest.$ac_objext \
75675 conftest$ac_exeext conftest.$ac_ext
75677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75679 if test `eval echo '${'$as_ac_var'}'` = yes; then
75680 cat >>confdefs.h <<_ACEOF
75681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75682 _ACEOF
75685 done
75688 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
75689 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
75690 if test x"$has_weof" = xyes &&
75691 test x"$has_wchar_minmax" = xyes &&
75692 test x"$ac_wfuncs" = xyes;
75693 then
75694 ac_isoC99_wchar_t=yes
75695 else
75696 ac_isoC99_wchar_t=no
75698 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
75699 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
75701 # Use iconv for wchar_t to char conversions. As such, check for
75702 # X/Open Portability Guide, version 2 features (XPG2).
75703 if test "${ac_cv_header_iconv_h+set}" = set; then
75704 echo "$as_me:$LINENO: checking for iconv.h" >&5
75705 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
75706 if test "${ac_cv_header_iconv_h+set}" = set; then
75707 echo $ECHO_N "(cached) $ECHO_C" >&6
75709 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
75710 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
75711 else
75712 # Is the header compilable?
75713 echo "$as_me:$LINENO: checking iconv.h usability" >&5
75714 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
75715 cat >conftest.$ac_ext <<_ACEOF
75716 /* confdefs.h. */
75717 _ACEOF
75718 cat confdefs.h >>conftest.$ac_ext
75719 cat >>conftest.$ac_ext <<_ACEOF
75720 /* end confdefs.h. */
75721 $ac_includes_default
75722 #include <iconv.h>
75723 _ACEOF
75724 rm -f conftest.$ac_objext
75725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75726 (eval $ac_compile) 2>conftest.er1
75727 ac_status=$?
75728 grep -v '^ *+' conftest.er1 >conftest.err
75729 rm -f conftest.er1
75730 cat conftest.err >&5
75731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75732 (exit $ac_status); } &&
75733 { ac_try='test -z "$ac_c_werror_flag"
75734 || test ! -s conftest.err'
75735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75736 (eval $ac_try) 2>&5
75737 ac_status=$?
75738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75739 (exit $ac_status); }; } &&
75740 { ac_try='test -s conftest.$ac_objext'
75741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75742 (eval $ac_try) 2>&5
75743 ac_status=$?
75744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75745 (exit $ac_status); }; }; then
75746 ac_header_compiler=yes
75747 else
75748 echo "$as_me: failed program was:" >&5
75749 sed 's/^/| /' conftest.$ac_ext >&5
75751 ac_header_compiler=no
75753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75754 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75755 echo "${ECHO_T}$ac_header_compiler" >&6
75757 # Is the header present?
75758 echo "$as_me:$LINENO: checking iconv.h presence" >&5
75759 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
75760 cat >conftest.$ac_ext <<_ACEOF
75761 /* confdefs.h. */
75762 _ACEOF
75763 cat confdefs.h >>conftest.$ac_ext
75764 cat >>conftest.$ac_ext <<_ACEOF
75765 /* end confdefs.h. */
75766 #include <iconv.h>
75767 _ACEOF
75768 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75769 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75770 ac_status=$?
75771 grep -v '^ *+' conftest.er1 >conftest.err
75772 rm -f conftest.er1
75773 cat conftest.err >&5
75774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75775 (exit $ac_status); } >/dev/null; then
75776 if test -s conftest.err; then
75777 ac_cpp_err=$ac_c_preproc_warn_flag
75778 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75779 else
75780 ac_cpp_err=
75782 else
75783 ac_cpp_err=yes
75785 if test -z "$ac_cpp_err"; then
75786 ac_header_preproc=yes
75787 else
75788 echo "$as_me: failed program was:" >&5
75789 sed 's/^/| /' conftest.$ac_ext >&5
75791 ac_header_preproc=no
75793 rm -f conftest.err conftest.$ac_ext
75794 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75795 echo "${ECHO_T}$ac_header_preproc" >&6
75797 # So? What about this header?
75798 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75799 yes:no: )
75800 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
75801 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75802 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
75803 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
75804 ac_header_preproc=yes
75806 no:yes:* )
75807 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
75808 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
75809 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
75810 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
75811 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
75812 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
75813 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
75814 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
75815 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
75816 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
75817 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
75818 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
75820 cat <<\_ASBOX
75821 ## ----------------------------------------- ##
75822 ## Report this to the package-unused lists. ##
75823 ## ----------------------------------------- ##
75824 _ASBOX
75826 sed "s/^/$as_me: WARNING: /" >&2
75828 esac
75829 echo "$as_me:$LINENO: checking for iconv.h" >&5
75830 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
75831 if test "${ac_cv_header_iconv_h+set}" = set; then
75832 echo $ECHO_N "(cached) $ECHO_C" >&6
75833 else
75834 ac_cv_header_iconv_h=$ac_header_preproc
75836 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
75837 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
75840 if test $ac_cv_header_iconv_h = yes; then
75841 ac_has_iconv_h=yes
75842 else
75843 ac_has_iconv_h=no
75847 if test "${ac_cv_header_langinfo_h+set}" = set; then
75848 echo "$as_me:$LINENO: checking for langinfo.h" >&5
75849 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75850 if test "${ac_cv_header_langinfo_h+set}" = set; then
75851 echo $ECHO_N "(cached) $ECHO_C" >&6
75853 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75854 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75855 else
75856 # Is the header compilable?
75857 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
75858 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
75859 cat >conftest.$ac_ext <<_ACEOF
75860 /* confdefs.h. */
75861 _ACEOF
75862 cat confdefs.h >>conftest.$ac_ext
75863 cat >>conftest.$ac_ext <<_ACEOF
75864 /* end confdefs.h. */
75865 $ac_includes_default
75866 #include <langinfo.h>
75867 _ACEOF
75868 rm -f conftest.$ac_objext
75869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75870 (eval $ac_compile) 2>conftest.er1
75871 ac_status=$?
75872 grep -v '^ *+' conftest.er1 >conftest.err
75873 rm -f conftest.er1
75874 cat conftest.err >&5
75875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75876 (exit $ac_status); } &&
75877 { ac_try='test -z "$ac_c_werror_flag"
75878 || test ! -s conftest.err'
75879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75880 (eval $ac_try) 2>&5
75881 ac_status=$?
75882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75883 (exit $ac_status); }; } &&
75884 { ac_try='test -s conftest.$ac_objext'
75885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75886 (eval $ac_try) 2>&5
75887 ac_status=$?
75888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75889 (exit $ac_status); }; }; then
75890 ac_header_compiler=yes
75891 else
75892 echo "$as_me: failed program was:" >&5
75893 sed 's/^/| /' conftest.$ac_ext >&5
75895 ac_header_compiler=no
75897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75898 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75899 echo "${ECHO_T}$ac_header_compiler" >&6
75901 # Is the header present?
75902 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
75903 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
75904 cat >conftest.$ac_ext <<_ACEOF
75905 /* confdefs.h. */
75906 _ACEOF
75907 cat confdefs.h >>conftest.$ac_ext
75908 cat >>conftest.$ac_ext <<_ACEOF
75909 /* end confdefs.h. */
75910 #include <langinfo.h>
75911 _ACEOF
75912 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75913 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75914 ac_status=$?
75915 grep -v '^ *+' conftest.er1 >conftest.err
75916 rm -f conftest.er1
75917 cat conftest.err >&5
75918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75919 (exit $ac_status); } >/dev/null; then
75920 if test -s conftest.err; then
75921 ac_cpp_err=$ac_c_preproc_warn_flag
75922 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75923 else
75924 ac_cpp_err=
75926 else
75927 ac_cpp_err=yes
75929 if test -z "$ac_cpp_err"; then
75930 ac_header_preproc=yes
75931 else
75932 echo "$as_me: failed program was:" >&5
75933 sed 's/^/| /' conftest.$ac_ext >&5
75935 ac_header_preproc=no
75937 rm -f conftest.err conftest.$ac_ext
75938 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75939 echo "${ECHO_T}$ac_header_preproc" >&6
75941 # So? What about this header?
75942 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75943 yes:no: )
75944 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
75945 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75946 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
75947 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
75948 ac_header_preproc=yes
75950 no:yes:* )
75951 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
75952 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
75953 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
75954 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
75955 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
75956 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
75957 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
75958 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
75959 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
75960 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
75961 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
75962 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
75964 cat <<\_ASBOX
75965 ## ----------------------------------------- ##
75966 ## Report this to the package-unused lists. ##
75967 ## ----------------------------------------- ##
75968 _ASBOX
75970 sed "s/^/$as_me: WARNING: /" >&2
75972 esac
75973 echo "$as_me:$LINENO: checking for langinfo.h" >&5
75974 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75975 if test "${ac_cv_header_langinfo_h+set}" = set; then
75976 echo $ECHO_N "(cached) $ECHO_C" >&6
75977 else
75978 ac_cv_header_langinfo_h=$ac_header_preproc
75980 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75981 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75984 if test $ac_cv_header_langinfo_h = yes; then
75985 ac_has_langinfo_h=yes
75986 else
75987 ac_has_langinfo_h=no
75992 # Check for existence of libiconv.a providing XPG2 wchar_t support.
75993 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
75994 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
75995 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
75996 echo $ECHO_N "(cached) $ECHO_C" >&6
75997 else
75998 ac_check_lib_save_LIBS=$LIBS
75999 LIBS="-liconv $LIBS"
76000 if test x$gcc_no_link = xyes; then
76001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76003 { (exit 1); exit 1; }; }
76005 cat >conftest.$ac_ext <<_ACEOF
76006 /* confdefs.h. */
76007 _ACEOF
76008 cat confdefs.h >>conftest.$ac_ext
76009 cat >>conftest.$ac_ext <<_ACEOF
76010 /* end confdefs.h. */
76012 /* Override any gcc2 internal prototype to avoid an error. */
76013 #ifdef __cplusplus
76014 extern "C"
76015 #endif
76016 /* We use char because int might match the return type of a gcc2
76017 builtin and then its argument prototype would still apply. */
76018 char iconv ();
76020 main ()
76022 iconv ();
76024 return 0;
76026 _ACEOF
76027 rm -f conftest.$ac_objext conftest$ac_exeext
76028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76029 (eval $ac_link) 2>conftest.er1
76030 ac_status=$?
76031 grep -v '^ *+' conftest.er1 >conftest.err
76032 rm -f conftest.er1
76033 cat conftest.err >&5
76034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76035 (exit $ac_status); } &&
76036 { ac_try='test -z "$ac_c_werror_flag"
76037 || test ! -s conftest.err'
76038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76039 (eval $ac_try) 2>&5
76040 ac_status=$?
76041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76042 (exit $ac_status); }; } &&
76043 { ac_try='test -s conftest$ac_exeext'
76044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76045 (eval $ac_try) 2>&5
76046 ac_status=$?
76047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76048 (exit $ac_status); }; }; then
76049 ac_cv_lib_iconv_iconv=yes
76050 else
76051 echo "$as_me: failed program was:" >&5
76052 sed 's/^/| /' conftest.$ac_ext >&5
76054 ac_cv_lib_iconv_iconv=no
76056 rm -f conftest.err conftest.$ac_objext \
76057 conftest$ac_exeext conftest.$ac_ext
76058 LIBS=$ac_check_lib_save_LIBS
76060 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76061 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76062 if test $ac_cv_lib_iconv_iconv = yes; then
76063 LIBICONV="-liconv"
76066 ac_save_LIBS="$LIBS"
76067 LIBS="$LIBS $LIBICONV"
76074 for ac_func in iconv_open iconv_close iconv nl_langinfo
76076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76077 echo "$as_me:$LINENO: checking for $ac_func" >&5
76078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76079 if eval "test \"\${$as_ac_var+set}\" = set"; then
76080 echo $ECHO_N "(cached) $ECHO_C" >&6
76081 else
76082 if test x$gcc_no_link = xyes; then
76083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76085 { (exit 1); exit 1; }; }
76087 cat >conftest.$ac_ext <<_ACEOF
76088 /* confdefs.h. */
76089 _ACEOF
76090 cat confdefs.h >>conftest.$ac_ext
76091 cat >>conftest.$ac_ext <<_ACEOF
76092 /* end confdefs.h. */
76093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76095 #define $ac_func innocuous_$ac_func
76097 /* System header to define __stub macros and hopefully few prototypes,
76098 which can conflict with char $ac_func (); below.
76099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76100 <limits.h> exists even on freestanding compilers. */
76102 #ifdef __STDC__
76103 # include <limits.h>
76104 #else
76105 # include <assert.h>
76106 #endif
76108 #undef $ac_func
76110 /* Override any gcc2 internal prototype to avoid an error. */
76111 #ifdef __cplusplus
76112 extern "C"
76114 #endif
76115 /* We use char because int might match the return type of a gcc2
76116 builtin and then its argument prototype would still apply. */
76117 char $ac_func ();
76118 /* The GNU C library defines this for functions which it implements
76119 to always fail with ENOSYS. Some functions are actually named
76120 something starting with __ and the normal name is an alias. */
76121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76122 choke me
76123 #else
76124 char (*f) () = $ac_func;
76125 #endif
76126 #ifdef __cplusplus
76128 #endif
76131 main ()
76133 return f != $ac_func;
76135 return 0;
76137 _ACEOF
76138 rm -f conftest.$ac_objext conftest$ac_exeext
76139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76140 (eval $ac_link) 2>conftest.er1
76141 ac_status=$?
76142 grep -v '^ *+' conftest.er1 >conftest.err
76143 rm -f conftest.er1
76144 cat conftest.err >&5
76145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76146 (exit $ac_status); } &&
76147 { ac_try='test -z "$ac_c_werror_flag"
76148 || test ! -s conftest.err'
76149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76150 (eval $ac_try) 2>&5
76151 ac_status=$?
76152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76153 (exit $ac_status); }; } &&
76154 { ac_try='test -s conftest$ac_exeext'
76155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76156 (eval $ac_try) 2>&5
76157 ac_status=$?
76158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76159 (exit $ac_status); }; }; then
76160 eval "$as_ac_var=yes"
76161 else
76162 echo "$as_me: failed program was:" >&5
76163 sed 's/^/| /' conftest.$ac_ext >&5
76165 eval "$as_ac_var=no"
76167 rm -f conftest.err conftest.$ac_objext \
76168 conftest$ac_exeext conftest.$ac_ext
76170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76172 if test `eval echo '${'$as_ac_var'}'` = yes; then
76173 cat >>confdefs.h <<_ACEOF
76174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76175 _ACEOF
76176 ac_XPG2funcs=yes
76177 else
76178 ac_XPG2funcs=no
76180 done
76183 LIBS="$ac_save_LIBS"
76185 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
76186 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
76187 if test x"$ac_has_iconv_h" = xyes &&
76188 test x"$ac_has_langinfo_h" = xyes &&
76189 test x"$ac_XPG2funcs" = xyes;
76190 then
76191 ac_XPG2_wchar_t=yes
76192 else
76193 ac_XPG2_wchar_t=no
76195 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
76196 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
76198 # At the moment, only enable wchar_t specializations if all the
76199 # above support is present.
76200 if test x"$ac_isoC99_wchar_t" = xyes &&
76201 test x"$ac_XPG2_wchar_t" = xyes;
76202 then
76203 cat >>confdefs.h <<\_ACEOF
76204 #define _GLIBCXX_USE_WCHAR_T 1
76205 _ACEOF
76207 enable_wchar_t=yes
76210 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
76211 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
76212 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
76213 echo "${ECHO_T}$enable_wchar_t" >&6
76216 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76217 ac_save_CXXFLAGS="$CXXFLAGS"
76218 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76221 echo "$as_me:$LINENO: checking for strtold declaration" >&5
76222 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
76223 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
76224 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
76225 echo $ECHO_N "(cached) $ECHO_C" >&6
76226 else
76230 ac_ext=cc
76231 ac_cpp='$CXXCPP $CPPFLAGS'
76232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76236 cat >conftest.$ac_ext <<_ACEOF
76237 /* confdefs.h. */
76238 _ACEOF
76239 cat confdefs.h >>conftest.$ac_ext
76240 cat >>conftest.$ac_ext <<_ACEOF
76241 /* end confdefs.h. */
76242 #include <stdlib.h>
76244 main ()
76246 strtold(0, 0);
76248 return 0;
76250 _ACEOF
76251 rm -f conftest.$ac_objext
76252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76253 (eval $ac_compile) 2>conftest.er1
76254 ac_status=$?
76255 grep -v '^ *+' conftest.er1 >conftest.err
76256 rm -f conftest.er1
76257 cat conftest.err >&5
76258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76259 (exit $ac_status); } &&
76260 { ac_try='test -z "$ac_cxx_werror_flag"
76261 || test ! -s conftest.err'
76262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76263 (eval $ac_try) 2>&5
76264 ac_status=$?
76265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76266 (exit $ac_status); }; } &&
76267 { ac_try='test -s conftest.$ac_objext'
76268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76269 (eval $ac_try) 2>&5
76270 ac_status=$?
76271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76272 (exit $ac_status); }; }; then
76273 glibcxx_cv_func_strtold_use=yes
76274 else
76275 echo "$as_me: failed program was:" >&5
76276 sed 's/^/| /' conftest.$ac_ext >&5
76278 glibcxx_cv_func_strtold_use=no
76280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76281 ac_ext=c
76282 ac_cpp='$CPP $CPPFLAGS'
76283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76291 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
76292 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
76293 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
76295 for ac_func in strtold
76297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76298 echo "$as_me:$LINENO: checking for $ac_func" >&5
76299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76300 if eval "test \"\${$as_ac_var+set}\" = set"; then
76301 echo $ECHO_N "(cached) $ECHO_C" >&6
76302 else
76303 if test x$gcc_no_link = xyes; then
76304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76306 { (exit 1); exit 1; }; }
76308 cat >conftest.$ac_ext <<_ACEOF
76309 /* confdefs.h. */
76310 _ACEOF
76311 cat confdefs.h >>conftest.$ac_ext
76312 cat >>conftest.$ac_ext <<_ACEOF
76313 /* end confdefs.h. */
76314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76316 #define $ac_func innocuous_$ac_func
76318 /* System header to define __stub macros and hopefully few prototypes,
76319 which can conflict with char $ac_func (); below.
76320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76321 <limits.h> exists even on freestanding compilers. */
76323 #ifdef __STDC__
76324 # include <limits.h>
76325 #else
76326 # include <assert.h>
76327 #endif
76329 #undef $ac_func
76331 /* Override any gcc2 internal prototype to avoid an error. */
76332 #ifdef __cplusplus
76333 extern "C"
76335 #endif
76336 /* We use char because int might match the return type of a gcc2
76337 builtin and then its argument prototype would still apply. */
76338 char $ac_func ();
76339 /* The GNU C library defines this for functions which it implements
76340 to always fail with ENOSYS. Some functions are actually named
76341 something starting with __ and the normal name is an alias. */
76342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76343 choke me
76344 #else
76345 char (*f) () = $ac_func;
76346 #endif
76347 #ifdef __cplusplus
76349 #endif
76352 main ()
76354 return f != $ac_func;
76356 return 0;
76358 _ACEOF
76359 rm -f conftest.$ac_objext conftest$ac_exeext
76360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76361 (eval $ac_link) 2>conftest.er1
76362 ac_status=$?
76363 grep -v '^ *+' conftest.er1 >conftest.err
76364 rm -f conftest.er1
76365 cat conftest.err >&5
76366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76367 (exit $ac_status); } &&
76368 { ac_try='test -z "$ac_c_werror_flag"
76369 || test ! -s conftest.err'
76370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76371 (eval $ac_try) 2>&5
76372 ac_status=$?
76373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76374 (exit $ac_status); }; } &&
76375 { ac_try='test -s conftest$ac_exeext'
76376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76377 (eval $ac_try) 2>&5
76378 ac_status=$?
76379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76380 (exit $ac_status); }; }; then
76381 eval "$as_ac_var=yes"
76382 else
76383 echo "$as_me: failed program was:" >&5
76384 sed 's/^/| /' conftest.$ac_ext >&5
76386 eval "$as_ac_var=no"
76388 rm -f conftest.err conftest.$ac_objext \
76389 conftest$ac_exeext conftest.$ac_ext
76391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76393 if test `eval echo '${'$as_ac_var'}'` = yes; then
76394 cat >>confdefs.h <<_ACEOF
76395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76396 _ACEOF
76399 done
76404 echo "$as_me:$LINENO: checking for strtof declaration" >&5
76405 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
76406 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
76407 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
76408 echo $ECHO_N "(cached) $ECHO_C" >&6
76409 else
76413 ac_ext=cc
76414 ac_cpp='$CXXCPP $CPPFLAGS'
76415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76419 cat >conftest.$ac_ext <<_ACEOF
76420 /* confdefs.h. */
76421 _ACEOF
76422 cat confdefs.h >>conftest.$ac_ext
76423 cat >>conftest.$ac_ext <<_ACEOF
76424 /* end confdefs.h. */
76425 #include <stdlib.h>
76427 main ()
76429 strtof(0, 0);
76431 return 0;
76433 _ACEOF
76434 rm -f conftest.$ac_objext
76435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76436 (eval $ac_compile) 2>conftest.er1
76437 ac_status=$?
76438 grep -v '^ *+' conftest.er1 >conftest.err
76439 rm -f conftest.er1
76440 cat conftest.err >&5
76441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76442 (exit $ac_status); } &&
76443 { ac_try='test -z "$ac_cxx_werror_flag"
76444 || test ! -s conftest.err'
76445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76446 (eval $ac_try) 2>&5
76447 ac_status=$?
76448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76449 (exit $ac_status); }; } &&
76450 { ac_try='test -s conftest.$ac_objext'
76451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76452 (eval $ac_try) 2>&5
76453 ac_status=$?
76454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76455 (exit $ac_status); }; }; then
76456 glibcxx_cv_func_strtof_use=yes
76457 else
76458 echo "$as_me: failed program was:" >&5
76459 sed 's/^/| /' conftest.$ac_ext >&5
76461 glibcxx_cv_func_strtof_use=no
76463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76464 ac_ext=c
76465 ac_cpp='$CPP $CPPFLAGS'
76466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76474 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
76475 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
76476 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
76478 for ac_func in strtof
76480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76481 echo "$as_me:$LINENO: checking for $ac_func" >&5
76482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76483 if eval "test \"\${$as_ac_var+set}\" = set"; then
76484 echo $ECHO_N "(cached) $ECHO_C" >&6
76485 else
76486 if test x$gcc_no_link = xyes; then
76487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76489 { (exit 1); exit 1; }; }
76491 cat >conftest.$ac_ext <<_ACEOF
76492 /* confdefs.h. */
76493 _ACEOF
76494 cat confdefs.h >>conftest.$ac_ext
76495 cat >>conftest.$ac_ext <<_ACEOF
76496 /* end confdefs.h. */
76497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76499 #define $ac_func innocuous_$ac_func
76501 /* System header to define __stub macros and hopefully few prototypes,
76502 which can conflict with char $ac_func (); below.
76503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76504 <limits.h> exists even on freestanding compilers. */
76506 #ifdef __STDC__
76507 # include <limits.h>
76508 #else
76509 # include <assert.h>
76510 #endif
76512 #undef $ac_func
76514 /* Override any gcc2 internal prototype to avoid an error. */
76515 #ifdef __cplusplus
76516 extern "C"
76518 #endif
76519 /* We use char because int might match the return type of a gcc2
76520 builtin and then its argument prototype would still apply. */
76521 char $ac_func ();
76522 /* The GNU C library defines this for functions which it implements
76523 to always fail with ENOSYS. Some functions are actually named
76524 something starting with __ and the normal name is an alias. */
76525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76526 choke me
76527 #else
76528 char (*f) () = $ac_func;
76529 #endif
76530 #ifdef __cplusplus
76532 #endif
76535 main ()
76537 return f != $ac_func;
76539 return 0;
76541 _ACEOF
76542 rm -f conftest.$ac_objext conftest$ac_exeext
76543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76544 (eval $ac_link) 2>conftest.er1
76545 ac_status=$?
76546 grep -v '^ *+' conftest.er1 >conftest.err
76547 rm -f conftest.er1
76548 cat conftest.err >&5
76549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76550 (exit $ac_status); } &&
76551 { ac_try='test -z "$ac_c_werror_flag"
76552 || test ! -s conftest.err'
76553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76554 (eval $ac_try) 2>&5
76555 ac_status=$?
76556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76557 (exit $ac_status); }; } &&
76558 { ac_try='test -s conftest$ac_exeext'
76559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76560 (eval $ac_try) 2>&5
76561 ac_status=$?
76562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76563 (exit $ac_status); }; }; then
76564 eval "$as_ac_var=yes"
76565 else
76566 echo "$as_me: failed program was:" >&5
76567 sed 's/^/| /' conftest.$ac_ext >&5
76569 eval "$as_ac_var=no"
76571 rm -f conftest.err conftest.$ac_objext \
76572 conftest$ac_exeext conftest.$ac_ext
76574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76576 if test `eval echo '${'$as_ac_var'}'` = yes; then
76577 cat >>confdefs.h <<_ACEOF
76578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76579 _ACEOF
76582 done
76587 CXXFLAGS="$ac_save_CXXFLAGS"
76590 if test "${glibcxx_cv_S_ISREG+set}" = set; then
76591 echo $ECHO_N "(cached) $ECHO_C" >&6
76592 else
76594 if test x$gcc_no_link = xyes; then
76595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76597 { (exit 1); exit 1; }; }
76599 cat >conftest.$ac_ext <<_ACEOF
76600 /* confdefs.h. */
76601 _ACEOF
76602 cat confdefs.h >>conftest.$ac_ext
76603 cat >>conftest.$ac_ext <<_ACEOF
76604 /* end confdefs.h. */
76605 #include <sys/stat.h>
76607 main ()
76609 struct stat buffer;
76610 fstat(0, &buffer);
76611 S_ISREG(buffer.st_mode);
76613 return 0;
76615 _ACEOF
76616 rm -f conftest.$ac_objext conftest$ac_exeext
76617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76618 (eval $ac_link) 2>conftest.er1
76619 ac_status=$?
76620 grep -v '^ *+' conftest.er1 >conftest.err
76621 rm -f conftest.er1
76622 cat conftest.err >&5
76623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76624 (exit $ac_status); } &&
76625 { ac_try='test -z "$ac_c_werror_flag"
76626 || test ! -s conftest.err'
76627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76628 (eval $ac_try) 2>&5
76629 ac_status=$?
76630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76631 (exit $ac_status); }; } &&
76632 { ac_try='test -s conftest$ac_exeext'
76633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76634 (eval $ac_try) 2>&5
76635 ac_status=$?
76636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76637 (exit $ac_status); }; }; then
76638 glibcxx_cv_S_ISREG=yes
76639 else
76640 echo "$as_me: failed program was:" >&5
76641 sed 's/^/| /' conftest.$ac_ext >&5
76643 glibcxx_cv_S_ISREG=no
76645 rm -f conftest.err conftest.$ac_objext \
76646 conftest$ac_exeext conftest.$ac_ext
76650 if test "${glibcxx_cv_S_IFREG+set}" = set; then
76651 echo $ECHO_N "(cached) $ECHO_C" >&6
76652 else
76654 if test x$gcc_no_link = xyes; then
76655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76657 { (exit 1); exit 1; }; }
76659 cat >conftest.$ac_ext <<_ACEOF
76660 /* confdefs.h. */
76661 _ACEOF
76662 cat confdefs.h >>conftest.$ac_ext
76663 cat >>conftest.$ac_ext <<_ACEOF
76664 /* end confdefs.h. */
76665 #include <sys/stat.h>
76667 main ()
76669 struct stat buffer;
76670 fstat(0, &buffer);
76671 S_IFREG & buffer.st_mode;
76673 return 0;
76675 _ACEOF
76676 rm -f conftest.$ac_objext conftest$ac_exeext
76677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76678 (eval $ac_link) 2>conftest.er1
76679 ac_status=$?
76680 grep -v '^ *+' conftest.er1 >conftest.err
76681 rm -f conftest.er1
76682 cat conftest.err >&5
76683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76684 (exit $ac_status); } &&
76685 { ac_try='test -z "$ac_c_werror_flag"
76686 || test ! -s conftest.err'
76687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76688 (eval $ac_try) 2>&5
76689 ac_status=$?
76690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76691 (exit $ac_status); }; } &&
76692 { ac_try='test -s conftest$ac_exeext'
76693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76694 (eval $ac_try) 2>&5
76695 ac_status=$?
76696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76697 (exit $ac_status); }; }; then
76698 glibcxx_cv_S_IFREG=yes
76699 else
76700 echo "$as_me: failed program was:" >&5
76701 sed 's/^/| /' conftest.$ac_ext >&5
76703 glibcxx_cv_S_IFREG=no
76705 rm -f conftest.err conftest.$ac_objext \
76706 conftest$ac_exeext conftest.$ac_ext
76710 if test $glibcxx_cv_S_ISREG = yes; then
76711 cat >>confdefs.h <<\_ACEOF
76712 #define HAVE_S_ISREG 1
76713 _ACEOF
76715 elif test $glibcxx_cv_S_IFREG = yes; then
76716 cat >>confdefs.h <<\_ACEOF
76717 #define HAVE_S_IFREG 1
76718 _ACEOF
76722 cat >>confdefs.h <<\_ACEOF
76723 #define HAVE_WRITEV 1
76724 _ACEOF
76728 *-freebsd*)
76745 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
76746 machine/endian.h machine/param.h sys/machine.h sys/types.h \
76747 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
76748 sys/time.h unistd.h
76750 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76752 echo "$as_me:$LINENO: checking for $ac_header" >&5
76753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76755 echo $ECHO_N "(cached) $ECHO_C" >&6
76757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76759 else
76760 # Is the header compilable?
76761 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76762 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76763 cat >conftest.$ac_ext <<_ACEOF
76764 /* confdefs.h. */
76765 _ACEOF
76766 cat confdefs.h >>conftest.$ac_ext
76767 cat >>conftest.$ac_ext <<_ACEOF
76768 /* end confdefs.h. */
76769 $ac_includes_default
76770 #include <$ac_header>
76771 _ACEOF
76772 rm -f conftest.$ac_objext
76773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76774 (eval $ac_compile) 2>conftest.er1
76775 ac_status=$?
76776 grep -v '^ *+' conftest.er1 >conftest.err
76777 rm -f conftest.er1
76778 cat conftest.err >&5
76779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76780 (exit $ac_status); } &&
76781 { ac_try='test -z "$ac_c_werror_flag"
76782 || test ! -s conftest.err'
76783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76784 (eval $ac_try) 2>&5
76785 ac_status=$?
76786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76787 (exit $ac_status); }; } &&
76788 { ac_try='test -s conftest.$ac_objext'
76789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76790 (eval $ac_try) 2>&5
76791 ac_status=$?
76792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76793 (exit $ac_status); }; }; then
76794 ac_header_compiler=yes
76795 else
76796 echo "$as_me: failed program was:" >&5
76797 sed 's/^/| /' conftest.$ac_ext >&5
76799 ac_header_compiler=no
76801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76802 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76803 echo "${ECHO_T}$ac_header_compiler" >&6
76805 # Is the header present?
76806 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76807 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76808 cat >conftest.$ac_ext <<_ACEOF
76809 /* confdefs.h. */
76810 _ACEOF
76811 cat confdefs.h >>conftest.$ac_ext
76812 cat >>conftest.$ac_ext <<_ACEOF
76813 /* end confdefs.h. */
76814 #include <$ac_header>
76815 _ACEOF
76816 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76817 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76818 ac_status=$?
76819 grep -v '^ *+' conftest.er1 >conftest.err
76820 rm -f conftest.er1
76821 cat conftest.err >&5
76822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76823 (exit $ac_status); } >/dev/null; then
76824 if test -s conftest.err; then
76825 ac_cpp_err=$ac_c_preproc_warn_flag
76826 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76827 else
76828 ac_cpp_err=
76830 else
76831 ac_cpp_err=yes
76833 if test -z "$ac_cpp_err"; then
76834 ac_header_preproc=yes
76835 else
76836 echo "$as_me: failed program was:" >&5
76837 sed 's/^/| /' conftest.$ac_ext >&5
76839 ac_header_preproc=no
76841 rm -f conftest.err conftest.$ac_ext
76842 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76843 echo "${ECHO_T}$ac_header_preproc" >&6
76845 # So? What about this header?
76846 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76847 yes:no: )
76848 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76849 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76851 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76852 ac_header_preproc=yes
76854 no:yes:* )
76855 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76856 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76857 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76858 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76859 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76860 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76861 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76862 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76863 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76864 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76865 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76866 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76868 cat <<\_ASBOX
76869 ## ----------------------------------------- ##
76870 ## Report this to the package-unused lists. ##
76871 ## ----------------------------------------- ##
76872 _ASBOX
76874 sed "s/^/$as_me: WARNING: /" >&2
76876 esac
76877 echo "$as_me:$LINENO: checking for $ac_header" >&5
76878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76880 echo $ECHO_N "(cached) $ECHO_C" >&6
76881 else
76882 eval "$as_ac_Header=\$ac_header_preproc"
76884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76885 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76888 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76889 cat >>confdefs.h <<_ACEOF
76890 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76891 _ACEOF
76895 done
76897 SECTION_FLAGS='-ffunction-sections -fdata-sections'
76900 # If we're not using GNU ld, then there's no point in even trying these
76901 # tests. Check for that first. We should have already tested for gld
76902 # by now (in libtool), but require it now just to be safe...
76903 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
76904 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
76908 # The name set by libtool depends on the version of libtool. Shame on us
76909 # for depending on an impl detail, but c'est la vie. Older versions used
76910 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
76911 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
76912 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
76913 # set (hence we're using an older libtool), then set it.
76914 if test x${with_gnu_ld+set} != xset; then
76915 if test x${ac_cv_prog_gnu_ld+set} != xset; then
76916 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
76917 with_gnu_ld=no
76918 else
76919 with_gnu_ld=$ac_cv_prog_gnu_ld
76923 # Start by getting the version number. I think the libtool test already
76924 # does some of this, but throws away the result.
76926 ldver=`$LD --version 2>/dev/null | head -1 | \
76927 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
76929 glibcxx_gnu_ld_version=`echo $ldver | \
76930 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
76932 # Set --gc-sections.
76933 if test "$with_gnu_ld" = "notbroken"; then
76934 # GNU ld it is! Joy and bunny rabbits!
76936 # All these tests are for C++; save the language and the compiler flags.
76937 # Need to do this so that g++ won't try to link in libstdc++
76938 ac_test_CFLAGS="${CFLAGS+set}"
76939 ac_save_CFLAGS="$CFLAGS"
76940 CFLAGS='-x c++ -Wl,--gc-sections'
76942 # Check for -Wl,--gc-sections
76943 # XXX This test is broken at the moment, as symbols required for linking
76944 # are now in libsupc++ (not built yet). In addition, this test has
76945 # cored on solaris in the past. In addition, --gc-sections doesn't
76946 # really work at the moment (keeps on discarding used sections, first
76947 # .eh_frame and now some of the glibc sections for iconv).
76948 # Bzzzzt. Thanks for playing, maybe next time.
76949 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
76950 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
76951 if test "$cross_compiling" = yes; then
76952 ac_sectionLDflags=yes
76953 else
76954 cat >conftest.$ac_ext <<_ACEOF
76955 /* confdefs.h. */
76956 _ACEOF
76957 cat confdefs.h >>conftest.$ac_ext
76958 cat >>conftest.$ac_ext <<_ACEOF
76959 /* end confdefs.h. */
76961 int main(void)
76963 try { throw 1; }
76964 catch (...) { };
76965 return 0;
76968 _ACEOF
76969 rm -f conftest$ac_exeext
76970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76971 (eval $ac_link) 2>&5
76972 ac_status=$?
76973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76974 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
76975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76976 (eval $ac_try) 2>&5
76977 ac_status=$?
76978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76979 (exit $ac_status); }; }; then
76980 ac_sectionLDflags=yes
76981 else
76982 echo "$as_me: program exited with status $ac_status" >&5
76983 echo "$as_me: failed program was:" >&5
76984 sed 's/^/| /' conftest.$ac_ext >&5
76986 ( exit $ac_status )
76987 ac_sectionLDflags=no
76989 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
76991 if test "$ac_test_CFLAGS" = set; then
76992 CFLAGS="$ac_save_CFLAGS"
76993 else
76994 # this is the suspicious part
76995 CFLAGS=''
76997 if test "$ac_sectionLDflags" = "yes"; then
76998 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77000 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
77001 echo "${ECHO_T}$ac_sectionLDflags" >&6
77004 # Set linker optimization flags.
77005 if test x"$with_gnu_ld" = x"yes"; then
77006 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77014 echo "$as_me:$LINENO: checking for main in -lm" >&5
77015 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77016 if test "${ac_cv_lib_m_main+set}" = set; then
77017 echo $ECHO_N "(cached) $ECHO_C" >&6
77018 else
77019 ac_check_lib_save_LIBS=$LIBS
77020 LIBS="-lm $LIBS"
77021 if test x$gcc_no_link = xyes; then
77022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77024 { (exit 1); exit 1; }; }
77026 cat >conftest.$ac_ext <<_ACEOF
77027 /* confdefs.h. */
77028 _ACEOF
77029 cat confdefs.h >>conftest.$ac_ext
77030 cat >>conftest.$ac_ext <<_ACEOF
77031 /* end confdefs.h. */
77035 main ()
77037 main ();
77039 return 0;
77041 _ACEOF
77042 rm -f conftest.$ac_objext conftest$ac_exeext
77043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77044 (eval $ac_link) 2>conftest.er1
77045 ac_status=$?
77046 grep -v '^ *+' conftest.er1 >conftest.err
77047 rm -f conftest.er1
77048 cat conftest.err >&5
77049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77050 (exit $ac_status); } &&
77051 { ac_try='test -z "$ac_c_werror_flag"
77052 || test ! -s conftest.err'
77053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77054 (eval $ac_try) 2>&5
77055 ac_status=$?
77056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77057 (exit $ac_status); }; } &&
77058 { ac_try='test -s conftest$ac_exeext'
77059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77060 (eval $ac_try) 2>&5
77061 ac_status=$?
77062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77063 (exit $ac_status); }; }; then
77064 ac_cv_lib_m_main=yes
77065 else
77066 echo "$as_me: failed program was:" >&5
77067 sed 's/^/| /' conftest.$ac_ext >&5
77069 ac_cv_lib_m_main=no
77071 rm -f conftest.err conftest.$ac_objext \
77072 conftest$ac_exeext conftest.$ac_ext
77073 LIBS=$ac_check_lib_save_LIBS
77075 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77076 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77077 if test $ac_cv_lib_m_main = yes; then
77078 cat >>confdefs.h <<_ACEOF
77079 #define HAVE_LIBM 1
77080 _ACEOF
77082 LIBS="-lm $LIBS"
77087 for ac_func in copysignf
77089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77090 echo "$as_me:$LINENO: checking for $ac_func" >&5
77091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77092 if eval "test \"\${$as_ac_var+set}\" = set"; then
77093 echo $ECHO_N "(cached) $ECHO_C" >&6
77094 else
77095 if test x$gcc_no_link = xyes; then
77096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77098 { (exit 1); exit 1; }; }
77100 cat >conftest.$ac_ext <<_ACEOF
77101 /* confdefs.h. */
77102 _ACEOF
77103 cat confdefs.h >>conftest.$ac_ext
77104 cat >>conftest.$ac_ext <<_ACEOF
77105 /* end confdefs.h. */
77106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77108 #define $ac_func innocuous_$ac_func
77110 /* System header to define __stub macros and hopefully few prototypes,
77111 which can conflict with char $ac_func (); below.
77112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77113 <limits.h> exists even on freestanding compilers. */
77115 #ifdef __STDC__
77116 # include <limits.h>
77117 #else
77118 # include <assert.h>
77119 #endif
77121 #undef $ac_func
77123 /* Override any gcc2 internal prototype to avoid an error. */
77124 #ifdef __cplusplus
77125 extern "C"
77127 #endif
77128 /* We use char because int might match the return type of a gcc2
77129 builtin and then its argument prototype would still apply. */
77130 char $ac_func ();
77131 /* The GNU C library defines this for functions which it implements
77132 to always fail with ENOSYS. Some functions are actually named
77133 something starting with __ and the normal name is an alias. */
77134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77135 choke me
77136 #else
77137 char (*f) () = $ac_func;
77138 #endif
77139 #ifdef __cplusplus
77141 #endif
77144 main ()
77146 return f != $ac_func;
77148 return 0;
77150 _ACEOF
77151 rm -f conftest.$ac_objext conftest$ac_exeext
77152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77153 (eval $ac_link) 2>conftest.er1
77154 ac_status=$?
77155 grep -v '^ *+' conftest.er1 >conftest.err
77156 rm -f conftest.er1
77157 cat conftest.err >&5
77158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77159 (exit $ac_status); } &&
77160 { ac_try='test -z "$ac_c_werror_flag"
77161 || test ! -s conftest.err'
77162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77163 (eval $ac_try) 2>&5
77164 ac_status=$?
77165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77166 (exit $ac_status); }; } &&
77167 { ac_try='test -s conftest$ac_exeext'
77168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77169 (eval $ac_try) 2>&5
77170 ac_status=$?
77171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77172 (exit $ac_status); }; }; then
77173 eval "$as_ac_var=yes"
77174 else
77175 echo "$as_me: failed program was:" >&5
77176 sed 's/^/| /' conftest.$ac_ext >&5
77178 eval "$as_ac_var=no"
77180 rm -f conftest.err conftest.$ac_objext \
77181 conftest$ac_exeext conftest.$ac_ext
77183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77185 if test `eval echo '${'$as_ac_var'}'` = yes; then
77186 cat >>confdefs.h <<_ACEOF
77187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77188 _ACEOF
77190 else
77191 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77193 done
77197 for ac_func in __signbit
77199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77200 echo "$as_me:$LINENO: checking for $ac_func" >&5
77201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77202 if eval "test \"\${$as_ac_var+set}\" = set"; then
77203 echo $ECHO_N "(cached) $ECHO_C" >&6
77204 else
77205 if test x$gcc_no_link = xyes; then
77206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77208 { (exit 1); exit 1; }; }
77210 cat >conftest.$ac_ext <<_ACEOF
77211 /* confdefs.h. */
77212 _ACEOF
77213 cat confdefs.h >>conftest.$ac_ext
77214 cat >>conftest.$ac_ext <<_ACEOF
77215 /* end confdefs.h. */
77216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77218 #define $ac_func innocuous_$ac_func
77220 /* System header to define __stub macros and hopefully few prototypes,
77221 which can conflict with char $ac_func (); below.
77222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77223 <limits.h> exists even on freestanding compilers. */
77225 #ifdef __STDC__
77226 # include <limits.h>
77227 #else
77228 # include <assert.h>
77229 #endif
77231 #undef $ac_func
77233 /* Override any gcc2 internal prototype to avoid an error. */
77234 #ifdef __cplusplus
77235 extern "C"
77237 #endif
77238 /* We use char because int might match the return type of a gcc2
77239 builtin and then its argument prototype would still apply. */
77240 char $ac_func ();
77241 /* The GNU C library defines this for functions which it implements
77242 to always fail with ENOSYS. Some functions are actually named
77243 something starting with __ and the normal name is an alias. */
77244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77245 choke me
77246 #else
77247 char (*f) () = $ac_func;
77248 #endif
77249 #ifdef __cplusplus
77251 #endif
77254 main ()
77256 return f != $ac_func;
77258 return 0;
77260 _ACEOF
77261 rm -f conftest.$ac_objext conftest$ac_exeext
77262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77263 (eval $ac_link) 2>conftest.er1
77264 ac_status=$?
77265 grep -v '^ *+' conftest.er1 >conftest.err
77266 rm -f conftest.er1
77267 cat conftest.err >&5
77268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77269 (exit $ac_status); } &&
77270 { ac_try='test -z "$ac_c_werror_flag"
77271 || test ! -s conftest.err'
77272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77273 (eval $ac_try) 2>&5
77274 ac_status=$?
77275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77276 (exit $ac_status); }; } &&
77277 { ac_try='test -s conftest$ac_exeext'
77278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77279 (eval $ac_try) 2>&5
77280 ac_status=$?
77281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77282 (exit $ac_status); }; }; then
77283 eval "$as_ac_var=yes"
77284 else
77285 echo "$as_me: failed program was:" >&5
77286 sed 's/^/| /' conftest.$ac_ext >&5
77288 eval "$as_ac_var=no"
77290 rm -f conftest.err conftest.$ac_objext \
77291 conftest$ac_exeext conftest.$ac_ext
77293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77295 if test `eval echo '${'$as_ac_var'}'` = yes; then
77296 cat >>confdefs.h <<_ACEOF
77297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77298 _ACEOF
77300 else
77301 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77303 done
77307 for ac_func in __signbitf
77309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77310 echo "$as_me:$LINENO: checking for $ac_func" >&5
77311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77312 if eval "test \"\${$as_ac_var+set}\" = set"; then
77313 echo $ECHO_N "(cached) $ECHO_C" >&6
77314 else
77315 if test x$gcc_no_link = xyes; then
77316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77318 { (exit 1); exit 1; }; }
77320 cat >conftest.$ac_ext <<_ACEOF
77321 /* confdefs.h. */
77322 _ACEOF
77323 cat confdefs.h >>conftest.$ac_ext
77324 cat >>conftest.$ac_ext <<_ACEOF
77325 /* end confdefs.h. */
77326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77328 #define $ac_func innocuous_$ac_func
77330 /* System header to define __stub macros and hopefully few prototypes,
77331 which can conflict with char $ac_func (); below.
77332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77333 <limits.h> exists even on freestanding compilers. */
77335 #ifdef __STDC__
77336 # include <limits.h>
77337 #else
77338 # include <assert.h>
77339 #endif
77341 #undef $ac_func
77343 /* Override any gcc2 internal prototype to avoid an error. */
77344 #ifdef __cplusplus
77345 extern "C"
77347 #endif
77348 /* We use char because int might match the return type of a gcc2
77349 builtin and then its argument prototype would still apply. */
77350 char $ac_func ();
77351 /* The GNU C library defines this for functions which it implements
77352 to always fail with ENOSYS. Some functions are actually named
77353 something starting with __ and the normal name is an alias. */
77354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77355 choke me
77356 #else
77357 char (*f) () = $ac_func;
77358 #endif
77359 #ifdef __cplusplus
77361 #endif
77364 main ()
77366 return f != $ac_func;
77368 return 0;
77370 _ACEOF
77371 rm -f conftest.$ac_objext conftest$ac_exeext
77372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77373 (eval $ac_link) 2>conftest.er1
77374 ac_status=$?
77375 grep -v '^ *+' conftest.er1 >conftest.err
77376 rm -f conftest.er1
77377 cat conftest.err >&5
77378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77379 (exit $ac_status); } &&
77380 { ac_try='test -z "$ac_c_werror_flag"
77381 || test ! -s conftest.err'
77382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77383 (eval $ac_try) 2>&5
77384 ac_status=$?
77385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77386 (exit $ac_status); }; } &&
77387 { ac_try='test -s conftest$ac_exeext'
77388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77389 (eval $ac_try) 2>&5
77390 ac_status=$?
77391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77392 (exit $ac_status); }; }; then
77393 eval "$as_ac_var=yes"
77394 else
77395 echo "$as_me: failed program was:" >&5
77396 sed 's/^/| /' conftest.$ac_ext >&5
77398 eval "$as_ac_var=no"
77400 rm -f conftest.err conftest.$ac_objext \
77401 conftest$ac_exeext conftest.$ac_ext
77403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77405 if test `eval echo '${'$as_ac_var'}'` = yes; then
77406 cat >>confdefs.h <<_ACEOF
77407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77408 _ACEOF
77410 else
77411 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
77413 done
77416 if test x$ac_cv_func_copysignl = x"yes"; then
77418 for ac_func in __signbitl
77420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77421 echo "$as_me:$LINENO: checking for $ac_func" >&5
77422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77423 if eval "test \"\${$as_ac_var+set}\" = set"; then
77424 echo $ECHO_N "(cached) $ECHO_C" >&6
77425 else
77426 if test x$gcc_no_link = xyes; then
77427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77429 { (exit 1); exit 1; }; }
77431 cat >conftest.$ac_ext <<_ACEOF
77432 /* confdefs.h. */
77433 _ACEOF
77434 cat confdefs.h >>conftest.$ac_ext
77435 cat >>conftest.$ac_ext <<_ACEOF
77436 /* end confdefs.h. */
77437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77439 #define $ac_func innocuous_$ac_func
77441 /* System header to define __stub macros and hopefully few prototypes,
77442 which can conflict with char $ac_func (); below.
77443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77444 <limits.h> exists even on freestanding compilers. */
77446 #ifdef __STDC__
77447 # include <limits.h>
77448 #else
77449 # include <assert.h>
77450 #endif
77452 #undef $ac_func
77454 /* Override any gcc2 internal prototype to avoid an error. */
77455 #ifdef __cplusplus
77456 extern "C"
77458 #endif
77459 /* We use char because int might match the return type of a gcc2
77460 builtin and then its argument prototype would still apply. */
77461 char $ac_func ();
77462 /* The GNU C library defines this for functions which it implements
77463 to always fail with ENOSYS. Some functions are actually named
77464 something starting with __ and the normal name is an alias. */
77465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77466 choke me
77467 #else
77468 char (*f) () = $ac_func;
77469 #endif
77470 #ifdef __cplusplus
77472 #endif
77475 main ()
77477 return f != $ac_func;
77479 return 0;
77481 _ACEOF
77482 rm -f conftest.$ac_objext conftest$ac_exeext
77483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77484 (eval $ac_link) 2>conftest.er1
77485 ac_status=$?
77486 grep -v '^ *+' conftest.er1 >conftest.err
77487 rm -f conftest.er1
77488 cat conftest.err >&5
77489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77490 (exit $ac_status); } &&
77491 { ac_try='test -z "$ac_c_werror_flag"
77492 || test ! -s conftest.err'
77493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77494 (eval $ac_try) 2>&5
77495 ac_status=$?
77496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77497 (exit $ac_status); }; } &&
77498 { ac_try='test -s conftest$ac_exeext'
77499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77500 (eval $ac_try) 2>&5
77501 ac_status=$?
77502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77503 (exit $ac_status); }; }; then
77504 eval "$as_ac_var=yes"
77505 else
77506 echo "$as_me: failed program was:" >&5
77507 sed 's/^/| /' conftest.$ac_ext >&5
77509 eval "$as_ac_var=no"
77511 rm -f conftest.err conftest.$ac_objext \
77512 conftest$ac_exeext conftest.$ac_ext
77514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77516 if test `eval echo '${'$as_ac_var'}'` = yes; then
77517 cat >>confdefs.h <<_ACEOF
77518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77519 _ACEOF
77521 else
77522 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
77524 done
77528 # Used in libmath/Makefile.am.
77529 if test -n "$LIBMATHOBJS"; then
77530 need_libmath=yes
77535 # Test wchar.h for mbstate_t, which is needed for char_traits and
77536 # others even if wchar_t support is not on.
77537 echo "$as_me:$LINENO: checking for mbstate_t" >&5
77538 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
77539 cat >conftest.$ac_ext <<_ACEOF
77540 /* confdefs.h. */
77541 _ACEOF
77542 cat confdefs.h >>conftest.$ac_ext
77543 cat >>conftest.$ac_ext <<_ACEOF
77544 /* end confdefs.h. */
77545 #include <wchar.h>
77547 main ()
77549 mbstate_t teststate;
77551 return 0;
77553 _ACEOF
77554 rm -f conftest.$ac_objext
77555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77556 (eval $ac_compile) 2>conftest.er1
77557 ac_status=$?
77558 grep -v '^ *+' conftest.er1 >conftest.err
77559 rm -f conftest.er1
77560 cat conftest.err >&5
77561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77562 (exit $ac_status); } &&
77563 { ac_try='test -z "$ac_c_werror_flag"
77564 || test ! -s conftest.err'
77565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77566 (eval $ac_try) 2>&5
77567 ac_status=$?
77568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77569 (exit $ac_status); }; } &&
77570 { ac_try='test -s conftest.$ac_objext'
77571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77572 (eval $ac_try) 2>&5
77573 ac_status=$?
77574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77575 (exit $ac_status); }; }; then
77576 have_mbstate_t=yes
77577 else
77578 echo "$as_me: failed program was:" >&5
77579 sed 's/^/| /' conftest.$ac_ext >&5
77581 have_mbstate_t=no
77583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77584 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
77585 echo "${ECHO_T}$have_mbstate_t" >&6
77586 if test x"$have_mbstate_t" = xyes; then
77587 cat >>confdefs.h <<\_ACEOF
77588 #define HAVE_MBSTATE_T 1
77589 _ACEOF
77593 # Sanity check for existence of ISO C99 headers for extended encoding.
77595 for ac_header in wchar.h
77597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77599 echo "$as_me:$LINENO: checking for $ac_header" >&5
77600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77602 echo $ECHO_N "(cached) $ECHO_C" >&6
77604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77606 else
77607 # Is the header compilable?
77608 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77609 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77610 cat >conftest.$ac_ext <<_ACEOF
77611 /* confdefs.h. */
77612 _ACEOF
77613 cat confdefs.h >>conftest.$ac_ext
77614 cat >>conftest.$ac_ext <<_ACEOF
77615 /* end confdefs.h. */
77616 $ac_includes_default
77617 #include <$ac_header>
77618 _ACEOF
77619 rm -f conftest.$ac_objext
77620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77621 (eval $ac_compile) 2>conftest.er1
77622 ac_status=$?
77623 grep -v '^ *+' conftest.er1 >conftest.err
77624 rm -f conftest.er1
77625 cat conftest.err >&5
77626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77627 (exit $ac_status); } &&
77628 { ac_try='test -z "$ac_c_werror_flag"
77629 || test ! -s conftest.err'
77630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77631 (eval $ac_try) 2>&5
77632 ac_status=$?
77633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77634 (exit $ac_status); }; } &&
77635 { ac_try='test -s conftest.$ac_objext'
77636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77637 (eval $ac_try) 2>&5
77638 ac_status=$?
77639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77640 (exit $ac_status); }; }; then
77641 ac_header_compiler=yes
77642 else
77643 echo "$as_me: failed program was:" >&5
77644 sed 's/^/| /' conftest.$ac_ext >&5
77646 ac_header_compiler=no
77648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77649 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77650 echo "${ECHO_T}$ac_header_compiler" >&6
77652 # Is the header present?
77653 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77654 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77655 cat >conftest.$ac_ext <<_ACEOF
77656 /* confdefs.h. */
77657 _ACEOF
77658 cat confdefs.h >>conftest.$ac_ext
77659 cat >>conftest.$ac_ext <<_ACEOF
77660 /* end confdefs.h. */
77661 #include <$ac_header>
77662 _ACEOF
77663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77664 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77665 ac_status=$?
77666 grep -v '^ *+' conftest.er1 >conftest.err
77667 rm -f conftest.er1
77668 cat conftest.err >&5
77669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77670 (exit $ac_status); } >/dev/null; then
77671 if test -s conftest.err; then
77672 ac_cpp_err=$ac_c_preproc_warn_flag
77673 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77674 else
77675 ac_cpp_err=
77677 else
77678 ac_cpp_err=yes
77680 if test -z "$ac_cpp_err"; then
77681 ac_header_preproc=yes
77682 else
77683 echo "$as_me: failed program was:" >&5
77684 sed 's/^/| /' conftest.$ac_ext >&5
77686 ac_header_preproc=no
77688 rm -f conftest.err conftest.$ac_ext
77689 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77690 echo "${ECHO_T}$ac_header_preproc" >&6
77692 # So? What about this header?
77693 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77694 yes:no: )
77695 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77696 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77697 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77698 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77699 ac_header_preproc=yes
77701 no:yes:* )
77702 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77703 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77704 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77705 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77706 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77707 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77708 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77709 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77710 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77711 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77712 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77713 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77715 cat <<\_ASBOX
77716 ## ----------------------------------------- ##
77717 ## Report this to the package-unused lists. ##
77718 ## ----------------------------------------- ##
77719 _ASBOX
77721 sed "s/^/$as_me: WARNING: /" >&2
77723 esac
77724 echo "$as_me:$LINENO: checking for $ac_header" >&5
77725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77727 echo $ECHO_N "(cached) $ECHO_C" >&6
77728 else
77729 eval "$as_ac_Header=\$ac_header_preproc"
77731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77735 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77736 cat >>confdefs.h <<_ACEOF
77737 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77738 _ACEOF
77739 ac_has_wchar_h=yes
77740 else
77741 ac_has_wchar_h=no
77744 done
77747 for ac_header in wctype.h
77749 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77751 echo "$as_me:$LINENO: checking for $ac_header" >&5
77752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77754 echo $ECHO_N "(cached) $ECHO_C" >&6
77756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77757 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77758 else
77759 # Is the header compilable?
77760 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77761 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77762 cat >conftest.$ac_ext <<_ACEOF
77763 /* confdefs.h. */
77764 _ACEOF
77765 cat confdefs.h >>conftest.$ac_ext
77766 cat >>conftest.$ac_ext <<_ACEOF
77767 /* end confdefs.h. */
77768 $ac_includes_default
77769 #include <$ac_header>
77770 _ACEOF
77771 rm -f conftest.$ac_objext
77772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77773 (eval $ac_compile) 2>conftest.er1
77774 ac_status=$?
77775 grep -v '^ *+' conftest.er1 >conftest.err
77776 rm -f conftest.er1
77777 cat conftest.err >&5
77778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77779 (exit $ac_status); } &&
77780 { ac_try='test -z "$ac_c_werror_flag"
77781 || test ! -s conftest.err'
77782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77783 (eval $ac_try) 2>&5
77784 ac_status=$?
77785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77786 (exit $ac_status); }; } &&
77787 { ac_try='test -s conftest.$ac_objext'
77788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77789 (eval $ac_try) 2>&5
77790 ac_status=$?
77791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77792 (exit $ac_status); }; }; then
77793 ac_header_compiler=yes
77794 else
77795 echo "$as_me: failed program was:" >&5
77796 sed 's/^/| /' conftest.$ac_ext >&5
77798 ac_header_compiler=no
77800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77801 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77802 echo "${ECHO_T}$ac_header_compiler" >&6
77804 # Is the header present?
77805 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77806 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77807 cat >conftest.$ac_ext <<_ACEOF
77808 /* confdefs.h. */
77809 _ACEOF
77810 cat confdefs.h >>conftest.$ac_ext
77811 cat >>conftest.$ac_ext <<_ACEOF
77812 /* end confdefs.h. */
77813 #include <$ac_header>
77814 _ACEOF
77815 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77816 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77817 ac_status=$?
77818 grep -v '^ *+' conftest.er1 >conftest.err
77819 rm -f conftest.er1
77820 cat conftest.err >&5
77821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77822 (exit $ac_status); } >/dev/null; then
77823 if test -s conftest.err; then
77824 ac_cpp_err=$ac_c_preproc_warn_flag
77825 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77826 else
77827 ac_cpp_err=
77829 else
77830 ac_cpp_err=yes
77832 if test -z "$ac_cpp_err"; then
77833 ac_header_preproc=yes
77834 else
77835 echo "$as_me: failed program was:" >&5
77836 sed 's/^/| /' conftest.$ac_ext >&5
77838 ac_header_preproc=no
77840 rm -f conftest.err conftest.$ac_ext
77841 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77842 echo "${ECHO_T}$ac_header_preproc" >&6
77844 # So? What about this header?
77845 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77846 yes:no: )
77847 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77848 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77849 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77850 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77851 ac_header_preproc=yes
77853 no:yes:* )
77854 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77855 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77856 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77857 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77858 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77859 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77860 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77861 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77862 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77863 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77864 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77865 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77867 cat <<\_ASBOX
77868 ## ----------------------------------------- ##
77869 ## Report this to the package-unused lists. ##
77870 ## ----------------------------------------- ##
77871 _ASBOX
77873 sed "s/^/$as_me: WARNING: /" >&2
77875 esac
77876 echo "$as_me:$LINENO: checking for $ac_header" >&5
77877 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77879 echo $ECHO_N "(cached) $ECHO_C" >&6
77880 else
77881 eval "$as_ac_Header=\$ac_header_preproc"
77883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77884 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77887 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77888 cat >>confdefs.h <<_ACEOF
77889 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77890 _ACEOF
77891 ac_has_wctype_h=yes
77892 else
77893 ac_has_wctype_h=no
77896 done
77899 # Only continue checking if the ISO C99 headers exist and support is on.
77900 if test x"$ac_has_wchar_h" = xyes &&
77901 test x"$ac_has_wctype_h" = xyes &&
77902 test x"$enable_c_mbchar" != xno; then
77904 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
77905 # numeric_limits can instantiate type_traits<wchar_t>
77906 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
77907 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
77908 cat >conftest.$ac_ext <<_ACEOF
77909 /* confdefs.h. */
77910 _ACEOF
77911 cat confdefs.h >>conftest.$ac_ext
77912 cat >>conftest.$ac_ext <<_ACEOF
77913 /* end confdefs.h. */
77914 #include <wchar.h>
77916 main ()
77918 int i = WCHAR_MIN; int j = WCHAR_MAX;
77920 return 0;
77922 _ACEOF
77923 rm -f conftest.$ac_objext
77924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77925 (eval $ac_compile) 2>conftest.er1
77926 ac_status=$?
77927 grep -v '^ *+' conftest.er1 >conftest.err
77928 rm -f conftest.er1
77929 cat conftest.err >&5
77930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77931 (exit $ac_status); } &&
77932 { ac_try='test -z "$ac_c_werror_flag"
77933 || test ! -s conftest.err'
77934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77935 (eval $ac_try) 2>&5
77936 ac_status=$?
77937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77938 (exit $ac_status); }; } &&
77939 { ac_try='test -s conftest.$ac_objext'
77940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77941 (eval $ac_try) 2>&5
77942 ac_status=$?
77943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77944 (exit $ac_status); }; }; then
77945 has_wchar_minmax=yes
77946 else
77947 echo "$as_me: failed program was:" >&5
77948 sed 's/^/| /' conftest.$ac_ext >&5
77950 has_wchar_minmax=no
77952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77953 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
77954 echo "${ECHO_T}$has_wchar_minmax" >&6
77956 # Test wchar.h for WEOF, which is what we use to determine whether
77957 # to specialize for char_traits<wchar_t> or not.
77958 echo "$as_me:$LINENO: checking for WEOF" >&5
77959 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
77960 cat >conftest.$ac_ext <<_ACEOF
77961 /* confdefs.h. */
77962 _ACEOF
77963 cat confdefs.h >>conftest.$ac_ext
77964 cat >>conftest.$ac_ext <<_ACEOF
77965 /* end confdefs.h. */
77967 #include <wchar.h>
77968 #include <stddef.h>
77970 main ()
77972 wint_t i = WEOF;
77974 return 0;
77976 _ACEOF
77977 rm -f conftest.$ac_objext
77978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77979 (eval $ac_compile) 2>conftest.er1
77980 ac_status=$?
77981 grep -v '^ *+' conftest.er1 >conftest.err
77982 rm -f conftest.er1
77983 cat conftest.err >&5
77984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77985 (exit $ac_status); } &&
77986 { ac_try='test -z "$ac_c_werror_flag"
77987 || test ! -s conftest.err'
77988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77989 (eval $ac_try) 2>&5
77990 ac_status=$?
77991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77992 (exit $ac_status); }; } &&
77993 { ac_try='test -s conftest.$ac_objext'
77994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77995 (eval $ac_try) 2>&5
77996 ac_status=$?
77997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77998 (exit $ac_status); }; }; then
77999 has_weof=yes
78000 else
78001 echo "$as_me: failed program was:" >&5
78002 sed 's/^/| /' conftest.$ac_ext >&5
78004 has_weof=no
78006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78007 echo "$as_me:$LINENO: result: $has_weof" >&5
78008 echo "${ECHO_T}$has_weof" >&6
78010 # Tests for wide character functions used in char_traits<wchar_t>.
78011 ac_wfuncs=yes
78018 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
78020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78021 echo "$as_me:$LINENO: checking for $ac_func" >&5
78022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78023 if eval "test \"\${$as_ac_var+set}\" = set"; then
78024 echo $ECHO_N "(cached) $ECHO_C" >&6
78025 else
78026 if test x$gcc_no_link = xyes; then
78027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78029 { (exit 1); exit 1; }; }
78031 cat >conftest.$ac_ext <<_ACEOF
78032 /* confdefs.h. */
78033 _ACEOF
78034 cat confdefs.h >>conftest.$ac_ext
78035 cat >>conftest.$ac_ext <<_ACEOF
78036 /* end confdefs.h. */
78037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78039 #define $ac_func innocuous_$ac_func
78041 /* System header to define __stub macros and hopefully few prototypes,
78042 which can conflict with char $ac_func (); below.
78043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78044 <limits.h> exists even on freestanding compilers. */
78046 #ifdef __STDC__
78047 # include <limits.h>
78048 #else
78049 # include <assert.h>
78050 #endif
78052 #undef $ac_func
78054 /* Override any gcc2 internal prototype to avoid an error. */
78055 #ifdef __cplusplus
78056 extern "C"
78058 #endif
78059 /* We use char because int might match the return type of a gcc2
78060 builtin and then its argument prototype would still apply. */
78061 char $ac_func ();
78062 /* The GNU C library defines this for functions which it implements
78063 to always fail with ENOSYS. Some functions are actually named
78064 something starting with __ and the normal name is an alias. */
78065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78066 choke me
78067 #else
78068 char (*f) () = $ac_func;
78069 #endif
78070 #ifdef __cplusplus
78072 #endif
78075 main ()
78077 return f != $ac_func;
78079 return 0;
78081 _ACEOF
78082 rm -f conftest.$ac_objext conftest$ac_exeext
78083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78084 (eval $ac_link) 2>conftest.er1
78085 ac_status=$?
78086 grep -v '^ *+' conftest.er1 >conftest.err
78087 rm -f conftest.er1
78088 cat conftest.err >&5
78089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78090 (exit $ac_status); } &&
78091 { ac_try='test -z "$ac_c_werror_flag"
78092 || test ! -s conftest.err'
78093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78094 (eval $ac_try) 2>&5
78095 ac_status=$?
78096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78097 (exit $ac_status); }; } &&
78098 { ac_try='test -s conftest$ac_exeext'
78099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78100 (eval $ac_try) 2>&5
78101 ac_status=$?
78102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78103 (exit $ac_status); }; }; then
78104 eval "$as_ac_var=yes"
78105 else
78106 echo "$as_me: failed program was:" >&5
78107 sed 's/^/| /' conftest.$ac_ext >&5
78109 eval "$as_ac_var=no"
78111 rm -f conftest.err conftest.$ac_objext \
78112 conftest$ac_exeext conftest.$ac_ext
78114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78116 if test `eval echo '${'$as_ac_var'}'` = yes; then
78117 cat >>confdefs.h <<_ACEOF
78118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78119 _ACEOF
78121 else
78122 ac_wfuncs=no
78124 done
78127 # Checks for names injected into std:: by the c_std headers.
78174 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
78175 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
78176 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
78177 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
78178 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
78179 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
78181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78182 echo "$as_me:$LINENO: checking for $ac_func" >&5
78183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78184 if eval "test \"\${$as_ac_var+set}\" = set"; then
78185 echo $ECHO_N "(cached) $ECHO_C" >&6
78186 else
78187 if test x$gcc_no_link = xyes; then
78188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78190 { (exit 1); exit 1; }; }
78192 cat >conftest.$ac_ext <<_ACEOF
78193 /* confdefs.h. */
78194 _ACEOF
78195 cat confdefs.h >>conftest.$ac_ext
78196 cat >>conftest.$ac_ext <<_ACEOF
78197 /* end confdefs.h. */
78198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78200 #define $ac_func innocuous_$ac_func
78202 /* System header to define __stub macros and hopefully few prototypes,
78203 which can conflict with char $ac_func (); below.
78204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78205 <limits.h> exists even on freestanding compilers. */
78207 #ifdef __STDC__
78208 # include <limits.h>
78209 #else
78210 # include <assert.h>
78211 #endif
78213 #undef $ac_func
78215 /* Override any gcc2 internal prototype to avoid an error. */
78216 #ifdef __cplusplus
78217 extern "C"
78219 #endif
78220 /* We use char because int might match the return type of a gcc2
78221 builtin and then its argument prototype would still apply. */
78222 char $ac_func ();
78223 /* The GNU C library defines this for functions which it implements
78224 to always fail with ENOSYS. Some functions are actually named
78225 something starting with __ and the normal name is an alias. */
78226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78227 choke me
78228 #else
78229 char (*f) () = $ac_func;
78230 #endif
78231 #ifdef __cplusplus
78233 #endif
78236 main ()
78238 return f != $ac_func;
78240 return 0;
78242 _ACEOF
78243 rm -f conftest.$ac_objext conftest$ac_exeext
78244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78245 (eval $ac_link) 2>conftest.er1
78246 ac_status=$?
78247 grep -v '^ *+' conftest.er1 >conftest.err
78248 rm -f conftest.er1
78249 cat conftest.err >&5
78250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78251 (exit $ac_status); } &&
78252 { ac_try='test -z "$ac_c_werror_flag"
78253 || test ! -s conftest.err'
78254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78255 (eval $ac_try) 2>&5
78256 ac_status=$?
78257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78258 (exit $ac_status); }; } &&
78259 { ac_try='test -s conftest$ac_exeext'
78260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78261 (eval $ac_try) 2>&5
78262 ac_status=$?
78263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78264 (exit $ac_status); }; }; then
78265 eval "$as_ac_var=yes"
78266 else
78267 echo "$as_me: failed program was:" >&5
78268 sed 's/^/| /' conftest.$ac_ext >&5
78270 eval "$as_ac_var=no"
78272 rm -f conftest.err conftest.$ac_objext \
78273 conftest$ac_exeext conftest.$ac_ext
78275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78277 if test `eval echo '${'$as_ac_var'}'` = yes; then
78278 cat >>confdefs.h <<_ACEOF
78279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78280 _ACEOF
78282 else
78283 ac_wfuncs=no
78285 done
78288 # Checks for wide character functions that are not required
78289 # for basic wchar_t support. Don't disable support if they are missing.
78290 # Injection of these is wrapped with guard macros.
78296 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
78298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78299 echo "$as_me:$LINENO: checking for $ac_func" >&5
78300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78301 if eval "test \"\${$as_ac_var+set}\" = set"; then
78302 echo $ECHO_N "(cached) $ECHO_C" >&6
78303 else
78304 if test x$gcc_no_link = xyes; then
78305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78307 { (exit 1); exit 1; }; }
78309 cat >conftest.$ac_ext <<_ACEOF
78310 /* confdefs.h. */
78311 _ACEOF
78312 cat confdefs.h >>conftest.$ac_ext
78313 cat >>conftest.$ac_ext <<_ACEOF
78314 /* end confdefs.h. */
78315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78317 #define $ac_func innocuous_$ac_func
78319 /* System header to define __stub macros and hopefully few prototypes,
78320 which can conflict with char $ac_func (); below.
78321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78322 <limits.h> exists even on freestanding compilers. */
78324 #ifdef __STDC__
78325 # include <limits.h>
78326 #else
78327 # include <assert.h>
78328 #endif
78330 #undef $ac_func
78332 /* Override any gcc2 internal prototype to avoid an error. */
78333 #ifdef __cplusplus
78334 extern "C"
78336 #endif
78337 /* We use char because int might match the return type of a gcc2
78338 builtin and then its argument prototype would still apply. */
78339 char $ac_func ();
78340 /* The GNU C library defines this for functions which it implements
78341 to always fail with ENOSYS. Some functions are actually named
78342 something starting with __ and the normal name is an alias. */
78343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78344 choke me
78345 #else
78346 char (*f) () = $ac_func;
78347 #endif
78348 #ifdef __cplusplus
78350 #endif
78353 main ()
78355 return f != $ac_func;
78357 return 0;
78359 _ACEOF
78360 rm -f conftest.$ac_objext conftest$ac_exeext
78361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78362 (eval $ac_link) 2>conftest.er1
78363 ac_status=$?
78364 grep -v '^ *+' conftest.er1 >conftest.err
78365 rm -f conftest.er1
78366 cat conftest.err >&5
78367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78368 (exit $ac_status); } &&
78369 { ac_try='test -z "$ac_c_werror_flag"
78370 || test ! -s conftest.err'
78371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78372 (eval $ac_try) 2>&5
78373 ac_status=$?
78374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78375 (exit $ac_status); }; } &&
78376 { ac_try='test -s conftest$ac_exeext'
78377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78378 (eval $ac_try) 2>&5
78379 ac_status=$?
78380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78381 (exit $ac_status); }; }; then
78382 eval "$as_ac_var=yes"
78383 else
78384 echo "$as_me: failed program was:" >&5
78385 sed 's/^/| /' conftest.$ac_ext >&5
78387 eval "$as_ac_var=no"
78389 rm -f conftest.err conftest.$ac_objext \
78390 conftest$ac_exeext conftest.$ac_ext
78392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78394 if test `eval echo '${'$as_ac_var'}'` = yes; then
78395 cat >>confdefs.h <<_ACEOF
78396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78397 _ACEOF
78400 done
78403 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
78404 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
78405 if test x"$has_weof" = xyes &&
78406 test x"$has_wchar_minmax" = xyes &&
78407 test x"$ac_wfuncs" = xyes;
78408 then
78409 ac_isoC99_wchar_t=yes
78410 else
78411 ac_isoC99_wchar_t=no
78413 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
78414 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
78416 # Use iconv for wchar_t to char conversions. As such, check for
78417 # X/Open Portability Guide, version 2 features (XPG2).
78418 if test "${ac_cv_header_iconv_h+set}" = set; then
78419 echo "$as_me:$LINENO: checking for iconv.h" >&5
78420 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
78421 if test "${ac_cv_header_iconv_h+set}" = set; then
78422 echo $ECHO_N "(cached) $ECHO_C" >&6
78424 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
78425 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
78426 else
78427 # Is the header compilable?
78428 echo "$as_me:$LINENO: checking iconv.h usability" >&5
78429 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
78430 cat >conftest.$ac_ext <<_ACEOF
78431 /* confdefs.h. */
78432 _ACEOF
78433 cat confdefs.h >>conftest.$ac_ext
78434 cat >>conftest.$ac_ext <<_ACEOF
78435 /* end confdefs.h. */
78436 $ac_includes_default
78437 #include <iconv.h>
78438 _ACEOF
78439 rm -f conftest.$ac_objext
78440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78441 (eval $ac_compile) 2>conftest.er1
78442 ac_status=$?
78443 grep -v '^ *+' conftest.er1 >conftest.err
78444 rm -f conftest.er1
78445 cat conftest.err >&5
78446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78447 (exit $ac_status); } &&
78448 { ac_try='test -z "$ac_c_werror_flag"
78449 || test ! -s conftest.err'
78450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78451 (eval $ac_try) 2>&5
78452 ac_status=$?
78453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78454 (exit $ac_status); }; } &&
78455 { ac_try='test -s conftest.$ac_objext'
78456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78457 (eval $ac_try) 2>&5
78458 ac_status=$?
78459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78460 (exit $ac_status); }; }; then
78461 ac_header_compiler=yes
78462 else
78463 echo "$as_me: failed program was:" >&5
78464 sed 's/^/| /' conftest.$ac_ext >&5
78466 ac_header_compiler=no
78468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78469 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78470 echo "${ECHO_T}$ac_header_compiler" >&6
78472 # Is the header present?
78473 echo "$as_me:$LINENO: checking iconv.h presence" >&5
78474 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
78475 cat >conftest.$ac_ext <<_ACEOF
78476 /* confdefs.h. */
78477 _ACEOF
78478 cat confdefs.h >>conftest.$ac_ext
78479 cat >>conftest.$ac_ext <<_ACEOF
78480 /* end confdefs.h. */
78481 #include <iconv.h>
78482 _ACEOF
78483 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78484 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78485 ac_status=$?
78486 grep -v '^ *+' conftest.er1 >conftest.err
78487 rm -f conftest.er1
78488 cat conftest.err >&5
78489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78490 (exit $ac_status); } >/dev/null; then
78491 if test -s conftest.err; then
78492 ac_cpp_err=$ac_c_preproc_warn_flag
78493 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78494 else
78495 ac_cpp_err=
78497 else
78498 ac_cpp_err=yes
78500 if test -z "$ac_cpp_err"; then
78501 ac_header_preproc=yes
78502 else
78503 echo "$as_me: failed program was:" >&5
78504 sed 's/^/| /' conftest.$ac_ext >&5
78506 ac_header_preproc=no
78508 rm -f conftest.err conftest.$ac_ext
78509 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78510 echo "${ECHO_T}$ac_header_preproc" >&6
78512 # So? What about this header?
78513 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78514 yes:no: )
78515 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
78516 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78517 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
78518 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
78519 ac_header_preproc=yes
78521 no:yes:* )
78522 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
78523 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
78524 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
78525 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
78526 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
78527 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
78528 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
78529 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
78530 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
78531 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
78532 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
78533 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
78535 cat <<\_ASBOX
78536 ## ----------------------------------------- ##
78537 ## Report this to the package-unused lists. ##
78538 ## ----------------------------------------- ##
78539 _ASBOX
78541 sed "s/^/$as_me: WARNING: /" >&2
78543 esac
78544 echo "$as_me:$LINENO: checking for iconv.h" >&5
78545 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
78546 if test "${ac_cv_header_iconv_h+set}" = set; then
78547 echo $ECHO_N "(cached) $ECHO_C" >&6
78548 else
78549 ac_cv_header_iconv_h=$ac_header_preproc
78551 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
78552 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
78555 if test $ac_cv_header_iconv_h = yes; then
78556 ac_has_iconv_h=yes
78557 else
78558 ac_has_iconv_h=no
78562 if test "${ac_cv_header_langinfo_h+set}" = set; then
78563 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78564 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78565 if test "${ac_cv_header_langinfo_h+set}" = set; then
78566 echo $ECHO_N "(cached) $ECHO_C" >&6
78568 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78569 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78570 else
78571 # Is the header compilable?
78572 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
78573 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
78574 cat >conftest.$ac_ext <<_ACEOF
78575 /* confdefs.h. */
78576 _ACEOF
78577 cat confdefs.h >>conftest.$ac_ext
78578 cat >>conftest.$ac_ext <<_ACEOF
78579 /* end confdefs.h. */
78580 $ac_includes_default
78581 #include <langinfo.h>
78582 _ACEOF
78583 rm -f conftest.$ac_objext
78584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78585 (eval $ac_compile) 2>conftest.er1
78586 ac_status=$?
78587 grep -v '^ *+' conftest.er1 >conftest.err
78588 rm -f conftest.er1
78589 cat conftest.err >&5
78590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78591 (exit $ac_status); } &&
78592 { ac_try='test -z "$ac_c_werror_flag"
78593 || test ! -s conftest.err'
78594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78595 (eval $ac_try) 2>&5
78596 ac_status=$?
78597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78598 (exit $ac_status); }; } &&
78599 { ac_try='test -s conftest.$ac_objext'
78600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78601 (eval $ac_try) 2>&5
78602 ac_status=$?
78603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78604 (exit $ac_status); }; }; then
78605 ac_header_compiler=yes
78606 else
78607 echo "$as_me: failed program was:" >&5
78608 sed 's/^/| /' conftest.$ac_ext >&5
78610 ac_header_compiler=no
78612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78613 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78614 echo "${ECHO_T}$ac_header_compiler" >&6
78616 # Is the header present?
78617 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
78618 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
78619 cat >conftest.$ac_ext <<_ACEOF
78620 /* confdefs.h. */
78621 _ACEOF
78622 cat confdefs.h >>conftest.$ac_ext
78623 cat >>conftest.$ac_ext <<_ACEOF
78624 /* end confdefs.h. */
78625 #include <langinfo.h>
78626 _ACEOF
78627 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78628 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78629 ac_status=$?
78630 grep -v '^ *+' conftest.er1 >conftest.err
78631 rm -f conftest.er1
78632 cat conftest.err >&5
78633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78634 (exit $ac_status); } >/dev/null; then
78635 if test -s conftest.err; then
78636 ac_cpp_err=$ac_c_preproc_warn_flag
78637 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78638 else
78639 ac_cpp_err=
78641 else
78642 ac_cpp_err=yes
78644 if test -z "$ac_cpp_err"; then
78645 ac_header_preproc=yes
78646 else
78647 echo "$as_me: failed program was:" >&5
78648 sed 's/^/| /' conftest.$ac_ext >&5
78650 ac_header_preproc=no
78652 rm -f conftest.err conftest.$ac_ext
78653 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78654 echo "${ECHO_T}$ac_header_preproc" >&6
78656 # So? What about this header?
78657 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78658 yes:no: )
78659 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
78660 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78661 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
78662 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
78663 ac_header_preproc=yes
78665 no:yes:* )
78666 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
78667 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
78668 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
78669 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
78670 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
78671 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
78672 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
78673 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
78674 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
78675 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
78676 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
78677 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
78679 cat <<\_ASBOX
78680 ## ----------------------------------------- ##
78681 ## Report this to the package-unused lists. ##
78682 ## ----------------------------------------- ##
78683 _ASBOX
78685 sed "s/^/$as_me: WARNING: /" >&2
78687 esac
78688 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78689 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78690 if test "${ac_cv_header_langinfo_h+set}" = set; then
78691 echo $ECHO_N "(cached) $ECHO_C" >&6
78692 else
78693 ac_cv_header_langinfo_h=$ac_header_preproc
78695 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78696 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78699 if test $ac_cv_header_langinfo_h = yes; then
78700 ac_has_langinfo_h=yes
78701 else
78702 ac_has_langinfo_h=no
78707 # Check for existence of libiconv.a providing XPG2 wchar_t support.
78708 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
78709 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
78710 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
78711 echo $ECHO_N "(cached) $ECHO_C" >&6
78712 else
78713 ac_check_lib_save_LIBS=$LIBS
78714 LIBS="-liconv $LIBS"
78715 if test x$gcc_no_link = xyes; then
78716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78718 { (exit 1); exit 1; }; }
78720 cat >conftest.$ac_ext <<_ACEOF
78721 /* confdefs.h. */
78722 _ACEOF
78723 cat confdefs.h >>conftest.$ac_ext
78724 cat >>conftest.$ac_ext <<_ACEOF
78725 /* end confdefs.h. */
78727 /* Override any gcc2 internal prototype to avoid an error. */
78728 #ifdef __cplusplus
78729 extern "C"
78730 #endif
78731 /* We use char because int might match the return type of a gcc2
78732 builtin and then its argument prototype would still apply. */
78733 char iconv ();
78735 main ()
78737 iconv ();
78739 return 0;
78741 _ACEOF
78742 rm -f conftest.$ac_objext conftest$ac_exeext
78743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78744 (eval $ac_link) 2>conftest.er1
78745 ac_status=$?
78746 grep -v '^ *+' conftest.er1 >conftest.err
78747 rm -f conftest.er1
78748 cat conftest.err >&5
78749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78750 (exit $ac_status); } &&
78751 { ac_try='test -z "$ac_c_werror_flag"
78752 || test ! -s conftest.err'
78753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78754 (eval $ac_try) 2>&5
78755 ac_status=$?
78756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78757 (exit $ac_status); }; } &&
78758 { ac_try='test -s conftest$ac_exeext'
78759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78760 (eval $ac_try) 2>&5
78761 ac_status=$?
78762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78763 (exit $ac_status); }; }; then
78764 ac_cv_lib_iconv_iconv=yes
78765 else
78766 echo "$as_me: failed program was:" >&5
78767 sed 's/^/| /' conftest.$ac_ext >&5
78769 ac_cv_lib_iconv_iconv=no
78771 rm -f conftest.err conftest.$ac_objext \
78772 conftest$ac_exeext conftest.$ac_ext
78773 LIBS=$ac_check_lib_save_LIBS
78775 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
78776 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
78777 if test $ac_cv_lib_iconv_iconv = yes; then
78778 LIBICONV="-liconv"
78781 ac_save_LIBS="$LIBS"
78782 LIBS="$LIBS $LIBICONV"
78789 for ac_func in iconv_open iconv_close iconv nl_langinfo
78791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78792 echo "$as_me:$LINENO: checking for $ac_func" >&5
78793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78794 if eval "test \"\${$as_ac_var+set}\" = set"; then
78795 echo $ECHO_N "(cached) $ECHO_C" >&6
78796 else
78797 if test x$gcc_no_link = xyes; then
78798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78800 { (exit 1); exit 1; }; }
78802 cat >conftest.$ac_ext <<_ACEOF
78803 /* confdefs.h. */
78804 _ACEOF
78805 cat confdefs.h >>conftest.$ac_ext
78806 cat >>conftest.$ac_ext <<_ACEOF
78807 /* end confdefs.h. */
78808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78810 #define $ac_func innocuous_$ac_func
78812 /* System header to define __stub macros and hopefully few prototypes,
78813 which can conflict with char $ac_func (); below.
78814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78815 <limits.h> exists even on freestanding compilers. */
78817 #ifdef __STDC__
78818 # include <limits.h>
78819 #else
78820 # include <assert.h>
78821 #endif
78823 #undef $ac_func
78825 /* Override any gcc2 internal prototype to avoid an error. */
78826 #ifdef __cplusplus
78827 extern "C"
78829 #endif
78830 /* We use char because int might match the return type of a gcc2
78831 builtin and then its argument prototype would still apply. */
78832 char $ac_func ();
78833 /* The GNU C library defines this for functions which it implements
78834 to always fail with ENOSYS. Some functions are actually named
78835 something starting with __ and the normal name is an alias. */
78836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78837 choke me
78838 #else
78839 char (*f) () = $ac_func;
78840 #endif
78841 #ifdef __cplusplus
78843 #endif
78846 main ()
78848 return f != $ac_func;
78850 return 0;
78852 _ACEOF
78853 rm -f conftest.$ac_objext conftest$ac_exeext
78854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78855 (eval $ac_link) 2>conftest.er1
78856 ac_status=$?
78857 grep -v '^ *+' conftest.er1 >conftest.err
78858 rm -f conftest.er1
78859 cat conftest.err >&5
78860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78861 (exit $ac_status); } &&
78862 { ac_try='test -z "$ac_c_werror_flag"
78863 || test ! -s conftest.err'
78864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78865 (eval $ac_try) 2>&5
78866 ac_status=$?
78867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78868 (exit $ac_status); }; } &&
78869 { ac_try='test -s conftest$ac_exeext'
78870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78871 (eval $ac_try) 2>&5
78872 ac_status=$?
78873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78874 (exit $ac_status); }; }; then
78875 eval "$as_ac_var=yes"
78876 else
78877 echo "$as_me: failed program was:" >&5
78878 sed 's/^/| /' conftest.$ac_ext >&5
78880 eval "$as_ac_var=no"
78882 rm -f conftest.err conftest.$ac_objext \
78883 conftest$ac_exeext conftest.$ac_ext
78885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78887 if test `eval echo '${'$as_ac_var'}'` = yes; then
78888 cat >>confdefs.h <<_ACEOF
78889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78890 _ACEOF
78891 ac_XPG2funcs=yes
78892 else
78893 ac_XPG2funcs=no
78895 done
78898 LIBS="$ac_save_LIBS"
78900 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
78901 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
78902 if test x"$ac_has_iconv_h" = xyes &&
78903 test x"$ac_has_langinfo_h" = xyes &&
78904 test x"$ac_XPG2funcs" = xyes;
78905 then
78906 ac_XPG2_wchar_t=yes
78907 else
78908 ac_XPG2_wchar_t=no
78910 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
78911 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
78913 # At the moment, only enable wchar_t specializations if all the
78914 # above support is present.
78915 if test x"$ac_isoC99_wchar_t" = xyes &&
78916 test x"$ac_XPG2_wchar_t" = xyes;
78917 then
78918 cat >>confdefs.h <<\_ACEOF
78919 #define _GLIBCXX_USE_WCHAR_T 1
78920 _ACEOF
78922 enable_wchar_t=yes
78925 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
78926 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
78927 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
78928 echo "${ECHO_T}$enable_wchar_t" >&6
78930 cat >>confdefs.h <<\_ACEOF
78931 #define HAVE_LC_MESSAGES 1
78932 _ACEOF
78934 cat >>confdefs.h <<\_ACEOF
78935 #define HAVE_GETPAGESIZE 1
78936 _ACEOF
78938 cat >>confdefs.h <<\_ACEOF
78939 #define HAVE_SETENV 1
78940 _ACEOF
78942 cat >>confdefs.h <<\_ACEOF
78943 #define HAVE_SIGSETJMP 1
78944 _ACEOF
78946 cat >>confdefs.h <<\_ACEOF
78947 #define HAVE_COPYSIGN 1
78948 _ACEOF
78950 cat >>confdefs.h <<\_ACEOF
78951 #define HAVE_COPYSIGNF 1
78952 _ACEOF
78954 cat >>confdefs.h <<\_ACEOF
78955 #define HAVE_FINITEF 1
78956 _ACEOF
78958 cat >>confdefs.h <<\_ACEOF
78959 #define HAVE_FINITE 1
78960 _ACEOF
78962 cat >>confdefs.h <<\_ACEOF
78963 #define HAVE_FREXPF 1
78964 _ACEOF
78966 cat >>confdefs.h <<\_ACEOF
78967 #define HAVE_HYPOT 1
78968 _ACEOF
78970 cat >>confdefs.h <<\_ACEOF
78971 #define HAVE_HYPOTF 1
78972 _ACEOF
78974 cat >>confdefs.h <<\_ACEOF
78975 #define HAVE_ISINF 1
78976 _ACEOF
78978 cat >>confdefs.h <<\_ACEOF
78979 #define HAVE_ISNAN 1
78980 _ACEOF
78982 cat >>confdefs.h <<\_ACEOF
78983 #define HAVE_ISNANF 1
78984 _ACEOF
78987 cat >>confdefs.h <<\_ACEOF
78988 #define HAVE_MMAP 1
78989 _ACEOF
78991 cat >>confdefs.h <<\_ACEOF
78992 #define HAVE_ACOSF 1
78993 _ACEOF
78995 cat >>confdefs.h <<\_ACEOF
78996 #define HAVE_ASINF 1
78997 _ACEOF
78999 cat >>confdefs.h <<\_ACEOF
79000 #define HAVE_ATAN2F 1
79001 _ACEOF
79003 cat >>confdefs.h <<\_ACEOF
79004 #define HAVE_ATANF 1
79005 _ACEOF
79007 cat >>confdefs.h <<\_ACEOF
79008 #define HAVE_CEILF 1
79009 _ACEOF
79011 cat >>confdefs.h <<\_ACEOF
79012 #define HAVE_COPYSIGN 1
79013 _ACEOF
79015 cat >>confdefs.h <<\_ACEOF
79016 #define HAVE_COPYSIGNF 1
79017 _ACEOF
79019 cat >>confdefs.h <<\_ACEOF
79020 #define HAVE_COSF 1
79021 _ACEOF
79023 cat >>confdefs.h <<\_ACEOF
79024 #define HAVE_COSHF 1
79025 _ACEOF
79027 cat >>confdefs.h <<\_ACEOF
79028 #define HAVE_EXPF 1
79029 _ACEOF
79031 cat >>confdefs.h <<\_ACEOF
79032 #define HAVE_FABSF 1
79033 _ACEOF
79035 cat >>confdefs.h <<\_ACEOF
79036 #define HAVE_FLOORF 1
79037 _ACEOF
79039 cat >>confdefs.h <<\_ACEOF
79040 #define HAVE_FMODF 1
79041 _ACEOF
79043 cat >>confdefs.h <<\_ACEOF
79044 #define HAVE_FREXPF 1
79045 _ACEOF
79047 cat >>confdefs.h <<\_ACEOF
79048 #define HAVE_LDEXPF 1
79049 _ACEOF
79051 cat >>confdefs.h <<\_ACEOF
79052 #define HAVE_LOG10F 1
79053 _ACEOF
79055 cat >>confdefs.h <<\_ACEOF
79056 #define HAVE_LOGF 1
79057 _ACEOF
79059 cat >>confdefs.h <<\_ACEOF
79060 #define HAVE_MODFF 1
79061 _ACEOF
79063 cat >>confdefs.h <<\_ACEOF
79064 #define HAVE_POWF 1
79065 _ACEOF
79067 cat >>confdefs.h <<\_ACEOF
79068 #define HAVE_SINF 1
79069 _ACEOF
79071 cat >>confdefs.h <<\_ACEOF
79072 #define HAVE_SINHF 1
79073 _ACEOF
79075 cat >>confdefs.h <<\_ACEOF
79076 #define HAVE_SQRTF 1
79077 _ACEOF
79079 cat >>confdefs.h <<\_ACEOF
79080 #define HAVE_TANF 1
79081 _ACEOF
79083 cat >>confdefs.h <<\_ACEOF
79084 #define HAVE_TANHF 1
79085 _ACEOF
79087 if test x"long_double_math_on_this_cpu" = x"yes"; then
79088 cat >>confdefs.h <<\_ACEOF
79089 #define HAVE_FINITEL 1
79090 _ACEOF
79092 cat >>confdefs.h <<\_ACEOF
79093 #define HAVE_ISINFL 1
79094 _ACEOF
79096 cat >>confdefs.h <<\_ACEOF
79097 #define HAVE_ISNANL 1
79098 _ACEOF
79102 *-hpux*)
79115 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
79116 machine/endian.h machine/param.h sys/machine.h sys/types.h \
79117 fp.h locale.h float.h inttypes.h
79119 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79121 echo "$as_me:$LINENO: checking for $ac_header" >&5
79122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79124 echo $ECHO_N "(cached) $ECHO_C" >&6
79126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79127 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79128 else
79129 # Is the header compilable?
79130 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79131 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79132 cat >conftest.$ac_ext <<_ACEOF
79133 /* confdefs.h. */
79134 _ACEOF
79135 cat confdefs.h >>conftest.$ac_ext
79136 cat >>conftest.$ac_ext <<_ACEOF
79137 /* end confdefs.h. */
79138 $ac_includes_default
79139 #include <$ac_header>
79140 _ACEOF
79141 rm -f conftest.$ac_objext
79142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79143 (eval $ac_compile) 2>conftest.er1
79144 ac_status=$?
79145 grep -v '^ *+' conftest.er1 >conftest.err
79146 rm -f conftest.er1
79147 cat conftest.err >&5
79148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79149 (exit $ac_status); } &&
79150 { ac_try='test -z "$ac_c_werror_flag"
79151 || test ! -s conftest.err'
79152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79153 (eval $ac_try) 2>&5
79154 ac_status=$?
79155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79156 (exit $ac_status); }; } &&
79157 { ac_try='test -s conftest.$ac_objext'
79158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79159 (eval $ac_try) 2>&5
79160 ac_status=$?
79161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79162 (exit $ac_status); }; }; then
79163 ac_header_compiler=yes
79164 else
79165 echo "$as_me: failed program was:" >&5
79166 sed 's/^/| /' conftest.$ac_ext >&5
79168 ac_header_compiler=no
79170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79171 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79172 echo "${ECHO_T}$ac_header_compiler" >&6
79174 # Is the header present?
79175 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79176 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79177 cat >conftest.$ac_ext <<_ACEOF
79178 /* confdefs.h. */
79179 _ACEOF
79180 cat confdefs.h >>conftest.$ac_ext
79181 cat >>conftest.$ac_ext <<_ACEOF
79182 /* end confdefs.h. */
79183 #include <$ac_header>
79184 _ACEOF
79185 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79186 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79187 ac_status=$?
79188 grep -v '^ *+' conftest.er1 >conftest.err
79189 rm -f conftest.er1
79190 cat conftest.err >&5
79191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79192 (exit $ac_status); } >/dev/null; then
79193 if test -s conftest.err; then
79194 ac_cpp_err=$ac_c_preproc_warn_flag
79195 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79196 else
79197 ac_cpp_err=
79199 else
79200 ac_cpp_err=yes
79202 if test -z "$ac_cpp_err"; then
79203 ac_header_preproc=yes
79204 else
79205 echo "$as_me: failed program was:" >&5
79206 sed 's/^/| /' conftest.$ac_ext >&5
79208 ac_header_preproc=no
79210 rm -f conftest.err conftest.$ac_ext
79211 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79212 echo "${ECHO_T}$ac_header_preproc" >&6
79214 # So? What about this header?
79215 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79216 yes:no: )
79217 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79218 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79220 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79221 ac_header_preproc=yes
79223 no:yes:* )
79224 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79225 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79226 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
79227 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
79228 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79229 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79230 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
79231 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
79232 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79233 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79234 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79235 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79237 cat <<\_ASBOX
79238 ## ----------------------------------------- ##
79239 ## Report this to the package-unused lists. ##
79240 ## ----------------------------------------- ##
79241 _ASBOX
79243 sed "s/^/$as_me: WARNING: /" >&2
79245 esac
79246 echo "$as_me:$LINENO: checking for $ac_header" >&5
79247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79249 echo $ECHO_N "(cached) $ECHO_C" >&6
79250 else
79251 eval "$as_ac_Header=\$ac_header_preproc"
79253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79258 cat >>confdefs.h <<_ACEOF
79259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79260 _ACEOF
79264 done
79266 SECTION_FLAGS='-ffunction-sections -fdata-sections'
79269 # If we're not using GNU ld, then there's no point in even trying these
79270 # tests. Check for that first. We should have already tested for gld
79271 # by now (in libtool), but require it now just to be safe...
79272 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79273 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79277 # The name set by libtool depends on the version of libtool. Shame on us
79278 # for depending on an impl detail, but c'est la vie. Older versions used
79279 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79280 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79281 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
79282 # set (hence we're using an older libtool), then set it.
79283 if test x${with_gnu_ld+set} != xset; then
79284 if test x${ac_cv_prog_gnu_ld+set} != xset; then
79285 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
79286 with_gnu_ld=no
79287 else
79288 with_gnu_ld=$ac_cv_prog_gnu_ld
79292 # Start by getting the version number. I think the libtool test already
79293 # does some of this, but throws away the result.
79295 ldver=`$LD --version 2>/dev/null | head -1 | \
79296 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79298 glibcxx_gnu_ld_version=`echo $ldver | \
79299 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79301 # Set --gc-sections.
79302 if test "$with_gnu_ld" = "notbroken"; then
79303 # GNU ld it is! Joy and bunny rabbits!
79305 # All these tests are for C++; save the language and the compiler flags.
79306 # Need to do this so that g++ won't try to link in libstdc++
79307 ac_test_CFLAGS="${CFLAGS+set}"
79308 ac_save_CFLAGS="$CFLAGS"
79309 CFLAGS='-x c++ -Wl,--gc-sections'
79311 # Check for -Wl,--gc-sections
79312 # XXX This test is broken at the moment, as symbols required for linking
79313 # are now in libsupc++ (not built yet). In addition, this test has
79314 # cored on solaris in the past. In addition, --gc-sections doesn't
79315 # really work at the moment (keeps on discarding used sections, first
79316 # .eh_frame and now some of the glibc sections for iconv).
79317 # Bzzzzt. Thanks for playing, maybe next time.
79318 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79319 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79320 if test "$cross_compiling" = yes; then
79321 ac_sectionLDflags=yes
79322 else
79323 cat >conftest.$ac_ext <<_ACEOF
79324 /* confdefs.h. */
79325 _ACEOF
79326 cat confdefs.h >>conftest.$ac_ext
79327 cat >>conftest.$ac_ext <<_ACEOF
79328 /* end confdefs.h. */
79330 int main(void)
79332 try { throw 1; }
79333 catch (...) { };
79334 return 0;
79337 _ACEOF
79338 rm -f conftest$ac_exeext
79339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79340 (eval $ac_link) 2>&5
79341 ac_status=$?
79342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79343 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
79344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79345 (eval $ac_try) 2>&5
79346 ac_status=$?
79347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79348 (exit $ac_status); }; }; then
79349 ac_sectionLDflags=yes
79350 else
79351 echo "$as_me: program exited with status $ac_status" >&5
79352 echo "$as_me: failed program was:" >&5
79353 sed 's/^/| /' conftest.$ac_ext >&5
79355 ( exit $ac_status )
79356 ac_sectionLDflags=no
79358 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
79360 if test "$ac_test_CFLAGS" = set; then
79361 CFLAGS="$ac_save_CFLAGS"
79362 else
79363 # this is the suspicious part
79364 CFLAGS=''
79366 if test "$ac_sectionLDflags" = "yes"; then
79367 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79369 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
79370 echo "${ECHO_T}$ac_sectionLDflags" >&6
79373 # Set linker optimization flags.
79374 if test x"$with_gnu_ld" = x"yes"; then
79375 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79383 echo "$as_me:$LINENO: checking for main in -lm" >&5
79384 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79385 if test "${ac_cv_lib_m_main+set}" = set; then
79386 echo $ECHO_N "(cached) $ECHO_C" >&6
79387 else
79388 ac_check_lib_save_LIBS=$LIBS
79389 LIBS="-lm $LIBS"
79390 if test x$gcc_no_link = xyes; then
79391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79393 { (exit 1); exit 1; }; }
79395 cat >conftest.$ac_ext <<_ACEOF
79396 /* confdefs.h. */
79397 _ACEOF
79398 cat confdefs.h >>conftest.$ac_ext
79399 cat >>conftest.$ac_ext <<_ACEOF
79400 /* end confdefs.h. */
79404 main ()
79406 main ();
79408 return 0;
79410 _ACEOF
79411 rm -f conftest.$ac_objext conftest$ac_exeext
79412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79413 (eval $ac_link) 2>conftest.er1
79414 ac_status=$?
79415 grep -v '^ *+' conftest.er1 >conftest.err
79416 rm -f conftest.er1
79417 cat conftest.err >&5
79418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79419 (exit $ac_status); } &&
79420 { ac_try='test -z "$ac_c_werror_flag"
79421 || test ! -s conftest.err'
79422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79423 (eval $ac_try) 2>&5
79424 ac_status=$?
79425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79426 (exit $ac_status); }; } &&
79427 { ac_try='test -s conftest$ac_exeext'
79428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79429 (eval $ac_try) 2>&5
79430 ac_status=$?
79431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79432 (exit $ac_status); }; }; then
79433 ac_cv_lib_m_main=yes
79434 else
79435 echo "$as_me: failed program was:" >&5
79436 sed 's/^/| /' conftest.$ac_ext >&5
79438 ac_cv_lib_m_main=no
79440 rm -f conftest.err conftest.$ac_objext \
79441 conftest$ac_exeext conftest.$ac_ext
79442 LIBS=$ac_check_lib_save_LIBS
79444 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79445 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79446 if test $ac_cv_lib_m_main = yes; then
79447 cat >>confdefs.h <<_ACEOF
79448 #define HAVE_LIBM 1
79449 _ACEOF
79451 LIBS="-lm $LIBS"
79456 for ac_func in copysignf
79458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79459 echo "$as_me:$LINENO: checking for $ac_func" >&5
79460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79461 if eval "test \"\${$as_ac_var+set}\" = set"; then
79462 echo $ECHO_N "(cached) $ECHO_C" >&6
79463 else
79464 if test x$gcc_no_link = xyes; then
79465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79467 { (exit 1); exit 1; }; }
79469 cat >conftest.$ac_ext <<_ACEOF
79470 /* confdefs.h. */
79471 _ACEOF
79472 cat confdefs.h >>conftest.$ac_ext
79473 cat >>conftest.$ac_ext <<_ACEOF
79474 /* end confdefs.h. */
79475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79477 #define $ac_func innocuous_$ac_func
79479 /* System header to define __stub macros and hopefully few prototypes,
79480 which can conflict with char $ac_func (); below.
79481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79482 <limits.h> exists even on freestanding compilers. */
79484 #ifdef __STDC__
79485 # include <limits.h>
79486 #else
79487 # include <assert.h>
79488 #endif
79490 #undef $ac_func
79492 /* Override any gcc2 internal prototype to avoid an error. */
79493 #ifdef __cplusplus
79494 extern "C"
79496 #endif
79497 /* We use char because int might match the return type of a gcc2
79498 builtin and then its argument prototype would still apply. */
79499 char $ac_func ();
79500 /* The GNU C library defines this for functions which it implements
79501 to always fail with ENOSYS. Some functions are actually named
79502 something starting with __ and the normal name is an alias. */
79503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79504 choke me
79505 #else
79506 char (*f) () = $ac_func;
79507 #endif
79508 #ifdef __cplusplus
79510 #endif
79513 main ()
79515 return f != $ac_func;
79517 return 0;
79519 _ACEOF
79520 rm -f conftest.$ac_objext conftest$ac_exeext
79521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79522 (eval $ac_link) 2>conftest.er1
79523 ac_status=$?
79524 grep -v '^ *+' conftest.er1 >conftest.err
79525 rm -f conftest.er1
79526 cat conftest.err >&5
79527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79528 (exit $ac_status); } &&
79529 { ac_try='test -z "$ac_c_werror_flag"
79530 || test ! -s conftest.err'
79531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79532 (eval $ac_try) 2>&5
79533 ac_status=$?
79534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79535 (exit $ac_status); }; } &&
79536 { ac_try='test -s conftest$ac_exeext'
79537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79538 (eval $ac_try) 2>&5
79539 ac_status=$?
79540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79541 (exit $ac_status); }; }; then
79542 eval "$as_ac_var=yes"
79543 else
79544 echo "$as_me: failed program was:" >&5
79545 sed 's/^/| /' conftest.$ac_ext >&5
79547 eval "$as_ac_var=no"
79549 rm -f conftest.err conftest.$ac_objext \
79550 conftest$ac_exeext conftest.$ac_ext
79552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79554 if test `eval echo '${'$as_ac_var'}'` = yes; then
79555 cat >>confdefs.h <<_ACEOF
79556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79557 _ACEOF
79559 else
79560 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
79562 done
79566 for ac_func in __signbit
79568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79569 echo "$as_me:$LINENO: checking for $ac_func" >&5
79570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79571 if eval "test \"\${$as_ac_var+set}\" = set"; then
79572 echo $ECHO_N "(cached) $ECHO_C" >&6
79573 else
79574 if test x$gcc_no_link = xyes; then
79575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79577 { (exit 1); exit 1; }; }
79579 cat >conftest.$ac_ext <<_ACEOF
79580 /* confdefs.h. */
79581 _ACEOF
79582 cat confdefs.h >>conftest.$ac_ext
79583 cat >>conftest.$ac_ext <<_ACEOF
79584 /* end confdefs.h. */
79585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79587 #define $ac_func innocuous_$ac_func
79589 /* System header to define __stub macros and hopefully few prototypes,
79590 which can conflict with char $ac_func (); below.
79591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79592 <limits.h> exists even on freestanding compilers. */
79594 #ifdef __STDC__
79595 # include <limits.h>
79596 #else
79597 # include <assert.h>
79598 #endif
79600 #undef $ac_func
79602 /* Override any gcc2 internal prototype to avoid an error. */
79603 #ifdef __cplusplus
79604 extern "C"
79606 #endif
79607 /* We use char because int might match the return type of a gcc2
79608 builtin and then its argument prototype would still apply. */
79609 char $ac_func ();
79610 /* The GNU C library defines this for functions which it implements
79611 to always fail with ENOSYS. Some functions are actually named
79612 something starting with __ and the normal name is an alias. */
79613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79614 choke me
79615 #else
79616 char (*f) () = $ac_func;
79617 #endif
79618 #ifdef __cplusplus
79620 #endif
79623 main ()
79625 return f != $ac_func;
79627 return 0;
79629 _ACEOF
79630 rm -f conftest.$ac_objext conftest$ac_exeext
79631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79632 (eval $ac_link) 2>conftest.er1
79633 ac_status=$?
79634 grep -v '^ *+' conftest.er1 >conftest.err
79635 rm -f conftest.er1
79636 cat conftest.err >&5
79637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79638 (exit $ac_status); } &&
79639 { ac_try='test -z "$ac_c_werror_flag"
79640 || test ! -s conftest.err'
79641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79642 (eval $ac_try) 2>&5
79643 ac_status=$?
79644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79645 (exit $ac_status); }; } &&
79646 { ac_try='test -s conftest$ac_exeext'
79647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79648 (eval $ac_try) 2>&5
79649 ac_status=$?
79650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79651 (exit $ac_status); }; }; then
79652 eval "$as_ac_var=yes"
79653 else
79654 echo "$as_me: failed program was:" >&5
79655 sed 's/^/| /' conftest.$ac_ext >&5
79657 eval "$as_ac_var=no"
79659 rm -f conftest.err conftest.$ac_objext \
79660 conftest$ac_exeext conftest.$ac_ext
79662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79664 if test `eval echo '${'$as_ac_var'}'` = yes; then
79665 cat >>confdefs.h <<_ACEOF
79666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79667 _ACEOF
79669 else
79670 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
79672 done
79676 for ac_func in __signbitf
79678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79679 echo "$as_me:$LINENO: checking for $ac_func" >&5
79680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79681 if eval "test \"\${$as_ac_var+set}\" = set"; then
79682 echo $ECHO_N "(cached) $ECHO_C" >&6
79683 else
79684 if test x$gcc_no_link = xyes; then
79685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79687 { (exit 1); exit 1; }; }
79689 cat >conftest.$ac_ext <<_ACEOF
79690 /* confdefs.h. */
79691 _ACEOF
79692 cat confdefs.h >>conftest.$ac_ext
79693 cat >>conftest.$ac_ext <<_ACEOF
79694 /* end confdefs.h. */
79695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79697 #define $ac_func innocuous_$ac_func
79699 /* System header to define __stub macros and hopefully few prototypes,
79700 which can conflict with char $ac_func (); below.
79701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79702 <limits.h> exists even on freestanding compilers. */
79704 #ifdef __STDC__
79705 # include <limits.h>
79706 #else
79707 # include <assert.h>
79708 #endif
79710 #undef $ac_func
79712 /* Override any gcc2 internal prototype to avoid an error. */
79713 #ifdef __cplusplus
79714 extern "C"
79716 #endif
79717 /* We use char because int might match the return type of a gcc2
79718 builtin and then its argument prototype would still apply. */
79719 char $ac_func ();
79720 /* The GNU C library defines this for functions which it implements
79721 to always fail with ENOSYS. Some functions are actually named
79722 something starting with __ and the normal name is an alias. */
79723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79724 choke me
79725 #else
79726 char (*f) () = $ac_func;
79727 #endif
79728 #ifdef __cplusplus
79730 #endif
79733 main ()
79735 return f != $ac_func;
79737 return 0;
79739 _ACEOF
79740 rm -f conftest.$ac_objext conftest$ac_exeext
79741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79742 (eval $ac_link) 2>conftest.er1
79743 ac_status=$?
79744 grep -v '^ *+' conftest.er1 >conftest.err
79745 rm -f conftest.er1
79746 cat conftest.err >&5
79747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79748 (exit $ac_status); } &&
79749 { ac_try='test -z "$ac_c_werror_flag"
79750 || test ! -s conftest.err'
79751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79752 (eval $ac_try) 2>&5
79753 ac_status=$?
79754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79755 (exit $ac_status); }; } &&
79756 { ac_try='test -s conftest$ac_exeext'
79757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79758 (eval $ac_try) 2>&5
79759 ac_status=$?
79760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79761 (exit $ac_status); }; }; then
79762 eval "$as_ac_var=yes"
79763 else
79764 echo "$as_me: failed program was:" >&5
79765 sed 's/^/| /' conftest.$ac_ext >&5
79767 eval "$as_ac_var=no"
79769 rm -f conftest.err conftest.$ac_objext \
79770 conftest$ac_exeext conftest.$ac_ext
79772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79774 if test `eval echo '${'$as_ac_var'}'` = yes; then
79775 cat >>confdefs.h <<_ACEOF
79776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79777 _ACEOF
79779 else
79780 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
79782 done
79785 if test x$ac_cv_func_copysignl = x"yes"; then
79787 for ac_func in __signbitl
79789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79790 echo "$as_me:$LINENO: checking for $ac_func" >&5
79791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79792 if eval "test \"\${$as_ac_var+set}\" = set"; then
79793 echo $ECHO_N "(cached) $ECHO_C" >&6
79794 else
79795 if test x$gcc_no_link = xyes; then
79796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79798 { (exit 1); exit 1; }; }
79800 cat >conftest.$ac_ext <<_ACEOF
79801 /* confdefs.h. */
79802 _ACEOF
79803 cat confdefs.h >>conftest.$ac_ext
79804 cat >>conftest.$ac_ext <<_ACEOF
79805 /* end confdefs.h. */
79806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79808 #define $ac_func innocuous_$ac_func
79810 /* System header to define __stub macros and hopefully few prototypes,
79811 which can conflict with char $ac_func (); below.
79812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79813 <limits.h> exists even on freestanding compilers. */
79815 #ifdef __STDC__
79816 # include <limits.h>
79817 #else
79818 # include <assert.h>
79819 #endif
79821 #undef $ac_func
79823 /* Override any gcc2 internal prototype to avoid an error. */
79824 #ifdef __cplusplus
79825 extern "C"
79827 #endif
79828 /* We use char because int might match the return type of a gcc2
79829 builtin and then its argument prototype would still apply. */
79830 char $ac_func ();
79831 /* The GNU C library defines this for functions which it implements
79832 to always fail with ENOSYS. Some functions are actually named
79833 something starting with __ and the normal name is an alias. */
79834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79835 choke me
79836 #else
79837 char (*f) () = $ac_func;
79838 #endif
79839 #ifdef __cplusplus
79841 #endif
79844 main ()
79846 return f != $ac_func;
79848 return 0;
79850 _ACEOF
79851 rm -f conftest.$ac_objext conftest$ac_exeext
79852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79853 (eval $ac_link) 2>conftest.er1
79854 ac_status=$?
79855 grep -v '^ *+' conftest.er1 >conftest.err
79856 rm -f conftest.er1
79857 cat conftest.err >&5
79858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79859 (exit $ac_status); } &&
79860 { ac_try='test -z "$ac_c_werror_flag"
79861 || test ! -s conftest.err'
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); }; } &&
79867 { ac_try='test -s conftest$ac_exeext'
79868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79869 (eval $ac_try) 2>&5
79870 ac_status=$?
79871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79872 (exit $ac_status); }; }; then
79873 eval "$as_ac_var=yes"
79874 else
79875 echo "$as_me: failed program was:" >&5
79876 sed 's/^/| /' conftest.$ac_ext >&5
79878 eval "$as_ac_var=no"
79880 rm -f conftest.err conftest.$ac_objext \
79881 conftest$ac_exeext conftest.$ac_ext
79883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79885 if test `eval echo '${'$as_ac_var'}'` = yes; then
79886 cat >>confdefs.h <<_ACEOF
79887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79888 _ACEOF
79890 else
79891 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
79893 done
79897 # Used in libmath/Makefile.am.
79898 if test -n "$LIBMATHOBJS"; then
79899 need_libmath=yes
79904 # Test wchar.h for mbstate_t, which is needed for char_traits and
79905 # others even if wchar_t support is not on.
79906 echo "$as_me:$LINENO: checking for mbstate_t" >&5
79907 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
79908 cat >conftest.$ac_ext <<_ACEOF
79909 /* confdefs.h. */
79910 _ACEOF
79911 cat confdefs.h >>conftest.$ac_ext
79912 cat >>conftest.$ac_ext <<_ACEOF
79913 /* end confdefs.h. */
79914 #include <wchar.h>
79916 main ()
79918 mbstate_t teststate;
79920 return 0;
79922 _ACEOF
79923 rm -f conftest.$ac_objext
79924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79925 (eval $ac_compile) 2>conftest.er1
79926 ac_status=$?
79927 grep -v '^ *+' conftest.er1 >conftest.err
79928 rm -f conftest.er1
79929 cat conftest.err >&5
79930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79931 (exit $ac_status); } &&
79932 { ac_try='test -z "$ac_c_werror_flag"
79933 || test ! -s conftest.err'
79934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79935 (eval $ac_try) 2>&5
79936 ac_status=$?
79937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79938 (exit $ac_status); }; } &&
79939 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
79945 have_mbstate_t=yes
79946 else
79947 echo "$as_me: failed program was:" >&5
79948 sed 's/^/| /' conftest.$ac_ext >&5
79950 have_mbstate_t=no
79952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79953 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
79954 echo "${ECHO_T}$have_mbstate_t" >&6
79955 if test x"$have_mbstate_t" = xyes; then
79956 cat >>confdefs.h <<\_ACEOF
79957 #define HAVE_MBSTATE_T 1
79958 _ACEOF
79962 # Sanity check for existence of ISO C99 headers for extended encoding.
79964 for ac_header in wchar.h
79966 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79968 echo "$as_me:$LINENO: checking for $ac_header" >&5
79969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79971 echo $ECHO_N "(cached) $ECHO_C" >&6
79973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79974 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79975 else
79976 # Is the header compilable?
79977 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79978 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79979 cat >conftest.$ac_ext <<_ACEOF
79980 /* confdefs.h. */
79981 _ACEOF
79982 cat confdefs.h >>conftest.$ac_ext
79983 cat >>conftest.$ac_ext <<_ACEOF
79984 /* end confdefs.h. */
79985 $ac_includes_default
79986 #include <$ac_header>
79987 _ACEOF
79988 rm -f conftest.$ac_objext
79989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79990 (eval $ac_compile) 2>conftest.er1
79991 ac_status=$?
79992 grep -v '^ *+' conftest.er1 >conftest.err
79993 rm -f conftest.er1
79994 cat conftest.err >&5
79995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79996 (exit $ac_status); } &&
79997 { ac_try='test -z "$ac_c_werror_flag"
79998 || test ! -s conftest.err'
79999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80000 (eval $ac_try) 2>&5
80001 ac_status=$?
80002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80003 (exit $ac_status); }; } &&
80004 { ac_try='test -s conftest.$ac_objext'
80005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80006 (eval $ac_try) 2>&5
80007 ac_status=$?
80008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80009 (exit $ac_status); }; }; then
80010 ac_header_compiler=yes
80011 else
80012 echo "$as_me: failed program was:" >&5
80013 sed 's/^/| /' conftest.$ac_ext >&5
80015 ac_header_compiler=no
80017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80018 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80019 echo "${ECHO_T}$ac_header_compiler" >&6
80021 # Is the header present?
80022 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80023 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80024 cat >conftest.$ac_ext <<_ACEOF
80025 /* confdefs.h. */
80026 _ACEOF
80027 cat confdefs.h >>conftest.$ac_ext
80028 cat >>conftest.$ac_ext <<_ACEOF
80029 /* end confdefs.h. */
80030 #include <$ac_header>
80031 _ACEOF
80032 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80033 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80034 ac_status=$?
80035 grep -v '^ *+' conftest.er1 >conftest.err
80036 rm -f conftest.er1
80037 cat conftest.err >&5
80038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80039 (exit $ac_status); } >/dev/null; then
80040 if test -s conftest.err; then
80041 ac_cpp_err=$ac_c_preproc_warn_flag
80042 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80043 else
80044 ac_cpp_err=
80046 else
80047 ac_cpp_err=yes
80049 if test -z "$ac_cpp_err"; then
80050 ac_header_preproc=yes
80051 else
80052 echo "$as_me: failed program was:" >&5
80053 sed 's/^/| /' conftest.$ac_ext >&5
80055 ac_header_preproc=no
80057 rm -f conftest.err conftest.$ac_ext
80058 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80059 echo "${ECHO_T}$ac_header_preproc" >&6
80061 # So? What about this header?
80062 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80063 yes:no: )
80064 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80065 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80066 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80067 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80068 ac_header_preproc=yes
80070 no:yes:* )
80071 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80072 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80073 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80074 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80075 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80076 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80077 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80078 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80079 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80080 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80081 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80082 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80084 cat <<\_ASBOX
80085 ## ----------------------------------------- ##
80086 ## Report this to the package-unused lists. ##
80087 ## ----------------------------------------- ##
80088 _ASBOX
80090 sed "s/^/$as_me: WARNING: /" >&2
80092 esac
80093 echo "$as_me:$LINENO: checking for $ac_header" >&5
80094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80096 echo $ECHO_N "(cached) $ECHO_C" >&6
80097 else
80098 eval "$as_ac_Header=\$ac_header_preproc"
80100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80101 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80104 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80105 cat >>confdefs.h <<_ACEOF
80106 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80107 _ACEOF
80108 ac_has_wchar_h=yes
80109 else
80110 ac_has_wchar_h=no
80113 done
80116 for ac_header in wctype.h
80118 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80119 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80120 echo "$as_me:$LINENO: checking for $ac_header" >&5
80121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80123 echo $ECHO_N "(cached) $ECHO_C" >&6
80125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80126 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80127 else
80128 # Is the header compilable?
80129 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80130 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80131 cat >conftest.$ac_ext <<_ACEOF
80132 /* confdefs.h. */
80133 _ACEOF
80134 cat confdefs.h >>conftest.$ac_ext
80135 cat >>conftest.$ac_ext <<_ACEOF
80136 /* end confdefs.h. */
80137 $ac_includes_default
80138 #include <$ac_header>
80139 _ACEOF
80140 rm -f conftest.$ac_objext
80141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80142 (eval $ac_compile) 2>conftest.er1
80143 ac_status=$?
80144 grep -v '^ *+' conftest.er1 >conftest.err
80145 rm -f conftest.er1
80146 cat conftest.err >&5
80147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80148 (exit $ac_status); } &&
80149 { ac_try='test -z "$ac_c_werror_flag"
80150 || test ! -s conftest.err'
80151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80152 (eval $ac_try) 2>&5
80153 ac_status=$?
80154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80155 (exit $ac_status); }; } &&
80156 { ac_try='test -s conftest.$ac_objext'
80157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80158 (eval $ac_try) 2>&5
80159 ac_status=$?
80160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80161 (exit $ac_status); }; }; then
80162 ac_header_compiler=yes
80163 else
80164 echo "$as_me: failed program was:" >&5
80165 sed 's/^/| /' conftest.$ac_ext >&5
80167 ac_header_compiler=no
80169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80170 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80171 echo "${ECHO_T}$ac_header_compiler" >&6
80173 # Is the header present?
80174 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80175 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80176 cat >conftest.$ac_ext <<_ACEOF
80177 /* confdefs.h. */
80178 _ACEOF
80179 cat confdefs.h >>conftest.$ac_ext
80180 cat >>conftest.$ac_ext <<_ACEOF
80181 /* end confdefs.h. */
80182 #include <$ac_header>
80183 _ACEOF
80184 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80185 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80186 ac_status=$?
80187 grep -v '^ *+' conftest.er1 >conftest.err
80188 rm -f conftest.er1
80189 cat conftest.err >&5
80190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80191 (exit $ac_status); } >/dev/null; then
80192 if test -s conftest.err; then
80193 ac_cpp_err=$ac_c_preproc_warn_flag
80194 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80195 else
80196 ac_cpp_err=
80198 else
80199 ac_cpp_err=yes
80201 if test -z "$ac_cpp_err"; then
80202 ac_header_preproc=yes
80203 else
80204 echo "$as_me: failed program was:" >&5
80205 sed 's/^/| /' conftest.$ac_ext >&5
80207 ac_header_preproc=no
80209 rm -f conftest.err conftest.$ac_ext
80210 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80211 echo "${ECHO_T}$ac_header_preproc" >&6
80213 # So? What about this header?
80214 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80215 yes:no: )
80216 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80217 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80218 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80219 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80220 ac_header_preproc=yes
80222 no:yes:* )
80223 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80224 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80225 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80226 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80227 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80228 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80229 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80230 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80231 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80232 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80233 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80234 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80236 cat <<\_ASBOX
80237 ## ----------------------------------------- ##
80238 ## Report this to the package-unused lists. ##
80239 ## ----------------------------------------- ##
80240 _ASBOX
80242 sed "s/^/$as_me: WARNING: /" >&2
80244 esac
80245 echo "$as_me:$LINENO: checking for $ac_header" >&5
80246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80248 echo $ECHO_N "(cached) $ECHO_C" >&6
80249 else
80250 eval "$as_ac_Header=\$ac_header_preproc"
80252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80253 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80256 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80257 cat >>confdefs.h <<_ACEOF
80258 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80259 _ACEOF
80260 ac_has_wctype_h=yes
80261 else
80262 ac_has_wctype_h=no
80265 done
80268 # Only continue checking if the ISO C99 headers exist and support is on.
80269 if test x"$ac_has_wchar_h" = xyes &&
80270 test x"$ac_has_wctype_h" = xyes &&
80271 test x"$enable_c_mbchar" != xno; then
80273 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
80274 # numeric_limits can instantiate type_traits<wchar_t>
80275 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
80276 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
80277 cat >conftest.$ac_ext <<_ACEOF
80278 /* confdefs.h. */
80279 _ACEOF
80280 cat confdefs.h >>conftest.$ac_ext
80281 cat >>conftest.$ac_ext <<_ACEOF
80282 /* end confdefs.h. */
80283 #include <wchar.h>
80285 main ()
80287 int i = WCHAR_MIN; int j = WCHAR_MAX;
80289 return 0;
80291 _ACEOF
80292 rm -f conftest.$ac_objext
80293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80294 (eval $ac_compile) 2>conftest.er1
80295 ac_status=$?
80296 grep -v '^ *+' conftest.er1 >conftest.err
80297 rm -f conftest.er1
80298 cat conftest.err >&5
80299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80300 (exit $ac_status); } &&
80301 { ac_try='test -z "$ac_c_werror_flag"
80302 || test ! -s conftest.err'
80303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80304 (eval $ac_try) 2>&5
80305 ac_status=$?
80306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80307 (exit $ac_status); }; } &&
80308 { ac_try='test -s conftest.$ac_objext'
80309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80310 (eval $ac_try) 2>&5
80311 ac_status=$?
80312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80313 (exit $ac_status); }; }; then
80314 has_wchar_minmax=yes
80315 else
80316 echo "$as_me: failed program was:" >&5
80317 sed 's/^/| /' conftest.$ac_ext >&5
80319 has_wchar_minmax=no
80321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80322 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
80323 echo "${ECHO_T}$has_wchar_minmax" >&6
80325 # Test wchar.h for WEOF, which is what we use to determine whether
80326 # to specialize for char_traits<wchar_t> or not.
80327 echo "$as_me:$LINENO: checking for WEOF" >&5
80328 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
80329 cat >conftest.$ac_ext <<_ACEOF
80330 /* confdefs.h. */
80331 _ACEOF
80332 cat confdefs.h >>conftest.$ac_ext
80333 cat >>conftest.$ac_ext <<_ACEOF
80334 /* end confdefs.h. */
80336 #include <wchar.h>
80337 #include <stddef.h>
80339 main ()
80341 wint_t i = WEOF;
80343 return 0;
80345 _ACEOF
80346 rm -f conftest.$ac_objext
80347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80348 (eval $ac_compile) 2>conftest.er1
80349 ac_status=$?
80350 grep -v '^ *+' conftest.er1 >conftest.err
80351 rm -f conftest.er1
80352 cat conftest.err >&5
80353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80354 (exit $ac_status); } &&
80355 { ac_try='test -z "$ac_c_werror_flag"
80356 || test ! -s conftest.err'
80357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80358 (eval $ac_try) 2>&5
80359 ac_status=$?
80360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80361 (exit $ac_status); }; } &&
80362 { ac_try='test -s conftest.$ac_objext'
80363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80364 (eval $ac_try) 2>&5
80365 ac_status=$?
80366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80367 (exit $ac_status); }; }; then
80368 has_weof=yes
80369 else
80370 echo "$as_me: failed program was:" >&5
80371 sed 's/^/| /' conftest.$ac_ext >&5
80373 has_weof=no
80375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80376 echo "$as_me:$LINENO: result: $has_weof" >&5
80377 echo "${ECHO_T}$has_weof" >&6
80379 # Tests for wide character functions used in char_traits<wchar_t>.
80380 ac_wfuncs=yes
80387 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
80389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80390 echo "$as_me:$LINENO: checking for $ac_func" >&5
80391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80392 if eval "test \"\${$as_ac_var+set}\" = set"; then
80393 echo $ECHO_N "(cached) $ECHO_C" >&6
80394 else
80395 if test x$gcc_no_link = xyes; then
80396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80398 { (exit 1); exit 1; }; }
80400 cat >conftest.$ac_ext <<_ACEOF
80401 /* confdefs.h. */
80402 _ACEOF
80403 cat confdefs.h >>conftest.$ac_ext
80404 cat >>conftest.$ac_ext <<_ACEOF
80405 /* end confdefs.h. */
80406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80408 #define $ac_func innocuous_$ac_func
80410 /* System header to define __stub macros and hopefully few prototypes,
80411 which can conflict with char $ac_func (); below.
80412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80413 <limits.h> exists even on freestanding compilers. */
80415 #ifdef __STDC__
80416 # include <limits.h>
80417 #else
80418 # include <assert.h>
80419 #endif
80421 #undef $ac_func
80423 /* Override any gcc2 internal prototype to avoid an error. */
80424 #ifdef __cplusplus
80425 extern "C"
80427 #endif
80428 /* We use char because int might match the return type of a gcc2
80429 builtin and then its argument prototype would still apply. */
80430 char $ac_func ();
80431 /* The GNU C library defines this for functions which it implements
80432 to always fail with ENOSYS. Some functions are actually named
80433 something starting with __ and the normal name is an alias. */
80434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80435 choke me
80436 #else
80437 char (*f) () = $ac_func;
80438 #endif
80439 #ifdef __cplusplus
80441 #endif
80444 main ()
80446 return f != $ac_func;
80448 return 0;
80450 _ACEOF
80451 rm -f conftest.$ac_objext conftest$ac_exeext
80452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80453 (eval $ac_link) 2>conftest.er1
80454 ac_status=$?
80455 grep -v '^ *+' conftest.er1 >conftest.err
80456 rm -f conftest.er1
80457 cat conftest.err >&5
80458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80459 (exit $ac_status); } &&
80460 { ac_try='test -z "$ac_c_werror_flag"
80461 || test ! -s conftest.err'
80462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80463 (eval $ac_try) 2>&5
80464 ac_status=$?
80465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80466 (exit $ac_status); }; } &&
80467 { ac_try='test -s conftest$ac_exeext'
80468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80469 (eval $ac_try) 2>&5
80470 ac_status=$?
80471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80472 (exit $ac_status); }; }; then
80473 eval "$as_ac_var=yes"
80474 else
80475 echo "$as_me: failed program was:" >&5
80476 sed 's/^/| /' conftest.$ac_ext >&5
80478 eval "$as_ac_var=no"
80480 rm -f conftest.err conftest.$ac_objext \
80481 conftest$ac_exeext conftest.$ac_ext
80483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80485 if test `eval echo '${'$as_ac_var'}'` = yes; then
80486 cat >>confdefs.h <<_ACEOF
80487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80488 _ACEOF
80490 else
80491 ac_wfuncs=no
80493 done
80496 # Checks for names injected into std:: by the c_std headers.
80543 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
80544 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
80545 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
80546 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
80547 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
80548 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
80550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80551 echo "$as_me:$LINENO: checking for $ac_func" >&5
80552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80553 if eval "test \"\${$as_ac_var+set}\" = set"; then
80554 echo $ECHO_N "(cached) $ECHO_C" >&6
80555 else
80556 if test x$gcc_no_link = xyes; then
80557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80559 { (exit 1); exit 1; }; }
80561 cat >conftest.$ac_ext <<_ACEOF
80562 /* confdefs.h. */
80563 _ACEOF
80564 cat confdefs.h >>conftest.$ac_ext
80565 cat >>conftest.$ac_ext <<_ACEOF
80566 /* end confdefs.h. */
80567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80569 #define $ac_func innocuous_$ac_func
80571 /* System header to define __stub macros and hopefully few prototypes,
80572 which can conflict with char $ac_func (); below.
80573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80574 <limits.h> exists even on freestanding compilers. */
80576 #ifdef __STDC__
80577 # include <limits.h>
80578 #else
80579 # include <assert.h>
80580 #endif
80582 #undef $ac_func
80584 /* Override any gcc2 internal prototype to avoid an error. */
80585 #ifdef __cplusplus
80586 extern "C"
80588 #endif
80589 /* We use char because int might match the return type of a gcc2
80590 builtin and then its argument prototype would still apply. */
80591 char $ac_func ();
80592 /* The GNU C library defines this for functions which it implements
80593 to always fail with ENOSYS. Some functions are actually named
80594 something starting with __ and the normal name is an alias. */
80595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80596 choke me
80597 #else
80598 char (*f) () = $ac_func;
80599 #endif
80600 #ifdef __cplusplus
80602 #endif
80605 main ()
80607 return f != $ac_func;
80609 return 0;
80611 _ACEOF
80612 rm -f conftest.$ac_objext conftest$ac_exeext
80613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80614 (eval $ac_link) 2>conftest.er1
80615 ac_status=$?
80616 grep -v '^ *+' conftest.er1 >conftest.err
80617 rm -f conftest.er1
80618 cat conftest.err >&5
80619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80620 (exit $ac_status); } &&
80621 { ac_try='test -z "$ac_c_werror_flag"
80622 || test ! -s conftest.err'
80623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80624 (eval $ac_try) 2>&5
80625 ac_status=$?
80626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80627 (exit $ac_status); }; } &&
80628 { ac_try='test -s conftest$ac_exeext'
80629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80630 (eval $ac_try) 2>&5
80631 ac_status=$?
80632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80633 (exit $ac_status); }; }; then
80634 eval "$as_ac_var=yes"
80635 else
80636 echo "$as_me: failed program was:" >&5
80637 sed 's/^/| /' conftest.$ac_ext >&5
80639 eval "$as_ac_var=no"
80641 rm -f conftest.err conftest.$ac_objext \
80642 conftest$ac_exeext conftest.$ac_ext
80644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80646 if test `eval echo '${'$as_ac_var'}'` = yes; then
80647 cat >>confdefs.h <<_ACEOF
80648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80649 _ACEOF
80651 else
80652 ac_wfuncs=no
80654 done
80657 # Checks for wide character functions that are not required
80658 # for basic wchar_t support. Don't disable support if they are missing.
80659 # Injection of these is wrapped with guard macros.
80665 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
80667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80668 echo "$as_me:$LINENO: checking for $ac_func" >&5
80669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80670 if eval "test \"\${$as_ac_var+set}\" = set"; then
80671 echo $ECHO_N "(cached) $ECHO_C" >&6
80672 else
80673 if test x$gcc_no_link = xyes; then
80674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80676 { (exit 1); exit 1; }; }
80678 cat >conftest.$ac_ext <<_ACEOF
80679 /* confdefs.h. */
80680 _ACEOF
80681 cat confdefs.h >>conftest.$ac_ext
80682 cat >>conftest.$ac_ext <<_ACEOF
80683 /* end confdefs.h. */
80684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80686 #define $ac_func innocuous_$ac_func
80688 /* System header to define __stub macros and hopefully few prototypes,
80689 which can conflict with char $ac_func (); below.
80690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80691 <limits.h> exists even on freestanding compilers. */
80693 #ifdef __STDC__
80694 # include <limits.h>
80695 #else
80696 # include <assert.h>
80697 #endif
80699 #undef $ac_func
80701 /* Override any gcc2 internal prototype to avoid an error. */
80702 #ifdef __cplusplus
80703 extern "C"
80705 #endif
80706 /* We use char because int might match the return type of a gcc2
80707 builtin and then its argument prototype would still apply. */
80708 char $ac_func ();
80709 /* The GNU C library defines this for functions which it implements
80710 to always fail with ENOSYS. Some functions are actually named
80711 something starting with __ and the normal name is an alias. */
80712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80713 choke me
80714 #else
80715 char (*f) () = $ac_func;
80716 #endif
80717 #ifdef __cplusplus
80719 #endif
80722 main ()
80724 return f != $ac_func;
80726 return 0;
80728 _ACEOF
80729 rm -f conftest.$ac_objext conftest$ac_exeext
80730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80731 (eval $ac_link) 2>conftest.er1
80732 ac_status=$?
80733 grep -v '^ *+' conftest.er1 >conftest.err
80734 rm -f conftest.er1
80735 cat conftest.err >&5
80736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80737 (exit $ac_status); } &&
80738 { ac_try='test -z "$ac_c_werror_flag"
80739 || test ! -s conftest.err'
80740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80741 (eval $ac_try) 2>&5
80742 ac_status=$?
80743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80744 (exit $ac_status); }; } &&
80745 { ac_try='test -s conftest$ac_exeext'
80746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80747 (eval $ac_try) 2>&5
80748 ac_status=$?
80749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80750 (exit $ac_status); }; }; then
80751 eval "$as_ac_var=yes"
80752 else
80753 echo "$as_me: failed program was:" >&5
80754 sed 's/^/| /' conftest.$ac_ext >&5
80756 eval "$as_ac_var=no"
80758 rm -f conftest.err conftest.$ac_objext \
80759 conftest$ac_exeext conftest.$ac_ext
80761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80763 if test `eval echo '${'$as_ac_var'}'` = yes; then
80764 cat >>confdefs.h <<_ACEOF
80765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80766 _ACEOF
80769 done
80772 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
80773 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
80774 if test x"$has_weof" = xyes &&
80775 test x"$has_wchar_minmax" = xyes &&
80776 test x"$ac_wfuncs" = xyes;
80777 then
80778 ac_isoC99_wchar_t=yes
80779 else
80780 ac_isoC99_wchar_t=no
80782 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
80783 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
80785 # Use iconv for wchar_t to char conversions. As such, check for
80786 # X/Open Portability Guide, version 2 features (XPG2).
80787 if test "${ac_cv_header_iconv_h+set}" = set; then
80788 echo "$as_me:$LINENO: checking for iconv.h" >&5
80789 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
80790 if test "${ac_cv_header_iconv_h+set}" = set; then
80791 echo $ECHO_N "(cached) $ECHO_C" >&6
80793 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
80794 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
80795 else
80796 # Is the header compilable?
80797 echo "$as_me:$LINENO: checking iconv.h usability" >&5
80798 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
80799 cat >conftest.$ac_ext <<_ACEOF
80800 /* confdefs.h. */
80801 _ACEOF
80802 cat confdefs.h >>conftest.$ac_ext
80803 cat >>conftest.$ac_ext <<_ACEOF
80804 /* end confdefs.h. */
80805 $ac_includes_default
80806 #include <iconv.h>
80807 _ACEOF
80808 rm -f conftest.$ac_objext
80809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80810 (eval $ac_compile) 2>conftest.er1
80811 ac_status=$?
80812 grep -v '^ *+' conftest.er1 >conftest.err
80813 rm -f conftest.er1
80814 cat conftest.err >&5
80815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80816 (exit $ac_status); } &&
80817 { ac_try='test -z "$ac_c_werror_flag"
80818 || test ! -s conftest.err'
80819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80820 (eval $ac_try) 2>&5
80821 ac_status=$?
80822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80823 (exit $ac_status); }; } &&
80824 { ac_try='test -s conftest.$ac_objext'
80825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80826 (eval $ac_try) 2>&5
80827 ac_status=$?
80828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80829 (exit $ac_status); }; }; then
80830 ac_header_compiler=yes
80831 else
80832 echo "$as_me: failed program was:" >&5
80833 sed 's/^/| /' conftest.$ac_ext >&5
80835 ac_header_compiler=no
80837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80838 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80839 echo "${ECHO_T}$ac_header_compiler" >&6
80841 # Is the header present?
80842 echo "$as_me:$LINENO: checking iconv.h presence" >&5
80843 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
80844 cat >conftest.$ac_ext <<_ACEOF
80845 /* confdefs.h. */
80846 _ACEOF
80847 cat confdefs.h >>conftest.$ac_ext
80848 cat >>conftest.$ac_ext <<_ACEOF
80849 /* end confdefs.h. */
80850 #include <iconv.h>
80851 _ACEOF
80852 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80853 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80854 ac_status=$?
80855 grep -v '^ *+' conftest.er1 >conftest.err
80856 rm -f conftest.er1
80857 cat conftest.err >&5
80858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80859 (exit $ac_status); } >/dev/null; then
80860 if test -s conftest.err; then
80861 ac_cpp_err=$ac_c_preproc_warn_flag
80862 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80863 else
80864 ac_cpp_err=
80866 else
80867 ac_cpp_err=yes
80869 if test -z "$ac_cpp_err"; then
80870 ac_header_preproc=yes
80871 else
80872 echo "$as_me: failed program was:" >&5
80873 sed 's/^/| /' conftest.$ac_ext >&5
80875 ac_header_preproc=no
80877 rm -f conftest.err conftest.$ac_ext
80878 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80879 echo "${ECHO_T}$ac_header_preproc" >&6
80881 # So? What about this header?
80882 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80883 yes:no: )
80884 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
80885 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
80886 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
80887 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
80888 ac_header_preproc=yes
80890 no:yes:* )
80891 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
80892 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
80893 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
80894 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
80895 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
80896 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
80897 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
80898 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
80899 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
80900 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
80901 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
80902 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
80904 cat <<\_ASBOX
80905 ## ----------------------------------------- ##
80906 ## Report this to the package-unused lists. ##
80907 ## ----------------------------------------- ##
80908 _ASBOX
80910 sed "s/^/$as_me: WARNING: /" >&2
80912 esac
80913 echo "$as_me:$LINENO: checking for iconv.h" >&5
80914 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
80915 if test "${ac_cv_header_iconv_h+set}" = set; then
80916 echo $ECHO_N "(cached) $ECHO_C" >&6
80917 else
80918 ac_cv_header_iconv_h=$ac_header_preproc
80920 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
80921 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
80924 if test $ac_cv_header_iconv_h = yes; then
80925 ac_has_iconv_h=yes
80926 else
80927 ac_has_iconv_h=no
80931 if test "${ac_cv_header_langinfo_h+set}" = set; then
80932 echo "$as_me:$LINENO: checking for langinfo.h" >&5
80933 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
80934 if test "${ac_cv_header_langinfo_h+set}" = set; then
80935 echo $ECHO_N "(cached) $ECHO_C" >&6
80937 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
80938 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
80939 else
80940 # Is the header compilable?
80941 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
80942 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
80943 cat >conftest.$ac_ext <<_ACEOF
80944 /* confdefs.h. */
80945 _ACEOF
80946 cat confdefs.h >>conftest.$ac_ext
80947 cat >>conftest.$ac_ext <<_ACEOF
80948 /* end confdefs.h. */
80949 $ac_includes_default
80950 #include <langinfo.h>
80951 _ACEOF
80952 rm -f conftest.$ac_objext
80953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80954 (eval $ac_compile) 2>conftest.er1
80955 ac_status=$?
80956 grep -v '^ *+' conftest.er1 >conftest.err
80957 rm -f conftest.er1
80958 cat conftest.err >&5
80959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80960 (exit $ac_status); } &&
80961 { ac_try='test -z "$ac_c_werror_flag"
80962 || test ! -s conftest.err'
80963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80964 (eval $ac_try) 2>&5
80965 ac_status=$?
80966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80967 (exit $ac_status); }; } &&
80968 { ac_try='test -s conftest.$ac_objext'
80969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80970 (eval $ac_try) 2>&5
80971 ac_status=$?
80972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80973 (exit $ac_status); }; }; then
80974 ac_header_compiler=yes
80975 else
80976 echo "$as_me: failed program was:" >&5
80977 sed 's/^/| /' conftest.$ac_ext >&5
80979 ac_header_compiler=no
80981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80982 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80983 echo "${ECHO_T}$ac_header_compiler" >&6
80985 # Is the header present?
80986 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
80987 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
80988 cat >conftest.$ac_ext <<_ACEOF
80989 /* confdefs.h. */
80990 _ACEOF
80991 cat confdefs.h >>conftest.$ac_ext
80992 cat >>conftest.$ac_ext <<_ACEOF
80993 /* end confdefs.h. */
80994 #include <langinfo.h>
80995 _ACEOF
80996 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80997 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80998 ac_status=$?
80999 grep -v '^ *+' conftest.er1 >conftest.err
81000 rm -f conftest.er1
81001 cat conftest.err >&5
81002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81003 (exit $ac_status); } >/dev/null; then
81004 if test -s conftest.err; then
81005 ac_cpp_err=$ac_c_preproc_warn_flag
81006 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81007 else
81008 ac_cpp_err=
81010 else
81011 ac_cpp_err=yes
81013 if test -z "$ac_cpp_err"; then
81014 ac_header_preproc=yes
81015 else
81016 echo "$as_me: failed program was:" >&5
81017 sed 's/^/| /' conftest.$ac_ext >&5
81019 ac_header_preproc=no
81021 rm -f conftest.err conftest.$ac_ext
81022 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81023 echo "${ECHO_T}$ac_header_preproc" >&6
81025 # So? What about this header?
81026 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81027 yes:no: )
81028 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81029 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81030 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81031 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81032 ac_header_preproc=yes
81034 no:yes:* )
81035 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81036 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81037 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
81038 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
81039 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81040 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81041 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
81042 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
81043 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81044 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81045 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81046 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81048 cat <<\_ASBOX
81049 ## ----------------------------------------- ##
81050 ## Report this to the package-unused lists. ##
81051 ## ----------------------------------------- ##
81052 _ASBOX
81054 sed "s/^/$as_me: WARNING: /" >&2
81056 esac
81057 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81058 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81059 if test "${ac_cv_header_langinfo_h+set}" = set; then
81060 echo $ECHO_N "(cached) $ECHO_C" >&6
81061 else
81062 ac_cv_header_langinfo_h=$ac_header_preproc
81064 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81065 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81068 if test $ac_cv_header_langinfo_h = yes; then
81069 ac_has_langinfo_h=yes
81070 else
81071 ac_has_langinfo_h=no
81076 # Check for existence of libiconv.a providing XPG2 wchar_t support.
81077 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81078 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81079 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81080 echo $ECHO_N "(cached) $ECHO_C" >&6
81081 else
81082 ac_check_lib_save_LIBS=$LIBS
81083 LIBS="-liconv $LIBS"
81084 if test x$gcc_no_link = xyes; then
81085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81087 { (exit 1); exit 1; }; }
81089 cat >conftest.$ac_ext <<_ACEOF
81090 /* confdefs.h. */
81091 _ACEOF
81092 cat confdefs.h >>conftest.$ac_ext
81093 cat >>conftest.$ac_ext <<_ACEOF
81094 /* end confdefs.h. */
81096 /* Override any gcc2 internal prototype to avoid an error. */
81097 #ifdef __cplusplus
81098 extern "C"
81099 #endif
81100 /* We use char because int might match the return type of a gcc2
81101 builtin and then its argument prototype would still apply. */
81102 char iconv ();
81104 main ()
81106 iconv ();
81108 return 0;
81110 _ACEOF
81111 rm -f conftest.$ac_objext conftest$ac_exeext
81112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81113 (eval $ac_link) 2>conftest.er1
81114 ac_status=$?
81115 grep -v '^ *+' conftest.er1 >conftest.err
81116 rm -f conftest.er1
81117 cat conftest.err >&5
81118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81119 (exit $ac_status); } &&
81120 { ac_try='test -z "$ac_c_werror_flag"
81121 || test ! -s conftest.err'
81122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81123 (eval $ac_try) 2>&5
81124 ac_status=$?
81125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81126 (exit $ac_status); }; } &&
81127 { ac_try='test -s conftest$ac_exeext'
81128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81129 (eval $ac_try) 2>&5
81130 ac_status=$?
81131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81132 (exit $ac_status); }; }; then
81133 ac_cv_lib_iconv_iconv=yes
81134 else
81135 echo "$as_me: failed program was:" >&5
81136 sed 's/^/| /' conftest.$ac_ext >&5
81138 ac_cv_lib_iconv_iconv=no
81140 rm -f conftest.err conftest.$ac_objext \
81141 conftest$ac_exeext conftest.$ac_ext
81142 LIBS=$ac_check_lib_save_LIBS
81144 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81145 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81146 if test $ac_cv_lib_iconv_iconv = yes; then
81147 LIBICONV="-liconv"
81150 ac_save_LIBS="$LIBS"
81151 LIBS="$LIBS $LIBICONV"
81158 for ac_func in iconv_open iconv_close iconv nl_langinfo
81160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81161 echo "$as_me:$LINENO: checking for $ac_func" >&5
81162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81163 if eval "test \"\${$as_ac_var+set}\" = set"; then
81164 echo $ECHO_N "(cached) $ECHO_C" >&6
81165 else
81166 if test x$gcc_no_link = xyes; then
81167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81169 { (exit 1); exit 1; }; }
81171 cat >conftest.$ac_ext <<_ACEOF
81172 /* confdefs.h. */
81173 _ACEOF
81174 cat confdefs.h >>conftest.$ac_ext
81175 cat >>conftest.$ac_ext <<_ACEOF
81176 /* end confdefs.h. */
81177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81179 #define $ac_func innocuous_$ac_func
81181 /* System header to define __stub macros and hopefully few prototypes,
81182 which can conflict with char $ac_func (); below.
81183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81184 <limits.h> exists even on freestanding compilers. */
81186 #ifdef __STDC__
81187 # include <limits.h>
81188 #else
81189 # include <assert.h>
81190 #endif
81192 #undef $ac_func
81194 /* Override any gcc2 internal prototype to avoid an error. */
81195 #ifdef __cplusplus
81196 extern "C"
81198 #endif
81199 /* We use char because int might match the return type of a gcc2
81200 builtin and then its argument prototype would still apply. */
81201 char $ac_func ();
81202 /* The GNU C library defines this for functions which it implements
81203 to always fail with ENOSYS. Some functions are actually named
81204 something starting with __ and the normal name is an alias. */
81205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81206 choke me
81207 #else
81208 char (*f) () = $ac_func;
81209 #endif
81210 #ifdef __cplusplus
81212 #endif
81215 main ()
81217 return f != $ac_func;
81219 return 0;
81221 _ACEOF
81222 rm -f conftest.$ac_objext conftest$ac_exeext
81223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81224 (eval $ac_link) 2>conftest.er1
81225 ac_status=$?
81226 grep -v '^ *+' conftest.er1 >conftest.err
81227 rm -f conftest.er1
81228 cat conftest.err >&5
81229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81230 (exit $ac_status); } &&
81231 { ac_try='test -z "$ac_c_werror_flag"
81232 || test ! -s conftest.err'
81233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81234 (eval $ac_try) 2>&5
81235 ac_status=$?
81236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81237 (exit $ac_status); }; } &&
81238 { ac_try='test -s conftest$ac_exeext'
81239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81240 (eval $ac_try) 2>&5
81241 ac_status=$?
81242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81243 (exit $ac_status); }; }; then
81244 eval "$as_ac_var=yes"
81245 else
81246 echo "$as_me: failed program was:" >&5
81247 sed 's/^/| /' conftest.$ac_ext >&5
81249 eval "$as_ac_var=no"
81251 rm -f conftest.err conftest.$ac_objext \
81252 conftest$ac_exeext conftest.$ac_ext
81254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81256 if test `eval echo '${'$as_ac_var'}'` = yes; then
81257 cat >>confdefs.h <<_ACEOF
81258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81259 _ACEOF
81260 ac_XPG2funcs=yes
81261 else
81262 ac_XPG2funcs=no
81264 done
81267 LIBS="$ac_save_LIBS"
81269 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
81270 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
81271 if test x"$ac_has_iconv_h" = xyes &&
81272 test x"$ac_has_langinfo_h" = xyes &&
81273 test x"$ac_XPG2funcs" = xyes;
81274 then
81275 ac_XPG2_wchar_t=yes
81276 else
81277 ac_XPG2_wchar_t=no
81279 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
81280 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
81282 # At the moment, only enable wchar_t specializations if all the
81283 # above support is present.
81284 if test x"$ac_isoC99_wchar_t" = xyes &&
81285 test x"$ac_XPG2_wchar_t" = xyes;
81286 then
81287 cat >>confdefs.h <<\_ACEOF
81288 #define _GLIBCXX_USE_WCHAR_T 1
81289 _ACEOF
81291 enable_wchar_t=yes
81294 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
81295 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
81296 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
81297 echo "${ECHO_T}$enable_wchar_t" >&6
81299 cat >>confdefs.h <<\_ACEOF
81300 #define HAVE_COPYSIGN 1
81301 _ACEOF
81303 cat >>confdefs.h <<\_ACEOF
81304 #define HAVE_COPYSIGNF 1
81305 _ACEOF
81307 cat >>confdefs.h <<\_ACEOF
81308 #define HAVE_FREXPF 1
81309 _ACEOF
81311 cat >>confdefs.h <<\_ACEOF
81312 #define HAVE_HYPOT 1
81313 _ACEOF
81315 case "$target" in
81316 *-hpux10*)
81317 cat >>confdefs.h <<\_ACEOF
81318 #define HAVE_FINITE 1
81319 _ACEOF
81321 cat >>confdefs.h <<\_ACEOF
81322 #define HAVE_FINITEF 1
81323 _ACEOF
81325 cat >>confdefs.h <<\_ACEOF
81326 #define HAVE_ISINF 1
81327 _ACEOF
81329 cat >>confdefs.h <<\_ACEOF
81330 #define HAVE_ISINFF 1
81331 _ACEOF
81333 cat >>confdefs.h <<\_ACEOF
81334 #define HAVE_ISNAN 1
81335 _ACEOF
81337 cat >>confdefs.h <<\_ACEOF
81338 #define HAVE_ISNANF 1
81339 _ACEOF
81342 esac
81344 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
81360 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
81361 machine/endian.h machine/param.h sys/machine.h sys/types.h \
81362 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
81364 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81366 echo "$as_me:$LINENO: checking for $ac_header" >&5
81367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81369 echo $ECHO_N "(cached) $ECHO_C" >&6
81371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81372 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81373 else
81374 # Is the header compilable?
81375 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81376 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81377 cat >conftest.$ac_ext <<_ACEOF
81378 /* confdefs.h. */
81379 _ACEOF
81380 cat confdefs.h >>conftest.$ac_ext
81381 cat >>conftest.$ac_ext <<_ACEOF
81382 /* end confdefs.h. */
81383 $ac_includes_default
81384 #include <$ac_header>
81385 _ACEOF
81386 rm -f conftest.$ac_objext
81387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81388 (eval $ac_compile) 2>conftest.er1
81389 ac_status=$?
81390 grep -v '^ *+' conftest.er1 >conftest.err
81391 rm -f conftest.er1
81392 cat conftest.err >&5
81393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81394 (exit $ac_status); } &&
81395 { ac_try='test -z "$ac_c_werror_flag"
81396 || test ! -s conftest.err'
81397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81398 (eval $ac_try) 2>&5
81399 ac_status=$?
81400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81401 (exit $ac_status); }; } &&
81402 { ac_try='test -s conftest.$ac_objext'
81403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81404 (eval $ac_try) 2>&5
81405 ac_status=$?
81406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81407 (exit $ac_status); }; }; then
81408 ac_header_compiler=yes
81409 else
81410 echo "$as_me: failed program was:" >&5
81411 sed 's/^/| /' conftest.$ac_ext >&5
81413 ac_header_compiler=no
81415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81416 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81417 echo "${ECHO_T}$ac_header_compiler" >&6
81419 # Is the header present?
81420 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81421 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81422 cat >conftest.$ac_ext <<_ACEOF
81423 /* confdefs.h. */
81424 _ACEOF
81425 cat confdefs.h >>conftest.$ac_ext
81426 cat >>conftest.$ac_ext <<_ACEOF
81427 /* end confdefs.h. */
81428 #include <$ac_header>
81429 _ACEOF
81430 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81431 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81432 ac_status=$?
81433 grep -v '^ *+' conftest.er1 >conftest.err
81434 rm -f conftest.er1
81435 cat conftest.err >&5
81436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81437 (exit $ac_status); } >/dev/null; then
81438 if test -s conftest.err; then
81439 ac_cpp_err=$ac_c_preproc_warn_flag
81440 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81441 else
81442 ac_cpp_err=
81444 else
81445 ac_cpp_err=yes
81447 if test -z "$ac_cpp_err"; then
81448 ac_header_preproc=yes
81449 else
81450 echo "$as_me: failed program was:" >&5
81451 sed 's/^/| /' conftest.$ac_ext >&5
81453 ac_header_preproc=no
81455 rm -f conftest.err conftest.$ac_ext
81456 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81457 echo "${ECHO_T}$ac_header_preproc" >&6
81459 # So? What about this header?
81460 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81461 yes:no: )
81462 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81463 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81464 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81465 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81466 ac_header_preproc=yes
81468 no:yes:* )
81469 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81470 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81471 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
81472 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
81473 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81474 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81475 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
81476 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
81477 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81478 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81479 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81480 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81482 cat <<\_ASBOX
81483 ## ----------------------------------------- ##
81484 ## Report this to the package-unused lists. ##
81485 ## ----------------------------------------- ##
81486 _ASBOX
81488 sed "s/^/$as_me: WARNING: /" >&2
81490 esac
81491 echo "$as_me:$LINENO: checking for $ac_header" >&5
81492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81493 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81494 echo $ECHO_N "(cached) $ECHO_C" >&6
81495 else
81496 eval "$as_ac_Header=\$ac_header_preproc"
81498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81499 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81502 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81503 cat >>confdefs.h <<_ACEOF
81504 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81505 _ACEOF
81509 done
81511 SECTION_FLAGS='-ffunction-sections -fdata-sections'
81514 # If we're not using GNU ld, then there's no point in even trying these
81515 # tests. Check for that first. We should have already tested for gld
81516 # by now (in libtool), but require it now just to be safe...
81517 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
81518 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
81522 # The name set by libtool depends on the version of libtool. Shame on us
81523 # for depending on an impl detail, but c'est la vie. Older versions used
81524 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
81525 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
81526 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
81527 # set (hence we're using an older libtool), then set it.
81528 if test x${with_gnu_ld+set} != xset; then
81529 if test x${ac_cv_prog_gnu_ld+set} != xset; then
81530 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
81531 with_gnu_ld=no
81532 else
81533 with_gnu_ld=$ac_cv_prog_gnu_ld
81537 # Start by getting the version number. I think the libtool test already
81538 # does some of this, but throws away the result.
81540 ldver=`$LD --version 2>/dev/null | head -1 | \
81541 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
81543 glibcxx_gnu_ld_version=`echo $ldver | \
81544 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
81546 # Set --gc-sections.
81547 if test "$with_gnu_ld" = "notbroken"; then
81548 # GNU ld it is! Joy and bunny rabbits!
81550 # All these tests are for C++; save the language and the compiler flags.
81551 # Need to do this so that g++ won't try to link in libstdc++
81552 ac_test_CFLAGS="${CFLAGS+set}"
81553 ac_save_CFLAGS="$CFLAGS"
81554 CFLAGS='-x c++ -Wl,--gc-sections'
81556 # Check for -Wl,--gc-sections
81557 # XXX This test is broken at the moment, as symbols required for linking
81558 # are now in libsupc++ (not built yet). In addition, this test has
81559 # cored on solaris in the past. In addition, --gc-sections doesn't
81560 # really work at the moment (keeps on discarding used sections, first
81561 # .eh_frame and now some of the glibc sections for iconv).
81562 # Bzzzzt. Thanks for playing, maybe next time.
81563 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
81564 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
81565 if test "$cross_compiling" = yes; then
81566 ac_sectionLDflags=yes
81567 else
81568 cat >conftest.$ac_ext <<_ACEOF
81569 /* confdefs.h. */
81570 _ACEOF
81571 cat confdefs.h >>conftest.$ac_ext
81572 cat >>conftest.$ac_ext <<_ACEOF
81573 /* end confdefs.h. */
81575 int main(void)
81577 try { throw 1; }
81578 catch (...) { };
81579 return 0;
81582 _ACEOF
81583 rm -f conftest$ac_exeext
81584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81585 (eval $ac_link) 2>&5
81586 ac_status=$?
81587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81588 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
81589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81590 (eval $ac_try) 2>&5
81591 ac_status=$?
81592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81593 (exit $ac_status); }; }; then
81594 ac_sectionLDflags=yes
81595 else
81596 echo "$as_me: program exited with status $ac_status" >&5
81597 echo "$as_me: failed program was:" >&5
81598 sed 's/^/| /' conftest.$ac_ext >&5
81600 ( exit $ac_status )
81601 ac_sectionLDflags=no
81603 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
81605 if test "$ac_test_CFLAGS" = set; then
81606 CFLAGS="$ac_save_CFLAGS"
81607 else
81608 # this is the suspicious part
81609 CFLAGS=''
81611 if test "$ac_sectionLDflags" = "yes"; then
81612 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
81614 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
81615 echo "${ECHO_T}$ac_sectionLDflags" >&6
81618 # Set linker optimization flags.
81619 if test x"$with_gnu_ld" = x"yes"; then
81620 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
81628 echo "$as_me:$LINENO: checking for main in -lm" >&5
81629 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
81630 if test "${ac_cv_lib_m_main+set}" = set; then
81631 echo $ECHO_N "(cached) $ECHO_C" >&6
81632 else
81633 ac_check_lib_save_LIBS=$LIBS
81634 LIBS="-lm $LIBS"
81635 if test x$gcc_no_link = xyes; then
81636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81638 { (exit 1); exit 1; }; }
81640 cat >conftest.$ac_ext <<_ACEOF
81641 /* confdefs.h. */
81642 _ACEOF
81643 cat confdefs.h >>conftest.$ac_ext
81644 cat >>conftest.$ac_ext <<_ACEOF
81645 /* end confdefs.h. */
81649 main ()
81651 main ();
81653 return 0;
81655 _ACEOF
81656 rm -f conftest.$ac_objext conftest$ac_exeext
81657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81658 (eval $ac_link) 2>conftest.er1
81659 ac_status=$?
81660 grep -v '^ *+' conftest.er1 >conftest.err
81661 rm -f conftest.er1
81662 cat conftest.err >&5
81663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81664 (exit $ac_status); } &&
81665 { ac_try='test -z "$ac_c_werror_flag"
81666 || test ! -s conftest.err'
81667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81668 (eval $ac_try) 2>&5
81669 ac_status=$?
81670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81671 (exit $ac_status); }; } &&
81672 { ac_try='test -s conftest$ac_exeext'
81673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81674 (eval $ac_try) 2>&5
81675 ac_status=$?
81676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81677 (exit $ac_status); }; }; then
81678 ac_cv_lib_m_main=yes
81679 else
81680 echo "$as_me: failed program was:" >&5
81681 sed 's/^/| /' conftest.$ac_ext >&5
81683 ac_cv_lib_m_main=no
81685 rm -f conftest.err conftest.$ac_objext \
81686 conftest$ac_exeext conftest.$ac_ext
81687 LIBS=$ac_check_lib_save_LIBS
81689 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
81690 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
81691 if test $ac_cv_lib_m_main = yes; then
81692 cat >>confdefs.h <<_ACEOF
81693 #define HAVE_LIBM 1
81694 _ACEOF
81696 LIBS="-lm $LIBS"
81701 for ac_func in copysignf
81703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81704 echo "$as_me:$LINENO: checking for $ac_func" >&5
81705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81706 if eval "test \"\${$as_ac_var+set}\" = set"; then
81707 echo $ECHO_N "(cached) $ECHO_C" >&6
81708 else
81709 if test x$gcc_no_link = xyes; then
81710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81712 { (exit 1); exit 1; }; }
81714 cat >conftest.$ac_ext <<_ACEOF
81715 /* confdefs.h. */
81716 _ACEOF
81717 cat confdefs.h >>conftest.$ac_ext
81718 cat >>conftest.$ac_ext <<_ACEOF
81719 /* end confdefs.h. */
81720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81722 #define $ac_func innocuous_$ac_func
81724 /* System header to define __stub macros and hopefully few prototypes,
81725 which can conflict with char $ac_func (); below.
81726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81727 <limits.h> exists even on freestanding compilers. */
81729 #ifdef __STDC__
81730 # include <limits.h>
81731 #else
81732 # include <assert.h>
81733 #endif
81735 #undef $ac_func
81737 /* Override any gcc2 internal prototype to avoid an error. */
81738 #ifdef __cplusplus
81739 extern "C"
81741 #endif
81742 /* We use char because int might match the return type of a gcc2
81743 builtin and then its argument prototype would still apply. */
81744 char $ac_func ();
81745 /* The GNU C library defines this for functions which it implements
81746 to always fail with ENOSYS. Some functions are actually named
81747 something starting with __ and the normal name is an alias. */
81748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81749 choke me
81750 #else
81751 char (*f) () = $ac_func;
81752 #endif
81753 #ifdef __cplusplus
81755 #endif
81758 main ()
81760 return f != $ac_func;
81762 return 0;
81764 _ACEOF
81765 rm -f conftest.$ac_objext conftest$ac_exeext
81766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81767 (eval $ac_link) 2>conftest.er1
81768 ac_status=$?
81769 grep -v '^ *+' conftest.er1 >conftest.err
81770 rm -f conftest.er1
81771 cat conftest.err >&5
81772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81773 (exit $ac_status); } &&
81774 { ac_try='test -z "$ac_c_werror_flag"
81775 || test ! -s conftest.err'
81776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81777 (eval $ac_try) 2>&5
81778 ac_status=$?
81779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81780 (exit $ac_status); }; } &&
81781 { ac_try='test -s conftest$ac_exeext'
81782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81783 (eval $ac_try) 2>&5
81784 ac_status=$?
81785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81786 (exit $ac_status); }; }; then
81787 eval "$as_ac_var=yes"
81788 else
81789 echo "$as_me: failed program was:" >&5
81790 sed 's/^/| /' conftest.$ac_ext >&5
81792 eval "$as_ac_var=no"
81794 rm -f conftest.err conftest.$ac_objext \
81795 conftest$ac_exeext conftest.$ac_ext
81797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81799 if test `eval echo '${'$as_ac_var'}'` = yes; then
81800 cat >>confdefs.h <<_ACEOF
81801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81802 _ACEOF
81804 else
81805 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
81807 done
81811 for ac_func in __signbit
81813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81814 echo "$as_me:$LINENO: checking for $ac_func" >&5
81815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81816 if eval "test \"\${$as_ac_var+set}\" = set"; then
81817 echo $ECHO_N "(cached) $ECHO_C" >&6
81818 else
81819 if test x$gcc_no_link = xyes; then
81820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81822 { (exit 1); exit 1; }; }
81824 cat >conftest.$ac_ext <<_ACEOF
81825 /* confdefs.h. */
81826 _ACEOF
81827 cat confdefs.h >>conftest.$ac_ext
81828 cat >>conftest.$ac_ext <<_ACEOF
81829 /* end confdefs.h. */
81830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81832 #define $ac_func innocuous_$ac_func
81834 /* System header to define __stub macros and hopefully few prototypes,
81835 which can conflict with char $ac_func (); below.
81836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81837 <limits.h> exists even on freestanding compilers. */
81839 #ifdef __STDC__
81840 # include <limits.h>
81841 #else
81842 # include <assert.h>
81843 #endif
81845 #undef $ac_func
81847 /* Override any gcc2 internal prototype to avoid an error. */
81848 #ifdef __cplusplus
81849 extern "C"
81851 #endif
81852 /* We use char because int might match the return type of a gcc2
81853 builtin and then its argument prototype would still apply. */
81854 char $ac_func ();
81855 /* The GNU C library defines this for functions which it implements
81856 to always fail with ENOSYS. Some functions are actually named
81857 something starting with __ and the normal name is an alias. */
81858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81859 choke me
81860 #else
81861 char (*f) () = $ac_func;
81862 #endif
81863 #ifdef __cplusplus
81865 #endif
81868 main ()
81870 return f != $ac_func;
81872 return 0;
81874 _ACEOF
81875 rm -f conftest.$ac_objext conftest$ac_exeext
81876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81877 (eval $ac_link) 2>conftest.er1
81878 ac_status=$?
81879 grep -v '^ *+' conftest.er1 >conftest.err
81880 rm -f conftest.er1
81881 cat conftest.err >&5
81882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81883 (exit $ac_status); } &&
81884 { ac_try='test -z "$ac_c_werror_flag"
81885 || test ! -s conftest.err'
81886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81887 (eval $ac_try) 2>&5
81888 ac_status=$?
81889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81890 (exit $ac_status); }; } &&
81891 { ac_try='test -s conftest$ac_exeext'
81892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81893 (eval $ac_try) 2>&5
81894 ac_status=$?
81895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81896 (exit $ac_status); }; }; then
81897 eval "$as_ac_var=yes"
81898 else
81899 echo "$as_me: failed program was:" >&5
81900 sed 's/^/| /' conftest.$ac_ext >&5
81902 eval "$as_ac_var=no"
81904 rm -f conftest.err conftest.$ac_objext \
81905 conftest$ac_exeext conftest.$ac_ext
81907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81909 if test `eval echo '${'$as_ac_var'}'` = yes; then
81910 cat >>confdefs.h <<_ACEOF
81911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81912 _ACEOF
81914 else
81915 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
81917 done
81921 for ac_func in __signbitf
81923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81924 echo "$as_me:$LINENO: checking for $ac_func" >&5
81925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81926 if eval "test \"\${$as_ac_var+set}\" = set"; then
81927 echo $ECHO_N "(cached) $ECHO_C" >&6
81928 else
81929 if test x$gcc_no_link = xyes; then
81930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81932 { (exit 1); exit 1; }; }
81934 cat >conftest.$ac_ext <<_ACEOF
81935 /* confdefs.h. */
81936 _ACEOF
81937 cat confdefs.h >>conftest.$ac_ext
81938 cat >>conftest.$ac_ext <<_ACEOF
81939 /* end confdefs.h. */
81940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81942 #define $ac_func innocuous_$ac_func
81944 /* System header to define __stub macros and hopefully few prototypes,
81945 which can conflict with char $ac_func (); below.
81946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81947 <limits.h> exists even on freestanding compilers. */
81949 #ifdef __STDC__
81950 # include <limits.h>
81951 #else
81952 # include <assert.h>
81953 #endif
81955 #undef $ac_func
81957 /* Override any gcc2 internal prototype to avoid an error. */
81958 #ifdef __cplusplus
81959 extern "C"
81961 #endif
81962 /* We use char because int might match the return type of a gcc2
81963 builtin and then its argument prototype would still apply. */
81964 char $ac_func ();
81965 /* The GNU C library defines this for functions which it implements
81966 to always fail with ENOSYS. Some functions are actually named
81967 something starting with __ and the normal name is an alias. */
81968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81969 choke me
81970 #else
81971 char (*f) () = $ac_func;
81972 #endif
81973 #ifdef __cplusplus
81975 #endif
81978 main ()
81980 return f != $ac_func;
81982 return 0;
81984 _ACEOF
81985 rm -f conftest.$ac_objext conftest$ac_exeext
81986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81987 (eval $ac_link) 2>conftest.er1
81988 ac_status=$?
81989 grep -v '^ *+' conftest.er1 >conftest.err
81990 rm -f conftest.er1
81991 cat conftest.err >&5
81992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81993 (exit $ac_status); } &&
81994 { ac_try='test -z "$ac_c_werror_flag"
81995 || test ! -s conftest.err'
81996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81997 (eval $ac_try) 2>&5
81998 ac_status=$?
81999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82000 (exit $ac_status); }; } &&
82001 { ac_try='test -s conftest$ac_exeext'
82002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82003 (eval $ac_try) 2>&5
82004 ac_status=$?
82005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82006 (exit $ac_status); }; }; then
82007 eval "$as_ac_var=yes"
82008 else
82009 echo "$as_me: failed program was:" >&5
82010 sed 's/^/| /' conftest.$ac_ext >&5
82012 eval "$as_ac_var=no"
82014 rm -f conftest.err conftest.$ac_objext \
82015 conftest$ac_exeext conftest.$ac_ext
82017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82019 if test `eval echo '${'$as_ac_var'}'` = yes; then
82020 cat >>confdefs.h <<_ACEOF
82021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82022 _ACEOF
82024 else
82025 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
82027 done
82030 if test x$ac_cv_func_copysignl = x"yes"; then
82032 for ac_func in __signbitl
82034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82035 echo "$as_me:$LINENO: checking for $ac_func" >&5
82036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82037 if eval "test \"\${$as_ac_var+set}\" = set"; then
82038 echo $ECHO_N "(cached) $ECHO_C" >&6
82039 else
82040 if test x$gcc_no_link = xyes; then
82041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82043 { (exit 1); exit 1; }; }
82045 cat >conftest.$ac_ext <<_ACEOF
82046 /* confdefs.h. */
82047 _ACEOF
82048 cat confdefs.h >>conftest.$ac_ext
82049 cat >>conftest.$ac_ext <<_ACEOF
82050 /* end confdefs.h. */
82051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82053 #define $ac_func innocuous_$ac_func
82055 /* System header to define __stub macros and hopefully few prototypes,
82056 which can conflict with char $ac_func (); below.
82057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82058 <limits.h> exists even on freestanding compilers. */
82060 #ifdef __STDC__
82061 # include <limits.h>
82062 #else
82063 # include <assert.h>
82064 #endif
82066 #undef $ac_func
82068 /* Override any gcc2 internal prototype to avoid an error. */
82069 #ifdef __cplusplus
82070 extern "C"
82072 #endif
82073 /* We use char because int might match the return type of a gcc2
82074 builtin and then its argument prototype would still apply. */
82075 char $ac_func ();
82076 /* The GNU C library defines this for functions which it implements
82077 to always fail with ENOSYS. Some functions are actually named
82078 something starting with __ and the normal name is an alias. */
82079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82080 choke me
82081 #else
82082 char (*f) () = $ac_func;
82083 #endif
82084 #ifdef __cplusplus
82086 #endif
82089 main ()
82091 return f != $ac_func;
82093 return 0;
82095 _ACEOF
82096 rm -f conftest.$ac_objext conftest$ac_exeext
82097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82098 (eval $ac_link) 2>conftest.er1
82099 ac_status=$?
82100 grep -v '^ *+' conftest.er1 >conftest.err
82101 rm -f conftest.er1
82102 cat conftest.err >&5
82103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82104 (exit $ac_status); } &&
82105 { ac_try='test -z "$ac_c_werror_flag"
82106 || test ! -s conftest.err'
82107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82108 (eval $ac_try) 2>&5
82109 ac_status=$?
82110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82111 (exit $ac_status); }; } &&
82112 { ac_try='test -s conftest$ac_exeext'
82113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82114 (eval $ac_try) 2>&5
82115 ac_status=$?
82116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82117 (exit $ac_status); }; }; then
82118 eval "$as_ac_var=yes"
82119 else
82120 echo "$as_me: failed program was:" >&5
82121 sed 's/^/| /' conftest.$ac_ext >&5
82123 eval "$as_ac_var=no"
82125 rm -f conftest.err conftest.$ac_objext \
82126 conftest$ac_exeext conftest.$ac_ext
82128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82130 if test `eval echo '${'$as_ac_var'}'` = yes; then
82131 cat >>confdefs.h <<_ACEOF
82132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82133 _ACEOF
82135 else
82136 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
82138 done
82142 # Used in libmath/Makefile.am.
82143 if test -n "$LIBMATHOBJS"; then
82144 need_libmath=yes
82149 # Test wchar.h for mbstate_t, which is needed for char_traits and
82150 # others even if wchar_t support is not on.
82151 echo "$as_me:$LINENO: checking for mbstate_t" >&5
82152 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
82153 cat >conftest.$ac_ext <<_ACEOF
82154 /* confdefs.h. */
82155 _ACEOF
82156 cat confdefs.h >>conftest.$ac_ext
82157 cat >>conftest.$ac_ext <<_ACEOF
82158 /* end confdefs.h. */
82159 #include <wchar.h>
82161 main ()
82163 mbstate_t teststate;
82165 return 0;
82167 _ACEOF
82168 rm -f conftest.$ac_objext
82169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82170 (eval $ac_compile) 2>conftest.er1
82171 ac_status=$?
82172 grep -v '^ *+' conftest.er1 >conftest.err
82173 rm -f conftest.er1
82174 cat conftest.err >&5
82175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82176 (exit $ac_status); } &&
82177 { ac_try='test -z "$ac_c_werror_flag"
82178 || test ! -s conftest.err'
82179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82180 (eval $ac_try) 2>&5
82181 ac_status=$?
82182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82183 (exit $ac_status); }; } &&
82184 { ac_try='test -s conftest.$ac_objext'
82185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82186 (eval $ac_try) 2>&5
82187 ac_status=$?
82188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82189 (exit $ac_status); }; }; then
82190 have_mbstate_t=yes
82191 else
82192 echo "$as_me: failed program was:" >&5
82193 sed 's/^/| /' conftest.$ac_ext >&5
82195 have_mbstate_t=no
82197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82198 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
82199 echo "${ECHO_T}$have_mbstate_t" >&6
82200 if test x"$have_mbstate_t" = xyes; then
82201 cat >>confdefs.h <<\_ACEOF
82202 #define HAVE_MBSTATE_T 1
82203 _ACEOF
82207 # Sanity check for existence of ISO C99 headers for extended encoding.
82209 for ac_header in wchar.h
82211 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82213 echo "$as_me:$LINENO: checking for $ac_header" >&5
82214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82216 echo $ECHO_N "(cached) $ECHO_C" >&6
82218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82219 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82220 else
82221 # Is the header compilable?
82222 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82223 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82224 cat >conftest.$ac_ext <<_ACEOF
82225 /* confdefs.h. */
82226 _ACEOF
82227 cat confdefs.h >>conftest.$ac_ext
82228 cat >>conftest.$ac_ext <<_ACEOF
82229 /* end confdefs.h. */
82230 $ac_includes_default
82231 #include <$ac_header>
82232 _ACEOF
82233 rm -f conftest.$ac_objext
82234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82235 (eval $ac_compile) 2>conftest.er1
82236 ac_status=$?
82237 grep -v '^ *+' conftest.er1 >conftest.err
82238 rm -f conftest.er1
82239 cat conftest.err >&5
82240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82241 (exit $ac_status); } &&
82242 { ac_try='test -z "$ac_c_werror_flag"
82243 || test ! -s conftest.err'
82244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82245 (eval $ac_try) 2>&5
82246 ac_status=$?
82247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82248 (exit $ac_status); }; } &&
82249 { ac_try='test -s conftest.$ac_objext'
82250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82251 (eval $ac_try) 2>&5
82252 ac_status=$?
82253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82254 (exit $ac_status); }; }; then
82255 ac_header_compiler=yes
82256 else
82257 echo "$as_me: failed program was:" >&5
82258 sed 's/^/| /' conftest.$ac_ext >&5
82260 ac_header_compiler=no
82262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82263 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82264 echo "${ECHO_T}$ac_header_compiler" >&6
82266 # Is the header present?
82267 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82268 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82269 cat >conftest.$ac_ext <<_ACEOF
82270 /* confdefs.h. */
82271 _ACEOF
82272 cat confdefs.h >>conftest.$ac_ext
82273 cat >>conftest.$ac_ext <<_ACEOF
82274 /* end confdefs.h. */
82275 #include <$ac_header>
82276 _ACEOF
82277 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82278 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82279 ac_status=$?
82280 grep -v '^ *+' conftest.er1 >conftest.err
82281 rm -f conftest.er1
82282 cat conftest.err >&5
82283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82284 (exit $ac_status); } >/dev/null; then
82285 if test -s conftest.err; then
82286 ac_cpp_err=$ac_c_preproc_warn_flag
82287 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82288 else
82289 ac_cpp_err=
82291 else
82292 ac_cpp_err=yes
82294 if test -z "$ac_cpp_err"; then
82295 ac_header_preproc=yes
82296 else
82297 echo "$as_me: failed program was:" >&5
82298 sed 's/^/| /' conftest.$ac_ext >&5
82300 ac_header_preproc=no
82302 rm -f conftest.err conftest.$ac_ext
82303 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82304 echo "${ECHO_T}$ac_header_preproc" >&6
82306 # So? What about this header?
82307 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82308 yes:no: )
82309 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82310 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82311 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82312 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82313 ac_header_preproc=yes
82315 no:yes:* )
82316 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82317 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82318 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82319 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82320 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82321 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82322 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82323 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82325 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82326 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82327 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82329 cat <<\_ASBOX
82330 ## ----------------------------------------- ##
82331 ## Report this to the package-unused lists. ##
82332 ## ----------------------------------------- ##
82333 _ASBOX
82335 sed "s/^/$as_me: WARNING: /" >&2
82337 esac
82338 echo "$as_me:$LINENO: checking for $ac_header" >&5
82339 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82340 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82341 echo $ECHO_N "(cached) $ECHO_C" >&6
82342 else
82343 eval "$as_ac_Header=\$ac_header_preproc"
82345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82346 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82349 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82350 cat >>confdefs.h <<_ACEOF
82351 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82352 _ACEOF
82353 ac_has_wchar_h=yes
82354 else
82355 ac_has_wchar_h=no
82358 done
82361 for ac_header in wctype.h
82363 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82365 echo "$as_me:$LINENO: checking for $ac_header" >&5
82366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82368 echo $ECHO_N "(cached) $ECHO_C" >&6
82370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82372 else
82373 # Is the header compilable?
82374 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82375 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82376 cat >conftest.$ac_ext <<_ACEOF
82377 /* confdefs.h. */
82378 _ACEOF
82379 cat confdefs.h >>conftest.$ac_ext
82380 cat >>conftest.$ac_ext <<_ACEOF
82381 /* end confdefs.h. */
82382 $ac_includes_default
82383 #include <$ac_header>
82384 _ACEOF
82385 rm -f conftest.$ac_objext
82386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82387 (eval $ac_compile) 2>conftest.er1
82388 ac_status=$?
82389 grep -v '^ *+' conftest.er1 >conftest.err
82390 rm -f conftest.er1
82391 cat conftest.err >&5
82392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82393 (exit $ac_status); } &&
82394 { ac_try='test -z "$ac_c_werror_flag"
82395 || test ! -s conftest.err'
82396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82397 (eval $ac_try) 2>&5
82398 ac_status=$?
82399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82400 (exit $ac_status); }; } &&
82401 { ac_try='test -s conftest.$ac_objext'
82402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82403 (eval $ac_try) 2>&5
82404 ac_status=$?
82405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82406 (exit $ac_status); }; }; then
82407 ac_header_compiler=yes
82408 else
82409 echo "$as_me: failed program was:" >&5
82410 sed 's/^/| /' conftest.$ac_ext >&5
82412 ac_header_compiler=no
82414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82415 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82416 echo "${ECHO_T}$ac_header_compiler" >&6
82418 # Is the header present?
82419 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82420 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82421 cat >conftest.$ac_ext <<_ACEOF
82422 /* confdefs.h. */
82423 _ACEOF
82424 cat confdefs.h >>conftest.$ac_ext
82425 cat >>conftest.$ac_ext <<_ACEOF
82426 /* end confdefs.h. */
82427 #include <$ac_header>
82428 _ACEOF
82429 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82430 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82431 ac_status=$?
82432 grep -v '^ *+' conftest.er1 >conftest.err
82433 rm -f conftest.er1
82434 cat conftest.err >&5
82435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82436 (exit $ac_status); } >/dev/null; then
82437 if test -s conftest.err; then
82438 ac_cpp_err=$ac_c_preproc_warn_flag
82439 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82440 else
82441 ac_cpp_err=
82443 else
82444 ac_cpp_err=yes
82446 if test -z "$ac_cpp_err"; then
82447 ac_header_preproc=yes
82448 else
82449 echo "$as_me: failed program was:" >&5
82450 sed 's/^/| /' conftest.$ac_ext >&5
82452 ac_header_preproc=no
82454 rm -f conftest.err conftest.$ac_ext
82455 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82456 echo "${ECHO_T}$ac_header_preproc" >&6
82458 # So? What about this header?
82459 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82460 yes:no: )
82461 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82462 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82464 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82465 ac_header_preproc=yes
82467 no:yes:* )
82468 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82469 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82470 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82471 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82472 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82473 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82474 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82475 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82477 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82478 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82479 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82481 cat <<\_ASBOX
82482 ## ----------------------------------------- ##
82483 ## Report this to the package-unused lists. ##
82484 ## ----------------------------------------- ##
82485 _ASBOX
82487 sed "s/^/$as_me: WARNING: /" >&2
82489 esac
82490 echo "$as_me:$LINENO: checking for $ac_header" >&5
82491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82493 echo $ECHO_N "(cached) $ECHO_C" >&6
82494 else
82495 eval "$as_ac_Header=\$ac_header_preproc"
82497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82501 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82502 cat >>confdefs.h <<_ACEOF
82503 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82504 _ACEOF
82505 ac_has_wctype_h=yes
82506 else
82507 ac_has_wctype_h=no
82510 done
82513 # Only continue checking if the ISO C99 headers exist and support is on.
82514 if test x"$ac_has_wchar_h" = xyes &&
82515 test x"$ac_has_wctype_h" = xyes &&
82516 test x"$enable_c_mbchar" != xno; then
82518 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
82519 # numeric_limits can instantiate type_traits<wchar_t>
82520 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
82521 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
82522 cat >conftest.$ac_ext <<_ACEOF
82523 /* confdefs.h. */
82524 _ACEOF
82525 cat confdefs.h >>conftest.$ac_ext
82526 cat >>conftest.$ac_ext <<_ACEOF
82527 /* end confdefs.h. */
82528 #include <wchar.h>
82530 main ()
82532 int i = WCHAR_MIN; int j = WCHAR_MAX;
82534 return 0;
82536 _ACEOF
82537 rm -f conftest.$ac_objext
82538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82539 (eval $ac_compile) 2>conftest.er1
82540 ac_status=$?
82541 grep -v '^ *+' conftest.er1 >conftest.err
82542 rm -f conftest.er1
82543 cat conftest.err >&5
82544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82545 (exit $ac_status); } &&
82546 { ac_try='test -z "$ac_c_werror_flag"
82547 || test ! -s conftest.err'
82548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82549 (eval $ac_try) 2>&5
82550 ac_status=$?
82551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82552 (exit $ac_status); }; } &&
82553 { ac_try='test -s conftest.$ac_objext'
82554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82555 (eval $ac_try) 2>&5
82556 ac_status=$?
82557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82558 (exit $ac_status); }; }; then
82559 has_wchar_minmax=yes
82560 else
82561 echo "$as_me: failed program was:" >&5
82562 sed 's/^/| /' conftest.$ac_ext >&5
82564 has_wchar_minmax=no
82566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82567 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
82568 echo "${ECHO_T}$has_wchar_minmax" >&6
82570 # Test wchar.h for WEOF, which is what we use to determine whether
82571 # to specialize for char_traits<wchar_t> or not.
82572 echo "$as_me:$LINENO: checking for WEOF" >&5
82573 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
82574 cat >conftest.$ac_ext <<_ACEOF
82575 /* confdefs.h. */
82576 _ACEOF
82577 cat confdefs.h >>conftest.$ac_ext
82578 cat >>conftest.$ac_ext <<_ACEOF
82579 /* end confdefs.h. */
82581 #include <wchar.h>
82582 #include <stddef.h>
82584 main ()
82586 wint_t i = WEOF;
82588 return 0;
82590 _ACEOF
82591 rm -f conftest.$ac_objext
82592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82593 (eval $ac_compile) 2>conftest.er1
82594 ac_status=$?
82595 grep -v '^ *+' conftest.er1 >conftest.err
82596 rm -f conftest.er1
82597 cat conftest.err >&5
82598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82599 (exit $ac_status); } &&
82600 { ac_try='test -z "$ac_c_werror_flag"
82601 || test ! -s conftest.err'
82602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82603 (eval $ac_try) 2>&5
82604 ac_status=$?
82605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82606 (exit $ac_status); }; } &&
82607 { ac_try='test -s conftest.$ac_objext'
82608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82609 (eval $ac_try) 2>&5
82610 ac_status=$?
82611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82612 (exit $ac_status); }; }; then
82613 has_weof=yes
82614 else
82615 echo "$as_me: failed program was:" >&5
82616 sed 's/^/| /' conftest.$ac_ext >&5
82618 has_weof=no
82620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82621 echo "$as_me:$LINENO: result: $has_weof" >&5
82622 echo "${ECHO_T}$has_weof" >&6
82624 # Tests for wide character functions used in char_traits<wchar_t>.
82625 ac_wfuncs=yes
82632 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
82634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82635 echo "$as_me:$LINENO: checking for $ac_func" >&5
82636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82637 if eval "test \"\${$as_ac_var+set}\" = set"; then
82638 echo $ECHO_N "(cached) $ECHO_C" >&6
82639 else
82640 if test x$gcc_no_link = xyes; then
82641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82643 { (exit 1); exit 1; }; }
82645 cat >conftest.$ac_ext <<_ACEOF
82646 /* confdefs.h. */
82647 _ACEOF
82648 cat confdefs.h >>conftest.$ac_ext
82649 cat >>conftest.$ac_ext <<_ACEOF
82650 /* end confdefs.h. */
82651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82653 #define $ac_func innocuous_$ac_func
82655 /* System header to define __stub macros and hopefully few prototypes,
82656 which can conflict with char $ac_func (); below.
82657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82658 <limits.h> exists even on freestanding compilers. */
82660 #ifdef __STDC__
82661 # include <limits.h>
82662 #else
82663 # include <assert.h>
82664 #endif
82666 #undef $ac_func
82668 /* Override any gcc2 internal prototype to avoid an error. */
82669 #ifdef __cplusplus
82670 extern "C"
82672 #endif
82673 /* We use char because int might match the return type of a gcc2
82674 builtin and then its argument prototype would still apply. */
82675 char $ac_func ();
82676 /* The GNU C library defines this for functions which it implements
82677 to always fail with ENOSYS. Some functions are actually named
82678 something starting with __ and the normal name is an alias. */
82679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82680 choke me
82681 #else
82682 char (*f) () = $ac_func;
82683 #endif
82684 #ifdef __cplusplus
82686 #endif
82689 main ()
82691 return f != $ac_func;
82693 return 0;
82695 _ACEOF
82696 rm -f conftest.$ac_objext conftest$ac_exeext
82697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82698 (eval $ac_link) 2>conftest.er1
82699 ac_status=$?
82700 grep -v '^ *+' conftest.er1 >conftest.err
82701 rm -f conftest.er1
82702 cat conftest.err >&5
82703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82704 (exit $ac_status); } &&
82705 { ac_try='test -z "$ac_c_werror_flag"
82706 || test ! -s conftest.err'
82707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82708 (eval $ac_try) 2>&5
82709 ac_status=$?
82710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82711 (exit $ac_status); }; } &&
82712 { ac_try='test -s conftest$ac_exeext'
82713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82714 (eval $ac_try) 2>&5
82715 ac_status=$?
82716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82717 (exit $ac_status); }; }; then
82718 eval "$as_ac_var=yes"
82719 else
82720 echo "$as_me: failed program was:" >&5
82721 sed 's/^/| /' conftest.$ac_ext >&5
82723 eval "$as_ac_var=no"
82725 rm -f conftest.err conftest.$ac_objext \
82726 conftest$ac_exeext conftest.$ac_ext
82728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82730 if test `eval echo '${'$as_ac_var'}'` = yes; then
82731 cat >>confdefs.h <<_ACEOF
82732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82733 _ACEOF
82735 else
82736 ac_wfuncs=no
82738 done
82741 # Checks for names injected into std:: by the c_std headers.
82788 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
82789 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
82790 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
82791 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
82792 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
82793 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
82795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82796 echo "$as_me:$LINENO: checking for $ac_func" >&5
82797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82798 if eval "test \"\${$as_ac_var+set}\" = set"; then
82799 echo $ECHO_N "(cached) $ECHO_C" >&6
82800 else
82801 if test x$gcc_no_link = xyes; then
82802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82804 { (exit 1); exit 1; }; }
82806 cat >conftest.$ac_ext <<_ACEOF
82807 /* confdefs.h. */
82808 _ACEOF
82809 cat confdefs.h >>conftest.$ac_ext
82810 cat >>conftest.$ac_ext <<_ACEOF
82811 /* end confdefs.h. */
82812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82814 #define $ac_func innocuous_$ac_func
82816 /* System header to define __stub macros and hopefully few prototypes,
82817 which can conflict with char $ac_func (); below.
82818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82819 <limits.h> exists even on freestanding compilers. */
82821 #ifdef __STDC__
82822 # include <limits.h>
82823 #else
82824 # include <assert.h>
82825 #endif
82827 #undef $ac_func
82829 /* Override any gcc2 internal prototype to avoid an error. */
82830 #ifdef __cplusplus
82831 extern "C"
82833 #endif
82834 /* We use char because int might match the return type of a gcc2
82835 builtin and then its argument prototype would still apply. */
82836 char $ac_func ();
82837 /* The GNU C library defines this for functions which it implements
82838 to always fail with ENOSYS. Some functions are actually named
82839 something starting with __ and the normal name is an alias. */
82840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82841 choke me
82842 #else
82843 char (*f) () = $ac_func;
82844 #endif
82845 #ifdef __cplusplus
82847 #endif
82850 main ()
82852 return f != $ac_func;
82854 return 0;
82856 _ACEOF
82857 rm -f conftest.$ac_objext conftest$ac_exeext
82858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82859 (eval $ac_link) 2>conftest.er1
82860 ac_status=$?
82861 grep -v '^ *+' conftest.er1 >conftest.err
82862 rm -f conftest.er1
82863 cat conftest.err >&5
82864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82865 (exit $ac_status); } &&
82866 { ac_try='test -z "$ac_c_werror_flag"
82867 || test ! -s conftest.err'
82868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82869 (eval $ac_try) 2>&5
82870 ac_status=$?
82871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82872 (exit $ac_status); }; } &&
82873 { ac_try='test -s conftest$ac_exeext'
82874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82875 (eval $ac_try) 2>&5
82876 ac_status=$?
82877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82878 (exit $ac_status); }; }; then
82879 eval "$as_ac_var=yes"
82880 else
82881 echo "$as_me: failed program was:" >&5
82882 sed 's/^/| /' conftest.$ac_ext >&5
82884 eval "$as_ac_var=no"
82886 rm -f conftest.err conftest.$ac_objext \
82887 conftest$ac_exeext conftest.$ac_ext
82889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82891 if test `eval echo '${'$as_ac_var'}'` = yes; then
82892 cat >>confdefs.h <<_ACEOF
82893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82894 _ACEOF
82896 else
82897 ac_wfuncs=no
82899 done
82902 # Checks for wide character functions that are not required
82903 # for basic wchar_t support. Don't disable support if they are missing.
82904 # Injection of these is wrapped with guard macros.
82910 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
82912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82913 echo "$as_me:$LINENO: checking for $ac_func" >&5
82914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82915 if eval "test \"\${$as_ac_var+set}\" = set"; then
82916 echo $ECHO_N "(cached) $ECHO_C" >&6
82917 else
82918 if test x$gcc_no_link = xyes; then
82919 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82921 { (exit 1); exit 1; }; }
82923 cat >conftest.$ac_ext <<_ACEOF
82924 /* confdefs.h. */
82925 _ACEOF
82926 cat confdefs.h >>conftest.$ac_ext
82927 cat >>conftest.$ac_ext <<_ACEOF
82928 /* end confdefs.h. */
82929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82931 #define $ac_func innocuous_$ac_func
82933 /* System header to define __stub macros and hopefully few prototypes,
82934 which can conflict with char $ac_func (); below.
82935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82936 <limits.h> exists even on freestanding compilers. */
82938 #ifdef __STDC__
82939 # include <limits.h>
82940 #else
82941 # include <assert.h>
82942 #endif
82944 #undef $ac_func
82946 /* Override any gcc2 internal prototype to avoid an error. */
82947 #ifdef __cplusplus
82948 extern "C"
82950 #endif
82951 /* We use char because int might match the return type of a gcc2
82952 builtin and then its argument prototype would still apply. */
82953 char $ac_func ();
82954 /* The GNU C library defines this for functions which it implements
82955 to always fail with ENOSYS. Some functions are actually named
82956 something starting with __ and the normal name is an alias. */
82957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82958 choke me
82959 #else
82960 char (*f) () = $ac_func;
82961 #endif
82962 #ifdef __cplusplus
82964 #endif
82967 main ()
82969 return f != $ac_func;
82971 return 0;
82973 _ACEOF
82974 rm -f conftest.$ac_objext conftest$ac_exeext
82975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82976 (eval $ac_link) 2>conftest.er1
82977 ac_status=$?
82978 grep -v '^ *+' conftest.er1 >conftest.err
82979 rm -f conftest.er1
82980 cat conftest.err >&5
82981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82982 (exit $ac_status); } &&
82983 { ac_try='test -z "$ac_c_werror_flag"
82984 || test ! -s conftest.err'
82985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82986 (eval $ac_try) 2>&5
82987 ac_status=$?
82988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82989 (exit $ac_status); }; } &&
82990 { ac_try='test -s conftest$ac_exeext'
82991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82992 (eval $ac_try) 2>&5
82993 ac_status=$?
82994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82995 (exit $ac_status); }; }; then
82996 eval "$as_ac_var=yes"
82997 else
82998 echo "$as_me: failed program was:" >&5
82999 sed 's/^/| /' conftest.$ac_ext >&5
83001 eval "$as_ac_var=no"
83003 rm -f conftest.err conftest.$ac_objext \
83004 conftest$ac_exeext conftest.$ac_ext
83006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83008 if test `eval echo '${'$as_ac_var'}'` = yes; then
83009 cat >>confdefs.h <<_ACEOF
83010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83011 _ACEOF
83014 done
83017 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
83018 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
83019 if test x"$has_weof" = xyes &&
83020 test x"$has_wchar_minmax" = xyes &&
83021 test x"$ac_wfuncs" = xyes;
83022 then
83023 ac_isoC99_wchar_t=yes
83024 else
83025 ac_isoC99_wchar_t=no
83027 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
83028 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
83030 # Use iconv for wchar_t to char conversions. As such, check for
83031 # X/Open Portability Guide, version 2 features (XPG2).
83032 if test "${ac_cv_header_iconv_h+set}" = set; then
83033 echo "$as_me:$LINENO: checking for iconv.h" >&5
83034 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
83035 if test "${ac_cv_header_iconv_h+set}" = set; then
83036 echo $ECHO_N "(cached) $ECHO_C" >&6
83038 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
83039 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
83040 else
83041 # Is the header compilable?
83042 echo "$as_me:$LINENO: checking iconv.h usability" >&5
83043 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
83044 cat >conftest.$ac_ext <<_ACEOF
83045 /* confdefs.h. */
83046 _ACEOF
83047 cat confdefs.h >>conftest.$ac_ext
83048 cat >>conftest.$ac_ext <<_ACEOF
83049 /* end confdefs.h. */
83050 $ac_includes_default
83051 #include <iconv.h>
83052 _ACEOF
83053 rm -f conftest.$ac_objext
83054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83055 (eval $ac_compile) 2>conftest.er1
83056 ac_status=$?
83057 grep -v '^ *+' conftest.er1 >conftest.err
83058 rm -f conftest.er1
83059 cat conftest.err >&5
83060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83061 (exit $ac_status); } &&
83062 { ac_try='test -z "$ac_c_werror_flag"
83063 || test ! -s conftest.err'
83064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83065 (eval $ac_try) 2>&5
83066 ac_status=$?
83067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83068 (exit $ac_status); }; } &&
83069 { ac_try='test -s conftest.$ac_objext'
83070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83071 (eval $ac_try) 2>&5
83072 ac_status=$?
83073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83074 (exit $ac_status); }; }; then
83075 ac_header_compiler=yes
83076 else
83077 echo "$as_me: failed program was:" >&5
83078 sed 's/^/| /' conftest.$ac_ext >&5
83080 ac_header_compiler=no
83082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83083 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83084 echo "${ECHO_T}$ac_header_compiler" >&6
83086 # Is the header present?
83087 echo "$as_me:$LINENO: checking iconv.h presence" >&5
83088 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
83089 cat >conftest.$ac_ext <<_ACEOF
83090 /* confdefs.h. */
83091 _ACEOF
83092 cat confdefs.h >>conftest.$ac_ext
83093 cat >>conftest.$ac_ext <<_ACEOF
83094 /* end confdefs.h. */
83095 #include <iconv.h>
83096 _ACEOF
83097 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83098 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83099 ac_status=$?
83100 grep -v '^ *+' conftest.er1 >conftest.err
83101 rm -f conftest.er1
83102 cat conftest.err >&5
83103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83104 (exit $ac_status); } >/dev/null; then
83105 if test -s conftest.err; then
83106 ac_cpp_err=$ac_c_preproc_warn_flag
83107 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83108 else
83109 ac_cpp_err=
83111 else
83112 ac_cpp_err=yes
83114 if test -z "$ac_cpp_err"; then
83115 ac_header_preproc=yes
83116 else
83117 echo "$as_me: failed program was:" >&5
83118 sed 's/^/| /' conftest.$ac_ext >&5
83120 ac_header_preproc=no
83122 rm -f conftest.err conftest.$ac_ext
83123 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83124 echo "${ECHO_T}$ac_header_preproc" >&6
83126 # So? What about this header?
83127 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83128 yes:no: )
83129 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
83130 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
83131 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
83132 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
83133 ac_header_preproc=yes
83135 no:yes:* )
83136 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
83137 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
83138 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
83139 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
83140 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
83141 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
83142 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
83143 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
83144 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
83145 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
83146 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
83147 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
83149 cat <<\_ASBOX
83150 ## ----------------------------------------- ##
83151 ## Report this to the package-unused lists. ##
83152 ## ----------------------------------------- ##
83153 _ASBOX
83155 sed "s/^/$as_me: WARNING: /" >&2
83157 esac
83158 echo "$as_me:$LINENO: checking for iconv.h" >&5
83159 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
83160 if test "${ac_cv_header_iconv_h+set}" = set; then
83161 echo $ECHO_N "(cached) $ECHO_C" >&6
83162 else
83163 ac_cv_header_iconv_h=$ac_header_preproc
83165 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
83166 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
83169 if test $ac_cv_header_iconv_h = yes; then
83170 ac_has_iconv_h=yes
83171 else
83172 ac_has_iconv_h=no
83176 if test "${ac_cv_header_langinfo_h+set}" = set; then
83177 echo "$as_me:$LINENO: checking for langinfo.h" >&5
83178 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
83179 if test "${ac_cv_header_langinfo_h+set}" = set; then
83180 echo $ECHO_N "(cached) $ECHO_C" >&6
83182 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
83183 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
83184 else
83185 # Is the header compilable?
83186 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
83187 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
83188 cat >conftest.$ac_ext <<_ACEOF
83189 /* confdefs.h. */
83190 _ACEOF
83191 cat confdefs.h >>conftest.$ac_ext
83192 cat >>conftest.$ac_ext <<_ACEOF
83193 /* end confdefs.h. */
83194 $ac_includes_default
83195 #include <langinfo.h>
83196 _ACEOF
83197 rm -f conftest.$ac_objext
83198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83199 (eval $ac_compile) 2>conftest.er1
83200 ac_status=$?
83201 grep -v '^ *+' conftest.er1 >conftest.err
83202 rm -f conftest.er1
83203 cat conftest.err >&5
83204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83205 (exit $ac_status); } &&
83206 { ac_try='test -z "$ac_c_werror_flag"
83207 || test ! -s conftest.err'
83208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83209 (eval $ac_try) 2>&5
83210 ac_status=$?
83211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83212 (exit $ac_status); }; } &&
83213 { ac_try='test -s conftest.$ac_objext'
83214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83215 (eval $ac_try) 2>&5
83216 ac_status=$?
83217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83218 (exit $ac_status); }; }; then
83219 ac_header_compiler=yes
83220 else
83221 echo "$as_me: failed program was:" >&5
83222 sed 's/^/| /' conftest.$ac_ext >&5
83224 ac_header_compiler=no
83226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83227 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83228 echo "${ECHO_T}$ac_header_compiler" >&6
83230 # Is the header present?
83231 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
83232 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
83233 cat >conftest.$ac_ext <<_ACEOF
83234 /* confdefs.h. */
83235 _ACEOF
83236 cat confdefs.h >>conftest.$ac_ext
83237 cat >>conftest.$ac_ext <<_ACEOF
83238 /* end confdefs.h. */
83239 #include <langinfo.h>
83240 _ACEOF
83241 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83242 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83243 ac_status=$?
83244 grep -v '^ *+' conftest.er1 >conftest.err
83245 rm -f conftest.er1
83246 cat conftest.err >&5
83247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83248 (exit $ac_status); } >/dev/null; then
83249 if test -s conftest.err; then
83250 ac_cpp_err=$ac_c_preproc_warn_flag
83251 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83252 else
83253 ac_cpp_err=
83255 else
83256 ac_cpp_err=yes
83258 if test -z "$ac_cpp_err"; then
83259 ac_header_preproc=yes
83260 else
83261 echo "$as_me: failed program was:" >&5
83262 sed 's/^/| /' conftest.$ac_ext >&5
83264 ac_header_preproc=no
83266 rm -f conftest.err conftest.$ac_ext
83267 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83268 echo "${ECHO_T}$ac_header_preproc" >&6
83270 # So? What about this header?
83271 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83272 yes:no: )
83273 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
83274 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
83275 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
83276 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
83277 ac_header_preproc=yes
83279 no:yes:* )
83280 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
83281 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
83282 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
83283 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
83284 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
83285 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
83286 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
83287 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
83288 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
83289 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
83290 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
83291 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
83293 cat <<\_ASBOX
83294 ## ----------------------------------------- ##
83295 ## Report this to the package-unused lists. ##
83296 ## ----------------------------------------- ##
83297 _ASBOX
83299 sed "s/^/$as_me: WARNING: /" >&2
83301 esac
83302 echo "$as_me:$LINENO: checking for langinfo.h" >&5
83303 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
83304 if test "${ac_cv_header_langinfo_h+set}" = set; then
83305 echo $ECHO_N "(cached) $ECHO_C" >&6
83306 else
83307 ac_cv_header_langinfo_h=$ac_header_preproc
83309 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
83310 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
83313 if test $ac_cv_header_langinfo_h = yes; then
83314 ac_has_langinfo_h=yes
83315 else
83316 ac_has_langinfo_h=no
83321 # Check for existence of libiconv.a providing XPG2 wchar_t support.
83322 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
83323 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
83324 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
83325 echo $ECHO_N "(cached) $ECHO_C" >&6
83326 else
83327 ac_check_lib_save_LIBS=$LIBS
83328 LIBS="-liconv $LIBS"
83329 if test x$gcc_no_link = xyes; then
83330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83332 { (exit 1); exit 1; }; }
83334 cat >conftest.$ac_ext <<_ACEOF
83335 /* confdefs.h. */
83336 _ACEOF
83337 cat confdefs.h >>conftest.$ac_ext
83338 cat >>conftest.$ac_ext <<_ACEOF
83339 /* end confdefs.h. */
83341 /* Override any gcc2 internal prototype to avoid an error. */
83342 #ifdef __cplusplus
83343 extern "C"
83344 #endif
83345 /* We use char because int might match the return type of a gcc2
83346 builtin and then its argument prototype would still apply. */
83347 char iconv ();
83349 main ()
83351 iconv ();
83353 return 0;
83355 _ACEOF
83356 rm -f conftest.$ac_objext conftest$ac_exeext
83357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83358 (eval $ac_link) 2>conftest.er1
83359 ac_status=$?
83360 grep -v '^ *+' conftest.er1 >conftest.err
83361 rm -f conftest.er1
83362 cat conftest.err >&5
83363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83364 (exit $ac_status); } &&
83365 { ac_try='test -z "$ac_c_werror_flag"
83366 || test ! -s conftest.err'
83367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83368 (eval $ac_try) 2>&5
83369 ac_status=$?
83370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83371 (exit $ac_status); }; } &&
83372 { ac_try='test -s conftest$ac_exeext'
83373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83374 (eval $ac_try) 2>&5
83375 ac_status=$?
83376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83377 (exit $ac_status); }; }; then
83378 ac_cv_lib_iconv_iconv=yes
83379 else
83380 echo "$as_me: failed program was:" >&5
83381 sed 's/^/| /' conftest.$ac_ext >&5
83383 ac_cv_lib_iconv_iconv=no
83385 rm -f conftest.err conftest.$ac_objext \
83386 conftest$ac_exeext conftest.$ac_ext
83387 LIBS=$ac_check_lib_save_LIBS
83389 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
83390 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
83391 if test $ac_cv_lib_iconv_iconv = yes; then
83392 LIBICONV="-liconv"
83395 ac_save_LIBS="$LIBS"
83396 LIBS="$LIBS $LIBICONV"
83403 for ac_func in iconv_open iconv_close iconv nl_langinfo
83405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83406 echo "$as_me:$LINENO: checking for $ac_func" >&5
83407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83408 if eval "test \"\${$as_ac_var+set}\" = set"; then
83409 echo $ECHO_N "(cached) $ECHO_C" >&6
83410 else
83411 if test x$gcc_no_link = xyes; then
83412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83414 { (exit 1); exit 1; }; }
83416 cat >conftest.$ac_ext <<_ACEOF
83417 /* confdefs.h. */
83418 _ACEOF
83419 cat confdefs.h >>conftest.$ac_ext
83420 cat >>conftest.$ac_ext <<_ACEOF
83421 /* end confdefs.h. */
83422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83424 #define $ac_func innocuous_$ac_func
83426 /* System header to define __stub macros and hopefully few prototypes,
83427 which can conflict with char $ac_func (); below.
83428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83429 <limits.h> exists even on freestanding compilers. */
83431 #ifdef __STDC__
83432 # include <limits.h>
83433 #else
83434 # include <assert.h>
83435 #endif
83437 #undef $ac_func
83439 /* Override any gcc2 internal prototype to avoid an error. */
83440 #ifdef __cplusplus
83441 extern "C"
83443 #endif
83444 /* We use char because int might match the return type of a gcc2
83445 builtin and then its argument prototype would still apply. */
83446 char $ac_func ();
83447 /* The GNU C library defines this for functions which it implements
83448 to always fail with ENOSYS. Some functions are actually named
83449 something starting with __ and the normal name is an alias. */
83450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83451 choke me
83452 #else
83453 char (*f) () = $ac_func;
83454 #endif
83455 #ifdef __cplusplus
83457 #endif
83460 main ()
83462 return f != $ac_func;
83464 return 0;
83466 _ACEOF
83467 rm -f conftest.$ac_objext conftest$ac_exeext
83468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83469 (eval $ac_link) 2>conftest.er1
83470 ac_status=$?
83471 grep -v '^ *+' conftest.er1 >conftest.err
83472 rm -f conftest.er1
83473 cat conftest.err >&5
83474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83475 (exit $ac_status); } &&
83476 { ac_try='test -z "$ac_c_werror_flag"
83477 || test ! -s conftest.err'
83478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83479 (eval $ac_try) 2>&5
83480 ac_status=$?
83481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83482 (exit $ac_status); }; } &&
83483 { ac_try='test -s conftest$ac_exeext'
83484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83485 (eval $ac_try) 2>&5
83486 ac_status=$?
83487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83488 (exit $ac_status); }; }; then
83489 eval "$as_ac_var=yes"
83490 else
83491 echo "$as_me: failed program was:" >&5
83492 sed 's/^/| /' conftest.$ac_ext >&5
83494 eval "$as_ac_var=no"
83496 rm -f conftest.err conftest.$ac_objext \
83497 conftest$ac_exeext conftest.$ac_ext
83499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83501 if test `eval echo '${'$as_ac_var'}'` = yes; then
83502 cat >>confdefs.h <<_ACEOF
83503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83504 _ACEOF
83505 ac_XPG2funcs=yes
83506 else
83507 ac_XPG2funcs=no
83509 done
83512 LIBS="$ac_save_LIBS"
83514 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
83515 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
83516 if test x"$ac_has_iconv_h" = xyes &&
83517 test x"$ac_has_langinfo_h" = xyes &&
83518 test x"$ac_XPG2funcs" = xyes;
83519 then
83520 ac_XPG2_wchar_t=yes
83521 else
83522 ac_XPG2_wchar_t=no
83524 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
83525 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
83527 # At the moment, only enable wchar_t specializations if all the
83528 # above support is present.
83529 if test x"$ac_isoC99_wchar_t" = xyes &&
83530 test x"$ac_XPG2_wchar_t" = xyes;
83531 then
83532 cat >>confdefs.h <<\_ACEOF
83533 #define _GLIBCXX_USE_WCHAR_T 1
83534 _ACEOF
83536 enable_wchar_t=yes
83539 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
83540 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
83541 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
83542 echo "${ECHO_T}$enable_wchar_t" >&6
83545 # For LFS.
83546 cat >>confdefs.h <<\_ACEOF
83547 #define HAVE_INT64_T 1
83548 _ACEOF
83550 case "$target" in
83551 *-uclinux*)
83552 # Don't enable LFS with uClibc
83555 cat >>confdefs.h <<\_ACEOF
83556 #define _GLIBCXX_USE_LFS 1
83557 _ACEOF
83559 esac
83561 # For showmanyc_helper().
83564 for ac_header in sys/ioctl.h sys/filio.h
83566 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83568 echo "$as_me:$LINENO: checking for $ac_header" >&5
83569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83570 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83571 echo $ECHO_N "(cached) $ECHO_C" >&6
83573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83574 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83575 else
83576 # Is the header compilable?
83577 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83578 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83579 cat >conftest.$ac_ext <<_ACEOF
83580 /* confdefs.h. */
83581 _ACEOF
83582 cat confdefs.h >>conftest.$ac_ext
83583 cat >>conftest.$ac_ext <<_ACEOF
83584 /* end confdefs.h. */
83585 $ac_includes_default
83586 #include <$ac_header>
83587 _ACEOF
83588 rm -f conftest.$ac_objext
83589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83590 (eval $ac_compile) 2>conftest.er1
83591 ac_status=$?
83592 grep -v '^ *+' conftest.er1 >conftest.err
83593 rm -f conftest.er1
83594 cat conftest.err >&5
83595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83596 (exit $ac_status); } &&
83597 { ac_try='test -z "$ac_c_werror_flag"
83598 || test ! -s conftest.err'
83599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83600 (eval $ac_try) 2>&5
83601 ac_status=$?
83602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83603 (exit $ac_status); }; } &&
83604 { ac_try='test -s conftest.$ac_objext'
83605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83606 (eval $ac_try) 2>&5
83607 ac_status=$?
83608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83609 (exit $ac_status); }; }; then
83610 ac_header_compiler=yes
83611 else
83612 echo "$as_me: failed program was:" >&5
83613 sed 's/^/| /' conftest.$ac_ext >&5
83615 ac_header_compiler=no
83617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83618 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83619 echo "${ECHO_T}$ac_header_compiler" >&6
83621 # Is the header present?
83622 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83623 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83624 cat >conftest.$ac_ext <<_ACEOF
83625 /* confdefs.h. */
83626 _ACEOF
83627 cat confdefs.h >>conftest.$ac_ext
83628 cat >>conftest.$ac_ext <<_ACEOF
83629 /* end confdefs.h. */
83630 #include <$ac_header>
83631 _ACEOF
83632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83633 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83634 ac_status=$?
83635 grep -v '^ *+' conftest.er1 >conftest.err
83636 rm -f conftest.er1
83637 cat conftest.err >&5
83638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83639 (exit $ac_status); } >/dev/null; then
83640 if test -s conftest.err; then
83641 ac_cpp_err=$ac_c_preproc_warn_flag
83642 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83643 else
83644 ac_cpp_err=
83646 else
83647 ac_cpp_err=yes
83649 if test -z "$ac_cpp_err"; then
83650 ac_header_preproc=yes
83651 else
83652 echo "$as_me: failed program was:" >&5
83653 sed 's/^/| /' conftest.$ac_ext >&5
83655 ac_header_preproc=no
83657 rm -f conftest.err conftest.$ac_ext
83658 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83659 echo "${ECHO_T}$ac_header_preproc" >&6
83661 # So? What about this header?
83662 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83663 yes:no: )
83664 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83665 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83666 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83667 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83668 ac_header_preproc=yes
83670 no:yes:* )
83671 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83672 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83673 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83674 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83675 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83676 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83677 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83678 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83679 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83680 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83681 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83682 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83684 cat <<\_ASBOX
83685 ## ----------------------------------------- ##
83686 ## Report this to the package-unused lists. ##
83687 ## ----------------------------------------- ##
83688 _ASBOX
83690 sed "s/^/$as_me: WARNING: /" >&2
83692 esac
83693 echo "$as_me:$LINENO: checking for $ac_header" >&5
83694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83695 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83696 echo $ECHO_N "(cached) $ECHO_C" >&6
83697 else
83698 eval "$as_ac_Header=\$ac_header_preproc"
83700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83701 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83705 cat >>confdefs.h <<_ACEOF
83706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83707 _ACEOF
83711 done
83714 if test "${glibcxx_cv_POLL+set}" = set; then
83715 echo $ECHO_N "(cached) $ECHO_C" >&6
83716 else
83718 if test x$gcc_no_link = xyes; then
83719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83721 { (exit 1); exit 1; }; }
83723 cat >conftest.$ac_ext <<_ACEOF
83724 /* confdefs.h. */
83725 _ACEOF
83726 cat confdefs.h >>conftest.$ac_ext
83727 cat >>conftest.$ac_ext <<_ACEOF
83728 /* end confdefs.h. */
83729 #include <poll.h>
83731 main ()
83733 struct pollfd pfd[1];
83734 pfd[0].events = POLLIN;
83735 poll(pfd, 1, 0);
83737 return 0;
83739 _ACEOF
83740 rm -f conftest.$ac_objext conftest$ac_exeext
83741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83742 (eval $ac_link) 2>conftest.er1
83743 ac_status=$?
83744 grep -v '^ *+' conftest.er1 >conftest.err
83745 rm -f conftest.er1
83746 cat conftest.err >&5
83747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83748 (exit $ac_status); } &&
83749 { ac_try='test -z "$ac_c_werror_flag"
83750 || test ! -s conftest.err'
83751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83752 (eval $ac_try) 2>&5
83753 ac_status=$?
83754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83755 (exit $ac_status); }; } &&
83756 { ac_try='test -s conftest$ac_exeext'
83757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83758 (eval $ac_try) 2>&5
83759 ac_status=$?
83760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83761 (exit $ac_status); }; }; then
83762 glibcxx_cv_POLL=yes
83763 else
83764 echo "$as_me: failed program was:" >&5
83765 sed 's/^/| /' conftest.$ac_ext >&5
83767 glibcxx_cv_POLL=no
83769 rm -f conftest.err conftest.$ac_objext \
83770 conftest$ac_exeext conftest.$ac_ext
83774 if test $glibcxx_cv_POLL = yes; then
83775 cat >>confdefs.h <<\_ACEOF
83776 #define HAVE_POLL 1
83777 _ACEOF
83782 if test "${glibcxx_cv_S_ISREG+set}" = set; then
83783 echo $ECHO_N "(cached) $ECHO_C" >&6
83784 else
83786 if test x$gcc_no_link = xyes; then
83787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83789 { (exit 1); exit 1; }; }
83791 cat >conftest.$ac_ext <<_ACEOF
83792 /* confdefs.h. */
83793 _ACEOF
83794 cat confdefs.h >>conftest.$ac_ext
83795 cat >>conftest.$ac_ext <<_ACEOF
83796 /* end confdefs.h. */
83797 #include <sys/stat.h>
83799 main ()
83801 struct stat buffer;
83802 fstat(0, &buffer);
83803 S_ISREG(buffer.st_mode);
83805 return 0;
83807 _ACEOF
83808 rm -f conftest.$ac_objext conftest$ac_exeext
83809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83810 (eval $ac_link) 2>conftest.er1
83811 ac_status=$?
83812 grep -v '^ *+' conftest.er1 >conftest.err
83813 rm -f conftest.er1
83814 cat conftest.err >&5
83815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83816 (exit $ac_status); } &&
83817 { ac_try='test -z "$ac_c_werror_flag"
83818 || test ! -s conftest.err'
83819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83820 (eval $ac_try) 2>&5
83821 ac_status=$?
83822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83823 (exit $ac_status); }; } &&
83824 { ac_try='test -s conftest$ac_exeext'
83825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83826 (eval $ac_try) 2>&5
83827 ac_status=$?
83828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83829 (exit $ac_status); }; }; then
83830 glibcxx_cv_S_ISREG=yes
83831 else
83832 echo "$as_me: failed program was:" >&5
83833 sed 's/^/| /' conftest.$ac_ext >&5
83835 glibcxx_cv_S_ISREG=no
83837 rm -f conftest.err conftest.$ac_objext \
83838 conftest$ac_exeext conftest.$ac_ext
83842 if test "${glibcxx_cv_S_IFREG+set}" = set; then
83843 echo $ECHO_N "(cached) $ECHO_C" >&6
83844 else
83846 if test x$gcc_no_link = xyes; then
83847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83849 { (exit 1); exit 1; }; }
83851 cat >conftest.$ac_ext <<_ACEOF
83852 /* confdefs.h. */
83853 _ACEOF
83854 cat confdefs.h >>conftest.$ac_ext
83855 cat >>conftest.$ac_ext <<_ACEOF
83856 /* end confdefs.h. */
83857 #include <sys/stat.h>
83859 main ()
83861 struct stat buffer;
83862 fstat(0, &buffer);
83863 S_IFREG & buffer.st_mode;
83865 return 0;
83867 _ACEOF
83868 rm -f conftest.$ac_objext conftest$ac_exeext
83869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83870 (eval $ac_link) 2>conftest.er1
83871 ac_status=$?
83872 grep -v '^ *+' conftest.er1 >conftest.err
83873 rm -f conftest.er1
83874 cat conftest.err >&5
83875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83876 (exit $ac_status); } &&
83877 { ac_try='test -z "$ac_c_werror_flag"
83878 || test ! -s conftest.err'
83879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83880 (eval $ac_try) 2>&5
83881 ac_status=$?
83882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83883 (exit $ac_status); }; } &&
83884 { ac_try='test -s conftest$ac_exeext'
83885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83886 (eval $ac_try) 2>&5
83887 ac_status=$?
83888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83889 (exit $ac_status); }; }; then
83890 glibcxx_cv_S_IFREG=yes
83891 else
83892 echo "$as_me: failed program was:" >&5
83893 sed 's/^/| /' conftest.$ac_ext >&5
83895 glibcxx_cv_S_IFREG=no
83897 rm -f conftest.err conftest.$ac_objext \
83898 conftest$ac_exeext conftest.$ac_ext
83902 if test $glibcxx_cv_S_ISREG = yes; then
83903 cat >>confdefs.h <<\_ACEOF
83904 #define HAVE_S_ISREG 1
83905 _ACEOF
83907 elif test $glibcxx_cv_S_IFREG = yes; then
83908 cat >>confdefs.h <<\_ACEOF
83909 #define HAVE_S_IFREG 1
83910 _ACEOF
83915 # For xsputn_2().
83917 for ac_header in sys/uio.h
83919 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83921 echo "$as_me:$LINENO: checking for $ac_header" >&5
83922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83924 echo $ECHO_N "(cached) $ECHO_C" >&6
83926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83928 else
83929 # Is the header compilable?
83930 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83931 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83932 cat >conftest.$ac_ext <<_ACEOF
83933 /* confdefs.h. */
83934 _ACEOF
83935 cat confdefs.h >>conftest.$ac_ext
83936 cat >>conftest.$ac_ext <<_ACEOF
83937 /* end confdefs.h. */
83938 $ac_includes_default
83939 #include <$ac_header>
83940 _ACEOF
83941 rm -f conftest.$ac_objext
83942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83943 (eval $ac_compile) 2>conftest.er1
83944 ac_status=$?
83945 grep -v '^ *+' conftest.er1 >conftest.err
83946 rm -f conftest.er1
83947 cat conftest.err >&5
83948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83949 (exit $ac_status); } &&
83950 { ac_try='test -z "$ac_c_werror_flag"
83951 || test ! -s conftest.err'
83952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83953 (eval $ac_try) 2>&5
83954 ac_status=$?
83955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83956 (exit $ac_status); }; } &&
83957 { ac_try='test -s conftest.$ac_objext'
83958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83959 (eval $ac_try) 2>&5
83960 ac_status=$?
83961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83962 (exit $ac_status); }; }; then
83963 ac_header_compiler=yes
83964 else
83965 echo "$as_me: failed program was:" >&5
83966 sed 's/^/| /' conftest.$ac_ext >&5
83968 ac_header_compiler=no
83970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83971 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83972 echo "${ECHO_T}$ac_header_compiler" >&6
83974 # Is the header present?
83975 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83976 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83977 cat >conftest.$ac_ext <<_ACEOF
83978 /* confdefs.h. */
83979 _ACEOF
83980 cat confdefs.h >>conftest.$ac_ext
83981 cat >>conftest.$ac_ext <<_ACEOF
83982 /* end confdefs.h. */
83983 #include <$ac_header>
83984 _ACEOF
83985 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83986 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83987 ac_status=$?
83988 grep -v '^ *+' conftest.er1 >conftest.err
83989 rm -f conftest.er1
83990 cat conftest.err >&5
83991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83992 (exit $ac_status); } >/dev/null; then
83993 if test -s conftest.err; then
83994 ac_cpp_err=$ac_c_preproc_warn_flag
83995 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83996 else
83997 ac_cpp_err=
83999 else
84000 ac_cpp_err=yes
84002 if test -z "$ac_cpp_err"; then
84003 ac_header_preproc=yes
84004 else
84005 echo "$as_me: failed program was:" >&5
84006 sed 's/^/| /' conftest.$ac_ext >&5
84008 ac_header_preproc=no
84010 rm -f conftest.err conftest.$ac_ext
84011 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84012 echo "${ECHO_T}$ac_header_preproc" >&6
84014 # So? What about this header?
84015 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84016 yes:no: )
84017 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84018 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84019 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84020 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84021 ac_header_preproc=yes
84023 no:yes:* )
84024 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84025 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84026 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84027 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84028 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84029 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84030 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84031 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84032 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84033 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84034 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84035 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84037 cat <<\_ASBOX
84038 ## ----------------------------------------- ##
84039 ## Report this to the package-unused lists. ##
84040 ## ----------------------------------------- ##
84041 _ASBOX
84043 sed "s/^/$as_me: WARNING: /" >&2
84045 esac
84046 echo "$as_me:$LINENO: checking for $ac_header" >&5
84047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84049 echo $ECHO_N "(cached) $ECHO_C" >&6
84050 else
84051 eval "$as_ac_Header=\$ac_header_preproc"
84053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84054 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84057 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84058 cat >>confdefs.h <<_ACEOF
84059 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84060 _ACEOF
84064 done
84067 if test "${glibcxx_cv_WRITEV+set}" = set; then
84068 echo $ECHO_N "(cached) $ECHO_C" >&6
84069 else
84071 if test x$gcc_no_link = xyes; then
84072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84074 { (exit 1); exit 1; }; }
84076 cat >conftest.$ac_ext <<_ACEOF
84077 /* confdefs.h. */
84078 _ACEOF
84079 cat confdefs.h >>conftest.$ac_ext
84080 cat >>conftest.$ac_ext <<_ACEOF
84081 /* end confdefs.h. */
84082 #include <sys/uio.h>
84084 main ()
84086 struct iovec iov[2];
84087 writev(0, iov, 0);
84089 return 0;
84091 _ACEOF
84092 rm -f conftest.$ac_objext conftest$ac_exeext
84093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84094 (eval $ac_link) 2>conftest.er1
84095 ac_status=$?
84096 grep -v '^ *+' conftest.er1 >conftest.err
84097 rm -f conftest.er1
84098 cat conftest.err >&5
84099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84100 (exit $ac_status); } &&
84101 { ac_try='test -z "$ac_c_werror_flag"
84102 || test ! -s conftest.err'
84103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84104 (eval $ac_try) 2>&5
84105 ac_status=$?
84106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84107 (exit $ac_status); }; } &&
84108 { ac_try='test -s conftest$ac_exeext'
84109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84110 (eval $ac_try) 2>&5
84111 ac_status=$?
84112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84113 (exit $ac_status); }; }; then
84114 glibcxx_cv_WRITEV=yes
84115 else
84116 echo "$as_me: failed program was:" >&5
84117 sed 's/^/| /' conftest.$ac_ext >&5
84119 glibcxx_cv_WRITEV=no
84121 rm -f conftest.err conftest.$ac_objext \
84122 conftest$ac_exeext conftest.$ac_ext
84126 if test $glibcxx_cv_WRITEV = yes; then
84127 cat >>confdefs.h <<\_ACEOF
84128 #define HAVE_WRITEV 1
84129 _ACEOF
84134 cat >>confdefs.h <<\_ACEOF
84135 #define HAVE_ACOSF 1
84136 _ACEOF
84138 cat >>confdefs.h <<\_ACEOF
84139 #define HAVE_ASINF 1
84140 _ACEOF
84142 cat >>confdefs.h <<\_ACEOF
84143 #define HAVE_ATANF 1
84144 _ACEOF
84146 cat >>confdefs.h <<\_ACEOF
84147 #define HAVE_ATAN2F 1
84148 _ACEOF
84150 cat >>confdefs.h <<\_ACEOF
84151 #define HAVE_CEILF 1
84152 _ACEOF
84154 cat >>confdefs.h <<\_ACEOF
84155 #define HAVE_COPYSIGN 1
84156 _ACEOF
84158 cat >>confdefs.h <<\_ACEOF
84159 #define HAVE_COPYSIGNF 1
84160 _ACEOF
84162 cat >>confdefs.h <<\_ACEOF
84163 #define HAVE_COSF 1
84164 _ACEOF
84166 cat >>confdefs.h <<\_ACEOF
84167 #define HAVE_COSHF 1
84168 _ACEOF
84170 cat >>confdefs.h <<\_ACEOF
84171 #define HAVE_EXPF 1
84172 _ACEOF
84174 cat >>confdefs.h <<\_ACEOF
84175 #define HAVE_FABSF 1
84176 _ACEOF
84178 cat >>confdefs.h <<\_ACEOF
84179 #define HAVE_FINITE 1
84180 _ACEOF
84182 cat >>confdefs.h <<\_ACEOF
84183 #define HAVE_FINITEF 1
84184 _ACEOF
84186 cat >>confdefs.h <<\_ACEOF
84187 #define HAVE_FLOORF 1
84188 _ACEOF
84190 cat >>confdefs.h <<\_ACEOF
84191 #define HAVE_FMODF 1
84192 _ACEOF
84194 cat >>confdefs.h <<\_ACEOF
84195 #define HAVE_FREXPF 1
84196 _ACEOF
84198 cat >>confdefs.h <<\_ACEOF
84199 #define HAVE_HYPOT 1
84200 _ACEOF
84202 cat >>confdefs.h <<\_ACEOF
84203 #define HAVE_HYPOTF 1
84204 _ACEOF
84206 cat >>confdefs.h <<\_ACEOF
84207 #define HAVE_ISINF 1
84208 _ACEOF
84210 cat >>confdefs.h <<\_ACEOF
84211 #define HAVE_ISINFF 1
84212 _ACEOF
84214 cat >>confdefs.h <<\_ACEOF
84215 #define HAVE_ISNAN 1
84216 _ACEOF
84218 cat >>confdefs.h <<\_ACEOF
84219 #define HAVE_ISNANF 1
84220 _ACEOF
84222 cat >>confdefs.h <<\_ACEOF
84223 #define HAVE_LOGF 1
84224 _ACEOF
84226 cat >>confdefs.h <<\_ACEOF
84227 #define HAVE_LOG10F 1
84228 _ACEOF
84230 cat >>confdefs.h <<\_ACEOF
84231 #define HAVE_MODFF 1
84232 _ACEOF
84234 cat >>confdefs.h <<\_ACEOF
84235 #define HAVE_SINF 1
84236 _ACEOF
84238 cat >>confdefs.h <<\_ACEOF
84239 #define HAVE_SINHF 1
84240 _ACEOF
84242 cat >>confdefs.h <<\_ACEOF
84243 #define HAVE_SINCOS 1
84244 _ACEOF
84246 cat >>confdefs.h <<\_ACEOF
84247 #define HAVE_SINCOSF 1
84248 _ACEOF
84250 cat >>confdefs.h <<\_ACEOF
84251 #define HAVE_SQRTF 1
84252 _ACEOF
84254 cat >>confdefs.h <<\_ACEOF
84255 #define HAVE_TANF 1
84256 _ACEOF
84258 cat >>confdefs.h <<\_ACEOF
84259 #define HAVE_TANHF 1
84260 _ACEOF
84262 if test x"long_double_math_on_this_cpu" = x"yes"; then
84263 cat >>confdefs.h <<\_ACEOF
84264 #define HAVE_ACOSL 1
84265 _ACEOF
84267 cat >>confdefs.h <<\_ACEOF
84268 #define HAVE_ASINL 1
84269 _ACEOF
84271 cat >>confdefs.h <<\_ACEOF
84272 #define HAVE_ATANL 1
84273 _ACEOF
84275 cat >>confdefs.h <<\_ACEOF
84276 #define HAVE_ATAN2L 1
84277 _ACEOF
84279 cat >>confdefs.h <<\_ACEOF
84280 #define HAVE_CEILL 1
84281 _ACEOF
84283 cat >>confdefs.h <<\_ACEOF
84284 #define HAVE_COPYSIGNL 1
84285 _ACEOF
84287 cat >>confdefs.h <<\_ACEOF
84288 #define HAVE_COSL 1
84289 _ACEOF
84291 cat >>confdefs.h <<\_ACEOF
84292 #define HAVE_COSHL 1
84293 _ACEOF
84295 cat >>confdefs.h <<\_ACEOF
84296 #define HAVE_EXPL 1
84297 _ACEOF
84299 cat >>confdefs.h <<\_ACEOF
84300 #define HAVE_FABSL 1
84301 _ACEOF
84303 cat >>confdefs.h <<\_ACEOF
84304 #define HAVE_FINITEL 1
84305 _ACEOF
84307 cat >>confdefs.h <<\_ACEOF
84308 #define HAVE_FLOORL 1
84309 _ACEOF
84311 cat >>confdefs.h <<\_ACEOF
84312 #define HAVE_FMODL 1
84313 _ACEOF
84315 cat >>confdefs.h <<\_ACEOF
84316 #define HAVE_FREXPL 1
84317 _ACEOF
84319 cat >>confdefs.h <<\_ACEOF
84320 #define HAVE_HYPOTL 1
84321 _ACEOF
84323 cat >>confdefs.h <<\_ACEOF
84324 #define HAVE_ISINFL 1
84325 _ACEOF
84327 cat >>confdefs.h <<\_ACEOF
84328 #define HAVE_ISNANL 1
84329 _ACEOF
84331 cat >>confdefs.h <<\_ACEOF
84332 #define HAVE_LOGL 1
84333 _ACEOF
84335 cat >>confdefs.h <<\_ACEOF
84336 #define HAVE_LOG10L 1
84337 _ACEOF
84339 cat >>confdefs.h <<\_ACEOF
84340 #define HAVE_MODFL 1
84341 _ACEOF
84343 cat >>confdefs.h <<\_ACEOF
84344 #define HAVE_POWL 1
84345 _ACEOF
84347 cat >>confdefs.h <<\_ACEOF
84348 #define HAVE_SINL 1
84349 _ACEOF
84351 cat >>confdefs.h <<\_ACEOF
84352 #define HAVE_SINHL 1
84353 _ACEOF
84355 cat >>confdefs.h <<\_ACEOF
84356 #define HAVE_SINCOSL 1
84357 _ACEOF
84359 cat >>confdefs.h <<\_ACEOF
84360 #define HAVE_SQRTL 1
84361 _ACEOF
84363 cat >>confdefs.h <<\_ACEOF
84364 #define HAVE_TANL 1
84365 _ACEOF
84367 cat >>confdefs.h <<\_ACEOF
84368 #define HAVE_TANHL 1
84369 _ACEOF
84373 *-mingw32*)
84377 for ac_header in sys/types.h locale.h float.h
84379 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84380 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84381 echo "$as_me:$LINENO: checking for $ac_header" >&5
84382 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84383 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84384 echo $ECHO_N "(cached) $ECHO_C" >&6
84386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84387 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84388 else
84389 # Is the header compilable?
84390 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84391 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84392 cat >conftest.$ac_ext <<_ACEOF
84393 /* confdefs.h. */
84394 _ACEOF
84395 cat confdefs.h >>conftest.$ac_ext
84396 cat >>conftest.$ac_ext <<_ACEOF
84397 /* end confdefs.h. */
84398 $ac_includes_default
84399 #include <$ac_header>
84400 _ACEOF
84401 rm -f conftest.$ac_objext
84402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84403 (eval $ac_compile) 2>conftest.er1
84404 ac_status=$?
84405 grep -v '^ *+' conftest.er1 >conftest.err
84406 rm -f conftest.er1
84407 cat conftest.err >&5
84408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84409 (exit $ac_status); } &&
84410 { ac_try='test -z "$ac_c_werror_flag"
84411 || test ! -s conftest.err'
84412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84413 (eval $ac_try) 2>&5
84414 ac_status=$?
84415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84416 (exit $ac_status); }; } &&
84417 { ac_try='test -s conftest.$ac_objext'
84418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84419 (eval $ac_try) 2>&5
84420 ac_status=$?
84421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84422 (exit $ac_status); }; }; then
84423 ac_header_compiler=yes
84424 else
84425 echo "$as_me: failed program was:" >&5
84426 sed 's/^/| /' conftest.$ac_ext >&5
84428 ac_header_compiler=no
84430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84431 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84432 echo "${ECHO_T}$ac_header_compiler" >&6
84434 # Is the header present?
84435 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84436 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84437 cat >conftest.$ac_ext <<_ACEOF
84438 /* confdefs.h. */
84439 _ACEOF
84440 cat confdefs.h >>conftest.$ac_ext
84441 cat >>conftest.$ac_ext <<_ACEOF
84442 /* end confdefs.h. */
84443 #include <$ac_header>
84444 _ACEOF
84445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84446 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84447 ac_status=$?
84448 grep -v '^ *+' conftest.er1 >conftest.err
84449 rm -f conftest.er1
84450 cat conftest.err >&5
84451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84452 (exit $ac_status); } >/dev/null; then
84453 if test -s conftest.err; then
84454 ac_cpp_err=$ac_c_preproc_warn_flag
84455 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84456 else
84457 ac_cpp_err=
84459 else
84460 ac_cpp_err=yes
84462 if test -z "$ac_cpp_err"; then
84463 ac_header_preproc=yes
84464 else
84465 echo "$as_me: failed program was:" >&5
84466 sed 's/^/| /' conftest.$ac_ext >&5
84468 ac_header_preproc=no
84470 rm -f conftest.err conftest.$ac_ext
84471 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84472 echo "${ECHO_T}$ac_header_preproc" >&6
84474 # So? What about this header?
84475 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84476 yes:no: )
84477 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84478 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84480 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84481 ac_header_preproc=yes
84483 no:yes:* )
84484 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84485 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84486 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84487 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84488 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84489 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84490 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84491 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84492 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84493 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84494 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84495 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84497 cat <<\_ASBOX
84498 ## ----------------------------------------- ##
84499 ## Report this to the package-unused lists. ##
84500 ## ----------------------------------------- ##
84501 _ASBOX
84503 sed "s/^/$as_me: WARNING: /" >&2
84505 esac
84506 echo "$as_me:$LINENO: checking for $ac_header" >&5
84507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84509 echo $ECHO_N "(cached) $ECHO_C" >&6
84510 else
84511 eval "$as_ac_Header=\$ac_header_preproc"
84513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84517 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84518 cat >>confdefs.h <<_ACEOF
84519 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84520 _ACEOF
84524 done
84527 # If we're not using GNU ld, then there's no point in even trying these
84528 # tests. Check for that first. We should have already tested for gld
84529 # by now (in libtool), but require it now just to be safe...
84530 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
84531 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
84535 # The name set by libtool depends on the version of libtool. Shame on us
84536 # for depending on an impl detail, but c'est la vie. Older versions used
84537 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
84538 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
84539 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
84540 # set (hence we're using an older libtool), then set it.
84541 if test x${with_gnu_ld+set} != xset; then
84542 if test x${ac_cv_prog_gnu_ld+set} != xset; then
84543 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
84544 with_gnu_ld=no
84545 else
84546 with_gnu_ld=$ac_cv_prog_gnu_ld
84550 # Start by getting the version number. I think the libtool test already
84551 # does some of this, but throws away the result.
84553 ldver=`$LD --version 2>/dev/null | head -1 | \
84554 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
84556 glibcxx_gnu_ld_version=`echo $ldver | \
84557 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
84559 # Set --gc-sections.
84560 if test "$with_gnu_ld" = "notbroken"; then
84561 # GNU ld it is! Joy and bunny rabbits!
84563 # All these tests are for C++; save the language and the compiler flags.
84564 # Need to do this so that g++ won't try to link in libstdc++
84565 ac_test_CFLAGS="${CFLAGS+set}"
84566 ac_save_CFLAGS="$CFLAGS"
84567 CFLAGS='-x c++ -Wl,--gc-sections'
84569 # Check for -Wl,--gc-sections
84570 # XXX This test is broken at the moment, as symbols required for linking
84571 # are now in libsupc++ (not built yet). In addition, this test has
84572 # cored on solaris in the past. In addition, --gc-sections doesn't
84573 # really work at the moment (keeps on discarding used sections, first
84574 # .eh_frame and now some of the glibc sections for iconv).
84575 # Bzzzzt. Thanks for playing, maybe next time.
84576 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
84577 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
84578 if test "$cross_compiling" = yes; then
84579 ac_sectionLDflags=yes
84580 else
84581 cat >conftest.$ac_ext <<_ACEOF
84582 /* confdefs.h. */
84583 _ACEOF
84584 cat confdefs.h >>conftest.$ac_ext
84585 cat >>conftest.$ac_ext <<_ACEOF
84586 /* end confdefs.h. */
84588 int main(void)
84590 try { throw 1; }
84591 catch (...) { };
84592 return 0;
84595 _ACEOF
84596 rm -f conftest$ac_exeext
84597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84598 (eval $ac_link) 2>&5
84599 ac_status=$?
84600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84601 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
84602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84603 (eval $ac_try) 2>&5
84604 ac_status=$?
84605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84606 (exit $ac_status); }; }; then
84607 ac_sectionLDflags=yes
84608 else
84609 echo "$as_me: program exited with status $ac_status" >&5
84610 echo "$as_me: failed program was:" >&5
84611 sed 's/^/| /' conftest.$ac_ext >&5
84613 ( exit $ac_status )
84614 ac_sectionLDflags=no
84616 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
84618 if test "$ac_test_CFLAGS" = set; then
84619 CFLAGS="$ac_save_CFLAGS"
84620 else
84621 # this is the suspicious part
84622 CFLAGS=''
84624 if test "$ac_sectionLDflags" = "yes"; then
84625 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
84627 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
84628 echo "${ECHO_T}$ac_sectionLDflags" >&6
84631 # Set linker optimization flags.
84632 if test x"$with_gnu_ld" = x"yes"; then
84633 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
84641 echo "$as_me:$LINENO: checking for main in -lm" >&5
84642 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
84643 if test "${ac_cv_lib_m_main+set}" = set; then
84644 echo $ECHO_N "(cached) $ECHO_C" >&6
84645 else
84646 ac_check_lib_save_LIBS=$LIBS
84647 LIBS="-lm $LIBS"
84648 if test x$gcc_no_link = xyes; then
84649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84651 { (exit 1); exit 1; }; }
84653 cat >conftest.$ac_ext <<_ACEOF
84654 /* confdefs.h. */
84655 _ACEOF
84656 cat confdefs.h >>conftest.$ac_ext
84657 cat >>conftest.$ac_ext <<_ACEOF
84658 /* end confdefs.h. */
84662 main ()
84664 main ();
84666 return 0;
84668 _ACEOF
84669 rm -f conftest.$ac_objext conftest$ac_exeext
84670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84671 (eval $ac_link) 2>conftest.er1
84672 ac_status=$?
84673 grep -v '^ *+' conftest.er1 >conftest.err
84674 rm -f conftest.er1
84675 cat conftest.err >&5
84676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84677 (exit $ac_status); } &&
84678 { ac_try='test -z "$ac_c_werror_flag"
84679 || test ! -s conftest.err'
84680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84681 (eval $ac_try) 2>&5
84682 ac_status=$?
84683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84684 (exit $ac_status); }; } &&
84685 { ac_try='test -s conftest$ac_exeext'
84686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84687 (eval $ac_try) 2>&5
84688 ac_status=$?
84689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84690 (exit $ac_status); }; }; then
84691 ac_cv_lib_m_main=yes
84692 else
84693 echo "$as_me: failed program was:" >&5
84694 sed 's/^/| /' conftest.$ac_ext >&5
84696 ac_cv_lib_m_main=no
84698 rm -f conftest.err conftest.$ac_objext \
84699 conftest$ac_exeext conftest.$ac_ext
84700 LIBS=$ac_check_lib_save_LIBS
84702 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
84703 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
84704 if test $ac_cv_lib_m_main = yes; then
84705 cat >>confdefs.h <<_ACEOF
84706 #define HAVE_LIBM 1
84707 _ACEOF
84709 LIBS="-lm $LIBS"
84714 for ac_func in copysignf
84716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84717 echo "$as_me:$LINENO: checking for $ac_func" >&5
84718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84719 if eval "test \"\${$as_ac_var+set}\" = set"; then
84720 echo $ECHO_N "(cached) $ECHO_C" >&6
84721 else
84722 if test x$gcc_no_link = xyes; then
84723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84725 { (exit 1); exit 1; }; }
84727 cat >conftest.$ac_ext <<_ACEOF
84728 /* confdefs.h. */
84729 _ACEOF
84730 cat confdefs.h >>conftest.$ac_ext
84731 cat >>conftest.$ac_ext <<_ACEOF
84732 /* end confdefs.h. */
84733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84735 #define $ac_func innocuous_$ac_func
84737 /* System header to define __stub macros and hopefully few prototypes,
84738 which can conflict with char $ac_func (); below.
84739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84740 <limits.h> exists even on freestanding compilers. */
84742 #ifdef __STDC__
84743 # include <limits.h>
84744 #else
84745 # include <assert.h>
84746 #endif
84748 #undef $ac_func
84750 /* Override any gcc2 internal prototype to avoid an error. */
84751 #ifdef __cplusplus
84752 extern "C"
84754 #endif
84755 /* We use char because int might match the return type of a gcc2
84756 builtin and then its argument prototype would still apply. */
84757 char $ac_func ();
84758 /* The GNU C library defines this for functions which it implements
84759 to always fail with ENOSYS. Some functions are actually named
84760 something starting with __ and the normal name is an alias. */
84761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84762 choke me
84763 #else
84764 char (*f) () = $ac_func;
84765 #endif
84766 #ifdef __cplusplus
84768 #endif
84771 main ()
84773 return f != $ac_func;
84775 return 0;
84777 _ACEOF
84778 rm -f conftest.$ac_objext conftest$ac_exeext
84779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84780 (eval $ac_link) 2>conftest.er1
84781 ac_status=$?
84782 grep -v '^ *+' conftest.er1 >conftest.err
84783 rm -f conftest.er1
84784 cat conftest.err >&5
84785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84786 (exit $ac_status); } &&
84787 { ac_try='test -z "$ac_c_werror_flag"
84788 || test ! -s conftest.err'
84789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84790 (eval $ac_try) 2>&5
84791 ac_status=$?
84792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84793 (exit $ac_status); }; } &&
84794 { ac_try='test -s conftest$ac_exeext'
84795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84796 (eval $ac_try) 2>&5
84797 ac_status=$?
84798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84799 (exit $ac_status); }; }; then
84800 eval "$as_ac_var=yes"
84801 else
84802 echo "$as_me: failed program was:" >&5
84803 sed 's/^/| /' conftest.$ac_ext >&5
84805 eval "$as_ac_var=no"
84807 rm -f conftest.err conftest.$ac_objext \
84808 conftest$ac_exeext conftest.$ac_ext
84810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84812 if test `eval echo '${'$as_ac_var'}'` = yes; then
84813 cat >>confdefs.h <<_ACEOF
84814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84815 _ACEOF
84817 else
84818 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
84820 done
84824 for ac_func in __signbit
84826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84827 echo "$as_me:$LINENO: checking for $ac_func" >&5
84828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84829 if eval "test \"\${$as_ac_var+set}\" = set"; then
84830 echo $ECHO_N "(cached) $ECHO_C" >&6
84831 else
84832 if test x$gcc_no_link = xyes; then
84833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84835 { (exit 1); exit 1; }; }
84837 cat >conftest.$ac_ext <<_ACEOF
84838 /* confdefs.h. */
84839 _ACEOF
84840 cat confdefs.h >>conftest.$ac_ext
84841 cat >>conftest.$ac_ext <<_ACEOF
84842 /* end confdefs.h. */
84843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84845 #define $ac_func innocuous_$ac_func
84847 /* System header to define __stub macros and hopefully few prototypes,
84848 which can conflict with char $ac_func (); below.
84849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84850 <limits.h> exists even on freestanding compilers. */
84852 #ifdef __STDC__
84853 # include <limits.h>
84854 #else
84855 # include <assert.h>
84856 #endif
84858 #undef $ac_func
84860 /* Override any gcc2 internal prototype to avoid an error. */
84861 #ifdef __cplusplus
84862 extern "C"
84864 #endif
84865 /* We use char because int might match the return type of a gcc2
84866 builtin and then its argument prototype would still apply. */
84867 char $ac_func ();
84868 /* The GNU C library defines this for functions which it implements
84869 to always fail with ENOSYS. Some functions are actually named
84870 something starting with __ and the normal name is an alias. */
84871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84872 choke me
84873 #else
84874 char (*f) () = $ac_func;
84875 #endif
84876 #ifdef __cplusplus
84878 #endif
84881 main ()
84883 return f != $ac_func;
84885 return 0;
84887 _ACEOF
84888 rm -f conftest.$ac_objext conftest$ac_exeext
84889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84890 (eval $ac_link) 2>conftest.er1
84891 ac_status=$?
84892 grep -v '^ *+' conftest.er1 >conftest.err
84893 rm -f conftest.er1
84894 cat conftest.err >&5
84895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84896 (exit $ac_status); } &&
84897 { ac_try='test -z "$ac_c_werror_flag"
84898 || test ! -s conftest.err'
84899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84900 (eval $ac_try) 2>&5
84901 ac_status=$?
84902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84903 (exit $ac_status); }; } &&
84904 { ac_try='test -s conftest$ac_exeext'
84905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84906 (eval $ac_try) 2>&5
84907 ac_status=$?
84908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84909 (exit $ac_status); }; }; then
84910 eval "$as_ac_var=yes"
84911 else
84912 echo "$as_me: failed program was:" >&5
84913 sed 's/^/| /' conftest.$ac_ext >&5
84915 eval "$as_ac_var=no"
84917 rm -f conftest.err conftest.$ac_objext \
84918 conftest$ac_exeext conftest.$ac_ext
84920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84922 if test `eval echo '${'$as_ac_var'}'` = yes; then
84923 cat >>confdefs.h <<_ACEOF
84924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84925 _ACEOF
84927 else
84928 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
84930 done
84934 for ac_func in __signbitf
84936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84937 echo "$as_me:$LINENO: checking for $ac_func" >&5
84938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84939 if eval "test \"\${$as_ac_var+set}\" = set"; then
84940 echo $ECHO_N "(cached) $ECHO_C" >&6
84941 else
84942 if test x$gcc_no_link = xyes; then
84943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84945 { (exit 1); exit 1; }; }
84947 cat >conftest.$ac_ext <<_ACEOF
84948 /* confdefs.h. */
84949 _ACEOF
84950 cat confdefs.h >>conftest.$ac_ext
84951 cat >>conftest.$ac_ext <<_ACEOF
84952 /* end confdefs.h. */
84953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84955 #define $ac_func innocuous_$ac_func
84957 /* System header to define __stub macros and hopefully few prototypes,
84958 which can conflict with char $ac_func (); below.
84959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84960 <limits.h> exists even on freestanding compilers. */
84962 #ifdef __STDC__
84963 # include <limits.h>
84964 #else
84965 # include <assert.h>
84966 #endif
84968 #undef $ac_func
84970 /* Override any gcc2 internal prototype to avoid an error. */
84971 #ifdef __cplusplus
84972 extern "C"
84974 #endif
84975 /* We use char because int might match the return type of a gcc2
84976 builtin and then its argument prototype would still apply. */
84977 char $ac_func ();
84978 /* The GNU C library defines this for functions which it implements
84979 to always fail with ENOSYS. Some functions are actually named
84980 something starting with __ and the normal name is an alias. */
84981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84982 choke me
84983 #else
84984 char (*f) () = $ac_func;
84985 #endif
84986 #ifdef __cplusplus
84988 #endif
84991 main ()
84993 return f != $ac_func;
84995 return 0;
84997 _ACEOF
84998 rm -f conftest.$ac_objext conftest$ac_exeext
84999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85000 (eval $ac_link) 2>conftest.er1
85001 ac_status=$?
85002 grep -v '^ *+' conftest.er1 >conftest.err
85003 rm -f conftest.er1
85004 cat conftest.err >&5
85005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85006 (exit $ac_status); } &&
85007 { ac_try='test -z "$ac_c_werror_flag"
85008 || test ! -s conftest.err'
85009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85010 (eval $ac_try) 2>&5
85011 ac_status=$?
85012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85013 (exit $ac_status); }; } &&
85014 { ac_try='test -s conftest$ac_exeext'
85015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85016 (eval $ac_try) 2>&5
85017 ac_status=$?
85018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85019 (exit $ac_status); }; }; then
85020 eval "$as_ac_var=yes"
85021 else
85022 echo "$as_me: failed program was:" >&5
85023 sed 's/^/| /' conftest.$ac_ext >&5
85025 eval "$as_ac_var=no"
85027 rm -f conftest.err conftest.$ac_objext \
85028 conftest$ac_exeext conftest.$ac_ext
85030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85032 if test `eval echo '${'$as_ac_var'}'` = yes; then
85033 cat >>confdefs.h <<_ACEOF
85034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85035 _ACEOF
85037 else
85038 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85040 done
85043 if test x$ac_cv_func_copysignl = x"yes"; then
85045 for ac_func in __signbitl
85047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85048 echo "$as_me:$LINENO: checking for $ac_func" >&5
85049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85050 if eval "test \"\${$as_ac_var+set}\" = set"; then
85051 echo $ECHO_N "(cached) $ECHO_C" >&6
85052 else
85053 if test x$gcc_no_link = xyes; then
85054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85056 { (exit 1); exit 1; }; }
85058 cat >conftest.$ac_ext <<_ACEOF
85059 /* confdefs.h. */
85060 _ACEOF
85061 cat confdefs.h >>conftest.$ac_ext
85062 cat >>conftest.$ac_ext <<_ACEOF
85063 /* end confdefs.h. */
85064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85066 #define $ac_func innocuous_$ac_func
85068 /* System header to define __stub macros and hopefully few prototypes,
85069 which can conflict with char $ac_func (); below.
85070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85071 <limits.h> exists even on freestanding compilers. */
85073 #ifdef __STDC__
85074 # include <limits.h>
85075 #else
85076 # include <assert.h>
85077 #endif
85079 #undef $ac_func
85081 /* Override any gcc2 internal prototype to avoid an error. */
85082 #ifdef __cplusplus
85083 extern "C"
85085 #endif
85086 /* We use char because int might match the return type of a gcc2
85087 builtin and then its argument prototype would still apply. */
85088 char $ac_func ();
85089 /* The GNU C library defines this for functions which it implements
85090 to always fail with ENOSYS. Some functions are actually named
85091 something starting with __ and the normal name is an alias. */
85092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85093 choke me
85094 #else
85095 char (*f) () = $ac_func;
85096 #endif
85097 #ifdef __cplusplus
85099 #endif
85102 main ()
85104 return f != $ac_func;
85106 return 0;
85108 _ACEOF
85109 rm -f conftest.$ac_objext conftest$ac_exeext
85110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85111 (eval $ac_link) 2>conftest.er1
85112 ac_status=$?
85113 grep -v '^ *+' conftest.er1 >conftest.err
85114 rm -f conftest.er1
85115 cat conftest.err >&5
85116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85117 (exit $ac_status); } &&
85118 { ac_try='test -z "$ac_c_werror_flag"
85119 || test ! -s conftest.err'
85120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85121 (eval $ac_try) 2>&5
85122 ac_status=$?
85123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85124 (exit $ac_status); }; } &&
85125 { ac_try='test -s conftest$ac_exeext'
85126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85127 (eval $ac_try) 2>&5
85128 ac_status=$?
85129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85130 (exit $ac_status); }; }; then
85131 eval "$as_ac_var=yes"
85132 else
85133 echo "$as_me: failed program was:" >&5
85134 sed 's/^/| /' conftest.$ac_ext >&5
85136 eval "$as_ac_var=no"
85138 rm -f conftest.err conftest.$ac_objext \
85139 conftest$ac_exeext conftest.$ac_ext
85141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85143 if test `eval echo '${'$as_ac_var'}'` = yes; then
85144 cat >>confdefs.h <<_ACEOF
85145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85146 _ACEOF
85148 else
85149 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
85151 done
85155 # Used in libmath/Makefile.am.
85156 if test -n "$LIBMATHOBJS"; then
85157 need_libmath=yes
85162 # Test wchar.h for mbstate_t, which is needed for char_traits and
85163 # others even if wchar_t support is not on.
85164 echo "$as_me:$LINENO: checking for mbstate_t" >&5
85165 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
85166 cat >conftest.$ac_ext <<_ACEOF
85167 /* confdefs.h. */
85168 _ACEOF
85169 cat confdefs.h >>conftest.$ac_ext
85170 cat >>conftest.$ac_ext <<_ACEOF
85171 /* end confdefs.h. */
85172 #include <wchar.h>
85174 main ()
85176 mbstate_t teststate;
85178 return 0;
85180 _ACEOF
85181 rm -f conftest.$ac_objext
85182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85183 (eval $ac_compile) 2>conftest.er1
85184 ac_status=$?
85185 grep -v '^ *+' conftest.er1 >conftest.err
85186 rm -f conftest.er1
85187 cat conftest.err >&5
85188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85189 (exit $ac_status); } &&
85190 { ac_try='test -z "$ac_c_werror_flag"
85191 || test ! -s conftest.err'
85192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85193 (eval $ac_try) 2>&5
85194 ac_status=$?
85195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85196 (exit $ac_status); }; } &&
85197 { ac_try='test -s conftest.$ac_objext'
85198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85199 (eval $ac_try) 2>&5
85200 ac_status=$?
85201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85202 (exit $ac_status); }; }; then
85203 have_mbstate_t=yes
85204 else
85205 echo "$as_me: failed program was:" >&5
85206 sed 's/^/| /' conftest.$ac_ext >&5
85208 have_mbstate_t=no
85210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85211 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
85212 echo "${ECHO_T}$have_mbstate_t" >&6
85213 if test x"$have_mbstate_t" = xyes; then
85214 cat >>confdefs.h <<\_ACEOF
85215 #define HAVE_MBSTATE_T 1
85216 _ACEOF
85220 # Sanity check for existence of ISO C99 headers for extended encoding.
85222 for ac_header in wchar.h
85224 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85226 echo "$as_me:$LINENO: checking for $ac_header" >&5
85227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85229 echo $ECHO_N "(cached) $ECHO_C" >&6
85231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85232 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85233 else
85234 # Is the header compilable?
85235 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85236 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85237 cat >conftest.$ac_ext <<_ACEOF
85238 /* confdefs.h. */
85239 _ACEOF
85240 cat confdefs.h >>conftest.$ac_ext
85241 cat >>conftest.$ac_ext <<_ACEOF
85242 /* end confdefs.h. */
85243 $ac_includes_default
85244 #include <$ac_header>
85245 _ACEOF
85246 rm -f conftest.$ac_objext
85247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85248 (eval $ac_compile) 2>conftest.er1
85249 ac_status=$?
85250 grep -v '^ *+' conftest.er1 >conftest.err
85251 rm -f conftest.er1
85252 cat conftest.err >&5
85253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85254 (exit $ac_status); } &&
85255 { ac_try='test -z "$ac_c_werror_flag"
85256 || test ! -s conftest.err'
85257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85258 (eval $ac_try) 2>&5
85259 ac_status=$?
85260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85261 (exit $ac_status); }; } &&
85262 { ac_try='test -s conftest.$ac_objext'
85263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85264 (eval $ac_try) 2>&5
85265 ac_status=$?
85266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85267 (exit $ac_status); }; }; then
85268 ac_header_compiler=yes
85269 else
85270 echo "$as_me: failed program was:" >&5
85271 sed 's/^/| /' conftest.$ac_ext >&5
85273 ac_header_compiler=no
85275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85276 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85277 echo "${ECHO_T}$ac_header_compiler" >&6
85279 # Is the header present?
85280 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85281 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85282 cat >conftest.$ac_ext <<_ACEOF
85283 /* confdefs.h. */
85284 _ACEOF
85285 cat confdefs.h >>conftest.$ac_ext
85286 cat >>conftest.$ac_ext <<_ACEOF
85287 /* end confdefs.h. */
85288 #include <$ac_header>
85289 _ACEOF
85290 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85291 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85292 ac_status=$?
85293 grep -v '^ *+' conftest.er1 >conftest.err
85294 rm -f conftest.er1
85295 cat conftest.err >&5
85296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85297 (exit $ac_status); } >/dev/null; then
85298 if test -s conftest.err; then
85299 ac_cpp_err=$ac_c_preproc_warn_flag
85300 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85301 else
85302 ac_cpp_err=
85304 else
85305 ac_cpp_err=yes
85307 if test -z "$ac_cpp_err"; then
85308 ac_header_preproc=yes
85309 else
85310 echo "$as_me: failed program was:" >&5
85311 sed 's/^/| /' conftest.$ac_ext >&5
85313 ac_header_preproc=no
85315 rm -f conftest.err conftest.$ac_ext
85316 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85317 echo "${ECHO_T}$ac_header_preproc" >&6
85319 # So? What about this header?
85320 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85321 yes:no: )
85322 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85323 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85325 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85326 ac_header_preproc=yes
85328 no:yes:* )
85329 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85330 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85331 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85332 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85333 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85334 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85335 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85336 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85338 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85339 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85340 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85342 cat <<\_ASBOX
85343 ## ----------------------------------------- ##
85344 ## Report this to the package-unused lists. ##
85345 ## ----------------------------------------- ##
85346 _ASBOX
85348 sed "s/^/$as_me: WARNING: /" >&2
85350 esac
85351 echo "$as_me:$LINENO: checking for $ac_header" >&5
85352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85354 echo $ECHO_N "(cached) $ECHO_C" >&6
85355 else
85356 eval "$as_ac_Header=\$ac_header_preproc"
85358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85359 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85362 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85363 cat >>confdefs.h <<_ACEOF
85364 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85365 _ACEOF
85366 ac_has_wchar_h=yes
85367 else
85368 ac_has_wchar_h=no
85371 done
85374 for ac_header in wctype.h
85376 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85378 echo "$as_me:$LINENO: checking for $ac_header" >&5
85379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85380 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85381 echo $ECHO_N "(cached) $ECHO_C" >&6
85383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85384 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85385 else
85386 # Is the header compilable?
85387 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85388 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85389 cat >conftest.$ac_ext <<_ACEOF
85390 /* confdefs.h. */
85391 _ACEOF
85392 cat confdefs.h >>conftest.$ac_ext
85393 cat >>conftest.$ac_ext <<_ACEOF
85394 /* end confdefs.h. */
85395 $ac_includes_default
85396 #include <$ac_header>
85397 _ACEOF
85398 rm -f conftest.$ac_objext
85399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85400 (eval $ac_compile) 2>conftest.er1
85401 ac_status=$?
85402 grep -v '^ *+' conftest.er1 >conftest.err
85403 rm -f conftest.er1
85404 cat conftest.err >&5
85405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85406 (exit $ac_status); } &&
85407 { ac_try='test -z "$ac_c_werror_flag"
85408 || test ! -s conftest.err'
85409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85410 (eval $ac_try) 2>&5
85411 ac_status=$?
85412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85413 (exit $ac_status); }; } &&
85414 { ac_try='test -s conftest.$ac_objext'
85415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85416 (eval $ac_try) 2>&5
85417 ac_status=$?
85418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85419 (exit $ac_status); }; }; then
85420 ac_header_compiler=yes
85421 else
85422 echo "$as_me: failed program was:" >&5
85423 sed 's/^/| /' conftest.$ac_ext >&5
85425 ac_header_compiler=no
85427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85428 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85429 echo "${ECHO_T}$ac_header_compiler" >&6
85431 # Is the header present?
85432 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85433 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85434 cat >conftest.$ac_ext <<_ACEOF
85435 /* confdefs.h. */
85436 _ACEOF
85437 cat confdefs.h >>conftest.$ac_ext
85438 cat >>conftest.$ac_ext <<_ACEOF
85439 /* end confdefs.h. */
85440 #include <$ac_header>
85441 _ACEOF
85442 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85443 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85444 ac_status=$?
85445 grep -v '^ *+' conftest.er1 >conftest.err
85446 rm -f conftest.er1
85447 cat conftest.err >&5
85448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85449 (exit $ac_status); } >/dev/null; then
85450 if test -s conftest.err; then
85451 ac_cpp_err=$ac_c_preproc_warn_flag
85452 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85453 else
85454 ac_cpp_err=
85456 else
85457 ac_cpp_err=yes
85459 if test -z "$ac_cpp_err"; then
85460 ac_header_preproc=yes
85461 else
85462 echo "$as_me: failed program was:" >&5
85463 sed 's/^/| /' conftest.$ac_ext >&5
85465 ac_header_preproc=no
85467 rm -f conftest.err conftest.$ac_ext
85468 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85469 echo "${ECHO_T}$ac_header_preproc" >&6
85471 # So? What about this header?
85472 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85473 yes:no: )
85474 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85475 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85477 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85478 ac_header_preproc=yes
85480 no:yes:* )
85481 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85482 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85483 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85484 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85485 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85486 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85487 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85488 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85489 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85490 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85491 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85492 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85494 cat <<\_ASBOX
85495 ## ----------------------------------------- ##
85496 ## Report this to the package-unused lists. ##
85497 ## ----------------------------------------- ##
85498 _ASBOX
85500 sed "s/^/$as_me: WARNING: /" >&2
85502 esac
85503 echo "$as_me:$LINENO: checking for $ac_header" >&5
85504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85506 echo $ECHO_N "(cached) $ECHO_C" >&6
85507 else
85508 eval "$as_ac_Header=\$ac_header_preproc"
85510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85511 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85514 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85515 cat >>confdefs.h <<_ACEOF
85516 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85517 _ACEOF
85518 ac_has_wctype_h=yes
85519 else
85520 ac_has_wctype_h=no
85523 done
85526 # Only continue checking if the ISO C99 headers exist and support is on.
85527 if test x"$ac_has_wchar_h" = xyes &&
85528 test x"$ac_has_wctype_h" = xyes &&
85529 test x"$enable_c_mbchar" != xno; then
85531 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
85532 # numeric_limits can instantiate type_traits<wchar_t>
85533 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
85534 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
85535 cat >conftest.$ac_ext <<_ACEOF
85536 /* confdefs.h. */
85537 _ACEOF
85538 cat confdefs.h >>conftest.$ac_ext
85539 cat >>conftest.$ac_ext <<_ACEOF
85540 /* end confdefs.h. */
85541 #include <wchar.h>
85543 main ()
85545 int i = WCHAR_MIN; int j = WCHAR_MAX;
85547 return 0;
85549 _ACEOF
85550 rm -f conftest.$ac_objext
85551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85552 (eval $ac_compile) 2>conftest.er1
85553 ac_status=$?
85554 grep -v '^ *+' conftest.er1 >conftest.err
85555 rm -f conftest.er1
85556 cat conftest.err >&5
85557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85558 (exit $ac_status); } &&
85559 { ac_try='test -z "$ac_c_werror_flag"
85560 || test ! -s conftest.err'
85561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85562 (eval $ac_try) 2>&5
85563 ac_status=$?
85564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85565 (exit $ac_status); }; } &&
85566 { ac_try='test -s conftest.$ac_objext'
85567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85568 (eval $ac_try) 2>&5
85569 ac_status=$?
85570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85571 (exit $ac_status); }; }; then
85572 has_wchar_minmax=yes
85573 else
85574 echo "$as_me: failed program was:" >&5
85575 sed 's/^/| /' conftest.$ac_ext >&5
85577 has_wchar_minmax=no
85579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85580 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
85581 echo "${ECHO_T}$has_wchar_minmax" >&6
85583 # Test wchar.h for WEOF, which is what we use to determine whether
85584 # to specialize for char_traits<wchar_t> or not.
85585 echo "$as_me:$LINENO: checking for WEOF" >&5
85586 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
85587 cat >conftest.$ac_ext <<_ACEOF
85588 /* confdefs.h. */
85589 _ACEOF
85590 cat confdefs.h >>conftest.$ac_ext
85591 cat >>conftest.$ac_ext <<_ACEOF
85592 /* end confdefs.h. */
85594 #include <wchar.h>
85595 #include <stddef.h>
85597 main ()
85599 wint_t i = WEOF;
85601 return 0;
85603 _ACEOF
85604 rm -f conftest.$ac_objext
85605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85606 (eval $ac_compile) 2>conftest.er1
85607 ac_status=$?
85608 grep -v '^ *+' conftest.er1 >conftest.err
85609 rm -f conftest.er1
85610 cat conftest.err >&5
85611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85612 (exit $ac_status); } &&
85613 { ac_try='test -z "$ac_c_werror_flag"
85614 || test ! -s conftest.err'
85615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85616 (eval $ac_try) 2>&5
85617 ac_status=$?
85618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85619 (exit $ac_status); }; } &&
85620 { ac_try='test -s conftest.$ac_objext'
85621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85622 (eval $ac_try) 2>&5
85623 ac_status=$?
85624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85625 (exit $ac_status); }; }; then
85626 has_weof=yes
85627 else
85628 echo "$as_me: failed program was:" >&5
85629 sed 's/^/| /' conftest.$ac_ext >&5
85631 has_weof=no
85633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85634 echo "$as_me:$LINENO: result: $has_weof" >&5
85635 echo "${ECHO_T}$has_weof" >&6
85637 # Tests for wide character functions used in char_traits<wchar_t>.
85638 ac_wfuncs=yes
85645 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
85647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85648 echo "$as_me:$LINENO: checking for $ac_func" >&5
85649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85650 if eval "test \"\${$as_ac_var+set}\" = set"; then
85651 echo $ECHO_N "(cached) $ECHO_C" >&6
85652 else
85653 if test x$gcc_no_link = xyes; then
85654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85656 { (exit 1); exit 1; }; }
85658 cat >conftest.$ac_ext <<_ACEOF
85659 /* confdefs.h. */
85660 _ACEOF
85661 cat confdefs.h >>conftest.$ac_ext
85662 cat >>conftest.$ac_ext <<_ACEOF
85663 /* end confdefs.h. */
85664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85666 #define $ac_func innocuous_$ac_func
85668 /* System header to define __stub macros and hopefully few prototypes,
85669 which can conflict with char $ac_func (); below.
85670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85671 <limits.h> exists even on freestanding compilers. */
85673 #ifdef __STDC__
85674 # include <limits.h>
85675 #else
85676 # include <assert.h>
85677 #endif
85679 #undef $ac_func
85681 /* Override any gcc2 internal prototype to avoid an error. */
85682 #ifdef __cplusplus
85683 extern "C"
85685 #endif
85686 /* We use char because int might match the return type of a gcc2
85687 builtin and then its argument prototype would still apply. */
85688 char $ac_func ();
85689 /* The GNU C library defines this for functions which it implements
85690 to always fail with ENOSYS. Some functions are actually named
85691 something starting with __ and the normal name is an alias. */
85692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85693 choke me
85694 #else
85695 char (*f) () = $ac_func;
85696 #endif
85697 #ifdef __cplusplus
85699 #endif
85702 main ()
85704 return f != $ac_func;
85706 return 0;
85708 _ACEOF
85709 rm -f conftest.$ac_objext conftest$ac_exeext
85710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85711 (eval $ac_link) 2>conftest.er1
85712 ac_status=$?
85713 grep -v '^ *+' conftest.er1 >conftest.err
85714 rm -f conftest.er1
85715 cat conftest.err >&5
85716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85717 (exit $ac_status); } &&
85718 { ac_try='test -z "$ac_c_werror_flag"
85719 || test ! -s conftest.err'
85720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85721 (eval $ac_try) 2>&5
85722 ac_status=$?
85723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85724 (exit $ac_status); }; } &&
85725 { ac_try='test -s conftest$ac_exeext'
85726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85727 (eval $ac_try) 2>&5
85728 ac_status=$?
85729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85730 (exit $ac_status); }; }; then
85731 eval "$as_ac_var=yes"
85732 else
85733 echo "$as_me: failed program was:" >&5
85734 sed 's/^/| /' conftest.$ac_ext >&5
85736 eval "$as_ac_var=no"
85738 rm -f conftest.err conftest.$ac_objext \
85739 conftest$ac_exeext conftest.$ac_ext
85741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85743 if test `eval echo '${'$as_ac_var'}'` = yes; then
85744 cat >>confdefs.h <<_ACEOF
85745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85746 _ACEOF
85748 else
85749 ac_wfuncs=no
85751 done
85754 # Checks for names injected into std:: by the c_std headers.
85801 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
85802 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
85803 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
85804 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
85805 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
85806 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
85808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85809 echo "$as_me:$LINENO: checking for $ac_func" >&5
85810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85811 if eval "test \"\${$as_ac_var+set}\" = set"; then
85812 echo $ECHO_N "(cached) $ECHO_C" >&6
85813 else
85814 if test x$gcc_no_link = xyes; then
85815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85817 { (exit 1); exit 1; }; }
85819 cat >conftest.$ac_ext <<_ACEOF
85820 /* confdefs.h. */
85821 _ACEOF
85822 cat confdefs.h >>conftest.$ac_ext
85823 cat >>conftest.$ac_ext <<_ACEOF
85824 /* end confdefs.h. */
85825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85827 #define $ac_func innocuous_$ac_func
85829 /* System header to define __stub macros and hopefully few prototypes,
85830 which can conflict with char $ac_func (); below.
85831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85832 <limits.h> exists even on freestanding compilers. */
85834 #ifdef __STDC__
85835 # include <limits.h>
85836 #else
85837 # include <assert.h>
85838 #endif
85840 #undef $ac_func
85842 /* Override any gcc2 internal prototype to avoid an error. */
85843 #ifdef __cplusplus
85844 extern "C"
85846 #endif
85847 /* We use char because int might match the return type of a gcc2
85848 builtin and then its argument prototype would still apply. */
85849 char $ac_func ();
85850 /* The GNU C library defines this for functions which it implements
85851 to always fail with ENOSYS. Some functions are actually named
85852 something starting with __ and the normal name is an alias. */
85853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85854 choke me
85855 #else
85856 char (*f) () = $ac_func;
85857 #endif
85858 #ifdef __cplusplus
85860 #endif
85863 main ()
85865 return f != $ac_func;
85867 return 0;
85869 _ACEOF
85870 rm -f conftest.$ac_objext conftest$ac_exeext
85871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85872 (eval $ac_link) 2>conftest.er1
85873 ac_status=$?
85874 grep -v '^ *+' conftest.er1 >conftest.err
85875 rm -f conftest.er1
85876 cat conftest.err >&5
85877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85878 (exit $ac_status); } &&
85879 { ac_try='test -z "$ac_c_werror_flag"
85880 || test ! -s conftest.err'
85881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85882 (eval $ac_try) 2>&5
85883 ac_status=$?
85884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85885 (exit $ac_status); }; } &&
85886 { ac_try='test -s conftest$ac_exeext'
85887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85888 (eval $ac_try) 2>&5
85889 ac_status=$?
85890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85891 (exit $ac_status); }; }; then
85892 eval "$as_ac_var=yes"
85893 else
85894 echo "$as_me: failed program was:" >&5
85895 sed 's/^/| /' conftest.$ac_ext >&5
85897 eval "$as_ac_var=no"
85899 rm -f conftest.err conftest.$ac_objext \
85900 conftest$ac_exeext conftest.$ac_ext
85902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85904 if test `eval echo '${'$as_ac_var'}'` = yes; then
85905 cat >>confdefs.h <<_ACEOF
85906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85907 _ACEOF
85909 else
85910 ac_wfuncs=no
85912 done
85915 # Checks for wide character functions that are not required
85916 # for basic wchar_t support. Don't disable support if they are missing.
85917 # Injection of these is wrapped with guard macros.
85923 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
85925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85926 echo "$as_me:$LINENO: checking for $ac_func" >&5
85927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85928 if eval "test \"\${$as_ac_var+set}\" = set"; then
85929 echo $ECHO_N "(cached) $ECHO_C" >&6
85930 else
85931 if test x$gcc_no_link = xyes; then
85932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85934 { (exit 1); exit 1; }; }
85936 cat >conftest.$ac_ext <<_ACEOF
85937 /* confdefs.h. */
85938 _ACEOF
85939 cat confdefs.h >>conftest.$ac_ext
85940 cat >>conftest.$ac_ext <<_ACEOF
85941 /* end confdefs.h. */
85942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85944 #define $ac_func innocuous_$ac_func
85946 /* System header to define __stub macros and hopefully few prototypes,
85947 which can conflict with char $ac_func (); below.
85948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85949 <limits.h> exists even on freestanding compilers. */
85951 #ifdef __STDC__
85952 # include <limits.h>
85953 #else
85954 # include <assert.h>
85955 #endif
85957 #undef $ac_func
85959 /* Override any gcc2 internal prototype to avoid an error. */
85960 #ifdef __cplusplus
85961 extern "C"
85963 #endif
85964 /* We use char because int might match the return type of a gcc2
85965 builtin and then its argument prototype would still apply. */
85966 char $ac_func ();
85967 /* The GNU C library defines this for functions which it implements
85968 to always fail with ENOSYS. Some functions are actually named
85969 something starting with __ and the normal name is an alias. */
85970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85971 choke me
85972 #else
85973 char (*f) () = $ac_func;
85974 #endif
85975 #ifdef __cplusplus
85977 #endif
85980 main ()
85982 return f != $ac_func;
85984 return 0;
85986 _ACEOF
85987 rm -f conftest.$ac_objext conftest$ac_exeext
85988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85989 (eval $ac_link) 2>conftest.er1
85990 ac_status=$?
85991 grep -v '^ *+' conftest.er1 >conftest.err
85992 rm -f conftest.er1
85993 cat conftest.err >&5
85994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85995 (exit $ac_status); } &&
85996 { ac_try='test -z "$ac_c_werror_flag"
85997 || test ! -s conftest.err'
85998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85999 (eval $ac_try) 2>&5
86000 ac_status=$?
86001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86002 (exit $ac_status); }; } &&
86003 { ac_try='test -s conftest$ac_exeext'
86004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86005 (eval $ac_try) 2>&5
86006 ac_status=$?
86007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86008 (exit $ac_status); }; }; then
86009 eval "$as_ac_var=yes"
86010 else
86011 echo "$as_me: failed program was:" >&5
86012 sed 's/^/| /' conftest.$ac_ext >&5
86014 eval "$as_ac_var=no"
86016 rm -f conftest.err conftest.$ac_objext \
86017 conftest$ac_exeext conftest.$ac_ext
86019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86021 if test `eval echo '${'$as_ac_var'}'` = yes; then
86022 cat >>confdefs.h <<_ACEOF
86023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86024 _ACEOF
86027 done
86030 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
86031 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
86032 if test x"$has_weof" = xyes &&
86033 test x"$has_wchar_minmax" = xyes &&
86034 test x"$ac_wfuncs" = xyes;
86035 then
86036 ac_isoC99_wchar_t=yes
86037 else
86038 ac_isoC99_wchar_t=no
86040 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
86041 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
86043 # Use iconv for wchar_t to char conversions. As such, check for
86044 # X/Open Portability Guide, version 2 features (XPG2).
86045 if test "${ac_cv_header_iconv_h+set}" = set; then
86046 echo "$as_me:$LINENO: checking for iconv.h" >&5
86047 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86048 if test "${ac_cv_header_iconv_h+set}" = set; then
86049 echo $ECHO_N "(cached) $ECHO_C" >&6
86051 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86052 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86053 else
86054 # Is the header compilable?
86055 echo "$as_me:$LINENO: checking iconv.h usability" >&5
86056 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
86057 cat >conftest.$ac_ext <<_ACEOF
86058 /* confdefs.h. */
86059 _ACEOF
86060 cat confdefs.h >>conftest.$ac_ext
86061 cat >>conftest.$ac_ext <<_ACEOF
86062 /* end confdefs.h. */
86063 $ac_includes_default
86064 #include <iconv.h>
86065 _ACEOF
86066 rm -f conftest.$ac_objext
86067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86068 (eval $ac_compile) 2>conftest.er1
86069 ac_status=$?
86070 grep -v '^ *+' conftest.er1 >conftest.err
86071 rm -f conftest.er1
86072 cat conftest.err >&5
86073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86074 (exit $ac_status); } &&
86075 { ac_try='test -z "$ac_c_werror_flag"
86076 || test ! -s conftest.err'
86077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86078 (eval $ac_try) 2>&5
86079 ac_status=$?
86080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86081 (exit $ac_status); }; } &&
86082 { ac_try='test -s conftest.$ac_objext'
86083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86084 (eval $ac_try) 2>&5
86085 ac_status=$?
86086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86087 (exit $ac_status); }; }; then
86088 ac_header_compiler=yes
86089 else
86090 echo "$as_me: failed program was:" >&5
86091 sed 's/^/| /' conftest.$ac_ext >&5
86093 ac_header_compiler=no
86095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86096 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86097 echo "${ECHO_T}$ac_header_compiler" >&6
86099 # Is the header present?
86100 echo "$as_me:$LINENO: checking iconv.h presence" >&5
86101 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
86102 cat >conftest.$ac_ext <<_ACEOF
86103 /* confdefs.h. */
86104 _ACEOF
86105 cat confdefs.h >>conftest.$ac_ext
86106 cat >>conftest.$ac_ext <<_ACEOF
86107 /* end confdefs.h. */
86108 #include <iconv.h>
86109 _ACEOF
86110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86111 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86112 ac_status=$?
86113 grep -v '^ *+' conftest.er1 >conftest.err
86114 rm -f conftest.er1
86115 cat conftest.err >&5
86116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86117 (exit $ac_status); } >/dev/null; then
86118 if test -s conftest.err; then
86119 ac_cpp_err=$ac_c_preproc_warn_flag
86120 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86121 else
86122 ac_cpp_err=
86124 else
86125 ac_cpp_err=yes
86127 if test -z "$ac_cpp_err"; then
86128 ac_header_preproc=yes
86129 else
86130 echo "$as_me: failed program was:" >&5
86131 sed 's/^/| /' conftest.$ac_ext >&5
86133 ac_header_preproc=no
86135 rm -f conftest.err conftest.$ac_ext
86136 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86137 echo "${ECHO_T}$ac_header_preproc" >&6
86139 # So? What about this header?
86140 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86141 yes:no: )
86142 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
86143 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86144 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
86145 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
86146 ac_header_preproc=yes
86148 no:yes:* )
86149 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
86150 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
86151 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
86152 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
86153 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
86154 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
86155 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
86156 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
86157 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
86158 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
86159 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
86160 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
86162 cat <<\_ASBOX
86163 ## ----------------------------------------- ##
86164 ## Report this to the package-unused lists. ##
86165 ## ----------------------------------------- ##
86166 _ASBOX
86168 sed "s/^/$as_me: WARNING: /" >&2
86170 esac
86171 echo "$as_me:$LINENO: checking for iconv.h" >&5
86172 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86173 if test "${ac_cv_header_iconv_h+set}" = set; then
86174 echo $ECHO_N "(cached) $ECHO_C" >&6
86175 else
86176 ac_cv_header_iconv_h=$ac_header_preproc
86178 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86179 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86182 if test $ac_cv_header_iconv_h = yes; then
86183 ac_has_iconv_h=yes
86184 else
86185 ac_has_iconv_h=no
86189 if test "${ac_cv_header_langinfo_h+set}" = set; then
86190 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86191 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86192 if test "${ac_cv_header_langinfo_h+set}" = set; then
86193 echo $ECHO_N "(cached) $ECHO_C" >&6
86195 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86196 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86197 else
86198 # Is the header compilable?
86199 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
86200 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
86201 cat >conftest.$ac_ext <<_ACEOF
86202 /* confdefs.h. */
86203 _ACEOF
86204 cat confdefs.h >>conftest.$ac_ext
86205 cat >>conftest.$ac_ext <<_ACEOF
86206 /* end confdefs.h. */
86207 $ac_includes_default
86208 #include <langinfo.h>
86209 _ACEOF
86210 rm -f conftest.$ac_objext
86211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86212 (eval $ac_compile) 2>conftest.er1
86213 ac_status=$?
86214 grep -v '^ *+' conftest.er1 >conftest.err
86215 rm -f conftest.er1
86216 cat conftest.err >&5
86217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86218 (exit $ac_status); } &&
86219 { ac_try='test -z "$ac_c_werror_flag"
86220 || test ! -s conftest.err'
86221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86222 (eval $ac_try) 2>&5
86223 ac_status=$?
86224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86225 (exit $ac_status); }; } &&
86226 { ac_try='test -s conftest.$ac_objext'
86227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86228 (eval $ac_try) 2>&5
86229 ac_status=$?
86230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86231 (exit $ac_status); }; }; then
86232 ac_header_compiler=yes
86233 else
86234 echo "$as_me: failed program was:" >&5
86235 sed 's/^/| /' conftest.$ac_ext >&5
86237 ac_header_compiler=no
86239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86240 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86241 echo "${ECHO_T}$ac_header_compiler" >&6
86243 # Is the header present?
86244 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
86245 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
86246 cat >conftest.$ac_ext <<_ACEOF
86247 /* confdefs.h. */
86248 _ACEOF
86249 cat confdefs.h >>conftest.$ac_ext
86250 cat >>conftest.$ac_ext <<_ACEOF
86251 /* end confdefs.h. */
86252 #include <langinfo.h>
86253 _ACEOF
86254 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86255 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86256 ac_status=$?
86257 grep -v '^ *+' conftest.er1 >conftest.err
86258 rm -f conftest.er1
86259 cat conftest.err >&5
86260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86261 (exit $ac_status); } >/dev/null; then
86262 if test -s conftest.err; then
86263 ac_cpp_err=$ac_c_preproc_warn_flag
86264 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86265 else
86266 ac_cpp_err=
86268 else
86269 ac_cpp_err=yes
86271 if test -z "$ac_cpp_err"; then
86272 ac_header_preproc=yes
86273 else
86274 echo "$as_me: failed program was:" >&5
86275 sed 's/^/| /' conftest.$ac_ext >&5
86277 ac_header_preproc=no
86279 rm -f conftest.err conftest.$ac_ext
86280 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86281 echo "${ECHO_T}$ac_header_preproc" >&6
86283 # So? What about this header?
86284 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86285 yes:no: )
86286 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
86287 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86288 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
86289 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
86290 ac_header_preproc=yes
86292 no:yes:* )
86293 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
86294 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
86295 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
86296 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
86297 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
86298 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
86299 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
86300 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
86301 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
86302 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
86303 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
86304 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
86306 cat <<\_ASBOX
86307 ## ----------------------------------------- ##
86308 ## Report this to the package-unused lists. ##
86309 ## ----------------------------------------- ##
86310 _ASBOX
86312 sed "s/^/$as_me: WARNING: /" >&2
86314 esac
86315 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86316 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86317 if test "${ac_cv_header_langinfo_h+set}" = set; then
86318 echo $ECHO_N "(cached) $ECHO_C" >&6
86319 else
86320 ac_cv_header_langinfo_h=$ac_header_preproc
86322 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86323 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86326 if test $ac_cv_header_langinfo_h = yes; then
86327 ac_has_langinfo_h=yes
86328 else
86329 ac_has_langinfo_h=no
86334 # Check for existence of libiconv.a providing XPG2 wchar_t support.
86335 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
86336 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
86337 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
86338 echo $ECHO_N "(cached) $ECHO_C" >&6
86339 else
86340 ac_check_lib_save_LIBS=$LIBS
86341 LIBS="-liconv $LIBS"
86342 if test x$gcc_no_link = xyes; then
86343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86345 { (exit 1); exit 1; }; }
86347 cat >conftest.$ac_ext <<_ACEOF
86348 /* confdefs.h. */
86349 _ACEOF
86350 cat confdefs.h >>conftest.$ac_ext
86351 cat >>conftest.$ac_ext <<_ACEOF
86352 /* end confdefs.h. */
86354 /* Override any gcc2 internal prototype to avoid an error. */
86355 #ifdef __cplusplus
86356 extern "C"
86357 #endif
86358 /* We use char because int might match the return type of a gcc2
86359 builtin and then its argument prototype would still apply. */
86360 char iconv ();
86362 main ()
86364 iconv ();
86366 return 0;
86368 _ACEOF
86369 rm -f conftest.$ac_objext conftest$ac_exeext
86370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86371 (eval $ac_link) 2>conftest.er1
86372 ac_status=$?
86373 grep -v '^ *+' conftest.er1 >conftest.err
86374 rm -f conftest.er1
86375 cat conftest.err >&5
86376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86377 (exit $ac_status); } &&
86378 { ac_try='test -z "$ac_c_werror_flag"
86379 || test ! -s conftest.err'
86380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86381 (eval $ac_try) 2>&5
86382 ac_status=$?
86383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86384 (exit $ac_status); }; } &&
86385 { ac_try='test -s conftest$ac_exeext'
86386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86387 (eval $ac_try) 2>&5
86388 ac_status=$?
86389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86390 (exit $ac_status); }; }; then
86391 ac_cv_lib_iconv_iconv=yes
86392 else
86393 echo "$as_me: failed program was:" >&5
86394 sed 's/^/| /' conftest.$ac_ext >&5
86396 ac_cv_lib_iconv_iconv=no
86398 rm -f conftest.err conftest.$ac_objext \
86399 conftest$ac_exeext conftest.$ac_ext
86400 LIBS=$ac_check_lib_save_LIBS
86402 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
86403 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
86404 if test $ac_cv_lib_iconv_iconv = yes; then
86405 LIBICONV="-liconv"
86408 ac_save_LIBS="$LIBS"
86409 LIBS="$LIBS $LIBICONV"
86416 for ac_func in iconv_open iconv_close iconv nl_langinfo
86418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86419 echo "$as_me:$LINENO: checking for $ac_func" >&5
86420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86421 if eval "test \"\${$as_ac_var+set}\" = set"; then
86422 echo $ECHO_N "(cached) $ECHO_C" >&6
86423 else
86424 if test x$gcc_no_link = xyes; then
86425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86427 { (exit 1); exit 1; }; }
86429 cat >conftest.$ac_ext <<_ACEOF
86430 /* confdefs.h. */
86431 _ACEOF
86432 cat confdefs.h >>conftest.$ac_ext
86433 cat >>conftest.$ac_ext <<_ACEOF
86434 /* end confdefs.h. */
86435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86437 #define $ac_func innocuous_$ac_func
86439 /* System header to define __stub macros and hopefully few prototypes,
86440 which can conflict with char $ac_func (); below.
86441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86442 <limits.h> exists even on freestanding compilers. */
86444 #ifdef __STDC__
86445 # include <limits.h>
86446 #else
86447 # include <assert.h>
86448 #endif
86450 #undef $ac_func
86452 /* Override any gcc2 internal prototype to avoid an error. */
86453 #ifdef __cplusplus
86454 extern "C"
86456 #endif
86457 /* We use char because int might match the return type of a gcc2
86458 builtin and then its argument prototype would still apply. */
86459 char $ac_func ();
86460 /* The GNU C library defines this for functions which it implements
86461 to always fail with ENOSYS. Some functions are actually named
86462 something starting with __ and the normal name is an alias. */
86463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86464 choke me
86465 #else
86466 char (*f) () = $ac_func;
86467 #endif
86468 #ifdef __cplusplus
86470 #endif
86473 main ()
86475 return f != $ac_func;
86477 return 0;
86479 _ACEOF
86480 rm -f conftest.$ac_objext conftest$ac_exeext
86481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86482 (eval $ac_link) 2>conftest.er1
86483 ac_status=$?
86484 grep -v '^ *+' conftest.er1 >conftest.err
86485 rm -f conftest.er1
86486 cat conftest.err >&5
86487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86488 (exit $ac_status); } &&
86489 { ac_try='test -z "$ac_c_werror_flag"
86490 || test ! -s conftest.err'
86491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86492 (eval $ac_try) 2>&5
86493 ac_status=$?
86494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86495 (exit $ac_status); }; } &&
86496 { ac_try='test -s conftest$ac_exeext'
86497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86498 (eval $ac_try) 2>&5
86499 ac_status=$?
86500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86501 (exit $ac_status); }; }; then
86502 eval "$as_ac_var=yes"
86503 else
86504 echo "$as_me: failed program was:" >&5
86505 sed 's/^/| /' conftest.$ac_ext >&5
86507 eval "$as_ac_var=no"
86509 rm -f conftest.err conftest.$ac_objext \
86510 conftest$ac_exeext conftest.$ac_ext
86512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86514 if test `eval echo '${'$as_ac_var'}'` = yes; then
86515 cat >>confdefs.h <<_ACEOF
86516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86517 _ACEOF
86518 ac_XPG2funcs=yes
86519 else
86520 ac_XPG2funcs=no
86522 done
86525 LIBS="$ac_save_LIBS"
86527 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
86528 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
86529 if test x"$ac_has_iconv_h" = xyes &&
86530 test x"$ac_has_langinfo_h" = xyes &&
86531 test x"$ac_XPG2funcs" = xyes;
86532 then
86533 ac_XPG2_wchar_t=yes
86534 else
86535 ac_XPG2_wchar_t=no
86537 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
86538 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
86540 # At the moment, only enable wchar_t specializations if all the
86541 # above support is present.
86542 if test x"$ac_isoC99_wchar_t" = xyes &&
86543 test x"$ac_XPG2_wchar_t" = xyes;
86544 then
86545 cat >>confdefs.h <<\_ACEOF
86546 #define _GLIBCXX_USE_WCHAR_T 1
86547 _ACEOF
86549 enable_wchar_t=yes
86552 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
86553 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
86554 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
86555 echo "${ECHO_T}$enable_wchar_t" >&6
86558 *-netbsd*)
86571 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
86572 machine/endian.h machine/param.h sys/machine.h sys/types.h \
86573 fp.h locale.h float.h inttypes.h
86575 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86577 echo "$as_me:$LINENO: checking for $ac_header" >&5
86578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86580 echo $ECHO_N "(cached) $ECHO_C" >&6
86582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86583 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86584 else
86585 # Is the header compilable?
86586 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86587 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86588 cat >conftest.$ac_ext <<_ACEOF
86589 /* confdefs.h. */
86590 _ACEOF
86591 cat confdefs.h >>conftest.$ac_ext
86592 cat >>conftest.$ac_ext <<_ACEOF
86593 /* end confdefs.h. */
86594 $ac_includes_default
86595 #include <$ac_header>
86596 _ACEOF
86597 rm -f conftest.$ac_objext
86598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86599 (eval $ac_compile) 2>conftest.er1
86600 ac_status=$?
86601 grep -v '^ *+' conftest.er1 >conftest.err
86602 rm -f conftest.er1
86603 cat conftest.err >&5
86604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86605 (exit $ac_status); } &&
86606 { ac_try='test -z "$ac_c_werror_flag"
86607 || test ! -s conftest.err'
86608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86609 (eval $ac_try) 2>&5
86610 ac_status=$?
86611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86612 (exit $ac_status); }; } &&
86613 { ac_try='test -s conftest.$ac_objext'
86614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86615 (eval $ac_try) 2>&5
86616 ac_status=$?
86617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86618 (exit $ac_status); }; }; then
86619 ac_header_compiler=yes
86620 else
86621 echo "$as_me: failed program was:" >&5
86622 sed 's/^/| /' conftest.$ac_ext >&5
86624 ac_header_compiler=no
86626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86627 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86628 echo "${ECHO_T}$ac_header_compiler" >&6
86630 # Is the header present?
86631 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86632 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86633 cat >conftest.$ac_ext <<_ACEOF
86634 /* confdefs.h. */
86635 _ACEOF
86636 cat confdefs.h >>conftest.$ac_ext
86637 cat >>conftest.$ac_ext <<_ACEOF
86638 /* end confdefs.h. */
86639 #include <$ac_header>
86640 _ACEOF
86641 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86642 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86643 ac_status=$?
86644 grep -v '^ *+' conftest.er1 >conftest.err
86645 rm -f conftest.er1
86646 cat conftest.err >&5
86647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86648 (exit $ac_status); } >/dev/null; then
86649 if test -s conftest.err; then
86650 ac_cpp_err=$ac_c_preproc_warn_flag
86651 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86652 else
86653 ac_cpp_err=
86655 else
86656 ac_cpp_err=yes
86658 if test -z "$ac_cpp_err"; then
86659 ac_header_preproc=yes
86660 else
86661 echo "$as_me: failed program was:" >&5
86662 sed 's/^/| /' conftest.$ac_ext >&5
86664 ac_header_preproc=no
86666 rm -f conftest.err conftest.$ac_ext
86667 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86668 echo "${ECHO_T}$ac_header_preproc" >&6
86670 # So? What about this header?
86671 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86672 yes:no: )
86673 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86674 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86675 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86676 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86677 ac_header_preproc=yes
86679 no:yes:* )
86680 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86681 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86682 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86683 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86684 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86685 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86686 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86687 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86688 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86689 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86690 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86691 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86693 cat <<\_ASBOX
86694 ## ----------------------------------------- ##
86695 ## Report this to the package-unused lists. ##
86696 ## ----------------------------------------- ##
86697 _ASBOX
86699 sed "s/^/$as_me: WARNING: /" >&2
86701 esac
86702 echo "$as_me:$LINENO: checking for $ac_header" >&5
86703 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86704 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86705 echo $ECHO_N "(cached) $ECHO_C" >&6
86706 else
86707 eval "$as_ac_Header=\$ac_header_preproc"
86709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86710 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86713 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86714 cat >>confdefs.h <<_ACEOF
86715 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86716 _ACEOF
86720 done
86722 SECTION_FLAGS='-ffunction-sections -fdata-sections'
86725 # If we're not using GNU ld, then there's no point in even trying these
86726 # tests. Check for that first. We should have already tested for gld
86727 # by now (in libtool), but require it now just to be safe...
86728 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86729 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86733 # The name set by libtool depends on the version of libtool. Shame on us
86734 # for depending on an impl detail, but c'est la vie. Older versions used
86735 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86736 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86737 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
86738 # set (hence we're using an older libtool), then set it.
86739 if test x${with_gnu_ld+set} != xset; then
86740 if test x${ac_cv_prog_gnu_ld+set} != xset; then
86741 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
86742 with_gnu_ld=no
86743 else
86744 with_gnu_ld=$ac_cv_prog_gnu_ld
86748 # Start by getting the version number. I think the libtool test already
86749 # does some of this, but throws away the result.
86751 ldver=`$LD --version 2>/dev/null | head -1 | \
86752 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
86754 glibcxx_gnu_ld_version=`echo $ldver | \
86755 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86757 # Set --gc-sections.
86758 if test "$with_gnu_ld" = "notbroken"; then
86759 # GNU ld it is! Joy and bunny rabbits!
86761 # All these tests are for C++; save the language and the compiler flags.
86762 # Need to do this so that g++ won't try to link in libstdc++
86763 ac_test_CFLAGS="${CFLAGS+set}"
86764 ac_save_CFLAGS="$CFLAGS"
86765 CFLAGS='-x c++ -Wl,--gc-sections'
86767 # Check for -Wl,--gc-sections
86768 # XXX This test is broken at the moment, as symbols required for linking
86769 # are now in libsupc++ (not built yet). In addition, this test has
86770 # cored on solaris in the past. In addition, --gc-sections doesn't
86771 # really work at the moment (keeps on discarding used sections, first
86772 # .eh_frame and now some of the glibc sections for iconv).
86773 # Bzzzzt. Thanks for playing, maybe next time.
86774 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86775 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86776 if test "$cross_compiling" = yes; then
86777 ac_sectionLDflags=yes
86778 else
86779 cat >conftest.$ac_ext <<_ACEOF
86780 /* confdefs.h. */
86781 _ACEOF
86782 cat confdefs.h >>conftest.$ac_ext
86783 cat >>conftest.$ac_ext <<_ACEOF
86784 /* end confdefs.h. */
86786 int main(void)
86788 try { throw 1; }
86789 catch (...) { };
86790 return 0;
86793 _ACEOF
86794 rm -f conftest$ac_exeext
86795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86796 (eval $ac_link) 2>&5
86797 ac_status=$?
86798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86799 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
86800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86801 (eval $ac_try) 2>&5
86802 ac_status=$?
86803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86804 (exit $ac_status); }; }; then
86805 ac_sectionLDflags=yes
86806 else
86807 echo "$as_me: program exited with status $ac_status" >&5
86808 echo "$as_me: failed program was:" >&5
86809 sed 's/^/| /' conftest.$ac_ext >&5
86811 ( exit $ac_status )
86812 ac_sectionLDflags=no
86814 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
86816 if test "$ac_test_CFLAGS" = set; then
86817 CFLAGS="$ac_save_CFLAGS"
86818 else
86819 # this is the suspicious part
86820 CFLAGS=''
86822 if test "$ac_sectionLDflags" = "yes"; then
86823 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86825 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
86826 echo "${ECHO_T}$ac_sectionLDflags" >&6
86829 # Set linker optimization flags.
86830 if test x"$with_gnu_ld" = x"yes"; then
86831 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86839 echo "$as_me:$LINENO: checking for main in -lm" >&5
86840 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86841 if test "${ac_cv_lib_m_main+set}" = set; then
86842 echo $ECHO_N "(cached) $ECHO_C" >&6
86843 else
86844 ac_check_lib_save_LIBS=$LIBS
86845 LIBS="-lm $LIBS"
86846 if test x$gcc_no_link = xyes; then
86847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86849 { (exit 1); exit 1; }; }
86851 cat >conftest.$ac_ext <<_ACEOF
86852 /* confdefs.h. */
86853 _ACEOF
86854 cat confdefs.h >>conftest.$ac_ext
86855 cat >>conftest.$ac_ext <<_ACEOF
86856 /* end confdefs.h. */
86860 main ()
86862 main ();
86864 return 0;
86866 _ACEOF
86867 rm -f conftest.$ac_objext conftest$ac_exeext
86868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86869 (eval $ac_link) 2>conftest.er1
86870 ac_status=$?
86871 grep -v '^ *+' conftest.er1 >conftest.err
86872 rm -f conftest.er1
86873 cat conftest.err >&5
86874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86875 (exit $ac_status); } &&
86876 { ac_try='test -z "$ac_c_werror_flag"
86877 || test ! -s conftest.err'
86878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86879 (eval $ac_try) 2>&5
86880 ac_status=$?
86881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86882 (exit $ac_status); }; } &&
86883 { ac_try='test -s conftest$ac_exeext'
86884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86885 (eval $ac_try) 2>&5
86886 ac_status=$?
86887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86888 (exit $ac_status); }; }; then
86889 ac_cv_lib_m_main=yes
86890 else
86891 echo "$as_me: failed program was:" >&5
86892 sed 's/^/| /' conftest.$ac_ext >&5
86894 ac_cv_lib_m_main=no
86896 rm -f conftest.err conftest.$ac_objext \
86897 conftest$ac_exeext conftest.$ac_ext
86898 LIBS=$ac_check_lib_save_LIBS
86900 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86901 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86902 if test $ac_cv_lib_m_main = yes; then
86903 cat >>confdefs.h <<_ACEOF
86904 #define HAVE_LIBM 1
86905 _ACEOF
86907 LIBS="-lm $LIBS"
86912 for ac_func in copysignf
86914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86915 echo "$as_me:$LINENO: checking for $ac_func" >&5
86916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86917 if eval "test \"\${$as_ac_var+set}\" = set"; then
86918 echo $ECHO_N "(cached) $ECHO_C" >&6
86919 else
86920 if test x$gcc_no_link = xyes; then
86921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86923 { (exit 1); exit 1; }; }
86925 cat >conftest.$ac_ext <<_ACEOF
86926 /* confdefs.h. */
86927 _ACEOF
86928 cat confdefs.h >>conftest.$ac_ext
86929 cat >>conftest.$ac_ext <<_ACEOF
86930 /* end confdefs.h. */
86931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86933 #define $ac_func innocuous_$ac_func
86935 /* System header to define __stub macros and hopefully few prototypes,
86936 which can conflict with char $ac_func (); below.
86937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86938 <limits.h> exists even on freestanding compilers. */
86940 #ifdef __STDC__
86941 # include <limits.h>
86942 #else
86943 # include <assert.h>
86944 #endif
86946 #undef $ac_func
86948 /* Override any gcc2 internal prototype to avoid an error. */
86949 #ifdef __cplusplus
86950 extern "C"
86952 #endif
86953 /* We use char because int might match the return type of a gcc2
86954 builtin and then its argument prototype would still apply. */
86955 char $ac_func ();
86956 /* The GNU C library defines this for functions which it implements
86957 to always fail with ENOSYS. Some functions are actually named
86958 something starting with __ and the normal name is an alias. */
86959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86960 choke me
86961 #else
86962 char (*f) () = $ac_func;
86963 #endif
86964 #ifdef __cplusplus
86966 #endif
86969 main ()
86971 return f != $ac_func;
86973 return 0;
86975 _ACEOF
86976 rm -f conftest.$ac_objext conftest$ac_exeext
86977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86978 (eval $ac_link) 2>conftest.er1
86979 ac_status=$?
86980 grep -v '^ *+' conftest.er1 >conftest.err
86981 rm -f conftest.er1
86982 cat conftest.err >&5
86983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86984 (exit $ac_status); } &&
86985 { ac_try='test -z "$ac_c_werror_flag"
86986 || test ! -s conftest.err'
86987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86988 (eval $ac_try) 2>&5
86989 ac_status=$?
86990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86991 (exit $ac_status); }; } &&
86992 { ac_try='test -s conftest$ac_exeext'
86993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86994 (eval $ac_try) 2>&5
86995 ac_status=$?
86996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86997 (exit $ac_status); }; }; then
86998 eval "$as_ac_var=yes"
86999 else
87000 echo "$as_me: failed program was:" >&5
87001 sed 's/^/| /' conftest.$ac_ext >&5
87003 eval "$as_ac_var=no"
87005 rm -f conftest.err conftest.$ac_objext \
87006 conftest$ac_exeext conftest.$ac_ext
87008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87010 if test `eval echo '${'$as_ac_var'}'` = yes; then
87011 cat >>confdefs.h <<_ACEOF
87012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87013 _ACEOF
87015 else
87016 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87018 done
87022 for ac_func in __signbit
87024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87025 echo "$as_me:$LINENO: checking for $ac_func" >&5
87026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87027 if eval "test \"\${$as_ac_var+set}\" = set"; then
87028 echo $ECHO_N "(cached) $ECHO_C" >&6
87029 else
87030 if test x$gcc_no_link = xyes; then
87031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87033 { (exit 1); exit 1; }; }
87035 cat >conftest.$ac_ext <<_ACEOF
87036 /* confdefs.h. */
87037 _ACEOF
87038 cat confdefs.h >>conftest.$ac_ext
87039 cat >>conftest.$ac_ext <<_ACEOF
87040 /* end confdefs.h. */
87041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87043 #define $ac_func innocuous_$ac_func
87045 /* System header to define __stub macros and hopefully few prototypes,
87046 which can conflict with char $ac_func (); below.
87047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87048 <limits.h> exists even on freestanding compilers. */
87050 #ifdef __STDC__
87051 # include <limits.h>
87052 #else
87053 # include <assert.h>
87054 #endif
87056 #undef $ac_func
87058 /* Override any gcc2 internal prototype to avoid an error. */
87059 #ifdef __cplusplus
87060 extern "C"
87062 #endif
87063 /* We use char because int might match the return type of a gcc2
87064 builtin and then its argument prototype would still apply. */
87065 char $ac_func ();
87066 /* The GNU C library defines this for functions which it implements
87067 to always fail with ENOSYS. Some functions are actually named
87068 something starting with __ and the normal name is an alias. */
87069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87070 choke me
87071 #else
87072 char (*f) () = $ac_func;
87073 #endif
87074 #ifdef __cplusplus
87076 #endif
87079 main ()
87081 return f != $ac_func;
87083 return 0;
87085 _ACEOF
87086 rm -f conftest.$ac_objext conftest$ac_exeext
87087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87088 (eval $ac_link) 2>conftest.er1
87089 ac_status=$?
87090 grep -v '^ *+' conftest.er1 >conftest.err
87091 rm -f conftest.er1
87092 cat conftest.err >&5
87093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87094 (exit $ac_status); } &&
87095 { ac_try='test -z "$ac_c_werror_flag"
87096 || test ! -s conftest.err'
87097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87098 (eval $ac_try) 2>&5
87099 ac_status=$?
87100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87101 (exit $ac_status); }; } &&
87102 { ac_try='test -s conftest$ac_exeext'
87103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87104 (eval $ac_try) 2>&5
87105 ac_status=$?
87106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87107 (exit $ac_status); }; }; then
87108 eval "$as_ac_var=yes"
87109 else
87110 echo "$as_me: failed program was:" >&5
87111 sed 's/^/| /' conftest.$ac_ext >&5
87113 eval "$as_ac_var=no"
87115 rm -f conftest.err conftest.$ac_objext \
87116 conftest$ac_exeext conftest.$ac_ext
87118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87120 if test `eval echo '${'$as_ac_var'}'` = yes; then
87121 cat >>confdefs.h <<_ACEOF
87122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87123 _ACEOF
87125 else
87126 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87128 done
87132 for ac_func in __signbitf
87134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87135 echo "$as_me:$LINENO: checking for $ac_func" >&5
87136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87137 if eval "test \"\${$as_ac_var+set}\" = set"; then
87138 echo $ECHO_N "(cached) $ECHO_C" >&6
87139 else
87140 if test x$gcc_no_link = xyes; then
87141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87143 { (exit 1); exit 1; }; }
87145 cat >conftest.$ac_ext <<_ACEOF
87146 /* confdefs.h. */
87147 _ACEOF
87148 cat confdefs.h >>conftest.$ac_ext
87149 cat >>conftest.$ac_ext <<_ACEOF
87150 /* end confdefs.h. */
87151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87153 #define $ac_func innocuous_$ac_func
87155 /* System header to define __stub macros and hopefully few prototypes,
87156 which can conflict with char $ac_func (); below.
87157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87158 <limits.h> exists even on freestanding compilers. */
87160 #ifdef __STDC__
87161 # include <limits.h>
87162 #else
87163 # include <assert.h>
87164 #endif
87166 #undef $ac_func
87168 /* Override any gcc2 internal prototype to avoid an error. */
87169 #ifdef __cplusplus
87170 extern "C"
87172 #endif
87173 /* We use char because int might match the return type of a gcc2
87174 builtin and then its argument prototype would still apply. */
87175 char $ac_func ();
87176 /* The GNU C library defines this for functions which it implements
87177 to always fail with ENOSYS. Some functions are actually named
87178 something starting with __ and the normal name is an alias. */
87179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87180 choke me
87181 #else
87182 char (*f) () = $ac_func;
87183 #endif
87184 #ifdef __cplusplus
87186 #endif
87189 main ()
87191 return f != $ac_func;
87193 return 0;
87195 _ACEOF
87196 rm -f conftest.$ac_objext conftest$ac_exeext
87197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87198 (eval $ac_link) 2>conftest.er1
87199 ac_status=$?
87200 grep -v '^ *+' conftest.er1 >conftest.err
87201 rm -f conftest.er1
87202 cat conftest.err >&5
87203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87204 (exit $ac_status); } &&
87205 { ac_try='test -z "$ac_c_werror_flag"
87206 || test ! -s conftest.err'
87207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87208 (eval $ac_try) 2>&5
87209 ac_status=$?
87210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87211 (exit $ac_status); }; } &&
87212 { ac_try='test -s conftest$ac_exeext'
87213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87214 (eval $ac_try) 2>&5
87215 ac_status=$?
87216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87217 (exit $ac_status); }; }; then
87218 eval "$as_ac_var=yes"
87219 else
87220 echo "$as_me: failed program was:" >&5
87221 sed 's/^/| /' conftest.$ac_ext >&5
87223 eval "$as_ac_var=no"
87225 rm -f conftest.err conftest.$ac_objext \
87226 conftest$ac_exeext conftest.$ac_ext
87228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87230 if test `eval echo '${'$as_ac_var'}'` = yes; then
87231 cat >>confdefs.h <<_ACEOF
87232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87233 _ACEOF
87235 else
87236 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87238 done
87241 if test x$ac_cv_func_copysignl = x"yes"; then
87243 for ac_func in __signbitl
87245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87246 echo "$as_me:$LINENO: checking for $ac_func" >&5
87247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87248 if eval "test \"\${$as_ac_var+set}\" = set"; then
87249 echo $ECHO_N "(cached) $ECHO_C" >&6
87250 else
87251 if test x$gcc_no_link = xyes; then
87252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87254 { (exit 1); exit 1; }; }
87256 cat >conftest.$ac_ext <<_ACEOF
87257 /* confdefs.h. */
87258 _ACEOF
87259 cat confdefs.h >>conftest.$ac_ext
87260 cat >>conftest.$ac_ext <<_ACEOF
87261 /* end confdefs.h. */
87262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87264 #define $ac_func innocuous_$ac_func
87266 /* System header to define __stub macros and hopefully few prototypes,
87267 which can conflict with char $ac_func (); below.
87268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87269 <limits.h> exists even on freestanding compilers. */
87271 #ifdef __STDC__
87272 # include <limits.h>
87273 #else
87274 # include <assert.h>
87275 #endif
87277 #undef $ac_func
87279 /* Override any gcc2 internal prototype to avoid an error. */
87280 #ifdef __cplusplus
87281 extern "C"
87283 #endif
87284 /* We use char because int might match the return type of a gcc2
87285 builtin and then its argument prototype would still apply. */
87286 char $ac_func ();
87287 /* The GNU C library defines this for functions which it implements
87288 to always fail with ENOSYS. Some functions are actually named
87289 something starting with __ and the normal name is an alias. */
87290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87291 choke me
87292 #else
87293 char (*f) () = $ac_func;
87294 #endif
87295 #ifdef __cplusplus
87297 #endif
87300 main ()
87302 return f != $ac_func;
87304 return 0;
87306 _ACEOF
87307 rm -f conftest.$ac_objext conftest$ac_exeext
87308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87309 (eval $ac_link) 2>conftest.er1
87310 ac_status=$?
87311 grep -v '^ *+' conftest.er1 >conftest.err
87312 rm -f conftest.er1
87313 cat conftest.err >&5
87314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87315 (exit $ac_status); } &&
87316 { ac_try='test -z "$ac_c_werror_flag"
87317 || test ! -s conftest.err'
87318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87319 (eval $ac_try) 2>&5
87320 ac_status=$?
87321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87322 (exit $ac_status); }; } &&
87323 { ac_try='test -s conftest$ac_exeext'
87324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87325 (eval $ac_try) 2>&5
87326 ac_status=$?
87327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87328 (exit $ac_status); }; }; then
87329 eval "$as_ac_var=yes"
87330 else
87331 echo "$as_me: failed program was:" >&5
87332 sed 's/^/| /' conftest.$ac_ext >&5
87334 eval "$as_ac_var=no"
87336 rm -f conftest.err conftest.$ac_objext \
87337 conftest$ac_exeext conftest.$ac_ext
87339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87341 if test `eval echo '${'$as_ac_var'}'` = yes; then
87342 cat >>confdefs.h <<_ACEOF
87343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87344 _ACEOF
87346 else
87347 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87349 done
87353 # Used in libmath/Makefile.am.
87354 if test -n "$LIBMATHOBJS"; then
87355 need_libmath=yes
87360 # Test wchar.h for mbstate_t, which is needed for char_traits and
87361 # others even if wchar_t support is not on.
87362 echo "$as_me:$LINENO: checking for mbstate_t" >&5
87363 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
87364 cat >conftest.$ac_ext <<_ACEOF
87365 /* confdefs.h. */
87366 _ACEOF
87367 cat confdefs.h >>conftest.$ac_ext
87368 cat >>conftest.$ac_ext <<_ACEOF
87369 /* end confdefs.h. */
87370 #include <wchar.h>
87372 main ()
87374 mbstate_t teststate;
87376 return 0;
87378 _ACEOF
87379 rm -f conftest.$ac_objext
87380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87381 (eval $ac_compile) 2>conftest.er1
87382 ac_status=$?
87383 grep -v '^ *+' conftest.er1 >conftest.err
87384 rm -f conftest.er1
87385 cat conftest.err >&5
87386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87387 (exit $ac_status); } &&
87388 { ac_try='test -z "$ac_c_werror_flag"
87389 || test ! -s conftest.err'
87390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87391 (eval $ac_try) 2>&5
87392 ac_status=$?
87393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87394 (exit $ac_status); }; } &&
87395 { ac_try='test -s conftest.$ac_objext'
87396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87397 (eval $ac_try) 2>&5
87398 ac_status=$?
87399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87400 (exit $ac_status); }; }; then
87401 have_mbstate_t=yes
87402 else
87403 echo "$as_me: failed program was:" >&5
87404 sed 's/^/| /' conftest.$ac_ext >&5
87406 have_mbstate_t=no
87408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87409 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
87410 echo "${ECHO_T}$have_mbstate_t" >&6
87411 if test x"$have_mbstate_t" = xyes; then
87412 cat >>confdefs.h <<\_ACEOF
87413 #define HAVE_MBSTATE_T 1
87414 _ACEOF
87418 # Sanity check for existence of ISO C99 headers for extended encoding.
87420 for ac_header in wchar.h
87422 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87424 echo "$as_me:$LINENO: checking for $ac_header" >&5
87425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87426 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87427 echo $ECHO_N "(cached) $ECHO_C" >&6
87429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87430 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87431 else
87432 # Is the header compilable?
87433 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87434 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87435 cat >conftest.$ac_ext <<_ACEOF
87436 /* confdefs.h. */
87437 _ACEOF
87438 cat confdefs.h >>conftest.$ac_ext
87439 cat >>conftest.$ac_ext <<_ACEOF
87440 /* end confdefs.h. */
87441 $ac_includes_default
87442 #include <$ac_header>
87443 _ACEOF
87444 rm -f conftest.$ac_objext
87445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87446 (eval $ac_compile) 2>conftest.er1
87447 ac_status=$?
87448 grep -v '^ *+' conftest.er1 >conftest.err
87449 rm -f conftest.er1
87450 cat conftest.err >&5
87451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87452 (exit $ac_status); } &&
87453 { ac_try='test -z "$ac_c_werror_flag"
87454 || test ! -s conftest.err'
87455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87456 (eval $ac_try) 2>&5
87457 ac_status=$?
87458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87459 (exit $ac_status); }; } &&
87460 { ac_try='test -s conftest.$ac_objext'
87461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87462 (eval $ac_try) 2>&5
87463 ac_status=$?
87464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87465 (exit $ac_status); }; }; then
87466 ac_header_compiler=yes
87467 else
87468 echo "$as_me: failed program was:" >&5
87469 sed 's/^/| /' conftest.$ac_ext >&5
87471 ac_header_compiler=no
87473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87474 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87475 echo "${ECHO_T}$ac_header_compiler" >&6
87477 # Is the header present?
87478 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87479 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87480 cat >conftest.$ac_ext <<_ACEOF
87481 /* confdefs.h. */
87482 _ACEOF
87483 cat confdefs.h >>conftest.$ac_ext
87484 cat >>conftest.$ac_ext <<_ACEOF
87485 /* end confdefs.h. */
87486 #include <$ac_header>
87487 _ACEOF
87488 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87489 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87490 ac_status=$?
87491 grep -v '^ *+' conftest.er1 >conftest.err
87492 rm -f conftest.er1
87493 cat conftest.err >&5
87494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87495 (exit $ac_status); } >/dev/null; then
87496 if test -s conftest.err; then
87497 ac_cpp_err=$ac_c_preproc_warn_flag
87498 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87499 else
87500 ac_cpp_err=
87502 else
87503 ac_cpp_err=yes
87505 if test -z "$ac_cpp_err"; then
87506 ac_header_preproc=yes
87507 else
87508 echo "$as_me: failed program was:" >&5
87509 sed 's/^/| /' conftest.$ac_ext >&5
87511 ac_header_preproc=no
87513 rm -f conftest.err conftest.$ac_ext
87514 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87515 echo "${ECHO_T}$ac_header_preproc" >&6
87517 # So? What about this header?
87518 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87519 yes:no: )
87520 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87521 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87522 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87523 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87524 ac_header_preproc=yes
87526 no:yes:* )
87527 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87528 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87529 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87530 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87531 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87532 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87533 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87534 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87535 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87536 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87537 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87538 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87540 cat <<\_ASBOX
87541 ## ----------------------------------------- ##
87542 ## Report this to the package-unused lists. ##
87543 ## ----------------------------------------- ##
87544 _ASBOX
87546 sed "s/^/$as_me: WARNING: /" >&2
87548 esac
87549 echo "$as_me:$LINENO: checking for $ac_header" >&5
87550 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87551 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87552 echo $ECHO_N "(cached) $ECHO_C" >&6
87553 else
87554 eval "$as_ac_Header=\$ac_header_preproc"
87556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87557 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87560 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87561 cat >>confdefs.h <<_ACEOF
87562 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87563 _ACEOF
87564 ac_has_wchar_h=yes
87565 else
87566 ac_has_wchar_h=no
87569 done
87572 for ac_header in wctype.h
87574 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87576 echo "$as_me:$LINENO: checking for $ac_header" >&5
87577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87579 echo $ECHO_N "(cached) $ECHO_C" >&6
87581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87582 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87583 else
87584 # Is the header compilable?
87585 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87586 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87587 cat >conftest.$ac_ext <<_ACEOF
87588 /* confdefs.h. */
87589 _ACEOF
87590 cat confdefs.h >>conftest.$ac_ext
87591 cat >>conftest.$ac_ext <<_ACEOF
87592 /* end confdefs.h. */
87593 $ac_includes_default
87594 #include <$ac_header>
87595 _ACEOF
87596 rm -f conftest.$ac_objext
87597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87598 (eval $ac_compile) 2>conftest.er1
87599 ac_status=$?
87600 grep -v '^ *+' conftest.er1 >conftest.err
87601 rm -f conftest.er1
87602 cat conftest.err >&5
87603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87604 (exit $ac_status); } &&
87605 { ac_try='test -z "$ac_c_werror_flag"
87606 || test ! -s conftest.err'
87607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87608 (eval $ac_try) 2>&5
87609 ac_status=$?
87610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87611 (exit $ac_status); }; } &&
87612 { ac_try='test -s conftest.$ac_objext'
87613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87614 (eval $ac_try) 2>&5
87615 ac_status=$?
87616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87617 (exit $ac_status); }; }; then
87618 ac_header_compiler=yes
87619 else
87620 echo "$as_me: failed program was:" >&5
87621 sed 's/^/| /' conftest.$ac_ext >&5
87623 ac_header_compiler=no
87625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87626 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87627 echo "${ECHO_T}$ac_header_compiler" >&6
87629 # Is the header present?
87630 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87631 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87632 cat >conftest.$ac_ext <<_ACEOF
87633 /* confdefs.h. */
87634 _ACEOF
87635 cat confdefs.h >>conftest.$ac_ext
87636 cat >>conftest.$ac_ext <<_ACEOF
87637 /* end confdefs.h. */
87638 #include <$ac_header>
87639 _ACEOF
87640 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87641 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87642 ac_status=$?
87643 grep -v '^ *+' conftest.er1 >conftest.err
87644 rm -f conftest.er1
87645 cat conftest.err >&5
87646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87647 (exit $ac_status); } >/dev/null; then
87648 if test -s conftest.err; then
87649 ac_cpp_err=$ac_c_preproc_warn_flag
87650 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87651 else
87652 ac_cpp_err=
87654 else
87655 ac_cpp_err=yes
87657 if test -z "$ac_cpp_err"; then
87658 ac_header_preproc=yes
87659 else
87660 echo "$as_me: failed program was:" >&5
87661 sed 's/^/| /' conftest.$ac_ext >&5
87663 ac_header_preproc=no
87665 rm -f conftest.err conftest.$ac_ext
87666 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87667 echo "${ECHO_T}$ac_header_preproc" >&6
87669 # So? What about this header?
87670 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87671 yes:no: )
87672 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87673 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87674 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87675 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87676 ac_header_preproc=yes
87678 no:yes:* )
87679 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87680 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87681 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87682 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87683 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87684 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87685 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87686 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87687 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87688 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87689 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87690 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87692 cat <<\_ASBOX
87693 ## ----------------------------------------- ##
87694 ## Report this to the package-unused lists. ##
87695 ## ----------------------------------------- ##
87696 _ASBOX
87698 sed "s/^/$as_me: WARNING: /" >&2
87700 esac
87701 echo "$as_me:$LINENO: checking for $ac_header" >&5
87702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87704 echo $ECHO_N "(cached) $ECHO_C" >&6
87705 else
87706 eval "$as_ac_Header=\$ac_header_preproc"
87708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87712 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87713 cat >>confdefs.h <<_ACEOF
87714 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87715 _ACEOF
87716 ac_has_wctype_h=yes
87717 else
87718 ac_has_wctype_h=no
87721 done
87724 # Only continue checking if the ISO C99 headers exist and support is on.
87725 if test x"$ac_has_wchar_h" = xyes &&
87726 test x"$ac_has_wctype_h" = xyes &&
87727 test x"$enable_c_mbchar" != xno; then
87729 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
87730 # numeric_limits can instantiate type_traits<wchar_t>
87731 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
87732 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
87733 cat >conftest.$ac_ext <<_ACEOF
87734 /* confdefs.h. */
87735 _ACEOF
87736 cat confdefs.h >>conftest.$ac_ext
87737 cat >>conftest.$ac_ext <<_ACEOF
87738 /* end confdefs.h. */
87739 #include <wchar.h>
87741 main ()
87743 int i = WCHAR_MIN; int j = WCHAR_MAX;
87745 return 0;
87747 _ACEOF
87748 rm -f conftest.$ac_objext
87749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87750 (eval $ac_compile) 2>conftest.er1
87751 ac_status=$?
87752 grep -v '^ *+' conftest.er1 >conftest.err
87753 rm -f conftest.er1
87754 cat conftest.err >&5
87755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87756 (exit $ac_status); } &&
87757 { ac_try='test -z "$ac_c_werror_flag"
87758 || test ! -s conftest.err'
87759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87760 (eval $ac_try) 2>&5
87761 ac_status=$?
87762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87763 (exit $ac_status); }; } &&
87764 { ac_try='test -s conftest.$ac_objext'
87765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87766 (eval $ac_try) 2>&5
87767 ac_status=$?
87768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87769 (exit $ac_status); }; }; then
87770 has_wchar_minmax=yes
87771 else
87772 echo "$as_me: failed program was:" >&5
87773 sed 's/^/| /' conftest.$ac_ext >&5
87775 has_wchar_minmax=no
87777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87778 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
87779 echo "${ECHO_T}$has_wchar_minmax" >&6
87781 # Test wchar.h for WEOF, which is what we use to determine whether
87782 # to specialize for char_traits<wchar_t> or not.
87783 echo "$as_me:$LINENO: checking for WEOF" >&5
87784 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
87785 cat >conftest.$ac_ext <<_ACEOF
87786 /* confdefs.h. */
87787 _ACEOF
87788 cat confdefs.h >>conftest.$ac_ext
87789 cat >>conftest.$ac_ext <<_ACEOF
87790 /* end confdefs.h. */
87792 #include <wchar.h>
87793 #include <stddef.h>
87795 main ()
87797 wint_t i = WEOF;
87799 return 0;
87801 _ACEOF
87802 rm -f conftest.$ac_objext
87803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87804 (eval $ac_compile) 2>conftest.er1
87805 ac_status=$?
87806 grep -v '^ *+' conftest.er1 >conftest.err
87807 rm -f conftest.er1
87808 cat conftest.err >&5
87809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87810 (exit $ac_status); } &&
87811 { ac_try='test -z "$ac_c_werror_flag"
87812 || test ! -s conftest.err'
87813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87814 (eval $ac_try) 2>&5
87815 ac_status=$?
87816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87817 (exit $ac_status); }; } &&
87818 { ac_try='test -s conftest.$ac_objext'
87819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87820 (eval $ac_try) 2>&5
87821 ac_status=$?
87822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87823 (exit $ac_status); }; }; then
87824 has_weof=yes
87825 else
87826 echo "$as_me: failed program was:" >&5
87827 sed 's/^/| /' conftest.$ac_ext >&5
87829 has_weof=no
87831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87832 echo "$as_me:$LINENO: result: $has_weof" >&5
87833 echo "${ECHO_T}$has_weof" >&6
87835 # Tests for wide character functions used in char_traits<wchar_t>.
87836 ac_wfuncs=yes
87843 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
87845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87846 echo "$as_me:$LINENO: checking for $ac_func" >&5
87847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87848 if eval "test \"\${$as_ac_var+set}\" = set"; then
87849 echo $ECHO_N "(cached) $ECHO_C" >&6
87850 else
87851 if test x$gcc_no_link = xyes; then
87852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87854 { (exit 1); exit 1; }; }
87856 cat >conftest.$ac_ext <<_ACEOF
87857 /* confdefs.h. */
87858 _ACEOF
87859 cat confdefs.h >>conftest.$ac_ext
87860 cat >>conftest.$ac_ext <<_ACEOF
87861 /* end confdefs.h. */
87862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87864 #define $ac_func innocuous_$ac_func
87866 /* System header to define __stub macros and hopefully few prototypes,
87867 which can conflict with char $ac_func (); below.
87868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87869 <limits.h> exists even on freestanding compilers. */
87871 #ifdef __STDC__
87872 # include <limits.h>
87873 #else
87874 # include <assert.h>
87875 #endif
87877 #undef $ac_func
87879 /* Override any gcc2 internal prototype to avoid an error. */
87880 #ifdef __cplusplus
87881 extern "C"
87883 #endif
87884 /* We use char because int might match the return type of a gcc2
87885 builtin and then its argument prototype would still apply. */
87886 char $ac_func ();
87887 /* The GNU C library defines this for functions which it implements
87888 to always fail with ENOSYS. Some functions are actually named
87889 something starting with __ and the normal name is an alias. */
87890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87891 choke me
87892 #else
87893 char (*f) () = $ac_func;
87894 #endif
87895 #ifdef __cplusplus
87897 #endif
87900 main ()
87902 return f != $ac_func;
87904 return 0;
87906 _ACEOF
87907 rm -f conftest.$ac_objext conftest$ac_exeext
87908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87909 (eval $ac_link) 2>conftest.er1
87910 ac_status=$?
87911 grep -v '^ *+' conftest.er1 >conftest.err
87912 rm -f conftest.er1
87913 cat conftest.err >&5
87914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87915 (exit $ac_status); } &&
87916 { ac_try='test -z "$ac_c_werror_flag"
87917 || test ! -s conftest.err'
87918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87919 (eval $ac_try) 2>&5
87920 ac_status=$?
87921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87922 (exit $ac_status); }; } &&
87923 { ac_try='test -s conftest$ac_exeext'
87924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87925 (eval $ac_try) 2>&5
87926 ac_status=$?
87927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87928 (exit $ac_status); }; }; then
87929 eval "$as_ac_var=yes"
87930 else
87931 echo "$as_me: failed program was:" >&5
87932 sed 's/^/| /' conftest.$ac_ext >&5
87934 eval "$as_ac_var=no"
87936 rm -f conftest.err conftest.$ac_objext \
87937 conftest$ac_exeext conftest.$ac_ext
87939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87941 if test `eval echo '${'$as_ac_var'}'` = yes; then
87942 cat >>confdefs.h <<_ACEOF
87943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87944 _ACEOF
87946 else
87947 ac_wfuncs=no
87949 done
87952 # Checks for names injected into std:: by the c_std headers.
87999 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
88000 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
88001 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
88002 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
88003 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
88004 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
88006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88007 echo "$as_me:$LINENO: checking for $ac_func" >&5
88008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88009 if eval "test \"\${$as_ac_var+set}\" = set"; then
88010 echo $ECHO_N "(cached) $ECHO_C" >&6
88011 else
88012 if test x$gcc_no_link = xyes; then
88013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88015 { (exit 1); exit 1; }; }
88017 cat >conftest.$ac_ext <<_ACEOF
88018 /* confdefs.h. */
88019 _ACEOF
88020 cat confdefs.h >>conftest.$ac_ext
88021 cat >>conftest.$ac_ext <<_ACEOF
88022 /* end confdefs.h. */
88023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88025 #define $ac_func innocuous_$ac_func
88027 /* System header to define __stub macros and hopefully few prototypes,
88028 which can conflict with char $ac_func (); below.
88029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88030 <limits.h> exists even on freestanding compilers. */
88032 #ifdef __STDC__
88033 # include <limits.h>
88034 #else
88035 # include <assert.h>
88036 #endif
88038 #undef $ac_func
88040 /* Override any gcc2 internal prototype to avoid an error. */
88041 #ifdef __cplusplus
88042 extern "C"
88044 #endif
88045 /* We use char because int might match the return type of a gcc2
88046 builtin and then its argument prototype would still apply. */
88047 char $ac_func ();
88048 /* The GNU C library defines this for functions which it implements
88049 to always fail with ENOSYS. Some functions are actually named
88050 something starting with __ and the normal name is an alias. */
88051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88052 choke me
88053 #else
88054 char (*f) () = $ac_func;
88055 #endif
88056 #ifdef __cplusplus
88058 #endif
88061 main ()
88063 return f != $ac_func;
88065 return 0;
88067 _ACEOF
88068 rm -f conftest.$ac_objext conftest$ac_exeext
88069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88070 (eval $ac_link) 2>conftest.er1
88071 ac_status=$?
88072 grep -v '^ *+' conftest.er1 >conftest.err
88073 rm -f conftest.er1
88074 cat conftest.err >&5
88075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88076 (exit $ac_status); } &&
88077 { ac_try='test -z "$ac_c_werror_flag"
88078 || test ! -s conftest.err'
88079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88080 (eval $ac_try) 2>&5
88081 ac_status=$?
88082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88083 (exit $ac_status); }; } &&
88084 { ac_try='test -s conftest$ac_exeext'
88085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88086 (eval $ac_try) 2>&5
88087 ac_status=$?
88088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88089 (exit $ac_status); }; }; then
88090 eval "$as_ac_var=yes"
88091 else
88092 echo "$as_me: failed program was:" >&5
88093 sed 's/^/| /' conftest.$ac_ext >&5
88095 eval "$as_ac_var=no"
88097 rm -f conftest.err conftest.$ac_objext \
88098 conftest$ac_exeext conftest.$ac_ext
88100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88102 if test `eval echo '${'$as_ac_var'}'` = yes; then
88103 cat >>confdefs.h <<_ACEOF
88104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88105 _ACEOF
88107 else
88108 ac_wfuncs=no
88110 done
88113 # Checks for wide character functions that are not required
88114 # for basic wchar_t support. Don't disable support if they are missing.
88115 # Injection of these is wrapped with guard macros.
88121 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
88123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88124 echo "$as_me:$LINENO: checking for $ac_func" >&5
88125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88126 if eval "test \"\${$as_ac_var+set}\" = set"; then
88127 echo $ECHO_N "(cached) $ECHO_C" >&6
88128 else
88129 if test x$gcc_no_link = xyes; then
88130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88132 { (exit 1); exit 1; }; }
88134 cat >conftest.$ac_ext <<_ACEOF
88135 /* confdefs.h. */
88136 _ACEOF
88137 cat confdefs.h >>conftest.$ac_ext
88138 cat >>conftest.$ac_ext <<_ACEOF
88139 /* end confdefs.h. */
88140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88142 #define $ac_func innocuous_$ac_func
88144 /* System header to define __stub macros and hopefully few prototypes,
88145 which can conflict with char $ac_func (); below.
88146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88147 <limits.h> exists even on freestanding compilers. */
88149 #ifdef __STDC__
88150 # include <limits.h>
88151 #else
88152 # include <assert.h>
88153 #endif
88155 #undef $ac_func
88157 /* Override any gcc2 internal prototype to avoid an error. */
88158 #ifdef __cplusplus
88159 extern "C"
88161 #endif
88162 /* We use char because int might match the return type of a gcc2
88163 builtin and then its argument prototype would still apply. */
88164 char $ac_func ();
88165 /* The GNU C library defines this for functions which it implements
88166 to always fail with ENOSYS. Some functions are actually named
88167 something starting with __ and the normal name is an alias. */
88168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88169 choke me
88170 #else
88171 char (*f) () = $ac_func;
88172 #endif
88173 #ifdef __cplusplus
88175 #endif
88178 main ()
88180 return f != $ac_func;
88182 return 0;
88184 _ACEOF
88185 rm -f conftest.$ac_objext conftest$ac_exeext
88186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88187 (eval $ac_link) 2>conftest.er1
88188 ac_status=$?
88189 grep -v '^ *+' conftest.er1 >conftest.err
88190 rm -f conftest.er1
88191 cat conftest.err >&5
88192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88193 (exit $ac_status); } &&
88194 { ac_try='test -z "$ac_c_werror_flag"
88195 || test ! -s conftest.err'
88196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88197 (eval $ac_try) 2>&5
88198 ac_status=$?
88199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88200 (exit $ac_status); }; } &&
88201 { ac_try='test -s conftest$ac_exeext'
88202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88203 (eval $ac_try) 2>&5
88204 ac_status=$?
88205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88206 (exit $ac_status); }; }; then
88207 eval "$as_ac_var=yes"
88208 else
88209 echo "$as_me: failed program was:" >&5
88210 sed 's/^/| /' conftest.$ac_ext >&5
88212 eval "$as_ac_var=no"
88214 rm -f conftest.err conftest.$ac_objext \
88215 conftest$ac_exeext conftest.$ac_ext
88217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88219 if test `eval echo '${'$as_ac_var'}'` = yes; then
88220 cat >>confdefs.h <<_ACEOF
88221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88222 _ACEOF
88225 done
88228 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
88229 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
88230 if test x"$has_weof" = xyes &&
88231 test x"$has_wchar_minmax" = xyes &&
88232 test x"$ac_wfuncs" = xyes;
88233 then
88234 ac_isoC99_wchar_t=yes
88235 else
88236 ac_isoC99_wchar_t=no
88238 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
88239 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
88241 # Use iconv for wchar_t to char conversions. As such, check for
88242 # X/Open Portability Guide, version 2 features (XPG2).
88243 if test "${ac_cv_header_iconv_h+set}" = set; then
88244 echo "$as_me:$LINENO: checking for iconv.h" >&5
88245 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
88246 if test "${ac_cv_header_iconv_h+set}" = set; then
88247 echo $ECHO_N "(cached) $ECHO_C" >&6
88249 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
88250 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
88251 else
88252 # Is the header compilable?
88253 echo "$as_me:$LINENO: checking iconv.h usability" >&5
88254 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
88255 cat >conftest.$ac_ext <<_ACEOF
88256 /* confdefs.h. */
88257 _ACEOF
88258 cat confdefs.h >>conftest.$ac_ext
88259 cat >>conftest.$ac_ext <<_ACEOF
88260 /* end confdefs.h. */
88261 $ac_includes_default
88262 #include <iconv.h>
88263 _ACEOF
88264 rm -f conftest.$ac_objext
88265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88266 (eval $ac_compile) 2>conftest.er1
88267 ac_status=$?
88268 grep -v '^ *+' conftest.er1 >conftest.err
88269 rm -f conftest.er1
88270 cat conftest.err >&5
88271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88272 (exit $ac_status); } &&
88273 { ac_try='test -z "$ac_c_werror_flag"
88274 || test ! -s conftest.err'
88275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88276 (eval $ac_try) 2>&5
88277 ac_status=$?
88278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88279 (exit $ac_status); }; } &&
88280 { ac_try='test -s conftest.$ac_objext'
88281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88282 (eval $ac_try) 2>&5
88283 ac_status=$?
88284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88285 (exit $ac_status); }; }; then
88286 ac_header_compiler=yes
88287 else
88288 echo "$as_me: failed program was:" >&5
88289 sed 's/^/| /' conftest.$ac_ext >&5
88291 ac_header_compiler=no
88293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88294 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88295 echo "${ECHO_T}$ac_header_compiler" >&6
88297 # Is the header present?
88298 echo "$as_me:$LINENO: checking iconv.h presence" >&5
88299 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
88300 cat >conftest.$ac_ext <<_ACEOF
88301 /* confdefs.h. */
88302 _ACEOF
88303 cat confdefs.h >>conftest.$ac_ext
88304 cat >>conftest.$ac_ext <<_ACEOF
88305 /* end confdefs.h. */
88306 #include <iconv.h>
88307 _ACEOF
88308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88309 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88310 ac_status=$?
88311 grep -v '^ *+' conftest.er1 >conftest.err
88312 rm -f conftest.er1
88313 cat conftest.err >&5
88314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88315 (exit $ac_status); } >/dev/null; then
88316 if test -s conftest.err; then
88317 ac_cpp_err=$ac_c_preproc_warn_flag
88318 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88319 else
88320 ac_cpp_err=
88322 else
88323 ac_cpp_err=yes
88325 if test -z "$ac_cpp_err"; then
88326 ac_header_preproc=yes
88327 else
88328 echo "$as_me: failed program was:" >&5
88329 sed 's/^/| /' conftest.$ac_ext >&5
88331 ac_header_preproc=no
88333 rm -f conftest.err conftest.$ac_ext
88334 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88335 echo "${ECHO_T}$ac_header_preproc" >&6
88337 # So? What about this header?
88338 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88339 yes:no: )
88340 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
88341 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
88342 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
88343 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
88344 ac_header_preproc=yes
88346 no:yes:* )
88347 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
88348 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
88349 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
88350 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
88351 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
88352 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
88353 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
88354 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
88355 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
88356 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
88357 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
88358 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
88360 cat <<\_ASBOX
88361 ## ----------------------------------------- ##
88362 ## Report this to the package-unused lists. ##
88363 ## ----------------------------------------- ##
88364 _ASBOX
88366 sed "s/^/$as_me: WARNING: /" >&2
88368 esac
88369 echo "$as_me:$LINENO: checking for iconv.h" >&5
88370 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
88371 if test "${ac_cv_header_iconv_h+set}" = set; then
88372 echo $ECHO_N "(cached) $ECHO_C" >&6
88373 else
88374 ac_cv_header_iconv_h=$ac_header_preproc
88376 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
88377 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
88380 if test $ac_cv_header_iconv_h = yes; then
88381 ac_has_iconv_h=yes
88382 else
88383 ac_has_iconv_h=no
88387 if test "${ac_cv_header_langinfo_h+set}" = set; then
88388 echo "$as_me:$LINENO: checking for langinfo.h" >&5
88389 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
88390 if test "${ac_cv_header_langinfo_h+set}" = set; then
88391 echo $ECHO_N "(cached) $ECHO_C" >&6
88393 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
88394 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
88395 else
88396 # Is the header compilable?
88397 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
88398 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
88399 cat >conftest.$ac_ext <<_ACEOF
88400 /* confdefs.h. */
88401 _ACEOF
88402 cat confdefs.h >>conftest.$ac_ext
88403 cat >>conftest.$ac_ext <<_ACEOF
88404 /* end confdefs.h. */
88405 $ac_includes_default
88406 #include <langinfo.h>
88407 _ACEOF
88408 rm -f conftest.$ac_objext
88409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88410 (eval $ac_compile) 2>conftest.er1
88411 ac_status=$?
88412 grep -v '^ *+' conftest.er1 >conftest.err
88413 rm -f conftest.er1
88414 cat conftest.err >&5
88415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88416 (exit $ac_status); } &&
88417 { ac_try='test -z "$ac_c_werror_flag"
88418 || test ! -s conftest.err'
88419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88420 (eval $ac_try) 2>&5
88421 ac_status=$?
88422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88423 (exit $ac_status); }; } &&
88424 { ac_try='test -s conftest.$ac_objext'
88425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88426 (eval $ac_try) 2>&5
88427 ac_status=$?
88428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88429 (exit $ac_status); }; }; then
88430 ac_header_compiler=yes
88431 else
88432 echo "$as_me: failed program was:" >&5
88433 sed 's/^/| /' conftest.$ac_ext >&5
88435 ac_header_compiler=no
88437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88438 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88439 echo "${ECHO_T}$ac_header_compiler" >&6
88441 # Is the header present?
88442 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
88443 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
88444 cat >conftest.$ac_ext <<_ACEOF
88445 /* confdefs.h. */
88446 _ACEOF
88447 cat confdefs.h >>conftest.$ac_ext
88448 cat >>conftest.$ac_ext <<_ACEOF
88449 /* end confdefs.h. */
88450 #include <langinfo.h>
88451 _ACEOF
88452 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88453 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88454 ac_status=$?
88455 grep -v '^ *+' conftest.er1 >conftest.err
88456 rm -f conftest.er1
88457 cat conftest.err >&5
88458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88459 (exit $ac_status); } >/dev/null; then
88460 if test -s conftest.err; then
88461 ac_cpp_err=$ac_c_preproc_warn_flag
88462 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88463 else
88464 ac_cpp_err=
88466 else
88467 ac_cpp_err=yes
88469 if test -z "$ac_cpp_err"; then
88470 ac_header_preproc=yes
88471 else
88472 echo "$as_me: failed program was:" >&5
88473 sed 's/^/| /' conftest.$ac_ext >&5
88475 ac_header_preproc=no
88477 rm -f conftest.err conftest.$ac_ext
88478 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88479 echo "${ECHO_T}$ac_header_preproc" >&6
88481 # So? What about this header?
88482 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88483 yes:no: )
88484 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
88485 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
88486 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
88487 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
88488 ac_header_preproc=yes
88490 no:yes:* )
88491 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
88492 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
88493 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
88494 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
88495 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
88496 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
88497 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
88498 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
88499 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
88500 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
88501 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
88502 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
88504 cat <<\_ASBOX
88505 ## ----------------------------------------- ##
88506 ## Report this to the package-unused lists. ##
88507 ## ----------------------------------------- ##
88508 _ASBOX
88510 sed "s/^/$as_me: WARNING: /" >&2
88512 esac
88513 echo "$as_me:$LINENO: checking for langinfo.h" >&5
88514 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
88515 if test "${ac_cv_header_langinfo_h+set}" = set; then
88516 echo $ECHO_N "(cached) $ECHO_C" >&6
88517 else
88518 ac_cv_header_langinfo_h=$ac_header_preproc
88520 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
88521 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
88524 if test $ac_cv_header_langinfo_h = yes; then
88525 ac_has_langinfo_h=yes
88526 else
88527 ac_has_langinfo_h=no
88532 # Check for existence of libiconv.a providing XPG2 wchar_t support.
88533 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
88534 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
88535 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
88536 echo $ECHO_N "(cached) $ECHO_C" >&6
88537 else
88538 ac_check_lib_save_LIBS=$LIBS
88539 LIBS="-liconv $LIBS"
88540 if test x$gcc_no_link = xyes; then
88541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88543 { (exit 1); exit 1; }; }
88545 cat >conftest.$ac_ext <<_ACEOF
88546 /* confdefs.h. */
88547 _ACEOF
88548 cat confdefs.h >>conftest.$ac_ext
88549 cat >>conftest.$ac_ext <<_ACEOF
88550 /* end confdefs.h. */
88552 /* Override any gcc2 internal prototype to avoid an error. */
88553 #ifdef __cplusplus
88554 extern "C"
88555 #endif
88556 /* We use char because int might match the return type of a gcc2
88557 builtin and then its argument prototype would still apply. */
88558 char iconv ();
88560 main ()
88562 iconv ();
88564 return 0;
88566 _ACEOF
88567 rm -f conftest.$ac_objext conftest$ac_exeext
88568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88569 (eval $ac_link) 2>conftest.er1
88570 ac_status=$?
88571 grep -v '^ *+' conftest.er1 >conftest.err
88572 rm -f conftest.er1
88573 cat conftest.err >&5
88574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88575 (exit $ac_status); } &&
88576 { ac_try='test -z "$ac_c_werror_flag"
88577 || test ! -s conftest.err'
88578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88579 (eval $ac_try) 2>&5
88580 ac_status=$?
88581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88582 (exit $ac_status); }; } &&
88583 { ac_try='test -s conftest$ac_exeext'
88584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88585 (eval $ac_try) 2>&5
88586 ac_status=$?
88587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88588 (exit $ac_status); }; }; then
88589 ac_cv_lib_iconv_iconv=yes
88590 else
88591 echo "$as_me: failed program was:" >&5
88592 sed 's/^/| /' conftest.$ac_ext >&5
88594 ac_cv_lib_iconv_iconv=no
88596 rm -f conftest.err conftest.$ac_objext \
88597 conftest$ac_exeext conftest.$ac_ext
88598 LIBS=$ac_check_lib_save_LIBS
88600 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
88601 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
88602 if test $ac_cv_lib_iconv_iconv = yes; then
88603 LIBICONV="-liconv"
88606 ac_save_LIBS="$LIBS"
88607 LIBS="$LIBS $LIBICONV"
88614 for ac_func in iconv_open iconv_close iconv nl_langinfo
88616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88617 echo "$as_me:$LINENO: checking for $ac_func" >&5
88618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88619 if eval "test \"\${$as_ac_var+set}\" = set"; then
88620 echo $ECHO_N "(cached) $ECHO_C" >&6
88621 else
88622 if test x$gcc_no_link = xyes; then
88623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88625 { (exit 1); exit 1; }; }
88627 cat >conftest.$ac_ext <<_ACEOF
88628 /* confdefs.h. */
88629 _ACEOF
88630 cat confdefs.h >>conftest.$ac_ext
88631 cat >>conftest.$ac_ext <<_ACEOF
88632 /* end confdefs.h. */
88633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88635 #define $ac_func innocuous_$ac_func
88637 /* System header to define __stub macros and hopefully few prototypes,
88638 which can conflict with char $ac_func (); below.
88639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88640 <limits.h> exists even on freestanding compilers. */
88642 #ifdef __STDC__
88643 # include <limits.h>
88644 #else
88645 # include <assert.h>
88646 #endif
88648 #undef $ac_func
88650 /* Override any gcc2 internal prototype to avoid an error. */
88651 #ifdef __cplusplus
88652 extern "C"
88654 #endif
88655 /* We use char because int might match the return type of a gcc2
88656 builtin and then its argument prototype would still apply. */
88657 char $ac_func ();
88658 /* The GNU C library defines this for functions which it implements
88659 to always fail with ENOSYS. Some functions are actually named
88660 something starting with __ and the normal name is an alias. */
88661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88662 choke me
88663 #else
88664 char (*f) () = $ac_func;
88665 #endif
88666 #ifdef __cplusplus
88668 #endif
88671 main ()
88673 return f != $ac_func;
88675 return 0;
88677 _ACEOF
88678 rm -f conftest.$ac_objext conftest$ac_exeext
88679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88680 (eval $ac_link) 2>conftest.er1
88681 ac_status=$?
88682 grep -v '^ *+' conftest.er1 >conftest.err
88683 rm -f conftest.er1
88684 cat conftest.err >&5
88685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88686 (exit $ac_status); } &&
88687 { ac_try='test -z "$ac_c_werror_flag"
88688 || test ! -s conftest.err'
88689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88690 (eval $ac_try) 2>&5
88691 ac_status=$?
88692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88693 (exit $ac_status); }; } &&
88694 { ac_try='test -s conftest$ac_exeext'
88695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88696 (eval $ac_try) 2>&5
88697 ac_status=$?
88698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88699 (exit $ac_status); }; }; then
88700 eval "$as_ac_var=yes"
88701 else
88702 echo "$as_me: failed program was:" >&5
88703 sed 's/^/| /' conftest.$ac_ext >&5
88705 eval "$as_ac_var=no"
88707 rm -f conftest.err conftest.$ac_objext \
88708 conftest$ac_exeext conftest.$ac_ext
88710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88712 if test `eval echo '${'$as_ac_var'}'` = yes; then
88713 cat >>confdefs.h <<_ACEOF
88714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88715 _ACEOF
88716 ac_XPG2funcs=yes
88717 else
88718 ac_XPG2funcs=no
88720 done
88723 LIBS="$ac_save_LIBS"
88725 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
88726 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
88727 if test x"$ac_has_iconv_h" = xyes &&
88728 test x"$ac_has_langinfo_h" = xyes &&
88729 test x"$ac_XPG2funcs" = xyes;
88730 then
88731 ac_XPG2_wchar_t=yes
88732 else
88733 ac_XPG2_wchar_t=no
88735 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
88736 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
88738 # At the moment, only enable wchar_t specializations if all the
88739 # above support is present.
88740 if test x"$ac_isoC99_wchar_t" = xyes &&
88741 test x"$ac_XPG2_wchar_t" = xyes;
88742 then
88743 cat >>confdefs.h <<\_ACEOF
88744 #define _GLIBCXX_USE_WCHAR_T 1
88745 _ACEOF
88747 enable_wchar_t=yes
88750 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
88751 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
88752 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
88753 echo "${ECHO_T}$enable_wchar_t" >&6
88755 cat >>confdefs.h <<\_ACEOF
88756 #define HAVE_COPYSIGN 1
88757 _ACEOF
88759 cat >>confdefs.h <<\_ACEOF
88760 #define HAVE_COPYSIGNF 1
88761 _ACEOF
88763 cat >>confdefs.h <<\_ACEOF
88764 #define HAVE_FINITEF 1
88765 _ACEOF
88767 cat >>confdefs.h <<\_ACEOF
88768 #define HAVE_FINITE 1
88769 _ACEOF
88771 cat >>confdefs.h <<\_ACEOF
88772 #define HAVE_FREXPF 1
88773 _ACEOF
88775 cat >>confdefs.h <<\_ACEOF
88776 #define HAVE_HYPOTF 1
88777 _ACEOF
88779 cat >>confdefs.h <<\_ACEOF
88780 #define HAVE_ISINF 1
88781 _ACEOF
88783 cat >>confdefs.h <<\_ACEOF
88784 #define HAVE_ISINFF 1
88785 _ACEOF
88787 cat >>confdefs.h <<\_ACEOF
88788 #define HAVE_ISNAN 1
88789 _ACEOF
88791 cat >>confdefs.h <<\_ACEOF
88792 #define HAVE_ISNANF 1
88793 _ACEOF
88795 if test x"long_double_math_on_this_cpu" = x"yes"; then
88796 cat >>confdefs.h <<\_ACEOF
88797 #define HAVE_FINITEL 1
88798 _ACEOF
88800 cat >>confdefs.h <<\_ACEOF
88801 #define HAVE_ISINFL 1
88802 _ACEOF
88804 cat >>confdefs.h <<\_ACEOF
88805 #define HAVE_ISNANL 1
88806 _ACEOF
88810 *-netware)
88819 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
88820 sys/types.h locale.h float.h inttypes.h
88822 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
88823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88824 echo "$as_me:$LINENO: checking for $ac_header" >&5
88825 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88826 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88827 echo $ECHO_N "(cached) $ECHO_C" >&6
88829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88830 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88831 else
88832 # Is the header compilable?
88833 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88834 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88835 cat >conftest.$ac_ext <<_ACEOF
88836 /* confdefs.h. */
88837 _ACEOF
88838 cat confdefs.h >>conftest.$ac_ext
88839 cat >>conftest.$ac_ext <<_ACEOF
88840 /* end confdefs.h. */
88841 $ac_includes_default
88842 #include <$ac_header>
88843 _ACEOF
88844 rm -f conftest.$ac_objext
88845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88846 (eval $ac_compile) 2>conftest.er1
88847 ac_status=$?
88848 grep -v '^ *+' conftest.er1 >conftest.err
88849 rm -f conftest.er1
88850 cat conftest.err >&5
88851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88852 (exit $ac_status); } &&
88853 { ac_try='test -z "$ac_c_werror_flag"
88854 || test ! -s conftest.err'
88855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88856 (eval $ac_try) 2>&5
88857 ac_status=$?
88858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88859 (exit $ac_status); }; } &&
88860 { ac_try='test -s conftest.$ac_objext'
88861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88862 (eval $ac_try) 2>&5
88863 ac_status=$?
88864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88865 (exit $ac_status); }; }; then
88866 ac_header_compiler=yes
88867 else
88868 echo "$as_me: failed program was:" >&5
88869 sed 's/^/| /' conftest.$ac_ext >&5
88871 ac_header_compiler=no
88873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88874 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88875 echo "${ECHO_T}$ac_header_compiler" >&6
88877 # Is the header present?
88878 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88879 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88880 cat >conftest.$ac_ext <<_ACEOF
88881 /* confdefs.h. */
88882 _ACEOF
88883 cat confdefs.h >>conftest.$ac_ext
88884 cat >>conftest.$ac_ext <<_ACEOF
88885 /* end confdefs.h. */
88886 #include <$ac_header>
88887 _ACEOF
88888 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88889 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88890 ac_status=$?
88891 grep -v '^ *+' conftest.er1 >conftest.err
88892 rm -f conftest.er1
88893 cat conftest.err >&5
88894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88895 (exit $ac_status); } >/dev/null; then
88896 if test -s conftest.err; then
88897 ac_cpp_err=$ac_c_preproc_warn_flag
88898 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88899 else
88900 ac_cpp_err=
88902 else
88903 ac_cpp_err=yes
88905 if test -z "$ac_cpp_err"; then
88906 ac_header_preproc=yes
88907 else
88908 echo "$as_me: failed program was:" >&5
88909 sed 's/^/| /' conftest.$ac_ext >&5
88911 ac_header_preproc=no
88913 rm -f conftest.err conftest.$ac_ext
88914 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88915 echo "${ECHO_T}$ac_header_preproc" >&6
88917 # So? What about this header?
88918 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88919 yes:no: )
88920 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88921 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88922 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88923 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88924 ac_header_preproc=yes
88926 no:yes:* )
88927 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88928 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88929 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
88930 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
88931 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88932 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88933 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
88934 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
88935 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88936 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88937 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88938 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88940 cat <<\_ASBOX
88941 ## ----------------------------------------- ##
88942 ## Report this to the package-unused lists. ##
88943 ## ----------------------------------------- ##
88944 _ASBOX
88946 sed "s/^/$as_me: WARNING: /" >&2
88948 esac
88949 echo "$as_me:$LINENO: checking for $ac_header" >&5
88950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88951 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88952 echo $ECHO_N "(cached) $ECHO_C" >&6
88953 else
88954 eval "$as_ac_Header=\$ac_header_preproc"
88956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88957 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88960 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88961 cat >>confdefs.h <<_ACEOF
88962 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88963 _ACEOF
88967 done
88969 SECTION_FLAGS='-ffunction-sections -fdata-sections'
88972 # If we're not using GNU ld, then there's no point in even trying these
88973 # tests. Check for that first. We should have already tested for gld
88974 # by now (in libtool), but require it now just to be safe...
88975 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
88976 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
88980 # The name set by libtool depends on the version of libtool. Shame on us
88981 # for depending on an impl detail, but c'est la vie. Older versions used
88982 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
88983 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
88984 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
88985 # set (hence we're using an older libtool), then set it.
88986 if test x${with_gnu_ld+set} != xset; then
88987 if test x${ac_cv_prog_gnu_ld+set} != xset; then
88988 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
88989 with_gnu_ld=no
88990 else
88991 with_gnu_ld=$ac_cv_prog_gnu_ld
88995 # Start by getting the version number. I think the libtool test already
88996 # does some of this, but throws away the result.
88998 ldver=`$LD --version 2>/dev/null | head -1 | \
88999 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
89001 glibcxx_gnu_ld_version=`echo $ldver | \
89002 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
89004 # Set --gc-sections.
89005 if test "$with_gnu_ld" = "notbroken"; then
89006 # GNU ld it is! Joy and bunny rabbits!
89008 # All these tests are for C++; save the language and the compiler flags.
89009 # Need to do this so that g++ won't try to link in libstdc++
89010 ac_test_CFLAGS="${CFLAGS+set}"
89011 ac_save_CFLAGS="$CFLAGS"
89012 CFLAGS='-x c++ -Wl,--gc-sections'
89014 # Check for -Wl,--gc-sections
89015 # XXX This test is broken at the moment, as symbols required for linking
89016 # are now in libsupc++ (not built yet). In addition, this test has
89017 # cored on solaris in the past. In addition, --gc-sections doesn't
89018 # really work at the moment (keeps on discarding used sections, first
89019 # .eh_frame and now some of the glibc sections for iconv).
89020 # Bzzzzt. Thanks for playing, maybe next time.
89021 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
89022 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
89023 if test "$cross_compiling" = yes; then
89024 ac_sectionLDflags=yes
89025 else
89026 cat >conftest.$ac_ext <<_ACEOF
89027 /* confdefs.h. */
89028 _ACEOF
89029 cat confdefs.h >>conftest.$ac_ext
89030 cat >>conftest.$ac_ext <<_ACEOF
89031 /* end confdefs.h. */
89033 int main(void)
89035 try { throw 1; }
89036 catch (...) { };
89037 return 0;
89040 _ACEOF
89041 rm -f conftest$ac_exeext
89042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89043 (eval $ac_link) 2>&5
89044 ac_status=$?
89045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89046 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
89047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89048 (eval $ac_try) 2>&5
89049 ac_status=$?
89050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89051 (exit $ac_status); }; }; then
89052 ac_sectionLDflags=yes
89053 else
89054 echo "$as_me: program exited with status $ac_status" >&5
89055 echo "$as_me: failed program was:" >&5
89056 sed 's/^/| /' conftest.$ac_ext >&5
89058 ( exit $ac_status )
89059 ac_sectionLDflags=no
89061 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
89063 if test "$ac_test_CFLAGS" = set; then
89064 CFLAGS="$ac_save_CFLAGS"
89065 else
89066 # this is the suspicious part
89067 CFLAGS=''
89069 if test "$ac_sectionLDflags" = "yes"; then
89070 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
89072 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
89073 echo "${ECHO_T}$ac_sectionLDflags" >&6
89076 # Set linker optimization flags.
89077 if test x"$with_gnu_ld" = x"yes"; then
89078 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
89086 echo "$as_me:$LINENO: checking for main in -lm" >&5
89087 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
89088 if test "${ac_cv_lib_m_main+set}" = set; then
89089 echo $ECHO_N "(cached) $ECHO_C" >&6
89090 else
89091 ac_check_lib_save_LIBS=$LIBS
89092 LIBS="-lm $LIBS"
89093 if test x$gcc_no_link = xyes; then
89094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89096 { (exit 1); exit 1; }; }
89098 cat >conftest.$ac_ext <<_ACEOF
89099 /* confdefs.h. */
89100 _ACEOF
89101 cat confdefs.h >>conftest.$ac_ext
89102 cat >>conftest.$ac_ext <<_ACEOF
89103 /* end confdefs.h. */
89107 main ()
89109 main ();
89111 return 0;
89113 _ACEOF
89114 rm -f conftest.$ac_objext conftest$ac_exeext
89115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89116 (eval $ac_link) 2>conftest.er1
89117 ac_status=$?
89118 grep -v '^ *+' conftest.er1 >conftest.err
89119 rm -f conftest.er1
89120 cat conftest.err >&5
89121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89122 (exit $ac_status); } &&
89123 { ac_try='test -z "$ac_c_werror_flag"
89124 || test ! -s conftest.err'
89125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89126 (eval $ac_try) 2>&5
89127 ac_status=$?
89128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89129 (exit $ac_status); }; } &&
89130 { ac_try='test -s conftest$ac_exeext'
89131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89132 (eval $ac_try) 2>&5
89133 ac_status=$?
89134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89135 (exit $ac_status); }; }; then
89136 ac_cv_lib_m_main=yes
89137 else
89138 echo "$as_me: failed program was:" >&5
89139 sed 's/^/| /' conftest.$ac_ext >&5
89141 ac_cv_lib_m_main=no
89143 rm -f conftest.err conftest.$ac_objext \
89144 conftest$ac_exeext conftest.$ac_ext
89145 LIBS=$ac_check_lib_save_LIBS
89147 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
89148 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
89149 if test $ac_cv_lib_m_main = yes; then
89150 cat >>confdefs.h <<_ACEOF
89151 #define HAVE_LIBM 1
89152 _ACEOF
89154 LIBS="-lm $LIBS"
89159 for ac_func in copysignf
89161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89162 echo "$as_me:$LINENO: checking for $ac_func" >&5
89163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89164 if eval "test \"\${$as_ac_var+set}\" = set"; then
89165 echo $ECHO_N "(cached) $ECHO_C" >&6
89166 else
89167 if test x$gcc_no_link = xyes; then
89168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89170 { (exit 1); exit 1; }; }
89172 cat >conftest.$ac_ext <<_ACEOF
89173 /* confdefs.h. */
89174 _ACEOF
89175 cat confdefs.h >>conftest.$ac_ext
89176 cat >>conftest.$ac_ext <<_ACEOF
89177 /* end confdefs.h. */
89178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89180 #define $ac_func innocuous_$ac_func
89182 /* System header to define __stub macros and hopefully few prototypes,
89183 which can conflict with char $ac_func (); below.
89184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89185 <limits.h> exists even on freestanding compilers. */
89187 #ifdef __STDC__
89188 # include <limits.h>
89189 #else
89190 # include <assert.h>
89191 #endif
89193 #undef $ac_func
89195 /* Override any gcc2 internal prototype to avoid an error. */
89196 #ifdef __cplusplus
89197 extern "C"
89199 #endif
89200 /* We use char because int might match the return type of a gcc2
89201 builtin and then its argument prototype would still apply. */
89202 char $ac_func ();
89203 /* The GNU C library defines this for functions which it implements
89204 to always fail with ENOSYS. Some functions are actually named
89205 something starting with __ and the normal name is an alias. */
89206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89207 choke me
89208 #else
89209 char (*f) () = $ac_func;
89210 #endif
89211 #ifdef __cplusplus
89213 #endif
89216 main ()
89218 return f != $ac_func;
89220 return 0;
89222 _ACEOF
89223 rm -f conftest.$ac_objext conftest$ac_exeext
89224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89225 (eval $ac_link) 2>conftest.er1
89226 ac_status=$?
89227 grep -v '^ *+' conftest.er1 >conftest.err
89228 rm -f conftest.er1
89229 cat conftest.err >&5
89230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89231 (exit $ac_status); } &&
89232 { ac_try='test -z "$ac_c_werror_flag"
89233 || test ! -s conftest.err'
89234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89235 (eval $ac_try) 2>&5
89236 ac_status=$?
89237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89238 (exit $ac_status); }; } &&
89239 { ac_try='test -s conftest$ac_exeext'
89240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89241 (eval $ac_try) 2>&5
89242 ac_status=$?
89243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89244 (exit $ac_status); }; }; then
89245 eval "$as_ac_var=yes"
89246 else
89247 echo "$as_me: failed program was:" >&5
89248 sed 's/^/| /' conftest.$ac_ext >&5
89250 eval "$as_ac_var=no"
89252 rm -f conftest.err conftest.$ac_objext \
89253 conftest$ac_exeext conftest.$ac_ext
89255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89257 if test `eval echo '${'$as_ac_var'}'` = yes; then
89258 cat >>confdefs.h <<_ACEOF
89259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89260 _ACEOF
89262 else
89263 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
89265 done
89269 for ac_func in __signbit
89271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89272 echo "$as_me:$LINENO: checking for $ac_func" >&5
89273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89274 if eval "test \"\${$as_ac_var+set}\" = set"; then
89275 echo $ECHO_N "(cached) $ECHO_C" >&6
89276 else
89277 if test x$gcc_no_link = xyes; then
89278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89280 { (exit 1); exit 1; }; }
89282 cat >conftest.$ac_ext <<_ACEOF
89283 /* confdefs.h. */
89284 _ACEOF
89285 cat confdefs.h >>conftest.$ac_ext
89286 cat >>conftest.$ac_ext <<_ACEOF
89287 /* end confdefs.h. */
89288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89290 #define $ac_func innocuous_$ac_func
89292 /* System header to define __stub macros and hopefully few prototypes,
89293 which can conflict with char $ac_func (); below.
89294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89295 <limits.h> exists even on freestanding compilers. */
89297 #ifdef __STDC__
89298 # include <limits.h>
89299 #else
89300 # include <assert.h>
89301 #endif
89303 #undef $ac_func
89305 /* Override any gcc2 internal prototype to avoid an error. */
89306 #ifdef __cplusplus
89307 extern "C"
89309 #endif
89310 /* We use char because int might match the return type of a gcc2
89311 builtin and then its argument prototype would still apply. */
89312 char $ac_func ();
89313 /* The GNU C library defines this for functions which it implements
89314 to always fail with ENOSYS. Some functions are actually named
89315 something starting with __ and the normal name is an alias. */
89316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89317 choke me
89318 #else
89319 char (*f) () = $ac_func;
89320 #endif
89321 #ifdef __cplusplus
89323 #endif
89326 main ()
89328 return f != $ac_func;
89330 return 0;
89332 _ACEOF
89333 rm -f conftest.$ac_objext conftest$ac_exeext
89334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89335 (eval $ac_link) 2>conftest.er1
89336 ac_status=$?
89337 grep -v '^ *+' conftest.er1 >conftest.err
89338 rm -f conftest.er1
89339 cat conftest.err >&5
89340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89341 (exit $ac_status); } &&
89342 { ac_try='test -z "$ac_c_werror_flag"
89343 || test ! -s conftest.err'
89344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89345 (eval $ac_try) 2>&5
89346 ac_status=$?
89347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89348 (exit $ac_status); }; } &&
89349 { ac_try='test -s conftest$ac_exeext'
89350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89351 (eval $ac_try) 2>&5
89352 ac_status=$?
89353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89354 (exit $ac_status); }; }; then
89355 eval "$as_ac_var=yes"
89356 else
89357 echo "$as_me: failed program was:" >&5
89358 sed 's/^/| /' conftest.$ac_ext >&5
89360 eval "$as_ac_var=no"
89362 rm -f conftest.err conftest.$ac_objext \
89363 conftest$ac_exeext conftest.$ac_ext
89365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89367 if test `eval echo '${'$as_ac_var'}'` = yes; then
89368 cat >>confdefs.h <<_ACEOF
89369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89370 _ACEOF
89372 else
89373 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
89375 done
89379 for ac_func in __signbitf
89381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89382 echo "$as_me:$LINENO: checking for $ac_func" >&5
89383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89384 if eval "test \"\${$as_ac_var+set}\" = set"; then
89385 echo $ECHO_N "(cached) $ECHO_C" >&6
89386 else
89387 if test x$gcc_no_link = xyes; then
89388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89390 { (exit 1); exit 1; }; }
89392 cat >conftest.$ac_ext <<_ACEOF
89393 /* confdefs.h. */
89394 _ACEOF
89395 cat confdefs.h >>conftest.$ac_ext
89396 cat >>conftest.$ac_ext <<_ACEOF
89397 /* end confdefs.h. */
89398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89400 #define $ac_func innocuous_$ac_func
89402 /* System header to define __stub macros and hopefully few prototypes,
89403 which can conflict with char $ac_func (); below.
89404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89405 <limits.h> exists even on freestanding compilers. */
89407 #ifdef __STDC__
89408 # include <limits.h>
89409 #else
89410 # include <assert.h>
89411 #endif
89413 #undef $ac_func
89415 /* Override any gcc2 internal prototype to avoid an error. */
89416 #ifdef __cplusplus
89417 extern "C"
89419 #endif
89420 /* We use char because int might match the return type of a gcc2
89421 builtin and then its argument prototype would still apply. */
89422 char $ac_func ();
89423 /* The GNU C library defines this for functions which it implements
89424 to always fail with ENOSYS. Some functions are actually named
89425 something starting with __ and the normal name is an alias. */
89426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89427 choke me
89428 #else
89429 char (*f) () = $ac_func;
89430 #endif
89431 #ifdef __cplusplus
89433 #endif
89436 main ()
89438 return f != $ac_func;
89440 return 0;
89442 _ACEOF
89443 rm -f conftest.$ac_objext conftest$ac_exeext
89444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89445 (eval $ac_link) 2>conftest.er1
89446 ac_status=$?
89447 grep -v '^ *+' conftest.er1 >conftest.err
89448 rm -f conftest.er1
89449 cat conftest.err >&5
89450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89451 (exit $ac_status); } &&
89452 { ac_try='test -z "$ac_c_werror_flag"
89453 || test ! -s conftest.err'
89454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89455 (eval $ac_try) 2>&5
89456 ac_status=$?
89457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89458 (exit $ac_status); }; } &&
89459 { ac_try='test -s conftest$ac_exeext'
89460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89461 (eval $ac_try) 2>&5
89462 ac_status=$?
89463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89464 (exit $ac_status); }; }; then
89465 eval "$as_ac_var=yes"
89466 else
89467 echo "$as_me: failed program was:" >&5
89468 sed 's/^/| /' conftest.$ac_ext >&5
89470 eval "$as_ac_var=no"
89472 rm -f conftest.err conftest.$ac_objext \
89473 conftest$ac_exeext conftest.$ac_ext
89475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89477 if test `eval echo '${'$as_ac_var'}'` = yes; then
89478 cat >>confdefs.h <<_ACEOF
89479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89480 _ACEOF
89482 else
89483 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
89485 done
89488 if test x$ac_cv_func_copysignl = x"yes"; then
89490 for ac_func in __signbitl
89492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89493 echo "$as_me:$LINENO: checking for $ac_func" >&5
89494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89495 if eval "test \"\${$as_ac_var+set}\" = set"; then
89496 echo $ECHO_N "(cached) $ECHO_C" >&6
89497 else
89498 if test x$gcc_no_link = xyes; then
89499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89501 { (exit 1); exit 1; }; }
89503 cat >conftest.$ac_ext <<_ACEOF
89504 /* confdefs.h. */
89505 _ACEOF
89506 cat confdefs.h >>conftest.$ac_ext
89507 cat >>conftest.$ac_ext <<_ACEOF
89508 /* end confdefs.h. */
89509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89511 #define $ac_func innocuous_$ac_func
89513 /* System header to define __stub macros and hopefully few prototypes,
89514 which can conflict with char $ac_func (); below.
89515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89516 <limits.h> exists even on freestanding compilers. */
89518 #ifdef __STDC__
89519 # include <limits.h>
89520 #else
89521 # include <assert.h>
89522 #endif
89524 #undef $ac_func
89526 /* Override any gcc2 internal prototype to avoid an error. */
89527 #ifdef __cplusplus
89528 extern "C"
89530 #endif
89531 /* We use char because int might match the return type of a gcc2
89532 builtin and then its argument prototype would still apply. */
89533 char $ac_func ();
89534 /* The GNU C library defines this for functions which it implements
89535 to always fail with ENOSYS. Some functions are actually named
89536 something starting with __ and the normal name is an alias. */
89537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89538 choke me
89539 #else
89540 char (*f) () = $ac_func;
89541 #endif
89542 #ifdef __cplusplus
89544 #endif
89547 main ()
89549 return f != $ac_func;
89551 return 0;
89553 _ACEOF
89554 rm -f conftest.$ac_objext conftest$ac_exeext
89555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89556 (eval $ac_link) 2>conftest.er1
89557 ac_status=$?
89558 grep -v '^ *+' conftest.er1 >conftest.err
89559 rm -f conftest.er1
89560 cat conftest.err >&5
89561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89562 (exit $ac_status); } &&
89563 { ac_try='test -z "$ac_c_werror_flag"
89564 || test ! -s conftest.err'
89565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89566 (eval $ac_try) 2>&5
89567 ac_status=$?
89568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89569 (exit $ac_status); }; } &&
89570 { ac_try='test -s conftest$ac_exeext'
89571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89572 (eval $ac_try) 2>&5
89573 ac_status=$?
89574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89575 (exit $ac_status); }; }; then
89576 eval "$as_ac_var=yes"
89577 else
89578 echo "$as_me: failed program was:" >&5
89579 sed 's/^/| /' conftest.$ac_ext >&5
89581 eval "$as_ac_var=no"
89583 rm -f conftest.err conftest.$ac_objext \
89584 conftest$ac_exeext conftest.$ac_ext
89586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89588 if test `eval echo '${'$as_ac_var'}'` = yes; then
89589 cat >>confdefs.h <<_ACEOF
89590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89591 _ACEOF
89593 else
89594 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
89596 done
89600 # Used in libmath/Makefile.am.
89601 if test -n "$LIBMATHOBJS"; then
89602 need_libmath=yes
89607 # Test wchar.h for mbstate_t, which is needed for char_traits and
89608 # others even if wchar_t support is not on.
89609 echo "$as_me:$LINENO: checking for mbstate_t" >&5
89610 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
89611 cat >conftest.$ac_ext <<_ACEOF
89612 /* confdefs.h. */
89613 _ACEOF
89614 cat confdefs.h >>conftest.$ac_ext
89615 cat >>conftest.$ac_ext <<_ACEOF
89616 /* end confdefs.h. */
89617 #include <wchar.h>
89619 main ()
89621 mbstate_t teststate;
89623 return 0;
89625 _ACEOF
89626 rm -f conftest.$ac_objext
89627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89628 (eval $ac_compile) 2>conftest.er1
89629 ac_status=$?
89630 grep -v '^ *+' conftest.er1 >conftest.err
89631 rm -f conftest.er1
89632 cat conftest.err >&5
89633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89634 (exit $ac_status); } &&
89635 { ac_try='test -z "$ac_c_werror_flag"
89636 || test ! -s conftest.err'
89637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89638 (eval $ac_try) 2>&5
89639 ac_status=$?
89640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89641 (exit $ac_status); }; } &&
89642 { ac_try='test -s conftest.$ac_objext'
89643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89644 (eval $ac_try) 2>&5
89645 ac_status=$?
89646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89647 (exit $ac_status); }; }; then
89648 have_mbstate_t=yes
89649 else
89650 echo "$as_me: failed program was:" >&5
89651 sed 's/^/| /' conftest.$ac_ext >&5
89653 have_mbstate_t=no
89655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89656 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
89657 echo "${ECHO_T}$have_mbstate_t" >&6
89658 if test x"$have_mbstate_t" = xyes; then
89659 cat >>confdefs.h <<\_ACEOF
89660 #define HAVE_MBSTATE_T 1
89661 _ACEOF
89665 # Sanity check for existence of ISO C99 headers for extended encoding.
89667 for ac_header in wchar.h
89669 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89671 echo "$as_me:$LINENO: checking for $ac_header" >&5
89672 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89673 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89674 echo $ECHO_N "(cached) $ECHO_C" >&6
89676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89677 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89678 else
89679 # Is the header compilable?
89680 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89681 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89682 cat >conftest.$ac_ext <<_ACEOF
89683 /* confdefs.h. */
89684 _ACEOF
89685 cat confdefs.h >>conftest.$ac_ext
89686 cat >>conftest.$ac_ext <<_ACEOF
89687 /* end confdefs.h. */
89688 $ac_includes_default
89689 #include <$ac_header>
89690 _ACEOF
89691 rm -f conftest.$ac_objext
89692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89693 (eval $ac_compile) 2>conftest.er1
89694 ac_status=$?
89695 grep -v '^ *+' conftest.er1 >conftest.err
89696 rm -f conftest.er1
89697 cat conftest.err >&5
89698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89699 (exit $ac_status); } &&
89700 { ac_try='test -z "$ac_c_werror_flag"
89701 || test ! -s conftest.err'
89702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89703 (eval $ac_try) 2>&5
89704 ac_status=$?
89705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89706 (exit $ac_status); }; } &&
89707 { ac_try='test -s conftest.$ac_objext'
89708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89709 (eval $ac_try) 2>&5
89710 ac_status=$?
89711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89712 (exit $ac_status); }; }; then
89713 ac_header_compiler=yes
89714 else
89715 echo "$as_me: failed program was:" >&5
89716 sed 's/^/| /' conftest.$ac_ext >&5
89718 ac_header_compiler=no
89720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89721 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89722 echo "${ECHO_T}$ac_header_compiler" >&6
89724 # Is the header present?
89725 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89726 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89727 cat >conftest.$ac_ext <<_ACEOF
89728 /* confdefs.h. */
89729 _ACEOF
89730 cat confdefs.h >>conftest.$ac_ext
89731 cat >>conftest.$ac_ext <<_ACEOF
89732 /* end confdefs.h. */
89733 #include <$ac_header>
89734 _ACEOF
89735 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89736 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89737 ac_status=$?
89738 grep -v '^ *+' conftest.er1 >conftest.err
89739 rm -f conftest.er1
89740 cat conftest.err >&5
89741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89742 (exit $ac_status); } >/dev/null; then
89743 if test -s conftest.err; then
89744 ac_cpp_err=$ac_c_preproc_warn_flag
89745 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89746 else
89747 ac_cpp_err=
89749 else
89750 ac_cpp_err=yes
89752 if test -z "$ac_cpp_err"; then
89753 ac_header_preproc=yes
89754 else
89755 echo "$as_me: failed program was:" >&5
89756 sed 's/^/| /' conftest.$ac_ext >&5
89758 ac_header_preproc=no
89760 rm -f conftest.err conftest.$ac_ext
89761 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89762 echo "${ECHO_T}$ac_header_preproc" >&6
89764 # So? What about this header?
89765 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89766 yes:no: )
89767 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89768 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89769 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89770 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89771 ac_header_preproc=yes
89773 no:yes:* )
89774 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89775 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89776 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
89777 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
89778 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89779 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89780 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
89781 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
89782 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89783 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89784 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89785 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89787 cat <<\_ASBOX
89788 ## ----------------------------------------- ##
89789 ## Report this to the package-unused lists. ##
89790 ## ----------------------------------------- ##
89791 _ASBOX
89793 sed "s/^/$as_me: WARNING: /" >&2
89795 esac
89796 echo "$as_me:$LINENO: checking for $ac_header" >&5
89797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89799 echo $ECHO_N "(cached) $ECHO_C" >&6
89800 else
89801 eval "$as_ac_Header=\$ac_header_preproc"
89803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89804 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89807 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89808 cat >>confdefs.h <<_ACEOF
89809 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89810 _ACEOF
89811 ac_has_wchar_h=yes
89812 else
89813 ac_has_wchar_h=no
89816 done
89819 for ac_header in wctype.h
89821 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89822 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89823 echo "$as_me:$LINENO: checking for $ac_header" >&5
89824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89826 echo $ECHO_N "(cached) $ECHO_C" >&6
89828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89829 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89830 else
89831 # Is the header compilable?
89832 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89833 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89834 cat >conftest.$ac_ext <<_ACEOF
89835 /* confdefs.h. */
89836 _ACEOF
89837 cat confdefs.h >>conftest.$ac_ext
89838 cat >>conftest.$ac_ext <<_ACEOF
89839 /* end confdefs.h. */
89840 $ac_includes_default
89841 #include <$ac_header>
89842 _ACEOF
89843 rm -f conftest.$ac_objext
89844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89845 (eval $ac_compile) 2>conftest.er1
89846 ac_status=$?
89847 grep -v '^ *+' conftest.er1 >conftest.err
89848 rm -f conftest.er1
89849 cat conftest.err >&5
89850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89851 (exit $ac_status); } &&
89852 { ac_try='test -z "$ac_c_werror_flag"
89853 || test ! -s conftest.err'
89854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89855 (eval $ac_try) 2>&5
89856 ac_status=$?
89857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89858 (exit $ac_status); }; } &&
89859 { ac_try='test -s conftest.$ac_objext'
89860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89861 (eval $ac_try) 2>&5
89862 ac_status=$?
89863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89864 (exit $ac_status); }; }; then
89865 ac_header_compiler=yes
89866 else
89867 echo "$as_me: failed program was:" >&5
89868 sed 's/^/| /' conftest.$ac_ext >&5
89870 ac_header_compiler=no
89872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89873 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89874 echo "${ECHO_T}$ac_header_compiler" >&6
89876 # Is the header present?
89877 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89878 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89879 cat >conftest.$ac_ext <<_ACEOF
89880 /* confdefs.h. */
89881 _ACEOF
89882 cat confdefs.h >>conftest.$ac_ext
89883 cat >>conftest.$ac_ext <<_ACEOF
89884 /* end confdefs.h. */
89885 #include <$ac_header>
89886 _ACEOF
89887 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89888 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89889 ac_status=$?
89890 grep -v '^ *+' conftest.er1 >conftest.err
89891 rm -f conftest.er1
89892 cat conftest.err >&5
89893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89894 (exit $ac_status); } >/dev/null; then
89895 if test -s conftest.err; then
89896 ac_cpp_err=$ac_c_preproc_warn_flag
89897 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89898 else
89899 ac_cpp_err=
89901 else
89902 ac_cpp_err=yes
89904 if test -z "$ac_cpp_err"; then
89905 ac_header_preproc=yes
89906 else
89907 echo "$as_me: failed program was:" >&5
89908 sed 's/^/| /' conftest.$ac_ext >&5
89910 ac_header_preproc=no
89912 rm -f conftest.err conftest.$ac_ext
89913 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89914 echo "${ECHO_T}$ac_header_preproc" >&6
89916 # So? What about this header?
89917 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89918 yes:no: )
89919 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89920 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89921 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89922 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89923 ac_header_preproc=yes
89925 no:yes:* )
89926 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89927 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89928 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
89929 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
89930 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89931 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89932 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
89933 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
89934 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89935 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89936 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89937 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89939 cat <<\_ASBOX
89940 ## ----------------------------------------- ##
89941 ## Report this to the package-unused lists. ##
89942 ## ----------------------------------------- ##
89943 _ASBOX
89945 sed "s/^/$as_me: WARNING: /" >&2
89947 esac
89948 echo "$as_me:$LINENO: checking for $ac_header" >&5
89949 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89951 echo $ECHO_N "(cached) $ECHO_C" >&6
89952 else
89953 eval "$as_ac_Header=\$ac_header_preproc"
89955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89956 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89959 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89960 cat >>confdefs.h <<_ACEOF
89961 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89962 _ACEOF
89963 ac_has_wctype_h=yes
89964 else
89965 ac_has_wctype_h=no
89968 done
89971 # Only continue checking if the ISO C99 headers exist and support is on.
89972 if test x"$ac_has_wchar_h" = xyes &&
89973 test x"$ac_has_wctype_h" = xyes &&
89974 test x"$enable_c_mbchar" != xno; then
89976 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
89977 # numeric_limits can instantiate type_traits<wchar_t>
89978 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
89979 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
89980 cat >conftest.$ac_ext <<_ACEOF
89981 /* confdefs.h. */
89982 _ACEOF
89983 cat confdefs.h >>conftest.$ac_ext
89984 cat >>conftest.$ac_ext <<_ACEOF
89985 /* end confdefs.h. */
89986 #include <wchar.h>
89988 main ()
89990 int i = WCHAR_MIN; int j = WCHAR_MAX;
89992 return 0;
89994 _ACEOF
89995 rm -f conftest.$ac_objext
89996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89997 (eval $ac_compile) 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_objext'
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 has_wchar_minmax=yes
90018 else
90019 echo "$as_me: failed program was:" >&5
90020 sed 's/^/| /' conftest.$ac_ext >&5
90022 has_wchar_minmax=no
90024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90025 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
90026 echo "${ECHO_T}$has_wchar_minmax" >&6
90028 # Test wchar.h for WEOF, which is what we use to determine whether
90029 # to specialize for char_traits<wchar_t> or not.
90030 echo "$as_me:$LINENO: checking for WEOF" >&5
90031 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
90032 cat >conftest.$ac_ext <<_ACEOF
90033 /* confdefs.h. */
90034 _ACEOF
90035 cat confdefs.h >>conftest.$ac_ext
90036 cat >>conftest.$ac_ext <<_ACEOF
90037 /* end confdefs.h. */
90039 #include <wchar.h>
90040 #include <stddef.h>
90042 main ()
90044 wint_t i = WEOF;
90046 return 0;
90048 _ACEOF
90049 rm -f conftest.$ac_objext
90050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90051 (eval $ac_compile) 2>conftest.er1
90052 ac_status=$?
90053 grep -v '^ *+' conftest.er1 >conftest.err
90054 rm -f conftest.er1
90055 cat conftest.err >&5
90056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90057 (exit $ac_status); } &&
90058 { ac_try='test -z "$ac_c_werror_flag"
90059 || test ! -s conftest.err'
90060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90061 (eval $ac_try) 2>&5
90062 ac_status=$?
90063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90064 (exit $ac_status); }; } &&
90065 { ac_try='test -s conftest.$ac_objext'
90066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90067 (eval $ac_try) 2>&5
90068 ac_status=$?
90069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90070 (exit $ac_status); }; }; then
90071 has_weof=yes
90072 else
90073 echo "$as_me: failed program was:" >&5
90074 sed 's/^/| /' conftest.$ac_ext >&5
90076 has_weof=no
90078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90079 echo "$as_me:$LINENO: result: $has_weof" >&5
90080 echo "${ECHO_T}$has_weof" >&6
90082 # Tests for wide character functions used in char_traits<wchar_t>.
90083 ac_wfuncs=yes
90090 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
90092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90093 echo "$as_me:$LINENO: checking for $ac_func" >&5
90094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90095 if eval "test \"\${$as_ac_var+set}\" = set"; then
90096 echo $ECHO_N "(cached) $ECHO_C" >&6
90097 else
90098 if test x$gcc_no_link = xyes; then
90099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90101 { (exit 1); exit 1; }; }
90103 cat >conftest.$ac_ext <<_ACEOF
90104 /* confdefs.h. */
90105 _ACEOF
90106 cat confdefs.h >>conftest.$ac_ext
90107 cat >>conftest.$ac_ext <<_ACEOF
90108 /* end confdefs.h. */
90109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90111 #define $ac_func innocuous_$ac_func
90113 /* System header to define __stub macros and hopefully few prototypes,
90114 which can conflict with char $ac_func (); below.
90115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90116 <limits.h> exists even on freestanding compilers. */
90118 #ifdef __STDC__
90119 # include <limits.h>
90120 #else
90121 # include <assert.h>
90122 #endif
90124 #undef $ac_func
90126 /* Override any gcc2 internal prototype to avoid an error. */
90127 #ifdef __cplusplus
90128 extern "C"
90130 #endif
90131 /* We use char because int might match the return type of a gcc2
90132 builtin and then its argument prototype would still apply. */
90133 char $ac_func ();
90134 /* The GNU C library defines this for functions which it implements
90135 to always fail with ENOSYS. Some functions are actually named
90136 something starting with __ and the normal name is an alias. */
90137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90138 choke me
90139 #else
90140 char (*f) () = $ac_func;
90141 #endif
90142 #ifdef __cplusplus
90144 #endif
90147 main ()
90149 return f != $ac_func;
90151 return 0;
90153 _ACEOF
90154 rm -f conftest.$ac_objext conftest$ac_exeext
90155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90156 (eval $ac_link) 2>conftest.er1
90157 ac_status=$?
90158 grep -v '^ *+' conftest.er1 >conftest.err
90159 rm -f conftest.er1
90160 cat conftest.err >&5
90161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90162 (exit $ac_status); } &&
90163 { ac_try='test -z "$ac_c_werror_flag"
90164 || test ! -s conftest.err'
90165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90166 (eval $ac_try) 2>&5
90167 ac_status=$?
90168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90169 (exit $ac_status); }; } &&
90170 { ac_try='test -s conftest$ac_exeext'
90171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90172 (eval $ac_try) 2>&5
90173 ac_status=$?
90174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90175 (exit $ac_status); }; }; then
90176 eval "$as_ac_var=yes"
90177 else
90178 echo "$as_me: failed program was:" >&5
90179 sed 's/^/| /' conftest.$ac_ext >&5
90181 eval "$as_ac_var=no"
90183 rm -f conftest.err conftest.$ac_objext \
90184 conftest$ac_exeext conftest.$ac_ext
90186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90188 if test `eval echo '${'$as_ac_var'}'` = yes; then
90189 cat >>confdefs.h <<_ACEOF
90190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90191 _ACEOF
90193 else
90194 ac_wfuncs=no
90196 done
90199 # Checks for names injected into std:: by the c_std headers.
90246 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
90247 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
90248 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
90249 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
90250 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
90251 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
90253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90254 echo "$as_me:$LINENO: checking for $ac_func" >&5
90255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90256 if eval "test \"\${$as_ac_var+set}\" = set"; then
90257 echo $ECHO_N "(cached) $ECHO_C" >&6
90258 else
90259 if test x$gcc_no_link = xyes; then
90260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90262 { (exit 1); exit 1; }; }
90264 cat >conftest.$ac_ext <<_ACEOF
90265 /* confdefs.h. */
90266 _ACEOF
90267 cat confdefs.h >>conftest.$ac_ext
90268 cat >>conftest.$ac_ext <<_ACEOF
90269 /* end confdefs.h. */
90270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90272 #define $ac_func innocuous_$ac_func
90274 /* System header to define __stub macros and hopefully few prototypes,
90275 which can conflict with char $ac_func (); below.
90276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90277 <limits.h> exists even on freestanding compilers. */
90279 #ifdef __STDC__
90280 # include <limits.h>
90281 #else
90282 # include <assert.h>
90283 #endif
90285 #undef $ac_func
90287 /* Override any gcc2 internal prototype to avoid an error. */
90288 #ifdef __cplusplus
90289 extern "C"
90291 #endif
90292 /* We use char because int might match the return type of a gcc2
90293 builtin and then its argument prototype would still apply. */
90294 char $ac_func ();
90295 /* The GNU C library defines this for functions which it implements
90296 to always fail with ENOSYS. Some functions are actually named
90297 something starting with __ and the normal name is an alias. */
90298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90299 choke me
90300 #else
90301 char (*f) () = $ac_func;
90302 #endif
90303 #ifdef __cplusplus
90305 #endif
90308 main ()
90310 return f != $ac_func;
90312 return 0;
90314 _ACEOF
90315 rm -f conftest.$ac_objext conftest$ac_exeext
90316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90317 (eval $ac_link) 2>conftest.er1
90318 ac_status=$?
90319 grep -v '^ *+' conftest.er1 >conftest.err
90320 rm -f conftest.er1
90321 cat conftest.err >&5
90322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90323 (exit $ac_status); } &&
90324 { ac_try='test -z "$ac_c_werror_flag"
90325 || test ! -s conftest.err'
90326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90327 (eval $ac_try) 2>&5
90328 ac_status=$?
90329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90330 (exit $ac_status); }; } &&
90331 { ac_try='test -s conftest$ac_exeext'
90332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90333 (eval $ac_try) 2>&5
90334 ac_status=$?
90335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90336 (exit $ac_status); }; }; then
90337 eval "$as_ac_var=yes"
90338 else
90339 echo "$as_me: failed program was:" >&5
90340 sed 's/^/| /' conftest.$ac_ext >&5
90342 eval "$as_ac_var=no"
90344 rm -f conftest.err conftest.$ac_objext \
90345 conftest$ac_exeext conftest.$ac_ext
90347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90349 if test `eval echo '${'$as_ac_var'}'` = yes; then
90350 cat >>confdefs.h <<_ACEOF
90351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90352 _ACEOF
90354 else
90355 ac_wfuncs=no
90357 done
90360 # Checks for wide character functions that are not required
90361 # for basic wchar_t support. Don't disable support if they are missing.
90362 # Injection of these is wrapped with guard macros.
90368 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
90370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90371 echo "$as_me:$LINENO: checking for $ac_func" >&5
90372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90373 if eval "test \"\${$as_ac_var+set}\" = set"; then
90374 echo $ECHO_N "(cached) $ECHO_C" >&6
90375 else
90376 if test x$gcc_no_link = xyes; then
90377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90379 { (exit 1); exit 1; }; }
90381 cat >conftest.$ac_ext <<_ACEOF
90382 /* confdefs.h. */
90383 _ACEOF
90384 cat confdefs.h >>conftest.$ac_ext
90385 cat >>conftest.$ac_ext <<_ACEOF
90386 /* end confdefs.h. */
90387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90389 #define $ac_func innocuous_$ac_func
90391 /* System header to define __stub macros and hopefully few prototypes,
90392 which can conflict with char $ac_func (); below.
90393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90394 <limits.h> exists even on freestanding compilers. */
90396 #ifdef __STDC__
90397 # include <limits.h>
90398 #else
90399 # include <assert.h>
90400 #endif
90402 #undef $ac_func
90404 /* Override any gcc2 internal prototype to avoid an error. */
90405 #ifdef __cplusplus
90406 extern "C"
90408 #endif
90409 /* We use char because int might match the return type of a gcc2
90410 builtin and then its argument prototype would still apply. */
90411 char $ac_func ();
90412 /* The GNU C library defines this for functions which it implements
90413 to always fail with ENOSYS. Some functions are actually named
90414 something starting with __ and the normal name is an alias. */
90415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90416 choke me
90417 #else
90418 char (*f) () = $ac_func;
90419 #endif
90420 #ifdef __cplusplus
90422 #endif
90425 main ()
90427 return f != $ac_func;
90429 return 0;
90431 _ACEOF
90432 rm -f conftest.$ac_objext conftest$ac_exeext
90433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90434 (eval $ac_link) 2>conftest.er1
90435 ac_status=$?
90436 grep -v '^ *+' conftest.er1 >conftest.err
90437 rm -f conftest.er1
90438 cat conftest.err >&5
90439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90440 (exit $ac_status); } &&
90441 { ac_try='test -z "$ac_c_werror_flag"
90442 || test ! -s conftest.err'
90443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90444 (eval $ac_try) 2>&5
90445 ac_status=$?
90446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90447 (exit $ac_status); }; } &&
90448 { ac_try='test -s conftest$ac_exeext'
90449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90450 (eval $ac_try) 2>&5
90451 ac_status=$?
90452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90453 (exit $ac_status); }; }; then
90454 eval "$as_ac_var=yes"
90455 else
90456 echo "$as_me: failed program was:" >&5
90457 sed 's/^/| /' conftest.$ac_ext >&5
90459 eval "$as_ac_var=no"
90461 rm -f conftest.err conftest.$ac_objext \
90462 conftest$ac_exeext conftest.$ac_ext
90464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90466 if test `eval echo '${'$as_ac_var'}'` = yes; then
90467 cat >>confdefs.h <<_ACEOF
90468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90469 _ACEOF
90472 done
90475 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
90476 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
90477 if test x"$has_weof" = xyes &&
90478 test x"$has_wchar_minmax" = xyes &&
90479 test x"$ac_wfuncs" = xyes;
90480 then
90481 ac_isoC99_wchar_t=yes
90482 else
90483 ac_isoC99_wchar_t=no
90485 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
90486 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
90488 # Use iconv for wchar_t to char conversions. As such, check for
90489 # X/Open Portability Guide, version 2 features (XPG2).
90490 if test "${ac_cv_header_iconv_h+set}" = set; then
90491 echo "$as_me:$LINENO: checking for iconv.h" >&5
90492 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
90493 if test "${ac_cv_header_iconv_h+set}" = set; then
90494 echo $ECHO_N "(cached) $ECHO_C" >&6
90496 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
90497 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
90498 else
90499 # Is the header compilable?
90500 echo "$as_me:$LINENO: checking iconv.h usability" >&5
90501 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
90502 cat >conftest.$ac_ext <<_ACEOF
90503 /* confdefs.h. */
90504 _ACEOF
90505 cat confdefs.h >>conftest.$ac_ext
90506 cat >>conftest.$ac_ext <<_ACEOF
90507 /* end confdefs.h. */
90508 $ac_includes_default
90509 #include <iconv.h>
90510 _ACEOF
90511 rm -f conftest.$ac_objext
90512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90513 (eval $ac_compile) 2>conftest.er1
90514 ac_status=$?
90515 grep -v '^ *+' conftest.er1 >conftest.err
90516 rm -f conftest.er1
90517 cat conftest.err >&5
90518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90519 (exit $ac_status); } &&
90520 { ac_try='test -z "$ac_c_werror_flag"
90521 || test ! -s conftest.err'
90522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90523 (eval $ac_try) 2>&5
90524 ac_status=$?
90525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90526 (exit $ac_status); }; } &&
90527 { ac_try='test -s conftest.$ac_objext'
90528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90529 (eval $ac_try) 2>&5
90530 ac_status=$?
90531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90532 (exit $ac_status); }; }; then
90533 ac_header_compiler=yes
90534 else
90535 echo "$as_me: failed program was:" >&5
90536 sed 's/^/| /' conftest.$ac_ext >&5
90538 ac_header_compiler=no
90540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90541 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90542 echo "${ECHO_T}$ac_header_compiler" >&6
90544 # Is the header present?
90545 echo "$as_me:$LINENO: checking iconv.h presence" >&5
90546 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
90547 cat >conftest.$ac_ext <<_ACEOF
90548 /* confdefs.h. */
90549 _ACEOF
90550 cat confdefs.h >>conftest.$ac_ext
90551 cat >>conftest.$ac_ext <<_ACEOF
90552 /* end confdefs.h. */
90553 #include <iconv.h>
90554 _ACEOF
90555 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90556 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90557 ac_status=$?
90558 grep -v '^ *+' conftest.er1 >conftest.err
90559 rm -f conftest.er1
90560 cat conftest.err >&5
90561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90562 (exit $ac_status); } >/dev/null; then
90563 if test -s conftest.err; then
90564 ac_cpp_err=$ac_c_preproc_warn_flag
90565 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90566 else
90567 ac_cpp_err=
90569 else
90570 ac_cpp_err=yes
90572 if test -z "$ac_cpp_err"; then
90573 ac_header_preproc=yes
90574 else
90575 echo "$as_me: failed program was:" >&5
90576 sed 's/^/| /' conftest.$ac_ext >&5
90578 ac_header_preproc=no
90580 rm -f conftest.err conftest.$ac_ext
90581 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90582 echo "${ECHO_T}$ac_header_preproc" >&6
90584 # So? What about this header?
90585 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90586 yes:no: )
90587 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
90588 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
90589 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
90590 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
90591 ac_header_preproc=yes
90593 no:yes:* )
90594 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
90595 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
90596 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
90597 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
90598 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
90599 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
90600 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
90601 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
90602 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
90603 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
90604 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
90605 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
90607 cat <<\_ASBOX
90608 ## ----------------------------------------- ##
90609 ## Report this to the package-unused lists. ##
90610 ## ----------------------------------------- ##
90611 _ASBOX
90613 sed "s/^/$as_me: WARNING: /" >&2
90615 esac
90616 echo "$as_me:$LINENO: checking for iconv.h" >&5
90617 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
90618 if test "${ac_cv_header_iconv_h+set}" = set; then
90619 echo $ECHO_N "(cached) $ECHO_C" >&6
90620 else
90621 ac_cv_header_iconv_h=$ac_header_preproc
90623 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
90624 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
90627 if test $ac_cv_header_iconv_h = yes; then
90628 ac_has_iconv_h=yes
90629 else
90630 ac_has_iconv_h=no
90634 if test "${ac_cv_header_langinfo_h+set}" = set; then
90635 echo "$as_me:$LINENO: checking for langinfo.h" >&5
90636 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
90637 if test "${ac_cv_header_langinfo_h+set}" = set; then
90638 echo $ECHO_N "(cached) $ECHO_C" >&6
90640 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
90641 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
90642 else
90643 # Is the header compilable?
90644 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
90645 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
90646 cat >conftest.$ac_ext <<_ACEOF
90647 /* confdefs.h. */
90648 _ACEOF
90649 cat confdefs.h >>conftest.$ac_ext
90650 cat >>conftest.$ac_ext <<_ACEOF
90651 /* end confdefs.h. */
90652 $ac_includes_default
90653 #include <langinfo.h>
90654 _ACEOF
90655 rm -f conftest.$ac_objext
90656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90657 (eval $ac_compile) 2>conftest.er1
90658 ac_status=$?
90659 grep -v '^ *+' conftest.er1 >conftest.err
90660 rm -f conftest.er1
90661 cat conftest.err >&5
90662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90663 (exit $ac_status); } &&
90664 { ac_try='test -z "$ac_c_werror_flag"
90665 || test ! -s conftest.err'
90666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90667 (eval $ac_try) 2>&5
90668 ac_status=$?
90669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90670 (exit $ac_status); }; } &&
90671 { ac_try='test -s conftest.$ac_objext'
90672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90673 (eval $ac_try) 2>&5
90674 ac_status=$?
90675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90676 (exit $ac_status); }; }; then
90677 ac_header_compiler=yes
90678 else
90679 echo "$as_me: failed program was:" >&5
90680 sed 's/^/| /' conftest.$ac_ext >&5
90682 ac_header_compiler=no
90684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90685 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90686 echo "${ECHO_T}$ac_header_compiler" >&6
90688 # Is the header present?
90689 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
90690 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
90691 cat >conftest.$ac_ext <<_ACEOF
90692 /* confdefs.h. */
90693 _ACEOF
90694 cat confdefs.h >>conftest.$ac_ext
90695 cat >>conftest.$ac_ext <<_ACEOF
90696 /* end confdefs.h. */
90697 #include <langinfo.h>
90698 _ACEOF
90699 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90700 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90701 ac_status=$?
90702 grep -v '^ *+' conftest.er1 >conftest.err
90703 rm -f conftest.er1
90704 cat conftest.err >&5
90705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90706 (exit $ac_status); } >/dev/null; then
90707 if test -s conftest.err; then
90708 ac_cpp_err=$ac_c_preproc_warn_flag
90709 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90710 else
90711 ac_cpp_err=
90713 else
90714 ac_cpp_err=yes
90716 if test -z "$ac_cpp_err"; then
90717 ac_header_preproc=yes
90718 else
90719 echo "$as_me: failed program was:" >&5
90720 sed 's/^/| /' conftest.$ac_ext >&5
90722 ac_header_preproc=no
90724 rm -f conftest.err conftest.$ac_ext
90725 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90726 echo "${ECHO_T}$ac_header_preproc" >&6
90728 # So? What about this header?
90729 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90730 yes:no: )
90731 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
90732 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
90733 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
90734 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
90735 ac_header_preproc=yes
90737 no:yes:* )
90738 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
90739 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
90740 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
90741 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
90742 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
90743 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
90744 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
90745 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
90746 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
90747 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
90748 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
90749 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
90751 cat <<\_ASBOX
90752 ## ----------------------------------------- ##
90753 ## Report this to the package-unused lists. ##
90754 ## ----------------------------------------- ##
90755 _ASBOX
90757 sed "s/^/$as_me: WARNING: /" >&2
90759 esac
90760 echo "$as_me:$LINENO: checking for langinfo.h" >&5
90761 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
90762 if test "${ac_cv_header_langinfo_h+set}" = set; then
90763 echo $ECHO_N "(cached) $ECHO_C" >&6
90764 else
90765 ac_cv_header_langinfo_h=$ac_header_preproc
90767 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
90768 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
90771 if test $ac_cv_header_langinfo_h = yes; then
90772 ac_has_langinfo_h=yes
90773 else
90774 ac_has_langinfo_h=no
90779 # Check for existence of libiconv.a providing XPG2 wchar_t support.
90780 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
90781 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
90782 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
90783 echo $ECHO_N "(cached) $ECHO_C" >&6
90784 else
90785 ac_check_lib_save_LIBS=$LIBS
90786 LIBS="-liconv $LIBS"
90787 if test x$gcc_no_link = xyes; then
90788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90790 { (exit 1); exit 1; }; }
90792 cat >conftest.$ac_ext <<_ACEOF
90793 /* confdefs.h. */
90794 _ACEOF
90795 cat confdefs.h >>conftest.$ac_ext
90796 cat >>conftest.$ac_ext <<_ACEOF
90797 /* end confdefs.h. */
90799 /* Override any gcc2 internal prototype to avoid an error. */
90800 #ifdef __cplusplus
90801 extern "C"
90802 #endif
90803 /* We use char because int might match the return type of a gcc2
90804 builtin and then its argument prototype would still apply. */
90805 char iconv ();
90807 main ()
90809 iconv ();
90811 return 0;
90813 _ACEOF
90814 rm -f conftest.$ac_objext conftest$ac_exeext
90815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90816 (eval $ac_link) 2>conftest.er1
90817 ac_status=$?
90818 grep -v '^ *+' conftest.er1 >conftest.err
90819 rm -f conftest.er1
90820 cat conftest.err >&5
90821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90822 (exit $ac_status); } &&
90823 { ac_try='test -z "$ac_c_werror_flag"
90824 || test ! -s conftest.err'
90825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90826 (eval $ac_try) 2>&5
90827 ac_status=$?
90828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90829 (exit $ac_status); }; } &&
90830 { ac_try='test -s conftest$ac_exeext'
90831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90832 (eval $ac_try) 2>&5
90833 ac_status=$?
90834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90835 (exit $ac_status); }; }; then
90836 ac_cv_lib_iconv_iconv=yes
90837 else
90838 echo "$as_me: failed program was:" >&5
90839 sed 's/^/| /' conftest.$ac_ext >&5
90841 ac_cv_lib_iconv_iconv=no
90843 rm -f conftest.err conftest.$ac_objext \
90844 conftest$ac_exeext conftest.$ac_ext
90845 LIBS=$ac_check_lib_save_LIBS
90847 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
90848 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
90849 if test $ac_cv_lib_iconv_iconv = yes; then
90850 LIBICONV="-liconv"
90853 ac_save_LIBS="$LIBS"
90854 LIBS="$LIBS $LIBICONV"
90861 for ac_func in iconv_open iconv_close iconv nl_langinfo
90863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90864 echo "$as_me:$LINENO: checking for $ac_func" >&5
90865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90866 if eval "test \"\${$as_ac_var+set}\" = set"; then
90867 echo $ECHO_N "(cached) $ECHO_C" >&6
90868 else
90869 if test x$gcc_no_link = xyes; then
90870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90872 { (exit 1); exit 1; }; }
90874 cat >conftest.$ac_ext <<_ACEOF
90875 /* confdefs.h. */
90876 _ACEOF
90877 cat confdefs.h >>conftest.$ac_ext
90878 cat >>conftest.$ac_ext <<_ACEOF
90879 /* end confdefs.h. */
90880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90882 #define $ac_func innocuous_$ac_func
90884 /* System header to define __stub macros and hopefully few prototypes,
90885 which can conflict with char $ac_func (); below.
90886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90887 <limits.h> exists even on freestanding compilers. */
90889 #ifdef __STDC__
90890 # include <limits.h>
90891 #else
90892 # include <assert.h>
90893 #endif
90895 #undef $ac_func
90897 /* Override any gcc2 internal prototype to avoid an error. */
90898 #ifdef __cplusplus
90899 extern "C"
90901 #endif
90902 /* We use char because int might match the return type of a gcc2
90903 builtin and then its argument prototype would still apply. */
90904 char $ac_func ();
90905 /* The GNU C library defines this for functions which it implements
90906 to always fail with ENOSYS. Some functions are actually named
90907 something starting with __ and the normal name is an alias. */
90908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90909 choke me
90910 #else
90911 char (*f) () = $ac_func;
90912 #endif
90913 #ifdef __cplusplus
90915 #endif
90918 main ()
90920 return f != $ac_func;
90922 return 0;
90924 _ACEOF
90925 rm -f conftest.$ac_objext conftest$ac_exeext
90926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90927 (eval $ac_link) 2>conftest.er1
90928 ac_status=$?
90929 grep -v '^ *+' conftest.er1 >conftest.err
90930 rm -f conftest.er1
90931 cat conftest.err >&5
90932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90933 (exit $ac_status); } &&
90934 { ac_try='test -z "$ac_c_werror_flag"
90935 || test ! -s conftest.err'
90936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90937 (eval $ac_try) 2>&5
90938 ac_status=$?
90939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90940 (exit $ac_status); }; } &&
90941 { ac_try='test -s conftest$ac_exeext'
90942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90943 (eval $ac_try) 2>&5
90944 ac_status=$?
90945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90946 (exit $ac_status); }; }; then
90947 eval "$as_ac_var=yes"
90948 else
90949 echo "$as_me: failed program was:" >&5
90950 sed 's/^/| /' conftest.$ac_ext >&5
90952 eval "$as_ac_var=no"
90954 rm -f conftest.err conftest.$ac_objext \
90955 conftest$ac_exeext conftest.$ac_ext
90957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90959 if test `eval echo '${'$as_ac_var'}'` = yes; then
90960 cat >>confdefs.h <<_ACEOF
90961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90962 _ACEOF
90963 ac_XPG2funcs=yes
90964 else
90965 ac_XPG2funcs=no
90967 done
90970 LIBS="$ac_save_LIBS"
90972 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
90973 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
90974 if test x"$ac_has_iconv_h" = xyes &&
90975 test x"$ac_has_langinfo_h" = xyes &&
90976 test x"$ac_XPG2funcs" = xyes;
90977 then
90978 ac_XPG2_wchar_t=yes
90979 else
90980 ac_XPG2_wchar_t=no
90982 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
90983 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
90985 # At the moment, only enable wchar_t specializations if all the
90986 # above support is present.
90987 if test x"$ac_isoC99_wchar_t" = xyes &&
90988 test x"$ac_XPG2_wchar_t" = xyes;
90989 then
90990 cat >>confdefs.h <<\_ACEOF
90991 #define _GLIBCXX_USE_WCHAR_T 1
90992 _ACEOF
90994 enable_wchar_t=yes
90997 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
90998 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
90999 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
91000 echo "${ECHO_T}$enable_wchar_t" >&6
91003 # For showmanyc_helper().
91006 for ac_header in sys/ioctl.h sys/filio.h
91008 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
91009 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91010 echo "$as_me:$LINENO: checking for $ac_header" >&5
91011 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91012 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91013 echo $ECHO_N "(cached) $ECHO_C" >&6
91015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91016 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91017 else
91018 # Is the header compilable?
91019 echo "$as_me:$LINENO: checking $ac_header usability" >&5
91020 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
91021 cat >conftest.$ac_ext <<_ACEOF
91022 /* confdefs.h. */
91023 _ACEOF
91024 cat confdefs.h >>conftest.$ac_ext
91025 cat >>conftest.$ac_ext <<_ACEOF
91026 /* end confdefs.h. */
91027 $ac_includes_default
91028 #include <$ac_header>
91029 _ACEOF
91030 rm -f conftest.$ac_objext
91031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91032 (eval $ac_compile) 2>conftest.er1
91033 ac_status=$?
91034 grep -v '^ *+' conftest.er1 >conftest.err
91035 rm -f conftest.er1
91036 cat conftest.err >&5
91037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91038 (exit $ac_status); } &&
91039 { ac_try='test -z "$ac_c_werror_flag"
91040 || test ! -s conftest.err'
91041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91042 (eval $ac_try) 2>&5
91043 ac_status=$?
91044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91045 (exit $ac_status); }; } &&
91046 { ac_try='test -s conftest.$ac_objext'
91047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91048 (eval $ac_try) 2>&5
91049 ac_status=$?
91050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91051 (exit $ac_status); }; }; then
91052 ac_header_compiler=yes
91053 else
91054 echo "$as_me: failed program was:" >&5
91055 sed 's/^/| /' conftest.$ac_ext >&5
91057 ac_header_compiler=no
91059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91060 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91061 echo "${ECHO_T}$ac_header_compiler" >&6
91063 # Is the header present?
91064 echo "$as_me:$LINENO: checking $ac_header presence" >&5
91065 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
91066 cat >conftest.$ac_ext <<_ACEOF
91067 /* confdefs.h. */
91068 _ACEOF
91069 cat confdefs.h >>conftest.$ac_ext
91070 cat >>conftest.$ac_ext <<_ACEOF
91071 /* end confdefs.h. */
91072 #include <$ac_header>
91073 _ACEOF
91074 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91075 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91076 ac_status=$?
91077 grep -v '^ *+' conftest.er1 >conftest.err
91078 rm -f conftest.er1
91079 cat conftest.err >&5
91080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91081 (exit $ac_status); } >/dev/null; then
91082 if test -s conftest.err; then
91083 ac_cpp_err=$ac_c_preproc_warn_flag
91084 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91085 else
91086 ac_cpp_err=
91088 else
91089 ac_cpp_err=yes
91091 if test -z "$ac_cpp_err"; then
91092 ac_header_preproc=yes
91093 else
91094 echo "$as_me: failed program was:" >&5
91095 sed 's/^/| /' conftest.$ac_ext >&5
91097 ac_header_preproc=no
91099 rm -f conftest.err conftest.$ac_ext
91100 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91101 echo "${ECHO_T}$ac_header_preproc" >&6
91103 # So? What about this header?
91104 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91105 yes:no: )
91106 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
91107 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
91108 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
91109 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
91110 ac_header_preproc=yes
91112 no:yes:* )
91113 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
91114 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
91115 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
91116 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
91117 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
91118 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
91119 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
91120 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
91121 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
91122 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
91123 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
91124 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
91126 cat <<\_ASBOX
91127 ## ----------------------------------------- ##
91128 ## Report this to the package-unused lists. ##
91129 ## ----------------------------------------- ##
91130 _ASBOX
91132 sed "s/^/$as_me: WARNING: /" >&2
91134 esac
91135 echo "$as_me:$LINENO: checking for $ac_header" >&5
91136 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91137 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91138 echo $ECHO_N "(cached) $ECHO_C" >&6
91139 else
91140 eval "$as_ac_Header=\$ac_header_preproc"
91142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91143 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91146 if test `eval echo '${'$as_ac_Header'}'` = yes; then
91147 cat >>confdefs.h <<_ACEOF
91148 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
91149 _ACEOF
91153 done
91156 if test "${glibcxx_cv_POLL+set}" = set; then
91157 echo $ECHO_N "(cached) $ECHO_C" >&6
91158 else
91160 if test x$gcc_no_link = xyes; then
91161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91163 { (exit 1); exit 1; }; }
91165 cat >conftest.$ac_ext <<_ACEOF
91166 /* confdefs.h. */
91167 _ACEOF
91168 cat confdefs.h >>conftest.$ac_ext
91169 cat >>conftest.$ac_ext <<_ACEOF
91170 /* end confdefs.h. */
91171 #include <poll.h>
91173 main ()
91175 struct pollfd pfd[1];
91176 pfd[0].events = POLLIN;
91177 poll(pfd, 1, 0);
91179 return 0;
91181 _ACEOF
91182 rm -f conftest.$ac_objext conftest$ac_exeext
91183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91184 (eval $ac_link) 2>conftest.er1
91185 ac_status=$?
91186 grep -v '^ *+' conftest.er1 >conftest.err
91187 rm -f conftest.er1
91188 cat conftest.err >&5
91189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91190 (exit $ac_status); } &&
91191 { ac_try='test -z "$ac_c_werror_flag"
91192 || test ! -s conftest.err'
91193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91194 (eval $ac_try) 2>&5
91195 ac_status=$?
91196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91197 (exit $ac_status); }; } &&
91198 { ac_try='test -s conftest$ac_exeext'
91199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91200 (eval $ac_try) 2>&5
91201 ac_status=$?
91202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91203 (exit $ac_status); }; }; then
91204 glibcxx_cv_POLL=yes
91205 else
91206 echo "$as_me: failed program was:" >&5
91207 sed 's/^/| /' conftest.$ac_ext >&5
91209 glibcxx_cv_POLL=no
91211 rm -f conftest.err conftest.$ac_objext \
91212 conftest$ac_exeext conftest.$ac_ext
91216 if test $glibcxx_cv_POLL = yes; then
91217 cat >>confdefs.h <<\_ACEOF
91218 #define HAVE_POLL 1
91219 _ACEOF
91224 if test "${glibcxx_cv_S_ISREG+set}" = set; then
91225 echo $ECHO_N "(cached) $ECHO_C" >&6
91226 else
91228 if test x$gcc_no_link = xyes; then
91229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91231 { (exit 1); exit 1; }; }
91233 cat >conftest.$ac_ext <<_ACEOF
91234 /* confdefs.h. */
91235 _ACEOF
91236 cat confdefs.h >>conftest.$ac_ext
91237 cat >>conftest.$ac_ext <<_ACEOF
91238 /* end confdefs.h. */
91239 #include <sys/stat.h>
91241 main ()
91243 struct stat buffer;
91244 fstat(0, &buffer);
91245 S_ISREG(buffer.st_mode);
91247 return 0;
91249 _ACEOF
91250 rm -f conftest.$ac_objext conftest$ac_exeext
91251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91252 (eval $ac_link) 2>conftest.er1
91253 ac_status=$?
91254 grep -v '^ *+' conftest.er1 >conftest.err
91255 rm -f conftest.er1
91256 cat conftest.err >&5
91257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91258 (exit $ac_status); } &&
91259 { ac_try='test -z "$ac_c_werror_flag"
91260 || test ! -s conftest.err'
91261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91262 (eval $ac_try) 2>&5
91263 ac_status=$?
91264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91265 (exit $ac_status); }; } &&
91266 { ac_try='test -s conftest$ac_exeext'
91267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91268 (eval $ac_try) 2>&5
91269 ac_status=$?
91270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91271 (exit $ac_status); }; }; then
91272 glibcxx_cv_S_ISREG=yes
91273 else
91274 echo "$as_me: failed program was:" >&5
91275 sed 's/^/| /' conftest.$ac_ext >&5
91277 glibcxx_cv_S_ISREG=no
91279 rm -f conftest.err conftest.$ac_objext \
91280 conftest$ac_exeext conftest.$ac_ext
91284 if test "${glibcxx_cv_S_IFREG+set}" = set; then
91285 echo $ECHO_N "(cached) $ECHO_C" >&6
91286 else
91288 if test x$gcc_no_link = xyes; then
91289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91291 { (exit 1); exit 1; }; }
91293 cat >conftest.$ac_ext <<_ACEOF
91294 /* confdefs.h. */
91295 _ACEOF
91296 cat confdefs.h >>conftest.$ac_ext
91297 cat >>conftest.$ac_ext <<_ACEOF
91298 /* end confdefs.h. */
91299 #include <sys/stat.h>
91301 main ()
91303 struct stat buffer;
91304 fstat(0, &buffer);
91305 S_IFREG & buffer.st_mode;
91307 return 0;
91309 _ACEOF
91310 rm -f conftest.$ac_objext conftest$ac_exeext
91311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91312 (eval $ac_link) 2>conftest.er1
91313 ac_status=$?
91314 grep -v '^ *+' conftest.er1 >conftest.err
91315 rm -f conftest.er1
91316 cat conftest.err >&5
91317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91318 (exit $ac_status); } &&
91319 { ac_try='test -z "$ac_c_werror_flag"
91320 || test ! -s conftest.err'
91321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91322 (eval $ac_try) 2>&5
91323 ac_status=$?
91324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91325 (exit $ac_status); }; } &&
91326 { ac_try='test -s conftest$ac_exeext'
91327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91328 (eval $ac_try) 2>&5
91329 ac_status=$?
91330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91331 (exit $ac_status); }; }; then
91332 glibcxx_cv_S_IFREG=yes
91333 else
91334 echo "$as_me: failed program was:" >&5
91335 sed 's/^/| /' conftest.$ac_ext >&5
91337 glibcxx_cv_S_IFREG=no
91339 rm -f conftest.err conftest.$ac_objext \
91340 conftest$ac_exeext conftest.$ac_ext
91344 if test $glibcxx_cv_S_ISREG = yes; then
91345 cat >>confdefs.h <<\_ACEOF
91346 #define HAVE_S_ISREG 1
91347 _ACEOF
91349 elif test $glibcxx_cv_S_IFREG = yes; then
91350 cat >>confdefs.h <<\_ACEOF
91351 #define HAVE_S_IFREG 1
91352 _ACEOF
91357 # For xsputn_2().
91359 for ac_header in sys/uio.h
91361 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
91362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91363 echo "$as_me:$LINENO: checking for $ac_header" >&5
91364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91366 echo $ECHO_N "(cached) $ECHO_C" >&6
91368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91369 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91370 else
91371 # Is the header compilable?
91372 echo "$as_me:$LINENO: checking $ac_header usability" >&5
91373 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
91374 cat >conftest.$ac_ext <<_ACEOF
91375 /* confdefs.h. */
91376 _ACEOF
91377 cat confdefs.h >>conftest.$ac_ext
91378 cat >>conftest.$ac_ext <<_ACEOF
91379 /* end confdefs.h. */
91380 $ac_includes_default
91381 #include <$ac_header>
91382 _ACEOF
91383 rm -f conftest.$ac_objext
91384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91385 (eval $ac_compile) 2>conftest.er1
91386 ac_status=$?
91387 grep -v '^ *+' conftest.er1 >conftest.err
91388 rm -f conftest.er1
91389 cat conftest.err >&5
91390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91391 (exit $ac_status); } &&
91392 { ac_try='test -z "$ac_c_werror_flag"
91393 || test ! -s conftest.err'
91394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91395 (eval $ac_try) 2>&5
91396 ac_status=$?
91397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91398 (exit $ac_status); }; } &&
91399 { ac_try='test -s conftest.$ac_objext'
91400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91401 (eval $ac_try) 2>&5
91402 ac_status=$?
91403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91404 (exit $ac_status); }; }; then
91405 ac_header_compiler=yes
91406 else
91407 echo "$as_me: failed program was:" >&5
91408 sed 's/^/| /' conftest.$ac_ext >&5
91410 ac_header_compiler=no
91412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91413 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91414 echo "${ECHO_T}$ac_header_compiler" >&6
91416 # Is the header present?
91417 echo "$as_me:$LINENO: checking $ac_header presence" >&5
91418 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
91419 cat >conftest.$ac_ext <<_ACEOF
91420 /* confdefs.h. */
91421 _ACEOF
91422 cat confdefs.h >>conftest.$ac_ext
91423 cat >>conftest.$ac_ext <<_ACEOF
91424 /* end confdefs.h. */
91425 #include <$ac_header>
91426 _ACEOF
91427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91428 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91429 ac_status=$?
91430 grep -v '^ *+' conftest.er1 >conftest.err
91431 rm -f conftest.er1
91432 cat conftest.err >&5
91433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91434 (exit $ac_status); } >/dev/null; then
91435 if test -s conftest.err; then
91436 ac_cpp_err=$ac_c_preproc_warn_flag
91437 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91438 else
91439 ac_cpp_err=
91441 else
91442 ac_cpp_err=yes
91444 if test -z "$ac_cpp_err"; then
91445 ac_header_preproc=yes
91446 else
91447 echo "$as_me: failed program was:" >&5
91448 sed 's/^/| /' conftest.$ac_ext >&5
91450 ac_header_preproc=no
91452 rm -f conftest.err conftest.$ac_ext
91453 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91454 echo "${ECHO_T}$ac_header_preproc" >&6
91456 # So? What about this header?
91457 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91458 yes:no: )
91459 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
91460 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
91461 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
91462 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
91463 ac_header_preproc=yes
91465 no:yes:* )
91466 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
91467 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
91468 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
91469 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
91470 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
91471 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
91472 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
91473 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
91474 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
91475 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
91476 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
91477 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
91479 cat <<\_ASBOX
91480 ## ----------------------------------------- ##
91481 ## Report this to the package-unused lists. ##
91482 ## ----------------------------------------- ##
91483 _ASBOX
91485 sed "s/^/$as_me: WARNING: /" >&2
91487 esac
91488 echo "$as_me:$LINENO: checking for $ac_header" >&5
91489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91491 echo $ECHO_N "(cached) $ECHO_C" >&6
91492 else
91493 eval "$as_ac_Header=\$ac_header_preproc"
91495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91499 if test `eval echo '${'$as_ac_Header'}'` = yes; then
91500 cat >>confdefs.h <<_ACEOF
91501 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
91502 _ACEOF
91506 done
91509 if test "${glibcxx_cv_WRITEV+set}" = set; then
91510 echo $ECHO_N "(cached) $ECHO_C" >&6
91511 else
91513 if test x$gcc_no_link = xyes; then
91514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91516 { (exit 1); exit 1; }; }
91518 cat >conftest.$ac_ext <<_ACEOF
91519 /* confdefs.h. */
91520 _ACEOF
91521 cat confdefs.h >>conftest.$ac_ext
91522 cat >>conftest.$ac_ext <<_ACEOF
91523 /* end confdefs.h. */
91524 #include <sys/uio.h>
91526 main ()
91528 struct iovec iov[2];
91529 writev(0, iov, 0);
91531 return 0;
91533 _ACEOF
91534 rm -f conftest.$ac_objext conftest$ac_exeext
91535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91536 (eval $ac_link) 2>conftest.er1
91537 ac_status=$?
91538 grep -v '^ *+' conftest.er1 >conftest.err
91539 rm -f conftest.er1
91540 cat conftest.err >&5
91541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91542 (exit $ac_status); } &&
91543 { ac_try='test -z "$ac_c_werror_flag"
91544 || test ! -s conftest.err'
91545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91546 (eval $ac_try) 2>&5
91547 ac_status=$?
91548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91549 (exit $ac_status); }; } &&
91550 { ac_try='test -s conftest$ac_exeext'
91551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91552 (eval $ac_try) 2>&5
91553 ac_status=$?
91554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91555 (exit $ac_status); }; }; then
91556 glibcxx_cv_WRITEV=yes
91557 else
91558 echo "$as_me: failed program was:" >&5
91559 sed 's/^/| /' conftest.$ac_ext >&5
91561 glibcxx_cv_WRITEV=no
91563 rm -f conftest.err conftest.$ac_objext \
91564 conftest$ac_exeext conftest.$ac_ext
91568 if test $glibcxx_cv_WRITEV = yes; then
91569 cat >>confdefs.h <<\_ACEOF
91570 #define HAVE_WRITEV 1
91571 _ACEOF
91576 *-qnx6.1* | *-qnx6.2*)
91577 SECTION_FLAGS='-ffunction-sections -fdata-sections'
91580 # If we're not using GNU ld, then there's no point in even trying these
91581 # tests. Check for that first. We should have already tested for gld
91582 # by now (in libtool), but require it now just to be safe...
91583 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
91584 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
91588 # The name set by libtool depends on the version of libtool. Shame on us
91589 # for depending on an impl detail, but c'est la vie. Older versions used
91590 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
91591 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
91592 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
91593 # set (hence we're using an older libtool), then set it.
91594 if test x${with_gnu_ld+set} != xset; then
91595 if test x${ac_cv_prog_gnu_ld+set} != xset; then
91596 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
91597 with_gnu_ld=no
91598 else
91599 with_gnu_ld=$ac_cv_prog_gnu_ld
91603 # Start by getting the version number. I think the libtool test already
91604 # does some of this, but throws away the result.
91606 ldver=`$LD --version 2>/dev/null | head -1 | \
91607 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
91609 glibcxx_gnu_ld_version=`echo $ldver | \
91610 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
91612 # Set --gc-sections.
91613 if test "$with_gnu_ld" = "notbroken"; then
91614 # GNU ld it is! Joy and bunny rabbits!
91616 # All these tests are for C++; save the language and the compiler flags.
91617 # Need to do this so that g++ won't try to link in libstdc++
91618 ac_test_CFLAGS="${CFLAGS+set}"
91619 ac_save_CFLAGS="$CFLAGS"
91620 CFLAGS='-x c++ -Wl,--gc-sections'
91622 # Check for -Wl,--gc-sections
91623 # XXX This test is broken at the moment, as symbols required for linking
91624 # are now in libsupc++ (not built yet). In addition, this test has
91625 # cored on solaris in the past. In addition, --gc-sections doesn't
91626 # really work at the moment (keeps on discarding used sections, first
91627 # .eh_frame and now some of the glibc sections for iconv).
91628 # Bzzzzt. Thanks for playing, maybe next time.
91629 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
91630 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
91631 if test "$cross_compiling" = yes; then
91632 ac_sectionLDflags=yes
91633 else
91634 cat >conftest.$ac_ext <<_ACEOF
91635 /* confdefs.h. */
91636 _ACEOF
91637 cat confdefs.h >>conftest.$ac_ext
91638 cat >>conftest.$ac_ext <<_ACEOF
91639 /* end confdefs.h. */
91641 int main(void)
91643 try { throw 1; }
91644 catch (...) { };
91645 return 0;
91648 _ACEOF
91649 rm -f conftest$ac_exeext
91650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91651 (eval $ac_link) 2>&5
91652 ac_status=$?
91653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91654 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
91655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91656 (eval $ac_try) 2>&5
91657 ac_status=$?
91658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91659 (exit $ac_status); }; }; then
91660 ac_sectionLDflags=yes
91661 else
91662 echo "$as_me: program exited with status $ac_status" >&5
91663 echo "$as_me: failed program was:" >&5
91664 sed 's/^/| /' conftest.$ac_ext >&5
91666 ( exit $ac_status )
91667 ac_sectionLDflags=no
91669 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
91671 if test "$ac_test_CFLAGS" = set; then
91672 CFLAGS="$ac_save_CFLAGS"
91673 else
91674 # this is the suspicious part
91675 CFLAGS=''
91677 if test "$ac_sectionLDflags" = "yes"; then
91678 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
91680 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
91681 echo "${ECHO_T}$ac_sectionLDflags" >&6
91684 # Set linker optimization flags.
91685 if test x"$with_gnu_ld" = x"yes"; then
91686 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
91694 echo "$as_me:$LINENO: checking for main in -lm" >&5
91695 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
91696 if test "${ac_cv_lib_m_main+set}" = set; then
91697 echo $ECHO_N "(cached) $ECHO_C" >&6
91698 else
91699 ac_check_lib_save_LIBS=$LIBS
91700 LIBS="-lm $LIBS"
91701 if test x$gcc_no_link = xyes; then
91702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91704 { (exit 1); exit 1; }; }
91706 cat >conftest.$ac_ext <<_ACEOF
91707 /* confdefs.h. */
91708 _ACEOF
91709 cat confdefs.h >>conftest.$ac_ext
91710 cat >>conftest.$ac_ext <<_ACEOF
91711 /* end confdefs.h. */
91715 main ()
91717 main ();
91719 return 0;
91721 _ACEOF
91722 rm -f conftest.$ac_objext conftest$ac_exeext
91723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91724 (eval $ac_link) 2>conftest.er1
91725 ac_status=$?
91726 grep -v '^ *+' conftest.er1 >conftest.err
91727 rm -f conftest.er1
91728 cat conftest.err >&5
91729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91730 (exit $ac_status); } &&
91731 { ac_try='test -z "$ac_c_werror_flag"
91732 || test ! -s conftest.err'
91733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91734 (eval $ac_try) 2>&5
91735 ac_status=$?
91736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91737 (exit $ac_status); }; } &&
91738 { ac_try='test -s conftest$ac_exeext'
91739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91740 (eval $ac_try) 2>&5
91741 ac_status=$?
91742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91743 (exit $ac_status); }; }; then
91744 ac_cv_lib_m_main=yes
91745 else
91746 echo "$as_me: failed program was:" >&5
91747 sed 's/^/| /' conftest.$ac_ext >&5
91749 ac_cv_lib_m_main=no
91751 rm -f conftest.err conftest.$ac_objext \
91752 conftest$ac_exeext conftest.$ac_ext
91753 LIBS=$ac_check_lib_save_LIBS
91755 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
91756 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
91757 if test $ac_cv_lib_m_main = yes; then
91758 cat >>confdefs.h <<_ACEOF
91759 #define HAVE_LIBM 1
91760 _ACEOF
91762 LIBS="-lm $LIBS"
91767 for ac_func in copysignf
91769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91770 echo "$as_me:$LINENO: checking for $ac_func" >&5
91771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91772 if eval "test \"\${$as_ac_var+set}\" = set"; then
91773 echo $ECHO_N "(cached) $ECHO_C" >&6
91774 else
91775 if test x$gcc_no_link = xyes; then
91776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91778 { (exit 1); exit 1; }; }
91780 cat >conftest.$ac_ext <<_ACEOF
91781 /* confdefs.h. */
91782 _ACEOF
91783 cat confdefs.h >>conftest.$ac_ext
91784 cat >>conftest.$ac_ext <<_ACEOF
91785 /* end confdefs.h. */
91786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91788 #define $ac_func innocuous_$ac_func
91790 /* System header to define __stub macros and hopefully few prototypes,
91791 which can conflict with char $ac_func (); below.
91792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91793 <limits.h> exists even on freestanding compilers. */
91795 #ifdef __STDC__
91796 # include <limits.h>
91797 #else
91798 # include <assert.h>
91799 #endif
91801 #undef $ac_func
91803 /* Override any gcc2 internal prototype to avoid an error. */
91804 #ifdef __cplusplus
91805 extern "C"
91807 #endif
91808 /* We use char because int might match the return type of a gcc2
91809 builtin and then its argument prototype would still apply. */
91810 char $ac_func ();
91811 /* The GNU C library defines this for functions which it implements
91812 to always fail with ENOSYS. Some functions are actually named
91813 something starting with __ and the normal name is an alias. */
91814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91815 choke me
91816 #else
91817 char (*f) () = $ac_func;
91818 #endif
91819 #ifdef __cplusplus
91821 #endif
91824 main ()
91826 return f != $ac_func;
91828 return 0;
91830 _ACEOF
91831 rm -f conftest.$ac_objext conftest$ac_exeext
91832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91833 (eval $ac_link) 2>conftest.er1
91834 ac_status=$?
91835 grep -v '^ *+' conftest.er1 >conftest.err
91836 rm -f conftest.er1
91837 cat conftest.err >&5
91838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91839 (exit $ac_status); } &&
91840 { ac_try='test -z "$ac_c_werror_flag"
91841 || test ! -s conftest.err'
91842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91843 (eval $ac_try) 2>&5
91844 ac_status=$?
91845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91846 (exit $ac_status); }; } &&
91847 { ac_try='test -s conftest$ac_exeext'
91848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91849 (eval $ac_try) 2>&5
91850 ac_status=$?
91851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91852 (exit $ac_status); }; }; then
91853 eval "$as_ac_var=yes"
91854 else
91855 echo "$as_me: failed program was:" >&5
91856 sed 's/^/| /' conftest.$ac_ext >&5
91858 eval "$as_ac_var=no"
91860 rm -f conftest.err conftest.$ac_objext \
91861 conftest$ac_exeext conftest.$ac_ext
91863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91865 if test `eval echo '${'$as_ac_var'}'` = yes; then
91866 cat >>confdefs.h <<_ACEOF
91867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91868 _ACEOF
91870 else
91871 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
91873 done
91877 for ac_func in __signbit
91879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91880 echo "$as_me:$LINENO: checking for $ac_func" >&5
91881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91882 if eval "test \"\${$as_ac_var+set}\" = set"; then
91883 echo $ECHO_N "(cached) $ECHO_C" >&6
91884 else
91885 if test x$gcc_no_link = xyes; then
91886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91888 { (exit 1); exit 1; }; }
91890 cat >conftest.$ac_ext <<_ACEOF
91891 /* confdefs.h. */
91892 _ACEOF
91893 cat confdefs.h >>conftest.$ac_ext
91894 cat >>conftest.$ac_ext <<_ACEOF
91895 /* end confdefs.h. */
91896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91898 #define $ac_func innocuous_$ac_func
91900 /* System header to define __stub macros and hopefully few prototypes,
91901 which can conflict with char $ac_func (); below.
91902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91903 <limits.h> exists even on freestanding compilers. */
91905 #ifdef __STDC__
91906 # include <limits.h>
91907 #else
91908 # include <assert.h>
91909 #endif
91911 #undef $ac_func
91913 /* Override any gcc2 internal prototype to avoid an error. */
91914 #ifdef __cplusplus
91915 extern "C"
91917 #endif
91918 /* We use char because int might match the return type of a gcc2
91919 builtin and then its argument prototype would still apply. */
91920 char $ac_func ();
91921 /* The GNU C library defines this for functions which it implements
91922 to always fail with ENOSYS. Some functions are actually named
91923 something starting with __ and the normal name is an alias. */
91924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91925 choke me
91926 #else
91927 char (*f) () = $ac_func;
91928 #endif
91929 #ifdef __cplusplus
91931 #endif
91934 main ()
91936 return f != $ac_func;
91938 return 0;
91940 _ACEOF
91941 rm -f conftest.$ac_objext conftest$ac_exeext
91942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91943 (eval $ac_link) 2>conftest.er1
91944 ac_status=$?
91945 grep -v '^ *+' conftest.er1 >conftest.err
91946 rm -f conftest.er1
91947 cat conftest.err >&5
91948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91949 (exit $ac_status); } &&
91950 { ac_try='test -z "$ac_c_werror_flag"
91951 || test ! -s conftest.err'
91952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91953 (eval $ac_try) 2>&5
91954 ac_status=$?
91955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91956 (exit $ac_status); }; } &&
91957 { ac_try='test -s conftest$ac_exeext'
91958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91959 (eval $ac_try) 2>&5
91960 ac_status=$?
91961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91962 (exit $ac_status); }; }; then
91963 eval "$as_ac_var=yes"
91964 else
91965 echo "$as_me: failed program was:" >&5
91966 sed 's/^/| /' conftest.$ac_ext >&5
91968 eval "$as_ac_var=no"
91970 rm -f conftest.err conftest.$ac_objext \
91971 conftest$ac_exeext conftest.$ac_ext
91973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91975 if test `eval echo '${'$as_ac_var'}'` = yes; then
91976 cat >>confdefs.h <<_ACEOF
91977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91978 _ACEOF
91980 else
91981 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
91983 done
91987 for ac_func in __signbitf
91989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91990 echo "$as_me:$LINENO: checking for $ac_func" >&5
91991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91992 if eval "test \"\${$as_ac_var+set}\" = set"; then
91993 echo $ECHO_N "(cached) $ECHO_C" >&6
91994 else
91995 if test x$gcc_no_link = xyes; then
91996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91998 { (exit 1); exit 1; }; }
92000 cat >conftest.$ac_ext <<_ACEOF
92001 /* confdefs.h. */
92002 _ACEOF
92003 cat confdefs.h >>conftest.$ac_ext
92004 cat >>conftest.$ac_ext <<_ACEOF
92005 /* end confdefs.h. */
92006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92008 #define $ac_func innocuous_$ac_func
92010 /* System header to define __stub macros and hopefully few prototypes,
92011 which can conflict with char $ac_func (); below.
92012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92013 <limits.h> exists even on freestanding compilers. */
92015 #ifdef __STDC__
92016 # include <limits.h>
92017 #else
92018 # include <assert.h>
92019 #endif
92021 #undef $ac_func
92023 /* Override any gcc2 internal prototype to avoid an error. */
92024 #ifdef __cplusplus
92025 extern "C"
92027 #endif
92028 /* We use char because int might match the return type of a gcc2
92029 builtin and then its argument prototype would still apply. */
92030 char $ac_func ();
92031 /* The GNU C library defines this for functions which it implements
92032 to always fail with ENOSYS. Some functions are actually named
92033 something starting with __ and the normal name is an alias. */
92034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92035 choke me
92036 #else
92037 char (*f) () = $ac_func;
92038 #endif
92039 #ifdef __cplusplus
92041 #endif
92044 main ()
92046 return f != $ac_func;
92048 return 0;
92050 _ACEOF
92051 rm -f conftest.$ac_objext conftest$ac_exeext
92052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92053 (eval $ac_link) 2>conftest.er1
92054 ac_status=$?
92055 grep -v '^ *+' conftest.er1 >conftest.err
92056 rm -f conftest.er1
92057 cat conftest.err >&5
92058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92059 (exit $ac_status); } &&
92060 { ac_try='test -z "$ac_c_werror_flag"
92061 || test ! -s conftest.err'
92062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92063 (eval $ac_try) 2>&5
92064 ac_status=$?
92065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92066 (exit $ac_status); }; } &&
92067 { ac_try='test -s conftest$ac_exeext'
92068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92069 (eval $ac_try) 2>&5
92070 ac_status=$?
92071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92072 (exit $ac_status); }; }; then
92073 eval "$as_ac_var=yes"
92074 else
92075 echo "$as_me: failed program was:" >&5
92076 sed 's/^/| /' conftest.$ac_ext >&5
92078 eval "$as_ac_var=no"
92080 rm -f conftest.err conftest.$ac_objext \
92081 conftest$ac_exeext conftest.$ac_ext
92083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92085 if test `eval echo '${'$as_ac_var'}'` = yes; then
92086 cat >>confdefs.h <<_ACEOF
92087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92088 _ACEOF
92090 else
92091 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
92093 done
92096 if test x$ac_cv_func_copysignl = x"yes"; then
92098 for ac_func in __signbitl
92100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92101 echo "$as_me:$LINENO: checking for $ac_func" >&5
92102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92103 if eval "test \"\${$as_ac_var+set}\" = set"; then
92104 echo $ECHO_N "(cached) $ECHO_C" >&6
92105 else
92106 if test x$gcc_no_link = xyes; then
92107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92109 { (exit 1); exit 1; }; }
92111 cat >conftest.$ac_ext <<_ACEOF
92112 /* confdefs.h. */
92113 _ACEOF
92114 cat confdefs.h >>conftest.$ac_ext
92115 cat >>conftest.$ac_ext <<_ACEOF
92116 /* end confdefs.h. */
92117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92119 #define $ac_func innocuous_$ac_func
92121 /* System header to define __stub macros and hopefully few prototypes,
92122 which can conflict with char $ac_func (); below.
92123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92124 <limits.h> exists even on freestanding compilers. */
92126 #ifdef __STDC__
92127 # include <limits.h>
92128 #else
92129 # include <assert.h>
92130 #endif
92132 #undef $ac_func
92134 /* Override any gcc2 internal prototype to avoid an error. */
92135 #ifdef __cplusplus
92136 extern "C"
92138 #endif
92139 /* We use char because int might match the return type of a gcc2
92140 builtin and then its argument prototype would still apply. */
92141 char $ac_func ();
92142 /* The GNU C library defines this for functions which it implements
92143 to always fail with ENOSYS. Some functions are actually named
92144 something starting with __ and the normal name is an alias. */
92145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92146 choke me
92147 #else
92148 char (*f) () = $ac_func;
92149 #endif
92150 #ifdef __cplusplus
92152 #endif
92155 main ()
92157 return f != $ac_func;
92159 return 0;
92161 _ACEOF
92162 rm -f conftest.$ac_objext conftest$ac_exeext
92163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92164 (eval $ac_link) 2>conftest.er1
92165 ac_status=$?
92166 grep -v '^ *+' conftest.er1 >conftest.err
92167 rm -f conftest.er1
92168 cat conftest.err >&5
92169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92170 (exit $ac_status); } &&
92171 { ac_try='test -z "$ac_c_werror_flag"
92172 || test ! -s conftest.err'
92173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92174 (eval $ac_try) 2>&5
92175 ac_status=$?
92176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92177 (exit $ac_status); }; } &&
92178 { ac_try='test -s conftest$ac_exeext'
92179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92180 (eval $ac_try) 2>&5
92181 ac_status=$?
92182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92183 (exit $ac_status); }; }; then
92184 eval "$as_ac_var=yes"
92185 else
92186 echo "$as_me: failed program was:" >&5
92187 sed 's/^/| /' conftest.$ac_ext >&5
92189 eval "$as_ac_var=no"
92191 rm -f conftest.err conftest.$ac_objext \
92192 conftest$ac_exeext conftest.$ac_ext
92194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92196 if test `eval echo '${'$as_ac_var'}'` = yes; then
92197 cat >>confdefs.h <<_ACEOF
92198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92199 _ACEOF
92201 else
92202 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
92204 done
92208 # Used in libmath/Makefile.am.
92209 if test -n "$LIBMATHOBJS"; then
92210 need_libmath=yes
92215 # Test wchar.h for mbstate_t, which is needed for char_traits and
92216 # others even if wchar_t support is not on.
92217 echo "$as_me:$LINENO: checking for mbstate_t" >&5
92218 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
92219 cat >conftest.$ac_ext <<_ACEOF
92220 /* confdefs.h. */
92221 _ACEOF
92222 cat confdefs.h >>conftest.$ac_ext
92223 cat >>conftest.$ac_ext <<_ACEOF
92224 /* end confdefs.h. */
92225 #include <wchar.h>
92227 main ()
92229 mbstate_t teststate;
92231 return 0;
92233 _ACEOF
92234 rm -f conftest.$ac_objext
92235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92236 (eval $ac_compile) 2>conftest.er1
92237 ac_status=$?
92238 grep -v '^ *+' conftest.er1 >conftest.err
92239 rm -f conftest.er1
92240 cat conftest.err >&5
92241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92242 (exit $ac_status); } &&
92243 { ac_try='test -z "$ac_c_werror_flag"
92244 || test ! -s conftest.err'
92245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92246 (eval $ac_try) 2>&5
92247 ac_status=$?
92248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92249 (exit $ac_status); }; } &&
92250 { ac_try='test -s conftest.$ac_objext'
92251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92252 (eval $ac_try) 2>&5
92253 ac_status=$?
92254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92255 (exit $ac_status); }; }; then
92256 have_mbstate_t=yes
92257 else
92258 echo "$as_me: failed program was:" >&5
92259 sed 's/^/| /' conftest.$ac_ext >&5
92261 have_mbstate_t=no
92263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92264 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
92265 echo "${ECHO_T}$have_mbstate_t" >&6
92266 if test x"$have_mbstate_t" = xyes; then
92267 cat >>confdefs.h <<\_ACEOF
92268 #define HAVE_MBSTATE_T 1
92269 _ACEOF
92273 # Sanity check for existence of ISO C99 headers for extended encoding.
92275 for ac_header in wchar.h
92277 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
92278 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92279 echo "$as_me:$LINENO: checking for $ac_header" >&5
92280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92281 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92282 echo $ECHO_N "(cached) $ECHO_C" >&6
92284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92285 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92286 else
92287 # Is the header compilable?
92288 echo "$as_me:$LINENO: checking $ac_header usability" >&5
92289 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
92290 cat >conftest.$ac_ext <<_ACEOF
92291 /* confdefs.h. */
92292 _ACEOF
92293 cat confdefs.h >>conftest.$ac_ext
92294 cat >>conftest.$ac_ext <<_ACEOF
92295 /* end confdefs.h. */
92296 $ac_includes_default
92297 #include <$ac_header>
92298 _ACEOF
92299 rm -f conftest.$ac_objext
92300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92301 (eval $ac_compile) 2>conftest.er1
92302 ac_status=$?
92303 grep -v '^ *+' conftest.er1 >conftest.err
92304 rm -f conftest.er1
92305 cat conftest.err >&5
92306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92307 (exit $ac_status); } &&
92308 { ac_try='test -z "$ac_c_werror_flag"
92309 || test ! -s conftest.err'
92310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92311 (eval $ac_try) 2>&5
92312 ac_status=$?
92313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92314 (exit $ac_status); }; } &&
92315 { ac_try='test -s conftest.$ac_objext'
92316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92317 (eval $ac_try) 2>&5
92318 ac_status=$?
92319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92320 (exit $ac_status); }; }; then
92321 ac_header_compiler=yes
92322 else
92323 echo "$as_me: failed program was:" >&5
92324 sed 's/^/| /' conftest.$ac_ext >&5
92326 ac_header_compiler=no
92328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92329 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92330 echo "${ECHO_T}$ac_header_compiler" >&6
92332 # Is the header present?
92333 echo "$as_me:$LINENO: checking $ac_header presence" >&5
92334 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
92335 cat >conftest.$ac_ext <<_ACEOF
92336 /* confdefs.h. */
92337 _ACEOF
92338 cat confdefs.h >>conftest.$ac_ext
92339 cat >>conftest.$ac_ext <<_ACEOF
92340 /* end confdefs.h. */
92341 #include <$ac_header>
92342 _ACEOF
92343 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92344 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92345 ac_status=$?
92346 grep -v '^ *+' conftest.er1 >conftest.err
92347 rm -f conftest.er1
92348 cat conftest.err >&5
92349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92350 (exit $ac_status); } >/dev/null; then
92351 if test -s conftest.err; then
92352 ac_cpp_err=$ac_c_preproc_warn_flag
92353 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92354 else
92355 ac_cpp_err=
92357 else
92358 ac_cpp_err=yes
92360 if test -z "$ac_cpp_err"; then
92361 ac_header_preproc=yes
92362 else
92363 echo "$as_me: failed program was:" >&5
92364 sed 's/^/| /' conftest.$ac_ext >&5
92366 ac_header_preproc=no
92368 rm -f conftest.err conftest.$ac_ext
92369 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92370 echo "${ECHO_T}$ac_header_preproc" >&6
92372 # So? What about this header?
92373 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92374 yes:no: )
92375 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
92376 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
92377 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
92378 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
92379 ac_header_preproc=yes
92381 no:yes:* )
92382 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
92383 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
92384 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
92385 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
92386 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
92387 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
92388 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
92389 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
92390 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
92391 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
92392 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
92393 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
92395 cat <<\_ASBOX
92396 ## ----------------------------------------- ##
92397 ## Report this to the package-unused lists. ##
92398 ## ----------------------------------------- ##
92399 _ASBOX
92401 sed "s/^/$as_me: WARNING: /" >&2
92403 esac
92404 echo "$as_me:$LINENO: checking for $ac_header" >&5
92405 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92407 echo $ECHO_N "(cached) $ECHO_C" >&6
92408 else
92409 eval "$as_ac_Header=\$ac_header_preproc"
92411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92412 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92415 if test `eval echo '${'$as_ac_Header'}'` = yes; then
92416 cat >>confdefs.h <<_ACEOF
92417 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
92418 _ACEOF
92419 ac_has_wchar_h=yes
92420 else
92421 ac_has_wchar_h=no
92424 done
92427 for ac_header in wctype.h
92429 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
92430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92431 echo "$as_me:$LINENO: checking for $ac_header" >&5
92432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92434 echo $ECHO_N "(cached) $ECHO_C" >&6
92436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92437 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92438 else
92439 # Is the header compilable?
92440 echo "$as_me:$LINENO: checking $ac_header usability" >&5
92441 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
92442 cat >conftest.$ac_ext <<_ACEOF
92443 /* confdefs.h. */
92444 _ACEOF
92445 cat confdefs.h >>conftest.$ac_ext
92446 cat >>conftest.$ac_ext <<_ACEOF
92447 /* end confdefs.h. */
92448 $ac_includes_default
92449 #include <$ac_header>
92450 _ACEOF
92451 rm -f conftest.$ac_objext
92452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92453 (eval $ac_compile) 2>conftest.er1
92454 ac_status=$?
92455 grep -v '^ *+' conftest.er1 >conftest.err
92456 rm -f conftest.er1
92457 cat conftest.err >&5
92458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92459 (exit $ac_status); } &&
92460 { ac_try='test -z "$ac_c_werror_flag"
92461 || test ! -s conftest.err'
92462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92463 (eval $ac_try) 2>&5
92464 ac_status=$?
92465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92466 (exit $ac_status); }; } &&
92467 { ac_try='test -s conftest.$ac_objext'
92468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92469 (eval $ac_try) 2>&5
92470 ac_status=$?
92471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92472 (exit $ac_status); }; }; then
92473 ac_header_compiler=yes
92474 else
92475 echo "$as_me: failed program was:" >&5
92476 sed 's/^/| /' conftest.$ac_ext >&5
92478 ac_header_compiler=no
92480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92481 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92482 echo "${ECHO_T}$ac_header_compiler" >&6
92484 # Is the header present?
92485 echo "$as_me:$LINENO: checking $ac_header presence" >&5
92486 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
92487 cat >conftest.$ac_ext <<_ACEOF
92488 /* confdefs.h. */
92489 _ACEOF
92490 cat confdefs.h >>conftest.$ac_ext
92491 cat >>conftest.$ac_ext <<_ACEOF
92492 /* end confdefs.h. */
92493 #include <$ac_header>
92494 _ACEOF
92495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92496 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92497 ac_status=$?
92498 grep -v '^ *+' conftest.er1 >conftest.err
92499 rm -f conftest.er1
92500 cat conftest.err >&5
92501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92502 (exit $ac_status); } >/dev/null; then
92503 if test -s conftest.err; then
92504 ac_cpp_err=$ac_c_preproc_warn_flag
92505 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92506 else
92507 ac_cpp_err=
92509 else
92510 ac_cpp_err=yes
92512 if test -z "$ac_cpp_err"; then
92513 ac_header_preproc=yes
92514 else
92515 echo "$as_me: failed program was:" >&5
92516 sed 's/^/| /' conftest.$ac_ext >&5
92518 ac_header_preproc=no
92520 rm -f conftest.err conftest.$ac_ext
92521 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92522 echo "${ECHO_T}$ac_header_preproc" >&6
92524 # So? What about this header?
92525 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92526 yes:no: )
92527 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
92528 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
92529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
92530 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
92531 ac_header_preproc=yes
92533 no:yes:* )
92534 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
92535 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
92536 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
92537 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
92538 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
92539 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
92540 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
92541 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
92542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
92543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
92544 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
92545 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
92547 cat <<\_ASBOX
92548 ## ----------------------------------------- ##
92549 ## Report this to the package-unused lists. ##
92550 ## ----------------------------------------- ##
92551 _ASBOX
92553 sed "s/^/$as_me: WARNING: /" >&2
92555 esac
92556 echo "$as_me:$LINENO: checking for $ac_header" >&5
92557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92559 echo $ECHO_N "(cached) $ECHO_C" >&6
92560 else
92561 eval "$as_ac_Header=\$ac_header_preproc"
92563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
92568 cat >>confdefs.h <<_ACEOF
92569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
92570 _ACEOF
92571 ac_has_wctype_h=yes
92572 else
92573 ac_has_wctype_h=no
92576 done
92579 # Only continue checking if the ISO C99 headers exist and support is on.
92580 if test x"$ac_has_wchar_h" = xyes &&
92581 test x"$ac_has_wctype_h" = xyes &&
92582 test x"$enable_c_mbchar" != xno; then
92584 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
92585 # numeric_limits can instantiate type_traits<wchar_t>
92586 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
92587 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
92588 cat >conftest.$ac_ext <<_ACEOF
92589 /* confdefs.h. */
92590 _ACEOF
92591 cat confdefs.h >>conftest.$ac_ext
92592 cat >>conftest.$ac_ext <<_ACEOF
92593 /* end confdefs.h. */
92594 #include <wchar.h>
92596 main ()
92598 int i = WCHAR_MIN; int j = WCHAR_MAX;
92600 return 0;
92602 _ACEOF
92603 rm -f conftest.$ac_objext
92604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92605 (eval $ac_compile) 2>conftest.er1
92606 ac_status=$?
92607 grep -v '^ *+' conftest.er1 >conftest.err
92608 rm -f conftest.er1
92609 cat conftest.err >&5
92610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92611 (exit $ac_status); } &&
92612 { ac_try='test -z "$ac_c_werror_flag"
92613 || test ! -s conftest.err'
92614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92615 (eval $ac_try) 2>&5
92616 ac_status=$?
92617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92618 (exit $ac_status); }; } &&
92619 { ac_try='test -s conftest.$ac_objext'
92620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92621 (eval $ac_try) 2>&5
92622 ac_status=$?
92623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92624 (exit $ac_status); }; }; then
92625 has_wchar_minmax=yes
92626 else
92627 echo "$as_me: failed program was:" >&5
92628 sed 's/^/| /' conftest.$ac_ext >&5
92630 has_wchar_minmax=no
92632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92633 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
92634 echo "${ECHO_T}$has_wchar_minmax" >&6
92636 # Test wchar.h for WEOF, which is what we use to determine whether
92637 # to specialize for char_traits<wchar_t> or not.
92638 echo "$as_me:$LINENO: checking for WEOF" >&5
92639 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
92640 cat >conftest.$ac_ext <<_ACEOF
92641 /* confdefs.h. */
92642 _ACEOF
92643 cat confdefs.h >>conftest.$ac_ext
92644 cat >>conftest.$ac_ext <<_ACEOF
92645 /* end confdefs.h. */
92647 #include <wchar.h>
92648 #include <stddef.h>
92650 main ()
92652 wint_t i = WEOF;
92654 return 0;
92656 _ACEOF
92657 rm -f conftest.$ac_objext
92658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92659 (eval $ac_compile) 2>conftest.er1
92660 ac_status=$?
92661 grep -v '^ *+' conftest.er1 >conftest.err
92662 rm -f conftest.er1
92663 cat conftest.err >&5
92664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92665 (exit $ac_status); } &&
92666 { ac_try='test -z "$ac_c_werror_flag"
92667 || test ! -s conftest.err'
92668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92669 (eval $ac_try) 2>&5
92670 ac_status=$?
92671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92672 (exit $ac_status); }; } &&
92673 { ac_try='test -s conftest.$ac_objext'
92674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92675 (eval $ac_try) 2>&5
92676 ac_status=$?
92677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92678 (exit $ac_status); }; }; then
92679 has_weof=yes
92680 else
92681 echo "$as_me: failed program was:" >&5
92682 sed 's/^/| /' conftest.$ac_ext >&5
92684 has_weof=no
92686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92687 echo "$as_me:$LINENO: result: $has_weof" >&5
92688 echo "${ECHO_T}$has_weof" >&6
92690 # Tests for wide character functions used in char_traits<wchar_t>.
92691 ac_wfuncs=yes
92698 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
92700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92701 echo "$as_me:$LINENO: checking for $ac_func" >&5
92702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92703 if eval "test \"\${$as_ac_var+set}\" = set"; then
92704 echo $ECHO_N "(cached) $ECHO_C" >&6
92705 else
92706 if test x$gcc_no_link = xyes; then
92707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92709 { (exit 1); exit 1; }; }
92711 cat >conftest.$ac_ext <<_ACEOF
92712 /* confdefs.h. */
92713 _ACEOF
92714 cat confdefs.h >>conftest.$ac_ext
92715 cat >>conftest.$ac_ext <<_ACEOF
92716 /* end confdefs.h. */
92717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92719 #define $ac_func innocuous_$ac_func
92721 /* System header to define __stub macros and hopefully few prototypes,
92722 which can conflict with char $ac_func (); below.
92723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92724 <limits.h> exists even on freestanding compilers. */
92726 #ifdef __STDC__
92727 # include <limits.h>
92728 #else
92729 # include <assert.h>
92730 #endif
92732 #undef $ac_func
92734 /* Override any gcc2 internal prototype to avoid an error. */
92735 #ifdef __cplusplus
92736 extern "C"
92738 #endif
92739 /* We use char because int might match the return type of a gcc2
92740 builtin and then its argument prototype would still apply. */
92741 char $ac_func ();
92742 /* The GNU C library defines this for functions which it implements
92743 to always fail with ENOSYS. Some functions are actually named
92744 something starting with __ and the normal name is an alias. */
92745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92746 choke me
92747 #else
92748 char (*f) () = $ac_func;
92749 #endif
92750 #ifdef __cplusplus
92752 #endif
92755 main ()
92757 return f != $ac_func;
92759 return 0;
92761 _ACEOF
92762 rm -f conftest.$ac_objext conftest$ac_exeext
92763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92764 (eval $ac_link) 2>conftest.er1
92765 ac_status=$?
92766 grep -v '^ *+' conftest.er1 >conftest.err
92767 rm -f conftest.er1
92768 cat conftest.err >&5
92769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92770 (exit $ac_status); } &&
92771 { ac_try='test -z "$ac_c_werror_flag"
92772 || test ! -s conftest.err'
92773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92774 (eval $ac_try) 2>&5
92775 ac_status=$?
92776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92777 (exit $ac_status); }; } &&
92778 { ac_try='test -s conftest$ac_exeext'
92779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92780 (eval $ac_try) 2>&5
92781 ac_status=$?
92782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92783 (exit $ac_status); }; }; then
92784 eval "$as_ac_var=yes"
92785 else
92786 echo "$as_me: failed program was:" >&5
92787 sed 's/^/| /' conftest.$ac_ext >&5
92789 eval "$as_ac_var=no"
92791 rm -f conftest.err conftest.$ac_objext \
92792 conftest$ac_exeext conftest.$ac_ext
92794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92796 if test `eval echo '${'$as_ac_var'}'` = yes; then
92797 cat >>confdefs.h <<_ACEOF
92798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92799 _ACEOF
92801 else
92802 ac_wfuncs=no
92804 done
92807 # Checks for names injected into std:: by the c_std headers.
92854 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
92855 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
92856 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
92857 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
92858 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
92859 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
92861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92862 echo "$as_me:$LINENO: checking for $ac_func" >&5
92863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92864 if eval "test \"\${$as_ac_var+set}\" = set"; then
92865 echo $ECHO_N "(cached) $ECHO_C" >&6
92866 else
92867 if test x$gcc_no_link = xyes; then
92868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92870 { (exit 1); exit 1; }; }
92872 cat >conftest.$ac_ext <<_ACEOF
92873 /* confdefs.h. */
92874 _ACEOF
92875 cat confdefs.h >>conftest.$ac_ext
92876 cat >>conftest.$ac_ext <<_ACEOF
92877 /* end confdefs.h. */
92878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92880 #define $ac_func innocuous_$ac_func
92882 /* System header to define __stub macros and hopefully few prototypes,
92883 which can conflict with char $ac_func (); below.
92884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92885 <limits.h> exists even on freestanding compilers. */
92887 #ifdef __STDC__
92888 # include <limits.h>
92889 #else
92890 # include <assert.h>
92891 #endif
92893 #undef $ac_func
92895 /* Override any gcc2 internal prototype to avoid an error. */
92896 #ifdef __cplusplus
92897 extern "C"
92899 #endif
92900 /* We use char because int might match the return type of a gcc2
92901 builtin and then its argument prototype would still apply. */
92902 char $ac_func ();
92903 /* The GNU C library defines this for functions which it implements
92904 to always fail with ENOSYS. Some functions are actually named
92905 something starting with __ and the normal name is an alias. */
92906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92907 choke me
92908 #else
92909 char (*f) () = $ac_func;
92910 #endif
92911 #ifdef __cplusplus
92913 #endif
92916 main ()
92918 return f != $ac_func;
92920 return 0;
92922 _ACEOF
92923 rm -f conftest.$ac_objext conftest$ac_exeext
92924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92925 (eval $ac_link) 2>conftest.er1
92926 ac_status=$?
92927 grep -v '^ *+' conftest.er1 >conftest.err
92928 rm -f conftest.er1
92929 cat conftest.err >&5
92930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92931 (exit $ac_status); } &&
92932 { ac_try='test -z "$ac_c_werror_flag"
92933 || test ! -s conftest.err'
92934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92935 (eval $ac_try) 2>&5
92936 ac_status=$?
92937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92938 (exit $ac_status); }; } &&
92939 { ac_try='test -s conftest$ac_exeext'
92940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92941 (eval $ac_try) 2>&5
92942 ac_status=$?
92943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92944 (exit $ac_status); }; }; then
92945 eval "$as_ac_var=yes"
92946 else
92947 echo "$as_me: failed program was:" >&5
92948 sed 's/^/| /' conftest.$ac_ext >&5
92950 eval "$as_ac_var=no"
92952 rm -f conftest.err conftest.$ac_objext \
92953 conftest$ac_exeext conftest.$ac_ext
92955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92957 if test `eval echo '${'$as_ac_var'}'` = yes; then
92958 cat >>confdefs.h <<_ACEOF
92959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92960 _ACEOF
92962 else
92963 ac_wfuncs=no
92965 done
92968 # Checks for wide character functions that are not required
92969 # for basic wchar_t support. Don't disable support if they are missing.
92970 # Injection of these is wrapped with guard macros.
92976 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
92978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92979 echo "$as_me:$LINENO: checking for $ac_func" >&5
92980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92981 if eval "test \"\${$as_ac_var+set}\" = set"; then
92982 echo $ECHO_N "(cached) $ECHO_C" >&6
92983 else
92984 if test x$gcc_no_link = xyes; then
92985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92987 { (exit 1); exit 1; }; }
92989 cat >conftest.$ac_ext <<_ACEOF
92990 /* confdefs.h. */
92991 _ACEOF
92992 cat confdefs.h >>conftest.$ac_ext
92993 cat >>conftest.$ac_ext <<_ACEOF
92994 /* end confdefs.h. */
92995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92997 #define $ac_func innocuous_$ac_func
92999 /* System header to define __stub macros and hopefully few prototypes,
93000 which can conflict with char $ac_func (); below.
93001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93002 <limits.h> exists even on freestanding compilers. */
93004 #ifdef __STDC__
93005 # include <limits.h>
93006 #else
93007 # include <assert.h>
93008 #endif
93010 #undef $ac_func
93012 /* Override any gcc2 internal prototype to avoid an error. */
93013 #ifdef __cplusplus
93014 extern "C"
93016 #endif
93017 /* We use char because int might match the return type of a gcc2
93018 builtin and then its argument prototype would still apply. */
93019 char $ac_func ();
93020 /* The GNU C library defines this for functions which it implements
93021 to always fail with ENOSYS. Some functions are actually named
93022 something starting with __ and the normal name is an alias. */
93023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93024 choke me
93025 #else
93026 char (*f) () = $ac_func;
93027 #endif
93028 #ifdef __cplusplus
93030 #endif
93033 main ()
93035 return f != $ac_func;
93037 return 0;
93039 _ACEOF
93040 rm -f conftest.$ac_objext conftest$ac_exeext
93041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93042 (eval $ac_link) 2>conftest.er1
93043 ac_status=$?
93044 grep -v '^ *+' conftest.er1 >conftest.err
93045 rm -f conftest.er1
93046 cat conftest.err >&5
93047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93048 (exit $ac_status); } &&
93049 { ac_try='test -z "$ac_c_werror_flag"
93050 || test ! -s conftest.err'
93051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93052 (eval $ac_try) 2>&5
93053 ac_status=$?
93054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93055 (exit $ac_status); }; } &&
93056 { ac_try='test -s conftest$ac_exeext'
93057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93058 (eval $ac_try) 2>&5
93059 ac_status=$?
93060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93061 (exit $ac_status); }; }; then
93062 eval "$as_ac_var=yes"
93063 else
93064 echo "$as_me: failed program was:" >&5
93065 sed 's/^/| /' conftest.$ac_ext >&5
93067 eval "$as_ac_var=no"
93069 rm -f conftest.err conftest.$ac_objext \
93070 conftest$ac_exeext conftest.$ac_ext
93072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93074 if test `eval echo '${'$as_ac_var'}'` = yes; then
93075 cat >>confdefs.h <<_ACEOF
93076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93077 _ACEOF
93080 done
93083 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
93084 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
93085 if test x"$has_weof" = xyes &&
93086 test x"$has_wchar_minmax" = xyes &&
93087 test x"$ac_wfuncs" = xyes;
93088 then
93089 ac_isoC99_wchar_t=yes
93090 else
93091 ac_isoC99_wchar_t=no
93093 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
93094 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
93096 # Use iconv for wchar_t to char conversions. As such, check for
93097 # X/Open Portability Guide, version 2 features (XPG2).
93098 if test "${ac_cv_header_iconv_h+set}" = set; then
93099 echo "$as_me:$LINENO: checking for iconv.h" >&5
93100 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
93101 if test "${ac_cv_header_iconv_h+set}" = set; then
93102 echo $ECHO_N "(cached) $ECHO_C" >&6
93104 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
93105 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
93106 else
93107 # Is the header compilable?
93108 echo "$as_me:$LINENO: checking iconv.h usability" >&5
93109 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
93110 cat >conftest.$ac_ext <<_ACEOF
93111 /* confdefs.h. */
93112 _ACEOF
93113 cat confdefs.h >>conftest.$ac_ext
93114 cat >>conftest.$ac_ext <<_ACEOF
93115 /* end confdefs.h. */
93116 $ac_includes_default
93117 #include <iconv.h>
93118 _ACEOF
93119 rm -f conftest.$ac_objext
93120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93121 (eval $ac_compile) 2>conftest.er1
93122 ac_status=$?
93123 grep -v '^ *+' conftest.er1 >conftest.err
93124 rm -f conftest.er1
93125 cat conftest.err >&5
93126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93127 (exit $ac_status); } &&
93128 { ac_try='test -z "$ac_c_werror_flag"
93129 || test ! -s conftest.err'
93130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93131 (eval $ac_try) 2>&5
93132 ac_status=$?
93133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93134 (exit $ac_status); }; } &&
93135 { ac_try='test -s conftest.$ac_objext'
93136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93137 (eval $ac_try) 2>&5
93138 ac_status=$?
93139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93140 (exit $ac_status); }; }; then
93141 ac_header_compiler=yes
93142 else
93143 echo "$as_me: failed program was:" >&5
93144 sed 's/^/| /' conftest.$ac_ext >&5
93146 ac_header_compiler=no
93148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93149 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93150 echo "${ECHO_T}$ac_header_compiler" >&6
93152 # Is the header present?
93153 echo "$as_me:$LINENO: checking iconv.h presence" >&5
93154 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
93155 cat >conftest.$ac_ext <<_ACEOF
93156 /* confdefs.h. */
93157 _ACEOF
93158 cat confdefs.h >>conftest.$ac_ext
93159 cat >>conftest.$ac_ext <<_ACEOF
93160 /* end confdefs.h. */
93161 #include <iconv.h>
93162 _ACEOF
93163 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93164 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93165 ac_status=$?
93166 grep -v '^ *+' conftest.er1 >conftest.err
93167 rm -f conftest.er1
93168 cat conftest.err >&5
93169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93170 (exit $ac_status); } >/dev/null; then
93171 if test -s conftest.err; then
93172 ac_cpp_err=$ac_c_preproc_warn_flag
93173 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93174 else
93175 ac_cpp_err=
93177 else
93178 ac_cpp_err=yes
93180 if test -z "$ac_cpp_err"; then
93181 ac_header_preproc=yes
93182 else
93183 echo "$as_me: failed program was:" >&5
93184 sed 's/^/| /' conftest.$ac_ext >&5
93186 ac_header_preproc=no
93188 rm -f conftest.err conftest.$ac_ext
93189 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93190 echo "${ECHO_T}$ac_header_preproc" >&6
93192 # So? What about this header?
93193 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93194 yes:no: )
93195 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
93196 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
93197 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
93198 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
93199 ac_header_preproc=yes
93201 no:yes:* )
93202 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
93203 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
93204 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
93205 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
93206 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
93207 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
93208 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
93209 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
93210 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
93211 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
93212 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
93213 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
93215 cat <<\_ASBOX
93216 ## ----------------------------------------- ##
93217 ## Report this to the package-unused lists. ##
93218 ## ----------------------------------------- ##
93219 _ASBOX
93221 sed "s/^/$as_me: WARNING: /" >&2
93223 esac
93224 echo "$as_me:$LINENO: checking for iconv.h" >&5
93225 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
93226 if test "${ac_cv_header_iconv_h+set}" = set; then
93227 echo $ECHO_N "(cached) $ECHO_C" >&6
93228 else
93229 ac_cv_header_iconv_h=$ac_header_preproc
93231 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
93232 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
93235 if test $ac_cv_header_iconv_h = yes; then
93236 ac_has_iconv_h=yes
93237 else
93238 ac_has_iconv_h=no
93242 if test "${ac_cv_header_langinfo_h+set}" = set; then
93243 echo "$as_me:$LINENO: checking for langinfo.h" >&5
93244 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
93245 if test "${ac_cv_header_langinfo_h+set}" = set; then
93246 echo $ECHO_N "(cached) $ECHO_C" >&6
93248 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
93249 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
93250 else
93251 # Is the header compilable?
93252 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
93253 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
93254 cat >conftest.$ac_ext <<_ACEOF
93255 /* confdefs.h. */
93256 _ACEOF
93257 cat confdefs.h >>conftest.$ac_ext
93258 cat >>conftest.$ac_ext <<_ACEOF
93259 /* end confdefs.h. */
93260 $ac_includes_default
93261 #include <langinfo.h>
93262 _ACEOF
93263 rm -f conftest.$ac_objext
93264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93265 (eval $ac_compile) 2>conftest.er1
93266 ac_status=$?
93267 grep -v '^ *+' conftest.er1 >conftest.err
93268 rm -f conftest.er1
93269 cat conftest.err >&5
93270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93271 (exit $ac_status); } &&
93272 { ac_try='test -z "$ac_c_werror_flag"
93273 || test ! -s conftest.err'
93274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93275 (eval $ac_try) 2>&5
93276 ac_status=$?
93277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93278 (exit $ac_status); }; } &&
93279 { ac_try='test -s conftest.$ac_objext'
93280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93281 (eval $ac_try) 2>&5
93282 ac_status=$?
93283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93284 (exit $ac_status); }; }; then
93285 ac_header_compiler=yes
93286 else
93287 echo "$as_me: failed program was:" >&5
93288 sed 's/^/| /' conftest.$ac_ext >&5
93290 ac_header_compiler=no
93292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93293 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93294 echo "${ECHO_T}$ac_header_compiler" >&6
93296 # Is the header present?
93297 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
93298 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
93299 cat >conftest.$ac_ext <<_ACEOF
93300 /* confdefs.h. */
93301 _ACEOF
93302 cat confdefs.h >>conftest.$ac_ext
93303 cat >>conftest.$ac_ext <<_ACEOF
93304 /* end confdefs.h. */
93305 #include <langinfo.h>
93306 _ACEOF
93307 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93308 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93309 ac_status=$?
93310 grep -v '^ *+' conftest.er1 >conftest.err
93311 rm -f conftest.er1
93312 cat conftest.err >&5
93313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93314 (exit $ac_status); } >/dev/null; then
93315 if test -s conftest.err; then
93316 ac_cpp_err=$ac_c_preproc_warn_flag
93317 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93318 else
93319 ac_cpp_err=
93321 else
93322 ac_cpp_err=yes
93324 if test -z "$ac_cpp_err"; then
93325 ac_header_preproc=yes
93326 else
93327 echo "$as_me: failed program was:" >&5
93328 sed 's/^/| /' conftest.$ac_ext >&5
93330 ac_header_preproc=no
93332 rm -f conftest.err conftest.$ac_ext
93333 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93334 echo "${ECHO_T}$ac_header_preproc" >&6
93336 # So? What about this header?
93337 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93338 yes:no: )
93339 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
93340 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
93341 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
93342 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
93343 ac_header_preproc=yes
93345 no:yes:* )
93346 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
93347 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
93348 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
93349 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
93350 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
93351 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
93352 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
93353 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
93354 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
93355 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
93356 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
93357 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
93359 cat <<\_ASBOX
93360 ## ----------------------------------------- ##
93361 ## Report this to the package-unused lists. ##
93362 ## ----------------------------------------- ##
93363 _ASBOX
93365 sed "s/^/$as_me: WARNING: /" >&2
93367 esac
93368 echo "$as_me:$LINENO: checking for langinfo.h" >&5
93369 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
93370 if test "${ac_cv_header_langinfo_h+set}" = set; then
93371 echo $ECHO_N "(cached) $ECHO_C" >&6
93372 else
93373 ac_cv_header_langinfo_h=$ac_header_preproc
93375 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
93376 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
93379 if test $ac_cv_header_langinfo_h = yes; then
93380 ac_has_langinfo_h=yes
93381 else
93382 ac_has_langinfo_h=no
93387 # Check for existence of libiconv.a providing XPG2 wchar_t support.
93388 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
93389 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
93390 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
93391 echo $ECHO_N "(cached) $ECHO_C" >&6
93392 else
93393 ac_check_lib_save_LIBS=$LIBS
93394 LIBS="-liconv $LIBS"
93395 if test x$gcc_no_link = xyes; then
93396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93398 { (exit 1); exit 1; }; }
93400 cat >conftest.$ac_ext <<_ACEOF
93401 /* confdefs.h. */
93402 _ACEOF
93403 cat confdefs.h >>conftest.$ac_ext
93404 cat >>conftest.$ac_ext <<_ACEOF
93405 /* end confdefs.h. */
93407 /* Override any gcc2 internal prototype to avoid an error. */
93408 #ifdef __cplusplus
93409 extern "C"
93410 #endif
93411 /* We use char because int might match the return type of a gcc2
93412 builtin and then its argument prototype would still apply. */
93413 char iconv ();
93415 main ()
93417 iconv ();
93419 return 0;
93421 _ACEOF
93422 rm -f conftest.$ac_objext conftest$ac_exeext
93423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93424 (eval $ac_link) 2>conftest.er1
93425 ac_status=$?
93426 grep -v '^ *+' conftest.er1 >conftest.err
93427 rm -f conftest.er1
93428 cat conftest.err >&5
93429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93430 (exit $ac_status); } &&
93431 { ac_try='test -z "$ac_c_werror_flag"
93432 || test ! -s conftest.err'
93433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93434 (eval $ac_try) 2>&5
93435 ac_status=$?
93436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93437 (exit $ac_status); }; } &&
93438 { ac_try='test -s conftest$ac_exeext'
93439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93440 (eval $ac_try) 2>&5
93441 ac_status=$?
93442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93443 (exit $ac_status); }; }; then
93444 ac_cv_lib_iconv_iconv=yes
93445 else
93446 echo "$as_me: failed program was:" >&5
93447 sed 's/^/| /' conftest.$ac_ext >&5
93449 ac_cv_lib_iconv_iconv=no
93451 rm -f conftest.err conftest.$ac_objext \
93452 conftest$ac_exeext conftest.$ac_ext
93453 LIBS=$ac_check_lib_save_LIBS
93455 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
93456 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
93457 if test $ac_cv_lib_iconv_iconv = yes; then
93458 LIBICONV="-liconv"
93461 ac_save_LIBS="$LIBS"
93462 LIBS="$LIBS $LIBICONV"
93469 for ac_func in iconv_open iconv_close iconv nl_langinfo
93471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93472 echo "$as_me:$LINENO: checking for $ac_func" >&5
93473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93474 if eval "test \"\${$as_ac_var+set}\" = set"; then
93475 echo $ECHO_N "(cached) $ECHO_C" >&6
93476 else
93477 if test x$gcc_no_link = xyes; then
93478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93480 { (exit 1); exit 1; }; }
93482 cat >conftest.$ac_ext <<_ACEOF
93483 /* confdefs.h. */
93484 _ACEOF
93485 cat confdefs.h >>conftest.$ac_ext
93486 cat >>conftest.$ac_ext <<_ACEOF
93487 /* end confdefs.h. */
93488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93490 #define $ac_func innocuous_$ac_func
93492 /* System header to define __stub macros and hopefully few prototypes,
93493 which can conflict with char $ac_func (); below.
93494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93495 <limits.h> exists even on freestanding compilers. */
93497 #ifdef __STDC__
93498 # include <limits.h>
93499 #else
93500 # include <assert.h>
93501 #endif
93503 #undef $ac_func
93505 /* Override any gcc2 internal prototype to avoid an error. */
93506 #ifdef __cplusplus
93507 extern "C"
93509 #endif
93510 /* We use char because int might match the return type of a gcc2
93511 builtin and then its argument prototype would still apply. */
93512 char $ac_func ();
93513 /* The GNU C library defines this for functions which it implements
93514 to always fail with ENOSYS. Some functions are actually named
93515 something starting with __ and the normal name is an alias. */
93516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93517 choke me
93518 #else
93519 char (*f) () = $ac_func;
93520 #endif
93521 #ifdef __cplusplus
93523 #endif
93526 main ()
93528 return f != $ac_func;
93530 return 0;
93532 _ACEOF
93533 rm -f conftest.$ac_objext conftest$ac_exeext
93534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93535 (eval $ac_link) 2>conftest.er1
93536 ac_status=$?
93537 grep -v '^ *+' conftest.er1 >conftest.err
93538 rm -f conftest.er1
93539 cat conftest.err >&5
93540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93541 (exit $ac_status); } &&
93542 { ac_try='test -z "$ac_c_werror_flag"
93543 || test ! -s conftest.err'
93544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93545 (eval $ac_try) 2>&5
93546 ac_status=$?
93547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93548 (exit $ac_status); }; } &&
93549 { ac_try='test -s conftest$ac_exeext'
93550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93551 (eval $ac_try) 2>&5
93552 ac_status=$?
93553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93554 (exit $ac_status); }; }; then
93555 eval "$as_ac_var=yes"
93556 else
93557 echo "$as_me: failed program was:" >&5
93558 sed 's/^/| /' conftest.$ac_ext >&5
93560 eval "$as_ac_var=no"
93562 rm -f conftest.err conftest.$ac_objext \
93563 conftest$ac_exeext conftest.$ac_ext
93565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93567 if test `eval echo '${'$as_ac_var'}'` = yes; then
93568 cat >>confdefs.h <<_ACEOF
93569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93570 _ACEOF
93571 ac_XPG2funcs=yes
93572 else
93573 ac_XPG2funcs=no
93575 done
93578 LIBS="$ac_save_LIBS"
93580 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
93581 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
93582 if test x"$ac_has_iconv_h" = xyes &&
93583 test x"$ac_has_langinfo_h" = xyes &&
93584 test x"$ac_XPG2funcs" = xyes;
93585 then
93586 ac_XPG2_wchar_t=yes
93587 else
93588 ac_XPG2_wchar_t=no
93590 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
93591 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
93593 # At the moment, only enable wchar_t specializations if all the
93594 # above support is present.
93595 if test x"$ac_isoC99_wchar_t" = xyes &&
93596 test x"$ac_XPG2_wchar_t" = xyes;
93597 then
93598 cat >>confdefs.h <<\_ACEOF
93599 #define _GLIBCXX_USE_WCHAR_T 1
93600 _ACEOF
93602 enable_wchar_t=yes
93605 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
93606 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
93607 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
93608 echo "${ECHO_T}$enable_wchar_t" >&6
93610 cat >>confdefs.h <<\_ACEOF
93611 #define HAVE_COSF 1
93612 _ACEOF
93614 cat >>confdefs.h <<\_ACEOF
93615 #define HAVE_COSL 1
93616 _ACEOF
93618 cat >>confdefs.h <<\_ACEOF
93619 #define HAVE_COSHF 1
93620 _ACEOF
93622 cat >>confdefs.h <<\_ACEOF
93623 #define HAVE_COSHL 1
93624 _ACEOF
93626 cat >>confdefs.h <<\_ACEOF
93627 #define HAVE_LOGF 1
93628 _ACEOF
93630 cat >>confdefs.h <<\_ACEOF
93631 #define HAVE_LOGL 1
93632 _ACEOF
93634 cat >>confdefs.h <<\_ACEOF
93635 #define HAVE_LOG10F 1
93636 _ACEOF
93638 cat >>confdefs.h <<\_ACEOF
93639 #define HAVE_LOG10L 1
93640 _ACEOF
93642 cat >>confdefs.h <<\_ACEOF
93643 #define HAVE_SINF 1
93644 _ACEOF
93646 cat >>confdefs.h <<\_ACEOF
93647 #define HAVE_SINL 1
93648 _ACEOF
93650 cat >>confdefs.h <<\_ACEOF
93651 #define HAVE_SINHF 1
93652 _ACEOF
93654 cat >>confdefs.h <<\_ACEOF
93655 #define HAVE_SINHL 1
93656 _ACEOF
93659 *-solaris*)
93660 case "$target" in
93661 # *-solaris2.5)
93662 # os_include_dir="os/solaris/solaris2.5"
93663 # ;;
93664 # *-solaris2.6)
93665 # os_include_dir="os/solaris/solaris2.6"
93666 # ;;
93667 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
93668 cat >>confdefs.h <<\_ACEOF
93669 #define HAVE_GETPAGESIZE 1
93670 _ACEOF
93672 cat >>confdefs.h <<\_ACEOF
93673 #define HAVE_SIGSETJMP 1
93674 _ACEOF
93676 cat >>confdefs.h <<\_ACEOF
93677 #define HAVE_MBSTATE_T 1
93678 _ACEOF
93680 cat >>confdefs.h <<\_ACEOF
93681 #define HAVE_POLL 1
93682 _ACEOF
93684 cat >>confdefs.h <<\_ACEOF
93685 #define HAVE_S_ISREG 1
93686 _ACEOF
93688 cat >>confdefs.h <<\_ACEOF
93689 #define HAVE_LC_MESSAGES 1
93690 _ACEOF
93692 cat >>confdefs.h <<\_ACEOF
93693 #define HAVE_BTOWC 1
93694 _ACEOF
93696 cat >>confdefs.h <<\_ACEOF
93697 #define HAVE_FGETWC 1
93698 _ACEOF
93700 cat >>confdefs.h <<\_ACEOF
93701 #define HAVE_FGETWS 1
93702 _ACEOF
93704 cat >>confdefs.h <<\_ACEOF
93705 #define HAVE_FINITE 1
93706 _ACEOF
93708 cat >>confdefs.h <<\_ACEOF
93709 #define HAVE_FPCLASS 1
93710 _ACEOF
93712 cat >>confdefs.h <<\_ACEOF
93713 #define HAVE_FPUTWC 1
93714 _ACEOF
93716 cat >>confdefs.h <<\_ACEOF
93717 #define HAVE_FPUTWS 1
93718 _ACEOF
93720 cat >>confdefs.h <<\_ACEOF
93721 #define HAVE_FWIDE 1
93722 _ACEOF
93724 cat >>confdefs.h <<\_ACEOF
93725 #define HAVE_FWPRINTF 1
93726 _ACEOF
93728 cat >>confdefs.h <<\_ACEOF
93729 #define HAVE_FWSCANF 1
93730 _ACEOF
93732 cat >>confdefs.h <<\_ACEOF
93733 #define HAVE_GETPAGESIZE 1
93734 _ACEOF
93736 cat >>confdefs.h <<\_ACEOF
93737 #define HAVE_GETWC 1
93738 _ACEOF
93740 cat >>confdefs.h <<\_ACEOF
93741 #define HAVE_GETWCHAR 1
93742 _ACEOF
93744 cat >>confdefs.h <<\_ACEOF
93745 #define HAVE_MBRLEN 1
93746 _ACEOF
93748 cat >>confdefs.h <<\_ACEOF
93749 #define HAVE_MBRTOWC 1
93750 _ACEOF
93752 cat >>confdefs.h <<\_ACEOF
93753 #define HAVE_MBSINIT 1
93754 _ACEOF
93756 cat >>confdefs.h <<\_ACEOF
93757 #define HAVE_MBSRTOWCS 1
93758 _ACEOF
93760 cat >>confdefs.h <<\_ACEOF
93761 #define HAVE_NL_LANGINFO 1
93762 _ACEOF
93764 cat >>confdefs.h <<\_ACEOF
93765 #define HAVE_PUTWC 1
93766 _ACEOF
93768 cat >>confdefs.h <<\_ACEOF
93769 #define HAVE_PUTWCHAR 1
93770 _ACEOF
93772 cat >>confdefs.h <<\_ACEOF
93773 #define HAVE_SWPRINTF 1
93774 _ACEOF
93776 cat >>confdefs.h <<\_ACEOF
93777 #define HAVE_SWSCANF 1
93778 _ACEOF
93780 cat >>confdefs.h <<\_ACEOF
93781 #define HAVE_UNGETWC 1
93782 _ACEOF
93784 cat >>confdefs.h <<\_ACEOF
93785 #define HAVE_VFWPRINTF 1
93786 _ACEOF
93788 cat >>confdefs.h <<\_ACEOF
93789 #define HAVE_VSWPRINTF 1
93790 _ACEOF
93792 cat >>confdefs.h <<\_ACEOF
93793 #define HAVE_VWPRINTF 1
93794 _ACEOF
93796 cat >>confdefs.h <<\_ACEOF
93797 #define HAVE_WCRTOMB 1
93798 _ACEOF
93800 cat >>confdefs.h <<\_ACEOF
93801 #define HAVE_WCSCAT 1
93802 _ACEOF
93804 cat >>confdefs.h <<\_ACEOF
93805 #define HAVE_WCSCHR 1
93806 _ACEOF
93808 cat >>confdefs.h <<\_ACEOF
93809 #define HAVE_WCSCMP 1
93810 _ACEOF
93812 cat >>confdefs.h <<\_ACEOF
93813 #define HAVE_WCSCOLL 1
93814 _ACEOF
93816 cat >>confdefs.h <<\_ACEOF
93817 #define HAVE_WCSCPY 1
93818 _ACEOF
93820 cat >>confdefs.h <<\_ACEOF
93821 #define HAVE_WCSCSPN 1
93822 _ACEOF
93824 cat >>confdefs.h <<\_ACEOF
93825 #define HAVE_WCSFTIME 1
93826 _ACEOF
93828 cat >>confdefs.h <<\_ACEOF
93829 #define HAVE_WCSLEN 1
93830 _ACEOF
93832 cat >>confdefs.h <<\_ACEOF
93833 #define HAVE_WCSNCAT 1
93834 _ACEOF
93836 cat >>confdefs.h <<\_ACEOF
93837 #define HAVE_WCSNCMP 1
93838 _ACEOF
93840 cat >>confdefs.h <<\_ACEOF
93841 #define HAVE_WCSNCPY 1
93842 _ACEOF
93844 cat >>confdefs.h <<\_ACEOF
93845 #define HAVE_WCSPBRK 1
93846 _ACEOF
93848 cat >>confdefs.h <<\_ACEOF
93849 #define HAVE_WCSRCHR 1
93850 _ACEOF
93852 cat >>confdefs.h <<\_ACEOF
93853 #define HAVE_WCSRTOMBS 1
93854 _ACEOF
93856 cat >>confdefs.h <<\_ACEOF
93857 #define HAVE_WCSSPN 1
93858 _ACEOF
93860 cat >>confdefs.h <<\_ACEOF
93861 #define HAVE_WCSSTR 1
93862 _ACEOF
93864 cat >>confdefs.h <<\_ACEOF
93865 #define HAVE_WCSTOD 1
93866 _ACEOF
93868 cat >>confdefs.h <<\_ACEOF
93869 #define HAVE_WCSTOK 1
93870 _ACEOF
93872 cat >>confdefs.h <<\_ACEOF
93873 #define HAVE_WCSTOL 1
93874 _ACEOF
93876 cat >>confdefs.h <<\_ACEOF
93877 #define HAVE_WCSTOUL 1
93878 _ACEOF
93880 cat >>confdefs.h <<\_ACEOF
93881 #define HAVE_WCSXFRM 1
93882 _ACEOF
93884 cat >>confdefs.h <<\_ACEOF
93885 #define HAVE_WCTOB 1
93886 _ACEOF
93888 cat >>confdefs.h <<\_ACEOF
93889 #define HAVE_WMEMCHR 1
93890 _ACEOF
93892 cat >>confdefs.h <<\_ACEOF
93893 #define HAVE_WMEMCMP 1
93894 _ACEOF
93896 cat >>confdefs.h <<\_ACEOF
93897 #define HAVE_WMEMCPY 1
93898 _ACEOF
93900 cat >>confdefs.h <<\_ACEOF
93901 #define HAVE_WMEMMOVE 1
93902 _ACEOF
93904 cat >>confdefs.h <<\_ACEOF
93905 #define HAVE_WMEMSET 1
93906 _ACEOF
93908 cat >>confdefs.h <<\_ACEOF
93909 #define HAVE_WPRINTF 1
93910 _ACEOF
93912 cat >>confdefs.h <<\_ACEOF
93913 #define HAVE_WSCANF 1
93914 _ACEOF
93916 cat >>confdefs.h <<\_ACEOF
93917 #define HAVE_ICONV 1
93918 _ACEOF
93920 cat >>confdefs.h <<\_ACEOF
93921 #define HAVE_ICONV_CLOSE 1
93922 _ACEOF
93924 cat >>confdefs.h <<\_ACEOF
93925 #define HAVE_ICONV_OPEN 1
93926 _ACEOF
93928 # Look for the pieces required for wchar_t support in order to
93929 # get all the right HAVE_* macros defined.
93931 # Test wchar.h for mbstate_t, which is needed for char_traits and
93932 # others even if wchar_t support is not on.
93933 echo "$as_me:$LINENO: checking for mbstate_t" >&5
93934 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
93935 cat >conftest.$ac_ext <<_ACEOF
93936 /* confdefs.h. */
93937 _ACEOF
93938 cat confdefs.h >>conftest.$ac_ext
93939 cat >>conftest.$ac_ext <<_ACEOF
93940 /* end confdefs.h. */
93941 #include <wchar.h>
93943 main ()
93945 mbstate_t teststate;
93947 return 0;
93949 _ACEOF
93950 rm -f conftest.$ac_objext
93951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93952 (eval $ac_compile) 2>conftest.er1
93953 ac_status=$?
93954 grep -v '^ *+' conftest.er1 >conftest.err
93955 rm -f conftest.er1
93956 cat conftest.err >&5
93957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93958 (exit $ac_status); } &&
93959 { ac_try='test -z "$ac_c_werror_flag"
93960 || test ! -s conftest.err'
93961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93962 (eval $ac_try) 2>&5
93963 ac_status=$?
93964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93965 (exit $ac_status); }; } &&
93966 { ac_try='test -s conftest.$ac_objext'
93967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93968 (eval $ac_try) 2>&5
93969 ac_status=$?
93970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93971 (exit $ac_status); }; }; then
93972 have_mbstate_t=yes
93973 else
93974 echo "$as_me: failed program was:" >&5
93975 sed 's/^/| /' conftest.$ac_ext >&5
93977 have_mbstate_t=no
93979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93980 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
93981 echo "${ECHO_T}$have_mbstate_t" >&6
93982 if test x"$have_mbstate_t" = xyes; then
93983 cat >>confdefs.h <<\_ACEOF
93984 #define HAVE_MBSTATE_T 1
93985 _ACEOF
93989 # Sanity check for existence of ISO C99 headers for extended encoding.
93991 for ac_header in wchar.h
93993 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
93994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93995 echo "$as_me:$LINENO: checking for $ac_header" >&5
93996 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
93997 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93998 echo $ECHO_N "(cached) $ECHO_C" >&6
94000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94001 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94002 else
94003 # Is the header compilable?
94004 echo "$as_me:$LINENO: checking $ac_header usability" >&5
94005 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
94006 cat >conftest.$ac_ext <<_ACEOF
94007 /* confdefs.h. */
94008 _ACEOF
94009 cat confdefs.h >>conftest.$ac_ext
94010 cat >>conftest.$ac_ext <<_ACEOF
94011 /* end confdefs.h. */
94012 $ac_includes_default
94013 #include <$ac_header>
94014 _ACEOF
94015 rm -f conftest.$ac_objext
94016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94017 (eval $ac_compile) 2>conftest.er1
94018 ac_status=$?
94019 grep -v '^ *+' conftest.er1 >conftest.err
94020 rm -f conftest.er1
94021 cat conftest.err >&5
94022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94023 (exit $ac_status); } &&
94024 { ac_try='test -z "$ac_c_werror_flag"
94025 || test ! -s conftest.err'
94026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94027 (eval $ac_try) 2>&5
94028 ac_status=$?
94029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94030 (exit $ac_status); }; } &&
94031 { ac_try='test -s conftest.$ac_objext'
94032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94033 (eval $ac_try) 2>&5
94034 ac_status=$?
94035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94036 (exit $ac_status); }; }; then
94037 ac_header_compiler=yes
94038 else
94039 echo "$as_me: failed program was:" >&5
94040 sed 's/^/| /' conftest.$ac_ext >&5
94042 ac_header_compiler=no
94044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94045 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
94046 echo "${ECHO_T}$ac_header_compiler" >&6
94048 # Is the header present?
94049 echo "$as_me:$LINENO: checking $ac_header presence" >&5
94050 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
94051 cat >conftest.$ac_ext <<_ACEOF
94052 /* confdefs.h. */
94053 _ACEOF
94054 cat confdefs.h >>conftest.$ac_ext
94055 cat >>conftest.$ac_ext <<_ACEOF
94056 /* end confdefs.h. */
94057 #include <$ac_header>
94058 _ACEOF
94059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94060 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94061 ac_status=$?
94062 grep -v '^ *+' conftest.er1 >conftest.err
94063 rm -f conftest.er1
94064 cat conftest.err >&5
94065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94066 (exit $ac_status); } >/dev/null; then
94067 if test -s conftest.err; then
94068 ac_cpp_err=$ac_c_preproc_warn_flag
94069 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94070 else
94071 ac_cpp_err=
94073 else
94074 ac_cpp_err=yes
94076 if test -z "$ac_cpp_err"; then
94077 ac_header_preproc=yes
94078 else
94079 echo "$as_me: failed program was:" >&5
94080 sed 's/^/| /' conftest.$ac_ext >&5
94082 ac_header_preproc=no
94084 rm -f conftest.err conftest.$ac_ext
94085 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
94086 echo "${ECHO_T}$ac_header_preproc" >&6
94088 # So? What about this header?
94089 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
94090 yes:no: )
94091 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
94092 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
94093 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
94094 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
94095 ac_header_preproc=yes
94097 no:yes:* )
94098 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
94099 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
94100 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
94101 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
94102 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
94103 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
94104 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
94105 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
94106 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
94107 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
94108 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
94109 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
94111 cat <<\_ASBOX
94112 ## ----------------------------------------- ##
94113 ## Report this to the package-unused lists. ##
94114 ## ----------------------------------------- ##
94115 _ASBOX
94117 sed "s/^/$as_me: WARNING: /" >&2
94119 esac
94120 echo "$as_me:$LINENO: checking for $ac_header" >&5
94121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94123 echo $ECHO_N "(cached) $ECHO_C" >&6
94124 else
94125 eval "$as_ac_Header=\$ac_header_preproc"
94127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94131 if test `eval echo '${'$as_ac_Header'}'` = yes; then
94132 cat >>confdefs.h <<_ACEOF
94133 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
94134 _ACEOF
94135 ac_has_wchar_h=yes
94136 else
94137 ac_has_wchar_h=no
94140 done
94143 for ac_header in wctype.h
94145 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
94146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94147 echo "$as_me:$LINENO: checking for $ac_header" >&5
94148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94150 echo $ECHO_N "(cached) $ECHO_C" >&6
94152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94153 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94154 else
94155 # Is the header compilable?
94156 echo "$as_me:$LINENO: checking $ac_header usability" >&5
94157 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
94158 cat >conftest.$ac_ext <<_ACEOF
94159 /* confdefs.h. */
94160 _ACEOF
94161 cat confdefs.h >>conftest.$ac_ext
94162 cat >>conftest.$ac_ext <<_ACEOF
94163 /* end confdefs.h. */
94164 $ac_includes_default
94165 #include <$ac_header>
94166 _ACEOF
94167 rm -f conftest.$ac_objext
94168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94169 (eval $ac_compile) 2>conftest.er1
94170 ac_status=$?
94171 grep -v '^ *+' conftest.er1 >conftest.err
94172 rm -f conftest.er1
94173 cat conftest.err >&5
94174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94175 (exit $ac_status); } &&
94176 { ac_try='test -z "$ac_c_werror_flag"
94177 || test ! -s conftest.err'
94178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94179 (eval $ac_try) 2>&5
94180 ac_status=$?
94181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94182 (exit $ac_status); }; } &&
94183 { ac_try='test -s conftest.$ac_objext'
94184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94185 (eval $ac_try) 2>&5
94186 ac_status=$?
94187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94188 (exit $ac_status); }; }; then
94189 ac_header_compiler=yes
94190 else
94191 echo "$as_me: failed program was:" >&5
94192 sed 's/^/| /' conftest.$ac_ext >&5
94194 ac_header_compiler=no
94196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94197 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
94198 echo "${ECHO_T}$ac_header_compiler" >&6
94200 # Is the header present?
94201 echo "$as_me:$LINENO: checking $ac_header presence" >&5
94202 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
94203 cat >conftest.$ac_ext <<_ACEOF
94204 /* confdefs.h. */
94205 _ACEOF
94206 cat confdefs.h >>conftest.$ac_ext
94207 cat >>conftest.$ac_ext <<_ACEOF
94208 /* end confdefs.h. */
94209 #include <$ac_header>
94210 _ACEOF
94211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94212 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94213 ac_status=$?
94214 grep -v '^ *+' conftest.er1 >conftest.err
94215 rm -f conftest.er1
94216 cat conftest.err >&5
94217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94218 (exit $ac_status); } >/dev/null; then
94219 if test -s conftest.err; then
94220 ac_cpp_err=$ac_c_preproc_warn_flag
94221 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94222 else
94223 ac_cpp_err=
94225 else
94226 ac_cpp_err=yes
94228 if test -z "$ac_cpp_err"; then
94229 ac_header_preproc=yes
94230 else
94231 echo "$as_me: failed program was:" >&5
94232 sed 's/^/| /' conftest.$ac_ext >&5
94234 ac_header_preproc=no
94236 rm -f conftest.err conftest.$ac_ext
94237 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
94238 echo "${ECHO_T}$ac_header_preproc" >&6
94240 # So? What about this header?
94241 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
94242 yes:no: )
94243 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
94244 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
94245 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
94246 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
94247 ac_header_preproc=yes
94249 no:yes:* )
94250 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
94251 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
94252 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
94253 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
94254 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
94255 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
94256 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
94257 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
94258 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
94259 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
94260 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
94261 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
94263 cat <<\_ASBOX
94264 ## ----------------------------------------- ##
94265 ## Report this to the package-unused lists. ##
94266 ## ----------------------------------------- ##
94267 _ASBOX
94269 sed "s/^/$as_me: WARNING: /" >&2
94271 esac
94272 echo "$as_me:$LINENO: checking for $ac_header" >&5
94273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94275 echo $ECHO_N "(cached) $ECHO_C" >&6
94276 else
94277 eval "$as_ac_Header=\$ac_header_preproc"
94279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94280 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94283 if test `eval echo '${'$as_ac_Header'}'` = yes; then
94284 cat >>confdefs.h <<_ACEOF
94285 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
94286 _ACEOF
94287 ac_has_wctype_h=yes
94288 else
94289 ac_has_wctype_h=no
94292 done
94295 # Only continue checking if the ISO C99 headers exist and support is on.
94296 if test x"$ac_has_wchar_h" = xyes &&
94297 test x"$ac_has_wctype_h" = xyes &&
94298 test x"$enable_c_mbchar" != xno; then
94300 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
94301 # numeric_limits can instantiate type_traits<wchar_t>
94302 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
94303 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
94304 cat >conftest.$ac_ext <<_ACEOF
94305 /* confdefs.h. */
94306 _ACEOF
94307 cat confdefs.h >>conftest.$ac_ext
94308 cat >>conftest.$ac_ext <<_ACEOF
94309 /* end confdefs.h. */
94310 #include <wchar.h>
94312 main ()
94314 int i = WCHAR_MIN; int j = WCHAR_MAX;
94316 return 0;
94318 _ACEOF
94319 rm -f conftest.$ac_objext
94320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94321 (eval $ac_compile) 2>conftest.er1
94322 ac_status=$?
94323 grep -v '^ *+' conftest.er1 >conftest.err
94324 rm -f conftest.er1
94325 cat conftest.err >&5
94326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94327 (exit $ac_status); } &&
94328 { ac_try='test -z "$ac_c_werror_flag"
94329 || test ! -s conftest.err'
94330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94331 (eval $ac_try) 2>&5
94332 ac_status=$?
94333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94334 (exit $ac_status); }; } &&
94335 { ac_try='test -s conftest.$ac_objext'
94336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94337 (eval $ac_try) 2>&5
94338 ac_status=$?
94339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94340 (exit $ac_status); }; }; then
94341 has_wchar_minmax=yes
94342 else
94343 echo "$as_me: failed program was:" >&5
94344 sed 's/^/| /' conftest.$ac_ext >&5
94346 has_wchar_minmax=no
94348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94349 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
94350 echo "${ECHO_T}$has_wchar_minmax" >&6
94352 # Test wchar.h for WEOF, which is what we use to determine whether
94353 # to specialize for char_traits<wchar_t> or not.
94354 echo "$as_me:$LINENO: checking for WEOF" >&5
94355 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
94356 cat >conftest.$ac_ext <<_ACEOF
94357 /* confdefs.h. */
94358 _ACEOF
94359 cat confdefs.h >>conftest.$ac_ext
94360 cat >>conftest.$ac_ext <<_ACEOF
94361 /* end confdefs.h. */
94363 #include <wchar.h>
94364 #include <stddef.h>
94366 main ()
94368 wint_t i = WEOF;
94370 return 0;
94372 _ACEOF
94373 rm -f conftest.$ac_objext
94374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94375 (eval $ac_compile) 2>conftest.er1
94376 ac_status=$?
94377 grep -v '^ *+' conftest.er1 >conftest.err
94378 rm -f conftest.er1
94379 cat conftest.err >&5
94380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94381 (exit $ac_status); } &&
94382 { ac_try='test -z "$ac_c_werror_flag"
94383 || test ! -s conftest.err'
94384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94385 (eval $ac_try) 2>&5
94386 ac_status=$?
94387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94388 (exit $ac_status); }; } &&
94389 { ac_try='test -s conftest.$ac_objext'
94390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94391 (eval $ac_try) 2>&5
94392 ac_status=$?
94393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94394 (exit $ac_status); }; }; then
94395 has_weof=yes
94396 else
94397 echo "$as_me: failed program was:" >&5
94398 sed 's/^/| /' conftest.$ac_ext >&5
94400 has_weof=no
94402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94403 echo "$as_me:$LINENO: result: $has_weof" >&5
94404 echo "${ECHO_T}$has_weof" >&6
94406 # Tests for wide character functions used in char_traits<wchar_t>.
94407 ac_wfuncs=yes
94414 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
94416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94417 echo "$as_me:$LINENO: checking for $ac_func" >&5
94418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94419 if eval "test \"\${$as_ac_var+set}\" = set"; then
94420 echo $ECHO_N "(cached) $ECHO_C" >&6
94421 else
94422 if test x$gcc_no_link = xyes; then
94423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94425 { (exit 1); exit 1; }; }
94427 cat >conftest.$ac_ext <<_ACEOF
94428 /* confdefs.h. */
94429 _ACEOF
94430 cat confdefs.h >>conftest.$ac_ext
94431 cat >>conftest.$ac_ext <<_ACEOF
94432 /* end confdefs.h. */
94433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94435 #define $ac_func innocuous_$ac_func
94437 /* System header to define __stub macros and hopefully few prototypes,
94438 which can conflict with char $ac_func (); below.
94439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94440 <limits.h> exists even on freestanding compilers. */
94442 #ifdef __STDC__
94443 # include <limits.h>
94444 #else
94445 # include <assert.h>
94446 #endif
94448 #undef $ac_func
94450 /* Override any gcc2 internal prototype to avoid an error. */
94451 #ifdef __cplusplus
94452 extern "C"
94454 #endif
94455 /* We use char because int might match the return type of a gcc2
94456 builtin and then its argument prototype would still apply. */
94457 char $ac_func ();
94458 /* The GNU C library defines this for functions which it implements
94459 to always fail with ENOSYS. Some functions are actually named
94460 something starting with __ and the normal name is an alias. */
94461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94462 choke me
94463 #else
94464 char (*f) () = $ac_func;
94465 #endif
94466 #ifdef __cplusplus
94468 #endif
94471 main ()
94473 return f != $ac_func;
94475 return 0;
94477 _ACEOF
94478 rm -f conftest.$ac_objext conftest$ac_exeext
94479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94480 (eval $ac_link) 2>conftest.er1
94481 ac_status=$?
94482 grep -v '^ *+' conftest.er1 >conftest.err
94483 rm -f conftest.er1
94484 cat conftest.err >&5
94485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94486 (exit $ac_status); } &&
94487 { ac_try='test -z "$ac_c_werror_flag"
94488 || test ! -s conftest.err'
94489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94490 (eval $ac_try) 2>&5
94491 ac_status=$?
94492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94493 (exit $ac_status); }; } &&
94494 { ac_try='test -s conftest$ac_exeext'
94495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94496 (eval $ac_try) 2>&5
94497 ac_status=$?
94498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94499 (exit $ac_status); }; }; then
94500 eval "$as_ac_var=yes"
94501 else
94502 echo "$as_me: failed program was:" >&5
94503 sed 's/^/| /' conftest.$ac_ext >&5
94505 eval "$as_ac_var=no"
94507 rm -f conftest.err conftest.$ac_objext \
94508 conftest$ac_exeext conftest.$ac_ext
94510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94512 if test `eval echo '${'$as_ac_var'}'` = yes; then
94513 cat >>confdefs.h <<_ACEOF
94514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94515 _ACEOF
94517 else
94518 ac_wfuncs=no
94520 done
94523 # Checks for names injected into std:: by the c_std headers.
94570 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
94571 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
94572 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
94573 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
94574 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
94575 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
94577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94578 echo "$as_me:$LINENO: checking for $ac_func" >&5
94579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94580 if eval "test \"\${$as_ac_var+set}\" = set"; then
94581 echo $ECHO_N "(cached) $ECHO_C" >&6
94582 else
94583 if test x$gcc_no_link = xyes; then
94584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94586 { (exit 1); exit 1; }; }
94588 cat >conftest.$ac_ext <<_ACEOF
94589 /* confdefs.h. */
94590 _ACEOF
94591 cat confdefs.h >>conftest.$ac_ext
94592 cat >>conftest.$ac_ext <<_ACEOF
94593 /* end confdefs.h. */
94594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94596 #define $ac_func innocuous_$ac_func
94598 /* System header to define __stub macros and hopefully few prototypes,
94599 which can conflict with char $ac_func (); below.
94600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94601 <limits.h> exists even on freestanding compilers. */
94603 #ifdef __STDC__
94604 # include <limits.h>
94605 #else
94606 # include <assert.h>
94607 #endif
94609 #undef $ac_func
94611 /* Override any gcc2 internal prototype to avoid an error. */
94612 #ifdef __cplusplus
94613 extern "C"
94615 #endif
94616 /* We use char because int might match the return type of a gcc2
94617 builtin and then its argument prototype would still apply. */
94618 char $ac_func ();
94619 /* The GNU C library defines this for functions which it implements
94620 to always fail with ENOSYS. Some functions are actually named
94621 something starting with __ and the normal name is an alias. */
94622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94623 choke me
94624 #else
94625 char (*f) () = $ac_func;
94626 #endif
94627 #ifdef __cplusplus
94629 #endif
94632 main ()
94634 return f != $ac_func;
94636 return 0;
94638 _ACEOF
94639 rm -f conftest.$ac_objext conftest$ac_exeext
94640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94641 (eval $ac_link) 2>conftest.er1
94642 ac_status=$?
94643 grep -v '^ *+' conftest.er1 >conftest.err
94644 rm -f conftest.er1
94645 cat conftest.err >&5
94646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94647 (exit $ac_status); } &&
94648 { ac_try='test -z "$ac_c_werror_flag"
94649 || test ! -s conftest.err'
94650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94651 (eval $ac_try) 2>&5
94652 ac_status=$?
94653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94654 (exit $ac_status); }; } &&
94655 { ac_try='test -s conftest$ac_exeext'
94656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94657 (eval $ac_try) 2>&5
94658 ac_status=$?
94659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94660 (exit $ac_status); }; }; then
94661 eval "$as_ac_var=yes"
94662 else
94663 echo "$as_me: failed program was:" >&5
94664 sed 's/^/| /' conftest.$ac_ext >&5
94666 eval "$as_ac_var=no"
94668 rm -f conftest.err conftest.$ac_objext \
94669 conftest$ac_exeext conftest.$ac_ext
94671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94673 if test `eval echo '${'$as_ac_var'}'` = yes; then
94674 cat >>confdefs.h <<_ACEOF
94675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94676 _ACEOF
94678 else
94679 ac_wfuncs=no
94681 done
94684 # Checks for wide character functions that are not required
94685 # for basic wchar_t support. Don't disable support if they are missing.
94686 # Injection of these is wrapped with guard macros.
94692 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
94694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94695 echo "$as_me:$LINENO: checking for $ac_func" >&5
94696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94697 if eval "test \"\${$as_ac_var+set}\" = set"; then
94698 echo $ECHO_N "(cached) $ECHO_C" >&6
94699 else
94700 if test x$gcc_no_link = xyes; then
94701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94703 { (exit 1); exit 1; }; }
94705 cat >conftest.$ac_ext <<_ACEOF
94706 /* confdefs.h. */
94707 _ACEOF
94708 cat confdefs.h >>conftest.$ac_ext
94709 cat >>conftest.$ac_ext <<_ACEOF
94710 /* end confdefs.h. */
94711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94713 #define $ac_func innocuous_$ac_func
94715 /* System header to define __stub macros and hopefully few prototypes,
94716 which can conflict with char $ac_func (); below.
94717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94718 <limits.h> exists even on freestanding compilers. */
94720 #ifdef __STDC__
94721 # include <limits.h>
94722 #else
94723 # include <assert.h>
94724 #endif
94726 #undef $ac_func
94728 /* Override any gcc2 internal prototype to avoid an error. */
94729 #ifdef __cplusplus
94730 extern "C"
94732 #endif
94733 /* We use char because int might match the return type of a gcc2
94734 builtin and then its argument prototype would still apply. */
94735 char $ac_func ();
94736 /* The GNU C library defines this for functions which it implements
94737 to always fail with ENOSYS. Some functions are actually named
94738 something starting with __ and the normal name is an alias. */
94739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94740 choke me
94741 #else
94742 char (*f) () = $ac_func;
94743 #endif
94744 #ifdef __cplusplus
94746 #endif
94749 main ()
94751 return f != $ac_func;
94753 return 0;
94755 _ACEOF
94756 rm -f conftest.$ac_objext conftest$ac_exeext
94757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94758 (eval $ac_link) 2>conftest.er1
94759 ac_status=$?
94760 grep -v '^ *+' conftest.er1 >conftest.err
94761 rm -f conftest.er1
94762 cat conftest.err >&5
94763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94764 (exit $ac_status); } &&
94765 { ac_try='test -z "$ac_c_werror_flag"
94766 || test ! -s conftest.err'
94767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94768 (eval $ac_try) 2>&5
94769 ac_status=$?
94770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94771 (exit $ac_status); }; } &&
94772 { ac_try='test -s conftest$ac_exeext'
94773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94774 (eval $ac_try) 2>&5
94775 ac_status=$?
94776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94777 (exit $ac_status); }; }; then
94778 eval "$as_ac_var=yes"
94779 else
94780 echo "$as_me: failed program was:" >&5
94781 sed 's/^/| /' conftest.$ac_ext >&5
94783 eval "$as_ac_var=no"
94785 rm -f conftest.err conftest.$ac_objext \
94786 conftest$ac_exeext conftest.$ac_ext
94788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94790 if test `eval echo '${'$as_ac_var'}'` = yes; then
94791 cat >>confdefs.h <<_ACEOF
94792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94793 _ACEOF
94796 done
94799 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
94800 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
94801 if test x"$has_weof" = xyes &&
94802 test x"$has_wchar_minmax" = xyes &&
94803 test x"$ac_wfuncs" = xyes;
94804 then
94805 ac_isoC99_wchar_t=yes
94806 else
94807 ac_isoC99_wchar_t=no
94809 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
94810 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
94812 # Use iconv for wchar_t to char conversions. As such, check for
94813 # X/Open Portability Guide, version 2 features (XPG2).
94814 if test "${ac_cv_header_iconv_h+set}" = set; then
94815 echo "$as_me:$LINENO: checking for iconv.h" >&5
94816 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
94817 if test "${ac_cv_header_iconv_h+set}" = set; then
94818 echo $ECHO_N "(cached) $ECHO_C" >&6
94820 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
94821 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
94822 else
94823 # Is the header compilable?
94824 echo "$as_me:$LINENO: checking iconv.h usability" >&5
94825 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
94826 cat >conftest.$ac_ext <<_ACEOF
94827 /* confdefs.h. */
94828 _ACEOF
94829 cat confdefs.h >>conftest.$ac_ext
94830 cat >>conftest.$ac_ext <<_ACEOF
94831 /* end confdefs.h. */
94832 $ac_includes_default
94833 #include <iconv.h>
94834 _ACEOF
94835 rm -f conftest.$ac_objext
94836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94837 (eval $ac_compile) 2>conftest.er1
94838 ac_status=$?
94839 grep -v '^ *+' conftest.er1 >conftest.err
94840 rm -f conftest.er1
94841 cat conftest.err >&5
94842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94843 (exit $ac_status); } &&
94844 { ac_try='test -z "$ac_c_werror_flag"
94845 || test ! -s conftest.err'
94846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94847 (eval $ac_try) 2>&5
94848 ac_status=$?
94849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94850 (exit $ac_status); }; } &&
94851 { ac_try='test -s conftest.$ac_objext'
94852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94853 (eval $ac_try) 2>&5
94854 ac_status=$?
94855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94856 (exit $ac_status); }; }; then
94857 ac_header_compiler=yes
94858 else
94859 echo "$as_me: failed program was:" >&5
94860 sed 's/^/| /' conftest.$ac_ext >&5
94862 ac_header_compiler=no
94864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94865 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
94866 echo "${ECHO_T}$ac_header_compiler" >&6
94868 # Is the header present?
94869 echo "$as_me:$LINENO: checking iconv.h presence" >&5
94870 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
94871 cat >conftest.$ac_ext <<_ACEOF
94872 /* confdefs.h. */
94873 _ACEOF
94874 cat confdefs.h >>conftest.$ac_ext
94875 cat >>conftest.$ac_ext <<_ACEOF
94876 /* end confdefs.h. */
94877 #include <iconv.h>
94878 _ACEOF
94879 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94880 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94881 ac_status=$?
94882 grep -v '^ *+' conftest.er1 >conftest.err
94883 rm -f conftest.er1
94884 cat conftest.err >&5
94885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94886 (exit $ac_status); } >/dev/null; then
94887 if test -s conftest.err; then
94888 ac_cpp_err=$ac_c_preproc_warn_flag
94889 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94890 else
94891 ac_cpp_err=
94893 else
94894 ac_cpp_err=yes
94896 if test -z "$ac_cpp_err"; then
94897 ac_header_preproc=yes
94898 else
94899 echo "$as_me: failed program was:" >&5
94900 sed 's/^/| /' conftest.$ac_ext >&5
94902 ac_header_preproc=no
94904 rm -f conftest.err conftest.$ac_ext
94905 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
94906 echo "${ECHO_T}$ac_header_preproc" >&6
94908 # So? What about this header?
94909 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
94910 yes:no: )
94911 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
94912 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
94913 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
94914 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
94915 ac_header_preproc=yes
94917 no:yes:* )
94918 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
94919 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
94920 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
94921 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
94922 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
94923 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
94924 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
94925 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
94926 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
94927 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
94928 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
94929 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
94931 cat <<\_ASBOX
94932 ## ----------------------------------------- ##
94933 ## Report this to the package-unused lists. ##
94934 ## ----------------------------------------- ##
94935 _ASBOX
94937 sed "s/^/$as_me: WARNING: /" >&2
94939 esac
94940 echo "$as_me:$LINENO: checking for iconv.h" >&5
94941 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
94942 if test "${ac_cv_header_iconv_h+set}" = set; then
94943 echo $ECHO_N "(cached) $ECHO_C" >&6
94944 else
94945 ac_cv_header_iconv_h=$ac_header_preproc
94947 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
94948 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
94951 if test $ac_cv_header_iconv_h = yes; then
94952 ac_has_iconv_h=yes
94953 else
94954 ac_has_iconv_h=no
94958 if test "${ac_cv_header_langinfo_h+set}" = set; then
94959 echo "$as_me:$LINENO: checking for langinfo.h" >&5
94960 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
94961 if test "${ac_cv_header_langinfo_h+set}" = set; then
94962 echo $ECHO_N "(cached) $ECHO_C" >&6
94964 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
94965 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
94966 else
94967 # Is the header compilable?
94968 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
94969 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
94970 cat >conftest.$ac_ext <<_ACEOF
94971 /* confdefs.h. */
94972 _ACEOF
94973 cat confdefs.h >>conftest.$ac_ext
94974 cat >>conftest.$ac_ext <<_ACEOF
94975 /* end confdefs.h. */
94976 $ac_includes_default
94977 #include <langinfo.h>
94978 _ACEOF
94979 rm -f conftest.$ac_objext
94980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94981 (eval $ac_compile) 2>conftest.er1
94982 ac_status=$?
94983 grep -v '^ *+' conftest.er1 >conftest.err
94984 rm -f conftest.er1
94985 cat conftest.err >&5
94986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94987 (exit $ac_status); } &&
94988 { ac_try='test -z "$ac_c_werror_flag"
94989 || test ! -s conftest.err'
94990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94991 (eval $ac_try) 2>&5
94992 ac_status=$?
94993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94994 (exit $ac_status); }; } &&
94995 { ac_try='test -s conftest.$ac_objext'
94996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94997 (eval $ac_try) 2>&5
94998 ac_status=$?
94999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95000 (exit $ac_status); }; }; then
95001 ac_header_compiler=yes
95002 else
95003 echo "$as_me: failed program was:" >&5
95004 sed 's/^/| /' conftest.$ac_ext >&5
95006 ac_header_compiler=no
95008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95009 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
95010 echo "${ECHO_T}$ac_header_compiler" >&6
95012 # Is the header present?
95013 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
95014 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
95015 cat >conftest.$ac_ext <<_ACEOF
95016 /* confdefs.h. */
95017 _ACEOF
95018 cat confdefs.h >>conftest.$ac_ext
95019 cat >>conftest.$ac_ext <<_ACEOF
95020 /* end confdefs.h. */
95021 #include <langinfo.h>
95022 _ACEOF
95023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
95024 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
95025 ac_status=$?
95026 grep -v '^ *+' conftest.er1 >conftest.err
95027 rm -f conftest.er1
95028 cat conftest.err >&5
95029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95030 (exit $ac_status); } >/dev/null; then
95031 if test -s conftest.err; then
95032 ac_cpp_err=$ac_c_preproc_warn_flag
95033 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
95034 else
95035 ac_cpp_err=
95037 else
95038 ac_cpp_err=yes
95040 if test -z "$ac_cpp_err"; then
95041 ac_header_preproc=yes
95042 else
95043 echo "$as_me: failed program was:" >&5
95044 sed 's/^/| /' conftest.$ac_ext >&5
95046 ac_header_preproc=no
95048 rm -f conftest.err conftest.$ac_ext
95049 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
95050 echo "${ECHO_T}$ac_header_preproc" >&6
95052 # So? What about this header?
95053 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
95054 yes:no: )
95055 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
95056 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
95057 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
95058 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
95059 ac_header_preproc=yes
95061 no:yes:* )
95062 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
95063 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
95064 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
95065 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
95066 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
95067 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
95068 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
95069 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
95070 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
95071 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
95072 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
95073 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
95075 cat <<\_ASBOX
95076 ## ----------------------------------------- ##
95077 ## Report this to the package-unused lists. ##
95078 ## ----------------------------------------- ##
95079 _ASBOX
95081 sed "s/^/$as_me: WARNING: /" >&2
95083 esac
95084 echo "$as_me:$LINENO: checking for langinfo.h" >&5
95085 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
95086 if test "${ac_cv_header_langinfo_h+set}" = set; then
95087 echo $ECHO_N "(cached) $ECHO_C" >&6
95088 else
95089 ac_cv_header_langinfo_h=$ac_header_preproc
95091 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
95092 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
95095 if test $ac_cv_header_langinfo_h = yes; then
95096 ac_has_langinfo_h=yes
95097 else
95098 ac_has_langinfo_h=no
95103 # Check for existence of libiconv.a providing XPG2 wchar_t support.
95104 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
95105 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
95106 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
95107 echo $ECHO_N "(cached) $ECHO_C" >&6
95108 else
95109 ac_check_lib_save_LIBS=$LIBS
95110 LIBS="-liconv $LIBS"
95111 if test x$gcc_no_link = xyes; then
95112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95114 { (exit 1); exit 1; }; }
95116 cat >conftest.$ac_ext <<_ACEOF
95117 /* confdefs.h. */
95118 _ACEOF
95119 cat confdefs.h >>conftest.$ac_ext
95120 cat >>conftest.$ac_ext <<_ACEOF
95121 /* end confdefs.h. */
95123 /* Override any gcc2 internal prototype to avoid an error. */
95124 #ifdef __cplusplus
95125 extern "C"
95126 #endif
95127 /* We use char because int might match the return type of a gcc2
95128 builtin and then its argument prototype would still apply. */
95129 char iconv ();
95131 main ()
95133 iconv ();
95135 return 0;
95137 _ACEOF
95138 rm -f conftest.$ac_objext conftest$ac_exeext
95139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95140 (eval $ac_link) 2>conftest.er1
95141 ac_status=$?
95142 grep -v '^ *+' conftest.er1 >conftest.err
95143 rm -f conftest.er1
95144 cat conftest.err >&5
95145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95146 (exit $ac_status); } &&
95147 { ac_try='test -z "$ac_c_werror_flag"
95148 || test ! -s conftest.err'
95149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95150 (eval $ac_try) 2>&5
95151 ac_status=$?
95152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95153 (exit $ac_status); }; } &&
95154 { ac_try='test -s conftest$ac_exeext'
95155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95156 (eval $ac_try) 2>&5
95157 ac_status=$?
95158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95159 (exit $ac_status); }; }; then
95160 ac_cv_lib_iconv_iconv=yes
95161 else
95162 echo "$as_me: failed program was:" >&5
95163 sed 's/^/| /' conftest.$ac_ext >&5
95165 ac_cv_lib_iconv_iconv=no
95167 rm -f conftest.err conftest.$ac_objext \
95168 conftest$ac_exeext conftest.$ac_ext
95169 LIBS=$ac_check_lib_save_LIBS
95171 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
95172 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
95173 if test $ac_cv_lib_iconv_iconv = yes; then
95174 LIBICONV="-liconv"
95177 ac_save_LIBS="$LIBS"
95178 LIBS="$LIBS $LIBICONV"
95185 for ac_func in iconv_open iconv_close iconv nl_langinfo
95187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95188 echo "$as_me:$LINENO: checking for $ac_func" >&5
95189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95190 if eval "test \"\${$as_ac_var+set}\" = set"; then
95191 echo $ECHO_N "(cached) $ECHO_C" >&6
95192 else
95193 if test x$gcc_no_link = xyes; then
95194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95196 { (exit 1); exit 1; }; }
95198 cat >conftest.$ac_ext <<_ACEOF
95199 /* confdefs.h. */
95200 _ACEOF
95201 cat confdefs.h >>conftest.$ac_ext
95202 cat >>conftest.$ac_ext <<_ACEOF
95203 /* end confdefs.h. */
95204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95206 #define $ac_func innocuous_$ac_func
95208 /* System header to define __stub macros and hopefully few prototypes,
95209 which can conflict with char $ac_func (); below.
95210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95211 <limits.h> exists even on freestanding compilers. */
95213 #ifdef __STDC__
95214 # include <limits.h>
95215 #else
95216 # include <assert.h>
95217 #endif
95219 #undef $ac_func
95221 /* Override any gcc2 internal prototype to avoid an error. */
95222 #ifdef __cplusplus
95223 extern "C"
95225 #endif
95226 /* We use char because int might match the return type of a gcc2
95227 builtin and then its argument prototype would still apply. */
95228 char $ac_func ();
95229 /* The GNU C library defines this for functions which it implements
95230 to always fail with ENOSYS. Some functions are actually named
95231 something starting with __ and the normal name is an alias. */
95232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95233 choke me
95234 #else
95235 char (*f) () = $ac_func;
95236 #endif
95237 #ifdef __cplusplus
95239 #endif
95242 main ()
95244 return f != $ac_func;
95246 return 0;
95248 _ACEOF
95249 rm -f conftest.$ac_objext conftest$ac_exeext
95250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95251 (eval $ac_link) 2>conftest.er1
95252 ac_status=$?
95253 grep -v '^ *+' conftest.er1 >conftest.err
95254 rm -f conftest.er1
95255 cat conftest.err >&5
95256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95257 (exit $ac_status); } &&
95258 { ac_try='test -z "$ac_c_werror_flag"
95259 || test ! -s conftest.err'
95260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95261 (eval $ac_try) 2>&5
95262 ac_status=$?
95263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95264 (exit $ac_status); }; } &&
95265 { ac_try='test -s conftest$ac_exeext'
95266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95267 (eval $ac_try) 2>&5
95268 ac_status=$?
95269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95270 (exit $ac_status); }; }; then
95271 eval "$as_ac_var=yes"
95272 else
95273 echo "$as_me: failed program was:" >&5
95274 sed 's/^/| /' conftest.$ac_ext >&5
95276 eval "$as_ac_var=no"
95278 rm -f conftest.err conftest.$ac_objext \
95279 conftest$ac_exeext conftest.$ac_ext
95281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95283 if test `eval echo '${'$as_ac_var'}'` = yes; then
95284 cat >>confdefs.h <<_ACEOF
95285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95286 _ACEOF
95287 ac_XPG2funcs=yes
95288 else
95289 ac_XPG2funcs=no
95291 done
95294 LIBS="$ac_save_LIBS"
95296 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
95297 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
95298 if test x"$ac_has_iconv_h" = xyes &&
95299 test x"$ac_has_langinfo_h" = xyes &&
95300 test x"$ac_XPG2funcs" = xyes;
95301 then
95302 ac_XPG2_wchar_t=yes
95303 else
95304 ac_XPG2_wchar_t=no
95306 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
95307 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
95309 # At the moment, only enable wchar_t specializations if all the
95310 # above support is present.
95311 if test x"$ac_isoC99_wchar_t" = xyes &&
95312 test x"$ac_XPG2_wchar_t" = xyes;
95313 then
95314 cat >>confdefs.h <<\_ACEOF
95315 #define _GLIBCXX_USE_WCHAR_T 1
95316 _ACEOF
95318 enable_wchar_t=yes
95321 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
95322 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
95323 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
95324 echo "${ECHO_T}$enable_wchar_t" >&6
95326 # All of the dependencies for wide character support are here, so
95327 # turn it on. This requires some syncronization with the
95328 # GLIBCXX_CHECK_WCHAR_T_SUPPORT in acinclude.m4
95329 cat >>confdefs.h <<\_ACEOF
95330 #define _GLIBCXX_USE_WCHAR_T 1
95331 _ACEOF
95333 # Are these tested for even when cross?
95334 cat >>confdefs.h <<\_ACEOF
95335 #define HAVE_FLOAT_H 1
95336 _ACEOF
95338 cat >>confdefs.h <<\_ACEOF
95339 #define HAVE_IEEEFP_H 1
95340 _ACEOF
95342 cat >>confdefs.h <<\_ACEOF
95343 #define HAVE_INTTYPES_H 1
95344 _ACEOF
95346 cat >>confdefs.h <<\_ACEOF
95347 #define HAVE_LOCALE_H 1
95348 _ACEOF
95350 cat >>confdefs.h <<\_ACEOF
95351 #define HAVE_NAN_H 1
95352 _ACEOF
95354 cat >>confdefs.h <<\_ACEOF
95355 #define HAVE_SYS_FILIO_H 1
95356 _ACEOF
95358 cat >>confdefs.h <<\_ACEOF
95359 #define HAVE_SYS_IOCTL_H 1
95360 _ACEOF
95362 cat >>confdefs.h <<\_ACEOF
95363 #define HAVE_SYS_ISA_DEFS_H 1
95364 _ACEOF
95366 cat >>confdefs.h <<\_ACEOF
95367 #define HAVE_SYS_RESOURCE_H 1
95368 _ACEOF
95370 cat >>confdefs.h <<\_ACEOF
95371 #define HAVE_SYS_TIME_H 1
95372 _ACEOF
95374 cat >>confdefs.h <<\_ACEOF
95375 #define HAVE_SYS_TYPES_H 1
95376 _ACEOF
95378 cat >>confdefs.h <<\_ACEOF
95379 #define HAVE_UNISTD_H 1
95380 _ACEOF
95382 cat >>confdefs.h <<\_ACEOF
95383 #define HAVE_WCHAR_H 1
95384 _ACEOF
95386 cat >>confdefs.h <<\_ACEOF
95387 #define HAVE_WCTYPE_H 1
95388 _ACEOF
95390 cat >>confdefs.h <<\_ACEOF
95391 #define HAVE_LIBM 1
95392 _ACEOF
95395 esac
95396 case "$target" in
95397 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
95398 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
95399 cat >>confdefs.h <<\_ACEOF
95400 #define HAVE___BUILTIN_ABS 1
95401 _ACEOF
95403 cat >>confdefs.h <<\_ACEOF
95404 #define HAVE___BUILTIN_LABS 1
95405 _ACEOF
95407 cat >>confdefs.h <<\_ACEOF
95408 #define HAVE___BUILTIN_FABS 1
95409 _ACEOF
95411 cat >>confdefs.h <<\_ACEOF
95412 #define HAVE___BUILTIN_FABSF 1
95413 _ACEOF
95415 cat >>confdefs.h <<\_ACEOF
95416 #define HAVE___BUILTIN_FABSL 1
95417 _ACEOF
95419 cat >>confdefs.h <<\_ACEOF
95420 #define HAVE___BUILTIN_COS 1
95421 _ACEOF
95423 cat >>confdefs.h <<\_ACEOF
95424 #define HAVE___BUILTIN_COSF 1
95425 _ACEOF
95427 cat >>confdefs.h <<\_ACEOF
95428 #define HAVE___BUILTIN_SIN 1
95429 _ACEOF
95431 cat >>confdefs.h <<\_ACEOF
95432 #define HAVE___BUILTIN_SINF 1
95433 _ACEOF
95436 esac
95437 case "$target" in
95438 *-*-solaris2.10)
95439 # These two C99 functions are present only in Solaris >= 10
95440 cat >>confdefs.h <<\_ACEOF
95441 #define HAVE_STRTOF 1
95442 _ACEOF
95444 cat >>confdefs.h <<\_ACEOF
95445 #define HAVE_STRTOLD 1
95446 _ACEOF
95449 esac
95450 cat >>confdefs.h <<\_ACEOF
95451 #define HAVE_MMAP 1
95452 _ACEOF
95454 cat >>confdefs.h <<\_ACEOF
95455 #define HAVE_COPYSIGN 1
95456 _ACEOF
95458 cat >>confdefs.h <<\_ACEOF
95459 #define HAVE_ISNAN 1
95460 _ACEOF
95462 cat >>confdefs.h <<\_ACEOF
95463 #define HAVE_ISNANF 1
95464 _ACEOF
95466 cat >>confdefs.h <<\_ACEOF
95467 #define HAVE_MODFF 1
95468 _ACEOF
95470 cat >>confdefs.h <<\_ACEOF
95471 #define HAVE_HYPOT 1
95472 _ACEOF
95475 *-tpf)
95484 for ac_header in nan.h endian.h machine/endian.h \
95485 sys/param.h sys/types.h locale.h float.h inttypes.h
95487 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
95488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
95489 echo "$as_me:$LINENO: checking for $ac_header" >&5
95490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
95491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
95492 echo $ECHO_N "(cached) $ECHO_C" >&6
95494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
95495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
95496 else
95497 # Is the header compilable?
95498 echo "$as_me:$LINENO: checking $ac_header usability" >&5
95499 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
95500 cat >conftest.$ac_ext <<_ACEOF
95501 /* confdefs.h. */
95502 _ACEOF
95503 cat confdefs.h >>conftest.$ac_ext
95504 cat >>conftest.$ac_ext <<_ACEOF
95505 /* end confdefs.h. */
95506 $ac_includes_default
95507 #include <$ac_header>
95508 _ACEOF
95509 rm -f conftest.$ac_objext
95510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95511 (eval $ac_compile) 2>conftest.er1
95512 ac_status=$?
95513 grep -v '^ *+' conftest.er1 >conftest.err
95514 rm -f conftest.er1
95515 cat conftest.err >&5
95516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95517 (exit $ac_status); } &&
95518 { ac_try='test -z "$ac_c_werror_flag"
95519 || test ! -s conftest.err'
95520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95521 (eval $ac_try) 2>&5
95522 ac_status=$?
95523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95524 (exit $ac_status); }; } &&
95525 { ac_try='test -s conftest.$ac_objext'
95526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95527 (eval $ac_try) 2>&5
95528 ac_status=$?
95529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95530 (exit $ac_status); }; }; then
95531 ac_header_compiler=yes
95532 else
95533 echo "$as_me: failed program was:" >&5
95534 sed 's/^/| /' conftest.$ac_ext >&5
95536 ac_header_compiler=no
95538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95539 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
95540 echo "${ECHO_T}$ac_header_compiler" >&6
95542 # Is the header present?
95543 echo "$as_me:$LINENO: checking $ac_header presence" >&5
95544 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
95545 cat >conftest.$ac_ext <<_ACEOF
95546 /* confdefs.h. */
95547 _ACEOF
95548 cat confdefs.h >>conftest.$ac_ext
95549 cat >>conftest.$ac_ext <<_ACEOF
95550 /* end confdefs.h. */
95551 #include <$ac_header>
95552 _ACEOF
95553 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
95554 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
95555 ac_status=$?
95556 grep -v '^ *+' conftest.er1 >conftest.err
95557 rm -f conftest.er1
95558 cat conftest.err >&5
95559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95560 (exit $ac_status); } >/dev/null; then
95561 if test -s conftest.err; then
95562 ac_cpp_err=$ac_c_preproc_warn_flag
95563 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
95564 else
95565 ac_cpp_err=
95567 else
95568 ac_cpp_err=yes
95570 if test -z "$ac_cpp_err"; then
95571 ac_header_preproc=yes
95572 else
95573 echo "$as_me: failed program was:" >&5
95574 sed 's/^/| /' conftest.$ac_ext >&5
95576 ac_header_preproc=no
95578 rm -f conftest.err conftest.$ac_ext
95579 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
95580 echo "${ECHO_T}$ac_header_preproc" >&6
95582 # So? What about this header?
95583 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
95584 yes:no: )
95585 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
95586 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
95587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
95588 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
95589 ac_header_preproc=yes
95591 no:yes:* )
95592 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
95593 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
95594 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
95595 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
95596 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
95597 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
95598 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
95599 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
95600 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
95601 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
95602 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
95603 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
95605 cat <<\_ASBOX
95606 ## ----------------------------------------- ##
95607 ## Report this to the package-unused lists. ##
95608 ## ----------------------------------------- ##
95609 _ASBOX
95611 sed "s/^/$as_me: WARNING: /" >&2
95613 esac
95614 echo "$as_me:$LINENO: checking for $ac_header" >&5
95615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
95616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
95617 echo $ECHO_N "(cached) $ECHO_C" >&6
95618 else
95619 eval "$as_ac_Header=\$ac_header_preproc"
95621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
95622 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
95625 if test `eval echo '${'$as_ac_Header'}'` = yes; then
95626 cat >>confdefs.h <<_ACEOF
95627 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
95628 _ACEOF
95632 done
95634 SECTION_FLAGS='-ffunction-sections -fdata-sections'
95637 # If we're not using GNU ld, then there's no point in even trying these
95638 # tests. Check for that first. We should have already tested for gld
95639 # by now (in libtool), but require it now just to be safe...
95640 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
95641 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
95645 # The name set by libtool depends on the version of libtool. Shame on us
95646 # for depending on an impl detail, but c'est la vie. Older versions used
95647 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
95648 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
95649 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
95650 # set (hence we're using an older libtool), then set it.
95651 if test x${with_gnu_ld+set} != xset; then
95652 if test x${ac_cv_prog_gnu_ld+set} != xset; then
95653 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
95654 with_gnu_ld=no
95655 else
95656 with_gnu_ld=$ac_cv_prog_gnu_ld
95660 # Start by getting the version number. I think the libtool test already
95661 # does some of this, but throws away the result.
95663 ldver=`$LD --version 2>/dev/null | head -1 | \
95664 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
95666 glibcxx_gnu_ld_version=`echo $ldver | \
95667 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
95669 # Set --gc-sections.
95670 if test "$with_gnu_ld" = "notbroken"; then
95671 # GNU ld it is! Joy and bunny rabbits!
95673 # All these tests are for C++; save the language and the compiler flags.
95674 # Need to do this so that g++ won't try to link in libstdc++
95675 ac_test_CFLAGS="${CFLAGS+set}"
95676 ac_save_CFLAGS="$CFLAGS"
95677 CFLAGS='-x c++ -Wl,--gc-sections'
95679 # Check for -Wl,--gc-sections
95680 # XXX This test is broken at the moment, as symbols required for linking
95681 # are now in libsupc++ (not built yet). In addition, this test has
95682 # cored on solaris in the past. In addition, --gc-sections doesn't
95683 # really work at the moment (keeps on discarding used sections, first
95684 # .eh_frame and now some of the glibc sections for iconv).
95685 # Bzzzzt. Thanks for playing, maybe next time.
95686 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
95687 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
95688 if test "$cross_compiling" = yes; then
95689 ac_sectionLDflags=yes
95690 else
95691 cat >conftest.$ac_ext <<_ACEOF
95692 /* confdefs.h. */
95693 _ACEOF
95694 cat confdefs.h >>conftest.$ac_ext
95695 cat >>conftest.$ac_ext <<_ACEOF
95696 /* end confdefs.h. */
95698 int main(void)
95700 try { throw 1; }
95701 catch (...) { };
95702 return 0;
95705 _ACEOF
95706 rm -f conftest$ac_exeext
95707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95708 (eval $ac_link) 2>&5
95709 ac_status=$?
95710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95711 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
95712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95713 (eval $ac_try) 2>&5
95714 ac_status=$?
95715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95716 (exit $ac_status); }; }; then
95717 ac_sectionLDflags=yes
95718 else
95719 echo "$as_me: program exited with status $ac_status" >&5
95720 echo "$as_me: failed program was:" >&5
95721 sed 's/^/| /' conftest.$ac_ext >&5
95723 ( exit $ac_status )
95724 ac_sectionLDflags=no
95726 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
95728 if test "$ac_test_CFLAGS" = set; then
95729 CFLAGS="$ac_save_CFLAGS"
95730 else
95731 # this is the suspicious part
95732 CFLAGS=''
95734 if test "$ac_sectionLDflags" = "yes"; then
95735 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
95737 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
95738 echo "${ECHO_T}$ac_sectionLDflags" >&6
95741 # Set linker optimization flags.
95742 if test x"$with_gnu_ld" = x"yes"; then
95743 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
95751 echo "$as_me:$LINENO: checking for main in -lm" >&5
95752 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
95753 if test "${ac_cv_lib_m_main+set}" = set; then
95754 echo $ECHO_N "(cached) $ECHO_C" >&6
95755 else
95756 ac_check_lib_save_LIBS=$LIBS
95757 LIBS="-lm $LIBS"
95758 if test x$gcc_no_link = xyes; then
95759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95761 { (exit 1); exit 1; }; }
95763 cat >conftest.$ac_ext <<_ACEOF
95764 /* confdefs.h. */
95765 _ACEOF
95766 cat confdefs.h >>conftest.$ac_ext
95767 cat >>conftest.$ac_ext <<_ACEOF
95768 /* end confdefs.h. */
95772 main ()
95774 main ();
95776 return 0;
95778 _ACEOF
95779 rm -f conftest.$ac_objext conftest$ac_exeext
95780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95781 (eval $ac_link) 2>conftest.er1
95782 ac_status=$?
95783 grep -v '^ *+' conftest.er1 >conftest.err
95784 rm -f conftest.er1
95785 cat conftest.err >&5
95786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95787 (exit $ac_status); } &&
95788 { ac_try='test -z "$ac_c_werror_flag"
95789 || test ! -s conftest.err'
95790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95791 (eval $ac_try) 2>&5
95792 ac_status=$?
95793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95794 (exit $ac_status); }; } &&
95795 { ac_try='test -s conftest$ac_exeext'
95796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95797 (eval $ac_try) 2>&5
95798 ac_status=$?
95799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95800 (exit $ac_status); }; }; then
95801 ac_cv_lib_m_main=yes
95802 else
95803 echo "$as_me: failed program was:" >&5
95804 sed 's/^/| /' conftest.$ac_ext >&5
95806 ac_cv_lib_m_main=no
95808 rm -f conftest.err conftest.$ac_objext \
95809 conftest$ac_exeext conftest.$ac_ext
95810 LIBS=$ac_check_lib_save_LIBS
95812 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
95813 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
95814 if test $ac_cv_lib_m_main = yes; then
95815 cat >>confdefs.h <<_ACEOF
95816 #define HAVE_LIBM 1
95817 _ACEOF
95819 LIBS="-lm $LIBS"
95824 for ac_func in copysignf
95826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95827 echo "$as_me:$LINENO: checking for $ac_func" >&5
95828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95829 if eval "test \"\${$as_ac_var+set}\" = set"; then
95830 echo $ECHO_N "(cached) $ECHO_C" >&6
95831 else
95832 if test x$gcc_no_link = xyes; then
95833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95835 { (exit 1); exit 1; }; }
95837 cat >conftest.$ac_ext <<_ACEOF
95838 /* confdefs.h. */
95839 _ACEOF
95840 cat confdefs.h >>conftest.$ac_ext
95841 cat >>conftest.$ac_ext <<_ACEOF
95842 /* end confdefs.h. */
95843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95845 #define $ac_func innocuous_$ac_func
95847 /* System header to define __stub macros and hopefully few prototypes,
95848 which can conflict with char $ac_func (); below.
95849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95850 <limits.h> exists even on freestanding compilers. */
95852 #ifdef __STDC__
95853 # include <limits.h>
95854 #else
95855 # include <assert.h>
95856 #endif
95858 #undef $ac_func
95860 /* Override any gcc2 internal prototype to avoid an error. */
95861 #ifdef __cplusplus
95862 extern "C"
95864 #endif
95865 /* We use char because int might match the return type of a gcc2
95866 builtin and then its argument prototype would still apply. */
95867 char $ac_func ();
95868 /* The GNU C library defines this for functions which it implements
95869 to always fail with ENOSYS. Some functions are actually named
95870 something starting with __ and the normal name is an alias. */
95871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95872 choke me
95873 #else
95874 char (*f) () = $ac_func;
95875 #endif
95876 #ifdef __cplusplus
95878 #endif
95881 main ()
95883 return f != $ac_func;
95885 return 0;
95887 _ACEOF
95888 rm -f conftest.$ac_objext conftest$ac_exeext
95889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95890 (eval $ac_link) 2>conftest.er1
95891 ac_status=$?
95892 grep -v '^ *+' conftest.er1 >conftest.err
95893 rm -f conftest.er1
95894 cat conftest.err >&5
95895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95896 (exit $ac_status); } &&
95897 { ac_try='test -z "$ac_c_werror_flag"
95898 || test ! -s conftest.err'
95899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95900 (eval $ac_try) 2>&5
95901 ac_status=$?
95902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95903 (exit $ac_status); }; } &&
95904 { ac_try='test -s conftest$ac_exeext'
95905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95906 (eval $ac_try) 2>&5
95907 ac_status=$?
95908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95909 (exit $ac_status); }; }; then
95910 eval "$as_ac_var=yes"
95911 else
95912 echo "$as_me: failed program was:" >&5
95913 sed 's/^/| /' conftest.$ac_ext >&5
95915 eval "$as_ac_var=no"
95917 rm -f conftest.err conftest.$ac_objext \
95918 conftest$ac_exeext conftest.$ac_ext
95920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95922 if test `eval echo '${'$as_ac_var'}'` = yes; then
95923 cat >>confdefs.h <<_ACEOF
95924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95925 _ACEOF
95927 else
95928 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
95930 done
95934 for ac_func in __signbit
95936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95937 echo "$as_me:$LINENO: checking for $ac_func" >&5
95938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95939 if eval "test \"\${$as_ac_var+set}\" = set"; then
95940 echo $ECHO_N "(cached) $ECHO_C" >&6
95941 else
95942 if test x$gcc_no_link = xyes; then
95943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95945 { (exit 1); exit 1; }; }
95947 cat >conftest.$ac_ext <<_ACEOF
95948 /* confdefs.h. */
95949 _ACEOF
95950 cat confdefs.h >>conftest.$ac_ext
95951 cat >>conftest.$ac_ext <<_ACEOF
95952 /* end confdefs.h. */
95953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95955 #define $ac_func innocuous_$ac_func
95957 /* System header to define __stub macros and hopefully few prototypes,
95958 which can conflict with char $ac_func (); below.
95959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95960 <limits.h> exists even on freestanding compilers. */
95962 #ifdef __STDC__
95963 # include <limits.h>
95964 #else
95965 # include <assert.h>
95966 #endif
95968 #undef $ac_func
95970 /* Override any gcc2 internal prototype to avoid an error. */
95971 #ifdef __cplusplus
95972 extern "C"
95974 #endif
95975 /* We use char because int might match the return type of a gcc2
95976 builtin and then its argument prototype would still apply. */
95977 char $ac_func ();
95978 /* The GNU C library defines this for functions which it implements
95979 to always fail with ENOSYS. Some functions are actually named
95980 something starting with __ and the normal name is an alias. */
95981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95982 choke me
95983 #else
95984 char (*f) () = $ac_func;
95985 #endif
95986 #ifdef __cplusplus
95988 #endif
95991 main ()
95993 return f != $ac_func;
95995 return 0;
95997 _ACEOF
95998 rm -f conftest.$ac_objext conftest$ac_exeext
95999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96000 (eval $ac_link) 2>conftest.er1
96001 ac_status=$?
96002 grep -v '^ *+' conftest.er1 >conftest.err
96003 rm -f conftest.er1
96004 cat conftest.err >&5
96005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96006 (exit $ac_status); } &&
96007 { ac_try='test -z "$ac_c_werror_flag"
96008 || test ! -s conftest.err'
96009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96010 (eval $ac_try) 2>&5
96011 ac_status=$?
96012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96013 (exit $ac_status); }; } &&
96014 { ac_try='test -s conftest$ac_exeext'
96015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96016 (eval $ac_try) 2>&5
96017 ac_status=$?
96018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96019 (exit $ac_status); }; }; then
96020 eval "$as_ac_var=yes"
96021 else
96022 echo "$as_me: failed program was:" >&5
96023 sed 's/^/| /' conftest.$ac_ext >&5
96025 eval "$as_ac_var=no"
96027 rm -f conftest.err conftest.$ac_objext \
96028 conftest$ac_exeext conftest.$ac_ext
96030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96032 if test `eval echo '${'$as_ac_var'}'` = yes; then
96033 cat >>confdefs.h <<_ACEOF
96034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96035 _ACEOF
96037 else
96038 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
96040 done
96044 for ac_func in __signbitf
96046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96047 echo "$as_me:$LINENO: checking for $ac_func" >&5
96048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96049 if eval "test \"\${$as_ac_var+set}\" = set"; then
96050 echo $ECHO_N "(cached) $ECHO_C" >&6
96051 else
96052 if test x$gcc_no_link = xyes; then
96053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96055 { (exit 1); exit 1; }; }
96057 cat >conftest.$ac_ext <<_ACEOF
96058 /* confdefs.h. */
96059 _ACEOF
96060 cat confdefs.h >>conftest.$ac_ext
96061 cat >>conftest.$ac_ext <<_ACEOF
96062 /* end confdefs.h. */
96063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96065 #define $ac_func innocuous_$ac_func
96067 /* System header to define __stub macros and hopefully few prototypes,
96068 which can conflict with char $ac_func (); below.
96069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96070 <limits.h> exists even on freestanding compilers. */
96072 #ifdef __STDC__
96073 # include <limits.h>
96074 #else
96075 # include <assert.h>
96076 #endif
96078 #undef $ac_func
96080 /* Override any gcc2 internal prototype to avoid an error. */
96081 #ifdef __cplusplus
96082 extern "C"
96084 #endif
96085 /* We use char because int might match the return type of a gcc2
96086 builtin and then its argument prototype would still apply. */
96087 char $ac_func ();
96088 /* The GNU C library defines this for functions which it implements
96089 to always fail with ENOSYS. Some functions are actually named
96090 something starting with __ and the normal name is an alias. */
96091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96092 choke me
96093 #else
96094 char (*f) () = $ac_func;
96095 #endif
96096 #ifdef __cplusplus
96098 #endif
96101 main ()
96103 return f != $ac_func;
96105 return 0;
96107 _ACEOF
96108 rm -f conftest.$ac_objext conftest$ac_exeext
96109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96110 (eval $ac_link) 2>conftest.er1
96111 ac_status=$?
96112 grep -v '^ *+' conftest.er1 >conftest.err
96113 rm -f conftest.er1
96114 cat conftest.err >&5
96115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96116 (exit $ac_status); } &&
96117 { ac_try='test -z "$ac_c_werror_flag"
96118 || test ! -s conftest.err'
96119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96120 (eval $ac_try) 2>&5
96121 ac_status=$?
96122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96123 (exit $ac_status); }; } &&
96124 { ac_try='test -s conftest$ac_exeext'
96125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96126 (eval $ac_try) 2>&5
96127 ac_status=$?
96128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96129 (exit $ac_status); }; }; then
96130 eval "$as_ac_var=yes"
96131 else
96132 echo "$as_me: failed program was:" >&5
96133 sed 's/^/| /' conftest.$ac_ext >&5
96135 eval "$as_ac_var=no"
96137 rm -f conftest.err conftest.$ac_objext \
96138 conftest$ac_exeext conftest.$ac_ext
96140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96142 if test `eval echo '${'$as_ac_var'}'` = yes; then
96143 cat >>confdefs.h <<_ACEOF
96144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96145 _ACEOF
96147 else
96148 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
96150 done
96153 if test x$ac_cv_func_copysignl = x"yes"; then
96155 for ac_func in __signbitl
96157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96158 echo "$as_me:$LINENO: checking for $ac_func" >&5
96159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96160 if eval "test \"\${$as_ac_var+set}\" = set"; then
96161 echo $ECHO_N "(cached) $ECHO_C" >&6
96162 else
96163 if test x$gcc_no_link = xyes; then
96164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96166 { (exit 1); exit 1; }; }
96168 cat >conftest.$ac_ext <<_ACEOF
96169 /* confdefs.h. */
96170 _ACEOF
96171 cat confdefs.h >>conftest.$ac_ext
96172 cat >>conftest.$ac_ext <<_ACEOF
96173 /* end confdefs.h. */
96174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96176 #define $ac_func innocuous_$ac_func
96178 /* System header to define __stub macros and hopefully few prototypes,
96179 which can conflict with char $ac_func (); below.
96180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96181 <limits.h> exists even on freestanding compilers. */
96183 #ifdef __STDC__
96184 # include <limits.h>
96185 #else
96186 # include <assert.h>
96187 #endif
96189 #undef $ac_func
96191 /* Override any gcc2 internal prototype to avoid an error. */
96192 #ifdef __cplusplus
96193 extern "C"
96195 #endif
96196 /* We use char because int might match the return type of a gcc2
96197 builtin and then its argument prototype would still apply. */
96198 char $ac_func ();
96199 /* The GNU C library defines this for functions which it implements
96200 to always fail with ENOSYS. Some functions are actually named
96201 something starting with __ and the normal name is an alias. */
96202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96203 choke me
96204 #else
96205 char (*f) () = $ac_func;
96206 #endif
96207 #ifdef __cplusplus
96209 #endif
96212 main ()
96214 return f != $ac_func;
96216 return 0;
96218 _ACEOF
96219 rm -f conftest.$ac_objext conftest$ac_exeext
96220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96221 (eval $ac_link) 2>conftest.er1
96222 ac_status=$?
96223 grep -v '^ *+' conftest.er1 >conftest.err
96224 rm -f conftest.er1
96225 cat conftest.err >&5
96226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96227 (exit $ac_status); } &&
96228 { ac_try='test -z "$ac_c_werror_flag"
96229 || test ! -s conftest.err'
96230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96231 (eval $ac_try) 2>&5
96232 ac_status=$?
96233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96234 (exit $ac_status); }; } &&
96235 { ac_try='test -s conftest$ac_exeext'
96236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96237 (eval $ac_try) 2>&5
96238 ac_status=$?
96239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96240 (exit $ac_status); }; }; then
96241 eval "$as_ac_var=yes"
96242 else
96243 echo "$as_me: failed program was:" >&5
96244 sed 's/^/| /' conftest.$ac_ext >&5
96246 eval "$as_ac_var=no"
96248 rm -f conftest.err conftest.$ac_objext \
96249 conftest$ac_exeext conftest.$ac_ext
96251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96253 if test `eval echo '${'$as_ac_var'}'` = yes; then
96254 cat >>confdefs.h <<_ACEOF
96255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96256 _ACEOF
96258 else
96259 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
96261 done
96265 # Used in libmath/Makefile.am.
96266 if test -n "$LIBMATHOBJS"; then
96267 need_libmath=yes
96272 # Test wchar.h for mbstate_t, which is needed for char_traits and
96273 # others even if wchar_t support is not on.
96274 echo "$as_me:$LINENO: checking for mbstate_t" >&5
96275 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
96276 cat >conftest.$ac_ext <<_ACEOF
96277 /* confdefs.h. */
96278 _ACEOF
96279 cat confdefs.h >>conftest.$ac_ext
96280 cat >>conftest.$ac_ext <<_ACEOF
96281 /* end confdefs.h. */
96282 #include <wchar.h>
96284 main ()
96286 mbstate_t teststate;
96288 return 0;
96290 _ACEOF
96291 rm -f conftest.$ac_objext
96292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96293 (eval $ac_compile) 2>conftest.er1
96294 ac_status=$?
96295 grep -v '^ *+' conftest.er1 >conftest.err
96296 rm -f conftest.er1
96297 cat conftest.err >&5
96298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96299 (exit $ac_status); } &&
96300 { ac_try='test -z "$ac_c_werror_flag"
96301 || test ! -s conftest.err'
96302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96303 (eval $ac_try) 2>&5
96304 ac_status=$?
96305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96306 (exit $ac_status); }; } &&
96307 { ac_try='test -s conftest.$ac_objext'
96308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96309 (eval $ac_try) 2>&5
96310 ac_status=$?
96311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96312 (exit $ac_status); }; }; then
96313 have_mbstate_t=yes
96314 else
96315 echo "$as_me: failed program was:" >&5
96316 sed 's/^/| /' conftest.$ac_ext >&5
96318 have_mbstate_t=no
96320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96321 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
96322 echo "${ECHO_T}$have_mbstate_t" >&6
96323 if test x"$have_mbstate_t" = xyes; then
96324 cat >>confdefs.h <<\_ACEOF
96325 #define HAVE_MBSTATE_T 1
96326 _ACEOF
96330 # Sanity check for existence of ISO C99 headers for extended encoding.
96332 for ac_header in wchar.h
96334 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
96335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96336 echo "$as_me:$LINENO: checking for $ac_header" >&5
96337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96339 echo $ECHO_N "(cached) $ECHO_C" >&6
96341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96342 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96343 else
96344 # Is the header compilable?
96345 echo "$as_me:$LINENO: checking $ac_header usability" >&5
96346 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
96347 cat >conftest.$ac_ext <<_ACEOF
96348 /* confdefs.h. */
96349 _ACEOF
96350 cat confdefs.h >>conftest.$ac_ext
96351 cat >>conftest.$ac_ext <<_ACEOF
96352 /* end confdefs.h. */
96353 $ac_includes_default
96354 #include <$ac_header>
96355 _ACEOF
96356 rm -f conftest.$ac_objext
96357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96358 (eval $ac_compile) 2>conftest.er1
96359 ac_status=$?
96360 grep -v '^ *+' conftest.er1 >conftest.err
96361 rm -f conftest.er1
96362 cat conftest.err >&5
96363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96364 (exit $ac_status); } &&
96365 { ac_try='test -z "$ac_c_werror_flag"
96366 || test ! -s conftest.err'
96367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96368 (eval $ac_try) 2>&5
96369 ac_status=$?
96370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96371 (exit $ac_status); }; } &&
96372 { ac_try='test -s conftest.$ac_objext'
96373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96374 (eval $ac_try) 2>&5
96375 ac_status=$?
96376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96377 (exit $ac_status); }; }; then
96378 ac_header_compiler=yes
96379 else
96380 echo "$as_me: failed program was:" >&5
96381 sed 's/^/| /' conftest.$ac_ext >&5
96383 ac_header_compiler=no
96385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96386 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
96387 echo "${ECHO_T}$ac_header_compiler" >&6
96389 # Is the header present?
96390 echo "$as_me:$LINENO: checking $ac_header presence" >&5
96391 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
96392 cat >conftest.$ac_ext <<_ACEOF
96393 /* confdefs.h. */
96394 _ACEOF
96395 cat confdefs.h >>conftest.$ac_ext
96396 cat >>conftest.$ac_ext <<_ACEOF
96397 /* end confdefs.h. */
96398 #include <$ac_header>
96399 _ACEOF
96400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
96401 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
96402 ac_status=$?
96403 grep -v '^ *+' conftest.er1 >conftest.err
96404 rm -f conftest.er1
96405 cat conftest.err >&5
96406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96407 (exit $ac_status); } >/dev/null; then
96408 if test -s conftest.err; then
96409 ac_cpp_err=$ac_c_preproc_warn_flag
96410 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
96411 else
96412 ac_cpp_err=
96414 else
96415 ac_cpp_err=yes
96417 if test -z "$ac_cpp_err"; then
96418 ac_header_preproc=yes
96419 else
96420 echo "$as_me: failed program was:" >&5
96421 sed 's/^/| /' conftest.$ac_ext >&5
96423 ac_header_preproc=no
96425 rm -f conftest.err conftest.$ac_ext
96426 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
96427 echo "${ECHO_T}$ac_header_preproc" >&6
96429 # So? What about this header?
96430 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
96431 yes:no: )
96432 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
96433 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
96434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
96435 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
96436 ac_header_preproc=yes
96438 no:yes:* )
96439 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
96440 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
96441 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
96442 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
96443 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
96444 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
96445 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
96446 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
96447 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
96448 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
96449 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
96450 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
96452 cat <<\_ASBOX
96453 ## ----------------------------------------- ##
96454 ## Report this to the package-unused lists. ##
96455 ## ----------------------------------------- ##
96456 _ASBOX
96458 sed "s/^/$as_me: WARNING: /" >&2
96460 esac
96461 echo "$as_me:$LINENO: checking for $ac_header" >&5
96462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96464 echo $ECHO_N "(cached) $ECHO_C" >&6
96465 else
96466 eval "$as_ac_Header=\$ac_header_preproc"
96468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
96473 cat >>confdefs.h <<_ACEOF
96474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
96475 _ACEOF
96476 ac_has_wchar_h=yes
96477 else
96478 ac_has_wchar_h=no
96481 done
96484 for ac_header in wctype.h
96486 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
96487 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96488 echo "$as_me:$LINENO: checking for $ac_header" >&5
96489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96491 echo $ECHO_N "(cached) $ECHO_C" >&6
96493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96494 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96495 else
96496 # Is the header compilable?
96497 echo "$as_me:$LINENO: checking $ac_header usability" >&5
96498 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
96499 cat >conftest.$ac_ext <<_ACEOF
96500 /* confdefs.h. */
96501 _ACEOF
96502 cat confdefs.h >>conftest.$ac_ext
96503 cat >>conftest.$ac_ext <<_ACEOF
96504 /* end confdefs.h. */
96505 $ac_includes_default
96506 #include <$ac_header>
96507 _ACEOF
96508 rm -f conftest.$ac_objext
96509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96510 (eval $ac_compile) 2>conftest.er1
96511 ac_status=$?
96512 grep -v '^ *+' conftest.er1 >conftest.err
96513 rm -f conftest.er1
96514 cat conftest.err >&5
96515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96516 (exit $ac_status); } &&
96517 { ac_try='test -z "$ac_c_werror_flag"
96518 || test ! -s conftest.err'
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); }; } &&
96524 { ac_try='test -s conftest.$ac_objext'
96525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96526 (eval $ac_try) 2>&5
96527 ac_status=$?
96528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96529 (exit $ac_status); }; }; then
96530 ac_header_compiler=yes
96531 else
96532 echo "$as_me: failed program was:" >&5
96533 sed 's/^/| /' conftest.$ac_ext >&5
96535 ac_header_compiler=no
96537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96538 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
96539 echo "${ECHO_T}$ac_header_compiler" >&6
96541 # Is the header present?
96542 echo "$as_me:$LINENO: checking $ac_header presence" >&5
96543 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
96544 cat >conftest.$ac_ext <<_ACEOF
96545 /* confdefs.h. */
96546 _ACEOF
96547 cat confdefs.h >>conftest.$ac_ext
96548 cat >>conftest.$ac_ext <<_ACEOF
96549 /* end confdefs.h. */
96550 #include <$ac_header>
96551 _ACEOF
96552 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
96553 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
96554 ac_status=$?
96555 grep -v '^ *+' conftest.er1 >conftest.err
96556 rm -f conftest.er1
96557 cat conftest.err >&5
96558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96559 (exit $ac_status); } >/dev/null; then
96560 if test -s conftest.err; then
96561 ac_cpp_err=$ac_c_preproc_warn_flag
96562 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
96563 else
96564 ac_cpp_err=
96566 else
96567 ac_cpp_err=yes
96569 if test -z "$ac_cpp_err"; then
96570 ac_header_preproc=yes
96571 else
96572 echo "$as_me: failed program was:" >&5
96573 sed 's/^/| /' conftest.$ac_ext >&5
96575 ac_header_preproc=no
96577 rm -f conftest.err conftest.$ac_ext
96578 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
96579 echo "${ECHO_T}$ac_header_preproc" >&6
96581 # So? What about this header?
96582 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
96583 yes:no: )
96584 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
96585 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
96586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
96587 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
96588 ac_header_preproc=yes
96590 no:yes:* )
96591 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
96592 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
96593 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
96594 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
96595 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
96596 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
96597 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
96598 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
96599 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
96600 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
96601 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
96602 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
96604 cat <<\_ASBOX
96605 ## ----------------------------------------- ##
96606 ## Report this to the package-unused lists. ##
96607 ## ----------------------------------------- ##
96608 _ASBOX
96610 sed "s/^/$as_me: WARNING: /" >&2
96612 esac
96613 echo "$as_me:$LINENO: checking for $ac_header" >&5
96614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96616 echo $ECHO_N "(cached) $ECHO_C" >&6
96617 else
96618 eval "$as_ac_Header=\$ac_header_preproc"
96620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96621 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96624 if test `eval echo '${'$as_ac_Header'}'` = yes; then
96625 cat >>confdefs.h <<_ACEOF
96626 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
96627 _ACEOF
96628 ac_has_wctype_h=yes
96629 else
96630 ac_has_wctype_h=no
96633 done
96636 # Only continue checking if the ISO C99 headers exist and support is on.
96637 if test x"$ac_has_wchar_h" = xyes &&
96638 test x"$ac_has_wctype_h" = xyes &&
96639 test x"$enable_c_mbchar" != xno; then
96641 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
96642 # numeric_limits can instantiate type_traits<wchar_t>
96643 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
96644 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
96645 cat >conftest.$ac_ext <<_ACEOF
96646 /* confdefs.h. */
96647 _ACEOF
96648 cat confdefs.h >>conftest.$ac_ext
96649 cat >>conftest.$ac_ext <<_ACEOF
96650 /* end confdefs.h. */
96651 #include <wchar.h>
96653 main ()
96655 int i = WCHAR_MIN; int j = WCHAR_MAX;
96657 return 0;
96659 _ACEOF
96660 rm -f conftest.$ac_objext
96661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96662 (eval $ac_compile) 2>conftest.er1
96663 ac_status=$?
96664 grep -v '^ *+' conftest.er1 >conftest.err
96665 rm -f conftest.er1
96666 cat conftest.err >&5
96667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96668 (exit $ac_status); } &&
96669 { ac_try='test -z "$ac_c_werror_flag"
96670 || test ! -s conftest.err'
96671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96672 (eval $ac_try) 2>&5
96673 ac_status=$?
96674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96675 (exit $ac_status); }; } &&
96676 { ac_try='test -s conftest.$ac_objext'
96677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96678 (eval $ac_try) 2>&5
96679 ac_status=$?
96680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96681 (exit $ac_status); }; }; then
96682 has_wchar_minmax=yes
96683 else
96684 echo "$as_me: failed program was:" >&5
96685 sed 's/^/| /' conftest.$ac_ext >&5
96687 has_wchar_minmax=no
96689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96690 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
96691 echo "${ECHO_T}$has_wchar_minmax" >&6
96693 # Test wchar.h for WEOF, which is what we use to determine whether
96694 # to specialize for char_traits<wchar_t> or not.
96695 echo "$as_me:$LINENO: checking for WEOF" >&5
96696 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
96697 cat >conftest.$ac_ext <<_ACEOF
96698 /* confdefs.h. */
96699 _ACEOF
96700 cat confdefs.h >>conftest.$ac_ext
96701 cat >>conftest.$ac_ext <<_ACEOF
96702 /* end confdefs.h. */
96704 #include <wchar.h>
96705 #include <stddef.h>
96707 main ()
96709 wint_t i = WEOF;
96711 return 0;
96713 _ACEOF
96714 rm -f conftest.$ac_objext
96715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96716 (eval $ac_compile) 2>conftest.er1
96717 ac_status=$?
96718 grep -v '^ *+' conftest.er1 >conftest.err
96719 rm -f conftest.er1
96720 cat conftest.err >&5
96721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96722 (exit $ac_status); } &&
96723 { ac_try='test -z "$ac_c_werror_flag"
96724 || test ! -s conftest.err'
96725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96726 (eval $ac_try) 2>&5
96727 ac_status=$?
96728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96729 (exit $ac_status); }; } &&
96730 { ac_try='test -s conftest.$ac_objext'
96731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96732 (eval $ac_try) 2>&5
96733 ac_status=$?
96734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96735 (exit $ac_status); }; }; then
96736 has_weof=yes
96737 else
96738 echo "$as_me: failed program was:" >&5
96739 sed 's/^/| /' conftest.$ac_ext >&5
96741 has_weof=no
96743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96744 echo "$as_me:$LINENO: result: $has_weof" >&5
96745 echo "${ECHO_T}$has_weof" >&6
96747 # Tests for wide character functions used in char_traits<wchar_t>.
96748 ac_wfuncs=yes
96755 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
96757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96758 echo "$as_me:$LINENO: checking for $ac_func" >&5
96759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96760 if eval "test \"\${$as_ac_var+set}\" = set"; then
96761 echo $ECHO_N "(cached) $ECHO_C" >&6
96762 else
96763 if test x$gcc_no_link = xyes; then
96764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96766 { (exit 1); exit 1; }; }
96768 cat >conftest.$ac_ext <<_ACEOF
96769 /* confdefs.h. */
96770 _ACEOF
96771 cat confdefs.h >>conftest.$ac_ext
96772 cat >>conftest.$ac_ext <<_ACEOF
96773 /* end confdefs.h. */
96774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96776 #define $ac_func innocuous_$ac_func
96778 /* System header to define __stub macros and hopefully few prototypes,
96779 which can conflict with char $ac_func (); below.
96780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96781 <limits.h> exists even on freestanding compilers. */
96783 #ifdef __STDC__
96784 # include <limits.h>
96785 #else
96786 # include <assert.h>
96787 #endif
96789 #undef $ac_func
96791 /* Override any gcc2 internal prototype to avoid an error. */
96792 #ifdef __cplusplus
96793 extern "C"
96795 #endif
96796 /* We use char because int might match the return type of a gcc2
96797 builtin and then its argument prototype would still apply. */
96798 char $ac_func ();
96799 /* The GNU C library defines this for functions which it implements
96800 to always fail with ENOSYS. Some functions are actually named
96801 something starting with __ and the normal name is an alias. */
96802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96803 choke me
96804 #else
96805 char (*f) () = $ac_func;
96806 #endif
96807 #ifdef __cplusplus
96809 #endif
96812 main ()
96814 return f != $ac_func;
96816 return 0;
96818 _ACEOF
96819 rm -f conftest.$ac_objext conftest$ac_exeext
96820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96821 (eval $ac_link) 2>conftest.er1
96822 ac_status=$?
96823 grep -v '^ *+' conftest.er1 >conftest.err
96824 rm -f conftest.er1
96825 cat conftest.err >&5
96826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96827 (exit $ac_status); } &&
96828 { ac_try='test -z "$ac_c_werror_flag"
96829 || test ! -s conftest.err'
96830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96831 (eval $ac_try) 2>&5
96832 ac_status=$?
96833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96834 (exit $ac_status); }; } &&
96835 { ac_try='test -s conftest$ac_exeext'
96836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96837 (eval $ac_try) 2>&5
96838 ac_status=$?
96839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96840 (exit $ac_status); }; }; then
96841 eval "$as_ac_var=yes"
96842 else
96843 echo "$as_me: failed program was:" >&5
96844 sed 's/^/| /' conftest.$ac_ext >&5
96846 eval "$as_ac_var=no"
96848 rm -f conftest.err conftest.$ac_objext \
96849 conftest$ac_exeext conftest.$ac_ext
96851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96853 if test `eval echo '${'$as_ac_var'}'` = yes; then
96854 cat >>confdefs.h <<_ACEOF
96855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96856 _ACEOF
96858 else
96859 ac_wfuncs=no
96861 done
96864 # Checks for names injected into std:: by the c_std headers.
96911 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
96912 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
96913 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
96914 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
96915 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
96916 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
96918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96919 echo "$as_me:$LINENO: checking for $ac_func" >&5
96920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96921 if eval "test \"\${$as_ac_var+set}\" = set"; then
96922 echo $ECHO_N "(cached) $ECHO_C" >&6
96923 else
96924 if test x$gcc_no_link = xyes; then
96925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96927 { (exit 1); exit 1; }; }
96929 cat >conftest.$ac_ext <<_ACEOF
96930 /* confdefs.h. */
96931 _ACEOF
96932 cat confdefs.h >>conftest.$ac_ext
96933 cat >>conftest.$ac_ext <<_ACEOF
96934 /* end confdefs.h. */
96935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96937 #define $ac_func innocuous_$ac_func
96939 /* System header to define __stub macros and hopefully few prototypes,
96940 which can conflict with char $ac_func (); below.
96941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96942 <limits.h> exists even on freestanding compilers. */
96944 #ifdef __STDC__
96945 # include <limits.h>
96946 #else
96947 # include <assert.h>
96948 #endif
96950 #undef $ac_func
96952 /* Override any gcc2 internal prototype to avoid an error. */
96953 #ifdef __cplusplus
96954 extern "C"
96956 #endif
96957 /* We use char because int might match the return type of a gcc2
96958 builtin and then its argument prototype would still apply. */
96959 char $ac_func ();
96960 /* The GNU C library defines this for functions which it implements
96961 to always fail with ENOSYS. Some functions are actually named
96962 something starting with __ and the normal name is an alias. */
96963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96964 choke me
96965 #else
96966 char (*f) () = $ac_func;
96967 #endif
96968 #ifdef __cplusplus
96970 #endif
96973 main ()
96975 return f != $ac_func;
96977 return 0;
96979 _ACEOF
96980 rm -f conftest.$ac_objext conftest$ac_exeext
96981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96982 (eval $ac_link) 2>conftest.er1
96983 ac_status=$?
96984 grep -v '^ *+' conftest.er1 >conftest.err
96985 rm -f conftest.er1
96986 cat conftest.err >&5
96987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96988 (exit $ac_status); } &&
96989 { ac_try='test -z "$ac_c_werror_flag"
96990 || test ! -s conftest.err'
96991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96992 (eval $ac_try) 2>&5
96993 ac_status=$?
96994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96995 (exit $ac_status); }; } &&
96996 { ac_try='test -s conftest$ac_exeext'
96997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96998 (eval $ac_try) 2>&5
96999 ac_status=$?
97000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97001 (exit $ac_status); }; }; then
97002 eval "$as_ac_var=yes"
97003 else
97004 echo "$as_me: failed program was:" >&5
97005 sed 's/^/| /' conftest.$ac_ext >&5
97007 eval "$as_ac_var=no"
97009 rm -f conftest.err conftest.$ac_objext \
97010 conftest$ac_exeext conftest.$ac_ext
97012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97014 if test `eval echo '${'$as_ac_var'}'` = yes; then
97015 cat >>confdefs.h <<_ACEOF
97016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97017 _ACEOF
97019 else
97020 ac_wfuncs=no
97022 done
97025 # Checks for wide character functions that are not required
97026 # for basic wchar_t support. Don't disable support if they are missing.
97027 # Injection of these is wrapped with guard macros.
97033 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
97035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97036 echo "$as_me:$LINENO: checking for $ac_func" >&5
97037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97038 if eval "test \"\${$as_ac_var+set}\" = set"; then
97039 echo $ECHO_N "(cached) $ECHO_C" >&6
97040 else
97041 if test x$gcc_no_link = xyes; then
97042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97044 { (exit 1); exit 1; }; }
97046 cat >conftest.$ac_ext <<_ACEOF
97047 /* confdefs.h. */
97048 _ACEOF
97049 cat confdefs.h >>conftest.$ac_ext
97050 cat >>conftest.$ac_ext <<_ACEOF
97051 /* end confdefs.h. */
97052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97054 #define $ac_func innocuous_$ac_func
97056 /* System header to define __stub macros and hopefully few prototypes,
97057 which can conflict with char $ac_func (); below.
97058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97059 <limits.h> exists even on freestanding compilers. */
97061 #ifdef __STDC__
97062 # include <limits.h>
97063 #else
97064 # include <assert.h>
97065 #endif
97067 #undef $ac_func
97069 /* Override any gcc2 internal prototype to avoid an error. */
97070 #ifdef __cplusplus
97071 extern "C"
97073 #endif
97074 /* We use char because int might match the return type of a gcc2
97075 builtin and then its argument prototype would still apply. */
97076 char $ac_func ();
97077 /* The GNU C library defines this for functions which it implements
97078 to always fail with ENOSYS. Some functions are actually named
97079 something starting with __ and the normal name is an alias. */
97080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97081 choke me
97082 #else
97083 char (*f) () = $ac_func;
97084 #endif
97085 #ifdef __cplusplus
97087 #endif
97090 main ()
97092 return f != $ac_func;
97094 return 0;
97096 _ACEOF
97097 rm -f conftest.$ac_objext conftest$ac_exeext
97098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97099 (eval $ac_link) 2>conftest.er1
97100 ac_status=$?
97101 grep -v '^ *+' conftest.er1 >conftest.err
97102 rm -f conftest.er1
97103 cat conftest.err >&5
97104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97105 (exit $ac_status); } &&
97106 { ac_try='test -z "$ac_c_werror_flag"
97107 || test ! -s conftest.err'
97108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97109 (eval $ac_try) 2>&5
97110 ac_status=$?
97111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97112 (exit $ac_status); }; } &&
97113 { ac_try='test -s conftest$ac_exeext'
97114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97115 (eval $ac_try) 2>&5
97116 ac_status=$?
97117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97118 (exit $ac_status); }; }; then
97119 eval "$as_ac_var=yes"
97120 else
97121 echo "$as_me: failed program was:" >&5
97122 sed 's/^/| /' conftest.$ac_ext >&5
97124 eval "$as_ac_var=no"
97126 rm -f conftest.err conftest.$ac_objext \
97127 conftest$ac_exeext conftest.$ac_ext
97129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97131 if test `eval echo '${'$as_ac_var'}'` = yes; then
97132 cat >>confdefs.h <<_ACEOF
97133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97134 _ACEOF
97137 done
97140 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
97141 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
97142 if test x"$has_weof" = xyes &&
97143 test x"$has_wchar_minmax" = xyes &&
97144 test x"$ac_wfuncs" = xyes;
97145 then
97146 ac_isoC99_wchar_t=yes
97147 else
97148 ac_isoC99_wchar_t=no
97150 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
97151 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
97153 # Use iconv for wchar_t to char conversions. As such, check for
97154 # X/Open Portability Guide, version 2 features (XPG2).
97155 if test "${ac_cv_header_iconv_h+set}" = set; then
97156 echo "$as_me:$LINENO: checking for iconv.h" >&5
97157 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
97158 if test "${ac_cv_header_iconv_h+set}" = set; then
97159 echo $ECHO_N "(cached) $ECHO_C" >&6
97161 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
97162 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
97163 else
97164 # Is the header compilable?
97165 echo "$as_me:$LINENO: checking iconv.h usability" >&5
97166 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
97167 cat >conftest.$ac_ext <<_ACEOF
97168 /* confdefs.h. */
97169 _ACEOF
97170 cat confdefs.h >>conftest.$ac_ext
97171 cat >>conftest.$ac_ext <<_ACEOF
97172 /* end confdefs.h. */
97173 $ac_includes_default
97174 #include <iconv.h>
97175 _ACEOF
97176 rm -f conftest.$ac_objext
97177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97178 (eval $ac_compile) 2>conftest.er1
97179 ac_status=$?
97180 grep -v '^ *+' conftest.er1 >conftest.err
97181 rm -f conftest.er1
97182 cat conftest.err >&5
97183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97184 (exit $ac_status); } &&
97185 { ac_try='test -z "$ac_c_werror_flag"
97186 || test ! -s conftest.err'
97187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97188 (eval $ac_try) 2>&5
97189 ac_status=$?
97190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97191 (exit $ac_status); }; } &&
97192 { ac_try='test -s conftest.$ac_objext'
97193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97194 (eval $ac_try) 2>&5
97195 ac_status=$?
97196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97197 (exit $ac_status); }; }; then
97198 ac_header_compiler=yes
97199 else
97200 echo "$as_me: failed program was:" >&5
97201 sed 's/^/| /' conftest.$ac_ext >&5
97203 ac_header_compiler=no
97205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97206 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
97207 echo "${ECHO_T}$ac_header_compiler" >&6
97209 # Is the header present?
97210 echo "$as_me:$LINENO: checking iconv.h presence" >&5
97211 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
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 #include <iconv.h>
97219 _ACEOF
97220 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
97221 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
97222 ac_status=$?
97223 grep -v '^ *+' conftest.er1 >conftest.err
97224 rm -f conftest.er1
97225 cat conftest.err >&5
97226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97227 (exit $ac_status); } >/dev/null; then
97228 if test -s conftest.err; then
97229 ac_cpp_err=$ac_c_preproc_warn_flag
97230 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
97231 else
97232 ac_cpp_err=
97234 else
97235 ac_cpp_err=yes
97237 if test -z "$ac_cpp_err"; then
97238 ac_header_preproc=yes
97239 else
97240 echo "$as_me: failed program was:" >&5
97241 sed 's/^/| /' conftest.$ac_ext >&5
97243 ac_header_preproc=no
97245 rm -f conftest.err conftest.$ac_ext
97246 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
97247 echo "${ECHO_T}$ac_header_preproc" >&6
97249 # So? What about this header?
97250 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
97251 yes:no: )
97252 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
97253 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
97254 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
97255 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
97256 ac_header_preproc=yes
97258 no:yes:* )
97259 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
97260 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
97261 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
97262 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
97263 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
97264 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
97265 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
97266 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
97267 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
97268 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
97269 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
97270 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
97272 cat <<\_ASBOX
97273 ## ----------------------------------------- ##
97274 ## Report this to the package-unused lists. ##
97275 ## ----------------------------------------- ##
97276 _ASBOX
97278 sed "s/^/$as_me: WARNING: /" >&2
97280 esac
97281 echo "$as_me:$LINENO: checking for iconv.h" >&5
97282 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
97283 if test "${ac_cv_header_iconv_h+set}" = set; then
97284 echo $ECHO_N "(cached) $ECHO_C" >&6
97285 else
97286 ac_cv_header_iconv_h=$ac_header_preproc
97288 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
97289 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
97292 if test $ac_cv_header_iconv_h = yes; then
97293 ac_has_iconv_h=yes
97294 else
97295 ac_has_iconv_h=no
97299 if test "${ac_cv_header_langinfo_h+set}" = set; then
97300 echo "$as_me:$LINENO: checking for langinfo.h" >&5
97301 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
97302 if test "${ac_cv_header_langinfo_h+set}" = set; then
97303 echo $ECHO_N "(cached) $ECHO_C" >&6
97305 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
97306 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
97307 else
97308 # Is the header compilable?
97309 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
97310 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
97311 cat >conftest.$ac_ext <<_ACEOF
97312 /* confdefs.h. */
97313 _ACEOF
97314 cat confdefs.h >>conftest.$ac_ext
97315 cat >>conftest.$ac_ext <<_ACEOF
97316 /* end confdefs.h. */
97317 $ac_includes_default
97318 #include <langinfo.h>
97319 _ACEOF
97320 rm -f conftest.$ac_objext
97321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97322 (eval $ac_compile) 2>conftest.er1
97323 ac_status=$?
97324 grep -v '^ *+' conftest.er1 >conftest.err
97325 rm -f conftest.er1
97326 cat conftest.err >&5
97327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97328 (exit $ac_status); } &&
97329 { ac_try='test -z "$ac_c_werror_flag"
97330 || test ! -s conftest.err'
97331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97332 (eval $ac_try) 2>&5
97333 ac_status=$?
97334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97335 (exit $ac_status); }; } &&
97336 { ac_try='test -s conftest.$ac_objext'
97337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97338 (eval $ac_try) 2>&5
97339 ac_status=$?
97340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97341 (exit $ac_status); }; }; then
97342 ac_header_compiler=yes
97343 else
97344 echo "$as_me: failed program was:" >&5
97345 sed 's/^/| /' conftest.$ac_ext >&5
97347 ac_header_compiler=no
97349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97350 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
97351 echo "${ECHO_T}$ac_header_compiler" >&6
97353 # Is the header present?
97354 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
97355 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
97356 cat >conftest.$ac_ext <<_ACEOF
97357 /* confdefs.h. */
97358 _ACEOF
97359 cat confdefs.h >>conftest.$ac_ext
97360 cat >>conftest.$ac_ext <<_ACEOF
97361 /* end confdefs.h. */
97362 #include <langinfo.h>
97363 _ACEOF
97364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
97365 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
97366 ac_status=$?
97367 grep -v '^ *+' conftest.er1 >conftest.err
97368 rm -f conftest.er1
97369 cat conftest.err >&5
97370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97371 (exit $ac_status); } >/dev/null; then
97372 if test -s conftest.err; then
97373 ac_cpp_err=$ac_c_preproc_warn_flag
97374 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
97375 else
97376 ac_cpp_err=
97378 else
97379 ac_cpp_err=yes
97381 if test -z "$ac_cpp_err"; then
97382 ac_header_preproc=yes
97383 else
97384 echo "$as_me: failed program was:" >&5
97385 sed 's/^/| /' conftest.$ac_ext >&5
97387 ac_header_preproc=no
97389 rm -f conftest.err conftest.$ac_ext
97390 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
97391 echo "${ECHO_T}$ac_header_preproc" >&6
97393 # So? What about this header?
97394 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
97395 yes:no: )
97396 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
97397 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
97398 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
97399 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
97400 ac_header_preproc=yes
97402 no:yes:* )
97403 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
97404 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
97405 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
97406 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
97407 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
97408 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
97409 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
97410 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
97411 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
97412 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
97413 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
97414 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
97416 cat <<\_ASBOX
97417 ## ----------------------------------------- ##
97418 ## Report this to the package-unused lists. ##
97419 ## ----------------------------------------- ##
97420 _ASBOX
97422 sed "s/^/$as_me: WARNING: /" >&2
97424 esac
97425 echo "$as_me:$LINENO: checking for langinfo.h" >&5
97426 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
97427 if test "${ac_cv_header_langinfo_h+set}" = set; then
97428 echo $ECHO_N "(cached) $ECHO_C" >&6
97429 else
97430 ac_cv_header_langinfo_h=$ac_header_preproc
97432 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
97433 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
97436 if test $ac_cv_header_langinfo_h = yes; then
97437 ac_has_langinfo_h=yes
97438 else
97439 ac_has_langinfo_h=no
97444 # Check for existence of libiconv.a providing XPG2 wchar_t support.
97445 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
97446 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
97447 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
97448 echo $ECHO_N "(cached) $ECHO_C" >&6
97449 else
97450 ac_check_lib_save_LIBS=$LIBS
97451 LIBS="-liconv $LIBS"
97452 if test x$gcc_no_link = xyes; then
97453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97455 { (exit 1); exit 1; }; }
97457 cat >conftest.$ac_ext <<_ACEOF
97458 /* confdefs.h. */
97459 _ACEOF
97460 cat confdefs.h >>conftest.$ac_ext
97461 cat >>conftest.$ac_ext <<_ACEOF
97462 /* end confdefs.h. */
97464 /* Override any gcc2 internal prototype to avoid an error. */
97465 #ifdef __cplusplus
97466 extern "C"
97467 #endif
97468 /* We use char because int might match the return type of a gcc2
97469 builtin and then its argument prototype would still apply. */
97470 char iconv ();
97472 main ()
97474 iconv ();
97476 return 0;
97478 _ACEOF
97479 rm -f conftest.$ac_objext conftest$ac_exeext
97480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97481 (eval $ac_link) 2>conftest.er1
97482 ac_status=$?
97483 grep -v '^ *+' conftest.er1 >conftest.err
97484 rm -f conftest.er1
97485 cat conftest.err >&5
97486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97487 (exit $ac_status); } &&
97488 { ac_try='test -z "$ac_c_werror_flag"
97489 || test ! -s conftest.err'
97490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97491 (eval $ac_try) 2>&5
97492 ac_status=$?
97493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97494 (exit $ac_status); }; } &&
97495 { ac_try='test -s conftest$ac_exeext'
97496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97497 (eval $ac_try) 2>&5
97498 ac_status=$?
97499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97500 (exit $ac_status); }; }; then
97501 ac_cv_lib_iconv_iconv=yes
97502 else
97503 echo "$as_me: failed program was:" >&5
97504 sed 's/^/| /' conftest.$ac_ext >&5
97506 ac_cv_lib_iconv_iconv=no
97508 rm -f conftest.err conftest.$ac_objext \
97509 conftest$ac_exeext conftest.$ac_ext
97510 LIBS=$ac_check_lib_save_LIBS
97512 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
97513 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
97514 if test $ac_cv_lib_iconv_iconv = yes; then
97515 LIBICONV="-liconv"
97518 ac_save_LIBS="$LIBS"
97519 LIBS="$LIBS $LIBICONV"
97526 for ac_func in iconv_open iconv_close iconv nl_langinfo
97528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97529 echo "$as_me:$LINENO: checking for $ac_func" >&5
97530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97531 if eval "test \"\${$as_ac_var+set}\" = set"; then
97532 echo $ECHO_N "(cached) $ECHO_C" >&6
97533 else
97534 if test x$gcc_no_link = xyes; then
97535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97537 { (exit 1); exit 1; }; }
97539 cat >conftest.$ac_ext <<_ACEOF
97540 /* confdefs.h. */
97541 _ACEOF
97542 cat confdefs.h >>conftest.$ac_ext
97543 cat >>conftest.$ac_ext <<_ACEOF
97544 /* end confdefs.h. */
97545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97547 #define $ac_func innocuous_$ac_func
97549 /* System header to define __stub macros and hopefully few prototypes,
97550 which can conflict with char $ac_func (); below.
97551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97552 <limits.h> exists even on freestanding compilers. */
97554 #ifdef __STDC__
97555 # include <limits.h>
97556 #else
97557 # include <assert.h>
97558 #endif
97560 #undef $ac_func
97562 /* Override any gcc2 internal prototype to avoid an error. */
97563 #ifdef __cplusplus
97564 extern "C"
97566 #endif
97567 /* We use char because int might match the return type of a gcc2
97568 builtin and then its argument prototype would still apply. */
97569 char $ac_func ();
97570 /* The GNU C library defines this for functions which it implements
97571 to always fail with ENOSYS. Some functions are actually named
97572 something starting with __ and the normal name is an alias. */
97573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97574 choke me
97575 #else
97576 char (*f) () = $ac_func;
97577 #endif
97578 #ifdef __cplusplus
97580 #endif
97583 main ()
97585 return f != $ac_func;
97587 return 0;
97589 _ACEOF
97590 rm -f conftest.$ac_objext conftest$ac_exeext
97591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97592 (eval $ac_link) 2>conftest.er1
97593 ac_status=$?
97594 grep -v '^ *+' conftest.er1 >conftest.err
97595 rm -f conftest.er1
97596 cat conftest.err >&5
97597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97598 (exit $ac_status); } &&
97599 { ac_try='test -z "$ac_c_werror_flag"
97600 || test ! -s conftest.err'
97601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97602 (eval $ac_try) 2>&5
97603 ac_status=$?
97604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97605 (exit $ac_status); }; } &&
97606 { ac_try='test -s conftest$ac_exeext'
97607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97608 (eval $ac_try) 2>&5
97609 ac_status=$?
97610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97611 (exit $ac_status); }; }; then
97612 eval "$as_ac_var=yes"
97613 else
97614 echo "$as_me: failed program was:" >&5
97615 sed 's/^/| /' conftest.$ac_ext >&5
97617 eval "$as_ac_var=no"
97619 rm -f conftest.err conftest.$ac_objext \
97620 conftest$ac_exeext conftest.$ac_ext
97622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97624 if test `eval echo '${'$as_ac_var'}'` = yes; then
97625 cat >>confdefs.h <<_ACEOF
97626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97627 _ACEOF
97628 ac_XPG2funcs=yes
97629 else
97630 ac_XPG2funcs=no
97632 done
97635 LIBS="$ac_save_LIBS"
97637 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
97638 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
97639 if test x"$ac_has_iconv_h" = xyes &&
97640 test x"$ac_has_langinfo_h" = xyes &&
97641 test x"$ac_XPG2funcs" = xyes;
97642 then
97643 ac_XPG2_wchar_t=yes
97644 else
97645 ac_XPG2_wchar_t=no
97647 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
97648 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
97650 # At the moment, only enable wchar_t specializations if all the
97651 # above support is present.
97652 if test x"$ac_isoC99_wchar_t" = xyes &&
97653 test x"$ac_XPG2_wchar_t" = xyes;
97654 then
97655 cat >>confdefs.h <<\_ACEOF
97656 #define _GLIBCXX_USE_WCHAR_T 1
97657 _ACEOF
97659 enable_wchar_t=yes
97662 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
97663 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
97664 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
97665 echo "${ECHO_T}$enable_wchar_t" >&6
97667 cat >>confdefs.h <<\_ACEOF
97668 #define HAVE_COPYSIGN 1
97669 _ACEOF
97671 cat >>confdefs.h <<\_ACEOF
97672 #define HAVE_COPYSIGNF 1
97673 _ACEOF
97675 cat >>confdefs.h <<\_ACEOF
97676 #define HAVE_FINITE 1
97677 _ACEOF
97679 cat >>confdefs.h <<\_ACEOF
97680 #define HAVE_FINITEF 1
97681 _ACEOF
97683 cat >>confdefs.h <<\_ACEOF
97684 #define HAVE_FREXPF 1
97685 _ACEOF
97687 cat >>confdefs.h <<\_ACEOF
97688 #define HAVE_HYPOTF 1
97689 _ACEOF
97691 cat >>confdefs.h <<\_ACEOF
97692 #define HAVE_ISINF 1
97693 _ACEOF
97695 cat >>confdefs.h <<\_ACEOF
97696 #define HAVE_ISINFF 1
97697 _ACEOF
97699 cat >>confdefs.h <<\_ACEOF
97700 #define HAVE_ISNAN 1
97701 _ACEOF
97703 cat >>confdefs.h <<\_ACEOF
97704 #define HAVE_ISNANF 1
97705 _ACEOF
97707 cat >>confdefs.h <<\_ACEOF
97708 #define HAVE_SINCOS 1
97709 _ACEOF
97711 cat >>confdefs.h <<\_ACEOF
97712 #define HAVE_SINCOSF 1
97713 _ACEOF
97715 if test x"long_double_math_on_this_cpu" = x"yes"; then
97716 cat >>confdefs.h <<\_ACEOF
97717 #define HAVE_FINITEL 1
97718 _ACEOF
97720 cat >>confdefs.h <<\_ACEOF
97721 #define HAVE_HYPOTL 1
97722 _ACEOF
97724 cat >>confdefs.h <<\_ACEOF
97725 #define HAVE_ISINFL 1
97726 _ACEOF
97728 cat >>confdefs.h <<\_ACEOF
97729 #define HAVE_ISNANL 1
97730 _ACEOF
97734 *-vxworks)
97735 cat >>confdefs.h <<\_ACEOF
97736 #define HAVE_MMAP 1
97737 _ACEOF
97739 cat >>confdefs.h <<\_ACEOF
97740 #define HAVE_ACOSF 1
97741 _ACEOF
97743 cat >>confdefs.h <<\_ACEOF
97744 #define HAVE_ASINF 1
97745 _ACEOF
97747 cat >>confdefs.h <<\_ACEOF
97748 #define HAVE_ATAN2F 1
97749 _ACEOF
97751 cat >>confdefs.h <<\_ACEOF
97752 #define HAVE_ATANF 1
97753 _ACEOF
97755 cat >>confdefs.h <<\_ACEOF
97756 #define HAVE_CEILF 1
97757 _ACEOF
97759 cat >>confdefs.h <<\_ACEOF
97760 #define HAVE_COSF 1
97761 _ACEOF
97763 cat >>confdefs.h <<\_ACEOF
97764 #define HAVE_COSHF 1
97765 _ACEOF
97767 cat >>confdefs.h <<\_ACEOF
97768 #define HAVE_EXPF 1
97769 _ACEOF
97771 cat >>confdefs.h <<\_ACEOF
97772 #define HAVE_FABSF 1
97773 _ACEOF
97775 cat >>confdefs.h <<\_ACEOF
97776 #define HAVE_FLOORF 1
97777 _ACEOF
97779 cat >>confdefs.h <<\_ACEOF
97780 #define HAVE_FMODF 1
97781 _ACEOF
97783 cat >>confdefs.h <<\_ACEOF
97784 #define HAVE_HYPOT 1
97785 _ACEOF
97787 cat >>confdefs.h <<\_ACEOF
97788 #define HAVE_LOG10F 1
97789 _ACEOF
97791 cat >>confdefs.h <<\_ACEOF
97792 #define HAVE_LOGF 1
97793 _ACEOF
97795 cat >>confdefs.h <<\_ACEOF
97796 #define HAVE_POWF 1
97797 _ACEOF
97799 cat >>confdefs.h <<\_ACEOF
97800 #define HAVE_SINF 1
97801 _ACEOF
97803 cat >>confdefs.h <<\_ACEOF
97804 #define HAVE_SINHF 1
97805 _ACEOF
97807 cat >>confdefs.h <<\_ACEOF
97808 #define HAVE_SQRTF 1
97809 _ACEOF
97811 cat >>confdefs.h <<\_ACEOF
97812 #define HAVE_TANF 1
97813 _ACEOF
97815 cat >>confdefs.h <<\_ACEOF
97816 #define HAVE_TANHF 1
97817 _ACEOF
97820 *-windiss*)
97821 cat >>confdefs.h <<\_ACEOF
97822 #define HAVE_ACOSF 1
97823 _ACEOF
97825 cat >>confdefs.h <<\_ACEOF
97826 #define HAVE_ACOSL 1
97827 _ACEOF
97829 cat >>confdefs.h <<\_ACEOF
97830 #define HAVE_ASINF 1
97831 _ACEOF
97833 cat >>confdefs.h <<\_ACEOF
97834 #define HAVE_ASINL 1
97835 _ACEOF
97837 cat >>confdefs.h <<\_ACEOF
97838 #define HAVE_ATAN2F 1
97839 _ACEOF
97841 cat >>confdefs.h <<\_ACEOF
97842 #define HAVE_ATAN2L 1
97843 _ACEOF
97845 cat >>confdefs.h <<\_ACEOF
97846 #define HAVE_ATANF 1
97847 _ACEOF
97849 cat >>confdefs.h <<\_ACEOF
97850 #define HAVE_ATANL 1
97851 _ACEOF
97853 cat >>confdefs.h <<\_ACEOF
97854 #define HAVE_CEILF 1
97855 _ACEOF
97857 cat >>confdefs.h <<\_ACEOF
97858 #define HAVE_CEILL 1
97859 _ACEOF
97861 cat >>confdefs.h <<\_ACEOF
97862 #define HAVE_COPYSIGN 1
97863 _ACEOF
97865 cat >>confdefs.h <<\_ACEOF
97866 #define HAVE_COPYSIGNF 1
97867 _ACEOF
97869 cat >>confdefs.h <<\_ACEOF
97870 #define HAVE_COSF 1
97871 _ACEOF
97873 cat >>confdefs.h <<\_ACEOF
97874 #define HAVE_COSL 1
97875 _ACEOF
97877 cat >>confdefs.h <<\_ACEOF
97878 #define HAVE_COSHF 1
97879 _ACEOF
97881 cat >>confdefs.h <<\_ACEOF
97882 #define HAVE_COSHL 1
97883 _ACEOF
97885 cat >>confdefs.h <<\_ACEOF
97886 #define HAVE_EXPF 1
97887 _ACEOF
97889 cat >>confdefs.h <<\_ACEOF
97890 #define HAVE_EXPL 1
97891 _ACEOF
97893 cat >>confdefs.h <<\_ACEOF
97894 #define HAVE_FABSF 1
97895 _ACEOF
97897 cat >>confdefs.h <<\_ACEOF
97898 #define HAVE_FABSL 1
97899 _ACEOF
97901 cat >>confdefs.h <<\_ACEOF
97902 #define HAVE_FLOORF 1
97903 _ACEOF
97905 cat >>confdefs.h <<\_ACEOF
97906 #define HAVE_FLOORL 1
97907 _ACEOF
97909 cat >>confdefs.h <<\_ACEOF
97910 #define HAVE_FMODF 1
97911 _ACEOF
97913 cat >>confdefs.h <<\_ACEOF
97914 #define HAVE_FMODL 1
97915 _ACEOF
97917 cat >>confdefs.h <<\_ACEOF
97918 #define HAVE_FREXPF 1
97919 _ACEOF
97921 cat >>confdefs.h <<\_ACEOF
97922 #define HAVE_FREXPL 1
97923 _ACEOF
97925 cat >>confdefs.h <<\_ACEOF
97926 #define HAVE_LDEXPF 1
97927 _ACEOF
97929 cat >>confdefs.h <<\_ACEOF
97930 #define HAVE_LDEXPL 1
97931 _ACEOF
97933 cat >>confdefs.h <<\_ACEOF
97934 #define HAVE_LOG10F 1
97935 _ACEOF
97937 cat >>confdefs.h <<\_ACEOF
97938 #define HAVE_LOG10L 1
97939 _ACEOF
97941 cat >>confdefs.h <<\_ACEOF
97942 #define HAVE_LOGF 1
97943 _ACEOF
97945 cat >>confdefs.h <<\_ACEOF
97946 #define HAVE_MODFF 1
97947 _ACEOF
97949 cat >>confdefs.h <<\_ACEOF
97950 #define HAVE_MODFL 1
97951 _ACEOF
97953 cat >>confdefs.h <<\_ACEOF
97954 #define HAVE_POWF 1
97955 _ACEOF
97957 cat >>confdefs.h <<\_ACEOF
97958 #define HAVE_POWL 1
97959 _ACEOF
97961 cat >>confdefs.h <<\_ACEOF
97962 #define HAVE_SINF 1
97963 _ACEOF
97965 cat >>confdefs.h <<\_ACEOF
97966 #define HAVE_SINL 1
97967 _ACEOF
97969 cat >>confdefs.h <<\_ACEOF
97970 #define HAVE_SINHF 1
97971 _ACEOF
97973 cat >>confdefs.h <<\_ACEOF
97974 #define HAVE_SINHL 1
97975 _ACEOF
97977 cat >>confdefs.h <<\_ACEOF
97978 #define HAVE_SQRTF 1
97979 _ACEOF
97981 cat >>confdefs.h <<\_ACEOF
97982 #define HAVE_SQRTL 1
97983 _ACEOF
97985 cat >>confdefs.h <<\_ACEOF
97986 #define HAVE_TANF 1
97987 _ACEOF
97989 cat >>confdefs.h <<\_ACEOF
97990 #define HAVE_TANL 1
97991 _ACEOF
97993 cat >>confdefs.h <<\_ACEOF
97994 #define HAVE_TANHF 1
97995 _ACEOF
97997 cat >>confdefs.h <<\_ACEOF
97998 #define HAVE_TANHL 1
97999 _ACEOF
98003 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
98004 echo "$as_me: error: No support for this host/target combination." >&2;}
98005 { (exit 1); exit 1; }; }
98007 esac
98012 # At some point, we should differentiate between architectures
98013 # like x86, which have long double versions, and alpha/powerpc/etc.,
98014 # which don't. For the time being, punt.
98015 if test x"long_double_math_on_this_cpu" = x"yes"; then
98016 cat >>confdefs.h <<\_ACEOF
98017 #define HAVE_ACOSL 1
98018 _ACEOF
98020 cat >>confdefs.h <<\_ACEOF
98021 #define HAVE_ASINL 1
98022 _ACEOF
98024 cat >>confdefs.h <<\_ACEOF
98025 #define HAVE_ATAN2L 1
98026 _ACEOF
98028 cat >>confdefs.h <<\_ACEOF
98029 #define HAVE_ATANL 1
98030 _ACEOF
98032 cat >>confdefs.h <<\_ACEOF
98033 #define HAVE_CEILL 1
98034 _ACEOF
98036 cat >>confdefs.h <<\_ACEOF
98037 #define HAVE_COPYSIGNL 1
98038 _ACEOF
98040 cat >>confdefs.h <<\_ACEOF
98041 #define HAVE_COSL 1
98042 _ACEOF
98044 cat >>confdefs.h <<\_ACEOF
98045 #define HAVE_COSHL 1
98046 _ACEOF
98048 cat >>confdefs.h <<\_ACEOF
98049 #define HAVE_EXPL 1
98050 _ACEOF
98052 cat >>confdefs.h <<\_ACEOF
98053 #define HAVE_FABSL 1
98054 _ACEOF
98056 cat >>confdefs.h <<\_ACEOF
98057 #define HAVE_FLOORL 1
98058 _ACEOF
98060 cat >>confdefs.h <<\_ACEOF
98061 #define HAVE_FMODL 1
98062 _ACEOF
98064 cat >>confdefs.h <<\_ACEOF
98065 #define HAVE_FREXPL 1
98066 _ACEOF
98068 cat >>confdefs.h <<\_ACEOF
98069 #define HAVE_LDEXPL 1
98070 _ACEOF
98072 cat >>confdefs.h <<\_ACEOF
98073 #define HAVE_LOG10L 1
98074 _ACEOF
98076 cat >>confdefs.h <<\_ACEOF
98077 #define HAVE_LOGL 1
98078 _ACEOF
98080 cat >>confdefs.h <<\_ACEOF
98081 #define HAVE_MODFL 1
98082 _ACEOF
98084 cat >>confdefs.h <<\_ACEOF
98085 #define HAVE_POWL 1
98086 _ACEOF
98088 cat >>confdefs.h <<\_ACEOF
98089 #define HAVE_SINCOSL 1
98090 _ACEOF
98092 cat >>confdefs.h <<\_ACEOF
98093 #define HAVE_SINL 1
98094 _ACEOF
98096 cat >>confdefs.h <<\_ACEOF
98097 #define HAVE_SINHL 1
98098 _ACEOF
98100 cat >>confdefs.h <<\_ACEOF
98101 #define HAVE_SQRTL 1
98102 _ACEOF
98104 cat >>confdefs.h <<\_ACEOF
98105 #define HAVE_TANL 1
98106 _ACEOF
98108 cat >>confdefs.h <<\_ACEOF
98109 #define HAVE_TANHL 1
98110 _ACEOF
98116 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
98119 # Check whether --enable-symvers or --disable-symvers was given.
98120 if test "${enable_symvers+set}" = set; then
98121 enableval="$enable_symvers"
98123 case "$enableval" in
98124 yes|no|gnu) ;;
98125 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
98126 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
98127 { (exit 1); exit 1; }; } ;;
98128 esac
98130 else
98131 enable_symvers=yes
98135 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
98136 # don't know enough about $LD to do tricks...
98138 # FIXME The following test is too strict, in theory.
98139 if test $enable_shared = no ||
98140 test "x$LD" = x ||
98141 test x$glibcxx_gnu_ld_version = x; then
98142 enable_symvers=no
98145 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
98146 if test $enable_symvers != no; then
98147 echo "$as_me:$LINENO: checking for shared libgcc" >&5
98148 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
98149 ac_save_CFLAGS="$CFLAGS"
98150 CFLAGS=' -lgcc_s'
98151 if test x$gcc_no_link = xyes; then
98152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98154 { (exit 1); exit 1; }; }
98156 cat >conftest.$ac_ext <<_ACEOF
98157 /* confdefs.h. */
98158 _ACEOF
98159 cat confdefs.h >>conftest.$ac_ext
98160 cat >>conftest.$ac_ext <<_ACEOF
98161 /* end confdefs.h. */
98164 main ()
98166 return 0;
98168 return 0;
98170 _ACEOF
98171 rm -f conftest.$ac_objext conftest$ac_exeext
98172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98173 (eval $ac_link) 2>conftest.er1
98174 ac_status=$?
98175 grep -v '^ *+' conftest.er1 >conftest.err
98176 rm -f conftest.er1
98177 cat conftest.err >&5
98178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98179 (exit $ac_status); } &&
98180 { ac_try='test -z "$ac_c_werror_flag"
98181 || test ! -s conftest.err'
98182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98183 (eval $ac_try) 2>&5
98184 ac_status=$?
98185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98186 (exit $ac_status); }; } &&
98187 { ac_try='test -s conftest$ac_exeext'
98188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98189 (eval $ac_try) 2>&5
98190 ac_status=$?
98191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98192 (exit $ac_status); }; }; then
98193 glibcxx_shared_libgcc=yes
98194 else
98195 echo "$as_me: failed program was:" >&5
98196 sed 's/^/| /' conftest.$ac_ext >&5
98198 glibcxx_shared_libgcc=no
98200 rm -f conftest.err conftest.$ac_objext \
98201 conftest$ac_exeext conftest.$ac_ext
98202 CFLAGS="$ac_save_CFLAGS"
98203 if test $glibcxx_shared_libgcc = no; then
98204 cat > conftest.c <<EOF
98205 int main (void) { return 0; }
98207 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
98208 -shared -shared-libgcc -o conftest.so \
98209 conftest.c -v 2>&1 >/dev/null \
98210 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
98211 rm -f conftest.c conftest.so
98212 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
98213 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
98214 if test x$gcc_no_link = xyes; then
98215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98217 { (exit 1); exit 1; }; }
98219 cat >conftest.$ac_ext <<_ACEOF
98220 /* confdefs.h. */
98221 _ACEOF
98222 cat confdefs.h >>conftest.$ac_ext
98223 cat >>conftest.$ac_ext <<_ACEOF
98224 /* end confdefs.h. */
98227 main ()
98229 return 0;
98231 return 0;
98233 _ACEOF
98234 rm -f conftest.$ac_objext conftest$ac_exeext
98235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98236 (eval $ac_link) 2>conftest.er1
98237 ac_status=$?
98238 grep -v '^ *+' conftest.er1 >conftest.err
98239 rm -f conftest.er1
98240 cat conftest.err >&5
98241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98242 (exit $ac_status); } &&
98243 { ac_try='test -z "$ac_c_werror_flag"
98244 || test ! -s conftest.err'
98245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98246 (eval $ac_try) 2>&5
98247 ac_status=$?
98248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98249 (exit $ac_status); }; } &&
98250 { ac_try='test -s conftest$ac_exeext'
98251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98252 (eval $ac_try) 2>&5
98253 ac_status=$?
98254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98255 (exit $ac_status); }; }; then
98256 glibcxx_shared_libgcc=yes
98257 else
98258 echo "$as_me: failed program was:" >&5
98259 sed 's/^/| /' conftest.$ac_ext >&5
98262 rm -f conftest.err conftest.$ac_objext \
98263 conftest$ac_exeext conftest.$ac_ext
98264 CFLAGS="$ac_save_CFLAGS"
98267 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
98268 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
98271 # For GNU ld, we need at least this version. The format is described in
98272 # GLIBCXX_CHECK_LINKER_FEATURES above.
98273 glibcxx_min_gnu_ld_version=21400
98274 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
98276 # Check to see if unspecified "yes" value can win, given results above.
98277 # Change "yes" into either "no" or a style name.
98278 if test $enable_symvers = yes; then
98279 if test $with_gnu_ld = yes &&
98280 test $glibcxx_shared_libgcc = yes;
98281 then
98282 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
98283 enable_symvers=gnu
98284 else
98285 # The right tools, the right setup, but too old. Fallbacks?
98286 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
98287 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
98288 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
98289 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
98290 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
98291 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
98292 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
98293 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
98294 if test $glibcxx_gnu_ld_version -ge 21200 ; then
98295 # Globbing fix is present, proper block support is not.
98296 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
98297 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
98298 enable_symvers=no
98299 else
98300 # 2.11 or older.
98301 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
98302 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
98303 enable_symvers=no
98306 else
98307 # just fail for now
98308 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
98309 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
98310 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
98311 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
98312 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
98313 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
98314 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
98315 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
98316 enable_symvers=no
98320 # Everything parsed; figure out what file to use.
98321 case $enable_symvers in
98323 SYMVER_MAP=config/linker-map.dummy
98325 gnu)
98326 SYMVER_MAP=config/linker-map.gnu
98327 cat >>confdefs.h <<\_ACEOF
98328 #define _GLIBCXX_SYMVER 1
98329 _ACEOF
98332 esac
98337 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
98338 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
98341 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
98343 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
98344 # Do checks for resource limit functions.
98346 setrlimit_have_headers=yes
98350 for ac_header in unistd.h sys/time.h sys/resource.h
98352 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
98353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
98354 echo "$as_me:$LINENO: checking for $ac_header" >&5
98355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
98356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
98357 echo $ECHO_N "(cached) $ECHO_C" >&6
98359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
98360 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
98361 else
98362 # Is the header compilable?
98363 echo "$as_me:$LINENO: checking $ac_header usability" >&5
98364 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
98365 cat >conftest.$ac_ext <<_ACEOF
98366 /* confdefs.h. */
98367 _ACEOF
98368 cat confdefs.h >>conftest.$ac_ext
98369 cat >>conftest.$ac_ext <<_ACEOF
98370 /* end confdefs.h. */
98371 $ac_includes_default
98372 #include <$ac_header>
98373 _ACEOF
98374 rm -f conftest.$ac_objext
98375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98376 (eval $ac_compile) 2>conftest.er1
98377 ac_status=$?
98378 grep -v '^ *+' conftest.er1 >conftest.err
98379 rm -f conftest.er1
98380 cat conftest.err >&5
98381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98382 (exit $ac_status); } &&
98383 { ac_try='test -z "$ac_c_werror_flag"
98384 || test ! -s conftest.err'
98385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98386 (eval $ac_try) 2>&5
98387 ac_status=$?
98388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98389 (exit $ac_status); }; } &&
98390 { ac_try='test -s conftest.$ac_objext'
98391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98392 (eval $ac_try) 2>&5
98393 ac_status=$?
98394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98395 (exit $ac_status); }; }; then
98396 ac_header_compiler=yes
98397 else
98398 echo "$as_me: failed program was:" >&5
98399 sed 's/^/| /' conftest.$ac_ext >&5
98401 ac_header_compiler=no
98403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98404 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
98405 echo "${ECHO_T}$ac_header_compiler" >&6
98407 # Is the header present?
98408 echo "$as_me:$LINENO: checking $ac_header presence" >&5
98409 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
98410 cat >conftest.$ac_ext <<_ACEOF
98411 /* confdefs.h. */
98412 _ACEOF
98413 cat confdefs.h >>conftest.$ac_ext
98414 cat >>conftest.$ac_ext <<_ACEOF
98415 /* end confdefs.h. */
98416 #include <$ac_header>
98417 _ACEOF
98418 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
98419 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
98420 ac_status=$?
98421 grep -v '^ *+' conftest.er1 >conftest.err
98422 rm -f conftest.er1
98423 cat conftest.err >&5
98424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98425 (exit $ac_status); } >/dev/null; then
98426 if test -s conftest.err; then
98427 ac_cpp_err=$ac_c_preproc_warn_flag
98428 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
98429 else
98430 ac_cpp_err=
98432 else
98433 ac_cpp_err=yes
98435 if test -z "$ac_cpp_err"; then
98436 ac_header_preproc=yes
98437 else
98438 echo "$as_me: failed program was:" >&5
98439 sed 's/^/| /' conftest.$ac_ext >&5
98441 ac_header_preproc=no
98443 rm -f conftest.err conftest.$ac_ext
98444 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
98445 echo "${ECHO_T}$ac_header_preproc" >&6
98447 # So? What about this header?
98448 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
98449 yes:no: )
98450 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
98451 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
98452 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
98453 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
98454 ac_header_preproc=yes
98456 no:yes:* )
98457 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
98458 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
98459 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
98460 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
98461 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
98462 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
98463 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
98464 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
98465 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
98466 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
98467 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
98468 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
98470 cat <<\_ASBOX
98471 ## ----------------------------------------- ##
98472 ## Report this to the package-unused lists. ##
98473 ## ----------------------------------------- ##
98474 _ASBOX
98476 sed "s/^/$as_me: WARNING: /" >&2
98478 esac
98479 echo "$as_me:$LINENO: checking for $ac_header" >&5
98480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
98481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
98482 echo $ECHO_N "(cached) $ECHO_C" >&6
98483 else
98484 eval "$as_ac_Header=\$ac_header_preproc"
98486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
98487 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
98490 if test `eval echo '${'$as_ac_Header'}'` = yes; then
98491 cat >>confdefs.h <<_ACEOF
98492 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
98493 _ACEOF
98495 else
98496 setrlimit_have_headers=no
98499 done
98501 # If don't have the headers, then we can't run the tests now, and we
98502 # won't be seeing any of these during testsuite compilation.
98503 if test $setrlimit_have_headers = yes; then
98504 # Can't do these in a loop, else the resulting syntax is wrong.
98506 cat >conftest.$ac_ext <<_ACEOF
98507 /* confdefs.h. */
98508 _ACEOF
98509 cat confdefs.h >>conftest.$ac_ext
98510 cat >>conftest.$ac_ext <<_ACEOF
98511 /* end confdefs.h. */
98512 #include <unistd.h>
98513 #include <sys/time.h>
98514 #include <sys/resource.h>
98517 main ()
98519 int f = RLIMIT_DATA ;
98521 return 0;
98523 _ACEOF
98524 rm -f conftest.$ac_objext
98525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98526 (eval $ac_compile) 2>conftest.er1
98527 ac_status=$?
98528 grep -v '^ *+' conftest.er1 >conftest.err
98529 rm -f conftest.er1
98530 cat conftest.err >&5
98531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98532 (exit $ac_status); } &&
98533 { ac_try='test -z "$ac_c_werror_flag"
98534 || test ! -s conftest.err'
98535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98536 (eval $ac_try) 2>&5
98537 ac_status=$?
98538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98539 (exit $ac_status); }; } &&
98540 { ac_try='test -s conftest.$ac_objext'
98541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98542 (eval $ac_try) 2>&5
98543 ac_status=$?
98544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98545 (exit $ac_status); }; }; then
98546 glibcxx_mresult=1
98547 else
98548 echo "$as_me: failed program was:" >&5
98549 sed 's/^/| /' conftest.$ac_ext >&5
98551 glibcxx_mresult=0
98553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98555 cat >>confdefs.h <<_ACEOF
98556 #define HAVE_LIMIT_DATA $glibcxx_mresult
98557 _ACEOF
98561 cat >conftest.$ac_ext <<_ACEOF
98562 /* confdefs.h. */
98563 _ACEOF
98564 cat confdefs.h >>conftest.$ac_ext
98565 cat >>conftest.$ac_ext <<_ACEOF
98566 /* end confdefs.h. */
98567 #include <unistd.h>
98568 #include <sys/time.h>
98569 #include <sys/resource.h>
98572 main ()
98574 int f = RLIMIT_RSS ;
98576 return 0;
98578 _ACEOF
98579 rm -f conftest.$ac_objext
98580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98581 (eval $ac_compile) 2>conftest.er1
98582 ac_status=$?
98583 grep -v '^ *+' conftest.er1 >conftest.err
98584 rm -f conftest.er1
98585 cat conftest.err >&5
98586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98587 (exit $ac_status); } &&
98588 { ac_try='test -z "$ac_c_werror_flag"
98589 || test ! -s conftest.err'
98590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98591 (eval $ac_try) 2>&5
98592 ac_status=$?
98593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98594 (exit $ac_status); }; } &&
98595 { ac_try='test -s conftest.$ac_objext'
98596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98597 (eval $ac_try) 2>&5
98598 ac_status=$?
98599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98600 (exit $ac_status); }; }; then
98601 glibcxx_mresult=1
98602 else
98603 echo "$as_me: failed program was:" >&5
98604 sed 's/^/| /' conftest.$ac_ext >&5
98606 glibcxx_mresult=0
98608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98610 cat >>confdefs.h <<_ACEOF
98611 #define HAVE_LIMIT_RSS $glibcxx_mresult
98612 _ACEOF
98616 cat >conftest.$ac_ext <<_ACEOF
98617 /* confdefs.h. */
98618 _ACEOF
98619 cat confdefs.h >>conftest.$ac_ext
98620 cat >>conftest.$ac_ext <<_ACEOF
98621 /* end confdefs.h. */
98622 #include <unistd.h>
98623 #include <sys/time.h>
98624 #include <sys/resource.h>
98627 main ()
98629 int f = RLIMIT_VMEM ;
98631 return 0;
98633 _ACEOF
98634 rm -f conftest.$ac_objext
98635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98636 (eval $ac_compile) 2>conftest.er1
98637 ac_status=$?
98638 grep -v '^ *+' conftest.er1 >conftest.err
98639 rm -f conftest.er1
98640 cat conftest.err >&5
98641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98642 (exit $ac_status); } &&
98643 { ac_try='test -z "$ac_c_werror_flag"
98644 || test ! -s conftest.err'
98645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98646 (eval $ac_try) 2>&5
98647 ac_status=$?
98648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98649 (exit $ac_status); }; } &&
98650 { ac_try='test -s conftest.$ac_objext'
98651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98652 (eval $ac_try) 2>&5
98653 ac_status=$?
98654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98655 (exit $ac_status); }; }; then
98656 glibcxx_mresult=1
98657 else
98658 echo "$as_me: failed program was:" >&5
98659 sed 's/^/| /' conftest.$ac_ext >&5
98661 glibcxx_mresult=0
98663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98665 cat >>confdefs.h <<_ACEOF
98666 #define HAVE_LIMIT_VMEM $glibcxx_mresult
98667 _ACEOF
98671 cat >conftest.$ac_ext <<_ACEOF
98672 /* confdefs.h. */
98673 _ACEOF
98674 cat confdefs.h >>conftest.$ac_ext
98675 cat >>conftest.$ac_ext <<_ACEOF
98676 /* end confdefs.h. */
98677 #include <unistd.h>
98678 #include <sys/time.h>
98679 #include <sys/resource.h>
98682 main ()
98684 int f = RLIMIT_AS ;
98686 return 0;
98688 _ACEOF
98689 rm -f conftest.$ac_objext
98690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98691 (eval $ac_compile) 2>conftest.er1
98692 ac_status=$?
98693 grep -v '^ *+' conftest.er1 >conftest.err
98694 rm -f conftest.er1
98695 cat conftest.err >&5
98696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98697 (exit $ac_status); } &&
98698 { ac_try='test -z "$ac_c_werror_flag"
98699 || test ! -s conftest.err'
98700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98701 (eval $ac_try) 2>&5
98702 ac_status=$?
98703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98704 (exit $ac_status); }; } &&
98705 { ac_try='test -s conftest.$ac_objext'
98706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98707 (eval $ac_try) 2>&5
98708 ac_status=$?
98709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98710 (exit $ac_status); }; }; then
98711 glibcxx_mresult=1
98712 else
98713 echo "$as_me: failed program was:" >&5
98714 sed 's/^/| /' conftest.$ac_ext >&5
98716 glibcxx_mresult=0
98718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98720 cat >>confdefs.h <<_ACEOF
98721 #define HAVE_LIMIT_AS $glibcxx_mresult
98722 _ACEOF
98726 cat >conftest.$ac_ext <<_ACEOF
98727 /* confdefs.h. */
98728 _ACEOF
98729 cat confdefs.h >>conftest.$ac_ext
98730 cat >>conftest.$ac_ext <<_ACEOF
98731 /* end confdefs.h. */
98732 #include <unistd.h>
98733 #include <sys/time.h>
98734 #include <sys/resource.h>
98737 main ()
98739 int f = RLIMIT_FSIZE ;
98741 return 0;
98743 _ACEOF
98744 rm -f conftest.$ac_objext
98745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98746 (eval $ac_compile) 2>conftest.er1
98747 ac_status=$?
98748 grep -v '^ *+' conftest.er1 >conftest.err
98749 rm -f conftest.er1
98750 cat conftest.err >&5
98751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98752 (exit $ac_status); } &&
98753 { ac_try='test -z "$ac_c_werror_flag"
98754 || test ! -s conftest.err'
98755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98756 (eval $ac_try) 2>&5
98757 ac_status=$?
98758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98759 (exit $ac_status); }; } &&
98760 { ac_try='test -s conftest.$ac_objext'
98761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98762 (eval $ac_try) 2>&5
98763 ac_status=$?
98764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98765 (exit $ac_status); }; }; then
98766 glibcxx_mresult=1
98767 else
98768 echo "$as_me: failed program was:" >&5
98769 sed 's/^/| /' conftest.$ac_ext >&5
98771 glibcxx_mresult=0
98773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98775 cat >>confdefs.h <<_ACEOF
98776 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
98777 _ACEOF
98781 # Check for rlimit, setrlimit.
98782 if test "${ac_setrlimit+set}" = set; then
98783 echo $ECHO_N "(cached) $ECHO_C" >&6
98784 else
98786 cat >conftest.$ac_ext <<_ACEOF
98787 /* confdefs.h. */
98788 _ACEOF
98789 cat confdefs.h >>conftest.$ac_ext
98790 cat >>conftest.$ac_ext <<_ACEOF
98791 /* end confdefs.h. */
98792 #include <unistd.h>
98793 #include <sys/time.h>
98794 #include <sys/resource.h>
98797 main ()
98799 struct rlimit r;
98800 setrlimit(0, &r);
98802 return 0;
98804 _ACEOF
98805 rm -f conftest.$ac_objext
98806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98807 (eval $ac_compile) 2>conftest.er1
98808 ac_status=$?
98809 grep -v '^ *+' conftest.er1 >conftest.err
98810 rm -f conftest.er1
98811 cat conftest.err >&5
98812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98813 (exit $ac_status); } &&
98814 { ac_try='test -z "$ac_c_werror_flag"
98815 || test ! -s conftest.err'
98816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98817 (eval $ac_try) 2>&5
98818 ac_status=$?
98819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98820 (exit $ac_status); }; } &&
98821 { ac_try='test -s conftest.$ac_objext'
98822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98823 (eval $ac_try) 2>&5
98824 ac_status=$?
98825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98826 (exit $ac_status); }; }; then
98827 ac_setrlimit=yes
98828 else
98829 echo "$as_me: failed program was:" >&5
98830 sed 's/^/| /' conftest.$ac_ext >&5
98832 ac_setrlimit=no
98834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98840 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
98841 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
98842 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
98843 ac_res_limits=yes
98844 cat >>confdefs.h <<\_ACEOF
98845 #define _GLIBCXX_RES_LIMITS 1
98846 _ACEOF
98848 else
98849 ac_res_limits=no
98851 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
98852 echo "${ECHO_T}$ac_res_limits" >&6
98855 # Look for setenv, so that extended locale tests can be performed.
98857 echo "$as_me:$LINENO: checking for setenv declaration" >&5
98858 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
98859 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
98860 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
98861 echo $ECHO_N "(cached) $ECHO_C" >&6
98862 else
98866 ac_ext=cc
98867 ac_cpp='$CXXCPP $CPPFLAGS'
98868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98872 cat >conftest.$ac_ext <<_ACEOF
98873 /* confdefs.h. */
98874 _ACEOF
98875 cat confdefs.h >>conftest.$ac_ext
98876 cat >>conftest.$ac_ext <<_ACEOF
98877 /* end confdefs.h. */
98878 #include <stdlib.h>
98880 main ()
98882 setenv(0, 0, 0);
98884 return 0;
98886 _ACEOF
98887 rm -f conftest.$ac_objext
98888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98889 (eval $ac_compile) 2>conftest.er1
98890 ac_status=$?
98891 grep -v '^ *+' conftest.er1 >conftest.err
98892 rm -f conftest.er1
98893 cat conftest.err >&5
98894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98895 (exit $ac_status); } &&
98896 { ac_try='test -z "$ac_cxx_werror_flag"
98897 || test ! -s conftest.err'
98898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98899 (eval $ac_try) 2>&5
98900 ac_status=$?
98901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98902 (exit $ac_status); }; } &&
98903 { ac_try='test -s conftest.$ac_objext'
98904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98905 (eval $ac_try) 2>&5
98906 ac_status=$?
98907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98908 (exit $ac_status); }; }; then
98909 glibcxx_cv_func_setenv_use=yes
98910 else
98911 echo "$as_me: failed program was:" >&5
98912 sed 's/^/| /' conftest.$ac_ext >&5
98914 glibcxx_cv_func_setenv_use=no
98916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98917 ac_ext=c
98918 ac_cpp='$CPP $CPPFLAGS'
98919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98927 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
98928 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
98929 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
98931 for ac_func in setenv
98933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98934 echo "$as_me:$LINENO: checking for $ac_func" >&5
98935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98936 if eval "test \"\${$as_ac_var+set}\" = set"; then
98937 echo $ECHO_N "(cached) $ECHO_C" >&6
98938 else
98939 if test x$gcc_no_link = xyes; then
98940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98942 { (exit 1); exit 1; }; }
98944 cat >conftest.$ac_ext <<_ACEOF
98945 /* confdefs.h. */
98946 _ACEOF
98947 cat confdefs.h >>conftest.$ac_ext
98948 cat >>conftest.$ac_ext <<_ACEOF
98949 /* end confdefs.h. */
98950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98952 #define $ac_func innocuous_$ac_func
98954 /* System header to define __stub macros and hopefully few prototypes,
98955 which can conflict with char $ac_func (); below.
98956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98957 <limits.h> exists even on freestanding compilers. */
98959 #ifdef __STDC__
98960 # include <limits.h>
98961 #else
98962 # include <assert.h>
98963 #endif
98965 #undef $ac_func
98967 /* Override any gcc2 internal prototype to avoid an error. */
98968 #ifdef __cplusplus
98969 extern "C"
98971 #endif
98972 /* We use char because int might match the return type of a gcc2
98973 builtin and then its argument prototype would still apply. */
98974 char $ac_func ();
98975 /* The GNU C library defines this for functions which it implements
98976 to always fail with ENOSYS. Some functions are actually named
98977 something starting with __ and the normal name is an alias. */
98978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98979 choke me
98980 #else
98981 char (*f) () = $ac_func;
98982 #endif
98983 #ifdef __cplusplus
98985 #endif
98988 main ()
98990 return f != $ac_func;
98992 return 0;
98994 _ACEOF
98995 rm -f conftest.$ac_objext conftest$ac_exeext
98996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98997 (eval $ac_link) 2>conftest.er1
98998 ac_status=$?
98999 grep -v '^ *+' conftest.er1 >conftest.err
99000 rm -f conftest.er1
99001 cat conftest.err >&5
99002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99003 (exit $ac_status); } &&
99004 { ac_try='test -z "$ac_c_werror_flag"
99005 || test ! -s conftest.err'
99006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99007 (eval $ac_try) 2>&5
99008 ac_status=$?
99009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99010 (exit $ac_status); }; } &&
99011 { ac_try='test -s conftest$ac_exeext'
99012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99013 (eval $ac_try) 2>&5
99014 ac_status=$?
99015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99016 (exit $ac_status); }; }; then
99017 eval "$as_ac_var=yes"
99018 else
99019 echo "$as_me: failed program was:" >&5
99020 sed 's/^/| /' conftest.$ac_ext >&5
99022 eval "$as_ac_var=no"
99024 rm -f conftest.err conftest.$ac_objext \
99025 conftest$ac_exeext conftest.$ac_ext
99027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99029 if test `eval echo '${'$as_ac_var'}'` = yes; then
99030 cat >>confdefs.h <<_ACEOF
99031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99032 _ACEOF
99035 done
99040 if test $enable_symvers = no; then
99041 enable_abi_check=no
99042 else
99043 case "$host" in
99044 *-*-cygwin*)
99045 enable_abi_check=no ;;
99047 enable_abi_check=yes ;;
99048 esac
99050 else
99051 # Only build this as native, since automake does not understand
99052 # CXX_FOR_BUILD.
99053 enable_abi_check=no
99056 # Export file names for ABI checking.
99057 baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
99065 # Propagate the target-specific source directories through the build chain.
99066 ATOMICITY_SRCDIR=config/${atomicity_dir}
99067 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
99068 OS_INC_SRCDIR=config/${os_include_dir}
99069 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
99075 # Determine cross-compile flags and AM_CONDITIONALs.
99076 #AC_SUBST(GLIBCXX_IS_NATIVE)
99077 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
99078 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
99079 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
99082 if test $is_hosted = yes; then
99083 GLIBCXX_HOSTED_TRUE=
99084 GLIBCXX_HOSTED_FALSE='#'
99085 else
99086 GLIBCXX_HOSTED_TRUE='#'
99087 GLIBCXX_HOSTED_FALSE=
99093 if test $enable_libstdcxx_pch = yes; then
99094 GLIBCXX_BUILD_PCH_TRUE=
99095 GLIBCXX_BUILD_PCH_FALSE='#'
99096 else
99097 GLIBCXX_BUILD_PCH_TRUE='#'
99098 GLIBCXX_BUILD_PCH_FALSE=
99104 if test $enable_cheaders = c; then
99105 GLIBCXX_C_HEADERS_C_TRUE=
99106 GLIBCXX_C_HEADERS_C_FALSE='#'
99107 else
99108 GLIBCXX_C_HEADERS_C_TRUE='#'
99109 GLIBCXX_C_HEADERS_C_FALSE=
99115 if test $enable_cheaders = c_std; then
99116 GLIBCXX_C_HEADERS_C_STD_TRUE=
99117 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
99118 else
99119 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
99120 GLIBCXX_C_HEADERS_C_STD_FALSE=
99126 if test $c_compatibility = yes; then
99127 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
99128 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
99129 else
99130 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
99131 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
99137 if test $enable_libstdcxx_debug = yes; then
99138 GLIBCXX_BUILD_DEBUG_TRUE=
99139 GLIBCXX_BUILD_DEBUG_FALSE='#'
99140 else
99141 GLIBCXX_BUILD_DEBUG_TRUE='#'
99142 GLIBCXX_BUILD_DEBUG_FALSE=
99148 if test $enable_symvers != no; then
99149 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
99150 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
99151 else
99152 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
99153 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
99159 if test $enable_wchar_t = yes; then
99160 GLIBCXX_TEST_WCHAR_T_TRUE=
99161 GLIBCXX_TEST_WCHAR_T_FALSE='#'
99162 else
99163 GLIBCXX_TEST_WCHAR_T_TRUE='#'
99164 GLIBCXX_TEST_WCHAR_T_FALSE=
99170 if test $enable_thread = yes; then
99171 GLIBCXX_TEST_THREAD_TRUE=
99172 GLIBCXX_TEST_THREAD_FALSE='#'
99173 else
99174 GLIBCXX_TEST_THREAD_TRUE='#'
99175 GLIBCXX_TEST_THREAD_FALSE=
99181 if test $enable_abi_check = yes; then
99182 GLIBCXX_TEST_ABI_TRUE=
99183 GLIBCXX_TEST_ABI_FALSE='#'
99184 else
99185 GLIBCXX_TEST_ABI_TRUE='#'
99186 GLIBCXX_TEST_ABI_FALSE=
99192 cat >confcache <<\_ACEOF
99193 # This file is a shell script that caches the results of configure
99194 # tests run on this system so they can be shared between configure
99195 # scripts and configure runs, see configure's option --config-cache.
99196 # It is not useful on other systems. If it contains results you don't
99197 # want to keep, you may remove or edit it.
99199 # config.status only pays attention to the cache file if you give it
99200 # the --recheck option to rerun configure.
99202 # `ac_cv_env_foo' variables (set or unset) will be overridden when
99203 # loading this file, other *unset* `ac_cv_foo' will be assigned the
99204 # following values.
99206 _ACEOF
99208 # The following way of writing the cache mishandles newlines in values,
99209 # but we know of no workaround that is simple, portable, and efficient.
99210 # So, don't put newlines in cache variables' values.
99211 # Ultrix sh set writes to stderr and can't be redirected directly,
99212 # and sets the high bit in the cache file unless we assign to the vars.
99214 (set) 2>&1 |
99215 case `(ac_space=' '; set | grep ac_space) 2>&1` in
99216 *ac_space=\ *)
99217 # `set' does not quote correctly, so add quotes (double-quote
99218 # substitution turns \\\\ into \\, and sed turns \\ into \).
99219 sed -n \
99220 "s/'/'\\\\''/g;
99221 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
99224 # `set' quotes correctly as required by POSIX, so do not add quotes.
99225 sed -n \
99226 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
99228 esac;
99230 sed '
99231 t clear
99232 : clear
99233 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
99234 t end
99235 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
99236 : end' >>confcache
99237 if diff $cache_file confcache >/dev/null 2>&1; then :; else
99238 if test -w $cache_file; then
99239 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
99240 cat confcache >$cache_file
99241 else
99242 echo "not updating unwritable cache $cache_file"
99245 rm -f confcache
99247 if test ${multilib} = yes; then
99248 multilib_arg="--enable-multilib"
99249 else
99250 multilib_arg=
99253 # Export all the install information.
99255 glibcxx_toolexecdir=no
99256 glibcxx_toolexeclibdir=no
99257 glibcxx_prefixdir=$prefix
99259 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
99260 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
99262 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
99263 if test "${with_gxx_include_dir+set}" = set; then
99264 withval="$with_gxx_include_dir"
99265 case "$withval" in
99266 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
99267 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
99268 { (exit 1); exit 1; }; } ;;
99269 no) gxx_include_dir=no ;;
99270 *) gxx_include_dir=$withval ;;
99271 esac
99272 else
99273 gxx_include_dir=no
99275 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
99276 echo "${ECHO_T}$gxx_include_dir" >&6
99278 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
99279 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
99280 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
99281 if test "${enable_version_specific_runtime_libs+set}" = set; then
99282 enableval="$enable_version_specific_runtime_libs"
99283 case "$enableval" in
99284 yes) version_specific_libs=yes ;;
99285 no) version_specific_libs=no ;;
99286 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
99287 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
99288 { (exit 1); exit 1; }; };;
99289 esac
99290 else
99291 version_specific_libs=no
99293 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
99294 echo "${ECHO_T}$version_specific_libs" >&6
99296 # Default case for install directory for include files.
99297 if test $version_specific_libs = no && test $gxx_include_dir = no; then
99298 gxx_include_dir='${prefix}'/include/c++/${gcc_version}
99301 # Version-specific runtime libs processing.
99302 if test $version_specific_libs = yes; then
99303 # Need the gcc compiler version to know where to install libraries
99304 # and header files if --enable-version-specific-runtime-libs option
99305 # is selected. FIXME: these variables are misnamed, there are
99306 # no executables installed in _toolexecdir or _toolexeclibdir.
99307 if test x"$gxx_include_dir" = x"no"; then
99308 gxx_include_dir='${libdir}/gcc/${host_alias}/'$gcc_version/include/c++
99310 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
99311 glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
99314 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
99315 # Install a library built with a cross compiler in tooldir, not libdir.
99316 if test x"$glibcxx_toolexecdir" = x"no"; then
99317 if test -n "$with_cross_host" &&
99318 test x"$with_cross_host" != x"no"; then
99319 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
99320 glibcxx_toolexeclibdir='${toolexecdir}/lib'
99321 else
99322 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
99323 glibcxx_toolexeclibdir='${libdir}'
99325 multi_os_directory=`$CXX -print-multi-os-directory`
99326 case $multi_os_directory in
99327 .) ;; # Avoid trailing /.
99328 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
99329 esac
99332 echo "$as_me:$LINENO: checking for install location" >&5
99333 echo $ECHO_N "checking for install location... $ECHO_C" >&6
99334 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
99335 echo "${ECHO_T}$gxx_include_dir" >&6
99343 # Export all the include and flag information to Makefiles.
99345 # Used for every C++ compile we perform.
99346 GLIBCXX_INCLUDES="\
99347 -I$glibcxx_builddir/include/$host_alias \
99348 -I$glibcxx_builddir/include \
99349 -I$glibcxx_srcdir/libsupc++"
99351 # For Canadian crosses, pick this up too.
99352 if test $CANADIAN = yes; then
99353 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
99356 # Stuff in the actual top level. Currently only used by libsupc++ to
99357 # get unwind* headers from the gcc dir.
99358 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
99359 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
99361 # Now, export this to all the little Makefiles....
99366 # Optimization flags that are probably a good idea for thrill-seekers. Just
99367 # uncomment the lines below and make, everything else is ready to go...
99368 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
99369 OPTIMIZE_CXXFLAGS=
99372 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
99376 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
99377 grep "enable shared" > /dev/null;
99378 then
99379 LIBSUPCXX_PICFLAGS=-prefer-pic
99380 else
99381 LIBSUPCXX_PICFLAGS=
99385 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
99387 ac_config_files="$ac_config_files scripts/check_survey"
99389 ac_config_files="$ac_config_files scripts/testsuite_flags"
99392 ac_config_commands="$ac_config_commands default"
99395 cat >confcache <<\_ACEOF
99396 # This file is a shell script that caches the results of configure
99397 # tests run on this system so they can be shared between configure
99398 # scripts and configure runs, see configure's option --config-cache.
99399 # It is not useful on other systems. If it contains results you don't
99400 # want to keep, you may remove or edit it.
99402 # config.status only pays attention to the cache file if you give it
99403 # the --recheck option to rerun configure.
99405 # `ac_cv_env_foo' variables (set or unset) will be overridden when
99406 # loading this file, other *unset* `ac_cv_foo' will be assigned the
99407 # following values.
99409 _ACEOF
99411 # The following way of writing the cache mishandles newlines in values,
99412 # but we know of no workaround that is simple, portable, and efficient.
99413 # So, don't put newlines in cache variables' values.
99414 # Ultrix sh set writes to stderr and can't be redirected directly,
99415 # and sets the high bit in the cache file unless we assign to the vars.
99417 (set) 2>&1 |
99418 case `(ac_space=' '; set | grep ac_space) 2>&1` in
99419 *ac_space=\ *)
99420 # `set' does not quote correctly, so add quotes (double-quote
99421 # substitution turns \\\\ into \\, and sed turns \\ into \).
99422 sed -n \
99423 "s/'/'\\\\''/g;
99424 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
99427 # `set' quotes correctly as required by POSIX, so do not add quotes.
99428 sed -n \
99429 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
99431 esac;
99433 sed '
99434 t clear
99435 : clear
99436 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
99437 t end
99438 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
99439 : end' >>confcache
99440 if diff $cache_file confcache >/dev/null 2>&1; then :; else
99441 if test -w $cache_file; then
99442 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
99443 cat confcache >$cache_file
99444 else
99445 echo "not updating unwritable cache $cache_file"
99448 rm -f confcache
99450 test "x$prefix" = xNONE && prefix=$ac_default_prefix
99451 # Let make expand exec_prefix.
99452 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
99454 # VPATH may cause trouble with some makes, so we remove $(srcdir),
99455 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
99456 # trailing colons and then remove the whole line if VPATH becomes empty
99457 # (actually we leave an empty line to preserve line numbers).
99458 if test "x$srcdir" = x.; then
99459 ac_vpsub='/^[ ]*VPATH[ ]*=/{
99460 s/:*\$(srcdir):*/:/;
99461 s/:*\${srcdir}:*/:/;
99462 s/:*@srcdir@:*/:/;
99463 s/^\([^=]*=[ ]*\):*/\1/;
99464 s/:*$//;
99465 s/^[^=]*=[ ]*$//;
99469 DEFS=-DHAVE_CONFIG_H
99471 ac_libobjs=
99472 ac_ltlibobjs=
99473 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
99474 # 1. Remove the extension, and $U if already installed.
99475 ac_i=`echo "$ac_i" |
99476 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
99477 # 2. Add them.
99478 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
99479 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
99480 done
99481 LIBOBJS=$ac_libobjs
99483 LTLIBOBJS=$ac_ltlibobjs
99486 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
99487 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
99488 Usually this means the macro was only invoked conditionally." >&5
99489 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
99490 Usually this means the macro was only invoked conditionally." >&2;}
99491 { (exit 1); exit 1; }; }
99493 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
99494 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
99495 Usually this means the macro was only invoked conditionally." >&5
99496 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
99497 Usually this means the macro was only invoked conditionally." >&2;}
99498 { (exit 1); exit 1; }; }
99500 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
99501 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
99502 Usually this means the macro was only invoked conditionally." >&5
99503 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
99504 Usually this means the macro was only invoked conditionally." >&2;}
99505 { (exit 1); exit 1; }; }
99507 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
99508 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
99509 Usually this means the macro was only invoked conditionally." >&5
99510 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
99511 Usually this means the macro was only invoked conditionally." >&2;}
99512 { (exit 1); exit 1; }; }
99514 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
99515 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
99516 Usually this means the macro was only invoked conditionally." >&5
99517 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
99518 Usually this means the macro was only invoked conditionally." >&2;}
99519 { (exit 1); exit 1; }; }
99521 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
99522 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
99523 Usually this means the macro was only invoked conditionally." >&5
99524 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
99525 Usually this means the macro was only invoked conditionally." >&2;}
99526 { (exit 1); exit 1; }; }
99528 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
99529 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
99530 Usually this means the macro was only invoked conditionally." >&5
99531 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
99532 Usually this means the macro was only invoked conditionally." >&2;}
99533 { (exit 1); exit 1; }; }
99535 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
99536 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
99537 Usually this means the macro was only invoked conditionally." >&5
99538 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
99539 Usually this means the macro was only invoked conditionally." >&2;}
99540 { (exit 1); exit 1; }; }
99542 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
99543 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
99544 Usually this means the macro was only invoked conditionally." >&5
99545 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
99546 Usually this means the macro was only invoked conditionally." >&2;}
99547 { (exit 1); exit 1; }; }
99549 if test -z "${GLIBCXX_TEST_THREAD_TRUE}" && test -z "${GLIBCXX_TEST_THREAD_FALSE}"; then
99550 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_THREAD\" was never defined.
99551 Usually this means the macro was only invoked conditionally." >&5
99552 echo "$as_me: error: conditional \"GLIBCXX_TEST_THREAD\" was never defined.
99553 Usually this means the macro was only invoked conditionally." >&2;}
99554 { (exit 1); exit 1; }; }
99556 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
99557 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
99558 Usually this means the macro was only invoked conditionally." >&5
99559 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
99560 Usually this means the macro was only invoked conditionally." >&2;}
99561 { (exit 1); exit 1; }; }
99564 : ${CONFIG_STATUS=./config.status}
99565 ac_clean_files_save=$ac_clean_files
99566 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
99567 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
99568 echo "$as_me: creating $CONFIG_STATUS" >&6;}
99569 cat >$CONFIG_STATUS <<_ACEOF
99570 #! $SHELL
99571 # Generated by $as_me.
99572 # Run this file to recreate the current configuration.
99573 # Compiler output produced by configure, useful for debugging
99574 # configure, is in config.log if it exists.
99576 debug=false
99577 ac_cs_recheck=false
99578 ac_cs_silent=false
99579 SHELL=\${CONFIG_SHELL-$SHELL}
99580 _ACEOF
99582 cat >>$CONFIG_STATUS <<\_ACEOF
99583 ## --------------------- ##
99584 ## M4sh Initialization. ##
99585 ## --------------------- ##
99587 # Be Bourne compatible
99588 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
99589 emulate sh
99590 NULLCMD=:
99591 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
99592 # is contrary to our usage. Disable this feature.
99593 alias -g '${1+"$@"}'='"$@"'
99594 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
99595 set -o posix
99597 DUALCASE=1; export DUALCASE # for MKS sh
99599 # Support unset when possible.
99600 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
99601 as_unset=unset
99602 else
99603 as_unset=false
99607 # Work around bugs in pre-3.0 UWIN ksh.
99608 $as_unset ENV MAIL MAILPATH
99609 PS1='$ '
99610 PS2='> '
99611 PS4='+ '
99613 # NLS nuisances.
99614 for as_var in \
99615 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
99616 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
99617 LC_TELEPHONE LC_TIME
99619 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
99620 eval $as_var=C; export $as_var
99621 else
99622 $as_unset $as_var
99624 done
99626 # Required to use basename.
99627 if expr a : '\(a\)' >/dev/null 2>&1; then
99628 as_expr=expr
99629 else
99630 as_expr=false
99633 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
99634 as_basename=basename
99635 else
99636 as_basename=false
99640 # Name of the executable.
99641 as_me=`$as_basename "$0" ||
99642 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
99643 X"$0" : 'X\(//\)$' \| \
99644 X"$0" : 'X\(/\)$' \| \
99645 . : '\(.\)' 2>/dev/null ||
99646 echo X/"$0" |
99647 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
99648 /^X\/\(\/\/\)$/{ s//\1/; q; }
99649 /^X\/\(\/\).*/{ s//\1/; q; }
99650 s/.*/./; q'`
99653 # PATH needs CR, and LINENO needs CR and PATH.
99654 # Avoid depending upon Character Ranges.
99655 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
99656 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
99657 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
99658 as_cr_digits='0123456789'
99659 as_cr_alnum=$as_cr_Letters$as_cr_digits
99661 # The user is always right.
99662 if test "${PATH_SEPARATOR+set}" != set; then
99663 echo "#! /bin/sh" >conf$$.sh
99664 echo "exit 0" >>conf$$.sh
99665 chmod +x conf$$.sh
99666 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
99667 PATH_SEPARATOR=';'
99668 else
99669 PATH_SEPARATOR=:
99671 rm -f conf$$.sh
99675 as_lineno_1=$LINENO
99676 as_lineno_2=$LINENO
99677 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
99678 test "x$as_lineno_1" != "x$as_lineno_2" &&
99679 test "x$as_lineno_3" = "x$as_lineno_2" || {
99680 # Find who we are. Look in the path if we contain no path at all
99681 # relative or not.
99682 case $0 in
99683 *[\\/]* ) as_myself=$0 ;;
99684 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99685 for as_dir in $PATH
99687 IFS=$as_save_IFS
99688 test -z "$as_dir" && as_dir=.
99689 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99690 done
99693 esac
99694 # We did not find ourselves, most probably we were run as `sh COMMAND'
99695 # in which case we are not to be found in the path.
99696 if test "x$as_myself" = x; then
99697 as_myself=$0
99699 if test ! -f "$as_myself"; then
99700 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
99701 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
99702 { (exit 1); exit 1; }; }
99704 case $CONFIG_SHELL in
99706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99707 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
99709 IFS=$as_save_IFS
99710 test -z "$as_dir" && as_dir=.
99711 for as_base in sh bash ksh sh5; do
99712 case $as_dir in
99714 if ("$as_dir/$as_base" -c '
99715 as_lineno_1=$LINENO
99716 as_lineno_2=$LINENO
99717 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
99718 test "x$as_lineno_1" != "x$as_lineno_2" &&
99719 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
99720 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
99721 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
99722 CONFIG_SHELL=$as_dir/$as_base
99723 export CONFIG_SHELL
99724 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
99725 fi;;
99726 esac
99727 done
99728 done
99730 esac
99732 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
99733 # uniformly replaced by the line number. The first 'sed' inserts a
99734 # line-number line before each line; the second 'sed' does the real
99735 # work. The second script uses 'N' to pair each line-number line
99736 # with the numbered line, and appends trailing '-' during
99737 # substitution so that $LINENO is not a special case at line end.
99738 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
99739 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
99740 sed '=' <$as_myself |
99741 sed '
99743 s,$,-,
99744 : loop
99745 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
99746 t loop
99747 s,-$,,
99748 s,^['$as_cr_digits']*\n,,
99749 ' >$as_me.lineno &&
99750 chmod +x $as_me.lineno ||
99751 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
99752 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
99753 { (exit 1); exit 1; }; }
99755 # Don't try to exec as it changes $[0], causing all sort of problems
99756 # (the dirname of $[0] is not the place where we might find the
99757 # original and so on. Autoconf is especially sensible to this).
99758 . ./$as_me.lineno
99759 # Exit status is that of the last command.
99760 exit
99764 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
99765 *c*,-n*) ECHO_N= ECHO_C='
99766 ' ECHO_T=' ' ;;
99767 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
99768 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
99769 esac
99771 if expr a : '\(a\)' >/dev/null 2>&1; then
99772 as_expr=expr
99773 else
99774 as_expr=false
99777 rm -f conf$$ conf$$.exe conf$$.file
99778 echo >conf$$.file
99779 if ln -s conf$$.file conf$$ 2>/dev/null; then
99780 # We could just check for DJGPP; but this test a) works b) is more generic
99781 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
99782 if test -f conf$$.exe; then
99783 # Don't use ln at all; we don't have any links
99784 as_ln_s='cp -p'
99785 else
99786 as_ln_s='ln -s'
99788 elif ln conf$$.file conf$$ 2>/dev/null; then
99789 as_ln_s=ln
99790 else
99791 as_ln_s='cp -p'
99793 rm -f conf$$ conf$$.exe conf$$.file
99795 if mkdir -p . 2>/dev/null; then
99796 as_mkdir_p=:
99797 else
99798 test -d ./-p && rmdir ./-p
99799 as_mkdir_p=false
99802 as_executable_p="test -f"
99804 # Sed expression to map a string onto a valid CPP name.
99805 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
99807 # Sed expression to map a string onto a valid variable name.
99808 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
99811 # IFS
99812 # We need space, tab and new line, in precisely that order.
99813 as_nl='
99815 IFS=" $as_nl"
99817 # CDPATH.
99818 $as_unset CDPATH
99820 exec 6>&1
99822 # Open the log real soon, to keep \$[0] and so on meaningful, and to
99823 # report actual input values of CONFIG_FILES etc. instead of their
99824 # values after options handling. Logging --version etc. is OK.
99825 exec 5>>config.log
99827 echo
99828 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
99829 ## Running $as_me. ##
99830 _ASBOX
99831 } >&5
99832 cat >&5 <<_CSEOF
99834 This file was extended by package-unused $as_me version-unused, which was
99835 generated by GNU Autoconf 2.59. Invocation command line was
99837 CONFIG_FILES = $CONFIG_FILES
99838 CONFIG_HEADERS = $CONFIG_HEADERS
99839 CONFIG_LINKS = $CONFIG_LINKS
99840 CONFIG_COMMANDS = $CONFIG_COMMANDS
99841 $ $0 $@
99843 _CSEOF
99844 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
99845 echo >&5
99846 _ACEOF
99848 # Files that config.status was made for.
99849 if test -n "$ac_config_files"; then
99850 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
99853 if test -n "$ac_config_headers"; then
99854 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
99857 if test -n "$ac_config_links"; then
99858 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
99861 if test -n "$ac_config_commands"; then
99862 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
99865 cat >>$CONFIG_STATUS <<\_ACEOF
99867 ac_cs_usage="\
99868 \`$as_me' instantiates files from templates according to the
99869 current configuration.
99871 Usage: $0 [OPTIONS] [FILE]...
99873 -h, --help print this help, then exit
99874 -V, --version print version number, then exit
99875 -q, --quiet do not print progress messages
99876 -d, --debug don't remove temporary files
99877 --recheck update $as_me by reconfiguring in the same conditions
99878 --file=FILE[:TEMPLATE]
99879 instantiate the configuration file FILE
99880 --header=FILE[:TEMPLATE]
99881 instantiate the configuration header FILE
99883 Configuration files:
99884 $config_files
99886 Configuration headers:
99887 $config_headers
99889 Configuration commands:
99890 $config_commands
99892 Report bugs to <bug-autoconf@gnu.org>."
99893 _ACEOF
99895 cat >>$CONFIG_STATUS <<_ACEOF
99896 ac_cs_version="\\
99897 package-unused config.status version-unused
99898 configured by $0, generated by GNU Autoconf 2.59,
99899 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
99901 Copyright (C) 2003 Free Software Foundation, Inc.
99902 This config.status script is free software; the Free Software Foundation
99903 gives unlimited permission to copy, distribute and modify it."
99904 srcdir=$srcdir
99905 INSTALL="$INSTALL"
99906 _ACEOF
99908 cat >>$CONFIG_STATUS <<\_ACEOF
99909 # If no file are specified by the user, then we need to provide default
99910 # value. By we need to know if files were specified by the user.
99911 ac_need_defaults=:
99912 while test $# != 0
99914 case $1 in
99915 --*=*)
99916 ac_option=`expr "x$1" : 'x\([^=]*\)='`
99917 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
99918 ac_shift=:
99921 ac_option=$1
99922 ac_optarg=$2
99923 ac_shift=shift
99925 *) # This is not an option, so the user has probably given explicit
99926 # arguments.
99927 ac_option=$1
99928 ac_need_defaults=false;;
99929 esac
99931 case $ac_option in
99932 # Handling of the options.
99933 _ACEOF
99934 cat >>$CONFIG_STATUS <<\_ACEOF
99935 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
99936 ac_cs_recheck=: ;;
99937 --version | --vers* | -V )
99938 echo "$ac_cs_version"; exit 0 ;;
99939 --he | --h)
99940 # Conflict between --help and --header
99941 { { echo "$as_me:$LINENO: error: ambiguous option: $1
99942 Try \`$0 --help' for more information." >&5
99943 echo "$as_me: error: ambiguous option: $1
99944 Try \`$0 --help' for more information." >&2;}
99945 { (exit 1); exit 1; }; };;
99946 --help | --hel | -h )
99947 echo "$ac_cs_usage"; exit 0 ;;
99948 --debug | --d* | -d )
99949 debug=: ;;
99950 --file | --fil | --fi | --f )
99951 $ac_shift
99952 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
99953 ac_need_defaults=false;;
99954 --header | --heade | --head | --hea )
99955 $ac_shift
99956 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
99957 ac_need_defaults=false;;
99958 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
99959 | -silent | --silent | --silen | --sile | --sil | --si | --s)
99960 ac_cs_silent=: ;;
99962 # This is an error.
99963 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
99964 Try \`$0 --help' for more information." >&5
99965 echo "$as_me: error: unrecognized option: $1
99966 Try \`$0 --help' for more information." >&2;}
99967 { (exit 1); exit 1; }; } ;;
99969 *) ac_config_targets="$ac_config_targets $1" ;;
99971 esac
99972 shift
99973 done
99975 ac_configure_extra_args=
99977 if $ac_cs_silent; then
99978 exec 6>/dev/null
99979 ac_configure_extra_args="$ac_configure_extra_args --silent"
99982 _ACEOF
99983 cat >>$CONFIG_STATUS <<_ACEOF
99984 if \$ac_cs_recheck; then
99985 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
99986 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
99989 _ACEOF
99991 cat >>$CONFIG_STATUS <<_ACEOF
99993 # INIT-COMMANDS section.
99997 srcdir="$srcdir"
99998 host="$host"
99999 target="$target"
100000 with_multisubdir="$with_multisubdir"
100001 with_multisrctop="$with_multisrctop"
100002 with_target_subdir="$with_target_subdir"
100003 ac_configure_args="${multilib_arg} ${ac_configure_args}"
100004 multi_basedir="$multi_basedir"
100005 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
100006 CC="$CC"
100008 # Variables needed in config.status (file generation) which aren't already
100009 # passed by autoconf.
100010 SUBDIRS="$SUBDIRS"
100013 _ACEOF
100017 cat >>$CONFIG_STATUS <<\_ACEOF
100018 for ac_config_target in $ac_config_targets
100020 case "$ac_config_target" in
100021 # Handling of arguments.
100022 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
100023 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
100024 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
100025 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
100026 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
100027 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
100028 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
100029 "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
100030 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
100031 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
100032 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
100033 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
100034 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
100035 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
100036 { (exit 1); exit 1; }; };;
100040 # If the user did not use the arguments to specify the items to instantiate,
100041 # then the envvar interface is used. Set only those that are not.
100042 # We use the long form for the default assignment because of an extremely
100043 # bizarre bug on SunOS 4.1.3.
100044 if $ac_need_defaults; then
100045 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
100046 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
100047 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
100050 # Have a temporary directory for convenience. Make it in the build tree
100051 # simply because there is no reason to put it here, and in addition,
100052 # creating and moving files from /tmp can sometimes cause problems.
100053 # Create a temporary directory, and hook for its removal unless debugging.
100054 $debug ||
100056 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
100057 trap '{ (exit 1); exit 1; }' 1 2 13 15
100060 # Create a (secure) tmp directory for tmp files.
100063 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
100064 test -n "$tmp" && test -d "$tmp"
100067 tmp=./confstat$$-$RANDOM
100068 (umask 077 && mkdir $tmp)
100071 echo "$me: cannot create a temporary directory in ." >&2
100072 { (exit 1); exit 1; }
100075 _ACEOF
100077 cat >>$CONFIG_STATUS <<_ACEOF
100080 # CONFIG_FILES section.
100083 # No need to generate the scripts if there are no CONFIG_FILES.
100084 # This happens for instance when ./config.status config.h
100085 if test -n "\$CONFIG_FILES"; then
100086 # Protect against being on the right side of a sed subst in config.status.
100087 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
100088 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
100089 s,@SHELL@,$SHELL,;t t
100090 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
100091 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
100092 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
100093 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
100094 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
100095 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
100096 s,@exec_prefix@,$exec_prefix,;t t
100097 s,@prefix@,$prefix,;t t
100098 s,@program_transform_name@,$program_transform_name,;t t
100099 s,@bindir@,$bindir,;t t
100100 s,@sbindir@,$sbindir,;t t
100101 s,@libexecdir@,$libexecdir,;t t
100102 s,@datadir@,$datadir,;t t
100103 s,@sysconfdir@,$sysconfdir,;t t
100104 s,@sharedstatedir@,$sharedstatedir,;t t
100105 s,@localstatedir@,$localstatedir,;t t
100106 s,@libdir@,$libdir,;t t
100107 s,@includedir@,$includedir,;t t
100108 s,@oldincludedir@,$oldincludedir,;t t
100109 s,@infodir@,$infodir,;t t
100110 s,@mandir@,$mandir,;t t
100111 s,@build_alias@,$build_alias,;t t
100112 s,@host_alias@,$host_alias,;t t
100113 s,@target_alias@,$target_alias,;t t
100114 s,@DEFS@,$DEFS,;t t
100115 s,@ECHO_C@,$ECHO_C,;t t
100116 s,@ECHO_N@,$ECHO_N,;t t
100117 s,@ECHO_T@,$ECHO_T,;t t
100118 s,@LIBS@,$LIBS,;t t
100119 s,@libtool_VERSION@,$libtool_VERSION,;t t
100120 s,@multi_basedir@,$multi_basedir,;t t
100121 s,@build@,$build,;t t
100122 s,@build_cpu@,$build_cpu,;t t
100123 s,@build_vendor@,$build_vendor,;t t
100124 s,@build_os@,$build_os,;t t
100125 s,@host@,$host,;t t
100126 s,@host_cpu@,$host_cpu,;t t
100127 s,@host_vendor@,$host_vendor,;t t
100128 s,@host_os@,$host_os,;t t
100129 s,@target@,$target,;t t
100130 s,@target_cpu@,$target_cpu,;t t
100131 s,@target_vendor@,$target_vendor,;t t
100132 s,@target_os@,$target_os,;t t
100133 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
100134 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
100135 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
100136 s,@CYGPATH_W@,$CYGPATH_W,;t t
100137 s,@PACKAGE@,$PACKAGE,;t t
100138 s,@VERSION@,$VERSION,;t t
100139 s,@ACLOCAL@,$ACLOCAL,;t t
100140 s,@AUTOCONF@,$AUTOCONF,;t t
100141 s,@AUTOMAKE@,$AUTOMAKE,;t t
100142 s,@AUTOHEADER@,$AUTOHEADER,;t t
100143 s,@MAKEINFO@,$MAKEINFO,;t t
100144 s,@install_sh@,$install_sh,;t t
100145 s,@STRIP@,$STRIP,;t t
100146 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
100147 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
100148 s,@mkdir_p@,$mkdir_p,;t t
100149 s,@AWK@,$AWK,;t t
100150 s,@SET_MAKE@,$SET_MAKE,;t t
100151 s,@am__leading_dot@,$am__leading_dot,;t t
100152 s,@AMTAR@,$AMTAR,;t t
100153 s,@am__tar@,$am__tar,;t t
100154 s,@am__untar@,$am__untar,;t t
100155 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
100156 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
100157 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
100158 s,@CC@,$CC,;t t
100159 s,@ac_ct_CC@,$ac_ct_CC,;t t
100160 s,@EXEEXT@,$EXEEXT,;t t
100161 s,@OBJEXT@,$OBJEXT,;t t
100162 s,@CXX@,$CXX,;t t
100163 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
100164 s,@CFLAGS@,$CFLAGS,;t t
100165 s,@CXXFLAGS@,$CXXFLAGS,;t t
100166 s,@LN_S@,$LN_S,;t t
100167 s,@AS@,$AS,;t t
100168 s,@ac_ct_AS@,$ac_ct_AS,;t t
100169 s,@AR@,$AR,;t t
100170 s,@ac_ct_AR@,$ac_ct_AR,;t t
100171 s,@RANLIB@,$RANLIB,;t t
100172 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
100173 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
100174 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
100175 s,@MAINT@,$MAINT,;t t
100176 s,@LIBTOOL@,$LIBTOOL,;t t
100177 s,@CXXCPP@,$CXXCPP,;t t
100178 s,@CPPFLAGS@,$CPPFLAGS,;t t
100179 s,@enable_shared@,$enable_shared,;t t
100180 s,@enable_static@,$enable_static,;t t
100181 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
100182 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
100183 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
100184 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
100185 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
100186 s,@CSTDIO_H@,$CSTDIO_H,;t t
100187 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
100188 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
100189 s,@CPP@,$CPP,;t t
100190 s,@EGREP@,$EGREP,;t t
100191 s,@check_msgfmt@,$check_msgfmt,;t t
100192 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
100193 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
100194 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
100195 s,@USE_NLS@,$USE_NLS,;t t
100196 s,@CLOCALE_H@,$CLOCALE_H,;t t
100197 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
100198 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
100199 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
100200 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
100201 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
100202 s,@CMONEY_CC@,$CMONEY_CC,;t t
100203 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
100204 s,@CTIME_H@,$CTIME_H,;t t
100205 s,@CTIME_CC@,$CTIME_CC,;t t
100206 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
100207 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
100208 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
100209 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
100210 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
100211 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
100212 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
100213 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
100214 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
100215 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
100216 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
100217 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
100218 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
100219 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
100220 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
100221 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
100222 s,@WERROR@,$WERROR,;t t
100223 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
100224 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
100225 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
100226 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
100227 s,@LIBICONV@,$LIBICONV,;t t
100228 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
100229 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
100230 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
100231 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
100232 s,@baseline_dir@,$baseline_dir,;t t
100233 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
100234 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
100235 s,@GLIBCXX_TEST_THREAD_TRUE@,$GLIBCXX_TEST_THREAD_TRUE,;t t
100236 s,@GLIBCXX_TEST_THREAD_FALSE@,$GLIBCXX_TEST_THREAD_FALSE,;t t
100237 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
100238 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
100239 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
100240 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
100241 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
100242 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
100243 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
100244 s,@gxx_include_dir@,$gxx_include_dir,;t t
100245 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
100246 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
100247 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
100248 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
100249 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
100250 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
100251 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
100252 s,@LIBOBJS@,$LIBOBJS,;t t
100253 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
100256 _ACEOF
100258 cat >>$CONFIG_STATUS <<\_ACEOF
100259 # Split the substitutions into bite-sized pieces for seds with
100260 # small command number limits, like on Digital OSF/1 and HP-UX.
100261 ac_max_sed_lines=48
100262 ac_sed_frag=1 # Number of current file.
100263 ac_beg=1 # First line for current file.
100264 ac_end=$ac_max_sed_lines # Line after last line for current file.
100265 ac_more_lines=:
100266 ac_sed_cmds=
100267 while $ac_more_lines; do
100268 if test $ac_beg -gt 1; then
100269 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
100271 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
100273 if test ! -s $tmp/subs.frag; then
100274 ac_more_lines=false
100276 # The purpose of the label and of the branching condition is to
100277 # speed up the sed processing (if there are no `@' at all, there
100278 # is no need to browse any of the substitutions).
100279 # These are the two extra sed commands mentioned above.
100280 (echo ':t
100281 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
100282 if test -z "$ac_sed_cmds"; then
100283 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
100285 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
100287 ac_sed_frag=`expr $ac_sed_frag + 1`
100288 ac_beg=$ac_end
100289 ac_end=`expr $ac_end + $ac_max_sed_lines`
100292 if test -z "$ac_sed_cmds"; then
100293 ac_sed_cmds=cat
100295 fi # test -n "$CONFIG_FILES"
100297 _ACEOF
100298 cat >>$CONFIG_STATUS <<\_ACEOF
100299 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
100300 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
100301 case $ac_file in
100302 - | *:- | *:-:* ) # input from stdin
100303 cat >$tmp/stdin
100304 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
100305 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
100306 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
100307 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
100308 * ) ac_file_in=$ac_file.in ;;
100311 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
100312 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
100313 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100314 X"$ac_file" : 'X\(//\)[^/]' \| \
100315 X"$ac_file" : 'X\(//\)$' \| \
100316 X"$ac_file" : 'X\(/\)' \| \
100317 . : '\(.\)' 2>/dev/null ||
100318 echo X"$ac_file" |
100319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100320 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100321 /^X\(\/\/\)$/{ s//\1/; q; }
100322 /^X\(\/\).*/{ s//\1/; q; }
100323 s/.*/./; q'`
100324 { if $as_mkdir_p; then
100325 mkdir -p "$ac_dir"
100327 as_dir="$ac_dir"
100328 as_dirs=
100329 while test ! -d "$as_dir"; do
100330 as_dirs="$as_dir $as_dirs"
100331 as_dir=`(dirname "$as_dir") 2>/dev/null ||
100332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100333 X"$as_dir" : 'X\(//\)[^/]' \| \
100334 X"$as_dir" : 'X\(//\)$' \| \
100335 X"$as_dir" : 'X\(/\)' \| \
100336 . : '\(.\)' 2>/dev/null ||
100337 echo X"$as_dir" |
100338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100339 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100340 /^X\(\/\/\)$/{ s//\1/; q; }
100341 /^X\(\/\).*/{ s//\1/; q; }
100342 s/.*/./; q'`
100344 test ! -n "$as_dirs" || mkdir $as_dirs
100345 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
100346 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
100347 { (exit 1); exit 1; }; }; }
100349 ac_builddir=.
100351 if test "$ac_dir" != .; then
100352 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
100353 # A "../" for each directory in $ac_dir_suffix.
100354 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
100356 ac_dir_suffix= ac_top_builddir=
100359 case $srcdir in
100360 .) # No --srcdir option. We are building in place.
100361 ac_srcdir=.
100362 if test -z "$ac_top_builddir"; then
100363 ac_top_srcdir=.
100365 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
100366 fi ;;
100367 [\\/]* | ?:[\\/]* ) # Absolute path.
100368 ac_srcdir=$srcdir$ac_dir_suffix;
100369 ac_top_srcdir=$srcdir ;;
100370 *) # Relative path.
100371 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
100372 ac_top_srcdir=$ac_top_builddir$srcdir ;;
100375 # Do not use `cd foo && pwd` to compute absolute paths, because
100376 # the directories may not exist.
100377 case `pwd` in
100378 .) ac_abs_builddir="$ac_dir";;
100380 case "$ac_dir" in
100381 .) ac_abs_builddir=`pwd`;;
100382 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
100383 *) ac_abs_builddir=`pwd`/"$ac_dir";;
100384 esac;;
100386 case $ac_abs_builddir in
100387 .) ac_abs_top_builddir=${ac_top_builddir}.;;
100389 case ${ac_top_builddir}. in
100390 .) ac_abs_top_builddir=$ac_abs_builddir;;
100391 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
100392 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
100393 esac;;
100395 case $ac_abs_builddir in
100396 .) ac_abs_srcdir=$ac_srcdir;;
100398 case $ac_srcdir in
100399 .) ac_abs_srcdir=$ac_abs_builddir;;
100400 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
100401 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
100402 esac;;
100404 case $ac_abs_builddir in
100405 .) ac_abs_top_srcdir=$ac_top_srcdir;;
100407 case $ac_top_srcdir in
100408 .) ac_abs_top_srcdir=$ac_abs_builddir;;
100409 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
100410 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
100411 esac;;
100415 case $INSTALL in
100416 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
100417 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
100420 if test x"$ac_file" != x-; then
100421 { echo "$as_me:$LINENO: creating $ac_file" >&5
100422 echo "$as_me: creating $ac_file" >&6;}
100423 rm -f "$ac_file"
100425 # Let's still pretend it is `configure' which instantiates (i.e., don't
100426 # use $as_me), people would be surprised to read:
100427 # /* config.h. Generated by config.status. */
100428 if test x"$ac_file" = x-; then
100429 configure_input=
100431 configure_input="$ac_file. "
100433 configure_input=$configure_input"Generated from `echo $ac_file_in |
100434 sed 's,.*/,,'` by configure."
100436 # First look for the input files in the build tree, otherwise in the
100437 # src tree.
100438 ac_file_inputs=`IFS=:
100439 for f in $ac_file_in; do
100440 case $f in
100441 -) echo $tmp/stdin ;;
100442 [\\/$]*)
100443 # Absolute (can't be DOS-style, as IFS=:)
100444 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
100445 echo "$as_me: error: cannot find input file: $f" >&2;}
100446 { (exit 1); exit 1; }; }
100447 echo "$f";;
100448 *) # Relative
100449 if test -f "$f"; then
100450 # Build tree
100451 echo "$f"
100452 elif test -f "$srcdir/$f"; then
100453 # Source tree
100454 echo "$srcdir/$f"
100456 # /dev/null tree
100457 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
100458 echo "$as_me: error: cannot find input file: $f" >&2;}
100459 { (exit 1); exit 1; }; }
100462 done` || { (exit 1); exit 1; }
100463 _ACEOF
100464 cat >>$CONFIG_STATUS <<_ACEOF
100465 sed "$ac_vpsub
100466 $extrasub
100467 _ACEOF
100468 cat >>$CONFIG_STATUS <<\_ACEOF
100470 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
100471 s,@configure_input@,$configure_input,;t t
100472 s,@srcdir@,$ac_srcdir,;t t
100473 s,@abs_srcdir@,$ac_abs_srcdir,;t t
100474 s,@top_srcdir@,$ac_top_srcdir,;t t
100475 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
100476 s,@builddir@,$ac_builddir,;t t
100477 s,@abs_builddir@,$ac_abs_builddir,;t t
100478 s,@top_builddir@,$ac_top_builddir,;t t
100479 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
100480 s,@INSTALL@,$ac_INSTALL,;t t
100481 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
100482 rm -f $tmp/stdin
100483 if test x"$ac_file" != x-; then
100484 mv $tmp/out $ac_file
100486 cat $tmp/out
100487 rm -f $tmp/out
100490 # Run the commands associated with the file.
100491 case $ac_file in
100492 scripts/check_survey ) chmod +x scripts/check_survey ;;
100493 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
100496 _ACEOF
100497 cat >>$CONFIG_STATUS <<\_ACEOF
100500 # CONFIG_HEADER section.
100503 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
100504 # NAME is the cpp macro being defined and VALUE is the value it is being given.
100506 # ac_d sets the value in "#define NAME VALUE" lines.
100507 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
100508 ac_dB='[ ].*$,\1#\2'
100509 ac_dC=' '
100510 ac_dD=',;t'
100511 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
100512 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
100513 ac_uB='$,\1#\2define\3'
100514 ac_uC=' '
100515 ac_uD=',;t'
100517 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
100518 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
100519 case $ac_file in
100520 - | *:- | *:-:* ) # input from stdin
100521 cat >$tmp/stdin
100522 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
100523 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
100524 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
100525 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
100526 * ) ac_file_in=$ac_file.in ;;
100529 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
100530 echo "$as_me: creating $ac_file" >&6;}
100532 # First look for the input files in the build tree, otherwise in the
100533 # src tree.
100534 ac_file_inputs=`IFS=:
100535 for f in $ac_file_in; do
100536 case $f in
100537 -) echo $tmp/stdin ;;
100538 [\\/$]*)
100539 # Absolute (can't be DOS-style, as IFS=:)
100540 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
100541 echo "$as_me: error: cannot find input file: $f" >&2;}
100542 { (exit 1); exit 1; }; }
100543 # Do quote $f, to prevent DOS paths from being IFS'd.
100544 echo "$f";;
100545 *) # Relative
100546 if test -f "$f"; then
100547 # Build tree
100548 echo "$f"
100549 elif test -f "$srcdir/$f"; then
100550 # Source tree
100551 echo "$srcdir/$f"
100553 # /dev/null tree
100554 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
100555 echo "$as_me: error: cannot find input file: $f" >&2;}
100556 { (exit 1); exit 1; }; }
100559 done` || { (exit 1); exit 1; }
100560 # Remove the trailing spaces.
100561 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
100563 _ACEOF
100565 # Transform confdefs.h into two sed scripts, `conftest.defines' and
100566 # `conftest.undefs', that substitutes the proper values into
100567 # config.h.in to produce config.h. The first handles `#define'
100568 # templates, and the second `#undef' templates.
100569 # And first: Protect against being on the right side of a sed subst in
100570 # config.status. Protect against being in an unquoted here document
100571 # in config.status.
100572 rm -f conftest.defines conftest.undefs
100573 # Using a here document instead of a string reduces the quoting nightmare.
100574 # Putting comments in sed scripts is not portable.
100576 # `end' is used to avoid that the second main sed command (meant for
100577 # 0-ary CPP macros) applies to n-ary macro definitions.
100578 # See the Autoconf documentation for `clear'.
100579 cat >confdef2sed.sed <<\_ACEOF
100580 s/[\\&,]/\\&/g
100581 s,[\\$`],\\&,g
100582 t clear
100583 : clear
100584 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
100585 t end
100586 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
100587 : end
100588 _ACEOF
100589 # If some macros were called several times there might be several times
100590 # the same #defines, which is useless. Nevertheless, we may not want to
100591 # sort them, since we want the *last* AC-DEFINE to be honored.
100592 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
100593 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
100594 rm -f confdef2sed.sed
100596 # This sed command replaces #undef with comments. This is necessary, for
100597 # example, in the case of _POSIX_SOURCE, which is predefined and required
100598 # on some systems where configure will not decide to define it.
100599 cat >>conftest.undefs <<\_ACEOF
100600 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
100601 _ACEOF
100603 # Break up conftest.defines because some shells have a limit on the size
100604 # of here documents, and old seds have small limits too (100 cmds).
100605 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
100606 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
100607 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
100608 echo ' :' >>$CONFIG_STATUS
100609 rm -f conftest.tail
100610 while grep . conftest.defines >/dev/null
100612 # Write a limited-size here document to $tmp/defines.sed.
100613 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
100614 # Speed up: don't consider the non `#define' lines.
100615 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
100616 # Work around the forget-to-reset-the-flag bug.
100617 echo 't clr' >>$CONFIG_STATUS
100618 echo ': clr' >>$CONFIG_STATUS
100619 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
100620 echo 'CEOF
100621 sed -f $tmp/defines.sed $tmp/in >$tmp/out
100622 rm -f $tmp/in
100623 mv $tmp/out $tmp/in
100624 ' >>$CONFIG_STATUS
100625 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
100626 rm -f conftest.defines
100627 mv conftest.tail conftest.defines
100629 rm -f conftest.defines
100630 echo ' fi # grep' >>$CONFIG_STATUS
100631 echo >>$CONFIG_STATUS
100633 # Break up conftest.undefs because some shells have a limit on the size
100634 # of here documents, and old seds have small limits too (100 cmds).
100635 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
100636 rm -f conftest.tail
100637 while grep . conftest.undefs >/dev/null
100639 # Write a limited-size here document to $tmp/undefs.sed.
100640 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
100641 # Speed up: don't consider the non `#undef'
100642 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
100643 # Work around the forget-to-reset-the-flag bug.
100644 echo 't clr' >>$CONFIG_STATUS
100645 echo ': clr' >>$CONFIG_STATUS
100646 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
100647 echo 'CEOF
100648 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
100649 rm -f $tmp/in
100650 mv $tmp/out $tmp/in
100651 ' >>$CONFIG_STATUS
100652 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
100653 rm -f conftest.undefs
100654 mv conftest.tail conftest.undefs
100656 rm -f conftest.undefs
100658 cat >>$CONFIG_STATUS <<\_ACEOF
100659 # Let's still pretend it is `configure' which instantiates (i.e., don't
100660 # use $as_me), people would be surprised to read:
100661 # /* config.h. Generated by config.status. */
100662 if test x"$ac_file" = x-; then
100663 echo "/* Generated by configure. */" >$tmp/config.h
100665 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
100667 cat $tmp/in >>$tmp/config.h
100668 rm -f $tmp/in
100669 if test x"$ac_file" != x-; then
100670 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
100671 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
100672 echo "$as_me: $ac_file is unchanged" >&6;}
100674 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
100675 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100676 X"$ac_file" : 'X\(//\)[^/]' \| \
100677 X"$ac_file" : 'X\(//\)$' \| \
100678 X"$ac_file" : 'X\(/\)' \| \
100679 . : '\(.\)' 2>/dev/null ||
100680 echo X"$ac_file" |
100681 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100682 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100683 /^X\(\/\/\)$/{ s//\1/; q; }
100684 /^X\(\/\).*/{ s//\1/; q; }
100685 s/.*/./; q'`
100686 { if $as_mkdir_p; then
100687 mkdir -p "$ac_dir"
100689 as_dir="$ac_dir"
100690 as_dirs=
100691 while test ! -d "$as_dir"; do
100692 as_dirs="$as_dir $as_dirs"
100693 as_dir=`(dirname "$as_dir") 2>/dev/null ||
100694 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100695 X"$as_dir" : 'X\(//\)[^/]' \| \
100696 X"$as_dir" : 'X\(//\)$' \| \
100697 X"$as_dir" : 'X\(/\)' \| \
100698 . : '\(.\)' 2>/dev/null ||
100699 echo X"$as_dir" |
100700 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100701 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100702 /^X\(\/\/\)$/{ s//\1/; q; }
100703 /^X\(\/\).*/{ s//\1/; q; }
100704 s/.*/./; q'`
100706 test ! -n "$as_dirs" || mkdir $as_dirs
100707 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
100708 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
100709 { (exit 1); exit 1; }; }; }
100711 rm -f $ac_file
100712 mv $tmp/config.h $ac_file
100715 cat $tmp/config.h
100716 rm -f $tmp/config.h
100718 # Compute $ac_file's index in $config_headers.
100719 _am_stamp_count=1
100720 for _am_header in $config_headers :; do
100721 case $_am_header in
100722 $ac_file | $ac_file:* )
100723 break ;;
100725 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
100728 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
100729 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100730 X$ac_file : 'X\(//\)[^/]' \| \
100731 X$ac_file : 'X\(//\)$' \| \
100732 X$ac_file : 'X\(/\)' \| \
100733 . : '\(.\)' 2>/dev/null ||
100734 echo X$ac_file |
100735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100736 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100737 /^X\(\/\/\)$/{ s//\1/; q; }
100738 /^X\(\/\).*/{ s//\1/; q; }
100739 s/.*/./; q'`/stamp-h$_am_stamp_count
100741 _ACEOF
100742 cat >>$CONFIG_STATUS <<\_ACEOF
100745 # CONFIG_COMMANDS section.
100747 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
100748 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
100749 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
100750 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
100751 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100752 X"$ac_dest" : 'X\(//\)[^/]' \| \
100753 X"$ac_dest" : 'X\(//\)$' \| \
100754 X"$ac_dest" : 'X\(/\)' \| \
100755 . : '\(.\)' 2>/dev/null ||
100756 echo X"$ac_dest" |
100757 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100758 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100759 /^X\(\/\/\)$/{ s//\1/; q; }
100760 /^X\(\/\).*/{ s//\1/; q; }
100761 s/.*/./; q'`
100762 { if $as_mkdir_p; then
100763 mkdir -p "$ac_dir"
100765 as_dir="$ac_dir"
100766 as_dirs=
100767 while test ! -d "$as_dir"; do
100768 as_dirs="$as_dir $as_dirs"
100769 as_dir=`(dirname "$as_dir") 2>/dev/null ||
100770 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100771 X"$as_dir" : 'X\(//\)[^/]' \| \
100772 X"$as_dir" : 'X\(//\)$' \| \
100773 X"$as_dir" : 'X\(/\)' \| \
100774 . : '\(.\)' 2>/dev/null ||
100775 echo X"$as_dir" |
100776 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100777 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100778 /^X\(\/\/\)$/{ s//\1/; q; }
100779 /^X\(\/\).*/{ s//\1/; q; }
100780 s/.*/./; q'`
100782 test ! -n "$as_dirs" || mkdir $as_dirs
100783 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
100784 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
100785 { (exit 1); exit 1; }; }; }
100787 ac_builddir=.
100789 if test "$ac_dir" != .; then
100790 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
100791 # A "../" for each directory in $ac_dir_suffix.
100792 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
100794 ac_dir_suffix= ac_top_builddir=
100797 case $srcdir in
100798 .) # No --srcdir option. We are building in place.
100799 ac_srcdir=.
100800 if test -z "$ac_top_builddir"; then
100801 ac_top_srcdir=.
100803 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
100804 fi ;;
100805 [\\/]* | ?:[\\/]* ) # Absolute path.
100806 ac_srcdir=$srcdir$ac_dir_suffix;
100807 ac_top_srcdir=$srcdir ;;
100808 *) # Relative path.
100809 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
100810 ac_top_srcdir=$ac_top_builddir$srcdir ;;
100813 # Do not use `cd foo && pwd` to compute absolute paths, because
100814 # the directories may not exist.
100815 case `pwd` in
100816 .) ac_abs_builddir="$ac_dir";;
100818 case "$ac_dir" in
100819 .) ac_abs_builddir=`pwd`;;
100820 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
100821 *) ac_abs_builddir=`pwd`/"$ac_dir";;
100822 esac;;
100824 case $ac_abs_builddir in
100825 .) ac_abs_top_builddir=${ac_top_builddir}.;;
100827 case ${ac_top_builddir}. in
100828 .) ac_abs_top_builddir=$ac_abs_builddir;;
100829 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
100830 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
100831 esac;;
100833 case $ac_abs_builddir in
100834 .) ac_abs_srcdir=$ac_srcdir;;
100836 case $ac_srcdir in
100837 .) ac_abs_srcdir=$ac_abs_builddir;;
100838 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
100839 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
100840 esac;;
100842 case $ac_abs_builddir in
100843 .) ac_abs_top_srcdir=$ac_top_srcdir;;
100845 case $ac_top_srcdir in
100846 .) ac_abs_top_srcdir=$ac_abs_builddir;;
100847 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
100848 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
100849 esac;;
100853 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
100854 echo "$as_me: executing $ac_dest commands" >&6;}
100855 case $ac_dest in
100856 default-1 )
100857 # Only add multilib support code if we just rebuilt the top-level
100858 # Makefile.
100859 case " $CONFIG_FILES " in
100860 *" Makefile "*)
100861 ac_file=Makefile . ${multi_basedir}/config-ml.in
100863 esac ;;
100864 default ) if test -n "$CONFIG_FILES"; then
100865 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
100866 # that multilib installs will end up installed in the correct place.
100867 # The testsuite needs it for multilib-aware ABI baseline files.
100868 # To work around this not being passed down from config-ml.in ->
100869 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
100870 # append it here. Only modify Makefiles that have just been created.
100872 # Also, get rid of this simulated-VPATH thing that automake does.
100873 cat > vpsed << \_EOF
100874 s!`test -f '$<' || echo '$(srcdir)/'`!!
100876 for i in $SUBDIRS; do
100877 case $CONFIG_FILES in
100878 *${i}/Makefile*)
100879 #echo "Adding MULTISUBDIR to $i/Makefile"
100880 sed -f vpsed $i/Makefile > tmp
100881 grep '^MULTISUBDIR =' Makefile >> tmp
100882 mv tmp $i/Makefile
100886 rm vpsed
100888 (cd include && ${MAKE-make})
100892 _ACEOF
100894 cat >>$CONFIG_STATUS <<\_ACEOF
100896 { (exit 0); exit 0; }
100897 _ACEOF
100898 chmod +x $CONFIG_STATUS
100899 ac_clean_files=$ac_clean_files_save
100902 # configure is writing to config.log, and then calls config.status.
100903 # config.status does its own redirection, appending to config.log.
100904 # Unfortunately, on DOS this fails, as config.log is still kept open
100905 # by configure, so config.status won't be able to write to it; its
100906 # output is simply discarded. So we exec the FD to /dev/null,
100907 # effectively closing config.log, so it can be properly (re)opened and
100908 # appended to by config.status. When coming back to configure, we
100909 # need to make the FD available again.
100910 if test "$no_create" != yes; then
100911 ac_cs_success=:
100912 ac_config_status_args=
100913 test "$silent" = yes &&
100914 ac_config_status_args="$ac_config_status_args --quiet"
100915 exec 5>/dev/null
100916 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
100917 exec 5>>config.log
100918 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
100919 # would make configure fail if this is the last instruction.
100920 $ac_cs_success || { (exit 1); exit 1; }