* config/cris/cris.h: Revert my "fix comment typos" patch.
[official-gcc.git] / libstdc++-v3 / configure
blob7db2d2edd534215dbb4853ec61d678a3aa9aaf04
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249 exec 6>&1
252 # Initializations.
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='package-unused'
269 PACKAGE_TARNAME='libstdc++'
270 PACKAGE_VERSION='version-unused'
271 PACKAGE_STRING='package-unused version-unused'
272 PACKAGE_BUGREPORT=''
274 ac_unique_file="src/ios.cc"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 # include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 # include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 # include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOL CXXCPP CPPFLAGS enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC CPP EGREP check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CCODECVT_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE glibcxx_thread_h DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV SYMVER_MAP port_specific_symbol_files GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE baseline_dir GLIBCXX_TEST_WCHAR_T_TRUE GLIBCXX_TEST_WCHAR_T_FALSE GLIBCXX_TEST_ABI_TRUE GLIBCXX_TEST_ABI_FALSE ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
353 ac_prev=
354 for ac_option
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
359 ac_prev=
360 continue
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
367 case $ac_option in
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372 bindir=$ac_optarg ;;
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
386 --config-cache | -C)
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 ac_prev=datadir ;;
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 | --da=*)
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 case $ac_option in
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413 *) ac_optarg=yes ;;
414 esac
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
428 with_gas=yes ;;
430 -help | --help | --hel | --he | -h)
431 ac_init_help=long ;;
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 ac_prev=infodir ;;
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
455 ac_prev=libdir ;;
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
457 libdir=$ac_optarg ;;
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 mandir=$ac_optarg ;;
480 -nfp | --nfp | --nf)
481 # Obsolete; use --without-fp.
482 with_fp=no ;;
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
486 no_create=yes ;;
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490 no_recursion=yes ;;
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 ac_prev=prefix ;;
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504 prefix=$ac_optarg ;;
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
539 silent=yes ;;
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 ac_prev=sbindir ;;
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 | --sbi=* | --sb=*)
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
550 | --sha | --sh)
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 | --sha=* | --sh=*)
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
559 ac_prev=site ;;
560 -site=* | --site=* | --sit=*)
561 site=$ac_optarg ;;
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 ac_prev=srcdir ;;
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566 srcdir=$ac_optarg ;;
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
581 verbose=yes ;;
583 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;;
586 -with-* | --with-*)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 case $ac_option in
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595 *) ac_optarg=yes ;;
596 esac
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
608 --x)
609 # Obsolete; use --with-x.
610 with_x=yes ;;
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
631 *=*)
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
639 export $ac_envvar ;;
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649 esac
650 done
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
662 case $ac_val in
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
666 esac
667 done
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
674 case $ac_val in
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
678 esac
679 done
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
695 cross_compiling=yes
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
720 s/.*/./; q'`
721 srcdir=$ac_confdir
722 if test ! -r $srcdir/$ac_unique_file; then
723 srcdir=..
725 else
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
732 else
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CXXCPP_set=${CXXCPP+set}
754 ac_env_CXXCPP_value=$CXXCPP
755 ac_cv_env_CXXCPP_set=${CXXCPP+set}
756 ac_cv_env_CXXCPP_value=$CXXCPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761 ac_env_CPP_set=${CPP+set}
762 ac_env_CPP_value=$CPP
763 ac_cv_env_CPP_set=${CPP+set}
764 ac_cv_env_CPP_value=$CPP
767 # Report the --help message.
769 if test "$ac_init_help" = "long"; then
770 # Omit some internal or obsolete options to make the list less imposing.
771 # This message is too long to be a string in the A/UX 3.1 sh.
772 cat <<_ACEOF
773 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
775 Usage: $0 [OPTION]... [VAR=VALUE]...
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE. See below for descriptions of some of the useful variables.
780 Defaults for the options are specified in brackets.
782 Configuration:
783 -h, --help display this help and exit
784 --help=short display options specific to this package
785 --help=recursive display the short help of all the included packages
786 -V, --version display version information and exit
787 -q, --quiet, --silent do not print \`checking...' messages
788 --cache-file=FILE cache test results in FILE [disabled]
789 -C, --config-cache alias for \`--cache-file=config.cache'
790 -n, --no-create do not create output files
791 --srcdir=DIR find the sources in DIR [configure dir or \`..']
793 _ACEOF
795 cat <<_ACEOF
796 Installation directories:
797 --prefix=PREFIX install architecture-independent files in PREFIX
798 [$ac_default_prefix]
799 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
800 [PREFIX]
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
807 For better control, use the options below.
809 Fine tuning of the installation directories:
810 --bindir=DIR user executables [EPREFIX/bin]
811 --sbindir=DIR system admin executables [EPREFIX/sbin]
812 --libexecdir=DIR program executables [EPREFIX/libexec]
813 --datadir=DIR read-only architecture-independent data [PREFIX/share]
814 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
815 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
816 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
817 --libdir=DIR object code libraries [EPREFIX/lib]
818 --includedir=DIR C header files [PREFIX/include]
819 --oldincludedir=DIR C header files for non-gcc [/usr/include]
820 --infodir=DIR info documentation [PREFIX/info]
821 --mandir=DIR man documentation [PREFIX/man]
822 _ACEOF
824 cat <<\_ACEOF
826 Program names:
827 --program-prefix=PREFIX prepend PREFIX to installed program names
828 --program-suffix=SUFFIX append SUFFIX to installed program names
829 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
831 System types:
832 --build=BUILD configure for building on BUILD [guessed]
833 --host=HOST cross-compile to build programs to run on HOST [BUILD]
834 --target=TARGET configure for building compilers for TARGET [HOST]
835 _ACEOF
838 if test -n "$ac_init_help"; then
839 case $ac_init_help in
840 short | recursive ) echo "Configuration of package-unused version-unused:";;
841 esac
842 cat <<\_ACEOF
844 Optional Features:
845 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
846 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
847 --enable-multilib build many library versions (default)
848 --enable-maintainer-mode enable make rules and dependencies not useful
849 (and sometimes confusing) to the casual installer
850 --enable-shared=PKGS build shared libraries default=yes
851 --enable-static=PKGS build static libraries default=yes
852 --enable-fast-install=PKGS optimize for fast installation default=yes
853 --disable-libtool-lock avoid locking (might break parallel builds)
854 --disable-hosted-libstdcxx
855 only build freestanding C++ runtime support
856 --enable-sjlj-exceptions
857 force use of builtin_setjmp for exceptions
858 [default=auto]
859 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
860 [default=$is_hosted]
861 --enable-cstdio=PACKAGE use target-specific I/O package
862 [default=stdio]
863 --enable-clocale[=MODEL]
864 use MODEL for target locale package
865 [default=auto]
866 --enable-nls use Native Language Support (default)
867 --enable-libstdcxx-allocator=KIND
868 use KIND for target std::allocator base
869 [default=auto]
870 --enable-cheaders=KIND construct "C" headers for g++
871 [default=$c_model]
872 --enable-c-mbchar enable multibyte (wide) characters
873 [default=yes]
874 --enable-c99 turns on ISO/IEC 9899:1999 support
875 [default=yes]
876 --enable-long-long enables I/O support for 'long long'
877 [default=yes]
878 --enable-concept-checks use Boost-derived template checks [default=no]
879 --enable-libstdcxx-debug-flags=FLAGS
880 pass compiler FLAGS when building debug library
881 [default="-g3 -O0"]
882 --enable-libstdcxx-debug
883 build extra debug library [default=no]
884 --enable-cxx-flags=FLAGS
885 pass compiler FLAGS when building library
886 [default=]
887 --enable-symvers=STYLE enables symbol versioning of the shared library
888 [default=yes]
889 --enable-version-specific-runtime-libs
890 Specify that runtime libraries should be installed
891 in a compiler-specific directory
893 Optional Packages:
894 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
895 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
896 --with-target-subdir=SUBDIR
897 configuring in a subdirectory
898 --with-cross-host=HOST configuring with a cross compiler
899 --with-newlib assume newlib as a system C library
900 --with-gnu-ld assume the C compiler uses GNU ld default=no
901 --with-pic try to use only PIC/non-PIC objects default=use both
902 --with-gxx-include-dir=DIR
903 installation directory for include files
905 Some influential environment variables:
906 CC C compiler command
907 CFLAGS C compiler flags
908 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
909 nonstandard directory <lib dir>
910 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
911 headers in a nonstandard directory <include dir>
912 CXX C++ compiler command
913 CXXFLAGS C++ compiler flags
914 CXXCPP C++ preprocessor
915 CPP C preprocessor
917 Use these variables to override the choices made by `configure' or to help
918 it to find libraries and programs with nonstandard names/locations.
920 _ACEOF
923 if test "$ac_init_help" = "recursive"; then
924 # If there are subdirs, report their specific --help.
925 ac_popdir=`pwd`
926 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
927 test -d $ac_dir || continue
928 ac_builddir=.
930 if test "$ac_dir" != .; then
931 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
932 # A "../" for each directory in $ac_dir_suffix.
933 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
934 else
935 ac_dir_suffix= ac_top_builddir=
938 case $srcdir in
939 .) # No --srcdir option. We are building in place.
940 ac_srcdir=.
941 if test -z "$ac_top_builddir"; then
942 ac_top_srcdir=.
943 else
944 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
945 fi ;;
946 [\\/]* | ?:[\\/]* ) # Absolute path.
947 ac_srcdir=$srcdir$ac_dir_suffix;
948 ac_top_srcdir=$srcdir ;;
949 *) # Relative path.
950 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
951 ac_top_srcdir=$ac_top_builddir$srcdir ;;
952 esac
954 # Do not use `cd foo && pwd` to compute absolute paths, because
955 # the directories may not exist.
956 case `pwd` in
957 .) ac_abs_builddir="$ac_dir";;
959 case "$ac_dir" in
960 .) ac_abs_builddir=`pwd`;;
961 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
962 *) ac_abs_builddir=`pwd`/"$ac_dir";;
963 esac;;
964 esac
965 case $ac_abs_builddir in
966 .) ac_abs_top_builddir=${ac_top_builddir}.;;
968 case ${ac_top_builddir}. in
969 .) ac_abs_top_builddir=$ac_abs_builddir;;
970 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
971 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
972 esac;;
973 esac
974 case $ac_abs_builddir in
975 .) ac_abs_srcdir=$ac_srcdir;;
977 case $ac_srcdir in
978 .) ac_abs_srcdir=$ac_abs_builddir;;
979 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
980 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
981 esac;;
982 esac
983 case $ac_abs_builddir in
984 .) ac_abs_top_srcdir=$ac_top_srcdir;;
986 case $ac_top_srcdir in
987 .) ac_abs_top_srcdir=$ac_abs_builddir;;
988 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
989 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
990 esac;;
991 esac
993 cd $ac_dir
994 # Check for guested configure; otherwise get Cygnus style configure.
995 if test -f $ac_srcdir/configure.gnu; then
996 echo
997 $SHELL $ac_srcdir/configure.gnu --help=recursive
998 elif test -f $ac_srcdir/configure; then
999 echo
1000 $SHELL $ac_srcdir/configure --help=recursive
1001 elif test -f $ac_srcdir/configure.ac ||
1002 test -f $ac_srcdir/configure.in; then
1003 echo
1004 $ac_configure --help
1005 else
1006 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1008 cd $ac_popdir
1009 done
1012 test -n "$ac_init_help" && exit 0
1013 if $ac_init_version; then
1014 cat <<\_ACEOF
1015 package-unused configure version-unused
1016 generated by GNU Autoconf 2.59
1018 Copyright (C) 2003 Free Software Foundation, Inc.
1019 This configure script is free software; the Free Software Foundation
1020 gives unlimited permission to copy, distribute and modify it.
1021 _ACEOF
1022 exit 0
1024 exec 5>config.log
1025 cat >&5 <<_ACEOF
1026 This file contains any messages produced by compilers while
1027 running configure, to aid debugging if configure makes a mistake.
1029 It was created by package-unused $as_me version-unused, which was
1030 generated by GNU Autoconf 2.59. Invocation command line was
1032 $ $0 $@
1034 _ACEOF
1036 cat <<_ASUNAME
1037 ## --------- ##
1038 ## Platform. ##
1039 ## --------- ##
1041 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1042 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1043 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1044 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1045 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1047 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1048 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1050 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1051 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1052 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1053 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1054 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1055 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1056 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1058 _ASUNAME
1060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1061 for as_dir in $PATH
1063 IFS=$as_save_IFS
1064 test -z "$as_dir" && as_dir=.
1065 echo "PATH: $as_dir"
1066 done
1068 } >&5
1070 cat >&5 <<_ACEOF
1073 ## ----------- ##
1074 ## Core tests. ##
1075 ## ----------- ##
1077 _ACEOF
1080 # Keep a trace of the command line.
1081 # Strip out --no-create and --no-recursion so they do not pile up.
1082 # Strip out --silent because we don't want to record it for future runs.
1083 # Also quote any args containing shell meta-characters.
1084 # Make two passes to allow for proper duplicate-argument suppression.
1085 ac_configure_args=
1086 ac_configure_args0=
1087 ac_configure_args1=
1088 ac_sep=
1089 ac_must_keep_next=false
1090 for ac_pass in 1 2
1092 for ac_arg
1094 case $ac_arg in
1095 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1096 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1097 | -silent | --silent | --silen | --sile | --sil)
1098 continue ;;
1099 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1100 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1101 esac
1102 case $ac_pass in
1103 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1105 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1106 if test $ac_must_keep_next = true; then
1107 ac_must_keep_next=false # Got value, back to normal.
1108 else
1109 case $ac_arg in
1110 *=* | --config-cache | -C | -disable-* | --disable-* \
1111 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1112 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1113 | -with-* | --with-* | -without-* | --without-* | --x)
1114 case "$ac_configure_args0 " in
1115 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1116 esac
1118 -* ) ac_must_keep_next=true ;;
1119 esac
1121 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1122 # Get rid of the leading space.
1123 ac_sep=" "
1125 esac
1126 done
1127 done
1128 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1129 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1131 # When interrupted or exit'd, cleanup temporary files, and complete
1132 # config.log. We remove comments because anyway the quotes in there
1133 # would cause problems or look ugly.
1134 # WARNING: Be sure not to use single quotes in there, as some shells,
1135 # such as our DU 5.0 friend, will then `close' the trap.
1136 trap 'exit_status=$?
1137 # Save into config.log some information that might help in debugging.
1139 echo
1141 cat <<\_ASBOX
1142 ## ---------------- ##
1143 ## Cache variables. ##
1144 ## ---------------- ##
1145 _ASBOX
1146 echo
1147 # The following way of writing the cache mishandles newlines in values,
1149 (set) 2>&1 |
1150 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1151 *ac_space=\ *)
1152 sed -n \
1153 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1154 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1157 sed -n \
1158 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1160 esac;
1162 echo
1164 cat <<\_ASBOX
1165 ## ----------------- ##
1166 ## Output variables. ##
1167 ## ----------------- ##
1168 _ASBOX
1169 echo
1170 for ac_var in $ac_subst_vars
1172 eval ac_val=$`echo $ac_var`
1173 echo "$ac_var='"'"'$ac_val'"'"'"
1174 done | sort
1175 echo
1177 if test -n "$ac_subst_files"; then
1178 cat <<\_ASBOX
1179 ## ------------- ##
1180 ## Output files. ##
1181 ## ------------- ##
1182 _ASBOX
1183 echo
1184 for ac_var in $ac_subst_files
1186 eval ac_val=$`echo $ac_var`
1187 echo "$ac_var='"'"'$ac_val'"'"'"
1188 done | sort
1189 echo
1192 if test -s confdefs.h; then
1193 cat <<\_ASBOX
1194 ## ----------- ##
1195 ## confdefs.h. ##
1196 ## ----------- ##
1197 _ASBOX
1198 echo
1199 sed "/^$/d" confdefs.h | sort
1200 echo
1202 test "$ac_signal" != 0 &&
1203 echo "$as_me: caught signal $ac_signal"
1204 echo "$as_me: exit $exit_status"
1205 } >&5
1206 rm -f core *.core &&
1207 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1208 exit $exit_status
1210 for ac_signal in 1 2 13 15; do
1211 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1212 done
1213 ac_signal=0
1215 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1216 rm -rf conftest* confdefs.h
1217 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1218 echo >confdefs.h
1220 # Predefined preprocessor variables.
1222 cat >>confdefs.h <<_ACEOF
1223 #define PACKAGE_NAME "$PACKAGE_NAME"
1224 _ACEOF
1227 cat >>confdefs.h <<_ACEOF
1228 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1229 _ACEOF
1232 cat >>confdefs.h <<_ACEOF
1233 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1234 _ACEOF
1237 cat >>confdefs.h <<_ACEOF
1238 #define PACKAGE_STRING "$PACKAGE_STRING"
1239 _ACEOF
1242 cat >>confdefs.h <<_ACEOF
1243 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1244 _ACEOF
1247 # Let the site file select an alternate cache file if it wants to.
1248 # Prefer explicitly selected file to automatically selected ones.
1249 if test -z "$CONFIG_SITE"; then
1250 if test "x$prefix" != xNONE; then
1251 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1252 else
1253 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1256 for ac_site_file in $CONFIG_SITE; do
1257 if test -r "$ac_site_file"; then
1258 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1259 echo "$as_me: loading site script $ac_site_file" >&6;}
1260 sed 's/^/| /' "$ac_site_file" >&5
1261 . "$ac_site_file"
1263 done
1265 if test -r "$cache_file"; then
1266 # Some versions of bash will fail to source /dev/null (special
1267 # files actually), so we avoid doing that.
1268 if test -f "$cache_file"; then
1269 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1270 echo "$as_me: loading cache $cache_file" >&6;}
1271 case $cache_file in
1272 [\\/]* | ?:[\\/]* ) . $cache_file;;
1273 *) . ./$cache_file;;
1274 esac
1276 else
1277 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1278 echo "$as_me: creating cache $cache_file" >&6;}
1279 >$cache_file
1282 # Check that the precious variables saved in the cache have kept the same
1283 # value.
1284 ac_cache_corrupted=false
1285 for ac_var in `(set) 2>&1 |
1286 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1287 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1288 eval ac_new_set=\$ac_env_${ac_var}_set
1289 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1290 eval ac_new_val="\$ac_env_${ac_var}_value"
1291 case $ac_old_set,$ac_new_set in
1292 set,)
1293 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1294 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1295 ac_cache_corrupted=: ;;
1296 ,set)
1297 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1298 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1299 ac_cache_corrupted=: ;;
1300 ,);;
1302 if test "x$ac_old_val" != "x$ac_new_val"; then
1303 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1304 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1305 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1306 echo "$as_me: former value: $ac_old_val" >&2;}
1307 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1308 echo "$as_me: current value: $ac_new_val" >&2;}
1309 ac_cache_corrupted=:
1310 fi;;
1311 esac
1312 # Pass precious variables to config.status.
1313 if test "$ac_new_set" = set; then
1314 case $ac_new_val in
1315 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1316 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1317 *) ac_arg=$ac_var=$ac_new_val ;;
1318 esac
1319 case " $ac_configure_args " in
1320 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1321 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1322 esac
1324 done
1325 if $ac_cache_corrupted; then
1326 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1327 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1328 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1329 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1330 { (exit 1); exit 1; }; }
1333 ac_ext=c
1334 ac_cpp='$CPP $CPPFLAGS'
1335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1366 ac_config_headers="$ac_config_headers config.h"
1369 # This works around the fact that libtool configuration may change LD
1370 # for this particular configuration, but some shells, instead of
1371 # keeping the changes in LD private, export them just because LD is
1372 # exported. Only used at the end of this file.
1373 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1375 # For libtool versioning info, format is CURRENT:REVISION:AGE
1376 libtool_VERSION=6:0:0
1379 # Find the rest of the source tree framework.
1381 # Sets up multi_basedir, which is srcdir/.. plus the usual
1382 # "multi_source_toprel_bottom_adjust" lunacy as needed.
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 # The generated code is exactly the same, except that automake's looks in
1417 # ".. $srcdir/.." and autoconf's looks in multi_basedir. Apparently other
1418 # things are triggered on the presence of the two ...AUX_DIR[S], but I don't
1419 # know what they are or what the other differences might be (and they keep
1420 # changing anyhow).
1422 # Looking in multi_basedir seems smarter, so actually execute that branch.
1423 if false; then
1424 # this is for automake
1425 ac_aux_dir=
1426 for ac_dir in .. $srcdir/..; do
1427 if test -f $ac_dir/install-sh; then
1428 ac_aux_dir=$ac_dir
1429 ac_install_sh="$ac_aux_dir/install-sh -c"
1430 break
1431 elif test -f $ac_dir/install.sh; then
1432 ac_aux_dir=$ac_dir
1433 ac_install_sh="$ac_aux_dir/install.sh -c"
1434 break
1435 elif test -f $ac_dir/shtool; then
1436 ac_aux_dir=$ac_dir
1437 ac_install_sh="$ac_aux_dir/shtool install -c"
1438 break
1440 done
1441 if test -z "$ac_aux_dir"; then
1442 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1443 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1444 { (exit 1); exit 1; }; }
1446 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1447 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1448 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1450 else
1451 # this is for autoconf
1452 ac_aux_dir=
1453 for ac_dir in ${multi_basedir}; do
1454 if test -f $ac_dir/install-sh; then
1455 ac_aux_dir=$ac_dir
1456 ac_install_sh="$ac_aux_dir/install-sh -c"
1457 break
1458 elif test -f $ac_dir/install.sh; then
1459 ac_aux_dir=$ac_dir
1460 ac_install_sh="$ac_aux_dir/install.sh -c"
1461 break
1462 elif test -f $ac_dir/shtool; then
1463 ac_aux_dir=$ac_dir
1464 ac_install_sh="$ac_aux_dir/shtool install -c"
1465 break
1467 done
1468 if test -z "$ac_aux_dir"; then
1469 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${multi_basedir}" >&5
1470 echo "$as_me: error: cannot find install-sh or install.sh in ${multi_basedir}" >&2;}
1471 { (exit 1); exit 1; }; }
1473 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1474 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1475 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1481 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1483 # You will slowly go insane if you do not grok the following fact: when
1484 # building v3 as part of the compiler, the top-level /target/ becomes the
1485 # library's /host/. configure then causes --target to default to --host,
1486 # exactly like any other package using autoconf. Therefore, 'target' and
1487 # 'host' will always be the same. This makes sense both for native and
1488 # cross compilers, just think about it for a little while. :-)
1490 # Also, if v3 is being configured as part of a cross compiler, the top-level
1491 # configure script will pass the "real" host as $with_cross_host.
1493 # Do not delete or change the following two lines. For why, see
1494 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1495 # Make sure we can run config.sub.
1496 $ac_config_sub sun4 >/dev/null 2>&1 ||
1497 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1498 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1499 { (exit 1); exit 1; }; }
1501 echo "$as_me:$LINENO: checking build system type" >&5
1502 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1503 if test "${ac_cv_build+set}" = set; then
1504 echo $ECHO_N "(cached) $ECHO_C" >&6
1505 else
1506 ac_cv_build_alias=$build_alias
1507 test -z "$ac_cv_build_alias" &&
1508 ac_cv_build_alias=`$ac_config_guess`
1509 test -z "$ac_cv_build_alias" &&
1510 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1511 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1512 { (exit 1); exit 1; }; }
1513 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1514 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1515 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1516 { (exit 1); exit 1; }; }
1519 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1520 echo "${ECHO_T}$ac_cv_build" >&6
1521 build=$ac_cv_build
1522 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1523 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1524 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1527 echo "$as_me:$LINENO: checking host system type" >&5
1528 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1529 if test "${ac_cv_host+set}" = set; then
1530 echo $ECHO_N "(cached) $ECHO_C" >&6
1531 else
1532 ac_cv_host_alias=$host_alias
1533 test -z "$ac_cv_host_alias" &&
1534 ac_cv_host_alias=$ac_cv_build_alias
1535 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1536 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1537 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1538 { (exit 1); exit 1; }; }
1541 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1542 echo "${ECHO_T}$ac_cv_host" >&6
1543 host=$ac_cv_host
1544 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1545 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1546 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1549 echo "$as_me:$LINENO: checking target system type" >&5
1550 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1551 if test "${ac_cv_target+set}" = set; then
1552 echo $ECHO_N "(cached) $ECHO_C" >&6
1553 else
1554 ac_cv_target_alias=$target_alias
1555 test "x$ac_cv_target_alias" = "x" &&
1556 ac_cv_target_alias=$ac_cv_host_alias
1557 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1558 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1559 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1560 { (exit 1); exit 1; }; }
1563 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1564 echo "${ECHO_T}$ac_cv_target" >&6
1565 target=$ac_cv_target
1566 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1567 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1568 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1571 # The aliases save the names the user supplied, while $host etc.
1572 # will get canonicalized.
1573 test -n "$target_alias" &&
1574 test "$program_prefix$program_suffix$program_transform_name" = \
1575 NONENONEs,x,x, &&
1576 program_prefix=${target_alias}-
1577 target_alias=${target_alias-$host_alias}
1579 # Handy for debugging:
1580 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1582 if test "$build" != "$host"; then
1583 # We are being configured with some form of cross compiler.
1584 GLIBCXX_IS_NATIVE=false
1586 else
1587 GLIBCXX_IS_NATIVE=true
1590 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1591 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1592 # 1.x: minimum required version
1593 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1594 # of other PACKAGE_* variables will, however, and there's nothing
1595 # we can do about that; they come from AC_INIT).
1596 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1597 # file in the top srcdir, etc, etc), so stop complaining.
1598 # no-dependencies: turns off auto dependency generation (just for now)
1599 # -Wall: turns on all automake warnings...
1600 # -Wno-portability: ...except this one, since GNU make is now required.
1601 am__api_version="1.8"
1602 # Find a good install program. We prefer a C program (faster),
1603 # so one script is as good as another. But avoid the broken or
1604 # incompatible versions:
1605 # SysV /etc/install, /usr/sbin/install
1606 # SunOS /usr/etc/install
1607 # IRIX /sbin/install
1608 # AIX /bin/install
1609 # AmigaOS /C/install, which installs bootblocks on floppy discs
1610 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1611 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1612 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1613 # OS/2's system install, which has a completely different semantic
1614 # ./install, which can be erroneously created by make from ./install.sh.
1615 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1616 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1617 if test -z "$INSTALL"; then
1618 if test "${ac_cv_path_install+set}" = set; then
1619 echo $ECHO_N "(cached) $ECHO_C" >&6
1620 else
1621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1622 for as_dir in $PATH
1624 IFS=$as_save_IFS
1625 test -z "$as_dir" && as_dir=.
1626 # Account for people who put trailing slashes in PATH elements.
1627 case $as_dir/ in
1628 ./ | .// | /cC/* | \
1629 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1630 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1631 /usr/ucb/* ) ;;
1633 # OSF1 and SCO ODT 3.0 have their own names for install.
1634 # Don't use installbsd from OSF since it installs stuff as root
1635 # by default.
1636 for ac_prog in ginstall scoinst install; do
1637 for ac_exec_ext in '' $ac_executable_extensions; do
1638 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1639 if test $ac_prog = install &&
1640 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1641 # AIX install. It has an incompatible calling convention.
1643 elif test $ac_prog = install &&
1644 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1645 # program-specific install script used by HP pwplus--don't use.
1647 else
1648 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1649 break 3
1652 done
1653 done
1655 esac
1656 done
1660 if test "${ac_cv_path_install+set}" = set; then
1661 INSTALL=$ac_cv_path_install
1662 else
1663 # As a last resort, use the slow shell script. We don't cache a
1664 # path for INSTALL within a source directory, because that will
1665 # break other packages using the cache if that directory is
1666 # removed, or if the path is relative.
1667 INSTALL=$ac_install_sh
1670 echo "$as_me:$LINENO: result: $INSTALL" >&5
1671 echo "${ECHO_T}$INSTALL" >&6
1673 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1674 # It thinks the first close brace ends the variable substitution.
1675 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1677 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1679 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1681 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1682 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1683 # Just in case
1684 sleep 1
1685 echo timestamp > conftest.file
1686 # Do `set' in a subshell so we don't clobber the current shell's
1687 # arguments. Must try -L first in case configure is actually a
1688 # symlink; some systems play weird games with the mod time of symlinks
1689 # (eg FreeBSD returns the mod time of the symlink's containing
1690 # directory).
1691 if (
1692 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1693 if test "$*" = "X"; then
1694 # -L didn't work.
1695 set X `ls -t $srcdir/configure conftest.file`
1697 rm -f conftest.file
1698 if test "$*" != "X $srcdir/configure conftest.file" \
1699 && test "$*" != "X conftest.file $srcdir/configure"; then
1701 # If neither matched, then we have a broken ls. This can happen
1702 # if, for instance, CONFIG_SHELL is bash and it inherits a
1703 # broken ls alias from the environment. This has actually
1704 # happened. Such a system could not be considered "sane".
1705 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1706 alias in your environment" >&5
1707 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1708 alias in your environment" >&2;}
1709 { (exit 1); exit 1; }; }
1712 test "$2" = conftest.file
1714 then
1715 # Ok.
1717 else
1718 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1719 Check your system clock" >&5
1720 echo "$as_me: error: newly created file is older than distributed files!
1721 Check your system clock" >&2;}
1722 { (exit 1); exit 1; }; }
1724 echo "$as_me:$LINENO: result: yes" >&5
1725 echo "${ECHO_T}yes" >&6
1726 test "$program_prefix" != NONE &&
1727 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1728 # Use a double $ so make ignores it.
1729 test "$program_suffix" != NONE &&
1730 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1731 # Double any \ or $. echo might interpret backslashes.
1732 # By default was `s,x,x', remove it if useless.
1733 cat <<\_ACEOF >conftest.sed
1734 s/[\\$]/&&/g;s/;s,x,x,$//
1735 _ACEOF
1736 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1737 rm conftest.sed
1739 # expand $ac_aux_dir to an absolute path
1740 am_aux_dir=`cd $ac_aux_dir && pwd`
1742 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1743 # Use eval to expand $SHELL
1744 if eval "$MISSING --run true"; then
1745 am_missing_run="$MISSING --run "
1746 else
1747 am_missing_run=
1748 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1749 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1752 if mkdir -p -- . 2>/dev/null; then
1753 # Keeping the `.' argument allows $(mkdir_p) to be used without
1754 # argument. Indeed, we sometimes output rules like
1755 # $(mkdir_p) $(somedir)
1756 # where $(somedir) is conditionally defined.
1757 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1758 # expensive solution, as it forces Make to start a sub-shell.)
1759 mkdir_p='mkdir -p -- .'
1760 else
1761 # On NextStep and OpenStep, the `mkdir' command does not
1762 # recognize any option. It will interpret all options as
1763 # directories to create, and then abort because `.' already
1764 # exists.
1765 for d in ./-p ./--;
1767 test -d $d && rmdir $d
1768 done
1769 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1770 if test -f "$ac_aux_dir/mkinstalldirs"; then
1771 mkdir_p='$(mkinstalldirs)'
1772 else
1773 mkdir_p='$(install_sh) -d'
1777 for ac_prog in gawk mawk nawk awk
1779 # Extract the first word of "$ac_prog", so it can be a program name with args.
1780 set dummy $ac_prog; ac_word=$2
1781 echo "$as_me:$LINENO: checking for $ac_word" >&5
1782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1783 if test "${ac_cv_prog_AWK+set}" = set; then
1784 echo $ECHO_N "(cached) $ECHO_C" >&6
1785 else
1786 if test -n "$AWK"; then
1787 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1788 else
1789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1790 for as_dir in $PATH
1792 IFS=$as_save_IFS
1793 test -z "$as_dir" && as_dir=.
1794 for ac_exec_ext in '' $ac_executable_extensions; do
1795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1796 ac_cv_prog_AWK="$ac_prog"
1797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1798 break 2
1800 done
1801 done
1805 AWK=$ac_cv_prog_AWK
1806 if test -n "$AWK"; then
1807 echo "$as_me:$LINENO: result: $AWK" >&5
1808 echo "${ECHO_T}$AWK" >&6
1809 else
1810 echo "$as_me:$LINENO: result: no" >&5
1811 echo "${ECHO_T}no" >&6
1814 test -n "$AWK" && break
1815 done
1817 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1818 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1819 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1820 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1821 echo $ECHO_N "(cached) $ECHO_C" >&6
1822 else
1823 cat >conftest.make <<\_ACEOF
1824 all:
1825 @echo 'ac_maketemp="$(MAKE)"'
1826 _ACEOF
1827 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1828 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1829 if test -n "$ac_maketemp"; then
1830 eval ac_cv_prog_make_${ac_make}_set=yes
1831 else
1832 eval ac_cv_prog_make_${ac_make}_set=no
1834 rm -f conftest.make
1836 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1837 echo "$as_me:$LINENO: result: yes" >&5
1838 echo "${ECHO_T}yes" >&6
1839 SET_MAKE=
1840 else
1841 echo "$as_me:$LINENO: result: no" >&5
1842 echo "${ECHO_T}no" >&6
1843 SET_MAKE="MAKE=${MAKE-make}"
1846 rm -rf .tst 2>/dev/null
1847 mkdir .tst 2>/dev/null
1848 if test -d .tst; then
1849 am__leading_dot=.
1850 else
1851 am__leading_dot=_
1853 rmdir .tst 2>/dev/null
1855 # test to see if srcdir already configured
1856 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1857 test -f $srcdir/config.status; then
1858 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1859 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1860 { (exit 1); exit 1; }; }
1863 # test whether we have cygpath
1864 if test -z "$CYGPATH_W"; then
1865 if (cygpath --version) >/dev/null 2>/dev/null; then
1866 CYGPATH_W='cygpath -w'
1867 else
1868 CYGPATH_W=echo
1873 # Define the identity of the package.
1874 PACKAGE='libstdc++'
1875 VERSION='version-unused'
1878 # Some tools Automake needs.
1880 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1883 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1886 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1889 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1892 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1895 AMTAR=${AMTAR-"${am_missing_run}tar"}
1897 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1899 # Installed binaries are usually stripped using `strip' when the user
1900 # run `make install-strip'. However `strip' might not be the right
1901 # tool to use in cross-compilation environments, therefore Automake
1902 # will honor the `STRIP' environment variable to overrule this program.
1903 if test "$cross_compiling" != no; then
1904 if test -n "$ac_tool_prefix"; then
1905 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1906 set dummy ${ac_tool_prefix}strip; ac_word=$2
1907 echo "$as_me:$LINENO: checking for $ac_word" >&5
1908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1909 if test "${ac_cv_prog_STRIP+set}" = set; then
1910 echo $ECHO_N "(cached) $ECHO_C" >&6
1911 else
1912 if test -n "$STRIP"; then
1913 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1914 else
1915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1916 for as_dir in $PATH
1918 IFS=$as_save_IFS
1919 test -z "$as_dir" && as_dir=.
1920 for ac_exec_ext in '' $ac_executable_extensions; do
1921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1922 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1924 break 2
1926 done
1927 done
1931 STRIP=$ac_cv_prog_STRIP
1932 if test -n "$STRIP"; then
1933 echo "$as_me:$LINENO: result: $STRIP" >&5
1934 echo "${ECHO_T}$STRIP" >&6
1935 else
1936 echo "$as_me:$LINENO: result: no" >&5
1937 echo "${ECHO_T}no" >&6
1941 if test -z "$ac_cv_prog_STRIP"; then
1942 ac_ct_STRIP=$STRIP
1943 # Extract the first word of "strip", so it can be a program name with args.
1944 set dummy strip; ac_word=$2
1945 echo "$as_me:$LINENO: checking for $ac_word" >&5
1946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1947 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1948 echo $ECHO_N "(cached) $ECHO_C" >&6
1949 else
1950 if test -n "$ac_ct_STRIP"; then
1951 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1952 else
1953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1954 for as_dir in $PATH
1956 IFS=$as_save_IFS
1957 test -z "$as_dir" && as_dir=.
1958 for ac_exec_ext in '' $ac_executable_extensions; do
1959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1960 ac_cv_prog_ac_ct_STRIP="strip"
1961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1962 break 2
1964 done
1965 done
1967 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1970 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1971 if test -n "$ac_ct_STRIP"; then
1972 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1973 echo "${ECHO_T}$ac_ct_STRIP" >&6
1974 else
1975 echo "$as_me:$LINENO: result: no" >&5
1976 echo "${ECHO_T}no" >&6
1979 STRIP=$ac_ct_STRIP
1980 else
1981 STRIP="$ac_cv_prog_STRIP"
1985 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1987 # We need awk for the "check" target. The system "awk" is bad on
1988 # some platforms.
1993 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1994 # up critical shell variables.
1996 # Keep these sync'd with the list in Makefile.am. The first provides an
1997 # expandable list at autoconf time; the second provides an expandable list
1998 # (i.e., shell variable) at configure time.
2000 SUBDIRS='include libmath libsupc++ src po testsuite'
2002 # These need to be absolute paths, yet at the same time need to
2003 # canonicalize only relative paths, because then amd will not unmount
2004 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2005 glibcxx_builddir=`${PWDCMD-pwd}`
2006 case $srcdir in
2007 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2008 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2009 esac
2010 toplevel_srcdir=${glibcxx_srcdir}/..
2015 # We use these options to decide which functions to include. They are
2016 # set from the top level.
2018 # Check whether --with-target-subdir or --without-target-subdir was given.
2019 if test "${with_target_subdir+set}" = set; then
2020 withval="$with_target_subdir"
2025 # Check whether --with-cross-host or --without-cross-host was given.
2026 if test "${with_cross_host+set}" = set; then
2027 withval="$with_cross_host"
2032 # Check whether --with-newlib or --without-newlib was given.
2033 if test "${with_newlib+set}" = set; then
2034 withval="$with_newlib"
2038 # We're almost certainly being configured before anything else which uses
2039 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2040 # we not cache the value of CXX that we "discover" here, because it's set
2041 # to something unique for us and libjava. Other target libraries need to
2042 # find CXX for themselves. We yank the rug out from under the normal AC_*
2043 # process by sneakily renaming the cache variable. This also lets us debug
2044 # the value of "our" CXX in postmortems.
2046 # We must also force CXX to /not/ be a precious variable, otherwise the
2047 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2048 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2049 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2050 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2052 # -fno-builtin must be present here so that a non-conflicting form of
2053 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2058 save_CXXFLAGS="$CXXFLAGS"
2059 CXXFLAGS="$CXXFLAGS -fno-builtin"
2060 ac_ext=c
2061 ac_cpp='$CPP $CPPFLAGS'
2062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2065 if test -n "$ac_tool_prefix"; then
2066 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2067 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2068 echo "$as_me:$LINENO: checking for $ac_word" >&5
2069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2070 if test "${ac_cv_prog_CC+set}" = set; then
2071 echo $ECHO_N "(cached) $ECHO_C" >&6
2072 else
2073 if test -n "$CC"; then
2074 ac_cv_prog_CC="$CC" # Let the user override the test.
2075 else
2076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2077 for as_dir in $PATH
2079 IFS=$as_save_IFS
2080 test -z "$as_dir" && as_dir=.
2081 for ac_exec_ext in '' $ac_executable_extensions; do
2082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2083 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2085 break 2
2087 done
2088 done
2092 CC=$ac_cv_prog_CC
2093 if test -n "$CC"; then
2094 echo "$as_me:$LINENO: result: $CC" >&5
2095 echo "${ECHO_T}$CC" >&6
2096 else
2097 echo "$as_me:$LINENO: result: no" >&5
2098 echo "${ECHO_T}no" >&6
2102 if test -z "$ac_cv_prog_CC"; then
2103 ac_ct_CC=$CC
2104 # Extract the first word of "gcc", so it can be a program name with args.
2105 set dummy gcc; ac_word=$2
2106 echo "$as_me:$LINENO: checking for $ac_word" >&5
2107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2108 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2109 echo $ECHO_N "(cached) $ECHO_C" >&6
2110 else
2111 if test -n "$ac_ct_CC"; then
2112 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2113 else
2114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2115 for as_dir in $PATH
2117 IFS=$as_save_IFS
2118 test -z "$as_dir" && as_dir=.
2119 for ac_exec_ext in '' $ac_executable_extensions; do
2120 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2121 ac_cv_prog_ac_ct_CC="gcc"
2122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2123 break 2
2125 done
2126 done
2130 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2131 if test -n "$ac_ct_CC"; then
2132 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2133 echo "${ECHO_T}$ac_ct_CC" >&6
2134 else
2135 echo "$as_me:$LINENO: result: no" >&5
2136 echo "${ECHO_T}no" >&6
2139 CC=$ac_ct_CC
2140 else
2141 CC="$ac_cv_prog_CC"
2144 if test -z "$CC"; then
2145 if test -n "$ac_tool_prefix"; then
2146 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2147 set dummy ${ac_tool_prefix}cc; ac_word=$2
2148 echo "$as_me:$LINENO: checking for $ac_word" >&5
2149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2150 if test "${ac_cv_prog_CC+set}" = set; then
2151 echo $ECHO_N "(cached) $ECHO_C" >&6
2152 else
2153 if test -n "$CC"; then
2154 ac_cv_prog_CC="$CC" # Let the user override the test.
2155 else
2156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2157 for as_dir in $PATH
2159 IFS=$as_save_IFS
2160 test -z "$as_dir" && as_dir=.
2161 for ac_exec_ext in '' $ac_executable_extensions; do
2162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2163 ac_cv_prog_CC="${ac_tool_prefix}cc"
2164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2165 break 2
2167 done
2168 done
2172 CC=$ac_cv_prog_CC
2173 if test -n "$CC"; then
2174 echo "$as_me:$LINENO: result: $CC" >&5
2175 echo "${ECHO_T}$CC" >&6
2176 else
2177 echo "$as_me:$LINENO: result: no" >&5
2178 echo "${ECHO_T}no" >&6
2182 if test -z "$ac_cv_prog_CC"; then
2183 ac_ct_CC=$CC
2184 # Extract the first word of "cc", so it can be a program name with args.
2185 set dummy cc; ac_word=$2
2186 echo "$as_me:$LINENO: checking for $ac_word" >&5
2187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2188 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2189 echo $ECHO_N "(cached) $ECHO_C" >&6
2190 else
2191 if test -n "$ac_ct_CC"; then
2192 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2193 else
2194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195 for as_dir in $PATH
2197 IFS=$as_save_IFS
2198 test -z "$as_dir" && as_dir=.
2199 for ac_exec_ext in '' $ac_executable_extensions; do
2200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2201 ac_cv_prog_ac_ct_CC="cc"
2202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2203 break 2
2205 done
2206 done
2210 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2211 if test -n "$ac_ct_CC"; then
2212 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2213 echo "${ECHO_T}$ac_ct_CC" >&6
2214 else
2215 echo "$as_me:$LINENO: result: no" >&5
2216 echo "${ECHO_T}no" >&6
2219 CC=$ac_ct_CC
2220 else
2221 CC="$ac_cv_prog_CC"
2225 if test -z "$CC"; then
2226 # Extract the first word of "cc", so it can be a program name with args.
2227 set dummy cc; ac_word=$2
2228 echo "$as_me:$LINENO: checking for $ac_word" >&5
2229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2230 if test "${ac_cv_prog_CC+set}" = set; then
2231 echo $ECHO_N "(cached) $ECHO_C" >&6
2232 else
2233 if test -n "$CC"; then
2234 ac_cv_prog_CC="$CC" # Let the user override the test.
2235 else
2236 ac_prog_rejected=no
2237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2238 for as_dir in $PATH
2240 IFS=$as_save_IFS
2241 test -z "$as_dir" && as_dir=.
2242 for ac_exec_ext in '' $ac_executable_extensions; do
2243 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2244 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2245 ac_prog_rejected=yes
2246 continue
2248 ac_cv_prog_CC="cc"
2249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2250 break 2
2252 done
2253 done
2255 if test $ac_prog_rejected = yes; then
2256 # We found a bogon in the path, so make sure we never use it.
2257 set dummy $ac_cv_prog_CC
2258 shift
2259 if test $# != 0; then
2260 # We chose a different compiler from the bogus one.
2261 # However, it has the same basename, so the bogon will be chosen
2262 # first if we set CC to just the basename; use the full file name.
2263 shift
2264 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2269 CC=$ac_cv_prog_CC
2270 if test -n "$CC"; then
2271 echo "$as_me:$LINENO: result: $CC" >&5
2272 echo "${ECHO_T}$CC" >&6
2273 else
2274 echo "$as_me:$LINENO: result: no" >&5
2275 echo "${ECHO_T}no" >&6
2279 if test -z "$CC"; then
2280 if test -n "$ac_tool_prefix"; then
2281 for ac_prog in cl
2283 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2284 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2285 echo "$as_me:$LINENO: checking for $ac_word" >&5
2286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2287 if test "${ac_cv_prog_CC+set}" = set; then
2288 echo $ECHO_N "(cached) $ECHO_C" >&6
2289 else
2290 if test -n "$CC"; then
2291 ac_cv_prog_CC="$CC" # Let the user override the test.
2292 else
2293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2294 for as_dir in $PATH
2296 IFS=$as_save_IFS
2297 test -z "$as_dir" && as_dir=.
2298 for ac_exec_ext in '' $ac_executable_extensions; do
2299 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2300 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2302 break 2
2304 done
2305 done
2309 CC=$ac_cv_prog_CC
2310 if test -n "$CC"; then
2311 echo "$as_me:$LINENO: result: $CC" >&5
2312 echo "${ECHO_T}$CC" >&6
2313 else
2314 echo "$as_me:$LINENO: result: no" >&5
2315 echo "${ECHO_T}no" >&6
2318 test -n "$CC" && break
2319 done
2321 if test -z "$CC"; then
2322 ac_ct_CC=$CC
2323 for ac_prog in cl
2325 # Extract the first word of "$ac_prog", so it can be a program name with args.
2326 set dummy $ac_prog; ac_word=$2
2327 echo "$as_me:$LINENO: checking for $ac_word" >&5
2328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2329 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2330 echo $ECHO_N "(cached) $ECHO_C" >&6
2331 else
2332 if test -n "$ac_ct_CC"; then
2333 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2334 else
2335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2336 for as_dir in $PATH
2338 IFS=$as_save_IFS
2339 test -z "$as_dir" && as_dir=.
2340 for ac_exec_ext in '' $ac_executable_extensions; do
2341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2342 ac_cv_prog_ac_ct_CC="$ac_prog"
2343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2344 break 2
2346 done
2347 done
2351 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2352 if test -n "$ac_ct_CC"; then
2353 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2354 echo "${ECHO_T}$ac_ct_CC" >&6
2355 else
2356 echo "$as_me:$LINENO: result: no" >&5
2357 echo "${ECHO_T}no" >&6
2360 test -n "$ac_ct_CC" && break
2361 done
2363 CC=$ac_ct_CC
2369 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2370 See \`config.log' for more details." >&5
2371 echo "$as_me: error: no acceptable C compiler found in \$PATH
2372 See \`config.log' for more details." >&2;}
2373 { (exit 1); exit 1; }; }
2375 # Provide some information about the compiler.
2376 echo "$as_me:$LINENO:" \
2377 "checking for C compiler version" >&5
2378 ac_compiler=`set X $ac_compile; echo $2`
2379 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2380 (eval $ac_compiler --version </dev/null >&5) 2>&5
2381 ac_status=$?
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }
2384 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2385 (eval $ac_compiler -v </dev/null >&5) 2>&5
2386 ac_status=$?
2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388 (exit $ac_status); }
2389 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2390 (eval $ac_compiler -V </dev/null >&5) 2>&5
2391 ac_status=$?
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); }
2395 cat >conftest.$ac_ext <<_ACEOF
2396 /* confdefs.h. */
2397 _ACEOF
2398 cat confdefs.h >>conftest.$ac_ext
2399 cat >>conftest.$ac_ext <<_ACEOF
2400 /* end confdefs.h. */
2403 main ()
2407 return 0;
2409 _ACEOF
2410 # FIXME: Cleanup?
2411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2412 (eval $ac_link) 2>&5
2413 ac_status=$?
2414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2415 (exit $ac_status); }; then
2416 gcc_no_link=no
2417 else
2418 gcc_no_link=yes
2421 if test x$gcc_no_link = xyes; then
2422 # Setting cross_compile will disable run tests; it will
2423 # also disable AC_CHECK_FILE but that's generally
2424 # correct if we can't link.
2425 cross_compiling=yes
2426 EXEEXT=
2427 else
2428 cat >conftest.$ac_ext <<_ACEOF
2429 /* confdefs.h. */
2430 _ACEOF
2431 cat confdefs.h >>conftest.$ac_ext
2432 cat >>conftest.$ac_ext <<_ACEOF
2433 /* end confdefs.h. */
2436 main ()
2440 return 0;
2442 _ACEOF
2443 ac_clean_files_save=$ac_clean_files
2444 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2445 # Try to create an executable without -o first, disregard a.out.
2446 # It will help us diagnose broken compilers, and finding out an intuition
2447 # of exeext.
2448 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2449 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2450 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2451 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2452 (eval $ac_link_default) 2>&5
2453 ac_status=$?
2454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2455 (exit $ac_status); }; then
2456 # Find the output, starting from the most likely. This scheme is
2457 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2458 # resort.
2460 # Be careful to initialize this variable, since it used to be cached.
2461 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2462 ac_cv_exeext=
2463 # b.out is created by i960 compilers.
2464 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2466 test -f "$ac_file" || continue
2467 case $ac_file in
2468 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2470 conftest.$ac_ext )
2471 # This is the source file.
2473 [ab].out )
2474 # We found the default executable, but exeext='' is most
2475 # certainly right.
2476 break;;
2477 *.* )
2478 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2479 # FIXME: I believe we export ac_cv_exeext for Libtool,
2480 # but it would be cool to find out if it's true. Does anybody
2481 # maintain Libtool? --akim.
2482 export ac_cv_exeext
2483 break;;
2485 break;;
2486 esac
2487 done
2488 else
2489 echo "$as_me: failed program was:" >&5
2490 sed 's/^/| /' conftest.$ac_ext >&5
2492 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2493 See \`config.log' for more details." >&5
2494 echo "$as_me: error: C compiler cannot create executables
2495 See \`config.log' for more details." >&2;}
2496 { (exit 77); exit 77; }; }
2499 ac_exeext=$ac_cv_exeext
2500 echo "$as_me:$LINENO: result: $ac_file" >&5
2501 echo "${ECHO_T}$ac_file" >&6
2503 # Check the compiler produces executables we can run. If not, either
2504 # the compiler is broken, or we cross compile.
2505 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2506 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2507 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2508 # If not cross compiling, check that we can run a simple program.
2509 if test "$cross_compiling" != yes; then
2510 if { ac_try='./$ac_file'
2511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2512 (eval $ac_try) 2>&5
2513 ac_status=$?
2514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2515 (exit $ac_status); }; }; then
2516 cross_compiling=no
2517 else
2518 if test "$cross_compiling" = maybe; then
2519 cross_compiling=yes
2520 else
2521 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2522 If you meant to cross compile, use \`--host'.
2523 See \`config.log' for more details." >&5
2524 echo "$as_me: error: cannot run C compiled programs.
2525 If you meant to cross compile, use \`--host'.
2526 See \`config.log' for more details." >&2;}
2527 { (exit 1); exit 1; }; }
2531 echo "$as_me:$LINENO: result: yes" >&5
2532 echo "${ECHO_T}yes" >&6
2534 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2535 ac_clean_files=$ac_clean_files_save
2536 # Check the compiler produces executables we can run. If not, either
2537 # the compiler is broken, or we cross compile.
2538 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2539 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2540 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2541 echo "${ECHO_T}$cross_compiling" >&6
2543 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2544 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2546 (eval $ac_link) 2>&5
2547 ac_status=$?
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); }; then
2550 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2551 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2552 # work properly (i.e., refer to `conftest.exe'), while it won't with
2553 # `rm'.
2554 for ac_file in conftest.exe conftest conftest.*; do
2555 test -f "$ac_file" || continue
2556 case $ac_file in
2557 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2558 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2559 export ac_cv_exeext
2560 break;;
2561 * ) break;;
2562 esac
2563 done
2564 else
2565 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2566 See \`config.log' for more details." >&5
2567 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2568 See \`config.log' for more details." >&2;}
2569 { (exit 1); exit 1; }; }
2572 rm -f conftest$ac_cv_exeext
2573 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2574 echo "${ECHO_T}$ac_cv_exeext" >&6
2576 rm -f conftest.$ac_ext
2577 EXEEXT=$ac_cv_exeext
2578 ac_exeext=$EXEEXT
2580 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2581 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2582 if test "${ac_cv_objext+set}" = set; then
2583 echo $ECHO_N "(cached) $ECHO_C" >&6
2584 else
2585 cat >conftest.$ac_ext <<_ACEOF
2586 /* confdefs.h. */
2587 _ACEOF
2588 cat confdefs.h >>conftest.$ac_ext
2589 cat >>conftest.$ac_ext <<_ACEOF
2590 /* end confdefs.h. */
2593 main ()
2597 return 0;
2599 _ACEOF
2600 rm -f conftest.o conftest.obj
2601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2602 (eval $ac_compile) 2>&5
2603 ac_status=$?
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); }; then
2606 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2607 case $ac_file in
2608 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2609 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2610 break;;
2611 esac
2612 done
2613 else
2614 echo "$as_me: failed program was:" >&5
2615 sed 's/^/| /' conftest.$ac_ext >&5
2617 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2618 See \`config.log' for more details." >&5
2619 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2620 See \`config.log' for more details." >&2;}
2621 { (exit 1); exit 1; }; }
2624 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2626 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2627 echo "${ECHO_T}$ac_cv_objext" >&6
2628 OBJEXT=$ac_cv_objext
2629 ac_objext=$OBJEXT
2630 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2631 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2632 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2633 echo $ECHO_N "(cached) $ECHO_C" >&6
2634 else
2635 cat >conftest.$ac_ext <<_ACEOF
2636 /* confdefs.h. */
2637 _ACEOF
2638 cat confdefs.h >>conftest.$ac_ext
2639 cat >>conftest.$ac_ext <<_ACEOF
2640 /* end confdefs.h. */
2643 main ()
2645 #ifndef __GNUC__
2646 choke me
2647 #endif
2650 return 0;
2652 _ACEOF
2653 rm -f conftest.$ac_objext
2654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2655 (eval $ac_compile) 2>conftest.er1
2656 ac_status=$?
2657 grep -v '^ *+' conftest.er1 >conftest.err
2658 rm -f conftest.er1
2659 cat conftest.err >&5
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); } &&
2662 { ac_try='test -z "$ac_c_werror_flag"
2663 || test ! -s conftest.err'
2664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2665 (eval $ac_try) 2>&5
2666 ac_status=$?
2667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668 (exit $ac_status); }; } &&
2669 { ac_try='test -s conftest.$ac_objext'
2670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2671 (eval $ac_try) 2>&5
2672 ac_status=$?
2673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2674 (exit $ac_status); }; }; then
2675 ac_compiler_gnu=yes
2676 else
2677 echo "$as_me: failed program was:" >&5
2678 sed 's/^/| /' conftest.$ac_ext >&5
2680 ac_compiler_gnu=no
2682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2683 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2686 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2687 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2688 GCC=`test $ac_compiler_gnu = yes && echo yes`
2689 ac_test_CFLAGS=${CFLAGS+set}
2690 ac_save_CFLAGS=$CFLAGS
2691 CFLAGS="-g"
2692 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2693 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2694 if test "${ac_cv_prog_cc_g+set}" = set; then
2695 echo $ECHO_N "(cached) $ECHO_C" >&6
2696 else
2697 cat >conftest.$ac_ext <<_ACEOF
2698 /* confdefs.h. */
2699 _ACEOF
2700 cat confdefs.h >>conftest.$ac_ext
2701 cat >>conftest.$ac_ext <<_ACEOF
2702 /* end confdefs.h. */
2705 main ()
2709 return 0;
2711 _ACEOF
2712 rm -f conftest.$ac_objext
2713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2714 (eval $ac_compile) 2>conftest.er1
2715 ac_status=$?
2716 grep -v '^ *+' conftest.er1 >conftest.err
2717 rm -f conftest.er1
2718 cat conftest.err >&5
2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 (exit $ac_status); } &&
2721 { ac_try='test -z "$ac_c_werror_flag"
2722 || test ! -s conftest.err'
2723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2724 (eval $ac_try) 2>&5
2725 ac_status=$?
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); }; } &&
2728 { ac_try='test -s conftest.$ac_objext'
2729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2730 (eval $ac_try) 2>&5
2731 ac_status=$?
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); }; }; then
2734 ac_cv_prog_cc_g=yes
2735 else
2736 echo "$as_me: failed program was:" >&5
2737 sed 's/^/| /' conftest.$ac_ext >&5
2739 ac_cv_prog_cc_g=no
2741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2743 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2744 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2745 if test "$ac_test_CFLAGS" = set; then
2746 CFLAGS=$ac_save_CFLAGS
2747 elif test $ac_cv_prog_cc_g = yes; then
2748 if test "$GCC" = yes; then
2749 CFLAGS="-g -O2"
2750 else
2751 CFLAGS="-g"
2753 else
2754 if test "$GCC" = yes; then
2755 CFLAGS="-O2"
2756 else
2757 CFLAGS=
2760 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2761 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2762 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2763 echo $ECHO_N "(cached) $ECHO_C" >&6
2764 else
2765 ac_cv_prog_cc_stdc=no
2766 ac_save_CC=$CC
2767 cat >conftest.$ac_ext <<_ACEOF
2768 /* confdefs.h. */
2769 _ACEOF
2770 cat confdefs.h >>conftest.$ac_ext
2771 cat >>conftest.$ac_ext <<_ACEOF
2772 /* end confdefs.h. */
2773 #include <stdarg.h>
2774 #include <stdio.h>
2775 #include <sys/types.h>
2776 #include <sys/stat.h>
2777 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2778 struct buf { int x; };
2779 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2780 static char *e (p, i)
2781 char **p;
2782 int i;
2784 return p[i];
2786 static char *f (char * (*g) (char **, int), char **p, ...)
2788 char *s;
2789 va_list v;
2790 va_start (v,p);
2791 s = g (p, va_arg (v,int));
2792 va_end (v);
2793 return s;
2796 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2797 function prototypes and stuff, but not '\xHH' hex character constants.
2798 These don't provoke an error unfortunately, instead are silently treated
2799 as 'x'. The following induces an error, until -std1 is added to get
2800 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2801 array size at least. It's necessary to write '\x00'==0 to get something
2802 that's true only with -std1. */
2803 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2805 int test (int i, double x);
2806 struct s1 {int (*f) (int a);};
2807 struct s2 {int (*f) (double a);};
2808 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2809 int argc;
2810 char **argv;
2812 main ()
2814 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2816 return 0;
2818 _ACEOF
2819 # Don't try gcc -ansi; that turns off useful extensions and
2820 # breaks some systems' header files.
2821 # AIX -qlanglvl=ansi
2822 # Ultrix and OSF/1 -std1
2823 # HP-UX 10.20 and later -Ae
2824 # HP-UX older versions -Aa -D_HPUX_SOURCE
2825 # SVR4 -Xc -D__EXTENSIONS__
2826 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2828 CC="$ac_save_CC $ac_arg"
2829 rm -f conftest.$ac_objext
2830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2831 (eval $ac_compile) 2>conftest.er1
2832 ac_status=$?
2833 grep -v '^ *+' conftest.er1 >conftest.err
2834 rm -f conftest.er1
2835 cat conftest.err >&5
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); } &&
2838 { ac_try='test -z "$ac_c_werror_flag"
2839 || test ! -s conftest.err'
2840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2841 (eval $ac_try) 2>&5
2842 ac_status=$?
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); }; } &&
2845 { ac_try='test -s conftest.$ac_objext'
2846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2847 (eval $ac_try) 2>&5
2848 ac_status=$?
2849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); }; }; then
2851 ac_cv_prog_cc_stdc=$ac_arg
2852 break
2853 else
2854 echo "$as_me: failed program was:" >&5
2855 sed 's/^/| /' conftest.$ac_ext >&5
2858 rm -f conftest.err conftest.$ac_objext
2859 done
2860 rm -f conftest.$ac_ext conftest.$ac_objext
2861 CC=$ac_save_CC
2865 case "x$ac_cv_prog_cc_stdc" in
2866 x|xno)
2867 echo "$as_me:$LINENO: result: none needed" >&5
2868 echo "${ECHO_T}none needed" >&6 ;;
2870 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2871 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2872 CC="$CC $ac_cv_prog_cc_stdc" ;;
2873 esac
2875 # Some people use a C++ compiler to compile C. Since we use `exit',
2876 # in C++ we need to declare it. In case someone uses the same compiler
2877 # for both compiling C and C++ we need to have the C++ compiler decide
2878 # the declaration of exit, since it's the most demanding environment.
2879 cat >conftest.$ac_ext <<_ACEOF
2880 #ifndef __cplusplus
2881 choke me
2882 #endif
2883 _ACEOF
2884 rm -f conftest.$ac_objext
2885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2886 (eval $ac_compile) 2>conftest.er1
2887 ac_status=$?
2888 grep -v '^ *+' conftest.er1 >conftest.err
2889 rm -f conftest.er1
2890 cat conftest.err >&5
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); } &&
2893 { ac_try='test -z "$ac_c_werror_flag"
2894 || test ! -s conftest.err'
2895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2896 (eval $ac_try) 2>&5
2897 ac_status=$?
2898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899 (exit $ac_status); }; } &&
2900 { ac_try='test -s conftest.$ac_objext'
2901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2902 (eval $ac_try) 2>&5
2903 ac_status=$?
2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905 (exit $ac_status); }; }; then
2906 for ac_declaration in \
2907 '' \
2908 'extern "C" void std::exit (int) throw (); using std::exit;' \
2909 'extern "C" void std::exit (int); using std::exit;' \
2910 'extern "C" void exit (int) throw ();' \
2911 'extern "C" void exit (int);' \
2912 'void exit (int);'
2914 cat >conftest.$ac_ext <<_ACEOF
2915 /* confdefs.h. */
2916 _ACEOF
2917 cat confdefs.h >>conftest.$ac_ext
2918 cat >>conftest.$ac_ext <<_ACEOF
2919 /* end confdefs.h. */
2920 $ac_declaration
2921 #include <stdlib.h>
2923 main ()
2925 exit (42);
2927 return 0;
2929 _ACEOF
2930 rm -f conftest.$ac_objext
2931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2932 (eval $ac_compile) 2>conftest.er1
2933 ac_status=$?
2934 grep -v '^ *+' conftest.er1 >conftest.err
2935 rm -f conftest.er1
2936 cat conftest.err >&5
2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); } &&
2939 { ac_try='test -z "$ac_c_werror_flag"
2940 || test ! -s conftest.err'
2941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2942 (eval $ac_try) 2>&5
2943 ac_status=$?
2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945 (exit $ac_status); }; } &&
2946 { ac_try='test -s conftest.$ac_objext'
2947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2948 (eval $ac_try) 2>&5
2949 ac_status=$?
2950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951 (exit $ac_status); }; }; then
2953 else
2954 echo "$as_me: failed program was:" >&5
2955 sed 's/^/| /' conftest.$ac_ext >&5
2957 continue
2959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2960 cat >conftest.$ac_ext <<_ACEOF
2961 /* confdefs.h. */
2962 _ACEOF
2963 cat confdefs.h >>conftest.$ac_ext
2964 cat >>conftest.$ac_ext <<_ACEOF
2965 /* end confdefs.h. */
2966 $ac_declaration
2968 main ()
2970 exit (42);
2972 return 0;
2974 _ACEOF
2975 rm -f conftest.$ac_objext
2976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2977 (eval $ac_compile) 2>conftest.er1
2978 ac_status=$?
2979 grep -v '^ *+' conftest.er1 >conftest.err
2980 rm -f conftest.er1
2981 cat conftest.err >&5
2982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983 (exit $ac_status); } &&
2984 { ac_try='test -z "$ac_c_werror_flag"
2985 || test ! -s conftest.err'
2986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2987 (eval $ac_try) 2>&5
2988 ac_status=$?
2989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2990 (exit $ac_status); }; } &&
2991 { ac_try='test -s conftest.$ac_objext'
2992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2993 (eval $ac_try) 2>&5
2994 ac_status=$?
2995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2996 (exit $ac_status); }; }; then
2997 break
2998 else
2999 echo "$as_me: failed program was:" >&5
3000 sed 's/^/| /' conftest.$ac_ext >&5
3003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3004 done
3005 rm -f conftest*
3006 if test -n "$ac_declaration"; then
3007 echo '#ifdef __cplusplus' >>confdefs.h
3008 echo $ac_declaration >>confdefs.h
3009 echo '#endif' >>confdefs.h
3012 else
3013 echo "$as_me: failed program was:" >&5
3014 sed 's/^/| /' conftest.$ac_ext >&5
3017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3018 ac_ext=c
3019 ac_cpp='$CPP $CPPFLAGS'
3020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3024 ac_ext=cc
3025 ac_cpp='$CXXCPP $CPPFLAGS'
3026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3029 if test -n "$ac_tool_prefix"; then
3030 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3032 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3033 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3034 echo "$as_me:$LINENO: checking for $ac_word" >&5
3035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3036 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3037 echo $ECHO_N "(cached) $ECHO_C" >&6
3038 else
3039 if test -n "$CXX"; then
3040 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3041 else
3042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3043 for as_dir in $PATH
3045 IFS=$as_save_IFS
3046 test -z "$as_dir" && as_dir=.
3047 for ac_exec_ext in '' $ac_executable_extensions; do
3048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3049 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3051 break 2
3053 done
3054 done
3058 CXX=$glibcxx_cv_prog_CXX
3059 if test -n "$CXX"; then
3060 echo "$as_me:$LINENO: result: $CXX" >&5
3061 echo "${ECHO_T}$CXX" >&6
3062 else
3063 echo "$as_me:$LINENO: result: no" >&5
3064 echo "${ECHO_T}no" >&6
3067 test -n "$CXX" && break
3068 done
3070 if test -z "$CXX"; then
3071 ac_ct_CXX=$CXX
3072 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3074 # Extract the first word of "$ac_prog", so it can be a program name with args.
3075 set dummy $ac_prog; ac_word=$2
3076 echo "$as_me:$LINENO: checking for $ac_word" >&5
3077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3078 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3079 echo $ECHO_N "(cached) $ECHO_C" >&6
3080 else
3081 if test -n "$ac_ct_CXX"; then
3082 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3083 else
3084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3085 for as_dir in $PATH
3087 IFS=$as_save_IFS
3088 test -z "$as_dir" && as_dir=.
3089 for ac_exec_ext in '' $ac_executable_extensions; do
3090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3091 ac_cv_prog_ac_ct_CXX="$ac_prog"
3092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3093 break 2
3095 done
3096 done
3100 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3101 if test -n "$ac_ct_CXX"; then
3102 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3103 echo "${ECHO_T}$ac_ct_CXX" >&6
3104 else
3105 echo "$as_me:$LINENO: result: no" >&5
3106 echo "${ECHO_T}no" >&6
3109 test -n "$ac_ct_CXX" && break
3110 done
3111 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3113 CXX=$ac_ct_CXX
3117 # Provide some information about the compiler.
3118 echo "$as_me:$LINENO:" \
3119 "checking for C++ compiler version" >&5
3120 ac_compiler=`set X $ac_compile; echo $2`
3121 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3122 (eval $ac_compiler --version </dev/null >&5) 2>&5
3123 ac_status=$?
3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125 (exit $ac_status); }
3126 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3127 (eval $ac_compiler -v </dev/null >&5) 2>&5
3128 ac_status=$?
3129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130 (exit $ac_status); }
3131 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3132 (eval $ac_compiler -V </dev/null >&5) 2>&5
3133 ac_status=$?
3134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135 (exit $ac_status); }
3137 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3138 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3139 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3140 echo $ECHO_N "(cached) $ECHO_C" >&6
3141 else
3142 cat >conftest.$ac_ext <<_ACEOF
3143 /* confdefs.h. */
3144 _ACEOF
3145 cat confdefs.h >>conftest.$ac_ext
3146 cat >>conftest.$ac_ext <<_ACEOF
3147 /* end confdefs.h. */
3150 main ()
3152 #ifndef __GNUC__
3153 choke me
3154 #endif
3157 return 0;
3159 _ACEOF
3160 rm -f conftest.$ac_objext
3161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3162 (eval $ac_compile) 2>conftest.er1
3163 ac_status=$?
3164 grep -v '^ *+' conftest.er1 >conftest.err
3165 rm -f conftest.er1
3166 cat conftest.err >&5
3167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168 (exit $ac_status); } &&
3169 { ac_try='test -z "$ac_cxx_werror_flag"
3170 || test ! -s conftest.err'
3171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3172 (eval $ac_try) 2>&5
3173 ac_status=$?
3174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 (exit $ac_status); }; } &&
3176 { ac_try='test -s conftest.$ac_objext'
3177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3178 (eval $ac_try) 2>&5
3179 ac_status=$?
3180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3181 (exit $ac_status); }; }; then
3182 ac_compiler_gnu=yes
3183 else
3184 echo "$as_me: failed program was:" >&5
3185 sed 's/^/| /' conftest.$ac_ext >&5
3187 ac_compiler_gnu=no
3189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3190 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3193 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3194 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3195 GXX=`test $ac_compiler_gnu = yes && echo yes`
3196 ac_test_CXXFLAGS=${CXXFLAGS+set}
3197 ac_save_CXXFLAGS=$CXXFLAGS
3198 CXXFLAGS="-g"
3199 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3200 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3201 if test "${ac_cv_prog_cxx_g+set}" = set; then
3202 echo $ECHO_N "(cached) $ECHO_C" >&6
3203 else
3204 cat >conftest.$ac_ext <<_ACEOF
3205 /* confdefs.h. */
3206 _ACEOF
3207 cat confdefs.h >>conftest.$ac_ext
3208 cat >>conftest.$ac_ext <<_ACEOF
3209 /* end confdefs.h. */
3212 main ()
3216 return 0;
3218 _ACEOF
3219 rm -f conftest.$ac_objext
3220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3221 (eval $ac_compile) 2>conftest.er1
3222 ac_status=$?
3223 grep -v '^ *+' conftest.er1 >conftest.err
3224 rm -f conftest.er1
3225 cat conftest.err >&5
3226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227 (exit $ac_status); } &&
3228 { ac_try='test -z "$ac_cxx_werror_flag"
3229 || test ! -s conftest.err'
3230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3231 (eval $ac_try) 2>&5
3232 ac_status=$?
3233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3234 (exit $ac_status); }; } &&
3235 { ac_try='test -s conftest.$ac_objext'
3236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3237 (eval $ac_try) 2>&5
3238 ac_status=$?
3239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3240 (exit $ac_status); }; }; then
3241 ac_cv_prog_cxx_g=yes
3242 else
3243 echo "$as_me: failed program was:" >&5
3244 sed 's/^/| /' conftest.$ac_ext >&5
3246 ac_cv_prog_cxx_g=no
3248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3250 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3251 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3252 if test "$ac_test_CXXFLAGS" = set; then
3253 CXXFLAGS=$ac_save_CXXFLAGS
3254 elif test $ac_cv_prog_cxx_g = yes; then
3255 if test "$GXX" = yes; then
3256 CXXFLAGS="-g -O2"
3257 else
3258 CXXFLAGS="-g"
3260 else
3261 if test "$GXX" = yes; then
3262 CXXFLAGS="-O2"
3263 else
3264 CXXFLAGS=
3267 for ac_declaration in \
3268 '' \
3269 'extern "C" void std::exit (int) throw (); using std::exit;' \
3270 'extern "C" void std::exit (int); using std::exit;' \
3271 'extern "C" void exit (int) throw ();' \
3272 'extern "C" void exit (int);' \
3273 'void exit (int);'
3275 cat >conftest.$ac_ext <<_ACEOF
3276 /* confdefs.h. */
3277 _ACEOF
3278 cat confdefs.h >>conftest.$ac_ext
3279 cat >>conftest.$ac_ext <<_ACEOF
3280 /* end confdefs.h. */
3281 $ac_declaration
3282 #include <stdlib.h>
3284 main ()
3286 exit (42);
3288 return 0;
3290 _ACEOF
3291 rm -f conftest.$ac_objext
3292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3293 (eval $ac_compile) 2>conftest.er1
3294 ac_status=$?
3295 grep -v '^ *+' conftest.er1 >conftest.err
3296 rm -f conftest.er1
3297 cat conftest.err >&5
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); } &&
3300 { ac_try='test -z "$ac_cxx_werror_flag"
3301 || test ! -s conftest.err'
3302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3303 (eval $ac_try) 2>&5
3304 ac_status=$?
3305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3306 (exit $ac_status); }; } &&
3307 { ac_try='test -s conftest.$ac_objext'
3308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3309 (eval $ac_try) 2>&5
3310 ac_status=$?
3311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3312 (exit $ac_status); }; }; then
3314 else
3315 echo "$as_me: failed program was:" >&5
3316 sed 's/^/| /' conftest.$ac_ext >&5
3318 continue
3320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3321 cat >conftest.$ac_ext <<_ACEOF
3322 /* confdefs.h. */
3323 _ACEOF
3324 cat confdefs.h >>conftest.$ac_ext
3325 cat >>conftest.$ac_ext <<_ACEOF
3326 /* end confdefs.h. */
3327 $ac_declaration
3329 main ()
3331 exit (42);
3333 return 0;
3335 _ACEOF
3336 rm -f conftest.$ac_objext
3337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3338 (eval $ac_compile) 2>conftest.er1
3339 ac_status=$?
3340 grep -v '^ *+' conftest.er1 >conftest.err
3341 rm -f conftest.er1
3342 cat conftest.err >&5
3343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344 (exit $ac_status); } &&
3345 { ac_try='test -z "$ac_cxx_werror_flag"
3346 || test ! -s conftest.err'
3347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3348 (eval $ac_try) 2>&5
3349 ac_status=$?
3350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); }; } &&
3352 { ac_try='test -s conftest.$ac_objext'
3353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3354 (eval $ac_try) 2>&5
3355 ac_status=$?
3356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3357 (exit $ac_status); }; }; then
3358 break
3359 else
3360 echo "$as_me: failed program was:" >&5
3361 sed 's/^/| /' conftest.$ac_ext >&5
3364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3365 done
3366 rm -f conftest*
3367 if test -n "$ac_declaration"; then
3368 echo '#ifdef __cplusplus' >>confdefs.h
3369 echo $ac_declaration >>confdefs.h
3370 echo '#endif' >>confdefs.h
3373 ac_ext=c
3374 ac_cpp='$CPP $CPPFLAGS'
3375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3379 CXXFLAGS="$save_CXXFLAGS"
3384 # For directory versioning (e.g., headers) and other variables.
3385 echo "$as_me:$LINENO: checking for GCC version number" >&5
3386 echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6
3387 gcc_version=`$CXX -dumpversion`
3388 echo "$as_me:$LINENO: result: $gcc_version" >&5
3389 echo "${ECHO_T}$gcc_version" >&6
3391 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3392 # available). Uncomment the next line to force a particular method.
3393 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3394 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3395 LN_S=$as_ln_s
3396 if test "$LN_S" = "ln -s"; then
3397 echo "$as_me:$LINENO: result: yes" >&5
3398 echo "${ECHO_T}yes" >&6
3399 else
3400 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3401 echo "${ECHO_T}no, using $LN_S" >&6
3404 #LN_S='cp -p'
3406 if test -n "$ac_tool_prefix"; then
3407 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3408 set dummy ${ac_tool_prefix}as; ac_word=$2
3409 echo "$as_me:$LINENO: checking for $ac_word" >&5
3410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3411 if test "${ac_cv_prog_AS+set}" = set; then
3412 echo $ECHO_N "(cached) $ECHO_C" >&6
3413 else
3414 if test -n "$AS"; then
3415 ac_cv_prog_AS="$AS" # Let the user override the test.
3416 else
3417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3418 for as_dir in $PATH
3420 IFS=$as_save_IFS
3421 test -z "$as_dir" && as_dir=.
3422 for ac_exec_ext in '' $ac_executable_extensions; do
3423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3424 ac_cv_prog_AS="${ac_tool_prefix}as"
3425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3426 break 2
3428 done
3429 done
3433 AS=$ac_cv_prog_AS
3434 if test -n "$AS"; then
3435 echo "$as_me:$LINENO: result: $AS" >&5
3436 echo "${ECHO_T}$AS" >&6
3437 else
3438 echo "$as_me:$LINENO: result: no" >&5
3439 echo "${ECHO_T}no" >&6
3443 if test -z "$ac_cv_prog_AS"; then
3444 ac_ct_AS=$AS
3445 # Extract the first word of "as", so it can be a program name with args.
3446 set dummy as; ac_word=$2
3447 echo "$as_me:$LINENO: checking for $ac_word" >&5
3448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3449 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3450 echo $ECHO_N "(cached) $ECHO_C" >&6
3451 else
3452 if test -n "$ac_ct_AS"; then
3453 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3454 else
3455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3456 for as_dir in $PATH
3458 IFS=$as_save_IFS
3459 test -z "$as_dir" && as_dir=.
3460 for ac_exec_ext in '' $ac_executable_extensions; do
3461 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3462 ac_cv_prog_ac_ct_AS="as"
3463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3464 break 2
3466 done
3467 done
3471 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3472 if test -n "$ac_ct_AS"; then
3473 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3474 echo "${ECHO_T}$ac_ct_AS" >&6
3475 else
3476 echo "$as_me:$LINENO: result: no" >&5
3477 echo "${ECHO_T}no" >&6
3480 AS=$ac_ct_AS
3481 else
3482 AS="$ac_cv_prog_AS"
3485 if test -n "$ac_tool_prefix"; then
3486 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3487 set dummy ${ac_tool_prefix}ar; ac_word=$2
3488 echo "$as_me:$LINENO: checking for $ac_word" >&5
3489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3490 if test "${ac_cv_prog_AR+set}" = set; then
3491 echo $ECHO_N "(cached) $ECHO_C" >&6
3492 else
3493 if test -n "$AR"; then
3494 ac_cv_prog_AR="$AR" # Let the user override the test.
3495 else
3496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3497 for as_dir in $PATH
3499 IFS=$as_save_IFS
3500 test -z "$as_dir" && as_dir=.
3501 for ac_exec_ext in '' $ac_executable_extensions; do
3502 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3503 ac_cv_prog_AR="${ac_tool_prefix}ar"
3504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3505 break 2
3507 done
3508 done
3512 AR=$ac_cv_prog_AR
3513 if test -n "$AR"; then
3514 echo "$as_me:$LINENO: result: $AR" >&5
3515 echo "${ECHO_T}$AR" >&6
3516 else
3517 echo "$as_me:$LINENO: result: no" >&5
3518 echo "${ECHO_T}no" >&6
3522 if test -z "$ac_cv_prog_AR"; then
3523 ac_ct_AR=$AR
3524 # Extract the first word of "ar", so it can be a program name with args.
3525 set dummy ar; ac_word=$2
3526 echo "$as_me:$LINENO: checking for $ac_word" >&5
3527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3528 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3529 echo $ECHO_N "(cached) $ECHO_C" >&6
3530 else
3531 if test -n "$ac_ct_AR"; then
3532 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3533 else
3534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3535 for as_dir in $PATH
3537 IFS=$as_save_IFS
3538 test -z "$as_dir" && as_dir=.
3539 for ac_exec_ext in '' $ac_executable_extensions; do
3540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3541 ac_cv_prog_ac_ct_AR="ar"
3542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3543 break 2
3545 done
3546 done
3550 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3551 if test -n "$ac_ct_AR"; then
3552 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3553 echo "${ECHO_T}$ac_ct_AR" >&6
3554 else
3555 echo "$as_me:$LINENO: result: no" >&5
3556 echo "${ECHO_T}no" >&6
3559 AR=$ac_ct_AR
3560 else
3561 AR="$ac_cv_prog_AR"
3564 if test -n "$ac_tool_prefix"; then
3565 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3566 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3567 echo "$as_me:$LINENO: checking for $ac_word" >&5
3568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3569 if test "${ac_cv_prog_RANLIB+set}" = set; then
3570 echo $ECHO_N "(cached) $ECHO_C" >&6
3571 else
3572 if test -n "$RANLIB"; then
3573 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3574 else
3575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3576 for as_dir in $PATH
3578 IFS=$as_save_IFS
3579 test -z "$as_dir" && as_dir=.
3580 for ac_exec_ext in '' $ac_executable_extensions; do
3581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3582 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3584 break 2
3586 done
3587 done
3591 RANLIB=$ac_cv_prog_RANLIB
3592 if test -n "$RANLIB"; then
3593 echo "$as_me:$LINENO: result: $RANLIB" >&5
3594 echo "${ECHO_T}$RANLIB" >&6
3595 else
3596 echo "$as_me:$LINENO: result: no" >&5
3597 echo "${ECHO_T}no" >&6
3601 if test -z "$ac_cv_prog_RANLIB"; then
3602 ac_ct_RANLIB=$RANLIB
3603 # Extract the first word of "ranlib", so it can be a program name with args.
3604 set dummy ranlib; ac_word=$2
3605 echo "$as_me:$LINENO: checking for $ac_word" >&5
3606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3607 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3608 echo $ECHO_N "(cached) $ECHO_C" >&6
3609 else
3610 if test -n "$ac_ct_RANLIB"; then
3611 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3612 else
3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3614 for as_dir in $PATH
3616 IFS=$as_save_IFS
3617 test -z "$as_dir" && as_dir=.
3618 for ac_exec_ext in '' $ac_executable_extensions; do
3619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3620 ac_cv_prog_ac_ct_RANLIB="ranlib"
3621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3622 break 2
3624 done
3625 done
3627 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3630 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3631 if test -n "$ac_ct_RANLIB"; then
3632 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3633 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3634 else
3635 echo "$as_me:$LINENO: result: no" >&5
3636 echo "${ECHO_T}no" >&6
3639 RANLIB=$ac_ct_RANLIB
3640 else
3641 RANLIB="$ac_cv_prog_RANLIB"
3645 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3646 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3647 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3648 if test "${enable_maintainer_mode+set}" = set; then
3649 enableval="$enable_maintainer_mode"
3650 USE_MAINTAINER_MODE=$enableval
3651 else
3652 USE_MAINTAINER_MODE=no
3654 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3655 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3658 if test $USE_MAINTAINER_MODE = yes; then
3659 MAINTAINER_MODE_TRUE=
3660 MAINTAINER_MODE_FALSE='#'
3661 else
3662 MAINTAINER_MODE_TRUE='#'
3663 MAINTAINER_MODE_FALSE=
3666 MAINT=$MAINTAINER_MODE_TRUE
3670 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3671 # which are themselves conditionally expanded.
3672 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3673 ## other macros from doing the same. This should be automated.) -pme
3674 need_libmath=no
3675 enable_wchar_t=no
3676 #enable_libstdcxx_debug=no
3677 #enable_libstdcxx_pch=no
3678 #enable_cheaders=c
3679 #c_compatibility=no
3680 #enable_abi_check=no
3681 #enable_symvers=no
3682 #enable_hosted_libstdcxx=yes
3684 # Find platform-specific directories containing configuration info.
3685 # Also possibly modify flags used elsewhere, as needed by the platform.
3687 . $glibcxx_srcdir/configure.host
3688 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3689 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3690 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3691 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3695 #AC_MSG_NOTICE([====== Starting libtool configuration])
3697 # Check whether --enable-shared or --disable-shared was given.
3698 if test "${enable_shared+set}" = set; then
3699 enableval="$enable_shared"
3700 p=${PACKAGE-default}
3701 case $enableval in
3702 yes) enable_shared=yes ;;
3703 no) enable_shared=no ;;
3705 enable_shared=no
3706 # Look at the argument we got. We use all the common list separators.
3707 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3708 for pkg in $enableval; do
3709 if test "X$pkg" = "X$p"; then
3710 enable_shared=yes
3712 done
3713 IFS="$ac_save_ifs"
3715 esac
3716 else
3717 enable_shared=yes
3719 # Check whether --enable-static or --disable-static was given.
3720 if test "${enable_static+set}" = set; then
3721 enableval="$enable_static"
3722 p=${PACKAGE-default}
3723 case $enableval in
3724 yes) enable_static=yes ;;
3725 no) enable_static=no ;;
3727 enable_static=no
3728 # Look at the argument we got. We use all the common list separators.
3729 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3730 for pkg in $enableval; do
3731 if test "X$pkg" = "X$p"; then
3732 enable_static=yes
3734 done
3735 IFS="$ac_save_ifs"
3737 esac
3738 else
3739 enable_static=yes
3741 # Check whether --enable-fast-install or --disable-fast-install was given.
3742 if test "${enable_fast_install+set}" = set; then
3743 enableval="$enable_fast_install"
3744 p=${PACKAGE-default}
3745 case $enableval in
3746 yes) enable_fast_install=yes ;;
3747 no) enable_fast_install=no ;;
3749 enable_fast_install=no
3750 # Look at the argument we got. We use all the common list separators.
3751 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3752 for pkg in $enableval; do
3753 if test "X$pkg" = "X$p"; then
3754 enable_fast_install=yes
3756 done
3757 IFS="$ac_save_ifs"
3759 esac
3760 else
3761 enable_fast_install=yes
3764 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3765 if test "${with_gnu_ld+set}" = set; then
3766 withval="$with_gnu_ld"
3767 test "$withval" = no || with_gnu_ld=yes
3768 else
3769 with_gnu_ld=no
3771 ac_prog=ld
3772 if test "$GCC" = yes; then
3773 # Check if gcc -print-prog-name=ld gives a path.
3774 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3775 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3776 case $host in
3777 *-*-mingw*)
3778 # gcc leaves a trailing carriage return which upsets mingw
3779 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3781 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3782 esac
3783 case $ac_prog in
3784 # Accept absolute paths.
3785 [\\/]* | [A-Za-z]:[\\/]*)
3786 re_direlt='/[^/][^/]*/\.\./'
3787 # Canonicalize the path of ld
3788 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3789 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3790 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3791 done
3792 test -z "$LD" && LD="$ac_prog"
3795 # If it fails, then pretend we aren't using GCC.
3796 ac_prog=ld
3799 # If it is relative, then search for the first ld in PATH.
3800 with_gnu_ld=unknown
3802 esac
3803 elif test "$with_gnu_ld" = yes; then
3804 echo "$as_me:$LINENO: checking for GNU ld" >&5
3805 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3806 else
3807 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3808 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3810 if test "${lt_cv_path_LD+set}" = set; then
3811 echo $ECHO_N "(cached) $ECHO_C" >&6
3812 else
3813 if test -z "$LD"; then
3814 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3815 for ac_dir in $PATH; do
3816 test -z "$ac_dir" && ac_dir=.
3817 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3818 lt_cv_path_LD="$ac_dir/$ac_prog"
3819 # Check to see if the program is GNU ld. I'd rather use --version,
3820 # but apparently some GNU ld's only accept -v.
3821 # Break only if it was the GNU/non-GNU ld that we prefer.
3822 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3823 test "$with_gnu_ld" != no && break
3824 else
3825 test "$with_gnu_ld" != yes && break
3828 done
3829 IFS="$ac_save_ifs"
3830 else
3831 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3835 LD="$lt_cv_path_LD"
3836 if test -n "$LD"; then
3837 echo "$as_me:$LINENO: result: $LD" >&5
3838 echo "${ECHO_T}$LD" >&6
3839 else
3840 echo "$as_me:$LINENO: result: no" >&5
3841 echo "${ECHO_T}no" >&6
3843 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3844 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3845 { (exit 1); exit 1; }; }
3846 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3847 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3848 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3849 echo $ECHO_N "(cached) $ECHO_C" >&6
3850 else
3851 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3852 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3853 lt_cv_prog_gnu_ld=yes
3854 else
3855 lt_cv_prog_gnu_ld=no
3858 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3859 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3860 with_gnu_ld=$lt_cv_prog_gnu_ld
3863 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3864 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3865 if test "${lt_cv_ld_reload_flag+set}" = set; then
3866 echo $ECHO_N "(cached) $ECHO_C" >&6
3867 else
3868 lt_cv_ld_reload_flag='-r'
3870 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3871 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3872 reload_flag=$lt_cv_ld_reload_flag
3873 test -n "$reload_flag" && reload_flag=" $reload_flag"
3875 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3876 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3877 if test "${lt_cv_path_NM+set}" = set; then
3878 echo $ECHO_N "(cached) $ECHO_C" >&6
3879 else
3880 if test -n "$NM"; then
3881 # Let the user override the test.
3882 lt_cv_path_NM="$NM"
3883 else
3884 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3885 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3886 test -z "$ac_dir" && ac_dir=.
3887 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3888 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3889 # Check to see if the nm accepts a BSD-compat flag.
3890 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3891 # nm: unknown option "B" ignored
3892 # Tru64's nm complains that /dev/null is an invalid object file
3893 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3894 lt_cv_path_NM="$tmp_nm -B"
3895 break
3896 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3897 lt_cv_path_NM="$tmp_nm -p"
3898 break
3899 else
3900 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3901 continue # so that we can try to find one that supports BSD flags
3904 done
3905 IFS="$ac_save_ifs"
3906 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3910 NM="$lt_cv_path_NM"
3911 echo "$as_me:$LINENO: result: $NM" >&5
3912 echo "${ECHO_T}$NM" >&6
3914 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3915 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3916 if test "${lt_cv_deplibs_check_method+set}" = set; then
3917 echo $ECHO_N "(cached) $ECHO_C" >&6
3918 else
3919 lt_cv_file_magic_cmd='$MAGIC_CMD'
3920 lt_cv_file_magic_test_file=
3921 lt_cv_deplibs_check_method='unknown'
3922 # Need to set the preceding variable on all platforms that support
3923 # interlibrary dependencies.
3924 # 'none' -- dependencies not supported.
3925 # `unknown' -- same as none, but documents that we really don't know.
3926 # 'pass_all' -- all dependencies passed with no checks.
3927 # 'test_compile' -- check by making test program.
3928 # 'file_magic [regex]' -- check by looking for files in library path
3929 # which responds to the $file_magic_cmd with a given egrep regex.
3930 # If you have `file' or equivalent on your system and you're not sure
3931 # whether `pass_all' will *always* work, you probably want this one.
3933 case $host_os in
3934 aix*)
3935 lt_cv_deplibs_check_method=pass_all
3938 beos*)
3939 lt_cv_deplibs_check_method=pass_all
3942 bsdi4*)
3943 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3944 lt_cv_file_magic_cmd='/usr/bin/file -L'
3945 lt_cv_file_magic_test_file=/shlib/libc.so
3948 cygwin* | mingw* |pw32*)
3949 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3950 lt_cv_file_magic_cmd='$OBJDUMP -f'
3953 darwin* | rhapsody*)
3954 # this will be overwritten by pass_all, but leave it in just in case
3955 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3956 lt_cv_file_magic_cmd='/usr/bin/file -L'
3957 case "$host_os" in
3958 rhapsody* | darwin1.012)
3959 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3961 *) # Darwin 1.3 on
3962 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3964 esac
3965 lt_cv_deplibs_check_method=pass_all
3968 freebsd* )
3969 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3970 case $host_cpu in
3971 i*86 )
3972 # Not sure whether the presence of OpenBSD here was a mistake.
3973 # Let's accept both of them until this is cleared up.
3974 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3975 lt_cv_file_magic_cmd=/usr/bin/file
3976 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3978 esac
3979 else
3980 lt_cv_deplibs_check_method=pass_all
3984 gnu*)
3985 lt_cv_deplibs_check_method=pass_all
3988 hpux10.20*|hpux11*)
3989 case $host_cpu in
3990 hppa*)
3991 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3992 lt_cv_file_magic_cmd=/usr/bin/file
3993 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3995 ia64*)
3996 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3997 lt_cv_file_magic_cmd=/usr/bin/file
3998 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4000 esac
4003 irix5* | irix6*)
4004 case $host_os in
4005 irix5*)
4006 # this will be overridden with pass_all, but let us keep it just in case
4007 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4010 case $LD in
4011 *-32|*"-32 ") libmagic=32-bit;;
4012 *-n32|*"-n32 ") libmagic=N32;;
4013 *-64|*"-64 ") libmagic=64-bit;;
4014 *) libmagic=never-match;;
4015 esac
4016 # this will be overridden with pass_all, but let us keep it just in case
4017 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4019 esac
4020 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4021 lt_cv_deplibs_check_method=pass_all
4024 # This must be Linux ELF.
4025 linux-gnu*)
4026 case $host_cpu in
4027 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
4028 lt_cv_deplibs_check_method=pass_all ;;
4030 # glibc up to 2.1.1 does not perform some relocations on ARM
4031 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4032 esac
4033 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4036 netbsd*)
4037 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4038 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4039 else
4040 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4044 newsos6)
4045 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4046 lt_cv_file_magic_cmd=/usr/bin/file
4047 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4050 osf3* | osf4* | osf5*)
4051 # this will be overridden with pass_all, but let us keep it just in case
4052 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4053 lt_cv_file_magic_test_file=/shlib/libc.so
4054 lt_cv_deplibs_check_method=pass_all
4057 sco3.2v5*)
4058 lt_cv_deplibs_check_method=pass_all
4061 solaris*)
4062 lt_cv_deplibs_check_method=pass_all
4063 lt_cv_file_magic_test_file=/lib/libc.so
4066 sysv5uw[78]* | sysv4*uw2*)
4067 lt_cv_deplibs_check_method=pass_all
4070 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4071 case $host_vendor in
4072 ncr)
4073 lt_cv_deplibs_check_method=pass_all
4075 motorola)
4076 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]'
4077 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4079 esac
4081 esac
4084 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4085 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4086 file_magic_cmd=$lt_cv_file_magic_cmd
4087 deplibs_check_method=$lt_cv_deplibs_check_method
4093 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4095 # Only perform the check for file, if the check method requires it
4096 case $deplibs_check_method in
4097 file_magic*)
4098 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4099 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4100 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4101 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4102 echo $ECHO_N "(cached) $ECHO_C" >&6
4103 else
4104 case $MAGIC_CMD in
4106 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4108 ?:/*)
4109 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4112 ac_save_MAGIC_CMD="$MAGIC_CMD"
4113 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4114 ac_dummy="/usr/bin:$PATH"
4115 for ac_dir in $ac_dummy; do
4116 test -z "$ac_dir" && ac_dir=.
4117 if test -f $ac_dir/${ac_tool_prefix}file; then
4118 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4119 if test -n "$file_magic_test_file"; then
4120 case $deplibs_check_method in
4121 "file_magic "*)
4122 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4123 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4124 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4125 egrep "$file_magic_regex" > /dev/null; then
4127 else
4128 cat <<EOF 1>&2
4130 *** Warning: the command libtool uses to detect shared libraries,
4131 *** $file_magic_cmd, produces output that libtool cannot recognize.
4132 *** The result is that libtool may fail to recognize shared libraries
4133 *** as such. This will affect the creation of libtool libraries that
4134 *** depend on shared libraries, but programs linked with such libtool
4135 *** libraries will work regardless of this problem. Nevertheless, you
4136 *** may want to report the problem to your system manager and/or to
4137 *** bug-libtool@gnu.org
4140 fi ;;
4141 esac
4143 break
4145 done
4146 IFS="$ac_save_ifs"
4147 MAGIC_CMD="$ac_save_MAGIC_CMD"
4149 esac
4152 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4153 if test -n "$MAGIC_CMD"; then
4154 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4155 echo "${ECHO_T}$MAGIC_CMD" >&6
4156 else
4157 echo "$as_me:$LINENO: result: no" >&5
4158 echo "${ECHO_T}no" >&6
4161 if test -z "$lt_cv_path_MAGIC_CMD"; then
4162 if test -n "$ac_tool_prefix"; then
4163 echo "$as_me:$LINENO: checking for file" >&5
4164 echo $ECHO_N "checking for file... $ECHO_C" >&6
4165 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4166 echo $ECHO_N "(cached) $ECHO_C" >&6
4167 else
4168 case $MAGIC_CMD in
4170 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4172 ?:/*)
4173 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4176 ac_save_MAGIC_CMD="$MAGIC_CMD"
4177 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4178 ac_dummy="/usr/bin:$PATH"
4179 for ac_dir in $ac_dummy; do
4180 test -z "$ac_dir" && ac_dir=.
4181 if test -f $ac_dir/file; then
4182 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4183 if test -n "$file_magic_test_file"; then
4184 case $deplibs_check_method in
4185 "file_magic "*)
4186 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4187 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4188 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4189 egrep "$file_magic_regex" > /dev/null; then
4191 else
4192 cat <<EOF 1>&2
4194 *** Warning: the command libtool uses to detect shared libraries,
4195 *** $file_magic_cmd, produces output that libtool cannot recognize.
4196 *** The result is that libtool may fail to recognize shared libraries
4197 *** as such. This will affect the creation of libtool libraries that
4198 *** depend on shared libraries, but programs linked with such libtool
4199 *** libraries will work regardless of this problem. Nevertheless, you
4200 *** may want to report the problem to your system manager and/or to
4201 *** bug-libtool@gnu.org
4204 fi ;;
4205 esac
4207 break
4209 done
4210 IFS="$ac_save_ifs"
4211 MAGIC_CMD="$ac_save_MAGIC_CMD"
4213 esac
4216 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4217 if test -n "$MAGIC_CMD"; then
4218 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4219 echo "${ECHO_T}$MAGIC_CMD" >&6
4220 else
4221 echo "$as_me:$LINENO: result: no" >&5
4222 echo "${ECHO_T}no" >&6
4225 else
4226 MAGIC_CMD=:
4232 esac
4234 if test -n "$ac_tool_prefix"; then
4235 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4236 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4237 echo "$as_me:$LINENO: checking for $ac_word" >&5
4238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4239 if test "${ac_cv_prog_RANLIB+set}" = set; then
4240 echo $ECHO_N "(cached) $ECHO_C" >&6
4241 else
4242 if test -n "$RANLIB"; then
4243 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4244 else
4245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4246 for as_dir in $PATH
4248 IFS=$as_save_IFS
4249 test -z "$as_dir" && as_dir=.
4250 for ac_exec_ext in '' $ac_executable_extensions; do
4251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4252 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4254 break 2
4256 done
4257 done
4261 RANLIB=$ac_cv_prog_RANLIB
4262 if test -n "$RANLIB"; then
4263 echo "$as_me:$LINENO: result: $RANLIB" >&5
4264 echo "${ECHO_T}$RANLIB" >&6
4265 else
4266 echo "$as_me:$LINENO: result: no" >&5
4267 echo "${ECHO_T}no" >&6
4271 if test -z "$ac_cv_prog_RANLIB"; then
4272 ac_ct_RANLIB=$RANLIB
4273 # Extract the first word of "ranlib", so it can be a program name with args.
4274 set dummy ranlib; ac_word=$2
4275 echo "$as_me:$LINENO: checking for $ac_word" >&5
4276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4277 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4278 echo $ECHO_N "(cached) $ECHO_C" >&6
4279 else
4280 if test -n "$ac_ct_RANLIB"; then
4281 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4282 else
4283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4284 for as_dir in $PATH
4286 IFS=$as_save_IFS
4287 test -z "$as_dir" && as_dir=.
4288 for ac_exec_ext in '' $ac_executable_extensions; do
4289 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4290 ac_cv_prog_ac_ct_RANLIB="ranlib"
4291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4292 break 2
4294 done
4295 done
4297 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4300 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4301 if test -n "$ac_ct_RANLIB"; then
4302 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4303 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4304 else
4305 echo "$as_me:$LINENO: result: no" >&5
4306 echo "${ECHO_T}no" >&6
4309 RANLIB=$ac_ct_RANLIB
4310 else
4311 RANLIB="$ac_cv_prog_RANLIB"
4314 if test -n "$ac_tool_prefix"; then
4315 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4316 set dummy ${ac_tool_prefix}strip; ac_word=$2
4317 echo "$as_me:$LINENO: checking for $ac_word" >&5
4318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4319 if test "${ac_cv_prog_STRIP+set}" = set; then
4320 echo $ECHO_N "(cached) $ECHO_C" >&6
4321 else
4322 if test -n "$STRIP"; then
4323 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4324 else
4325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4326 for as_dir in $PATH
4328 IFS=$as_save_IFS
4329 test -z "$as_dir" && as_dir=.
4330 for ac_exec_ext in '' $ac_executable_extensions; do
4331 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4332 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4334 break 2
4336 done
4337 done
4341 STRIP=$ac_cv_prog_STRIP
4342 if test -n "$STRIP"; then
4343 echo "$as_me:$LINENO: result: $STRIP" >&5
4344 echo "${ECHO_T}$STRIP" >&6
4345 else
4346 echo "$as_me:$LINENO: result: no" >&5
4347 echo "${ECHO_T}no" >&6
4351 if test -z "$ac_cv_prog_STRIP"; then
4352 ac_ct_STRIP=$STRIP
4353 # Extract the first word of "strip", so it can be a program name with args.
4354 set dummy strip; ac_word=$2
4355 echo "$as_me:$LINENO: checking for $ac_word" >&5
4356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4357 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4358 echo $ECHO_N "(cached) $ECHO_C" >&6
4359 else
4360 if test -n "$ac_ct_STRIP"; then
4361 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4362 else
4363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4364 for as_dir in $PATH
4366 IFS=$as_save_IFS
4367 test -z "$as_dir" && as_dir=.
4368 for ac_exec_ext in '' $ac_executable_extensions; do
4369 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4370 ac_cv_prog_ac_ct_STRIP="strip"
4371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4372 break 2
4374 done
4375 done
4377 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4380 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4381 if test -n "$ac_ct_STRIP"; then
4382 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4383 echo "${ECHO_T}$ac_ct_STRIP" >&6
4384 else
4385 echo "$as_me:$LINENO: result: no" >&5
4386 echo "${ECHO_T}no" >&6
4389 STRIP=$ac_ct_STRIP
4390 else
4391 STRIP="$ac_cv_prog_STRIP"
4395 # Check for any special flags to pass to ltconfig.
4396 libtool_flags="--cache-file=$cache_file"
4397 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4398 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4399 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4400 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4401 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4404 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4405 if test "${enable_libtool_lock+set}" = set; then
4406 enableval="$enable_libtool_lock"
4409 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4410 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4413 # Check whether --with-pic or --without-pic was given.
4414 if test "${with_pic+set}" = set; then
4415 withval="$with_pic"
4416 pic_mode="$withval"
4417 else
4418 pic_mode=default
4420 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4421 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4423 # Some flags need to be propagated to the compiler or linker for good
4424 # libtool support.
4425 case $host in
4426 *-*-irix6*)
4427 # Find out which ABI we are using.
4428 echo '#line 4428 "configure"' > conftest.$ac_ext
4429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4430 (eval $ac_compile) 2>&5
4431 ac_status=$?
4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 (exit $ac_status); }; then
4434 if test "$lt_cv_prog_gnu_ld" = yes; then
4435 case `/usr/bin/file conftest.$ac_objext` in
4436 *32-bit*)
4437 LD="${LD-ld} -melf32bsmip"
4439 *N32*)
4440 LD="${LD-ld} -melf32bmipn32"
4442 *64-bit*)
4443 LD="${LD-ld} -melf64bmip"
4445 esac
4446 else
4447 case `/usr/bin/file conftest.$ac_objext` in
4448 *32-bit*)
4449 LD="${LD-ld} -32"
4451 *N32*)
4452 LD="${LD-ld} -n32"
4454 *64-bit*)
4455 LD="${LD-ld} -64"
4457 esac
4460 rm -rf conftest*
4463 ia64-*-hpux*)
4464 # Find out which ABI we are using.
4465 echo 'int i;' > conftest.$ac_ext
4466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4467 (eval $ac_compile) 2>&5
4468 ac_status=$?
4469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4470 (exit $ac_status); }; then
4471 case "`/usr/bin/file conftest.o`" in
4472 *ELF-32*)
4473 HPUX_IA64_MODE="32"
4475 *ELF-64*)
4476 HPUX_IA64_MODE="64"
4478 esac
4480 rm -rf conftest*
4483 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4484 # Find out which ABI we are using.
4485 echo 'int i;' > conftest.$ac_ext
4486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4487 (eval $ac_compile) 2>&5
4488 ac_status=$?
4489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490 (exit $ac_status); }; then
4491 case "`/usr/bin/file conftest.o`" in
4492 *32-bit*)
4493 case $host in
4494 x86_64-*linux*)
4495 LD="${LD-ld} -m elf_i386"
4497 ppc64-*linux*|powerpc64-*linux*)
4498 LD="${LD-ld} -m elf32ppclinux"
4500 s390x-*linux*)
4501 LD="${LD-ld} -m elf_s390"
4503 sparc64-*linux*)
4504 LD="${LD-ld} -m elf32_sparc"
4506 esac
4508 *64-bit*)
4509 case $host in
4510 x86_64-*linux*)
4511 LD="${LD-ld} -m elf_x86_64"
4513 ppc*-*linux*|powerpc*-*linux*)
4514 LD="${LD-ld} -m elf64ppc"
4516 s390*-*linux*)
4517 LD="${LD-ld} -m elf64_s390"
4519 sparc*-*linux*)
4520 LD="${LD-ld} -m elf64_sparc"
4522 esac
4524 esac
4526 rm -rf conftest*
4529 *-*-sco3.2v5*)
4530 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4531 SAVE_CFLAGS="$CFLAGS"
4532 CFLAGS="$CFLAGS -belf"
4533 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4534 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4535 if test "${lt_cv_cc_needs_belf+set}" = set; then
4536 echo $ECHO_N "(cached) $ECHO_C" >&6
4537 else
4540 ac_ext=c
4541 ac_cpp='$CPP $CPPFLAGS'
4542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4546 if test x$gcc_no_link = xyes; then
4547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4549 { (exit 1); exit 1; }; }
4551 cat >conftest.$ac_ext <<_ACEOF
4552 /* confdefs.h. */
4553 _ACEOF
4554 cat confdefs.h >>conftest.$ac_ext
4555 cat >>conftest.$ac_ext <<_ACEOF
4556 /* end confdefs.h. */
4559 main ()
4563 return 0;
4565 _ACEOF
4566 rm -f conftest.$ac_objext conftest$ac_exeext
4567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4568 (eval $ac_link) 2>conftest.er1
4569 ac_status=$?
4570 grep -v '^ *+' conftest.er1 >conftest.err
4571 rm -f conftest.er1
4572 cat conftest.err >&5
4573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4574 (exit $ac_status); } &&
4575 { ac_try='test -z "$ac_c_werror_flag"
4576 || test ! -s conftest.err'
4577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4578 (eval $ac_try) 2>&5
4579 ac_status=$?
4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581 (exit $ac_status); }; } &&
4582 { ac_try='test -s conftest$ac_exeext'
4583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4584 (eval $ac_try) 2>&5
4585 ac_status=$?
4586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587 (exit $ac_status); }; }; then
4588 lt_cv_cc_needs_belf=yes
4589 else
4590 echo "$as_me: failed program was:" >&5
4591 sed 's/^/| /' conftest.$ac_ext >&5
4593 lt_cv_cc_needs_belf=no
4595 rm -f conftest.err conftest.$ac_objext \
4596 conftest$ac_exeext conftest.$ac_ext
4597 ac_ext=c
4598 ac_cpp='$CPP $CPPFLAGS'
4599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4604 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4605 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4606 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4607 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4608 CFLAGS="$SAVE_CFLAGS"
4613 esac
4616 # Save cache, so that ltconfig can load it
4617 cat >confcache <<\_ACEOF
4618 # This file is a shell script that caches the results of configure
4619 # tests run on this system so they can be shared between configure
4620 # scripts and configure runs, see configure's option --config-cache.
4621 # It is not useful on other systems. If it contains results you don't
4622 # want to keep, you may remove or edit it.
4624 # config.status only pays attention to the cache file if you give it
4625 # the --recheck option to rerun configure.
4627 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4628 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4629 # following values.
4631 _ACEOF
4633 # The following way of writing the cache mishandles newlines in values,
4634 # but we know of no workaround that is simple, portable, and efficient.
4635 # So, don't put newlines in cache variables' values.
4636 # Ultrix sh set writes to stderr and can't be redirected directly,
4637 # and sets the high bit in the cache file unless we assign to the vars.
4639 (set) 2>&1 |
4640 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4641 *ac_space=\ *)
4642 # `set' does not quote correctly, so add quotes (double-quote
4643 # substitution turns \\\\ into \\, and sed turns \\ into \).
4644 sed -n \
4645 "s/'/'\\\\''/g;
4646 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4649 # `set' quotes correctly as required by POSIX, so do not add quotes.
4650 sed -n \
4651 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4653 esac;
4655 sed '
4656 t clear
4657 : clear
4658 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4659 t end
4660 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4661 : end' >>confcache
4662 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4663 if test -w $cache_file; then
4664 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4665 cat confcache >$cache_file
4666 else
4667 echo "not updating unwritable cache $cache_file"
4670 rm -f confcache
4672 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4673 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4674 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4675 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4676 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4677 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4678 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4679 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4680 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4681 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4682 echo "$as_me: error: libtool configure failed" >&2;}
4683 { (exit 1); exit 1; }; }
4685 # Reload cache, that may have been modified by ltconfig
4686 if test -r "$cache_file"; then
4687 # Some versions of bash will fail to source /dev/null (special
4688 # files actually), so we avoid doing that.
4689 if test -f "$cache_file"; then
4690 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4691 echo "$as_me: loading cache $cache_file" >&6;}
4692 case $cache_file in
4693 [\\/]* | ?:[\\/]* ) . $cache_file;;
4694 *) . ./$cache_file;;
4695 esac
4697 else
4698 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4699 echo "$as_me: creating cache $cache_file" >&6;}
4700 >$cache_file
4704 # This can be used to rebuild libtool when needed
4705 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4707 # Always use our own libtool.
4708 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4710 # Redirect the config.log output again, so that the ltconfig log is not
4711 # clobbered by the next message.
4712 exec 5>>./config.log
4714 ac_ext=cc
4715 ac_cpp='$CXXCPP $CPPFLAGS'
4716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4719 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4720 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4721 if test -z "$CXXCPP"; then
4722 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4723 echo $ECHO_N "(cached) $ECHO_C" >&6
4724 else
4725 # Double quotes because CXXCPP needs to be expanded
4726 for CXXCPP in "$CXX -E" "/lib/cpp"
4728 ac_preproc_ok=false
4729 for ac_cxx_preproc_warn_flag in '' yes
4731 # Use a header file that comes with gcc, so configuring glibc
4732 # with a fresh cross-compiler works.
4733 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4734 # <limits.h> exists even on freestanding compilers.
4735 # On the NeXT, cc -E runs the code through the compiler's parser,
4736 # not just through cpp. "Syntax error" is here to catch this case.
4737 cat >conftest.$ac_ext <<_ACEOF
4738 /* confdefs.h. */
4739 _ACEOF
4740 cat confdefs.h >>conftest.$ac_ext
4741 cat >>conftest.$ac_ext <<_ACEOF
4742 /* end confdefs.h. */
4743 #ifdef __STDC__
4744 # include <limits.h>
4745 #else
4746 # include <assert.h>
4747 #endif
4748 Syntax error
4749 _ACEOF
4750 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4751 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4752 ac_status=$?
4753 grep -v '^ *+' conftest.er1 >conftest.err
4754 rm -f conftest.er1
4755 cat conftest.err >&5
4756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757 (exit $ac_status); } >/dev/null; then
4758 if test -s conftest.err; then
4759 ac_cpp_err=$ac_cxx_preproc_warn_flag
4760 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4761 else
4762 ac_cpp_err=
4764 else
4765 ac_cpp_err=yes
4767 if test -z "$ac_cpp_err"; then
4769 else
4770 echo "$as_me: failed program was:" >&5
4771 sed 's/^/| /' conftest.$ac_ext >&5
4773 # Broken: fails on valid input.
4774 continue
4776 rm -f conftest.err conftest.$ac_ext
4778 # OK, works on sane cases. Now check whether non-existent headers
4779 # can be detected and how.
4780 cat >conftest.$ac_ext <<_ACEOF
4781 /* confdefs.h. */
4782 _ACEOF
4783 cat confdefs.h >>conftest.$ac_ext
4784 cat >>conftest.$ac_ext <<_ACEOF
4785 /* end confdefs.h. */
4786 #include <ac_nonexistent.h>
4787 _ACEOF
4788 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4789 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4790 ac_status=$?
4791 grep -v '^ *+' conftest.er1 >conftest.err
4792 rm -f conftest.er1
4793 cat conftest.err >&5
4794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4795 (exit $ac_status); } >/dev/null; then
4796 if test -s conftest.err; then
4797 ac_cpp_err=$ac_cxx_preproc_warn_flag
4798 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4799 else
4800 ac_cpp_err=
4802 else
4803 ac_cpp_err=yes
4805 if test -z "$ac_cpp_err"; then
4806 # Broken: success on invalid input.
4807 continue
4808 else
4809 echo "$as_me: failed program was:" >&5
4810 sed 's/^/| /' conftest.$ac_ext >&5
4812 # Passes both tests.
4813 ac_preproc_ok=:
4814 break
4816 rm -f conftest.err conftest.$ac_ext
4818 done
4819 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4820 rm -f conftest.err conftest.$ac_ext
4821 if $ac_preproc_ok; then
4822 break
4825 done
4826 ac_cv_prog_CXXCPP=$CXXCPP
4829 CXXCPP=$ac_cv_prog_CXXCPP
4830 else
4831 ac_cv_prog_CXXCPP=$CXXCPP
4833 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4834 echo "${ECHO_T}$CXXCPP" >&6
4835 ac_preproc_ok=false
4836 for ac_cxx_preproc_warn_flag in '' yes
4838 # Use a header file that comes with gcc, so configuring glibc
4839 # with a fresh cross-compiler works.
4840 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4841 # <limits.h> exists even on freestanding compilers.
4842 # On the NeXT, cc -E runs the code through the compiler's parser,
4843 # not just through cpp. "Syntax error" is here to catch this case.
4844 cat >conftest.$ac_ext <<_ACEOF
4845 /* confdefs.h. */
4846 _ACEOF
4847 cat confdefs.h >>conftest.$ac_ext
4848 cat >>conftest.$ac_ext <<_ACEOF
4849 /* end confdefs.h. */
4850 #ifdef __STDC__
4851 # include <limits.h>
4852 #else
4853 # include <assert.h>
4854 #endif
4855 Syntax error
4856 _ACEOF
4857 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4858 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4859 ac_status=$?
4860 grep -v '^ *+' conftest.er1 >conftest.err
4861 rm -f conftest.er1
4862 cat conftest.err >&5
4863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4864 (exit $ac_status); } >/dev/null; then
4865 if test -s conftest.err; then
4866 ac_cpp_err=$ac_cxx_preproc_warn_flag
4867 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4868 else
4869 ac_cpp_err=
4871 else
4872 ac_cpp_err=yes
4874 if test -z "$ac_cpp_err"; then
4876 else
4877 echo "$as_me: failed program was:" >&5
4878 sed 's/^/| /' conftest.$ac_ext >&5
4880 # Broken: fails on valid input.
4881 continue
4883 rm -f conftest.err conftest.$ac_ext
4885 # OK, works on sane cases. Now check whether non-existent headers
4886 # can be detected and how.
4887 cat >conftest.$ac_ext <<_ACEOF
4888 /* confdefs.h. */
4889 _ACEOF
4890 cat confdefs.h >>conftest.$ac_ext
4891 cat >>conftest.$ac_ext <<_ACEOF
4892 /* end confdefs.h. */
4893 #include <ac_nonexistent.h>
4894 _ACEOF
4895 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4896 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4897 ac_status=$?
4898 grep -v '^ *+' conftest.er1 >conftest.err
4899 rm -f conftest.er1
4900 cat conftest.err >&5
4901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4902 (exit $ac_status); } >/dev/null; then
4903 if test -s conftest.err; then
4904 ac_cpp_err=$ac_cxx_preproc_warn_flag
4905 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4906 else
4907 ac_cpp_err=
4909 else
4910 ac_cpp_err=yes
4912 if test -z "$ac_cpp_err"; then
4913 # Broken: success on invalid input.
4914 continue
4915 else
4916 echo "$as_me: failed program was:" >&5
4917 sed 's/^/| /' conftest.$ac_ext >&5
4919 # Passes both tests.
4920 ac_preproc_ok=:
4921 break
4923 rm -f conftest.err conftest.$ac_ext
4925 done
4926 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4927 rm -f conftest.err conftest.$ac_ext
4928 if $ac_preproc_ok; then
4930 else
4931 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4932 See \`config.log' for more details." >&5
4933 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4934 See \`config.log' for more details." >&2;}
4935 { (exit 1); exit 1; }; }
4938 ac_ext=c
4939 ac_cpp='$CPP $CPPFLAGS'
4940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4946 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4947 lt_save_CC="$CC"
4948 lt_save_CFLAGS="$CFLAGS"
4949 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4950 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4951 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4952 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4953 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4954 deplibs_check_method="$deplibs_check_method" \
4955 file_magic_cmd="$file_magic_cmd" \
4956 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4957 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4958 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4959 echo "$as_me: error: libtool tag configuration failed" >&2;}
4960 { (exit 1); exit 1; }; }
4961 CC="$lt_save_CC"
4962 CFLAGS="$lt_save_CFLAGS"
4964 # Redirect the config.log output again, so that the ltconfig log is not
4965 # clobbered by the next message.
4966 exec 5>>./config.log
4975 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4977 # Possibly disable most of the library.
4978 ## XXX Consider skipping unncessary tests altogether in this case, rather
4979 ## than just ignoring the results. Faster /and/ more correct, win win.
4981 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4982 if test "${enable_hosted_libstdcxx+set}" = set; then
4983 enableval="$enable_hosted_libstdcxx"
4985 else
4986 enable_hosted_libstdcxx=yes
4988 if test "$enable_hosted_libstdcxx" = no; then
4989 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4990 echo "$as_me: Only freestanding libraries will be built" >&6;}
4991 is_hosted=no
4992 hosted_define=0
4993 enable_abi_check=no
4994 enable_libstdcxx_pch=no
4995 else
4996 is_hosted=yes
4997 hosted_define=1
5001 cat >>confdefs.h <<_ACEOF
5002 #define _GLIBCXX_HOSTED $hosted_define
5003 _ACEOF
5007 # Check for support bits and g++ features that don't require linking.
5009 echo "$as_me:$LINENO: checking for exception model to use" >&5
5010 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5013 ac_ext=cc
5014 ac_cpp='$CXXCPP $CPPFLAGS'
5015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5019 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5020 if test "${enable_sjlj_exceptions+set}" = set; then
5021 enableval="$enable_sjlj_exceptions"
5023 case "$enableval" in
5024 yes|no|auto) ;;
5025 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5026 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5027 { (exit 1); exit 1; }; } ;;
5028 esac
5030 else
5031 enable_sjlj_exceptions=auto
5035 if test $enable_sjlj_exceptions = auto; then
5036 # Botheration. Now we've got to detect the exception model. Link tests
5037 # against libgcc.a are problematic since we've not been given proper -L
5038 # bits for single-tree newlib and libgloss.
5040 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
5041 cat > conftest.$ac_ext << EOF
5042 #line 5042 "configure"
5043 struct S { ~S(); };
5044 void bar();
5045 void foo()
5047 S s;
5048 bar();
5051 old_CXXFLAGS="$CXXFLAGS"
5052 CXXFLAGS=-S
5053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5054 (eval $ac_compile) 2>&5
5055 ac_status=$?
5056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5057 (exit $ac_status); }; then
5058 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5059 enable_sjlj_exceptions=yes
5060 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5061 enable_sjlj_exceptions=no
5064 CXXFLAGS="$old_CXXFLAGS"
5065 rm -f conftest*
5068 # This is a tad weird, for hysterical raisins. We have to map enable/disable
5069 # to two different models.
5070 case $enable_sjlj_exceptions in
5071 yes)
5073 cat >>confdefs.h <<\_ACEOF
5074 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5075 _ACEOF
5077 ac_exception_model_name=sjlj
5080 ac_exception_model_name="call frame"
5083 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5084 echo "$as_me: error: unable to detect exception model" >&2;}
5085 { (exit 1); exit 1; }; }
5087 esac
5088 ac_ext=c
5089 ac_cpp='$CPP $CPPFLAGS'
5090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5094 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5095 echo "${ECHO_T}$ac_exception_model_name" >&6
5098 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5099 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5100 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5101 if test "${enable_libstdcxx_pch+set}" = set; then
5102 enableval="$enable_libstdcxx_pch"
5104 case "$enableval" in
5105 yes|no) ;;
5106 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5107 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5108 { (exit 1); exit 1; }; } ;;
5109 esac
5111 else
5112 enable_libstdcxx_pch=$is_hosted
5115 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5116 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5118 if test $enable_libstdcxx_pch = yes; then
5119 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5120 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5121 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5122 echo $ECHO_N "(cached) $ECHO_C" >&6
5123 else
5124 ac_save_CXXFLAGS="$CXXFLAGS"
5125 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5128 ac_ext=cc
5129 ac_cpp='$CXXCPP $CPPFLAGS'
5130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5134 echo '#include <math.h>' > conftest.h
5135 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5136 -o conftest.h.gch 1>&5 2>&1 &&
5137 echo '#error "pch failed"' > conftest.h &&
5138 echo '#include "conftest.h"' > conftest.cc &&
5139 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5140 then
5141 glibcxx_cv_prog_CXX_pch=yes
5142 else
5143 glibcxx_cv_prog_CXX_pch=no
5145 rm -f conftest*
5146 CXXFLAGS=$ac_save_CXXFLAGS
5147 ac_ext=c
5148 ac_cpp='$CPP $CPPFLAGS'
5149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5155 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5156 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5157 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5161 if test $enable_libstdcxx_pch = yes; then
5162 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5163 else
5164 glibcxx_PCHFLAGS=""
5169 # Enable all the variable C++ runtime options.
5170 # NB: C_MBCHAR must come early.
5172 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5173 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5174 # Check whether --enable-cstdio or --disable-cstdio was given.
5175 if test "${enable_cstdio+set}" = set; then
5176 enableval="$enable_cstdio"
5178 case "$enableval" in
5179 stdio) ;;
5180 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5181 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5182 { (exit 1); exit 1; }; } ;;
5183 esac
5185 else
5186 enable_cstdio=stdio
5190 # Now that libio has been removed, you can have any color you want as long
5191 # as it's black. This is one big no-op until other packages are added, but
5192 # showing the framework never hurts.
5193 case ${enable_cstdio} in
5194 stdio)
5195 CSTDIO_H=config/io/c_io_stdio.h
5196 BASIC_FILE_H=config/io/basic_file_stdio.h
5197 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5198 echo "$as_me:$LINENO: result: stdio" >&5
5199 echo "${ECHO_T}stdio" >&6
5201 esac
5207 ac_ext=c
5208 ac_cpp='$CPP $CPPFLAGS'
5209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5212 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5213 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5214 # On Suns, sometimes $CPP names a directory.
5215 if test -n "$CPP" && test -d "$CPP"; then
5216 CPP=
5218 if test -z "$CPP"; then
5219 if test "${ac_cv_prog_CPP+set}" = set; then
5220 echo $ECHO_N "(cached) $ECHO_C" >&6
5221 else
5222 # Double quotes because CPP needs to be expanded
5223 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5225 ac_preproc_ok=false
5226 for ac_c_preproc_warn_flag in '' yes
5228 # Use a header file that comes with gcc, so configuring glibc
5229 # with a fresh cross-compiler works.
5230 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5231 # <limits.h> exists even on freestanding compilers.
5232 # On the NeXT, cc -E runs the code through the compiler's parser,
5233 # not just through cpp. "Syntax error" is here to catch this case.
5234 cat >conftest.$ac_ext <<_ACEOF
5235 /* confdefs.h. */
5236 _ACEOF
5237 cat confdefs.h >>conftest.$ac_ext
5238 cat >>conftest.$ac_ext <<_ACEOF
5239 /* end confdefs.h. */
5240 #ifdef __STDC__
5241 # include <limits.h>
5242 #else
5243 # include <assert.h>
5244 #endif
5245 Syntax error
5246 _ACEOF
5247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5248 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5249 ac_status=$?
5250 grep -v '^ *+' conftest.er1 >conftest.err
5251 rm -f conftest.er1
5252 cat conftest.err >&5
5253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5254 (exit $ac_status); } >/dev/null; then
5255 if test -s conftest.err; then
5256 ac_cpp_err=$ac_c_preproc_warn_flag
5257 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5258 else
5259 ac_cpp_err=
5261 else
5262 ac_cpp_err=yes
5264 if test -z "$ac_cpp_err"; then
5266 else
5267 echo "$as_me: failed program was:" >&5
5268 sed 's/^/| /' conftest.$ac_ext >&5
5270 # Broken: fails on valid input.
5271 continue
5273 rm -f conftest.err conftest.$ac_ext
5275 # OK, works on sane cases. Now check whether non-existent headers
5276 # can be detected and how.
5277 cat >conftest.$ac_ext <<_ACEOF
5278 /* confdefs.h. */
5279 _ACEOF
5280 cat confdefs.h >>conftest.$ac_ext
5281 cat >>conftest.$ac_ext <<_ACEOF
5282 /* end confdefs.h. */
5283 #include <ac_nonexistent.h>
5284 _ACEOF
5285 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5286 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5287 ac_status=$?
5288 grep -v '^ *+' conftest.er1 >conftest.err
5289 rm -f conftest.er1
5290 cat conftest.err >&5
5291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5292 (exit $ac_status); } >/dev/null; then
5293 if test -s conftest.err; then
5294 ac_cpp_err=$ac_c_preproc_warn_flag
5295 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5296 else
5297 ac_cpp_err=
5299 else
5300 ac_cpp_err=yes
5302 if test -z "$ac_cpp_err"; then
5303 # Broken: success on invalid input.
5304 continue
5305 else
5306 echo "$as_me: failed program was:" >&5
5307 sed 's/^/| /' conftest.$ac_ext >&5
5309 # Passes both tests.
5310 ac_preproc_ok=:
5311 break
5313 rm -f conftest.err conftest.$ac_ext
5315 done
5316 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5317 rm -f conftest.err conftest.$ac_ext
5318 if $ac_preproc_ok; then
5319 break
5322 done
5323 ac_cv_prog_CPP=$CPP
5326 CPP=$ac_cv_prog_CPP
5327 else
5328 ac_cv_prog_CPP=$CPP
5330 echo "$as_me:$LINENO: result: $CPP" >&5
5331 echo "${ECHO_T}$CPP" >&6
5332 ac_preproc_ok=false
5333 for ac_c_preproc_warn_flag in '' yes
5335 # Use a header file that comes with gcc, so configuring glibc
5336 # with a fresh cross-compiler works.
5337 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5338 # <limits.h> exists even on freestanding compilers.
5339 # On the NeXT, cc -E runs the code through the compiler's parser,
5340 # not just through cpp. "Syntax error" is here to catch this case.
5341 cat >conftest.$ac_ext <<_ACEOF
5342 /* confdefs.h. */
5343 _ACEOF
5344 cat confdefs.h >>conftest.$ac_ext
5345 cat >>conftest.$ac_ext <<_ACEOF
5346 /* end confdefs.h. */
5347 #ifdef __STDC__
5348 # include <limits.h>
5349 #else
5350 # include <assert.h>
5351 #endif
5352 Syntax error
5353 _ACEOF
5354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5355 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5356 ac_status=$?
5357 grep -v '^ *+' conftest.er1 >conftest.err
5358 rm -f conftest.er1
5359 cat conftest.err >&5
5360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5361 (exit $ac_status); } >/dev/null; then
5362 if test -s conftest.err; then
5363 ac_cpp_err=$ac_c_preproc_warn_flag
5364 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5365 else
5366 ac_cpp_err=
5368 else
5369 ac_cpp_err=yes
5371 if test -z "$ac_cpp_err"; then
5373 else
5374 echo "$as_me: failed program was:" >&5
5375 sed 's/^/| /' conftest.$ac_ext >&5
5377 # Broken: fails on valid input.
5378 continue
5380 rm -f conftest.err conftest.$ac_ext
5382 # OK, works on sane cases. Now check whether non-existent headers
5383 # can be detected and how.
5384 cat >conftest.$ac_ext <<_ACEOF
5385 /* confdefs.h. */
5386 _ACEOF
5387 cat confdefs.h >>conftest.$ac_ext
5388 cat >>conftest.$ac_ext <<_ACEOF
5389 /* end confdefs.h. */
5390 #include <ac_nonexistent.h>
5391 _ACEOF
5392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5393 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5394 ac_status=$?
5395 grep -v '^ *+' conftest.er1 >conftest.err
5396 rm -f conftest.er1
5397 cat conftest.err >&5
5398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5399 (exit $ac_status); } >/dev/null; then
5400 if test -s conftest.err; then
5401 ac_cpp_err=$ac_c_preproc_warn_flag
5402 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5403 else
5404 ac_cpp_err=
5406 else
5407 ac_cpp_err=yes
5409 if test -z "$ac_cpp_err"; then
5410 # Broken: success on invalid input.
5411 continue
5412 else
5413 echo "$as_me: failed program was:" >&5
5414 sed 's/^/| /' conftest.$ac_ext >&5
5416 # Passes both tests.
5417 ac_preproc_ok=:
5418 break
5420 rm -f conftest.err conftest.$ac_ext
5422 done
5423 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5424 rm -f conftest.err conftest.$ac_ext
5425 if $ac_preproc_ok; then
5427 else
5428 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5429 See \`config.log' for more details." >&5
5430 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5431 See \`config.log' for more details." >&2;}
5432 { (exit 1); exit 1; }; }
5435 ac_ext=c
5436 ac_cpp='$CPP $CPPFLAGS'
5437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5442 echo "$as_me:$LINENO: checking for egrep" >&5
5443 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5444 if test "${ac_cv_prog_egrep+set}" = set; then
5445 echo $ECHO_N "(cached) $ECHO_C" >&6
5446 else
5447 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5448 then ac_cv_prog_egrep='grep -E'
5449 else ac_cv_prog_egrep='egrep'
5452 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5453 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5454 EGREP=$ac_cv_prog_egrep
5457 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5458 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5459 if test "${ac_cv_header_stdc+set}" = set; then
5460 echo $ECHO_N "(cached) $ECHO_C" >&6
5461 else
5462 cat >conftest.$ac_ext <<_ACEOF
5463 /* confdefs.h. */
5464 _ACEOF
5465 cat confdefs.h >>conftest.$ac_ext
5466 cat >>conftest.$ac_ext <<_ACEOF
5467 /* end confdefs.h. */
5468 #include <stdlib.h>
5469 #include <stdarg.h>
5470 #include <string.h>
5471 #include <float.h>
5474 main ()
5478 return 0;
5480 _ACEOF
5481 rm -f conftest.$ac_objext
5482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5483 (eval $ac_compile) 2>conftest.er1
5484 ac_status=$?
5485 grep -v '^ *+' conftest.er1 >conftest.err
5486 rm -f conftest.er1
5487 cat conftest.err >&5
5488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5489 (exit $ac_status); } &&
5490 { ac_try='test -z "$ac_c_werror_flag"
5491 || test ! -s conftest.err'
5492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5493 (eval $ac_try) 2>&5
5494 ac_status=$?
5495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5496 (exit $ac_status); }; } &&
5497 { ac_try='test -s conftest.$ac_objext'
5498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5499 (eval $ac_try) 2>&5
5500 ac_status=$?
5501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5502 (exit $ac_status); }; }; then
5503 ac_cv_header_stdc=yes
5504 else
5505 echo "$as_me: failed program was:" >&5
5506 sed 's/^/| /' conftest.$ac_ext >&5
5508 ac_cv_header_stdc=no
5510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5512 if test $ac_cv_header_stdc = yes; then
5513 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5514 cat >conftest.$ac_ext <<_ACEOF
5515 /* confdefs.h. */
5516 _ACEOF
5517 cat confdefs.h >>conftest.$ac_ext
5518 cat >>conftest.$ac_ext <<_ACEOF
5519 /* end confdefs.h. */
5520 #include <string.h>
5522 _ACEOF
5523 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5524 $EGREP "memchr" >/dev/null 2>&1; then
5526 else
5527 ac_cv_header_stdc=no
5529 rm -f conftest*
5533 if test $ac_cv_header_stdc = yes; then
5534 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5535 cat >conftest.$ac_ext <<_ACEOF
5536 /* confdefs.h. */
5537 _ACEOF
5538 cat confdefs.h >>conftest.$ac_ext
5539 cat >>conftest.$ac_ext <<_ACEOF
5540 /* end confdefs.h. */
5541 #include <stdlib.h>
5543 _ACEOF
5544 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5545 $EGREP "free" >/dev/null 2>&1; then
5547 else
5548 ac_cv_header_stdc=no
5550 rm -f conftest*
5554 if test $ac_cv_header_stdc = yes; then
5555 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5556 if test "$cross_compiling" = yes; then
5558 else
5559 cat >conftest.$ac_ext <<_ACEOF
5560 /* confdefs.h. */
5561 _ACEOF
5562 cat confdefs.h >>conftest.$ac_ext
5563 cat >>conftest.$ac_ext <<_ACEOF
5564 /* end confdefs.h. */
5565 #include <ctype.h>
5566 #if ((' ' & 0x0FF) == 0x020)
5567 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5568 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5569 #else
5570 # define ISLOWER(c) \
5571 (('a' <= (c) && (c) <= 'i') \
5572 || ('j' <= (c) && (c) <= 'r') \
5573 || ('s' <= (c) && (c) <= 'z'))
5574 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5575 #endif
5577 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5579 main ()
5581 int i;
5582 for (i = 0; i < 256; i++)
5583 if (XOR (islower (i), ISLOWER (i))
5584 || toupper (i) != TOUPPER (i))
5585 exit(2);
5586 exit (0);
5588 _ACEOF
5589 rm -f conftest$ac_exeext
5590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5591 (eval $ac_link) 2>&5
5592 ac_status=$?
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5596 (eval $ac_try) 2>&5
5597 ac_status=$?
5598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599 (exit $ac_status); }; }; then
5601 else
5602 echo "$as_me: program exited with status $ac_status" >&5
5603 echo "$as_me: failed program was:" >&5
5604 sed 's/^/| /' conftest.$ac_ext >&5
5606 ( exit $ac_status )
5607 ac_cv_header_stdc=no
5609 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5613 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5614 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5615 if test $ac_cv_header_stdc = yes; then
5617 cat >>confdefs.h <<\_ACEOF
5618 #define STDC_HEADERS 1
5619 _ACEOF
5623 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5633 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5634 inttypes.h stdint.h unistd.h
5636 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5637 echo "$as_me:$LINENO: checking for $ac_header" >&5
5638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5640 echo $ECHO_N "(cached) $ECHO_C" >&6
5641 else
5642 cat >conftest.$ac_ext <<_ACEOF
5643 /* confdefs.h. */
5644 _ACEOF
5645 cat confdefs.h >>conftest.$ac_ext
5646 cat >>conftest.$ac_ext <<_ACEOF
5647 /* end confdefs.h. */
5648 $ac_includes_default
5650 #include <$ac_header>
5651 _ACEOF
5652 rm -f conftest.$ac_objext
5653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5654 (eval $ac_compile) 2>conftest.er1
5655 ac_status=$?
5656 grep -v '^ *+' conftest.er1 >conftest.err
5657 rm -f conftest.er1
5658 cat conftest.err >&5
5659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5660 (exit $ac_status); } &&
5661 { ac_try='test -z "$ac_c_werror_flag"
5662 || test ! -s conftest.err'
5663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5664 (eval $ac_try) 2>&5
5665 ac_status=$?
5666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5667 (exit $ac_status); }; } &&
5668 { ac_try='test -s conftest.$ac_objext'
5669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5670 (eval $ac_try) 2>&5
5671 ac_status=$?
5672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5673 (exit $ac_status); }; }; then
5674 eval "$as_ac_Header=yes"
5675 else
5676 echo "$as_me: failed program was:" >&5
5677 sed 's/^/| /' conftest.$ac_ext >&5
5679 eval "$as_ac_Header=no"
5681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5685 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5686 cat >>confdefs.h <<_ACEOF
5687 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5688 _ACEOF
5692 done
5696 echo "$as_me:$LINENO: checking for C locale to use" >&5
5697 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5698 # Check whether --enable-clocale or --disable-clocale was given.
5699 if test "${enable_clocale+set}" = set; then
5700 enableval="$enable_clocale"
5702 case "$enableval" in
5703 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5704 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5705 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5706 { (exit 1); exit 1; }; } ;;
5707 esac
5709 else
5710 enable_clocale=auto
5714 # If they didn't use this option switch, or if they specified --enable
5715 # with no specific model, we'll have to look for one. If they
5716 # specified --disable (???), do likewise.
5717 if test $enable_clocale = no || test $enable_clocale = yes; then
5718 enable_clocale=auto
5721 # Either a known package, or "auto"
5722 enable_clocale_flag=$enable_clocale
5724 # Probe for locale support if no specific model is specified.
5725 # Default to "generic".
5726 if test $enable_clocale_flag = auto; then
5727 case x${target_os} in
5728 xlinux* | xgnu* | xkfreebsd*-gnu | xknetbsd*-gnu)
5729 cat >conftest.$ac_ext <<_ACEOF
5730 /* confdefs.h. */
5731 _ACEOF
5732 cat confdefs.h >>conftest.$ac_ext
5733 cat >>conftest.$ac_ext <<_ACEOF
5734 /* end confdefs.h. */
5736 #include <features.h>
5737 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5738 _GLIBCXX_ok
5739 #endif
5741 _ACEOF
5742 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5743 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5744 enable_clocale_flag=gnu
5745 else
5746 enable_clocale_flag=generic
5748 rm -f conftest*
5751 # Test for bugs early in glibc-2.2.x series
5752 if test x$enable_clocale_flag = xgnu; then
5753 if test "$cross_compiling" = yes; then
5754 enable_clocale_flag=generic
5755 else
5756 cat >conftest.$ac_ext <<_ACEOF
5757 /* confdefs.h. */
5758 _ACEOF
5759 cat confdefs.h >>conftest.$ac_ext
5760 cat >>conftest.$ac_ext <<_ACEOF
5761 /* end confdefs.h. */
5763 #define _GNU_SOURCE 1
5764 #include <locale.h>
5765 #include <string.h>
5766 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5767 extern __typeof(newlocale) __newlocale;
5768 extern __typeof(duplocale) __duplocale;
5769 extern __typeof(strcoll_l) __strcoll_l;
5770 #endif
5771 int main()
5773 const char __one[] = "Äuglein Augmen";
5774 const char __two[] = "Äuglein";
5775 int i;
5776 int j;
5777 __locale_t loc;
5778 __locale_t loc_dup;
5779 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5780 loc_dup = __duplocale(loc);
5781 i = __strcoll_l(__one, __two, loc);
5782 j = __strcoll_l(__one, __two, loc_dup);
5783 return 0;
5786 _ACEOF
5787 rm -f conftest$ac_exeext
5788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5789 (eval $ac_link) 2>&5
5790 ac_status=$?
5791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5792 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5794 (eval $ac_try) 2>&5
5795 ac_status=$?
5796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5797 (exit $ac_status); }; }; then
5798 enable_clocale_flag=gnu
5799 else
5800 echo "$as_me: program exited with status $ac_status" >&5
5801 echo "$as_me: failed program was:" >&5
5802 sed 's/^/| /' conftest.$ac_ext >&5
5804 ( exit $ac_status )
5805 enable_clocale_flag=generic
5807 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5811 # ... at some point put __strxfrm_l tests in as well.
5814 enable_clocale_flag=generic
5816 esac
5819 # Deal with gettext issues. Default to not using it (=no) until we detect
5820 # support for it later. Let the user turn it off via --e/d, but let that
5821 # default to on for easier handling.
5822 USE_NLS=no
5823 # Check whether --enable-nls or --disable-nls was given.
5824 if test "${enable_nls+set}" = set; then
5825 enableval="$enable_nls"
5827 else
5828 enable_nls=yes
5831 # Set configure bits for specified locale package
5832 case ${enable_clocale_flag} in
5833 generic)
5834 echo "$as_me:$LINENO: result: generic" >&5
5835 echo "${ECHO_T}generic" >&6
5837 CLOCALE_H=config/locale/generic/c_locale.h
5838 CLOCALE_CC=config/locale/generic/c_locale.cc
5839 CCODECVT_H=config/locale/generic/codecvt_specializations.h
5840 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5841 CCOLLATE_CC=config/locale/generic/collate_members.cc
5842 CCTYPE_CC=config/locale/generic/ctype_members.cc
5843 CMESSAGES_H=config/locale/generic/messages_members.h
5844 CMESSAGES_CC=config/locale/generic/messages_members.cc
5845 CMONEY_CC=config/locale/generic/monetary_members.cc
5846 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5847 CTIME_H=config/locale/generic/time_members.h
5848 CTIME_CC=config/locale/generic/time_members.cc
5849 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5851 gnu)
5852 echo "$as_me:$LINENO: result: gnu" >&5
5853 echo "${ECHO_T}gnu" >&6
5855 # Declare intention to use gettext, and add support for specific
5856 # languages.
5857 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5858 ALL_LINGUAS="de fr"
5860 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5861 # Extract the first word of "msgfmt", so it can be a program name with args.
5862 set dummy msgfmt; ac_word=$2
5863 echo "$as_me:$LINENO: checking for $ac_word" >&5
5864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5865 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5866 echo $ECHO_N "(cached) $ECHO_C" >&6
5867 else
5868 if test -n "$check_msgfmt"; then
5869 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5870 else
5871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5872 for as_dir in $PATH
5874 IFS=$as_save_IFS
5875 test -z "$as_dir" && as_dir=.
5876 for ac_exec_ext in '' $ac_executable_extensions; do
5877 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5878 ac_cv_prog_check_msgfmt="yes"
5879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5880 break 2
5882 done
5883 done
5885 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5888 check_msgfmt=$ac_cv_prog_check_msgfmt
5889 if test -n "$check_msgfmt"; then
5890 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5891 echo "${ECHO_T}$check_msgfmt" >&6
5892 else
5893 echo "$as_me:$LINENO: result: no" >&5
5894 echo "${ECHO_T}no" >&6
5897 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5898 USE_NLS=yes
5900 # Export the build objects.
5901 for ling in $ALL_LINGUAS; do \
5902 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5903 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5904 done
5908 CLOCALE_H=config/locale/gnu/c_locale.h
5909 CLOCALE_CC=config/locale/gnu/c_locale.cc
5910 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5911 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5912 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5913 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5914 CMESSAGES_H=config/locale/gnu/messages_members.h
5915 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5916 CMONEY_CC=config/locale/gnu/monetary_members.cc
5917 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5918 CTIME_H=config/locale/gnu/time_members.h
5919 CTIME_CC=config/locale/gnu/time_members.cc
5920 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5922 ieee_1003.1-2001)
5923 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5924 echo "${ECHO_T}IEEE 1003.1" >&6
5926 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5927 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5928 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5929 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5930 CCOLLATE_CC=config/locale/generic/collate_members.cc
5931 CCTYPE_CC=config/locale/generic/ctype_members.cc
5932 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5933 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5934 CMONEY_CC=config/locale/generic/monetary_members.cc
5935 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5936 CTIME_H=config/locale/generic/time_members.h
5937 CTIME_CC=config/locale/generic/time_members.cc
5938 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5940 esac
5942 # This is where the testsuite looks for locale catalogs, using the
5943 # -DLOCALEDIR define during testsuite compilation.
5944 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5947 # A standalone libintl (e.g., GNU libintl) may be in use.
5948 if test $USE_NLS = yes; then
5950 for ac_header in libintl.h
5952 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5954 echo "$as_me:$LINENO: checking for $ac_header" >&5
5955 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5957 echo $ECHO_N "(cached) $ECHO_C" >&6
5959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5960 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5961 else
5962 # Is the header compilable?
5963 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5964 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5965 cat >conftest.$ac_ext <<_ACEOF
5966 /* confdefs.h. */
5967 _ACEOF
5968 cat confdefs.h >>conftest.$ac_ext
5969 cat >>conftest.$ac_ext <<_ACEOF
5970 /* end confdefs.h. */
5971 $ac_includes_default
5972 #include <$ac_header>
5973 _ACEOF
5974 rm -f conftest.$ac_objext
5975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5976 (eval $ac_compile) 2>conftest.er1
5977 ac_status=$?
5978 grep -v '^ *+' conftest.er1 >conftest.err
5979 rm -f conftest.er1
5980 cat conftest.err >&5
5981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982 (exit $ac_status); } &&
5983 { ac_try='test -z "$ac_c_werror_flag"
5984 || test ! -s conftest.err'
5985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5986 (eval $ac_try) 2>&5
5987 ac_status=$?
5988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5989 (exit $ac_status); }; } &&
5990 { ac_try='test -s conftest.$ac_objext'
5991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5992 (eval $ac_try) 2>&5
5993 ac_status=$?
5994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5995 (exit $ac_status); }; }; then
5996 ac_header_compiler=yes
5997 else
5998 echo "$as_me: failed program was:" >&5
5999 sed 's/^/| /' conftest.$ac_ext >&5
6001 ac_header_compiler=no
6003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6004 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6005 echo "${ECHO_T}$ac_header_compiler" >&6
6007 # Is the header present?
6008 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6009 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6010 cat >conftest.$ac_ext <<_ACEOF
6011 /* confdefs.h. */
6012 _ACEOF
6013 cat confdefs.h >>conftest.$ac_ext
6014 cat >>conftest.$ac_ext <<_ACEOF
6015 /* end confdefs.h. */
6016 #include <$ac_header>
6017 _ACEOF
6018 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6019 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6020 ac_status=$?
6021 grep -v '^ *+' conftest.er1 >conftest.err
6022 rm -f conftest.er1
6023 cat conftest.err >&5
6024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025 (exit $ac_status); } >/dev/null; then
6026 if test -s conftest.err; then
6027 ac_cpp_err=$ac_c_preproc_warn_flag
6028 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6029 else
6030 ac_cpp_err=
6032 else
6033 ac_cpp_err=yes
6035 if test -z "$ac_cpp_err"; then
6036 ac_header_preproc=yes
6037 else
6038 echo "$as_me: failed program was:" >&5
6039 sed 's/^/| /' conftest.$ac_ext >&5
6041 ac_header_preproc=no
6043 rm -f conftest.err conftest.$ac_ext
6044 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6045 echo "${ECHO_T}$ac_header_preproc" >&6
6047 # So? What about this header?
6048 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6049 yes:no: )
6050 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6051 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6053 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6054 ac_header_preproc=yes
6056 no:yes:* )
6057 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6058 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6059 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6060 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6061 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6062 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6063 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6064 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6066 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6067 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6068 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6070 cat <<\_ASBOX
6071 ## ----------------------------------------- ##
6072 ## Report this to the package-unused lists. ##
6073 ## ----------------------------------------- ##
6074 _ASBOX
6076 sed "s/^/$as_me: WARNING: /" >&2
6078 esac
6079 echo "$as_me:$LINENO: checking for $ac_header" >&5
6080 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6082 echo $ECHO_N "(cached) $ECHO_C" >&6
6083 else
6084 eval "$as_ac_Header=\$ac_header_preproc"
6086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6087 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6090 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6091 cat >>confdefs.h <<_ACEOF
6092 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6093 _ACEOF
6095 else
6096 USE_NLS=no
6099 done
6101 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6102 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6103 if test "${ac_cv_search_gettext+set}" = set; then
6104 echo $ECHO_N "(cached) $ECHO_C" >&6
6105 else
6106 ac_func_search_save_LIBS=$LIBS
6107 ac_cv_search_gettext=no
6108 if test x$gcc_no_link = xyes; then
6109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6111 { (exit 1); exit 1; }; }
6113 cat >conftest.$ac_ext <<_ACEOF
6114 /* confdefs.h. */
6115 _ACEOF
6116 cat confdefs.h >>conftest.$ac_ext
6117 cat >>conftest.$ac_ext <<_ACEOF
6118 /* end confdefs.h. */
6120 /* Override any gcc2 internal prototype to avoid an error. */
6121 #ifdef __cplusplus
6122 extern "C"
6123 #endif
6124 /* We use char because int might match the return type of a gcc2
6125 builtin and then its argument prototype would still apply. */
6126 char gettext ();
6128 main ()
6130 gettext ();
6132 return 0;
6134 _ACEOF
6135 rm -f conftest.$ac_objext conftest$ac_exeext
6136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6137 (eval $ac_link) 2>conftest.er1
6138 ac_status=$?
6139 grep -v '^ *+' conftest.er1 >conftest.err
6140 rm -f conftest.er1
6141 cat conftest.err >&5
6142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6143 (exit $ac_status); } &&
6144 { ac_try='test -z "$ac_c_werror_flag"
6145 || test ! -s conftest.err'
6146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6147 (eval $ac_try) 2>&5
6148 ac_status=$?
6149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6150 (exit $ac_status); }; } &&
6151 { ac_try='test -s conftest$ac_exeext'
6152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6153 (eval $ac_try) 2>&5
6154 ac_status=$?
6155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6156 (exit $ac_status); }; }; then
6157 ac_cv_search_gettext="none required"
6158 else
6159 echo "$as_me: failed program was:" >&5
6160 sed 's/^/| /' conftest.$ac_ext >&5
6163 rm -f conftest.err conftest.$ac_objext \
6164 conftest$ac_exeext conftest.$ac_ext
6165 if test "$ac_cv_search_gettext" = no; then
6166 for ac_lib in intl; do
6167 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6168 if test x$gcc_no_link = xyes; then
6169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6171 { (exit 1); exit 1; }; }
6173 cat >conftest.$ac_ext <<_ACEOF
6174 /* confdefs.h. */
6175 _ACEOF
6176 cat confdefs.h >>conftest.$ac_ext
6177 cat >>conftest.$ac_ext <<_ACEOF
6178 /* end confdefs.h. */
6180 /* Override any gcc2 internal prototype to avoid an error. */
6181 #ifdef __cplusplus
6182 extern "C"
6183 #endif
6184 /* We use char because int might match the return type of a gcc2
6185 builtin and then its argument prototype would still apply. */
6186 char gettext ();
6188 main ()
6190 gettext ();
6192 return 0;
6194 _ACEOF
6195 rm -f conftest.$ac_objext conftest$ac_exeext
6196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6197 (eval $ac_link) 2>conftest.er1
6198 ac_status=$?
6199 grep -v '^ *+' conftest.er1 >conftest.err
6200 rm -f conftest.er1
6201 cat conftest.err >&5
6202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6203 (exit $ac_status); } &&
6204 { ac_try='test -z "$ac_c_werror_flag"
6205 || test ! -s conftest.err'
6206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6207 (eval $ac_try) 2>&5
6208 ac_status=$?
6209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6210 (exit $ac_status); }; } &&
6211 { ac_try='test -s conftest$ac_exeext'
6212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6213 (eval $ac_try) 2>&5
6214 ac_status=$?
6215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6216 (exit $ac_status); }; }; then
6217 ac_cv_search_gettext="-l$ac_lib"
6218 break
6219 else
6220 echo "$as_me: failed program was:" >&5
6221 sed 's/^/| /' conftest.$ac_ext >&5
6224 rm -f conftest.err conftest.$ac_objext \
6225 conftest$ac_exeext conftest.$ac_ext
6226 done
6228 LIBS=$ac_func_search_save_LIBS
6230 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6231 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6232 if test "$ac_cv_search_gettext" != no; then
6233 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6235 else
6236 USE_NLS=no
6240 if test $USE_NLS = yes; then
6241 cat >>confdefs.h <<\_ACEOF
6242 #define _GLIBCXX_USE_NLS 1
6243 _ACEOF
6263 echo "$as_me:$LINENO: checking for std::allocator base class to use" >&5
6264 echo $ECHO_N "checking for std::allocator base class to use... $ECHO_C" >&6
6265 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6266 if test "${enable_libstdcxx_allocator+set}" = set; then
6267 enableval="$enable_libstdcxx_allocator"
6269 case "$enableval" in
6270 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6271 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6272 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6273 { (exit 1); exit 1; }; } ;;
6274 esac
6276 else
6277 enable_libstdcxx_allocator=auto
6280 # If they didn't use this option switch, or if they specified --enable
6281 # with no specific model, we'll have to look for one. If they
6282 # specified --disable (???), do likewise.
6283 if test $enable_libstdcxx_allocator = no || test $enable_libstdcxx_allocator = yes; then
6284 enable_libstdcxx_allocator=auto
6287 # Either a known package, or "auto"
6288 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6290 # Probe for host-specific support if no specific model is specified.
6291 # Default to "new".
6292 if test $enable_libstdcxx_allocator_flag = auto; then
6293 case ${target_os} in
6295 enable_libstdcxx_allocator_flag=new
6297 esac
6299 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6300 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6303 # Set configure bits for specified locale package
6304 case ${enable_libstdcxx_allocator_flag} in
6305 bitmap)
6306 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6307 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6309 malloc)
6310 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6311 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6314 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6315 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6317 new)
6318 ALLOCATOR_H=config/allocator/new_allocator_base.h
6319 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6321 pool)
6322 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6323 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6325 esac
6331 # Check whether --enable-cheaders or --disable-cheaders was given.
6332 if test "${enable_cheaders+set}" = set; then
6333 enableval="$enable_cheaders"
6335 case "$enableval" in
6336 c|c_std) ;;
6337 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6338 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6339 { (exit 1); exit 1; }; } ;;
6340 esac
6342 else
6343 enable_cheaders=$c_model
6346 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6347 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6349 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6356 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6357 if test "${enable_c_mbchar+set}" = set; then
6358 enableval="$enable_c_mbchar"
6360 case "$enableval" in
6361 yes|no) ;;
6362 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6363 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6364 { (exit 1); exit 1; }; } ;;
6365 esac
6367 else
6368 enable_c_mbchar=yes
6371 # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6375 # Check whether --enable-c99 or --disable-c99 was given.
6376 if test "${enable_c99+set}" = set; then
6377 enableval="$enable_c99"
6379 case "$enableval" in
6380 yes|no) ;;
6381 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6382 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6383 { (exit 1); exit 1; }; } ;;
6384 esac
6386 else
6387 enable_c99=yes
6393 ac_ext=cc
6394 ac_cpp='$CXXCPP $CPPFLAGS'
6395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6400 # Check for the existence of <math.h> functions used if C99 is enabled.
6401 ac_c99_math=yes;
6402 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6403 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6404 cat >conftest.$ac_ext <<_ACEOF
6405 /* confdefs.h. */
6406 _ACEOF
6407 cat confdefs.h >>conftest.$ac_ext
6408 cat >>conftest.$ac_ext <<_ACEOF
6409 /* end confdefs.h. */
6410 #include <math.h>
6412 main ()
6414 fpclassify(0.0);
6416 return 0;
6418 _ACEOF
6419 rm -f conftest.$ac_objext
6420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6421 (eval $ac_compile) 2>conftest.er1
6422 ac_status=$?
6423 grep -v '^ *+' conftest.er1 >conftest.err
6424 rm -f conftest.er1
6425 cat conftest.err >&5
6426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6427 (exit $ac_status); } &&
6428 { ac_try='test -z "$ac_cxx_werror_flag"
6429 || test ! -s conftest.err'
6430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6431 (eval $ac_try) 2>&5
6432 ac_status=$?
6433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434 (exit $ac_status); }; } &&
6435 { ac_try='test -s conftest.$ac_objext'
6436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6437 (eval $ac_try) 2>&5
6438 ac_status=$?
6439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6440 (exit $ac_status); }; }; then
6442 else
6443 echo "$as_me: failed program was:" >&5
6444 sed 's/^/| /' conftest.$ac_ext >&5
6446 ac_c99_math=no
6448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6449 cat >conftest.$ac_ext <<_ACEOF
6450 /* confdefs.h. */
6451 _ACEOF
6452 cat confdefs.h >>conftest.$ac_ext
6453 cat >>conftest.$ac_ext <<_ACEOF
6454 /* end confdefs.h. */
6455 #include <math.h>
6457 main ()
6459 isfinite(0.0);
6461 return 0;
6463 _ACEOF
6464 rm -f conftest.$ac_objext
6465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6466 (eval $ac_compile) 2>conftest.er1
6467 ac_status=$?
6468 grep -v '^ *+' conftest.er1 >conftest.err
6469 rm -f conftest.er1
6470 cat conftest.err >&5
6471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6472 (exit $ac_status); } &&
6473 { ac_try='test -z "$ac_cxx_werror_flag"
6474 || test ! -s conftest.err'
6475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6476 (eval $ac_try) 2>&5
6477 ac_status=$?
6478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6479 (exit $ac_status); }; } &&
6480 { ac_try='test -s conftest.$ac_objext'
6481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6482 (eval $ac_try) 2>&5
6483 ac_status=$?
6484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6485 (exit $ac_status); }; }; then
6487 else
6488 echo "$as_me: failed program was:" >&5
6489 sed 's/^/| /' conftest.$ac_ext >&5
6491 ac_c99_math=no
6493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6494 cat >conftest.$ac_ext <<_ACEOF
6495 /* confdefs.h. */
6496 _ACEOF
6497 cat confdefs.h >>conftest.$ac_ext
6498 cat >>conftest.$ac_ext <<_ACEOF
6499 /* end confdefs.h. */
6500 #include <math.h>
6502 main ()
6504 isinf(0.0);
6506 return 0;
6508 _ACEOF
6509 rm -f conftest.$ac_objext
6510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6511 (eval $ac_compile) 2>conftest.er1
6512 ac_status=$?
6513 grep -v '^ *+' conftest.er1 >conftest.err
6514 rm -f conftest.er1
6515 cat conftest.err >&5
6516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6517 (exit $ac_status); } &&
6518 { ac_try='test -z "$ac_cxx_werror_flag"
6519 || test ! -s conftest.err'
6520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6521 (eval $ac_try) 2>&5
6522 ac_status=$?
6523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6524 (exit $ac_status); }; } &&
6525 { ac_try='test -s conftest.$ac_objext'
6526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6527 (eval $ac_try) 2>&5
6528 ac_status=$?
6529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6530 (exit $ac_status); }; }; then
6532 else
6533 echo "$as_me: failed program was:" >&5
6534 sed 's/^/| /' conftest.$ac_ext >&5
6536 ac_c99_math=no
6538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6539 cat >conftest.$ac_ext <<_ACEOF
6540 /* confdefs.h. */
6541 _ACEOF
6542 cat confdefs.h >>conftest.$ac_ext
6543 cat >>conftest.$ac_ext <<_ACEOF
6544 /* end confdefs.h. */
6545 #include <math.h>
6547 main ()
6549 isnan(0.0);
6551 return 0;
6553 _ACEOF
6554 rm -f conftest.$ac_objext
6555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6556 (eval $ac_compile) 2>conftest.er1
6557 ac_status=$?
6558 grep -v '^ *+' conftest.er1 >conftest.err
6559 rm -f conftest.er1
6560 cat conftest.err >&5
6561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6562 (exit $ac_status); } &&
6563 { ac_try='test -z "$ac_cxx_werror_flag"
6564 || test ! -s conftest.err'
6565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6566 (eval $ac_try) 2>&5
6567 ac_status=$?
6568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6569 (exit $ac_status); }; } &&
6570 { ac_try='test -s conftest.$ac_objext'
6571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6572 (eval $ac_try) 2>&5
6573 ac_status=$?
6574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6575 (exit $ac_status); }; }; then
6577 else
6578 echo "$as_me: failed program was:" >&5
6579 sed 's/^/| /' conftest.$ac_ext >&5
6581 ac_c99_math=no
6583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6584 cat >conftest.$ac_ext <<_ACEOF
6585 /* confdefs.h. */
6586 _ACEOF
6587 cat confdefs.h >>conftest.$ac_ext
6588 cat >>conftest.$ac_ext <<_ACEOF
6589 /* end confdefs.h. */
6590 #include <math.h>
6592 main ()
6594 isnormal(0.0);
6596 return 0;
6598 _ACEOF
6599 rm -f conftest.$ac_objext
6600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6601 (eval $ac_compile) 2>conftest.er1
6602 ac_status=$?
6603 grep -v '^ *+' conftest.er1 >conftest.err
6604 rm -f conftest.er1
6605 cat conftest.err >&5
6606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6607 (exit $ac_status); } &&
6608 { ac_try='test -z "$ac_cxx_werror_flag"
6609 || test ! -s conftest.err'
6610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6611 (eval $ac_try) 2>&5
6612 ac_status=$?
6613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6614 (exit $ac_status); }; } &&
6615 { ac_try='test -s conftest.$ac_objext'
6616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6617 (eval $ac_try) 2>&5
6618 ac_status=$?
6619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6620 (exit $ac_status); }; }; then
6622 else
6623 echo "$as_me: failed program was:" >&5
6624 sed 's/^/| /' conftest.$ac_ext >&5
6626 ac_c99_math=no
6628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6629 cat >conftest.$ac_ext <<_ACEOF
6630 /* confdefs.h. */
6631 _ACEOF
6632 cat confdefs.h >>conftest.$ac_ext
6633 cat >>conftest.$ac_ext <<_ACEOF
6634 /* end confdefs.h. */
6635 #include <math.h>
6637 main ()
6639 signbit(0.0);
6641 return 0;
6643 _ACEOF
6644 rm -f conftest.$ac_objext
6645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6646 (eval $ac_compile) 2>conftest.er1
6647 ac_status=$?
6648 grep -v '^ *+' conftest.er1 >conftest.err
6649 rm -f conftest.er1
6650 cat conftest.err >&5
6651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6652 (exit $ac_status); } &&
6653 { ac_try='test -z "$ac_cxx_werror_flag"
6654 || test ! -s conftest.err'
6655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6656 (eval $ac_try) 2>&5
6657 ac_status=$?
6658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6659 (exit $ac_status); }; } &&
6660 { ac_try='test -s conftest.$ac_objext'
6661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6662 (eval $ac_try) 2>&5
6663 ac_status=$?
6664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6665 (exit $ac_status); }; }; then
6667 else
6668 echo "$as_me: failed program was:" >&5
6669 sed 's/^/| /' conftest.$ac_ext >&5
6671 ac_c99_math=no
6673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6674 cat >conftest.$ac_ext <<_ACEOF
6675 /* confdefs.h. */
6676 _ACEOF
6677 cat confdefs.h >>conftest.$ac_ext
6678 cat >>conftest.$ac_ext <<_ACEOF
6679 /* end confdefs.h. */
6680 #include <math.h>
6682 main ()
6684 isgreater(0.0,0.0);
6686 return 0;
6688 _ACEOF
6689 rm -f conftest.$ac_objext
6690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6691 (eval $ac_compile) 2>conftest.er1
6692 ac_status=$?
6693 grep -v '^ *+' conftest.er1 >conftest.err
6694 rm -f conftest.er1
6695 cat conftest.err >&5
6696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6697 (exit $ac_status); } &&
6698 { ac_try='test -z "$ac_cxx_werror_flag"
6699 || test ! -s conftest.err'
6700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6701 (eval $ac_try) 2>&5
6702 ac_status=$?
6703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6704 (exit $ac_status); }; } &&
6705 { ac_try='test -s conftest.$ac_objext'
6706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6707 (eval $ac_try) 2>&5
6708 ac_status=$?
6709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6710 (exit $ac_status); }; }; then
6712 else
6713 echo "$as_me: failed program was:" >&5
6714 sed 's/^/| /' conftest.$ac_ext >&5
6716 ac_c99_math=no
6718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6719 cat >conftest.$ac_ext <<_ACEOF
6720 /* confdefs.h. */
6721 _ACEOF
6722 cat confdefs.h >>conftest.$ac_ext
6723 cat >>conftest.$ac_ext <<_ACEOF
6724 /* end confdefs.h. */
6725 #include <math.h>
6727 main ()
6729 isgreaterequal(0.0,0.0);
6731 return 0;
6733 _ACEOF
6734 rm -f conftest.$ac_objext
6735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6736 (eval $ac_compile) 2>conftest.er1
6737 ac_status=$?
6738 grep -v '^ *+' conftest.er1 >conftest.err
6739 rm -f conftest.er1
6740 cat conftest.err >&5
6741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6742 (exit $ac_status); } &&
6743 { ac_try='test -z "$ac_cxx_werror_flag"
6744 || test ! -s conftest.err'
6745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6746 (eval $ac_try) 2>&5
6747 ac_status=$?
6748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6749 (exit $ac_status); }; } &&
6750 { ac_try='test -s conftest.$ac_objext'
6751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6752 (eval $ac_try) 2>&5
6753 ac_status=$?
6754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6755 (exit $ac_status); }; }; then
6757 else
6758 echo "$as_me: failed program was:" >&5
6759 sed 's/^/| /' conftest.$ac_ext >&5
6761 ac_c99_math=no
6763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6764 cat >conftest.$ac_ext <<_ACEOF
6765 /* confdefs.h. */
6766 _ACEOF
6767 cat confdefs.h >>conftest.$ac_ext
6768 cat >>conftest.$ac_ext <<_ACEOF
6769 /* end confdefs.h. */
6770 #include <math.h>
6772 main ()
6774 isless(0.0,0.0);
6776 return 0;
6778 _ACEOF
6779 rm -f conftest.$ac_objext
6780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6781 (eval $ac_compile) 2>conftest.er1
6782 ac_status=$?
6783 grep -v '^ *+' conftest.er1 >conftest.err
6784 rm -f conftest.er1
6785 cat conftest.err >&5
6786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6787 (exit $ac_status); } &&
6788 { ac_try='test -z "$ac_cxx_werror_flag"
6789 || test ! -s conftest.err'
6790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6791 (eval $ac_try) 2>&5
6792 ac_status=$?
6793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6794 (exit $ac_status); }; } &&
6795 { ac_try='test -s conftest.$ac_objext'
6796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6797 (eval $ac_try) 2>&5
6798 ac_status=$?
6799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6800 (exit $ac_status); }; }; then
6802 else
6803 echo "$as_me: failed program was:" >&5
6804 sed 's/^/| /' conftest.$ac_ext >&5
6806 ac_c99_math=no
6808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6809 cat >conftest.$ac_ext <<_ACEOF
6810 /* confdefs.h. */
6811 _ACEOF
6812 cat confdefs.h >>conftest.$ac_ext
6813 cat >>conftest.$ac_ext <<_ACEOF
6814 /* end confdefs.h. */
6815 #include <math.h>
6817 main ()
6819 islessequal(0.0,0.0);
6821 return 0;
6823 _ACEOF
6824 rm -f conftest.$ac_objext
6825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6826 (eval $ac_compile) 2>conftest.er1
6827 ac_status=$?
6828 grep -v '^ *+' conftest.er1 >conftest.err
6829 rm -f conftest.er1
6830 cat conftest.err >&5
6831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6832 (exit $ac_status); } &&
6833 { ac_try='test -z "$ac_cxx_werror_flag"
6834 || test ! -s conftest.err'
6835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6836 (eval $ac_try) 2>&5
6837 ac_status=$?
6838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6839 (exit $ac_status); }; } &&
6840 { ac_try='test -s conftest.$ac_objext'
6841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6842 (eval $ac_try) 2>&5
6843 ac_status=$?
6844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6845 (exit $ac_status); }; }; then
6847 else
6848 echo "$as_me: failed program was:" >&5
6849 sed 's/^/| /' conftest.$ac_ext >&5
6851 ac_c99_math=no
6853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6854 cat >conftest.$ac_ext <<_ACEOF
6855 /* confdefs.h. */
6856 _ACEOF
6857 cat confdefs.h >>conftest.$ac_ext
6858 cat >>conftest.$ac_ext <<_ACEOF
6859 /* end confdefs.h. */
6860 #include <math.h>
6862 main ()
6864 islessgreater(0.0,0.0);
6866 return 0;
6868 _ACEOF
6869 rm -f conftest.$ac_objext
6870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6871 (eval $ac_compile) 2>conftest.er1
6872 ac_status=$?
6873 grep -v '^ *+' conftest.er1 >conftest.err
6874 rm -f conftest.er1
6875 cat conftest.err >&5
6876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6877 (exit $ac_status); } &&
6878 { ac_try='test -z "$ac_cxx_werror_flag"
6879 || test ! -s conftest.err'
6880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6881 (eval $ac_try) 2>&5
6882 ac_status=$?
6883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6884 (exit $ac_status); }; } &&
6885 { ac_try='test -s conftest.$ac_objext'
6886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6887 (eval $ac_try) 2>&5
6888 ac_status=$?
6889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6890 (exit $ac_status); }; }; then
6892 else
6893 echo "$as_me: failed program was:" >&5
6894 sed 's/^/| /' conftest.$ac_ext >&5
6896 ac_c99_math=no
6898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6899 cat >conftest.$ac_ext <<_ACEOF
6900 /* confdefs.h. */
6901 _ACEOF
6902 cat confdefs.h >>conftest.$ac_ext
6903 cat >>conftest.$ac_ext <<_ACEOF
6904 /* end confdefs.h. */
6905 #include <math.h>
6907 main ()
6909 isunordered(0.0,0.0);
6911 return 0;
6913 _ACEOF
6914 rm -f conftest.$ac_objext
6915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6916 (eval $ac_compile) 2>conftest.er1
6917 ac_status=$?
6918 grep -v '^ *+' conftest.er1 >conftest.err
6919 rm -f conftest.er1
6920 cat conftest.err >&5
6921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6922 (exit $ac_status); } &&
6923 { ac_try='test -z "$ac_cxx_werror_flag"
6924 || test ! -s conftest.err'
6925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6926 (eval $ac_try) 2>&5
6927 ac_status=$?
6928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6929 (exit $ac_status); }; } &&
6930 { ac_try='test -s conftest.$ac_objext'
6931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6932 (eval $ac_try) 2>&5
6933 ac_status=$?
6934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6935 (exit $ac_status); }; }; then
6937 else
6938 echo "$as_me: failed program was:" >&5
6939 sed 's/^/| /' conftest.$ac_ext >&5
6941 ac_c99_math=no
6943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6944 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6945 echo "${ECHO_T}$ac_c99_math" >&6
6947 if test x"$ac_c99_math" = x"yes"; then
6948 cat >>confdefs.h <<\_ACEOF
6949 #define _GLIBCXX_USE_C99_MATH 1
6950 _ACEOF
6954 # Check for the existence in <stdio.h> of vscanf, et. al.
6955 ac_c99_stdio=yes;
6956 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6957 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6958 cat >conftest.$ac_ext <<_ACEOF
6959 /* confdefs.h. */
6960 _ACEOF
6961 cat confdefs.h >>conftest.$ac_ext
6962 cat >>conftest.$ac_ext <<_ACEOF
6963 /* end confdefs.h. */
6964 #include <stdio.h>
6966 main ()
6968 snprintf("12", 0, "%i");
6970 return 0;
6972 _ACEOF
6973 rm -f conftest.$ac_objext
6974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6975 (eval $ac_compile) 2>conftest.er1
6976 ac_status=$?
6977 grep -v '^ *+' conftest.er1 >conftest.err
6978 rm -f conftest.er1
6979 cat conftest.err >&5
6980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6981 (exit $ac_status); } &&
6982 { ac_try='test -z "$ac_cxx_werror_flag"
6983 || test ! -s conftest.err'
6984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6985 (eval $ac_try) 2>&5
6986 ac_status=$?
6987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6988 (exit $ac_status); }; } &&
6989 { ac_try='test -s conftest.$ac_objext'
6990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6991 (eval $ac_try) 2>&5
6992 ac_status=$?
6993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6994 (exit $ac_status); }; }; then
6996 else
6997 echo "$as_me: failed program was:" >&5
6998 sed 's/^/| /' conftest.$ac_ext >&5
7000 ac_c99_stdio=no
7002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7003 cat >conftest.$ac_ext <<_ACEOF
7004 /* confdefs.h. */
7005 _ACEOF
7006 cat confdefs.h >>conftest.$ac_ext
7007 cat >>conftest.$ac_ext <<_ACEOF
7008 /* end confdefs.h. */
7009 #include <stdio.h>
7010 #include <stdarg.h>
7011 void foo(char* fmt, ...)
7012 {va_list args; va_start(args, fmt);
7013 vfscanf(stderr, "%i", args);}
7015 main ()
7019 return 0;
7021 _ACEOF
7022 rm -f conftest.$ac_objext
7023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7024 (eval $ac_compile) 2>conftest.er1
7025 ac_status=$?
7026 grep -v '^ *+' conftest.er1 >conftest.err
7027 rm -f conftest.er1
7028 cat conftest.err >&5
7029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7030 (exit $ac_status); } &&
7031 { ac_try='test -z "$ac_cxx_werror_flag"
7032 || test ! -s conftest.err'
7033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7034 (eval $ac_try) 2>&5
7035 ac_status=$?
7036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7037 (exit $ac_status); }; } &&
7038 { ac_try='test -s conftest.$ac_objext'
7039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7040 (eval $ac_try) 2>&5
7041 ac_status=$?
7042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7043 (exit $ac_status); }; }; then
7045 else
7046 echo "$as_me: failed program was:" >&5
7047 sed 's/^/| /' conftest.$ac_ext >&5
7049 ac_c99_stdio=no
7051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7052 cat >conftest.$ac_ext <<_ACEOF
7053 /* confdefs.h. */
7054 _ACEOF
7055 cat confdefs.h >>conftest.$ac_ext
7056 cat >>conftest.$ac_ext <<_ACEOF
7057 /* end confdefs.h. */
7058 #include <stdio.h>
7059 #include <stdarg.h>
7060 void foo(char* fmt, ...)
7061 {va_list args; va_start(args, fmt);
7062 vscanf("%i", args);}
7064 main ()
7068 return 0;
7070 _ACEOF
7071 rm -f conftest.$ac_objext
7072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7073 (eval $ac_compile) 2>conftest.er1
7074 ac_status=$?
7075 grep -v '^ *+' conftest.er1 >conftest.err
7076 rm -f conftest.er1
7077 cat conftest.err >&5
7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079 (exit $ac_status); } &&
7080 { ac_try='test -z "$ac_cxx_werror_flag"
7081 || test ! -s conftest.err'
7082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7083 (eval $ac_try) 2>&5
7084 ac_status=$?
7085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7086 (exit $ac_status); }; } &&
7087 { ac_try='test -s conftest.$ac_objext'
7088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7089 (eval $ac_try) 2>&5
7090 ac_status=$?
7091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7092 (exit $ac_status); }; }; then
7094 else
7095 echo "$as_me: failed program was:" >&5
7096 sed 's/^/| /' conftest.$ac_ext >&5
7098 ac_c99_stdio=no
7100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7101 cat >conftest.$ac_ext <<_ACEOF
7102 /* confdefs.h. */
7103 _ACEOF
7104 cat confdefs.h >>conftest.$ac_ext
7105 cat >>conftest.$ac_ext <<_ACEOF
7106 /* end confdefs.h. */
7107 #include <stdio.h>
7108 #include <stdarg.h>
7109 void foo(char* fmt, ...)
7110 {va_list args; va_start(args, fmt);
7111 vsnprintf(fmt, 0, "%i", args);}
7113 main ()
7117 return 0;
7119 _ACEOF
7120 rm -f conftest.$ac_objext
7121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7122 (eval $ac_compile) 2>conftest.er1
7123 ac_status=$?
7124 grep -v '^ *+' conftest.er1 >conftest.err
7125 rm -f conftest.er1
7126 cat conftest.err >&5
7127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7128 (exit $ac_status); } &&
7129 { ac_try='test -z "$ac_cxx_werror_flag"
7130 || test ! -s conftest.err'
7131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7132 (eval $ac_try) 2>&5
7133 ac_status=$?
7134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7135 (exit $ac_status); }; } &&
7136 { ac_try='test -s conftest.$ac_objext'
7137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7138 (eval $ac_try) 2>&5
7139 ac_status=$?
7140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141 (exit $ac_status); }; }; then
7143 else
7144 echo "$as_me: failed program was:" >&5
7145 sed 's/^/| /' conftest.$ac_ext >&5
7147 ac_c99_stdio=no
7149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7150 cat >conftest.$ac_ext <<_ACEOF
7151 /* confdefs.h. */
7152 _ACEOF
7153 cat confdefs.h >>conftest.$ac_ext
7154 cat >>conftest.$ac_ext <<_ACEOF
7155 /* end confdefs.h. */
7156 #include <stdio.h>
7157 #include <stdarg.h>
7158 void foo(char* fmt, ...)
7159 {va_list args; va_start(args, fmt);
7160 vsscanf(fmt, "%i", args);}
7162 main ()
7166 return 0;
7168 _ACEOF
7169 rm -f conftest.$ac_objext
7170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7171 (eval $ac_compile) 2>conftest.er1
7172 ac_status=$?
7173 grep -v '^ *+' conftest.er1 >conftest.err
7174 rm -f conftest.er1
7175 cat conftest.err >&5
7176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7177 (exit $ac_status); } &&
7178 { ac_try='test -z "$ac_cxx_werror_flag"
7179 || test ! -s conftest.err'
7180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7181 (eval $ac_try) 2>&5
7182 ac_status=$?
7183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7184 (exit $ac_status); }; } &&
7185 { ac_try='test -s conftest.$ac_objext'
7186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7187 (eval $ac_try) 2>&5
7188 ac_status=$?
7189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7190 (exit $ac_status); }; }; then
7192 else
7193 echo "$as_me: failed program was:" >&5
7194 sed 's/^/| /' conftest.$ac_ext >&5
7196 ac_c99_stdio=no
7198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7199 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7200 echo "${ECHO_T}$ac_c99_stdio" >&6
7202 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7203 ac_c99_stdlib=yes;
7204 echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
7205 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
7206 if test "${ac_c99_lldiv_t+set}" = set; then
7207 echo $ECHO_N "(cached) $ECHO_C" >&6
7208 else
7210 cat >conftest.$ac_ext <<_ACEOF
7211 /* confdefs.h. */
7212 _ACEOF
7213 cat confdefs.h >>conftest.$ac_ext
7214 cat >>conftest.$ac_ext <<_ACEOF
7215 /* end confdefs.h. */
7216 #include <stdlib.h>
7218 main ()
7220 lldiv_t mydivt;
7222 return 0;
7224 _ACEOF
7225 rm -f conftest.$ac_objext
7226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7227 (eval $ac_compile) 2>conftest.er1
7228 ac_status=$?
7229 grep -v '^ *+' conftest.er1 >conftest.err
7230 rm -f conftest.er1
7231 cat conftest.err >&5
7232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7233 (exit $ac_status); } &&
7234 { ac_try='test -z "$ac_cxx_werror_flag"
7235 || test ! -s conftest.err'
7236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7237 (eval $ac_try) 2>&5
7238 ac_status=$?
7239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7240 (exit $ac_status); }; } &&
7241 { ac_try='test -s conftest.$ac_objext'
7242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7243 (eval $ac_try) 2>&5
7244 ac_status=$?
7245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7246 (exit $ac_status); }; }; then
7247 ac_c99_lldiv_t=yes
7248 else
7249 echo "$as_me: failed program was:" >&5
7250 sed 's/^/| /' conftest.$ac_ext >&5
7252 ac_c99_lldiv_t=no
7254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7258 echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
7259 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
7261 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7262 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7263 cat >conftest.$ac_ext <<_ACEOF
7264 /* confdefs.h. */
7265 _ACEOF
7266 cat confdefs.h >>conftest.$ac_ext
7267 cat >>conftest.$ac_ext <<_ACEOF
7268 /* end confdefs.h. */
7269 #include <stdlib.h>
7271 main ()
7273 char* tmp; strtof("gnu", &tmp);
7275 return 0;
7277 _ACEOF
7278 rm -f conftest.$ac_objext
7279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7280 (eval $ac_compile) 2>conftest.er1
7281 ac_status=$?
7282 grep -v '^ *+' conftest.er1 >conftest.err
7283 rm -f conftest.er1
7284 cat conftest.err >&5
7285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7286 (exit $ac_status); } &&
7287 { ac_try='test -z "$ac_cxx_werror_flag"
7288 || test ! -s conftest.err'
7289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7290 (eval $ac_try) 2>&5
7291 ac_status=$?
7292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7293 (exit $ac_status); }; } &&
7294 { ac_try='test -s conftest.$ac_objext'
7295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7296 (eval $ac_try) 2>&5
7297 ac_status=$?
7298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7299 (exit $ac_status); }; }; then
7301 else
7302 echo "$as_me: failed program was:" >&5
7303 sed 's/^/| /' conftest.$ac_ext >&5
7305 ac_c99_stdlib=no
7307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7308 cat >conftest.$ac_ext <<_ACEOF
7309 /* confdefs.h. */
7310 _ACEOF
7311 cat confdefs.h >>conftest.$ac_ext
7312 cat >>conftest.$ac_ext <<_ACEOF
7313 /* end confdefs.h. */
7314 #include <stdlib.h>
7316 main ()
7318 char* tmp; strtold("gnu", &tmp);
7320 return 0;
7322 _ACEOF
7323 rm -f conftest.$ac_objext
7324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7325 (eval $ac_compile) 2>conftest.er1
7326 ac_status=$?
7327 grep -v '^ *+' conftest.er1 >conftest.err
7328 rm -f conftest.er1
7329 cat conftest.err >&5
7330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7331 (exit $ac_status); } &&
7332 { ac_try='test -z "$ac_cxx_werror_flag"
7333 || test ! -s conftest.err'
7334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7335 (eval $ac_try) 2>&5
7336 ac_status=$?
7337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7338 (exit $ac_status); }; } &&
7339 { ac_try='test -s conftest.$ac_objext'
7340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7341 (eval $ac_try) 2>&5
7342 ac_status=$?
7343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7344 (exit $ac_status); }; }; then
7346 else
7347 echo "$as_me: failed program was:" >&5
7348 sed 's/^/| /' conftest.$ac_ext >&5
7350 ac_c99_stdlib=no
7352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7353 cat >conftest.$ac_ext <<_ACEOF
7354 /* confdefs.h. */
7355 _ACEOF
7356 cat confdefs.h >>conftest.$ac_ext
7357 cat >>conftest.$ac_ext <<_ACEOF
7358 /* end confdefs.h. */
7359 #include <stdlib.h>
7361 main ()
7363 llabs(10);
7365 return 0;
7367 _ACEOF
7368 rm -f conftest.$ac_objext
7369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7370 (eval $ac_compile) 2>conftest.er1
7371 ac_status=$?
7372 grep -v '^ *+' conftest.er1 >conftest.err
7373 rm -f conftest.er1
7374 cat conftest.err >&5
7375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7376 (exit $ac_status); } &&
7377 { ac_try='test -z "$ac_cxx_werror_flag"
7378 || test ! -s conftest.err'
7379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7380 (eval $ac_try) 2>&5
7381 ac_status=$?
7382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7383 (exit $ac_status); }; } &&
7384 { ac_try='test -s conftest.$ac_objext'
7385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7386 (eval $ac_try) 2>&5
7387 ac_status=$?
7388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7389 (exit $ac_status); }; }; then
7391 else
7392 echo "$as_me: failed program was:" >&5
7393 sed 's/^/| /' conftest.$ac_ext >&5
7395 ac_c99_stdlib=no
7397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7398 cat >conftest.$ac_ext <<_ACEOF
7399 /* confdefs.h. */
7400 _ACEOF
7401 cat confdefs.h >>conftest.$ac_ext
7402 cat >>conftest.$ac_ext <<_ACEOF
7403 /* end confdefs.h. */
7404 #include <stdlib.h>
7406 main ()
7408 lldiv(10,1);
7410 return 0;
7412 _ACEOF
7413 rm -f conftest.$ac_objext
7414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7415 (eval $ac_compile) 2>conftest.er1
7416 ac_status=$?
7417 grep -v '^ *+' conftest.er1 >conftest.err
7418 rm -f conftest.er1
7419 cat conftest.err >&5
7420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7421 (exit $ac_status); } &&
7422 { ac_try='test -z "$ac_cxx_werror_flag"
7423 || test ! -s conftest.err'
7424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7425 (eval $ac_try) 2>&5
7426 ac_status=$?
7427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7428 (exit $ac_status); }; } &&
7429 { ac_try='test -s conftest.$ac_objext'
7430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7431 (eval $ac_try) 2>&5
7432 ac_status=$?
7433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7434 (exit $ac_status); }; }; then
7436 else
7437 echo "$as_me: failed program was:" >&5
7438 sed 's/^/| /' conftest.$ac_ext >&5
7440 ac_c99_stdlib=no
7442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7443 cat >conftest.$ac_ext <<_ACEOF
7444 /* confdefs.h. */
7445 _ACEOF
7446 cat confdefs.h >>conftest.$ac_ext
7447 cat >>conftest.$ac_ext <<_ACEOF
7448 /* end confdefs.h. */
7449 #include <stdlib.h>
7451 main ()
7453 atoll("10");
7455 return 0;
7457 _ACEOF
7458 rm -f conftest.$ac_objext
7459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7460 (eval $ac_compile) 2>conftest.er1
7461 ac_status=$?
7462 grep -v '^ *+' conftest.er1 >conftest.err
7463 rm -f conftest.er1
7464 cat conftest.err >&5
7465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7466 (exit $ac_status); } &&
7467 { ac_try='test -z "$ac_cxx_werror_flag"
7468 || test ! -s conftest.err'
7469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7470 (eval $ac_try) 2>&5
7471 ac_status=$?
7472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7473 (exit $ac_status); }; } &&
7474 { ac_try='test -s conftest.$ac_objext'
7475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7476 (eval $ac_try) 2>&5
7477 ac_status=$?
7478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7479 (exit $ac_status); }; }; then
7481 else
7482 echo "$as_me: failed program was:" >&5
7483 sed 's/^/| /' conftest.$ac_ext >&5
7485 ac_c99_stdlib=no
7487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7488 cat >conftest.$ac_ext <<_ACEOF
7489 /* confdefs.h. */
7490 _ACEOF
7491 cat confdefs.h >>conftest.$ac_ext
7492 cat >>conftest.$ac_ext <<_ACEOF
7493 /* end confdefs.h. */
7494 #include <stdlib.h>
7496 main ()
7498 _Exit(0);
7500 return 0;
7502 _ACEOF
7503 rm -f conftest.$ac_objext
7504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7505 (eval $ac_compile) 2>conftest.er1
7506 ac_status=$?
7507 grep -v '^ *+' conftest.er1 >conftest.err
7508 rm -f conftest.er1
7509 cat conftest.err >&5
7510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7511 (exit $ac_status); } &&
7512 { ac_try='test -z "$ac_cxx_werror_flag"
7513 || test ! -s conftest.err'
7514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7515 (eval $ac_try) 2>&5
7516 ac_status=$?
7517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7518 (exit $ac_status); }; } &&
7519 { ac_try='test -s conftest.$ac_objext'
7520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7521 (eval $ac_try) 2>&5
7522 ac_status=$?
7523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7524 (exit $ac_status); }; }; then
7526 else
7527 echo "$as_me: failed program was:" >&5
7528 sed 's/^/| /' conftest.$ac_ext >&5
7530 ac_c99_stdlib=no
7532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7533 if test x"$ac_c99_lldiv_t" = x"no"; then
7534 ac_c99_stdlib=no;
7536 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7537 echo "${ECHO_T}$ac_c99_stdlib" >&6
7539 # Check for the existence of <wchar.h> functions used if C99 is enabled.
7540 # XXX the wchar.h checks should be rolled into the general C99 bits.
7541 ac_c99_wchar=yes;
7542 echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7543 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7544 cat >conftest.$ac_ext <<_ACEOF
7545 /* confdefs.h. */
7546 _ACEOF
7547 cat confdefs.h >>conftest.$ac_ext
7548 cat >>conftest.$ac_ext <<_ACEOF
7549 /* end confdefs.h. */
7550 #include <wchar.h>
7552 main ()
7554 wcstold(L"10.0", NULL);
7556 return 0;
7558 _ACEOF
7559 rm -f conftest.$ac_objext
7560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7561 (eval $ac_compile) 2>conftest.er1
7562 ac_status=$?
7563 grep -v '^ *+' conftest.er1 >conftest.err
7564 rm -f conftest.er1
7565 cat conftest.err >&5
7566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7567 (exit $ac_status); } &&
7568 { ac_try='test -z "$ac_cxx_werror_flag"
7569 || test ! -s conftest.err'
7570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7571 (eval $ac_try) 2>&5
7572 ac_status=$?
7573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7574 (exit $ac_status); }; } &&
7575 { ac_try='test -s conftest.$ac_objext'
7576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7577 (eval $ac_try) 2>&5
7578 ac_status=$?
7579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7580 (exit $ac_status); }; }; then
7582 else
7583 echo "$as_me: failed program was:" >&5
7584 sed 's/^/| /' conftest.$ac_ext >&5
7586 ac_c99_wchar=no
7588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7589 cat >conftest.$ac_ext <<_ACEOF
7590 /* confdefs.h. */
7591 _ACEOF
7592 cat confdefs.h >>conftest.$ac_ext
7593 cat >>conftest.$ac_ext <<_ACEOF
7594 /* end confdefs.h. */
7595 #include <wchar.h>
7597 main ()
7599 wcstoll(L"10", NULL, 10);
7601 return 0;
7603 _ACEOF
7604 rm -f conftest.$ac_objext
7605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7606 (eval $ac_compile) 2>conftest.er1
7607 ac_status=$?
7608 grep -v '^ *+' conftest.er1 >conftest.err
7609 rm -f conftest.er1
7610 cat conftest.err >&5
7611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7612 (exit $ac_status); } &&
7613 { ac_try='test -z "$ac_cxx_werror_flag"
7614 || test ! -s conftest.err'
7615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7616 (eval $ac_try) 2>&5
7617 ac_status=$?
7618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7619 (exit $ac_status); }; } &&
7620 { ac_try='test -s conftest.$ac_objext'
7621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7622 (eval $ac_try) 2>&5
7623 ac_status=$?
7624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7625 (exit $ac_status); }; }; then
7627 else
7628 echo "$as_me: failed program was:" >&5
7629 sed 's/^/| /' conftest.$ac_ext >&5
7631 ac_c99_wchar=no
7633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7634 cat >conftest.$ac_ext <<_ACEOF
7635 /* confdefs.h. */
7636 _ACEOF
7637 cat confdefs.h >>conftest.$ac_ext
7638 cat >>conftest.$ac_ext <<_ACEOF
7639 /* end confdefs.h. */
7640 #include <wchar.h>
7642 main ()
7644 wcstoull(L"10", NULL, 10);
7646 return 0;
7648 _ACEOF
7649 rm -f conftest.$ac_objext
7650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7651 (eval $ac_compile) 2>conftest.er1
7652 ac_status=$?
7653 grep -v '^ *+' conftest.er1 >conftest.err
7654 rm -f conftest.er1
7655 cat conftest.err >&5
7656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7657 (exit $ac_status); } &&
7658 { ac_try='test -z "$ac_cxx_werror_flag"
7659 || test ! -s conftest.err'
7660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7661 (eval $ac_try) 2>&5
7662 ac_status=$?
7663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7664 (exit $ac_status); }; } &&
7665 { ac_try='test -s conftest.$ac_objext'
7666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7667 (eval $ac_try) 2>&5
7668 ac_status=$?
7669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7670 (exit $ac_status); }; }; then
7672 else
7673 echo "$as_me: failed program was:" >&5
7674 sed 's/^/| /' conftest.$ac_ext >&5
7676 ac_c99_wchar=no
7678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7679 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7680 echo "${ECHO_T}$ac_c99_wchar" >&6
7682 echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7683 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7684 if test x"$ac_c99_math" = x"no" ||
7685 test x"$ac_c99_stdio" = x"no" ||
7686 test x"$ac_c99_stdlib" = x"no" ||
7687 test x"$ac_c99_wchar" = x"no"; then
7688 enable_c99=no;
7690 echo "$as_me:$LINENO: result: $enable_c99" >&5
7691 echo "${ECHO_T}$enable_c99" >&6
7693 if test x"$ac_99_math" = x"yes"; then
7694 cat >>confdefs.h <<\_ACEOF
7695 #define _GLIBCXX_USE_C99_MATH 1
7696 _ACEOF
7700 # Option parsed, now set things appropriately
7701 if test x"$enable_c99" = x"yes"; then
7702 cat >>confdefs.h <<\_ACEOF
7703 #define _GLIBCXX_USE_C99 1
7704 _ACEOF
7708 ac_ext=c
7709 ac_cpp='$CPP $CPPFLAGS'
7710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7716 # Check whether --enable-long-long or --disable-long-long was given.
7717 if test "${enable_long_long+set}" = set; then
7718 enableval="$enable_long_long"
7720 case "$enableval" in
7721 yes|no) ;;
7722 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7723 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7724 { (exit 1); exit 1; }; } ;;
7725 esac
7727 else
7728 enable_long_long=yes
7734 ac_ext=cc
7735 ac_cpp='$CXXCPP $CPPFLAGS'
7736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7741 echo "$as_me:$LINENO: checking for enabled long long I/O support" >&5
7742 echo $ECHO_N "checking for enabled long long I/O support... $ECHO_C" >&6
7743 # iostreams require strtoll, strtoull to compile
7744 cat >conftest.$ac_ext <<_ACEOF
7745 /* confdefs.h. */
7746 _ACEOF
7747 cat confdefs.h >>conftest.$ac_ext
7748 cat >>conftest.$ac_ext <<_ACEOF
7749 /* end confdefs.h. */
7750 #include <stdlib.h>
7752 main ()
7754 char* tmp; strtoll("gnu", &tmp, 10);
7756 return 0;
7758 _ACEOF
7759 rm -f conftest.$ac_objext
7760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7761 (eval $ac_compile) 2>conftest.er1
7762 ac_status=$?
7763 grep -v '^ *+' conftest.er1 >conftest.err
7764 rm -f conftest.er1
7765 cat conftest.err >&5
7766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7767 (exit $ac_status); } &&
7768 { ac_try='test -z "$ac_cxx_werror_flag"
7769 || test ! -s conftest.err'
7770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7771 (eval $ac_try) 2>&5
7772 ac_status=$?
7773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7774 (exit $ac_status); }; } &&
7775 { ac_try='test -s conftest.$ac_objext'
7776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7777 (eval $ac_try) 2>&5
7778 ac_status=$?
7779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7780 (exit $ac_status); }; }; then
7782 else
7783 echo "$as_me: failed program was:" >&5
7784 sed 's/^/| /' conftest.$ac_ext >&5
7786 enable_long_long=no
7788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7789 cat >conftest.$ac_ext <<_ACEOF
7790 /* confdefs.h. */
7791 _ACEOF
7792 cat confdefs.h >>conftest.$ac_ext
7793 cat >>conftest.$ac_ext <<_ACEOF
7794 /* end confdefs.h. */
7795 #include <stdlib.h>
7797 main ()
7799 char* tmp; strtoull("gnu", &tmp, 10);
7801 return 0;
7803 _ACEOF
7804 rm -f conftest.$ac_objext
7805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7806 (eval $ac_compile) 2>conftest.er1
7807 ac_status=$?
7808 grep -v '^ *+' conftest.er1 >conftest.err
7809 rm -f conftest.er1
7810 cat conftest.err >&5
7811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7812 (exit $ac_status); } &&
7813 { ac_try='test -z "$ac_cxx_werror_flag"
7814 || test ! -s conftest.err'
7815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7816 (eval $ac_try) 2>&5
7817 ac_status=$?
7818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7819 (exit $ac_status); }; } &&
7820 { ac_try='test -s conftest.$ac_objext'
7821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7822 (eval $ac_try) 2>&5
7823 ac_status=$?
7824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7825 (exit $ac_status); }; }; then
7827 else
7828 echo "$as_me: failed program was:" >&5
7829 sed 's/^/| /' conftest.$ac_ext >&5
7831 enable_long_long=no
7833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7835 # Option parsed, now set things appropriately
7836 if test $enable_long_long = yes; then
7837 cat >>confdefs.h <<\_ACEOF
7838 #define _GLIBCXX_USE_LONG_LONG 1
7839 _ACEOF
7842 echo "$as_me:$LINENO: result: $enable_long_long" >&5
7843 echo "${ECHO_T}$enable_long_long" >&6
7845 ac_ext=c
7846 ac_cpp='$CPP $CPPFLAGS'
7847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7853 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7854 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7855 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7856 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7857 echo "${ECHO_T}$target_thread_file" >&6
7859 if test $target_thread_file != single; then
7860 cat >>confdefs.h <<\_ACEOF
7861 #define HAVE_GTHR_DEFAULT 1
7862 _ACEOF
7866 glibcxx_thread_h=gthr-$target_thread_file.h
7870 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7871 if test "${enable_concept_checks+set}" = set; then
7872 enableval="$enable_concept_checks"
7874 case "$enableval" in
7875 yes|no) ;;
7876 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7877 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7878 { (exit 1); exit 1; }; } ;;
7879 esac
7881 else
7882 enable_concept_checks=no
7885 if test $enable_concept_checks = yes; then
7886 cat >>confdefs.h <<\_ACEOF
7887 #define _GLIBCXX_CONCEPT_CHECKS 1
7888 _ACEOF
7893 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7894 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7895 enableval="$enable_libstdcxx_debug_flags"
7896 case "x$enable_libstdcxx_debug_flags" in
7897 xno | x) enable_libstdcxx_debug_flags= ;;
7898 x-*) ;;
7899 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7900 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7901 { (exit 1); exit 1; }; } ;;
7902 esac
7903 else
7904 enable_libstdcxx_debug_flags="-g3 -O0"
7908 # Option parsed, now set things appropriately
7909 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7912 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7913 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7916 echo "$as_me:$LINENO: checking for additional debug build" >&5
7917 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7918 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7919 if test "${enable_libstdcxx_debug+set}" = set; then
7920 enableval="$enable_libstdcxx_debug"
7922 case "$enableval" in
7923 yes|no) ;;
7924 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7925 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7926 { (exit 1); exit 1; }; } ;;
7927 esac
7929 else
7930 enable_libstdcxx_debug=no
7933 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7934 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7937 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7938 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7939 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7940 if test "${enable_cxx_flags+set}" = set; then
7941 enableval="$enable_cxx_flags"
7942 case "x$enable_cxx_flags" in
7943 xno | x) enable_cxx_flags= ;;
7944 x-*) ;;
7945 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7946 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7947 { (exit 1); exit 1; }; } ;;
7948 esac
7949 else
7950 enable_cxx_flags=
7954 # Run through flags (either default or command-line) and set anything
7955 # extra (e.g., #defines) that must accompany particular g++ options.
7956 if test -n "$enable_cxx_flags"; then
7957 for f in $enable_cxx_flags; do
7958 case "$f" in
7959 -fhonor-std) ;;
7960 -*) ;;
7961 *) # and we're trying to pass /what/ exactly?
7962 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7963 echo "$as_me: error: compiler flags start with a -" >&2;}
7964 { (exit 1); exit 1; }; } ;;
7965 esac
7966 done
7969 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7970 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7971 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7975 # No surprises, no surprises...
7976 if test $atomicity_dir = cpu/generic ; then
7977 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7978 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7979 if test $target_thread_file = single; then
7980 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7981 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7982 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7983 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7984 else
7985 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7986 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7987 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7988 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7993 if $GLIBCXX_IS_NATIVE; then
7995 # We can do more elaborate tests that assume a working linker.
7996 CANADIAN=no
7998 # Check for available headers.
8012 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
8013 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
8014 sys/types.h
8016 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8017 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8018 echo "$as_me:$LINENO: checking for $ac_header" >&5
8019 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8020 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8021 echo $ECHO_N "(cached) $ECHO_C" >&6
8023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8024 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8025 else
8026 # Is the header compilable?
8027 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8028 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8029 cat >conftest.$ac_ext <<_ACEOF
8030 /* confdefs.h. */
8031 _ACEOF
8032 cat confdefs.h >>conftest.$ac_ext
8033 cat >>conftest.$ac_ext <<_ACEOF
8034 /* end confdefs.h. */
8035 $ac_includes_default
8036 #include <$ac_header>
8037 _ACEOF
8038 rm -f conftest.$ac_objext
8039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8040 (eval $ac_compile) 2>conftest.er1
8041 ac_status=$?
8042 grep -v '^ *+' conftest.er1 >conftest.err
8043 rm -f conftest.er1
8044 cat conftest.err >&5
8045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8046 (exit $ac_status); } &&
8047 { ac_try='test -z "$ac_c_werror_flag"
8048 || test ! -s conftest.err'
8049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8050 (eval $ac_try) 2>&5
8051 ac_status=$?
8052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8053 (exit $ac_status); }; } &&
8054 { ac_try='test -s conftest.$ac_objext'
8055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8056 (eval $ac_try) 2>&5
8057 ac_status=$?
8058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8059 (exit $ac_status); }; }; then
8060 ac_header_compiler=yes
8061 else
8062 echo "$as_me: failed program was:" >&5
8063 sed 's/^/| /' conftest.$ac_ext >&5
8065 ac_header_compiler=no
8067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8068 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8069 echo "${ECHO_T}$ac_header_compiler" >&6
8071 # Is the header present?
8072 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8073 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8074 cat >conftest.$ac_ext <<_ACEOF
8075 /* confdefs.h. */
8076 _ACEOF
8077 cat confdefs.h >>conftest.$ac_ext
8078 cat >>conftest.$ac_ext <<_ACEOF
8079 /* end confdefs.h. */
8080 #include <$ac_header>
8081 _ACEOF
8082 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8083 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8084 ac_status=$?
8085 grep -v '^ *+' conftest.er1 >conftest.err
8086 rm -f conftest.er1
8087 cat conftest.err >&5
8088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8089 (exit $ac_status); } >/dev/null; then
8090 if test -s conftest.err; then
8091 ac_cpp_err=$ac_c_preproc_warn_flag
8092 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8093 else
8094 ac_cpp_err=
8096 else
8097 ac_cpp_err=yes
8099 if test -z "$ac_cpp_err"; then
8100 ac_header_preproc=yes
8101 else
8102 echo "$as_me: failed program was:" >&5
8103 sed 's/^/| /' conftest.$ac_ext >&5
8105 ac_header_preproc=no
8107 rm -f conftest.err conftest.$ac_ext
8108 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8109 echo "${ECHO_T}$ac_header_preproc" >&6
8111 # So? What about this header?
8112 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8113 yes:no: )
8114 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8115 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8116 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8117 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8118 ac_header_preproc=yes
8120 no:yes:* )
8121 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8122 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8123 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8124 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8125 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8126 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8127 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8128 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8129 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8130 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8131 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8132 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8134 cat <<\_ASBOX
8135 ## ----------------------------------------- ##
8136 ## Report this to the package-unused lists. ##
8137 ## ----------------------------------------- ##
8138 _ASBOX
8140 sed "s/^/$as_me: WARNING: /" >&2
8142 esac
8143 echo "$as_me:$LINENO: checking for $ac_header" >&5
8144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8145 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8146 echo $ECHO_N "(cached) $ECHO_C" >&6
8147 else
8148 eval "$as_ac_Header=\$ac_header_preproc"
8150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8151 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8154 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8155 cat >>confdefs.h <<_ACEOF
8156 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8157 _ACEOF
8161 done
8165 # All these tests are for C++; save the language and the compiler flags.
8166 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8167 # found in GLIBCXX_CONFIGURE.
8170 ac_ext=cc
8171 ac_cpp='$CXXCPP $CPPFLAGS'
8172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8176 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8177 ac_save_CXXFLAGS="$CXXFLAGS"
8179 # Check for maintainer-mode bits.
8180 if test x"$USE_MAINTAINER_MODE" = xno; then
8181 WERROR=''
8182 else
8183 WERROR='-Werror'
8186 # Check for -ffunction-sections -fdata-sections
8187 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8188 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8189 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8190 cat >conftest.$ac_ext <<_ACEOF
8191 /* confdefs.h. */
8192 _ACEOF
8193 cat confdefs.h >>conftest.$ac_ext
8194 cat >>conftest.$ac_ext <<_ACEOF
8195 /* end confdefs.h. */
8198 main ()
8200 int foo;
8202 return 0;
8204 _ACEOF
8205 rm -f conftest.$ac_objext
8206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8207 (eval $ac_compile) 2>conftest.er1
8208 ac_status=$?
8209 grep -v '^ *+' conftest.er1 >conftest.err
8210 rm -f conftest.er1
8211 cat conftest.err >&5
8212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8213 (exit $ac_status); } &&
8214 { ac_try='test -z "$ac_cxx_werror_flag"
8215 || test ! -s conftest.err'
8216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8217 (eval $ac_try) 2>&5
8218 ac_status=$?
8219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8220 (exit $ac_status); }; } &&
8221 { ac_try='test -s conftest.$ac_objext'
8222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8223 (eval $ac_try) 2>&5
8224 ac_status=$?
8225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8226 (exit $ac_status); }; }; then
8227 ac_fdsections=yes
8228 else
8229 echo "$as_me: failed program was:" >&5
8230 sed 's/^/| /' conftest.$ac_ext >&5
8232 ac_fdsections=no
8234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8235 if test "$ac_test_CXXFLAGS" = set; then
8236 CXXFLAGS="$ac_save_CXXFLAGS"
8237 else
8238 # this is the suspicious part
8239 CXXFLAGS=''
8241 if test x"$ac_fdsections" = x"yes"; then
8242 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8244 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8245 echo "${ECHO_T}$ac_fdsections" >&6
8247 ac_ext=c
8248 ac_cpp='$CPP $CPPFLAGS'
8249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8257 # If we're not using GNU ld, then there's no point in even trying these
8258 # tests. Check for that first. We should have already tested for gld
8259 # by now (in libtool), but require it now just to be safe...
8260 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8261 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8265 # The name set by libtool depends on the version of libtool. Shame on us
8266 # for depending on an impl detail, but c'est la vie. Older versions used
8267 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8268 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8269 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8270 # set (hence we're using an older libtool), then set it.
8271 if test x${with_gnu_ld+set} != xset; then
8272 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8273 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8274 with_gnu_ld=no
8275 else
8276 with_gnu_ld=$ac_cv_prog_gnu_ld
8280 # Start by getting the version number. I think the libtool test already
8281 # does some of this, but throws away the result.
8283 ldver=`$LD --version 2>/dev/null | head -1 | \
8284 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8286 glibcxx_gnu_ld_version=`echo $ldver | \
8287 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8289 # Set --gc-sections.
8290 if test "$with_gnu_ld" = "notbroken"; then
8291 # GNU ld it is! Joy and bunny rabbits!
8293 # All these tests are for C++; save the language and the compiler flags.
8294 # Need to do this so that g++ won't try to link in libstdc++
8295 ac_test_CFLAGS="${CFLAGS+set}"
8296 ac_save_CFLAGS="$CFLAGS"
8297 CFLAGS='-x c++ -Wl,--gc-sections'
8299 # Check for -Wl,--gc-sections
8300 # XXX This test is broken at the moment, as symbols required for linking
8301 # are now in libsupc++ (not built yet). In addition, this test has
8302 # cored on solaris in the past. In addition, --gc-sections doesn't
8303 # really work at the moment (keeps on discarding used sections, first
8304 # .eh_frame and now some of the glibc sections for iconv).
8305 # Bzzzzt. Thanks for playing, maybe next time.
8306 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8307 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8308 if test "$cross_compiling" = yes; then
8309 ac_sectionLDflags=yes
8310 else
8311 cat >conftest.$ac_ext <<_ACEOF
8312 /* confdefs.h. */
8313 _ACEOF
8314 cat confdefs.h >>conftest.$ac_ext
8315 cat >>conftest.$ac_ext <<_ACEOF
8316 /* end confdefs.h. */
8318 int main(void)
8320 try { throw 1; }
8321 catch (...) { };
8322 return 0;
8325 _ACEOF
8326 rm -f conftest$ac_exeext
8327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8328 (eval $ac_link) 2>&5
8329 ac_status=$?
8330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8331 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8333 (eval $ac_try) 2>&5
8334 ac_status=$?
8335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8336 (exit $ac_status); }; }; then
8337 ac_sectionLDflags=yes
8338 else
8339 echo "$as_me: program exited with status $ac_status" >&5
8340 echo "$as_me: failed program was:" >&5
8341 sed 's/^/| /' conftest.$ac_ext >&5
8343 ( exit $ac_status )
8344 ac_sectionLDflags=no
8346 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8348 if test "$ac_test_CFLAGS" = set; then
8349 CFLAGS="$ac_save_CFLAGS"
8350 else
8351 # this is the suspicious part
8352 CFLAGS=''
8354 if test "$ac_sectionLDflags" = "yes"; then
8355 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8357 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8358 echo "${ECHO_T}$ac_sectionLDflags" >&6
8361 # Set linker optimization flags.
8362 if test x"$with_gnu_ld" = x"yes"; then
8363 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8370 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8371 ac_save_CXXFLAGS="$CXXFLAGS"
8372 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8374 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8375 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8376 if test "${ac_cv_lib_m_sin+set}" = set; then
8377 echo $ECHO_N "(cached) $ECHO_C" >&6
8378 else
8379 ac_check_lib_save_LIBS=$LIBS
8380 LIBS="-lm $LIBS"
8381 if test x$gcc_no_link = xyes; then
8382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8384 { (exit 1); exit 1; }; }
8386 cat >conftest.$ac_ext <<_ACEOF
8387 /* confdefs.h. */
8388 _ACEOF
8389 cat confdefs.h >>conftest.$ac_ext
8390 cat >>conftest.$ac_ext <<_ACEOF
8391 /* end confdefs.h. */
8393 /* Override any gcc2 internal prototype to avoid an error. */
8394 #ifdef __cplusplus
8395 extern "C"
8396 #endif
8397 /* We use char because int might match the return type of a gcc2
8398 builtin and then its argument prototype would still apply. */
8399 char sin ();
8401 main ()
8403 sin ();
8405 return 0;
8407 _ACEOF
8408 rm -f conftest.$ac_objext conftest$ac_exeext
8409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8410 (eval $ac_link) 2>conftest.er1
8411 ac_status=$?
8412 grep -v '^ *+' conftest.er1 >conftest.err
8413 rm -f conftest.er1
8414 cat conftest.err >&5
8415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8416 (exit $ac_status); } &&
8417 { ac_try='test -z "$ac_c_werror_flag"
8418 || test ! -s conftest.err'
8419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8420 (eval $ac_try) 2>&5
8421 ac_status=$?
8422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8423 (exit $ac_status); }; } &&
8424 { ac_try='test -s conftest$ac_exeext'
8425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8426 (eval $ac_try) 2>&5
8427 ac_status=$?
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); }; }; then
8430 ac_cv_lib_m_sin=yes
8431 else
8432 echo "$as_me: failed program was:" >&5
8433 sed 's/^/| /' conftest.$ac_ext >&5
8435 ac_cv_lib_m_sin=no
8437 rm -f conftest.err conftest.$ac_objext \
8438 conftest$ac_exeext conftest.$ac_ext
8439 LIBS=$ac_check_lib_save_LIBS
8441 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8442 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8443 if test $ac_cv_lib_m_sin = yes; then
8444 libm="-lm"
8447 ac_save_LIBS="$LIBS"
8448 LIBS="$LIBS $libm"
8450 echo "$as_me:$LINENO: checking for sqrtf in -lmx" >&5
8451 echo $ECHO_N "checking for sqrtf in -lmx... $ECHO_C" >&6
8452 if test "${ac_cv_lib_mx_sqrtf+set}" = set; then
8453 echo $ECHO_N "(cached) $ECHO_C" >&6
8454 else
8455 ac_check_lib_save_LIBS=$LIBS
8456 LIBS="-lmx $LIBS"
8457 if test x$gcc_no_link = xyes; then
8458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8460 { (exit 1); exit 1; }; }
8462 cat >conftest.$ac_ext <<_ACEOF
8463 /* confdefs.h. */
8464 _ACEOF
8465 cat confdefs.h >>conftest.$ac_ext
8466 cat >>conftest.$ac_ext <<_ACEOF
8467 /* end confdefs.h. */
8469 /* Override any gcc2 internal prototype to avoid an error. */
8470 #ifdef __cplusplus
8471 extern "C"
8472 #endif
8473 /* We use char because int might match the return type of a gcc2
8474 builtin and then its argument prototype would still apply. */
8475 char sqrtf ();
8477 main ()
8479 sqrtf ();
8481 return 0;
8483 _ACEOF
8484 rm -f conftest.$ac_objext conftest$ac_exeext
8485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8486 (eval $ac_link) 2>conftest.er1
8487 ac_status=$?
8488 grep -v '^ *+' conftest.er1 >conftest.err
8489 rm -f conftest.er1
8490 cat conftest.err >&5
8491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8492 (exit $ac_status); } &&
8493 { ac_try='test -z "$ac_c_werror_flag"
8494 || test ! -s conftest.err'
8495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8496 (eval $ac_try) 2>&5
8497 ac_status=$?
8498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8499 (exit $ac_status); }; } &&
8500 { ac_try='test -s conftest$ac_exeext'
8501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8502 (eval $ac_try) 2>&5
8503 ac_status=$?
8504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8505 (exit $ac_status); }; }; then
8506 ac_cv_lib_mx_sqrtf=yes
8507 else
8508 echo "$as_me: failed program was:" >&5
8509 sed 's/^/| /' conftest.$ac_ext >&5
8511 ac_cv_lib_mx_sqrtf=no
8513 rm -f conftest.err conftest.$ac_objext \
8514 conftest$ac_exeext conftest.$ac_ext
8515 LIBS=$ac_check_lib_save_LIBS
8517 echo "$as_me:$LINENO: result: $ac_cv_lib_mx_sqrtf" >&5
8518 echo "${ECHO_T}$ac_cv_lib_mx_sqrtf" >&6
8519 if test $ac_cv_lib_mx_sqrtf = yes; then
8520 libmx="-lmx"
8523 LIBS="$LIBS $libmx"
8527 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8528 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8529 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8530 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8531 echo $ECHO_N "(cached) $ECHO_C" >&6
8532 else
8536 ac_ext=cc
8537 ac_cpp='$CXXCPP $CPPFLAGS'
8538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8542 cat >conftest.$ac_ext <<_ACEOF
8543 /* confdefs.h. */
8544 _ACEOF
8545 cat confdefs.h >>conftest.$ac_ext
8546 cat >>conftest.$ac_ext <<_ACEOF
8547 /* end confdefs.h. */
8548 #include <math.h>
8549 #ifdef HAVE_IEEEFP_H
8550 #include <ieeefp.h>
8551 #endif
8554 main ()
8556 isinf(0);
8558 return 0;
8560 _ACEOF
8561 rm -f conftest.$ac_objext
8562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8563 (eval $ac_compile) 2>conftest.er1
8564 ac_status=$?
8565 grep -v '^ *+' conftest.er1 >conftest.err
8566 rm -f conftest.er1
8567 cat conftest.err >&5
8568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8569 (exit $ac_status); } &&
8570 { ac_try='test -z "$ac_cxx_werror_flag"
8571 || test ! -s conftest.err'
8572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8573 (eval $ac_try) 2>&5
8574 ac_status=$?
8575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8576 (exit $ac_status); }; } &&
8577 { ac_try='test -s conftest.$ac_objext'
8578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8579 (eval $ac_try) 2>&5
8580 ac_status=$?
8581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8582 (exit $ac_status); }; }; then
8583 glibcxx_cv_func_isinf_use=yes
8584 else
8585 echo "$as_me: failed program was:" >&5
8586 sed 's/^/| /' conftest.$ac_ext >&5
8588 glibcxx_cv_func_isinf_use=no
8590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8591 ac_ext=c
8592 ac_cpp='$CPP $CPPFLAGS'
8593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8601 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8602 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8604 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8606 for ac_func in isinf
8608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8609 echo "$as_me:$LINENO: checking for $ac_func" >&5
8610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8611 if eval "test \"\${$as_ac_var+set}\" = set"; then
8612 echo $ECHO_N "(cached) $ECHO_C" >&6
8613 else
8614 if test x$gcc_no_link = xyes; then
8615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8617 { (exit 1); exit 1; }; }
8619 cat >conftest.$ac_ext <<_ACEOF
8620 /* confdefs.h. */
8621 _ACEOF
8622 cat confdefs.h >>conftest.$ac_ext
8623 cat >>conftest.$ac_ext <<_ACEOF
8624 /* end confdefs.h. */
8625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8627 #define $ac_func innocuous_$ac_func
8629 /* System header to define __stub macros and hopefully few prototypes,
8630 which can conflict with char $ac_func (); below.
8631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8632 <limits.h> exists even on freestanding compilers. */
8634 #ifdef __STDC__
8635 # include <limits.h>
8636 #else
8637 # include <assert.h>
8638 #endif
8640 #undef $ac_func
8642 /* Override any gcc2 internal prototype to avoid an error. */
8643 #ifdef __cplusplus
8644 extern "C"
8646 #endif
8647 /* We use char because int might match the return type of a gcc2
8648 builtin and then its argument prototype would still apply. */
8649 char $ac_func ();
8650 /* The GNU C library defines this for functions which it implements
8651 to always fail with ENOSYS. Some functions are actually named
8652 something starting with __ and the normal name is an alias. */
8653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8654 choke me
8655 #else
8656 char (*f) () = $ac_func;
8657 #endif
8658 #ifdef __cplusplus
8660 #endif
8663 main ()
8665 return f != $ac_func;
8667 return 0;
8669 _ACEOF
8670 rm -f conftest.$ac_objext conftest$ac_exeext
8671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8672 (eval $ac_link) 2>conftest.er1
8673 ac_status=$?
8674 grep -v '^ *+' conftest.er1 >conftest.err
8675 rm -f conftest.er1
8676 cat conftest.err >&5
8677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8678 (exit $ac_status); } &&
8679 { ac_try='test -z "$ac_c_werror_flag"
8680 || test ! -s conftest.err'
8681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8682 (eval $ac_try) 2>&5
8683 ac_status=$?
8684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8685 (exit $ac_status); }; } &&
8686 { ac_try='test -s conftest$ac_exeext'
8687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8688 (eval $ac_try) 2>&5
8689 ac_status=$?
8690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8691 (exit $ac_status); }; }; then
8692 eval "$as_ac_var=yes"
8693 else
8694 echo "$as_me: failed program was:" >&5
8695 sed 's/^/| /' conftest.$ac_ext >&5
8697 eval "$as_ac_var=no"
8699 rm -f conftest.err conftest.$ac_objext \
8700 conftest$ac_exeext conftest.$ac_ext
8702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8704 if test `eval echo '${'$as_ac_var'}'` = yes; then
8705 cat >>confdefs.h <<_ACEOF
8706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8707 _ACEOF
8710 done
8712 else
8714 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8715 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8716 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8717 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8718 echo $ECHO_N "(cached) $ECHO_C" >&6
8719 else
8723 ac_ext=cc
8724 ac_cpp='$CXXCPP $CPPFLAGS'
8725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8729 cat >conftest.$ac_ext <<_ACEOF
8730 /* confdefs.h. */
8731 _ACEOF
8732 cat confdefs.h >>conftest.$ac_ext
8733 cat >>conftest.$ac_ext <<_ACEOF
8734 /* end confdefs.h. */
8735 #include <math.h>
8736 #ifdef HAVE_IEEEFP_H
8737 #include <ieeefp.h>
8738 #endif
8741 main ()
8743 _isinf(0);
8745 return 0;
8747 _ACEOF
8748 rm -f conftest.$ac_objext
8749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8750 (eval $ac_compile) 2>conftest.er1
8751 ac_status=$?
8752 grep -v '^ *+' conftest.er1 >conftest.err
8753 rm -f conftest.er1
8754 cat conftest.err >&5
8755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8756 (exit $ac_status); } &&
8757 { ac_try='test -z "$ac_cxx_werror_flag"
8758 || test ! -s conftest.err'
8759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8760 (eval $ac_try) 2>&5
8761 ac_status=$?
8762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8763 (exit $ac_status); }; } &&
8764 { ac_try='test -s conftest.$ac_objext'
8765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8766 (eval $ac_try) 2>&5
8767 ac_status=$?
8768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8769 (exit $ac_status); }; }; then
8770 glibcxx_cv_func__isinf_use=yes
8771 else
8772 echo "$as_me: failed program was:" >&5
8773 sed 's/^/| /' conftest.$ac_ext >&5
8775 glibcxx_cv_func__isinf_use=no
8777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8778 ac_ext=c
8779 ac_cpp='$CPP $CPPFLAGS'
8780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8788 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8789 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8791 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8793 for ac_func in _isinf
8795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8796 echo "$as_me:$LINENO: checking for $ac_func" >&5
8797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8798 if eval "test \"\${$as_ac_var+set}\" = set"; then
8799 echo $ECHO_N "(cached) $ECHO_C" >&6
8800 else
8801 if test x$gcc_no_link = xyes; then
8802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8804 { (exit 1); exit 1; }; }
8806 cat >conftest.$ac_ext <<_ACEOF
8807 /* confdefs.h. */
8808 _ACEOF
8809 cat confdefs.h >>conftest.$ac_ext
8810 cat >>conftest.$ac_ext <<_ACEOF
8811 /* end confdefs.h. */
8812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8814 #define $ac_func innocuous_$ac_func
8816 /* System header to define __stub macros and hopefully few prototypes,
8817 which can conflict with char $ac_func (); below.
8818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8819 <limits.h> exists even on freestanding compilers. */
8821 #ifdef __STDC__
8822 # include <limits.h>
8823 #else
8824 # include <assert.h>
8825 #endif
8827 #undef $ac_func
8829 /* Override any gcc2 internal prototype to avoid an error. */
8830 #ifdef __cplusplus
8831 extern "C"
8833 #endif
8834 /* We use char because int might match the return type of a gcc2
8835 builtin and then its argument prototype would still apply. */
8836 char $ac_func ();
8837 /* The GNU C library defines this for functions which it implements
8838 to always fail with ENOSYS. Some functions are actually named
8839 something starting with __ and the normal name is an alias. */
8840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8841 choke me
8842 #else
8843 char (*f) () = $ac_func;
8844 #endif
8845 #ifdef __cplusplus
8847 #endif
8850 main ()
8852 return f != $ac_func;
8854 return 0;
8856 _ACEOF
8857 rm -f conftest.$ac_objext conftest$ac_exeext
8858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8859 (eval $ac_link) 2>conftest.er1
8860 ac_status=$?
8861 grep -v '^ *+' conftest.er1 >conftest.err
8862 rm -f conftest.er1
8863 cat conftest.err >&5
8864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8865 (exit $ac_status); } &&
8866 { ac_try='test -z "$ac_c_werror_flag"
8867 || test ! -s conftest.err'
8868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8869 (eval $ac_try) 2>&5
8870 ac_status=$?
8871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8872 (exit $ac_status); }; } &&
8873 { ac_try='test -s conftest$ac_exeext'
8874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8875 (eval $ac_try) 2>&5
8876 ac_status=$?
8877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8878 (exit $ac_status); }; }; then
8879 eval "$as_ac_var=yes"
8880 else
8881 echo "$as_me: failed program was:" >&5
8882 sed 's/^/| /' conftest.$ac_ext >&5
8884 eval "$as_ac_var=no"
8886 rm -f conftest.err conftest.$ac_objext \
8887 conftest$ac_exeext conftest.$ac_ext
8889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8891 if test `eval echo '${'$as_ac_var'}'` = yes; then
8892 cat >>confdefs.h <<_ACEOF
8893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8894 _ACEOF
8897 done
8904 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8905 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8906 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8907 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8908 echo $ECHO_N "(cached) $ECHO_C" >&6
8909 else
8913 ac_ext=cc
8914 ac_cpp='$CXXCPP $CPPFLAGS'
8915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8919 cat >conftest.$ac_ext <<_ACEOF
8920 /* confdefs.h. */
8921 _ACEOF
8922 cat confdefs.h >>conftest.$ac_ext
8923 cat >>conftest.$ac_ext <<_ACEOF
8924 /* end confdefs.h. */
8925 #include <math.h>
8926 #ifdef HAVE_IEEEFP_H
8927 #include <ieeefp.h>
8928 #endif
8931 main ()
8933 isnan(0);
8935 return 0;
8937 _ACEOF
8938 rm -f conftest.$ac_objext
8939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8940 (eval $ac_compile) 2>conftest.er1
8941 ac_status=$?
8942 grep -v '^ *+' conftest.er1 >conftest.err
8943 rm -f conftest.er1
8944 cat conftest.err >&5
8945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8946 (exit $ac_status); } &&
8947 { ac_try='test -z "$ac_cxx_werror_flag"
8948 || test ! -s conftest.err'
8949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8950 (eval $ac_try) 2>&5
8951 ac_status=$?
8952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8953 (exit $ac_status); }; } &&
8954 { ac_try='test -s conftest.$ac_objext'
8955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8956 (eval $ac_try) 2>&5
8957 ac_status=$?
8958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8959 (exit $ac_status); }; }; then
8960 glibcxx_cv_func_isnan_use=yes
8961 else
8962 echo "$as_me: failed program was:" >&5
8963 sed 's/^/| /' conftest.$ac_ext >&5
8965 glibcxx_cv_func_isnan_use=no
8967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8968 ac_ext=c
8969 ac_cpp='$CPP $CPPFLAGS'
8970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8978 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8979 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8981 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8983 for ac_func in isnan
8985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8986 echo "$as_me:$LINENO: checking for $ac_func" >&5
8987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8988 if eval "test \"\${$as_ac_var+set}\" = set"; then
8989 echo $ECHO_N "(cached) $ECHO_C" >&6
8990 else
8991 if test x$gcc_no_link = xyes; then
8992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8994 { (exit 1); exit 1; }; }
8996 cat >conftest.$ac_ext <<_ACEOF
8997 /* confdefs.h. */
8998 _ACEOF
8999 cat confdefs.h >>conftest.$ac_ext
9000 cat >>conftest.$ac_ext <<_ACEOF
9001 /* end confdefs.h. */
9002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9004 #define $ac_func innocuous_$ac_func
9006 /* System header to define __stub macros and hopefully few prototypes,
9007 which can conflict with char $ac_func (); below.
9008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9009 <limits.h> exists even on freestanding compilers. */
9011 #ifdef __STDC__
9012 # include <limits.h>
9013 #else
9014 # include <assert.h>
9015 #endif
9017 #undef $ac_func
9019 /* Override any gcc2 internal prototype to avoid an error. */
9020 #ifdef __cplusplus
9021 extern "C"
9023 #endif
9024 /* We use char because int might match the return type of a gcc2
9025 builtin and then its argument prototype would still apply. */
9026 char $ac_func ();
9027 /* The GNU C library defines this for functions which it implements
9028 to always fail with ENOSYS. Some functions are actually named
9029 something starting with __ and the normal name is an alias. */
9030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9031 choke me
9032 #else
9033 char (*f) () = $ac_func;
9034 #endif
9035 #ifdef __cplusplus
9037 #endif
9040 main ()
9042 return f != $ac_func;
9044 return 0;
9046 _ACEOF
9047 rm -f conftest.$ac_objext conftest$ac_exeext
9048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9049 (eval $ac_link) 2>conftest.er1
9050 ac_status=$?
9051 grep -v '^ *+' conftest.er1 >conftest.err
9052 rm -f conftest.er1
9053 cat conftest.err >&5
9054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9055 (exit $ac_status); } &&
9056 { ac_try='test -z "$ac_c_werror_flag"
9057 || test ! -s conftest.err'
9058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9059 (eval $ac_try) 2>&5
9060 ac_status=$?
9061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9062 (exit $ac_status); }; } &&
9063 { ac_try='test -s conftest$ac_exeext'
9064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9065 (eval $ac_try) 2>&5
9066 ac_status=$?
9067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068 (exit $ac_status); }; }; then
9069 eval "$as_ac_var=yes"
9070 else
9071 echo "$as_me: failed program was:" >&5
9072 sed 's/^/| /' conftest.$ac_ext >&5
9074 eval "$as_ac_var=no"
9076 rm -f conftest.err conftest.$ac_objext \
9077 conftest$ac_exeext conftest.$ac_ext
9079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9081 if test `eval echo '${'$as_ac_var'}'` = yes; then
9082 cat >>confdefs.h <<_ACEOF
9083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9084 _ACEOF
9087 done
9089 else
9091 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
9092 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
9093 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
9094 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
9095 echo $ECHO_N "(cached) $ECHO_C" >&6
9096 else
9100 ac_ext=cc
9101 ac_cpp='$CXXCPP $CPPFLAGS'
9102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9106 cat >conftest.$ac_ext <<_ACEOF
9107 /* confdefs.h. */
9108 _ACEOF
9109 cat confdefs.h >>conftest.$ac_ext
9110 cat >>conftest.$ac_ext <<_ACEOF
9111 /* end confdefs.h. */
9112 #include <math.h>
9113 #ifdef HAVE_IEEEFP_H
9114 #include <ieeefp.h>
9115 #endif
9118 main ()
9120 _isnan(0);
9122 return 0;
9124 _ACEOF
9125 rm -f conftest.$ac_objext
9126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9127 (eval $ac_compile) 2>conftest.er1
9128 ac_status=$?
9129 grep -v '^ *+' conftest.er1 >conftest.err
9130 rm -f conftest.er1
9131 cat conftest.err >&5
9132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9133 (exit $ac_status); } &&
9134 { ac_try='test -z "$ac_cxx_werror_flag"
9135 || test ! -s conftest.err'
9136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9137 (eval $ac_try) 2>&5
9138 ac_status=$?
9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140 (exit $ac_status); }; } &&
9141 { ac_try='test -s conftest.$ac_objext'
9142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9143 (eval $ac_try) 2>&5
9144 ac_status=$?
9145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9146 (exit $ac_status); }; }; then
9147 glibcxx_cv_func__isnan_use=yes
9148 else
9149 echo "$as_me: failed program was:" >&5
9150 sed 's/^/| /' conftest.$ac_ext >&5
9152 glibcxx_cv_func__isnan_use=no
9154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9155 ac_ext=c
9156 ac_cpp='$CPP $CPPFLAGS'
9157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9165 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9166 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9168 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9170 for ac_func in _isnan
9172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9173 echo "$as_me:$LINENO: checking for $ac_func" >&5
9174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9175 if eval "test \"\${$as_ac_var+set}\" = set"; then
9176 echo $ECHO_N "(cached) $ECHO_C" >&6
9177 else
9178 if test x$gcc_no_link = xyes; then
9179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9181 { (exit 1); exit 1; }; }
9183 cat >conftest.$ac_ext <<_ACEOF
9184 /* confdefs.h. */
9185 _ACEOF
9186 cat confdefs.h >>conftest.$ac_ext
9187 cat >>conftest.$ac_ext <<_ACEOF
9188 /* end confdefs.h. */
9189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9191 #define $ac_func innocuous_$ac_func
9193 /* System header to define __stub macros and hopefully few prototypes,
9194 which can conflict with char $ac_func (); below.
9195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9196 <limits.h> exists even on freestanding compilers. */
9198 #ifdef __STDC__
9199 # include <limits.h>
9200 #else
9201 # include <assert.h>
9202 #endif
9204 #undef $ac_func
9206 /* Override any gcc2 internal prototype to avoid an error. */
9207 #ifdef __cplusplus
9208 extern "C"
9210 #endif
9211 /* We use char because int might match the return type of a gcc2
9212 builtin and then its argument prototype would still apply. */
9213 char $ac_func ();
9214 /* The GNU C library defines this for functions which it implements
9215 to always fail with ENOSYS. Some functions are actually named
9216 something starting with __ and the normal name is an alias. */
9217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9218 choke me
9219 #else
9220 char (*f) () = $ac_func;
9221 #endif
9222 #ifdef __cplusplus
9224 #endif
9227 main ()
9229 return f != $ac_func;
9231 return 0;
9233 _ACEOF
9234 rm -f conftest.$ac_objext conftest$ac_exeext
9235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9236 (eval $ac_link) 2>conftest.er1
9237 ac_status=$?
9238 grep -v '^ *+' conftest.er1 >conftest.err
9239 rm -f conftest.er1
9240 cat conftest.err >&5
9241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9242 (exit $ac_status); } &&
9243 { ac_try='test -z "$ac_c_werror_flag"
9244 || test ! -s conftest.err'
9245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9246 (eval $ac_try) 2>&5
9247 ac_status=$?
9248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9249 (exit $ac_status); }; } &&
9250 { ac_try='test -s conftest$ac_exeext'
9251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9252 (eval $ac_try) 2>&5
9253 ac_status=$?
9254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9255 (exit $ac_status); }; }; then
9256 eval "$as_ac_var=yes"
9257 else
9258 echo "$as_me: failed program was:" >&5
9259 sed 's/^/| /' conftest.$ac_ext >&5
9261 eval "$as_ac_var=no"
9263 rm -f conftest.err conftest.$ac_objext \
9264 conftest$ac_exeext conftest.$ac_ext
9266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9268 if test `eval echo '${'$as_ac_var'}'` = yes; then
9269 cat >>confdefs.h <<_ACEOF
9270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9271 _ACEOF
9274 done
9281 echo "$as_me:$LINENO: checking for finite declaration" >&5
9282 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9283 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9284 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9285 echo $ECHO_N "(cached) $ECHO_C" >&6
9286 else
9290 ac_ext=cc
9291 ac_cpp='$CXXCPP $CPPFLAGS'
9292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9296 cat >conftest.$ac_ext <<_ACEOF
9297 /* confdefs.h. */
9298 _ACEOF
9299 cat confdefs.h >>conftest.$ac_ext
9300 cat >>conftest.$ac_ext <<_ACEOF
9301 /* end confdefs.h. */
9302 #include <math.h>
9303 #ifdef HAVE_IEEEFP_H
9304 #include <ieeefp.h>
9305 #endif
9308 main ()
9310 finite(0);
9312 return 0;
9314 _ACEOF
9315 rm -f conftest.$ac_objext
9316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9317 (eval $ac_compile) 2>conftest.er1
9318 ac_status=$?
9319 grep -v '^ *+' conftest.er1 >conftest.err
9320 rm -f conftest.er1
9321 cat conftest.err >&5
9322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9323 (exit $ac_status); } &&
9324 { ac_try='test -z "$ac_cxx_werror_flag"
9325 || test ! -s conftest.err'
9326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9327 (eval $ac_try) 2>&5
9328 ac_status=$?
9329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9330 (exit $ac_status); }; } &&
9331 { ac_try='test -s conftest.$ac_objext'
9332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9333 (eval $ac_try) 2>&5
9334 ac_status=$?
9335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9336 (exit $ac_status); }; }; then
9337 glibcxx_cv_func_finite_use=yes
9338 else
9339 echo "$as_me: failed program was:" >&5
9340 sed 's/^/| /' conftest.$ac_ext >&5
9342 glibcxx_cv_func_finite_use=no
9344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9345 ac_ext=c
9346 ac_cpp='$CPP $CPPFLAGS'
9347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9355 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9356 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9358 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9360 for ac_func in finite
9362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9363 echo "$as_me:$LINENO: checking for $ac_func" >&5
9364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9365 if eval "test \"\${$as_ac_var+set}\" = set"; then
9366 echo $ECHO_N "(cached) $ECHO_C" >&6
9367 else
9368 if test x$gcc_no_link = xyes; then
9369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9371 { (exit 1); exit 1; }; }
9373 cat >conftest.$ac_ext <<_ACEOF
9374 /* confdefs.h. */
9375 _ACEOF
9376 cat confdefs.h >>conftest.$ac_ext
9377 cat >>conftest.$ac_ext <<_ACEOF
9378 /* end confdefs.h. */
9379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9381 #define $ac_func innocuous_$ac_func
9383 /* System header to define __stub macros and hopefully few prototypes,
9384 which can conflict with char $ac_func (); below.
9385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9386 <limits.h> exists even on freestanding compilers. */
9388 #ifdef __STDC__
9389 # include <limits.h>
9390 #else
9391 # include <assert.h>
9392 #endif
9394 #undef $ac_func
9396 /* Override any gcc2 internal prototype to avoid an error. */
9397 #ifdef __cplusplus
9398 extern "C"
9400 #endif
9401 /* We use char because int might match the return type of a gcc2
9402 builtin and then its argument prototype would still apply. */
9403 char $ac_func ();
9404 /* The GNU C library defines this for functions which it implements
9405 to always fail with ENOSYS. Some functions are actually named
9406 something starting with __ and the normal name is an alias. */
9407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9408 choke me
9409 #else
9410 char (*f) () = $ac_func;
9411 #endif
9412 #ifdef __cplusplus
9414 #endif
9417 main ()
9419 return f != $ac_func;
9421 return 0;
9423 _ACEOF
9424 rm -f conftest.$ac_objext conftest$ac_exeext
9425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9426 (eval $ac_link) 2>conftest.er1
9427 ac_status=$?
9428 grep -v '^ *+' conftest.er1 >conftest.err
9429 rm -f conftest.er1
9430 cat conftest.err >&5
9431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9432 (exit $ac_status); } &&
9433 { ac_try='test -z "$ac_c_werror_flag"
9434 || test ! -s conftest.err'
9435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9436 (eval $ac_try) 2>&5
9437 ac_status=$?
9438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9439 (exit $ac_status); }; } &&
9440 { ac_try='test -s conftest$ac_exeext'
9441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9442 (eval $ac_try) 2>&5
9443 ac_status=$?
9444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9445 (exit $ac_status); }; }; then
9446 eval "$as_ac_var=yes"
9447 else
9448 echo "$as_me: failed program was:" >&5
9449 sed 's/^/| /' conftest.$ac_ext >&5
9451 eval "$as_ac_var=no"
9453 rm -f conftest.err conftest.$ac_objext \
9454 conftest$ac_exeext conftest.$ac_ext
9456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9458 if test `eval echo '${'$as_ac_var'}'` = yes; then
9459 cat >>confdefs.h <<_ACEOF
9460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9461 _ACEOF
9464 done
9466 else
9468 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9469 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9470 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9471 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9472 echo $ECHO_N "(cached) $ECHO_C" >&6
9473 else
9477 ac_ext=cc
9478 ac_cpp='$CXXCPP $CPPFLAGS'
9479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9483 cat >conftest.$ac_ext <<_ACEOF
9484 /* confdefs.h. */
9485 _ACEOF
9486 cat confdefs.h >>conftest.$ac_ext
9487 cat >>conftest.$ac_ext <<_ACEOF
9488 /* end confdefs.h. */
9489 #include <math.h>
9490 #ifdef HAVE_IEEEFP_H
9491 #include <ieeefp.h>
9492 #endif
9495 main ()
9497 _finite(0);
9499 return 0;
9501 _ACEOF
9502 rm -f conftest.$ac_objext
9503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9504 (eval $ac_compile) 2>conftest.er1
9505 ac_status=$?
9506 grep -v '^ *+' conftest.er1 >conftest.err
9507 rm -f conftest.er1
9508 cat conftest.err >&5
9509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9510 (exit $ac_status); } &&
9511 { ac_try='test -z "$ac_cxx_werror_flag"
9512 || test ! -s conftest.err'
9513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9514 (eval $ac_try) 2>&5
9515 ac_status=$?
9516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9517 (exit $ac_status); }; } &&
9518 { ac_try='test -s conftest.$ac_objext'
9519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9520 (eval $ac_try) 2>&5
9521 ac_status=$?
9522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); }; }; then
9524 glibcxx_cv_func__finite_use=yes
9525 else
9526 echo "$as_me: failed program was:" >&5
9527 sed 's/^/| /' conftest.$ac_ext >&5
9529 glibcxx_cv_func__finite_use=no
9531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9532 ac_ext=c
9533 ac_cpp='$CPP $CPPFLAGS'
9534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9542 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9543 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9545 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9547 for ac_func in _finite
9549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9550 echo "$as_me:$LINENO: checking for $ac_func" >&5
9551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9552 if eval "test \"\${$as_ac_var+set}\" = set"; then
9553 echo $ECHO_N "(cached) $ECHO_C" >&6
9554 else
9555 if test x$gcc_no_link = xyes; then
9556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9558 { (exit 1); exit 1; }; }
9560 cat >conftest.$ac_ext <<_ACEOF
9561 /* confdefs.h. */
9562 _ACEOF
9563 cat confdefs.h >>conftest.$ac_ext
9564 cat >>conftest.$ac_ext <<_ACEOF
9565 /* end confdefs.h. */
9566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9568 #define $ac_func innocuous_$ac_func
9570 /* System header to define __stub macros and hopefully few prototypes,
9571 which can conflict with char $ac_func (); below.
9572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9573 <limits.h> exists even on freestanding compilers. */
9575 #ifdef __STDC__
9576 # include <limits.h>
9577 #else
9578 # include <assert.h>
9579 #endif
9581 #undef $ac_func
9583 /* Override any gcc2 internal prototype to avoid an error. */
9584 #ifdef __cplusplus
9585 extern "C"
9587 #endif
9588 /* We use char because int might match the return type of a gcc2
9589 builtin and then its argument prototype would still apply. */
9590 char $ac_func ();
9591 /* The GNU C library defines this for functions which it implements
9592 to always fail with ENOSYS. Some functions are actually named
9593 something starting with __ and the normal name is an alias. */
9594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9595 choke me
9596 #else
9597 char (*f) () = $ac_func;
9598 #endif
9599 #ifdef __cplusplus
9601 #endif
9604 main ()
9606 return f != $ac_func;
9608 return 0;
9610 _ACEOF
9611 rm -f conftest.$ac_objext conftest$ac_exeext
9612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9613 (eval $ac_link) 2>conftest.er1
9614 ac_status=$?
9615 grep -v '^ *+' conftest.er1 >conftest.err
9616 rm -f conftest.er1
9617 cat conftest.err >&5
9618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9619 (exit $ac_status); } &&
9620 { ac_try='test -z "$ac_c_werror_flag"
9621 || test ! -s conftest.err'
9622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9623 (eval $ac_try) 2>&5
9624 ac_status=$?
9625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9626 (exit $ac_status); }; } &&
9627 { ac_try='test -s conftest$ac_exeext'
9628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9629 (eval $ac_try) 2>&5
9630 ac_status=$?
9631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9632 (exit $ac_status); }; }; then
9633 eval "$as_ac_var=yes"
9634 else
9635 echo "$as_me: failed program was:" >&5
9636 sed 's/^/| /' conftest.$ac_ext >&5
9638 eval "$as_ac_var=no"
9640 rm -f conftest.err conftest.$ac_objext \
9641 conftest$ac_exeext conftest.$ac_ext
9643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9645 if test `eval echo '${'$as_ac_var'}'` = yes; then
9646 cat >>confdefs.h <<_ACEOF
9647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9648 _ACEOF
9651 done
9658 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9659 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9660 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9661 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9662 echo $ECHO_N "(cached) $ECHO_C" >&6
9663 else
9667 ac_ext=cc
9668 ac_cpp='$CXXCPP $CPPFLAGS'
9669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9673 cat >conftest.$ac_ext <<_ACEOF
9674 /* confdefs.h. */
9675 _ACEOF
9676 cat confdefs.h >>conftest.$ac_ext
9677 cat >>conftest.$ac_ext <<_ACEOF
9678 /* end confdefs.h. */
9679 #include <math.h>
9681 main ()
9683 copysign(0, 0);
9685 return 0;
9687 _ACEOF
9688 rm -f conftest.$ac_objext
9689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9690 (eval $ac_compile) 2>conftest.er1
9691 ac_status=$?
9692 grep -v '^ *+' conftest.er1 >conftest.err
9693 rm -f conftest.er1
9694 cat conftest.err >&5
9695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9696 (exit $ac_status); } &&
9697 { ac_try='test -z "$ac_cxx_werror_flag"
9698 || test ! -s conftest.err'
9699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9700 (eval $ac_try) 2>&5
9701 ac_status=$?
9702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703 (exit $ac_status); }; } &&
9704 { ac_try='test -s conftest.$ac_objext'
9705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9706 (eval $ac_try) 2>&5
9707 ac_status=$?
9708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9709 (exit $ac_status); }; }; then
9710 glibcxx_cv_func_copysign_use=yes
9711 else
9712 echo "$as_me: failed program was:" >&5
9713 sed 's/^/| /' conftest.$ac_ext >&5
9715 glibcxx_cv_func_copysign_use=no
9717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9718 ac_ext=c
9719 ac_cpp='$CPP $CPPFLAGS'
9720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9728 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9729 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9731 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9733 for ac_func in copysign
9735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9736 echo "$as_me:$LINENO: checking for $ac_func" >&5
9737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9738 if eval "test \"\${$as_ac_var+set}\" = set"; then
9739 echo $ECHO_N "(cached) $ECHO_C" >&6
9740 else
9741 if test x$gcc_no_link = xyes; then
9742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9744 { (exit 1); exit 1; }; }
9746 cat >conftest.$ac_ext <<_ACEOF
9747 /* confdefs.h. */
9748 _ACEOF
9749 cat confdefs.h >>conftest.$ac_ext
9750 cat >>conftest.$ac_ext <<_ACEOF
9751 /* end confdefs.h. */
9752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9754 #define $ac_func innocuous_$ac_func
9756 /* System header to define __stub macros and hopefully few prototypes,
9757 which can conflict with char $ac_func (); below.
9758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9759 <limits.h> exists even on freestanding compilers. */
9761 #ifdef __STDC__
9762 # include <limits.h>
9763 #else
9764 # include <assert.h>
9765 #endif
9767 #undef $ac_func
9769 /* Override any gcc2 internal prototype to avoid an error. */
9770 #ifdef __cplusplus
9771 extern "C"
9773 #endif
9774 /* We use char because int might match the return type of a gcc2
9775 builtin and then its argument prototype would still apply. */
9776 char $ac_func ();
9777 /* The GNU C library defines this for functions which it implements
9778 to always fail with ENOSYS. Some functions are actually named
9779 something starting with __ and the normal name is an alias. */
9780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9781 choke me
9782 #else
9783 char (*f) () = $ac_func;
9784 #endif
9785 #ifdef __cplusplus
9787 #endif
9790 main ()
9792 return f != $ac_func;
9794 return 0;
9796 _ACEOF
9797 rm -f conftest.$ac_objext conftest$ac_exeext
9798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9799 (eval $ac_link) 2>conftest.er1
9800 ac_status=$?
9801 grep -v '^ *+' conftest.er1 >conftest.err
9802 rm -f conftest.er1
9803 cat conftest.err >&5
9804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9805 (exit $ac_status); } &&
9806 { ac_try='test -z "$ac_c_werror_flag"
9807 || test ! -s conftest.err'
9808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9809 (eval $ac_try) 2>&5
9810 ac_status=$?
9811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9812 (exit $ac_status); }; } &&
9813 { ac_try='test -s conftest$ac_exeext'
9814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9815 (eval $ac_try) 2>&5
9816 ac_status=$?
9817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9818 (exit $ac_status); }; }; then
9819 eval "$as_ac_var=yes"
9820 else
9821 echo "$as_me: failed program was:" >&5
9822 sed 's/^/| /' conftest.$ac_ext >&5
9824 eval "$as_ac_var=no"
9826 rm -f conftest.err conftest.$ac_objext \
9827 conftest$ac_exeext conftest.$ac_ext
9829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9831 if test `eval echo '${'$as_ac_var'}'` = yes; then
9832 cat >>confdefs.h <<_ACEOF
9833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9834 _ACEOF
9837 done
9839 else
9841 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9842 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9843 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9844 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9845 echo $ECHO_N "(cached) $ECHO_C" >&6
9846 else
9850 ac_ext=cc
9851 ac_cpp='$CXXCPP $CPPFLAGS'
9852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9856 cat >conftest.$ac_ext <<_ACEOF
9857 /* confdefs.h. */
9858 _ACEOF
9859 cat confdefs.h >>conftest.$ac_ext
9860 cat >>conftest.$ac_ext <<_ACEOF
9861 /* end confdefs.h. */
9862 #include <math.h>
9864 main ()
9866 _copysign(0, 0);
9868 return 0;
9870 _ACEOF
9871 rm -f conftest.$ac_objext
9872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9873 (eval $ac_compile) 2>conftest.er1
9874 ac_status=$?
9875 grep -v '^ *+' conftest.er1 >conftest.err
9876 rm -f conftest.er1
9877 cat conftest.err >&5
9878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9879 (exit $ac_status); } &&
9880 { ac_try='test -z "$ac_cxx_werror_flag"
9881 || test ! -s conftest.err'
9882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9883 (eval $ac_try) 2>&5
9884 ac_status=$?
9885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9886 (exit $ac_status); }; } &&
9887 { ac_try='test -s conftest.$ac_objext'
9888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9889 (eval $ac_try) 2>&5
9890 ac_status=$?
9891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9892 (exit $ac_status); }; }; then
9893 glibcxx_cv_func__copysign_use=yes
9894 else
9895 echo "$as_me: failed program was:" >&5
9896 sed 's/^/| /' conftest.$ac_ext >&5
9898 glibcxx_cv_func__copysign_use=no
9900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9901 ac_ext=c
9902 ac_cpp='$CPP $CPPFLAGS'
9903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9911 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9912 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9914 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9916 for ac_func in _copysign
9918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9919 echo "$as_me:$LINENO: checking for $ac_func" >&5
9920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9921 if eval "test \"\${$as_ac_var+set}\" = set"; then
9922 echo $ECHO_N "(cached) $ECHO_C" >&6
9923 else
9924 if test x$gcc_no_link = xyes; then
9925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9927 { (exit 1); exit 1; }; }
9929 cat >conftest.$ac_ext <<_ACEOF
9930 /* confdefs.h. */
9931 _ACEOF
9932 cat confdefs.h >>conftest.$ac_ext
9933 cat >>conftest.$ac_ext <<_ACEOF
9934 /* end confdefs.h. */
9935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9937 #define $ac_func innocuous_$ac_func
9939 /* System header to define __stub macros and hopefully few prototypes,
9940 which can conflict with char $ac_func (); below.
9941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9942 <limits.h> exists even on freestanding compilers. */
9944 #ifdef __STDC__
9945 # include <limits.h>
9946 #else
9947 # include <assert.h>
9948 #endif
9950 #undef $ac_func
9952 /* Override any gcc2 internal prototype to avoid an error. */
9953 #ifdef __cplusplus
9954 extern "C"
9956 #endif
9957 /* We use char because int might match the return type of a gcc2
9958 builtin and then its argument prototype would still apply. */
9959 char $ac_func ();
9960 /* The GNU C library defines this for functions which it implements
9961 to always fail with ENOSYS. Some functions are actually named
9962 something starting with __ and the normal name is an alias. */
9963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9964 choke me
9965 #else
9966 char (*f) () = $ac_func;
9967 #endif
9968 #ifdef __cplusplus
9970 #endif
9973 main ()
9975 return f != $ac_func;
9977 return 0;
9979 _ACEOF
9980 rm -f conftest.$ac_objext conftest$ac_exeext
9981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9982 (eval $ac_link) 2>conftest.er1
9983 ac_status=$?
9984 grep -v '^ *+' conftest.er1 >conftest.err
9985 rm -f conftest.er1
9986 cat conftest.err >&5
9987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9988 (exit $ac_status); } &&
9989 { ac_try='test -z "$ac_c_werror_flag"
9990 || test ! -s conftest.err'
9991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9992 (eval $ac_try) 2>&5
9993 ac_status=$?
9994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9995 (exit $ac_status); }; } &&
9996 { ac_try='test -s conftest$ac_exeext'
9997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9998 (eval $ac_try) 2>&5
9999 ac_status=$?
10000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10001 (exit $ac_status); }; }; then
10002 eval "$as_ac_var=yes"
10003 else
10004 echo "$as_me: failed program was:" >&5
10005 sed 's/^/| /' conftest.$ac_ext >&5
10007 eval "$as_ac_var=no"
10009 rm -f conftest.err conftest.$ac_objext \
10010 conftest$ac_exeext conftest.$ac_ext
10012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10014 if test `eval echo '${'$as_ac_var'}'` = yes; then
10015 cat >>confdefs.h <<_ACEOF
10016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10017 _ACEOF
10020 done
10027 echo "$as_me:$LINENO: checking for sincos declaration" >&5
10028 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
10029 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
10030 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
10031 echo $ECHO_N "(cached) $ECHO_C" >&6
10032 else
10036 ac_ext=cc
10037 ac_cpp='$CXXCPP $CPPFLAGS'
10038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10042 cat >conftest.$ac_ext <<_ACEOF
10043 /* confdefs.h. */
10044 _ACEOF
10045 cat confdefs.h >>conftest.$ac_ext
10046 cat >>conftest.$ac_ext <<_ACEOF
10047 /* end confdefs.h. */
10048 #include <math.h>
10050 main ()
10052 sincos(0, 0, 0);
10054 return 0;
10056 _ACEOF
10057 rm -f conftest.$ac_objext
10058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10059 (eval $ac_compile) 2>conftest.er1
10060 ac_status=$?
10061 grep -v '^ *+' conftest.er1 >conftest.err
10062 rm -f conftest.er1
10063 cat conftest.err >&5
10064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10065 (exit $ac_status); } &&
10066 { ac_try='test -z "$ac_cxx_werror_flag"
10067 || test ! -s conftest.err'
10068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10069 (eval $ac_try) 2>&5
10070 ac_status=$?
10071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10072 (exit $ac_status); }; } &&
10073 { ac_try='test -s conftest.$ac_objext'
10074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10075 (eval $ac_try) 2>&5
10076 ac_status=$?
10077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10078 (exit $ac_status); }; }; then
10079 glibcxx_cv_func_sincos_use=yes
10080 else
10081 echo "$as_me: failed program was:" >&5
10082 sed 's/^/| /' conftest.$ac_ext >&5
10084 glibcxx_cv_func_sincos_use=no
10086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10087 ac_ext=c
10088 ac_cpp='$CPP $CPPFLAGS'
10089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10097 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
10098 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
10100 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
10102 for ac_func in sincos
10104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10105 echo "$as_me:$LINENO: checking for $ac_func" >&5
10106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10107 if eval "test \"\${$as_ac_var+set}\" = set"; then
10108 echo $ECHO_N "(cached) $ECHO_C" >&6
10109 else
10110 if test x$gcc_no_link = xyes; then
10111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10113 { (exit 1); exit 1; }; }
10115 cat >conftest.$ac_ext <<_ACEOF
10116 /* confdefs.h. */
10117 _ACEOF
10118 cat confdefs.h >>conftest.$ac_ext
10119 cat >>conftest.$ac_ext <<_ACEOF
10120 /* end confdefs.h. */
10121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10123 #define $ac_func innocuous_$ac_func
10125 /* System header to define __stub macros and hopefully few prototypes,
10126 which can conflict with char $ac_func (); below.
10127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10128 <limits.h> exists even on freestanding compilers. */
10130 #ifdef __STDC__
10131 # include <limits.h>
10132 #else
10133 # include <assert.h>
10134 #endif
10136 #undef $ac_func
10138 /* Override any gcc2 internal prototype to avoid an error. */
10139 #ifdef __cplusplus
10140 extern "C"
10142 #endif
10143 /* We use char because int might match the return type of a gcc2
10144 builtin and then its argument prototype would still apply. */
10145 char $ac_func ();
10146 /* The GNU C library defines this for functions which it implements
10147 to always fail with ENOSYS. Some functions are actually named
10148 something starting with __ and the normal name is an alias. */
10149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10150 choke me
10151 #else
10152 char (*f) () = $ac_func;
10153 #endif
10154 #ifdef __cplusplus
10156 #endif
10159 main ()
10161 return f != $ac_func;
10163 return 0;
10165 _ACEOF
10166 rm -f conftest.$ac_objext conftest$ac_exeext
10167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10168 (eval $ac_link) 2>conftest.er1
10169 ac_status=$?
10170 grep -v '^ *+' conftest.er1 >conftest.err
10171 rm -f conftest.er1
10172 cat conftest.err >&5
10173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10174 (exit $ac_status); } &&
10175 { ac_try='test -z "$ac_c_werror_flag"
10176 || test ! -s conftest.err'
10177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10178 (eval $ac_try) 2>&5
10179 ac_status=$?
10180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10181 (exit $ac_status); }; } &&
10182 { ac_try='test -s conftest$ac_exeext'
10183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10184 (eval $ac_try) 2>&5
10185 ac_status=$?
10186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10187 (exit $ac_status); }; }; then
10188 eval "$as_ac_var=yes"
10189 else
10190 echo "$as_me: failed program was:" >&5
10191 sed 's/^/| /' conftest.$ac_ext >&5
10193 eval "$as_ac_var=no"
10195 rm -f conftest.err conftest.$ac_objext \
10196 conftest$ac_exeext conftest.$ac_ext
10198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10200 if test `eval echo '${'$as_ac_var'}'` = yes; then
10201 cat >>confdefs.h <<_ACEOF
10202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10203 _ACEOF
10206 done
10208 else
10210 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10211 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10212 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10213 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10214 echo $ECHO_N "(cached) $ECHO_C" >&6
10215 else
10219 ac_ext=cc
10220 ac_cpp='$CXXCPP $CPPFLAGS'
10221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10225 cat >conftest.$ac_ext <<_ACEOF
10226 /* confdefs.h. */
10227 _ACEOF
10228 cat confdefs.h >>conftest.$ac_ext
10229 cat >>conftest.$ac_ext <<_ACEOF
10230 /* end confdefs.h. */
10231 #include <math.h>
10233 main ()
10235 _sincos(0, 0, 0);
10237 return 0;
10239 _ACEOF
10240 rm -f conftest.$ac_objext
10241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10242 (eval $ac_compile) 2>conftest.er1
10243 ac_status=$?
10244 grep -v '^ *+' conftest.er1 >conftest.err
10245 rm -f conftest.er1
10246 cat conftest.err >&5
10247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10248 (exit $ac_status); } &&
10249 { ac_try='test -z "$ac_cxx_werror_flag"
10250 || test ! -s conftest.err'
10251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10252 (eval $ac_try) 2>&5
10253 ac_status=$?
10254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10255 (exit $ac_status); }; } &&
10256 { ac_try='test -s conftest.$ac_objext'
10257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10258 (eval $ac_try) 2>&5
10259 ac_status=$?
10260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10261 (exit $ac_status); }; }; then
10262 glibcxx_cv_func__sincos_use=yes
10263 else
10264 echo "$as_me: failed program was:" >&5
10265 sed 's/^/| /' conftest.$ac_ext >&5
10267 glibcxx_cv_func__sincos_use=no
10269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10270 ac_ext=c
10271 ac_cpp='$CPP $CPPFLAGS'
10272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10280 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10281 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10283 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10285 for ac_func in _sincos
10287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10288 echo "$as_me:$LINENO: checking for $ac_func" >&5
10289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10290 if eval "test \"\${$as_ac_var+set}\" = set"; then
10291 echo $ECHO_N "(cached) $ECHO_C" >&6
10292 else
10293 if test x$gcc_no_link = xyes; then
10294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10296 { (exit 1); exit 1; }; }
10298 cat >conftest.$ac_ext <<_ACEOF
10299 /* confdefs.h. */
10300 _ACEOF
10301 cat confdefs.h >>conftest.$ac_ext
10302 cat >>conftest.$ac_ext <<_ACEOF
10303 /* end confdefs.h. */
10304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10306 #define $ac_func innocuous_$ac_func
10308 /* System header to define __stub macros and hopefully few prototypes,
10309 which can conflict with char $ac_func (); below.
10310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10311 <limits.h> exists even on freestanding compilers. */
10313 #ifdef __STDC__
10314 # include <limits.h>
10315 #else
10316 # include <assert.h>
10317 #endif
10319 #undef $ac_func
10321 /* Override any gcc2 internal prototype to avoid an error. */
10322 #ifdef __cplusplus
10323 extern "C"
10325 #endif
10326 /* We use char because int might match the return type of a gcc2
10327 builtin and then its argument prototype would still apply. */
10328 char $ac_func ();
10329 /* The GNU C library defines this for functions which it implements
10330 to always fail with ENOSYS. Some functions are actually named
10331 something starting with __ and the normal name is an alias. */
10332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10333 choke me
10334 #else
10335 char (*f) () = $ac_func;
10336 #endif
10337 #ifdef __cplusplus
10339 #endif
10342 main ()
10344 return f != $ac_func;
10346 return 0;
10348 _ACEOF
10349 rm -f conftest.$ac_objext conftest$ac_exeext
10350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10351 (eval $ac_link) 2>conftest.er1
10352 ac_status=$?
10353 grep -v '^ *+' conftest.er1 >conftest.err
10354 rm -f conftest.er1
10355 cat conftest.err >&5
10356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10357 (exit $ac_status); } &&
10358 { ac_try='test -z "$ac_c_werror_flag"
10359 || test ! -s conftest.err'
10360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10361 (eval $ac_try) 2>&5
10362 ac_status=$?
10363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10364 (exit $ac_status); }; } &&
10365 { ac_try='test -s conftest$ac_exeext'
10366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10367 (eval $ac_try) 2>&5
10368 ac_status=$?
10369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10370 (exit $ac_status); }; }; then
10371 eval "$as_ac_var=yes"
10372 else
10373 echo "$as_me: failed program was:" >&5
10374 sed 's/^/| /' conftest.$ac_ext >&5
10376 eval "$as_ac_var=no"
10378 rm -f conftest.err conftest.$ac_objext \
10379 conftest$ac_exeext conftest.$ac_ext
10381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10383 if test `eval echo '${'$as_ac_var'}'` = yes; then
10384 cat >>confdefs.h <<_ACEOF
10385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10386 _ACEOF
10389 done
10396 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10397 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10398 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10399 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10400 echo $ECHO_N "(cached) $ECHO_C" >&6
10401 else
10405 ac_ext=cc
10406 ac_cpp='$CXXCPP $CPPFLAGS'
10407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10411 cat >conftest.$ac_ext <<_ACEOF
10412 /* confdefs.h. */
10413 _ACEOF
10414 cat confdefs.h >>conftest.$ac_ext
10415 cat >>conftest.$ac_ext <<_ACEOF
10416 /* end confdefs.h. */
10417 #include <math.h>
10418 #ifdef HAVE_IEEEFP_H
10419 #include <ieeefp.h>
10420 #endif
10423 main ()
10425 fpclass(0);
10427 return 0;
10429 _ACEOF
10430 rm -f conftest.$ac_objext
10431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10432 (eval $ac_compile) 2>conftest.er1
10433 ac_status=$?
10434 grep -v '^ *+' conftest.er1 >conftest.err
10435 rm -f conftest.er1
10436 cat conftest.err >&5
10437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10438 (exit $ac_status); } &&
10439 { ac_try='test -z "$ac_cxx_werror_flag"
10440 || test ! -s conftest.err'
10441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10442 (eval $ac_try) 2>&5
10443 ac_status=$?
10444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10445 (exit $ac_status); }; } &&
10446 { ac_try='test -s conftest.$ac_objext'
10447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10448 (eval $ac_try) 2>&5
10449 ac_status=$?
10450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10451 (exit $ac_status); }; }; then
10452 glibcxx_cv_func_fpclass_use=yes
10453 else
10454 echo "$as_me: failed program was:" >&5
10455 sed 's/^/| /' conftest.$ac_ext >&5
10457 glibcxx_cv_func_fpclass_use=no
10459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10460 ac_ext=c
10461 ac_cpp='$CPP $CPPFLAGS'
10462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10470 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10471 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10473 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10475 for ac_func in fpclass
10477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10478 echo "$as_me:$LINENO: checking for $ac_func" >&5
10479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10480 if eval "test \"\${$as_ac_var+set}\" = set"; then
10481 echo $ECHO_N "(cached) $ECHO_C" >&6
10482 else
10483 if test x$gcc_no_link = xyes; then
10484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10486 { (exit 1); exit 1; }; }
10488 cat >conftest.$ac_ext <<_ACEOF
10489 /* confdefs.h. */
10490 _ACEOF
10491 cat confdefs.h >>conftest.$ac_ext
10492 cat >>conftest.$ac_ext <<_ACEOF
10493 /* end confdefs.h. */
10494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10496 #define $ac_func innocuous_$ac_func
10498 /* System header to define __stub macros and hopefully few prototypes,
10499 which can conflict with char $ac_func (); below.
10500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10501 <limits.h> exists even on freestanding compilers. */
10503 #ifdef __STDC__
10504 # include <limits.h>
10505 #else
10506 # include <assert.h>
10507 #endif
10509 #undef $ac_func
10511 /* Override any gcc2 internal prototype to avoid an error. */
10512 #ifdef __cplusplus
10513 extern "C"
10515 #endif
10516 /* We use char because int might match the return type of a gcc2
10517 builtin and then its argument prototype would still apply. */
10518 char $ac_func ();
10519 /* The GNU C library defines this for functions which it implements
10520 to always fail with ENOSYS. Some functions are actually named
10521 something starting with __ and the normal name is an alias. */
10522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10523 choke me
10524 #else
10525 char (*f) () = $ac_func;
10526 #endif
10527 #ifdef __cplusplus
10529 #endif
10532 main ()
10534 return f != $ac_func;
10536 return 0;
10538 _ACEOF
10539 rm -f conftest.$ac_objext conftest$ac_exeext
10540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10541 (eval $ac_link) 2>conftest.er1
10542 ac_status=$?
10543 grep -v '^ *+' conftest.er1 >conftest.err
10544 rm -f conftest.er1
10545 cat conftest.err >&5
10546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10547 (exit $ac_status); } &&
10548 { ac_try='test -z "$ac_c_werror_flag"
10549 || test ! -s conftest.err'
10550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10551 (eval $ac_try) 2>&5
10552 ac_status=$?
10553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10554 (exit $ac_status); }; } &&
10555 { ac_try='test -s conftest$ac_exeext'
10556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10557 (eval $ac_try) 2>&5
10558 ac_status=$?
10559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10560 (exit $ac_status); }; }; then
10561 eval "$as_ac_var=yes"
10562 else
10563 echo "$as_me: failed program was:" >&5
10564 sed 's/^/| /' conftest.$ac_ext >&5
10566 eval "$as_ac_var=no"
10568 rm -f conftest.err conftest.$ac_objext \
10569 conftest$ac_exeext conftest.$ac_ext
10571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10573 if test `eval echo '${'$as_ac_var'}'` = yes; then
10574 cat >>confdefs.h <<_ACEOF
10575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10576 _ACEOF
10579 done
10581 else
10583 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10584 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10585 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10586 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10587 echo $ECHO_N "(cached) $ECHO_C" >&6
10588 else
10592 ac_ext=cc
10593 ac_cpp='$CXXCPP $CPPFLAGS'
10594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10598 cat >conftest.$ac_ext <<_ACEOF
10599 /* confdefs.h. */
10600 _ACEOF
10601 cat confdefs.h >>conftest.$ac_ext
10602 cat >>conftest.$ac_ext <<_ACEOF
10603 /* end confdefs.h. */
10604 #include <math.h>
10605 #ifdef HAVE_IEEEFP_H
10606 #include <ieeefp.h>
10607 #endif
10610 main ()
10612 _fpclass(0);
10614 return 0;
10616 _ACEOF
10617 rm -f conftest.$ac_objext
10618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10619 (eval $ac_compile) 2>conftest.er1
10620 ac_status=$?
10621 grep -v '^ *+' conftest.er1 >conftest.err
10622 rm -f conftest.er1
10623 cat conftest.err >&5
10624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10625 (exit $ac_status); } &&
10626 { ac_try='test -z "$ac_cxx_werror_flag"
10627 || test ! -s conftest.err'
10628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10629 (eval $ac_try) 2>&5
10630 ac_status=$?
10631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10632 (exit $ac_status); }; } &&
10633 { ac_try='test -s conftest.$ac_objext'
10634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10635 (eval $ac_try) 2>&5
10636 ac_status=$?
10637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10638 (exit $ac_status); }; }; then
10639 glibcxx_cv_func__fpclass_use=yes
10640 else
10641 echo "$as_me: failed program was:" >&5
10642 sed 's/^/| /' conftest.$ac_ext >&5
10644 glibcxx_cv_func__fpclass_use=no
10646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10647 ac_ext=c
10648 ac_cpp='$CPP $CPPFLAGS'
10649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10657 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10658 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10660 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10662 for ac_func in _fpclass
10664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10665 echo "$as_me:$LINENO: checking for $ac_func" >&5
10666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10667 if eval "test \"\${$as_ac_var+set}\" = set"; then
10668 echo $ECHO_N "(cached) $ECHO_C" >&6
10669 else
10670 if test x$gcc_no_link = xyes; then
10671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10673 { (exit 1); exit 1; }; }
10675 cat >conftest.$ac_ext <<_ACEOF
10676 /* confdefs.h. */
10677 _ACEOF
10678 cat confdefs.h >>conftest.$ac_ext
10679 cat >>conftest.$ac_ext <<_ACEOF
10680 /* end confdefs.h. */
10681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10683 #define $ac_func innocuous_$ac_func
10685 /* System header to define __stub macros and hopefully few prototypes,
10686 which can conflict with char $ac_func (); below.
10687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10688 <limits.h> exists even on freestanding compilers. */
10690 #ifdef __STDC__
10691 # include <limits.h>
10692 #else
10693 # include <assert.h>
10694 #endif
10696 #undef $ac_func
10698 /* Override any gcc2 internal prototype to avoid an error. */
10699 #ifdef __cplusplus
10700 extern "C"
10702 #endif
10703 /* We use char because int might match the return type of a gcc2
10704 builtin and then its argument prototype would still apply. */
10705 char $ac_func ();
10706 /* The GNU C library defines this for functions which it implements
10707 to always fail with ENOSYS. Some functions are actually named
10708 something starting with __ and the normal name is an alias. */
10709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10710 choke me
10711 #else
10712 char (*f) () = $ac_func;
10713 #endif
10714 #ifdef __cplusplus
10716 #endif
10719 main ()
10721 return f != $ac_func;
10723 return 0;
10725 _ACEOF
10726 rm -f conftest.$ac_objext conftest$ac_exeext
10727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10728 (eval $ac_link) 2>conftest.er1
10729 ac_status=$?
10730 grep -v '^ *+' conftest.er1 >conftest.err
10731 rm -f conftest.er1
10732 cat conftest.err >&5
10733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10734 (exit $ac_status); } &&
10735 { ac_try='test -z "$ac_c_werror_flag"
10736 || test ! -s conftest.err'
10737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10738 (eval $ac_try) 2>&5
10739 ac_status=$?
10740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10741 (exit $ac_status); }; } &&
10742 { ac_try='test -s conftest$ac_exeext'
10743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10744 (eval $ac_try) 2>&5
10745 ac_status=$?
10746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10747 (exit $ac_status); }; }; then
10748 eval "$as_ac_var=yes"
10749 else
10750 echo "$as_me: failed program was:" >&5
10751 sed 's/^/| /' conftest.$ac_ext >&5
10753 eval "$as_ac_var=no"
10755 rm -f conftest.err conftest.$ac_objext \
10756 conftest$ac_exeext conftest.$ac_ext
10758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10760 if test `eval echo '${'$as_ac_var'}'` = yes; then
10761 cat >>confdefs.h <<_ACEOF
10762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10763 _ACEOF
10766 done
10773 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10774 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10775 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10776 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10777 echo $ECHO_N "(cached) $ECHO_C" >&6
10778 else
10782 ac_ext=cc
10783 ac_cpp='$CXXCPP $CPPFLAGS'
10784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10788 cat >conftest.$ac_ext <<_ACEOF
10789 /* confdefs.h. */
10790 _ACEOF
10791 cat confdefs.h >>conftest.$ac_ext
10792 cat >>conftest.$ac_ext <<_ACEOF
10793 /* end confdefs.h. */
10794 #include <math.h>
10795 #ifdef HAVE_IEEEFP_H
10796 #include <ieeefp.h>
10797 #endif
10800 main ()
10802 qfpclass(0);
10804 return 0;
10806 _ACEOF
10807 rm -f conftest.$ac_objext
10808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10809 (eval $ac_compile) 2>conftest.er1
10810 ac_status=$?
10811 grep -v '^ *+' conftest.er1 >conftest.err
10812 rm -f conftest.er1
10813 cat conftest.err >&5
10814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10815 (exit $ac_status); } &&
10816 { ac_try='test -z "$ac_cxx_werror_flag"
10817 || test ! -s conftest.err'
10818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10819 (eval $ac_try) 2>&5
10820 ac_status=$?
10821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10822 (exit $ac_status); }; } &&
10823 { ac_try='test -s conftest.$ac_objext'
10824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10825 (eval $ac_try) 2>&5
10826 ac_status=$?
10827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10828 (exit $ac_status); }; }; then
10829 glibcxx_cv_func_qfpclass_use=yes
10830 else
10831 echo "$as_me: failed program was:" >&5
10832 sed 's/^/| /' conftest.$ac_ext >&5
10834 glibcxx_cv_func_qfpclass_use=no
10836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10837 ac_ext=c
10838 ac_cpp='$CPP $CPPFLAGS'
10839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10847 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10848 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10850 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10852 for ac_func in qfpclass
10854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10855 echo "$as_me:$LINENO: checking for $ac_func" >&5
10856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10857 if eval "test \"\${$as_ac_var+set}\" = set"; then
10858 echo $ECHO_N "(cached) $ECHO_C" >&6
10859 else
10860 if test x$gcc_no_link = xyes; then
10861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10863 { (exit 1); exit 1; }; }
10865 cat >conftest.$ac_ext <<_ACEOF
10866 /* confdefs.h. */
10867 _ACEOF
10868 cat confdefs.h >>conftest.$ac_ext
10869 cat >>conftest.$ac_ext <<_ACEOF
10870 /* end confdefs.h. */
10871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10873 #define $ac_func innocuous_$ac_func
10875 /* System header to define __stub macros and hopefully few prototypes,
10876 which can conflict with char $ac_func (); below.
10877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10878 <limits.h> exists even on freestanding compilers. */
10880 #ifdef __STDC__
10881 # include <limits.h>
10882 #else
10883 # include <assert.h>
10884 #endif
10886 #undef $ac_func
10888 /* Override any gcc2 internal prototype to avoid an error. */
10889 #ifdef __cplusplus
10890 extern "C"
10892 #endif
10893 /* We use char because int might match the return type of a gcc2
10894 builtin and then its argument prototype would still apply. */
10895 char $ac_func ();
10896 /* The GNU C library defines this for functions which it implements
10897 to always fail with ENOSYS. Some functions are actually named
10898 something starting with __ and the normal name is an alias. */
10899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10900 choke me
10901 #else
10902 char (*f) () = $ac_func;
10903 #endif
10904 #ifdef __cplusplus
10906 #endif
10909 main ()
10911 return f != $ac_func;
10913 return 0;
10915 _ACEOF
10916 rm -f conftest.$ac_objext conftest$ac_exeext
10917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10918 (eval $ac_link) 2>conftest.er1
10919 ac_status=$?
10920 grep -v '^ *+' conftest.er1 >conftest.err
10921 rm -f conftest.er1
10922 cat conftest.err >&5
10923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10924 (exit $ac_status); } &&
10925 { ac_try='test -z "$ac_c_werror_flag"
10926 || test ! -s conftest.err'
10927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10928 (eval $ac_try) 2>&5
10929 ac_status=$?
10930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10931 (exit $ac_status); }; } &&
10932 { ac_try='test -s conftest$ac_exeext'
10933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10934 (eval $ac_try) 2>&5
10935 ac_status=$?
10936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10937 (exit $ac_status); }; }; then
10938 eval "$as_ac_var=yes"
10939 else
10940 echo "$as_me: failed program was:" >&5
10941 sed 's/^/| /' conftest.$ac_ext >&5
10943 eval "$as_ac_var=no"
10945 rm -f conftest.err conftest.$ac_objext \
10946 conftest$ac_exeext conftest.$ac_ext
10948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10950 if test `eval echo '${'$as_ac_var'}'` = yes; then
10951 cat >>confdefs.h <<_ACEOF
10952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10953 _ACEOF
10956 done
10958 else
10960 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10961 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10962 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10963 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10964 echo $ECHO_N "(cached) $ECHO_C" >&6
10965 else
10969 ac_ext=cc
10970 ac_cpp='$CXXCPP $CPPFLAGS'
10971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10975 cat >conftest.$ac_ext <<_ACEOF
10976 /* confdefs.h. */
10977 _ACEOF
10978 cat confdefs.h >>conftest.$ac_ext
10979 cat >>conftest.$ac_ext <<_ACEOF
10980 /* end confdefs.h. */
10981 #include <math.h>
10982 #ifdef HAVE_IEEEFP_H
10983 #include <ieeefp.h>
10984 #endif
10987 main ()
10989 _qfpclass(0);
10991 return 0;
10993 _ACEOF
10994 rm -f conftest.$ac_objext
10995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10996 (eval $ac_compile) 2>conftest.er1
10997 ac_status=$?
10998 grep -v '^ *+' conftest.er1 >conftest.err
10999 rm -f conftest.er1
11000 cat conftest.err >&5
11001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11002 (exit $ac_status); } &&
11003 { ac_try='test -z "$ac_cxx_werror_flag"
11004 || test ! -s conftest.err'
11005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11006 (eval $ac_try) 2>&5
11007 ac_status=$?
11008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11009 (exit $ac_status); }; } &&
11010 { ac_try='test -s conftest.$ac_objext'
11011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11012 (eval $ac_try) 2>&5
11013 ac_status=$?
11014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11015 (exit $ac_status); }; }; then
11016 glibcxx_cv_func__qfpclass_use=yes
11017 else
11018 echo "$as_me: failed program was:" >&5
11019 sed 's/^/| /' conftest.$ac_ext >&5
11021 glibcxx_cv_func__qfpclass_use=no
11023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11024 ac_ext=c
11025 ac_cpp='$CPP $CPPFLAGS'
11026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11034 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
11035 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
11037 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
11039 for ac_func in _qfpclass
11041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11042 echo "$as_me:$LINENO: checking for $ac_func" >&5
11043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11044 if eval "test \"\${$as_ac_var+set}\" = set"; then
11045 echo $ECHO_N "(cached) $ECHO_C" >&6
11046 else
11047 if test x$gcc_no_link = xyes; then
11048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11050 { (exit 1); exit 1; }; }
11052 cat >conftest.$ac_ext <<_ACEOF
11053 /* confdefs.h. */
11054 _ACEOF
11055 cat confdefs.h >>conftest.$ac_ext
11056 cat >>conftest.$ac_ext <<_ACEOF
11057 /* end confdefs.h. */
11058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11060 #define $ac_func innocuous_$ac_func
11062 /* System header to define __stub macros and hopefully few prototypes,
11063 which can conflict with char $ac_func (); below.
11064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11065 <limits.h> exists even on freestanding compilers. */
11067 #ifdef __STDC__
11068 # include <limits.h>
11069 #else
11070 # include <assert.h>
11071 #endif
11073 #undef $ac_func
11075 /* Override any gcc2 internal prototype to avoid an error. */
11076 #ifdef __cplusplus
11077 extern "C"
11079 #endif
11080 /* We use char because int might match the return type of a gcc2
11081 builtin and then its argument prototype would still apply. */
11082 char $ac_func ();
11083 /* The GNU C library defines this for functions which it implements
11084 to always fail with ENOSYS. Some functions are actually named
11085 something starting with __ and the normal name is an alias. */
11086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11087 choke me
11088 #else
11089 char (*f) () = $ac_func;
11090 #endif
11091 #ifdef __cplusplus
11093 #endif
11096 main ()
11098 return f != $ac_func;
11100 return 0;
11102 _ACEOF
11103 rm -f conftest.$ac_objext conftest$ac_exeext
11104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11105 (eval $ac_link) 2>conftest.er1
11106 ac_status=$?
11107 grep -v '^ *+' conftest.er1 >conftest.err
11108 rm -f conftest.er1
11109 cat conftest.err >&5
11110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11111 (exit $ac_status); } &&
11112 { ac_try='test -z "$ac_c_werror_flag"
11113 || test ! -s conftest.err'
11114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11115 (eval $ac_try) 2>&5
11116 ac_status=$?
11117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11118 (exit $ac_status); }; } &&
11119 { ac_try='test -s conftest$ac_exeext'
11120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11121 (eval $ac_try) 2>&5
11122 ac_status=$?
11123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11124 (exit $ac_status); }; }; then
11125 eval "$as_ac_var=yes"
11126 else
11127 echo "$as_me: failed program was:" >&5
11128 sed 's/^/| /' conftest.$ac_ext >&5
11130 eval "$as_ac_var=no"
11132 rm -f conftest.err conftest.$ac_objext \
11133 conftest$ac_exeext conftest.$ac_ext
11135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11137 if test `eval echo '${'$as_ac_var'}'` = yes; then
11138 cat >>confdefs.h <<_ACEOF
11139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11140 _ACEOF
11143 done
11150 echo "$as_me:$LINENO: checking for hypot declaration" >&5
11151 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11152 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11153 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11154 echo $ECHO_N "(cached) $ECHO_C" >&6
11155 else
11159 ac_ext=cc
11160 ac_cpp='$CXXCPP $CPPFLAGS'
11161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11165 cat >conftest.$ac_ext <<_ACEOF
11166 /* confdefs.h. */
11167 _ACEOF
11168 cat confdefs.h >>conftest.$ac_ext
11169 cat >>conftest.$ac_ext <<_ACEOF
11170 /* end confdefs.h. */
11171 #include <math.h>
11173 main ()
11175 hypot(0, 0);
11177 return 0;
11179 _ACEOF
11180 rm -f conftest.$ac_objext
11181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11182 (eval $ac_compile) 2>conftest.er1
11183 ac_status=$?
11184 grep -v '^ *+' conftest.er1 >conftest.err
11185 rm -f conftest.er1
11186 cat conftest.err >&5
11187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11188 (exit $ac_status); } &&
11189 { ac_try='test -z "$ac_cxx_werror_flag"
11190 || test ! -s conftest.err'
11191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11192 (eval $ac_try) 2>&5
11193 ac_status=$?
11194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11195 (exit $ac_status); }; } &&
11196 { ac_try='test -s conftest.$ac_objext'
11197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11198 (eval $ac_try) 2>&5
11199 ac_status=$?
11200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11201 (exit $ac_status); }; }; then
11202 glibcxx_cv_func_hypot_use=yes
11203 else
11204 echo "$as_me: failed program was:" >&5
11205 sed 's/^/| /' conftest.$ac_ext >&5
11207 glibcxx_cv_func_hypot_use=no
11209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11210 ac_ext=c
11211 ac_cpp='$CPP $CPPFLAGS'
11212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11220 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11221 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11223 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11225 for ac_func in hypot
11227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11228 echo "$as_me:$LINENO: checking for $ac_func" >&5
11229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11230 if eval "test \"\${$as_ac_var+set}\" = set"; then
11231 echo $ECHO_N "(cached) $ECHO_C" >&6
11232 else
11233 if test x$gcc_no_link = xyes; then
11234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11236 { (exit 1); exit 1; }; }
11238 cat >conftest.$ac_ext <<_ACEOF
11239 /* confdefs.h. */
11240 _ACEOF
11241 cat confdefs.h >>conftest.$ac_ext
11242 cat >>conftest.$ac_ext <<_ACEOF
11243 /* end confdefs.h. */
11244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11246 #define $ac_func innocuous_$ac_func
11248 /* System header to define __stub macros and hopefully few prototypes,
11249 which can conflict with char $ac_func (); below.
11250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11251 <limits.h> exists even on freestanding compilers. */
11253 #ifdef __STDC__
11254 # include <limits.h>
11255 #else
11256 # include <assert.h>
11257 #endif
11259 #undef $ac_func
11261 /* Override any gcc2 internal prototype to avoid an error. */
11262 #ifdef __cplusplus
11263 extern "C"
11265 #endif
11266 /* We use char because int might match the return type of a gcc2
11267 builtin and then its argument prototype would still apply. */
11268 char $ac_func ();
11269 /* The GNU C library defines this for functions which it implements
11270 to always fail with ENOSYS. Some functions are actually named
11271 something starting with __ and the normal name is an alias. */
11272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11273 choke me
11274 #else
11275 char (*f) () = $ac_func;
11276 #endif
11277 #ifdef __cplusplus
11279 #endif
11282 main ()
11284 return f != $ac_func;
11286 return 0;
11288 _ACEOF
11289 rm -f conftest.$ac_objext conftest$ac_exeext
11290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11291 (eval $ac_link) 2>conftest.er1
11292 ac_status=$?
11293 grep -v '^ *+' conftest.er1 >conftest.err
11294 rm -f conftest.er1
11295 cat conftest.err >&5
11296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11297 (exit $ac_status); } &&
11298 { ac_try='test -z "$ac_c_werror_flag"
11299 || test ! -s conftest.err'
11300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11301 (eval $ac_try) 2>&5
11302 ac_status=$?
11303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11304 (exit $ac_status); }; } &&
11305 { ac_try='test -s conftest$ac_exeext'
11306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11307 (eval $ac_try) 2>&5
11308 ac_status=$?
11309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11310 (exit $ac_status); }; }; then
11311 eval "$as_ac_var=yes"
11312 else
11313 echo "$as_me: failed program was:" >&5
11314 sed 's/^/| /' conftest.$ac_ext >&5
11316 eval "$as_ac_var=no"
11318 rm -f conftest.err conftest.$ac_objext \
11319 conftest$ac_exeext conftest.$ac_ext
11321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11323 if test `eval echo '${'$as_ac_var'}'` = yes; then
11324 cat >>confdefs.h <<_ACEOF
11325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11326 _ACEOF
11329 done
11331 else
11333 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11334 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11335 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11336 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11337 echo $ECHO_N "(cached) $ECHO_C" >&6
11338 else
11342 ac_ext=cc
11343 ac_cpp='$CXXCPP $CPPFLAGS'
11344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11348 cat >conftest.$ac_ext <<_ACEOF
11349 /* confdefs.h. */
11350 _ACEOF
11351 cat confdefs.h >>conftest.$ac_ext
11352 cat >>conftest.$ac_ext <<_ACEOF
11353 /* end confdefs.h. */
11354 #include <math.h>
11356 main ()
11358 _hypot(0, 0);
11360 return 0;
11362 _ACEOF
11363 rm -f conftest.$ac_objext
11364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11365 (eval $ac_compile) 2>conftest.er1
11366 ac_status=$?
11367 grep -v '^ *+' conftest.er1 >conftest.err
11368 rm -f conftest.er1
11369 cat conftest.err >&5
11370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11371 (exit $ac_status); } &&
11372 { ac_try='test -z "$ac_cxx_werror_flag"
11373 || test ! -s conftest.err'
11374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11375 (eval $ac_try) 2>&5
11376 ac_status=$?
11377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11378 (exit $ac_status); }; } &&
11379 { ac_try='test -s conftest.$ac_objext'
11380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11381 (eval $ac_try) 2>&5
11382 ac_status=$?
11383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11384 (exit $ac_status); }; }; then
11385 glibcxx_cv_func__hypot_use=yes
11386 else
11387 echo "$as_me: failed program was:" >&5
11388 sed 's/^/| /' conftest.$ac_ext >&5
11390 glibcxx_cv_func__hypot_use=no
11392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11393 ac_ext=c
11394 ac_cpp='$CPP $CPPFLAGS'
11395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11403 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11404 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11406 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11408 for ac_func in _hypot
11410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11411 echo "$as_me:$LINENO: checking for $ac_func" >&5
11412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11413 if eval "test \"\${$as_ac_var+set}\" = set"; then
11414 echo $ECHO_N "(cached) $ECHO_C" >&6
11415 else
11416 if test x$gcc_no_link = xyes; then
11417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11419 { (exit 1); exit 1; }; }
11421 cat >conftest.$ac_ext <<_ACEOF
11422 /* confdefs.h. */
11423 _ACEOF
11424 cat confdefs.h >>conftest.$ac_ext
11425 cat >>conftest.$ac_ext <<_ACEOF
11426 /* end confdefs.h. */
11427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11429 #define $ac_func innocuous_$ac_func
11431 /* System header to define __stub macros and hopefully few prototypes,
11432 which can conflict with char $ac_func (); below.
11433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11434 <limits.h> exists even on freestanding compilers. */
11436 #ifdef __STDC__
11437 # include <limits.h>
11438 #else
11439 # include <assert.h>
11440 #endif
11442 #undef $ac_func
11444 /* Override any gcc2 internal prototype to avoid an error. */
11445 #ifdef __cplusplus
11446 extern "C"
11448 #endif
11449 /* We use char because int might match the return type of a gcc2
11450 builtin and then its argument prototype would still apply. */
11451 char $ac_func ();
11452 /* The GNU C library defines this for functions which it implements
11453 to always fail with ENOSYS. Some functions are actually named
11454 something starting with __ and the normal name is an alias. */
11455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11456 choke me
11457 #else
11458 char (*f) () = $ac_func;
11459 #endif
11460 #ifdef __cplusplus
11462 #endif
11465 main ()
11467 return f != $ac_func;
11469 return 0;
11471 _ACEOF
11472 rm -f conftest.$ac_objext conftest$ac_exeext
11473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11474 (eval $ac_link) 2>conftest.er1
11475 ac_status=$?
11476 grep -v '^ *+' conftest.er1 >conftest.err
11477 rm -f conftest.er1
11478 cat conftest.err >&5
11479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11480 (exit $ac_status); } &&
11481 { ac_try='test -z "$ac_c_werror_flag"
11482 || test ! -s conftest.err'
11483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11484 (eval $ac_try) 2>&5
11485 ac_status=$?
11486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11487 (exit $ac_status); }; } &&
11488 { ac_try='test -s conftest$ac_exeext'
11489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11490 (eval $ac_try) 2>&5
11491 ac_status=$?
11492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11493 (exit $ac_status); }; }; then
11494 eval "$as_ac_var=yes"
11495 else
11496 echo "$as_me: failed program was:" >&5
11497 sed 's/^/| /' conftest.$ac_ext >&5
11499 eval "$as_ac_var=no"
11501 rm -f conftest.err conftest.$ac_objext \
11502 conftest$ac_exeext conftest.$ac_ext
11504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11506 if test `eval echo '${'$as_ac_var'}'` = yes; then
11507 cat >>confdefs.h <<_ACEOF
11508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11509 _ACEOF
11512 done
11519 echo "$as_me:$LINENO: checking for float trig functions" >&5
11520 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11521 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11522 echo $ECHO_N "(cached) $ECHO_C" >&6
11523 else
11527 ac_ext=cc
11528 ac_cpp='$CXXCPP $CPPFLAGS'
11529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11533 cat >conftest.$ac_ext <<_ACEOF
11534 /* confdefs.h. */
11535 _ACEOF
11536 cat confdefs.h >>conftest.$ac_ext
11537 cat >>conftest.$ac_ext <<_ACEOF
11538 /* end confdefs.h. */
11539 #include <math.h>
11541 main ()
11543 `for x in acosf asinf atanf \
11544 cosf sinf tanf \
11545 coshf sinhf tanhf; do echo "$x (0);"; done`
11547 return 0;
11549 _ACEOF
11550 rm -f conftest.$ac_objext
11551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11552 (eval $ac_compile) 2>conftest.er1
11553 ac_status=$?
11554 grep -v '^ *+' conftest.er1 >conftest.err
11555 rm -f conftest.er1
11556 cat conftest.err >&5
11557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11558 (exit $ac_status); } &&
11559 { ac_try='test -z "$ac_cxx_werror_flag"
11560 || test ! -s conftest.err'
11561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11562 (eval $ac_try) 2>&5
11563 ac_status=$?
11564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11565 (exit $ac_status); }; } &&
11566 { ac_try='test -s conftest.$ac_objext'
11567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11568 (eval $ac_try) 2>&5
11569 ac_status=$?
11570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571 (exit $ac_status); }; }; then
11572 glibcxx_cv_func_float_trig_use=yes
11573 else
11574 echo "$as_me: failed program was:" >&5
11575 sed 's/^/| /' conftest.$ac_ext >&5
11577 glibcxx_cv_func_float_trig_use=no
11579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11580 ac_ext=c
11581 ac_cpp='$CPP $CPPFLAGS'
11582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11588 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11589 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11590 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11600 for ac_func in acosf asinf atanf \
11601 cosf sinf tanf \
11602 coshf sinhf tanhf
11604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11605 echo "$as_me:$LINENO: checking for $ac_func" >&5
11606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11607 if eval "test \"\${$as_ac_var+set}\" = set"; then
11608 echo $ECHO_N "(cached) $ECHO_C" >&6
11609 else
11610 if test x$gcc_no_link = xyes; then
11611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11613 { (exit 1); exit 1; }; }
11615 cat >conftest.$ac_ext <<_ACEOF
11616 /* confdefs.h. */
11617 _ACEOF
11618 cat confdefs.h >>conftest.$ac_ext
11619 cat >>conftest.$ac_ext <<_ACEOF
11620 /* end confdefs.h. */
11621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11623 #define $ac_func innocuous_$ac_func
11625 /* System header to define __stub macros and hopefully few prototypes,
11626 which can conflict with char $ac_func (); below.
11627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11628 <limits.h> exists even on freestanding compilers. */
11630 #ifdef __STDC__
11631 # include <limits.h>
11632 #else
11633 # include <assert.h>
11634 #endif
11636 #undef $ac_func
11638 /* Override any gcc2 internal prototype to avoid an error. */
11639 #ifdef __cplusplus
11640 extern "C"
11642 #endif
11643 /* We use char because int might match the return type of a gcc2
11644 builtin and then its argument prototype would still apply. */
11645 char $ac_func ();
11646 /* The GNU C library defines this for functions which it implements
11647 to always fail with ENOSYS. Some functions are actually named
11648 something starting with __ and the normal name is an alias. */
11649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11650 choke me
11651 #else
11652 char (*f) () = $ac_func;
11653 #endif
11654 #ifdef __cplusplus
11656 #endif
11659 main ()
11661 return f != $ac_func;
11663 return 0;
11665 _ACEOF
11666 rm -f conftest.$ac_objext conftest$ac_exeext
11667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11668 (eval $ac_link) 2>conftest.er1
11669 ac_status=$?
11670 grep -v '^ *+' conftest.er1 >conftest.err
11671 rm -f conftest.er1
11672 cat conftest.err >&5
11673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11674 (exit $ac_status); } &&
11675 { ac_try='test -z "$ac_c_werror_flag"
11676 || test ! -s conftest.err'
11677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11678 (eval $ac_try) 2>&5
11679 ac_status=$?
11680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11681 (exit $ac_status); }; } &&
11682 { ac_try='test -s conftest$ac_exeext'
11683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11684 (eval $ac_try) 2>&5
11685 ac_status=$?
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); }; }; then
11688 eval "$as_ac_var=yes"
11689 else
11690 echo "$as_me: failed program was:" >&5
11691 sed 's/^/| /' conftest.$ac_ext >&5
11693 eval "$as_ac_var=no"
11695 rm -f conftest.err conftest.$ac_objext \
11696 conftest$ac_exeext conftest.$ac_ext
11698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11700 if test `eval echo '${'$as_ac_var'}'` = yes; then
11701 cat >>confdefs.h <<_ACEOF
11702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11703 _ACEOF
11706 done
11711 echo "$as_me:$LINENO: checking for float round functions" >&5
11712 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11713 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11714 echo $ECHO_N "(cached) $ECHO_C" >&6
11715 else
11719 ac_ext=cc
11720 ac_cpp='$CXXCPP $CPPFLAGS'
11721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11725 cat >conftest.$ac_ext <<_ACEOF
11726 /* confdefs.h. */
11727 _ACEOF
11728 cat confdefs.h >>conftest.$ac_ext
11729 cat >>conftest.$ac_ext <<_ACEOF
11730 /* end confdefs.h. */
11731 #include <math.h>
11733 main ()
11735 `for x in ceilf floorf; do echo "$x (0);"; done`
11737 return 0;
11739 _ACEOF
11740 rm -f conftest.$ac_objext
11741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11742 (eval $ac_compile) 2>conftest.er1
11743 ac_status=$?
11744 grep -v '^ *+' conftest.er1 >conftest.err
11745 rm -f conftest.er1
11746 cat conftest.err >&5
11747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11748 (exit $ac_status); } &&
11749 { ac_try='test -z "$ac_cxx_werror_flag"
11750 || test ! -s conftest.err'
11751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11752 (eval $ac_try) 2>&5
11753 ac_status=$?
11754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11755 (exit $ac_status); }; } &&
11756 { ac_try='test -s conftest.$ac_objext'
11757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11758 (eval $ac_try) 2>&5
11759 ac_status=$?
11760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11761 (exit $ac_status); }; }; then
11762 glibcxx_cv_func_float_round_use=yes
11763 else
11764 echo "$as_me: failed program was:" >&5
11765 sed 's/^/| /' conftest.$ac_ext >&5
11767 glibcxx_cv_func_float_round_use=no
11769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11770 ac_ext=c
11771 ac_cpp='$CPP $CPPFLAGS'
11772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11778 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11779 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11780 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11783 for ac_func in ceilf floorf
11785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11786 echo "$as_me:$LINENO: checking for $ac_func" >&5
11787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11788 if eval "test \"\${$as_ac_var+set}\" = set"; then
11789 echo $ECHO_N "(cached) $ECHO_C" >&6
11790 else
11791 if test x$gcc_no_link = xyes; then
11792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11794 { (exit 1); exit 1; }; }
11796 cat >conftest.$ac_ext <<_ACEOF
11797 /* confdefs.h. */
11798 _ACEOF
11799 cat confdefs.h >>conftest.$ac_ext
11800 cat >>conftest.$ac_ext <<_ACEOF
11801 /* end confdefs.h. */
11802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11804 #define $ac_func innocuous_$ac_func
11806 /* System header to define __stub macros and hopefully few prototypes,
11807 which can conflict with char $ac_func (); below.
11808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11809 <limits.h> exists even on freestanding compilers. */
11811 #ifdef __STDC__
11812 # include <limits.h>
11813 #else
11814 # include <assert.h>
11815 #endif
11817 #undef $ac_func
11819 /* Override any gcc2 internal prototype to avoid an error. */
11820 #ifdef __cplusplus
11821 extern "C"
11823 #endif
11824 /* We use char because int might match the return type of a gcc2
11825 builtin and then its argument prototype would still apply. */
11826 char $ac_func ();
11827 /* The GNU C library defines this for functions which it implements
11828 to always fail with ENOSYS. Some functions are actually named
11829 something starting with __ and the normal name is an alias. */
11830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11831 choke me
11832 #else
11833 char (*f) () = $ac_func;
11834 #endif
11835 #ifdef __cplusplus
11837 #endif
11840 main ()
11842 return f != $ac_func;
11844 return 0;
11846 _ACEOF
11847 rm -f conftest.$ac_objext conftest$ac_exeext
11848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11849 (eval $ac_link) 2>conftest.er1
11850 ac_status=$?
11851 grep -v '^ *+' conftest.er1 >conftest.err
11852 rm -f conftest.er1
11853 cat conftest.err >&5
11854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11855 (exit $ac_status); } &&
11856 { ac_try='test -z "$ac_c_werror_flag"
11857 || test ! -s conftest.err'
11858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11859 (eval $ac_try) 2>&5
11860 ac_status=$?
11861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11862 (exit $ac_status); }; } &&
11863 { ac_try='test -s conftest$ac_exeext'
11864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11865 (eval $ac_try) 2>&5
11866 ac_status=$?
11867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11868 (exit $ac_status); }; }; then
11869 eval "$as_ac_var=yes"
11870 else
11871 echo "$as_me: failed program was:" >&5
11872 sed 's/^/| /' conftest.$ac_ext >&5
11874 eval "$as_ac_var=no"
11876 rm -f conftest.err conftest.$ac_objext \
11877 conftest$ac_exeext conftest.$ac_ext
11879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11881 if test `eval echo '${'$as_ac_var'}'` = yes; then
11882 cat >>confdefs.h <<_ACEOF
11883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11884 _ACEOF
11887 done
11893 echo "$as_me:$LINENO: checking for expf declaration" >&5
11894 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
11895 if test x${glibcxx_cv_func_expf_use+set} != xset; then
11896 if test "${glibcxx_cv_func_expf_use+set}" = set; then
11897 echo $ECHO_N "(cached) $ECHO_C" >&6
11898 else
11902 ac_ext=cc
11903 ac_cpp='$CXXCPP $CPPFLAGS'
11904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11908 cat >conftest.$ac_ext <<_ACEOF
11909 /* confdefs.h. */
11910 _ACEOF
11911 cat confdefs.h >>conftest.$ac_ext
11912 cat >>conftest.$ac_ext <<_ACEOF
11913 /* end confdefs.h. */
11914 #include <math.h>
11915 #ifdef HAVE_IEEEFP_H
11916 #include <ieeefp.h>
11917 #endif
11920 main ()
11922 expf(0);
11924 return 0;
11926 _ACEOF
11927 rm -f conftest.$ac_objext
11928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11929 (eval $ac_compile) 2>conftest.er1
11930 ac_status=$?
11931 grep -v '^ *+' conftest.er1 >conftest.err
11932 rm -f conftest.er1
11933 cat conftest.err >&5
11934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11935 (exit $ac_status); } &&
11936 { ac_try='test -z "$ac_cxx_werror_flag"
11937 || test ! -s conftest.err'
11938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11939 (eval $ac_try) 2>&5
11940 ac_status=$?
11941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11942 (exit $ac_status); }; } &&
11943 { ac_try='test -s conftest.$ac_objext'
11944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11945 (eval $ac_try) 2>&5
11946 ac_status=$?
11947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11948 (exit $ac_status); }; }; then
11949 glibcxx_cv_func_expf_use=yes
11950 else
11951 echo "$as_me: failed program was:" >&5
11952 sed 's/^/| /' conftest.$ac_ext >&5
11954 glibcxx_cv_func_expf_use=no
11956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11957 ac_ext=c
11958 ac_cpp='$CPP $CPPFLAGS'
11959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11967 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
11968 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
11970 if test x$glibcxx_cv_func_expf_use = x"yes"; then
11972 for ac_func in expf
11974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11975 echo "$as_me:$LINENO: checking for $ac_func" >&5
11976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11977 if eval "test \"\${$as_ac_var+set}\" = set"; then
11978 echo $ECHO_N "(cached) $ECHO_C" >&6
11979 else
11980 if test x$gcc_no_link = xyes; then
11981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11983 { (exit 1); exit 1; }; }
11985 cat >conftest.$ac_ext <<_ACEOF
11986 /* confdefs.h. */
11987 _ACEOF
11988 cat confdefs.h >>conftest.$ac_ext
11989 cat >>conftest.$ac_ext <<_ACEOF
11990 /* end confdefs.h. */
11991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11993 #define $ac_func innocuous_$ac_func
11995 /* System header to define __stub macros and hopefully few prototypes,
11996 which can conflict with char $ac_func (); below.
11997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11998 <limits.h> exists even on freestanding compilers. */
12000 #ifdef __STDC__
12001 # include <limits.h>
12002 #else
12003 # include <assert.h>
12004 #endif
12006 #undef $ac_func
12008 /* Override any gcc2 internal prototype to avoid an error. */
12009 #ifdef __cplusplus
12010 extern "C"
12012 #endif
12013 /* We use char because int might match the return type of a gcc2
12014 builtin and then its argument prototype would still apply. */
12015 char $ac_func ();
12016 /* The GNU C library defines this for functions which it implements
12017 to always fail with ENOSYS. Some functions are actually named
12018 something starting with __ and the normal name is an alias. */
12019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12020 choke me
12021 #else
12022 char (*f) () = $ac_func;
12023 #endif
12024 #ifdef __cplusplus
12026 #endif
12029 main ()
12031 return f != $ac_func;
12033 return 0;
12035 _ACEOF
12036 rm -f conftest.$ac_objext conftest$ac_exeext
12037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12038 (eval $ac_link) 2>conftest.er1
12039 ac_status=$?
12040 grep -v '^ *+' conftest.er1 >conftest.err
12041 rm -f conftest.er1
12042 cat conftest.err >&5
12043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12044 (exit $ac_status); } &&
12045 { ac_try='test -z "$ac_c_werror_flag"
12046 || test ! -s conftest.err'
12047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12048 (eval $ac_try) 2>&5
12049 ac_status=$?
12050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12051 (exit $ac_status); }; } &&
12052 { ac_try='test -s conftest$ac_exeext'
12053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12054 (eval $ac_try) 2>&5
12055 ac_status=$?
12056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12057 (exit $ac_status); }; }; then
12058 eval "$as_ac_var=yes"
12059 else
12060 echo "$as_me: failed program was:" >&5
12061 sed 's/^/| /' conftest.$ac_ext >&5
12063 eval "$as_ac_var=no"
12065 rm -f conftest.err conftest.$ac_objext \
12066 conftest$ac_exeext conftest.$ac_ext
12068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12070 if test `eval echo '${'$as_ac_var'}'` = yes; then
12071 cat >>confdefs.h <<_ACEOF
12072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12073 _ACEOF
12076 done
12078 else
12080 echo "$as_me:$LINENO: checking for _expf declaration" >&5
12081 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12082 if test x${glibcxx_cv_func__expf_use+set} != xset; then
12083 if test "${glibcxx_cv_func__expf_use+set}" = set; then
12084 echo $ECHO_N "(cached) $ECHO_C" >&6
12085 else
12089 ac_ext=cc
12090 ac_cpp='$CXXCPP $CPPFLAGS'
12091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12095 cat >conftest.$ac_ext <<_ACEOF
12096 /* confdefs.h. */
12097 _ACEOF
12098 cat confdefs.h >>conftest.$ac_ext
12099 cat >>conftest.$ac_ext <<_ACEOF
12100 /* end confdefs.h. */
12101 #include <math.h>
12102 #ifdef HAVE_IEEEFP_H
12103 #include <ieeefp.h>
12104 #endif
12107 main ()
12109 _expf(0);
12111 return 0;
12113 _ACEOF
12114 rm -f conftest.$ac_objext
12115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12116 (eval $ac_compile) 2>conftest.er1
12117 ac_status=$?
12118 grep -v '^ *+' conftest.er1 >conftest.err
12119 rm -f conftest.er1
12120 cat conftest.err >&5
12121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12122 (exit $ac_status); } &&
12123 { ac_try='test -z "$ac_cxx_werror_flag"
12124 || test ! -s conftest.err'
12125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12126 (eval $ac_try) 2>&5
12127 ac_status=$?
12128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12129 (exit $ac_status); }; } &&
12130 { ac_try='test -s conftest.$ac_objext'
12131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12132 (eval $ac_try) 2>&5
12133 ac_status=$?
12134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12135 (exit $ac_status); }; }; then
12136 glibcxx_cv_func__expf_use=yes
12137 else
12138 echo "$as_me: failed program was:" >&5
12139 sed 's/^/| /' conftest.$ac_ext >&5
12141 glibcxx_cv_func__expf_use=no
12143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12144 ac_ext=c
12145 ac_cpp='$CPP $CPPFLAGS'
12146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12154 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12155 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12157 if test x$glibcxx_cv_func__expf_use = x"yes"; then
12159 for ac_func in _expf
12161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12162 echo "$as_me:$LINENO: checking for $ac_func" >&5
12163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12164 if eval "test \"\${$as_ac_var+set}\" = set"; then
12165 echo $ECHO_N "(cached) $ECHO_C" >&6
12166 else
12167 if test x$gcc_no_link = xyes; then
12168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12170 { (exit 1); exit 1; }; }
12172 cat >conftest.$ac_ext <<_ACEOF
12173 /* confdefs.h. */
12174 _ACEOF
12175 cat confdefs.h >>conftest.$ac_ext
12176 cat >>conftest.$ac_ext <<_ACEOF
12177 /* end confdefs.h. */
12178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12180 #define $ac_func innocuous_$ac_func
12182 /* System header to define __stub macros and hopefully few prototypes,
12183 which can conflict with char $ac_func (); below.
12184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12185 <limits.h> exists even on freestanding compilers. */
12187 #ifdef __STDC__
12188 # include <limits.h>
12189 #else
12190 # include <assert.h>
12191 #endif
12193 #undef $ac_func
12195 /* Override any gcc2 internal prototype to avoid an error. */
12196 #ifdef __cplusplus
12197 extern "C"
12199 #endif
12200 /* We use char because int might match the return type of a gcc2
12201 builtin and then its argument prototype would still apply. */
12202 char $ac_func ();
12203 /* The GNU C library defines this for functions which it implements
12204 to always fail with ENOSYS. Some functions are actually named
12205 something starting with __ and the normal name is an alias. */
12206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12207 choke me
12208 #else
12209 char (*f) () = $ac_func;
12210 #endif
12211 #ifdef __cplusplus
12213 #endif
12216 main ()
12218 return f != $ac_func;
12220 return 0;
12222 _ACEOF
12223 rm -f conftest.$ac_objext conftest$ac_exeext
12224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12225 (eval $ac_link) 2>conftest.er1
12226 ac_status=$?
12227 grep -v '^ *+' conftest.er1 >conftest.err
12228 rm -f conftest.er1
12229 cat conftest.err >&5
12230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12231 (exit $ac_status); } &&
12232 { ac_try='test -z "$ac_c_werror_flag"
12233 || test ! -s conftest.err'
12234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12235 (eval $ac_try) 2>&5
12236 ac_status=$?
12237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12238 (exit $ac_status); }; } &&
12239 { ac_try='test -s conftest$ac_exeext'
12240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12241 (eval $ac_try) 2>&5
12242 ac_status=$?
12243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12244 (exit $ac_status); }; }; then
12245 eval "$as_ac_var=yes"
12246 else
12247 echo "$as_me: failed program was:" >&5
12248 sed 's/^/| /' conftest.$ac_ext >&5
12250 eval "$as_ac_var=no"
12252 rm -f conftest.err conftest.$ac_objext \
12253 conftest$ac_exeext conftest.$ac_ext
12255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12257 if test `eval echo '${'$as_ac_var'}'` = yes; then
12258 cat >>confdefs.h <<_ACEOF
12259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12260 _ACEOF
12263 done
12270 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12271 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12272 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12273 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12274 echo $ECHO_N "(cached) $ECHO_C" >&6
12275 else
12279 ac_ext=cc
12280 ac_cpp='$CXXCPP $CPPFLAGS'
12281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12285 cat >conftest.$ac_ext <<_ACEOF
12286 /* confdefs.h. */
12287 _ACEOF
12288 cat confdefs.h >>conftest.$ac_ext
12289 cat >>conftest.$ac_ext <<_ACEOF
12290 /* end confdefs.h. */
12291 #include <math.h>
12292 #ifdef HAVE_IEEEFP_H
12293 #include <ieeefp.h>
12294 #endif
12297 main ()
12299 isnanf(0);
12301 return 0;
12303 _ACEOF
12304 rm -f conftest.$ac_objext
12305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12306 (eval $ac_compile) 2>conftest.er1
12307 ac_status=$?
12308 grep -v '^ *+' conftest.er1 >conftest.err
12309 rm -f conftest.er1
12310 cat conftest.err >&5
12311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12312 (exit $ac_status); } &&
12313 { ac_try='test -z "$ac_cxx_werror_flag"
12314 || test ! -s conftest.err'
12315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12316 (eval $ac_try) 2>&5
12317 ac_status=$?
12318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12319 (exit $ac_status); }; } &&
12320 { ac_try='test -s conftest.$ac_objext'
12321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12322 (eval $ac_try) 2>&5
12323 ac_status=$?
12324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12325 (exit $ac_status); }; }; then
12326 glibcxx_cv_func_isnanf_use=yes
12327 else
12328 echo "$as_me: failed program was:" >&5
12329 sed 's/^/| /' conftest.$ac_ext >&5
12331 glibcxx_cv_func_isnanf_use=no
12333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12334 ac_ext=c
12335 ac_cpp='$CPP $CPPFLAGS'
12336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12344 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12345 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12347 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12349 for ac_func in isnanf
12351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12352 echo "$as_me:$LINENO: checking for $ac_func" >&5
12353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12354 if eval "test \"\${$as_ac_var+set}\" = set"; then
12355 echo $ECHO_N "(cached) $ECHO_C" >&6
12356 else
12357 if test x$gcc_no_link = xyes; then
12358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12360 { (exit 1); exit 1; }; }
12362 cat >conftest.$ac_ext <<_ACEOF
12363 /* confdefs.h. */
12364 _ACEOF
12365 cat confdefs.h >>conftest.$ac_ext
12366 cat >>conftest.$ac_ext <<_ACEOF
12367 /* end confdefs.h. */
12368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12370 #define $ac_func innocuous_$ac_func
12372 /* System header to define __stub macros and hopefully few prototypes,
12373 which can conflict with char $ac_func (); below.
12374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12375 <limits.h> exists even on freestanding compilers. */
12377 #ifdef __STDC__
12378 # include <limits.h>
12379 #else
12380 # include <assert.h>
12381 #endif
12383 #undef $ac_func
12385 /* Override any gcc2 internal prototype to avoid an error. */
12386 #ifdef __cplusplus
12387 extern "C"
12389 #endif
12390 /* We use char because int might match the return type of a gcc2
12391 builtin and then its argument prototype would still apply. */
12392 char $ac_func ();
12393 /* The GNU C library defines this for functions which it implements
12394 to always fail with ENOSYS. Some functions are actually named
12395 something starting with __ and the normal name is an alias. */
12396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12397 choke me
12398 #else
12399 char (*f) () = $ac_func;
12400 #endif
12401 #ifdef __cplusplus
12403 #endif
12406 main ()
12408 return f != $ac_func;
12410 return 0;
12412 _ACEOF
12413 rm -f conftest.$ac_objext conftest$ac_exeext
12414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12415 (eval $ac_link) 2>conftest.er1
12416 ac_status=$?
12417 grep -v '^ *+' conftest.er1 >conftest.err
12418 rm -f conftest.er1
12419 cat conftest.err >&5
12420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12421 (exit $ac_status); } &&
12422 { ac_try='test -z "$ac_c_werror_flag"
12423 || test ! -s conftest.err'
12424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12425 (eval $ac_try) 2>&5
12426 ac_status=$?
12427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12428 (exit $ac_status); }; } &&
12429 { ac_try='test -s conftest$ac_exeext'
12430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12431 (eval $ac_try) 2>&5
12432 ac_status=$?
12433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12434 (exit $ac_status); }; }; then
12435 eval "$as_ac_var=yes"
12436 else
12437 echo "$as_me: failed program was:" >&5
12438 sed 's/^/| /' conftest.$ac_ext >&5
12440 eval "$as_ac_var=no"
12442 rm -f conftest.err conftest.$ac_objext \
12443 conftest$ac_exeext conftest.$ac_ext
12445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12447 if test `eval echo '${'$as_ac_var'}'` = yes; then
12448 cat >>confdefs.h <<_ACEOF
12449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12450 _ACEOF
12453 done
12455 else
12457 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12458 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12459 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12460 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12461 echo $ECHO_N "(cached) $ECHO_C" >&6
12462 else
12466 ac_ext=cc
12467 ac_cpp='$CXXCPP $CPPFLAGS'
12468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12472 cat >conftest.$ac_ext <<_ACEOF
12473 /* confdefs.h. */
12474 _ACEOF
12475 cat confdefs.h >>conftest.$ac_ext
12476 cat >>conftest.$ac_ext <<_ACEOF
12477 /* end confdefs.h. */
12478 #include <math.h>
12479 #ifdef HAVE_IEEEFP_H
12480 #include <ieeefp.h>
12481 #endif
12484 main ()
12486 _isnanf(0);
12488 return 0;
12490 _ACEOF
12491 rm -f conftest.$ac_objext
12492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12493 (eval $ac_compile) 2>conftest.er1
12494 ac_status=$?
12495 grep -v '^ *+' conftest.er1 >conftest.err
12496 rm -f conftest.er1
12497 cat conftest.err >&5
12498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12499 (exit $ac_status); } &&
12500 { ac_try='test -z "$ac_cxx_werror_flag"
12501 || test ! -s conftest.err'
12502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12503 (eval $ac_try) 2>&5
12504 ac_status=$?
12505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12506 (exit $ac_status); }; } &&
12507 { ac_try='test -s conftest.$ac_objext'
12508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12509 (eval $ac_try) 2>&5
12510 ac_status=$?
12511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12512 (exit $ac_status); }; }; then
12513 glibcxx_cv_func__isnanf_use=yes
12514 else
12515 echo "$as_me: failed program was:" >&5
12516 sed 's/^/| /' conftest.$ac_ext >&5
12518 glibcxx_cv_func__isnanf_use=no
12520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12521 ac_ext=c
12522 ac_cpp='$CPP $CPPFLAGS'
12523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12531 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12532 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12534 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12536 for ac_func in _isnanf
12538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12539 echo "$as_me:$LINENO: checking for $ac_func" >&5
12540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12541 if eval "test \"\${$as_ac_var+set}\" = set"; then
12542 echo $ECHO_N "(cached) $ECHO_C" >&6
12543 else
12544 if test x$gcc_no_link = xyes; then
12545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12547 { (exit 1); exit 1; }; }
12549 cat >conftest.$ac_ext <<_ACEOF
12550 /* confdefs.h. */
12551 _ACEOF
12552 cat confdefs.h >>conftest.$ac_ext
12553 cat >>conftest.$ac_ext <<_ACEOF
12554 /* end confdefs.h. */
12555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12557 #define $ac_func innocuous_$ac_func
12559 /* System header to define __stub macros and hopefully few prototypes,
12560 which can conflict with char $ac_func (); below.
12561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12562 <limits.h> exists even on freestanding compilers. */
12564 #ifdef __STDC__
12565 # include <limits.h>
12566 #else
12567 # include <assert.h>
12568 #endif
12570 #undef $ac_func
12572 /* Override any gcc2 internal prototype to avoid an error. */
12573 #ifdef __cplusplus
12574 extern "C"
12576 #endif
12577 /* We use char because int might match the return type of a gcc2
12578 builtin and then its argument prototype would still apply. */
12579 char $ac_func ();
12580 /* The GNU C library defines this for functions which it implements
12581 to always fail with ENOSYS. Some functions are actually named
12582 something starting with __ and the normal name is an alias. */
12583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12584 choke me
12585 #else
12586 char (*f) () = $ac_func;
12587 #endif
12588 #ifdef __cplusplus
12590 #endif
12593 main ()
12595 return f != $ac_func;
12597 return 0;
12599 _ACEOF
12600 rm -f conftest.$ac_objext conftest$ac_exeext
12601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12602 (eval $ac_link) 2>conftest.er1
12603 ac_status=$?
12604 grep -v '^ *+' conftest.er1 >conftest.err
12605 rm -f conftest.er1
12606 cat conftest.err >&5
12607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608 (exit $ac_status); } &&
12609 { ac_try='test -z "$ac_c_werror_flag"
12610 || test ! -s conftest.err'
12611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12612 (eval $ac_try) 2>&5
12613 ac_status=$?
12614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12615 (exit $ac_status); }; } &&
12616 { ac_try='test -s conftest$ac_exeext'
12617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12618 (eval $ac_try) 2>&5
12619 ac_status=$?
12620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12621 (exit $ac_status); }; }; then
12622 eval "$as_ac_var=yes"
12623 else
12624 echo "$as_me: failed program was:" >&5
12625 sed 's/^/| /' conftest.$ac_ext >&5
12627 eval "$as_ac_var=no"
12629 rm -f conftest.err conftest.$ac_objext \
12630 conftest$ac_exeext conftest.$ac_ext
12632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12634 if test `eval echo '${'$as_ac_var'}'` = yes; then
12635 cat >>confdefs.h <<_ACEOF
12636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12637 _ACEOF
12640 done
12647 echo "$as_me:$LINENO: checking for isinff declaration" >&5
12648 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12649 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12650 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12651 echo $ECHO_N "(cached) $ECHO_C" >&6
12652 else
12656 ac_ext=cc
12657 ac_cpp='$CXXCPP $CPPFLAGS'
12658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12662 cat >conftest.$ac_ext <<_ACEOF
12663 /* confdefs.h. */
12664 _ACEOF
12665 cat confdefs.h >>conftest.$ac_ext
12666 cat >>conftest.$ac_ext <<_ACEOF
12667 /* end confdefs.h. */
12668 #include <math.h>
12669 #ifdef HAVE_IEEEFP_H
12670 #include <ieeefp.h>
12671 #endif
12674 main ()
12676 isinff(0);
12678 return 0;
12680 _ACEOF
12681 rm -f conftest.$ac_objext
12682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12683 (eval $ac_compile) 2>conftest.er1
12684 ac_status=$?
12685 grep -v '^ *+' conftest.er1 >conftest.err
12686 rm -f conftest.er1
12687 cat conftest.err >&5
12688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12689 (exit $ac_status); } &&
12690 { ac_try='test -z "$ac_cxx_werror_flag"
12691 || test ! -s conftest.err'
12692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12693 (eval $ac_try) 2>&5
12694 ac_status=$?
12695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12696 (exit $ac_status); }; } &&
12697 { ac_try='test -s conftest.$ac_objext'
12698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12699 (eval $ac_try) 2>&5
12700 ac_status=$?
12701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12702 (exit $ac_status); }; }; then
12703 glibcxx_cv_func_isinff_use=yes
12704 else
12705 echo "$as_me: failed program was:" >&5
12706 sed 's/^/| /' conftest.$ac_ext >&5
12708 glibcxx_cv_func_isinff_use=no
12710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12711 ac_ext=c
12712 ac_cpp='$CPP $CPPFLAGS'
12713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12721 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12722 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12724 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12726 for ac_func in isinff
12728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12729 echo "$as_me:$LINENO: checking for $ac_func" >&5
12730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12731 if eval "test \"\${$as_ac_var+set}\" = set"; then
12732 echo $ECHO_N "(cached) $ECHO_C" >&6
12733 else
12734 if test x$gcc_no_link = xyes; then
12735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12737 { (exit 1); exit 1; }; }
12739 cat >conftest.$ac_ext <<_ACEOF
12740 /* confdefs.h. */
12741 _ACEOF
12742 cat confdefs.h >>conftest.$ac_ext
12743 cat >>conftest.$ac_ext <<_ACEOF
12744 /* end confdefs.h. */
12745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12747 #define $ac_func innocuous_$ac_func
12749 /* System header to define __stub macros and hopefully few prototypes,
12750 which can conflict with char $ac_func (); below.
12751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12752 <limits.h> exists even on freestanding compilers. */
12754 #ifdef __STDC__
12755 # include <limits.h>
12756 #else
12757 # include <assert.h>
12758 #endif
12760 #undef $ac_func
12762 /* Override any gcc2 internal prototype to avoid an error. */
12763 #ifdef __cplusplus
12764 extern "C"
12766 #endif
12767 /* We use char because int might match the return type of a gcc2
12768 builtin and then its argument prototype would still apply. */
12769 char $ac_func ();
12770 /* The GNU C library defines this for functions which it implements
12771 to always fail with ENOSYS. Some functions are actually named
12772 something starting with __ and the normal name is an alias. */
12773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12774 choke me
12775 #else
12776 char (*f) () = $ac_func;
12777 #endif
12778 #ifdef __cplusplus
12780 #endif
12783 main ()
12785 return f != $ac_func;
12787 return 0;
12789 _ACEOF
12790 rm -f conftest.$ac_objext conftest$ac_exeext
12791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12792 (eval $ac_link) 2>conftest.er1
12793 ac_status=$?
12794 grep -v '^ *+' conftest.er1 >conftest.err
12795 rm -f conftest.er1
12796 cat conftest.err >&5
12797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12798 (exit $ac_status); } &&
12799 { ac_try='test -z "$ac_c_werror_flag"
12800 || test ! -s conftest.err'
12801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12802 (eval $ac_try) 2>&5
12803 ac_status=$?
12804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12805 (exit $ac_status); }; } &&
12806 { ac_try='test -s conftest$ac_exeext'
12807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12808 (eval $ac_try) 2>&5
12809 ac_status=$?
12810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12811 (exit $ac_status); }; }; then
12812 eval "$as_ac_var=yes"
12813 else
12814 echo "$as_me: failed program was:" >&5
12815 sed 's/^/| /' conftest.$ac_ext >&5
12817 eval "$as_ac_var=no"
12819 rm -f conftest.err conftest.$ac_objext \
12820 conftest$ac_exeext conftest.$ac_ext
12822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12824 if test `eval echo '${'$as_ac_var'}'` = yes; then
12825 cat >>confdefs.h <<_ACEOF
12826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12827 _ACEOF
12830 done
12832 else
12834 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
12835 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
12836 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
12837 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
12838 echo $ECHO_N "(cached) $ECHO_C" >&6
12839 else
12843 ac_ext=cc
12844 ac_cpp='$CXXCPP $CPPFLAGS'
12845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12849 cat >conftest.$ac_ext <<_ACEOF
12850 /* confdefs.h. */
12851 _ACEOF
12852 cat confdefs.h >>conftest.$ac_ext
12853 cat >>conftest.$ac_ext <<_ACEOF
12854 /* end confdefs.h. */
12855 #include <math.h>
12856 #ifdef HAVE_IEEEFP_H
12857 #include <ieeefp.h>
12858 #endif
12861 main ()
12863 _isinff(0);
12865 return 0;
12867 _ACEOF
12868 rm -f conftest.$ac_objext
12869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12870 (eval $ac_compile) 2>conftest.er1
12871 ac_status=$?
12872 grep -v '^ *+' conftest.er1 >conftest.err
12873 rm -f conftest.er1
12874 cat conftest.err >&5
12875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12876 (exit $ac_status); } &&
12877 { ac_try='test -z "$ac_cxx_werror_flag"
12878 || test ! -s conftest.err'
12879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12880 (eval $ac_try) 2>&5
12881 ac_status=$?
12882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12883 (exit $ac_status); }; } &&
12884 { ac_try='test -s conftest.$ac_objext'
12885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12886 (eval $ac_try) 2>&5
12887 ac_status=$?
12888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12889 (exit $ac_status); }; }; then
12890 glibcxx_cv_func__isinff_use=yes
12891 else
12892 echo "$as_me: failed program was:" >&5
12893 sed 's/^/| /' conftest.$ac_ext >&5
12895 glibcxx_cv_func__isinff_use=no
12897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12898 ac_ext=c
12899 ac_cpp='$CPP $CPPFLAGS'
12900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12908 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
12909 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
12911 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
12913 for ac_func in _isinff
12915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12916 echo "$as_me:$LINENO: checking for $ac_func" >&5
12917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12918 if eval "test \"\${$as_ac_var+set}\" = set"; then
12919 echo $ECHO_N "(cached) $ECHO_C" >&6
12920 else
12921 if test x$gcc_no_link = xyes; then
12922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12924 { (exit 1); exit 1; }; }
12926 cat >conftest.$ac_ext <<_ACEOF
12927 /* confdefs.h. */
12928 _ACEOF
12929 cat confdefs.h >>conftest.$ac_ext
12930 cat >>conftest.$ac_ext <<_ACEOF
12931 /* end confdefs.h. */
12932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12934 #define $ac_func innocuous_$ac_func
12936 /* System header to define __stub macros and hopefully few prototypes,
12937 which can conflict with char $ac_func (); below.
12938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12939 <limits.h> exists even on freestanding compilers. */
12941 #ifdef __STDC__
12942 # include <limits.h>
12943 #else
12944 # include <assert.h>
12945 #endif
12947 #undef $ac_func
12949 /* Override any gcc2 internal prototype to avoid an error. */
12950 #ifdef __cplusplus
12951 extern "C"
12953 #endif
12954 /* We use char because int might match the return type of a gcc2
12955 builtin and then its argument prototype would still apply. */
12956 char $ac_func ();
12957 /* The GNU C library defines this for functions which it implements
12958 to always fail with ENOSYS. Some functions are actually named
12959 something starting with __ and the normal name is an alias. */
12960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12961 choke me
12962 #else
12963 char (*f) () = $ac_func;
12964 #endif
12965 #ifdef __cplusplus
12967 #endif
12970 main ()
12972 return f != $ac_func;
12974 return 0;
12976 _ACEOF
12977 rm -f conftest.$ac_objext conftest$ac_exeext
12978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12979 (eval $ac_link) 2>conftest.er1
12980 ac_status=$?
12981 grep -v '^ *+' conftest.er1 >conftest.err
12982 rm -f conftest.er1
12983 cat conftest.err >&5
12984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12985 (exit $ac_status); } &&
12986 { ac_try='test -z "$ac_c_werror_flag"
12987 || test ! -s conftest.err'
12988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12989 (eval $ac_try) 2>&5
12990 ac_status=$?
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); }; } &&
12993 { ac_try='test -s conftest$ac_exeext'
12994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12995 (eval $ac_try) 2>&5
12996 ac_status=$?
12997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); }; }; then
12999 eval "$as_ac_var=yes"
13000 else
13001 echo "$as_me: failed program was:" >&5
13002 sed 's/^/| /' conftest.$ac_ext >&5
13004 eval "$as_ac_var=no"
13006 rm -f conftest.err conftest.$ac_objext \
13007 conftest$ac_exeext conftest.$ac_ext
13009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13011 if test `eval echo '${'$as_ac_var'}'` = yes; then
13012 cat >>confdefs.h <<_ACEOF
13013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13014 _ACEOF
13017 done
13024 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13025 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13026 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13027 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13028 echo $ECHO_N "(cached) $ECHO_C" >&6
13029 else
13033 ac_ext=cc
13034 ac_cpp='$CXXCPP $CPPFLAGS'
13035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13039 cat >conftest.$ac_ext <<_ACEOF
13040 /* confdefs.h. */
13041 _ACEOF
13042 cat confdefs.h >>conftest.$ac_ext
13043 cat >>conftest.$ac_ext <<_ACEOF
13044 /* end confdefs.h. */
13045 #include <math.h>
13047 main ()
13049 atan2f(0, 0);
13051 return 0;
13053 _ACEOF
13054 rm -f conftest.$ac_objext
13055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13056 (eval $ac_compile) 2>conftest.er1
13057 ac_status=$?
13058 grep -v '^ *+' conftest.er1 >conftest.err
13059 rm -f conftest.er1
13060 cat conftest.err >&5
13061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13062 (exit $ac_status); } &&
13063 { ac_try='test -z "$ac_cxx_werror_flag"
13064 || test ! -s conftest.err'
13065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13066 (eval $ac_try) 2>&5
13067 ac_status=$?
13068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13069 (exit $ac_status); }; } &&
13070 { ac_try='test -s conftest.$ac_objext'
13071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13072 (eval $ac_try) 2>&5
13073 ac_status=$?
13074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13075 (exit $ac_status); }; }; then
13076 glibcxx_cv_func_atan2f_use=yes
13077 else
13078 echo "$as_me: failed program was:" >&5
13079 sed 's/^/| /' conftest.$ac_ext >&5
13081 glibcxx_cv_func_atan2f_use=no
13083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13084 ac_ext=c
13085 ac_cpp='$CPP $CPPFLAGS'
13086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13094 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13095 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13097 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13099 for ac_func in atan2f
13101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13102 echo "$as_me:$LINENO: checking for $ac_func" >&5
13103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13104 if eval "test \"\${$as_ac_var+set}\" = set"; then
13105 echo $ECHO_N "(cached) $ECHO_C" >&6
13106 else
13107 if test x$gcc_no_link = xyes; then
13108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13110 { (exit 1); exit 1; }; }
13112 cat >conftest.$ac_ext <<_ACEOF
13113 /* confdefs.h. */
13114 _ACEOF
13115 cat confdefs.h >>conftest.$ac_ext
13116 cat >>conftest.$ac_ext <<_ACEOF
13117 /* end confdefs.h. */
13118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13120 #define $ac_func innocuous_$ac_func
13122 /* System header to define __stub macros and hopefully few prototypes,
13123 which can conflict with char $ac_func (); below.
13124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13125 <limits.h> exists even on freestanding compilers. */
13127 #ifdef __STDC__
13128 # include <limits.h>
13129 #else
13130 # include <assert.h>
13131 #endif
13133 #undef $ac_func
13135 /* Override any gcc2 internal prototype to avoid an error. */
13136 #ifdef __cplusplus
13137 extern "C"
13139 #endif
13140 /* We use char because int might match the return type of a gcc2
13141 builtin and then its argument prototype would still apply. */
13142 char $ac_func ();
13143 /* The GNU C library defines this for functions which it implements
13144 to always fail with ENOSYS. Some functions are actually named
13145 something starting with __ and the normal name is an alias. */
13146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13147 choke me
13148 #else
13149 char (*f) () = $ac_func;
13150 #endif
13151 #ifdef __cplusplus
13153 #endif
13156 main ()
13158 return f != $ac_func;
13160 return 0;
13162 _ACEOF
13163 rm -f conftest.$ac_objext conftest$ac_exeext
13164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13165 (eval $ac_link) 2>conftest.er1
13166 ac_status=$?
13167 grep -v '^ *+' conftest.er1 >conftest.err
13168 rm -f conftest.er1
13169 cat conftest.err >&5
13170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13171 (exit $ac_status); } &&
13172 { ac_try='test -z "$ac_c_werror_flag"
13173 || test ! -s conftest.err'
13174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13175 (eval $ac_try) 2>&5
13176 ac_status=$?
13177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13178 (exit $ac_status); }; } &&
13179 { ac_try='test -s conftest$ac_exeext'
13180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13181 (eval $ac_try) 2>&5
13182 ac_status=$?
13183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13184 (exit $ac_status); }; }; then
13185 eval "$as_ac_var=yes"
13186 else
13187 echo "$as_me: failed program was:" >&5
13188 sed 's/^/| /' conftest.$ac_ext >&5
13190 eval "$as_ac_var=no"
13192 rm -f conftest.err conftest.$ac_objext \
13193 conftest$ac_exeext conftest.$ac_ext
13195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13197 if test `eval echo '${'$as_ac_var'}'` = yes; then
13198 cat >>confdefs.h <<_ACEOF
13199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13200 _ACEOF
13203 done
13205 else
13207 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13208 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13209 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13210 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13211 echo $ECHO_N "(cached) $ECHO_C" >&6
13212 else
13216 ac_ext=cc
13217 ac_cpp='$CXXCPP $CPPFLAGS'
13218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13222 cat >conftest.$ac_ext <<_ACEOF
13223 /* confdefs.h. */
13224 _ACEOF
13225 cat confdefs.h >>conftest.$ac_ext
13226 cat >>conftest.$ac_ext <<_ACEOF
13227 /* end confdefs.h. */
13228 #include <math.h>
13230 main ()
13232 _atan2f(0, 0);
13234 return 0;
13236 _ACEOF
13237 rm -f conftest.$ac_objext
13238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13239 (eval $ac_compile) 2>conftest.er1
13240 ac_status=$?
13241 grep -v '^ *+' conftest.er1 >conftest.err
13242 rm -f conftest.er1
13243 cat conftest.err >&5
13244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13245 (exit $ac_status); } &&
13246 { ac_try='test -z "$ac_cxx_werror_flag"
13247 || test ! -s conftest.err'
13248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13249 (eval $ac_try) 2>&5
13250 ac_status=$?
13251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13252 (exit $ac_status); }; } &&
13253 { ac_try='test -s conftest.$ac_objext'
13254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13255 (eval $ac_try) 2>&5
13256 ac_status=$?
13257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13258 (exit $ac_status); }; }; then
13259 glibcxx_cv_func__atan2f_use=yes
13260 else
13261 echo "$as_me: failed program was:" >&5
13262 sed 's/^/| /' conftest.$ac_ext >&5
13264 glibcxx_cv_func__atan2f_use=no
13266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13267 ac_ext=c
13268 ac_cpp='$CPP $CPPFLAGS'
13269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13277 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13278 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13280 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13282 for ac_func in _atan2f
13284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13285 echo "$as_me:$LINENO: checking for $ac_func" >&5
13286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13287 if eval "test \"\${$as_ac_var+set}\" = set"; then
13288 echo $ECHO_N "(cached) $ECHO_C" >&6
13289 else
13290 if test x$gcc_no_link = xyes; then
13291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13293 { (exit 1); exit 1; }; }
13295 cat >conftest.$ac_ext <<_ACEOF
13296 /* confdefs.h. */
13297 _ACEOF
13298 cat confdefs.h >>conftest.$ac_ext
13299 cat >>conftest.$ac_ext <<_ACEOF
13300 /* end confdefs.h. */
13301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13303 #define $ac_func innocuous_$ac_func
13305 /* System header to define __stub macros and hopefully few prototypes,
13306 which can conflict with char $ac_func (); below.
13307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13308 <limits.h> exists even on freestanding compilers. */
13310 #ifdef __STDC__
13311 # include <limits.h>
13312 #else
13313 # include <assert.h>
13314 #endif
13316 #undef $ac_func
13318 /* Override any gcc2 internal prototype to avoid an error. */
13319 #ifdef __cplusplus
13320 extern "C"
13322 #endif
13323 /* We use char because int might match the return type of a gcc2
13324 builtin and then its argument prototype would still apply. */
13325 char $ac_func ();
13326 /* The GNU C library defines this for functions which it implements
13327 to always fail with ENOSYS. Some functions are actually named
13328 something starting with __ and the normal name is an alias. */
13329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13330 choke me
13331 #else
13332 char (*f) () = $ac_func;
13333 #endif
13334 #ifdef __cplusplus
13336 #endif
13339 main ()
13341 return f != $ac_func;
13343 return 0;
13345 _ACEOF
13346 rm -f conftest.$ac_objext conftest$ac_exeext
13347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13348 (eval $ac_link) 2>conftest.er1
13349 ac_status=$?
13350 grep -v '^ *+' conftest.er1 >conftest.err
13351 rm -f conftest.er1
13352 cat conftest.err >&5
13353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13354 (exit $ac_status); } &&
13355 { ac_try='test -z "$ac_c_werror_flag"
13356 || test ! -s conftest.err'
13357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13358 (eval $ac_try) 2>&5
13359 ac_status=$?
13360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13361 (exit $ac_status); }; } &&
13362 { ac_try='test -s conftest$ac_exeext'
13363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13364 (eval $ac_try) 2>&5
13365 ac_status=$?
13366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13367 (exit $ac_status); }; }; then
13368 eval "$as_ac_var=yes"
13369 else
13370 echo "$as_me: failed program was:" >&5
13371 sed 's/^/| /' conftest.$ac_ext >&5
13373 eval "$as_ac_var=no"
13375 rm -f conftest.err conftest.$ac_objext \
13376 conftest$ac_exeext conftest.$ac_ext
13378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13380 if test `eval echo '${'$as_ac_var'}'` = yes; then
13381 cat >>confdefs.h <<_ACEOF
13382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13383 _ACEOF
13386 done
13393 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13394 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13395 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13396 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13397 echo $ECHO_N "(cached) $ECHO_C" >&6
13398 else
13402 ac_ext=cc
13403 ac_cpp='$CXXCPP $CPPFLAGS'
13404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13408 cat >conftest.$ac_ext <<_ACEOF
13409 /* confdefs.h. */
13410 _ACEOF
13411 cat confdefs.h >>conftest.$ac_ext
13412 cat >>conftest.$ac_ext <<_ACEOF
13413 /* end confdefs.h. */
13414 #include <math.h>
13415 #ifdef HAVE_IEEEFP_H
13416 #include <ieeefp.h>
13417 #endif
13420 main ()
13422 fabsf(0);
13424 return 0;
13426 _ACEOF
13427 rm -f conftest.$ac_objext
13428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13429 (eval $ac_compile) 2>conftest.er1
13430 ac_status=$?
13431 grep -v '^ *+' conftest.er1 >conftest.err
13432 rm -f conftest.er1
13433 cat conftest.err >&5
13434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13435 (exit $ac_status); } &&
13436 { ac_try='test -z "$ac_cxx_werror_flag"
13437 || test ! -s conftest.err'
13438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13439 (eval $ac_try) 2>&5
13440 ac_status=$?
13441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13442 (exit $ac_status); }; } &&
13443 { ac_try='test -s conftest.$ac_objext'
13444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13445 (eval $ac_try) 2>&5
13446 ac_status=$?
13447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13448 (exit $ac_status); }; }; then
13449 glibcxx_cv_func_fabsf_use=yes
13450 else
13451 echo "$as_me: failed program was:" >&5
13452 sed 's/^/| /' conftest.$ac_ext >&5
13454 glibcxx_cv_func_fabsf_use=no
13456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13457 ac_ext=c
13458 ac_cpp='$CPP $CPPFLAGS'
13459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13467 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13468 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13470 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13472 for ac_func in fabsf
13474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13475 echo "$as_me:$LINENO: checking for $ac_func" >&5
13476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13477 if eval "test \"\${$as_ac_var+set}\" = set"; then
13478 echo $ECHO_N "(cached) $ECHO_C" >&6
13479 else
13480 if test x$gcc_no_link = xyes; then
13481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13483 { (exit 1); exit 1; }; }
13485 cat >conftest.$ac_ext <<_ACEOF
13486 /* confdefs.h. */
13487 _ACEOF
13488 cat confdefs.h >>conftest.$ac_ext
13489 cat >>conftest.$ac_ext <<_ACEOF
13490 /* end confdefs.h. */
13491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13493 #define $ac_func innocuous_$ac_func
13495 /* System header to define __stub macros and hopefully few prototypes,
13496 which can conflict with char $ac_func (); below.
13497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13498 <limits.h> exists even on freestanding compilers. */
13500 #ifdef __STDC__
13501 # include <limits.h>
13502 #else
13503 # include <assert.h>
13504 #endif
13506 #undef $ac_func
13508 /* Override any gcc2 internal prototype to avoid an error. */
13509 #ifdef __cplusplus
13510 extern "C"
13512 #endif
13513 /* We use char because int might match the return type of a gcc2
13514 builtin and then its argument prototype would still apply. */
13515 char $ac_func ();
13516 /* The GNU C library defines this for functions which it implements
13517 to always fail with ENOSYS. Some functions are actually named
13518 something starting with __ and the normal name is an alias. */
13519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13520 choke me
13521 #else
13522 char (*f) () = $ac_func;
13523 #endif
13524 #ifdef __cplusplus
13526 #endif
13529 main ()
13531 return f != $ac_func;
13533 return 0;
13535 _ACEOF
13536 rm -f conftest.$ac_objext conftest$ac_exeext
13537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13538 (eval $ac_link) 2>conftest.er1
13539 ac_status=$?
13540 grep -v '^ *+' conftest.er1 >conftest.err
13541 rm -f conftest.er1
13542 cat conftest.err >&5
13543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13544 (exit $ac_status); } &&
13545 { ac_try='test -z "$ac_c_werror_flag"
13546 || test ! -s conftest.err'
13547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13548 (eval $ac_try) 2>&5
13549 ac_status=$?
13550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13551 (exit $ac_status); }; } &&
13552 { ac_try='test -s conftest$ac_exeext'
13553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13554 (eval $ac_try) 2>&5
13555 ac_status=$?
13556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13557 (exit $ac_status); }; }; then
13558 eval "$as_ac_var=yes"
13559 else
13560 echo "$as_me: failed program was:" >&5
13561 sed 's/^/| /' conftest.$ac_ext >&5
13563 eval "$as_ac_var=no"
13565 rm -f conftest.err conftest.$ac_objext \
13566 conftest$ac_exeext conftest.$ac_ext
13568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13570 if test `eval echo '${'$as_ac_var'}'` = yes; then
13571 cat >>confdefs.h <<_ACEOF
13572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13573 _ACEOF
13576 done
13578 else
13580 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13581 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13582 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13583 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13584 echo $ECHO_N "(cached) $ECHO_C" >&6
13585 else
13589 ac_ext=cc
13590 ac_cpp='$CXXCPP $CPPFLAGS'
13591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13595 cat >conftest.$ac_ext <<_ACEOF
13596 /* confdefs.h. */
13597 _ACEOF
13598 cat confdefs.h >>conftest.$ac_ext
13599 cat >>conftest.$ac_ext <<_ACEOF
13600 /* end confdefs.h. */
13601 #include <math.h>
13602 #ifdef HAVE_IEEEFP_H
13603 #include <ieeefp.h>
13604 #endif
13607 main ()
13609 _fabsf(0);
13611 return 0;
13613 _ACEOF
13614 rm -f conftest.$ac_objext
13615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13616 (eval $ac_compile) 2>conftest.er1
13617 ac_status=$?
13618 grep -v '^ *+' conftest.er1 >conftest.err
13619 rm -f conftest.er1
13620 cat conftest.err >&5
13621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13622 (exit $ac_status); } &&
13623 { ac_try='test -z "$ac_cxx_werror_flag"
13624 || test ! -s conftest.err'
13625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13626 (eval $ac_try) 2>&5
13627 ac_status=$?
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); }; } &&
13630 { ac_try='test -s conftest.$ac_objext'
13631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13632 (eval $ac_try) 2>&5
13633 ac_status=$?
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); }; }; then
13636 glibcxx_cv_func__fabsf_use=yes
13637 else
13638 echo "$as_me: failed program was:" >&5
13639 sed 's/^/| /' conftest.$ac_ext >&5
13641 glibcxx_cv_func__fabsf_use=no
13643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13644 ac_ext=c
13645 ac_cpp='$CPP $CPPFLAGS'
13646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13654 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13655 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13657 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13659 for ac_func in _fabsf
13661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13662 echo "$as_me:$LINENO: checking for $ac_func" >&5
13663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13664 if eval "test \"\${$as_ac_var+set}\" = set"; then
13665 echo $ECHO_N "(cached) $ECHO_C" >&6
13666 else
13667 if test x$gcc_no_link = xyes; then
13668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13670 { (exit 1); exit 1; }; }
13672 cat >conftest.$ac_ext <<_ACEOF
13673 /* confdefs.h. */
13674 _ACEOF
13675 cat confdefs.h >>conftest.$ac_ext
13676 cat >>conftest.$ac_ext <<_ACEOF
13677 /* end confdefs.h. */
13678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13680 #define $ac_func innocuous_$ac_func
13682 /* System header to define __stub macros and hopefully few prototypes,
13683 which can conflict with char $ac_func (); below.
13684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13685 <limits.h> exists even on freestanding compilers. */
13687 #ifdef __STDC__
13688 # include <limits.h>
13689 #else
13690 # include <assert.h>
13691 #endif
13693 #undef $ac_func
13695 /* Override any gcc2 internal prototype to avoid an error. */
13696 #ifdef __cplusplus
13697 extern "C"
13699 #endif
13700 /* We use char because int might match the return type of a gcc2
13701 builtin and then its argument prototype would still apply. */
13702 char $ac_func ();
13703 /* The GNU C library defines this for functions which it implements
13704 to always fail with ENOSYS. Some functions are actually named
13705 something starting with __ and the normal name is an alias. */
13706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13707 choke me
13708 #else
13709 char (*f) () = $ac_func;
13710 #endif
13711 #ifdef __cplusplus
13713 #endif
13716 main ()
13718 return f != $ac_func;
13720 return 0;
13722 _ACEOF
13723 rm -f conftest.$ac_objext conftest$ac_exeext
13724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13725 (eval $ac_link) 2>conftest.er1
13726 ac_status=$?
13727 grep -v '^ *+' conftest.er1 >conftest.err
13728 rm -f conftest.er1
13729 cat conftest.err >&5
13730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13731 (exit $ac_status); } &&
13732 { ac_try='test -z "$ac_c_werror_flag"
13733 || test ! -s conftest.err'
13734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13735 (eval $ac_try) 2>&5
13736 ac_status=$?
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); }; } &&
13739 { ac_try='test -s conftest$ac_exeext'
13740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13741 (eval $ac_try) 2>&5
13742 ac_status=$?
13743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13744 (exit $ac_status); }; }; then
13745 eval "$as_ac_var=yes"
13746 else
13747 echo "$as_me: failed program was:" >&5
13748 sed 's/^/| /' conftest.$ac_ext >&5
13750 eval "$as_ac_var=no"
13752 rm -f conftest.err conftest.$ac_objext \
13753 conftest$ac_exeext conftest.$ac_ext
13755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13757 if test `eval echo '${'$as_ac_var'}'` = yes; then
13758 cat >>confdefs.h <<_ACEOF
13759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13760 _ACEOF
13763 done
13770 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
13771 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
13772 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
13773 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
13774 echo $ECHO_N "(cached) $ECHO_C" >&6
13775 else
13779 ac_ext=cc
13780 ac_cpp='$CXXCPP $CPPFLAGS'
13781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13785 cat >conftest.$ac_ext <<_ACEOF
13786 /* confdefs.h. */
13787 _ACEOF
13788 cat confdefs.h >>conftest.$ac_ext
13789 cat >>conftest.$ac_ext <<_ACEOF
13790 /* end confdefs.h. */
13791 #include <math.h>
13793 main ()
13795 fmodf(0, 0);
13797 return 0;
13799 _ACEOF
13800 rm -f conftest.$ac_objext
13801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13802 (eval $ac_compile) 2>conftest.er1
13803 ac_status=$?
13804 grep -v '^ *+' conftest.er1 >conftest.err
13805 rm -f conftest.er1
13806 cat conftest.err >&5
13807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13808 (exit $ac_status); } &&
13809 { ac_try='test -z "$ac_cxx_werror_flag"
13810 || test ! -s conftest.err'
13811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13812 (eval $ac_try) 2>&5
13813 ac_status=$?
13814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13815 (exit $ac_status); }; } &&
13816 { ac_try='test -s conftest.$ac_objext'
13817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13818 (eval $ac_try) 2>&5
13819 ac_status=$?
13820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13821 (exit $ac_status); }; }; then
13822 glibcxx_cv_func_fmodf_use=yes
13823 else
13824 echo "$as_me: failed program was:" >&5
13825 sed 's/^/| /' conftest.$ac_ext >&5
13827 glibcxx_cv_func_fmodf_use=no
13829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13830 ac_ext=c
13831 ac_cpp='$CPP $CPPFLAGS'
13832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13840 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
13841 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
13843 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
13845 for ac_func in fmodf
13847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13848 echo "$as_me:$LINENO: checking for $ac_func" >&5
13849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13850 if eval "test \"\${$as_ac_var+set}\" = set"; then
13851 echo $ECHO_N "(cached) $ECHO_C" >&6
13852 else
13853 if test x$gcc_no_link = xyes; then
13854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13856 { (exit 1); exit 1; }; }
13858 cat >conftest.$ac_ext <<_ACEOF
13859 /* confdefs.h. */
13860 _ACEOF
13861 cat confdefs.h >>conftest.$ac_ext
13862 cat >>conftest.$ac_ext <<_ACEOF
13863 /* end confdefs.h. */
13864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13866 #define $ac_func innocuous_$ac_func
13868 /* System header to define __stub macros and hopefully few prototypes,
13869 which can conflict with char $ac_func (); below.
13870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13871 <limits.h> exists even on freestanding compilers. */
13873 #ifdef __STDC__
13874 # include <limits.h>
13875 #else
13876 # include <assert.h>
13877 #endif
13879 #undef $ac_func
13881 /* Override any gcc2 internal prototype to avoid an error. */
13882 #ifdef __cplusplus
13883 extern "C"
13885 #endif
13886 /* We use char because int might match the return type of a gcc2
13887 builtin and then its argument prototype would still apply. */
13888 char $ac_func ();
13889 /* The GNU C library defines this for functions which it implements
13890 to always fail with ENOSYS. Some functions are actually named
13891 something starting with __ and the normal name is an alias. */
13892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13893 choke me
13894 #else
13895 char (*f) () = $ac_func;
13896 #endif
13897 #ifdef __cplusplus
13899 #endif
13902 main ()
13904 return f != $ac_func;
13906 return 0;
13908 _ACEOF
13909 rm -f conftest.$ac_objext conftest$ac_exeext
13910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13911 (eval $ac_link) 2>conftest.er1
13912 ac_status=$?
13913 grep -v '^ *+' conftest.er1 >conftest.err
13914 rm -f conftest.er1
13915 cat conftest.err >&5
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); } &&
13918 { ac_try='test -z "$ac_c_werror_flag"
13919 || test ! -s conftest.err'
13920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13921 (eval $ac_try) 2>&5
13922 ac_status=$?
13923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13924 (exit $ac_status); }; } &&
13925 { ac_try='test -s conftest$ac_exeext'
13926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13927 (eval $ac_try) 2>&5
13928 ac_status=$?
13929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13930 (exit $ac_status); }; }; then
13931 eval "$as_ac_var=yes"
13932 else
13933 echo "$as_me: failed program was:" >&5
13934 sed 's/^/| /' conftest.$ac_ext >&5
13936 eval "$as_ac_var=no"
13938 rm -f conftest.err conftest.$ac_objext \
13939 conftest$ac_exeext conftest.$ac_ext
13941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13943 if test `eval echo '${'$as_ac_var'}'` = yes; then
13944 cat >>confdefs.h <<_ACEOF
13945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13946 _ACEOF
13949 done
13951 else
13953 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
13954 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
13955 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
13956 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
13957 echo $ECHO_N "(cached) $ECHO_C" >&6
13958 else
13962 ac_ext=cc
13963 ac_cpp='$CXXCPP $CPPFLAGS'
13964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13968 cat >conftest.$ac_ext <<_ACEOF
13969 /* confdefs.h. */
13970 _ACEOF
13971 cat confdefs.h >>conftest.$ac_ext
13972 cat >>conftest.$ac_ext <<_ACEOF
13973 /* end confdefs.h. */
13974 #include <math.h>
13976 main ()
13978 _fmodf(0, 0);
13980 return 0;
13982 _ACEOF
13983 rm -f conftest.$ac_objext
13984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13985 (eval $ac_compile) 2>conftest.er1
13986 ac_status=$?
13987 grep -v '^ *+' conftest.er1 >conftest.err
13988 rm -f conftest.er1
13989 cat conftest.err >&5
13990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13991 (exit $ac_status); } &&
13992 { ac_try='test -z "$ac_cxx_werror_flag"
13993 || test ! -s conftest.err'
13994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13995 (eval $ac_try) 2>&5
13996 ac_status=$?
13997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13998 (exit $ac_status); }; } &&
13999 { ac_try='test -s conftest.$ac_objext'
14000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14001 (eval $ac_try) 2>&5
14002 ac_status=$?
14003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14004 (exit $ac_status); }; }; then
14005 glibcxx_cv_func__fmodf_use=yes
14006 else
14007 echo "$as_me: failed program was:" >&5
14008 sed 's/^/| /' conftest.$ac_ext >&5
14010 glibcxx_cv_func__fmodf_use=no
14012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14013 ac_ext=c
14014 ac_cpp='$CPP $CPPFLAGS'
14015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14023 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14024 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14026 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14028 for ac_func in _fmodf
14030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14031 echo "$as_me:$LINENO: checking for $ac_func" >&5
14032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14033 if eval "test \"\${$as_ac_var+set}\" = set"; then
14034 echo $ECHO_N "(cached) $ECHO_C" >&6
14035 else
14036 if test x$gcc_no_link = xyes; then
14037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14039 { (exit 1); exit 1; }; }
14041 cat >conftest.$ac_ext <<_ACEOF
14042 /* confdefs.h. */
14043 _ACEOF
14044 cat confdefs.h >>conftest.$ac_ext
14045 cat >>conftest.$ac_ext <<_ACEOF
14046 /* end confdefs.h. */
14047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14049 #define $ac_func innocuous_$ac_func
14051 /* System header to define __stub macros and hopefully few prototypes,
14052 which can conflict with char $ac_func (); below.
14053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14054 <limits.h> exists even on freestanding compilers. */
14056 #ifdef __STDC__
14057 # include <limits.h>
14058 #else
14059 # include <assert.h>
14060 #endif
14062 #undef $ac_func
14064 /* Override any gcc2 internal prototype to avoid an error. */
14065 #ifdef __cplusplus
14066 extern "C"
14068 #endif
14069 /* We use char because int might match the return type of a gcc2
14070 builtin and then its argument prototype would still apply. */
14071 char $ac_func ();
14072 /* The GNU C library defines this for functions which it implements
14073 to always fail with ENOSYS. Some functions are actually named
14074 something starting with __ and the normal name is an alias. */
14075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14076 choke me
14077 #else
14078 char (*f) () = $ac_func;
14079 #endif
14080 #ifdef __cplusplus
14082 #endif
14085 main ()
14087 return f != $ac_func;
14089 return 0;
14091 _ACEOF
14092 rm -f conftest.$ac_objext conftest$ac_exeext
14093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14094 (eval $ac_link) 2>conftest.er1
14095 ac_status=$?
14096 grep -v '^ *+' conftest.er1 >conftest.err
14097 rm -f conftest.er1
14098 cat conftest.err >&5
14099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100 (exit $ac_status); } &&
14101 { ac_try='test -z "$ac_c_werror_flag"
14102 || test ! -s conftest.err'
14103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14104 (eval $ac_try) 2>&5
14105 ac_status=$?
14106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107 (exit $ac_status); }; } &&
14108 { ac_try='test -s conftest$ac_exeext'
14109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14110 (eval $ac_try) 2>&5
14111 ac_status=$?
14112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14113 (exit $ac_status); }; }; then
14114 eval "$as_ac_var=yes"
14115 else
14116 echo "$as_me: failed program was:" >&5
14117 sed 's/^/| /' conftest.$ac_ext >&5
14119 eval "$as_ac_var=no"
14121 rm -f conftest.err conftest.$ac_objext \
14122 conftest$ac_exeext conftest.$ac_ext
14124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14126 if test `eval echo '${'$as_ac_var'}'` = yes; then
14127 cat >>confdefs.h <<_ACEOF
14128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14129 _ACEOF
14132 done
14139 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14140 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14141 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14142 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14143 echo $ECHO_N "(cached) $ECHO_C" >&6
14144 else
14148 ac_ext=cc
14149 ac_cpp='$CXXCPP $CPPFLAGS'
14150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14154 cat >conftest.$ac_ext <<_ACEOF
14155 /* confdefs.h. */
14156 _ACEOF
14157 cat confdefs.h >>conftest.$ac_ext
14158 cat >>conftest.$ac_ext <<_ACEOF
14159 /* end confdefs.h. */
14160 #include <math.h>
14162 main ()
14164 frexpf(0, 0);
14166 return 0;
14168 _ACEOF
14169 rm -f conftest.$ac_objext
14170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14171 (eval $ac_compile) 2>conftest.er1
14172 ac_status=$?
14173 grep -v '^ *+' conftest.er1 >conftest.err
14174 rm -f conftest.er1
14175 cat conftest.err >&5
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); } &&
14178 { ac_try='test -z "$ac_cxx_werror_flag"
14179 || test ! -s conftest.err'
14180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14181 (eval $ac_try) 2>&5
14182 ac_status=$?
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); }; } &&
14185 { ac_try='test -s conftest.$ac_objext'
14186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14187 (eval $ac_try) 2>&5
14188 ac_status=$?
14189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14190 (exit $ac_status); }; }; then
14191 glibcxx_cv_func_frexpf_use=yes
14192 else
14193 echo "$as_me: failed program was:" >&5
14194 sed 's/^/| /' conftest.$ac_ext >&5
14196 glibcxx_cv_func_frexpf_use=no
14198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14199 ac_ext=c
14200 ac_cpp='$CPP $CPPFLAGS'
14201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14209 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14210 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14212 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14214 for ac_func in frexpf
14216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14217 echo "$as_me:$LINENO: checking for $ac_func" >&5
14218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14219 if eval "test \"\${$as_ac_var+set}\" = set"; then
14220 echo $ECHO_N "(cached) $ECHO_C" >&6
14221 else
14222 if test x$gcc_no_link = xyes; then
14223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14225 { (exit 1); exit 1; }; }
14227 cat >conftest.$ac_ext <<_ACEOF
14228 /* confdefs.h. */
14229 _ACEOF
14230 cat confdefs.h >>conftest.$ac_ext
14231 cat >>conftest.$ac_ext <<_ACEOF
14232 /* end confdefs.h. */
14233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14235 #define $ac_func innocuous_$ac_func
14237 /* System header to define __stub macros and hopefully few prototypes,
14238 which can conflict with char $ac_func (); below.
14239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14240 <limits.h> exists even on freestanding compilers. */
14242 #ifdef __STDC__
14243 # include <limits.h>
14244 #else
14245 # include <assert.h>
14246 #endif
14248 #undef $ac_func
14250 /* Override any gcc2 internal prototype to avoid an error. */
14251 #ifdef __cplusplus
14252 extern "C"
14254 #endif
14255 /* We use char because int might match the return type of a gcc2
14256 builtin and then its argument prototype would still apply. */
14257 char $ac_func ();
14258 /* The GNU C library defines this for functions which it implements
14259 to always fail with ENOSYS. Some functions are actually named
14260 something starting with __ and the normal name is an alias. */
14261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14262 choke me
14263 #else
14264 char (*f) () = $ac_func;
14265 #endif
14266 #ifdef __cplusplus
14268 #endif
14271 main ()
14273 return f != $ac_func;
14275 return 0;
14277 _ACEOF
14278 rm -f conftest.$ac_objext conftest$ac_exeext
14279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14280 (eval $ac_link) 2>conftest.er1
14281 ac_status=$?
14282 grep -v '^ *+' conftest.er1 >conftest.err
14283 rm -f conftest.er1
14284 cat conftest.err >&5
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); } &&
14287 { ac_try='test -z "$ac_c_werror_flag"
14288 || test ! -s conftest.err'
14289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14290 (eval $ac_try) 2>&5
14291 ac_status=$?
14292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14293 (exit $ac_status); }; } &&
14294 { ac_try='test -s conftest$ac_exeext'
14295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14296 (eval $ac_try) 2>&5
14297 ac_status=$?
14298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299 (exit $ac_status); }; }; then
14300 eval "$as_ac_var=yes"
14301 else
14302 echo "$as_me: failed program was:" >&5
14303 sed 's/^/| /' conftest.$ac_ext >&5
14305 eval "$as_ac_var=no"
14307 rm -f conftest.err conftest.$ac_objext \
14308 conftest$ac_exeext conftest.$ac_ext
14310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14312 if test `eval echo '${'$as_ac_var'}'` = yes; then
14313 cat >>confdefs.h <<_ACEOF
14314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14315 _ACEOF
14318 done
14320 else
14322 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14323 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14324 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14325 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14326 echo $ECHO_N "(cached) $ECHO_C" >&6
14327 else
14331 ac_ext=cc
14332 ac_cpp='$CXXCPP $CPPFLAGS'
14333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14337 cat >conftest.$ac_ext <<_ACEOF
14338 /* confdefs.h. */
14339 _ACEOF
14340 cat confdefs.h >>conftest.$ac_ext
14341 cat >>conftest.$ac_ext <<_ACEOF
14342 /* end confdefs.h. */
14343 #include <math.h>
14345 main ()
14347 _frexpf(0, 0);
14349 return 0;
14351 _ACEOF
14352 rm -f conftest.$ac_objext
14353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14354 (eval $ac_compile) 2>conftest.er1
14355 ac_status=$?
14356 grep -v '^ *+' conftest.er1 >conftest.err
14357 rm -f conftest.er1
14358 cat conftest.err >&5
14359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14360 (exit $ac_status); } &&
14361 { ac_try='test -z "$ac_cxx_werror_flag"
14362 || test ! -s conftest.err'
14363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14364 (eval $ac_try) 2>&5
14365 ac_status=$?
14366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367 (exit $ac_status); }; } &&
14368 { ac_try='test -s conftest.$ac_objext'
14369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14370 (eval $ac_try) 2>&5
14371 ac_status=$?
14372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373 (exit $ac_status); }; }; then
14374 glibcxx_cv_func__frexpf_use=yes
14375 else
14376 echo "$as_me: failed program was:" >&5
14377 sed 's/^/| /' conftest.$ac_ext >&5
14379 glibcxx_cv_func__frexpf_use=no
14381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14382 ac_ext=c
14383 ac_cpp='$CPP $CPPFLAGS'
14384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14392 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14393 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14395 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14397 for ac_func in _frexpf
14399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14400 echo "$as_me:$LINENO: checking for $ac_func" >&5
14401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14402 if eval "test \"\${$as_ac_var+set}\" = set"; then
14403 echo $ECHO_N "(cached) $ECHO_C" >&6
14404 else
14405 if test x$gcc_no_link = xyes; then
14406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14408 { (exit 1); exit 1; }; }
14410 cat >conftest.$ac_ext <<_ACEOF
14411 /* confdefs.h. */
14412 _ACEOF
14413 cat confdefs.h >>conftest.$ac_ext
14414 cat >>conftest.$ac_ext <<_ACEOF
14415 /* end confdefs.h. */
14416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14418 #define $ac_func innocuous_$ac_func
14420 /* System header to define __stub macros and hopefully few prototypes,
14421 which can conflict with char $ac_func (); below.
14422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14423 <limits.h> exists even on freestanding compilers. */
14425 #ifdef __STDC__
14426 # include <limits.h>
14427 #else
14428 # include <assert.h>
14429 #endif
14431 #undef $ac_func
14433 /* Override any gcc2 internal prototype to avoid an error. */
14434 #ifdef __cplusplus
14435 extern "C"
14437 #endif
14438 /* We use char because int might match the return type of a gcc2
14439 builtin and then its argument prototype would still apply. */
14440 char $ac_func ();
14441 /* The GNU C library defines this for functions which it implements
14442 to always fail with ENOSYS. Some functions are actually named
14443 something starting with __ and the normal name is an alias. */
14444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14445 choke me
14446 #else
14447 char (*f) () = $ac_func;
14448 #endif
14449 #ifdef __cplusplus
14451 #endif
14454 main ()
14456 return f != $ac_func;
14458 return 0;
14460 _ACEOF
14461 rm -f conftest.$ac_objext conftest$ac_exeext
14462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14463 (eval $ac_link) 2>conftest.er1
14464 ac_status=$?
14465 grep -v '^ *+' conftest.er1 >conftest.err
14466 rm -f conftest.er1
14467 cat conftest.err >&5
14468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14469 (exit $ac_status); } &&
14470 { ac_try='test -z "$ac_c_werror_flag"
14471 || test ! -s conftest.err'
14472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14473 (eval $ac_try) 2>&5
14474 ac_status=$?
14475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14476 (exit $ac_status); }; } &&
14477 { ac_try='test -s conftest$ac_exeext'
14478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14479 (eval $ac_try) 2>&5
14480 ac_status=$?
14481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14482 (exit $ac_status); }; }; then
14483 eval "$as_ac_var=yes"
14484 else
14485 echo "$as_me: failed program was:" >&5
14486 sed 's/^/| /' conftest.$ac_ext >&5
14488 eval "$as_ac_var=no"
14490 rm -f conftest.err conftest.$ac_objext \
14491 conftest$ac_exeext conftest.$ac_ext
14493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14495 if test `eval echo '${'$as_ac_var'}'` = yes; then
14496 cat >>confdefs.h <<_ACEOF
14497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14498 _ACEOF
14501 done
14508 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14509 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14510 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14511 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14512 echo $ECHO_N "(cached) $ECHO_C" >&6
14513 else
14517 ac_ext=cc
14518 ac_cpp='$CXXCPP $CPPFLAGS'
14519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14523 cat >conftest.$ac_ext <<_ACEOF
14524 /* confdefs.h. */
14525 _ACEOF
14526 cat confdefs.h >>conftest.$ac_ext
14527 cat >>conftest.$ac_ext <<_ACEOF
14528 /* end confdefs.h. */
14529 #include <math.h>
14531 main ()
14533 hypotf(0, 0);
14535 return 0;
14537 _ACEOF
14538 rm -f conftest.$ac_objext
14539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14540 (eval $ac_compile) 2>conftest.er1
14541 ac_status=$?
14542 grep -v '^ *+' conftest.er1 >conftest.err
14543 rm -f conftest.er1
14544 cat conftest.err >&5
14545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14546 (exit $ac_status); } &&
14547 { ac_try='test -z "$ac_cxx_werror_flag"
14548 || test ! -s conftest.err'
14549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14550 (eval $ac_try) 2>&5
14551 ac_status=$?
14552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14553 (exit $ac_status); }; } &&
14554 { ac_try='test -s conftest.$ac_objext'
14555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14556 (eval $ac_try) 2>&5
14557 ac_status=$?
14558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14559 (exit $ac_status); }; }; then
14560 glibcxx_cv_func_hypotf_use=yes
14561 else
14562 echo "$as_me: failed program was:" >&5
14563 sed 's/^/| /' conftest.$ac_ext >&5
14565 glibcxx_cv_func_hypotf_use=no
14567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14568 ac_ext=c
14569 ac_cpp='$CPP $CPPFLAGS'
14570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14578 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14579 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14581 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14583 for ac_func in hypotf
14585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14586 echo "$as_me:$LINENO: checking for $ac_func" >&5
14587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14588 if eval "test \"\${$as_ac_var+set}\" = set"; then
14589 echo $ECHO_N "(cached) $ECHO_C" >&6
14590 else
14591 if test x$gcc_no_link = xyes; then
14592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14594 { (exit 1); exit 1; }; }
14596 cat >conftest.$ac_ext <<_ACEOF
14597 /* confdefs.h. */
14598 _ACEOF
14599 cat confdefs.h >>conftest.$ac_ext
14600 cat >>conftest.$ac_ext <<_ACEOF
14601 /* end confdefs.h. */
14602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14604 #define $ac_func innocuous_$ac_func
14606 /* System header to define __stub macros and hopefully few prototypes,
14607 which can conflict with char $ac_func (); below.
14608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14609 <limits.h> exists even on freestanding compilers. */
14611 #ifdef __STDC__
14612 # include <limits.h>
14613 #else
14614 # include <assert.h>
14615 #endif
14617 #undef $ac_func
14619 /* Override any gcc2 internal prototype to avoid an error. */
14620 #ifdef __cplusplus
14621 extern "C"
14623 #endif
14624 /* We use char because int might match the return type of a gcc2
14625 builtin and then its argument prototype would still apply. */
14626 char $ac_func ();
14627 /* The GNU C library defines this for functions which it implements
14628 to always fail with ENOSYS. Some functions are actually named
14629 something starting with __ and the normal name is an alias. */
14630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14631 choke me
14632 #else
14633 char (*f) () = $ac_func;
14634 #endif
14635 #ifdef __cplusplus
14637 #endif
14640 main ()
14642 return f != $ac_func;
14644 return 0;
14646 _ACEOF
14647 rm -f conftest.$ac_objext conftest$ac_exeext
14648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14649 (eval $ac_link) 2>conftest.er1
14650 ac_status=$?
14651 grep -v '^ *+' conftest.er1 >conftest.err
14652 rm -f conftest.er1
14653 cat conftest.err >&5
14654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14655 (exit $ac_status); } &&
14656 { ac_try='test -z "$ac_c_werror_flag"
14657 || test ! -s conftest.err'
14658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14659 (eval $ac_try) 2>&5
14660 ac_status=$?
14661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14662 (exit $ac_status); }; } &&
14663 { ac_try='test -s conftest$ac_exeext'
14664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14665 (eval $ac_try) 2>&5
14666 ac_status=$?
14667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14668 (exit $ac_status); }; }; then
14669 eval "$as_ac_var=yes"
14670 else
14671 echo "$as_me: failed program was:" >&5
14672 sed 's/^/| /' conftest.$ac_ext >&5
14674 eval "$as_ac_var=no"
14676 rm -f conftest.err conftest.$ac_objext \
14677 conftest$ac_exeext conftest.$ac_ext
14679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14681 if test `eval echo '${'$as_ac_var'}'` = yes; then
14682 cat >>confdefs.h <<_ACEOF
14683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14684 _ACEOF
14687 done
14689 else
14691 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14692 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14693 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14694 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14695 echo $ECHO_N "(cached) $ECHO_C" >&6
14696 else
14700 ac_ext=cc
14701 ac_cpp='$CXXCPP $CPPFLAGS'
14702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14706 cat >conftest.$ac_ext <<_ACEOF
14707 /* confdefs.h. */
14708 _ACEOF
14709 cat confdefs.h >>conftest.$ac_ext
14710 cat >>conftest.$ac_ext <<_ACEOF
14711 /* end confdefs.h. */
14712 #include <math.h>
14714 main ()
14716 _hypotf(0, 0);
14718 return 0;
14720 _ACEOF
14721 rm -f conftest.$ac_objext
14722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14723 (eval $ac_compile) 2>conftest.er1
14724 ac_status=$?
14725 grep -v '^ *+' conftest.er1 >conftest.err
14726 rm -f conftest.er1
14727 cat conftest.err >&5
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); } &&
14730 { ac_try='test -z "$ac_cxx_werror_flag"
14731 || test ! -s conftest.err'
14732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14733 (eval $ac_try) 2>&5
14734 ac_status=$?
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); }; } &&
14737 { ac_try='test -s conftest.$ac_objext'
14738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14739 (eval $ac_try) 2>&5
14740 ac_status=$?
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); }; }; then
14743 glibcxx_cv_func__hypotf_use=yes
14744 else
14745 echo "$as_me: failed program was:" >&5
14746 sed 's/^/| /' conftest.$ac_ext >&5
14748 glibcxx_cv_func__hypotf_use=no
14750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14751 ac_ext=c
14752 ac_cpp='$CPP $CPPFLAGS'
14753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14761 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
14762 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
14764 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
14766 for ac_func in _hypotf
14768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14769 echo "$as_me:$LINENO: checking for $ac_func" >&5
14770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14771 if eval "test \"\${$as_ac_var+set}\" = set"; then
14772 echo $ECHO_N "(cached) $ECHO_C" >&6
14773 else
14774 if test x$gcc_no_link = xyes; then
14775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14777 { (exit 1); exit 1; }; }
14779 cat >conftest.$ac_ext <<_ACEOF
14780 /* confdefs.h. */
14781 _ACEOF
14782 cat confdefs.h >>conftest.$ac_ext
14783 cat >>conftest.$ac_ext <<_ACEOF
14784 /* end confdefs.h. */
14785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14787 #define $ac_func innocuous_$ac_func
14789 /* System header to define __stub macros and hopefully few prototypes,
14790 which can conflict with char $ac_func (); below.
14791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14792 <limits.h> exists even on freestanding compilers. */
14794 #ifdef __STDC__
14795 # include <limits.h>
14796 #else
14797 # include <assert.h>
14798 #endif
14800 #undef $ac_func
14802 /* Override any gcc2 internal prototype to avoid an error. */
14803 #ifdef __cplusplus
14804 extern "C"
14806 #endif
14807 /* We use char because int might match the return type of a gcc2
14808 builtin and then its argument prototype would still apply. */
14809 char $ac_func ();
14810 /* The GNU C library defines this for functions which it implements
14811 to always fail with ENOSYS. Some functions are actually named
14812 something starting with __ and the normal name is an alias. */
14813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14814 choke me
14815 #else
14816 char (*f) () = $ac_func;
14817 #endif
14818 #ifdef __cplusplus
14820 #endif
14823 main ()
14825 return f != $ac_func;
14827 return 0;
14829 _ACEOF
14830 rm -f conftest.$ac_objext conftest$ac_exeext
14831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14832 (eval $ac_link) 2>conftest.er1
14833 ac_status=$?
14834 grep -v '^ *+' conftest.er1 >conftest.err
14835 rm -f conftest.er1
14836 cat conftest.err >&5
14837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14838 (exit $ac_status); } &&
14839 { ac_try='test -z "$ac_c_werror_flag"
14840 || test ! -s conftest.err'
14841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14842 (eval $ac_try) 2>&5
14843 ac_status=$?
14844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14845 (exit $ac_status); }; } &&
14846 { ac_try='test -s conftest$ac_exeext'
14847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14848 (eval $ac_try) 2>&5
14849 ac_status=$?
14850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); }; }; then
14852 eval "$as_ac_var=yes"
14853 else
14854 echo "$as_me: failed program was:" >&5
14855 sed 's/^/| /' conftest.$ac_ext >&5
14857 eval "$as_ac_var=no"
14859 rm -f conftest.err conftest.$ac_objext \
14860 conftest$ac_exeext conftest.$ac_ext
14862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14864 if test `eval echo '${'$as_ac_var'}'` = yes; then
14865 cat >>confdefs.h <<_ACEOF
14866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14867 _ACEOF
14870 done
14877 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
14878 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
14879 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
14880 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
14881 echo $ECHO_N "(cached) $ECHO_C" >&6
14882 else
14886 ac_ext=cc
14887 ac_cpp='$CXXCPP $CPPFLAGS'
14888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14892 cat >conftest.$ac_ext <<_ACEOF
14893 /* confdefs.h. */
14894 _ACEOF
14895 cat confdefs.h >>conftest.$ac_ext
14896 cat >>conftest.$ac_ext <<_ACEOF
14897 /* end confdefs.h. */
14898 #include <math.h>
14900 main ()
14902 ldexpf(0, 0);
14904 return 0;
14906 _ACEOF
14907 rm -f conftest.$ac_objext
14908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14909 (eval $ac_compile) 2>conftest.er1
14910 ac_status=$?
14911 grep -v '^ *+' conftest.er1 >conftest.err
14912 rm -f conftest.er1
14913 cat conftest.err >&5
14914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14915 (exit $ac_status); } &&
14916 { ac_try='test -z "$ac_cxx_werror_flag"
14917 || test ! -s conftest.err'
14918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14919 (eval $ac_try) 2>&5
14920 ac_status=$?
14921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14922 (exit $ac_status); }; } &&
14923 { ac_try='test -s conftest.$ac_objext'
14924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14925 (eval $ac_try) 2>&5
14926 ac_status=$?
14927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14928 (exit $ac_status); }; }; then
14929 glibcxx_cv_func_ldexpf_use=yes
14930 else
14931 echo "$as_me: failed program was:" >&5
14932 sed 's/^/| /' conftest.$ac_ext >&5
14934 glibcxx_cv_func_ldexpf_use=no
14936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14937 ac_ext=c
14938 ac_cpp='$CPP $CPPFLAGS'
14939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14947 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
14948 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
14950 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
14952 for ac_func in ldexpf
14954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14955 echo "$as_me:$LINENO: checking for $ac_func" >&5
14956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14957 if eval "test \"\${$as_ac_var+set}\" = set"; then
14958 echo $ECHO_N "(cached) $ECHO_C" >&6
14959 else
14960 if test x$gcc_no_link = xyes; then
14961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14963 { (exit 1); exit 1; }; }
14965 cat >conftest.$ac_ext <<_ACEOF
14966 /* confdefs.h. */
14967 _ACEOF
14968 cat confdefs.h >>conftest.$ac_ext
14969 cat >>conftest.$ac_ext <<_ACEOF
14970 /* end confdefs.h. */
14971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14973 #define $ac_func innocuous_$ac_func
14975 /* System header to define __stub macros and hopefully few prototypes,
14976 which can conflict with char $ac_func (); below.
14977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14978 <limits.h> exists even on freestanding compilers. */
14980 #ifdef __STDC__
14981 # include <limits.h>
14982 #else
14983 # include <assert.h>
14984 #endif
14986 #undef $ac_func
14988 /* Override any gcc2 internal prototype to avoid an error. */
14989 #ifdef __cplusplus
14990 extern "C"
14992 #endif
14993 /* We use char because int might match the return type of a gcc2
14994 builtin and then its argument prototype would still apply. */
14995 char $ac_func ();
14996 /* The GNU C library defines this for functions which it implements
14997 to always fail with ENOSYS. Some functions are actually named
14998 something starting with __ and the normal name is an alias. */
14999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15000 choke me
15001 #else
15002 char (*f) () = $ac_func;
15003 #endif
15004 #ifdef __cplusplus
15006 #endif
15009 main ()
15011 return f != $ac_func;
15013 return 0;
15015 _ACEOF
15016 rm -f conftest.$ac_objext conftest$ac_exeext
15017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15018 (eval $ac_link) 2>conftest.er1
15019 ac_status=$?
15020 grep -v '^ *+' conftest.er1 >conftest.err
15021 rm -f conftest.er1
15022 cat conftest.err >&5
15023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15024 (exit $ac_status); } &&
15025 { ac_try='test -z "$ac_c_werror_flag"
15026 || test ! -s conftest.err'
15027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15028 (eval $ac_try) 2>&5
15029 ac_status=$?
15030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15031 (exit $ac_status); }; } &&
15032 { ac_try='test -s conftest$ac_exeext'
15033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15034 (eval $ac_try) 2>&5
15035 ac_status=$?
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); }; }; then
15038 eval "$as_ac_var=yes"
15039 else
15040 echo "$as_me: failed program was:" >&5
15041 sed 's/^/| /' conftest.$ac_ext >&5
15043 eval "$as_ac_var=no"
15045 rm -f conftest.err conftest.$ac_objext \
15046 conftest$ac_exeext conftest.$ac_ext
15048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15050 if test `eval echo '${'$as_ac_var'}'` = yes; then
15051 cat >>confdefs.h <<_ACEOF
15052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15053 _ACEOF
15056 done
15058 else
15060 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15061 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15062 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15063 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15064 echo $ECHO_N "(cached) $ECHO_C" >&6
15065 else
15069 ac_ext=cc
15070 ac_cpp='$CXXCPP $CPPFLAGS'
15071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15075 cat >conftest.$ac_ext <<_ACEOF
15076 /* confdefs.h. */
15077 _ACEOF
15078 cat confdefs.h >>conftest.$ac_ext
15079 cat >>conftest.$ac_ext <<_ACEOF
15080 /* end confdefs.h. */
15081 #include <math.h>
15083 main ()
15085 _ldexpf(0, 0);
15087 return 0;
15089 _ACEOF
15090 rm -f conftest.$ac_objext
15091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15092 (eval $ac_compile) 2>conftest.er1
15093 ac_status=$?
15094 grep -v '^ *+' conftest.er1 >conftest.err
15095 rm -f conftest.er1
15096 cat conftest.err >&5
15097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15098 (exit $ac_status); } &&
15099 { ac_try='test -z "$ac_cxx_werror_flag"
15100 || test ! -s conftest.err'
15101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15102 (eval $ac_try) 2>&5
15103 ac_status=$?
15104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15105 (exit $ac_status); }; } &&
15106 { ac_try='test -s conftest.$ac_objext'
15107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15108 (eval $ac_try) 2>&5
15109 ac_status=$?
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); }; }; then
15112 glibcxx_cv_func__ldexpf_use=yes
15113 else
15114 echo "$as_me: failed program was:" >&5
15115 sed 's/^/| /' conftest.$ac_ext >&5
15117 glibcxx_cv_func__ldexpf_use=no
15119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15120 ac_ext=c
15121 ac_cpp='$CPP $CPPFLAGS'
15122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15130 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15131 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15133 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15135 for ac_func in _ldexpf
15137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15138 echo "$as_me:$LINENO: checking for $ac_func" >&5
15139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15140 if eval "test \"\${$as_ac_var+set}\" = set"; then
15141 echo $ECHO_N "(cached) $ECHO_C" >&6
15142 else
15143 if test x$gcc_no_link = xyes; then
15144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15146 { (exit 1); exit 1; }; }
15148 cat >conftest.$ac_ext <<_ACEOF
15149 /* confdefs.h. */
15150 _ACEOF
15151 cat confdefs.h >>conftest.$ac_ext
15152 cat >>conftest.$ac_ext <<_ACEOF
15153 /* end confdefs.h. */
15154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15156 #define $ac_func innocuous_$ac_func
15158 /* System header to define __stub macros and hopefully few prototypes,
15159 which can conflict with char $ac_func (); below.
15160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15161 <limits.h> exists even on freestanding compilers. */
15163 #ifdef __STDC__
15164 # include <limits.h>
15165 #else
15166 # include <assert.h>
15167 #endif
15169 #undef $ac_func
15171 /* Override any gcc2 internal prototype to avoid an error. */
15172 #ifdef __cplusplus
15173 extern "C"
15175 #endif
15176 /* We use char because int might match the return type of a gcc2
15177 builtin and then its argument prototype would still apply. */
15178 char $ac_func ();
15179 /* The GNU C library defines this for functions which it implements
15180 to always fail with ENOSYS. Some functions are actually named
15181 something starting with __ and the normal name is an alias. */
15182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15183 choke me
15184 #else
15185 char (*f) () = $ac_func;
15186 #endif
15187 #ifdef __cplusplus
15189 #endif
15192 main ()
15194 return f != $ac_func;
15196 return 0;
15198 _ACEOF
15199 rm -f conftest.$ac_objext conftest$ac_exeext
15200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15201 (eval $ac_link) 2>conftest.er1
15202 ac_status=$?
15203 grep -v '^ *+' conftest.er1 >conftest.err
15204 rm -f conftest.er1
15205 cat conftest.err >&5
15206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15207 (exit $ac_status); } &&
15208 { ac_try='test -z "$ac_c_werror_flag"
15209 || test ! -s conftest.err'
15210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15211 (eval $ac_try) 2>&5
15212 ac_status=$?
15213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15214 (exit $ac_status); }; } &&
15215 { ac_try='test -s conftest$ac_exeext'
15216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15217 (eval $ac_try) 2>&5
15218 ac_status=$?
15219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15220 (exit $ac_status); }; }; then
15221 eval "$as_ac_var=yes"
15222 else
15223 echo "$as_me: failed program was:" >&5
15224 sed 's/^/| /' conftest.$ac_ext >&5
15226 eval "$as_ac_var=no"
15228 rm -f conftest.err conftest.$ac_objext \
15229 conftest$ac_exeext conftest.$ac_ext
15231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15233 if test `eval echo '${'$as_ac_var'}'` = yes; then
15234 cat >>confdefs.h <<_ACEOF
15235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15236 _ACEOF
15239 done
15246 echo "$as_me:$LINENO: checking for logf declaration" >&5
15247 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15248 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15249 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15250 echo $ECHO_N "(cached) $ECHO_C" >&6
15251 else
15255 ac_ext=cc
15256 ac_cpp='$CXXCPP $CPPFLAGS'
15257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15261 cat >conftest.$ac_ext <<_ACEOF
15262 /* confdefs.h. */
15263 _ACEOF
15264 cat confdefs.h >>conftest.$ac_ext
15265 cat >>conftest.$ac_ext <<_ACEOF
15266 /* end confdefs.h. */
15267 #include <math.h>
15268 #ifdef HAVE_IEEEFP_H
15269 #include <ieeefp.h>
15270 #endif
15273 main ()
15275 logf(0);
15277 return 0;
15279 _ACEOF
15280 rm -f conftest.$ac_objext
15281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15282 (eval $ac_compile) 2>conftest.er1
15283 ac_status=$?
15284 grep -v '^ *+' conftest.er1 >conftest.err
15285 rm -f conftest.er1
15286 cat conftest.err >&5
15287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15288 (exit $ac_status); } &&
15289 { ac_try='test -z "$ac_cxx_werror_flag"
15290 || test ! -s conftest.err'
15291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15292 (eval $ac_try) 2>&5
15293 ac_status=$?
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295 (exit $ac_status); }; } &&
15296 { ac_try='test -s conftest.$ac_objext'
15297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15298 (eval $ac_try) 2>&5
15299 ac_status=$?
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 (exit $ac_status); }; }; then
15302 glibcxx_cv_func_logf_use=yes
15303 else
15304 echo "$as_me: failed program was:" >&5
15305 sed 's/^/| /' conftest.$ac_ext >&5
15307 glibcxx_cv_func_logf_use=no
15309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15310 ac_ext=c
15311 ac_cpp='$CPP $CPPFLAGS'
15312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15320 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15321 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15323 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15325 for ac_func in logf
15327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15328 echo "$as_me:$LINENO: checking for $ac_func" >&5
15329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15330 if eval "test \"\${$as_ac_var+set}\" = set"; then
15331 echo $ECHO_N "(cached) $ECHO_C" >&6
15332 else
15333 if test x$gcc_no_link = xyes; then
15334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15336 { (exit 1); exit 1; }; }
15338 cat >conftest.$ac_ext <<_ACEOF
15339 /* confdefs.h. */
15340 _ACEOF
15341 cat confdefs.h >>conftest.$ac_ext
15342 cat >>conftest.$ac_ext <<_ACEOF
15343 /* end confdefs.h. */
15344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15346 #define $ac_func innocuous_$ac_func
15348 /* System header to define __stub macros and hopefully few prototypes,
15349 which can conflict with char $ac_func (); below.
15350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15351 <limits.h> exists even on freestanding compilers. */
15353 #ifdef __STDC__
15354 # include <limits.h>
15355 #else
15356 # include <assert.h>
15357 #endif
15359 #undef $ac_func
15361 /* Override any gcc2 internal prototype to avoid an error. */
15362 #ifdef __cplusplus
15363 extern "C"
15365 #endif
15366 /* We use char because int might match the return type of a gcc2
15367 builtin and then its argument prototype would still apply. */
15368 char $ac_func ();
15369 /* The GNU C library defines this for functions which it implements
15370 to always fail with ENOSYS. Some functions are actually named
15371 something starting with __ and the normal name is an alias. */
15372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15373 choke me
15374 #else
15375 char (*f) () = $ac_func;
15376 #endif
15377 #ifdef __cplusplus
15379 #endif
15382 main ()
15384 return f != $ac_func;
15386 return 0;
15388 _ACEOF
15389 rm -f conftest.$ac_objext conftest$ac_exeext
15390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15391 (eval $ac_link) 2>conftest.er1
15392 ac_status=$?
15393 grep -v '^ *+' conftest.er1 >conftest.err
15394 rm -f conftest.er1
15395 cat conftest.err >&5
15396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15397 (exit $ac_status); } &&
15398 { ac_try='test -z "$ac_c_werror_flag"
15399 || test ! -s conftest.err'
15400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15401 (eval $ac_try) 2>&5
15402 ac_status=$?
15403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15404 (exit $ac_status); }; } &&
15405 { ac_try='test -s conftest$ac_exeext'
15406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15407 (eval $ac_try) 2>&5
15408 ac_status=$?
15409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15410 (exit $ac_status); }; }; then
15411 eval "$as_ac_var=yes"
15412 else
15413 echo "$as_me: failed program was:" >&5
15414 sed 's/^/| /' conftest.$ac_ext >&5
15416 eval "$as_ac_var=no"
15418 rm -f conftest.err conftest.$ac_objext \
15419 conftest$ac_exeext conftest.$ac_ext
15421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15423 if test `eval echo '${'$as_ac_var'}'` = yes; then
15424 cat >>confdefs.h <<_ACEOF
15425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15426 _ACEOF
15429 done
15431 else
15433 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15434 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15435 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15436 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15437 echo $ECHO_N "(cached) $ECHO_C" >&6
15438 else
15442 ac_ext=cc
15443 ac_cpp='$CXXCPP $CPPFLAGS'
15444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15448 cat >conftest.$ac_ext <<_ACEOF
15449 /* confdefs.h. */
15450 _ACEOF
15451 cat confdefs.h >>conftest.$ac_ext
15452 cat >>conftest.$ac_ext <<_ACEOF
15453 /* end confdefs.h. */
15454 #include <math.h>
15455 #ifdef HAVE_IEEEFP_H
15456 #include <ieeefp.h>
15457 #endif
15460 main ()
15462 _logf(0);
15464 return 0;
15466 _ACEOF
15467 rm -f conftest.$ac_objext
15468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15469 (eval $ac_compile) 2>conftest.er1
15470 ac_status=$?
15471 grep -v '^ *+' conftest.er1 >conftest.err
15472 rm -f conftest.er1
15473 cat conftest.err >&5
15474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15475 (exit $ac_status); } &&
15476 { ac_try='test -z "$ac_cxx_werror_flag"
15477 || test ! -s conftest.err'
15478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15479 (eval $ac_try) 2>&5
15480 ac_status=$?
15481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15482 (exit $ac_status); }; } &&
15483 { ac_try='test -s conftest.$ac_objext'
15484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15485 (eval $ac_try) 2>&5
15486 ac_status=$?
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); }; }; then
15489 glibcxx_cv_func__logf_use=yes
15490 else
15491 echo "$as_me: failed program was:" >&5
15492 sed 's/^/| /' conftest.$ac_ext >&5
15494 glibcxx_cv_func__logf_use=no
15496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15497 ac_ext=c
15498 ac_cpp='$CPP $CPPFLAGS'
15499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15507 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15508 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15510 if test x$glibcxx_cv_func__logf_use = x"yes"; then
15512 for ac_func in _logf
15514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15515 echo "$as_me:$LINENO: checking for $ac_func" >&5
15516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15517 if eval "test \"\${$as_ac_var+set}\" = set"; then
15518 echo $ECHO_N "(cached) $ECHO_C" >&6
15519 else
15520 if test x$gcc_no_link = xyes; then
15521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15523 { (exit 1); exit 1; }; }
15525 cat >conftest.$ac_ext <<_ACEOF
15526 /* confdefs.h. */
15527 _ACEOF
15528 cat confdefs.h >>conftest.$ac_ext
15529 cat >>conftest.$ac_ext <<_ACEOF
15530 /* end confdefs.h. */
15531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15533 #define $ac_func innocuous_$ac_func
15535 /* System header to define __stub macros and hopefully few prototypes,
15536 which can conflict with char $ac_func (); below.
15537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15538 <limits.h> exists even on freestanding compilers. */
15540 #ifdef __STDC__
15541 # include <limits.h>
15542 #else
15543 # include <assert.h>
15544 #endif
15546 #undef $ac_func
15548 /* Override any gcc2 internal prototype to avoid an error. */
15549 #ifdef __cplusplus
15550 extern "C"
15552 #endif
15553 /* We use char because int might match the return type of a gcc2
15554 builtin and then its argument prototype would still apply. */
15555 char $ac_func ();
15556 /* The GNU C library defines this for functions which it implements
15557 to always fail with ENOSYS. Some functions are actually named
15558 something starting with __ and the normal name is an alias. */
15559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15560 choke me
15561 #else
15562 char (*f) () = $ac_func;
15563 #endif
15564 #ifdef __cplusplus
15566 #endif
15569 main ()
15571 return f != $ac_func;
15573 return 0;
15575 _ACEOF
15576 rm -f conftest.$ac_objext conftest$ac_exeext
15577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15578 (eval $ac_link) 2>conftest.er1
15579 ac_status=$?
15580 grep -v '^ *+' conftest.er1 >conftest.err
15581 rm -f conftest.er1
15582 cat conftest.err >&5
15583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); } &&
15585 { ac_try='test -z "$ac_c_werror_flag"
15586 || test ! -s conftest.err'
15587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15588 (eval $ac_try) 2>&5
15589 ac_status=$?
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); }; } &&
15592 { ac_try='test -s conftest$ac_exeext'
15593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15594 (eval $ac_try) 2>&5
15595 ac_status=$?
15596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15597 (exit $ac_status); }; }; then
15598 eval "$as_ac_var=yes"
15599 else
15600 echo "$as_me: failed program was:" >&5
15601 sed 's/^/| /' conftest.$ac_ext >&5
15603 eval "$as_ac_var=no"
15605 rm -f conftest.err conftest.$ac_objext \
15606 conftest$ac_exeext conftest.$ac_ext
15608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15610 if test `eval echo '${'$as_ac_var'}'` = yes; then
15611 cat >>confdefs.h <<_ACEOF
15612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15613 _ACEOF
15616 done
15623 echo "$as_me:$LINENO: checking for log10f declaration" >&5
15624 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15625 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15626 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15627 echo $ECHO_N "(cached) $ECHO_C" >&6
15628 else
15632 ac_ext=cc
15633 ac_cpp='$CXXCPP $CPPFLAGS'
15634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15638 cat >conftest.$ac_ext <<_ACEOF
15639 /* confdefs.h. */
15640 _ACEOF
15641 cat confdefs.h >>conftest.$ac_ext
15642 cat >>conftest.$ac_ext <<_ACEOF
15643 /* end confdefs.h. */
15644 #include <math.h>
15645 #ifdef HAVE_IEEEFP_H
15646 #include <ieeefp.h>
15647 #endif
15650 main ()
15652 log10f(0);
15654 return 0;
15656 _ACEOF
15657 rm -f conftest.$ac_objext
15658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15659 (eval $ac_compile) 2>conftest.er1
15660 ac_status=$?
15661 grep -v '^ *+' conftest.er1 >conftest.err
15662 rm -f conftest.er1
15663 cat conftest.err >&5
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); } &&
15666 { ac_try='test -z "$ac_cxx_werror_flag"
15667 || test ! -s conftest.err'
15668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15669 (eval $ac_try) 2>&5
15670 ac_status=$?
15671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672 (exit $ac_status); }; } &&
15673 { ac_try='test -s conftest.$ac_objext'
15674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15675 (eval $ac_try) 2>&5
15676 ac_status=$?
15677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678 (exit $ac_status); }; }; then
15679 glibcxx_cv_func_log10f_use=yes
15680 else
15681 echo "$as_me: failed program was:" >&5
15682 sed 's/^/| /' conftest.$ac_ext >&5
15684 glibcxx_cv_func_log10f_use=no
15686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15687 ac_ext=c
15688 ac_cpp='$CPP $CPPFLAGS'
15689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15697 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15698 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15700 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15702 for ac_func in log10f
15704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15705 echo "$as_me:$LINENO: checking for $ac_func" >&5
15706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15707 if eval "test \"\${$as_ac_var+set}\" = set"; then
15708 echo $ECHO_N "(cached) $ECHO_C" >&6
15709 else
15710 if test x$gcc_no_link = xyes; then
15711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15713 { (exit 1); exit 1; }; }
15715 cat >conftest.$ac_ext <<_ACEOF
15716 /* confdefs.h. */
15717 _ACEOF
15718 cat confdefs.h >>conftest.$ac_ext
15719 cat >>conftest.$ac_ext <<_ACEOF
15720 /* end confdefs.h. */
15721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15723 #define $ac_func innocuous_$ac_func
15725 /* System header to define __stub macros and hopefully few prototypes,
15726 which can conflict with char $ac_func (); below.
15727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15728 <limits.h> exists even on freestanding compilers. */
15730 #ifdef __STDC__
15731 # include <limits.h>
15732 #else
15733 # include <assert.h>
15734 #endif
15736 #undef $ac_func
15738 /* Override any gcc2 internal prototype to avoid an error. */
15739 #ifdef __cplusplus
15740 extern "C"
15742 #endif
15743 /* We use char because int might match the return type of a gcc2
15744 builtin and then its argument prototype would still apply. */
15745 char $ac_func ();
15746 /* The GNU C library defines this for functions which it implements
15747 to always fail with ENOSYS. Some functions are actually named
15748 something starting with __ and the normal name is an alias. */
15749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15750 choke me
15751 #else
15752 char (*f) () = $ac_func;
15753 #endif
15754 #ifdef __cplusplus
15756 #endif
15759 main ()
15761 return f != $ac_func;
15763 return 0;
15765 _ACEOF
15766 rm -f conftest.$ac_objext conftest$ac_exeext
15767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15768 (eval $ac_link) 2>conftest.er1
15769 ac_status=$?
15770 grep -v '^ *+' conftest.er1 >conftest.err
15771 rm -f conftest.er1
15772 cat conftest.err >&5
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); } &&
15775 { ac_try='test -z "$ac_c_werror_flag"
15776 || test ! -s conftest.err'
15777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15778 (eval $ac_try) 2>&5
15779 ac_status=$?
15780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781 (exit $ac_status); }; } &&
15782 { ac_try='test -s conftest$ac_exeext'
15783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15784 (eval $ac_try) 2>&5
15785 ac_status=$?
15786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15787 (exit $ac_status); }; }; then
15788 eval "$as_ac_var=yes"
15789 else
15790 echo "$as_me: failed program was:" >&5
15791 sed 's/^/| /' conftest.$ac_ext >&5
15793 eval "$as_ac_var=no"
15795 rm -f conftest.err conftest.$ac_objext \
15796 conftest$ac_exeext conftest.$ac_ext
15798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15800 if test `eval echo '${'$as_ac_var'}'` = yes; then
15801 cat >>confdefs.h <<_ACEOF
15802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15803 _ACEOF
15806 done
15808 else
15810 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
15811 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
15812 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
15813 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
15814 echo $ECHO_N "(cached) $ECHO_C" >&6
15815 else
15819 ac_ext=cc
15820 ac_cpp='$CXXCPP $CPPFLAGS'
15821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15825 cat >conftest.$ac_ext <<_ACEOF
15826 /* confdefs.h. */
15827 _ACEOF
15828 cat confdefs.h >>conftest.$ac_ext
15829 cat >>conftest.$ac_ext <<_ACEOF
15830 /* end confdefs.h. */
15831 #include <math.h>
15832 #ifdef HAVE_IEEEFP_H
15833 #include <ieeefp.h>
15834 #endif
15837 main ()
15839 _log10f(0);
15841 return 0;
15843 _ACEOF
15844 rm -f conftest.$ac_objext
15845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15846 (eval $ac_compile) 2>conftest.er1
15847 ac_status=$?
15848 grep -v '^ *+' conftest.er1 >conftest.err
15849 rm -f conftest.er1
15850 cat conftest.err >&5
15851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15852 (exit $ac_status); } &&
15853 { ac_try='test -z "$ac_cxx_werror_flag"
15854 || test ! -s conftest.err'
15855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15856 (eval $ac_try) 2>&5
15857 ac_status=$?
15858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15859 (exit $ac_status); }; } &&
15860 { ac_try='test -s conftest.$ac_objext'
15861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15862 (eval $ac_try) 2>&5
15863 ac_status=$?
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 (exit $ac_status); }; }; then
15866 glibcxx_cv_func__log10f_use=yes
15867 else
15868 echo "$as_me: failed program was:" >&5
15869 sed 's/^/| /' conftest.$ac_ext >&5
15871 glibcxx_cv_func__log10f_use=no
15873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15874 ac_ext=c
15875 ac_cpp='$CPP $CPPFLAGS'
15876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15884 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
15885 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
15887 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
15889 for ac_func in _log10f
15891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15892 echo "$as_me:$LINENO: checking for $ac_func" >&5
15893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15894 if eval "test \"\${$as_ac_var+set}\" = set"; then
15895 echo $ECHO_N "(cached) $ECHO_C" >&6
15896 else
15897 if test x$gcc_no_link = xyes; then
15898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15900 { (exit 1); exit 1; }; }
15902 cat >conftest.$ac_ext <<_ACEOF
15903 /* confdefs.h. */
15904 _ACEOF
15905 cat confdefs.h >>conftest.$ac_ext
15906 cat >>conftest.$ac_ext <<_ACEOF
15907 /* end confdefs.h. */
15908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15910 #define $ac_func innocuous_$ac_func
15912 /* System header to define __stub macros and hopefully few prototypes,
15913 which can conflict with char $ac_func (); below.
15914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15915 <limits.h> exists even on freestanding compilers. */
15917 #ifdef __STDC__
15918 # include <limits.h>
15919 #else
15920 # include <assert.h>
15921 #endif
15923 #undef $ac_func
15925 /* Override any gcc2 internal prototype to avoid an error. */
15926 #ifdef __cplusplus
15927 extern "C"
15929 #endif
15930 /* We use char because int might match the return type of a gcc2
15931 builtin and then its argument prototype would still apply. */
15932 char $ac_func ();
15933 /* The GNU C library defines this for functions which it implements
15934 to always fail with ENOSYS. Some functions are actually named
15935 something starting with __ and the normal name is an alias. */
15936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15937 choke me
15938 #else
15939 char (*f) () = $ac_func;
15940 #endif
15941 #ifdef __cplusplus
15943 #endif
15946 main ()
15948 return f != $ac_func;
15950 return 0;
15952 _ACEOF
15953 rm -f conftest.$ac_objext conftest$ac_exeext
15954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15955 (eval $ac_link) 2>conftest.er1
15956 ac_status=$?
15957 grep -v '^ *+' conftest.er1 >conftest.err
15958 rm -f conftest.er1
15959 cat conftest.err >&5
15960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15961 (exit $ac_status); } &&
15962 { ac_try='test -z "$ac_c_werror_flag"
15963 || test ! -s conftest.err'
15964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15965 (eval $ac_try) 2>&5
15966 ac_status=$?
15967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968 (exit $ac_status); }; } &&
15969 { ac_try='test -s conftest$ac_exeext'
15970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15971 (eval $ac_try) 2>&5
15972 ac_status=$?
15973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974 (exit $ac_status); }; }; then
15975 eval "$as_ac_var=yes"
15976 else
15977 echo "$as_me: failed program was:" >&5
15978 sed 's/^/| /' conftest.$ac_ext >&5
15980 eval "$as_ac_var=no"
15982 rm -f conftest.err conftest.$ac_objext \
15983 conftest$ac_exeext conftest.$ac_ext
15985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15987 if test `eval echo '${'$as_ac_var'}'` = yes; then
15988 cat >>confdefs.h <<_ACEOF
15989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15990 _ACEOF
15993 done
16000 echo "$as_me:$LINENO: checking for modff declaration" >&5
16001 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16002 if test x${glibcxx_cv_func_modff_use+set} != xset; then
16003 if test "${glibcxx_cv_func_modff_use+set}" = set; then
16004 echo $ECHO_N "(cached) $ECHO_C" >&6
16005 else
16009 ac_ext=cc
16010 ac_cpp='$CXXCPP $CPPFLAGS'
16011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16015 cat >conftest.$ac_ext <<_ACEOF
16016 /* confdefs.h. */
16017 _ACEOF
16018 cat confdefs.h >>conftest.$ac_ext
16019 cat >>conftest.$ac_ext <<_ACEOF
16020 /* end confdefs.h. */
16021 #include <math.h>
16023 main ()
16025 modff(0, 0);
16027 return 0;
16029 _ACEOF
16030 rm -f conftest.$ac_objext
16031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16032 (eval $ac_compile) 2>conftest.er1
16033 ac_status=$?
16034 grep -v '^ *+' conftest.er1 >conftest.err
16035 rm -f conftest.er1
16036 cat conftest.err >&5
16037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16038 (exit $ac_status); } &&
16039 { ac_try='test -z "$ac_cxx_werror_flag"
16040 || test ! -s conftest.err'
16041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16042 (eval $ac_try) 2>&5
16043 ac_status=$?
16044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045 (exit $ac_status); }; } &&
16046 { ac_try='test -s conftest.$ac_objext'
16047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16048 (eval $ac_try) 2>&5
16049 ac_status=$?
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); }; }; then
16052 glibcxx_cv_func_modff_use=yes
16053 else
16054 echo "$as_me: failed program was:" >&5
16055 sed 's/^/| /' conftest.$ac_ext >&5
16057 glibcxx_cv_func_modff_use=no
16059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16060 ac_ext=c
16061 ac_cpp='$CPP $CPPFLAGS'
16062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16070 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16071 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16073 if test x$glibcxx_cv_func_modff_use = x"yes"; then
16075 for ac_func in modff
16077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16078 echo "$as_me:$LINENO: checking for $ac_func" >&5
16079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16080 if eval "test \"\${$as_ac_var+set}\" = set"; then
16081 echo $ECHO_N "(cached) $ECHO_C" >&6
16082 else
16083 if test x$gcc_no_link = xyes; then
16084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16086 { (exit 1); exit 1; }; }
16088 cat >conftest.$ac_ext <<_ACEOF
16089 /* confdefs.h. */
16090 _ACEOF
16091 cat confdefs.h >>conftest.$ac_ext
16092 cat >>conftest.$ac_ext <<_ACEOF
16093 /* end confdefs.h. */
16094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16096 #define $ac_func innocuous_$ac_func
16098 /* System header to define __stub macros and hopefully few prototypes,
16099 which can conflict with char $ac_func (); below.
16100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16101 <limits.h> exists even on freestanding compilers. */
16103 #ifdef __STDC__
16104 # include <limits.h>
16105 #else
16106 # include <assert.h>
16107 #endif
16109 #undef $ac_func
16111 /* Override any gcc2 internal prototype to avoid an error. */
16112 #ifdef __cplusplus
16113 extern "C"
16115 #endif
16116 /* We use char because int might match the return type of a gcc2
16117 builtin and then its argument prototype would still apply. */
16118 char $ac_func ();
16119 /* The GNU C library defines this for functions which it implements
16120 to always fail with ENOSYS. Some functions are actually named
16121 something starting with __ and the normal name is an alias. */
16122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16123 choke me
16124 #else
16125 char (*f) () = $ac_func;
16126 #endif
16127 #ifdef __cplusplus
16129 #endif
16132 main ()
16134 return f != $ac_func;
16136 return 0;
16138 _ACEOF
16139 rm -f conftest.$ac_objext conftest$ac_exeext
16140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16141 (eval $ac_link) 2>conftest.er1
16142 ac_status=$?
16143 grep -v '^ *+' conftest.er1 >conftest.err
16144 rm -f conftest.er1
16145 cat conftest.err >&5
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); } &&
16148 { ac_try='test -z "$ac_c_werror_flag"
16149 || test ! -s conftest.err'
16150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16151 (eval $ac_try) 2>&5
16152 ac_status=$?
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); }; } &&
16155 { ac_try='test -s conftest$ac_exeext'
16156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16157 (eval $ac_try) 2>&5
16158 ac_status=$?
16159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16160 (exit $ac_status); }; }; then
16161 eval "$as_ac_var=yes"
16162 else
16163 echo "$as_me: failed program was:" >&5
16164 sed 's/^/| /' conftest.$ac_ext >&5
16166 eval "$as_ac_var=no"
16168 rm -f conftest.err conftest.$ac_objext \
16169 conftest$ac_exeext conftest.$ac_ext
16171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16173 if test `eval echo '${'$as_ac_var'}'` = yes; then
16174 cat >>confdefs.h <<_ACEOF
16175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16176 _ACEOF
16179 done
16181 else
16183 echo "$as_me:$LINENO: checking for _modff declaration" >&5
16184 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16185 if test x${glibcxx_cv_func__modff_use+set} != xset; then
16186 if test "${glibcxx_cv_func__modff_use+set}" = set; then
16187 echo $ECHO_N "(cached) $ECHO_C" >&6
16188 else
16192 ac_ext=cc
16193 ac_cpp='$CXXCPP $CPPFLAGS'
16194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16198 cat >conftest.$ac_ext <<_ACEOF
16199 /* confdefs.h. */
16200 _ACEOF
16201 cat confdefs.h >>conftest.$ac_ext
16202 cat >>conftest.$ac_ext <<_ACEOF
16203 /* end confdefs.h. */
16204 #include <math.h>
16206 main ()
16208 _modff(0, 0);
16210 return 0;
16212 _ACEOF
16213 rm -f conftest.$ac_objext
16214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16215 (eval $ac_compile) 2>conftest.er1
16216 ac_status=$?
16217 grep -v '^ *+' conftest.er1 >conftest.err
16218 rm -f conftest.er1
16219 cat conftest.err >&5
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); } &&
16222 { ac_try='test -z "$ac_cxx_werror_flag"
16223 || test ! -s conftest.err'
16224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16225 (eval $ac_try) 2>&5
16226 ac_status=$?
16227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16228 (exit $ac_status); }; } &&
16229 { ac_try='test -s conftest.$ac_objext'
16230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16231 (eval $ac_try) 2>&5
16232 ac_status=$?
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); }; }; then
16235 glibcxx_cv_func__modff_use=yes
16236 else
16237 echo "$as_me: failed program was:" >&5
16238 sed 's/^/| /' conftest.$ac_ext >&5
16240 glibcxx_cv_func__modff_use=no
16242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16243 ac_ext=c
16244 ac_cpp='$CPP $CPPFLAGS'
16245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16253 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16254 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16256 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16258 for ac_func in _modff
16260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16261 echo "$as_me:$LINENO: checking for $ac_func" >&5
16262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16263 if eval "test \"\${$as_ac_var+set}\" = set"; then
16264 echo $ECHO_N "(cached) $ECHO_C" >&6
16265 else
16266 if test x$gcc_no_link = xyes; then
16267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16269 { (exit 1); exit 1; }; }
16271 cat >conftest.$ac_ext <<_ACEOF
16272 /* confdefs.h. */
16273 _ACEOF
16274 cat confdefs.h >>conftest.$ac_ext
16275 cat >>conftest.$ac_ext <<_ACEOF
16276 /* end confdefs.h. */
16277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16279 #define $ac_func innocuous_$ac_func
16281 /* System header to define __stub macros and hopefully few prototypes,
16282 which can conflict with char $ac_func (); below.
16283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16284 <limits.h> exists even on freestanding compilers. */
16286 #ifdef __STDC__
16287 # include <limits.h>
16288 #else
16289 # include <assert.h>
16290 #endif
16292 #undef $ac_func
16294 /* Override any gcc2 internal prototype to avoid an error. */
16295 #ifdef __cplusplus
16296 extern "C"
16298 #endif
16299 /* We use char because int might match the return type of a gcc2
16300 builtin and then its argument prototype would still apply. */
16301 char $ac_func ();
16302 /* The GNU C library defines this for functions which it implements
16303 to always fail with ENOSYS. Some functions are actually named
16304 something starting with __ and the normal name is an alias. */
16305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16306 choke me
16307 #else
16308 char (*f) () = $ac_func;
16309 #endif
16310 #ifdef __cplusplus
16312 #endif
16315 main ()
16317 return f != $ac_func;
16319 return 0;
16321 _ACEOF
16322 rm -f conftest.$ac_objext conftest$ac_exeext
16323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16324 (eval $ac_link) 2>conftest.er1
16325 ac_status=$?
16326 grep -v '^ *+' conftest.er1 >conftest.err
16327 rm -f conftest.er1
16328 cat conftest.err >&5
16329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16330 (exit $ac_status); } &&
16331 { ac_try='test -z "$ac_c_werror_flag"
16332 || test ! -s conftest.err'
16333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16334 (eval $ac_try) 2>&5
16335 ac_status=$?
16336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16337 (exit $ac_status); }; } &&
16338 { ac_try='test -s conftest$ac_exeext'
16339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16340 (eval $ac_try) 2>&5
16341 ac_status=$?
16342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343 (exit $ac_status); }; }; then
16344 eval "$as_ac_var=yes"
16345 else
16346 echo "$as_me: failed program was:" >&5
16347 sed 's/^/| /' conftest.$ac_ext >&5
16349 eval "$as_ac_var=no"
16351 rm -f conftest.err conftest.$ac_objext \
16352 conftest$ac_exeext conftest.$ac_ext
16354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16356 if test `eval echo '${'$as_ac_var'}'` = yes; then
16357 cat >>confdefs.h <<_ACEOF
16358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16359 _ACEOF
16362 done
16369 echo "$as_me:$LINENO: checking for powf declaration" >&5
16370 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
16371 if test x${glibcxx_cv_func_powf_use+set} != xset; then
16372 if test "${glibcxx_cv_func_powf_use+set}" = set; then
16373 echo $ECHO_N "(cached) $ECHO_C" >&6
16374 else
16378 ac_ext=cc
16379 ac_cpp='$CXXCPP $CPPFLAGS'
16380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16384 cat >conftest.$ac_ext <<_ACEOF
16385 /* confdefs.h. */
16386 _ACEOF
16387 cat confdefs.h >>conftest.$ac_ext
16388 cat >>conftest.$ac_ext <<_ACEOF
16389 /* end confdefs.h. */
16390 #include <math.h>
16392 main ()
16394 powf(0, 0);
16396 return 0;
16398 _ACEOF
16399 rm -f conftest.$ac_objext
16400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16401 (eval $ac_compile) 2>conftest.er1
16402 ac_status=$?
16403 grep -v '^ *+' conftest.er1 >conftest.err
16404 rm -f conftest.er1
16405 cat conftest.err >&5
16406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16407 (exit $ac_status); } &&
16408 { ac_try='test -z "$ac_cxx_werror_flag"
16409 || test ! -s conftest.err'
16410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16411 (eval $ac_try) 2>&5
16412 ac_status=$?
16413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414 (exit $ac_status); }; } &&
16415 { ac_try='test -s conftest.$ac_objext'
16416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16417 (eval $ac_try) 2>&5
16418 ac_status=$?
16419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); }; }; then
16421 glibcxx_cv_func_powf_use=yes
16422 else
16423 echo "$as_me: failed program was:" >&5
16424 sed 's/^/| /' conftest.$ac_ext >&5
16426 glibcxx_cv_func_powf_use=no
16428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16429 ac_ext=c
16430 ac_cpp='$CPP $CPPFLAGS'
16431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16439 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
16440 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
16442 if test x$glibcxx_cv_func_powf_use = x"yes"; then
16444 for ac_func in powf
16446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16447 echo "$as_me:$LINENO: checking for $ac_func" >&5
16448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16449 if eval "test \"\${$as_ac_var+set}\" = set"; then
16450 echo $ECHO_N "(cached) $ECHO_C" >&6
16451 else
16452 if test x$gcc_no_link = xyes; then
16453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16455 { (exit 1); exit 1; }; }
16457 cat >conftest.$ac_ext <<_ACEOF
16458 /* confdefs.h. */
16459 _ACEOF
16460 cat confdefs.h >>conftest.$ac_ext
16461 cat >>conftest.$ac_ext <<_ACEOF
16462 /* end confdefs.h. */
16463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16465 #define $ac_func innocuous_$ac_func
16467 /* System header to define __stub macros and hopefully few prototypes,
16468 which can conflict with char $ac_func (); below.
16469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16470 <limits.h> exists even on freestanding compilers. */
16472 #ifdef __STDC__
16473 # include <limits.h>
16474 #else
16475 # include <assert.h>
16476 #endif
16478 #undef $ac_func
16480 /* Override any gcc2 internal prototype to avoid an error. */
16481 #ifdef __cplusplus
16482 extern "C"
16484 #endif
16485 /* We use char because int might match the return type of a gcc2
16486 builtin and then its argument prototype would still apply. */
16487 char $ac_func ();
16488 /* The GNU C library defines this for functions which it implements
16489 to always fail with ENOSYS. Some functions are actually named
16490 something starting with __ and the normal name is an alias. */
16491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16492 choke me
16493 #else
16494 char (*f) () = $ac_func;
16495 #endif
16496 #ifdef __cplusplus
16498 #endif
16501 main ()
16503 return f != $ac_func;
16505 return 0;
16507 _ACEOF
16508 rm -f conftest.$ac_objext conftest$ac_exeext
16509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16510 (eval $ac_link) 2>conftest.er1
16511 ac_status=$?
16512 grep -v '^ *+' conftest.er1 >conftest.err
16513 rm -f conftest.er1
16514 cat conftest.err >&5
16515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16516 (exit $ac_status); } &&
16517 { ac_try='test -z "$ac_c_werror_flag"
16518 || test ! -s conftest.err'
16519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16520 (eval $ac_try) 2>&5
16521 ac_status=$?
16522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16523 (exit $ac_status); }; } &&
16524 { ac_try='test -s conftest$ac_exeext'
16525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16526 (eval $ac_try) 2>&5
16527 ac_status=$?
16528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16529 (exit $ac_status); }; }; then
16530 eval "$as_ac_var=yes"
16531 else
16532 echo "$as_me: failed program was:" >&5
16533 sed 's/^/| /' conftest.$ac_ext >&5
16535 eval "$as_ac_var=no"
16537 rm -f conftest.err conftest.$ac_objext \
16538 conftest$ac_exeext conftest.$ac_ext
16540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16542 if test `eval echo '${'$as_ac_var'}'` = yes; then
16543 cat >>confdefs.h <<_ACEOF
16544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16545 _ACEOF
16548 done
16550 else
16552 echo "$as_me:$LINENO: checking for _powf declaration" >&5
16553 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
16554 if test x${glibcxx_cv_func__powf_use+set} != xset; then
16555 if test "${glibcxx_cv_func__powf_use+set}" = set; then
16556 echo $ECHO_N "(cached) $ECHO_C" >&6
16557 else
16561 ac_ext=cc
16562 ac_cpp='$CXXCPP $CPPFLAGS'
16563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16567 cat >conftest.$ac_ext <<_ACEOF
16568 /* confdefs.h. */
16569 _ACEOF
16570 cat confdefs.h >>conftest.$ac_ext
16571 cat >>conftest.$ac_ext <<_ACEOF
16572 /* end confdefs.h. */
16573 #include <math.h>
16575 main ()
16577 _powf(0, 0);
16579 return 0;
16581 _ACEOF
16582 rm -f conftest.$ac_objext
16583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16584 (eval $ac_compile) 2>conftest.er1
16585 ac_status=$?
16586 grep -v '^ *+' conftest.er1 >conftest.err
16587 rm -f conftest.er1
16588 cat conftest.err >&5
16589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590 (exit $ac_status); } &&
16591 { ac_try='test -z "$ac_cxx_werror_flag"
16592 || test ! -s conftest.err'
16593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16594 (eval $ac_try) 2>&5
16595 ac_status=$?
16596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16597 (exit $ac_status); }; } &&
16598 { ac_try='test -s conftest.$ac_objext'
16599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16600 (eval $ac_try) 2>&5
16601 ac_status=$?
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); }; }; then
16604 glibcxx_cv_func__powf_use=yes
16605 else
16606 echo "$as_me: failed program was:" >&5
16607 sed 's/^/| /' conftest.$ac_ext >&5
16609 glibcxx_cv_func__powf_use=no
16611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16612 ac_ext=c
16613 ac_cpp='$CPP $CPPFLAGS'
16614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16622 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
16623 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
16625 if test x$glibcxx_cv_func__powf_use = x"yes"; then
16627 for ac_func in _powf
16629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16630 echo "$as_me:$LINENO: checking for $ac_func" >&5
16631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16632 if eval "test \"\${$as_ac_var+set}\" = set"; then
16633 echo $ECHO_N "(cached) $ECHO_C" >&6
16634 else
16635 if test x$gcc_no_link = xyes; then
16636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16638 { (exit 1); exit 1; }; }
16640 cat >conftest.$ac_ext <<_ACEOF
16641 /* confdefs.h. */
16642 _ACEOF
16643 cat confdefs.h >>conftest.$ac_ext
16644 cat >>conftest.$ac_ext <<_ACEOF
16645 /* end confdefs.h. */
16646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16648 #define $ac_func innocuous_$ac_func
16650 /* System header to define __stub macros and hopefully few prototypes,
16651 which can conflict with char $ac_func (); below.
16652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16653 <limits.h> exists even on freestanding compilers. */
16655 #ifdef __STDC__
16656 # include <limits.h>
16657 #else
16658 # include <assert.h>
16659 #endif
16661 #undef $ac_func
16663 /* Override any gcc2 internal prototype to avoid an error. */
16664 #ifdef __cplusplus
16665 extern "C"
16667 #endif
16668 /* We use char because int might match the return type of a gcc2
16669 builtin and then its argument prototype would still apply. */
16670 char $ac_func ();
16671 /* The GNU C library defines this for functions which it implements
16672 to always fail with ENOSYS. Some functions are actually named
16673 something starting with __ and the normal name is an alias. */
16674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16675 choke me
16676 #else
16677 char (*f) () = $ac_func;
16678 #endif
16679 #ifdef __cplusplus
16681 #endif
16684 main ()
16686 return f != $ac_func;
16688 return 0;
16690 _ACEOF
16691 rm -f conftest.$ac_objext conftest$ac_exeext
16692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16693 (eval $ac_link) 2>conftest.er1
16694 ac_status=$?
16695 grep -v '^ *+' conftest.er1 >conftest.err
16696 rm -f conftest.er1
16697 cat conftest.err >&5
16698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16699 (exit $ac_status); } &&
16700 { ac_try='test -z "$ac_c_werror_flag"
16701 || test ! -s conftest.err'
16702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16703 (eval $ac_try) 2>&5
16704 ac_status=$?
16705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16706 (exit $ac_status); }; } &&
16707 { ac_try='test -s conftest$ac_exeext'
16708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16709 (eval $ac_try) 2>&5
16710 ac_status=$?
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); }; }; then
16713 eval "$as_ac_var=yes"
16714 else
16715 echo "$as_me: failed program was:" >&5
16716 sed 's/^/| /' conftest.$ac_ext >&5
16718 eval "$as_ac_var=no"
16720 rm -f conftest.err conftest.$ac_objext \
16721 conftest$ac_exeext conftest.$ac_ext
16723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16725 if test `eval echo '${'$as_ac_var'}'` = yes; then
16726 cat >>confdefs.h <<_ACEOF
16727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16728 _ACEOF
16731 done
16738 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
16739 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
16740 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
16741 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
16742 echo $ECHO_N "(cached) $ECHO_C" >&6
16743 else
16747 ac_ext=cc
16748 ac_cpp='$CXXCPP $CPPFLAGS'
16749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16753 cat >conftest.$ac_ext <<_ACEOF
16754 /* confdefs.h. */
16755 _ACEOF
16756 cat confdefs.h >>conftest.$ac_ext
16757 cat >>conftest.$ac_ext <<_ACEOF
16758 /* end confdefs.h. */
16759 #include <math.h>
16760 #ifdef HAVE_IEEEFP_H
16761 #include <ieeefp.h>
16762 #endif
16765 main ()
16767 sqrtf(0);
16769 return 0;
16771 _ACEOF
16772 rm -f conftest.$ac_objext
16773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16774 (eval $ac_compile) 2>conftest.er1
16775 ac_status=$?
16776 grep -v '^ *+' conftest.er1 >conftest.err
16777 rm -f conftest.er1
16778 cat conftest.err >&5
16779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780 (exit $ac_status); } &&
16781 { ac_try='test -z "$ac_cxx_werror_flag"
16782 || test ! -s conftest.err'
16783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16784 (eval $ac_try) 2>&5
16785 ac_status=$?
16786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16787 (exit $ac_status); }; } &&
16788 { ac_try='test -s conftest.$ac_objext'
16789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16790 (eval $ac_try) 2>&5
16791 ac_status=$?
16792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16793 (exit $ac_status); }; }; then
16794 glibcxx_cv_func_sqrtf_use=yes
16795 else
16796 echo "$as_me: failed program was:" >&5
16797 sed 's/^/| /' conftest.$ac_ext >&5
16799 glibcxx_cv_func_sqrtf_use=no
16801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16802 ac_ext=c
16803 ac_cpp='$CPP $CPPFLAGS'
16804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16812 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
16813 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
16815 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
16817 for ac_func in sqrtf
16819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16820 echo "$as_me:$LINENO: checking for $ac_func" >&5
16821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16822 if eval "test \"\${$as_ac_var+set}\" = set"; then
16823 echo $ECHO_N "(cached) $ECHO_C" >&6
16824 else
16825 if test x$gcc_no_link = xyes; then
16826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16828 { (exit 1); exit 1; }; }
16830 cat >conftest.$ac_ext <<_ACEOF
16831 /* confdefs.h. */
16832 _ACEOF
16833 cat confdefs.h >>conftest.$ac_ext
16834 cat >>conftest.$ac_ext <<_ACEOF
16835 /* end confdefs.h. */
16836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16838 #define $ac_func innocuous_$ac_func
16840 /* System header to define __stub macros and hopefully few prototypes,
16841 which can conflict with char $ac_func (); below.
16842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16843 <limits.h> exists even on freestanding compilers. */
16845 #ifdef __STDC__
16846 # include <limits.h>
16847 #else
16848 # include <assert.h>
16849 #endif
16851 #undef $ac_func
16853 /* Override any gcc2 internal prototype to avoid an error. */
16854 #ifdef __cplusplus
16855 extern "C"
16857 #endif
16858 /* We use char because int might match the return type of a gcc2
16859 builtin and then its argument prototype would still apply. */
16860 char $ac_func ();
16861 /* The GNU C library defines this for functions which it implements
16862 to always fail with ENOSYS. Some functions are actually named
16863 something starting with __ and the normal name is an alias. */
16864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16865 choke me
16866 #else
16867 char (*f) () = $ac_func;
16868 #endif
16869 #ifdef __cplusplus
16871 #endif
16874 main ()
16876 return f != $ac_func;
16878 return 0;
16880 _ACEOF
16881 rm -f conftest.$ac_objext conftest$ac_exeext
16882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16883 (eval $ac_link) 2>conftest.er1
16884 ac_status=$?
16885 grep -v '^ *+' conftest.er1 >conftest.err
16886 rm -f conftest.er1
16887 cat conftest.err >&5
16888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16889 (exit $ac_status); } &&
16890 { ac_try='test -z "$ac_c_werror_flag"
16891 || test ! -s conftest.err'
16892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16893 (eval $ac_try) 2>&5
16894 ac_status=$?
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); }; } &&
16897 { ac_try='test -s conftest$ac_exeext'
16898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16899 (eval $ac_try) 2>&5
16900 ac_status=$?
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); }; }; then
16903 eval "$as_ac_var=yes"
16904 else
16905 echo "$as_me: failed program was:" >&5
16906 sed 's/^/| /' conftest.$ac_ext >&5
16908 eval "$as_ac_var=no"
16910 rm -f conftest.err conftest.$ac_objext \
16911 conftest$ac_exeext conftest.$ac_ext
16913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16915 if test `eval echo '${'$as_ac_var'}'` = yes; then
16916 cat >>confdefs.h <<_ACEOF
16917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16918 _ACEOF
16921 done
16923 else
16925 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
16926 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
16927 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
16928 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
16929 echo $ECHO_N "(cached) $ECHO_C" >&6
16930 else
16934 ac_ext=cc
16935 ac_cpp='$CXXCPP $CPPFLAGS'
16936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16940 cat >conftest.$ac_ext <<_ACEOF
16941 /* confdefs.h. */
16942 _ACEOF
16943 cat confdefs.h >>conftest.$ac_ext
16944 cat >>conftest.$ac_ext <<_ACEOF
16945 /* end confdefs.h. */
16946 #include <math.h>
16947 #ifdef HAVE_IEEEFP_H
16948 #include <ieeefp.h>
16949 #endif
16952 main ()
16954 _sqrtf(0);
16956 return 0;
16958 _ACEOF
16959 rm -f conftest.$ac_objext
16960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16961 (eval $ac_compile) 2>conftest.er1
16962 ac_status=$?
16963 grep -v '^ *+' conftest.er1 >conftest.err
16964 rm -f conftest.er1
16965 cat conftest.err >&5
16966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967 (exit $ac_status); } &&
16968 { ac_try='test -z "$ac_cxx_werror_flag"
16969 || test ! -s conftest.err'
16970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16971 (eval $ac_try) 2>&5
16972 ac_status=$?
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); }; } &&
16975 { ac_try='test -s conftest.$ac_objext'
16976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16977 (eval $ac_try) 2>&5
16978 ac_status=$?
16979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980 (exit $ac_status); }; }; then
16981 glibcxx_cv_func__sqrtf_use=yes
16982 else
16983 echo "$as_me: failed program was:" >&5
16984 sed 's/^/| /' conftest.$ac_ext >&5
16986 glibcxx_cv_func__sqrtf_use=no
16988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16989 ac_ext=c
16990 ac_cpp='$CPP $CPPFLAGS'
16991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16999 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
17000 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
17002 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
17004 for ac_func in _sqrtf
17006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17007 echo "$as_me:$LINENO: checking for $ac_func" >&5
17008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17009 if eval "test \"\${$as_ac_var+set}\" = set"; then
17010 echo $ECHO_N "(cached) $ECHO_C" >&6
17011 else
17012 if test x$gcc_no_link = xyes; then
17013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17015 { (exit 1); exit 1; }; }
17017 cat >conftest.$ac_ext <<_ACEOF
17018 /* confdefs.h. */
17019 _ACEOF
17020 cat confdefs.h >>conftest.$ac_ext
17021 cat >>conftest.$ac_ext <<_ACEOF
17022 /* end confdefs.h. */
17023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17025 #define $ac_func innocuous_$ac_func
17027 /* System header to define __stub macros and hopefully few prototypes,
17028 which can conflict with char $ac_func (); below.
17029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17030 <limits.h> exists even on freestanding compilers. */
17032 #ifdef __STDC__
17033 # include <limits.h>
17034 #else
17035 # include <assert.h>
17036 #endif
17038 #undef $ac_func
17040 /* Override any gcc2 internal prototype to avoid an error. */
17041 #ifdef __cplusplus
17042 extern "C"
17044 #endif
17045 /* We use char because int might match the return type of a gcc2
17046 builtin and then its argument prototype would still apply. */
17047 char $ac_func ();
17048 /* The GNU C library defines this for functions which it implements
17049 to always fail with ENOSYS. Some functions are actually named
17050 something starting with __ and the normal name is an alias. */
17051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17052 choke me
17053 #else
17054 char (*f) () = $ac_func;
17055 #endif
17056 #ifdef __cplusplus
17058 #endif
17061 main ()
17063 return f != $ac_func;
17065 return 0;
17067 _ACEOF
17068 rm -f conftest.$ac_objext conftest$ac_exeext
17069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17070 (eval $ac_link) 2>conftest.er1
17071 ac_status=$?
17072 grep -v '^ *+' conftest.er1 >conftest.err
17073 rm -f conftest.er1
17074 cat conftest.err >&5
17075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17076 (exit $ac_status); } &&
17077 { ac_try='test -z "$ac_c_werror_flag"
17078 || test ! -s conftest.err'
17079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17080 (eval $ac_try) 2>&5
17081 ac_status=$?
17082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083 (exit $ac_status); }; } &&
17084 { ac_try='test -s conftest$ac_exeext'
17085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17086 (eval $ac_try) 2>&5
17087 ac_status=$?
17088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17089 (exit $ac_status); }; }; then
17090 eval "$as_ac_var=yes"
17091 else
17092 echo "$as_me: failed program was:" >&5
17093 sed 's/^/| /' conftest.$ac_ext >&5
17095 eval "$as_ac_var=no"
17097 rm -f conftest.err conftest.$ac_objext \
17098 conftest$ac_exeext conftest.$ac_ext
17100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17102 if test `eval echo '${'$as_ac_var'}'` = yes; then
17103 cat >>confdefs.h <<_ACEOF
17104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17105 _ACEOF
17108 done
17115 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
17116 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
17117 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
17118 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
17119 echo $ECHO_N "(cached) $ECHO_C" >&6
17120 else
17124 ac_ext=cc
17125 ac_cpp='$CXXCPP $CPPFLAGS'
17126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17130 cat >conftest.$ac_ext <<_ACEOF
17131 /* confdefs.h. */
17132 _ACEOF
17133 cat confdefs.h >>conftest.$ac_ext
17134 cat >>conftest.$ac_ext <<_ACEOF
17135 /* end confdefs.h. */
17136 #include <math.h>
17138 main ()
17140 sincosf(0, 0, 0);
17142 return 0;
17144 _ACEOF
17145 rm -f conftest.$ac_objext
17146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17147 (eval $ac_compile) 2>conftest.er1
17148 ac_status=$?
17149 grep -v '^ *+' conftest.er1 >conftest.err
17150 rm -f conftest.er1
17151 cat conftest.err >&5
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); } &&
17154 { ac_try='test -z "$ac_cxx_werror_flag"
17155 || test ! -s conftest.err'
17156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17157 (eval $ac_try) 2>&5
17158 ac_status=$?
17159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160 (exit $ac_status); }; } &&
17161 { ac_try='test -s conftest.$ac_objext'
17162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17163 (eval $ac_try) 2>&5
17164 ac_status=$?
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); }; }; then
17167 glibcxx_cv_func_sincosf_use=yes
17168 else
17169 echo "$as_me: failed program was:" >&5
17170 sed 's/^/| /' conftest.$ac_ext >&5
17172 glibcxx_cv_func_sincosf_use=no
17174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17175 ac_ext=c
17176 ac_cpp='$CPP $CPPFLAGS'
17177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17185 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
17186 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17188 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17190 for ac_func in sincosf
17192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17193 echo "$as_me:$LINENO: checking for $ac_func" >&5
17194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17195 if eval "test \"\${$as_ac_var+set}\" = set"; then
17196 echo $ECHO_N "(cached) $ECHO_C" >&6
17197 else
17198 if test x$gcc_no_link = xyes; then
17199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17201 { (exit 1); exit 1; }; }
17203 cat >conftest.$ac_ext <<_ACEOF
17204 /* confdefs.h. */
17205 _ACEOF
17206 cat confdefs.h >>conftest.$ac_ext
17207 cat >>conftest.$ac_ext <<_ACEOF
17208 /* end confdefs.h. */
17209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17211 #define $ac_func innocuous_$ac_func
17213 /* System header to define __stub macros and hopefully few prototypes,
17214 which can conflict with char $ac_func (); below.
17215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17216 <limits.h> exists even on freestanding compilers. */
17218 #ifdef __STDC__
17219 # include <limits.h>
17220 #else
17221 # include <assert.h>
17222 #endif
17224 #undef $ac_func
17226 /* Override any gcc2 internal prototype to avoid an error. */
17227 #ifdef __cplusplus
17228 extern "C"
17230 #endif
17231 /* We use char because int might match the return type of a gcc2
17232 builtin and then its argument prototype would still apply. */
17233 char $ac_func ();
17234 /* The GNU C library defines this for functions which it implements
17235 to always fail with ENOSYS. Some functions are actually named
17236 something starting with __ and the normal name is an alias. */
17237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17238 choke me
17239 #else
17240 char (*f) () = $ac_func;
17241 #endif
17242 #ifdef __cplusplus
17244 #endif
17247 main ()
17249 return f != $ac_func;
17251 return 0;
17253 _ACEOF
17254 rm -f conftest.$ac_objext conftest$ac_exeext
17255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17256 (eval $ac_link) 2>conftest.er1
17257 ac_status=$?
17258 grep -v '^ *+' conftest.er1 >conftest.err
17259 rm -f conftest.er1
17260 cat conftest.err >&5
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); } &&
17263 { ac_try='test -z "$ac_c_werror_flag"
17264 || test ! -s conftest.err'
17265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17266 (eval $ac_try) 2>&5
17267 ac_status=$?
17268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17269 (exit $ac_status); }; } &&
17270 { ac_try='test -s conftest$ac_exeext'
17271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17272 (eval $ac_try) 2>&5
17273 ac_status=$?
17274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 (exit $ac_status); }; }; then
17276 eval "$as_ac_var=yes"
17277 else
17278 echo "$as_me: failed program was:" >&5
17279 sed 's/^/| /' conftest.$ac_ext >&5
17281 eval "$as_ac_var=no"
17283 rm -f conftest.err conftest.$ac_objext \
17284 conftest$ac_exeext conftest.$ac_ext
17286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17288 if test `eval echo '${'$as_ac_var'}'` = yes; then
17289 cat >>confdefs.h <<_ACEOF
17290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17291 _ACEOF
17294 done
17296 else
17298 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17299 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17300 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17301 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17302 echo $ECHO_N "(cached) $ECHO_C" >&6
17303 else
17307 ac_ext=cc
17308 ac_cpp='$CXXCPP $CPPFLAGS'
17309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17313 cat >conftest.$ac_ext <<_ACEOF
17314 /* confdefs.h. */
17315 _ACEOF
17316 cat confdefs.h >>conftest.$ac_ext
17317 cat >>conftest.$ac_ext <<_ACEOF
17318 /* end confdefs.h. */
17319 #include <math.h>
17321 main ()
17323 _sincosf(0, 0, 0);
17325 return 0;
17327 _ACEOF
17328 rm -f conftest.$ac_objext
17329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17330 (eval $ac_compile) 2>conftest.er1
17331 ac_status=$?
17332 grep -v '^ *+' conftest.er1 >conftest.err
17333 rm -f conftest.er1
17334 cat conftest.err >&5
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); } &&
17337 { ac_try='test -z "$ac_cxx_werror_flag"
17338 || test ! -s conftest.err'
17339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17340 (eval $ac_try) 2>&5
17341 ac_status=$?
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); }; } &&
17344 { ac_try='test -s conftest.$ac_objext'
17345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17346 (eval $ac_try) 2>&5
17347 ac_status=$?
17348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349 (exit $ac_status); }; }; then
17350 glibcxx_cv_func__sincosf_use=yes
17351 else
17352 echo "$as_me: failed program was:" >&5
17353 sed 's/^/| /' conftest.$ac_ext >&5
17355 glibcxx_cv_func__sincosf_use=no
17357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17358 ac_ext=c
17359 ac_cpp='$CPP $CPPFLAGS'
17360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17368 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
17369 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
17371 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
17373 for ac_func in _sincosf
17375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17376 echo "$as_me:$LINENO: checking for $ac_func" >&5
17377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17378 if eval "test \"\${$as_ac_var+set}\" = set"; then
17379 echo $ECHO_N "(cached) $ECHO_C" >&6
17380 else
17381 if test x$gcc_no_link = xyes; then
17382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17384 { (exit 1); exit 1; }; }
17386 cat >conftest.$ac_ext <<_ACEOF
17387 /* confdefs.h. */
17388 _ACEOF
17389 cat confdefs.h >>conftest.$ac_ext
17390 cat >>conftest.$ac_ext <<_ACEOF
17391 /* end confdefs.h. */
17392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17394 #define $ac_func innocuous_$ac_func
17396 /* System header to define __stub macros and hopefully few prototypes,
17397 which can conflict with char $ac_func (); below.
17398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17399 <limits.h> exists even on freestanding compilers. */
17401 #ifdef __STDC__
17402 # include <limits.h>
17403 #else
17404 # include <assert.h>
17405 #endif
17407 #undef $ac_func
17409 /* Override any gcc2 internal prototype to avoid an error. */
17410 #ifdef __cplusplus
17411 extern "C"
17413 #endif
17414 /* We use char because int might match the return type of a gcc2
17415 builtin and then its argument prototype would still apply. */
17416 char $ac_func ();
17417 /* The GNU C library defines this for functions which it implements
17418 to always fail with ENOSYS. Some functions are actually named
17419 something starting with __ and the normal name is an alias. */
17420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17421 choke me
17422 #else
17423 char (*f) () = $ac_func;
17424 #endif
17425 #ifdef __cplusplus
17427 #endif
17430 main ()
17432 return f != $ac_func;
17434 return 0;
17436 _ACEOF
17437 rm -f conftest.$ac_objext conftest$ac_exeext
17438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17439 (eval $ac_link) 2>conftest.er1
17440 ac_status=$?
17441 grep -v '^ *+' conftest.er1 >conftest.err
17442 rm -f conftest.er1
17443 cat conftest.err >&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); } &&
17446 { ac_try='test -z "$ac_c_werror_flag"
17447 || test ! -s conftest.err'
17448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17449 (eval $ac_try) 2>&5
17450 ac_status=$?
17451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452 (exit $ac_status); }; } &&
17453 { ac_try='test -s conftest$ac_exeext'
17454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17455 (eval $ac_try) 2>&5
17456 ac_status=$?
17457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458 (exit $ac_status); }; }; then
17459 eval "$as_ac_var=yes"
17460 else
17461 echo "$as_me: failed program was:" >&5
17462 sed 's/^/| /' conftest.$ac_ext >&5
17464 eval "$as_ac_var=no"
17466 rm -f conftest.err conftest.$ac_objext \
17467 conftest$ac_exeext conftest.$ac_ext
17469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17471 if test `eval echo '${'$as_ac_var'}'` = yes; then
17472 cat >>confdefs.h <<_ACEOF
17473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17474 _ACEOF
17477 done
17484 echo "$as_me:$LINENO: checking for finitef declaration" >&5
17485 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
17486 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
17487 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
17488 echo $ECHO_N "(cached) $ECHO_C" >&6
17489 else
17493 ac_ext=cc
17494 ac_cpp='$CXXCPP $CPPFLAGS'
17495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17499 cat >conftest.$ac_ext <<_ACEOF
17500 /* confdefs.h. */
17501 _ACEOF
17502 cat confdefs.h >>conftest.$ac_ext
17503 cat >>conftest.$ac_ext <<_ACEOF
17504 /* end confdefs.h. */
17505 #include <math.h>
17506 #ifdef HAVE_IEEEFP_H
17507 #include <ieeefp.h>
17508 #endif
17511 main ()
17513 finitef(0);
17515 return 0;
17517 _ACEOF
17518 rm -f conftest.$ac_objext
17519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17520 (eval $ac_compile) 2>conftest.er1
17521 ac_status=$?
17522 grep -v '^ *+' conftest.er1 >conftest.err
17523 rm -f conftest.er1
17524 cat conftest.err >&5
17525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17526 (exit $ac_status); } &&
17527 { ac_try='test -z "$ac_cxx_werror_flag"
17528 || test ! -s conftest.err'
17529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17530 (eval $ac_try) 2>&5
17531 ac_status=$?
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); }; } &&
17534 { ac_try='test -s conftest.$ac_objext'
17535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17536 (eval $ac_try) 2>&5
17537 ac_status=$?
17538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17539 (exit $ac_status); }; }; then
17540 glibcxx_cv_func_finitef_use=yes
17541 else
17542 echo "$as_me: failed program was:" >&5
17543 sed 's/^/| /' conftest.$ac_ext >&5
17545 glibcxx_cv_func_finitef_use=no
17547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17548 ac_ext=c
17549 ac_cpp='$CPP $CPPFLAGS'
17550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17558 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
17559 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
17561 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
17563 for ac_func in finitef
17565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17566 echo "$as_me:$LINENO: checking for $ac_func" >&5
17567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17568 if eval "test \"\${$as_ac_var+set}\" = set"; then
17569 echo $ECHO_N "(cached) $ECHO_C" >&6
17570 else
17571 if test x$gcc_no_link = xyes; then
17572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17574 { (exit 1); exit 1; }; }
17576 cat >conftest.$ac_ext <<_ACEOF
17577 /* confdefs.h. */
17578 _ACEOF
17579 cat confdefs.h >>conftest.$ac_ext
17580 cat >>conftest.$ac_ext <<_ACEOF
17581 /* end confdefs.h. */
17582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17584 #define $ac_func innocuous_$ac_func
17586 /* System header to define __stub macros and hopefully few prototypes,
17587 which can conflict with char $ac_func (); below.
17588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17589 <limits.h> exists even on freestanding compilers. */
17591 #ifdef __STDC__
17592 # include <limits.h>
17593 #else
17594 # include <assert.h>
17595 #endif
17597 #undef $ac_func
17599 /* Override any gcc2 internal prototype to avoid an error. */
17600 #ifdef __cplusplus
17601 extern "C"
17603 #endif
17604 /* We use char because int might match the return type of a gcc2
17605 builtin and then its argument prototype would still apply. */
17606 char $ac_func ();
17607 /* The GNU C library defines this for functions which it implements
17608 to always fail with ENOSYS. Some functions are actually named
17609 something starting with __ and the normal name is an alias. */
17610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17611 choke me
17612 #else
17613 char (*f) () = $ac_func;
17614 #endif
17615 #ifdef __cplusplus
17617 #endif
17620 main ()
17622 return f != $ac_func;
17624 return 0;
17626 _ACEOF
17627 rm -f conftest.$ac_objext conftest$ac_exeext
17628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17629 (eval $ac_link) 2>conftest.er1
17630 ac_status=$?
17631 grep -v '^ *+' conftest.er1 >conftest.err
17632 rm -f conftest.er1
17633 cat conftest.err >&5
17634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635 (exit $ac_status); } &&
17636 { ac_try='test -z "$ac_c_werror_flag"
17637 || test ! -s conftest.err'
17638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17639 (eval $ac_try) 2>&5
17640 ac_status=$?
17641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17642 (exit $ac_status); }; } &&
17643 { ac_try='test -s conftest$ac_exeext'
17644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17645 (eval $ac_try) 2>&5
17646 ac_status=$?
17647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17648 (exit $ac_status); }; }; then
17649 eval "$as_ac_var=yes"
17650 else
17651 echo "$as_me: failed program was:" >&5
17652 sed 's/^/| /' conftest.$ac_ext >&5
17654 eval "$as_ac_var=no"
17656 rm -f conftest.err conftest.$ac_objext \
17657 conftest$ac_exeext conftest.$ac_ext
17659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17661 if test `eval echo '${'$as_ac_var'}'` = yes; then
17662 cat >>confdefs.h <<_ACEOF
17663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17664 _ACEOF
17667 done
17669 else
17671 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
17672 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
17673 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
17674 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
17675 echo $ECHO_N "(cached) $ECHO_C" >&6
17676 else
17680 ac_ext=cc
17681 ac_cpp='$CXXCPP $CPPFLAGS'
17682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17686 cat >conftest.$ac_ext <<_ACEOF
17687 /* confdefs.h. */
17688 _ACEOF
17689 cat confdefs.h >>conftest.$ac_ext
17690 cat >>conftest.$ac_ext <<_ACEOF
17691 /* end confdefs.h. */
17692 #include <math.h>
17693 #ifdef HAVE_IEEEFP_H
17694 #include <ieeefp.h>
17695 #endif
17698 main ()
17700 _finitef(0);
17702 return 0;
17704 _ACEOF
17705 rm -f conftest.$ac_objext
17706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17707 (eval $ac_compile) 2>conftest.er1
17708 ac_status=$?
17709 grep -v '^ *+' conftest.er1 >conftest.err
17710 rm -f conftest.er1
17711 cat conftest.err >&5
17712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713 (exit $ac_status); } &&
17714 { ac_try='test -z "$ac_cxx_werror_flag"
17715 || test ! -s conftest.err'
17716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17717 (eval $ac_try) 2>&5
17718 ac_status=$?
17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720 (exit $ac_status); }; } &&
17721 { ac_try='test -s conftest.$ac_objext'
17722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17723 (eval $ac_try) 2>&5
17724 ac_status=$?
17725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17726 (exit $ac_status); }; }; then
17727 glibcxx_cv_func__finitef_use=yes
17728 else
17729 echo "$as_me: failed program was:" >&5
17730 sed 's/^/| /' conftest.$ac_ext >&5
17732 glibcxx_cv_func__finitef_use=no
17734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17735 ac_ext=c
17736 ac_cpp='$CPP $CPPFLAGS'
17737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17745 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
17746 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
17748 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
17750 for ac_func in _finitef
17752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17753 echo "$as_me:$LINENO: checking for $ac_func" >&5
17754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17755 if eval "test \"\${$as_ac_var+set}\" = set"; then
17756 echo $ECHO_N "(cached) $ECHO_C" >&6
17757 else
17758 if test x$gcc_no_link = xyes; then
17759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17761 { (exit 1); exit 1; }; }
17763 cat >conftest.$ac_ext <<_ACEOF
17764 /* confdefs.h. */
17765 _ACEOF
17766 cat confdefs.h >>conftest.$ac_ext
17767 cat >>conftest.$ac_ext <<_ACEOF
17768 /* end confdefs.h. */
17769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17771 #define $ac_func innocuous_$ac_func
17773 /* System header to define __stub macros and hopefully few prototypes,
17774 which can conflict with char $ac_func (); below.
17775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17776 <limits.h> exists even on freestanding compilers. */
17778 #ifdef __STDC__
17779 # include <limits.h>
17780 #else
17781 # include <assert.h>
17782 #endif
17784 #undef $ac_func
17786 /* Override any gcc2 internal prototype to avoid an error. */
17787 #ifdef __cplusplus
17788 extern "C"
17790 #endif
17791 /* We use char because int might match the return type of a gcc2
17792 builtin and then its argument prototype would still apply. */
17793 char $ac_func ();
17794 /* The GNU C library defines this for functions which it implements
17795 to always fail with ENOSYS. Some functions are actually named
17796 something starting with __ and the normal name is an alias. */
17797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17798 choke me
17799 #else
17800 char (*f) () = $ac_func;
17801 #endif
17802 #ifdef __cplusplus
17804 #endif
17807 main ()
17809 return f != $ac_func;
17811 return 0;
17813 _ACEOF
17814 rm -f conftest.$ac_objext conftest$ac_exeext
17815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17816 (eval $ac_link) 2>conftest.er1
17817 ac_status=$?
17818 grep -v '^ *+' conftest.er1 >conftest.err
17819 rm -f conftest.er1
17820 cat conftest.err >&5
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); } &&
17823 { ac_try='test -z "$ac_c_werror_flag"
17824 || test ! -s conftest.err'
17825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17826 (eval $ac_try) 2>&5
17827 ac_status=$?
17828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17829 (exit $ac_status); }; } &&
17830 { ac_try='test -s conftest$ac_exeext'
17831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17832 (eval $ac_try) 2>&5
17833 ac_status=$?
17834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17835 (exit $ac_status); }; }; then
17836 eval "$as_ac_var=yes"
17837 else
17838 echo "$as_me: failed program was:" >&5
17839 sed 's/^/| /' conftest.$ac_ext >&5
17841 eval "$as_ac_var=no"
17843 rm -f conftest.err conftest.$ac_objext \
17844 conftest$ac_exeext conftest.$ac_ext
17846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17848 if test `eval echo '${'$as_ac_var'}'` = yes; then
17849 cat >>confdefs.h <<_ACEOF
17850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17851 _ACEOF
17854 done
17861 echo "$as_me:$LINENO: checking for long double trig functions" >&5
17862 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
17863 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
17864 echo $ECHO_N "(cached) $ECHO_C" >&6
17865 else
17869 ac_ext=cc
17870 ac_cpp='$CXXCPP $CPPFLAGS'
17871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17875 cat >conftest.$ac_ext <<_ACEOF
17876 /* confdefs.h. */
17877 _ACEOF
17878 cat confdefs.h >>conftest.$ac_ext
17879 cat >>conftest.$ac_ext <<_ACEOF
17880 /* end confdefs.h. */
17881 #include <math.h>
17883 main ()
17885 `for x in acosl asinl atanl \
17886 cosl sinl tanl \
17887 coshl sinhl tanhl; do echo "$x (0);"; done`
17889 return 0;
17891 _ACEOF
17892 rm -f conftest.$ac_objext
17893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17894 (eval $ac_compile) 2>conftest.er1
17895 ac_status=$?
17896 grep -v '^ *+' conftest.er1 >conftest.err
17897 rm -f conftest.er1
17898 cat conftest.err >&5
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); } &&
17901 { ac_try='test -z "$ac_cxx_werror_flag"
17902 || test ! -s conftest.err'
17903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17904 (eval $ac_try) 2>&5
17905 ac_status=$?
17906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907 (exit $ac_status); }; } &&
17908 { ac_try='test -s conftest.$ac_objext'
17909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17910 (eval $ac_try) 2>&5
17911 ac_status=$?
17912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913 (exit $ac_status); }; }; then
17914 glibcxx_cv_func_long_double_trig_use=yes
17915 else
17916 echo "$as_me: failed program was:" >&5
17917 sed 's/^/| /' conftest.$ac_ext >&5
17919 glibcxx_cv_func_long_double_trig_use=no
17921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17922 ac_ext=c
17923 ac_cpp='$CPP $CPPFLAGS'
17924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17930 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
17931 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
17932 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
17942 for ac_func in acosl asinl atanl \
17943 cosl sinl tanl \
17944 coshl sinhl tanhl
17946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17947 echo "$as_me:$LINENO: checking for $ac_func" >&5
17948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17949 if eval "test \"\${$as_ac_var+set}\" = set"; then
17950 echo $ECHO_N "(cached) $ECHO_C" >&6
17951 else
17952 if test x$gcc_no_link = xyes; then
17953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17955 { (exit 1); exit 1; }; }
17957 cat >conftest.$ac_ext <<_ACEOF
17958 /* confdefs.h. */
17959 _ACEOF
17960 cat confdefs.h >>conftest.$ac_ext
17961 cat >>conftest.$ac_ext <<_ACEOF
17962 /* end confdefs.h. */
17963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17965 #define $ac_func innocuous_$ac_func
17967 /* System header to define __stub macros and hopefully few prototypes,
17968 which can conflict with char $ac_func (); below.
17969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17970 <limits.h> exists even on freestanding compilers. */
17972 #ifdef __STDC__
17973 # include <limits.h>
17974 #else
17975 # include <assert.h>
17976 #endif
17978 #undef $ac_func
17980 /* Override any gcc2 internal prototype to avoid an error. */
17981 #ifdef __cplusplus
17982 extern "C"
17984 #endif
17985 /* We use char because int might match the return type of a gcc2
17986 builtin and then its argument prototype would still apply. */
17987 char $ac_func ();
17988 /* The GNU C library defines this for functions which it implements
17989 to always fail with ENOSYS. Some functions are actually named
17990 something starting with __ and the normal name is an alias. */
17991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17992 choke me
17993 #else
17994 char (*f) () = $ac_func;
17995 #endif
17996 #ifdef __cplusplus
17998 #endif
18001 main ()
18003 return f != $ac_func;
18005 return 0;
18007 _ACEOF
18008 rm -f conftest.$ac_objext conftest$ac_exeext
18009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18010 (eval $ac_link) 2>conftest.er1
18011 ac_status=$?
18012 grep -v '^ *+' conftest.er1 >conftest.err
18013 rm -f conftest.er1
18014 cat conftest.err >&5
18015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18016 (exit $ac_status); } &&
18017 { ac_try='test -z "$ac_c_werror_flag"
18018 || test ! -s conftest.err'
18019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18020 (eval $ac_try) 2>&5
18021 ac_status=$?
18022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18023 (exit $ac_status); }; } &&
18024 { ac_try='test -s conftest$ac_exeext'
18025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18026 (eval $ac_try) 2>&5
18027 ac_status=$?
18028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18029 (exit $ac_status); }; }; then
18030 eval "$as_ac_var=yes"
18031 else
18032 echo "$as_me: failed program was:" >&5
18033 sed 's/^/| /' conftest.$ac_ext >&5
18035 eval "$as_ac_var=no"
18037 rm -f conftest.err conftest.$ac_objext \
18038 conftest$ac_exeext conftest.$ac_ext
18040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18042 if test `eval echo '${'$as_ac_var'}'` = yes; then
18043 cat >>confdefs.h <<_ACEOF
18044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18045 _ACEOF
18048 done
18053 echo "$as_me:$LINENO: checking for long double round functions" >&5
18054 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
18055 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
18056 echo $ECHO_N "(cached) $ECHO_C" >&6
18057 else
18061 ac_ext=cc
18062 ac_cpp='$CXXCPP $CPPFLAGS'
18063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18067 cat >conftest.$ac_ext <<_ACEOF
18068 /* confdefs.h. */
18069 _ACEOF
18070 cat confdefs.h >>conftest.$ac_ext
18071 cat >>conftest.$ac_ext <<_ACEOF
18072 /* end confdefs.h. */
18073 #include <math.h>
18075 main ()
18077 `for x in ceill floorl; do echo "$x (0);"; done`
18079 return 0;
18081 _ACEOF
18082 rm -f conftest.$ac_objext
18083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18084 (eval $ac_compile) 2>conftest.er1
18085 ac_status=$?
18086 grep -v '^ *+' conftest.er1 >conftest.err
18087 rm -f conftest.er1
18088 cat conftest.err >&5
18089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18090 (exit $ac_status); } &&
18091 { ac_try='test -z "$ac_cxx_werror_flag"
18092 || test ! -s conftest.err'
18093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18094 (eval $ac_try) 2>&5
18095 ac_status=$?
18096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097 (exit $ac_status); }; } &&
18098 { ac_try='test -s conftest.$ac_objext'
18099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18100 (eval $ac_try) 2>&5
18101 ac_status=$?
18102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18103 (exit $ac_status); }; }; then
18104 glibcxx_cv_func_long_double_round_use=yes
18105 else
18106 echo "$as_me: failed program was:" >&5
18107 sed 's/^/| /' conftest.$ac_ext >&5
18109 glibcxx_cv_func_long_double_round_use=no
18111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18112 ac_ext=c
18113 ac_cpp='$CPP $CPPFLAGS'
18114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18120 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
18121 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
18122 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
18125 for ac_func in ceill floorl
18127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18128 echo "$as_me:$LINENO: checking for $ac_func" >&5
18129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18130 if eval "test \"\${$as_ac_var+set}\" = set"; then
18131 echo $ECHO_N "(cached) $ECHO_C" >&6
18132 else
18133 if test x$gcc_no_link = xyes; then
18134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18136 { (exit 1); exit 1; }; }
18138 cat >conftest.$ac_ext <<_ACEOF
18139 /* confdefs.h. */
18140 _ACEOF
18141 cat confdefs.h >>conftest.$ac_ext
18142 cat >>conftest.$ac_ext <<_ACEOF
18143 /* end confdefs.h. */
18144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18146 #define $ac_func innocuous_$ac_func
18148 /* System header to define __stub macros and hopefully few prototypes,
18149 which can conflict with char $ac_func (); below.
18150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18151 <limits.h> exists even on freestanding compilers. */
18153 #ifdef __STDC__
18154 # include <limits.h>
18155 #else
18156 # include <assert.h>
18157 #endif
18159 #undef $ac_func
18161 /* Override any gcc2 internal prototype to avoid an error. */
18162 #ifdef __cplusplus
18163 extern "C"
18165 #endif
18166 /* We use char because int might match the return type of a gcc2
18167 builtin and then its argument prototype would still apply. */
18168 char $ac_func ();
18169 /* The GNU C library defines this for functions which it implements
18170 to always fail with ENOSYS. Some functions are actually named
18171 something starting with __ and the normal name is an alias. */
18172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18173 choke me
18174 #else
18175 char (*f) () = $ac_func;
18176 #endif
18177 #ifdef __cplusplus
18179 #endif
18182 main ()
18184 return f != $ac_func;
18186 return 0;
18188 _ACEOF
18189 rm -f conftest.$ac_objext conftest$ac_exeext
18190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18191 (eval $ac_link) 2>conftest.er1
18192 ac_status=$?
18193 grep -v '^ *+' conftest.er1 >conftest.err
18194 rm -f conftest.er1
18195 cat conftest.err >&5
18196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18197 (exit $ac_status); } &&
18198 { ac_try='test -z "$ac_c_werror_flag"
18199 || test ! -s conftest.err'
18200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18201 (eval $ac_try) 2>&5
18202 ac_status=$?
18203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204 (exit $ac_status); }; } &&
18205 { ac_try='test -s conftest$ac_exeext'
18206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18207 (eval $ac_try) 2>&5
18208 ac_status=$?
18209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210 (exit $ac_status); }; }; then
18211 eval "$as_ac_var=yes"
18212 else
18213 echo "$as_me: failed program was:" >&5
18214 sed 's/^/| /' conftest.$ac_ext >&5
18216 eval "$as_ac_var=no"
18218 rm -f conftest.err conftest.$ac_objext \
18219 conftest$ac_exeext conftest.$ac_ext
18221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18223 if test `eval echo '${'$as_ac_var'}'` = yes; then
18224 cat >>confdefs.h <<_ACEOF
18225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18226 _ACEOF
18229 done
18235 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
18236 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
18237 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
18238 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
18239 echo $ECHO_N "(cached) $ECHO_C" >&6
18240 else
18244 ac_ext=cc
18245 ac_cpp='$CXXCPP $CPPFLAGS'
18246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18250 cat >conftest.$ac_ext <<_ACEOF
18251 /* confdefs.h. */
18252 _ACEOF
18253 cat confdefs.h >>conftest.$ac_ext
18254 cat >>conftest.$ac_ext <<_ACEOF
18255 /* end confdefs.h. */
18256 #include <math.h>
18257 #ifdef HAVE_IEEEFP_H
18258 #include <ieeefp.h>
18259 #endif
18262 main ()
18264 isnanl(0);
18266 return 0;
18268 _ACEOF
18269 rm -f conftest.$ac_objext
18270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18271 (eval $ac_compile) 2>conftest.er1
18272 ac_status=$?
18273 grep -v '^ *+' conftest.er1 >conftest.err
18274 rm -f conftest.er1
18275 cat conftest.err >&5
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); } &&
18278 { ac_try='test -z "$ac_cxx_werror_flag"
18279 || test ! -s conftest.err'
18280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18281 (eval $ac_try) 2>&5
18282 ac_status=$?
18283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18284 (exit $ac_status); }; } &&
18285 { ac_try='test -s conftest.$ac_objext'
18286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18287 (eval $ac_try) 2>&5
18288 ac_status=$?
18289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18290 (exit $ac_status); }; }; then
18291 glibcxx_cv_func_isnanl_use=yes
18292 else
18293 echo "$as_me: failed program was:" >&5
18294 sed 's/^/| /' conftest.$ac_ext >&5
18296 glibcxx_cv_func_isnanl_use=no
18298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18299 ac_ext=c
18300 ac_cpp='$CPP $CPPFLAGS'
18301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18309 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
18310 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
18312 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
18314 for ac_func in isnanl
18316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18317 echo "$as_me:$LINENO: checking for $ac_func" >&5
18318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18319 if eval "test \"\${$as_ac_var+set}\" = set"; then
18320 echo $ECHO_N "(cached) $ECHO_C" >&6
18321 else
18322 if test x$gcc_no_link = xyes; then
18323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18325 { (exit 1); exit 1; }; }
18327 cat >conftest.$ac_ext <<_ACEOF
18328 /* confdefs.h. */
18329 _ACEOF
18330 cat confdefs.h >>conftest.$ac_ext
18331 cat >>conftest.$ac_ext <<_ACEOF
18332 /* end confdefs.h. */
18333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18335 #define $ac_func innocuous_$ac_func
18337 /* System header to define __stub macros and hopefully few prototypes,
18338 which can conflict with char $ac_func (); below.
18339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18340 <limits.h> exists even on freestanding compilers. */
18342 #ifdef __STDC__
18343 # include <limits.h>
18344 #else
18345 # include <assert.h>
18346 #endif
18348 #undef $ac_func
18350 /* Override any gcc2 internal prototype to avoid an error. */
18351 #ifdef __cplusplus
18352 extern "C"
18354 #endif
18355 /* We use char because int might match the return type of a gcc2
18356 builtin and then its argument prototype would still apply. */
18357 char $ac_func ();
18358 /* The GNU C library defines this for functions which it implements
18359 to always fail with ENOSYS. Some functions are actually named
18360 something starting with __ and the normal name is an alias. */
18361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18362 choke me
18363 #else
18364 char (*f) () = $ac_func;
18365 #endif
18366 #ifdef __cplusplus
18368 #endif
18371 main ()
18373 return f != $ac_func;
18375 return 0;
18377 _ACEOF
18378 rm -f conftest.$ac_objext conftest$ac_exeext
18379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18380 (eval $ac_link) 2>conftest.er1
18381 ac_status=$?
18382 grep -v '^ *+' conftest.er1 >conftest.err
18383 rm -f conftest.er1
18384 cat conftest.err >&5
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); } &&
18387 { ac_try='test -z "$ac_c_werror_flag"
18388 || test ! -s conftest.err'
18389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18390 (eval $ac_try) 2>&5
18391 ac_status=$?
18392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18393 (exit $ac_status); }; } &&
18394 { ac_try='test -s conftest$ac_exeext'
18395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18396 (eval $ac_try) 2>&5
18397 ac_status=$?
18398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18399 (exit $ac_status); }; }; then
18400 eval "$as_ac_var=yes"
18401 else
18402 echo "$as_me: failed program was:" >&5
18403 sed 's/^/| /' conftest.$ac_ext >&5
18405 eval "$as_ac_var=no"
18407 rm -f conftest.err conftest.$ac_objext \
18408 conftest$ac_exeext conftest.$ac_ext
18410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18412 if test `eval echo '${'$as_ac_var'}'` = yes; then
18413 cat >>confdefs.h <<_ACEOF
18414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18415 _ACEOF
18418 done
18420 else
18422 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
18423 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
18424 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
18425 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
18426 echo $ECHO_N "(cached) $ECHO_C" >&6
18427 else
18431 ac_ext=cc
18432 ac_cpp='$CXXCPP $CPPFLAGS'
18433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18437 cat >conftest.$ac_ext <<_ACEOF
18438 /* confdefs.h. */
18439 _ACEOF
18440 cat confdefs.h >>conftest.$ac_ext
18441 cat >>conftest.$ac_ext <<_ACEOF
18442 /* end confdefs.h. */
18443 #include <math.h>
18444 #ifdef HAVE_IEEEFP_H
18445 #include <ieeefp.h>
18446 #endif
18449 main ()
18451 _isnanl(0);
18453 return 0;
18455 _ACEOF
18456 rm -f conftest.$ac_objext
18457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18458 (eval $ac_compile) 2>conftest.er1
18459 ac_status=$?
18460 grep -v '^ *+' conftest.er1 >conftest.err
18461 rm -f conftest.er1
18462 cat conftest.err >&5
18463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18464 (exit $ac_status); } &&
18465 { ac_try='test -z "$ac_cxx_werror_flag"
18466 || test ! -s conftest.err'
18467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18468 (eval $ac_try) 2>&5
18469 ac_status=$?
18470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18471 (exit $ac_status); }; } &&
18472 { ac_try='test -s conftest.$ac_objext'
18473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18474 (eval $ac_try) 2>&5
18475 ac_status=$?
18476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18477 (exit $ac_status); }; }; then
18478 glibcxx_cv_func__isnanl_use=yes
18479 else
18480 echo "$as_me: failed program was:" >&5
18481 sed 's/^/| /' conftest.$ac_ext >&5
18483 glibcxx_cv_func__isnanl_use=no
18485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18486 ac_ext=c
18487 ac_cpp='$CPP $CPPFLAGS'
18488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18496 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
18497 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
18499 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
18501 for ac_func in _isnanl
18503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18504 echo "$as_me:$LINENO: checking for $ac_func" >&5
18505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18506 if eval "test \"\${$as_ac_var+set}\" = set"; then
18507 echo $ECHO_N "(cached) $ECHO_C" >&6
18508 else
18509 if test x$gcc_no_link = xyes; then
18510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18512 { (exit 1); exit 1; }; }
18514 cat >conftest.$ac_ext <<_ACEOF
18515 /* confdefs.h. */
18516 _ACEOF
18517 cat confdefs.h >>conftest.$ac_ext
18518 cat >>conftest.$ac_ext <<_ACEOF
18519 /* end confdefs.h. */
18520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18522 #define $ac_func innocuous_$ac_func
18524 /* System header to define __stub macros and hopefully few prototypes,
18525 which can conflict with char $ac_func (); below.
18526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18527 <limits.h> exists even on freestanding compilers. */
18529 #ifdef __STDC__
18530 # include <limits.h>
18531 #else
18532 # include <assert.h>
18533 #endif
18535 #undef $ac_func
18537 /* Override any gcc2 internal prototype to avoid an error. */
18538 #ifdef __cplusplus
18539 extern "C"
18541 #endif
18542 /* We use char because int might match the return type of a gcc2
18543 builtin and then its argument prototype would still apply. */
18544 char $ac_func ();
18545 /* The GNU C library defines this for functions which it implements
18546 to always fail with ENOSYS. Some functions are actually named
18547 something starting with __ and the normal name is an alias. */
18548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18549 choke me
18550 #else
18551 char (*f) () = $ac_func;
18552 #endif
18553 #ifdef __cplusplus
18555 #endif
18558 main ()
18560 return f != $ac_func;
18562 return 0;
18564 _ACEOF
18565 rm -f conftest.$ac_objext conftest$ac_exeext
18566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18567 (eval $ac_link) 2>conftest.er1
18568 ac_status=$?
18569 grep -v '^ *+' conftest.er1 >conftest.err
18570 rm -f conftest.er1
18571 cat conftest.err >&5
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); } &&
18574 { ac_try='test -z "$ac_c_werror_flag"
18575 || test ! -s conftest.err'
18576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18577 (eval $ac_try) 2>&5
18578 ac_status=$?
18579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18580 (exit $ac_status); }; } &&
18581 { ac_try='test -s conftest$ac_exeext'
18582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18583 (eval $ac_try) 2>&5
18584 ac_status=$?
18585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586 (exit $ac_status); }; }; then
18587 eval "$as_ac_var=yes"
18588 else
18589 echo "$as_me: failed program was:" >&5
18590 sed 's/^/| /' conftest.$ac_ext >&5
18592 eval "$as_ac_var=no"
18594 rm -f conftest.err conftest.$ac_objext \
18595 conftest$ac_exeext conftest.$ac_ext
18597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18599 if test `eval echo '${'$as_ac_var'}'` = yes; then
18600 cat >>confdefs.h <<_ACEOF
18601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18602 _ACEOF
18605 done
18612 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
18613 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
18614 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
18615 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
18616 echo $ECHO_N "(cached) $ECHO_C" >&6
18617 else
18621 ac_ext=cc
18622 ac_cpp='$CXXCPP $CPPFLAGS'
18623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18627 cat >conftest.$ac_ext <<_ACEOF
18628 /* confdefs.h. */
18629 _ACEOF
18630 cat confdefs.h >>conftest.$ac_ext
18631 cat >>conftest.$ac_ext <<_ACEOF
18632 /* end confdefs.h. */
18633 #include <math.h>
18634 #ifdef HAVE_IEEEFP_H
18635 #include <ieeefp.h>
18636 #endif
18639 main ()
18641 isinfl(0);
18643 return 0;
18645 _ACEOF
18646 rm -f conftest.$ac_objext
18647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18648 (eval $ac_compile) 2>conftest.er1
18649 ac_status=$?
18650 grep -v '^ *+' conftest.er1 >conftest.err
18651 rm -f conftest.er1
18652 cat conftest.err >&5
18653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18654 (exit $ac_status); } &&
18655 { ac_try='test -z "$ac_cxx_werror_flag"
18656 || test ! -s conftest.err'
18657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18658 (eval $ac_try) 2>&5
18659 ac_status=$?
18660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661 (exit $ac_status); }; } &&
18662 { ac_try='test -s conftest.$ac_objext'
18663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18664 (eval $ac_try) 2>&5
18665 ac_status=$?
18666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18667 (exit $ac_status); }; }; then
18668 glibcxx_cv_func_isinfl_use=yes
18669 else
18670 echo "$as_me: failed program was:" >&5
18671 sed 's/^/| /' conftest.$ac_ext >&5
18673 glibcxx_cv_func_isinfl_use=no
18675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18676 ac_ext=c
18677 ac_cpp='$CPP $CPPFLAGS'
18678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18686 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
18687 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
18689 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
18691 for ac_func in isinfl
18693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18694 echo "$as_me:$LINENO: checking for $ac_func" >&5
18695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18696 if eval "test \"\${$as_ac_var+set}\" = set"; then
18697 echo $ECHO_N "(cached) $ECHO_C" >&6
18698 else
18699 if test x$gcc_no_link = xyes; then
18700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18702 { (exit 1); exit 1; }; }
18704 cat >conftest.$ac_ext <<_ACEOF
18705 /* confdefs.h. */
18706 _ACEOF
18707 cat confdefs.h >>conftest.$ac_ext
18708 cat >>conftest.$ac_ext <<_ACEOF
18709 /* end confdefs.h. */
18710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18712 #define $ac_func innocuous_$ac_func
18714 /* System header to define __stub macros and hopefully few prototypes,
18715 which can conflict with char $ac_func (); below.
18716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18717 <limits.h> exists even on freestanding compilers. */
18719 #ifdef __STDC__
18720 # include <limits.h>
18721 #else
18722 # include <assert.h>
18723 #endif
18725 #undef $ac_func
18727 /* Override any gcc2 internal prototype to avoid an error. */
18728 #ifdef __cplusplus
18729 extern "C"
18731 #endif
18732 /* We use char because int might match the return type of a gcc2
18733 builtin and then its argument prototype would still apply. */
18734 char $ac_func ();
18735 /* The GNU C library defines this for functions which it implements
18736 to always fail with ENOSYS. Some functions are actually named
18737 something starting with __ and the normal name is an alias. */
18738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18739 choke me
18740 #else
18741 char (*f) () = $ac_func;
18742 #endif
18743 #ifdef __cplusplus
18745 #endif
18748 main ()
18750 return f != $ac_func;
18752 return 0;
18754 _ACEOF
18755 rm -f conftest.$ac_objext conftest$ac_exeext
18756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18757 (eval $ac_link) 2>conftest.er1
18758 ac_status=$?
18759 grep -v '^ *+' conftest.er1 >conftest.err
18760 rm -f conftest.er1
18761 cat conftest.err >&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); } &&
18764 { ac_try='test -z "$ac_c_werror_flag"
18765 || test ! -s conftest.err'
18766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18767 (eval $ac_try) 2>&5
18768 ac_status=$?
18769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18770 (exit $ac_status); }; } &&
18771 { ac_try='test -s conftest$ac_exeext'
18772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18773 (eval $ac_try) 2>&5
18774 ac_status=$?
18775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18776 (exit $ac_status); }; }; then
18777 eval "$as_ac_var=yes"
18778 else
18779 echo "$as_me: failed program was:" >&5
18780 sed 's/^/| /' conftest.$ac_ext >&5
18782 eval "$as_ac_var=no"
18784 rm -f conftest.err conftest.$ac_objext \
18785 conftest$ac_exeext conftest.$ac_ext
18787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18789 if test `eval echo '${'$as_ac_var'}'` = yes; then
18790 cat >>confdefs.h <<_ACEOF
18791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18792 _ACEOF
18795 done
18797 else
18799 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
18800 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
18801 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
18802 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
18803 echo $ECHO_N "(cached) $ECHO_C" >&6
18804 else
18808 ac_ext=cc
18809 ac_cpp='$CXXCPP $CPPFLAGS'
18810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18814 cat >conftest.$ac_ext <<_ACEOF
18815 /* confdefs.h. */
18816 _ACEOF
18817 cat confdefs.h >>conftest.$ac_ext
18818 cat >>conftest.$ac_ext <<_ACEOF
18819 /* end confdefs.h. */
18820 #include <math.h>
18821 #ifdef HAVE_IEEEFP_H
18822 #include <ieeefp.h>
18823 #endif
18826 main ()
18828 _isinfl(0);
18830 return 0;
18832 _ACEOF
18833 rm -f conftest.$ac_objext
18834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18835 (eval $ac_compile) 2>conftest.er1
18836 ac_status=$?
18837 grep -v '^ *+' conftest.er1 >conftest.err
18838 rm -f conftest.er1
18839 cat conftest.err >&5
18840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841 (exit $ac_status); } &&
18842 { ac_try='test -z "$ac_cxx_werror_flag"
18843 || test ! -s conftest.err'
18844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18845 (eval $ac_try) 2>&5
18846 ac_status=$?
18847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18848 (exit $ac_status); }; } &&
18849 { ac_try='test -s conftest.$ac_objext'
18850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18851 (eval $ac_try) 2>&5
18852 ac_status=$?
18853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18854 (exit $ac_status); }; }; then
18855 glibcxx_cv_func__isinfl_use=yes
18856 else
18857 echo "$as_me: failed program was:" >&5
18858 sed 's/^/| /' conftest.$ac_ext >&5
18860 glibcxx_cv_func__isinfl_use=no
18862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18863 ac_ext=c
18864 ac_cpp='$CPP $CPPFLAGS'
18865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18873 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
18874 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
18876 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
18878 for ac_func in _isinfl
18880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18881 echo "$as_me:$LINENO: checking for $ac_func" >&5
18882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18883 if eval "test \"\${$as_ac_var+set}\" = set"; then
18884 echo $ECHO_N "(cached) $ECHO_C" >&6
18885 else
18886 if test x$gcc_no_link = xyes; then
18887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18889 { (exit 1); exit 1; }; }
18891 cat >conftest.$ac_ext <<_ACEOF
18892 /* confdefs.h. */
18893 _ACEOF
18894 cat confdefs.h >>conftest.$ac_ext
18895 cat >>conftest.$ac_ext <<_ACEOF
18896 /* end confdefs.h. */
18897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18899 #define $ac_func innocuous_$ac_func
18901 /* System header to define __stub macros and hopefully few prototypes,
18902 which can conflict with char $ac_func (); below.
18903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18904 <limits.h> exists even on freestanding compilers. */
18906 #ifdef __STDC__
18907 # include <limits.h>
18908 #else
18909 # include <assert.h>
18910 #endif
18912 #undef $ac_func
18914 /* Override any gcc2 internal prototype to avoid an error. */
18915 #ifdef __cplusplus
18916 extern "C"
18918 #endif
18919 /* We use char because int might match the return type of a gcc2
18920 builtin and then its argument prototype would still apply. */
18921 char $ac_func ();
18922 /* The GNU C library defines this for functions which it implements
18923 to always fail with ENOSYS. Some functions are actually named
18924 something starting with __ and the normal name is an alias. */
18925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18926 choke me
18927 #else
18928 char (*f) () = $ac_func;
18929 #endif
18930 #ifdef __cplusplus
18932 #endif
18935 main ()
18937 return f != $ac_func;
18939 return 0;
18941 _ACEOF
18942 rm -f conftest.$ac_objext conftest$ac_exeext
18943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18944 (eval $ac_link) 2>conftest.er1
18945 ac_status=$?
18946 grep -v '^ *+' conftest.er1 >conftest.err
18947 rm -f conftest.er1
18948 cat conftest.err >&5
18949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18950 (exit $ac_status); } &&
18951 { ac_try='test -z "$ac_c_werror_flag"
18952 || test ! -s conftest.err'
18953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18954 (eval $ac_try) 2>&5
18955 ac_status=$?
18956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18957 (exit $ac_status); }; } &&
18958 { ac_try='test -s conftest$ac_exeext'
18959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18960 (eval $ac_try) 2>&5
18961 ac_status=$?
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); }; }; then
18964 eval "$as_ac_var=yes"
18965 else
18966 echo "$as_me: failed program was:" >&5
18967 sed 's/^/| /' conftest.$ac_ext >&5
18969 eval "$as_ac_var=no"
18971 rm -f conftest.err conftest.$ac_objext \
18972 conftest$ac_exeext conftest.$ac_ext
18974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18976 if test `eval echo '${'$as_ac_var'}'` = yes; then
18977 cat >>confdefs.h <<_ACEOF
18978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18979 _ACEOF
18982 done
18989 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
18990 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
18991 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
18992 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
18993 echo $ECHO_N "(cached) $ECHO_C" >&6
18994 else
18998 ac_ext=cc
18999 ac_cpp='$CXXCPP $CPPFLAGS'
19000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19004 cat >conftest.$ac_ext <<_ACEOF
19005 /* confdefs.h. */
19006 _ACEOF
19007 cat confdefs.h >>conftest.$ac_ext
19008 cat >>conftest.$ac_ext <<_ACEOF
19009 /* end confdefs.h. */
19010 #include <math.h>
19012 main ()
19014 copysignl(0, 0);
19016 return 0;
19018 _ACEOF
19019 rm -f conftest.$ac_objext
19020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19021 (eval $ac_compile) 2>conftest.er1
19022 ac_status=$?
19023 grep -v '^ *+' conftest.er1 >conftest.err
19024 rm -f conftest.er1
19025 cat conftest.err >&5
19026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19027 (exit $ac_status); } &&
19028 { ac_try='test -z "$ac_cxx_werror_flag"
19029 || test ! -s conftest.err'
19030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19031 (eval $ac_try) 2>&5
19032 ac_status=$?
19033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19034 (exit $ac_status); }; } &&
19035 { ac_try='test -s conftest.$ac_objext'
19036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19037 (eval $ac_try) 2>&5
19038 ac_status=$?
19039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19040 (exit $ac_status); }; }; then
19041 glibcxx_cv_func_copysignl_use=yes
19042 else
19043 echo "$as_me: failed program was:" >&5
19044 sed 's/^/| /' conftest.$ac_ext >&5
19046 glibcxx_cv_func_copysignl_use=no
19048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19049 ac_ext=c
19050 ac_cpp='$CPP $CPPFLAGS'
19051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19059 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
19060 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
19062 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
19064 for ac_func in copysignl
19066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19067 echo "$as_me:$LINENO: checking for $ac_func" >&5
19068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19069 if eval "test \"\${$as_ac_var+set}\" = set"; then
19070 echo $ECHO_N "(cached) $ECHO_C" >&6
19071 else
19072 if test x$gcc_no_link = xyes; then
19073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19075 { (exit 1); exit 1; }; }
19077 cat >conftest.$ac_ext <<_ACEOF
19078 /* confdefs.h. */
19079 _ACEOF
19080 cat confdefs.h >>conftest.$ac_ext
19081 cat >>conftest.$ac_ext <<_ACEOF
19082 /* end confdefs.h. */
19083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19085 #define $ac_func innocuous_$ac_func
19087 /* System header to define __stub macros and hopefully few prototypes,
19088 which can conflict with char $ac_func (); below.
19089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19090 <limits.h> exists even on freestanding compilers. */
19092 #ifdef __STDC__
19093 # include <limits.h>
19094 #else
19095 # include <assert.h>
19096 #endif
19098 #undef $ac_func
19100 /* Override any gcc2 internal prototype to avoid an error. */
19101 #ifdef __cplusplus
19102 extern "C"
19104 #endif
19105 /* We use char because int might match the return type of a gcc2
19106 builtin and then its argument prototype would still apply. */
19107 char $ac_func ();
19108 /* The GNU C library defines this for functions which it implements
19109 to always fail with ENOSYS. Some functions are actually named
19110 something starting with __ and the normal name is an alias. */
19111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19112 choke me
19113 #else
19114 char (*f) () = $ac_func;
19115 #endif
19116 #ifdef __cplusplus
19118 #endif
19121 main ()
19123 return f != $ac_func;
19125 return 0;
19127 _ACEOF
19128 rm -f conftest.$ac_objext conftest$ac_exeext
19129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19130 (eval $ac_link) 2>conftest.er1
19131 ac_status=$?
19132 grep -v '^ *+' conftest.er1 >conftest.err
19133 rm -f conftest.er1
19134 cat conftest.err >&5
19135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19136 (exit $ac_status); } &&
19137 { ac_try='test -z "$ac_c_werror_flag"
19138 || test ! -s conftest.err'
19139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19140 (eval $ac_try) 2>&5
19141 ac_status=$?
19142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19143 (exit $ac_status); }; } &&
19144 { ac_try='test -s conftest$ac_exeext'
19145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19146 (eval $ac_try) 2>&5
19147 ac_status=$?
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); }; }; then
19150 eval "$as_ac_var=yes"
19151 else
19152 echo "$as_me: failed program was:" >&5
19153 sed 's/^/| /' conftest.$ac_ext >&5
19155 eval "$as_ac_var=no"
19157 rm -f conftest.err conftest.$ac_objext \
19158 conftest$ac_exeext conftest.$ac_ext
19160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19162 if test `eval echo '${'$as_ac_var'}'` = yes; then
19163 cat >>confdefs.h <<_ACEOF
19164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19165 _ACEOF
19168 done
19170 else
19172 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
19173 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
19174 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
19175 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
19176 echo $ECHO_N "(cached) $ECHO_C" >&6
19177 else
19181 ac_ext=cc
19182 ac_cpp='$CXXCPP $CPPFLAGS'
19183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19187 cat >conftest.$ac_ext <<_ACEOF
19188 /* confdefs.h. */
19189 _ACEOF
19190 cat confdefs.h >>conftest.$ac_ext
19191 cat >>conftest.$ac_ext <<_ACEOF
19192 /* end confdefs.h. */
19193 #include <math.h>
19195 main ()
19197 _copysignl(0, 0);
19199 return 0;
19201 _ACEOF
19202 rm -f conftest.$ac_objext
19203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19204 (eval $ac_compile) 2>conftest.er1
19205 ac_status=$?
19206 grep -v '^ *+' conftest.er1 >conftest.err
19207 rm -f conftest.er1
19208 cat conftest.err >&5
19209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19210 (exit $ac_status); } &&
19211 { ac_try='test -z "$ac_cxx_werror_flag"
19212 || test ! -s conftest.err'
19213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19214 (eval $ac_try) 2>&5
19215 ac_status=$?
19216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19217 (exit $ac_status); }; } &&
19218 { ac_try='test -s conftest.$ac_objext'
19219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19220 (eval $ac_try) 2>&5
19221 ac_status=$?
19222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223 (exit $ac_status); }; }; then
19224 glibcxx_cv_func__copysignl_use=yes
19225 else
19226 echo "$as_me: failed program was:" >&5
19227 sed 's/^/| /' conftest.$ac_ext >&5
19229 glibcxx_cv_func__copysignl_use=no
19231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19232 ac_ext=c
19233 ac_cpp='$CPP $CPPFLAGS'
19234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19242 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
19243 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
19245 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
19247 for ac_func in _copysignl
19249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19250 echo "$as_me:$LINENO: checking for $ac_func" >&5
19251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19252 if eval "test \"\${$as_ac_var+set}\" = set"; then
19253 echo $ECHO_N "(cached) $ECHO_C" >&6
19254 else
19255 if test x$gcc_no_link = xyes; then
19256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19258 { (exit 1); exit 1; }; }
19260 cat >conftest.$ac_ext <<_ACEOF
19261 /* confdefs.h. */
19262 _ACEOF
19263 cat confdefs.h >>conftest.$ac_ext
19264 cat >>conftest.$ac_ext <<_ACEOF
19265 /* end confdefs.h. */
19266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19268 #define $ac_func innocuous_$ac_func
19270 /* System header to define __stub macros and hopefully few prototypes,
19271 which can conflict with char $ac_func (); below.
19272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19273 <limits.h> exists even on freestanding compilers. */
19275 #ifdef __STDC__
19276 # include <limits.h>
19277 #else
19278 # include <assert.h>
19279 #endif
19281 #undef $ac_func
19283 /* Override any gcc2 internal prototype to avoid an error. */
19284 #ifdef __cplusplus
19285 extern "C"
19287 #endif
19288 /* We use char because int might match the return type of a gcc2
19289 builtin and then its argument prototype would still apply. */
19290 char $ac_func ();
19291 /* The GNU C library defines this for functions which it implements
19292 to always fail with ENOSYS. Some functions are actually named
19293 something starting with __ and the normal name is an alias. */
19294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19295 choke me
19296 #else
19297 char (*f) () = $ac_func;
19298 #endif
19299 #ifdef __cplusplus
19301 #endif
19304 main ()
19306 return f != $ac_func;
19308 return 0;
19310 _ACEOF
19311 rm -f conftest.$ac_objext conftest$ac_exeext
19312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19313 (eval $ac_link) 2>conftest.er1
19314 ac_status=$?
19315 grep -v '^ *+' conftest.er1 >conftest.err
19316 rm -f conftest.er1
19317 cat conftest.err >&5
19318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19319 (exit $ac_status); } &&
19320 { ac_try='test -z "$ac_c_werror_flag"
19321 || test ! -s conftest.err'
19322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19323 (eval $ac_try) 2>&5
19324 ac_status=$?
19325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326 (exit $ac_status); }; } &&
19327 { ac_try='test -s conftest$ac_exeext'
19328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19329 (eval $ac_try) 2>&5
19330 ac_status=$?
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); }; }; then
19333 eval "$as_ac_var=yes"
19334 else
19335 echo "$as_me: failed program was:" >&5
19336 sed 's/^/| /' conftest.$ac_ext >&5
19338 eval "$as_ac_var=no"
19340 rm -f conftest.err conftest.$ac_objext \
19341 conftest$ac_exeext conftest.$ac_ext
19343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19345 if test `eval echo '${'$as_ac_var'}'` = yes; then
19346 cat >>confdefs.h <<_ACEOF
19347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19348 _ACEOF
19351 done
19358 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
19359 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
19360 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
19361 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
19362 echo $ECHO_N "(cached) $ECHO_C" >&6
19363 else
19367 ac_ext=cc
19368 ac_cpp='$CXXCPP $CPPFLAGS'
19369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19373 cat >conftest.$ac_ext <<_ACEOF
19374 /* confdefs.h. */
19375 _ACEOF
19376 cat confdefs.h >>conftest.$ac_ext
19377 cat >>conftest.$ac_ext <<_ACEOF
19378 /* end confdefs.h. */
19379 #include <math.h>
19381 main ()
19383 atan2l(0, 0);
19385 return 0;
19387 _ACEOF
19388 rm -f conftest.$ac_objext
19389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19390 (eval $ac_compile) 2>conftest.er1
19391 ac_status=$?
19392 grep -v '^ *+' conftest.er1 >conftest.err
19393 rm -f conftest.er1
19394 cat conftest.err >&5
19395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19396 (exit $ac_status); } &&
19397 { ac_try='test -z "$ac_cxx_werror_flag"
19398 || test ! -s conftest.err'
19399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19400 (eval $ac_try) 2>&5
19401 ac_status=$?
19402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403 (exit $ac_status); }; } &&
19404 { ac_try='test -s conftest.$ac_objext'
19405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19406 (eval $ac_try) 2>&5
19407 ac_status=$?
19408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409 (exit $ac_status); }; }; then
19410 glibcxx_cv_func_atan2l_use=yes
19411 else
19412 echo "$as_me: failed program was:" >&5
19413 sed 's/^/| /' conftest.$ac_ext >&5
19415 glibcxx_cv_func_atan2l_use=no
19417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19418 ac_ext=c
19419 ac_cpp='$CPP $CPPFLAGS'
19420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19428 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
19429 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
19431 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
19433 for ac_func in atan2l
19435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19436 echo "$as_me:$LINENO: checking for $ac_func" >&5
19437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19438 if eval "test \"\${$as_ac_var+set}\" = set"; then
19439 echo $ECHO_N "(cached) $ECHO_C" >&6
19440 else
19441 if test x$gcc_no_link = xyes; then
19442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19444 { (exit 1); exit 1; }; }
19446 cat >conftest.$ac_ext <<_ACEOF
19447 /* confdefs.h. */
19448 _ACEOF
19449 cat confdefs.h >>conftest.$ac_ext
19450 cat >>conftest.$ac_ext <<_ACEOF
19451 /* end confdefs.h. */
19452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19454 #define $ac_func innocuous_$ac_func
19456 /* System header to define __stub macros and hopefully few prototypes,
19457 which can conflict with char $ac_func (); below.
19458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19459 <limits.h> exists even on freestanding compilers. */
19461 #ifdef __STDC__
19462 # include <limits.h>
19463 #else
19464 # include <assert.h>
19465 #endif
19467 #undef $ac_func
19469 /* Override any gcc2 internal prototype to avoid an error. */
19470 #ifdef __cplusplus
19471 extern "C"
19473 #endif
19474 /* We use char because int might match the return type of a gcc2
19475 builtin and then its argument prototype would still apply. */
19476 char $ac_func ();
19477 /* The GNU C library defines this for functions which it implements
19478 to always fail with ENOSYS. Some functions are actually named
19479 something starting with __ and the normal name is an alias. */
19480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19481 choke me
19482 #else
19483 char (*f) () = $ac_func;
19484 #endif
19485 #ifdef __cplusplus
19487 #endif
19490 main ()
19492 return f != $ac_func;
19494 return 0;
19496 _ACEOF
19497 rm -f conftest.$ac_objext conftest$ac_exeext
19498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19499 (eval $ac_link) 2>conftest.er1
19500 ac_status=$?
19501 grep -v '^ *+' conftest.er1 >conftest.err
19502 rm -f conftest.er1
19503 cat conftest.err >&5
19504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19505 (exit $ac_status); } &&
19506 { ac_try='test -z "$ac_c_werror_flag"
19507 || test ! -s conftest.err'
19508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19509 (eval $ac_try) 2>&5
19510 ac_status=$?
19511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19512 (exit $ac_status); }; } &&
19513 { ac_try='test -s conftest$ac_exeext'
19514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19515 (eval $ac_try) 2>&5
19516 ac_status=$?
19517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19518 (exit $ac_status); }; }; then
19519 eval "$as_ac_var=yes"
19520 else
19521 echo "$as_me: failed program was:" >&5
19522 sed 's/^/| /' conftest.$ac_ext >&5
19524 eval "$as_ac_var=no"
19526 rm -f conftest.err conftest.$ac_objext \
19527 conftest$ac_exeext conftest.$ac_ext
19529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19531 if test `eval echo '${'$as_ac_var'}'` = yes; then
19532 cat >>confdefs.h <<_ACEOF
19533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19534 _ACEOF
19537 done
19539 else
19541 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
19542 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
19543 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
19544 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
19545 echo $ECHO_N "(cached) $ECHO_C" >&6
19546 else
19550 ac_ext=cc
19551 ac_cpp='$CXXCPP $CPPFLAGS'
19552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19556 cat >conftest.$ac_ext <<_ACEOF
19557 /* confdefs.h. */
19558 _ACEOF
19559 cat confdefs.h >>conftest.$ac_ext
19560 cat >>conftest.$ac_ext <<_ACEOF
19561 /* end confdefs.h. */
19562 #include <math.h>
19564 main ()
19566 _atan2l(0, 0);
19568 return 0;
19570 _ACEOF
19571 rm -f conftest.$ac_objext
19572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19573 (eval $ac_compile) 2>conftest.er1
19574 ac_status=$?
19575 grep -v '^ *+' conftest.er1 >conftest.err
19576 rm -f conftest.er1
19577 cat conftest.err >&5
19578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19579 (exit $ac_status); } &&
19580 { ac_try='test -z "$ac_cxx_werror_flag"
19581 || test ! -s conftest.err'
19582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19583 (eval $ac_try) 2>&5
19584 ac_status=$?
19585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586 (exit $ac_status); }; } &&
19587 { ac_try='test -s conftest.$ac_objext'
19588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19589 (eval $ac_try) 2>&5
19590 ac_status=$?
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); }; }; then
19593 glibcxx_cv_func__atan2l_use=yes
19594 else
19595 echo "$as_me: failed program was:" >&5
19596 sed 's/^/| /' conftest.$ac_ext >&5
19598 glibcxx_cv_func__atan2l_use=no
19600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19601 ac_ext=c
19602 ac_cpp='$CPP $CPPFLAGS'
19603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19611 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
19612 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
19614 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
19616 for ac_func in _atan2l
19618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19619 echo "$as_me:$LINENO: checking for $ac_func" >&5
19620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19621 if eval "test \"\${$as_ac_var+set}\" = set"; then
19622 echo $ECHO_N "(cached) $ECHO_C" >&6
19623 else
19624 if test x$gcc_no_link = xyes; then
19625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19627 { (exit 1); exit 1; }; }
19629 cat >conftest.$ac_ext <<_ACEOF
19630 /* confdefs.h. */
19631 _ACEOF
19632 cat confdefs.h >>conftest.$ac_ext
19633 cat >>conftest.$ac_ext <<_ACEOF
19634 /* end confdefs.h. */
19635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19637 #define $ac_func innocuous_$ac_func
19639 /* System header to define __stub macros and hopefully few prototypes,
19640 which can conflict with char $ac_func (); below.
19641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19642 <limits.h> exists even on freestanding compilers. */
19644 #ifdef __STDC__
19645 # include <limits.h>
19646 #else
19647 # include <assert.h>
19648 #endif
19650 #undef $ac_func
19652 /* Override any gcc2 internal prototype to avoid an error. */
19653 #ifdef __cplusplus
19654 extern "C"
19656 #endif
19657 /* We use char because int might match the return type of a gcc2
19658 builtin and then its argument prototype would still apply. */
19659 char $ac_func ();
19660 /* The GNU C library defines this for functions which it implements
19661 to always fail with ENOSYS. Some functions are actually named
19662 something starting with __ and the normal name is an alias. */
19663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19664 choke me
19665 #else
19666 char (*f) () = $ac_func;
19667 #endif
19668 #ifdef __cplusplus
19670 #endif
19673 main ()
19675 return f != $ac_func;
19677 return 0;
19679 _ACEOF
19680 rm -f conftest.$ac_objext conftest$ac_exeext
19681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19682 (eval $ac_link) 2>conftest.er1
19683 ac_status=$?
19684 grep -v '^ *+' conftest.er1 >conftest.err
19685 rm -f conftest.er1
19686 cat conftest.err >&5
19687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19688 (exit $ac_status); } &&
19689 { ac_try='test -z "$ac_c_werror_flag"
19690 || test ! -s conftest.err'
19691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19692 (eval $ac_try) 2>&5
19693 ac_status=$?
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); }; } &&
19696 { ac_try='test -s conftest$ac_exeext'
19697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19698 (eval $ac_try) 2>&5
19699 ac_status=$?
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); }; }; then
19702 eval "$as_ac_var=yes"
19703 else
19704 echo "$as_me: failed program was:" >&5
19705 sed 's/^/| /' conftest.$ac_ext >&5
19707 eval "$as_ac_var=no"
19709 rm -f conftest.err conftest.$ac_objext \
19710 conftest$ac_exeext conftest.$ac_ext
19712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19714 if test `eval echo '${'$as_ac_var'}'` = yes; then
19715 cat >>confdefs.h <<_ACEOF
19716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19717 _ACEOF
19720 done
19727 echo "$as_me:$LINENO: checking for expl declaration" >&5
19728 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
19729 if test x${glibcxx_cv_func_expl_use+set} != xset; then
19730 if test "${glibcxx_cv_func_expl_use+set}" = set; then
19731 echo $ECHO_N "(cached) $ECHO_C" >&6
19732 else
19736 ac_ext=cc
19737 ac_cpp='$CXXCPP $CPPFLAGS'
19738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19742 cat >conftest.$ac_ext <<_ACEOF
19743 /* confdefs.h. */
19744 _ACEOF
19745 cat confdefs.h >>conftest.$ac_ext
19746 cat >>conftest.$ac_ext <<_ACEOF
19747 /* end confdefs.h. */
19748 #include <math.h>
19749 #ifdef HAVE_IEEEFP_H
19750 #include <ieeefp.h>
19751 #endif
19754 main ()
19756 expl(0);
19758 return 0;
19760 _ACEOF
19761 rm -f conftest.$ac_objext
19762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19763 (eval $ac_compile) 2>conftest.er1
19764 ac_status=$?
19765 grep -v '^ *+' conftest.er1 >conftest.err
19766 rm -f conftest.er1
19767 cat conftest.err >&5
19768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19769 (exit $ac_status); } &&
19770 { ac_try='test -z "$ac_cxx_werror_flag"
19771 || test ! -s conftest.err'
19772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19773 (eval $ac_try) 2>&5
19774 ac_status=$?
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); }; } &&
19777 { ac_try='test -s conftest.$ac_objext'
19778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19779 (eval $ac_try) 2>&5
19780 ac_status=$?
19781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782 (exit $ac_status); }; }; then
19783 glibcxx_cv_func_expl_use=yes
19784 else
19785 echo "$as_me: failed program was:" >&5
19786 sed 's/^/| /' conftest.$ac_ext >&5
19788 glibcxx_cv_func_expl_use=no
19790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19791 ac_ext=c
19792 ac_cpp='$CPP $CPPFLAGS'
19793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19801 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
19802 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
19804 if test x$glibcxx_cv_func_expl_use = x"yes"; then
19806 for ac_func in expl
19808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19809 echo "$as_me:$LINENO: checking for $ac_func" >&5
19810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19811 if eval "test \"\${$as_ac_var+set}\" = set"; then
19812 echo $ECHO_N "(cached) $ECHO_C" >&6
19813 else
19814 if test x$gcc_no_link = xyes; then
19815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19817 { (exit 1); exit 1; }; }
19819 cat >conftest.$ac_ext <<_ACEOF
19820 /* confdefs.h. */
19821 _ACEOF
19822 cat confdefs.h >>conftest.$ac_ext
19823 cat >>conftest.$ac_ext <<_ACEOF
19824 /* end confdefs.h. */
19825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19827 #define $ac_func innocuous_$ac_func
19829 /* System header to define __stub macros and hopefully few prototypes,
19830 which can conflict with char $ac_func (); below.
19831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19832 <limits.h> exists even on freestanding compilers. */
19834 #ifdef __STDC__
19835 # include <limits.h>
19836 #else
19837 # include <assert.h>
19838 #endif
19840 #undef $ac_func
19842 /* Override any gcc2 internal prototype to avoid an error. */
19843 #ifdef __cplusplus
19844 extern "C"
19846 #endif
19847 /* We use char because int might match the return type of a gcc2
19848 builtin and then its argument prototype would still apply. */
19849 char $ac_func ();
19850 /* The GNU C library defines this for functions which it implements
19851 to always fail with ENOSYS. Some functions are actually named
19852 something starting with __ and the normal name is an alias. */
19853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19854 choke me
19855 #else
19856 char (*f) () = $ac_func;
19857 #endif
19858 #ifdef __cplusplus
19860 #endif
19863 main ()
19865 return f != $ac_func;
19867 return 0;
19869 _ACEOF
19870 rm -f conftest.$ac_objext conftest$ac_exeext
19871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19872 (eval $ac_link) 2>conftest.er1
19873 ac_status=$?
19874 grep -v '^ *+' conftest.er1 >conftest.err
19875 rm -f conftest.er1
19876 cat conftest.err >&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); } &&
19879 { ac_try='test -z "$ac_c_werror_flag"
19880 || test ! -s conftest.err'
19881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19882 (eval $ac_try) 2>&5
19883 ac_status=$?
19884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885 (exit $ac_status); }; } &&
19886 { ac_try='test -s conftest$ac_exeext'
19887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19888 (eval $ac_try) 2>&5
19889 ac_status=$?
19890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891 (exit $ac_status); }; }; then
19892 eval "$as_ac_var=yes"
19893 else
19894 echo "$as_me: failed program was:" >&5
19895 sed 's/^/| /' conftest.$ac_ext >&5
19897 eval "$as_ac_var=no"
19899 rm -f conftest.err conftest.$ac_objext \
19900 conftest$ac_exeext conftest.$ac_ext
19902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19904 if test `eval echo '${'$as_ac_var'}'` = yes; then
19905 cat >>confdefs.h <<_ACEOF
19906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19907 _ACEOF
19910 done
19912 else
19914 echo "$as_me:$LINENO: checking for _expl declaration" >&5
19915 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
19916 if test x${glibcxx_cv_func__expl_use+set} != xset; then
19917 if test "${glibcxx_cv_func__expl_use+set}" = set; then
19918 echo $ECHO_N "(cached) $ECHO_C" >&6
19919 else
19923 ac_ext=cc
19924 ac_cpp='$CXXCPP $CPPFLAGS'
19925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19929 cat >conftest.$ac_ext <<_ACEOF
19930 /* confdefs.h. */
19931 _ACEOF
19932 cat confdefs.h >>conftest.$ac_ext
19933 cat >>conftest.$ac_ext <<_ACEOF
19934 /* end confdefs.h. */
19935 #include <math.h>
19936 #ifdef HAVE_IEEEFP_H
19937 #include <ieeefp.h>
19938 #endif
19941 main ()
19943 _expl(0);
19945 return 0;
19947 _ACEOF
19948 rm -f conftest.$ac_objext
19949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19950 (eval $ac_compile) 2>conftest.er1
19951 ac_status=$?
19952 grep -v '^ *+' conftest.er1 >conftest.err
19953 rm -f conftest.er1
19954 cat conftest.err >&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); } &&
19957 { ac_try='test -z "$ac_cxx_werror_flag"
19958 || test ! -s conftest.err'
19959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19960 (eval $ac_try) 2>&5
19961 ac_status=$?
19962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19963 (exit $ac_status); }; } &&
19964 { ac_try='test -s conftest.$ac_objext'
19965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19966 (eval $ac_try) 2>&5
19967 ac_status=$?
19968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19969 (exit $ac_status); }; }; then
19970 glibcxx_cv_func__expl_use=yes
19971 else
19972 echo "$as_me: failed program was:" >&5
19973 sed 's/^/| /' conftest.$ac_ext >&5
19975 glibcxx_cv_func__expl_use=no
19977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19978 ac_ext=c
19979 ac_cpp='$CPP $CPPFLAGS'
19980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19988 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
19989 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
19991 if test x$glibcxx_cv_func__expl_use = x"yes"; then
19993 for ac_func in _expl
19995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19996 echo "$as_me:$LINENO: checking for $ac_func" >&5
19997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19998 if eval "test \"\${$as_ac_var+set}\" = set"; then
19999 echo $ECHO_N "(cached) $ECHO_C" >&6
20000 else
20001 if test x$gcc_no_link = xyes; then
20002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20004 { (exit 1); exit 1; }; }
20006 cat >conftest.$ac_ext <<_ACEOF
20007 /* confdefs.h. */
20008 _ACEOF
20009 cat confdefs.h >>conftest.$ac_ext
20010 cat >>conftest.$ac_ext <<_ACEOF
20011 /* end confdefs.h. */
20012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20014 #define $ac_func innocuous_$ac_func
20016 /* System header to define __stub macros and hopefully few prototypes,
20017 which can conflict with char $ac_func (); below.
20018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20019 <limits.h> exists even on freestanding compilers. */
20021 #ifdef __STDC__
20022 # include <limits.h>
20023 #else
20024 # include <assert.h>
20025 #endif
20027 #undef $ac_func
20029 /* Override any gcc2 internal prototype to avoid an error. */
20030 #ifdef __cplusplus
20031 extern "C"
20033 #endif
20034 /* We use char because int might match the return type of a gcc2
20035 builtin and then its argument prototype would still apply. */
20036 char $ac_func ();
20037 /* The GNU C library defines this for functions which it implements
20038 to always fail with ENOSYS. Some functions are actually named
20039 something starting with __ and the normal name is an alias. */
20040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20041 choke me
20042 #else
20043 char (*f) () = $ac_func;
20044 #endif
20045 #ifdef __cplusplus
20047 #endif
20050 main ()
20052 return f != $ac_func;
20054 return 0;
20056 _ACEOF
20057 rm -f conftest.$ac_objext conftest$ac_exeext
20058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20059 (eval $ac_link) 2>conftest.er1
20060 ac_status=$?
20061 grep -v '^ *+' conftest.er1 >conftest.err
20062 rm -f conftest.er1
20063 cat conftest.err >&5
20064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20065 (exit $ac_status); } &&
20066 { ac_try='test -z "$ac_c_werror_flag"
20067 || test ! -s conftest.err'
20068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20069 (eval $ac_try) 2>&5
20070 ac_status=$?
20071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20072 (exit $ac_status); }; } &&
20073 { ac_try='test -s conftest$ac_exeext'
20074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20075 (eval $ac_try) 2>&5
20076 ac_status=$?
20077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20078 (exit $ac_status); }; }; then
20079 eval "$as_ac_var=yes"
20080 else
20081 echo "$as_me: failed program was:" >&5
20082 sed 's/^/| /' conftest.$ac_ext >&5
20084 eval "$as_ac_var=no"
20086 rm -f conftest.err conftest.$ac_objext \
20087 conftest$ac_exeext conftest.$ac_ext
20089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20091 if test `eval echo '${'$as_ac_var'}'` = yes; then
20092 cat >>confdefs.h <<_ACEOF
20093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20094 _ACEOF
20097 done
20104 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
20105 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
20106 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
20107 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
20108 echo $ECHO_N "(cached) $ECHO_C" >&6
20109 else
20113 ac_ext=cc
20114 ac_cpp='$CXXCPP $CPPFLAGS'
20115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20119 cat >conftest.$ac_ext <<_ACEOF
20120 /* confdefs.h. */
20121 _ACEOF
20122 cat confdefs.h >>conftest.$ac_ext
20123 cat >>conftest.$ac_ext <<_ACEOF
20124 /* end confdefs.h. */
20125 #include <math.h>
20126 #ifdef HAVE_IEEEFP_H
20127 #include <ieeefp.h>
20128 #endif
20131 main ()
20133 fabsl(0);
20135 return 0;
20137 _ACEOF
20138 rm -f conftest.$ac_objext
20139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20140 (eval $ac_compile) 2>conftest.er1
20141 ac_status=$?
20142 grep -v '^ *+' conftest.er1 >conftest.err
20143 rm -f conftest.er1
20144 cat conftest.err >&5
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); } &&
20147 { ac_try='test -z "$ac_cxx_werror_flag"
20148 || test ! -s conftest.err'
20149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20150 (eval $ac_try) 2>&5
20151 ac_status=$?
20152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20153 (exit $ac_status); }; } &&
20154 { ac_try='test -s conftest.$ac_objext'
20155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20156 (eval $ac_try) 2>&5
20157 ac_status=$?
20158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20159 (exit $ac_status); }; }; then
20160 glibcxx_cv_func_fabsl_use=yes
20161 else
20162 echo "$as_me: failed program was:" >&5
20163 sed 's/^/| /' conftest.$ac_ext >&5
20165 glibcxx_cv_func_fabsl_use=no
20167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20168 ac_ext=c
20169 ac_cpp='$CPP $CPPFLAGS'
20170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20178 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
20179 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
20181 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
20183 for ac_func in fabsl
20185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20186 echo "$as_me:$LINENO: checking for $ac_func" >&5
20187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20188 if eval "test \"\${$as_ac_var+set}\" = set"; then
20189 echo $ECHO_N "(cached) $ECHO_C" >&6
20190 else
20191 if test x$gcc_no_link = xyes; then
20192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20194 { (exit 1); exit 1; }; }
20196 cat >conftest.$ac_ext <<_ACEOF
20197 /* confdefs.h. */
20198 _ACEOF
20199 cat confdefs.h >>conftest.$ac_ext
20200 cat >>conftest.$ac_ext <<_ACEOF
20201 /* end confdefs.h. */
20202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20204 #define $ac_func innocuous_$ac_func
20206 /* System header to define __stub macros and hopefully few prototypes,
20207 which can conflict with char $ac_func (); below.
20208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20209 <limits.h> exists even on freestanding compilers. */
20211 #ifdef __STDC__
20212 # include <limits.h>
20213 #else
20214 # include <assert.h>
20215 #endif
20217 #undef $ac_func
20219 /* Override any gcc2 internal prototype to avoid an error. */
20220 #ifdef __cplusplus
20221 extern "C"
20223 #endif
20224 /* We use char because int might match the return type of a gcc2
20225 builtin and then its argument prototype would still apply. */
20226 char $ac_func ();
20227 /* The GNU C library defines this for functions which it implements
20228 to always fail with ENOSYS. Some functions are actually named
20229 something starting with __ and the normal name is an alias. */
20230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20231 choke me
20232 #else
20233 char (*f) () = $ac_func;
20234 #endif
20235 #ifdef __cplusplus
20237 #endif
20240 main ()
20242 return f != $ac_func;
20244 return 0;
20246 _ACEOF
20247 rm -f conftest.$ac_objext conftest$ac_exeext
20248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20249 (eval $ac_link) 2>conftest.er1
20250 ac_status=$?
20251 grep -v '^ *+' conftest.er1 >conftest.err
20252 rm -f conftest.er1
20253 cat conftest.err >&5
20254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20255 (exit $ac_status); } &&
20256 { ac_try='test -z "$ac_c_werror_flag"
20257 || test ! -s conftest.err'
20258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20259 (eval $ac_try) 2>&5
20260 ac_status=$?
20261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20262 (exit $ac_status); }; } &&
20263 { ac_try='test -s conftest$ac_exeext'
20264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20265 (eval $ac_try) 2>&5
20266 ac_status=$?
20267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20268 (exit $ac_status); }; }; then
20269 eval "$as_ac_var=yes"
20270 else
20271 echo "$as_me: failed program was:" >&5
20272 sed 's/^/| /' conftest.$ac_ext >&5
20274 eval "$as_ac_var=no"
20276 rm -f conftest.err conftest.$ac_objext \
20277 conftest$ac_exeext conftest.$ac_ext
20279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20281 if test `eval echo '${'$as_ac_var'}'` = yes; then
20282 cat >>confdefs.h <<_ACEOF
20283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20284 _ACEOF
20287 done
20289 else
20291 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
20292 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
20293 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
20294 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
20295 echo $ECHO_N "(cached) $ECHO_C" >&6
20296 else
20300 ac_ext=cc
20301 ac_cpp='$CXXCPP $CPPFLAGS'
20302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20306 cat >conftest.$ac_ext <<_ACEOF
20307 /* confdefs.h. */
20308 _ACEOF
20309 cat confdefs.h >>conftest.$ac_ext
20310 cat >>conftest.$ac_ext <<_ACEOF
20311 /* end confdefs.h. */
20312 #include <math.h>
20313 #ifdef HAVE_IEEEFP_H
20314 #include <ieeefp.h>
20315 #endif
20318 main ()
20320 _fabsl(0);
20322 return 0;
20324 _ACEOF
20325 rm -f conftest.$ac_objext
20326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20327 (eval $ac_compile) 2>conftest.er1
20328 ac_status=$?
20329 grep -v '^ *+' conftest.er1 >conftest.err
20330 rm -f conftest.er1
20331 cat conftest.err >&5
20332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); } &&
20334 { ac_try='test -z "$ac_cxx_werror_flag"
20335 || test ! -s conftest.err'
20336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20337 (eval $ac_try) 2>&5
20338 ac_status=$?
20339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20340 (exit $ac_status); }; } &&
20341 { ac_try='test -s conftest.$ac_objext'
20342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20343 (eval $ac_try) 2>&5
20344 ac_status=$?
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); }; }; then
20347 glibcxx_cv_func__fabsl_use=yes
20348 else
20349 echo "$as_me: failed program was:" >&5
20350 sed 's/^/| /' conftest.$ac_ext >&5
20352 glibcxx_cv_func__fabsl_use=no
20354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20355 ac_ext=c
20356 ac_cpp='$CPP $CPPFLAGS'
20357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20365 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
20366 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
20368 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
20370 for ac_func in _fabsl
20372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20373 echo "$as_me:$LINENO: checking for $ac_func" >&5
20374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20375 if eval "test \"\${$as_ac_var+set}\" = set"; then
20376 echo $ECHO_N "(cached) $ECHO_C" >&6
20377 else
20378 if test x$gcc_no_link = xyes; then
20379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20381 { (exit 1); exit 1; }; }
20383 cat >conftest.$ac_ext <<_ACEOF
20384 /* confdefs.h. */
20385 _ACEOF
20386 cat confdefs.h >>conftest.$ac_ext
20387 cat >>conftest.$ac_ext <<_ACEOF
20388 /* end confdefs.h. */
20389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20391 #define $ac_func innocuous_$ac_func
20393 /* System header to define __stub macros and hopefully few prototypes,
20394 which can conflict with char $ac_func (); below.
20395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20396 <limits.h> exists even on freestanding compilers. */
20398 #ifdef __STDC__
20399 # include <limits.h>
20400 #else
20401 # include <assert.h>
20402 #endif
20404 #undef $ac_func
20406 /* Override any gcc2 internal prototype to avoid an error. */
20407 #ifdef __cplusplus
20408 extern "C"
20410 #endif
20411 /* We use char because int might match the return type of a gcc2
20412 builtin and then its argument prototype would still apply. */
20413 char $ac_func ();
20414 /* The GNU C library defines this for functions which it implements
20415 to always fail with ENOSYS. Some functions are actually named
20416 something starting with __ and the normal name is an alias. */
20417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20418 choke me
20419 #else
20420 char (*f) () = $ac_func;
20421 #endif
20422 #ifdef __cplusplus
20424 #endif
20427 main ()
20429 return f != $ac_func;
20431 return 0;
20433 _ACEOF
20434 rm -f conftest.$ac_objext conftest$ac_exeext
20435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20436 (eval $ac_link) 2>conftest.er1
20437 ac_status=$?
20438 grep -v '^ *+' conftest.er1 >conftest.err
20439 rm -f conftest.er1
20440 cat conftest.err >&5
20441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20442 (exit $ac_status); } &&
20443 { ac_try='test -z "$ac_c_werror_flag"
20444 || test ! -s conftest.err'
20445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20446 (eval $ac_try) 2>&5
20447 ac_status=$?
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); }; } &&
20450 { ac_try='test -s conftest$ac_exeext'
20451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20452 (eval $ac_try) 2>&5
20453 ac_status=$?
20454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20455 (exit $ac_status); }; }; then
20456 eval "$as_ac_var=yes"
20457 else
20458 echo "$as_me: failed program was:" >&5
20459 sed 's/^/| /' conftest.$ac_ext >&5
20461 eval "$as_ac_var=no"
20463 rm -f conftest.err conftest.$ac_objext \
20464 conftest$ac_exeext conftest.$ac_ext
20466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20468 if test `eval echo '${'$as_ac_var'}'` = yes; then
20469 cat >>confdefs.h <<_ACEOF
20470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20471 _ACEOF
20474 done
20481 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
20482 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
20483 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
20484 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
20485 echo $ECHO_N "(cached) $ECHO_C" >&6
20486 else
20490 ac_ext=cc
20491 ac_cpp='$CXXCPP $CPPFLAGS'
20492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20496 cat >conftest.$ac_ext <<_ACEOF
20497 /* confdefs.h. */
20498 _ACEOF
20499 cat confdefs.h >>conftest.$ac_ext
20500 cat >>conftest.$ac_ext <<_ACEOF
20501 /* end confdefs.h. */
20502 #include <math.h>
20504 main ()
20506 fmodl(0, 0);
20508 return 0;
20510 _ACEOF
20511 rm -f conftest.$ac_objext
20512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20513 (eval $ac_compile) 2>conftest.er1
20514 ac_status=$?
20515 grep -v '^ *+' conftest.er1 >conftest.err
20516 rm -f conftest.er1
20517 cat conftest.err >&5
20518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20519 (exit $ac_status); } &&
20520 { ac_try='test -z "$ac_cxx_werror_flag"
20521 || test ! -s conftest.err'
20522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20523 (eval $ac_try) 2>&5
20524 ac_status=$?
20525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20526 (exit $ac_status); }; } &&
20527 { ac_try='test -s conftest.$ac_objext'
20528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20529 (eval $ac_try) 2>&5
20530 ac_status=$?
20531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20532 (exit $ac_status); }; }; then
20533 glibcxx_cv_func_fmodl_use=yes
20534 else
20535 echo "$as_me: failed program was:" >&5
20536 sed 's/^/| /' conftest.$ac_ext >&5
20538 glibcxx_cv_func_fmodl_use=no
20540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20541 ac_ext=c
20542 ac_cpp='$CPP $CPPFLAGS'
20543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20551 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
20552 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
20554 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
20556 for ac_func in fmodl
20558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20559 echo "$as_me:$LINENO: checking for $ac_func" >&5
20560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20561 if eval "test \"\${$as_ac_var+set}\" = set"; then
20562 echo $ECHO_N "(cached) $ECHO_C" >&6
20563 else
20564 if test x$gcc_no_link = xyes; then
20565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20567 { (exit 1); exit 1; }; }
20569 cat >conftest.$ac_ext <<_ACEOF
20570 /* confdefs.h. */
20571 _ACEOF
20572 cat confdefs.h >>conftest.$ac_ext
20573 cat >>conftest.$ac_ext <<_ACEOF
20574 /* end confdefs.h. */
20575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20577 #define $ac_func innocuous_$ac_func
20579 /* System header to define __stub macros and hopefully few prototypes,
20580 which can conflict with char $ac_func (); below.
20581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20582 <limits.h> exists even on freestanding compilers. */
20584 #ifdef __STDC__
20585 # include <limits.h>
20586 #else
20587 # include <assert.h>
20588 #endif
20590 #undef $ac_func
20592 /* Override any gcc2 internal prototype to avoid an error. */
20593 #ifdef __cplusplus
20594 extern "C"
20596 #endif
20597 /* We use char because int might match the return type of a gcc2
20598 builtin and then its argument prototype would still apply. */
20599 char $ac_func ();
20600 /* The GNU C library defines this for functions which it implements
20601 to always fail with ENOSYS. Some functions are actually named
20602 something starting with __ and the normal name is an alias. */
20603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20604 choke me
20605 #else
20606 char (*f) () = $ac_func;
20607 #endif
20608 #ifdef __cplusplus
20610 #endif
20613 main ()
20615 return f != $ac_func;
20617 return 0;
20619 _ACEOF
20620 rm -f conftest.$ac_objext conftest$ac_exeext
20621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20622 (eval $ac_link) 2>conftest.er1
20623 ac_status=$?
20624 grep -v '^ *+' conftest.er1 >conftest.err
20625 rm -f conftest.er1
20626 cat conftest.err >&5
20627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20628 (exit $ac_status); } &&
20629 { ac_try='test -z "$ac_c_werror_flag"
20630 || test ! -s conftest.err'
20631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20632 (eval $ac_try) 2>&5
20633 ac_status=$?
20634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635 (exit $ac_status); }; } &&
20636 { ac_try='test -s conftest$ac_exeext'
20637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20638 (eval $ac_try) 2>&5
20639 ac_status=$?
20640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20641 (exit $ac_status); }; }; then
20642 eval "$as_ac_var=yes"
20643 else
20644 echo "$as_me: failed program was:" >&5
20645 sed 's/^/| /' conftest.$ac_ext >&5
20647 eval "$as_ac_var=no"
20649 rm -f conftest.err conftest.$ac_objext \
20650 conftest$ac_exeext conftest.$ac_ext
20652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20654 if test `eval echo '${'$as_ac_var'}'` = yes; then
20655 cat >>confdefs.h <<_ACEOF
20656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20657 _ACEOF
20660 done
20662 else
20664 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
20665 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
20666 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
20667 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
20668 echo $ECHO_N "(cached) $ECHO_C" >&6
20669 else
20673 ac_ext=cc
20674 ac_cpp='$CXXCPP $CPPFLAGS'
20675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20679 cat >conftest.$ac_ext <<_ACEOF
20680 /* confdefs.h. */
20681 _ACEOF
20682 cat confdefs.h >>conftest.$ac_ext
20683 cat >>conftest.$ac_ext <<_ACEOF
20684 /* end confdefs.h. */
20685 #include <math.h>
20687 main ()
20689 _fmodl(0, 0);
20691 return 0;
20693 _ACEOF
20694 rm -f conftest.$ac_objext
20695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20696 (eval $ac_compile) 2>conftest.er1
20697 ac_status=$?
20698 grep -v '^ *+' conftest.er1 >conftest.err
20699 rm -f conftest.er1
20700 cat conftest.err >&5
20701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20702 (exit $ac_status); } &&
20703 { ac_try='test -z "$ac_cxx_werror_flag"
20704 || test ! -s conftest.err'
20705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20706 (eval $ac_try) 2>&5
20707 ac_status=$?
20708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709 (exit $ac_status); }; } &&
20710 { ac_try='test -s conftest.$ac_objext'
20711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20712 (eval $ac_try) 2>&5
20713 ac_status=$?
20714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20715 (exit $ac_status); }; }; then
20716 glibcxx_cv_func__fmodl_use=yes
20717 else
20718 echo "$as_me: failed program was:" >&5
20719 sed 's/^/| /' conftest.$ac_ext >&5
20721 glibcxx_cv_func__fmodl_use=no
20723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20724 ac_ext=c
20725 ac_cpp='$CPP $CPPFLAGS'
20726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20734 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
20735 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
20737 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
20739 for ac_func in _fmodl
20741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20742 echo "$as_me:$LINENO: checking for $ac_func" >&5
20743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20744 if eval "test \"\${$as_ac_var+set}\" = set"; then
20745 echo $ECHO_N "(cached) $ECHO_C" >&6
20746 else
20747 if test x$gcc_no_link = xyes; then
20748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20750 { (exit 1); exit 1; }; }
20752 cat >conftest.$ac_ext <<_ACEOF
20753 /* confdefs.h. */
20754 _ACEOF
20755 cat confdefs.h >>conftest.$ac_ext
20756 cat >>conftest.$ac_ext <<_ACEOF
20757 /* end confdefs.h. */
20758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20760 #define $ac_func innocuous_$ac_func
20762 /* System header to define __stub macros and hopefully few prototypes,
20763 which can conflict with char $ac_func (); below.
20764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20765 <limits.h> exists even on freestanding compilers. */
20767 #ifdef __STDC__
20768 # include <limits.h>
20769 #else
20770 # include <assert.h>
20771 #endif
20773 #undef $ac_func
20775 /* Override any gcc2 internal prototype to avoid an error. */
20776 #ifdef __cplusplus
20777 extern "C"
20779 #endif
20780 /* We use char because int might match the return type of a gcc2
20781 builtin and then its argument prototype would still apply. */
20782 char $ac_func ();
20783 /* The GNU C library defines this for functions which it implements
20784 to always fail with ENOSYS. Some functions are actually named
20785 something starting with __ and the normal name is an alias. */
20786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20787 choke me
20788 #else
20789 char (*f) () = $ac_func;
20790 #endif
20791 #ifdef __cplusplus
20793 #endif
20796 main ()
20798 return f != $ac_func;
20800 return 0;
20802 _ACEOF
20803 rm -f conftest.$ac_objext conftest$ac_exeext
20804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20805 (eval $ac_link) 2>conftest.er1
20806 ac_status=$?
20807 grep -v '^ *+' conftest.er1 >conftest.err
20808 rm -f conftest.er1
20809 cat conftest.err >&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); } &&
20812 { ac_try='test -z "$ac_c_werror_flag"
20813 || test ! -s conftest.err'
20814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20815 (eval $ac_try) 2>&5
20816 ac_status=$?
20817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20818 (exit $ac_status); }; } &&
20819 { ac_try='test -s conftest$ac_exeext'
20820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20821 (eval $ac_try) 2>&5
20822 ac_status=$?
20823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20824 (exit $ac_status); }; }; then
20825 eval "$as_ac_var=yes"
20826 else
20827 echo "$as_me: failed program was:" >&5
20828 sed 's/^/| /' conftest.$ac_ext >&5
20830 eval "$as_ac_var=no"
20832 rm -f conftest.err conftest.$ac_objext \
20833 conftest$ac_exeext conftest.$ac_ext
20835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20837 if test `eval echo '${'$as_ac_var'}'` = yes; then
20838 cat >>confdefs.h <<_ACEOF
20839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20840 _ACEOF
20843 done
20850 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
20851 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
20852 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
20853 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
20854 echo $ECHO_N "(cached) $ECHO_C" >&6
20855 else
20859 ac_ext=cc
20860 ac_cpp='$CXXCPP $CPPFLAGS'
20861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20865 cat >conftest.$ac_ext <<_ACEOF
20866 /* confdefs.h. */
20867 _ACEOF
20868 cat confdefs.h >>conftest.$ac_ext
20869 cat >>conftest.$ac_ext <<_ACEOF
20870 /* end confdefs.h. */
20871 #include <math.h>
20873 main ()
20875 frexpl(0, 0);
20877 return 0;
20879 _ACEOF
20880 rm -f conftest.$ac_objext
20881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20882 (eval $ac_compile) 2>conftest.er1
20883 ac_status=$?
20884 grep -v '^ *+' conftest.er1 >conftest.err
20885 rm -f conftest.er1
20886 cat conftest.err >&5
20887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888 (exit $ac_status); } &&
20889 { ac_try='test -z "$ac_cxx_werror_flag"
20890 || test ! -s conftest.err'
20891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20892 (eval $ac_try) 2>&5
20893 ac_status=$?
20894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20895 (exit $ac_status); }; } &&
20896 { ac_try='test -s conftest.$ac_objext'
20897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20898 (eval $ac_try) 2>&5
20899 ac_status=$?
20900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20901 (exit $ac_status); }; }; then
20902 glibcxx_cv_func_frexpl_use=yes
20903 else
20904 echo "$as_me: failed program was:" >&5
20905 sed 's/^/| /' conftest.$ac_ext >&5
20907 glibcxx_cv_func_frexpl_use=no
20909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20910 ac_ext=c
20911 ac_cpp='$CPP $CPPFLAGS'
20912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20920 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
20921 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
20923 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
20925 for ac_func in frexpl
20927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20928 echo "$as_me:$LINENO: checking for $ac_func" >&5
20929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20930 if eval "test \"\${$as_ac_var+set}\" = set"; then
20931 echo $ECHO_N "(cached) $ECHO_C" >&6
20932 else
20933 if test x$gcc_no_link = xyes; then
20934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20936 { (exit 1); exit 1; }; }
20938 cat >conftest.$ac_ext <<_ACEOF
20939 /* confdefs.h. */
20940 _ACEOF
20941 cat confdefs.h >>conftest.$ac_ext
20942 cat >>conftest.$ac_ext <<_ACEOF
20943 /* end confdefs.h. */
20944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20946 #define $ac_func innocuous_$ac_func
20948 /* System header to define __stub macros and hopefully few prototypes,
20949 which can conflict with char $ac_func (); below.
20950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20951 <limits.h> exists even on freestanding compilers. */
20953 #ifdef __STDC__
20954 # include <limits.h>
20955 #else
20956 # include <assert.h>
20957 #endif
20959 #undef $ac_func
20961 /* Override any gcc2 internal prototype to avoid an error. */
20962 #ifdef __cplusplus
20963 extern "C"
20965 #endif
20966 /* We use char because int might match the return type of a gcc2
20967 builtin and then its argument prototype would still apply. */
20968 char $ac_func ();
20969 /* The GNU C library defines this for functions which it implements
20970 to always fail with ENOSYS. Some functions are actually named
20971 something starting with __ and the normal name is an alias. */
20972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20973 choke me
20974 #else
20975 char (*f) () = $ac_func;
20976 #endif
20977 #ifdef __cplusplus
20979 #endif
20982 main ()
20984 return f != $ac_func;
20986 return 0;
20988 _ACEOF
20989 rm -f conftest.$ac_objext conftest$ac_exeext
20990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20991 (eval $ac_link) 2>conftest.er1
20992 ac_status=$?
20993 grep -v '^ *+' conftest.er1 >conftest.err
20994 rm -f conftest.er1
20995 cat conftest.err >&5
20996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20997 (exit $ac_status); } &&
20998 { ac_try='test -z "$ac_c_werror_flag"
20999 || test ! -s conftest.err'
21000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21001 (eval $ac_try) 2>&5
21002 ac_status=$?
21003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21004 (exit $ac_status); }; } &&
21005 { ac_try='test -s conftest$ac_exeext'
21006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21007 (eval $ac_try) 2>&5
21008 ac_status=$?
21009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21010 (exit $ac_status); }; }; then
21011 eval "$as_ac_var=yes"
21012 else
21013 echo "$as_me: failed program was:" >&5
21014 sed 's/^/| /' conftest.$ac_ext >&5
21016 eval "$as_ac_var=no"
21018 rm -f conftest.err conftest.$ac_objext \
21019 conftest$ac_exeext conftest.$ac_ext
21021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21023 if test `eval echo '${'$as_ac_var'}'` = yes; then
21024 cat >>confdefs.h <<_ACEOF
21025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21026 _ACEOF
21029 done
21031 else
21033 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
21034 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
21035 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
21036 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
21037 echo $ECHO_N "(cached) $ECHO_C" >&6
21038 else
21042 ac_ext=cc
21043 ac_cpp='$CXXCPP $CPPFLAGS'
21044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21048 cat >conftest.$ac_ext <<_ACEOF
21049 /* confdefs.h. */
21050 _ACEOF
21051 cat confdefs.h >>conftest.$ac_ext
21052 cat >>conftest.$ac_ext <<_ACEOF
21053 /* end confdefs.h. */
21054 #include <math.h>
21056 main ()
21058 _frexpl(0, 0);
21060 return 0;
21062 _ACEOF
21063 rm -f conftest.$ac_objext
21064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21065 (eval $ac_compile) 2>conftest.er1
21066 ac_status=$?
21067 grep -v '^ *+' conftest.er1 >conftest.err
21068 rm -f conftest.er1
21069 cat conftest.err >&5
21070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21071 (exit $ac_status); } &&
21072 { ac_try='test -z "$ac_cxx_werror_flag"
21073 || test ! -s conftest.err'
21074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21075 (eval $ac_try) 2>&5
21076 ac_status=$?
21077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21078 (exit $ac_status); }; } &&
21079 { ac_try='test -s conftest.$ac_objext'
21080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21081 (eval $ac_try) 2>&5
21082 ac_status=$?
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); }; }; then
21085 glibcxx_cv_func__frexpl_use=yes
21086 else
21087 echo "$as_me: failed program was:" >&5
21088 sed 's/^/| /' conftest.$ac_ext >&5
21090 glibcxx_cv_func__frexpl_use=no
21092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21093 ac_ext=c
21094 ac_cpp='$CPP $CPPFLAGS'
21095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21103 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
21104 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
21106 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
21108 for ac_func in _frexpl
21110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21111 echo "$as_me:$LINENO: checking for $ac_func" >&5
21112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21113 if eval "test \"\${$as_ac_var+set}\" = set"; then
21114 echo $ECHO_N "(cached) $ECHO_C" >&6
21115 else
21116 if test x$gcc_no_link = xyes; then
21117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21119 { (exit 1); exit 1; }; }
21121 cat >conftest.$ac_ext <<_ACEOF
21122 /* confdefs.h. */
21123 _ACEOF
21124 cat confdefs.h >>conftest.$ac_ext
21125 cat >>conftest.$ac_ext <<_ACEOF
21126 /* end confdefs.h. */
21127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21129 #define $ac_func innocuous_$ac_func
21131 /* System header to define __stub macros and hopefully few prototypes,
21132 which can conflict with char $ac_func (); below.
21133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21134 <limits.h> exists even on freestanding compilers. */
21136 #ifdef __STDC__
21137 # include <limits.h>
21138 #else
21139 # include <assert.h>
21140 #endif
21142 #undef $ac_func
21144 /* Override any gcc2 internal prototype to avoid an error. */
21145 #ifdef __cplusplus
21146 extern "C"
21148 #endif
21149 /* We use char because int might match the return type of a gcc2
21150 builtin and then its argument prototype would still apply. */
21151 char $ac_func ();
21152 /* The GNU C library defines this for functions which it implements
21153 to always fail with ENOSYS. Some functions are actually named
21154 something starting with __ and the normal name is an alias. */
21155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21156 choke me
21157 #else
21158 char (*f) () = $ac_func;
21159 #endif
21160 #ifdef __cplusplus
21162 #endif
21165 main ()
21167 return f != $ac_func;
21169 return 0;
21171 _ACEOF
21172 rm -f conftest.$ac_objext conftest$ac_exeext
21173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21174 (eval $ac_link) 2>conftest.er1
21175 ac_status=$?
21176 grep -v '^ *+' conftest.er1 >conftest.err
21177 rm -f conftest.er1
21178 cat conftest.err >&5
21179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21180 (exit $ac_status); } &&
21181 { ac_try='test -z "$ac_c_werror_flag"
21182 || test ! -s conftest.err'
21183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21184 (eval $ac_try) 2>&5
21185 ac_status=$?
21186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21187 (exit $ac_status); }; } &&
21188 { ac_try='test -s conftest$ac_exeext'
21189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21190 (eval $ac_try) 2>&5
21191 ac_status=$?
21192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21193 (exit $ac_status); }; }; then
21194 eval "$as_ac_var=yes"
21195 else
21196 echo "$as_me: failed program was:" >&5
21197 sed 's/^/| /' conftest.$ac_ext >&5
21199 eval "$as_ac_var=no"
21201 rm -f conftest.err conftest.$ac_objext \
21202 conftest$ac_exeext conftest.$ac_ext
21204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21206 if test `eval echo '${'$as_ac_var'}'` = yes; then
21207 cat >>confdefs.h <<_ACEOF
21208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21209 _ACEOF
21212 done
21219 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
21220 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
21221 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
21222 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
21223 echo $ECHO_N "(cached) $ECHO_C" >&6
21224 else
21228 ac_ext=cc
21229 ac_cpp='$CXXCPP $CPPFLAGS'
21230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21234 cat >conftest.$ac_ext <<_ACEOF
21235 /* confdefs.h. */
21236 _ACEOF
21237 cat confdefs.h >>conftest.$ac_ext
21238 cat >>conftest.$ac_ext <<_ACEOF
21239 /* end confdefs.h. */
21240 #include <math.h>
21242 main ()
21244 hypotl(0, 0);
21246 return 0;
21248 _ACEOF
21249 rm -f conftest.$ac_objext
21250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21251 (eval $ac_compile) 2>conftest.er1
21252 ac_status=$?
21253 grep -v '^ *+' conftest.er1 >conftest.err
21254 rm -f conftest.er1
21255 cat conftest.err >&5
21256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21257 (exit $ac_status); } &&
21258 { ac_try='test -z "$ac_cxx_werror_flag"
21259 || test ! -s conftest.err'
21260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21261 (eval $ac_try) 2>&5
21262 ac_status=$?
21263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21264 (exit $ac_status); }; } &&
21265 { ac_try='test -s conftest.$ac_objext'
21266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21267 (eval $ac_try) 2>&5
21268 ac_status=$?
21269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21270 (exit $ac_status); }; }; then
21271 glibcxx_cv_func_hypotl_use=yes
21272 else
21273 echo "$as_me: failed program was:" >&5
21274 sed 's/^/| /' conftest.$ac_ext >&5
21276 glibcxx_cv_func_hypotl_use=no
21278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21279 ac_ext=c
21280 ac_cpp='$CPP $CPPFLAGS'
21281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21289 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
21290 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
21292 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
21294 for ac_func in hypotl
21296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21297 echo "$as_me:$LINENO: checking for $ac_func" >&5
21298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21299 if eval "test \"\${$as_ac_var+set}\" = set"; then
21300 echo $ECHO_N "(cached) $ECHO_C" >&6
21301 else
21302 if test x$gcc_no_link = xyes; then
21303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21305 { (exit 1); exit 1; }; }
21307 cat >conftest.$ac_ext <<_ACEOF
21308 /* confdefs.h. */
21309 _ACEOF
21310 cat confdefs.h >>conftest.$ac_ext
21311 cat >>conftest.$ac_ext <<_ACEOF
21312 /* end confdefs.h. */
21313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21315 #define $ac_func innocuous_$ac_func
21317 /* System header to define __stub macros and hopefully few prototypes,
21318 which can conflict with char $ac_func (); below.
21319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21320 <limits.h> exists even on freestanding compilers. */
21322 #ifdef __STDC__
21323 # include <limits.h>
21324 #else
21325 # include <assert.h>
21326 #endif
21328 #undef $ac_func
21330 /* Override any gcc2 internal prototype to avoid an error. */
21331 #ifdef __cplusplus
21332 extern "C"
21334 #endif
21335 /* We use char because int might match the return type of a gcc2
21336 builtin and then its argument prototype would still apply. */
21337 char $ac_func ();
21338 /* The GNU C library defines this for functions which it implements
21339 to always fail with ENOSYS. Some functions are actually named
21340 something starting with __ and the normal name is an alias. */
21341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21342 choke me
21343 #else
21344 char (*f) () = $ac_func;
21345 #endif
21346 #ifdef __cplusplus
21348 #endif
21351 main ()
21353 return f != $ac_func;
21355 return 0;
21357 _ACEOF
21358 rm -f conftest.$ac_objext conftest$ac_exeext
21359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21360 (eval $ac_link) 2>conftest.er1
21361 ac_status=$?
21362 grep -v '^ *+' conftest.er1 >conftest.err
21363 rm -f conftest.er1
21364 cat conftest.err >&5
21365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366 (exit $ac_status); } &&
21367 { ac_try='test -z "$ac_c_werror_flag"
21368 || test ! -s conftest.err'
21369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21370 (eval $ac_try) 2>&5
21371 ac_status=$?
21372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21373 (exit $ac_status); }; } &&
21374 { ac_try='test -s conftest$ac_exeext'
21375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21376 (eval $ac_try) 2>&5
21377 ac_status=$?
21378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21379 (exit $ac_status); }; }; then
21380 eval "$as_ac_var=yes"
21381 else
21382 echo "$as_me: failed program was:" >&5
21383 sed 's/^/| /' conftest.$ac_ext >&5
21385 eval "$as_ac_var=no"
21387 rm -f conftest.err conftest.$ac_objext \
21388 conftest$ac_exeext conftest.$ac_ext
21390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21392 if test `eval echo '${'$as_ac_var'}'` = yes; then
21393 cat >>confdefs.h <<_ACEOF
21394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21395 _ACEOF
21398 done
21400 else
21402 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
21403 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
21404 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
21405 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
21406 echo $ECHO_N "(cached) $ECHO_C" >&6
21407 else
21411 ac_ext=cc
21412 ac_cpp='$CXXCPP $CPPFLAGS'
21413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21417 cat >conftest.$ac_ext <<_ACEOF
21418 /* confdefs.h. */
21419 _ACEOF
21420 cat confdefs.h >>conftest.$ac_ext
21421 cat >>conftest.$ac_ext <<_ACEOF
21422 /* end confdefs.h. */
21423 #include <math.h>
21425 main ()
21427 _hypotl(0, 0);
21429 return 0;
21431 _ACEOF
21432 rm -f conftest.$ac_objext
21433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21434 (eval $ac_compile) 2>conftest.er1
21435 ac_status=$?
21436 grep -v '^ *+' conftest.er1 >conftest.err
21437 rm -f conftest.er1
21438 cat conftest.err >&5
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); } &&
21441 { ac_try='test -z "$ac_cxx_werror_flag"
21442 || test ! -s conftest.err'
21443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21444 (eval $ac_try) 2>&5
21445 ac_status=$?
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); }; } &&
21448 { ac_try='test -s conftest.$ac_objext'
21449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21450 (eval $ac_try) 2>&5
21451 ac_status=$?
21452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21453 (exit $ac_status); }; }; then
21454 glibcxx_cv_func__hypotl_use=yes
21455 else
21456 echo "$as_me: failed program was:" >&5
21457 sed 's/^/| /' conftest.$ac_ext >&5
21459 glibcxx_cv_func__hypotl_use=no
21461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21462 ac_ext=c
21463 ac_cpp='$CPP $CPPFLAGS'
21464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21472 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
21473 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
21475 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
21477 for ac_func in _hypotl
21479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21480 echo "$as_me:$LINENO: checking for $ac_func" >&5
21481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21482 if eval "test \"\${$as_ac_var+set}\" = set"; then
21483 echo $ECHO_N "(cached) $ECHO_C" >&6
21484 else
21485 if test x$gcc_no_link = xyes; then
21486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21488 { (exit 1); exit 1; }; }
21490 cat >conftest.$ac_ext <<_ACEOF
21491 /* confdefs.h. */
21492 _ACEOF
21493 cat confdefs.h >>conftest.$ac_ext
21494 cat >>conftest.$ac_ext <<_ACEOF
21495 /* end confdefs.h. */
21496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21498 #define $ac_func innocuous_$ac_func
21500 /* System header to define __stub macros and hopefully few prototypes,
21501 which can conflict with char $ac_func (); below.
21502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21503 <limits.h> exists even on freestanding compilers. */
21505 #ifdef __STDC__
21506 # include <limits.h>
21507 #else
21508 # include <assert.h>
21509 #endif
21511 #undef $ac_func
21513 /* Override any gcc2 internal prototype to avoid an error. */
21514 #ifdef __cplusplus
21515 extern "C"
21517 #endif
21518 /* We use char because int might match the return type of a gcc2
21519 builtin and then its argument prototype would still apply. */
21520 char $ac_func ();
21521 /* The GNU C library defines this for functions which it implements
21522 to always fail with ENOSYS. Some functions are actually named
21523 something starting with __ and the normal name is an alias. */
21524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21525 choke me
21526 #else
21527 char (*f) () = $ac_func;
21528 #endif
21529 #ifdef __cplusplus
21531 #endif
21534 main ()
21536 return f != $ac_func;
21538 return 0;
21540 _ACEOF
21541 rm -f conftest.$ac_objext conftest$ac_exeext
21542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21543 (eval $ac_link) 2>conftest.er1
21544 ac_status=$?
21545 grep -v '^ *+' conftest.er1 >conftest.err
21546 rm -f conftest.er1
21547 cat conftest.err >&5
21548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21549 (exit $ac_status); } &&
21550 { ac_try='test -z "$ac_c_werror_flag"
21551 || test ! -s conftest.err'
21552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21553 (eval $ac_try) 2>&5
21554 ac_status=$?
21555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556 (exit $ac_status); }; } &&
21557 { ac_try='test -s conftest$ac_exeext'
21558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21559 (eval $ac_try) 2>&5
21560 ac_status=$?
21561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21562 (exit $ac_status); }; }; then
21563 eval "$as_ac_var=yes"
21564 else
21565 echo "$as_me: failed program was:" >&5
21566 sed 's/^/| /' conftest.$ac_ext >&5
21568 eval "$as_ac_var=no"
21570 rm -f conftest.err conftest.$ac_objext \
21571 conftest$ac_exeext conftest.$ac_ext
21573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21575 if test `eval echo '${'$as_ac_var'}'` = yes; then
21576 cat >>confdefs.h <<_ACEOF
21577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21578 _ACEOF
21581 done
21588 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
21589 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
21590 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
21591 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
21592 echo $ECHO_N "(cached) $ECHO_C" >&6
21593 else
21597 ac_ext=cc
21598 ac_cpp='$CXXCPP $CPPFLAGS'
21599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21603 cat >conftest.$ac_ext <<_ACEOF
21604 /* confdefs.h. */
21605 _ACEOF
21606 cat confdefs.h >>conftest.$ac_ext
21607 cat >>conftest.$ac_ext <<_ACEOF
21608 /* end confdefs.h. */
21609 #include <math.h>
21611 main ()
21613 ldexpl(0, 0);
21615 return 0;
21617 _ACEOF
21618 rm -f conftest.$ac_objext
21619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21620 (eval $ac_compile) 2>conftest.er1
21621 ac_status=$?
21622 grep -v '^ *+' conftest.er1 >conftest.err
21623 rm -f conftest.er1
21624 cat conftest.err >&5
21625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21626 (exit $ac_status); } &&
21627 { ac_try='test -z "$ac_cxx_werror_flag"
21628 || test ! -s conftest.err'
21629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21630 (eval $ac_try) 2>&5
21631 ac_status=$?
21632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21633 (exit $ac_status); }; } &&
21634 { ac_try='test -s conftest.$ac_objext'
21635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21636 (eval $ac_try) 2>&5
21637 ac_status=$?
21638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21639 (exit $ac_status); }; }; then
21640 glibcxx_cv_func_ldexpl_use=yes
21641 else
21642 echo "$as_me: failed program was:" >&5
21643 sed 's/^/| /' conftest.$ac_ext >&5
21645 glibcxx_cv_func_ldexpl_use=no
21647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21648 ac_ext=c
21649 ac_cpp='$CPP $CPPFLAGS'
21650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21658 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
21659 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
21661 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
21663 for ac_func in ldexpl
21665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21666 echo "$as_me:$LINENO: checking for $ac_func" >&5
21667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21668 if eval "test \"\${$as_ac_var+set}\" = set"; then
21669 echo $ECHO_N "(cached) $ECHO_C" >&6
21670 else
21671 if test x$gcc_no_link = xyes; then
21672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21674 { (exit 1); exit 1; }; }
21676 cat >conftest.$ac_ext <<_ACEOF
21677 /* confdefs.h. */
21678 _ACEOF
21679 cat confdefs.h >>conftest.$ac_ext
21680 cat >>conftest.$ac_ext <<_ACEOF
21681 /* end confdefs.h. */
21682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21684 #define $ac_func innocuous_$ac_func
21686 /* System header to define __stub macros and hopefully few prototypes,
21687 which can conflict with char $ac_func (); below.
21688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21689 <limits.h> exists even on freestanding compilers. */
21691 #ifdef __STDC__
21692 # include <limits.h>
21693 #else
21694 # include <assert.h>
21695 #endif
21697 #undef $ac_func
21699 /* Override any gcc2 internal prototype to avoid an error. */
21700 #ifdef __cplusplus
21701 extern "C"
21703 #endif
21704 /* We use char because int might match the return type of a gcc2
21705 builtin and then its argument prototype would still apply. */
21706 char $ac_func ();
21707 /* The GNU C library defines this for functions which it implements
21708 to always fail with ENOSYS. Some functions are actually named
21709 something starting with __ and the normal name is an alias. */
21710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21711 choke me
21712 #else
21713 char (*f) () = $ac_func;
21714 #endif
21715 #ifdef __cplusplus
21717 #endif
21720 main ()
21722 return f != $ac_func;
21724 return 0;
21726 _ACEOF
21727 rm -f conftest.$ac_objext conftest$ac_exeext
21728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21729 (eval $ac_link) 2>conftest.er1
21730 ac_status=$?
21731 grep -v '^ *+' conftest.er1 >conftest.err
21732 rm -f conftest.er1
21733 cat conftest.err >&5
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); } &&
21736 { ac_try='test -z "$ac_c_werror_flag"
21737 || test ! -s conftest.err'
21738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21739 (eval $ac_try) 2>&5
21740 ac_status=$?
21741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21742 (exit $ac_status); }; } &&
21743 { ac_try='test -s conftest$ac_exeext'
21744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21745 (eval $ac_try) 2>&5
21746 ac_status=$?
21747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); }; }; then
21749 eval "$as_ac_var=yes"
21750 else
21751 echo "$as_me: failed program was:" >&5
21752 sed 's/^/| /' conftest.$ac_ext >&5
21754 eval "$as_ac_var=no"
21756 rm -f conftest.err conftest.$ac_objext \
21757 conftest$ac_exeext conftest.$ac_ext
21759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21761 if test `eval echo '${'$as_ac_var'}'` = yes; then
21762 cat >>confdefs.h <<_ACEOF
21763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21764 _ACEOF
21767 done
21769 else
21771 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
21772 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
21773 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
21774 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
21775 echo $ECHO_N "(cached) $ECHO_C" >&6
21776 else
21780 ac_ext=cc
21781 ac_cpp='$CXXCPP $CPPFLAGS'
21782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21786 cat >conftest.$ac_ext <<_ACEOF
21787 /* confdefs.h. */
21788 _ACEOF
21789 cat confdefs.h >>conftest.$ac_ext
21790 cat >>conftest.$ac_ext <<_ACEOF
21791 /* end confdefs.h. */
21792 #include <math.h>
21794 main ()
21796 _ldexpl(0, 0);
21798 return 0;
21800 _ACEOF
21801 rm -f conftest.$ac_objext
21802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21803 (eval $ac_compile) 2>conftest.er1
21804 ac_status=$?
21805 grep -v '^ *+' conftest.er1 >conftest.err
21806 rm -f conftest.er1
21807 cat conftest.err >&5
21808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21809 (exit $ac_status); } &&
21810 { ac_try='test -z "$ac_cxx_werror_flag"
21811 || test ! -s conftest.err'
21812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21813 (eval $ac_try) 2>&5
21814 ac_status=$?
21815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21816 (exit $ac_status); }; } &&
21817 { ac_try='test -s conftest.$ac_objext'
21818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21819 (eval $ac_try) 2>&5
21820 ac_status=$?
21821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21822 (exit $ac_status); }; }; then
21823 glibcxx_cv_func__ldexpl_use=yes
21824 else
21825 echo "$as_me: failed program was:" >&5
21826 sed 's/^/| /' conftest.$ac_ext >&5
21828 glibcxx_cv_func__ldexpl_use=no
21830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21831 ac_ext=c
21832 ac_cpp='$CPP $CPPFLAGS'
21833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21841 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
21842 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
21844 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
21846 for ac_func in _ldexpl
21848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21849 echo "$as_me:$LINENO: checking for $ac_func" >&5
21850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21851 if eval "test \"\${$as_ac_var+set}\" = set"; then
21852 echo $ECHO_N "(cached) $ECHO_C" >&6
21853 else
21854 if test x$gcc_no_link = xyes; then
21855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21857 { (exit 1); exit 1; }; }
21859 cat >conftest.$ac_ext <<_ACEOF
21860 /* confdefs.h. */
21861 _ACEOF
21862 cat confdefs.h >>conftest.$ac_ext
21863 cat >>conftest.$ac_ext <<_ACEOF
21864 /* end confdefs.h. */
21865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21867 #define $ac_func innocuous_$ac_func
21869 /* System header to define __stub macros and hopefully few prototypes,
21870 which can conflict with char $ac_func (); below.
21871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21872 <limits.h> exists even on freestanding compilers. */
21874 #ifdef __STDC__
21875 # include <limits.h>
21876 #else
21877 # include <assert.h>
21878 #endif
21880 #undef $ac_func
21882 /* Override any gcc2 internal prototype to avoid an error. */
21883 #ifdef __cplusplus
21884 extern "C"
21886 #endif
21887 /* We use char because int might match the return type of a gcc2
21888 builtin and then its argument prototype would still apply. */
21889 char $ac_func ();
21890 /* The GNU C library defines this for functions which it implements
21891 to always fail with ENOSYS. Some functions are actually named
21892 something starting with __ and the normal name is an alias. */
21893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21894 choke me
21895 #else
21896 char (*f) () = $ac_func;
21897 #endif
21898 #ifdef __cplusplus
21900 #endif
21903 main ()
21905 return f != $ac_func;
21907 return 0;
21909 _ACEOF
21910 rm -f conftest.$ac_objext conftest$ac_exeext
21911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21912 (eval $ac_link) 2>conftest.er1
21913 ac_status=$?
21914 grep -v '^ *+' conftest.er1 >conftest.err
21915 rm -f conftest.er1
21916 cat conftest.err >&5
21917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21918 (exit $ac_status); } &&
21919 { ac_try='test -z "$ac_c_werror_flag"
21920 || test ! -s conftest.err'
21921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21922 (eval $ac_try) 2>&5
21923 ac_status=$?
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); }; } &&
21926 { ac_try='test -s conftest$ac_exeext'
21927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21928 (eval $ac_try) 2>&5
21929 ac_status=$?
21930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21931 (exit $ac_status); }; }; then
21932 eval "$as_ac_var=yes"
21933 else
21934 echo "$as_me: failed program was:" >&5
21935 sed 's/^/| /' conftest.$ac_ext >&5
21937 eval "$as_ac_var=no"
21939 rm -f conftest.err conftest.$ac_objext \
21940 conftest$ac_exeext conftest.$ac_ext
21942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21944 if test `eval echo '${'$as_ac_var'}'` = yes; then
21945 cat >>confdefs.h <<_ACEOF
21946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21947 _ACEOF
21950 done
21957 echo "$as_me:$LINENO: checking for logl declaration" >&5
21958 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
21959 if test x${glibcxx_cv_func_logl_use+set} != xset; then
21960 if test "${glibcxx_cv_func_logl_use+set}" = set; then
21961 echo $ECHO_N "(cached) $ECHO_C" >&6
21962 else
21966 ac_ext=cc
21967 ac_cpp='$CXXCPP $CPPFLAGS'
21968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21972 cat >conftest.$ac_ext <<_ACEOF
21973 /* confdefs.h. */
21974 _ACEOF
21975 cat confdefs.h >>conftest.$ac_ext
21976 cat >>conftest.$ac_ext <<_ACEOF
21977 /* end confdefs.h. */
21978 #include <math.h>
21979 #ifdef HAVE_IEEEFP_H
21980 #include <ieeefp.h>
21981 #endif
21984 main ()
21986 logl(0);
21988 return 0;
21990 _ACEOF
21991 rm -f conftest.$ac_objext
21992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21993 (eval $ac_compile) 2>conftest.er1
21994 ac_status=$?
21995 grep -v '^ *+' conftest.er1 >conftest.err
21996 rm -f conftest.er1
21997 cat conftest.err >&5
21998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999 (exit $ac_status); } &&
22000 { ac_try='test -z "$ac_cxx_werror_flag"
22001 || test ! -s conftest.err'
22002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22003 (eval $ac_try) 2>&5
22004 ac_status=$?
22005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006 (exit $ac_status); }; } &&
22007 { ac_try='test -s conftest.$ac_objext'
22008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22009 (eval $ac_try) 2>&5
22010 ac_status=$?
22011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22012 (exit $ac_status); }; }; then
22013 glibcxx_cv_func_logl_use=yes
22014 else
22015 echo "$as_me: failed program was:" >&5
22016 sed 's/^/| /' conftest.$ac_ext >&5
22018 glibcxx_cv_func_logl_use=no
22020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22021 ac_ext=c
22022 ac_cpp='$CPP $CPPFLAGS'
22023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22031 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
22032 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
22034 if test x$glibcxx_cv_func_logl_use = x"yes"; then
22036 for ac_func in logl
22038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22039 echo "$as_me:$LINENO: checking for $ac_func" >&5
22040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22041 if eval "test \"\${$as_ac_var+set}\" = set"; then
22042 echo $ECHO_N "(cached) $ECHO_C" >&6
22043 else
22044 if test x$gcc_no_link = xyes; then
22045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22047 { (exit 1); exit 1; }; }
22049 cat >conftest.$ac_ext <<_ACEOF
22050 /* confdefs.h. */
22051 _ACEOF
22052 cat confdefs.h >>conftest.$ac_ext
22053 cat >>conftest.$ac_ext <<_ACEOF
22054 /* end confdefs.h. */
22055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22057 #define $ac_func innocuous_$ac_func
22059 /* System header to define __stub macros and hopefully few prototypes,
22060 which can conflict with char $ac_func (); below.
22061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22062 <limits.h> exists even on freestanding compilers. */
22064 #ifdef __STDC__
22065 # include <limits.h>
22066 #else
22067 # include <assert.h>
22068 #endif
22070 #undef $ac_func
22072 /* Override any gcc2 internal prototype to avoid an error. */
22073 #ifdef __cplusplus
22074 extern "C"
22076 #endif
22077 /* We use char because int might match the return type of a gcc2
22078 builtin and then its argument prototype would still apply. */
22079 char $ac_func ();
22080 /* The GNU C library defines this for functions which it implements
22081 to always fail with ENOSYS. Some functions are actually named
22082 something starting with __ and the normal name is an alias. */
22083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22084 choke me
22085 #else
22086 char (*f) () = $ac_func;
22087 #endif
22088 #ifdef __cplusplus
22090 #endif
22093 main ()
22095 return f != $ac_func;
22097 return 0;
22099 _ACEOF
22100 rm -f conftest.$ac_objext conftest$ac_exeext
22101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22102 (eval $ac_link) 2>conftest.er1
22103 ac_status=$?
22104 grep -v '^ *+' conftest.er1 >conftest.err
22105 rm -f conftest.er1
22106 cat conftest.err >&5
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); } &&
22109 { ac_try='test -z "$ac_c_werror_flag"
22110 || test ! -s conftest.err'
22111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22112 (eval $ac_try) 2>&5
22113 ac_status=$?
22114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22115 (exit $ac_status); }; } &&
22116 { ac_try='test -s conftest$ac_exeext'
22117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22118 (eval $ac_try) 2>&5
22119 ac_status=$?
22120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22121 (exit $ac_status); }; }; then
22122 eval "$as_ac_var=yes"
22123 else
22124 echo "$as_me: failed program was:" >&5
22125 sed 's/^/| /' conftest.$ac_ext >&5
22127 eval "$as_ac_var=no"
22129 rm -f conftest.err conftest.$ac_objext \
22130 conftest$ac_exeext conftest.$ac_ext
22132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22134 if test `eval echo '${'$as_ac_var'}'` = yes; then
22135 cat >>confdefs.h <<_ACEOF
22136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22137 _ACEOF
22140 done
22142 else
22144 echo "$as_me:$LINENO: checking for _logl declaration" >&5
22145 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
22146 if test x${glibcxx_cv_func__logl_use+set} != xset; then
22147 if test "${glibcxx_cv_func__logl_use+set}" = set; then
22148 echo $ECHO_N "(cached) $ECHO_C" >&6
22149 else
22153 ac_ext=cc
22154 ac_cpp='$CXXCPP $CPPFLAGS'
22155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22159 cat >conftest.$ac_ext <<_ACEOF
22160 /* confdefs.h. */
22161 _ACEOF
22162 cat confdefs.h >>conftest.$ac_ext
22163 cat >>conftest.$ac_ext <<_ACEOF
22164 /* end confdefs.h. */
22165 #include <math.h>
22166 #ifdef HAVE_IEEEFP_H
22167 #include <ieeefp.h>
22168 #endif
22171 main ()
22173 _logl(0);
22175 return 0;
22177 _ACEOF
22178 rm -f conftest.$ac_objext
22179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22180 (eval $ac_compile) 2>conftest.er1
22181 ac_status=$?
22182 grep -v '^ *+' conftest.er1 >conftest.err
22183 rm -f conftest.er1
22184 cat conftest.err >&5
22185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22186 (exit $ac_status); } &&
22187 { ac_try='test -z "$ac_cxx_werror_flag"
22188 || test ! -s conftest.err'
22189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22190 (eval $ac_try) 2>&5
22191 ac_status=$?
22192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22193 (exit $ac_status); }; } &&
22194 { ac_try='test -s conftest.$ac_objext'
22195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22196 (eval $ac_try) 2>&5
22197 ac_status=$?
22198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22199 (exit $ac_status); }; }; then
22200 glibcxx_cv_func__logl_use=yes
22201 else
22202 echo "$as_me: failed program was:" >&5
22203 sed 's/^/| /' conftest.$ac_ext >&5
22205 glibcxx_cv_func__logl_use=no
22207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22208 ac_ext=c
22209 ac_cpp='$CPP $CPPFLAGS'
22210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22218 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
22219 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
22221 if test x$glibcxx_cv_func__logl_use = x"yes"; then
22223 for ac_func in _logl
22225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22226 echo "$as_me:$LINENO: checking for $ac_func" >&5
22227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22228 if eval "test \"\${$as_ac_var+set}\" = set"; then
22229 echo $ECHO_N "(cached) $ECHO_C" >&6
22230 else
22231 if test x$gcc_no_link = xyes; then
22232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22234 { (exit 1); exit 1; }; }
22236 cat >conftest.$ac_ext <<_ACEOF
22237 /* confdefs.h. */
22238 _ACEOF
22239 cat confdefs.h >>conftest.$ac_ext
22240 cat >>conftest.$ac_ext <<_ACEOF
22241 /* end confdefs.h. */
22242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22244 #define $ac_func innocuous_$ac_func
22246 /* System header to define __stub macros and hopefully few prototypes,
22247 which can conflict with char $ac_func (); below.
22248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22249 <limits.h> exists even on freestanding compilers. */
22251 #ifdef __STDC__
22252 # include <limits.h>
22253 #else
22254 # include <assert.h>
22255 #endif
22257 #undef $ac_func
22259 /* Override any gcc2 internal prototype to avoid an error. */
22260 #ifdef __cplusplus
22261 extern "C"
22263 #endif
22264 /* We use char because int might match the return type of a gcc2
22265 builtin and then its argument prototype would still apply. */
22266 char $ac_func ();
22267 /* The GNU C library defines this for functions which it implements
22268 to always fail with ENOSYS. Some functions are actually named
22269 something starting with __ and the normal name is an alias. */
22270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22271 choke me
22272 #else
22273 char (*f) () = $ac_func;
22274 #endif
22275 #ifdef __cplusplus
22277 #endif
22280 main ()
22282 return f != $ac_func;
22284 return 0;
22286 _ACEOF
22287 rm -f conftest.$ac_objext conftest$ac_exeext
22288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22289 (eval $ac_link) 2>conftest.er1
22290 ac_status=$?
22291 grep -v '^ *+' conftest.er1 >conftest.err
22292 rm -f conftest.er1
22293 cat conftest.err >&5
22294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22295 (exit $ac_status); } &&
22296 { ac_try='test -z "$ac_c_werror_flag"
22297 || test ! -s conftest.err'
22298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22299 (eval $ac_try) 2>&5
22300 ac_status=$?
22301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22302 (exit $ac_status); }; } &&
22303 { ac_try='test -s conftest$ac_exeext'
22304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22305 (eval $ac_try) 2>&5
22306 ac_status=$?
22307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22308 (exit $ac_status); }; }; then
22309 eval "$as_ac_var=yes"
22310 else
22311 echo "$as_me: failed program was:" >&5
22312 sed 's/^/| /' conftest.$ac_ext >&5
22314 eval "$as_ac_var=no"
22316 rm -f conftest.err conftest.$ac_objext \
22317 conftest$ac_exeext conftest.$ac_ext
22319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22321 if test `eval echo '${'$as_ac_var'}'` = yes; then
22322 cat >>confdefs.h <<_ACEOF
22323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22324 _ACEOF
22327 done
22334 echo "$as_me:$LINENO: checking for log10l declaration" >&5
22335 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
22336 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
22337 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
22338 echo $ECHO_N "(cached) $ECHO_C" >&6
22339 else
22343 ac_ext=cc
22344 ac_cpp='$CXXCPP $CPPFLAGS'
22345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22349 cat >conftest.$ac_ext <<_ACEOF
22350 /* confdefs.h. */
22351 _ACEOF
22352 cat confdefs.h >>conftest.$ac_ext
22353 cat >>conftest.$ac_ext <<_ACEOF
22354 /* end confdefs.h. */
22355 #include <math.h>
22356 #ifdef HAVE_IEEEFP_H
22357 #include <ieeefp.h>
22358 #endif
22361 main ()
22363 log10l(0);
22365 return 0;
22367 _ACEOF
22368 rm -f conftest.$ac_objext
22369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22370 (eval $ac_compile) 2>conftest.er1
22371 ac_status=$?
22372 grep -v '^ *+' conftest.er1 >conftest.err
22373 rm -f conftest.er1
22374 cat conftest.err >&5
22375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22376 (exit $ac_status); } &&
22377 { ac_try='test -z "$ac_cxx_werror_flag"
22378 || test ! -s conftest.err'
22379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22380 (eval $ac_try) 2>&5
22381 ac_status=$?
22382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22383 (exit $ac_status); }; } &&
22384 { ac_try='test -s conftest.$ac_objext'
22385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22386 (eval $ac_try) 2>&5
22387 ac_status=$?
22388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389 (exit $ac_status); }; }; then
22390 glibcxx_cv_func_log10l_use=yes
22391 else
22392 echo "$as_me: failed program was:" >&5
22393 sed 's/^/| /' conftest.$ac_ext >&5
22395 glibcxx_cv_func_log10l_use=no
22397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22398 ac_ext=c
22399 ac_cpp='$CPP $CPPFLAGS'
22400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22408 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
22409 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
22411 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
22413 for ac_func in log10l
22415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22416 echo "$as_me:$LINENO: checking for $ac_func" >&5
22417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22418 if eval "test \"\${$as_ac_var+set}\" = set"; then
22419 echo $ECHO_N "(cached) $ECHO_C" >&6
22420 else
22421 if test x$gcc_no_link = xyes; then
22422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22424 { (exit 1); exit 1; }; }
22426 cat >conftest.$ac_ext <<_ACEOF
22427 /* confdefs.h. */
22428 _ACEOF
22429 cat confdefs.h >>conftest.$ac_ext
22430 cat >>conftest.$ac_ext <<_ACEOF
22431 /* end confdefs.h. */
22432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22434 #define $ac_func innocuous_$ac_func
22436 /* System header to define __stub macros and hopefully few prototypes,
22437 which can conflict with char $ac_func (); below.
22438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22439 <limits.h> exists even on freestanding compilers. */
22441 #ifdef __STDC__
22442 # include <limits.h>
22443 #else
22444 # include <assert.h>
22445 #endif
22447 #undef $ac_func
22449 /* Override any gcc2 internal prototype to avoid an error. */
22450 #ifdef __cplusplus
22451 extern "C"
22453 #endif
22454 /* We use char because int might match the return type of a gcc2
22455 builtin and then its argument prototype would still apply. */
22456 char $ac_func ();
22457 /* The GNU C library defines this for functions which it implements
22458 to always fail with ENOSYS. Some functions are actually named
22459 something starting with __ and the normal name is an alias. */
22460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22461 choke me
22462 #else
22463 char (*f) () = $ac_func;
22464 #endif
22465 #ifdef __cplusplus
22467 #endif
22470 main ()
22472 return f != $ac_func;
22474 return 0;
22476 _ACEOF
22477 rm -f conftest.$ac_objext conftest$ac_exeext
22478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22479 (eval $ac_link) 2>conftest.er1
22480 ac_status=$?
22481 grep -v '^ *+' conftest.er1 >conftest.err
22482 rm -f conftest.er1
22483 cat conftest.err >&5
22484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22485 (exit $ac_status); } &&
22486 { ac_try='test -z "$ac_c_werror_flag"
22487 || test ! -s conftest.err'
22488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22489 (eval $ac_try) 2>&5
22490 ac_status=$?
22491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22492 (exit $ac_status); }; } &&
22493 { ac_try='test -s conftest$ac_exeext'
22494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22495 (eval $ac_try) 2>&5
22496 ac_status=$?
22497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22498 (exit $ac_status); }; }; then
22499 eval "$as_ac_var=yes"
22500 else
22501 echo "$as_me: failed program was:" >&5
22502 sed 's/^/| /' conftest.$ac_ext >&5
22504 eval "$as_ac_var=no"
22506 rm -f conftest.err conftest.$ac_objext \
22507 conftest$ac_exeext conftest.$ac_ext
22509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22511 if test `eval echo '${'$as_ac_var'}'` = yes; then
22512 cat >>confdefs.h <<_ACEOF
22513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22514 _ACEOF
22517 done
22519 else
22521 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
22522 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
22523 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
22524 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
22525 echo $ECHO_N "(cached) $ECHO_C" >&6
22526 else
22530 ac_ext=cc
22531 ac_cpp='$CXXCPP $CPPFLAGS'
22532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22536 cat >conftest.$ac_ext <<_ACEOF
22537 /* confdefs.h. */
22538 _ACEOF
22539 cat confdefs.h >>conftest.$ac_ext
22540 cat >>conftest.$ac_ext <<_ACEOF
22541 /* end confdefs.h. */
22542 #include <math.h>
22543 #ifdef HAVE_IEEEFP_H
22544 #include <ieeefp.h>
22545 #endif
22548 main ()
22550 _log10l(0);
22552 return 0;
22554 _ACEOF
22555 rm -f conftest.$ac_objext
22556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22557 (eval $ac_compile) 2>conftest.er1
22558 ac_status=$?
22559 grep -v '^ *+' conftest.er1 >conftest.err
22560 rm -f conftest.er1
22561 cat conftest.err >&5
22562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563 (exit $ac_status); } &&
22564 { ac_try='test -z "$ac_cxx_werror_flag"
22565 || test ! -s conftest.err'
22566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22567 (eval $ac_try) 2>&5
22568 ac_status=$?
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); }; } &&
22571 { ac_try='test -s conftest.$ac_objext'
22572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22573 (eval $ac_try) 2>&5
22574 ac_status=$?
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); }; }; then
22577 glibcxx_cv_func__log10l_use=yes
22578 else
22579 echo "$as_me: failed program was:" >&5
22580 sed 's/^/| /' conftest.$ac_ext >&5
22582 glibcxx_cv_func__log10l_use=no
22584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22585 ac_ext=c
22586 ac_cpp='$CPP $CPPFLAGS'
22587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22595 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
22596 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
22598 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
22600 for ac_func in _log10l
22602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22603 echo "$as_me:$LINENO: checking for $ac_func" >&5
22604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22605 if eval "test \"\${$as_ac_var+set}\" = set"; then
22606 echo $ECHO_N "(cached) $ECHO_C" >&6
22607 else
22608 if test x$gcc_no_link = xyes; then
22609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22611 { (exit 1); exit 1; }; }
22613 cat >conftest.$ac_ext <<_ACEOF
22614 /* confdefs.h. */
22615 _ACEOF
22616 cat confdefs.h >>conftest.$ac_ext
22617 cat >>conftest.$ac_ext <<_ACEOF
22618 /* end confdefs.h. */
22619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22621 #define $ac_func innocuous_$ac_func
22623 /* System header to define __stub macros and hopefully few prototypes,
22624 which can conflict with char $ac_func (); below.
22625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22626 <limits.h> exists even on freestanding compilers. */
22628 #ifdef __STDC__
22629 # include <limits.h>
22630 #else
22631 # include <assert.h>
22632 #endif
22634 #undef $ac_func
22636 /* Override any gcc2 internal prototype to avoid an error. */
22637 #ifdef __cplusplus
22638 extern "C"
22640 #endif
22641 /* We use char because int might match the return type of a gcc2
22642 builtin and then its argument prototype would still apply. */
22643 char $ac_func ();
22644 /* The GNU C library defines this for functions which it implements
22645 to always fail with ENOSYS. Some functions are actually named
22646 something starting with __ and the normal name is an alias. */
22647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22648 choke me
22649 #else
22650 char (*f) () = $ac_func;
22651 #endif
22652 #ifdef __cplusplus
22654 #endif
22657 main ()
22659 return f != $ac_func;
22661 return 0;
22663 _ACEOF
22664 rm -f conftest.$ac_objext conftest$ac_exeext
22665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22666 (eval $ac_link) 2>conftest.er1
22667 ac_status=$?
22668 grep -v '^ *+' conftest.er1 >conftest.err
22669 rm -f conftest.er1
22670 cat conftest.err >&5
22671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22672 (exit $ac_status); } &&
22673 { ac_try='test -z "$ac_c_werror_flag"
22674 || test ! -s conftest.err'
22675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22676 (eval $ac_try) 2>&5
22677 ac_status=$?
22678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22679 (exit $ac_status); }; } &&
22680 { ac_try='test -s conftest$ac_exeext'
22681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22682 (eval $ac_try) 2>&5
22683 ac_status=$?
22684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22685 (exit $ac_status); }; }; then
22686 eval "$as_ac_var=yes"
22687 else
22688 echo "$as_me: failed program was:" >&5
22689 sed 's/^/| /' conftest.$ac_ext >&5
22691 eval "$as_ac_var=no"
22693 rm -f conftest.err conftest.$ac_objext \
22694 conftest$ac_exeext conftest.$ac_ext
22696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22698 if test `eval echo '${'$as_ac_var'}'` = yes; then
22699 cat >>confdefs.h <<_ACEOF
22700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22701 _ACEOF
22704 done
22711 echo "$as_me:$LINENO: checking for modfl declaration" >&5
22712 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
22713 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
22714 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
22715 echo $ECHO_N "(cached) $ECHO_C" >&6
22716 else
22720 ac_ext=cc
22721 ac_cpp='$CXXCPP $CPPFLAGS'
22722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22726 cat >conftest.$ac_ext <<_ACEOF
22727 /* confdefs.h. */
22728 _ACEOF
22729 cat confdefs.h >>conftest.$ac_ext
22730 cat >>conftest.$ac_ext <<_ACEOF
22731 /* end confdefs.h. */
22732 #include <math.h>
22734 main ()
22736 modfl(0, 0);
22738 return 0;
22740 _ACEOF
22741 rm -f conftest.$ac_objext
22742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22743 (eval $ac_compile) 2>conftest.er1
22744 ac_status=$?
22745 grep -v '^ *+' conftest.er1 >conftest.err
22746 rm -f conftest.er1
22747 cat conftest.err >&5
22748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22749 (exit $ac_status); } &&
22750 { ac_try='test -z "$ac_cxx_werror_flag"
22751 || test ! -s conftest.err'
22752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22753 (eval $ac_try) 2>&5
22754 ac_status=$?
22755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22756 (exit $ac_status); }; } &&
22757 { ac_try='test -s conftest.$ac_objext'
22758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22759 (eval $ac_try) 2>&5
22760 ac_status=$?
22761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22762 (exit $ac_status); }; }; then
22763 glibcxx_cv_func_modfl_use=yes
22764 else
22765 echo "$as_me: failed program was:" >&5
22766 sed 's/^/| /' conftest.$ac_ext >&5
22768 glibcxx_cv_func_modfl_use=no
22770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22771 ac_ext=c
22772 ac_cpp='$CPP $CPPFLAGS'
22773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22781 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
22782 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
22784 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
22786 for ac_func in modfl
22788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22789 echo "$as_me:$LINENO: checking for $ac_func" >&5
22790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22791 if eval "test \"\${$as_ac_var+set}\" = set"; then
22792 echo $ECHO_N "(cached) $ECHO_C" >&6
22793 else
22794 if test x$gcc_no_link = xyes; then
22795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22797 { (exit 1); exit 1; }; }
22799 cat >conftest.$ac_ext <<_ACEOF
22800 /* confdefs.h. */
22801 _ACEOF
22802 cat confdefs.h >>conftest.$ac_ext
22803 cat >>conftest.$ac_ext <<_ACEOF
22804 /* end confdefs.h. */
22805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22807 #define $ac_func innocuous_$ac_func
22809 /* System header to define __stub macros and hopefully few prototypes,
22810 which can conflict with char $ac_func (); below.
22811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22812 <limits.h> exists even on freestanding compilers. */
22814 #ifdef __STDC__
22815 # include <limits.h>
22816 #else
22817 # include <assert.h>
22818 #endif
22820 #undef $ac_func
22822 /* Override any gcc2 internal prototype to avoid an error. */
22823 #ifdef __cplusplus
22824 extern "C"
22826 #endif
22827 /* We use char because int might match the return type of a gcc2
22828 builtin and then its argument prototype would still apply. */
22829 char $ac_func ();
22830 /* The GNU C library defines this for functions which it implements
22831 to always fail with ENOSYS. Some functions are actually named
22832 something starting with __ and the normal name is an alias. */
22833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22834 choke me
22835 #else
22836 char (*f) () = $ac_func;
22837 #endif
22838 #ifdef __cplusplus
22840 #endif
22843 main ()
22845 return f != $ac_func;
22847 return 0;
22849 _ACEOF
22850 rm -f conftest.$ac_objext conftest$ac_exeext
22851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22852 (eval $ac_link) 2>conftest.er1
22853 ac_status=$?
22854 grep -v '^ *+' conftest.er1 >conftest.err
22855 rm -f conftest.er1
22856 cat conftest.err >&5
22857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22858 (exit $ac_status); } &&
22859 { ac_try='test -z "$ac_c_werror_flag"
22860 || test ! -s conftest.err'
22861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22862 (eval $ac_try) 2>&5
22863 ac_status=$?
22864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22865 (exit $ac_status); }; } &&
22866 { ac_try='test -s conftest$ac_exeext'
22867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22868 (eval $ac_try) 2>&5
22869 ac_status=$?
22870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22871 (exit $ac_status); }; }; then
22872 eval "$as_ac_var=yes"
22873 else
22874 echo "$as_me: failed program was:" >&5
22875 sed 's/^/| /' conftest.$ac_ext >&5
22877 eval "$as_ac_var=no"
22879 rm -f conftest.err conftest.$ac_objext \
22880 conftest$ac_exeext conftest.$ac_ext
22882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22884 if test `eval echo '${'$as_ac_var'}'` = yes; then
22885 cat >>confdefs.h <<_ACEOF
22886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22887 _ACEOF
22890 done
22892 else
22894 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
22895 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
22896 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
22897 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
22898 echo $ECHO_N "(cached) $ECHO_C" >&6
22899 else
22903 ac_ext=cc
22904 ac_cpp='$CXXCPP $CPPFLAGS'
22905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22909 cat >conftest.$ac_ext <<_ACEOF
22910 /* confdefs.h. */
22911 _ACEOF
22912 cat confdefs.h >>conftest.$ac_ext
22913 cat >>conftest.$ac_ext <<_ACEOF
22914 /* end confdefs.h. */
22915 #include <math.h>
22917 main ()
22919 _modfl(0, 0);
22921 return 0;
22923 _ACEOF
22924 rm -f conftest.$ac_objext
22925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22926 (eval $ac_compile) 2>conftest.er1
22927 ac_status=$?
22928 grep -v '^ *+' conftest.er1 >conftest.err
22929 rm -f conftest.er1
22930 cat conftest.err >&5
22931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22932 (exit $ac_status); } &&
22933 { ac_try='test -z "$ac_cxx_werror_flag"
22934 || test ! -s conftest.err'
22935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22936 (eval $ac_try) 2>&5
22937 ac_status=$?
22938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22939 (exit $ac_status); }; } &&
22940 { ac_try='test -s conftest.$ac_objext'
22941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22942 (eval $ac_try) 2>&5
22943 ac_status=$?
22944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22945 (exit $ac_status); }; }; then
22946 glibcxx_cv_func__modfl_use=yes
22947 else
22948 echo "$as_me: failed program was:" >&5
22949 sed 's/^/| /' conftest.$ac_ext >&5
22951 glibcxx_cv_func__modfl_use=no
22953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22954 ac_ext=c
22955 ac_cpp='$CPP $CPPFLAGS'
22956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22964 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
22965 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
22967 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
22969 for ac_func in _modfl
22971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22972 echo "$as_me:$LINENO: checking for $ac_func" >&5
22973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22974 if eval "test \"\${$as_ac_var+set}\" = set"; then
22975 echo $ECHO_N "(cached) $ECHO_C" >&6
22976 else
22977 if test x$gcc_no_link = xyes; then
22978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22980 { (exit 1); exit 1; }; }
22982 cat >conftest.$ac_ext <<_ACEOF
22983 /* confdefs.h. */
22984 _ACEOF
22985 cat confdefs.h >>conftest.$ac_ext
22986 cat >>conftest.$ac_ext <<_ACEOF
22987 /* end confdefs.h. */
22988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22990 #define $ac_func innocuous_$ac_func
22992 /* System header to define __stub macros and hopefully few prototypes,
22993 which can conflict with char $ac_func (); below.
22994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22995 <limits.h> exists even on freestanding compilers. */
22997 #ifdef __STDC__
22998 # include <limits.h>
22999 #else
23000 # include <assert.h>
23001 #endif
23003 #undef $ac_func
23005 /* Override any gcc2 internal prototype to avoid an error. */
23006 #ifdef __cplusplus
23007 extern "C"
23009 #endif
23010 /* We use char because int might match the return type of a gcc2
23011 builtin and then its argument prototype would still apply. */
23012 char $ac_func ();
23013 /* The GNU C library defines this for functions which it implements
23014 to always fail with ENOSYS. Some functions are actually named
23015 something starting with __ and the normal name is an alias. */
23016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23017 choke me
23018 #else
23019 char (*f) () = $ac_func;
23020 #endif
23021 #ifdef __cplusplus
23023 #endif
23026 main ()
23028 return f != $ac_func;
23030 return 0;
23032 _ACEOF
23033 rm -f conftest.$ac_objext conftest$ac_exeext
23034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23035 (eval $ac_link) 2>conftest.er1
23036 ac_status=$?
23037 grep -v '^ *+' conftest.er1 >conftest.err
23038 rm -f conftest.er1
23039 cat conftest.err >&5
23040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041 (exit $ac_status); } &&
23042 { ac_try='test -z "$ac_c_werror_flag"
23043 || test ! -s conftest.err'
23044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23045 (eval $ac_try) 2>&5
23046 ac_status=$?
23047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23048 (exit $ac_status); }; } &&
23049 { ac_try='test -s conftest$ac_exeext'
23050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23051 (eval $ac_try) 2>&5
23052 ac_status=$?
23053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23054 (exit $ac_status); }; }; then
23055 eval "$as_ac_var=yes"
23056 else
23057 echo "$as_me: failed program was:" >&5
23058 sed 's/^/| /' conftest.$ac_ext >&5
23060 eval "$as_ac_var=no"
23062 rm -f conftest.err conftest.$ac_objext \
23063 conftest$ac_exeext conftest.$ac_ext
23065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23067 if test `eval echo '${'$as_ac_var'}'` = yes; then
23068 cat >>confdefs.h <<_ACEOF
23069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23070 _ACEOF
23073 done
23080 echo "$as_me:$LINENO: checking for powl declaration" >&5
23081 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
23082 if test x${glibcxx_cv_func_powl_use+set} != xset; then
23083 if test "${glibcxx_cv_func_powl_use+set}" = set; then
23084 echo $ECHO_N "(cached) $ECHO_C" >&6
23085 else
23089 ac_ext=cc
23090 ac_cpp='$CXXCPP $CPPFLAGS'
23091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23095 cat >conftest.$ac_ext <<_ACEOF
23096 /* confdefs.h. */
23097 _ACEOF
23098 cat confdefs.h >>conftest.$ac_ext
23099 cat >>conftest.$ac_ext <<_ACEOF
23100 /* end confdefs.h. */
23101 #include <math.h>
23103 main ()
23105 powl(0, 0);
23107 return 0;
23109 _ACEOF
23110 rm -f conftest.$ac_objext
23111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23112 (eval $ac_compile) 2>conftest.er1
23113 ac_status=$?
23114 grep -v '^ *+' conftest.er1 >conftest.err
23115 rm -f conftest.er1
23116 cat conftest.err >&5
23117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23118 (exit $ac_status); } &&
23119 { ac_try='test -z "$ac_cxx_werror_flag"
23120 || test ! -s conftest.err'
23121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23122 (eval $ac_try) 2>&5
23123 ac_status=$?
23124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23125 (exit $ac_status); }; } &&
23126 { ac_try='test -s conftest.$ac_objext'
23127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23128 (eval $ac_try) 2>&5
23129 ac_status=$?
23130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23131 (exit $ac_status); }; }; then
23132 glibcxx_cv_func_powl_use=yes
23133 else
23134 echo "$as_me: failed program was:" >&5
23135 sed 's/^/| /' conftest.$ac_ext >&5
23137 glibcxx_cv_func_powl_use=no
23139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23140 ac_ext=c
23141 ac_cpp='$CPP $CPPFLAGS'
23142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23150 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
23151 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
23153 if test x$glibcxx_cv_func_powl_use = x"yes"; then
23155 for ac_func in powl
23157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23158 echo "$as_me:$LINENO: checking for $ac_func" >&5
23159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23160 if eval "test \"\${$as_ac_var+set}\" = set"; then
23161 echo $ECHO_N "(cached) $ECHO_C" >&6
23162 else
23163 if test x$gcc_no_link = xyes; then
23164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23166 { (exit 1); exit 1; }; }
23168 cat >conftest.$ac_ext <<_ACEOF
23169 /* confdefs.h. */
23170 _ACEOF
23171 cat confdefs.h >>conftest.$ac_ext
23172 cat >>conftest.$ac_ext <<_ACEOF
23173 /* end confdefs.h. */
23174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23176 #define $ac_func innocuous_$ac_func
23178 /* System header to define __stub macros and hopefully few prototypes,
23179 which can conflict with char $ac_func (); below.
23180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23181 <limits.h> exists even on freestanding compilers. */
23183 #ifdef __STDC__
23184 # include <limits.h>
23185 #else
23186 # include <assert.h>
23187 #endif
23189 #undef $ac_func
23191 /* Override any gcc2 internal prototype to avoid an error. */
23192 #ifdef __cplusplus
23193 extern "C"
23195 #endif
23196 /* We use char because int might match the return type of a gcc2
23197 builtin and then its argument prototype would still apply. */
23198 char $ac_func ();
23199 /* The GNU C library defines this for functions which it implements
23200 to always fail with ENOSYS. Some functions are actually named
23201 something starting with __ and the normal name is an alias. */
23202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23203 choke me
23204 #else
23205 char (*f) () = $ac_func;
23206 #endif
23207 #ifdef __cplusplus
23209 #endif
23212 main ()
23214 return f != $ac_func;
23216 return 0;
23218 _ACEOF
23219 rm -f conftest.$ac_objext conftest$ac_exeext
23220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23221 (eval $ac_link) 2>conftest.er1
23222 ac_status=$?
23223 grep -v '^ *+' conftest.er1 >conftest.err
23224 rm -f conftest.er1
23225 cat conftest.err >&5
23226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227 (exit $ac_status); } &&
23228 { ac_try='test -z "$ac_c_werror_flag"
23229 || test ! -s conftest.err'
23230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23231 (eval $ac_try) 2>&5
23232 ac_status=$?
23233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23234 (exit $ac_status); }; } &&
23235 { ac_try='test -s conftest$ac_exeext'
23236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23237 (eval $ac_try) 2>&5
23238 ac_status=$?
23239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23240 (exit $ac_status); }; }; then
23241 eval "$as_ac_var=yes"
23242 else
23243 echo "$as_me: failed program was:" >&5
23244 sed 's/^/| /' conftest.$ac_ext >&5
23246 eval "$as_ac_var=no"
23248 rm -f conftest.err conftest.$ac_objext \
23249 conftest$ac_exeext conftest.$ac_ext
23251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23253 if test `eval echo '${'$as_ac_var'}'` = yes; then
23254 cat >>confdefs.h <<_ACEOF
23255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23256 _ACEOF
23259 done
23261 else
23263 echo "$as_me:$LINENO: checking for _powl declaration" >&5
23264 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
23265 if test x${glibcxx_cv_func__powl_use+set} != xset; then
23266 if test "${glibcxx_cv_func__powl_use+set}" = set; then
23267 echo $ECHO_N "(cached) $ECHO_C" >&6
23268 else
23272 ac_ext=cc
23273 ac_cpp='$CXXCPP $CPPFLAGS'
23274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23278 cat >conftest.$ac_ext <<_ACEOF
23279 /* confdefs.h. */
23280 _ACEOF
23281 cat confdefs.h >>conftest.$ac_ext
23282 cat >>conftest.$ac_ext <<_ACEOF
23283 /* end confdefs.h. */
23284 #include <math.h>
23286 main ()
23288 _powl(0, 0);
23290 return 0;
23292 _ACEOF
23293 rm -f conftest.$ac_objext
23294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23295 (eval $ac_compile) 2>conftest.er1
23296 ac_status=$?
23297 grep -v '^ *+' conftest.er1 >conftest.err
23298 rm -f conftest.er1
23299 cat conftest.err >&5
23300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23301 (exit $ac_status); } &&
23302 { ac_try='test -z "$ac_cxx_werror_flag"
23303 || test ! -s conftest.err'
23304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23305 (eval $ac_try) 2>&5
23306 ac_status=$?
23307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23308 (exit $ac_status); }; } &&
23309 { ac_try='test -s conftest.$ac_objext'
23310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23311 (eval $ac_try) 2>&5
23312 ac_status=$?
23313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23314 (exit $ac_status); }; }; then
23315 glibcxx_cv_func__powl_use=yes
23316 else
23317 echo "$as_me: failed program was:" >&5
23318 sed 's/^/| /' conftest.$ac_ext >&5
23320 glibcxx_cv_func__powl_use=no
23322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23323 ac_ext=c
23324 ac_cpp='$CPP $CPPFLAGS'
23325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23333 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
23334 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
23336 if test x$glibcxx_cv_func__powl_use = x"yes"; then
23338 for ac_func in _powl
23340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23341 echo "$as_me:$LINENO: checking for $ac_func" >&5
23342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23343 if eval "test \"\${$as_ac_var+set}\" = set"; then
23344 echo $ECHO_N "(cached) $ECHO_C" >&6
23345 else
23346 if test x$gcc_no_link = xyes; then
23347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23349 { (exit 1); exit 1; }; }
23351 cat >conftest.$ac_ext <<_ACEOF
23352 /* confdefs.h. */
23353 _ACEOF
23354 cat confdefs.h >>conftest.$ac_ext
23355 cat >>conftest.$ac_ext <<_ACEOF
23356 /* end confdefs.h. */
23357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23359 #define $ac_func innocuous_$ac_func
23361 /* System header to define __stub macros and hopefully few prototypes,
23362 which can conflict with char $ac_func (); below.
23363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23364 <limits.h> exists even on freestanding compilers. */
23366 #ifdef __STDC__
23367 # include <limits.h>
23368 #else
23369 # include <assert.h>
23370 #endif
23372 #undef $ac_func
23374 /* Override any gcc2 internal prototype to avoid an error. */
23375 #ifdef __cplusplus
23376 extern "C"
23378 #endif
23379 /* We use char because int might match the return type of a gcc2
23380 builtin and then its argument prototype would still apply. */
23381 char $ac_func ();
23382 /* The GNU C library defines this for functions which it implements
23383 to always fail with ENOSYS. Some functions are actually named
23384 something starting with __ and the normal name is an alias. */
23385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23386 choke me
23387 #else
23388 char (*f) () = $ac_func;
23389 #endif
23390 #ifdef __cplusplus
23392 #endif
23395 main ()
23397 return f != $ac_func;
23399 return 0;
23401 _ACEOF
23402 rm -f conftest.$ac_objext conftest$ac_exeext
23403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23404 (eval $ac_link) 2>conftest.er1
23405 ac_status=$?
23406 grep -v '^ *+' conftest.er1 >conftest.err
23407 rm -f conftest.er1
23408 cat conftest.err >&5
23409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23410 (exit $ac_status); } &&
23411 { ac_try='test -z "$ac_c_werror_flag"
23412 || test ! -s conftest.err'
23413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23414 (eval $ac_try) 2>&5
23415 ac_status=$?
23416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23417 (exit $ac_status); }; } &&
23418 { ac_try='test -s conftest$ac_exeext'
23419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23420 (eval $ac_try) 2>&5
23421 ac_status=$?
23422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23423 (exit $ac_status); }; }; then
23424 eval "$as_ac_var=yes"
23425 else
23426 echo "$as_me: failed program was:" >&5
23427 sed 's/^/| /' conftest.$ac_ext >&5
23429 eval "$as_ac_var=no"
23431 rm -f conftest.err conftest.$ac_objext \
23432 conftest$ac_exeext conftest.$ac_ext
23434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23436 if test `eval echo '${'$as_ac_var'}'` = yes; then
23437 cat >>confdefs.h <<_ACEOF
23438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23439 _ACEOF
23442 done
23449 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
23450 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
23451 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
23452 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
23453 echo $ECHO_N "(cached) $ECHO_C" >&6
23454 else
23458 ac_ext=cc
23459 ac_cpp='$CXXCPP $CPPFLAGS'
23460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23464 cat >conftest.$ac_ext <<_ACEOF
23465 /* confdefs.h. */
23466 _ACEOF
23467 cat confdefs.h >>conftest.$ac_ext
23468 cat >>conftest.$ac_ext <<_ACEOF
23469 /* end confdefs.h. */
23470 #include <math.h>
23471 #ifdef HAVE_IEEEFP_H
23472 #include <ieeefp.h>
23473 #endif
23476 main ()
23478 sqrtl(0);
23480 return 0;
23482 _ACEOF
23483 rm -f conftest.$ac_objext
23484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23485 (eval $ac_compile) 2>conftest.er1
23486 ac_status=$?
23487 grep -v '^ *+' conftest.er1 >conftest.err
23488 rm -f conftest.er1
23489 cat conftest.err >&5
23490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23491 (exit $ac_status); } &&
23492 { ac_try='test -z "$ac_cxx_werror_flag"
23493 || test ! -s conftest.err'
23494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23495 (eval $ac_try) 2>&5
23496 ac_status=$?
23497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498 (exit $ac_status); }; } &&
23499 { ac_try='test -s conftest.$ac_objext'
23500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23501 (eval $ac_try) 2>&5
23502 ac_status=$?
23503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23504 (exit $ac_status); }; }; then
23505 glibcxx_cv_func_sqrtl_use=yes
23506 else
23507 echo "$as_me: failed program was:" >&5
23508 sed 's/^/| /' conftest.$ac_ext >&5
23510 glibcxx_cv_func_sqrtl_use=no
23512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23513 ac_ext=c
23514 ac_cpp='$CPP $CPPFLAGS'
23515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23523 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
23524 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
23526 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
23528 for ac_func in sqrtl
23530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23531 echo "$as_me:$LINENO: checking for $ac_func" >&5
23532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23533 if eval "test \"\${$as_ac_var+set}\" = set"; then
23534 echo $ECHO_N "(cached) $ECHO_C" >&6
23535 else
23536 if test x$gcc_no_link = xyes; then
23537 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23539 { (exit 1); exit 1; }; }
23541 cat >conftest.$ac_ext <<_ACEOF
23542 /* confdefs.h. */
23543 _ACEOF
23544 cat confdefs.h >>conftest.$ac_ext
23545 cat >>conftest.$ac_ext <<_ACEOF
23546 /* end confdefs.h. */
23547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23549 #define $ac_func innocuous_$ac_func
23551 /* System header to define __stub macros and hopefully few prototypes,
23552 which can conflict with char $ac_func (); below.
23553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23554 <limits.h> exists even on freestanding compilers. */
23556 #ifdef __STDC__
23557 # include <limits.h>
23558 #else
23559 # include <assert.h>
23560 #endif
23562 #undef $ac_func
23564 /* Override any gcc2 internal prototype to avoid an error. */
23565 #ifdef __cplusplus
23566 extern "C"
23568 #endif
23569 /* We use char because int might match the return type of a gcc2
23570 builtin and then its argument prototype would still apply. */
23571 char $ac_func ();
23572 /* The GNU C library defines this for functions which it implements
23573 to always fail with ENOSYS. Some functions are actually named
23574 something starting with __ and the normal name is an alias. */
23575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23576 choke me
23577 #else
23578 char (*f) () = $ac_func;
23579 #endif
23580 #ifdef __cplusplus
23582 #endif
23585 main ()
23587 return f != $ac_func;
23589 return 0;
23591 _ACEOF
23592 rm -f conftest.$ac_objext conftest$ac_exeext
23593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23594 (eval $ac_link) 2>conftest.er1
23595 ac_status=$?
23596 grep -v '^ *+' conftest.er1 >conftest.err
23597 rm -f conftest.er1
23598 cat conftest.err >&5
23599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23600 (exit $ac_status); } &&
23601 { ac_try='test -z "$ac_c_werror_flag"
23602 || test ! -s conftest.err'
23603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23604 (eval $ac_try) 2>&5
23605 ac_status=$?
23606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23607 (exit $ac_status); }; } &&
23608 { ac_try='test -s conftest$ac_exeext'
23609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23610 (eval $ac_try) 2>&5
23611 ac_status=$?
23612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23613 (exit $ac_status); }; }; then
23614 eval "$as_ac_var=yes"
23615 else
23616 echo "$as_me: failed program was:" >&5
23617 sed 's/^/| /' conftest.$ac_ext >&5
23619 eval "$as_ac_var=no"
23621 rm -f conftest.err conftest.$ac_objext \
23622 conftest$ac_exeext conftest.$ac_ext
23624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23626 if test `eval echo '${'$as_ac_var'}'` = yes; then
23627 cat >>confdefs.h <<_ACEOF
23628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23629 _ACEOF
23632 done
23634 else
23636 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
23637 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
23638 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
23639 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
23640 echo $ECHO_N "(cached) $ECHO_C" >&6
23641 else
23645 ac_ext=cc
23646 ac_cpp='$CXXCPP $CPPFLAGS'
23647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23651 cat >conftest.$ac_ext <<_ACEOF
23652 /* confdefs.h. */
23653 _ACEOF
23654 cat confdefs.h >>conftest.$ac_ext
23655 cat >>conftest.$ac_ext <<_ACEOF
23656 /* end confdefs.h. */
23657 #include <math.h>
23658 #ifdef HAVE_IEEEFP_H
23659 #include <ieeefp.h>
23660 #endif
23663 main ()
23665 _sqrtl(0);
23667 return 0;
23669 _ACEOF
23670 rm -f conftest.$ac_objext
23671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23672 (eval $ac_compile) 2>conftest.er1
23673 ac_status=$?
23674 grep -v '^ *+' conftest.er1 >conftest.err
23675 rm -f conftest.er1
23676 cat conftest.err >&5
23677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23678 (exit $ac_status); } &&
23679 { ac_try='test -z "$ac_cxx_werror_flag"
23680 || test ! -s conftest.err'
23681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23682 (eval $ac_try) 2>&5
23683 ac_status=$?
23684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23685 (exit $ac_status); }; } &&
23686 { ac_try='test -s conftest.$ac_objext'
23687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23688 (eval $ac_try) 2>&5
23689 ac_status=$?
23690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23691 (exit $ac_status); }; }; then
23692 glibcxx_cv_func__sqrtl_use=yes
23693 else
23694 echo "$as_me: failed program was:" >&5
23695 sed 's/^/| /' conftest.$ac_ext >&5
23697 glibcxx_cv_func__sqrtl_use=no
23699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23700 ac_ext=c
23701 ac_cpp='$CPP $CPPFLAGS'
23702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23710 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
23711 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
23713 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
23715 for ac_func in _sqrtl
23717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23718 echo "$as_me:$LINENO: checking for $ac_func" >&5
23719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23720 if eval "test \"\${$as_ac_var+set}\" = set"; then
23721 echo $ECHO_N "(cached) $ECHO_C" >&6
23722 else
23723 if test x$gcc_no_link = xyes; then
23724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23726 { (exit 1); exit 1; }; }
23728 cat >conftest.$ac_ext <<_ACEOF
23729 /* confdefs.h. */
23730 _ACEOF
23731 cat confdefs.h >>conftest.$ac_ext
23732 cat >>conftest.$ac_ext <<_ACEOF
23733 /* end confdefs.h. */
23734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23736 #define $ac_func innocuous_$ac_func
23738 /* System header to define __stub macros and hopefully few prototypes,
23739 which can conflict with char $ac_func (); below.
23740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23741 <limits.h> exists even on freestanding compilers. */
23743 #ifdef __STDC__
23744 # include <limits.h>
23745 #else
23746 # include <assert.h>
23747 #endif
23749 #undef $ac_func
23751 /* Override any gcc2 internal prototype to avoid an error. */
23752 #ifdef __cplusplus
23753 extern "C"
23755 #endif
23756 /* We use char because int might match the return type of a gcc2
23757 builtin and then its argument prototype would still apply. */
23758 char $ac_func ();
23759 /* The GNU C library defines this for functions which it implements
23760 to always fail with ENOSYS. Some functions are actually named
23761 something starting with __ and the normal name is an alias. */
23762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23763 choke me
23764 #else
23765 char (*f) () = $ac_func;
23766 #endif
23767 #ifdef __cplusplus
23769 #endif
23772 main ()
23774 return f != $ac_func;
23776 return 0;
23778 _ACEOF
23779 rm -f conftest.$ac_objext conftest$ac_exeext
23780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23781 (eval $ac_link) 2>conftest.er1
23782 ac_status=$?
23783 grep -v '^ *+' conftest.er1 >conftest.err
23784 rm -f conftest.er1
23785 cat conftest.err >&5
23786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23787 (exit $ac_status); } &&
23788 { ac_try='test -z "$ac_c_werror_flag"
23789 || test ! -s conftest.err'
23790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23791 (eval $ac_try) 2>&5
23792 ac_status=$?
23793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23794 (exit $ac_status); }; } &&
23795 { ac_try='test -s conftest$ac_exeext'
23796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23797 (eval $ac_try) 2>&5
23798 ac_status=$?
23799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23800 (exit $ac_status); }; }; then
23801 eval "$as_ac_var=yes"
23802 else
23803 echo "$as_me: failed program was:" >&5
23804 sed 's/^/| /' conftest.$ac_ext >&5
23806 eval "$as_ac_var=no"
23808 rm -f conftest.err conftest.$ac_objext \
23809 conftest$ac_exeext conftest.$ac_ext
23811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23813 if test `eval echo '${'$as_ac_var'}'` = yes; then
23814 cat >>confdefs.h <<_ACEOF
23815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23816 _ACEOF
23819 done
23826 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
23827 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
23828 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
23829 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
23830 echo $ECHO_N "(cached) $ECHO_C" >&6
23831 else
23835 ac_ext=cc
23836 ac_cpp='$CXXCPP $CPPFLAGS'
23837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23841 cat >conftest.$ac_ext <<_ACEOF
23842 /* confdefs.h. */
23843 _ACEOF
23844 cat confdefs.h >>conftest.$ac_ext
23845 cat >>conftest.$ac_ext <<_ACEOF
23846 /* end confdefs.h. */
23847 #include <math.h>
23849 main ()
23851 sincosl(0, 0, 0);
23853 return 0;
23855 _ACEOF
23856 rm -f conftest.$ac_objext
23857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23858 (eval $ac_compile) 2>conftest.er1
23859 ac_status=$?
23860 grep -v '^ *+' conftest.er1 >conftest.err
23861 rm -f conftest.er1
23862 cat conftest.err >&5
23863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23864 (exit $ac_status); } &&
23865 { ac_try='test -z "$ac_cxx_werror_flag"
23866 || test ! -s conftest.err'
23867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23868 (eval $ac_try) 2>&5
23869 ac_status=$?
23870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23871 (exit $ac_status); }; } &&
23872 { ac_try='test -s conftest.$ac_objext'
23873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23874 (eval $ac_try) 2>&5
23875 ac_status=$?
23876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23877 (exit $ac_status); }; }; then
23878 glibcxx_cv_func_sincosl_use=yes
23879 else
23880 echo "$as_me: failed program was:" >&5
23881 sed 's/^/| /' conftest.$ac_ext >&5
23883 glibcxx_cv_func_sincosl_use=no
23885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23886 ac_ext=c
23887 ac_cpp='$CPP $CPPFLAGS'
23888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23896 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
23897 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
23899 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
23901 for ac_func in sincosl
23903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23904 echo "$as_me:$LINENO: checking for $ac_func" >&5
23905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23906 if eval "test \"\${$as_ac_var+set}\" = set"; then
23907 echo $ECHO_N "(cached) $ECHO_C" >&6
23908 else
23909 if test x$gcc_no_link = xyes; then
23910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23912 { (exit 1); exit 1; }; }
23914 cat >conftest.$ac_ext <<_ACEOF
23915 /* confdefs.h. */
23916 _ACEOF
23917 cat confdefs.h >>conftest.$ac_ext
23918 cat >>conftest.$ac_ext <<_ACEOF
23919 /* end confdefs.h. */
23920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23922 #define $ac_func innocuous_$ac_func
23924 /* System header to define __stub macros and hopefully few prototypes,
23925 which can conflict with char $ac_func (); below.
23926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23927 <limits.h> exists even on freestanding compilers. */
23929 #ifdef __STDC__
23930 # include <limits.h>
23931 #else
23932 # include <assert.h>
23933 #endif
23935 #undef $ac_func
23937 /* Override any gcc2 internal prototype to avoid an error. */
23938 #ifdef __cplusplus
23939 extern "C"
23941 #endif
23942 /* We use char because int might match the return type of a gcc2
23943 builtin and then its argument prototype would still apply. */
23944 char $ac_func ();
23945 /* The GNU C library defines this for functions which it implements
23946 to always fail with ENOSYS. Some functions are actually named
23947 something starting with __ and the normal name is an alias. */
23948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23949 choke me
23950 #else
23951 char (*f) () = $ac_func;
23952 #endif
23953 #ifdef __cplusplus
23955 #endif
23958 main ()
23960 return f != $ac_func;
23962 return 0;
23964 _ACEOF
23965 rm -f conftest.$ac_objext conftest$ac_exeext
23966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23967 (eval $ac_link) 2>conftest.er1
23968 ac_status=$?
23969 grep -v '^ *+' conftest.er1 >conftest.err
23970 rm -f conftest.er1
23971 cat conftest.err >&5
23972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23973 (exit $ac_status); } &&
23974 { ac_try='test -z "$ac_c_werror_flag"
23975 || test ! -s conftest.err'
23976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23977 (eval $ac_try) 2>&5
23978 ac_status=$?
23979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23980 (exit $ac_status); }; } &&
23981 { ac_try='test -s conftest$ac_exeext'
23982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23983 (eval $ac_try) 2>&5
23984 ac_status=$?
23985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23986 (exit $ac_status); }; }; then
23987 eval "$as_ac_var=yes"
23988 else
23989 echo "$as_me: failed program was:" >&5
23990 sed 's/^/| /' conftest.$ac_ext >&5
23992 eval "$as_ac_var=no"
23994 rm -f conftest.err conftest.$ac_objext \
23995 conftest$ac_exeext conftest.$ac_ext
23997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23999 if test `eval echo '${'$as_ac_var'}'` = yes; then
24000 cat >>confdefs.h <<_ACEOF
24001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24002 _ACEOF
24005 done
24007 else
24009 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
24010 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
24011 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
24012 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
24013 echo $ECHO_N "(cached) $ECHO_C" >&6
24014 else
24018 ac_ext=cc
24019 ac_cpp='$CXXCPP $CPPFLAGS'
24020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24024 cat >conftest.$ac_ext <<_ACEOF
24025 /* confdefs.h. */
24026 _ACEOF
24027 cat confdefs.h >>conftest.$ac_ext
24028 cat >>conftest.$ac_ext <<_ACEOF
24029 /* end confdefs.h. */
24030 #include <math.h>
24032 main ()
24034 _sincosl(0, 0, 0);
24036 return 0;
24038 _ACEOF
24039 rm -f conftest.$ac_objext
24040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24041 (eval $ac_compile) 2>conftest.er1
24042 ac_status=$?
24043 grep -v '^ *+' conftest.er1 >conftest.err
24044 rm -f conftest.er1
24045 cat conftest.err >&5
24046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24047 (exit $ac_status); } &&
24048 { ac_try='test -z "$ac_cxx_werror_flag"
24049 || test ! -s conftest.err'
24050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24051 (eval $ac_try) 2>&5
24052 ac_status=$?
24053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24054 (exit $ac_status); }; } &&
24055 { ac_try='test -s conftest.$ac_objext'
24056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24057 (eval $ac_try) 2>&5
24058 ac_status=$?
24059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24060 (exit $ac_status); }; }; then
24061 glibcxx_cv_func__sincosl_use=yes
24062 else
24063 echo "$as_me: failed program was:" >&5
24064 sed 's/^/| /' conftest.$ac_ext >&5
24066 glibcxx_cv_func__sincosl_use=no
24068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24069 ac_ext=c
24070 ac_cpp='$CPP $CPPFLAGS'
24071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24079 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
24080 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
24082 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
24084 for ac_func in _sincosl
24086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24087 echo "$as_me:$LINENO: checking for $ac_func" >&5
24088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24089 if eval "test \"\${$as_ac_var+set}\" = set"; then
24090 echo $ECHO_N "(cached) $ECHO_C" >&6
24091 else
24092 if test x$gcc_no_link = xyes; then
24093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24095 { (exit 1); exit 1; }; }
24097 cat >conftest.$ac_ext <<_ACEOF
24098 /* confdefs.h. */
24099 _ACEOF
24100 cat confdefs.h >>conftest.$ac_ext
24101 cat >>conftest.$ac_ext <<_ACEOF
24102 /* end confdefs.h. */
24103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24105 #define $ac_func innocuous_$ac_func
24107 /* System header to define __stub macros and hopefully few prototypes,
24108 which can conflict with char $ac_func (); below.
24109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24110 <limits.h> exists even on freestanding compilers. */
24112 #ifdef __STDC__
24113 # include <limits.h>
24114 #else
24115 # include <assert.h>
24116 #endif
24118 #undef $ac_func
24120 /* Override any gcc2 internal prototype to avoid an error. */
24121 #ifdef __cplusplus
24122 extern "C"
24124 #endif
24125 /* We use char because int might match the return type of a gcc2
24126 builtin and then its argument prototype would still apply. */
24127 char $ac_func ();
24128 /* The GNU C library defines this for functions which it implements
24129 to always fail with ENOSYS. Some functions are actually named
24130 something starting with __ and the normal name is an alias. */
24131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24132 choke me
24133 #else
24134 char (*f) () = $ac_func;
24135 #endif
24136 #ifdef __cplusplus
24138 #endif
24141 main ()
24143 return f != $ac_func;
24145 return 0;
24147 _ACEOF
24148 rm -f conftest.$ac_objext conftest$ac_exeext
24149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24150 (eval $ac_link) 2>conftest.er1
24151 ac_status=$?
24152 grep -v '^ *+' conftest.er1 >conftest.err
24153 rm -f conftest.er1
24154 cat conftest.err >&5
24155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24156 (exit $ac_status); } &&
24157 { ac_try='test -z "$ac_c_werror_flag"
24158 || test ! -s conftest.err'
24159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24160 (eval $ac_try) 2>&5
24161 ac_status=$?
24162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24163 (exit $ac_status); }; } &&
24164 { ac_try='test -s conftest$ac_exeext'
24165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24166 (eval $ac_try) 2>&5
24167 ac_status=$?
24168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24169 (exit $ac_status); }; }; then
24170 eval "$as_ac_var=yes"
24171 else
24172 echo "$as_me: failed program was:" >&5
24173 sed 's/^/| /' conftest.$ac_ext >&5
24175 eval "$as_ac_var=no"
24177 rm -f conftest.err conftest.$ac_objext \
24178 conftest$ac_exeext conftest.$ac_ext
24180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24182 if test `eval echo '${'$as_ac_var'}'` = yes; then
24183 cat >>confdefs.h <<_ACEOF
24184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24185 _ACEOF
24188 done
24195 echo "$as_me:$LINENO: checking for finitel declaration" >&5
24196 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
24197 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
24198 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
24199 echo $ECHO_N "(cached) $ECHO_C" >&6
24200 else
24204 ac_ext=cc
24205 ac_cpp='$CXXCPP $CPPFLAGS'
24206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24210 cat >conftest.$ac_ext <<_ACEOF
24211 /* confdefs.h. */
24212 _ACEOF
24213 cat confdefs.h >>conftest.$ac_ext
24214 cat >>conftest.$ac_ext <<_ACEOF
24215 /* end confdefs.h. */
24216 #include <math.h>
24217 #ifdef HAVE_IEEEFP_H
24218 #include <ieeefp.h>
24219 #endif
24222 main ()
24224 finitel(0);
24226 return 0;
24228 _ACEOF
24229 rm -f conftest.$ac_objext
24230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24231 (eval $ac_compile) 2>conftest.er1
24232 ac_status=$?
24233 grep -v '^ *+' conftest.er1 >conftest.err
24234 rm -f conftest.er1
24235 cat conftest.err >&5
24236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24237 (exit $ac_status); } &&
24238 { ac_try='test -z "$ac_cxx_werror_flag"
24239 || test ! -s conftest.err'
24240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24241 (eval $ac_try) 2>&5
24242 ac_status=$?
24243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24244 (exit $ac_status); }; } &&
24245 { ac_try='test -s conftest.$ac_objext'
24246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24247 (eval $ac_try) 2>&5
24248 ac_status=$?
24249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24250 (exit $ac_status); }; }; then
24251 glibcxx_cv_func_finitel_use=yes
24252 else
24253 echo "$as_me: failed program was:" >&5
24254 sed 's/^/| /' conftest.$ac_ext >&5
24256 glibcxx_cv_func_finitel_use=no
24258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24259 ac_ext=c
24260 ac_cpp='$CPP $CPPFLAGS'
24261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24269 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
24270 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
24272 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
24274 for ac_func in finitel
24276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24277 echo "$as_me:$LINENO: checking for $ac_func" >&5
24278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24279 if eval "test \"\${$as_ac_var+set}\" = set"; then
24280 echo $ECHO_N "(cached) $ECHO_C" >&6
24281 else
24282 if test x$gcc_no_link = xyes; then
24283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24285 { (exit 1); exit 1; }; }
24287 cat >conftest.$ac_ext <<_ACEOF
24288 /* confdefs.h. */
24289 _ACEOF
24290 cat confdefs.h >>conftest.$ac_ext
24291 cat >>conftest.$ac_ext <<_ACEOF
24292 /* end confdefs.h. */
24293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24295 #define $ac_func innocuous_$ac_func
24297 /* System header to define __stub macros and hopefully few prototypes,
24298 which can conflict with char $ac_func (); below.
24299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24300 <limits.h> exists even on freestanding compilers. */
24302 #ifdef __STDC__
24303 # include <limits.h>
24304 #else
24305 # include <assert.h>
24306 #endif
24308 #undef $ac_func
24310 /* Override any gcc2 internal prototype to avoid an error. */
24311 #ifdef __cplusplus
24312 extern "C"
24314 #endif
24315 /* We use char because int might match the return type of a gcc2
24316 builtin and then its argument prototype would still apply. */
24317 char $ac_func ();
24318 /* The GNU C library defines this for functions which it implements
24319 to always fail with ENOSYS. Some functions are actually named
24320 something starting with __ and the normal name is an alias. */
24321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24322 choke me
24323 #else
24324 char (*f) () = $ac_func;
24325 #endif
24326 #ifdef __cplusplus
24328 #endif
24331 main ()
24333 return f != $ac_func;
24335 return 0;
24337 _ACEOF
24338 rm -f conftest.$ac_objext conftest$ac_exeext
24339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24340 (eval $ac_link) 2>conftest.er1
24341 ac_status=$?
24342 grep -v '^ *+' conftest.er1 >conftest.err
24343 rm -f conftest.er1
24344 cat conftest.err >&5
24345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24346 (exit $ac_status); } &&
24347 { ac_try='test -z "$ac_c_werror_flag"
24348 || test ! -s conftest.err'
24349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24350 (eval $ac_try) 2>&5
24351 ac_status=$?
24352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24353 (exit $ac_status); }; } &&
24354 { ac_try='test -s conftest$ac_exeext'
24355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24356 (eval $ac_try) 2>&5
24357 ac_status=$?
24358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24359 (exit $ac_status); }; }; then
24360 eval "$as_ac_var=yes"
24361 else
24362 echo "$as_me: failed program was:" >&5
24363 sed 's/^/| /' conftest.$ac_ext >&5
24365 eval "$as_ac_var=no"
24367 rm -f conftest.err conftest.$ac_objext \
24368 conftest$ac_exeext conftest.$ac_ext
24370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24372 if test `eval echo '${'$as_ac_var'}'` = yes; then
24373 cat >>confdefs.h <<_ACEOF
24374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24375 _ACEOF
24378 done
24380 else
24382 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
24383 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
24384 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
24385 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
24386 echo $ECHO_N "(cached) $ECHO_C" >&6
24387 else
24391 ac_ext=cc
24392 ac_cpp='$CXXCPP $CPPFLAGS'
24393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24397 cat >conftest.$ac_ext <<_ACEOF
24398 /* confdefs.h. */
24399 _ACEOF
24400 cat confdefs.h >>conftest.$ac_ext
24401 cat >>conftest.$ac_ext <<_ACEOF
24402 /* end confdefs.h. */
24403 #include <math.h>
24404 #ifdef HAVE_IEEEFP_H
24405 #include <ieeefp.h>
24406 #endif
24409 main ()
24411 _finitel(0);
24413 return 0;
24415 _ACEOF
24416 rm -f conftest.$ac_objext
24417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24418 (eval $ac_compile) 2>conftest.er1
24419 ac_status=$?
24420 grep -v '^ *+' conftest.er1 >conftest.err
24421 rm -f conftest.er1
24422 cat conftest.err >&5
24423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24424 (exit $ac_status); } &&
24425 { ac_try='test -z "$ac_cxx_werror_flag"
24426 || test ! -s conftest.err'
24427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24428 (eval $ac_try) 2>&5
24429 ac_status=$?
24430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24431 (exit $ac_status); }; } &&
24432 { ac_try='test -s conftest.$ac_objext'
24433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24434 (eval $ac_try) 2>&5
24435 ac_status=$?
24436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24437 (exit $ac_status); }; }; then
24438 glibcxx_cv_func__finitel_use=yes
24439 else
24440 echo "$as_me: failed program was:" >&5
24441 sed 's/^/| /' conftest.$ac_ext >&5
24443 glibcxx_cv_func__finitel_use=no
24445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24446 ac_ext=c
24447 ac_cpp='$CPP $CPPFLAGS'
24448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24456 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
24457 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
24459 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
24461 for ac_func in _finitel
24463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24464 echo "$as_me:$LINENO: checking for $ac_func" >&5
24465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24466 if eval "test \"\${$as_ac_var+set}\" = set"; then
24467 echo $ECHO_N "(cached) $ECHO_C" >&6
24468 else
24469 if test x$gcc_no_link = xyes; then
24470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24472 { (exit 1); exit 1; }; }
24474 cat >conftest.$ac_ext <<_ACEOF
24475 /* confdefs.h. */
24476 _ACEOF
24477 cat confdefs.h >>conftest.$ac_ext
24478 cat >>conftest.$ac_ext <<_ACEOF
24479 /* end confdefs.h. */
24480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24482 #define $ac_func innocuous_$ac_func
24484 /* System header to define __stub macros and hopefully few prototypes,
24485 which can conflict with char $ac_func (); below.
24486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24487 <limits.h> exists even on freestanding compilers. */
24489 #ifdef __STDC__
24490 # include <limits.h>
24491 #else
24492 # include <assert.h>
24493 #endif
24495 #undef $ac_func
24497 /* Override any gcc2 internal prototype to avoid an error. */
24498 #ifdef __cplusplus
24499 extern "C"
24501 #endif
24502 /* We use char because int might match the return type of a gcc2
24503 builtin and then its argument prototype would still apply. */
24504 char $ac_func ();
24505 /* The GNU C library defines this for functions which it implements
24506 to always fail with ENOSYS. Some functions are actually named
24507 something starting with __ and the normal name is an alias. */
24508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24509 choke me
24510 #else
24511 char (*f) () = $ac_func;
24512 #endif
24513 #ifdef __cplusplus
24515 #endif
24518 main ()
24520 return f != $ac_func;
24522 return 0;
24524 _ACEOF
24525 rm -f conftest.$ac_objext conftest$ac_exeext
24526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24527 (eval $ac_link) 2>conftest.er1
24528 ac_status=$?
24529 grep -v '^ *+' conftest.er1 >conftest.err
24530 rm -f conftest.er1
24531 cat conftest.err >&5
24532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24533 (exit $ac_status); } &&
24534 { ac_try='test -z "$ac_c_werror_flag"
24535 || test ! -s conftest.err'
24536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24537 (eval $ac_try) 2>&5
24538 ac_status=$?
24539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540 (exit $ac_status); }; } &&
24541 { ac_try='test -s conftest$ac_exeext'
24542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24543 (eval $ac_try) 2>&5
24544 ac_status=$?
24545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24546 (exit $ac_status); }; }; then
24547 eval "$as_ac_var=yes"
24548 else
24549 echo "$as_me: failed program was:" >&5
24550 sed 's/^/| /' conftest.$ac_ext >&5
24552 eval "$as_ac_var=no"
24554 rm -f conftest.err conftest.$ac_objext \
24555 conftest$ac_exeext conftest.$ac_ext
24557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24559 if test `eval echo '${'$as_ac_var'}'` = yes; then
24560 cat >>confdefs.h <<_ACEOF
24561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24562 _ACEOF
24565 done
24573 echo "$as_me:$LINENO: checking for _float trig functions" >&5
24574 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
24575 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
24576 echo $ECHO_N "(cached) $ECHO_C" >&6
24577 else
24581 ac_ext=cc
24582 ac_cpp='$CXXCPP $CPPFLAGS'
24583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24587 cat >conftest.$ac_ext <<_ACEOF
24588 /* confdefs.h. */
24589 _ACEOF
24590 cat confdefs.h >>conftest.$ac_ext
24591 cat >>conftest.$ac_ext <<_ACEOF
24592 /* end confdefs.h. */
24593 #include <math.h>
24595 main ()
24597 `for x in _acosf _asinf _atanf \
24598 _cosf _sinf _tanf \
24599 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
24601 return 0;
24603 _ACEOF
24604 rm -f conftest.$ac_objext
24605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24606 (eval $ac_compile) 2>conftest.er1
24607 ac_status=$?
24608 grep -v '^ *+' conftest.er1 >conftest.err
24609 rm -f conftest.er1
24610 cat conftest.err >&5
24611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24612 (exit $ac_status); } &&
24613 { ac_try='test -z "$ac_cxx_werror_flag"
24614 || test ! -s conftest.err'
24615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24616 (eval $ac_try) 2>&5
24617 ac_status=$?
24618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24619 (exit $ac_status); }; } &&
24620 { ac_try='test -s conftest.$ac_objext'
24621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24622 (eval $ac_try) 2>&5
24623 ac_status=$?
24624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24625 (exit $ac_status); }; }; then
24626 glibcxx_cv_func__float_trig_use=yes
24627 else
24628 echo "$as_me: failed program was:" >&5
24629 sed 's/^/| /' conftest.$ac_ext >&5
24631 glibcxx_cv_func__float_trig_use=no
24633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24634 ac_ext=c
24635 ac_cpp='$CPP $CPPFLAGS'
24636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24642 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
24643 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
24644 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
24654 for ac_func in _acosf _asinf _atanf \
24655 _cosf _sinf _tanf \
24656 _coshf _sinhf _tanhf
24658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24659 echo "$as_me:$LINENO: checking for $ac_func" >&5
24660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24661 if eval "test \"\${$as_ac_var+set}\" = set"; then
24662 echo $ECHO_N "(cached) $ECHO_C" >&6
24663 else
24664 if test x$gcc_no_link = xyes; then
24665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24667 { (exit 1); exit 1; }; }
24669 cat >conftest.$ac_ext <<_ACEOF
24670 /* confdefs.h. */
24671 _ACEOF
24672 cat confdefs.h >>conftest.$ac_ext
24673 cat >>conftest.$ac_ext <<_ACEOF
24674 /* end confdefs.h. */
24675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24677 #define $ac_func innocuous_$ac_func
24679 /* System header to define __stub macros and hopefully few prototypes,
24680 which can conflict with char $ac_func (); below.
24681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24682 <limits.h> exists even on freestanding compilers. */
24684 #ifdef __STDC__
24685 # include <limits.h>
24686 #else
24687 # include <assert.h>
24688 #endif
24690 #undef $ac_func
24692 /* Override any gcc2 internal prototype to avoid an error. */
24693 #ifdef __cplusplus
24694 extern "C"
24696 #endif
24697 /* We use char because int might match the return type of a gcc2
24698 builtin and then its argument prototype would still apply. */
24699 char $ac_func ();
24700 /* The GNU C library defines this for functions which it implements
24701 to always fail with ENOSYS. Some functions are actually named
24702 something starting with __ and the normal name is an alias. */
24703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24704 choke me
24705 #else
24706 char (*f) () = $ac_func;
24707 #endif
24708 #ifdef __cplusplus
24710 #endif
24713 main ()
24715 return f != $ac_func;
24717 return 0;
24719 _ACEOF
24720 rm -f conftest.$ac_objext conftest$ac_exeext
24721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24722 (eval $ac_link) 2>conftest.er1
24723 ac_status=$?
24724 grep -v '^ *+' conftest.er1 >conftest.err
24725 rm -f conftest.er1
24726 cat conftest.err >&5
24727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24728 (exit $ac_status); } &&
24729 { ac_try='test -z "$ac_c_werror_flag"
24730 || test ! -s conftest.err'
24731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24732 (eval $ac_try) 2>&5
24733 ac_status=$?
24734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24735 (exit $ac_status); }; } &&
24736 { ac_try='test -s conftest$ac_exeext'
24737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24738 (eval $ac_try) 2>&5
24739 ac_status=$?
24740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24741 (exit $ac_status); }; }; then
24742 eval "$as_ac_var=yes"
24743 else
24744 echo "$as_me: failed program was:" >&5
24745 sed 's/^/| /' conftest.$ac_ext >&5
24747 eval "$as_ac_var=no"
24749 rm -f conftest.err conftest.$ac_objext \
24750 conftest$ac_exeext conftest.$ac_ext
24752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24754 if test `eval echo '${'$as_ac_var'}'` = yes; then
24755 cat >>confdefs.h <<_ACEOF
24756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24757 _ACEOF
24760 done
24765 echo "$as_me:$LINENO: checking for _float round functions" >&5
24766 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
24767 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
24768 echo $ECHO_N "(cached) $ECHO_C" >&6
24769 else
24773 ac_ext=cc
24774 ac_cpp='$CXXCPP $CPPFLAGS'
24775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24779 cat >conftest.$ac_ext <<_ACEOF
24780 /* confdefs.h. */
24781 _ACEOF
24782 cat confdefs.h >>conftest.$ac_ext
24783 cat >>conftest.$ac_ext <<_ACEOF
24784 /* end confdefs.h. */
24785 #include <math.h>
24787 main ()
24789 `for x in _ceilf _floorf; do echo "$x (0);"; done`
24791 return 0;
24793 _ACEOF
24794 rm -f conftest.$ac_objext
24795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24796 (eval $ac_compile) 2>conftest.er1
24797 ac_status=$?
24798 grep -v '^ *+' conftest.er1 >conftest.err
24799 rm -f conftest.er1
24800 cat conftest.err >&5
24801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24802 (exit $ac_status); } &&
24803 { ac_try='test -z "$ac_cxx_werror_flag"
24804 || test ! -s conftest.err'
24805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24806 (eval $ac_try) 2>&5
24807 ac_status=$?
24808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24809 (exit $ac_status); }; } &&
24810 { ac_try='test -s conftest.$ac_objext'
24811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24812 (eval $ac_try) 2>&5
24813 ac_status=$?
24814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24815 (exit $ac_status); }; }; then
24816 glibcxx_cv_func__float_round_use=yes
24817 else
24818 echo "$as_me: failed program was:" >&5
24819 sed 's/^/| /' conftest.$ac_ext >&5
24821 glibcxx_cv_func__float_round_use=no
24823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24824 ac_ext=c
24825 ac_cpp='$CPP $CPPFLAGS'
24826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24832 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
24833 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
24834 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24837 for ac_func in _ceilf _floorf
24839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24840 echo "$as_me:$LINENO: checking for $ac_func" >&5
24841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24842 if eval "test \"\${$as_ac_var+set}\" = set"; then
24843 echo $ECHO_N "(cached) $ECHO_C" >&6
24844 else
24845 if test x$gcc_no_link = xyes; then
24846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24848 { (exit 1); exit 1; }; }
24850 cat >conftest.$ac_ext <<_ACEOF
24851 /* confdefs.h. */
24852 _ACEOF
24853 cat confdefs.h >>conftest.$ac_ext
24854 cat >>conftest.$ac_ext <<_ACEOF
24855 /* end confdefs.h. */
24856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24858 #define $ac_func innocuous_$ac_func
24860 /* System header to define __stub macros and hopefully few prototypes,
24861 which can conflict with char $ac_func (); below.
24862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24863 <limits.h> exists even on freestanding compilers. */
24865 #ifdef __STDC__
24866 # include <limits.h>
24867 #else
24868 # include <assert.h>
24869 #endif
24871 #undef $ac_func
24873 /* Override any gcc2 internal prototype to avoid an error. */
24874 #ifdef __cplusplus
24875 extern "C"
24877 #endif
24878 /* We use char because int might match the return type of a gcc2
24879 builtin and then its argument prototype would still apply. */
24880 char $ac_func ();
24881 /* The GNU C library defines this for functions which it implements
24882 to always fail with ENOSYS. Some functions are actually named
24883 something starting with __ and the normal name is an alias. */
24884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24885 choke me
24886 #else
24887 char (*f) () = $ac_func;
24888 #endif
24889 #ifdef __cplusplus
24891 #endif
24894 main ()
24896 return f != $ac_func;
24898 return 0;
24900 _ACEOF
24901 rm -f conftest.$ac_objext conftest$ac_exeext
24902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24903 (eval $ac_link) 2>conftest.er1
24904 ac_status=$?
24905 grep -v '^ *+' conftest.er1 >conftest.err
24906 rm -f conftest.er1
24907 cat conftest.err >&5
24908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909 (exit $ac_status); } &&
24910 { ac_try='test -z "$ac_c_werror_flag"
24911 || test ! -s conftest.err'
24912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24913 (eval $ac_try) 2>&5
24914 ac_status=$?
24915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24916 (exit $ac_status); }; } &&
24917 { ac_try='test -s conftest$ac_exeext'
24918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24919 (eval $ac_try) 2>&5
24920 ac_status=$?
24921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24922 (exit $ac_status); }; }; then
24923 eval "$as_ac_var=yes"
24924 else
24925 echo "$as_me: failed program was:" >&5
24926 sed 's/^/| /' conftest.$ac_ext >&5
24928 eval "$as_ac_var=no"
24930 rm -f conftest.err conftest.$ac_objext \
24931 conftest$ac_exeext conftest.$ac_ext
24933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24935 if test `eval echo '${'$as_ac_var'}'` = yes; then
24936 cat >>confdefs.h <<_ACEOF
24937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24938 _ACEOF
24941 done
24947 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
24948 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
24949 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
24950 echo $ECHO_N "(cached) $ECHO_C" >&6
24951 else
24955 ac_ext=cc
24956 ac_cpp='$CXXCPP $CPPFLAGS'
24957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24961 cat >conftest.$ac_ext <<_ACEOF
24962 /* confdefs.h. */
24963 _ACEOF
24964 cat confdefs.h >>conftest.$ac_ext
24965 cat >>conftest.$ac_ext <<_ACEOF
24966 /* end confdefs.h. */
24967 #include <math.h>
24969 main ()
24971 `for x in _acosl _asinl _atanl \
24972 _cosl _sinl _tanl \
24973 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
24975 return 0;
24977 _ACEOF
24978 rm -f conftest.$ac_objext
24979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24980 (eval $ac_compile) 2>conftest.er1
24981 ac_status=$?
24982 grep -v '^ *+' conftest.er1 >conftest.err
24983 rm -f conftest.er1
24984 cat conftest.err >&5
24985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24986 (exit $ac_status); } &&
24987 { ac_try='test -z "$ac_cxx_werror_flag"
24988 || test ! -s conftest.err'
24989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24990 (eval $ac_try) 2>&5
24991 ac_status=$?
24992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24993 (exit $ac_status); }; } &&
24994 { ac_try='test -s conftest.$ac_objext'
24995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24996 (eval $ac_try) 2>&5
24997 ac_status=$?
24998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24999 (exit $ac_status); }; }; then
25000 glibcxx_cv_func__long_double_trig_use=yes
25001 else
25002 echo "$as_me: failed program was:" >&5
25003 sed 's/^/| /' conftest.$ac_ext >&5
25005 glibcxx_cv_func__long_double_trig_use=no
25007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25008 ac_ext=c
25009 ac_cpp='$CPP $CPPFLAGS'
25010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25016 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
25017 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
25018 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25028 for ac_func in _acosl _asinl _atanl \
25029 _cosl _sinl _tanl \
25030 _coshl _sinhl _tanhl
25032 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25033 echo "$as_me:$LINENO: checking for $ac_func" >&5
25034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25035 if eval "test \"\${$as_ac_var+set}\" = set"; then
25036 echo $ECHO_N "(cached) $ECHO_C" >&6
25037 else
25038 if test x$gcc_no_link = xyes; then
25039 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25041 { (exit 1); exit 1; }; }
25043 cat >conftest.$ac_ext <<_ACEOF
25044 /* confdefs.h. */
25045 _ACEOF
25046 cat confdefs.h >>conftest.$ac_ext
25047 cat >>conftest.$ac_ext <<_ACEOF
25048 /* end confdefs.h. */
25049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25051 #define $ac_func innocuous_$ac_func
25053 /* System header to define __stub macros and hopefully few prototypes,
25054 which can conflict with char $ac_func (); below.
25055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25056 <limits.h> exists even on freestanding compilers. */
25058 #ifdef __STDC__
25059 # include <limits.h>
25060 #else
25061 # include <assert.h>
25062 #endif
25064 #undef $ac_func
25066 /* Override any gcc2 internal prototype to avoid an error. */
25067 #ifdef __cplusplus
25068 extern "C"
25070 #endif
25071 /* We use char because int might match the return type of a gcc2
25072 builtin and then its argument prototype would still apply. */
25073 char $ac_func ();
25074 /* The GNU C library defines this for functions which it implements
25075 to always fail with ENOSYS. Some functions are actually named
25076 something starting with __ and the normal name is an alias. */
25077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25078 choke me
25079 #else
25080 char (*f) () = $ac_func;
25081 #endif
25082 #ifdef __cplusplus
25084 #endif
25087 main ()
25089 return f != $ac_func;
25091 return 0;
25093 _ACEOF
25094 rm -f conftest.$ac_objext conftest$ac_exeext
25095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25096 (eval $ac_link) 2>conftest.er1
25097 ac_status=$?
25098 grep -v '^ *+' conftest.er1 >conftest.err
25099 rm -f conftest.er1
25100 cat conftest.err >&5
25101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25102 (exit $ac_status); } &&
25103 { ac_try='test -z "$ac_c_werror_flag"
25104 || test ! -s conftest.err'
25105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25106 (eval $ac_try) 2>&5
25107 ac_status=$?
25108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25109 (exit $ac_status); }; } &&
25110 { ac_try='test -s conftest$ac_exeext'
25111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25112 (eval $ac_try) 2>&5
25113 ac_status=$?
25114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25115 (exit $ac_status); }; }; then
25116 eval "$as_ac_var=yes"
25117 else
25118 echo "$as_me: failed program was:" >&5
25119 sed 's/^/| /' conftest.$ac_ext >&5
25121 eval "$as_ac_var=no"
25123 rm -f conftest.err conftest.$ac_objext \
25124 conftest$ac_exeext conftest.$ac_ext
25126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25128 if test `eval echo '${'$as_ac_var'}'` = yes; then
25129 cat >>confdefs.h <<_ACEOF
25130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25131 _ACEOF
25134 done
25139 echo "$as_me:$LINENO: checking for _long double round functions" >&5
25140 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
25141 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
25142 echo $ECHO_N "(cached) $ECHO_C" >&6
25143 else
25147 ac_ext=cc
25148 ac_cpp='$CXXCPP $CPPFLAGS'
25149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25153 cat >conftest.$ac_ext <<_ACEOF
25154 /* confdefs.h. */
25155 _ACEOF
25156 cat confdefs.h >>conftest.$ac_ext
25157 cat >>conftest.$ac_ext <<_ACEOF
25158 /* end confdefs.h. */
25159 #include <math.h>
25161 main ()
25163 `for x in _ceill _floorl; do echo "$x (0);"; done`
25165 return 0;
25167 _ACEOF
25168 rm -f conftest.$ac_objext
25169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25170 (eval $ac_compile) 2>conftest.er1
25171 ac_status=$?
25172 grep -v '^ *+' conftest.er1 >conftest.err
25173 rm -f conftest.er1
25174 cat conftest.err >&5
25175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25176 (exit $ac_status); } &&
25177 { ac_try='test -z "$ac_cxx_werror_flag"
25178 || test ! -s conftest.err'
25179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25180 (eval $ac_try) 2>&5
25181 ac_status=$?
25182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25183 (exit $ac_status); }; } &&
25184 { ac_try='test -s conftest.$ac_objext'
25185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25186 (eval $ac_try) 2>&5
25187 ac_status=$?
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); }; }; then
25190 glibcxx_cv_func__long_double_round_use=yes
25191 else
25192 echo "$as_me: failed program was:" >&5
25193 sed 's/^/| /' conftest.$ac_ext >&5
25195 glibcxx_cv_func__long_double_round_use=no
25197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25198 ac_ext=c
25199 ac_cpp='$CPP $CPPFLAGS'
25200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25206 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
25207 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
25208 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25211 for ac_func in _ceill _floorl
25213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25214 echo "$as_me:$LINENO: checking for $ac_func" >&5
25215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25216 if eval "test \"\${$as_ac_var+set}\" = set"; then
25217 echo $ECHO_N "(cached) $ECHO_C" >&6
25218 else
25219 if test x$gcc_no_link = xyes; then
25220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25222 { (exit 1); exit 1; }; }
25224 cat >conftest.$ac_ext <<_ACEOF
25225 /* confdefs.h. */
25226 _ACEOF
25227 cat confdefs.h >>conftest.$ac_ext
25228 cat >>conftest.$ac_ext <<_ACEOF
25229 /* end confdefs.h. */
25230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25232 #define $ac_func innocuous_$ac_func
25234 /* System header to define __stub macros and hopefully few prototypes,
25235 which can conflict with char $ac_func (); below.
25236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25237 <limits.h> exists even on freestanding compilers. */
25239 #ifdef __STDC__
25240 # include <limits.h>
25241 #else
25242 # include <assert.h>
25243 #endif
25245 #undef $ac_func
25247 /* Override any gcc2 internal prototype to avoid an error. */
25248 #ifdef __cplusplus
25249 extern "C"
25251 #endif
25252 /* We use char because int might match the return type of a gcc2
25253 builtin and then its argument prototype would still apply. */
25254 char $ac_func ();
25255 /* The GNU C library defines this for functions which it implements
25256 to always fail with ENOSYS. Some functions are actually named
25257 something starting with __ and the normal name is an alias. */
25258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25259 choke me
25260 #else
25261 char (*f) () = $ac_func;
25262 #endif
25263 #ifdef __cplusplus
25265 #endif
25268 main ()
25270 return f != $ac_func;
25272 return 0;
25274 _ACEOF
25275 rm -f conftest.$ac_objext conftest$ac_exeext
25276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25277 (eval $ac_link) 2>conftest.er1
25278 ac_status=$?
25279 grep -v '^ *+' conftest.er1 >conftest.err
25280 rm -f conftest.er1
25281 cat conftest.err >&5
25282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25283 (exit $ac_status); } &&
25284 { ac_try='test -z "$ac_c_werror_flag"
25285 || test ! -s conftest.err'
25286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25287 (eval $ac_try) 2>&5
25288 ac_status=$?
25289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25290 (exit $ac_status); }; } &&
25291 { ac_try='test -s conftest$ac_exeext'
25292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25293 (eval $ac_try) 2>&5
25294 ac_status=$?
25295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25296 (exit $ac_status); }; }; then
25297 eval "$as_ac_var=yes"
25298 else
25299 echo "$as_me: failed program was:" >&5
25300 sed 's/^/| /' conftest.$ac_ext >&5
25302 eval "$as_ac_var=no"
25304 rm -f conftest.err conftest.$ac_objext \
25305 conftest$ac_exeext conftest.$ac_ext
25307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25309 if test `eval echo '${'$as_ac_var'}'` = yes; then
25310 cat >>confdefs.h <<_ACEOF
25311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25312 _ACEOF
25315 done
25320 LIBS="$ac_save_LIBS"
25321 CXXFLAGS="$ac_save_CXXFLAGS"
25325 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25326 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25327 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25328 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25329 echo $ECHO_N "(cached) $ECHO_C" >&6
25330 else
25334 ac_ext=cc
25335 ac_cpp='$CXXCPP $CPPFLAGS'
25336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25340 cat >conftest.$ac_ext <<_ACEOF
25341 /* confdefs.h. */
25342 _ACEOF
25343 cat confdefs.h >>conftest.$ac_ext
25344 cat >>conftest.$ac_ext <<_ACEOF
25345 /* end confdefs.h. */
25346 #include <math.h>
25348 main ()
25350 __builtin_abs(0);
25352 return 0;
25354 _ACEOF
25355 rm -f conftest.$ac_objext
25356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25357 (eval $ac_compile) 2>conftest.er1
25358 ac_status=$?
25359 grep -v '^ *+' conftest.er1 >conftest.err
25360 rm -f conftest.er1
25361 cat conftest.err >&5
25362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25363 (exit $ac_status); } &&
25364 { ac_try='test -z "$ac_cxx_werror_flag"
25365 || test ! -s conftest.err'
25366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25367 (eval $ac_try) 2>&5
25368 ac_status=$?
25369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25370 (exit $ac_status); }; } &&
25371 { ac_try='test -s conftest.$ac_objext'
25372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25373 (eval $ac_try) 2>&5
25374 ac_status=$?
25375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25376 (exit $ac_status); }; }; then
25377 glibcxx_cv_func___builtin_abs_use=yes
25378 else
25379 echo "$as_me: failed program was:" >&5
25380 sed 's/^/| /' conftest.$ac_ext >&5
25382 glibcxx_cv_func___builtin_abs_use=no
25384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25385 ac_ext=c
25386 ac_cpp='$CPP $CPPFLAGS'
25387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25395 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25396 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25397 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25398 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25399 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25400 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25401 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25402 echo $ECHO_N "(cached) $ECHO_C" >&6
25403 else
25405 if test x$gcc_no_link = xyes; then
25406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25408 { (exit 1); exit 1; }; }
25410 cat >conftest.$ac_ext <<_ACEOF
25411 /* confdefs.h. */
25412 _ACEOF
25413 cat confdefs.h >>conftest.$ac_ext
25414 cat >>conftest.$ac_ext <<_ACEOF
25415 /* end confdefs.h. */
25416 #include <math.h>
25418 main ()
25420 __builtin_abs(0);
25422 return 0;
25424 _ACEOF
25425 rm -f conftest.$ac_objext conftest$ac_exeext
25426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25427 (eval $ac_link) 2>conftest.er1
25428 ac_status=$?
25429 grep -v '^ *+' conftest.er1 >conftest.err
25430 rm -f conftest.er1
25431 cat conftest.err >&5
25432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25433 (exit $ac_status); } &&
25434 { ac_try='test -z "$ac_c_werror_flag"
25435 || test ! -s conftest.err'
25436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25437 (eval $ac_try) 2>&5
25438 ac_status=$?
25439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25440 (exit $ac_status); }; } &&
25441 { ac_try='test -s conftest$ac_exeext'
25442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25443 (eval $ac_try) 2>&5
25444 ac_status=$?
25445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25446 (exit $ac_status); }; }; then
25447 glibcxx_cv_func___builtin_abs_link=yes
25448 else
25449 echo "$as_me: failed program was:" >&5
25450 sed 's/^/| /' conftest.$ac_ext >&5
25452 glibcxx_cv_func___builtin_abs_link=no
25454 rm -f conftest.err conftest.$ac_objext \
25455 conftest$ac_exeext conftest.$ac_ext
25460 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25461 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25462 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25463 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25464 cat >>confdefs.h <<_ACEOF
25465 #define ${ac_tr_func} 1
25466 _ACEOF
25472 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25473 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25474 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25475 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25476 echo $ECHO_N "(cached) $ECHO_C" >&6
25477 else
25481 ac_ext=cc
25482 ac_cpp='$CXXCPP $CPPFLAGS'
25483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25487 cat >conftest.$ac_ext <<_ACEOF
25488 /* confdefs.h. */
25489 _ACEOF
25490 cat confdefs.h >>conftest.$ac_ext
25491 cat >>conftest.$ac_ext <<_ACEOF
25492 /* end confdefs.h. */
25493 #include <math.h>
25495 main ()
25497 __builtin_fabsf(0);
25499 return 0;
25501 _ACEOF
25502 rm -f conftest.$ac_objext
25503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25504 (eval $ac_compile) 2>conftest.er1
25505 ac_status=$?
25506 grep -v '^ *+' conftest.er1 >conftest.err
25507 rm -f conftest.er1
25508 cat conftest.err >&5
25509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25510 (exit $ac_status); } &&
25511 { ac_try='test -z "$ac_cxx_werror_flag"
25512 || test ! -s conftest.err'
25513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25514 (eval $ac_try) 2>&5
25515 ac_status=$?
25516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25517 (exit $ac_status); }; } &&
25518 { ac_try='test -s conftest.$ac_objext'
25519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25520 (eval $ac_try) 2>&5
25521 ac_status=$?
25522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25523 (exit $ac_status); }; }; then
25524 glibcxx_cv_func___builtin_fabsf_use=yes
25525 else
25526 echo "$as_me: failed program was:" >&5
25527 sed 's/^/| /' conftest.$ac_ext >&5
25529 glibcxx_cv_func___builtin_fabsf_use=no
25531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25532 ac_ext=c
25533 ac_cpp='$CPP $CPPFLAGS'
25534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25542 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25543 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25544 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25545 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25546 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25547 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25548 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25549 echo $ECHO_N "(cached) $ECHO_C" >&6
25550 else
25552 if test x$gcc_no_link = xyes; then
25553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25555 { (exit 1); exit 1; }; }
25557 cat >conftest.$ac_ext <<_ACEOF
25558 /* confdefs.h. */
25559 _ACEOF
25560 cat confdefs.h >>conftest.$ac_ext
25561 cat >>conftest.$ac_ext <<_ACEOF
25562 /* end confdefs.h. */
25563 #include <math.h>
25565 main ()
25567 __builtin_fabsf(0);
25569 return 0;
25571 _ACEOF
25572 rm -f conftest.$ac_objext conftest$ac_exeext
25573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25574 (eval $ac_link) 2>conftest.er1
25575 ac_status=$?
25576 grep -v '^ *+' conftest.er1 >conftest.err
25577 rm -f conftest.er1
25578 cat conftest.err >&5
25579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25580 (exit $ac_status); } &&
25581 { ac_try='test -z "$ac_c_werror_flag"
25582 || test ! -s conftest.err'
25583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25584 (eval $ac_try) 2>&5
25585 ac_status=$?
25586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25587 (exit $ac_status); }; } &&
25588 { ac_try='test -s conftest$ac_exeext'
25589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25590 (eval $ac_try) 2>&5
25591 ac_status=$?
25592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25593 (exit $ac_status); }; }; then
25594 glibcxx_cv_func___builtin_fabsf_link=yes
25595 else
25596 echo "$as_me: failed program was:" >&5
25597 sed 's/^/| /' conftest.$ac_ext >&5
25599 glibcxx_cv_func___builtin_fabsf_link=no
25601 rm -f conftest.err conftest.$ac_objext \
25602 conftest$ac_exeext conftest.$ac_ext
25607 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25608 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25609 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25610 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25611 cat >>confdefs.h <<_ACEOF
25612 #define ${ac_tr_func} 1
25613 _ACEOF
25619 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25620 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25621 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25622 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25623 echo $ECHO_N "(cached) $ECHO_C" >&6
25624 else
25628 ac_ext=cc
25629 ac_cpp='$CXXCPP $CPPFLAGS'
25630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25634 cat >conftest.$ac_ext <<_ACEOF
25635 /* confdefs.h. */
25636 _ACEOF
25637 cat confdefs.h >>conftest.$ac_ext
25638 cat >>conftest.$ac_ext <<_ACEOF
25639 /* end confdefs.h. */
25640 #include <math.h>
25642 main ()
25644 __builtin_fabs(0);
25646 return 0;
25648 _ACEOF
25649 rm -f conftest.$ac_objext
25650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25651 (eval $ac_compile) 2>conftest.er1
25652 ac_status=$?
25653 grep -v '^ *+' conftest.er1 >conftest.err
25654 rm -f conftest.er1
25655 cat conftest.err >&5
25656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25657 (exit $ac_status); } &&
25658 { ac_try='test -z "$ac_cxx_werror_flag"
25659 || test ! -s conftest.err'
25660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25661 (eval $ac_try) 2>&5
25662 ac_status=$?
25663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25664 (exit $ac_status); }; } &&
25665 { ac_try='test -s conftest.$ac_objext'
25666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25667 (eval $ac_try) 2>&5
25668 ac_status=$?
25669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25670 (exit $ac_status); }; }; then
25671 glibcxx_cv_func___builtin_fabs_use=yes
25672 else
25673 echo "$as_me: failed program was:" >&5
25674 sed 's/^/| /' conftest.$ac_ext >&5
25676 glibcxx_cv_func___builtin_fabs_use=no
25678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25679 ac_ext=c
25680 ac_cpp='$CPP $CPPFLAGS'
25681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25689 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
25690 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
25691 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
25692 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
25693 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
25694 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
25695 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
25696 echo $ECHO_N "(cached) $ECHO_C" >&6
25697 else
25699 if test x$gcc_no_link = xyes; then
25700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25702 { (exit 1); exit 1; }; }
25704 cat >conftest.$ac_ext <<_ACEOF
25705 /* confdefs.h. */
25706 _ACEOF
25707 cat confdefs.h >>conftest.$ac_ext
25708 cat >>conftest.$ac_ext <<_ACEOF
25709 /* end confdefs.h. */
25710 #include <math.h>
25712 main ()
25714 __builtin_fabs(0);
25716 return 0;
25718 _ACEOF
25719 rm -f conftest.$ac_objext conftest$ac_exeext
25720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25721 (eval $ac_link) 2>conftest.er1
25722 ac_status=$?
25723 grep -v '^ *+' conftest.er1 >conftest.err
25724 rm -f conftest.er1
25725 cat conftest.err >&5
25726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25727 (exit $ac_status); } &&
25728 { ac_try='test -z "$ac_c_werror_flag"
25729 || test ! -s conftest.err'
25730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25731 (eval $ac_try) 2>&5
25732 ac_status=$?
25733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25734 (exit $ac_status); }; } &&
25735 { ac_try='test -s conftest$ac_exeext'
25736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25737 (eval $ac_try) 2>&5
25738 ac_status=$?
25739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25740 (exit $ac_status); }; }; then
25741 glibcxx_cv_func___builtin_fabs_link=yes
25742 else
25743 echo "$as_me: failed program was:" >&5
25744 sed 's/^/| /' conftest.$ac_ext >&5
25746 glibcxx_cv_func___builtin_fabs_link=no
25748 rm -f conftest.err conftest.$ac_objext \
25749 conftest$ac_exeext conftest.$ac_ext
25754 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
25755 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
25756 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
25757 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25758 cat >>confdefs.h <<_ACEOF
25759 #define ${ac_tr_func} 1
25760 _ACEOF
25766 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
25767 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
25768 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
25769 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
25770 echo $ECHO_N "(cached) $ECHO_C" >&6
25771 else
25775 ac_ext=cc
25776 ac_cpp='$CXXCPP $CPPFLAGS'
25777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25781 cat >conftest.$ac_ext <<_ACEOF
25782 /* confdefs.h. */
25783 _ACEOF
25784 cat confdefs.h >>conftest.$ac_ext
25785 cat >>conftest.$ac_ext <<_ACEOF
25786 /* end confdefs.h. */
25787 #include <math.h>
25789 main ()
25791 __builtin_fabsl(0);
25793 return 0;
25795 _ACEOF
25796 rm -f conftest.$ac_objext
25797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25798 (eval $ac_compile) 2>conftest.er1
25799 ac_status=$?
25800 grep -v '^ *+' conftest.er1 >conftest.err
25801 rm -f conftest.er1
25802 cat conftest.err >&5
25803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25804 (exit $ac_status); } &&
25805 { ac_try='test -z "$ac_cxx_werror_flag"
25806 || test ! -s conftest.err'
25807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25808 (eval $ac_try) 2>&5
25809 ac_status=$?
25810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25811 (exit $ac_status); }; } &&
25812 { ac_try='test -s conftest.$ac_objext'
25813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25814 (eval $ac_try) 2>&5
25815 ac_status=$?
25816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25817 (exit $ac_status); }; }; then
25818 glibcxx_cv_func___builtin_fabsl_use=yes
25819 else
25820 echo "$as_me: failed program was:" >&5
25821 sed 's/^/| /' conftest.$ac_ext >&5
25823 glibcxx_cv_func___builtin_fabsl_use=no
25825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25826 ac_ext=c
25827 ac_cpp='$CPP $CPPFLAGS'
25828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25836 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
25837 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
25838 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
25839 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
25840 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
25841 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
25842 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
25843 echo $ECHO_N "(cached) $ECHO_C" >&6
25844 else
25846 if test x$gcc_no_link = xyes; then
25847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25849 { (exit 1); exit 1; }; }
25851 cat >conftest.$ac_ext <<_ACEOF
25852 /* confdefs.h. */
25853 _ACEOF
25854 cat confdefs.h >>conftest.$ac_ext
25855 cat >>conftest.$ac_ext <<_ACEOF
25856 /* end confdefs.h. */
25857 #include <math.h>
25859 main ()
25861 __builtin_fabsl(0);
25863 return 0;
25865 _ACEOF
25866 rm -f conftest.$ac_objext conftest$ac_exeext
25867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25868 (eval $ac_link) 2>conftest.er1
25869 ac_status=$?
25870 grep -v '^ *+' conftest.er1 >conftest.err
25871 rm -f conftest.er1
25872 cat conftest.err >&5
25873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25874 (exit $ac_status); } &&
25875 { ac_try='test -z "$ac_c_werror_flag"
25876 || test ! -s conftest.err'
25877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25878 (eval $ac_try) 2>&5
25879 ac_status=$?
25880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25881 (exit $ac_status); }; } &&
25882 { ac_try='test -s conftest$ac_exeext'
25883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25884 (eval $ac_try) 2>&5
25885 ac_status=$?
25886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25887 (exit $ac_status); }; }; then
25888 glibcxx_cv_func___builtin_fabsl_link=yes
25889 else
25890 echo "$as_me: failed program was:" >&5
25891 sed 's/^/| /' conftest.$ac_ext >&5
25893 glibcxx_cv_func___builtin_fabsl_link=no
25895 rm -f conftest.err conftest.$ac_objext \
25896 conftest$ac_exeext conftest.$ac_ext
25901 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
25902 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
25903 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
25904 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25905 cat >>confdefs.h <<_ACEOF
25906 #define ${ac_tr_func} 1
25907 _ACEOF
25913 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
25914 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
25915 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
25916 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
25917 echo $ECHO_N "(cached) $ECHO_C" >&6
25918 else
25922 ac_ext=cc
25923 ac_cpp='$CXXCPP $CPPFLAGS'
25924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25928 cat >conftest.$ac_ext <<_ACEOF
25929 /* confdefs.h. */
25930 _ACEOF
25931 cat confdefs.h >>conftest.$ac_ext
25932 cat >>conftest.$ac_ext <<_ACEOF
25933 /* end confdefs.h. */
25934 #include <math.h>
25936 main ()
25938 __builtin_labs(0);
25940 return 0;
25942 _ACEOF
25943 rm -f conftest.$ac_objext
25944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25945 (eval $ac_compile) 2>conftest.er1
25946 ac_status=$?
25947 grep -v '^ *+' conftest.er1 >conftest.err
25948 rm -f conftest.er1
25949 cat conftest.err >&5
25950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25951 (exit $ac_status); } &&
25952 { ac_try='test -z "$ac_cxx_werror_flag"
25953 || test ! -s conftest.err'
25954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25955 (eval $ac_try) 2>&5
25956 ac_status=$?
25957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25958 (exit $ac_status); }; } &&
25959 { ac_try='test -s conftest.$ac_objext'
25960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25961 (eval $ac_try) 2>&5
25962 ac_status=$?
25963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25964 (exit $ac_status); }; }; then
25965 glibcxx_cv_func___builtin_labs_use=yes
25966 else
25967 echo "$as_me: failed program was:" >&5
25968 sed 's/^/| /' conftest.$ac_ext >&5
25970 glibcxx_cv_func___builtin_labs_use=no
25972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25973 ac_ext=c
25974 ac_cpp='$CPP $CPPFLAGS'
25975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25983 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
25984 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
25985 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
25986 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
25987 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
25988 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
25989 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
25990 echo $ECHO_N "(cached) $ECHO_C" >&6
25991 else
25993 if test x$gcc_no_link = xyes; then
25994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25996 { (exit 1); exit 1; }; }
25998 cat >conftest.$ac_ext <<_ACEOF
25999 /* confdefs.h. */
26000 _ACEOF
26001 cat confdefs.h >>conftest.$ac_ext
26002 cat >>conftest.$ac_ext <<_ACEOF
26003 /* end confdefs.h. */
26004 #include <math.h>
26006 main ()
26008 __builtin_labs(0);
26010 return 0;
26012 _ACEOF
26013 rm -f conftest.$ac_objext conftest$ac_exeext
26014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26015 (eval $ac_link) 2>conftest.er1
26016 ac_status=$?
26017 grep -v '^ *+' conftest.er1 >conftest.err
26018 rm -f conftest.er1
26019 cat conftest.err >&5
26020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26021 (exit $ac_status); } &&
26022 { ac_try='test -z "$ac_c_werror_flag"
26023 || test ! -s conftest.err'
26024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26025 (eval $ac_try) 2>&5
26026 ac_status=$?
26027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028 (exit $ac_status); }; } &&
26029 { ac_try='test -s conftest$ac_exeext'
26030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26031 (eval $ac_try) 2>&5
26032 ac_status=$?
26033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26034 (exit $ac_status); }; }; then
26035 glibcxx_cv_func___builtin_labs_link=yes
26036 else
26037 echo "$as_me: failed program was:" >&5
26038 sed 's/^/| /' conftest.$ac_ext >&5
26040 glibcxx_cv_func___builtin_labs_link=no
26042 rm -f conftest.err conftest.$ac_objext \
26043 conftest$ac_exeext conftest.$ac_ext
26048 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26049 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26050 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26051 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26052 cat >>confdefs.h <<_ACEOF
26053 #define ${ac_tr_func} 1
26054 _ACEOF
26061 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26062 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26063 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26064 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26065 echo $ECHO_N "(cached) $ECHO_C" >&6
26066 else
26070 ac_ext=cc
26071 ac_cpp='$CXXCPP $CPPFLAGS'
26072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26076 cat >conftest.$ac_ext <<_ACEOF
26077 /* confdefs.h. */
26078 _ACEOF
26079 cat confdefs.h >>conftest.$ac_ext
26080 cat >>conftest.$ac_ext <<_ACEOF
26081 /* end confdefs.h. */
26082 #include <math.h>
26084 main ()
26086 __builtin_sqrtf(0);
26088 return 0;
26090 _ACEOF
26091 rm -f conftest.$ac_objext
26092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26093 (eval $ac_compile) 2>conftest.er1
26094 ac_status=$?
26095 grep -v '^ *+' conftest.er1 >conftest.err
26096 rm -f conftest.er1
26097 cat conftest.err >&5
26098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26099 (exit $ac_status); } &&
26100 { ac_try='test -z "$ac_cxx_werror_flag"
26101 || test ! -s conftest.err'
26102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26103 (eval $ac_try) 2>&5
26104 ac_status=$?
26105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26106 (exit $ac_status); }; } &&
26107 { ac_try='test -s conftest.$ac_objext'
26108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26109 (eval $ac_try) 2>&5
26110 ac_status=$?
26111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26112 (exit $ac_status); }; }; then
26113 glibcxx_cv_func___builtin_sqrtf_use=yes
26114 else
26115 echo "$as_me: failed program was:" >&5
26116 sed 's/^/| /' conftest.$ac_ext >&5
26118 glibcxx_cv_func___builtin_sqrtf_use=no
26120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26121 ac_ext=c
26122 ac_cpp='$CPP $CPPFLAGS'
26123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26131 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26132 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26133 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26134 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26135 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26136 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26137 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26138 echo $ECHO_N "(cached) $ECHO_C" >&6
26139 else
26141 if test x$gcc_no_link = xyes; then
26142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26144 { (exit 1); exit 1; }; }
26146 cat >conftest.$ac_ext <<_ACEOF
26147 /* confdefs.h. */
26148 _ACEOF
26149 cat confdefs.h >>conftest.$ac_ext
26150 cat >>conftest.$ac_ext <<_ACEOF
26151 /* end confdefs.h. */
26152 #include <math.h>
26154 main ()
26156 __builtin_sqrtf(0);
26158 return 0;
26160 _ACEOF
26161 rm -f conftest.$ac_objext conftest$ac_exeext
26162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26163 (eval $ac_link) 2>conftest.er1
26164 ac_status=$?
26165 grep -v '^ *+' conftest.er1 >conftest.err
26166 rm -f conftest.er1
26167 cat conftest.err >&5
26168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26169 (exit $ac_status); } &&
26170 { ac_try='test -z "$ac_c_werror_flag"
26171 || test ! -s conftest.err'
26172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26173 (eval $ac_try) 2>&5
26174 ac_status=$?
26175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26176 (exit $ac_status); }; } &&
26177 { ac_try='test -s conftest$ac_exeext'
26178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26179 (eval $ac_try) 2>&5
26180 ac_status=$?
26181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182 (exit $ac_status); }; }; then
26183 glibcxx_cv_func___builtin_sqrtf_link=yes
26184 else
26185 echo "$as_me: failed program was:" >&5
26186 sed 's/^/| /' conftest.$ac_ext >&5
26188 glibcxx_cv_func___builtin_sqrtf_link=no
26190 rm -f conftest.err conftest.$ac_objext \
26191 conftest$ac_exeext conftest.$ac_ext
26196 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26197 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26198 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26199 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26200 cat >>confdefs.h <<_ACEOF
26201 #define ${ac_tr_func} 1
26202 _ACEOF
26208 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26209 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26210 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26211 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26212 echo $ECHO_N "(cached) $ECHO_C" >&6
26213 else
26217 ac_ext=cc
26218 ac_cpp='$CXXCPP $CPPFLAGS'
26219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26223 cat >conftest.$ac_ext <<_ACEOF
26224 /* confdefs.h. */
26225 _ACEOF
26226 cat confdefs.h >>conftest.$ac_ext
26227 cat >>conftest.$ac_ext <<_ACEOF
26228 /* end confdefs.h. */
26229 #include <math.h>
26231 main ()
26233 __builtin_sqrt(0);
26235 return 0;
26237 _ACEOF
26238 rm -f conftest.$ac_objext
26239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26240 (eval $ac_compile) 2>conftest.er1
26241 ac_status=$?
26242 grep -v '^ *+' conftest.er1 >conftest.err
26243 rm -f conftest.er1
26244 cat conftest.err >&5
26245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26246 (exit $ac_status); } &&
26247 { ac_try='test -z "$ac_cxx_werror_flag"
26248 || test ! -s conftest.err'
26249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26250 (eval $ac_try) 2>&5
26251 ac_status=$?
26252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26253 (exit $ac_status); }; } &&
26254 { ac_try='test -s conftest.$ac_objext'
26255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26256 (eval $ac_try) 2>&5
26257 ac_status=$?
26258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26259 (exit $ac_status); }; }; then
26260 glibcxx_cv_func___builtin_sqrt_use=yes
26261 else
26262 echo "$as_me: failed program was:" >&5
26263 sed 's/^/| /' conftest.$ac_ext >&5
26265 glibcxx_cv_func___builtin_sqrt_use=no
26267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26268 ac_ext=c
26269 ac_cpp='$CPP $CPPFLAGS'
26270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26278 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26279 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26280 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26281 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26282 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26283 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26284 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26285 echo $ECHO_N "(cached) $ECHO_C" >&6
26286 else
26288 if test x$gcc_no_link = xyes; then
26289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26291 { (exit 1); exit 1; }; }
26293 cat >conftest.$ac_ext <<_ACEOF
26294 /* confdefs.h. */
26295 _ACEOF
26296 cat confdefs.h >>conftest.$ac_ext
26297 cat >>conftest.$ac_ext <<_ACEOF
26298 /* end confdefs.h. */
26299 #include <math.h>
26301 main ()
26303 __builtin_sqrt(0);
26305 return 0;
26307 _ACEOF
26308 rm -f conftest.$ac_objext conftest$ac_exeext
26309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26310 (eval $ac_link) 2>conftest.er1
26311 ac_status=$?
26312 grep -v '^ *+' conftest.er1 >conftest.err
26313 rm -f conftest.er1
26314 cat conftest.err >&5
26315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26316 (exit $ac_status); } &&
26317 { ac_try='test -z "$ac_c_werror_flag"
26318 || test ! -s conftest.err'
26319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26320 (eval $ac_try) 2>&5
26321 ac_status=$?
26322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26323 (exit $ac_status); }; } &&
26324 { ac_try='test -s conftest$ac_exeext'
26325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26326 (eval $ac_try) 2>&5
26327 ac_status=$?
26328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26329 (exit $ac_status); }; }; then
26330 glibcxx_cv_func___builtin_sqrt_link=yes
26331 else
26332 echo "$as_me: failed program was:" >&5
26333 sed 's/^/| /' conftest.$ac_ext >&5
26335 glibcxx_cv_func___builtin_sqrt_link=no
26337 rm -f conftest.err conftest.$ac_objext \
26338 conftest$ac_exeext conftest.$ac_ext
26343 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26344 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26345 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26346 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26347 cat >>confdefs.h <<_ACEOF
26348 #define ${ac_tr_func} 1
26349 _ACEOF
26355 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26356 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26357 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26358 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26359 echo $ECHO_N "(cached) $ECHO_C" >&6
26360 else
26364 ac_ext=cc
26365 ac_cpp='$CXXCPP $CPPFLAGS'
26366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26370 cat >conftest.$ac_ext <<_ACEOF
26371 /* confdefs.h. */
26372 _ACEOF
26373 cat confdefs.h >>conftest.$ac_ext
26374 cat >>conftest.$ac_ext <<_ACEOF
26375 /* end confdefs.h. */
26376 #include <math.h>
26378 main ()
26380 __builtin_sqrtl(0);
26382 return 0;
26384 _ACEOF
26385 rm -f conftest.$ac_objext
26386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26387 (eval $ac_compile) 2>conftest.er1
26388 ac_status=$?
26389 grep -v '^ *+' conftest.er1 >conftest.err
26390 rm -f conftest.er1
26391 cat conftest.err >&5
26392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26393 (exit $ac_status); } &&
26394 { ac_try='test -z "$ac_cxx_werror_flag"
26395 || test ! -s conftest.err'
26396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26397 (eval $ac_try) 2>&5
26398 ac_status=$?
26399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26400 (exit $ac_status); }; } &&
26401 { ac_try='test -s conftest.$ac_objext'
26402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26403 (eval $ac_try) 2>&5
26404 ac_status=$?
26405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26406 (exit $ac_status); }; }; then
26407 glibcxx_cv_func___builtin_sqrtl_use=yes
26408 else
26409 echo "$as_me: failed program was:" >&5
26410 sed 's/^/| /' conftest.$ac_ext >&5
26412 glibcxx_cv_func___builtin_sqrtl_use=no
26414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26415 ac_ext=c
26416 ac_cpp='$CPP $CPPFLAGS'
26417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26425 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26426 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26427 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26428 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26429 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26430 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26431 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26432 echo $ECHO_N "(cached) $ECHO_C" >&6
26433 else
26435 if test x$gcc_no_link = xyes; then
26436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26438 { (exit 1); exit 1; }; }
26440 cat >conftest.$ac_ext <<_ACEOF
26441 /* confdefs.h. */
26442 _ACEOF
26443 cat confdefs.h >>conftest.$ac_ext
26444 cat >>conftest.$ac_ext <<_ACEOF
26445 /* end confdefs.h. */
26446 #include <math.h>
26448 main ()
26450 __builtin_sqrtl(0);
26452 return 0;
26454 _ACEOF
26455 rm -f conftest.$ac_objext conftest$ac_exeext
26456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26457 (eval $ac_link) 2>conftest.er1
26458 ac_status=$?
26459 grep -v '^ *+' conftest.er1 >conftest.err
26460 rm -f conftest.er1
26461 cat conftest.err >&5
26462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26463 (exit $ac_status); } &&
26464 { ac_try='test -z "$ac_c_werror_flag"
26465 || test ! -s conftest.err'
26466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26467 (eval $ac_try) 2>&5
26468 ac_status=$?
26469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26470 (exit $ac_status); }; } &&
26471 { ac_try='test -s conftest$ac_exeext'
26472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26473 (eval $ac_try) 2>&5
26474 ac_status=$?
26475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26476 (exit $ac_status); }; }; then
26477 glibcxx_cv_func___builtin_sqrtl_link=yes
26478 else
26479 echo "$as_me: failed program was:" >&5
26480 sed 's/^/| /' conftest.$ac_ext >&5
26482 glibcxx_cv_func___builtin_sqrtl_link=no
26484 rm -f conftest.err conftest.$ac_objext \
26485 conftest$ac_exeext conftest.$ac_ext
26490 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26491 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26492 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26493 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26494 cat >>confdefs.h <<_ACEOF
26495 #define ${ac_tr_func} 1
26496 _ACEOF
26503 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26504 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26505 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26506 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26507 echo $ECHO_N "(cached) $ECHO_C" >&6
26508 else
26512 ac_ext=cc
26513 ac_cpp='$CXXCPP $CPPFLAGS'
26514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26518 cat >conftest.$ac_ext <<_ACEOF
26519 /* confdefs.h. */
26520 _ACEOF
26521 cat confdefs.h >>conftest.$ac_ext
26522 cat >>conftest.$ac_ext <<_ACEOF
26523 /* end confdefs.h. */
26524 #include <math.h>
26526 main ()
26528 __builtin_sinf(0);
26530 return 0;
26532 _ACEOF
26533 rm -f conftest.$ac_objext
26534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26535 (eval $ac_compile) 2>conftest.er1
26536 ac_status=$?
26537 grep -v '^ *+' conftest.er1 >conftest.err
26538 rm -f conftest.er1
26539 cat conftest.err >&5
26540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26541 (exit $ac_status); } &&
26542 { ac_try='test -z "$ac_cxx_werror_flag"
26543 || test ! -s conftest.err'
26544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26545 (eval $ac_try) 2>&5
26546 ac_status=$?
26547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26548 (exit $ac_status); }; } &&
26549 { ac_try='test -s conftest.$ac_objext'
26550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26551 (eval $ac_try) 2>&5
26552 ac_status=$?
26553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26554 (exit $ac_status); }; }; then
26555 glibcxx_cv_func___builtin_sinf_use=yes
26556 else
26557 echo "$as_me: failed program was:" >&5
26558 sed 's/^/| /' conftest.$ac_ext >&5
26560 glibcxx_cv_func___builtin_sinf_use=no
26562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26563 ac_ext=c
26564 ac_cpp='$CPP $CPPFLAGS'
26565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26573 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26574 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26575 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26576 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26577 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26578 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26579 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26580 echo $ECHO_N "(cached) $ECHO_C" >&6
26581 else
26583 if test x$gcc_no_link = xyes; then
26584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26586 { (exit 1); exit 1; }; }
26588 cat >conftest.$ac_ext <<_ACEOF
26589 /* confdefs.h. */
26590 _ACEOF
26591 cat confdefs.h >>conftest.$ac_ext
26592 cat >>conftest.$ac_ext <<_ACEOF
26593 /* end confdefs.h. */
26594 #include <math.h>
26596 main ()
26598 __builtin_sinf(0);
26600 return 0;
26602 _ACEOF
26603 rm -f conftest.$ac_objext conftest$ac_exeext
26604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26605 (eval $ac_link) 2>conftest.er1
26606 ac_status=$?
26607 grep -v '^ *+' conftest.er1 >conftest.err
26608 rm -f conftest.er1
26609 cat conftest.err >&5
26610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26611 (exit $ac_status); } &&
26612 { ac_try='test -z "$ac_c_werror_flag"
26613 || test ! -s conftest.err'
26614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26615 (eval $ac_try) 2>&5
26616 ac_status=$?
26617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26618 (exit $ac_status); }; } &&
26619 { ac_try='test -s conftest$ac_exeext'
26620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26621 (eval $ac_try) 2>&5
26622 ac_status=$?
26623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26624 (exit $ac_status); }; }; then
26625 glibcxx_cv_func___builtin_sinf_link=yes
26626 else
26627 echo "$as_me: failed program was:" >&5
26628 sed 's/^/| /' conftest.$ac_ext >&5
26630 glibcxx_cv_func___builtin_sinf_link=no
26632 rm -f conftest.err conftest.$ac_objext \
26633 conftest$ac_exeext conftest.$ac_ext
26638 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
26639 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
26640 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
26641 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26642 cat >>confdefs.h <<_ACEOF
26643 #define ${ac_tr_func} 1
26644 _ACEOF
26650 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
26651 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
26652 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
26653 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
26654 echo $ECHO_N "(cached) $ECHO_C" >&6
26655 else
26659 ac_ext=cc
26660 ac_cpp='$CXXCPP $CPPFLAGS'
26661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26665 cat >conftest.$ac_ext <<_ACEOF
26666 /* confdefs.h. */
26667 _ACEOF
26668 cat confdefs.h >>conftest.$ac_ext
26669 cat >>conftest.$ac_ext <<_ACEOF
26670 /* end confdefs.h. */
26671 #include <math.h>
26673 main ()
26675 __builtin_sin(0);
26677 return 0;
26679 _ACEOF
26680 rm -f conftest.$ac_objext
26681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26682 (eval $ac_compile) 2>conftest.er1
26683 ac_status=$?
26684 grep -v '^ *+' conftest.er1 >conftest.err
26685 rm -f conftest.er1
26686 cat conftest.err >&5
26687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26688 (exit $ac_status); } &&
26689 { ac_try='test -z "$ac_cxx_werror_flag"
26690 || test ! -s conftest.err'
26691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26692 (eval $ac_try) 2>&5
26693 ac_status=$?
26694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26695 (exit $ac_status); }; } &&
26696 { ac_try='test -s conftest.$ac_objext'
26697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26698 (eval $ac_try) 2>&5
26699 ac_status=$?
26700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26701 (exit $ac_status); }; }; then
26702 glibcxx_cv_func___builtin_sin_use=yes
26703 else
26704 echo "$as_me: failed program was:" >&5
26705 sed 's/^/| /' conftest.$ac_ext >&5
26707 glibcxx_cv_func___builtin_sin_use=no
26709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26710 ac_ext=c
26711 ac_cpp='$CPP $CPPFLAGS'
26712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26720 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
26721 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
26722 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
26723 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
26724 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
26725 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
26726 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
26727 echo $ECHO_N "(cached) $ECHO_C" >&6
26728 else
26730 if test x$gcc_no_link = xyes; then
26731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26733 { (exit 1); exit 1; }; }
26735 cat >conftest.$ac_ext <<_ACEOF
26736 /* confdefs.h. */
26737 _ACEOF
26738 cat confdefs.h >>conftest.$ac_ext
26739 cat >>conftest.$ac_ext <<_ACEOF
26740 /* end confdefs.h. */
26741 #include <math.h>
26743 main ()
26745 __builtin_sin(0);
26747 return 0;
26749 _ACEOF
26750 rm -f conftest.$ac_objext conftest$ac_exeext
26751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26752 (eval $ac_link) 2>conftest.er1
26753 ac_status=$?
26754 grep -v '^ *+' conftest.er1 >conftest.err
26755 rm -f conftest.er1
26756 cat conftest.err >&5
26757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26758 (exit $ac_status); } &&
26759 { ac_try='test -z "$ac_c_werror_flag"
26760 || test ! -s conftest.err'
26761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26762 (eval $ac_try) 2>&5
26763 ac_status=$?
26764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26765 (exit $ac_status); }; } &&
26766 { ac_try='test -s conftest$ac_exeext'
26767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26768 (eval $ac_try) 2>&5
26769 ac_status=$?
26770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26771 (exit $ac_status); }; }; then
26772 glibcxx_cv_func___builtin_sin_link=yes
26773 else
26774 echo "$as_me: failed program was:" >&5
26775 sed 's/^/| /' conftest.$ac_ext >&5
26777 glibcxx_cv_func___builtin_sin_link=no
26779 rm -f conftest.err conftest.$ac_objext \
26780 conftest$ac_exeext conftest.$ac_ext
26785 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
26786 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
26787 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
26788 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26789 cat >>confdefs.h <<_ACEOF
26790 #define ${ac_tr_func} 1
26791 _ACEOF
26797 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
26798 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
26799 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
26800 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
26801 echo $ECHO_N "(cached) $ECHO_C" >&6
26802 else
26806 ac_ext=cc
26807 ac_cpp='$CXXCPP $CPPFLAGS'
26808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26812 cat >conftest.$ac_ext <<_ACEOF
26813 /* confdefs.h. */
26814 _ACEOF
26815 cat confdefs.h >>conftest.$ac_ext
26816 cat >>conftest.$ac_ext <<_ACEOF
26817 /* end confdefs.h. */
26818 #include <math.h>
26820 main ()
26822 __builtin_sinl(0);
26824 return 0;
26826 _ACEOF
26827 rm -f conftest.$ac_objext
26828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26829 (eval $ac_compile) 2>conftest.er1
26830 ac_status=$?
26831 grep -v '^ *+' conftest.er1 >conftest.err
26832 rm -f conftest.er1
26833 cat conftest.err >&5
26834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26835 (exit $ac_status); } &&
26836 { ac_try='test -z "$ac_cxx_werror_flag"
26837 || test ! -s conftest.err'
26838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26839 (eval $ac_try) 2>&5
26840 ac_status=$?
26841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26842 (exit $ac_status); }; } &&
26843 { ac_try='test -s conftest.$ac_objext'
26844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26845 (eval $ac_try) 2>&5
26846 ac_status=$?
26847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26848 (exit $ac_status); }; }; then
26849 glibcxx_cv_func___builtin_sinl_use=yes
26850 else
26851 echo "$as_me: failed program was:" >&5
26852 sed 's/^/| /' conftest.$ac_ext >&5
26854 glibcxx_cv_func___builtin_sinl_use=no
26856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26857 ac_ext=c
26858 ac_cpp='$CPP $CPPFLAGS'
26859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26867 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
26868 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
26869 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
26870 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
26871 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
26872 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
26873 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
26874 echo $ECHO_N "(cached) $ECHO_C" >&6
26875 else
26877 if test x$gcc_no_link = xyes; then
26878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26880 { (exit 1); exit 1; }; }
26882 cat >conftest.$ac_ext <<_ACEOF
26883 /* confdefs.h. */
26884 _ACEOF
26885 cat confdefs.h >>conftest.$ac_ext
26886 cat >>conftest.$ac_ext <<_ACEOF
26887 /* end confdefs.h. */
26888 #include <math.h>
26890 main ()
26892 __builtin_sinl(0);
26894 return 0;
26896 _ACEOF
26897 rm -f conftest.$ac_objext conftest$ac_exeext
26898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26899 (eval $ac_link) 2>conftest.er1
26900 ac_status=$?
26901 grep -v '^ *+' conftest.er1 >conftest.err
26902 rm -f conftest.er1
26903 cat conftest.err >&5
26904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26905 (exit $ac_status); } &&
26906 { ac_try='test -z "$ac_c_werror_flag"
26907 || test ! -s conftest.err'
26908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26909 (eval $ac_try) 2>&5
26910 ac_status=$?
26911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26912 (exit $ac_status); }; } &&
26913 { ac_try='test -s conftest$ac_exeext'
26914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26915 (eval $ac_try) 2>&5
26916 ac_status=$?
26917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26918 (exit $ac_status); }; }; then
26919 glibcxx_cv_func___builtin_sinl_link=yes
26920 else
26921 echo "$as_me: failed program was:" >&5
26922 sed 's/^/| /' conftest.$ac_ext >&5
26924 glibcxx_cv_func___builtin_sinl_link=no
26926 rm -f conftest.err conftest.$ac_objext \
26927 conftest$ac_exeext conftest.$ac_ext
26932 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
26933 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
26934 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
26935 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26936 cat >>confdefs.h <<_ACEOF
26937 #define ${ac_tr_func} 1
26938 _ACEOF
26945 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
26946 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
26947 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
26948 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
26949 echo $ECHO_N "(cached) $ECHO_C" >&6
26950 else
26954 ac_ext=cc
26955 ac_cpp='$CXXCPP $CPPFLAGS'
26956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26960 cat >conftest.$ac_ext <<_ACEOF
26961 /* confdefs.h. */
26962 _ACEOF
26963 cat confdefs.h >>conftest.$ac_ext
26964 cat >>conftest.$ac_ext <<_ACEOF
26965 /* end confdefs.h. */
26966 #include <math.h>
26968 main ()
26970 __builtin_cosf(0);
26972 return 0;
26974 _ACEOF
26975 rm -f conftest.$ac_objext
26976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26977 (eval $ac_compile) 2>conftest.er1
26978 ac_status=$?
26979 grep -v '^ *+' conftest.er1 >conftest.err
26980 rm -f conftest.er1
26981 cat conftest.err >&5
26982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26983 (exit $ac_status); } &&
26984 { ac_try='test -z "$ac_cxx_werror_flag"
26985 || test ! -s conftest.err'
26986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26987 (eval $ac_try) 2>&5
26988 ac_status=$?
26989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26990 (exit $ac_status); }; } &&
26991 { ac_try='test -s conftest.$ac_objext'
26992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26993 (eval $ac_try) 2>&5
26994 ac_status=$?
26995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26996 (exit $ac_status); }; }; then
26997 glibcxx_cv_func___builtin_cosf_use=yes
26998 else
26999 echo "$as_me: failed program was:" >&5
27000 sed 's/^/| /' conftest.$ac_ext >&5
27002 glibcxx_cv_func___builtin_cosf_use=no
27004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27005 ac_ext=c
27006 ac_cpp='$CPP $CPPFLAGS'
27007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27015 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27016 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27017 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27018 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27019 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27020 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27021 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27022 echo $ECHO_N "(cached) $ECHO_C" >&6
27023 else
27025 if test x$gcc_no_link = xyes; then
27026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27028 { (exit 1); exit 1; }; }
27030 cat >conftest.$ac_ext <<_ACEOF
27031 /* confdefs.h. */
27032 _ACEOF
27033 cat confdefs.h >>conftest.$ac_ext
27034 cat >>conftest.$ac_ext <<_ACEOF
27035 /* end confdefs.h. */
27036 #include <math.h>
27038 main ()
27040 __builtin_cosf(0);
27042 return 0;
27044 _ACEOF
27045 rm -f conftest.$ac_objext conftest$ac_exeext
27046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27047 (eval $ac_link) 2>conftest.er1
27048 ac_status=$?
27049 grep -v '^ *+' conftest.er1 >conftest.err
27050 rm -f conftest.er1
27051 cat conftest.err >&5
27052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27053 (exit $ac_status); } &&
27054 { ac_try='test -z "$ac_c_werror_flag"
27055 || test ! -s conftest.err'
27056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27057 (eval $ac_try) 2>&5
27058 ac_status=$?
27059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27060 (exit $ac_status); }; } &&
27061 { ac_try='test -s conftest$ac_exeext'
27062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27063 (eval $ac_try) 2>&5
27064 ac_status=$?
27065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27066 (exit $ac_status); }; }; then
27067 glibcxx_cv_func___builtin_cosf_link=yes
27068 else
27069 echo "$as_me: failed program was:" >&5
27070 sed 's/^/| /' conftest.$ac_ext >&5
27072 glibcxx_cv_func___builtin_cosf_link=no
27074 rm -f conftest.err conftest.$ac_objext \
27075 conftest$ac_exeext conftest.$ac_ext
27080 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27081 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27082 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27083 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27084 cat >>confdefs.h <<_ACEOF
27085 #define ${ac_tr_func} 1
27086 _ACEOF
27092 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27093 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27094 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27095 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27096 echo $ECHO_N "(cached) $ECHO_C" >&6
27097 else
27101 ac_ext=cc
27102 ac_cpp='$CXXCPP $CPPFLAGS'
27103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27107 cat >conftest.$ac_ext <<_ACEOF
27108 /* confdefs.h. */
27109 _ACEOF
27110 cat confdefs.h >>conftest.$ac_ext
27111 cat >>conftest.$ac_ext <<_ACEOF
27112 /* end confdefs.h. */
27113 #include <math.h>
27115 main ()
27117 __builtin_cos(0);
27119 return 0;
27121 _ACEOF
27122 rm -f conftest.$ac_objext
27123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27124 (eval $ac_compile) 2>conftest.er1
27125 ac_status=$?
27126 grep -v '^ *+' conftest.er1 >conftest.err
27127 rm -f conftest.er1
27128 cat conftest.err >&5
27129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27130 (exit $ac_status); } &&
27131 { ac_try='test -z "$ac_cxx_werror_flag"
27132 || test ! -s conftest.err'
27133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27134 (eval $ac_try) 2>&5
27135 ac_status=$?
27136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27137 (exit $ac_status); }; } &&
27138 { ac_try='test -s conftest.$ac_objext'
27139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27140 (eval $ac_try) 2>&5
27141 ac_status=$?
27142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27143 (exit $ac_status); }; }; then
27144 glibcxx_cv_func___builtin_cos_use=yes
27145 else
27146 echo "$as_me: failed program was:" >&5
27147 sed 's/^/| /' conftest.$ac_ext >&5
27149 glibcxx_cv_func___builtin_cos_use=no
27151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27152 ac_ext=c
27153 ac_cpp='$CPP $CPPFLAGS'
27154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27162 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27163 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27164 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27165 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27166 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27167 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27168 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27169 echo $ECHO_N "(cached) $ECHO_C" >&6
27170 else
27172 if test x$gcc_no_link = xyes; then
27173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27175 { (exit 1); exit 1; }; }
27177 cat >conftest.$ac_ext <<_ACEOF
27178 /* confdefs.h. */
27179 _ACEOF
27180 cat confdefs.h >>conftest.$ac_ext
27181 cat >>conftest.$ac_ext <<_ACEOF
27182 /* end confdefs.h. */
27183 #include <math.h>
27185 main ()
27187 __builtin_cos(0);
27189 return 0;
27191 _ACEOF
27192 rm -f conftest.$ac_objext conftest$ac_exeext
27193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27194 (eval $ac_link) 2>conftest.er1
27195 ac_status=$?
27196 grep -v '^ *+' conftest.er1 >conftest.err
27197 rm -f conftest.er1
27198 cat conftest.err >&5
27199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27200 (exit $ac_status); } &&
27201 { ac_try='test -z "$ac_c_werror_flag"
27202 || test ! -s conftest.err'
27203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27204 (eval $ac_try) 2>&5
27205 ac_status=$?
27206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27207 (exit $ac_status); }; } &&
27208 { ac_try='test -s conftest$ac_exeext'
27209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27210 (eval $ac_try) 2>&5
27211 ac_status=$?
27212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27213 (exit $ac_status); }; }; then
27214 glibcxx_cv_func___builtin_cos_link=yes
27215 else
27216 echo "$as_me: failed program was:" >&5
27217 sed 's/^/| /' conftest.$ac_ext >&5
27219 glibcxx_cv_func___builtin_cos_link=no
27221 rm -f conftest.err conftest.$ac_objext \
27222 conftest$ac_exeext conftest.$ac_ext
27227 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27228 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27229 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27230 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27231 cat >>confdefs.h <<_ACEOF
27232 #define ${ac_tr_func} 1
27233 _ACEOF
27239 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27240 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27241 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27242 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27243 echo $ECHO_N "(cached) $ECHO_C" >&6
27244 else
27248 ac_ext=cc
27249 ac_cpp='$CXXCPP $CPPFLAGS'
27250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27254 cat >conftest.$ac_ext <<_ACEOF
27255 /* confdefs.h. */
27256 _ACEOF
27257 cat confdefs.h >>conftest.$ac_ext
27258 cat >>conftest.$ac_ext <<_ACEOF
27259 /* end confdefs.h. */
27260 #include <math.h>
27262 main ()
27264 __builtin_cosl(0);
27266 return 0;
27268 _ACEOF
27269 rm -f conftest.$ac_objext
27270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27271 (eval $ac_compile) 2>conftest.er1
27272 ac_status=$?
27273 grep -v '^ *+' conftest.er1 >conftest.err
27274 rm -f conftest.er1
27275 cat conftest.err >&5
27276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27277 (exit $ac_status); } &&
27278 { ac_try='test -z "$ac_cxx_werror_flag"
27279 || test ! -s conftest.err'
27280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27281 (eval $ac_try) 2>&5
27282 ac_status=$?
27283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27284 (exit $ac_status); }; } &&
27285 { ac_try='test -s conftest.$ac_objext'
27286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27287 (eval $ac_try) 2>&5
27288 ac_status=$?
27289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27290 (exit $ac_status); }; }; then
27291 glibcxx_cv_func___builtin_cosl_use=yes
27292 else
27293 echo "$as_me: failed program was:" >&5
27294 sed 's/^/| /' conftest.$ac_ext >&5
27296 glibcxx_cv_func___builtin_cosl_use=no
27298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27299 ac_ext=c
27300 ac_cpp='$CPP $CPPFLAGS'
27301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27309 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27310 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27311 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27312 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27313 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27314 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27315 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27316 echo $ECHO_N "(cached) $ECHO_C" >&6
27317 else
27319 if test x$gcc_no_link = xyes; then
27320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27322 { (exit 1); exit 1; }; }
27324 cat >conftest.$ac_ext <<_ACEOF
27325 /* confdefs.h. */
27326 _ACEOF
27327 cat confdefs.h >>conftest.$ac_ext
27328 cat >>conftest.$ac_ext <<_ACEOF
27329 /* end confdefs.h. */
27330 #include <math.h>
27332 main ()
27334 __builtin_cosl(0);
27336 return 0;
27338 _ACEOF
27339 rm -f conftest.$ac_objext conftest$ac_exeext
27340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27341 (eval $ac_link) 2>conftest.er1
27342 ac_status=$?
27343 grep -v '^ *+' conftest.er1 >conftest.err
27344 rm -f conftest.er1
27345 cat conftest.err >&5
27346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27347 (exit $ac_status); } &&
27348 { ac_try='test -z "$ac_c_werror_flag"
27349 || test ! -s conftest.err'
27350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27351 (eval $ac_try) 2>&5
27352 ac_status=$?
27353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27354 (exit $ac_status); }; } &&
27355 { ac_try='test -s conftest$ac_exeext'
27356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27357 (eval $ac_try) 2>&5
27358 ac_status=$?
27359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27360 (exit $ac_status); }; }; then
27361 glibcxx_cv_func___builtin_cosl_link=yes
27362 else
27363 echo "$as_me: failed program was:" >&5
27364 sed 's/^/| /' conftest.$ac_ext >&5
27366 glibcxx_cv_func___builtin_cosl_link=no
27368 rm -f conftest.err conftest.$ac_objext \
27369 conftest$ac_exeext conftest.$ac_ext
27374 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27375 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27376 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27377 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27378 cat >>confdefs.h <<_ACEOF
27379 #define ${ac_tr_func} 1
27380 _ACEOF
27386 dummyvar=no
27387 if test x$dummyvar = x"yes"; then
27388 cat >>confdefs.h <<\_ACEOF
27389 #define HAVE___BUILTIN_ABS 1
27390 _ACEOF
27392 cat >>confdefs.h <<\_ACEOF
27393 #define HAVE___BUILTIN_LABS 1
27394 _ACEOF
27396 cat >>confdefs.h <<\_ACEOF
27397 #define HAVE___BUILTIN_COS 1
27398 _ACEOF
27400 cat >>confdefs.h <<\_ACEOF
27401 #define HAVE___BUILTIN_COSF 1
27402 _ACEOF
27404 cat >>confdefs.h <<\_ACEOF
27405 #define HAVE___BUILTIN_COSL 1
27406 _ACEOF
27408 cat >>confdefs.h <<\_ACEOF
27409 #define HAVE___BUILTIN_FABS 1
27410 _ACEOF
27412 cat >>confdefs.h <<\_ACEOF
27413 #define HAVE___BUILTIN_FABSF 1
27414 _ACEOF
27416 cat >>confdefs.h <<\_ACEOF
27417 #define HAVE___BUILTIN_FABSL 1
27418 _ACEOF
27420 cat >>confdefs.h <<\_ACEOF
27421 #define HAVE___BUILTIN_SIN 1
27422 _ACEOF
27424 cat >>confdefs.h <<\_ACEOF
27425 #define HAVE___BUILTIN_SINF 1
27426 _ACEOF
27428 cat >>confdefs.h <<\_ACEOF
27429 #define HAVE___BUILTIN_SINL 1
27430 _ACEOF
27432 cat >>confdefs.h <<\_ACEOF
27433 #define HAVE___BUILTIN_SQRT 1
27434 _ACEOF
27436 cat >>confdefs.h <<\_ACEOF
27437 #define HAVE___BUILTIN_SQRTF 1
27438 _ACEOF
27440 cat >>confdefs.h <<\_ACEOF
27441 #define HAVE___BUILTIN_SQRTL 1
27442 _ACEOF
27448 echo "$as_me:$LINENO: checking for main in -lm" >&5
27449 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27450 if test "${ac_cv_lib_m_main+set}" = set; then
27451 echo $ECHO_N "(cached) $ECHO_C" >&6
27452 else
27453 ac_check_lib_save_LIBS=$LIBS
27454 LIBS="-lm $LIBS"
27455 if test x$gcc_no_link = xyes; then
27456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27458 { (exit 1); exit 1; }; }
27460 cat >conftest.$ac_ext <<_ACEOF
27461 /* confdefs.h. */
27462 _ACEOF
27463 cat confdefs.h >>conftest.$ac_ext
27464 cat >>conftest.$ac_ext <<_ACEOF
27465 /* end confdefs.h. */
27469 main ()
27471 main ();
27473 return 0;
27475 _ACEOF
27476 rm -f conftest.$ac_objext conftest$ac_exeext
27477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27478 (eval $ac_link) 2>conftest.er1
27479 ac_status=$?
27480 grep -v '^ *+' conftest.er1 >conftest.err
27481 rm -f conftest.er1
27482 cat conftest.err >&5
27483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27484 (exit $ac_status); } &&
27485 { ac_try='test -z "$ac_c_werror_flag"
27486 || test ! -s conftest.err'
27487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27488 (eval $ac_try) 2>&5
27489 ac_status=$?
27490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27491 (exit $ac_status); }; } &&
27492 { ac_try='test -s conftest$ac_exeext'
27493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27494 (eval $ac_try) 2>&5
27495 ac_status=$?
27496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27497 (exit $ac_status); }; }; then
27498 ac_cv_lib_m_main=yes
27499 else
27500 echo "$as_me: failed program was:" >&5
27501 sed 's/^/| /' conftest.$ac_ext >&5
27503 ac_cv_lib_m_main=no
27505 rm -f conftest.err conftest.$ac_objext \
27506 conftest$ac_exeext conftest.$ac_ext
27507 LIBS=$ac_check_lib_save_LIBS
27509 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27510 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27511 if test $ac_cv_lib_m_main = yes; then
27512 cat >>confdefs.h <<_ACEOF
27513 #define HAVE_LIBM 1
27514 _ACEOF
27516 LIBS="-lm $LIBS"
27521 for ac_func in copysignf
27523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27524 echo "$as_me:$LINENO: checking for $ac_func" >&5
27525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27526 if eval "test \"\${$as_ac_var+set}\" = set"; then
27527 echo $ECHO_N "(cached) $ECHO_C" >&6
27528 else
27529 if test x$gcc_no_link = xyes; then
27530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27532 { (exit 1); exit 1; }; }
27534 cat >conftest.$ac_ext <<_ACEOF
27535 /* confdefs.h. */
27536 _ACEOF
27537 cat confdefs.h >>conftest.$ac_ext
27538 cat >>conftest.$ac_ext <<_ACEOF
27539 /* end confdefs.h. */
27540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27542 #define $ac_func innocuous_$ac_func
27544 /* System header to define __stub macros and hopefully few prototypes,
27545 which can conflict with char $ac_func (); below.
27546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27547 <limits.h> exists even on freestanding compilers. */
27549 #ifdef __STDC__
27550 # include <limits.h>
27551 #else
27552 # include <assert.h>
27553 #endif
27555 #undef $ac_func
27557 /* Override any gcc2 internal prototype to avoid an error. */
27558 #ifdef __cplusplus
27559 extern "C"
27561 #endif
27562 /* We use char because int might match the return type of a gcc2
27563 builtin and then its argument prototype would still apply. */
27564 char $ac_func ();
27565 /* The GNU C library defines this for functions which it implements
27566 to always fail with ENOSYS. Some functions are actually named
27567 something starting with __ and the normal name is an alias. */
27568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27569 choke me
27570 #else
27571 char (*f) () = $ac_func;
27572 #endif
27573 #ifdef __cplusplus
27575 #endif
27578 main ()
27580 return f != $ac_func;
27582 return 0;
27584 _ACEOF
27585 rm -f conftest.$ac_objext conftest$ac_exeext
27586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27587 (eval $ac_link) 2>conftest.er1
27588 ac_status=$?
27589 grep -v '^ *+' conftest.er1 >conftest.err
27590 rm -f conftest.er1
27591 cat conftest.err >&5
27592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27593 (exit $ac_status); } &&
27594 { ac_try='test -z "$ac_c_werror_flag"
27595 || test ! -s conftest.err'
27596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27597 (eval $ac_try) 2>&5
27598 ac_status=$?
27599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27600 (exit $ac_status); }; } &&
27601 { ac_try='test -s conftest$ac_exeext'
27602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27603 (eval $ac_try) 2>&5
27604 ac_status=$?
27605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27606 (exit $ac_status); }; }; then
27607 eval "$as_ac_var=yes"
27608 else
27609 echo "$as_me: failed program was:" >&5
27610 sed 's/^/| /' conftest.$ac_ext >&5
27612 eval "$as_ac_var=no"
27614 rm -f conftest.err conftest.$ac_objext \
27615 conftest$ac_exeext conftest.$ac_ext
27617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27619 if test `eval echo '${'$as_ac_var'}'` = yes; then
27620 cat >>confdefs.h <<_ACEOF
27621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27622 _ACEOF
27624 else
27625 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27627 done
27631 for ac_func in __signbit
27633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27634 echo "$as_me:$LINENO: checking for $ac_func" >&5
27635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27636 if eval "test \"\${$as_ac_var+set}\" = set"; then
27637 echo $ECHO_N "(cached) $ECHO_C" >&6
27638 else
27639 if test x$gcc_no_link = xyes; then
27640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27642 { (exit 1); exit 1; }; }
27644 cat >conftest.$ac_ext <<_ACEOF
27645 /* confdefs.h. */
27646 _ACEOF
27647 cat confdefs.h >>conftest.$ac_ext
27648 cat >>conftest.$ac_ext <<_ACEOF
27649 /* end confdefs.h. */
27650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27652 #define $ac_func innocuous_$ac_func
27654 /* System header to define __stub macros and hopefully few prototypes,
27655 which can conflict with char $ac_func (); below.
27656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27657 <limits.h> exists even on freestanding compilers. */
27659 #ifdef __STDC__
27660 # include <limits.h>
27661 #else
27662 # include <assert.h>
27663 #endif
27665 #undef $ac_func
27667 /* Override any gcc2 internal prototype to avoid an error. */
27668 #ifdef __cplusplus
27669 extern "C"
27671 #endif
27672 /* We use char because int might match the return type of a gcc2
27673 builtin and then its argument prototype would still apply. */
27674 char $ac_func ();
27675 /* The GNU C library defines this for functions which it implements
27676 to always fail with ENOSYS. Some functions are actually named
27677 something starting with __ and the normal name is an alias. */
27678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27679 choke me
27680 #else
27681 char (*f) () = $ac_func;
27682 #endif
27683 #ifdef __cplusplus
27685 #endif
27688 main ()
27690 return f != $ac_func;
27692 return 0;
27694 _ACEOF
27695 rm -f conftest.$ac_objext conftest$ac_exeext
27696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27697 (eval $ac_link) 2>conftest.er1
27698 ac_status=$?
27699 grep -v '^ *+' conftest.er1 >conftest.err
27700 rm -f conftest.er1
27701 cat conftest.err >&5
27702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27703 (exit $ac_status); } &&
27704 { ac_try='test -z "$ac_c_werror_flag"
27705 || test ! -s conftest.err'
27706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27707 (eval $ac_try) 2>&5
27708 ac_status=$?
27709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27710 (exit $ac_status); }; } &&
27711 { ac_try='test -s conftest$ac_exeext'
27712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27713 (eval $ac_try) 2>&5
27714 ac_status=$?
27715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27716 (exit $ac_status); }; }; then
27717 eval "$as_ac_var=yes"
27718 else
27719 echo "$as_me: failed program was:" >&5
27720 sed 's/^/| /' conftest.$ac_ext >&5
27722 eval "$as_ac_var=no"
27724 rm -f conftest.err conftest.$ac_objext \
27725 conftest$ac_exeext conftest.$ac_ext
27727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27729 if test `eval echo '${'$as_ac_var'}'` = yes; then
27730 cat >>confdefs.h <<_ACEOF
27731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27732 _ACEOF
27734 else
27735 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
27737 done
27740 for ac_func in __signbitf
27742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27743 echo "$as_me:$LINENO: checking for $ac_func" >&5
27744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27745 if eval "test \"\${$as_ac_var+set}\" = set"; then
27746 echo $ECHO_N "(cached) $ECHO_C" >&6
27747 else
27748 if test x$gcc_no_link = xyes; then
27749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27751 { (exit 1); exit 1; }; }
27753 cat >conftest.$ac_ext <<_ACEOF
27754 /* confdefs.h. */
27755 _ACEOF
27756 cat confdefs.h >>conftest.$ac_ext
27757 cat >>conftest.$ac_ext <<_ACEOF
27758 /* end confdefs.h. */
27759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27761 #define $ac_func innocuous_$ac_func
27763 /* System header to define __stub macros and hopefully few prototypes,
27764 which can conflict with char $ac_func (); below.
27765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27766 <limits.h> exists even on freestanding compilers. */
27768 #ifdef __STDC__
27769 # include <limits.h>
27770 #else
27771 # include <assert.h>
27772 #endif
27774 #undef $ac_func
27776 /* Override any gcc2 internal prototype to avoid an error. */
27777 #ifdef __cplusplus
27778 extern "C"
27780 #endif
27781 /* We use char because int might match the return type of a gcc2
27782 builtin and then its argument prototype would still apply. */
27783 char $ac_func ();
27784 /* The GNU C library defines this for functions which it implements
27785 to always fail with ENOSYS. Some functions are actually named
27786 something starting with __ and the normal name is an alias. */
27787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27788 choke me
27789 #else
27790 char (*f) () = $ac_func;
27791 #endif
27792 #ifdef __cplusplus
27794 #endif
27797 main ()
27799 return f != $ac_func;
27801 return 0;
27803 _ACEOF
27804 rm -f conftest.$ac_objext conftest$ac_exeext
27805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27806 (eval $ac_link) 2>conftest.er1
27807 ac_status=$?
27808 grep -v '^ *+' conftest.er1 >conftest.err
27809 rm -f conftest.er1
27810 cat conftest.err >&5
27811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27812 (exit $ac_status); } &&
27813 { ac_try='test -z "$ac_c_werror_flag"
27814 || test ! -s conftest.err'
27815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27816 (eval $ac_try) 2>&5
27817 ac_status=$?
27818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27819 (exit $ac_status); }; } &&
27820 { ac_try='test -s conftest$ac_exeext'
27821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27822 (eval $ac_try) 2>&5
27823 ac_status=$?
27824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27825 (exit $ac_status); }; }; then
27826 eval "$as_ac_var=yes"
27827 else
27828 echo "$as_me: failed program was:" >&5
27829 sed 's/^/| /' conftest.$ac_ext >&5
27831 eval "$as_ac_var=no"
27833 rm -f conftest.err conftest.$ac_objext \
27834 conftest$ac_exeext conftest.$ac_ext
27836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27838 if test `eval echo '${'$as_ac_var'}'` = yes; then
27839 cat >>confdefs.h <<_ACEOF
27840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27841 _ACEOF
27843 else
27844 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
27846 done
27849 if test x$ac_cv_func_copysignl = x"yes"; then
27851 for ac_func in __signbitl
27853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27854 echo "$as_me:$LINENO: checking for $ac_func" >&5
27855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27856 if eval "test \"\${$as_ac_var+set}\" = set"; then
27857 echo $ECHO_N "(cached) $ECHO_C" >&6
27858 else
27859 if test x$gcc_no_link = xyes; then
27860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27862 { (exit 1); exit 1; }; }
27864 cat >conftest.$ac_ext <<_ACEOF
27865 /* confdefs.h. */
27866 _ACEOF
27867 cat confdefs.h >>conftest.$ac_ext
27868 cat >>conftest.$ac_ext <<_ACEOF
27869 /* end confdefs.h. */
27870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27872 #define $ac_func innocuous_$ac_func
27874 /* System header to define __stub macros and hopefully few prototypes,
27875 which can conflict with char $ac_func (); below.
27876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27877 <limits.h> exists even on freestanding compilers. */
27879 #ifdef __STDC__
27880 # include <limits.h>
27881 #else
27882 # include <assert.h>
27883 #endif
27885 #undef $ac_func
27887 /* Override any gcc2 internal prototype to avoid an error. */
27888 #ifdef __cplusplus
27889 extern "C"
27891 #endif
27892 /* We use char because int might match the return type of a gcc2
27893 builtin and then its argument prototype would still apply. */
27894 char $ac_func ();
27895 /* The GNU C library defines this for functions which it implements
27896 to always fail with ENOSYS. Some functions are actually named
27897 something starting with __ and the normal name is an alias. */
27898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27899 choke me
27900 #else
27901 char (*f) () = $ac_func;
27902 #endif
27903 #ifdef __cplusplus
27905 #endif
27908 main ()
27910 return f != $ac_func;
27912 return 0;
27914 _ACEOF
27915 rm -f conftest.$ac_objext conftest$ac_exeext
27916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27917 (eval $ac_link) 2>conftest.er1
27918 ac_status=$?
27919 grep -v '^ *+' conftest.er1 >conftest.err
27920 rm -f conftest.er1
27921 cat conftest.err >&5
27922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27923 (exit $ac_status); } &&
27924 { ac_try='test -z "$ac_c_werror_flag"
27925 || test ! -s conftest.err'
27926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27927 (eval $ac_try) 2>&5
27928 ac_status=$?
27929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27930 (exit $ac_status); }; } &&
27931 { ac_try='test -s conftest$ac_exeext'
27932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27933 (eval $ac_try) 2>&5
27934 ac_status=$?
27935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27936 (exit $ac_status); }; }; then
27937 eval "$as_ac_var=yes"
27938 else
27939 echo "$as_me: failed program was:" >&5
27940 sed 's/^/| /' conftest.$ac_ext >&5
27942 eval "$as_ac_var=no"
27944 rm -f conftest.err conftest.$ac_objext \
27945 conftest$ac_exeext conftest.$ac_ext
27947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27949 if test `eval echo '${'$as_ac_var'}'` = yes; then
27950 cat >>confdefs.h <<_ACEOF
27951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27952 _ACEOF
27954 else
27955 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
27957 done
27961 # XXX Review this. Nothing uses it.
27962 if test -n "$LIBMATHOBJS"; then
27963 need_libmath=yes
27968 # Test wchar.h for mbstate_t, which is needed for char_traits and
27969 # others even if wchar_t support is not on.
27970 echo "$as_me:$LINENO: checking for mbstate_t" >&5
27971 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
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 <wchar.h>
27980 main ()
27982 mbstate_t teststate;
27984 return 0;
27986 _ACEOF
27987 rm -f conftest.$ac_objext
27988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27989 (eval $ac_compile) 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_objext'
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 have_mbstate_t=yes
28010 else
28011 echo "$as_me: failed program was:" >&5
28012 sed 's/^/| /' conftest.$ac_ext >&5
28014 have_mbstate_t=no
28016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28017 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
28018 echo "${ECHO_T}$have_mbstate_t" >&6
28019 if test x"$have_mbstate_t" = xyes; then
28020 cat >>confdefs.h <<\_ACEOF
28021 #define HAVE_MBSTATE_T 1
28022 _ACEOF
28026 # Sanity check for existence of ISO C99 headers for extended encoding.
28028 for ac_header in wchar.h
28030 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28032 echo "$as_me:$LINENO: checking for $ac_header" >&5
28033 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28035 echo $ECHO_N "(cached) $ECHO_C" >&6
28037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28039 else
28040 # Is the header compilable?
28041 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28042 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28043 cat >conftest.$ac_ext <<_ACEOF
28044 /* confdefs.h. */
28045 _ACEOF
28046 cat confdefs.h >>conftest.$ac_ext
28047 cat >>conftest.$ac_ext <<_ACEOF
28048 /* end confdefs.h. */
28049 $ac_includes_default
28050 #include <$ac_header>
28051 _ACEOF
28052 rm -f conftest.$ac_objext
28053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28054 (eval $ac_compile) 2>conftest.er1
28055 ac_status=$?
28056 grep -v '^ *+' conftest.er1 >conftest.err
28057 rm -f conftest.er1
28058 cat conftest.err >&5
28059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28060 (exit $ac_status); } &&
28061 { ac_try='test -z "$ac_c_werror_flag"
28062 || test ! -s conftest.err'
28063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28064 (eval $ac_try) 2>&5
28065 ac_status=$?
28066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28067 (exit $ac_status); }; } &&
28068 { ac_try='test -s conftest.$ac_objext'
28069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28070 (eval $ac_try) 2>&5
28071 ac_status=$?
28072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28073 (exit $ac_status); }; }; then
28074 ac_header_compiler=yes
28075 else
28076 echo "$as_me: failed program was:" >&5
28077 sed 's/^/| /' conftest.$ac_ext >&5
28079 ac_header_compiler=no
28081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28082 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28083 echo "${ECHO_T}$ac_header_compiler" >&6
28085 # Is the header present?
28086 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28087 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28088 cat >conftest.$ac_ext <<_ACEOF
28089 /* confdefs.h. */
28090 _ACEOF
28091 cat confdefs.h >>conftest.$ac_ext
28092 cat >>conftest.$ac_ext <<_ACEOF
28093 /* end confdefs.h. */
28094 #include <$ac_header>
28095 _ACEOF
28096 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28097 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28098 ac_status=$?
28099 grep -v '^ *+' conftest.er1 >conftest.err
28100 rm -f conftest.er1
28101 cat conftest.err >&5
28102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28103 (exit $ac_status); } >/dev/null; then
28104 if test -s conftest.err; then
28105 ac_cpp_err=$ac_c_preproc_warn_flag
28106 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28107 else
28108 ac_cpp_err=
28110 else
28111 ac_cpp_err=yes
28113 if test -z "$ac_cpp_err"; then
28114 ac_header_preproc=yes
28115 else
28116 echo "$as_me: failed program was:" >&5
28117 sed 's/^/| /' conftest.$ac_ext >&5
28119 ac_header_preproc=no
28121 rm -f conftest.err conftest.$ac_ext
28122 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28123 echo "${ECHO_T}$ac_header_preproc" >&6
28125 # So? What about this header?
28126 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28127 yes:no: )
28128 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28129 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28130 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28131 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28132 ac_header_preproc=yes
28134 no:yes:* )
28135 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28136 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28137 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28138 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28139 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28140 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28141 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28142 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28143 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28144 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28145 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28146 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28148 cat <<\_ASBOX
28149 ## ----------------------------------------- ##
28150 ## Report this to the package-unused lists. ##
28151 ## ----------------------------------------- ##
28152 _ASBOX
28154 sed "s/^/$as_me: WARNING: /" >&2
28156 esac
28157 echo "$as_me:$LINENO: checking for $ac_header" >&5
28158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28160 echo $ECHO_N "(cached) $ECHO_C" >&6
28161 else
28162 eval "$as_ac_Header=\$ac_header_preproc"
28164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28165 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28168 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28169 cat >>confdefs.h <<_ACEOF
28170 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28171 _ACEOF
28172 ac_has_wchar_h=yes
28173 else
28174 ac_has_wchar_h=no
28177 done
28180 for ac_header in wctype.h
28182 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28184 echo "$as_me:$LINENO: checking for $ac_header" >&5
28185 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28186 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28187 echo $ECHO_N "(cached) $ECHO_C" >&6
28189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28190 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28191 else
28192 # Is the header compilable?
28193 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28194 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28195 cat >conftest.$ac_ext <<_ACEOF
28196 /* confdefs.h. */
28197 _ACEOF
28198 cat confdefs.h >>conftest.$ac_ext
28199 cat >>conftest.$ac_ext <<_ACEOF
28200 /* end confdefs.h. */
28201 $ac_includes_default
28202 #include <$ac_header>
28203 _ACEOF
28204 rm -f conftest.$ac_objext
28205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28206 (eval $ac_compile) 2>conftest.er1
28207 ac_status=$?
28208 grep -v '^ *+' conftest.er1 >conftest.err
28209 rm -f conftest.er1
28210 cat conftest.err >&5
28211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28212 (exit $ac_status); } &&
28213 { ac_try='test -z "$ac_c_werror_flag"
28214 || test ! -s conftest.err'
28215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28216 (eval $ac_try) 2>&5
28217 ac_status=$?
28218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28219 (exit $ac_status); }; } &&
28220 { ac_try='test -s conftest.$ac_objext'
28221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28222 (eval $ac_try) 2>&5
28223 ac_status=$?
28224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28225 (exit $ac_status); }; }; then
28226 ac_header_compiler=yes
28227 else
28228 echo "$as_me: failed program was:" >&5
28229 sed 's/^/| /' conftest.$ac_ext >&5
28231 ac_header_compiler=no
28233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28234 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28235 echo "${ECHO_T}$ac_header_compiler" >&6
28237 # Is the header present?
28238 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28239 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28240 cat >conftest.$ac_ext <<_ACEOF
28241 /* confdefs.h. */
28242 _ACEOF
28243 cat confdefs.h >>conftest.$ac_ext
28244 cat >>conftest.$ac_ext <<_ACEOF
28245 /* end confdefs.h. */
28246 #include <$ac_header>
28247 _ACEOF
28248 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28249 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28250 ac_status=$?
28251 grep -v '^ *+' conftest.er1 >conftest.err
28252 rm -f conftest.er1
28253 cat conftest.err >&5
28254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28255 (exit $ac_status); } >/dev/null; then
28256 if test -s conftest.err; then
28257 ac_cpp_err=$ac_c_preproc_warn_flag
28258 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28259 else
28260 ac_cpp_err=
28262 else
28263 ac_cpp_err=yes
28265 if test -z "$ac_cpp_err"; then
28266 ac_header_preproc=yes
28267 else
28268 echo "$as_me: failed program was:" >&5
28269 sed 's/^/| /' conftest.$ac_ext >&5
28271 ac_header_preproc=no
28273 rm -f conftest.err conftest.$ac_ext
28274 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28275 echo "${ECHO_T}$ac_header_preproc" >&6
28277 # So? What about this header?
28278 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28279 yes:no: )
28280 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28281 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28282 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28283 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28284 ac_header_preproc=yes
28286 no:yes:* )
28287 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28288 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28289 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28290 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28291 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28292 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28293 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28294 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28295 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28296 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28297 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28298 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28300 cat <<\_ASBOX
28301 ## ----------------------------------------- ##
28302 ## Report this to the package-unused lists. ##
28303 ## ----------------------------------------- ##
28304 _ASBOX
28306 sed "s/^/$as_me: WARNING: /" >&2
28308 esac
28309 echo "$as_me:$LINENO: checking for $ac_header" >&5
28310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28312 echo $ECHO_N "(cached) $ECHO_C" >&6
28313 else
28314 eval "$as_ac_Header=\$ac_header_preproc"
28316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28321 cat >>confdefs.h <<_ACEOF
28322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28323 _ACEOF
28324 ac_has_wctype_h=yes
28325 else
28326 ac_has_wctype_h=no
28329 done
28332 # Only continue checking if the ISO C99 headers exist and support is on.
28333 if test x"$ac_has_wchar_h" = xyes &&
28334 test x"$ac_has_wctype_h" = xyes &&
28335 test x"$enable_c_mbchar" != xno; then
28337 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
28338 # numeric_limits can instantiate type_traits<wchar_t>
28339 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
28340 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
28341 cat >conftest.$ac_ext <<_ACEOF
28342 /* confdefs.h. */
28343 _ACEOF
28344 cat confdefs.h >>conftest.$ac_ext
28345 cat >>conftest.$ac_ext <<_ACEOF
28346 /* end confdefs.h. */
28347 #include <wchar.h>
28349 main ()
28351 int i = WCHAR_MIN; int j = WCHAR_MAX;
28353 return 0;
28355 _ACEOF
28356 rm -f conftest.$ac_objext
28357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28358 (eval $ac_compile) 2>conftest.er1
28359 ac_status=$?
28360 grep -v '^ *+' conftest.er1 >conftest.err
28361 rm -f conftest.er1
28362 cat conftest.err >&5
28363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28364 (exit $ac_status); } &&
28365 { ac_try='test -z "$ac_c_werror_flag"
28366 || test ! -s conftest.err'
28367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28368 (eval $ac_try) 2>&5
28369 ac_status=$?
28370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28371 (exit $ac_status); }; } &&
28372 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
28378 has_wchar_minmax=yes
28379 else
28380 echo "$as_me: failed program was:" >&5
28381 sed 's/^/| /' conftest.$ac_ext >&5
28383 has_wchar_minmax=no
28385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28386 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
28387 echo "${ECHO_T}$has_wchar_minmax" >&6
28389 # Test wchar.h for WEOF, which is what we use to determine whether
28390 # to specialize for char_traits<wchar_t> or not.
28391 echo "$as_me:$LINENO: checking for WEOF" >&5
28392 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
28393 cat >conftest.$ac_ext <<_ACEOF
28394 /* confdefs.h. */
28395 _ACEOF
28396 cat confdefs.h >>conftest.$ac_ext
28397 cat >>conftest.$ac_ext <<_ACEOF
28398 /* end confdefs.h. */
28400 #include <wchar.h>
28401 #include <stddef.h>
28403 main ()
28405 wint_t i = WEOF;
28407 return 0;
28409 _ACEOF
28410 rm -f conftest.$ac_objext
28411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28412 (eval $ac_compile) 2>conftest.er1
28413 ac_status=$?
28414 grep -v '^ *+' conftest.er1 >conftest.err
28415 rm -f conftest.er1
28416 cat conftest.err >&5
28417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28418 (exit $ac_status); } &&
28419 { ac_try='test -z "$ac_c_werror_flag"
28420 || test ! -s conftest.err'
28421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28422 (eval $ac_try) 2>&5
28423 ac_status=$?
28424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28425 (exit $ac_status); }; } &&
28426 { ac_try='test -s conftest.$ac_objext'
28427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28428 (eval $ac_try) 2>&5
28429 ac_status=$?
28430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28431 (exit $ac_status); }; }; then
28432 has_weof=yes
28433 else
28434 echo "$as_me: failed program was:" >&5
28435 sed 's/^/| /' conftest.$ac_ext >&5
28437 has_weof=no
28439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28440 echo "$as_me:$LINENO: result: $has_weof" >&5
28441 echo "${ECHO_T}$has_weof" >&6
28443 # Tests for wide character functions used in char_traits<wchar_t>.
28444 ac_wfuncs=yes
28451 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
28453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28454 echo "$as_me:$LINENO: checking for $ac_func" >&5
28455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28456 if eval "test \"\${$as_ac_var+set}\" = set"; then
28457 echo $ECHO_N "(cached) $ECHO_C" >&6
28458 else
28459 if test x$gcc_no_link = xyes; then
28460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28462 { (exit 1); exit 1; }; }
28464 cat >conftest.$ac_ext <<_ACEOF
28465 /* confdefs.h. */
28466 _ACEOF
28467 cat confdefs.h >>conftest.$ac_ext
28468 cat >>conftest.$ac_ext <<_ACEOF
28469 /* end confdefs.h. */
28470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28472 #define $ac_func innocuous_$ac_func
28474 /* System header to define __stub macros and hopefully few prototypes,
28475 which can conflict with char $ac_func (); below.
28476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28477 <limits.h> exists even on freestanding compilers. */
28479 #ifdef __STDC__
28480 # include <limits.h>
28481 #else
28482 # include <assert.h>
28483 #endif
28485 #undef $ac_func
28487 /* Override any gcc2 internal prototype to avoid an error. */
28488 #ifdef __cplusplus
28489 extern "C"
28491 #endif
28492 /* We use char because int might match the return type of a gcc2
28493 builtin and then its argument prototype would still apply. */
28494 char $ac_func ();
28495 /* The GNU C library defines this for functions which it implements
28496 to always fail with ENOSYS. Some functions are actually named
28497 something starting with __ and the normal name is an alias. */
28498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28499 choke me
28500 #else
28501 char (*f) () = $ac_func;
28502 #endif
28503 #ifdef __cplusplus
28505 #endif
28508 main ()
28510 return f != $ac_func;
28512 return 0;
28514 _ACEOF
28515 rm -f conftest.$ac_objext conftest$ac_exeext
28516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28517 (eval $ac_link) 2>conftest.er1
28518 ac_status=$?
28519 grep -v '^ *+' conftest.er1 >conftest.err
28520 rm -f conftest.er1
28521 cat conftest.err >&5
28522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28523 (exit $ac_status); } &&
28524 { ac_try='test -z "$ac_c_werror_flag"
28525 || test ! -s conftest.err'
28526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28527 (eval $ac_try) 2>&5
28528 ac_status=$?
28529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28530 (exit $ac_status); }; } &&
28531 { ac_try='test -s conftest$ac_exeext'
28532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28533 (eval $ac_try) 2>&5
28534 ac_status=$?
28535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28536 (exit $ac_status); }; }; then
28537 eval "$as_ac_var=yes"
28538 else
28539 echo "$as_me: failed program was:" >&5
28540 sed 's/^/| /' conftest.$ac_ext >&5
28542 eval "$as_ac_var=no"
28544 rm -f conftest.err conftest.$ac_objext \
28545 conftest$ac_exeext conftest.$ac_ext
28547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28549 if test `eval echo '${'$as_ac_var'}'` = yes; then
28550 cat >>confdefs.h <<_ACEOF
28551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28552 _ACEOF
28554 else
28555 ac_wfuncs=no
28557 done
28560 # Checks for names injected into std:: by the c_std headers.
28607 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
28608 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
28609 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
28610 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
28611 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
28612 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
28614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28615 echo "$as_me:$LINENO: checking for $ac_func" >&5
28616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28617 if eval "test \"\${$as_ac_var+set}\" = set"; then
28618 echo $ECHO_N "(cached) $ECHO_C" >&6
28619 else
28620 if test x$gcc_no_link = xyes; then
28621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28623 { (exit 1); exit 1; }; }
28625 cat >conftest.$ac_ext <<_ACEOF
28626 /* confdefs.h. */
28627 _ACEOF
28628 cat confdefs.h >>conftest.$ac_ext
28629 cat >>conftest.$ac_ext <<_ACEOF
28630 /* end confdefs.h. */
28631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28633 #define $ac_func innocuous_$ac_func
28635 /* System header to define __stub macros and hopefully few prototypes,
28636 which can conflict with char $ac_func (); below.
28637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28638 <limits.h> exists even on freestanding compilers. */
28640 #ifdef __STDC__
28641 # include <limits.h>
28642 #else
28643 # include <assert.h>
28644 #endif
28646 #undef $ac_func
28648 /* Override any gcc2 internal prototype to avoid an error. */
28649 #ifdef __cplusplus
28650 extern "C"
28652 #endif
28653 /* We use char because int might match the return type of a gcc2
28654 builtin and then its argument prototype would still apply. */
28655 char $ac_func ();
28656 /* The GNU C library defines this for functions which it implements
28657 to always fail with ENOSYS. Some functions are actually named
28658 something starting with __ and the normal name is an alias. */
28659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28660 choke me
28661 #else
28662 char (*f) () = $ac_func;
28663 #endif
28664 #ifdef __cplusplus
28666 #endif
28669 main ()
28671 return f != $ac_func;
28673 return 0;
28675 _ACEOF
28676 rm -f conftest.$ac_objext conftest$ac_exeext
28677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28678 (eval $ac_link) 2>conftest.er1
28679 ac_status=$?
28680 grep -v '^ *+' conftest.er1 >conftest.err
28681 rm -f conftest.er1
28682 cat conftest.err >&5
28683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28684 (exit $ac_status); } &&
28685 { ac_try='test -z "$ac_c_werror_flag"
28686 || test ! -s conftest.err'
28687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28688 (eval $ac_try) 2>&5
28689 ac_status=$?
28690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28691 (exit $ac_status); }; } &&
28692 { ac_try='test -s conftest$ac_exeext'
28693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28694 (eval $ac_try) 2>&5
28695 ac_status=$?
28696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28697 (exit $ac_status); }; }; then
28698 eval "$as_ac_var=yes"
28699 else
28700 echo "$as_me: failed program was:" >&5
28701 sed 's/^/| /' conftest.$ac_ext >&5
28703 eval "$as_ac_var=no"
28705 rm -f conftest.err conftest.$ac_objext \
28706 conftest$ac_exeext conftest.$ac_ext
28708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28710 if test `eval echo '${'$as_ac_var'}'` = yes; then
28711 cat >>confdefs.h <<_ACEOF
28712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28713 _ACEOF
28715 else
28716 ac_wfuncs=no
28718 done
28721 # Checks for wide character functions that are not required
28722 # for basic wchar_t support. Don't disable support if they are missing.
28723 # Injection of these is wrapped with guard macros.
28729 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
28731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28732 echo "$as_me:$LINENO: checking for $ac_func" >&5
28733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28734 if eval "test \"\${$as_ac_var+set}\" = set"; then
28735 echo $ECHO_N "(cached) $ECHO_C" >&6
28736 else
28737 if test x$gcc_no_link = xyes; then
28738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28740 { (exit 1); exit 1; }; }
28742 cat >conftest.$ac_ext <<_ACEOF
28743 /* confdefs.h. */
28744 _ACEOF
28745 cat confdefs.h >>conftest.$ac_ext
28746 cat >>conftest.$ac_ext <<_ACEOF
28747 /* end confdefs.h. */
28748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28750 #define $ac_func innocuous_$ac_func
28752 /* System header to define __stub macros and hopefully few prototypes,
28753 which can conflict with char $ac_func (); below.
28754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28755 <limits.h> exists even on freestanding compilers. */
28757 #ifdef __STDC__
28758 # include <limits.h>
28759 #else
28760 # include <assert.h>
28761 #endif
28763 #undef $ac_func
28765 /* Override any gcc2 internal prototype to avoid an error. */
28766 #ifdef __cplusplus
28767 extern "C"
28769 #endif
28770 /* We use char because int might match the return type of a gcc2
28771 builtin and then its argument prototype would still apply. */
28772 char $ac_func ();
28773 /* The GNU C library defines this for functions which it implements
28774 to always fail with ENOSYS. Some functions are actually named
28775 something starting with __ and the normal name is an alias. */
28776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28777 choke me
28778 #else
28779 char (*f) () = $ac_func;
28780 #endif
28781 #ifdef __cplusplus
28783 #endif
28786 main ()
28788 return f != $ac_func;
28790 return 0;
28792 _ACEOF
28793 rm -f conftest.$ac_objext conftest$ac_exeext
28794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28795 (eval $ac_link) 2>conftest.er1
28796 ac_status=$?
28797 grep -v '^ *+' conftest.er1 >conftest.err
28798 rm -f conftest.er1
28799 cat conftest.err >&5
28800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28801 (exit $ac_status); } &&
28802 { ac_try='test -z "$ac_c_werror_flag"
28803 || test ! -s conftest.err'
28804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28805 (eval $ac_try) 2>&5
28806 ac_status=$?
28807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28808 (exit $ac_status); }; } &&
28809 { ac_try='test -s conftest$ac_exeext'
28810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28811 (eval $ac_try) 2>&5
28812 ac_status=$?
28813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28814 (exit $ac_status); }; }; then
28815 eval "$as_ac_var=yes"
28816 else
28817 echo "$as_me: failed program was:" >&5
28818 sed 's/^/| /' conftest.$ac_ext >&5
28820 eval "$as_ac_var=no"
28822 rm -f conftest.err conftest.$ac_objext \
28823 conftest$ac_exeext conftest.$ac_ext
28825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28827 if test `eval echo '${'$as_ac_var'}'` = yes; then
28828 cat >>confdefs.h <<_ACEOF
28829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28830 _ACEOF
28833 done
28836 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
28837 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
28838 if test x"$has_weof" = xyes &&
28839 test x"$has_wchar_minmax" = xyes &&
28840 test x"$ac_wfuncs" = xyes;
28841 then
28842 ac_isoC99_wchar_t=yes
28843 else
28844 ac_isoC99_wchar_t=no
28846 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
28847 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
28849 # Use iconv for wchar_t to char conversions. As such, check for
28850 # X/Open Portability Guide, version 2 features (XPG2).
28851 if test "${ac_cv_header_iconv_h+set}" = set; then
28852 echo "$as_me:$LINENO: checking for iconv.h" >&5
28853 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28854 if test "${ac_cv_header_iconv_h+set}" = set; then
28855 echo $ECHO_N "(cached) $ECHO_C" >&6
28857 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28858 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28859 else
28860 # Is the header compilable?
28861 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28862 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28863 cat >conftest.$ac_ext <<_ACEOF
28864 /* confdefs.h. */
28865 _ACEOF
28866 cat confdefs.h >>conftest.$ac_ext
28867 cat >>conftest.$ac_ext <<_ACEOF
28868 /* end confdefs.h. */
28869 $ac_includes_default
28870 #include <iconv.h>
28871 _ACEOF
28872 rm -f conftest.$ac_objext
28873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28874 (eval $ac_compile) 2>conftest.er1
28875 ac_status=$?
28876 grep -v '^ *+' conftest.er1 >conftest.err
28877 rm -f conftest.er1
28878 cat conftest.err >&5
28879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28880 (exit $ac_status); } &&
28881 { ac_try='test -z "$ac_c_werror_flag"
28882 || test ! -s conftest.err'
28883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28884 (eval $ac_try) 2>&5
28885 ac_status=$?
28886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28887 (exit $ac_status); }; } &&
28888 { ac_try='test -s conftest.$ac_objext'
28889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28890 (eval $ac_try) 2>&5
28891 ac_status=$?
28892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28893 (exit $ac_status); }; }; then
28894 ac_header_compiler=yes
28895 else
28896 echo "$as_me: failed program was:" >&5
28897 sed 's/^/| /' conftest.$ac_ext >&5
28899 ac_header_compiler=no
28901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28902 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28903 echo "${ECHO_T}$ac_header_compiler" >&6
28905 # Is the header present?
28906 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28907 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28908 cat >conftest.$ac_ext <<_ACEOF
28909 /* confdefs.h. */
28910 _ACEOF
28911 cat confdefs.h >>conftest.$ac_ext
28912 cat >>conftest.$ac_ext <<_ACEOF
28913 /* end confdefs.h. */
28914 #include <iconv.h>
28915 _ACEOF
28916 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28917 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28918 ac_status=$?
28919 grep -v '^ *+' conftest.er1 >conftest.err
28920 rm -f conftest.er1
28921 cat conftest.err >&5
28922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28923 (exit $ac_status); } >/dev/null; then
28924 if test -s conftest.err; then
28925 ac_cpp_err=$ac_c_preproc_warn_flag
28926 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28927 else
28928 ac_cpp_err=
28930 else
28931 ac_cpp_err=yes
28933 if test -z "$ac_cpp_err"; then
28934 ac_header_preproc=yes
28935 else
28936 echo "$as_me: failed program was:" >&5
28937 sed 's/^/| /' conftest.$ac_ext >&5
28939 ac_header_preproc=no
28941 rm -f conftest.err conftest.$ac_ext
28942 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28943 echo "${ECHO_T}$ac_header_preproc" >&6
28945 # So? What about this header?
28946 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28947 yes:no: )
28948 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28949 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28950 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28951 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28952 ac_header_preproc=yes
28954 no:yes:* )
28955 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28956 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28957 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28958 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28959 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28960 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28961 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
28962 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
28963 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28964 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28965 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28966 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28968 cat <<\_ASBOX
28969 ## ----------------------------------------- ##
28970 ## Report this to the package-unused lists. ##
28971 ## ----------------------------------------- ##
28972 _ASBOX
28974 sed "s/^/$as_me: WARNING: /" >&2
28976 esac
28977 echo "$as_me:$LINENO: checking for iconv.h" >&5
28978 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28979 if test "${ac_cv_header_iconv_h+set}" = set; then
28980 echo $ECHO_N "(cached) $ECHO_C" >&6
28981 else
28982 ac_cv_header_iconv_h=$ac_header_preproc
28984 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28985 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28988 if test $ac_cv_header_iconv_h = yes; then
28989 ac_has_iconv_h=yes
28990 else
28991 ac_has_iconv_h=no
28995 if test "${ac_cv_header_langinfo_h+set}" = set; then
28996 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28997 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28998 if test "${ac_cv_header_langinfo_h+set}" = set; then
28999 echo $ECHO_N "(cached) $ECHO_C" >&6
29001 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
29002 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
29003 else
29004 # Is the header compilable?
29005 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
29006 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
29007 cat >conftest.$ac_ext <<_ACEOF
29008 /* confdefs.h. */
29009 _ACEOF
29010 cat confdefs.h >>conftest.$ac_ext
29011 cat >>conftest.$ac_ext <<_ACEOF
29012 /* end confdefs.h. */
29013 $ac_includes_default
29014 #include <langinfo.h>
29015 _ACEOF
29016 rm -f conftest.$ac_objext
29017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29018 (eval $ac_compile) 2>conftest.er1
29019 ac_status=$?
29020 grep -v '^ *+' conftest.er1 >conftest.err
29021 rm -f conftest.er1
29022 cat conftest.err >&5
29023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29024 (exit $ac_status); } &&
29025 { ac_try='test -z "$ac_c_werror_flag"
29026 || test ! -s conftest.err'
29027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29028 (eval $ac_try) 2>&5
29029 ac_status=$?
29030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29031 (exit $ac_status); }; } &&
29032 { ac_try='test -s conftest.$ac_objext'
29033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29034 (eval $ac_try) 2>&5
29035 ac_status=$?
29036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29037 (exit $ac_status); }; }; then
29038 ac_header_compiler=yes
29039 else
29040 echo "$as_me: failed program was:" >&5
29041 sed 's/^/| /' conftest.$ac_ext >&5
29043 ac_header_compiler=no
29045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29046 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29047 echo "${ECHO_T}$ac_header_compiler" >&6
29049 # Is the header present?
29050 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
29051 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
29052 cat >conftest.$ac_ext <<_ACEOF
29053 /* confdefs.h. */
29054 _ACEOF
29055 cat confdefs.h >>conftest.$ac_ext
29056 cat >>conftest.$ac_ext <<_ACEOF
29057 /* end confdefs.h. */
29058 #include <langinfo.h>
29059 _ACEOF
29060 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29061 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29062 ac_status=$?
29063 grep -v '^ *+' conftest.er1 >conftest.err
29064 rm -f conftest.er1
29065 cat conftest.err >&5
29066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29067 (exit $ac_status); } >/dev/null; then
29068 if test -s conftest.err; then
29069 ac_cpp_err=$ac_c_preproc_warn_flag
29070 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29071 else
29072 ac_cpp_err=
29074 else
29075 ac_cpp_err=yes
29077 if test -z "$ac_cpp_err"; then
29078 ac_header_preproc=yes
29079 else
29080 echo "$as_me: failed program was:" >&5
29081 sed 's/^/| /' conftest.$ac_ext >&5
29083 ac_header_preproc=no
29085 rm -f conftest.err conftest.$ac_ext
29086 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29087 echo "${ECHO_T}$ac_header_preproc" >&6
29089 # So? What about this header?
29090 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29091 yes:no: )
29092 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
29093 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29094 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
29095 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
29096 ac_header_preproc=yes
29098 no:yes:* )
29099 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
29100 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
29101 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
29102 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
29103 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
29104 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
29105 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
29106 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
29107 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
29108 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
29109 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
29110 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
29112 cat <<\_ASBOX
29113 ## ----------------------------------------- ##
29114 ## Report this to the package-unused lists. ##
29115 ## ----------------------------------------- ##
29116 _ASBOX
29118 sed "s/^/$as_me: WARNING: /" >&2
29120 esac
29121 echo "$as_me:$LINENO: checking for langinfo.h" >&5
29122 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
29123 if test "${ac_cv_header_langinfo_h+set}" = set; then
29124 echo $ECHO_N "(cached) $ECHO_C" >&6
29125 else
29126 ac_cv_header_langinfo_h=$ac_header_preproc
29128 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
29129 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
29132 if test $ac_cv_header_langinfo_h = yes; then
29133 ac_has_langinfo_h=yes
29134 else
29135 ac_has_langinfo_h=no
29140 # Check for existence of libiconv.a providing XPG2 wchar_t support.
29141 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
29142 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
29143 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
29144 echo $ECHO_N "(cached) $ECHO_C" >&6
29145 else
29146 ac_check_lib_save_LIBS=$LIBS
29147 LIBS="-liconv $LIBS"
29148 if test x$gcc_no_link = xyes; then
29149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29151 { (exit 1); exit 1; }; }
29153 cat >conftest.$ac_ext <<_ACEOF
29154 /* confdefs.h. */
29155 _ACEOF
29156 cat confdefs.h >>conftest.$ac_ext
29157 cat >>conftest.$ac_ext <<_ACEOF
29158 /* end confdefs.h. */
29160 /* Override any gcc2 internal prototype to avoid an error. */
29161 #ifdef __cplusplus
29162 extern "C"
29163 #endif
29164 /* We use char because int might match the return type of a gcc2
29165 builtin and then its argument prototype would still apply. */
29166 char iconv ();
29168 main ()
29170 iconv ();
29172 return 0;
29174 _ACEOF
29175 rm -f conftest.$ac_objext conftest$ac_exeext
29176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29177 (eval $ac_link) 2>conftest.er1
29178 ac_status=$?
29179 grep -v '^ *+' conftest.er1 >conftest.err
29180 rm -f conftest.er1
29181 cat conftest.err >&5
29182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29183 (exit $ac_status); } &&
29184 { ac_try='test -z "$ac_c_werror_flag"
29185 || test ! -s conftest.err'
29186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29187 (eval $ac_try) 2>&5
29188 ac_status=$?
29189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29190 (exit $ac_status); }; } &&
29191 { ac_try='test -s conftest$ac_exeext'
29192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29193 (eval $ac_try) 2>&5
29194 ac_status=$?
29195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29196 (exit $ac_status); }; }; then
29197 ac_cv_lib_iconv_iconv=yes
29198 else
29199 echo "$as_me: failed program was:" >&5
29200 sed 's/^/| /' conftest.$ac_ext >&5
29202 ac_cv_lib_iconv_iconv=no
29204 rm -f conftest.err conftest.$ac_objext \
29205 conftest$ac_exeext conftest.$ac_ext
29206 LIBS=$ac_check_lib_save_LIBS
29208 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
29209 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
29210 if test $ac_cv_lib_iconv_iconv = yes; then
29211 LIBICONV="-liconv"
29214 ac_save_LIBS="$LIBS"
29215 LIBS="$LIBS $LIBICONV"
29222 for ac_func in iconv_open iconv_close iconv nl_langinfo
29224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29225 echo "$as_me:$LINENO: checking for $ac_func" >&5
29226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29227 if eval "test \"\${$as_ac_var+set}\" = set"; then
29228 echo $ECHO_N "(cached) $ECHO_C" >&6
29229 else
29230 if test x$gcc_no_link = xyes; then
29231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29233 { (exit 1); exit 1; }; }
29235 cat >conftest.$ac_ext <<_ACEOF
29236 /* confdefs.h. */
29237 _ACEOF
29238 cat confdefs.h >>conftest.$ac_ext
29239 cat >>conftest.$ac_ext <<_ACEOF
29240 /* end confdefs.h. */
29241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29243 #define $ac_func innocuous_$ac_func
29245 /* System header to define __stub macros and hopefully few prototypes,
29246 which can conflict with char $ac_func (); below.
29247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29248 <limits.h> exists even on freestanding compilers. */
29250 #ifdef __STDC__
29251 # include <limits.h>
29252 #else
29253 # include <assert.h>
29254 #endif
29256 #undef $ac_func
29258 /* Override any gcc2 internal prototype to avoid an error. */
29259 #ifdef __cplusplus
29260 extern "C"
29262 #endif
29263 /* We use char because int might match the return type of a gcc2
29264 builtin and then its argument prototype would still apply. */
29265 char $ac_func ();
29266 /* The GNU C library defines this for functions which it implements
29267 to always fail with ENOSYS. Some functions are actually named
29268 something starting with __ and the normal name is an alias. */
29269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29270 choke me
29271 #else
29272 char (*f) () = $ac_func;
29273 #endif
29274 #ifdef __cplusplus
29276 #endif
29279 main ()
29281 return f != $ac_func;
29283 return 0;
29285 _ACEOF
29286 rm -f conftest.$ac_objext conftest$ac_exeext
29287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29288 (eval $ac_link) 2>conftest.er1
29289 ac_status=$?
29290 grep -v '^ *+' conftest.er1 >conftest.err
29291 rm -f conftest.er1
29292 cat conftest.err >&5
29293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29294 (exit $ac_status); } &&
29295 { ac_try='test -z "$ac_c_werror_flag"
29296 || test ! -s conftest.err'
29297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29298 (eval $ac_try) 2>&5
29299 ac_status=$?
29300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29301 (exit $ac_status); }; } &&
29302 { ac_try='test -s conftest$ac_exeext'
29303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29304 (eval $ac_try) 2>&5
29305 ac_status=$?
29306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29307 (exit $ac_status); }; }; then
29308 eval "$as_ac_var=yes"
29309 else
29310 echo "$as_me: failed program was:" >&5
29311 sed 's/^/| /' conftest.$ac_ext >&5
29313 eval "$as_ac_var=no"
29315 rm -f conftest.err conftest.$ac_objext \
29316 conftest$ac_exeext conftest.$ac_ext
29318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29320 if test `eval echo '${'$as_ac_var'}'` = yes; then
29321 cat >>confdefs.h <<_ACEOF
29322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29323 _ACEOF
29324 ac_XPG2funcs=yes
29325 else
29326 ac_XPG2funcs=no
29328 done
29331 LIBS="$ac_save_LIBS"
29333 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
29334 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
29335 if test x"$ac_has_iconv_h" = xyes &&
29336 test x"$ac_has_langinfo_h" = xyes &&
29337 test x"$ac_XPG2funcs" = xyes;
29338 then
29339 ac_XPG2_wchar_t=yes
29340 else
29341 ac_XPG2_wchar_t=no
29343 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
29344 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
29346 # At the moment, only enable wchar_t specializations if all the
29347 # above support is present.
29348 if test x"$ac_isoC99_wchar_t" = xyes &&
29349 test x"$ac_XPG2_wchar_t" = xyes;
29350 then
29351 cat >>confdefs.h <<\_ACEOF
29352 #define _GLIBCXX_USE_WCHAR_T 1
29353 _ACEOF
29355 enable_wchar_t=yes
29358 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
29359 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
29360 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
29361 echo "${ECHO_T}$enable_wchar_t" >&6
29364 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29365 ac_save_CXXFLAGS="$CXXFLAGS"
29366 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29369 echo "$as_me:$LINENO: checking for strtold declaration" >&5
29370 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
29371 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
29372 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
29373 echo $ECHO_N "(cached) $ECHO_C" >&6
29374 else
29378 ac_ext=cc
29379 ac_cpp='$CXXCPP $CPPFLAGS'
29380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29384 cat >conftest.$ac_ext <<_ACEOF
29385 /* confdefs.h. */
29386 _ACEOF
29387 cat confdefs.h >>conftest.$ac_ext
29388 cat >>conftest.$ac_ext <<_ACEOF
29389 /* end confdefs.h. */
29390 #include <stdlib.h>
29392 main ()
29394 strtold(0, 0);
29396 return 0;
29398 _ACEOF
29399 rm -f conftest.$ac_objext
29400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29401 (eval $ac_compile) 2>conftest.er1
29402 ac_status=$?
29403 grep -v '^ *+' conftest.er1 >conftest.err
29404 rm -f conftest.er1
29405 cat conftest.err >&5
29406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29407 (exit $ac_status); } &&
29408 { ac_try='test -z "$ac_cxx_werror_flag"
29409 || test ! -s conftest.err'
29410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29411 (eval $ac_try) 2>&5
29412 ac_status=$?
29413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29414 (exit $ac_status); }; } &&
29415 { ac_try='test -s conftest.$ac_objext'
29416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29417 (eval $ac_try) 2>&5
29418 ac_status=$?
29419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29420 (exit $ac_status); }; }; then
29421 glibcxx_cv_func_strtold_use=yes
29422 else
29423 echo "$as_me: failed program was:" >&5
29424 sed 's/^/| /' conftest.$ac_ext >&5
29426 glibcxx_cv_func_strtold_use=no
29428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29429 ac_ext=c
29430 ac_cpp='$CPP $CPPFLAGS'
29431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29439 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
29440 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
29441 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
29443 for ac_func in strtold
29445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29446 echo "$as_me:$LINENO: checking for $ac_func" >&5
29447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29448 if eval "test \"\${$as_ac_var+set}\" = set"; then
29449 echo $ECHO_N "(cached) $ECHO_C" >&6
29450 else
29451 if test x$gcc_no_link = xyes; then
29452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29454 { (exit 1); exit 1; }; }
29456 cat >conftest.$ac_ext <<_ACEOF
29457 /* confdefs.h. */
29458 _ACEOF
29459 cat confdefs.h >>conftest.$ac_ext
29460 cat >>conftest.$ac_ext <<_ACEOF
29461 /* end confdefs.h. */
29462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29464 #define $ac_func innocuous_$ac_func
29466 /* System header to define __stub macros and hopefully few prototypes,
29467 which can conflict with char $ac_func (); below.
29468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29469 <limits.h> exists even on freestanding compilers. */
29471 #ifdef __STDC__
29472 # include <limits.h>
29473 #else
29474 # include <assert.h>
29475 #endif
29477 #undef $ac_func
29479 /* Override any gcc2 internal prototype to avoid an error. */
29480 #ifdef __cplusplus
29481 extern "C"
29483 #endif
29484 /* We use char because int might match the return type of a gcc2
29485 builtin and then its argument prototype would still apply. */
29486 char $ac_func ();
29487 /* The GNU C library defines this for functions which it implements
29488 to always fail with ENOSYS. Some functions are actually named
29489 something starting with __ and the normal name is an alias. */
29490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29491 choke me
29492 #else
29493 char (*f) () = $ac_func;
29494 #endif
29495 #ifdef __cplusplus
29497 #endif
29500 main ()
29502 return f != $ac_func;
29504 return 0;
29506 _ACEOF
29507 rm -f conftest.$ac_objext conftest$ac_exeext
29508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29509 (eval $ac_link) 2>conftest.er1
29510 ac_status=$?
29511 grep -v '^ *+' conftest.er1 >conftest.err
29512 rm -f conftest.er1
29513 cat conftest.err >&5
29514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29515 (exit $ac_status); } &&
29516 { ac_try='test -z "$ac_c_werror_flag"
29517 || test ! -s conftest.err'
29518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29519 (eval $ac_try) 2>&5
29520 ac_status=$?
29521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29522 (exit $ac_status); }; } &&
29523 { ac_try='test -s conftest$ac_exeext'
29524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29525 (eval $ac_try) 2>&5
29526 ac_status=$?
29527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29528 (exit $ac_status); }; }; then
29529 eval "$as_ac_var=yes"
29530 else
29531 echo "$as_me: failed program was:" >&5
29532 sed 's/^/| /' conftest.$ac_ext >&5
29534 eval "$as_ac_var=no"
29536 rm -f conftest.err conftest.$ac_objext \
29537 conftest$ac_exeext conftest.$ac_ext
29539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29541 if test `eval echo '${'$as_ac_var'}'` = yes; then
29542 cat >>confdefs.h <<_ACEOF
29543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29544 _ACEOF
29547 done
29552 echo "$as_me:$LINENO: checking for strtof declaration" >&5
29553 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29554 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29555 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29556 echo $ECHO_N "(cached) $ECHO_C" >&6
29557 else
29561 ac_ext=cc
29562 ac_cpp='$CXXCPP $CPPFLAGS'
29563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29567 cat >conftest.$ac_ext <<_ACEOF
29568 /* confdefs.h. */
29569 _ACEOF
29570 cat confdefs.h >>conftest.$ac_ext
29571 cat >>conftest.$ac_ext <<_ACEOF
29572 /* end confdefs.h. */
29573 #include <stdlib.h>
29575 main ()
29577 strtof(0, 0);
29579 return 0;
29581 _ACEOF
29582 rm -f conftest.$ac_objext
29583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29584 (eval $ac_compile) 2>conftest.er1
29585 ac_status=$?
29586 grep -v '^ *+' conftest.er1 >conftest.err
29587 rm -f conftest.er1
29588 cat conftest.err >&5
29589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29590 (exit $ac_status); } &&
29591 { ac_try='test -z "$ac_cxx_werror_flag"
29592 || test ! -s conftest.err'
29593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29594 (eval $ac_try) 2>&5
29595 ac_status=$?
29596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29597 (exit $ac_status); }; } &&
29598 { ac_try='test -s conftest.$ac_objext'
29599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29600 (eval $ac_try) 2>&5
29601 ac_status=$?
29602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29603 (exit $ac_status); }; }; then
29604 glibcxx_cv_func_strtof_use=yes
29605 else
29606 echo "$as_me: failed program was:" >&5
29607 sed 's/^/| /' conftest.$ac_ext >&5
29609 glibcxx_cv_func_strtof_use=no
29611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29612 ac_ext=c
29613 ac_cpp='$CPP $CPPFLAGS'
29614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29622 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29623 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29624 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29626 for ac_func in strtof
29628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29629 echo "$as_me:$LINENO: checking for $ac_func" >&5
29630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29631 if eval "test \"\${$as_ac_var+set}\" = set"; then
29632 echo $ECHO_N "(cached) $ECHO_C" >&6
29633 else
29634 if test x$gcc_no_link = xyes; then
29635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29637 { (exit 1); exit 1; }; }
29639 cat >conftest.$ac_ext <<_ACEOF
29640 /* confdefs.h. */
29641 _ACEOF
29642 cat confdefs.h >>conftest.$ac_ext
29643 cat >>conftest.$ac_ext <<_ACEOF
29644 /* end confdefs.h. */
29645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29647 #define $ac_func innocuous_$ac_func
29649 /* System header to define __stub macros and hopefully few prototypes,
29650 which can conflict with char $ac_func (); below.
29651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29652 <limits.h> exists even on freestanding compilers. */
29654 #ifdef __STDC__
29655 # include <limits.h>
29656 #else
29657 # include <assert.h>
29658 #endif
29660 #undef $ac_func
29662 /* Override any gcc2 internal prototype to avoid an error. */
29663 #ifdef __cplusplus
29664 extern "C"
29666 #endif
29667 /* We use char because int might match the return type of a gcc2
29668 builtin and then its argument prototype would still apply. */
29669 char $ac_func ();
29670 /* The GNU C library defines this for functions which it implements
29671 to always fail with ENOSYS. Some functions are actually named
29672 something starting with __ and the normal name is an alias. */
29673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29674 choke me
29675 #else
29676 char (*f) () = $ac_func;
29677 #endif
29678 #ifdef __cplusplus
29680 #endif
29683 main ()
29685 return f != $ac_func;
29687 return 0;
29689 _ACEOF
29690 rm -f conftest.$ac_objext conftest$ac_exeext
29691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29692 (eval $ac_link) 2>conftest.er1
29693 ac_status=$?
29694 grep -v '^ *+' conftest.er1 >conftest.err
29695 rm -f conftest.er1
29696 cat conftest.err >&5
29697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29698 (exit $ac_status); } &&
29699 { ac_try='test -z "$ac_c_werror_flag"
29700 || test ! -s conftest.err'
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); }; } &&
29706 { ac_try='test -s conftest$ac_exeext'
29707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29708 (eval $ac_try) 2>&5
29709 ac_status=$?
29710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29711 (exit $ac_status); }; }; then
29712 eval "$as_ac_var=yes"
29713 else
29714 echo "$as_me: failed program was:" >&5
29715 sed 's/^/| /' conftest.$ac_ext >&5
29717 eval "$as_ac_var=no"
29719 rm -f conftest.err conftest.$ac_objext \
29720 conftest$ac_exeext conftest.$ac_ext
29722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29724 if test `eval echo '${'$as_ac_var'}'` = yes; then
29725 cat >>confdefs.h <<_ACEOF
29726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29727 _ACEOF
29730 done
29735 CXXFLAGS="$ac_save_CXXFLAGS"
29738 # For showmanyc_helper().
29741 for ac_header in sys/ioctl.h sys/filio.h
29743 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29745 echo "$as_me:$LINENO: checking for $ac_header" >&5
29746 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29748 echo $ECHO_N "(cached) $ECHO_C" >&6
29750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29751 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29752 else
29753 # Is the header compilable?
29754 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29755 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29756 cat >conftest.$ac_ext <<_ACEOF
29757 /* confdefs.h. */
29758 _ACEOF
29759 cat confdefs.h >>conftest.$ac_ext
29760 cat >>conftest.$ac_ext <<_ACEOF
29761 /* end confdefs.h. */
29762 $ac_includes_default
29763 #include <$ac_header>
29764 _ACEOF
29765 rm -f conftest.$ac_objext
29766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29767 (eval $ac_compile) 2>conftest.er1
29768 ac_status=$?
29769 grep -v '^ *+' conftest.er1 >conftest.err
29770 rm -f conftest.er1
29771 cat conftest.err >&5
29772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29773 (exit $ac_status); } &&
29774 { ac_try='test -z "$ac_c_werror_flag"
29775 || test ! -s conftest.err'
29776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29777 (eval $ac_try) 2>&5
29778 ac_status=$?
29779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29780 (exit $ac_status); }; } &&
29781 { ac_try='test -s conftest.$ac_objext'
29782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29783 (eval $ac_try) 2>&5
29784 ac_status=$?
29785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29786 (exit $ac_status); }; }; then
29787 ac_header_compiler=yes
29788 else
29789 echo "$as_me: failed program was:" >&5
29790 sed 's/^/| /' conftest.$ac_ext >&5
29792 ac_header_compiler=no
29794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29795 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29796 echo "${ECHO_T}$ac_header_compiler" >&6
29798 # Is the header present?
29799 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29800 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29801 cat >conftest.$ac_ext <<_ACEOF
29802 /* confdefs.h. */
29803 _ACEOF
29804 cat confdefs.h >>conftest.$ac_ext
29805 cat >>conftest.$ac_ext <<_ACEOF
29806 /* end confdefs.h. */
29807 #include <$ac_header>
29808 _ACEOF
29809 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29810 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29811 ac_status=$?
29812 grep -v '^ *+' conftest.er1 >conftest.err
29813 rm -f conftest.er1
29814 cat conftest.err >&5
29815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29816 (exit $ac_status); } >/dev/null; then
29817 if test -s conftest.err; then
29818 ac_cpp_err=$ac_c_preproc_warn_flag
29819 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29820 else
29821 ac_cpp_err=
29823 else
29824 ac_cpp_err=yes
29826 if test -z "$ac_cpp_err"; then
29827 ac_header_preproc=yes
29828 else
29829 echo "$as_me: failed program was:" >&5
29830 sed 's/^/| /' conftest.$ac_ext >&5
29832 ac_header_preproc=no
29834 rm -f conftest.err conftest.$ac_ext
29835 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29836 echo "${ECHO_T}$ac_header_preproc" >&6
29838 # So? What about this header?
29839 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29840 yes:no: )
29841 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29842 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29843 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29844 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29845 ac_header_preproc=yes
29847 no:yes:* )
29848 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29849 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29850 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29851 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29852 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29853 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29854 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29855 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29856 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29857 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29858 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29859 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29861 cat <<\_ASBOX
29862 ## ----------------------------------------- ##
29863 ## Report this to the package-unused lists. ##
29864 ## ----------------------------------------- ##
29865 _ASBOX
29867 sed "s/^/$as_me: WARNING: /" >&2
29869 esac
29870 echo "$as_me:$LINENO: checking for $ac_header" >&5
29871 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29873 echo $ECHO_N "(cached) $ECHO_C" >&6
29874 else
29875 eval "$as_ac_Header=\$ac_header_preproc"
29877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29878 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29881 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29882 cat >>confdefs.h <<_ACEOF
29883 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29884 _ACEOF
29888 done
29891 if test "${glibcxx_cv_POLL+set}" = set; then
29892 echo $ECHO_N "(cached) $ECHO_C" >&6
29893 else
29895 if test x$gcc_no_link = xyes; then
29896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29898 { (exit 1); exit 1; }; }
29900 cat >conftest.$ac_ext <<_ACEOF
29901 /* confdefs.h. */
29902 _ACEOF
29903 cat confdefs.h >>conftest.$ac_ext
29904 cat >>conftest.$ac_ext <<_ACEOF
29905 /* end confdefs.h. */
29906 #include <poll.h>
29908 main ()
29910 struct pollfd pfd[1];
29911 pfd[0].events = POLLIN;
29912 poll(pfd, 1, 0);
29914 return 0;
29916 _ACEOF
29917 rm -f conftest.$ac_objext conftest$ac_exeext
29918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29919 (eval $ac_link) 2>conftest.er1
29920 ac_status=$?
29921 grep -v '^ *+' conftest.er1 >conftest.err
29922 rm -f conftest.er1
29923 cat conftest.err >&5
29924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29925 (exit $ac_status); } &&
29926 { ac_try='test -z "$ac_c_werror_flag"
29927 || test ! -s conftest.err'
29928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29929 (eval $ac_try) 2>&5
29930 ac_status=$?
29931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29932 (exit $ac_status); }; } &&
29933 { ac_try='test -s conftest$ac_exeext'
29934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29935 (eval $ac_try) 2>&5
29936 ac_status=$?
29937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29938 (exit $ac_status); }; }; then
29939 glibcxx_cv_POLL=yes
29940 else
29941 echo "$as_me: failed program was:" >&5
29942 sed 's/^/| /' conftest.$ac_ext >&5
29944 glibcxx_cv_POLL=no
29946 rm -f conftest.err conftest.$ac_objext \
29947 conftest$ac_exeext conftest.$ac_ext
29951 if test $glibcxx_cv_POLL = yes; then
29952 cat >>confdefs.h <<\_ACEOF
29953 #define HAVE_POLL 1
29954 _ACEOF
29959 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29960 echo $ECHO_N "(cached) $ECHO_C" >&6
29961 else
29963 if test x$gcc_no_link = xyes; then
29964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29966 { (exit 1); exit 1; }; }
29968 cat >conftest.$ac_ext <<_ACEOF
29969 /* confdefs.h. */
29970 _ACEOF
29971 cat confdefs.h >>conftest.$ac_ext
29972 cat >>conftest.$ac_ext <<_ACEOF
29973 /* end confdefs.h. */
29974 #include <sys/stat.h>
29976 main ()
29978 struct stat buffer;
29979 fstat(0, &buffer);
29980 S_ISREG(buffer.st_mode);
29982 return 0;
29984 _ACEOF
29985 rm -f conftest.$ac_objext conftest$ac_exeext
29986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29987 (eval $ac_link) 2>conftest.er1
29988 ac_status=$?
29989 grep -v '^ *+' conftest.er1 >conftest.err
29990 rm -f conftest.er1
29991 cat conftest.err >&5
29992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29993 (exit $ac_status); } &&
29994 { ac_try='test -z "$ac_c_werror_flag"
29995 || test ! -s conftest.err'
29996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29997 (eval $ac_try) 2>&5
29998 ac_status=$?
29999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30000 (exit $ac_status); }; } &&
30001 { ac_try='test -s conftest$ac_exeext'
30002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30003 (eval $ac_try) 2>&5
30004 ac_status=$?
30005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30006 (exit $ac_status); }; }; then
30007 glibcxx_cv_S_ISREG=yes
30008 else
30009 echo "$as_me: failed program was:" >&5
30010 sed 's/^/| /' conftest.$ac_ext >&5
30012 glibcxx_cv_S_ISREG=no
30014 rm -f conftest.err conftest.$ac_objext \
30015 conftest$ac_exeext conftest.$ac_ext
30019 if test "${glibcxx_cv_S_IFREG+set}" = set; then
30020 echo $ECHO_N "(cached) $ECHO_C" >&6
30021 else
30023 if test x$gcc_no_link = xyes; then
30024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30026 { (exit 1); exit 1; }; }
30028 cat >conftest.$ac_ext <<_ACEOF
30029 /* confdefs.h. */
30030 _ACEOF
30031 cat confdefs.h >>conftest.$ac_ext
30032 cat >>conftest.$ac_ext <<_ACEOF
30033 /* end confdefs.h. */
30034 #include <sys/stat.h>
30036 main ()
30038 struct stat buffer;
30039 fstat(0, &buffer);
30040 S_IFREG & buffer.st_mode;
30042 return 0;
30044 _ACEOF
30045 rm -f conftest.$ac_objext conftest$ac_exeext
30046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30047 (eval $ac_link) 2>conftest.er1
30048 ac_status=$?
30049 grep -v '^ *+' conftest.er1 >conftest.err
30050 rm -f conftest.er1
30051 cat conftest.err >&5
30052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30053 (exit $ac_status); } &&
30054 { ac_try='test -z "$ac_c_werror_flag"
30055 || test ! -s conftest.err'
30056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30057 (eval $ac_try) 2>&5
30058 ac_status=$?
30059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30060 (exit $ac_status); }; } &&
30061 { ac_try='test -s conftest$ac_exeext'
30062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30063 (eval $ac_try) 2>&5
30064 ac_status=$?
30065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30066 (exit $ac_status); }; }; then
30067 glibcxx_cv_S_IFREG=yes
30068 else
30069 echo "$as_me: failed program was:" >&5
30070 sed 's/^/| /' conftest.$ac_ext >&5
30072 glibcxx_cv_S_IFREG=no
30074 rm -f conftest.err conftest.$ac_objext \
30075 conftest$ac_exeext conftest.$ac_ext
30079 if test $glibcxx_cv_S_ISREG = yes; then
30080 cat >>confdefs.h <<\_ACEOF
30081 #define HAVE_S_ISREG 1
30082 _ACEOF
30084 elif test $glibcxx_cv_S_IFREG = yes; then
30085 cat >>confdefs.h <<\_ACEOF
30086 #define HAVE_S_IFREG 1
30087 _ACEOF
30092 # For xsputn_2().
30094 for ac_header in sys/uio.h
30096 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30098 echo "$as_me:$LINENO: checking for $ac_header" >&5
30099 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30101 echo $ECHO_N "(cached) $ECHO_C" >&6
30103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30104 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30105 else
30106 # Is the header compilable?
30107 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30108 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30109 cat >conftest.$ac_ext <<_ACEOF
30110 /* confdefs.h. */
30111 _ACEOF
30112 cat confdefs.h >>conftest.$ac_ext
30113 cat >>conftest.$ac_ext <<_ACEOF
30114 /* end confdefs.h. */
30115 $ac_includes_default
30116 #include <$ac_header>
30117 _ACEOF
30118 rm -f conftest.$ac_objext
30119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30120 (eval $ac_compile) 2>conftest.er1
30121 ac_status=$?
30122 grep -v '^ *+' conftest.er1 >conftest.err
30123 rm -f conftest.er1
30124 cat conftest.err >&5
30125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30126 (exit $ac_status); } &&
30127 { ac_try='test -z "$ac_c_werror_flag"
30128 || test ! -s conftest.err'
30129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30130 (eval $ac_try) 2>&5
30131 ac_status=$?
30132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30133 (exit $ac_status); }; } &&
30134 { ac_try='test -s conftest.$ac_objext'
30135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30136 (eval $ac_try) 2>&5
30137 ac_status=$?
30138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30139 (exit $ac_status); }; }; then
30140 ac_header_compiler=yes
30141 else
30142 echo "$as_me: failed program was:" >&5
30143 sed 's/^/| /' conftest.$ac_ext >&5
30145 ac_header_compiler=no
30147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30148 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30149 echo "${ECHO_T}$ac_header_compiler" >&6
30151 # Is the header present?
30152 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30153 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30154 cat >conftest.$ac_ext <<_ACEOF
30155 /* confdefs.h. */
30156 _ACEOF
30157 cat confdefs.h >>conftest.$ac_ext
30158 cat >>conftest.$ac_ext <<_ACEOF
30159 /* end confdefs.h. */
30160 #include <$ac_header>
30161 _ACEOF
30162 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30163 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30164 ac_status=$?
30165 grep -v '^ *+' conftest.er1 >conftest.err
30166 rm -f conftest.er1
30167 cat conftest.err >&5
30168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30169 (exit $ac_status); } >/dev/null; then
30170 if test -s conftest.err; then
30171 ac_cpp_err=$ac_c_preproc_warn_flag
30172 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30173 else
30174 ac_cpp_err=
30176 else
30177 ac_cpp_err=yes
30179 if test -z "$ac_cpp_err"; then
30180 ac_header_preproc=yes
30181 else
30182 echo "$as_me: failed program was:" >&5
30183 sed 's/^/| /' conftest.$ac_ext >&5
30185 ac_header_preproc=no
30187 rm -f conftest.err conftest.$ac_ext
30188 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30189 echo "${ECHO_T}$ac_header_preproc" >&6
30191 # So? What about this header?
30192 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30193 yes:no: )
30194 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30195 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30196 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30197 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30198 ac_header_preproc=yes
30200 no:yes:* )
30201 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30202 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30203 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30204 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30205 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30206 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30207 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30208 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30209 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30210 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30211 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30212 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30214 cat <<\_ASBOX
30215 ## ----------------------------------------- ##
30216 ## Report this to the package-unused lists. ##
30217 ## ----------------------------------------- ##
30218 _ASBOX
30220 sed "s/^/$as_me: WARNING: /" >&2
30222 esac
30223 echo "$as_me:$LINENO: checking for $ac_header" >&5
30224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30226 echo $ECHO_N "(cached) $ECHO_C" >&6
30227 else
30228 eval "$as_ac_Header=\$ac_header_preproc"
30230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30231 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30234 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30235 cat >>confdefs.h <<_ACEOF
30236 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30237 _ACEOF
30241 done
30244 if test "${glibcxx_cv_WRITEV+set}" = set; then
30245 echo $ECHO_N "(cached) $ECHO_C" >&6
30246 else
30248 if test x$gcc_no_link = xyes; then
30249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30251 { (exit 1); exit 1; }; }
30253 cat >conftest.$ac_ext <<_ACEOF
30254 /* confdefs.h. */
30255 _ACEOF
30256 cat confdefs.h >>conftest.$ac_ext
30257 cat >>conftest.$ac_ext <<_ACEOF
30258 /* end confdefs.h. */
30259 #include <sys/uio.h>
30261 main ()
30263 struct iovec iov[2];
30264 writev(0, iov, 0);
30266 return 0;
30268 _ACEOF
30269 rm -f conftest.$ac_objext conftest$ac_exeext
30270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30271 (eval $ac_link) 2>conftest.er1
30272 ac_status=$?
30273 grep -v '^ *+' conftest.er1 >conftest.err
30274 rm -f conftest.er1
30275 cat conftest.err >&5
30276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30277 (exit $ac_status); } &&
30278 { ac_try='test -z "$ac_c_werror_flag"
30279 || test ! -s conftest.err'
30280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30281 (eval $ac_try) 2>&5
30282 ac_status=$?
30283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30284 (exit $ac_status); }; } &&
30285 { ac_try='test -s conftest$ac_exeext'
30286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30287 (eval $ac_try) 2>&5
30288 ac_status=$?
30289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30290 (exit $ac_status); }; }; then
30291 glibcxx_cv_WRITEV=yes
30292 else
30293 echo "$as_me: failed program was:" >&5
30294 sed 's/^/| /' conftest.$ac_ext >&5
30296 glibcxx_cv_WRITEV=no
30298 rm -f conftest.err conftest.$ac_objext \
30299 conftest$ac_exeext conftest.$ac_ext
30303 if test $glibcxx_cv_WRITEV = yes; then
30304 cat >>confdefs.h <<\_ACEOF
30305 #define HAVE_WRITEV 1
30306 _ACEOF
30311 # For the __streamoff_base_type typedef.
30313 if test "${glibcxx_cv_INT64_T+set}" = set; then
30314 echo $ECHO_N "(cached) $ECHO_C" >&6
30315 else
30317 cat >conftest.$ac_ext <<_ACEOF
30318 /* confdefs.h. */
30319 _ACEOF
30320 cat confdefs.h >>conftest.$ac_ext
30321 cat >>conftest.$ac_ext <<_ACEOF
30322 /* end confdefs.h. */
30323 #include <stdint.h>
30325 main ()
30327 int64_t var;
30329 return 0;
30331 _ACEOF
30332 rm -f conftest.$ac_objext
30333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30334 (eval $ac_compile) 2>conftest.er1
30335 ac_status=$?
30336 grep -v '^ *+' conftest.er1 >conftest.err
30337 rm -f conftest.er1
30338 cat conftest.err >&5
30339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30340 (exit $ac_status); } &&
30341 { ac_try='test -z "$ac_c_werror_flag"
30342 || test ! -s conftest.err'
30343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30344 (eval $ac_try) 2>&5
30345 ac_status=$?
30346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30347 (exit $ac_status); }; } &&
30348 { ac_try='test -s conftest.$ac_objext'
30349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30350 (eval $ac_try) 2>&5
30351 ac_status=$?
30352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30353 (exit $ac_status); }; }; then
30354 glibcxx_cv_INT64_T=yes
30355 else
30356 echo "$as_me: failed program was:" >&5
30357 sed 's/^/| /' conftest.$ac_ext >&5
30359 glibcxx_cv_INT64_T=no
30361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30365 if test $glibcxx_cv_INT64_T = yes; then
30366 cat >>confdefs.h <<\_ACEOF
30367 #define HAVE_INT64_T 1
30368 _ACEOF
30373 # For LFS support.
30377 ac_ext=cc
30378 ac_cpp='$CXXCPP $CPPFLAGS'
30379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30383 ac_save_CXXFLAGS="$CXXFLAGS"
30384 CXXFLAGS="$CXXFLAGS -fno-exceptions"
30385 if test "${glibcxx_cv_LFS+set}" = set; then
30386 echo $ECHO_N "(cached) $ECHO_C" >&6
30387 else
30389 if test x$gcc_no_link = xyes; then
30390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30392 { (exit 1); exit 1; }; }
30394 cat >conftest.$ac_ext <<_ACEOF
30395 /* confdefs.h. */
30396 _ACEOF
30397 cat confdefs.h >>conftest.$ac_ext
30398 cat >>conftest.$ac_ext <<_ACEOF
30399 /* end confdefs.h. */
30400 #include <unistd.h>
30401 #include <stdio.h>
30404 main ()
30406 FILE* fp;
30407 fopen64("t", "w");
30408 fseeko64(fp, 0, SEEK_CUR);
30409 ftello64(fp);
30410 lseek64(1, 0, SEEK_CUR);
30412 return 0;
30414 _ACEOF
30415 rm -f conftest.$ac_objext conftest$ac_exeext
30416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30417 (eval $ac_link) 2>conftest.er1
30418 ac_status=$?
30419 grep -v '^ *+' conftest.er1 >conftest.err
30420 rm -f conftest.er1
30421 cat conftest.err >&5
30422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30423 (exit $ac_status); } &&
30424 { ac_try='test -z "$ac_cxx_werror_flag"
30425 || test ! -s conftest.err'
30426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30427 (eval $ac_try) 2>&5
30428 ac_status=$?
30429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30430 (exit $ac_status); }; } &&
30431 { ac_try='test -s conftest$ac_exeext'
30432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30433 (eval $ac_try) 2>&5
30434 ac_status=$?
30435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30436 (exit $ac_status); }; }; then
30437 glibcxx_cv_LFS=yes
30438 else
30439 echo "$as_me: failed program was:" >&5
30440 sed 's/^/| /' conftest.$ac_ext >&5
30442 glibcxx_cv_LFS=no
30444 rm -f conftest.err conftest.$ac_objext \
30445 conftest$ac_exeext conftest.$ac_ext
30449 if test $glibcxx_cv_LFS = yes; then
30450 cat >>confdefs.h <<\_ACEOF
30451 #define _GLIBCXX_USE_LFS 1
30452 _ACEOF
30455 CXXFLAGS="$ac_save_CXXFLAGS"
30456 ac_ext=c
30457 ac_cpp='$CPP $CPPFLAGS'
30458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30465 if test "${ac_cv_header_locale_h+set}" = set; then
30466 echo "$as_me:$LINENO: checking for locale.h" >&5
30467 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30468 if test "${ac_cv_header_locale_h+set}" = set; then
30469 echo $ECHO_N "(cached) $ECHO_C" >&6
30471 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30472 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30473 else
30474 # Is the header compilable?
30475 echo "$as_me:$LINENO: checking locale.h usability" >&5
30476 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
30477 cat >conftest.$ac_ext <<_ACEOF
30478 /* confdefs.h. */
30479 _ACEOF
30480 cat confdefs.h >>conftest.$ac_ext
30481 cat >>conftest.$ac_ext <<_ACEOF
30482 /* end confdefs.h. */
30483 $ac_includes_default
30484 #include <locale.h>
30485 _ACEOF
30486 rm -f conftest.$ac_objext
30487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30488 (eval $ac_compile) 2>conftest.er1
30489 ac_status=$?
30490 grep -v '^ *+' conftest.er1 >conftest.err
30491 rm -f conftest.er1
30492 cat conftest.err >&5
30493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30494 (exit $ac_status); } &&
30495 { ac_try='test -z "$ac_c_werror_flag"
30496 || test ! -s conftest.err'
30497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30498 (eval $ac_try) 2>&5
30499 ac_status=$?
30500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30501 (exit $ac_status); }; } &&
30502 { ac_try='test -s conftest.$ac_objext'
30503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30504 (eval $ac_try) 2>&5
30505 ac_status=$?
30506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30507 (exit $ac_status); }; }; then
30508 ac_header_compiler=yes
30509 else
30510 echo "$as_me: failed program was:" >&5
30511 sed 's/^/| /' conftest.$ac_ext >&5
30513 ac_header_compiler=no
30515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30516 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30517 echo "${ECHO_T}$ac_header_compiler" >&6
30519 # Is the header present?
30520 echo "$as_me:$LINENO: checking locale.h presence" >&5
30521 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
30522 cat >conftest.$ac_ext <<_ACEOF
30523 /* confdefs.h. */
30524 _ACEOF
30525 cat confdefs.h >>conftest.$ac_ext
30526 cat >>conftest.$ac_ext <<_ACEOF
30527 /* end confdefs.h. */
30528 #include <locale.h>
30529 _ACEOF
30530 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30531 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30532 ac_status=$?
30533 grep -v '^ *+' conftest.er1 >conftest.err
30534 rm -f conftest.er1
30535 cat conftest.err >&5
30536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30537 (exit $ac_status); } >/dev/null; then
30538 if test -s conftest.err; then
30539 ac_cpp_err=$ac_c_preproc_warn_flag
30540 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30541 else
30542 ac_cpp_err=
30544 else
30545 ac_cpp_err=yes
30547 if test -z "$ac_cpp_err"; then
30548 ac_header_preproc=yes
30549 else
30550 echo "$as_me: failed program was:" >&5
30551 sed 's/^/| /' conftest.$ac_ext >&5
30553 ac_header_preproc=no
30555 rm -f conftest.err conftest.$ac_ext
30556 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30557 echo "${ECHO_T}$ac_header_preproc" >&6
30559 # So? What about this header?
30560 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30561 yes:no: )
30562 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
30563 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30564 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
30565 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
30566 ac_header_preproc=yes
30568 no:yes:* )
30569 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
30570 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
30571 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
30572 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
30573 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30574 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30575 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
30576 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
30577 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30578 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30579 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30580 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30582 cat <<\_ASBOX
30583 ## ----------------------------------------- ##
30584 ## Report this to the package-unused lists. ##
30585 ## ----------------------------------------- ##
30586 _ASBOX
30588 sed "s/^/$as_me: WARNING: /" >&2
30590 esac
30591 echo "$as_me:$LINENO: checking for locale.h" >&5
30592 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30593 if test "${ac_cv_header_locale_h+set}" = set; then
30594 echo $ECHO_N "(cached) $ECHO_C" >&6
30595 else
30596 ac_cv_header_locale_h=$ac_header_preproc
30598 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30599 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30602 if test $ac_cv_header_locale_h = yes; then
30604 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30605 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30606 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30607 echo $ECHO_N "(cached) $ECHO_C" >&6
30608 else
30609 if test x$gcc_no_link = xyes; then
30610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30612 { (exit 1); exit 1; }; }
30614 cat >conftest.$ac_ext <<_ACEOF
30615 /* confdefs.h. */
30616 _ACEOF
30617 cat confdefs.h >>conftest.$ac_ext
30618 cat >>conftest.$ac_ext <<_ACEOF
30619 /* end confdefs.h. */
30620 #include <locale.h>
30622 main ()
30624 return LC_MESSAGES
30626 return 0;
30628 _ACEOF
30629 rm -f conftest.$ac_objext conftest$ac_exeext
30630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30631 (eval $ac_link) 2>conftest.er1
30632 ac_status=$?
30633 grep -v '^ *+' conftest.er1 >conftest.err
30634 rm -f conftest.er1
30635 cat conftest.err >&5
30636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30637 (exit $ac_status); } &&
30638 { ac_try='test -z "$ac_c_werror_flag"
30639 || test ! -s conftest.err'
30640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30641 (eval $ac_try) 2>&5
30642 ac_status=$?
30643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30644 (exit $ac_status); }; } &&
30645 { ac_try='test -s conftest$ac_exeext'
30646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30647 (eval $ac_try) 2>&5
30648 ac_status=$?
30649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30650 (exit $ac_status); }; }; then
30651 ac_cv_val_LC_MESSAGES=yes
30652 else
30653 echo "$as_me: failed program was:" >&5
30654 sed 's/^/| /' conftest.$ac_ext >&5
30656 ac_cv_val_LC_MESSAGES=no
30658 rm -f conftest.err conftest.$ac_objext \
30659 conftest$ac_exeext conftest.$ac_ext
30661 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
30662 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
30663 if test $ac_cv_val_LC_MESSAGES = yes; then
30664 cat >>confdefs.h <<\_ACEOF
30665 #define HAVE_LC_MESSAGES 1
30666 _ACEOF
30675 cat >conftest.$ac_ext <<_ACEOF
30676 /* confdefs.h. */
30677 _ACEOF
30678 cat confdefs.h >>conftest.$ac_ext
30679 cat >>conftest.$ac_ext <<_ACEOF
30680 /* end confdefs.h. */
30681 #include <setjmp.h>
30683 main ()
30685 sigjmp_buf env;
30686 while (! sigsetjmp (env, 1))
30687 siglongjmp (env, 1);
30690 return 0;
30692 _ACEOF
30693 rm -f conftest.$ac_objext
30694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30695 (eval $ac_compile) 2>conftest.er1
30696 ac_status=$?
30697 grep -v '^ *+' conftest.er1 >conftest.err
30698 rm -f conftest.er1
30699 cat conftest.err >&5
30700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30701 (exit $ac_status); } &&
30702 { ac_try='test -z "$ac_c_werror_flag"
30703 || test ! -s conftest.err'
30704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30705 (eval $ac_try) 2>&5
30706 ac_status=$?
30707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30708 (exit $ac_status); }; } &&
30709 { ac_try='test -s conftest.$ac_objext'
30710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30711 (eval $ac_try) 2>&5
30712 ac_status=$?
30713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30714 (exit $ac_status); }; }; then
30716 cat >>confdefs.h <<\_ACEOF
30717 #define HAVE_SIGSETJMP 1
30718 _ACEOF
30720 else
30721 echo "$as_me: failed program was:" >&5
30722 sed 's/^/| /' conftest.$ac_ext >&5
30725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30727 if test x$gcc_no_link = xyes; then
30728 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30729 ac_cv_func_mmap_fixed_mapped=no
30732 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30735 for ac_header in stdlib.h unistd.h
30737 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30739 echo "$as_me:$LINENO: checking for $ac_header" >&5
30740 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30742 echo $ECHO_N "(cached) $ECHO_C" >&6
30744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30745 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30746 else
30747 # Is the header compilable?
30748 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30749 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30750 cat >conftest.$ac_ext <<_ACEOF
30751 /* confdefs.h. */
30752 _ACEOF
30753 cat confdefs.h >>conftest.$ac_ext
30754 cat >>conftest.$ac_ext <<_ACEOF
30755 /* end confdefs.h. */
30756 $ac_includes_default
30757 #include <$ac_header>
30758 _ACEOF
30759 rm -f conftest.$ac_objext
30760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30761 (eval $ac_compile) 2>conftest.er1
30762 ac_status=$?
30763 grep -v '^ *+' conftest.er1 >conftest.err
30764 rm -f conftest.er1
30765 cat conftest.err >&5
30766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30767 (exit $ac_status); } &&
30768 { ac_try='test -z "$ac_c_werror_flag"
30769 || test ! -s conftest.err'
30770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30771 (eval $ac_try) 2>&5
30772 ac_status=$?
30773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30774 (exit $ac_status); }; } &&
30775 { ac_try='test -s conftest.$ac_objext'
30776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30777 (eval $ac_try) 2>&5
30778 ac_status=$?
30779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30780 (exit $ac_status); }; }; then
30781 ac_header_compiler=yes
30782 else
30783 echo "$as_me: failed program was:" >&5
30784 sed 's/^/| /' conftest.$ac_ext >&5
30786 ac_header_compiler=no
30788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30789 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30790 echo "${ECHO_T}$ac_header_compiler" >&6
30792 # Is the header present?
30793 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30794 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30795 cat >conftest.$ac_ext <<_ACEOF
30796 /* confdefs.h. */
30797 _ACEOF
30798 cat confdefs.h >>conftest.$ac_ext
30799 cat >>conftest.$ac_ext <<_ACEOF
30800 /* end confdefs.h. */
30801 #include <$ac_header>
30802 _ACEOF
30803 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30804 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30805 ac_status=$?
30806 grep -v '^ *+' conftest.er1 >conftest.err
30807 rm -f conftest.er1
30808 cat conftest.err >&5
30809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30810 (exit $ac_status); } >/dev/null; then
30811 if test -s conftest.err; then
30812 ac_cpp_err=$ac_c_preproc_warn_flag
30813 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30814 else
30815 ac_cpp_err=
30817 else
30818 ac_cpp_err=yes
30820 if test -z "$ac_cpp_err"; then
30821 ac_header_preproc=yes
30822 else
30823 echo "$as_me: failed program was:" >&5
30824 sed 's/^/| /' conftest.$ac_ext >&5
30826 ac_header_preproc=no
30828 rm -f conftest.err conftest.$ac_ext
30829 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30830 echo "${ECHO_T}$ac_header_preproc" >&6
30832 # So? What about this header?
30833 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30834 yes:no: )
30835 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30836 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30837 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30838 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30839 ac_header_preproc=yes
30841 no:yes:* )
30842 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30843 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30844 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30845 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30846 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30847 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30848 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30849 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30851 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30852 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30853 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30855 cat <<\_ASBOX
30856 ## ----------------------------------------- ##
30857 ## Report this to the package-unused lists. ##
30858 ## ----------------------------------------- ##
30859 _ASBOX
30861 sed "s/^/$as_me: WARNING: /" >&2
30863 esac
30864 echo "$as_me:$LINENO: checking for $ac_header" >&5
30865 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30867 echo $ECHO_N "(cached) $ECHO_C" >&6
30868 else
30869 eval "$as_ac_Header=\$ac_header_preproc"
30871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30872 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30876 cat >>confdefs.h <<_ACEOF
30877 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30878 _ACEOF
30882 done
30885 for ac_func in getpagesize
30887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30888 echo "$as_me:$LINENO: checking for $ac_func" >&5
30889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30890 if eval "test \"\${$as_ac_var+set}\" = set"; then
30891 echo $ECHO_N "(cached) $ECHO_C" >&6
30892 else
30893 if test x$gcc_no_link = xyes; then
30894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30896 { (exit 1); exit 1; }; }
30898 cat >conftest.$ac_ext <<_ACEOF
30899 /* confdefs.h. */
30900 _ACEOF
30901 cat confdefs.h >>conftest.$ac_ext
30902 cat >>conftest.$ac_ext <<_ACEOF
30903 /* end confdefs.h. */
30904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30906 #define $ac_func innocuous_$ac_func
30908 /* System header to define __stub macros and hopefully few prototypes,
30909 which can conflict with char $ac_func (); below.
30910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30911 <limits.h> exists even on freestanding compilers. */
30913 #ifdef __STDC__
30914 # include <limits.h>
30915 #else
30916 # include <assert.h>
30917 #endif
30919 #undef $ac_func
30921 /* Override any gcc2 internal prototype to avoid an error. */
30922 #ifdef __cplusplus
30923 extern "C"
30925 #endif
30926 /* We use char because int might match the return type of a gcc2
30927 builtin and then its argument prototype would still apply. */
30928 char $ac_func ();
30929 /* The GNU C library defines this for functions which it implements
30930 to always fail with ENOSYS. Some functions are actually named
30931 something starting with __ and the normal name is an alias. */
30932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30933 choke me
30934 #else
30935 char (*f) () = $ac_func;
30936 #endif
30937 #ifdef __cplusplus
30939 #endif
30942 main ()
30944 return f != $ac_func;
30946 return 0;
30948 _ACEOF
30949 rm -f conftest.$ac_objext conftest$ac_exeext
30950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30951 (eval $ac_link) 2>conftest.er1
30952 ac_status=$?
30953 grep -v '^ *+' conftest.er1 >conftest.err
30954 rm -f conftest.er1
30955 cat conftest.err >&5
30956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30957 (exit $ac_status); } &&
30958 { ac_try='test -z "$ac_c_werror_flag"
30959 || test ! -s conftest.err'
30960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30961 (eval $ac_try) 2>&5
30962 ac_status=$?
30963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30964 (exit $ac_status); }; } &&
30965 { ac_try='test -s conftest$ac_exeext'
30966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30967 (eval $ac_try) 2>&5
30968 ac_status=$?
30969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30970 (exit $ac_status); }; }; then
30971 eval "$as_ac_var=yes"
30972 else
30973 echo "$as_me: failed program was:" >&5
30974 sed 's/^/| /' conftest.$ac_ext >&5
30976 eval "$as_ac_var=no"
30978 rm -f conftest.err conftest.$ac_objext \
30979 conftest$ac_exeext conftest.$ac_ext
30981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30983 if test `eval echo '${'$as_ac_var'}'` = yes; then
30984 cat >>confdefs.h <<_ACEOF
30985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30986 _ACEOF
30989 done
30991 echo "$as_me:$LINENO: checking for working mmap" >&5
30992 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30993 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30994 echo $ECHO_N "(cached) $ECHO_C" >&6
30995 else
30996 if test "$cross_compiling" = yes; then
30997 ac_cv_func_mmap_fixed_mapped=no
30998 else
30999 cat >conftest.$ac_ext <<_ACEOF
31000 /* confdefs.h. */
31001 _ACEOF
31002 cat confdefs.h >>conftest.$ac_ext
31003 cat >>conftest.$ac_ext <<_ACEOF
31004 /* end confdefs.h. */
31005 $ac_includes_default
31006 /* malloc might have been renamed as rpl_malloc. */
31007 #undef malloc
31009 /* Thanks to Mike Haertel and Jim Avera for this test.
31010 Here is a matrix of mmap possibilities:
31011 mmap private not fixed
31012 mmap private fixed at somewhere currently unmapped
31013 mmap private fixed at somewhere already mapped
31014 mmap shared not fixed
31015 mmap shared fixed at somewhere currently unmapped
31016 mmap shared fixed at somewhere already mapped
31017 For private mappings, we should verify that changes cannot be read()
31018 back from the file, nor mmap's back from the file at a different
31019 address. (There have been systems where private was not correctly
31020 implemented like the infamous i386 svr4.0, and systems where the
31021 VM page cache was not coherent with the file system buffer cache
31022 like early versions of FreeBSD and possibly contemporary NetBSD.)
31023 For shared mappings, we should conversely verify that changes get
31024 propagated back to all the places they're supposed to be.
31026 Grep wants private fixed already mapped.
31027 The main things grep needs to know about mmap are:
31028 * does it exist and is it safe to write into the mmap'd area
31029 * how to use it (BSD variants) */
31031 #include <fcntl.h>
31032 #include <sys/mman.h>
31034 #if !STDC_HEADERS && !HAVE_STDLIB_H
31035 char *malloc ();
31036 #endif
31038 /* This mess was copied from the GNU getpagesize.h. */
31039 #if !HAVE_GETPAGESIZE
31040 /* Assume that all systems that can run configure have sys/param.h. */
31041 # if !HAVE_SYS_PARAM_H
31042 # define HAVE_SYS_PARAM_H 1
31043 # endif
31045 # ifdef _SC_PAGESIZE
31046 # define getpagesize() sysconf(_SC_PAGESIZE)
31047 # else /* no _SC_PAGESIZE */
31048 # if HAVE_SYS_PARAM_H
31049 # include <sys/param.h>
31050 # ifdef EXEC_PAGESIZE
31051 # define getpagesize() EXEC_PAGESIZE
31052 # else /* no EXEC_PAGESIZE */
31053 # ifdef NBPG
31054 # define getpagesize() NBPG * CLSIZE
31055 # ifndef CLSIZE
31056 # define CLSIZE 1
31057 # endif /* no CLSIZE */
31058 # else /* no NBPG */
31059 # ifdef NBPC
31060 # define getpagesize() NBPC
31061 # else /* no NBPC */
31062 # ifdef PAGESIZE
31063 # define getpagesize() PAGESIZE
31064 # endif /* PAGESIZE */
31065 # endif /* no NBPC */
31066 # endif /* no NBPG */
31067 # endif /* no EXEC_PAGESIZE */
31068 # else /* no HAVE_SYS_PARAM_H */
31069 # define getpagesize() 8192 /* punt totally */
31070 # endif /* no HAVE_SYS_PARAM_H */
31071 # endif /* no _SC_PAGESIZE */
31073 #endif /* no HAVE_GETPAGESIZE */
31076 main ()
31078 char *data, *data2, *data3;
31079 int i, pagesize;
31080 int fd;
31082 pagesize = getpagesize ();
31084 /* First, make a file with some known garbage in it. */
31085 data = (char *) malloc (pagesize);
31086 if (!data)
31087 exit (1);
31088 for (i = 0; i < pagesize; ++i)
31089 *(data + i) = rand ();
31090 umask (0);
31091 fd = creat ("conftest.mmap", 0600);
31092 if (fd < 0)
31093 exit (1);
31094 if (write (fd, data, pagesize) != pagesize)
31095 exit (1);
31096 close (fd);
31098 /* Next, try to mmap the file at a fixed address which already has
31099 something else allocated at it. If we can, also make sure that
31100 we see the same garbage. */
31101 fd = open ("conftest.mmap", O_RDWR);
31102 if (fd < 0)
31103 exit (1);
31104 data2 = (char *) malloc (2 * pagesize);
31105 if (!data2)
31106 exit (1);
31107 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
31108 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
31109 MAP_PRIVATE | MAP_FIXED, fd, 0L))
31110 exit (1);
31111 for (i = 0; i < pagesize; ++i)
31112 if (*(data + i) != *(data2 + i))
31113 exit (1);
31115 /* Finally, make sure that changes to the mapped area do not
31116 percolate back to the file as seen by read(). (This is a bug on
31117 some variants of i386 svr4.0.) */
31118 for (i = 0; i < pagesize; ++i)
31119 *(data2 + i) = *(data2 + i) + 1;
31120 data3 = (char *) malloc (pagesize);
31121 if (!data3)
31122 exit (1);
31123 if (read (fd, data3, pagesize) != pagesize)
31124 exit (1);
31125 for (i = 0; i < pagesize; ++i)
31126 if (*(data + i) != *(data3 + i))
31127 exit (1);
31128 close (fd);
31129 exit (0);
31131 _ACEOF
31132 rm -f conftest$ac_exeext
31133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31134 (eval $ac_link) 2>&5
31135 ac_status=$?
31136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31137 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31139 (eval $ac_try) 2>&5
31140 ac_status=$?
31141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31142 (exit $ac_status); }; }; then
31143 ac_cv_func_mmap_fixed_mapped=yes
31144 else
31145 echo "$as_me: program exited with status $ac_status" >&5
31146 echo "$as_me: failed program was:" >&5
31147 sed 's/^/| /' conftest.$ac_ext >&5
31149 ( exit $ac_status )
31150 ac_cv_func_mmap_fixed_mapped=no
31152 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31155 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
31156 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
31157 if test $ac_cv_func_mmap_fixed_mapped = yes; then
31159 cat >>confdefs.h <<\_ACEOF
31160 #define HAVE_MMAP 1
31161 _ACEOF
31164 rm -f conftest.mmap
31168 else
31170 # This lets us hard-code the functionality we know we'll have in the cross
31171 # target environment. "Let" is a sugar-coated word placed on an especially
31172 # dull and tedious hack, actually.
31174 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
31175 # that involve linking, can't be used:
31176 # "cannot open sim-crt0.o"
31177 # "cannot open crt0.o"
31178 # etc. All this is because there currently exists no unified, consistent
31179 # way for top level CC information to be passed down to target directories:
31180 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
31181 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
31182 # crosses can be removed.
31184 # If Canadian cross, then don't pick up tools from the build directory.
31185 # Used only in GLIBCXX_EXPORT_INCLUDES.
31186 if test -n "$with_cross_host" &&
31187 test x"$build_alias" != x"$with_cross_host" &&
31188 test x"$build" != x"$target";
31189 then
31190 CANADIAN=yes
31191 else
31192 CANADIAN=no
31195 # Construct crosses by hand, eliminating bits that need ld...
31196 # GLIBCXX_CHECK_COMPILER_FEATURES
31197 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
31198 # GLIBCXX_CHECK_MATH_SUPPORT
31200 # First, test for "known" system libraries. We may be using newlib even
31201 # on a hosted environment.
31202 if test "x${with_newlib}" = "xyes"; then
31203 os_include_dir="os/newlib"
31204 cat >>confdefs.h <<\_ACEOF
31205 #define HAVE_HYPOT 1
31206 _ACEOF
31209 # GLIBCXX_CHECK_STDLIB_SUPPORT
31210 cat >>confdefs.h <<\_ACEOF
31211 #define HAVE_STRTOF 1
31212 _ACEOF
31214 cat >>confdefs.h <<\_ACEOF
31215 #define HAVE_STRTOLD 1
31216 _ACEOF
31218 # AC_FUNC_MMAP
31219 cat >>confdefs.h <<\_ACEOF
31220 #define HAVE_MMAP 1
31221 _ACEOF
31224 cat >>confdefs.h <<\_ACEOF
31225 #define HAVE_ACOSF 1
31226 _ACEOF
31228 cat >>confdefs.h <<\_ACEOF
31229 #define HAVE_ASINF 1
31230 _ACEOF
31232 cat >>confdefs.h <<\_ACEOF
31233 #define HAVE_ATAN2F 1
31234 _ACEOF
31236 cat >>confdefs.h <<\_ACEOF
31237 #define HAVE_ATANF 1
31238 _ACEOF
31240 cat >>confdefs.h <<\_ACEOF
31241 #define HAVE_CEILF 1
31242 _ACEOF
31244 cat >>confdefs.h <<\_ACEOF
31245 #define HAVE_COPYSIGN 1
31246 _ACEOF
31248 cat >>confdefs.h <<\_ACEOF
31249 #define HAVE_COPYSIGNF 1
31250 _ACEOF
31252 cat >>confdefs.h <<\_ACEOF
31253 #define HAVE_COSF 1
31254 _ACEOF
31256 cat >>confdefs.h <<\_ACEOF
31257 #define HAVE_COSHF 1
31258 _ACEOF
31260 cat >>confdefs.h <<\_ACEOF
31261 #define HAVE_EXPF 1
31262 _ACEOF
31264 cat >>confdefs.h <<\_ACEOF
31265 #define HAVE_FABSF 1
31266 _ACEOF
31268 cat >>confdefs.h <<\_ACEOF
31269 #define HAVE_FLOORF 1
31270 _ACEOF
31272 cat >>confdefs.h <<\_ACEOF
31273 #define HAVE_FMODF 1
31274 _ACEOF
31276 cat >>confdefs.h <<\_ACEOF
31277 #define HAVE_FREXPF 1
31278 _ACEOF
31280 cat >>confdefs.h <<\_ACEOF
31281 #define HAVE_LDEXPF 1
31282 _ACEOF
31284 cat >>confdefs.h <<\_ACEOF
31285 #define HAVE_LOG10F 1
31286 _ACEOF
31288 cat >>confdefs.h <<\_ACEOF
31289 #define HAVE_LOGF 1
31290 _ACEOF
31292 cat >>confdefs.h <<\_ACEOF
31293 #define HAVE_MODFF 1
31294 _ACEOF
31296 cat >>confdefs.h <<\_ACEOF
31297 #define HAVE_POWF 1
31298 _ACEOF
31300 cat >>confdefs.h <<\_ACEOF
31301 #define HAVE_SINF 1
31302 _ACEOF
31304 cat >>confdefs.h <<\_ACEOF
31305 #define HAVE_SINHF 1
31306 _ACEOF
31308 cat >>confdefs.h <<\_ACEOF
31309 #define HAVE_SQRTF 1
31310 _ACEOF
31312 cat >>confdefs.h <<\_ACEOF
31313 #define HAVE_TANF 1
31314 _ACEOF
31316 cat >>confdefs.h <<\_ACEOF
31317 #define HAVE_TANHF 1
31318 _ACEOF
31321 cat >>confdefs.h <<\_ACEOF
31322 #define HAVE_S_ISREG 1
31323 _ACEOF
31325 cat >>confdefs.h <<\_ACEOF
31326 #define HAVE_S_IFREG 1
31327 _ACEOF
31329 else
31331 # Base decisions on target environment.
31332 case "${host}" in
31333 *-darwin*)
31334 # Darwin versions vary, but the linker should work in a cross environment,
31335 # so we just check for all the features here.
31336 # Check for available headers.
31350 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
31351 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
31352 sys/types.h
31354 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31355 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31356 echo "$as_me:$LINENO: checking for $ac_header" >&5
31357 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31359 echo $ECHO_N "(cached) $ECHO_C" >&6
31361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31362 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31363 else
31364 # Is the header compilable?
31365 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31366 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31367 cat >conftest.$ac_ext <<_ACEOF
31368 /* confdefs.h. */
31369 _ACEOF
31370 cat confdefs.h >>conftest.$ac_ext
31371 cat >>conftest.$ac_ext <<_ACEOF
31372 /* end confdefs.h. */
31373 $ac_includes_default
31374 #include <$ac_header>
31375 _ACEOF
31376 rm -f conftest.$ac_objext
31377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31378 (eval $ac_compile) 2>conftest.er1
31379 ac_status=$?
31380 grep -v '^ *+' conftest.er1 >conftest.err
31381 rm -f conftest.er1
31382 cat conftest.err >&5
31383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31384 (exit $ac_status); } &&
31385 { ac_try='test -z "$ac_c_werror_flag"
31386 || test ! -s conftest.err'
31387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31388 (eval $ac_try) 2>&5
31389 ac_status=$?
31390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31391 (exit $ac_status); }; } &&
31392 { ac_try='test -s conftest.$ac_objext'
31393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31394 (eval $ac_try) 2>&5
31395 ac_status=$?
31396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31397 (exit $ac_status); }; }; then
31398 ac_header_compiler=yes
31399 else
31400 echo "$as_me: failed program was:" >&5
31401 sed 's/^/| /' conftest.$ac_ext >&5
31403 ac_header_compiler=no
31405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31406 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31407 echo "${ECHO_T}$ac_header_compiler" >&6
31409 # Is the header present?
31410 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31411 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31412 cat >conftest.$ac_ext <<_ACEOF
31413 /* confdefs.h. */
31414 _ACEOF
31415 cat confdefs.h >>conftest.$ac_ext
31416 cat >>conftest.$ac_ext <<_ACEOF
31417 /* end confdefs.h. */
31418 #include <$ac_header>
31419 _ACEOF
31420 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31421 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31422 ac_status=$?
31423 grep -v '^ *+' conftest.er1 >conftest.err
31424 rm -f conftest.er1
31425 cat conftest.err >&5
31426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31427 (exit $ac_status); } >/dev/null; then
31428 if test -s conftest.err; then
31429 ac_cpp_err=$ac_c_preproc_warn_flag
31430 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31431 else
31432 ac_cpp_err=
31434 else
31435 ac_cpp_err=yes
31437 if test -z "$ac_cpp_err"; then
31438 ac_header_preproc=yes
31439 else
31440 echo "$as_me: failed program was:" >&5
31441 sed 's/^/| /' conftest.$ac_ext >&5
31443 ac_header_preproc=no
31445 rm -f conftest.err conftest.$ac_ext
31446 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31447 echo "${ECHO_T}$ac_header_preproc" >&6
31449 # So? What about this header?
31450 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31451 yes:no: )
31452 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31453 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31454 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31455 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31456 ac_header_preproc=yes
31458 no:yes:* )
31459 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31460 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31461 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31462 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31463 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31464 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31465 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31466 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31467 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31468 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31469 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31470 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31472 cat <<\_ASBOX
31473 ## ----------------------------------------- ##
31474 ## Report this to the package-unused lists. ##
31475 ## ----------------------------------------- ##
31476 _ASBOX
31478 sed "s/^/$as_me: WARNING: /" >&2
31480 esac
31481 echo "$as_me:$LINENO: checking for $ac_header" >&5
31482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31484 echo $ECHO_N "(cached) $ECHO_C" >&6
31485 else
31486 eval "$as_ac_Header=\$ac_header_preproc"
31488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31489 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31492 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31493 cat >>confdefs.h <<_ACEOF
31494 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31495 _ACEOF
31499 done
31503 # All these tests are for C++; save the language and the compiler flags.
31504 # The CXXFLAGS thing is suspicious, but based on similar bits previously
31505 # found in GLIBCXX_CONFIGURE.
31508 ac_ext=cc
31509 ac_cpp='$CXXCPP $CPPFLAGS'
31510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31514 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31515 ac_save_CXXFLAGS="$CXXFLAGS"
31517 # Check for maintainer-mode bits.
31518 if test x"$USE_MAINTAINER_MODE" = xno; then
31519 WERROR=''
31520 else
31521 WERROR='-Werror'
31524 # Check for -ffunction-sections -fdata-sections
31525 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
31526 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
31527 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
31528 cat >conftest.$ac_ext <<_ACEOF
31529 /* confdefs.h. */
31530 _ACEOF
31531 cat confdefs.h >>conftest.$ac_ext
31532 cat >>conftest.$ac_ext <<_ACEOF
31533 /* end confdefs.h. */
31536 main ()
31538 int foo;
31540 return 0;
31542 _ACEOF
31543 rm -f conftest.$ac_objext
31544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31545 (eval $ac_compile) 2>conftest.er1
31546 ac_status=$?
31547 grep -v '^ *+' conftest.er1 >conftest.err
31548 rm -f conftest.er1
31549 cat conftest.err >&5
31550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31551 (exit $ac_status); } &&
31552 { ac_try='test -z "$ac_cxx_werror_flag"
31553 || test ! -s conftest.err'
31554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31555 (eval $ac_try) 2>&5
31556 ac_status=$?
31557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31558 (exit $ac_status); }; } &&
31559 { ac_try='test -s conftest.$ac_objext'
31560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31561 (eval $ac_try) 2>&5
31562 ac_status=$?
31563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31564 (exit $ac_status); }; }; then
31565 ac_fdsections=yes
31566 else
31567 echo "$as_me: failed program was:" >&5
31568 sed 's/^/| /' conftest.$ac_ext >&5
31570 ac_fdsections=no
31572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31573 if test "$ac_test_CXXFLAGS" = set; then
31574 CXXFLAGS="$ac_save_CXXFLAGS"
31575 else
31576 # this is the suspicious part
31577 CXXFLAGS=''
31579 if test x"$ac_fdsections" = x"yes"; then
31580 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31582 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31583 echo "${ECHO_T}$ac_fdsections" >&6
31585 ac_ext=c
31586 ac_cpp='$CPP $CPPFLAGS'
31587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31594 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31596 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31597 ac_save_CXXFLAGS="$CXXFLAGS"
31598 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31600 echo "$as_me:$LINENO: checking for sin in -lm" >&5
31601 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31602 if test "${ac_cv_lib_m_sin+set}" = set; then
31603 echo $ECHO_N "(cached) $ECHO_C" >&6
31604 else
31605 ac_check_lib_save_LIBS=$LIBS
31606 LIBS="-lm $LIBS"
31607 if test x$gcc_no_link = xyes; then
31608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31610 { (exit 1); exit 1; }; }
31612 cat >conftest.$ac_ext <<_ACEOF
31613 /* confdefs.h. */
31614 _ACEOF
31615 cat confdefs.h >>conftest.$ac_ext
31616 cat >>conftest.$ac_ext <<_ACEOF
31617 /* end confdefs.h. */
31619 /* Override any gcc2 internal prototype to avoid an error. */
31620 #ifdef __cplusplus
31621 extern "C"
31622 #endif
31623 /* We use char because int might match the return type of a gcc2
31624 builtin and then its argument prototype would still apply. */
31625 char sin ();
31627 main ()
31629 sin ();
31631 return 0;
31633 _ACEOF
31634 rm -f conftest.$ac_objext conftest$ac_exeext
31635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31636 (eval $ac_link) 2>conftest.er1
31637 ac_status=$?
31638 grep -v '^ *+' conftest.er1 >conftest.err
31639 rm -f conftest.er1
31640 cat conftest.err >&5
31641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31642 (exit $ac_status); } &&
31643 { ac_try='test -z "$ac_c_werror_flag"
31644 || test ! -s conftest.err'
31645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31646 (eval $ac_try) 2>&5
31647 ac_status=$?
31648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31649 (exit $ac_status); }; } &&
31650 { ac_try='test -s conftest$ac_exeext'
31651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31652 (eval $ac_try) 2>&5
31653 ac_status=$?
31654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31655 (exit $ac_status); }; }; then
31656 ac_cv_lib_m_sin=yes
31657 else
31658 echo "$as_me: failed program was:" >&5
31659 sed 's/^/| /' conftest.$ac_ext >&5
31661 ac_cv_lib_m_sin=no
31663 rm -f conftest.err conftest.$ac_objext \
31664 conftest$ac_exeext conftest.$ac_ext
31665 LIBS=$ac_check_lib_save_LIBS
31667 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
31668 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
31669 if test $ac_cv_lib_m_sin = yes; then
31670 libm="-lm"
31673 ac_save_LIBS="$LIBS"
31674 LIBS="$LIBS $libm"
31676 echo "$as_me:$LINENO: checking for sqrtf in -lmx" >&5
31677 echo $ECHO_N "checking for sqrtf in -lmx... $ECHO_C" >&6
31678 if test "${ac_cv_lib_mx_sqrtf+set}" = set; then
31679 echo $ECHO_N "(cached) $ECHO_C" >&6
31680 else
31681 ac_check_lib_save_LIBS=$LIBS
31682 LIBS="-lmx $LIBS"
31683 if test x$gcc_no_link = xyes; then
31684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31686 { (exit 1); exit 1; }; }
31688 cat >conftest.$ac_ext <<_ACEOF
31689 /* confdefs.h. */
31690 _ACEOF
31691 cat confdefs.h >>conftest.$ac_ext
31692 cat >>conftest.$ac_ext <<_ACEOF
31693 /* end confdefs.h. */
31695 /* Override any gcc2 internal prototype to avoid an error. */
31696 #ifdef __cplusplus
31697 extern "C"
31698 #endif
31699 /* We use char because int might match the return type of a gcc2
31700 builtin and then its argument prototype would still apply. */
31701 char sqrtf ();
31703 main ()
31705 sqrtf ();
31707 return 0;
31709 _ACEOF
31710 rm -f conftest.$ac_objext conftest$ac_exeext
31711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31712 (eval $ac_link) 2>conftest.er1
31713 ac_status=$?
31714 grep -v '^ *+' conftest.er1 >conftest.err
31715 rm -f conftest.er1
31716 cat conftest.err >&5
31717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31718 (exit $ac_status); } &&
31719 { ac_try='test -z "$ac_c_werror_flag"
31720 || test ! -s conftest.err'
31721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31722 (eval $ac_try) 2>&5
31723 ac_status=$?
31724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31725 (exit $ac_status); }; } &&
31726 { ac_try='test -s conftest$ac_exeext'
31727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31728 (eval $ac_try) 2>&5
31729 ac_status=$?
31730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31731 (exit $ac_status); }; }; then
31732 ac_cv_lib_mx_sqrtf=yes
31733 else
31734 echo "$as_me: failed program was:" >&5
31735 sed 's/^/| /' conftest.$ac_ext >&5
31737 ac_cv_lib_mx_sqrtf=no
31739 rm -f conftest.err conftest.$ac_objext \
31740 conftest$ac_exeext conftest.$ac_ext
31741 LIBS=$ac_check_lib_save_LIBS
31743 echo "$as_me:$LINENO: result: $ac_cv_lib_mx_sqrtf" >&5
31744 echo "${ECHO_T}$ac_cv_lib_mx_sqrtf" >&6
31745 if test $ac_cv_lib_mx_sqrtf = yes; then
31746 libmx="-lmx"
31749 LIBS="$LIBS $libmx"
31753 echo "$as_me:$LINENO: checking for isinf declaration" >&5
31754 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
31755 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31756 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
31757 echo $ECHO_N "(cached) $ECHO_C" >&6
31758 else
31762 ac_ext=cc
31763 ac_cpp='$CXXCPP $CPPFLAGS'
31764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31768 cat >conftest.$ac_ext <<_ACEOF
31769 /* confdefs.h. */
31770 _ACEOF
31771 cat confdefs.h >>conftest.$ac_ext
31772 cat >>conftest.$ac_ext <<_ACEOF
31773 /* end confdefs.h. */
31774 #include <math.h>
31775 #ifdef HAVE_IEEEFP_H
31776 #include <ieeefp.h>
31777 #endif
31780 main ()
31782 isinf(0);
31784 return 0;
31786 _ACEOF
31787 rm -f conftest.$ac_objext
31788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31789 (eval $ac_compile) 2>conftest.er1
31790 ac_status=$?
31791 grep -v '^ *+' conftest.er1 >conftest.err
31792 rm -f conftest.er1
31793 cat conftest.err >&5
31794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31795 (exit $ac_status); } &&
31796 { ac_try='test -z "$ac_cxx_werror_flag"
31797 || test ! -s conftest.err'
31798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31799 (eval $ac_try) 2>&5
31800 ac_status=$?
31801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31802 (exit $ac_status); }; } &&
31803 { ac_try='test -s conftest.$ac_objext'
31804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31805 (eval $ac_try) 2>&5
31806 ac_status=$?
31807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31808 (exit $ac_status); }; }; then
31809 glibcxx_cv_func_isinf_use=yes
31810 else
31811 echo "$as_me: failed program was:" >&5
31812 sed 's/^/| /' conftest.$ac_ext >&5
31814 glibcxx_cv_func_isinf_use=no
31816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31817 ac_ext=c
31818 ac_cpp='$CPP $CPPFLAGS'
31819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31827 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
31828 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
31830 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31832 for ac_func in isinf
31834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31835 echo "$as_me:$LINENO: checking for $ac_func" >&5
31836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31837 if eval "test \"\${$as_ac_var+set}\" = set"; then
31838 echo $ECHO_N "(cached) $ECHO_C" >&6
31839 else
31840 if test x$gcc_no_link = xyes; then
31841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31843 { (exit 1); exit 1; }; }
31845 cat >conftest.$ac_ext <<_ACEOF
31846 /* confdefs.h. */
31847 _ACEOF
31848 cat confdefs.h >>conftest.$ac_ext
31849 cat >>conftest.$ac_ext <<_ACEOF
31850 /* end confdefs.h. */
31851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31853 #define $ac_func innocuous_$ac_func
31855 /* System header to define __stub macros and hopefully few prototypes,
31856 which can conflict with char $ac_func (); below.
31857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31858 <limits.h> exists even on freestanding compilers. */
31860 #ifdef __STDC__
31861 # include <limits.h>
31862 #else
31863 # include <assert.h>
31864 #endif
31866 #undef $ac_func
31868 /* Override any gcc2 internal prototype to avoid an error. */
31869 #ifdef __cplusplus
31870 extern "C"
31872 #endif
31873 /* We use char because int might match the return type of a gcc2
31874 builtin and then its argument prototype would still apply. */
31875 char $ac_func ();
31876 /* The GNU C library defines this for functions which it implements
31877 to always fail with ENOSYS. Some functions are actually named
31878 something starting with __ and the normal name is an alias. */
31879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31880 choke me
31881 #else
31882 char (*f) () = $ac_func;
31883 #endif
31884 #ifdef __cplusplus
31886 #endif
31889 main ()
31891 return f != $ac_func;
31893 return 0;
31895 _ACEOF
31896 rm -f conftest.$ac_objext conftest$ac_exeext
31897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31898 (eval $ac_link) 2>conftest.er1
31899 ac_status=$?
31900 grep -v '^ *+' conftest.er1 >conftest.err
31901 rm -f conftest.er1
31902 cat conftest.err >&5
31903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31904 (exit $ac_status); } &&
31905 { ac_try='test -z "$ac_c_werror_flag"
31906 || test ! -s conftest.err'
31907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31908 (eval $ac_try) 2>&5
31909 ac_status=$?
31910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31911 (exit $ac_status); }; } &&
31912 { ac_try='test -s conftest$ac_exeext'
31913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31914 (eval $ac_try) 2>&5
31915 ac_status=$?
31916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31917 (exit $ac_status); }; }; then
31918 eval "$as_ac_var=yes"
31919 else
31920 echo "$as_me: failed program was:" >&5
31921 sed 's/^/| /' conftest.$ac_ext >&5
31923 eval "$as_ac_var=no"
31925 rm -f conftest.err conftest.$ac_objext \
31926 conftest$ac_exeext conftest.$ac_ext
31928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31930 if test `eval echo '${'$as_ac_var'}'` = yes; then
31931 cat >>confdefs.h <<_ACEOF
31932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31933 _ACEOF
31936 done
31938 else
31940 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31941 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31942 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31943 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31944 echo $ECHO_N "(cached) $ECHO_C" >&6
31945 else
31949 ac_ext=cc
31950 ac_cpp='$CXXCPP $CPPFLAGS'
31951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31955 cat >conftest.$ac_ext <<_ACEOF
31956 /* confdefs.h. */
31957 _ACEOF
31958 cat confdefs.h >>conftest.$ac_ext
31959 cat >>conftest.$ac_ext <<_ACEOF
31960 /* end confdefs.h. */
31961 #include <math.h>
31962 #ifdef HAVE_IEEEFP_H
31963 #include <ieeefp.h>
31964 #endif
31967 main ()
31969 _isinf(0);
31971 return 0;
31973 _ACEOF
31974 rm -f conftest.$ac_objext
31975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31976 (eval $ac_compile) 2>conftest.er1
31977 ac_status=$?
31978 grep -v '^ *+' conftest.er1 >conftest.err
31979 rm -f conftest.er1
31980 cat conftest.err >&5
31981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31982 (exit $ac_status); } &&
31983 { ac_try='test -z "$ac_cxx_werror_flag"
31984 || test ! -s conftest.err'
31985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31986 (eval $ac_try) 2>&5
31987 ac_status=$?
31988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31989 (exit $ac_status); }; } &&
31990 { ac_try='test -s conftest.$ac_objext'
31991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31992 (eval $ac_try) 2>&5
31993 ac_status=$?
31994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31995 (exit $ac_status); }; }; then
31996 glibcxx_cv_func__isinf_use=yes
31997 else
31998 echo "$as_me: failed program was:" >&5
31999 sed 's/^/| /' conftest.$ac_ext >&5
32001 glibcxx_cv_func__isinf_use=no
32003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32004 ac_ext=c
32005 ac_cpp='$CPP $CPPFLAGS'
32006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32014 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
32015 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
32017 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32019 for ac_func in _isinf
32021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32022 echo "$as_me:$LINENO: checking for $ac_func" >&5
32023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32024 if eval "test \"\${$as_ac_var+set}\" = set"; then
32025 echo $ECHO_N "(cached) $ECHO_C" >&6
32026 else
32027 if test x$gcc_no_link = xyes; then
32028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32030 { (exit 1); exit 1; }; }
32032 cat >conftest.$ac_ext <<_ACEOF
32033 /* confdefs.h. */
32034 _ACEOF
32035 cat confdefs.h >>conftest.$ac_ext
32036 cat >>conftest.$ac_ext <<_ACEOF
32037 /* end confdefs.h. */
32038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32040 #define $ac_func innocuous_$ac_func
32042 /* System header to define __stub macros and hopefully few prototypes,
32043 which can conflict with char $ac_func (); below.
32044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32045 <limits.h> exists even on freestanding compilers. */
32047 #ifdef __STDC__
32048 # include <limits.h>
32049 #else
32050 # include <assert.h>
32051 #endif
32053 #undef $ac_func
32055 /* Override any gcc2 internal prototype to avoid an error. */
32056 #ifdef __cplusplus
32057 extern "C"
32059 #endif
32060 /* We use char because int might match the return type of a gcc2
32061 builtin and then its argument prototype would still apply. */
32062 char $ac_func ();
32063 /* The GNU C library defines this for functions which it implements
32064 to always fail with ENOSYS. Some functions are actually named
32065 something starting with __ and the normal name is an alias. */
32066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32067 choke me
32068 #else
32069 char (*f) () = $ac_func;
32070 #endif
32071 #ifdef __cplusplus
32073 #endif
32076 main ()
32078 return f != $ac_func;
32080 return 0;
32082 _ACEOF
32083 rm -f conftest.$ac_objext conftest$ac_exeext
32084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32085 (eval $ac_link) 2>conftest.er1
32086 ac_status=$?
32087 grep -v '^ *+' conftest.er1 >conftest.err
32088 rm -f conftest.er1
32089 cat conftest.err >&5
32090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32091 (exit $ac_status); } &&
32092 { ac_try='test -z "$ac_c_werror_flag"
32093 || test ! -s conftest.err'
32094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32095 (eval $ac_try) 2>&5
32096 ac_status=$?
32097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32098 (exit $ac_status); }; } &&
32099 { ac_try='test -s conftest$ac_exeext'
32100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32101 (eval $ac_try) 2>&5
32102 ac_status=$?
32103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32104 (exit $ac_status); }; }; then
32105 eval "$as_ac_var=yes"
32106 else
32107 echo "$as_me: failed program was:" >&5
32108 sed 's/^/| /' conftest.$ac_ext >&5
32110 eval "$as_ac_var=no"
32112 rm -f conftest.err conftest.$ac_objext \
32113 conftest$ac_exeext conftest.$ac_ext
32115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32117 if test `eval echo '${'$as_ac_var'}'` = yes; then
32118 cat >>confdefs.h <<_ACEOF
32119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32120 _ACEOF
32123 done
32130 echo "$as_me:$LINENO: checking for isnan declaration" >&5
32131 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
32132 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32133 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
32134 echo $ECHO_N "(cached) $ECHO_C" >&6
32135 else
32139 ac_ext=cc
32140 ac_cpp='$CXXCPP $CPPFLAGS'
32141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32145 cat >conftest.$ac_ext <<_ACEOF
32146 /* confdefs.h. */
32147 _ACEOF
32148 cat confdefs.h >>conftest.$ac_ext
32149 cat >>conftest.$ac_ext <<_ACEOF
32150 /* end confdefs.h. */
32151 #include <math.h>
32152 #ifdef HAVE_IEEEFP_H
32153 #include <ieeefp.h>
32154 #endif
32157 main ()
32159 isnan(0);
32161 return 0;
32163 _ACEOF
32164 rm -f conftest.$ac_objext
32165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32166 (eval $ac_compile) 2>conftest.er1
32167 ac_status=$?
32168 grep -v '^ *+' conftest.er1 >conftest.err
32169 rm -f conftest.er1
32170 cat conftest.err >&5
32171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32172 (exit $ac_status); } &&
32173 { ac_try='test -z "$ac_cxx_werror_flag"
32174 || test ! -s conftest.err'
32175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32176 (eval $ac_try) 2>&5
32177 ac_status=$?
32178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32179 (exit $ac_status); }; } &&
32180 { ac_try='test -s conftest.$ac_objext'
32181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32182 (eval $ac_try) 2>&5
32183 ac_status=$?
32184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32185 (exit $ac_status); }; }; then
32186 glibcxx_cv_func_isnan_use=yes
32187 else
32188 echo "$as_me: failed program was:" >&5
32189 sed 's/^/| /' conftest.$ac_ext >&5
32191 glibcxx_cv_func_isnan_use=no
32193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32194 ac_ext=c
32195 ac_cpp='$CPP $CPPFLAGS'
32196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32204 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
32205 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
32207 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32209 for ac_func in isnan
32211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32212 echo "$as_me:$LINENO: checking for $ac_func" >&5
32213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32214 if eval "test \"\${$as_ac_var+set}\" = set"; then
32215 echo $ECHO_N "(cached) $ECHO_C" >&6
32216 else
32217 if test x$gcc_no_link = xyes; then
32218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32220 { (exit 1); exit 1; }; }
32222 cat >conftest.$ac_ext <<_ACEOF
32223 /* confdefs.h. */
32224 _ACEOF
32225 cat confdefs.h >>conftest.$ac_ext
32226 cat >>conftest.$ac_ext <<_ACEOF
32227 /* end confdefs.h. */
32228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32230 #define $ac_func innocuous_$ac_func
32232 /* System header to define __stub macros and hopefully few prototypes,
32233 which can conflict with char $ac_func (); below.
32234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32235 <limits.h> exists even on freestanding compilers. */
32237 #ifdef __STDC__
32238 # include <limits.h>
32239 #else
32240 # include <assert.h>
32241 #endif
32243 #undef $ac_func
32245 /* Override any gcc2 internal prototype to avoid an error. */
32246 #ifdef __cplusplus
32247 extern "C"
32249 #endif
32250 /* We use char because int might match the return type of a gcc2
32251 builtin and then its argument prototype would still apply. */
32252 char $ac_func ();
32253 /* The GNU C library defines this for functions which it implements
32254 to always fail with ENOSYS. Some functions are actually named
32255 something starting with __ and the normal name is an alias. */
32256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32257 choke me
32258 #else
32259 char (*f) () = $ac_func;
32260 #endif
32261 #ifdef __cplusplus
32263 #endif
32266 main ()
32268 return f != $ac_func;
32270 return 0;
32272 _ACEOF
32273 rm -f conftest.$ac_objext conftest$ac_exeext
32274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32275 (eval $ac_link) 2>conftest.er1
32276 ac_status=$?
32277 grep -v '^ *+' conftest.er1 >conftest.err
32278 rm -f conftest.er1
32279 cat conftest.err >&5
32280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32281 (exit $ac_status); } &&
32282 { ac_try='test -z "$ac_c_werror_flag"
32283 || test ! -s conftest.err'
32284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32285 (eval $ac_try) 2>&5
32286 ac_status=$?
32287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32288 (exit $ac_status); }; } &&
32289 { ac_try='test -s conftest$ac_exeext'
32290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32291 (eval $ac_try) 2>&5
32292 ac_status=$?
32293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32294 (exit $ac_status); }; }; then
32295 eval "$as_ac_var=yes"
32296 else
32297 echo "$as_me: failed program was:" >&5
32298 sed 's/^/| /' conftest.$ac_ext >&5
32300 eval "$as_ac_var=no"
32302 rm -f conftest.err conftest.$ac_objext \
32303 conftest$ac_exeext conftest.$ac_ext
32305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32307 if test `eval echo '${'$as_ac_var'}'` = yes; then
32308 cat >>confdefs.h <<_ACEOF
32309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32310 _ACEOF
32313 done
32315 else
32317 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
32318 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
32319 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32320 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
32321 echo $ECHO_N "(cached) $ECHO_C" >&6
32322 else
32326 ac_ext=cc
32327 ac_cpp='$CXXCPP $CPPFLAGS'
32328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32332 cat >conftest.$ac_ext <<_ACEOF
32333 /* confdefs.h. */
32334 _ACEOF
32335 cat confdefs.h >>conftest.$ac_ext
32336 cat >>conftest.$ac_ext <<_ACEOF
32337 /* end confdefs.h. */
32338 #include <math.h>
32339 #ifdef HAVE_IEEEFP_H
32340 #include <ieeefp.h>
32341 #endif
32344 main ()
32346 _isnan(0);
32348 return 0;
32350 _ACEOF
32351 rm -f conftest.$ac_objext
32352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32353 (eval $ac_compile) 2>conftest.er1
32354 ac_status=$?
32355 grep -v '^ *+' conftest.er1 >conftest.err
32356 rm -f conftest.er1
32357 cat conftest.err >&5
32358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32359 (exit $ac_status); } &&
32360 { ac_try='test -z "$ac_cxx_werror_flag"
32361 || test ! -s conftest.err'
32362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32363 (eval $ac_try) 2>&5
32364 ac_status=$?
32365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32366 (exit $ac_status); }; } &&
32367 { ac_try='test -s conftest.$ac_objext'
32368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32369 (eval $ac_try) 2>&5
32370 ac_status=$?
32371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32372 (exit $ac_status); }; }; then
32373 glibcxx_cv_func__isnan_use=yes
32374 else
32375 echo "$as_me: failed program was:" >&5
32376 sed 's/^/| /' conftest.$ac_ext >&5
32378 glibcxx_cv_func__isnan_use=no
32380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32381 ac_ext=c
32382 ac_cpp='$CPP $CPPFLAGS'
32383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32391 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
32392 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
32394 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32396 for ac_func in _isnan
32398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32399 echo "$as_me:$LINENO: checking for $ac_func" >&5
32400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32401 if eval "test \"\${$as_ac_var+set}\" = set"; then
32402 echo $ECHO_N "(cached) $ECHO_C" >&6
32403 else
32404 if test x$gcc_no_link = xyes; then
32405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32407 { (exit 1); exit 1; }; }
32409 cat >conftest.$ac_ext <<_ACEOF
32410 /* confdefs.h. */
32411 _ACEOF
32412 cat confdefs.h >>conftest.$ac_ext
32413 cat >>conftest.$ac_ext <<_ACEOF
32414 /* end confdefs.h. */
32415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32417 #define $ac_func innocuous_$ac_func
32419 /* System header to define __stub macros and hopefully few prototypes,
32420 which can conflict with char $ac_func (); below.
32421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32422 <limits.h> exists even on freestanding compilers. */
32424 #ifdef __STDC__
32425 # include <limits.h>
32426 #else
32427 # include <assert.h>
32428 #endif
32430 #undef $ac_func
32432 /* Override any gcc2 internal prototype to avoid an error. */
32433 #ifdef __cplusplus
32434 extern "C"
32436 #endif
32437 /* We use char because int might match the return type of a gcc2
32438 builtin and then its argument prototype would still apply. */
32439 char $ac_func ();
32440 /* The GNU C library defines this for functions which it implements
32441 to always fail with ENOSYS. Some functions are actually named
32442 something starting with __ and the normal name is an alias. */
32443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32444 choke me
32445 #else
32446 char (*f) () = $ac_func;
32447 #endif
32448 #ifdef __cplusplus
32450 #endif
32453 main ()
32455 return f != $ac_func;
32457 return 0;
32459 _ACEOF
32460 rm -f conftest.$ac_objext conftest$ac_exeext
32461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32462 (eval $ac_link) 2>conftest.er1
32463 ac_status=$?
32464 grep -v '^ *+' conftest.er1 >conftest.err
32465 rm -f conftest.er1
32466 cat conftest.err >&5
32467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32468 (exit $ac_status); } &&
32469 { ac_try='test -z "$ac_c_werror_flag"
32470 || test ! -s conftest.err'
32471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32472 (eval $ac_try) 2>&5
32473 ac_status=$?
32474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32475 (exit $ac_status); }; } &&
32476 { ac_try='test -s conftest$ac_exeext'
32477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32478 (eval $ac_try) 2>&5
32479 ac_status=$?
32480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32481 (exit $ac_status); }; }; then
32482 eval "$as_ac_var=yes"
32483 else
32484 echo "$as_me: failed program was:" >&5
32485 sed 's/^/| /' conftest.$ac_ext >&5
32487 eval "$as_ac_var=no"
32489 rm -f conftest.err conftest.$ac_objext \
32490 conftest$ac_exeext conftest.$ac_ext
32492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32494 if test `eval echo '${'$as_ac_var'}'` = yes; then
32495 cat >>confdefs.h <<_ACEOF
32496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32497 _ACEOF
32500 done
32507 echo "$as_me:$LINENO: checking for finite declaration" >&5
32508 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
32509 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32510 if test "${glibcxx_cv_func_finite_use+set}" = set; then
32511 echo $ECHO_N "(cached) $ECHO_C" >&6
32512 else
32516 ac_ext=cc
32517 ac_cpp='$CXXCPP $CPPFLAGS'
32518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32522 cat >conftest.$ac_ext <<_ACEOF
32523 /* confdefs.h. */
32524 _ACEOF
32525 cat confdefs.h >>conftest.$ac_ext
32526 cat >>conftest.$ac_ext <<_ACEOF
32527 /* end confdefs.h. */
32528 #include <math.h>
32529 #ifdef HAVE_IEEEFP_H
32530 #include <ieeefp.h>
32531 #endif
32534 main ()
32536 finite(0);
32538 return 0;
32540 _ACEOF
32541 rm -f conftest.$ac_objext
32542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32543 (eval $ac_compile) 2>conftest.er1
32544 ac_status=$?
32545 grep -v '^ *+' conftest.er1 >conftest.err
32546 rm -f conftest.er1
32547 cat conftest.err >&5
32548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32549 (exit $ac_status); } &&
32550 { ac_try='test -z "$ac_cxx_werror_flag"
32551 || test ! -s conftest.err'
32552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32553 (eval $ac_try) 2>&5
32554 ac_status=$?
32555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32556 (exit $ac_status); }; } &&
32557 { ac_try='test -s conftest.$ac_objext'
32558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32559 (eval $ac_try) 2>&5
32560 ac_status=$?
32561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32562 (exit $ac_status); }; }; then
32563 glibcxx_cv_func_finite_use=yes
32564 else
32565 echo "$as_me: failed program was:" >&5
32566 sed 's/^/| /' conftest.$ac_ext >&5
32568 glibcxx_cv_func_finite_use=no
32570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32571 ac_ext=c
32572 ac_cpp='$CPP $CPPFLAGS'
32573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32581 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
32582 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
32584 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32586 for ac_func in finite
32588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32589 echo "$as_me:$LINENO: checking for $ac_func" >&5
32590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32591 if eval "test \"\${$as_ac_var+set}\" = set"; then
32592 echo $ECHO_N "(cached) $ECHO_C" >&6
32593 else
32594 if test x$gcc_no_link = xyes; then
32595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32597 { (exit 1); exit 1; }; }
32599 cat >conftest.$ac_ext <<_ACEOF
32600 /* confdefs.h. */
32601 _ACEOF
32602 cat confdefs.h >>conftest.$ac_ext
32603 cat >>conftest.$ac_ext <<_ACEOF
32604 /* end confdefs.h. */
32605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32607 #define $ac_func innocuous_$ac_func
32609 /* System header to define __stub macros and hopefully few prototypes,
32610 which can conflict with char $ac_func (); below.
32611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32612 <limits.h> exists even on freestanding compilers. */
32614 #ifdef __STDC__
32615 # include <limits.h>
32616 #else
32617 # include <assert.h>
32618 #endif
32620 #undef $ac_func
32622 /* Override any gcc2 internal prototype to avoid an error. */
32623 #ifdef __cplusplus
32624 extern "C"
32626 #endif
32627 /* We use char because int might match the return type of a gcc2
32628 builtin and then its argument prototype would still apply. */
32629 char $ac_func ();
32630 /* The GNU C library defines this for functions which it implements
32631 to always fail with ENOSYS. Some functions are actually named
32632 something starting with __ and the normal name is an alias. */
32633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32634 choke me
32635 #else
32636 char (*f) () = $ac_func;
32637 #endif
32638 #ifdef __cplusplus
32640 #endif
32643 main ()
32645 return f != $ac_func;
32647 return 0;
32649 _ACEOF
32650 rm -f conftest.$ac_objext conftest$ac_exeext
32651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32652 (eval $ac_link) 2>conftest.er1
32653 ac_status=$?
32654 grep -v '^ *+' conftest.er1 >conftest.err
32655 rm -f conftest.er1
32656 cat conftest.err >&5
32657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32658 (exit $ac_status); } &&
32659 { ac_try='test -z "$ac_c_werror_flag"
32660 || test ! -s conftest.err'
32661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32662 (eval $ac_try) 2>&5
32663 ac_status=$?
32664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32665 (exit $ac_status); }; } &&
32666 { ac_try='test -s conftest$ac_exeext'
32667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32668 (eval $ac_try) 2>&5
32669 ac_status=$?
32670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32671 (exit $ac_status); }; }; then
32672 eval "$as_ac_var=yes"
32673 else
32674 echo "$as_me: failed program was:" >&5
32675 sed 's/^/| /' conftest.$ac_ext >&5
32677 eval "$as_ac_var=no"
32679 rm -f conftest.err conftest.$ac_objext \
32680 conftest$ac_exeext conftest.$ac_ext
32682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32684 if test `eval echo '${'$as_ac_var'}'` = yes; then
32685 cat >>confdefs.h <<_ACEOF
32686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32687 _ACEOF
32690 done
32692 else
32694 echo "$as_me:$LINENO: checking for _finite declaration" >&5
32695 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32696 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32697 if test "${glibcxx_cv_func__finite_use+set}" = set; then
32698 echo $ECHO_N "(cached) $ECHO_C" >&6
32699 else
32703 ac_ext=cc
32704 ac_cpp='$CXXCPP $CPPFLAGS'
32705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32709 cat >conftest.$ac_ext <<_ACEOF
32710 /* confdefs.h. */
32711 _ACEOF
32712 cat confdefs.h >>conftest.$ac_ext
32713 cat >>conftest.$ac_ext <<_ACEOF
32714 /* end confdefs.h. */
32715 #include <math.h>
32716 #ifdef HAVE_IEEEFP_H
32717 #include <ieeefp.h>
32718 #endif
32721 main ()
32723 _finite(0);
32725 return 0;
32727 _ACEOF
32728 rm -f conftest.$ac_objext
32729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32730 (eval $ac_compile) 2>conftest.er1
32731 ac_status=$?
32732 grep -v '^ *+' conftest.er1 >conftest.err
32733 rm -f conftest.er1
32734 cat conftest.err >&5
32735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32736 (exit $ac_status); } &&
32737 { ac_try='test -z "$ac_cxx_werror_flag"
32738 || test ! -s conftest.err'
32739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32740 (eval $ac_try) 2>&5
32741 ac_status=$?
32742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32743 (exit $ac_status); }; } &&
32744 { ac_try='test -s conftest.$ac_objext'
32745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32746 (eval $ac_try) 2>&5
32747 ac_status=$?
32748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32749 (exit $ac_status); }; }; then
32750 glibcxx_cv_func__finite_use=yes
32751 else
32752 echo "$as_me: failed program was:" >&5
32753 sed 's/^/| /' conftest.$ac_ext >&5
32755 glibcxx_cv_func__finite_use=no
32757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32758 ac_ext=c
32759 ac_cpp='$CPP $CPPFLAGS'
32760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32768 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
32769 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
32771 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32773 for ac_func in _finite
32775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32776 echo "$as_me:$LINENO: checking for $ac_func" >&5
32777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32778 if eval "test \"\${$as_ac_var+set}\" = set"; then
32779 echo $ECHO_N "(cached) $ECHO_C" >&6
32780 else
32781 if test x$gcc_no_link = xyes; then
32782 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32784 { (exit 1); exit 1; }; }
32786 cat >conftest.$ac_ext <<_ACEOF
32787 /* confdefs.h. */
32788 _ACEOF
32789 cat confdefs.h >>conftest.$ac_ext
32790 cat >>conftest.$ac_ext <<_ACEOF
32791 /* end confdefs.h. */
32792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32794 #define $ac_func innocuous_$ac_func
32796 /* System header to define __stub macros and hopefully few prototypes,
32797 which can conflict with char $ac_func (); below.
32798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32799 <limits.h> exists even on freestanding compilers. */
32801 #ifdef __STDC__
32802 # include <limits.h>
32803 #else
32804 # include <assert.h>
32805 #endif
32807 #undef $ac_func
32809 /* Override any gcc2 internal prototype to avoid an error. */
32810 #ifdef __cplusplus
32811 extern "C"
32813 #endif
32814 /* We use char because int might match the return type of a gcc2
32815 builtin and then its argument prototype would still apply. */
32816 char $ac_func ();
32817 /* The GNU C library defines this for functions which it implements
32818 to always fail with ENOSYS. Some functions are actually named
32819 something starting with __ and the normal name is an alias. */
32820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32821 choke me
32822 #else
32823 char (*f) () = $ac_func;
32824 #endif
32825 #ifdef __cplusplus
32827 #endif
32830 main ()
32832 return f != $ac_func;
32834 return 0;
32836 _ACEOF
32837 rm -f conftest.$ac_objext conftest$ac_exeext
32838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32839 (eval $ac_link) 2>conftest.er1
32840 ac_status=$?
32841 grep -v '^ *+' conftest.er1 >conftest.err
32842 rm -f conftest.er1
32843 cat conftest.err >&5
32844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32845 (exit $ac_status); } &&
32846 { ac_try='test -z "$ac_c_werror_flag"
32847 || test ! -s conftest.err'
32848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32849 (eval $ac_try) 2>&5
32850 ac_status=$?
32851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32852 (exit $ac_status); }; } &&
32853 { ac_try='test -s conftest$ac_exeext'
32854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32855 (eval $ac_try) 2>&5
32856 ac_status=$?
32857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32858 (exit $ac_status); }; }; then
32859 eval "$as_ac_var=yes"
32860 else
32861 echo "$as_me: failed program was:" >&5
32862 sed 's/^/| /' conftest.$ac_ext >&5
32864 eval "$as_ac_var=no"
32866 rm -f conftest.err conftest.$ac_objext \
32867 conftest$ac_exeext conftest.$ac_ext
32869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32871 if test `eval echo '${'$as_ac_var'}'` = yes; then
32872 cat >>confdefs.h <<_ACEOF
32873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32874 _ACEOF
32877 done
32884 echo "$as_me:$LINENO: checking for copysign declaration" >&5
32885 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32886 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32887 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32888 echo $ECHO_N "(cached) $ECHO_C" >&6
32889 else
32893 ac_ext=cc
32894 ac_cpp='$CXXCPP $CPPFLAGS'
32895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32899 cat >conftest.$ac_ext <<_ACEOF
32900 /* confdefs.h. */
32901 _ACEOF
32902 cat confdefs.h >>conftest.$ac_ext
32903 cat >>conftest.$ac_ext <<_ACEOF
32904 /* end confdefs.h. */
32905 #include <math.h>
32907 main ()
32909 copysign(0, 0);
32911 return 0;
32913 _ACEOF
32914 rm -f conftest.$ac_objext
32915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32916 (eval $ac_compile) 2>conftest.er1
32917 ac_status=$?
32918 grep -v '^ *+' conftest.er1 >conftest.err
32919 rm -f conftest.er1
32920 cat conftest.err >&5
32921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32922 (exit $ac_status); } &&
32923 { ac_try='test -z "$ac_cxx_werror_flag"
32924 || test ! -s conftest.err'
32925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32926 (eval $ac_try) 2>&5
32927 ac_status=$?
32928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32929 (exit $ac_status); }; } &&
32930 { ac_try='test -s conftest.$ac_objext'
32931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32932 (eval $ac_try) 2>&5
32933 ac_status=$?
32934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32935 (exit $ac_status); }; }; then
32936 glibcxx_cv_func_copysign_use=yes
32937 else
32938 echo "$as_me: failed program was:" >&5
32939 sed 's/^/| /' conftest.$ac_ext >&5
32941 glibcxx_cv_func_copysign_use=no
32943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32944 ac_ext=c
32945 ac_cpp='$CPP $CPPFLAGS'
32946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32954 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32955 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32957 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32959 for ac_func in copysign
32961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32962 echo "$as_me:$LINENO: checking for $ac_func" >&5
32963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32964 if eval "test \"\${$as_ac_var+set}\" = set"; then
32965 echo $ECHO_N "(cached) $ECHO_C" >&6
32966 else
32967 if test x$gcc_no_link = xyes; then
32968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32970 { (exit 1); exit 1; }; }
32972 cat >conftest.$ac_ext <<_ACEOF
32973 /* confdefs.h. */
32974 _ACEOF
32975 cat confdefs.h >>conftest.$ac_ext
32976 cat >>conftest.$ac_ext <<_ACEOF
32977 /* end confdefs.h. */
32978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32980 #define $ac_func innocuous_$ac_func
32982 /* System header to define __stub macros and hopefully few prototypes,
32983 which can conflict with char $ac_func (); below.
32984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32985 <limits.h> exists even on freestanding compilers. */
32987 #ifdef __STDC__
32988 # include <limits.h>
32989 #else
32990 # include <assert.h>
32991 #endif
32993 #undef $ac_func
32995 /* Override any gcc2 internal prototype to avoid an error. */
32996 #ifdef __cplusplus
32997 extern "C"
32999 #endif
33000 /* We use char because int might match the return type of a gcc2
33001 builtin and then its argument prototype would still apply. */
33002 char $ac_func ();
33003 /* The GNU C library defines this for functions which it implements
33004 to always fail with ENOSYS. Some functions are actually named
33005 something starting with __ and the normal name is an alias. */
33006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33007 choke me
33008 #else
33009 char (*f) () = $ac_func;
33010 #endif
33011 #ifdef __cplusplus
33013 #endif
33016 main ()
33018 return f != $ac_func;
33020 return 0;
33022 _ACEOF
33023 rm -f conftest.$ac_objext conftest$ac_exeext
33024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33025 (eval $ac_link) 2>conftest.er1
33026 ac_status=$?
33027 grep -v '^ *+' conftest.er1 >conftest.err
33028 rm -f conftest.er1
33029 cat conftest.err >&5
33030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33031 (exit $ac_status); } &&
33032 { ac_try='test -z "$ac_c_werror_flag"
33033 || test ! -s conftest.err'
33034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33035 (eval $ac_try) 2>&5
33036 ac_status=$?
33037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33038 (exit $ac_status); }; } &&
33039 { ac_try='test -s conftest$ac_exeext'
33040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33041 (eval $ac_try) 2>&5
33042 ac_status=$?
33043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33044 (exit $ac_status); }; }; then
33045 eval "$as_ac_var=yes"
33046 else
33047 echo "$as_me: failed program was:" >&5
33048 sed 's/^/| /' conftest.$ac_ext >&5
33050 eval "$as_ac_var=no"
33052 rm -f conftest.err conftest.$ac_objext \
33053 conftest$ac_exeext conftest.$ac_ext
33055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33057 if test `eval echo '${'$as_ac_var'}'` = yes; then
33058 cat >>confdefs.h <<_ACEOF
33059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33060 _ACEOF
33063 done
33065 else
33067 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
33068 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
33069 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
33070 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
33071 echo $ECHO_N "(cached) $ECHO_C" >&6
33072 else
33076 ac_ext=cc
33077 ac_cpp='$CXXCPP $CPPFLAGS'
33078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33082 cat >conftest.$ac_ext <<_ACEOF
33083 /* confdefs.h. */
33084 _ACEOF
33085 cat confdefs.h >>conftest.$ac_ext
33086 cat >>conftest.$ac_ext <<_ACEOF
33087 /* end confdefs.h. */
33088 #include <math.h>
33090 main ()
33092 _copysign(0, 0);
33094 return 0;
33096 _ACEOF
33097 rm -f conftest.$ac_objext
33098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33099 (eval $ac_compile) 2>conftest.er1
33100 ac_status=$?
33101 grep -v '^ *+' conftest.er1 >conftest.err
33102 rm -f conftest.er1
33103 cat conftest.err >&5
33104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33105 (exit $ac_status); } &&
33106 { ac_try='test -z "$ac_cxx_werror_flag"
33107 || test ! -s conftest.err'
33108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33109 (eval $ac_try) 2>&5
33110 ac_status=$?
33111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33112 (exit $ac_status); }; } &&
33113 { ac_try='test -s conftest.$ac_objext'
33114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33115 (eval $ac_try) 2>&5
33116 ac_status=$?
33117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33118 (exit $ac_status); }; }; then
33119 glibcxx_cv_func__copysign_use=yes
33120 else
33121 echo "$as_me: failed program was:" >&5
33122 sed 's/^/| /' conftest.$ac_ext >&5
33124 glibcxx_cv_func__copysign_use=no
33126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33127 ac_ext=c
33128 ac_cpp='$CPP $CPPFLAGS'
33129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33137 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
33138 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
33140 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
33142 for ac_func in _copysign
33144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33145 echo "$as_me:$LINENO: checking for $ac_func" >&5
33146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33147 if eval "test \"\${$as_ac_var+set}\" = set"; then
33148 echo $ECHO_N "(cached) $ECHO_C" >&6
33149 else
33150 if test x$gcc_no_link = xyes; then
33151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33153 { (exit 1); exit 1; }; }
33155 cat >conftest.$ac_ext <<_ACEOF
33156 /* confdefs.h. */
33157 _ACEOF
33158 cat confdefs.h >>conftest.$ac_ext
33159 cat >>conftest.$ac_ext <<_ACEOF
33160 /* end confdefs.h. */
33161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33163 #define $ac_func innocuous_$ac_func
33165 /* System header to define __stub macros and hopefully few prototypes,
33166 which can conflict with char $ac_func (); below.
33167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33168 <limits.h> exists even on freestanding compilers. */
33170 #ifdef __STDC__
33171 # include <limits.h>
33172 #else
33173 # include <assert.h>
33174 #endif
33176 #undef $ac_func
33178 /* Override any gcc2 internal prototype to avoid an error. */
33179 #ifdef __cplusplus
33180 extern "C"
33182 #endif
33183 /* We use char because int might match the return type of a gcc2
33184 builtin and then its argument prototype would still apply. */
33185 char $ac_func ();
33186 /* The GNU C library defines this for functions which it implements
33187 to always fail with ENOSYS. Some functions are actually named
33188 something starting with __ and the normal name is an alias. */
33189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33190 choke me
33191 #else
33192 char (*f) () = $ac_func;
33193 #endif
33194 #ifdef __cplusplus
33196 #endif
33199 main ()
33201 return f != $ac_func;
33203 return 0;
33205 _ACEOF
33206 rm -f conftest.$ac_objext conftest$ac_exeext
33207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33208 (eval $ac_link) 2>conftest.er1
33209 ac_status=$?
33210 grep -v '^ *+' conftest.er1 >conftest.err
33211 rm -f conftest.er1
33212 cat conftest.err >&5
33213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33214 (exit $ac_status); } &&
33215 { ac_try='test -z "$ac_c_werror_flag"
33216 || test ! -s conftest.err'
33217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33218 (eval $ac_try) 2>&5
33219 ac_status=$?
33220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33221 (exit $ac_status); }; } &&
33222 { ac_try='test -s conftest$ac_exeext'
33223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33224 (eval $ac_try) 2>&5
33225 ac_status=$?
33226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33227 (exit $ac_status); }; }; then
33228 eval "$as_ac_var=yes"
33229 else
33230 echo "$as_me: failed program was:" >&5
33231 sed 's/^/| /' conftest.$ac_ext >&5
33233 eval "$as_ac_var=no"
33235 rm -f conftest.err conftest.$ac_objext \
33236 conftest$ac_exeext conftest.$ac_ext
33238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33240 if test `eval echo '${'$as_ac_var'}'` = yes; then
33241 cat >>confdefs.h <<_ACEOF
33242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33243 _ACEOF
33246 done
33253 echo "$as_me:$LINENO: checking for sincos declaration" >&5
33254 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
33255 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33256 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
33257 echo $ECHO_N "(cached) $ECHO_C" >&6
33258 else
33262 ac_ext=cc
33263 ac_cpp='$CXXCPP $CPPFLAGS'
33264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33268 cat >conftest.$ac_ext <<_ACEOF
33269 /* confdefs.h. */
33270 _ACEOF
33271 cat confdefs.h >>conftest.$ac_ext
33272 cat >>conftest.$ac_ext <<_ACEOF
33273 /* end confdefs.h. */
33274 #include <math.h>
33276 main ()
33278 sincos(0, 0, 0);
33280 return 0;
33282 _ACEOF
33283 rm -f conftest.$ac_objext
33284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33285 (eval $ac_compile) 2>conftest.er1
33286 ac_status=$?
33287 grep -v '^ *+' conftest.er1 >conftest.err
33288 rm -f conftest.er1
33289 cat conftest.err >&5
33290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33291 (exit $ac_status); } &&
33292 { ac_try='test -z "$ac_cxx_werror_flag"
33293 || test ! -s conftest.err'
33294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33295 (eval $ac_try) 2>&5
33296 ac_status=$?
33297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33298 (exit $ac_status); }; } &&
33299 { ac_try='test -s conftest.$ac_objext'
33300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33301 (eval $ac_try) 2>&5
33302 ac_status=$?
33303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33304 (exit $ac_status); }; }; then
33305 glibcxx_cv_func_sincos_use=yes
33306 else
33307 echo "$as_me: failed program was:" >&5
33308 sed 's/^/| /' conftest.$ac_ext >&5
33310 glibcxx_cv_func_sincos_use=no
33312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33313 ac_ext=c
33314 ac_cpp='$CPP $CPPFLAGS'
33315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33323 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
33324 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
33326 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33328 for ac_func in sincos
33330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33331 echo "$as_me:$LINENO: checking for $ac_func" >&5
33332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33333 if eval "test \"\${$as_ac_var+set}\" = set"; then
33334 echo $ECHO_N "(cached) $ECHO_C" >&6
33335 else
33336 if test x$gcc_no_link = xyes; then
33337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33339 { (exit 1); exit 1; }; }
33341 cat >conftest.$ac_ext <<_ACEOF
33342 /* confdefs.h. */
33343 _ACEOF
33344 cat confdefs.h >>conftest.$ac_ext
33345 cat >>conftest.$ac_ext <<_ACEOF
33346 /* end confdefs.h. */
33347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33349 #define $ac_func innocuous_$ac_func
33351 /* System header to define __stub macros and hopefully few prototypes,
33352 which can conflict with char $ac_func (); below.
33353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33354 <limits.h> exists even on freestanding compilers. */
33356 #ifdef __STDC__
33357 # include <limits.h>
33358 #else
33359 # include <assert.h>
33360 #endif
33362 #undef $ac_func
33364 /* Override any gcc2 internal prototype to avoid an error. */
33365 #ifdef __cplusplus
33366 extern "C"
33368 #endif
33369 /* We use char because int might match the return type of a gcc2
33370 builtin and then its argument prototype would still apply. */
33371 char $ac_func ();
33372 /* The GNU C library defines this for functions which it implements
33373 to always fail with ENOSYS. Some functions are actually named
33374 something starting with __ and the normal name is an alias. */
33375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33376 choke me
33377 #else
33378 char (*f) () = $ac_func;
33379 #endif
33380 #ifdef __cplusplus
33382 #endif
33385 main ()
33387 return f != $ac_func;
33389 return 0;
33391 _ACEOF
33392 rm -f conftest.$ac_objext conftest$ac_exeext
33393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33394 (eval $ac_link) 2>conftest.er1
33395 ac_status=$?
33396 grep -v '^ *+' conftest.er1 >conftest.err
33397 rm -f conftest.er1
33398 cat conftest.err >&5
33399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33400 (exit $ac_status); } &&
33401 { ac_try='test -z "$ac_c_werror_flag"
33402 || test ! -s conftest.err'
33403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33404 (eval $ac_try) 2>&5
33405 ac_status=$?
33406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33407 (exit $ac_status); }; } &&
33408 { ac_try='test -s conftest$ac_exeext'
33409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33410 (eval $ac_try) 2>&5
33411 ac_status=$?
33412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33413 (exit $ac_status); }; }; then
33414 eval "$as_ac_var=yes"
33415 else
33416 echo "$as_me: failed program was:" >&5
33417 sed 's/^/| /' conftest.$ac_ext >&5
33419 eval "$as_ac_var=no"
33421 rm -f conftest.err conftest.$ac_objext \
33422 conftest$ac_exeext conftest.$ac_ext
33424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33426 if test `eval echo '${'$as_ac_var'}'` = yes; then
33427 cat >>confdefs.h <<_ACEOF
33428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33429 _ACEOF
33432 done
33434 else
33436 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
33437 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
33438 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33439 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
33440 echo $ECHO_N "(cached) $ECHO_C" >&6
33441 else
33445 ac_ext=cc
33446 ac_cpp='$CXXCPP $CPPFLAGS'
33447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33451 cat >conftest.$ac_ext <<_ACEOF
33452 /* confdefs.h. */
33453 _ACEOF
33454 cat confdefs.h >>conftest.$ac_ext
33455 cat >>conftest.$ac_ext <<_ACEOF
33456 /* end confdefs.h. */
33457 #include <math.h>
33459 main ()
33461 _sincos(0, 0, 0);
33463 return 0;
33465 _ACEOF
33466 rm -f conftest.$ac_objext
33467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33468 (eval $ac_compile) 2>conftest.er1
33469 ac_status=$?
33470 grep -v '^ *+' conftest.er1 >conftest.err
33471 rm -f conftest.er1
33472 cat conftest.err >&5
33473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33474 (exit $ac_status); } &&
33475 { ac_try='test -z "$ac_cxx_werror_flag"
33476 || test ! -s conftest.err'
33477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33478 (eval $ac_try) 2>&5
33479 ac_status=$?
33480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33481 (exit $ac_status); }; } &&
33482 { ac_try='test -s conftest.$ac_objext'
33483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33484 (eval $ac_try) 2>&5
33485 ac_status=$?
33486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33487 (exit $ac_status); }; }; then
33488 glibcxx_cv_func__sincos_use=yes
33489 else
33490 echo "$as_me: failed program was:" >&5
33491 sed 's/^/| /' conftest.$ac_ext >&5
33493 glibcxx_cv_func__sincos_use=no
33495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33496 ac_ext=c
33497 ac_cpp='$CPP $CPPFLAGS'
33498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33506 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
33507 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
33509 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33511 for ac_func in _sincos
33513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33514 echo "$as_me:$LINENO: checking for $ac_func" >&5
33515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33516 if eval "test \"\${$as_ac_var+set}\" = set"; then
33517 echo $ECHO_N "(cached) $ECHO_C" >&6
33518 else
33519 if test x$gcc_no_link = xyes; then
33520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33522 { (exit 1); exit 1; }; }
33524 cat >conftest.$ac_ext <<_ACEOF
33525 /* confdefs.h. */
33526 _ACEOF
33527 cat confdefs.h >>conftest.$ac_ext
33528 cat >>conftest.$ac_ext <<_ACEOF
33529 /* end confdefs.h. */
33530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33532 #define $ac_func innocuous_$ac_func
33534 /* System header to define __stub macros and hopefully few prototypes,
33535 which can conflict with char $ac_func (); below.
33536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33537 <limits.h> exists even on freestanding compilers. */
33539 #ifdef __STDC__
33540 # include <limits.h>
33541 #else
33542 # include <assert.h>
33543 #endif
33545 #undef $ac_func
33547 /* Override any gcc2 internal prototype to avoid an error. */
33548 #ifdef __cplusplus
33549 extern "C"
33551 #endif
33552 /* We use char because int might match the return type of a gcc2
33553 builtin and then its argument prototype would still apply. */
33554 char $ac_func ();
33555 /* The GNU C library defines this for functions which it implements
33556 to always fail with ENOSYS. Some functions are actually named
33557 something starting with __ and the normal name is an alias. */
33558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33559 choke me
33560 #else
33561 char (*f) () = $ac_func;
33562 #endif
33563 #ifdef __cplusplus
33565 #endif
33568 main ()
33570 return f != $ac_func;
33572 return 0;
33574 _ACEOF
33575 rm -f conftest.$ac_objext conftest$ac_exeext
33576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33577 (eval $ac_link) 2>conftest.er1
33578 ac_status=$?
33579 grep -v '^ *+' conftest.er1 >conftest.err
33580 rm -f conftest.er1
33581 cat conftest.err >&5
33582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33583 (exit $ac_status); } &&
33584 { ac_try='test -z "$ac_c_werror_flag"
33585 || test ! -s conftest.err'
33586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33587 (eval $ac_try) 2>&5
33588 ac_status=$?
33589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33590 (exit $ac_status); }; } &&
33591 { ac_try='test -s conftest$ac_exeext'
33592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33593 (eval $ac_try) 2>&5
33594 ac_status=$?
33595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33596 (exit $ac_status); }; }; then
33597 eval "$as_ac_var=yes"
33598 else
33599 echo "$as_me: failed program was:" >&5
33600 sed 's/^/| /' conftest.$ac_ext >&5
33602 eval "$as_ac_var=no"
33604 rm -f conftest.err conftest.$ac_objext \
33605 conftest$ac_exeext conftest.$ac_ext
33607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33609 if test `eval echo '${'$as_ac_var'}'` = yes; then
33610 cat >>confdefs.h <<_ACEOF
33611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33612 _ACEOF
33615 done
33622 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
33623 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
33624 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33625 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
33626 echo $ECHO_N "(cached) $ECHO_C" >&6
33627 else
33631 ac_ext=cc
33632 ac_cpp='$CXXCPP $CPPFLAGS'
33633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33637 cat >conftest.$ac_ext <<_ACEOF
33638 /* confdefs.h. */
33639 _ACEOF
33640 cat confdefs.h >>conftest.$ac_ext
33641 cat >>conftest.$ac_ext <<_ACEOF
33642 /* end confdefs.h. */
33643 #include <math.h>
33644 #ifdef HAVE_IEEEFP_H
33645 #include <ieeefp.h>
33646 #endif
33649 main ()
33651 fpclass(0);
33653 return 0;
33655 _ACEOF
33656 rm -f conftest.$ac_objext
33657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33658 (eval $ac_compile) 2>conftest.er1
33659 ac_status=$?
33660 grep -v '^ *+' conftest.er1 >conftest.err
33661 rm -f conftest.er1
33662 cat conftest.err >&5
33663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33664 (exit $ac_status); } &&
33665 { ac_try='test -z "$ac_cxx_werror_flag"
33666 || test ! -s conftest.err'
33667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33668 (eval $ac_try) 2>&5
33669 ac_status=$?
33670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33671 (exit $ac_status); }; } &&
33672 { ac_try='test -s conftest.$ac_objext'
33673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33674 (eval $ac_try) 2>&5
33675 ac_status=$?
33676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33677 (exit $ac_status); }; }; then
33678 glibcxx_cv_func_fpclass_use=yes
33679 else
33680 echo "$as_me: failed program was:" >&5
33681 sed 's/^/| /' conftest.$ac_ext >&5
33683 glibcxx_cv_func_fpclass_use=no
33685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33686 ac_ext=c
33687 ac_cpp='$CPP $CPPFLAGS'
33688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33696 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
33697 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33699 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33701 for ac_func in fpclass
33703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33704 echo "$as_me:$LINENO: checking for $ac_func" >&5
33705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33706 if eval "test \"\${$as_ac_var+set}\" = set"; then
33707 echo $ECHO_N "(cached) $ECHO_C" >&6
33708 else
33709 if test x$gcc_no_link = xyes; then
33710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33712 { (exit 1); exit 1; }; }
33714 cat >conftest.$ac_ext <<_ACEOF
33715 /* confdefs.h. */
33716 _ACEOF
33717 cat confdefs.h >>conftest.$ac_ext
33718 cat >>conftest.$ac_ext <<_ACEOF
33719 /* end confdefs.h. */
33720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33722 #define $ac_func innocuous_$ac_func
33724 /* System header to define __stub macros and hopefully few prototypes,
33725 which can conflict with char $ac_func (); below.
33726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33727 <limits.h> exists even on freestanding compilers. */
33729 #ifdef __STDC__
33730 # include <limits.h>
33731 #else
33732 # include <assert.h>
33733 #endif
33735 #undef $ac_func
33737 /* Override any gcc2 internal prototype to avoid an error. */
33738 #ifdef __cplusplus
33739 extern "C"
33741 #endif
33742 /* We use char because int might match the return type of a gcc2
33743 builtin and then its argument prototype would still apply. */
33744 char $ac_func ();
33745 /* The GNU C library defines this for functions which it implements
33746 to always fail with ENOSYS. Some functions are actually named
33747 something starting with __ and the normal name is an alias. */
33748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33749 choke me
33750 #else
33751 char (*f) () = $ac_func;
33752 #endif
33753 #ifdef __cplusplus
33755 #endif
33758 main ()
33760 return f != $ac_func;
33762 return 0;
33764 _ACEOF
33765 rm -f conftest.$ac_objext conftest$ac_exeext
33766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33767 (eval $ac_link) 2>conftest.er1
33768 ac_status=$?
33769 grep -v '^ *+' conftest.er1 >conftest.err
33770 rm -f conftest.er1
33771 cat conftest.err >&5
33772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33773 (exit $ac_status); } &&
33774 { ac_try='test -z "$ac_c_werror_flag"
33775 || test ! -s conftest.err'
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); }; } &&
33781 { ac_try='test -s conftest$ac_exeext'
33782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33783 (eval $ac_try) 2>&5
33784 ac_status=$?
33785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33786 (exit $ac_status); }; }; then
33787 eval "$as_ac_var=yes"
33788 else
33789 echo "$as_me: failed program was:" >&5
33790 sed 's/^/| /' conftest.$ac_ext >&5
33792 eval "$as_ac_var=no"
33794 rm -f conftest.err conftest.$ac_objext \
33795 conftest$ac_exeext conftest.$ac_ext
33797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33799 if test `eval echo '${'$as_ac_var'}'` = yes; then
33800 cat >>confdefs.h <<_ACEOF
33801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33802 _ACEOF
33805 done
33807 else
33809 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
33810 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
33811 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33812 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
33813 echo $ECHO_N "(cached) $ECHO_C" >&6
33814 else
33818 ac_ext=cc
33819 ac_cpp='$CXXCPP $CPPFLAGS'
33820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33824 cat >conftest.$ac_ext <<_ACEOF
33825 /* confdefs.h. */
33826 _ACEOF
33827 cat confdefs.h >>conftest.$ac_ext
33828 cat >>conftest.$ac_ext <<_ACEOF
33829 /* end confdefs.h. */
33830 #include <math.h>
33831 #ifdef HAVE_IEEEFP_H
33832 #include <ieeefp.h>
33833 #endif
33836 main ()
33838 _fpclass(0);
33840 return 0;
33842 _ACEOF
33843 rm -f conftest.$ac_objext
33844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33845 (eval $ac_compile) 2>conftest.er1
33846 ac_status=$?
33847 grep -v '^ *+' conftest.er1 >conftest.err
33848 rm -f conftest.er1
33849 cat conftest.err >&5
33850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33851 (exit $ac_status); } &&
33852 { ac_try='test -z "$ac_cxx_werror_flag"
33853 || test ! -s conftest.err'
33854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33855 (eval $ac_try) 2>&5
33856 ac_status=$?
33857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33858 (exit $ac_status); }; } &&
33859 { ac_try='test -s conftest.$ac_objext'
33860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33861 (eval $ac_try) 2>&5
33862 ac_status=$?
33863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33864 (exit $ac_status); }; }; then
33865 glibcxx_cv_func__fpclass_use=yes
33866 else
33867 echo "$as_me: failed program was:" >&5
33868 sed 's/^/| /' conftest.$ac_ext >&5
33870 glibcxx_cv_func__fpclass_use=no
33872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33873 ac_ext=c
33874 ac_cpp='$CPP $CPPFLAGS'
33875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33883 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33884 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33886 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33888 for ac_func in _fpclass
33890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33891 echo "$as_me:$LINENO: checking for $ac_func" >&5
33892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33893 if eval "test \"\${$as_ac_var+set}\" = set"; then
33894 echo $ECHO_N "(cached) $ECHO_C" >&6
33895 else
33896 if test x$gcc_no_link = xyes; then
33897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33899 { (exit 1); exit 1; }; }
33901 cat >conftest.$ac_ext <<_ACEOF
33902 /* confdefs.h. */
33903 _ACEOF
33904 cat confdefs.h >>conftest.$ac_ext
33905 cat >>conftest.$ac_ext <<_ACEOF
33906 /* end confdefs.h. */
33907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33909 #define $ac_func innocuous_$ac_func
33911 /* System header to define __stub macros and hopefully few prototypes,
33912 which can conflict with char $ac_func (); below.
33913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33914 <limits.h> exists even on freestanding compilers. */
33916 #ifdef __STDC__
33917 # include <limits.h>
33918 #else
33919 # include <assert.h>
33920 #endif
33922 #undef $ac_func
33924 /* Override any gcc2 internal prototype to avoid an error. */
33925 #ifdef __cplusplus
33926 extern "C"
33928 #endif
33929 /* We use char because int might match the return type of a gcc2
33930 builtin and then its argument prototype would still apply. */
33931 char $ac_func ();
33932 /* The GNU C library defines this for functions which it implements
33933 to always fail with ENOSYS. Some functions are actually named
33934 something starting with __ and the normal name is an alias. */
33935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33936 choke me
33937 #else
33938 char (*f) () = $ac_func;
33939 #endif
33940 #ifdef __cplusplus
33942 #endif
33945 main ()
33947 return f != $ac_func;
33949 return 0;
33951 _ACEOF
33952 rm -f conftest.$ac_objext conftest$ac_exeext
33953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33954 (eval $ac_link) 2>conftest.er1
33955 ac_status=$?
33956 grep -v '^ *+' conftest.er1 >conftest.err
33957 rm -f conftest.er1
33958 cat conftest.err >&5
33959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33960 (exit $ac_status); } &&
33961 { ac_try='test -z "$ac_c_werror_flag"
33962 || test ! -s conftest.err'
33963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33964 (eval $ac_try) 2>&5
33965 ac_status=$?
33966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33967 (exit $ac_status); }; } &&
33968 { ac_try='test -s conftest$ac_exeext'
33969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33970 (eval $ac_try) 2>&5
33971 ac_status=$?
33972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33973 (exit $ac_status); }; }; then
33974 eval "$as_ac_var=yes"
33975 else
33976 echo "$as_me: failed program was:" >&5
33977 sed 's/^/| /' conftest.$ac_ext >&5
33979 eval "$as_ac_var=no"
33981 rm -f conftest.err conftest.$ac_objext \
33982 conftest$ac_exeext conftest.$ac_ext
33984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33986 if test `eval echo '${'$as_ac_var'}'` = yes; then
33987 cat >>confdefs.h <<_ACEOF
33988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33989 _ACEOF
33992 done
33999 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
34000 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
34001 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34002 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
34003 echo $ECHO_N "(cached) $ECHO_C" >&6
34004 else
34008 ac_ext=cc
34009 ac_cpp='$CXXCPP $CPPFLAGS'
34010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34014 cat >conftest.$ac_ext <<_ACEOF
34015 /* confdefs.h. */
34016 _ACEOF
34017 cat confdefs.h >>conftest.$ac_ext
34018 cat >>conftest.$ac_ext <<_ACEOF
34019 /* end confdefs.h. */
34020 #include <math.h>
34021 #ifdef HAVE_IEEEFP_H
34022 #include <ieeefp.h>
34023 #endif
34026 main ()
34028 qfpclass(0);
34030 return 0;
34032 _ACEOF
34033 rm -f conftest.$ac_objext
34034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34035 (eval $ac_compile) 2>conftest.er1
34036 ac_status=$?
34037 grep -v '^ *+' conftest.er1 >conftest.err
34038 rm -f conftest.er1
34039 cat conftest.err >&5
34040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34041 (exit $ac_status); } &&
34042 { ac_try='test -z "$ac_cxx_werror_flag"
34043 || test ! -s conftest.err'
34044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34045 (eval $ac_try) 2>&5
34046 ac_status=$?
34047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34048 (exit $ac_status); }; } &&
34049 { ac_try='test -s conftest.$ac_objext'
34050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34051 (eval $ac_try) 2>&5
34052 ac_status=$?
34053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34054 (exit $ac_status); }; }; then
34055 glibcxx_cv_func_qfpclass_use=yes
34056 else
34057 echo "$as_me: failed program was:" >&5
34058 sed 's/^/| /' conftest.$ac_ext >&5
34060 glibcxx_cv_func_qfpclass_use=no
34062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34063 ac_ext=c
34064 ac_cpp='$CPP $CPPFLAGS'
34065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34073 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
34074 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
34076 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34078 for ac_func in qfpclass
34080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34081 echo "$as_me:$LINENO: checking for $ac_func" >&5
34082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34083 if eval "test \"\${$as_ac_var+set}\" = set"; then
34084 echo $ECHO_N "(cached) $ECHO_C" >&6
34085 else
34086 if test x$gcc_no_link = xyes; then
34087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34089 { (exit 1); exit 1; }; }
34091 cat >conftest.$ac_ext <<_ACEOF
34092 /* confdefs.h. */
34093 _ACEOF
34094 cat confdefs.h >>conftest.$ac_ext
34095 cat >>conftest.$ac_ext <<_ACEOF
34096 /* end confdefs.h. */
34097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34099 #define $ac_func innocuous_$ac_func
34101 /* System header to define __stub macros and hopefully few prototypes,
34102 which can conflict with char $ac_func (); below.
34103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34104 <limits.h> exists even on freestanding compilers. */
34106 #ifdef __STDC__
34107 # include <limits.h>
34108 #else
34109 # include <assert.h>
34110 #endif
34112 #undef $ac_func
34114 /* Override any gcc2 internal prototype to avoid an error. */
34115 #ifdef __cplusplus
34116 extern "C"
34118 #endif
34119 /* We use char because int might match the return type of a gcc2
34120 builtin and then its argument prototype would still apply. */
34121 char $ac_func ();
34122 /* The GNU C library defines this for functions which it implements
34123 to always fail with ENOSYS. Some functions are actually named
34124 something starting with __ and the normal name is an alias. */
34125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34126 choke me
34127 #else
34128 char (*f) () = $ac_func;
34129 #endif
34130 #ifdef __cplusplus
34132 #endif
34135 main ()
34137 return f != $ac_func;
34139 return 0;
34141 _ACEOF
34142 rm -f conftest.$ac_objext conftest$ac_exeext
34143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34144 (eval $ac_link) 2>conftest.er1
34145 ac_status=$?
34146 grep -v '^ *+' conftest.er1 >conftest.err
34147 rm -f conftest.er1
34148 cat conftest.err >&5
34149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34150 (exit $ac_status); } &&
34151 { ac_try='test -z "$ac_c_werror_flag"
34152 || test ! -s conftest.err'
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); }; } &&
34158 { ac_try='test -s conftest$ac_exeext'
34159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34160 (eval $ac_try) 2>&5
34161 ac_status=$?
34162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34163 (exit $ac_status); }; }; then
34164 eval "$as_ac_var=yes"
34165 else
34166 echo "$as_me: failed program was:" >&5
34167 sed 's/^/| /' conftest.$ac_ext >&5
34169 eval "$as_ac_var=no"
34171 rm -f conftest.err conftest.$ac_objext \
34172 conftest$ac_exeext conftest.$ac_ext
34174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34176 if test `eval echo '${'$as_ac_var'}'` = yes; then
34177 cat >>confdefs.h <<_ACEOF
34178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34179 _ACEOF
34182 done
34184 else
34186 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
34187 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
34188 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34189 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
34190 echo $ECHO_N "(cached) $ECHO_C" >&6
34191 else
34195 ac_ext=cc
34196 ac_cpp='$CXXCPP $CPPFLAGS'
34197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34201 cat >conftest.$ac_ext <<_ACEOF
34202 /* confdefs.h. */
34203 _ACEOF
34204 cat confdefs.h >>conftest.$ac_ext
34205 cat >>conftest.$ac_ext <<_ACEOF
34206 /* end confdefs.h. */
34207 #include <math.h>
34208 #ifdef HAVE_IEEEFP_H
34209 #include <ieeefp.h>
34210 #endif
34213 main ()
34215 _qfpclass(0);
34217 return 0;
34219 _ACEOF
34220 rm -f conftest.$ac_objext
34221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34222 (eval $ac_compile) 2>conftest.er1
34223 ac_status=$?
34224 grep -v '^ *+' conftest.er1 >conftest.err
34225 rm -f conftest.er1
34226 cat conftest.err >&5
34227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34228 (exit $ac_status); } &&
34229 { ac_try='test -z "$ac_cxx_werror_flag"
34230 || test ! -s conftest.err'
34231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34232 (eval $ac_try) 2>&5
34233 ac_status=$?
34234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34235 (exit $ac_status); }; } &&
34236 { ac_try='test -s conftest.$ac_objext'
34237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34238 (eval $ac_try) 2>&5
34239 ac_status=$?
34240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34241 (exit $ac_status); }; }; then
34242 glibcxx_cv_func__qfpclass_use=yes
34243 else
34244 echo "$as_me: failed program was:" >&5
34245 sed 's/^/| /' conftest.$ac_ext >&5
34247 glibcxx_cv_func__qfpclass_use=no
34249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34250 ac_ext=c
34251 ac_cpp='$CPP $CPPFLAGS'
34252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34260 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
34261 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
34263 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34265 for ac_func in _qfpclass
34267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34268 echo "$as_me:$LINENO: checking for $ac_func" >&5
34269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34270 if eval "test \"\${$as_ac_var+set}\" = set"; then
34271 echo $ECHO_N "(cached) $ECHO_C" >&6
34272 else
34273 if test x$gcc_no_link = xyes; then
34274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34276 { (exit 1); exit 1; }; }
34278 cat >conftest.$ac_ext <<_ACEOF
34279 /* confdefs.h. */
34280 _ACEOF
34281 cat confdefs.h >>conftest.$ac_ext
34282 cat >>conftest.$ac_ext <<_ACEOF
34283 /* end confdefs.h. */
34284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34286 #define $ac_func innocuous_$ac_func
34288 /* System header to define __stub macros and hopefully few prototypes,
34289 which can conflict with char $ac_func (); below.
34290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34291 <limits.h> exists even on freestanding compilers. */
34293 #ifdef __STDC__
34294 # include <limits.h>
34295 #else
34296 # include <assert.h>
34297 #endif
34299 #undef $ac_func
34301 /* Override any gcc2 internal prototype to avoid an error. */
34302 #ifdef __cplusplus
34303 extern "C"
34305 #endif
34306 /* We use char because int might match the return type of a gcc2
34307 builtin and then its argument prototype would still apply. */
34308 char $ac_func ();
34309 /* The GNU C library defines this for functions which it implements
34310 to always fail with ENOSYS. Some functions are actually named
34311 something starting with __ and the normal name is an alias. */
34312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34313 choke me
34314 #else
34315 char (*f) () = $ac_func;
34316 #endif
34317 #ifdef __cplusplus
34319 #endif
34322 main ()
34324 return f != $ac_func;
34326 return 0;
34328 _ACEOF
34329 rm -f conftest.$ac_objext conftest$ac_exeext
34330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34331 (eval $ac_link) 2>conftest.er1
34332 ac_status=$?
34333 grep -v '^ *+' conftest.er1 >conftest.err
34334 rm -f conftest.er1
34335 cat conftest.err >&5
34336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34337 (exit $ac_status); } &&
34338 { ac_try='test -z "$ac_c_werror_flag"
34339 || test ! -s conftest.err'
34340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34341 (eval $ac_try) 2>&5
34342 ac_status=$?
34343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34344 (exit $ac_status); }; } &&
34345 { ac_try='test -s conftest$ac_exeext'
34346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34347 (eval $ac_try) 2>&5
34348 ac_status=$?
34349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34350 (exit $ac_status); }; }; then
34351 eval "$as_ac_var=yes"
34352 else
34353 echo "$as_me: failed program was:" >&5
34354 sed 's/^/| /' conftest.$ac_ext >&5
34356 eval "$as_ac_var=no"
34358 rm -f conftest.err conftest.$ac_objext \
34359 conftest$ac_exeext conftest.$ac_ext
34361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34363 if test `eval echo '${'$as_ac_var'}'` = yes; then
34364 cat >>confdefs.h <<_ACEOF
34365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34366 _ACEOF
34369 done
34376 echo "$as_me:$LINENO: checking for hypot declaration" >&5
34377 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
34378 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34379 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
34380 echo $ECHO_N "(cached) $ECHO_C" >&6
34381 else
34385 ac_ext=cc
34386 ac_cpp='$CXXCPP $CPPFLAGS'
34387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34391 cat >conftest.$ac_ext <<_ACEOF
34392 /* confdefs.h. */
34393 _ACEOF
34394 cat confdefs.h >>conftest.$ac_ext
34395 cat >>conftest.$ac_ext <<_ACEOF
34396 /* end confdefs.h. */
34397 #include <math.h>
34399 main ()
34401 hypot(0, 0);
34403 return 0;
34405 _ACEOF
34406 rm -f conftest.$ac_objext
34407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34408 (eval $ac_compile) 2>conftest.er1
34409 ac_status=$?
34410 grep -v '^ *+' conftest.er1 >conftest.err
34411 rm -f conftest.er1
34412 cat conftest.err >&5
34413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34414 (exit $ac_status); } &&
34415 { ac_try='test -z "$ac_cxx_werror_flag"
34416 || test ! -s conftest.err'
34417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34418 (eval $ac_try) 2>&5
34419 ac_status=$?
34420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34421 (exit $ac_status); }; } &&
34422 { ac_try='test -s conftest.$ac_objext'
34423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34424 (eval $ac_try) 2>&5
34425 ac_status=$?
34426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34427 (exit $ac_status); }; }; then
34428 glibcxx_cv_func_hypot_use=yes
34429 else
34430 echo "$as_me: failed program was:" >&5
34431 sed 's/^/| /' conftest.$ac_ext >&5
34433 glibcxx_cv_func_hypot_use=no
34435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34436 ac_ext=c
34437 ac_cpp='$CPP $CPPFLAGS'
34438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34446 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
34447 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
34449 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34451 for ac_func in hypot
34453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34454 echo "$as_me:$LINENO: checking for $ac_func" >&5
34455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34456 if eval "test \"\${$as_ac_var+set}\" = set"; then
34457 echo $ECHO_N "(cached) $ECHO_C" >&6
34458 else
34459 if test x$gcc_no_link = xyes; then
34460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34462 { (exit 1); exit 1; }; }
34464 cat >conftest.$ac_ext <<_ACEOF
34465 /* confdefs.h. */
34466 _ACEOF
34467 cat confdefs.h >>conftest.$ac_ext
34468 cat >>conftest.$ac_ext <<_ACEOF
34469 /* end confdefs.h. */
34470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34472 #define $ac_func innocuous_$ac_func
34474 /* System header to define __stub macros and hopefully few prototypes,
34475 which can conflict with char $ac_func (); below.
34476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34477 <limits.h> exists even on freestanding compilers. */
34479 #ifdef __STDC__
34480 # include <limits.h>
34481 #else
34482 # include <assert.h>
34483 #endif
34485 #undef $ac_func
34487 /* Override any gcc2 internal prototype to avoid an error. */
34488 #ifdef __cplusplus
34489 extern "C"
34491 #endif
34492 /* We use char because int might match the return type of a gcc2
34493 builtin and then its argument prototype would still apply. */
34494 char $ac_func ();
34495 /* The GNU C library defines this for functions which it implements
34496 to always fail with ENOSYS. Some functions are actually named
34497 something starting with __ and the normal name is an alias. */
34498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34499 choke me
34500 #else
34501 char (*f) () = $ac_func;
34502 #endif
34503 #ifdef __cplusplus
34505 #endif
34508 main ()
34510 return f != $ac_func;
34512 return 0;
34514 _ACEOF
34515 rm -f conftest.$ac_objext conftest$ac_exeext
34516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34517 (eval $ac_link) 2>conftest.er1
34518 ac_status=$?
34519 grep -v '^ *+' conftest.er1 >conftest.err
34520 rm -f conftest.er1
34521 cat conftest.err >&5
34522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34523 (exit $ac_status); } &&
34524 { ac_try='test -z "$ac_c_werror_flag"
34525 || test ! -s conftest.err'
34526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34527 (eval $ac_try) 2>&5
34528 ac_status=$?
34529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34530 (exit $ac_status); }; } &&
34531 { ac_try='test -s conftest$ac_exeext'
34532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34533 (eval $ac_try) 2>&5
34534 ac_status=$?
34535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34536 (exit $ac_status); }; }; then
34537 eval "$as_ac_var=yes"
34538 else
34539 echo "$as_me: failed program was:" >&5
34540 sed 's/^/| /' conftest.$ac_ext >&5
34542 eval "$as_ac_var=no"
34544 rm -f conftest.err conftest.$ac_objext \
34545 conftest$ac_exeext conftest.$ac_ext
34547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34549 if test `eval echo '${'$as_ac_var'}'` = yes; then
34550 cat >>confdefs.h <<_ACEOF
34551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34552 _ACEOF
34555 done
34557 else
34559 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
34560 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
34561 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34562 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
34563 echo $ECHO_N "(cached) $ECHO_C" >&6
34564 else
34568 ac_ext=cc
34569 ac_cpp='$CXXCPP $CPPFLAGS'
34570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34574 cat >conftest.$ac_ext <<_ACEOF
34575 /* confdefs.h. */
34576 _ACEOF
34577 cat confdefs.h >>conftest.$ac_ext
34578 cat >>conftest.$ac_ext <<_ACEOF
34579 /* end confdefs.h. */
34580 #include <math.h>
34582 main ()
34584 _hypot(0, 0);
34586 return 0;
34588 _ACEOF
34589 rm -f conftest.$ac_objext
34590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34591 (eval $ac_compile) 2>conftest.er1
34592 ac_status=$?
34593 grep -v '^ *+' conftest.er1 >conftest.err
34594 rm -f conftest.er1
34595 cat conftest.err >&5
34596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34597 (exit $ac_status); } &&
34598 { ac_try='test -z "$ac_cxx_werror_flag"
34599 || test ! -s conftest.err'
34600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34601 (eval $ac_try) 2>&5
34602 ac_status=$?
34603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34604 (exit $ac_status); }; } &&
34605 { ac_try='test -s conftest.$ac_objext'
34606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34607 (eval $ac_try) 2>&5
34608 ac_status=$?
34609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34610 (exit $ac_status); }; }; then
34611 glibcxx_cv_func__hypot_use=yes
34612 else
34613 echo "$as_me: failed program was:" >&5
34614 sed 's/^/| /' conftest.$ac_ext >&5
34616 glibcxx_cv_func__hypot_use=no
34618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34619 ac_ext=c
34620 ac_cpp='$CPP $CPPFLAGS'
34621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34629 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
34630 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
34632 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34634 for ac_func in _hypot
34636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34637 echo "$as_me:$LINENO: checking for $ac_func" >&5
34638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34639 if eval "test \"\${$as_ac_var+set}\" = set"; then
34640 echo $ECHO_N "(cached) $ECHO_C" >&6
34641 else
34642 if test x$gcc_no_link = xyes; then
34643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34645 { (exit 1); exit 1; }; }
34647 cat >conftest.$ac_ext <<_ACEOF
34648 /* confdefs.h. */
34649 _ACEOF
34650 cat confdefs.h >>conftest.$ac_ext
34651 cat >>conftest.$ac_ext <<_ACEOF
34652 /* end confdefs.h. */
34653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34655 #define $ac_func innocuous_$ac_func
34657 /* System header to define __stub macros and hopefully few prototypes,
34658 which can conflict with char $ac_func (); below.
34659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34660 <limits.h> exists even on freestanding compilers. */
34662 #ifdef __STDC__
34663 # include <limits.h>
34664 #else
34665 # include <assert.h>
34666 #endif
34668 #undef $ac_func
34670 /* Override any gcc2 internal prototype to avoid an error. */
34671 #ifdef __cplusplus
34672 extern "C"
34674 #endif
34675 /* We use char because int might match the return type of a gcc2
34676 builtin and then its argument prototype would still apply. */
34677 char $ac_func ();
34678 /* The GNU C library defines this for functions which it implements
34679 to always fail with ENOSYS. Some functions are actually named
34680 something starting with __ and the normal name is an alias. */
34681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34682 choke me
34683 #else
34684 char (*f) () = $ac_func;
34685 #endif
34686 #ifdef __cplusplus
34688 #endif
34691 main ()
34693 return f != $ac_func;
34695 return 0;
34697 _ACEOF
34698 rm -f conftest.$ac_objext conftest$ac_exeext
34699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34700 (eval $ac_link) 2>conftest.er1
34701 ac_status=$?
34702 grep -v '^ *+' conftest.er1 >conftest.err
34703 rm -f conftest.er1
34704 cat conftest.err >&5
34705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34706 (exit $ac_status); } &&
34707 { ac_try='test -z "$ac_c_werror_flag"
34708 || test ! -s conftest.err'
34709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34710 (eval $ac_try) 2>&5
34711 ac_status=$?
34712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34713 (exit $ac_status); }; } &&
34714 { ac_try='test -s conftest$ac_exeext'
34715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34716 (eval $ac_try) 2>&5
34717 ac_status=$?
34718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34719 (exit $ac_status); }; }; then
34720 eval "$as_ac_var=yes"
34721 else
34722 echo "$as_me: failed program was:" >&5
34723 sed 's/^/| /' conftest.$ac_ext >&5
34725 eval "$as_ac_var=no"
34727 rm -f conftest.err conftest.$ac_objext \
34728 conftest$ac_exeext conftest.$ac_ext
34730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34732 if test `eval echo '${'$as_ac_var'}'` = yes; then
34733 cat >>confdefs.h <<_ACEOF
34734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34735 _ACEOF
34738 done
34745 echo "$as_me:$LINENO: checking for float trig functions" >&5
34746 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
34747 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
34748 echo $ECHO_N "(cached) $ECHO_C" >&6
34749 else
34753 ac_ext=cc
34754 ac_cpp='$CXXCPP $CPPFLAGS'
34755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34759 cat >conftest.$ac_ext <<_ACEOF
34760 /* confdefs.h. */
34761 _ACEOF
34762 cat confdefs.h >>conftest.$ac_ext
34763 cat >>conftest.$ac_ext <<_ACEOF
34764 /* end confdefs.h. */
34765 #include <math.h>
34767 main ()
34769 `for x in acosf asinf atanf \
34770 cosf sinf tanf \
34771 coshf sinhf tanhf; do echo "$x (0);"; done`
34773 return 0;
34775 _ACEOF
34776 rm -f conftest.$ac_objext
34777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34778 (eval $ac_compile) 2>conftest.er1
34779 ac_status=$?
34780 grep -v '^ *+' conftest.er1 >conftest.err
34781 rm -f conftest.er1
34782 cat conftest.err >&5
34783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34784 (exit $ac_status); } &&
34785 { ac_try='test -z "$ac_cxx_werror_flag"
34786 || test ! -s conftest.err'
34787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34788 (eval $ac_try) 2>&5
34789 ac_status=$?
34790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34791 (exit $ac_status); }; } &&
34792 { ac_try='test -s conftest.$ac_objext'
34793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34794 (eval $ac_try) 2>&5
34795 ac_status=$?
34796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34797 (exit $ac_status); }; }; then
34798 glibcxx_cv_func_float_trig_use=yes
34799 else
34800 echo "$as_me: failed program was:" >&5
34801 sed 's/^/| /' conftest.$ac_ext >&5
34803 glibcxx_cv_func_float_trig_use=no
34805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34806 ac_ext=c
34807 ac_cpp='$CPP $CPPFLAGS'
34808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34814 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
34815 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
34816 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34826 for ac_func in acosf asinf atanf \
34827 cosf sinf tanf \
34828 coshf sinhf tanhf
34830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34831 echo "$as_me:$LINENO: checking for $ac_func" >&5
34832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34833 if eval "test \"\${$as_ac_var+set}\" = set"; then
34834 echo $ECHO_N "(cached) $ECHO_C" >&6
34835 else
34836 if test x$gcc_no_link = xyes; then
34837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34839 { (exit 1); exit 1; }; }
34841 cat >conftest.$ac_ext <<_ACEOF
34842 /* confdefs.h. */
34843 _ACEOF
34844 cat confdefs.h >>conftest.$ac_ext
34845 cat >>conftest.$ac_ext <<_ACEOF
34846 /* end confdefs.h. */
34847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34849 #define $ac_func innocuous_$ac_func
34851 /* System header to define __stub macros and hopefully few prototypes,
34852 which can conflict with char $ac_func (); below.
34853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34854 <limits.h> exists even on freestanding compilers. */
34856 #ifdef __STDC__
34857 # include <limits.h>
34858 #else
34859 # include <assert.h>
34860 #endif
34862 #undef $ac_func
34864 /* Override any gcc2 internal prototype to avoid an error. */
34865 #ifdef __cplusplus
34866 extern "C"
34868 #endif
34869 /* We use char because int might match the return type of a gcc2
34870 builtin and then its argument prototype would still apply. */
34871 char $ac_func ();
34872 /* The GNU C library defines this for functions which it implements
34873 to always fail with ENOSYS. Some functions are actually named
34874 something starting with __ and the normal name is an alias. */
34875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34876 choke me
34877 #else
34878 char (*f) () = $ac_func;
34879 #endif
34880 #ifdef __cplusplus
34882 #endif
34885 main ()
34887 return f != $ac_func;
34889 return 0;
34891 _ACEOF
34892 rm -f conftest.$ac_objext conftest$ac_exeext
34893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34894 (eval $ac_link) 2>conftest.er1
34895 ac_status=$?
34896 grep -v '^ *+' conftest.er1 >conftest.err
34897 rm -f conftest.er1
34898 cat conftest.err >&5
34899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34900 (exit $ac_status); } &&
34901 { ac_try='test -z "$ac_c_werror_flag"
34902 || test ! -s conftest.err'
34903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34904 (eval $ac_try) 2>&5
34905 ac_status=$?
34906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34907 (exit $ac_status); }; } &&
34908 { ac_try='test -s conftest$ac_exeext'
34909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34910 (eval $ac_try) 2>&5
34911 ac_status=$?
34912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34913 (exit $ac_status); }; }; then
34914 eval "$as_ac_var=yes"
34915 else
34916 echo "$as_me: failed program was:" >&5
34917 sed 's/^/| /' conftest.$ac_ext >&5
34919 eval "$as_ac_var=no"
34921 rm -f conftest.err conftest.$ac_objext \
34922 conftest$ac_exeext conftest.$ac_ext
34924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34926 if test `eval echo '${'$as_ac_var'}'` = yes; then
34927 cat >>confdefs.h <<_ACEOF
34928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34929 _ACEOF
34932 done
34937 echo "$as_me:$LINENO: checking for float round functions" >&5
34938 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34939 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34940 echo $ECHO_N "(cached) $ECHO_C" >&6
34941 else
34945 ac_ext=cc
34946 ac_cpp='$CXXCPP $CPPFLAGS'
34947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34951 cat >conftest.$ac_ext <<_ACEOF
34952 /* confdefs.h. */
34953 _ACEOF
34954 cat confdefs.h >>conftest.$ac_ext
34955 cat >>conftest.$ac_ext <<_ACEOF
34956 /* end confdefs.h. */
34957 #include <math.h>
34959 main ()
34961 `for x in ceilf floorf; do echo "$x (0);"; done`
34963 return 0;
34965 _ACEOF
34966 rm -f conftest.$ac_objext
34967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34968 (eval $ac_compile) 2>conftest.er1
34969 ac_status=$?
34970 grep -v '^ *+' conftest.er1 >conftest.err
34971 rm -f conftest.er1
34972 cat conftest.err >&5
34973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34974 (exit $ac_status); } &&
34975 { ac_try='test -z "$ac_cxx_werror_flag"
34976 || test ! -s conftest.err'
34977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34978 (eval $ac_try) 2>&5
34979 ac_status=$?
34980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34981 (exit $ac_status); }; } &&
34982 { ac_try='test -s conftest.$ac_objext'
34983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34984 (eval $ac_try) 2>&5
34985 ac_status=$?
34986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34987 (exit $ac_status); }; }; then
34988 glibcxx_cv_func_float_round_use=yes
34989 else
34990 echo "$as_me: failed program was:" >&5
34991 sed 's/^/| /' conftest.$ac_ext >&5
34993 glibcxx_cv_func_float_round_use=no
34995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34996 ac_ext=c
34997 ac_cpp='$CPP $CPPFLAGS'
34998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35004 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
35005 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
35006 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35009 for ac_func in ceilf floorf
35011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35012 echo "$as_me:$LINENO: checking for $ac_func" >&5
35013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35014 if eval "test \"\${$as_ac_var+set}\" = set"; then
35015 echo $ECHO_N "(cached) $ECHO_C" >&6
35016 else
35017 if test x$gcc_no_link = xyes; then
35018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35020 { (exit 1); exit 1; }; }
35022 cat >conftest.$ac_ext <<_ACEOF
35023 /* confdefs.h. */
35024 _ACEOF
35025 cat confdefs.h >>conftest.$ac_ext
35026 cat >>conftest.$ac_ext <<_ACEOF
35027 /* end confdefs.h. */
35028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35030 #define $ac_func innocuous_$ac_func
35032 /* System header to define __stub macros and hopefully few prototypes,
35033 which can conflict with char $ac_func (); below.
35034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35035 <limits.h> exists even on freestanding compilers. */
35037 #ifdef __STDC__
35038 # include <limits.h>
35039 #else
35040 # include <assert.h>
35041 #endif
35043 #undef $ac_func
35045 /* Override any gcc2 internal prototype to avoid an error. */
35046 #ifdef __cplusplus
35047 extern "C"
35049 #endif
35050 /* We use char because int might match the return type of a gcc2
35051 builtin and then its argument prototype would still apply. */
35052 char $ac_func ();
35053 /* The GNU C library defines this for functions which it implements
35054 to always fail with ENOSYS. Some functions are actually named
35055 something starting with __ and the normal name is an alias. */
35056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35057 choke me
35058 #else
35059 char (*f) () = $ac_func;
35060 #endif
35061 #ifdef __cplusplus
35063 #endif
35066 main ()
35068 return f != $ac_func;
35070 return 0;
35072 _ACEOF
35073 rm -f conftest.$ac_objext conftest$ac_exeext
35074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35075 (eval $ac_link) 2>conftest.er1
35076 ac_status=$?
35077 grep -v '^ *+' conftest.er1 >conftest.err
35078 rm -f conftest.er1
35079 cat conftest.err >&5
35080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35081 (exit $ac_status); } &&
35082 { ac_try='test -z "$ac_c_werror_flag"
35083 || test ! -s conftest.err'
35084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35085 (eval $ac_try) 2>&5
35086 ac_status=$?
35087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35088 (exit $ac_status); }; } &&
35089 { ac_try='test -s conftest$ac_exeext'
35090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35091 (eval $ac_try) 2>&5
35092 ac_status=$?
35093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35094 (exit $ac_status); }; }; then
35095 eval "$as_ac_var=yes"
35096 else
35097 echo "$as_me: failed program was:" >&5
35098 sed 's/^/| /' conftest.$ac_ext >&5
35100 eval "$as_ac_var=no"
35102 rm -f conftest.err conftest.$ac_objext \
35103 conftest$ac_exeext conftest.$ac_ext
35105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35107 if test `eval echo '${'$as_ac_var'}'` = yes; then
35108 cat >>confdefs.h <<_ACEOF
35109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35110 _ACEOF
35113 done
35119 echo "$as_me:$LINENO: checking for expf declaration" >&5
35120 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
35121 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35122 if test "${glibcxx_cv_func_expf_use+set}" = set; then
35123 echo $ECHO_N "(cached) $ECHO_C" >&6
35124 else
35128 ac_ext=cc
35129 ac_cpp='$CXXCPP $CPPFLAGS'
35130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35134 cat >conftest.$ac_ext <<_ACEOF
35135 /* confdefs.h. */
35136 _ACEOF
35137 cat confdefs.h >>conftest.$ac_ext
35138 cat >>conftest.$ac_ext <<_ACEOF
35139 /* end confdefs.h. */
35140 #include <math.h>
35141 #ifdef HAVE_IEEEFP_H
35142 #include <ieeefp.h>
35143 #endif
35146 main ()
35148 expf(0);
35150 return 0;
35152 _ACEOF
35153 rm -f conftest.$ac_objext
35154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35155 (eval $ac_compile) 2>conftest.er1
35156 ac_status=$?
35157 grep -v '^ *+' conftest.er1 >conftest.err
35158 rm -f conftest.er1
35159 cat conftest.err >&5
35160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35161 (exit $ac_status); } &&
35162 { ac_try='test -z "$ac_cxx_werror_flag"
35163 || test ! -s conftest.err'
35164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35165 (eval $ac_try) 2>&5
35166 ac_status=$?
35167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35168 (exit $ac_status); }; } &&
35169 { ac_try='test -s conftest.$ac_objext'
35170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35171 (eval $ac_try) 2>&5
35172 ac_status=$?
35173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35174 (exit $ac_status); }; }; then
35175 glibcxx_cv_func_expf_use=yes
35176 else
35177 echo "$as_me: failed program was:" >&5
35178 sed 's/^/| /' conftest.$ac_ext >&5
35180 glibcxx_cv_func_expf_use=no
35182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35183 ac_ext=c
35184 ac_cpp='$CPP $CPPFLAGS'
35185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35193 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
35194 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
35196 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35198 for ac_func in expf
35200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35201 echo "$as_me:$LINENO: checking for $ac_func" >&5
35202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35203 if eval "test \"\${$as_ac_var+set}\" = set"; then
35204 echo $ECHO_N "(cached) $ECHO_C" >&6
35205 else
35206 if test x$gcc_no_link = xyes; then
35207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35209 { (exit 1); exit 1; }; }
35211 cat >conftest.$ac_ext <<_ACEOF
35212 /* confdefs.h. */
35213 _ACEOF
35214 cat confdefs.h >>conftest.$ac_ext
35215 cat >>conftest.$ac_ext <<_ACEOF
35216 /* end confdefs.h. */
35217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35219 #define $ac_func innocuous_$ac_func
35221 /* System header to define __stub macros and hopefully few prototypes,
35222 which can conflict with char $ac_func (); below.
35223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35224 <limits.h> exists even on freestanding compilers. */
35226 #ifdef __STDC__
35227 # include <limits.h>
35228 #else
35229 # include <assert.h>
35230 #endif
35232 #undef $ac_func
35234 /* Override any gcc2 internal prototype to avoid an error. */
35235 #ifdef __cplusplus
35236 extern "C"
35238 #endif
35239 /* We use char because int might match the return type of a gcc2
35240 builtin and then its argument prototype would still apply. */
35241 char $ac_func ();
35242 /* The GNU C library defines this for functions which it implements
35243 to always fail with ENOSYS. Some functions are actually named
35244 something starting with __ and the normal name is an alias. */
35245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35246 choke me
35247 #else
35248 char (*f) () = $ac_func;
35249 #endif
35250 #ifdef __cplusplus
35252 #endif
35255 main ()
35257 return f != $ac_func;
35259 return 0;
35261 _ACEOF
35262 rm -f conftest.$ac_objext conftest$ac_exeext
35263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35264 (eval $ac_link) 2>conftest.er1
35265 ac_status=$?
35266 grep -v '^ *+' conftest.er1 >conftest.err
35267 rm -f conftest.er1
35268 cat conftest.err >&5
35269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35270 (exit $ac_status); } &&
35271 { ac_try='test -z "$ac_c_werror_flag"
35272 || test ! -s conftest.err'
35273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35274 (eval $ac_try) 2>&5
35275 ac_status=$?
35276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35277 (exit $ac_status); }; } &&
35278 { ac_try='test -s conftest$ac_exeext'
35279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35280 (eval $ac_try) 2>&5
35281 ac_status=$?
35282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35283 (exit $ac_status); }; }; then
35284 eval "$as_ac_var=yes"
35285 else
35286 echo "$as_me: failed program was:" >&5
35287 sed 's/^/| /' conftest.$ac_ext >&5
35289 eval "$as_ac_var=no"
35291 rm -f conftest.err conftest.$ac_objext \
35292 conftest$ac_exeext conftest.$ac_ext
35294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35296 if test `eval echo '${'$as_ac_var'}'` = yes; then
35297 cat >>confdefs.h <<_ACEOF
35298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35299 _ACEOF
35302 done
35304 else
35306 echo "$as_me:$LINENO: checking for _expf declaration" >&5
35307 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
35308 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35309 if test "${glibcxx_cv_func__expf_use+set}" = set; then
35310 echo $ECHO_N "(cached) $ECHO_C" >&6
35311 else
35315 ac_ext=cc
35316 ac_cpp='$CXXCPP $CPPFLAGS'
35317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35321 cat >conftest.$ac_ext <<_ACEOF
35322 /* confdefs.h. */
35323 _ACEOF
35324 cat confdefs.h >>conftest.$ac_ext
35325 cat >>conftest.$ac_ext <<_ACEOF
35326 /* end confdefs.h. */
35327 #include <math.h>
35328 #ifdef HAVE_IEEEFP_H
35329 #include <ieeefp.h>
35330 #endif
35333 main ()
35335 _expf(0);
35337 return 0;
35339 _ACEOF
35340 rm -f conftest.$ac_objext
35341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35342 (eval $ac_compile) 2>conftest.er1
35343 ac_status=$?
35344 grep -v '^ *+' conftest.er1 >conftest.err
35345 rm -f conftest.er1
35346 cat conftest.err >&5
35347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35348 (exit $ac_status); } &&
35349 { ac_try='test -z "$ac_cxx_werror_flag"
35350 || test ! -s conftest.err'
35351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35352 (eval $ac_try) 2>&5
35353 ac_status=$?
35354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35355 (exit $ac_status); }; } &&
35356 { ac_try='test -s conftest.$ac_objext'
35357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35358 (eval $ac_try) 2>&5
35359 ac_status=$?
35360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35361 (exit $ac_status); }; }; then
35362 glibcxx_cv_func__expf_use=yes
35363 else
35364 echo "$as_me: failed program was:" >&5
35365 sed 's/^/| /' conftest.$ac_ext >&5
35367 glibcxx_cv_func__expf_use=no
35369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35370 ac_ext=c
35371 ac_cpp='$CPP $CPPFLAGS'
35372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35380 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
35381 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
35383 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35385 for ac_func in _expf
35387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35388 echo "$as_me:$LINENO: checking for $ac_func" >&5
35389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35390 if eval "test \"\${$as_ac_var+set}\" = set"; then
35391 echo $ECHO_N "(cached) $ECHO_C" >&6
35392 else
35393 if test x$gcc_no_link = xyes; then
35394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35396 { (exit 1); exit 1; }; }
35398 cat >conftest.$ac_ext <<_ACEOF
35399 /* confdefs.h. */
35400 _ACEOF
35401 cat confdefs.h >>conftest.$ac_ext
35402 cat >>conftest.$ac_ext <<_ACEOF
35403 /* end confdefs.h. */
35404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35406 #define $ac_func innocuous_$ac_func
35408 /* System header to define __stub macros and hopefully few prototypes,
35409 which can conflict with char $ac_func (); below.
35410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35411 <limits.h> exists even on freestanding compilers. */
35413 #ifdef __STDC__
35414 # include <limits.h>
35415 #else
35416 # include <assert.h>
35417 #endif
35419 #undef $ac_func
35421 /* Override any gcc2 internal prototype to avoid an error. */
35422 #ifdef __cplusplus
35423 extern "C"
35425 #endif
35426 /* We use char because int might match the return type of a gcc2
35427 builtin and then its argument prototype would still apply. */
35428 char $ac_func ();
35429 /* The GNU C library defines this for functions which it implements
35430 to always fail with ENOSYS. Some functions are actually named
35431 something starting with __ and the normal name is an alias. */
35432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35433 choke me
35434 #else
35435 char (*f) () = $ac_func;
35436 #endif
35437 #ifdef __cplusplus
35439 #endif
35442 main ()
35444 return f != $ac_func;
35446 return 0;
35448 _ACEOF
35449 rm -f conftest.$ac_objext conftest$ac_exeext
35450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35451 (eval $ac_link) 2>conftest.er1
35452 ac_status=$?
35453 grep -v '^ *+' conftest.er1 >conftest.err
35454 rm -f conftest.er1
35455 cat conftest.err >&5
35456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35457 (exit $ac_status); } &&
35458 { ac_try='test -z "$ac_c_werror_flag"
35459 || test ! -s conftest.err'
35460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35461 (eval $ac_try) 2>&5
35462 ac_status=$?
35463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35464 (exit $ac_status); }; } &&
35465 { ac_try='test -s conftest$ac_exeext'
35466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35467 (eval $ac_try) 2>&5
35468 ac_status=$?
35469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35470 (exit $ac_status); }; }; then
35471 eval "$as_ac_var=yes"
35472 else
35473 echo "$as_me: failed program was:" >&5
35474 sed 's/^/| /' conftest.$ac_ext >&5
35476 eval "$as_ac_var=no"
35478 rm -f conftest.err conftest.$ac_objext \
35479 conftest$ac_exeext conftest.$ac_ext
35481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35483 if test `eval echo '${'$as_ac_var'}'` = yes; then
35484 cat >>confdefs.h <<_ACEOF
35485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35486 _ACEOF
35489 done
35496 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
35497 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
35498 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35499 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
35500 echo $ECHO_N "(cached) $ECHO_C" >&6
35501 else
35505 ac_ext=cc
35506 ac_cpp='$CXXCPP $CPPFLAGS'
35507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35511 cat >conftest.$ac_ext <<_ACEOF
35512 /* confdefs.h. */
35513 _ACEOF
35514 cat confdefs.h >>conftest.$ac_ext
35515 cat >>conftest.$ac_ext <<_ACEOF
35516 /* end confdefs.h. */
35517 #include <math.h>
35518 #ifdef HAVE_IEEEFP_H
35519 #include <ieeefp.h>
35520 #endif
35523 main ()
35525 isnanf(0);
35527 return 0;
35529 _ACEOF
35530 rm -f conftest.$ac_objext
35531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35532 (eval $ac_compile) 2>conftest.er1
35533 ac_status=$?
35534 grep -v '^ *+' conftest.er1 >conftest.err
35535 rm -f conftest.er1
35536 cat conftest.err >&5
35537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35538 (exit $ac_status); } &&
35539 { ac_try='test -z "$ac_cxx_werror_flag"
35540 || test ! -s conftest.err'
35541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35542 (eval $ac_try) 2>&5
35543 ac_status=$?
35544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35545 (exit $ac_status); }; } &&
35546 { ac_try='test -s conftest.$ac_objext'
35547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35548 (eval $ac_try) 2>&5
35549 ac_status=$?
35550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35551 (exit $ac_status); }; }; then
35552 glibcxx_cv_func_isnanf_use=yes
35553 else
35554 echo "$as_me: failed program was:" >&5
35555 sed 's/^/| /' conftest.$ac_ext >&5
35557 glibcxx_cv_func_isnanf_use=no
35559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35560 ac_ext=c
35561 ac_cpp='$CPP $CPPFLAGS'
35562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35570 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
35571 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
35573 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35575 for ac_func in isnanf
35577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35578 echo "$as_me:$LINENO: checking for $ac_func" >&5
35579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35580 if eval "test \"\${$as_ac_var+set}\" = set"; then
35581 echo $ECHO_N "(cached) $ECHO_C" >&6
35582 else
35583 if test x$gcc_no_link = xyes; then
35584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35586 { (exit 1); exit 1; }; }
35588 cat >conftest.$ac_ext <<_ACEOF
35589 /* confdefs.h. */
35590 _ACEOF
35591 cat confdefs.h >>conftest.$ac_ext
35592 cat >>conftest.$ac_ext <<_ACEOF
35593 /* end confdefs.h. */
35594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35596 #define $ac_func innocuous_$ac_func
35598 /* System header to define __stub macros and hopefully few prototypes,
35599 which can conflict with char $ac_func (); below.
35600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35601 <limits.h> exists even on freestanding compilers. */
35603 #ifdef __STDC__
35604 # include <limits.h>
35605 #else
35606 # include <assert.h>
35607 #endif
35609 #undef $ac_func
35611 /* Override any gcc2 internal prototype to avoid an error. */
35612 #ifdef __cplusplus
35613 extern "C"
35615 #endif
35616 /* We use char because int might match the return type of a gcc2
35617 builtin and then its argument prototype would still apply. */
35618 char $ac_func ();
35619 /* The GNU C library defines this for functions which it implements
35620 to always fail with ENOSYS. Some functions are actually named
35621 something starting with __ and the normal name is an alias. */
35622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35623 choke me
35624 #else
35625 char (*f) () = $ac_func;
35626 #endif
35627 #ifdef __cplusplus
35629 #endif
35632 main ()
35634 return f != $ac_func;
35636 return 0;
35638 _ACEOF
35639 rm -f conftest.$ac_objext conftest$ac_exeext
35640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35641 (eval $ac_link) 2>conftest.er1
35642 ac_status=$?
35643 grep -v '^ *+' conftest.er1 >conftest.err
35644 rm -f conftest.er1
35645 cat conftest.err >&5
35646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35647 (exit $ac_status); } &&
35648 { ac_try='test -z "$ac_c_werror_flag"
35649 || test ! -s conftest.err'
35650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35651 (eval $ac_try) 2>&5
35652 ac_status=$?
35653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35654 (exit $ac_status); }; } &&
35655 { ac_try='test -s conftest$ac_exeext'
35656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35657 (eval $ac_try) 2>&5
35658 ac_status=$?
35659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35660 (exit $ac_status); }; }; then
35661 eval "$as_ac_var=yes"
35662 else
35663 echo "$as_me: failed program was:" >&5
35664 sed 's/^/| /' conftest.$ac_ext >&5
35666 eval "$as_ac_var=no"
35668 rm -f conftest.err conftest.$ac_objext \
35669 conftest$ac_exeext conftest.$ac_ext
35671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35673 if test `eval echo '${'$as_ac_var'}'` = yes; then
35674 cat >>confdefs.h <<_ACEOF
35675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35676 _ACEOF
35679 done
35681 else
35683 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
35684 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
35685 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35686 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
35687 echo $ECHO_N "(cached) $ECHO_C" >&6
35688 else
35692 ac_ext=cc
35693 ac_cpp='$CXXCPP $CPPFLAGS'
35694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35698 cat >conftest.$ac_ext <<_ACEOF
35699 /* confdefs.h. */
35700 _ACEOF
35701 cat confdefs.h >>conftest.$ac_ext
35702 cat >>conftest.$ac_ext <<_ACEOF
35703 /* end confdefs.h. */
35704 #include <math.h>
35705 #ifdef HAVE_IEEEFP_H
35706 #include <ieeefp.h>
35707 #endif
35710 main ()
35712 _isnanf(0);
35714 return 0;
35716 _ACEOF
35717 rm -f conftest.$ac_objext
35718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35719 (eval $ac_compile) 2>conftest.er1
35720 ac_status=$?
35721 grep -v '^ *+' conftest.er1 >conftest.err
35722 rm -f conftest.er1
35723 cat conftest.err >&5
35724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35725 (exit $ac_status); } &&
35726 { ac_try='test -z "$ac_cxx_werror_flag"
35727 || test ! -s conftest.err'
35728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35729 (eval $ac_try) 2>&5
35730 ac_status=$?
35731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35732 (exit $ac_status); }; } &&
35733 { ac_try='test -s conftest.$ac_objext'
35734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35735 (eval $ac_try) 2>&5
35736 ac_status=$?
35737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35738 (exit $ac_status); }; }; then
35739 glibcxx_cv_func__isnanf_use=yes
35740 else
35741 echo "$as_me: failed program was:" >&5
35742 sed 's/^/| /' conftest.$ac_ext >&5
35744 glibcxx_cv_func__isnanf_use=no
35746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35747 ac_ext=c
35748 ac_cpp='$CPP $CPPFLAGS'
35749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35757 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
35758 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
35760 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35762 for ac_func in _isnanf
35764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35765 echo "$as_me:$LINENO: checking for $ac_func" >&5
35766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35767 if eval "test \"\${$as_ac_var+set}\" = set"; then
35768 echo $ECHO_N "(cached) $ECHO_C" >&6
35769 else
35770 if test x$gcc_no_link = xyes; then
35771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35773 { (exit 1); exit 1; }; }
35775 cat >conftest.$ac_ext <<_ACEOF
35776 /* confdefs.h. */
35777 _ACEOF
35778 cat confdefs.h >>conftest.$ac_ext
35779 cat >>conftest.$ac_ext <<_ACEOF
35780 /* end confdefs.h. */
35781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35783 #define $ac_func innocuous_$ac_func
35785 /* System header to define __stub macros and hopefully few prototypes,
35786 which can conflict with char $ac_func (); below.
35787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35788 <limits.h> exists even on freestanding compilers. */
35790 #ifdef __STDC__
35791 # include <limits.h>
35792 #else
35793 # include <assert.h>
35794 #endif
35796 #undef $ac_func
35798 /* Override any gcc2 internal prototype to avoid an error. */
35799 #ifdef __cplusplus
35800 extern "C"
35802 #endif
35803 /* We use char because int might match the return type of a gcc2
35804 builtin and then its argument prototype would still apply. */
35805 char $ac_func ();
35806 /* The GNU C library defines this for functions which it implements
35807 to always fail with ENOSYS. Some functions are actually named
35808 something starting with __ and the normal name is an alias. */
35809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35810 choke me
35811 #else
35812 char (*f) () = $ac_func;
35813 #endif
35814 #ifdef __cplusplus
35816 #endif
35819 main ()
35821 return f != $ac_func;
35823 return 0;
35825 _ACEOF
35826 rm -f conftest.$ac_objext conftest$ac_exeext
35827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35828 (eval $ac_link) 2>conftest.er1
35829 ac_status=$?
35830 grep -v '^ *+' conftest.er1 >conftest.err
35831 rm -f conftest.er1
35832 cat conftest.err >&5
35833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35834 (exit $ac_status); } &&
35835 { ac_try='test -z "$ac_c_werror_flag"
35836 || test ! -s conftest.err'
35837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35838 (eval $ac_try) 2>&5
35839 ac_status=$?
35840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35841 (exit $ac_status); }; } &&
35842 { ac_try='test -s conftest$ac_exeext'
35843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35844 (eval $ac_try) 2>&5
35845 ac_status=$?
35846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35847 (exit $ac_status); }; }; then
35848 eval "$as_ac_var=yes"
35849 else
35850 echo "$as_me: failed program was:" >&5
35851 sed 's/^/| /' conftest.$ac_ext >&5
35853 eval "$as_ac_var=no"
35855 rm -f conftest.err conftest.$ac_objext \
35856 conftest$ac_exeext conftest.$ac_ext
35858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35860 if test `eval echo '${'$as_ac_var'}'` = yes; then
35861 cat >>confdefs.h <<_ACEOF
35862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35863 _ACEOF
35866 done
35873 echo "$as_me:$LINENO: checking for isinff declaration" >&5
35874 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35875 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35876 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35877 echo $ECHO_N "(cached) $ECHO_C" >&6
35878 else
35882 ac_ext=cc
35883 ac_cpp='$CXXCPP $CPPFLAGS'
35884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35888 cat >conftest.$ac_ext <<_ACEOF
35889 /* confdefs.h. */
35890 _ACEOF
35891 cat confdefs.h >>conftest.$ac_ext
35892 cat >>conftest.$ac_ext <<_ACEOF
35893 /* end confdefs.h. */
35894 #include <math.h>
35895 #ifdef HAVE_IEEEFP_H
35896 #include <ieeefp.h>
35897 #endif
35900 main ()
35902 isinff(0);
35904 return 0;
35906 _ACEOF
35907 rm -f conftest.$ac_objext
35908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35909 (eval $ac_compile) 2>conftest.er1
35910 ac_status=$?
35911 grep -v '^ *+' conftest.er1 >conftest.err
35912 rm -f conftest.er1
35913 cat conftest.err >&5
35914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35915 (exit $ac_status); } &&
35916 { ac_try='test -z "$ac_cxx_werror_flag"
35917 || test ! -s conftest.err'
35918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35919 (eval $ac_try) 2>&5
35920 ac_status=$?
35921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35922 (exit $ac_status); }; } &&
35923 { ac_try='test -s conftest.$ac_objext'
35924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35925 (eval $ac_try) 2>&5
35926 ac_status=$?
35927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35928 (exit $ac_status); }; }; then
35929 glibcxx_cv_func_isinff_use=yes
35930 else
35931 echo "$as_me: failed program was:" >&5
35932 sed 's/^/| /' conftest.$ac_ext >&5
35934 glibcxx_cv_func_isinff_use=no
35936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35937 ac_ext=c
35938 ac_cpp='$CPP $CPPFLAGS'
35939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35947 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35948 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35950 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35952 for ac_func in isinff
35954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35955 echo "$as_me:$LINENO: checking for $ac_func" >&5
35956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35957 if eval "test \"\${$as_ac_var+set}\" = set"; then
35958 echo $ECHO_N "(cached) $ECHO_C" >&6
35959 else
35960 if test x$gcc_no_link = xyes; then
35961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35963 { (exit 1); exit 1; }; }
35965 cat >conftest.$ac_ext <<_ACEOF
35966 /* confdefs.h. */
35967 _ACEOF
35968 cat confdefs.h >>conftest.$ac_ext
35969 cat >>conftest.$ac_ext <<_ACEOF
35970 /* end confdefs.h. */
35971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35973 #define $ac_func innocuous_$ac_func
35975 /* System header to define __stub macros and hopefully few prototypes,
35976 which can conflict with char $ac_func (); below.
35977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35978 <limits.h> exists even on freestanding compilers. */
35980 #ifdef __STDC__
35981 # include <limits.h>
35982 #else
35983 # include <assert.h>
35984 #endif
35986 #undef $ac_func
35988 /* Override any gcc2 internal prototype to avoid an error. */
35989 #ifdef __cplusplus
35990 extern "C"
35992 #endif
35993 /* We use char because int might match the return type of a gcc2
35994 builtin and then its argument prototype would still apply. */
35995 char $ac_func ();
35996 /* The GNU C library defines this for functions which it implements
35997 to always fail with ENOSYS. Some functions are actually named
35998 something starting with __ and the normal name is an alias. */
35999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36000 choke me
36001 #else
36002 char (*f) () = $ac_func;
36003 #endif
36004 #ifdef __cplusplus
36006 #endif
36009 main ()
36011 return f != $ac_func;
36013 return 0;
36015 _ACEOF
36016 rm -f conftest.$ac_objext conftest$ac_exeext
36017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36018 (eval $ac_link) 2>conftest.er1
36019 ac_status=$?
36020 grep -v '^ *+' conftest.er1 >conftest.err
36021 rm -f conftest.er1
36022 cat conftest.err >&5
36023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36024 (exit $ac_status); } &&
36025 { ac_try='test -z "$ac_c_werror_flag"
36026 || test ! -s conftest.err'
36027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36028 (eval $ac_try) 2>&5
36029 ac_status=$?
36030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36031 (exit $ac_status); }; } &&
36032 { ac_try='test -s conftest$ac_exeext'
36033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36034 (eval $ac_try) 2>&5
36035 ac_status=$?
36036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36037 (exit $ac_status); }; }; then
36038 eval "$as_ac_var=yes"
36039 else
36040 echo "$as_me: failed program was:" >&5
36041 sed 's/^/| /' conftest.$ac_ext >&5
36043 eval "$as_ac_var=no"
36045 rm -f conftest.err conftest.$ac_objext \
36046 conftest$ac_exeext conftest.$ac_ext
36048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36050 if test `eval echo '${'$as_ac_var'}'` = yes; then
36051 cat >>confdefs.h <<_ACEOF
36052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36053 _ACEOF
36056 done
36058 else
36060 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
36061 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
36062 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36063 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
36064 echo $ECHO_N "(cached) $ECHO_C" >&6
36065 else
36069 ac_ext=cc
36070 ac_cpp='$CXXCPP $CPPFLAGS'
36071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36075 cat >conftest.$ac_ext <<_ACEOF
36076 /* confdefs.h. */
36077 _ACEOF
36078 cat confdefs.h >>conftest.$ac_ext
36079 cat >>conftest.$ac_ext <<_ACEOF
36080 /* end confdefs.h. */
36081 #include <math.h>
36082 #ifdef HAVE_IEEEFP_H
36083 #include <ieeefp.h>
36084 #endif
36087 main ()
36089 _isinff(0);
36091 return 0;
36093 _ACEOF
36094 rm -f conftest.$ac_objext
36095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36096 (eval $ac_compile) 2>conftest.er1
36097 ac_status=$?
36098 grep -v '^ *+' conftest.er1 >conftest.err
36099 rm -f conftest.er1
36100 cat conftest.err >&5
36101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36102 (exit $ac_status); } &&
36103 { ac_try='test -z "$ac_cxx_werror_flag"
36104 || test ! -s conftest.err'
36105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36106 (eval $ac_try) 2>&5
36107 ac_status=$?
36108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36109 (exit $ac_status); }; } &&
36110 { ac_try='test -s conftest.$ac_objext'
36111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36112 (eval $ac_try) 2>&5
36113 ac_status=$?
36114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36115 (exit $ac_status); }; }; then
36116 glibcxx_cv_func__isinff_use=yes
36117 else
36118 echo "$as_me: failed program was:" >&5
36119 sed 's/^/| /' conftest.$ac_ext >&5
36121 glibcxx_cv_func__isinff_use=no
36123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36124 ac_ext=c
36125 ac_cpp='$CPP $CPPFLAGS'
36126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36134 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
36135 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
36137 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36139 for ac_func in _isinff
36141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36142 echo "$as_me:$LINENO: checking for $ac_func" >&5
36143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36144 if eval "test \"\${$as_ac_var+set}\" = set"; then
36145 echo $ECHO_N "(cached) $ECHO_C" >&6
36146 else
36147 if test x$gcc_no_link = xyes; then
36148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36150 { (exit 1); exit 1; }; }
36152 cat >conftest.$ac_ext <<_ACEOF
36153 /* confdefs.h. */
36154 _ACEOF
36155 cat confdefs.h >>conftest.$ac_ext
36156 cat >>conftest.$ac_ext <<_ACEOF
36157 /* end confdefs.h. */
36158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36160 #define $ac_func innocuous_$ac_func
36162 /* System header to define __stub macros and hopefully few prototypes,
36163 which can conflict with char $ac_func (); below.
36164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36165 <limits.h> exists even on freestanding compilers. */
36167 #ifdef __STDC__
36168 # include <limits.h>
36169 #else
36170 # include <assert.h>
36171 #endif
36173 #undef $ac_func
36175 /* Override any gcc2 internal prototype to avoid an error. */
36176 #ifdef __cplusplus
36177 extern "C"
36179 #endif
36180 /* We use char because int might match the return type of a gcc2
36181 builtin and then its argument prototype would still apply. */
36182 char $ac_func ();
36183 /* The GNU C library defines this for functions which it implements
36184 to always fail with ENOSYS. Some functions are actually named
36185 something starting with __ and the normal name is an alias. */
36186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36187 choke me
36188 #else
36189 char (*f) () = $ac_func;
36190 #endif
36191 #ifdef __cplusplus
36193 #endif
36196 main ()
36198 return f != $ac_func;
36200 return 0;
36202 _ACEOF
36203 rm -f conftest.$ac_objext conftest$ac_exeext
36204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36205 (eval $ac_link) 2>conftest.er1
36206 ac_status=$?
36207 grep -v '^ *+' conftest.er1 >conftest.err
36208 rm -f conftest.er1
36209 cat conftest.err >&5
36210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36211 (exit $ac_status); } &&
36212 { ac_try='test -z "$ac_c_werror_flag"
36213 || test ! -s conftest.err'
36214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36215 (eval $ac_try) 2>&5
36216 ac_status=$?
36217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36218 (exit $ac_status); }; } &&
36219 { ac_try='test -s conftest$ac_exeext'
36220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36221 (eval $ac_try) 2>&5
36222 ac_status=$?
36223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36224 (exit $ac_status); }; }; then
36225 eval "$as_ac_var=yes"
36226 else
36227 echo "$as_me: failed program was:" >&5
36228 sed 's/^/| /' conftest.$ac_ext >&5
36230 eval "$as_ac_var=no"
36232 rm -f conftest.err conftest.$ac_objext \
36233 conftest$ac_exeext conftest.$ac_ext
36235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36237 if test `eval echo '${'$as_ac_var'}'` = yes; then
36238 cat >>confdefs.h <<_ACEOF
36239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36240 _ACEOF
36243 done
36250 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
36251 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
36252 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36253 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
36254 echo $ECHO_N "(cached) $ECHO_C" >&6
36255 else
36259 ac_ext=cc
36260 ac_cpp='$CXXCPP $CPPFLAGS'
36261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36265 cat >conftest.$ac_ext <<_ACEOF
36266 /* confdefs.h. */
36267 _ACEOF
36268 cat confdefs.h >>conftest.$ac_ext
36269 cat >>conftest.$ac_ext <<_ACEOF
36270 /* end confdefs.h. */
36271 #include <math.h>
36273 main ()
36275 atan2f(0, 0);
36277 return 0;
36279 _ACEOF
36280 rm -f conftest.$ac_objext
36281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36282 (eval $ac_compile) 2>conftest.er1
36283 ac_status=$?
36284 grep -v '^ *+' conftest.er1 >conftest.err
36285 rm -f conftest.er1
36286 cat conftest.err >&5
36287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36288 (exit $ac_status); } &&
36289 { ac_try='test -z "$ac_cxx_werror_flag"
36290 || test ! -s conftest.err'
36291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36292 (eval $ac_try) 2>&5
36293 ac_status=$?
36294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36295 (exit $ac_status); }; } &&
36296 { ac_try='test -s conftest.$ac_objext'
36297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36298 (eval $ac_try) 2>&5
36299 ac_status=$?
36300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36301 (exit $ac_status); }; }; then
36302 glibcxx_cv_func_atan2f_use=yes
36303 else
36304 echo "$as_me: failed program was:" >&5
36305 sed 's/^/| /' conftest.$ac_ext >&5
36307 glibcxx_cv_func_atan2f_use=no
36309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36310 ac_ext=c
36311 ac_cpp='$CPP $CPPFLAGS'
36312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36320 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
36321 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
36323 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36325 for ac_func in atan2f
36327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36328 echo "$as_me:$LINENO: checking for $ac_func" >&5
36329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36330 if eval "test \"\${$as_ac_var+set}\" = set"; then
36331 echo $ECHO_N "(cached) $ECHO_C" >&6
36332 else
36333 if test x$gcc_no_link = xyes; then
36334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36336 { (exit 1); exit 1; }; }
36338 cat >conftest.$ac_ext <<_ACEOF
36339 /* confdefs.h. */
36340 _ACEOF
36341 cat confdefs.h >>conftest.$ac_ext
36342 cat >>conftest.$ac_ext <<_ACEOF
36343 /* end confdefs.h. */
36344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36346 #define $ac_func innocuous_$ac_func
36348 /* System header to define __stub macros and hopefully few prototypes,
36349 which can conflict with char $ac_func (); below.
36350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36351 <limits.h> exists even on freestanding compilers. */
36353 #ifdef __STDC__
36354 # include <limits.h>
36355 #else
36356 # include <assert.h>
36357 #endif
36359 #undef $ac_func
36361 /* Override any gcc2 internal prototype to avoid an error. */
36362 #ifdef __cplusplus
36363 extern "C"
36365 #endif
36366 /* We use char because int might match the return type of a gcc2
36367 builtin and then its argument prototype would still apply. */
36368 char $ac_func ();
36369 /* The GNU C library defines this for functions which it implements
36370 to always fail with ENOSYS. Some functions are actually named
36371 something starting with __ and the normal name is an alias. */
36372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36373 choke me
36374 #else
36375 char (*f) () = $ac_func;
36376 #endif
36377 #ifdef __cplusplus
36379 #endif
36382 main ()
36384 return f != $ac_func;
36386 return 0;
36388 _ACEOF
36389 rm -f conftest.$ac_objext conftest$ac_exeext
36390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36391 (eval $ac_link) 2>conftest.er1
36392 ac_status=$?
36393 grep -v '^ *+' conftest.er1 >conftest.err
36394 rm -f conftest.er1
36395 cat conftest.err >&5
36396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36397 (exit $ac_status); } &&
36398 { ac_try='test -z "$ac_c_werror_flag"
36399 || test ! -s conftest.err'
36400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36401 (eval $ac_try) 2>&5
36402 ac_status=$?
36403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36404 (exit $ac_status); }; } &&
36405 { ac_try='test -s conftest$ac_exeext'
36406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36407 (eval $ac_try) 2>&5
36408 ac_status=$?
36409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36410 (exit $ac_status); }; }; then
36411 eval "$as_ac_var=yes"
36412 else
36413 echo "$as_me: failed program was:" >&5
36414 sed 's/^/| /' conftest.$ac_ext >&5
36416 eval "$as_ac_var=no"
36418 rm -f conftest.err conftest.$ac_objext \
36419 conftest$ac_exeext conftest.$ac_ext
36421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36423 if test `eval echo '${'$as_ac_var'}'` = yes; then
36424 cat >>confdefs.h <<_ACEOF
36425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36426 _ACEOF
36429 done
36431 else
36433 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
36434 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
36435 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36436 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
36437 echo $ECHO_N "(cached) $ECHO_C" >&6
36438 else
36442 ac_ext=cc
36443 ac_cpp='$CXXCPP $CPPFLAGS'
36444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36448 cat >conftest.$ac_ext <<_ACEOF
36449 /* confdefs.h. */
36450 _ACEOF
36451 cat confdefs.h >>conftest.$ac_ext
36452 cat >>conftest.$ac_ext <<_ACEOF
36453 /* end confdefs.h. */
36454 #include <math.h>
36456 main ()
36458 _atan2f(0, 0);
36460 return 0;
36462 _ACEOF
36463 rm -f conftest.$ac_objext
36464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36465 (eval $ac_compile) 2>conftest.er1
36466 ac_status=$?
36467 grep -v '^ *+' conftest.er1 >conftest.err
36468 rm -f conftest.er1
36469 cat conftest.err >&5
36470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36471 (exit $ac_status); } &&
36472 { ac_try='test -z "$ac_cxx_werror_flag"
36473 || test ! -s conftest.err'
36474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36475 (eval $ac_try) 2>&5
36476 ac_status=$?
36477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36478 (exit $ac_status); }; } &&
36479 { ac_try='test -s conftest.$ac_objext'
36480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36481 (eval $ac_try) 2>&5
36482 ac_status=$?
36483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36484 (exit $ac_status); }; }; then
36485 glibcxx_cv_func__atan2f_use=yes
36486 else
36487 echo "$as_me: failed program was:" >&5
36488 sed 's/^/| /' conftest.$ac_ext >&5
36490 glibcxx_cv_func__atan2f_use=no
36492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36493 ac_ext=c
36494 ac_cpp='$CPP $CPPFLAGS'
36495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36503 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
36504 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
36506 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36508 for ac_func in _atan2f
36510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36511 echo "$as_me:$LINENO: checking for $ac_func" >&5
36512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36513 if eval "test \"\${$as_ac_var+set}\" = set"; then
36514 echo $ECHO_N "(cached) $ECHO_C" >&6
36515 else
36516 if test x$gcc_no_link = xyes; then
36517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36519 { (exit 1); exit 1; }; }
36521 cat >conftest.$ac_ext <<_ACEOF
36522 /* confdefs.h. */
36523 _ACEOF
36524 cat confdefs.h >>conftest.$ac_ext
36525 cat >>conftest.$ac_ext <<_ACEOF
36526 /* end confdefs.h. */
36527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36529 #define $ac_func innocuous_$ac_func
36531 /* System header to define __stub macros and hopefully few prototypes,
36532 which can conflict with char $ac_func (); below.
36533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36534 <limits.h> exists even on freestanding compilers. */
36536 #ifdef __STDC__
36537 # include <limits.h>
36538 #else
36539 # include <assert.h>
36540 #endif
36542 #undef $ac_func
36544 /* Override any gcc2 internal prototype to avoid an error. */
36545 #ifdef __cplusplus
36546 extern "C"
36548 #endif
36549 /* We use char because int might match the return type of a gcc2
36550 builtin and then its argument prototype would still apply. */
36551 char $ac_func ();
36552 /* The GNU C library defines this for functions which it implements
36553 to always fail with ENOSYS. Some functions are actually named
36554 something starting with __ and the normal name is an alias. */
36555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36556 choke me
36557 #else
36558 char (*f) () = $ac_func;
36559 #endif
36560 #ifdef __cplusplus
36562 #endif
36565 main ()
36567 return f != $ac_func;
36569 return 0;
36571 _ACEOF
36572 rm -f conftest.$ac_objext conftest$ac_exeext
36573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36574 (eval $ac_link) 2>conftest.er1
36575 ac_status=$?
36576 grep -v '^ *+' conftest.er1 >conftest.err
36577 rm -f conftest.er1
36578 cat conftest.err >&5
36579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36580 (exit $ac_status); } &&
36581 { ac_try='test -z "$ac_c_werror_flag"
36582 || test ! -s conftest.err'
36583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36584 (eval $ac_try) 2>&5
36585 ac_status=$?
36586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36587 (exit $ac_status); }; } &&
36588 { ac_try='test -s conftest$ac_exeext'
36589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36590 (eval $ac_try) 2>&5
36591 ac_status=$?
36592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36593 (exit $ac_status); }; }; then
36594 eval "$as_ac_var=yes"
36595 else
36596 echo "$as_me: failed program was:" >&5
36597 sed 's/^/| /' conftest.$ac_ext >&5
36599 eval "$as_ac_var=no"
36601 rm -f conftest.err conftest.$ac_objext \
36602 conftest$ac_exeext conftest.$ac_ext
36604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36606 if test `eval echo '${'$as_ac_var'}'` = yes; then
36607 cat >>confdefs.h <<_ACEOF
36608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36609 _ACEOF
36612 done
36619 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
36620 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
36621 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36622 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
36623 echo $ECHO_N "(cached) $ECHO_C" >&6
36624 else
36628 ac_ext=cc
36629 ac_cpp='$CXXCPP $CPPFLAGS'
36630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36634 cat >conftest.$ac_ext <<_ACEOF
36635 /* confdefs.h. */
36636 _ACEOF
36637 cat confdefs.h >>conftest.$ac_ext
36638 cat >>conftest.$ac_ext <<_ACEOF
36639 /* end confdefs.h. */
36640 #include <math.h>
36641 #ifdef HAVE_IEEEFP_H
36642 #include <ieeefp.h>
36643 #endif
36646 main ()
36648 fabsf(0);
36650 return 0;
36652 _ACEOF
36653 rm -f conftest.$ac_objext
36654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36655 (eval $ac_compile) 2>conftest.er1
36656 ac_status=$?
36657 grep -v '^ *+' conftest.er1 >conftest.err
36658 rm -f conftest.er1
36659 cat conftest.err >&5
36660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36661 (exit $ac_status); } &&
36662 { ac_try='test -z "$ac_cxx_werror_flag"
36663 || test ! -s conftest.err'
36664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36665 (eval $ac_try) 2>&5
36666 ac_status=$?
36667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36668 (exit $ac_status); }; } &&
36669 { ac_try='test -s conftest.$ac_objext'
36670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36671 (eval $ac_try) 2>&5
36672 ac_status=$?
36673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36674 (exit $ac_status); }; }; then
36675 glibcxx_cv_func_fabsf_use=yes
36676 else
36677 echo "$as_me: failed program was:" >&5
36678 sed 's/^/| /' conftest.$ac_ext >&5
36680 glibcxx_cv_func_fabsf_use=no
36682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36683 ac_ext=c
36684 ac_cpp='$CPP $CPPFLAGS'
36685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36693 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
36694 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
36696 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36698 for ac_func in fabsf
36700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36701 echo "$as_me:$LINENO: checking for $ac_func" >&5
36702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36703 if eval "test \"\${$as_ac_var+set}\" = set"; then
36704 echo $ECHO_N "(cached) $ECHO_C" >&6
36705 else
36706 if test x$gcc_no_link = xyes; then
36707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36709 { (exit 1); exit 1; }; }
36711 cat >conftest.$ac_ext <<_ACEOF
36712 /* confdefs.h. */
36713 _ACEOF
36714 cat confdefs.h >>conftest.$ac_ext
36715 cat >>conftest.$ac_ext <<_ACEOF
36716 /* end confdefs.h. */
36717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36719 #define $ac_func innocuous_$ac_func
36721 /* System header to define __stub macros and hopefully few prototypes,
36722 which can conflict with char $ac_func (); below.
36723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36724 <limits.h> exists even on freestanding compilers. */
36726 #ifdef __STDC__
36727 # include <limits.h>
36728 #else
36729 # include <assert.h>
36730 #endif
36732 #undef $ac_func
36734 /* Override any gcc2 internal prototype to avoid an error. */
36735 #ifdef __cplusplus
36736 extern "C"
36738 #endif
36739 /* We use char because int might match the return type of a gcc2
36740 builtin and then its argument prototype would still apply. */
36741 char $ac_func ();
36742 /* The GNU C library defines this for functions which it implements
36743 to always fail with ENOSYS. Some functions are actually named
36744 something starting with __ and the normal name is an alias. */
36745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36746 choke me
36747 #else
36748 char (*f) () = $ac_func;
36749 #endif
36750 #ifdef __cplusplus
36752 #endif
36755 main ()
36757 return f != $ac_func;
36759 return 0;
36761 _ACEOF
36762 rm -f conftest.$ac_objext conftest$ac_exeext
36763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36764 (eval $ac_link) 2>conftest.er1
36765 ac_status=$?
36766 grep -v '^ *+' conftest.er1 >conftest.err
36767 rm -f conftest.er1
36768 cat conftest.err >&5
36769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36770 (exit $ac_status); } &&
36771 { ac_try='test -z "$ac_c_werror_flag"
36772 || test ! -s conftest.err'
36773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36774 (eval $ac_try) 2>&5
36775 ac_status=$?
36776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36777 (exit $ac_status); }; } &&
36778 { ac_try='test -s conftest$ac_exeext'
36779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36780 (eval $ac_try) 2>&5
36781 ac_status=$?
36782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36783 (exit $ac_status); }; }; then
36784 eval "$as_ac_var=yes"
36785 else
36786 echo "$as_me: failed program was:" >&5
36787 sed 's/^/| /' conftest.$ac_ext >&5
36789 eval "$as_ac_var=no"
36791 rm -f conftest.err conftest.$ac_objext \
36792 conftest$ac_exeext conftest.$ac_ext
36794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36796 if test `eval echo '${'$as_ac_var'}'` = yes; then
36797 cat >>confdefs.h <<_ACEOF
36798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36799 _ACEOF
36802 done
36804 else
36806 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
36807 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
36808 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36809 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
36810 echo $ECHO_N "(cached) $ECHO_C" >&6
36811 else
36815 ac_ext=cc
36816 ac_cpp='$CXXCPP $CPPFLAGS'
36817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36821 cat >conftest.$ac_ext <<_ACEOF
36822 /* confdefs.h. */
36823 _ACEOF
36824 cat confdefs.h >>conftest.$ac_ext
36825 cat >>conftest.$ac_ext <<_ACEOF
36826 /* end confdefs.h. */
36827 #include <math.h>
36828 #ifdef HAVE_IEEEFP_H
36829 #include <ieeefp.h>
36830 #endif
36833 main ()
36835 _fabsf(0);
36837 return 0;
36839 _ACEOF
36840 rm -f conftest.$ac_objext
36841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36842 (eval $ac_compile) 2>conftest.er1
36843 ac_status=$?
36844 grep -v '^ *+' conftest.er1 >conftest.err
36845 rm -f conftest.er1
36846 cat conftest.err >&5
36847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36848 (exit $ac_status); } &&
36849 { ac_try='test -z "$ac_cxx_werror_flag"
36850 || test ! -s conftest.err'
36851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36852 (eval $ac_try) 2>&5
36853 ac_status=$?
36854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36855 (exit $ac_status); }; } &&
36856 { ac_try='test -s conftest.$ac_objext'
36857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36858 (eval $ac_try) 2>&5
36859 ac_status=$?
36860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36861 (exit $ac_status); }; }; then
36862 glibcxx_cv_func__fabsf_use=yes
36863 else
36864 echo "$as_me: failed program was:" >&5
36865 sed 's/^/| /' conftest.$ac_ext >&5
36867 glibcxx_cv_func__fabsf_use=no
36869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36870 ac_ext=c
36871 ac_cpp='$CPP $CPPFLAGS'
36872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36880 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36881 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36883 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36885 for ac_func in _fabsf
36887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36888 echo "$as_me:$LINENO: checking for $ac_func" >&5
36889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36890 if eval "test \"\${$as_ac_var+set}\" = set"; then
36891 echo $ECHO_N "(cached) $ECHO_C" >&6
36892 else
36893 if test x$gcc_no_link = xyes; then
36894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36896 { (exit 1); exit 1; }; }
36898 cat >conftest.$ac_ext <<_ACEOF
36899 /* confdefs.h. */
36900 _ACEOF
36901 cat confdefs.h >>conftest.$ac_ext
36902 cat >>conftest.$ac_ext <<_ACEOF
36903 /* end confdefs.h. */
36904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36906 #define $ac_func innocuous_$ac_func
36908 /* System header to define __stub macros and hopefully few prototypes,
36909 which can conflict with char $ac_func (); below.
36910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36911 <limits.h> exists even on freestanding compilers. */
36913 #ifdef __STDC__
36914 # include <limits.h>
36915 #else
36916 # include <assert.h>
36917 #endif
36919 #undef $ac_func
36921 /* Override any gcc2 internal prototype to avoid an error. */
36922 #ifdef __cplusplus
36923 extern "C"
36925 #endif
36926 /* We use char because int might match the return type of a gcc2
36927 builtin and then its argument prototype would still apply. */
36928 char $ac_func ();
36929 /* The GNU C library defines this for functions which it implements
36930 to always fail with ENOSYS. Some functions are actually named
36931 something starting with __ and the normal name is an alias. */
36932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36933 choke me
36934 #else
36935 char (*f) () = $ac_func;
36936 #endif
36937 #ifdef __cplusplus
36939 #endif
36942 main ()
36944 return f != $ac_func;
36946 return 0;
36948 _ACEOF
36949 rm -f conftest.$ac_objext conftest$ac_exeext
36950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36951 (eval $ac_link) 2>conftest.er1
36952 ac_status=$?
36953 grep -v '^ *+' conftest.er1 >conftest.err
36954 rm -f conftest.er1
36955 cat conftest.err >&5
36956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36957 (exit $ac_status); } &&
36958 { ac_try='test -z "$ac_c_werror_flag"
36959 || test ! -s conftest.err'
36960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36961 (eval $ac_try) 2>&5
36962 ac_status=$?
36963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36964 (exit $ac_status); }; } &&
36965 { ac_try='test -s conftest$ac_exeext'
36966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36967 (eval $ac_try) 2>&5
36968 ac_status=$?
36969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36970 (exit $ac_status); }; }; then
36971 eval "$as_ac_var=yes"
36972 else
36973 echo "$as_me: failed program was:" >&5
36974 sed 's/^/| /' conftest.$ac_ext >&5
36976 eval "$as_ac_var=no"
36978 rm -f conftest.err conftest.$ac_objext \
36979 conftest$ac_exeext conftest.$ac_ext
36981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36983 if test `eval echo '${'$as_ac_var'}'` = yes; then
36984 cat >>confdefs.h <<_ACEOF
36985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36986 _ACEOF
36989 done
36996 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36997 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36998 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36999 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
37000 echo $ECHO_N "(cached) $ECHO_C" >&6
37001 else
37005 ac_ext=cc
37006 ac_cpp='$CXXCPP $CPPFLAGS'
37007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37011 cat >conftest.$ac_ext <<_ACEOF
37012 /* confdefs.h. */
37013 _ACEOF
37014 cat confdefs.h >>conftest.$ac_ext
37015 cat >>conftest.$ac_ext <<_ACEOF
37016 /* end confdefs.h. */
37017 #include <math.h>
37019 main ()
37021 fmodf(0, 0);
37023 return 0;
37025 _ACEOF
37026 rm -f conftest.$ac_objext
37027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37028 (eval $ac_compile) 2>conftest.er1
37029 ac_status=$?
37030 grep -v '^ *+' conftest.er1 >conftest.err
37031 rm -f conftest.er1
37032 cat conftest.err >&5
37033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37034 (exit $ac_status); } &&
37035 { ac_try='test -z "$ac_cxx_werror_flag"
37036 || test ! -s conftest.err'
37037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37038 (eval $ac_try) 2>&5
37039 ac_status=$?
37040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37041 (exit $ac_status); }; } &&
37042 { ac_try='test -s conftest.$ac_objext'
37043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37044 (eval $ac_try) 2>&5
37045 ac_status=$?
37046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37047 (exit $ac_status); }; }; then
37048 glibcxx_cv_func_fmodf_use=yes
37049 else
37050 echo "$as_me: failed program was:" >&5
37051 sed 's/^/| /' conftest.$ac_ext >&5
37053 glibcxx_cv_func_fmodf_use=no
37055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37056 ac_ext=c
37057 ac_cpp='$CPP $CPPFLAGS'
37058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37066 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
37067 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
37069 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37071 for ac_func in fmodf
37073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37074 echo "$as_me:$LINENO: checking for $ac_func" >&5
37075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37076 if eval "test \"\${$as_ac_var+set}\" = set"; then
37077 echo $ECHO_N "(cached) $ECHO_C" >&6
37078 else
37079 if test x$gcc_no_link = xyes; then
37080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37082 { (exit 1); exit 1; }; }
37084 cat >conftest.$ac_ext <<_ACEOF
37085 /* confdefs.h. */
37086 _ACEOF
37087 cat confdefs.h >>conftest.$ac_ext
37088 cat >>conftest.$ac_ext <<_ACEOF
37089 /* end confdefs.h. */
37090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37092 #define $ac_func innocuous_$ac_func
37094 /* System header to define __stub macros and hopefully few prototypes,
37095 which can conflict with char $ac_func (); below.
37096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37097 <limits.h> exists even on freestanding compilers. */
37099 #ifdef __STDC__
37100 # include <limits.h>
37101 #else
37102 # include <assert.h>
37103 #endif
37105 #undef $ac_func
37107 /* Override any gcc2 internal prototype to avoid an error. */
37108 #ifdef __cplusplus
37109 extern "C"
37111 #endif
37112 /* We use char because int might match the return type of a gcc2
37113 builtin and then its argument prototype would still apply. */
37114 char $ac_func ();
37115 /* The GNU C library defines this for functions which it implements
37116 to always fail with ENOSYS. Some functions are actually named
37117 something starting with __ and the normal name is an alias. */
37118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37119 choke me
37120 #else
37121 char (*f) () = $ac_func;
37122 #endif
37123 #ifdef __cplusplus
37125 #endif
37128 main ()
37130 return f != $ac_func;
37132 return 0;
37134 _ACEOF
37135 rm -f conftest.$ac_objext conftest$ac_exeext
37136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37137 (eval $ac_link) 2>conftest.er1
37138 ac_status=$?
37139 grep -v '^ *+' conftest.er1 >conftest.err
37140 rm -f conftest.er1
37141 cat conftest.err >&5
37142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37143 (exit $ac_status); } &&
37144 { ac_try='test -z "$ac_c_werror_flag"
37145 || test ! -s conftest.err'
37146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37147 (eval $ac_try) 2>&5
37148 ac_status=$?
37149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37150 (exit $ac_status); }; } &&
37151 { ac_try='test -s conftest$ac_exeext'
37152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37153 (eval $ac_try) 2>&5
37154 ac_status=$?
37155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37156 (exit $ac_status); }; }; then
37157 eval "$as_ac_var=yes"
37158 else
37159 echo "$as_me: failed program was:" >&5
37160 sed 's/^/| /' conftest.$ac_ext >&5
37162 eval "$as_ac_var=no"
37164 rm -f conftest.err conftest.$ac_objext \
37165 conftest$ac_exeext conftest.$ac_ext
37167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37169 if test `eval echo '${'$as_ac_var'}'` = yes; then
37170 cat >>confdefs.h <<_ACEOF
37171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37172 _ACEOF
37175 done
37177 else
37179 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
37180 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
37181 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37182 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
37183 echo $ECHO_N "(cached) $ECHO_C" >&6
37184 else
37188 ac_ext=cc
37189 ac_cpp='$CXXCPP $CPPFLAGS'
37190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37194 cat >conftest.$ac_ext <<_ACEOF
37195 /* confdefs.h. */
37196 _ACEOF
37197 cat confdefs.h >>conftest.$ac_ext
37198 cat >>conftest.$ac_ext <<_ACEOF
37199 /* end confdefs.h. */
37200 #include <math.h>
37202 main ()
37204 _fmodf(0, 0);
37206 return 0;
37208 _ACEOF
37209 rm -f conftest.$ac_objext
37210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37211 (eval $ac_compile) 2>conftest.er1
37212 ac_status=$?
37213 grep -v '^ *+' conftest.er1 >conftest.err
37214 rm -f conftest.er1
37215 cat conftest.err >&5
37216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37217 (exit $ac_status); } &&
37218 { ac_try='test -z "$ac_cxx_werror_flag"
37219 || test ! -s conftest.err'
37220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37221 (eval $ac_try) 2>&5
37222 ac_status=$?
37223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37224 (exit $ac_status); }; } &&
37225 { ac_try='test -s conftest.$ac_objext'
37226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37227 (eval $ac_try) 2>&5
37228 ac_status=$?
37229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37230 (exit $ac_status); }; }; then
37231 glibcxx_cv_func__fmodf_use=yes
37232 else
37233 echo "$as_me: failed program was:" >&5
37234 sed 's/^/| /' conftest.$ac_ext >&5
37236 glibcxx_cv_func__fmodf_use=no
37238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37239 ac_ext=c
37240 ac_cpp='$CPP $CPPFLAGS'
37241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37249 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
37250 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
37252 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37254 for ac_func in _fmodf
37256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37257 echo "$as_me:$LINENO: checking for $ac_func" >&5
37258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37259 if eval "test \"\${$as_ac_var+set}\" = set"; then
37260 echo $ECHO_N "(cached) $ECHO_C" >&6
37261 else
37262 if test x$gcc_no_link = xyes; then
37263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37265 { (exit 1); exit 1; }; }
37267 cat >conftest.$ac_ext <<_ACEOF
37268 /* confdefs.h. */
37269 _ACEOF
37270 cat confdefs.h >>conftest.$ac_ext
37271 cat >>conftest.$ac_ext <<_ACEOF
37272 /* end confdefs.h. */
37273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37275 #define $ac_func innocuous_$ac_func
37277 /* System header to define __stub macros and hopefully few prototypes,
37278 which can conflict with char $ac_func (); below.
37279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37280 <limits.h> exists even on freestanding compilers. */
37282 #ifdef __STDC__
37283 # include <limits.h>
37284 #else
37285 # include <assert.h>
37286 #endif
37288 #undef $ac_func
37290 /* Override any gcc2 internal prototype to avoid an error. */
37291 #ifdef __cplusplus
37292 extern "C"
37294 #endif
37295 /* We use char because int might match the return type of a gcc2
37296 builtin and then its argument prototype would still apply. */
37297 char $ac_func ();
37298 /* The GNU C library defines this for functions which it implements
37299 to always fail with ENOSYS. Some functions are actually named
37300 something starting with __ and the normal name is an alias. */
37301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37302 choke me
37303 #else
37304 char (*f) () = $ac_func;
37305 #endif
37306 #ifdef __cplusplus
37308 #endif
37311 main ()
37313 return f != $ac_func;
37315 return 0;
37317 _ACEOF
37318 rm -f conftest.$ac_objext conftest$ac_exeext
37319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37320 (eval $ac_link) 2>conftest.er1
37321 ac_status=$?
37322 grep -v '^ *+' conftest.er1 >conftest.err
37323 rm -f conftest.er1
37324 cat conftest.err >&5
37325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37326 (exit $ac_status); } &&
37327 { ac_try='test -z "$ac_c_werror_flag"
37328 || test ! -s conftest.err'
37329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37330 (eval $ac_try) 2>&5
37331 ac_status=$?
37332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37333 (exit $ac_status); }; } &&
37334 { ac_try='test -s conftest$ac_exeext'
37335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37336 (eval $ac_try) 2>&5
37337 ac_status=$?
37338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37339 (exit $ac_status); }; }; then
37340 eval "$as_ac_var=yes"
37341 else
37342 echo "$as_me: failed program was:" >&5
37343 sed 's/^/| /' conftest.$ac_ext >&5
37345 eval "$as_ac_var=no"
37347 rm -f conftest.err conftest.$ac_objext \
37348 conftest$ac_exeext conftest.$ac_ext
37350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37352 if test `eval echo '${'$as_ac_var'}'` = yes; then
37353 cat >>confdefs.h <<_ACEOF
37354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37355 _ACEOF
37358 done
37365 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
37366 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
37367 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37368 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
37369 echo $ECHO_N "(cached) $ECHO_C" >&6
37370 else
37374 ac_ext=cc
37375 ac_cpp='$CXXCPP $CPPFLAGS'
37376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37380 cat >conftest.$ac_ext <<_ACEOF
37381 /* confdefs.h. */
37382 _ACEOF
37383 cat confdefs.h >>conftest.$ac_ext
37384 cat >>conftest.$ac_ext <<_ACEOF
37385 /* end confdefs.h. */
37386 #include <math.h>
37388 main ()
37390 frexpf(0, 0);
37392 return 0;
37394 _ACEOF
37395 rm -f conftest.$ac_objext
37396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37397 (eval $ac_compile) 2>conftest.er1
37398 ac_status=$?
37399 grep -v '^ *+' conftest.er1 >conftest.err
37400 rm -f conftest.er1
37401 cat conftest.err >&5
37402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37403 (exit $ac_status); } &&
37404 { ac_try='test -z "$ac_cxx_werror_flag"
37405 || test ! -s conftest.err'
37406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37407 (eval $ac_try) 2>&5
37408 ac_status=$?
37409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37410 (exit $ac_status); }; } &&
37411 { ac_try='test -s conftest.$ac_objext'
37412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37413 (eval $ac_try) 2>&5
37414 ac_status=$?
37415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37416 (exit $ac_status); }; }; then
37417 glibcxx_cv_func_frexpf_use=yes
37418 else
37419 echo "$as_me: failed program was:" >&5
37420 sed 's/^/| /' conftest.$ac_ext >&5
37422 glibcxx_cv_func_frexpf_use=no
37424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37425 ac_ext=c
37426 ac_cpp='$CPP $CPPFLAGS'
37427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37435 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
37436 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
37438 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37440 for ac_func in frexpf
37442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37443 echo "$as_me:$LINENO: checking for $ac_func" >&5
37444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37445 if eval "test \"\${$as_ac_var+set}\" = set"; then
37446 echo $ECHO_N "(cached) $ECHO_C" >&6
37447 else
37448 if test x$gcc_no_link = xyes; then
37449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37451 { (exit 1); exit 1; }; }
37453 cat >conftest.$ac_ext <<_ACEOF
37454 /* confdefs.h. */
37455 _ACEOF
37456 cat confdefs.h >>conftest.$ac_ext
37457 cat >>conftest.$ac_ext <<_ACEOF
37458 /* end confdefs.h. */
37459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37461 #define $ac_func innocuous_$ac_func
37463 /* System header to define __stub macros and hopefully few prototypes,
37464 which can conflict with char $ac_func (); below.
37465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37466 <limits.h> exists even on freestanding compilers. */
37468 #ifdef __STDC__
37469 # include <limits.h>
37470 #else
37471 # include <assert.h>
37472 #endif
37474 #undef $ac_func
37476 /* Override any gcc2 internal prototype to avoid an error. */
37477 #ifdef __cplusplus
37478 extern "C"
37480 #endif
37481 /* We use char because int might match the return type of a gcc2
37482 builtin and then its argument prototype would still apply. */
37483 char $ac_func ();
37484 /* The GNU C library defines this for functions which it implements
37485 to always fail with ENOSYS. Some functions are actually named
37486 something starting with __ and the normal name is an alias. */
37487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37488 choke me
37489 #else
37490 char (*f) () = $ac_func;
37491 #endif
37492 #ifdef __cplusplus
37494 #endif
37497 main ()
37499 return f != $ac_func;
37501 return 0;
37503 _ACEOF
37504 rm -f conftest.$ac_objext conftest$ac_exeext
37505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37506 (eval $ac_link) 2>conftest.er1
37507 ac_status=$?
37508 grep -v '^ *+' conftest.er1 >conftest.err
37509 rm -f conftest.er1
37510 cat conftest.err >&5
37511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37512 (exit $ac_status); } &&
37513 { ac_try='test -z "$ac_c_werror_flag"
37514 || test ! -s conftest.err'
37515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37516 (eval $ac_try) 2>&5
37517 ac_status=$?
37518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37519 (exit $ac_status); }; } &&
37520 { ac_try='test -s conftest$ac_exeext'
37521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37522 (eval $ac_try) 2>&5
37523 ac_status=$?
37524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37525 (exit $ac_status); }; }; then
37526 eval "$as_ac_var=yes"
37527 else
37528 echo "$as_me: failed program was:" >&5
37529 sed 's/^/| /' conftest.$ac_ext >&5
37531 eval "$as_ac_var=no"
37533 rm -f conftest.err conftest.$ac_objext \
37534 conftest$ac_exeext conftest.$ac_ext
37536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37538 if test `eval echo '${'$as_ac_var'}'` = yes; then
37539 cat >>confdefs.h <<_ACEOF
37540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37541 _ACEOF
37544 done
37546 else
37548 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
37549 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
37550 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37551 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
37552 echo $ECHO_N "(cached) $ECHO_C" >&6
37553 else
37557 ac_ext=cc
37558 ac_cpp='$CXXCPP $CPPFLAGS'
37559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37563 cat >conftest.$ac_ext <<_ACEOF
37564 /* confdefs.h. */
37565 _ACEOF
37566 cat confdefs.h >>conftest.$ac_ext
37567 cat >>conftest.$ac_ext <<_ACEOF
37568 /* end confdefs.h. */
37569 #include <math.h>
37571 main ()
37573 _frexpf(0, 0);
37575 return 0;
37577 _ACEOF
37578 rm -f conftest.$ac_objext
37579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37580 (eval $ac_compile) 2>conftest.er1
37581 ac_status=$?
37582 grep -v '^ *+' conftest.er1 >conftest.err
37583 rm -f conftest.er1
37584 cat conftest.err >&5
37585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37586 (exit $ac_status); } &&
37587 { ac_try='test -z "$ac_cxx_werror_flag"
37588 || test ! -s conftest.err'
37589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37590 (eval $ac_try) 2>&5
37591 ac_status=$?
37592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37593 (exit $ac_status); }; } &&
37594 { ac_try='test -s conftest.$ac_objext'
37595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37596 (eval $ac_try) 2>&5
37597 ac_status=$?
37598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37599 (exit $ac_status); }; }; then
37600 glibcxx_cv_func__frexpf_use=yes
37601 else
37602 echo "$as_me: failed program was:" >&5
37603 sed 's/^/| /' conftest.$ac_ext >&5
37605 glibcxx_cv_func__frexpf_use=no
37607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37608 ac_ext=c
37609 ac_cpp='$CPP $CPPFLAGS'
37610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37618 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
37619 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
37621 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37623 for ac_func in _frexpf
37625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37626 echo "$as_me:$LINENO: checking for $ac_func" >&5
37627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37628 if eval "test \"\${$as_ac_var+set}\" = set"; then
37629 echo $ECHO_N "(cached) $ECHO_C" >&6
37630 else
37631 if test x$gcc_no_link = xyes; then
37632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37634 { (exit 1); exit 1; }; }
37636 cat >conftest.$ac_ext <<_ACEOF
37637 /* confdefs.h. */
37638 _ACEOF
37639 cat confdefs.h >>conftest.$ac_ext
37640 cat >>conftest.$ac_ext <<_ACEOF
37641 /* end confdefs.h. */
37642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37644 #define $ac_func innocuous_$ac_func
37646 /* System header to define __stub macros and hopefully few prototypes,
37647 which can conflict with char $ac_func (); below.
37648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37649 <limits.h> exists even on freestanding compilers. */
37651 #ifdef __STDC__
37652 # include <limits.h>
37653 #else
37654 # include <assert.h>
37655 #endif
37657 #undef $ac_func
37659 /* Override any gcc2 internal prototype to avoid an error. */
37660 #ifdef __cplusplus
37661 extern "C"
37663 #endif
37664 /* We use char because int might match the return type of a gcc2
37665 builtin and then its argument prototype would still apply. */
37666 char $ac_func ();
37667 /* The GNU C library defines this for functions which it implements
37668 to always fail with ENOSYS. Some functions are actually named
37669 something starting with __ and the normal name is an alias. */
37670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37671 choke me
37672 #else
37673 char (*f) () = $ac_func;
37674 #endif
37675 #ifdef __cplusplus
37677 #endif
37680 main ()
37682 return f != $ac_func;
37684 return 0;
37686 _ACEOF
37687 rm -f conftest.$ac_objext conftest$ac_exeext
37688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37689 (eval $ac_link) 2>conftest.er1
37690 ac_status=$?
37691 grep -v '^ *+' conftest.er1 >conftest.err
37692 rm -f conftest.er1
37693 cat conftest.err >&5
37694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37695 (exit $ac_status); } &&
37696 { ac_try='test -z "$ac_c_werror_flag"
37697 || test ! -s conftest.err'
37698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37699 (eval $ac_try) 2>&5
37700 ac_status=$?
37701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37702 (exit $ac_status); }; } &&
37703 { ac_try='test -s conftest$ac_exeext'
37704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37705 (eval $ac_try) 2>&5
37706 ac_status=$?
37707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37708 (exit $ac_status); }; }; then
37709 eval "$as_ac_var=yes"
37710 else
37711 echo "$as_me: failed program was:" >&5
37712 sed 's/^/| /' conftest.$ac_ext >&5
37714 eval "$as_ac_var=no"
37716 rm -f conftest.err conftest.$ac_objext \
37717 conftest$ac_exeext conftest.$ac_ext
37719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37721 if test `eval echo '${'$as_ac_var'}'` = yes; then
37722 cat >>confdefs.h <<_ACEOF
37723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37724 _ACEOF
37727 done
37734 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
37735 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
37736 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37737 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
37738 echo $ECHO_N "(cached) $ECHO_C" >&6
37739 else
37743 ac_ext=cc
37744 ac_cpp='$CXXCPP $CPPFLAGS'
37745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37749 cat >conftest.$ac_ext <<_ACEOF
37750 /* confdefs.h. */
37751 _ACEOF
37752 cat confdefs.h >>conftest.$ac_ext
37753 cat >>conftest.$ac_ext <<_ACEOF
37754 /* end confdefs.h. */
37755 #include <math.h>
37757 main ()
37759 hypotf(0, 0);
37761 return 0;
37763 _ACEOF
37764 rm -f conftest.$ac_objext
37765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37766 (eval $ac_compile) 2>conftest.er1
37767 ac_status=$?
37768 grep -v '^ *+' conftest.er1 >conftest.err
37769 rm -f conftest.er1
37770 cat conftest.err >&5
37771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37772 (exit $ac_status); } &&
37773 { ac_try='test -z "$ac_cxx_werror_flag"
37774 || test ! -s conftest.err'
37775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37776 (eval $ac_try) 2>&5
37777 ac_status=$?
37778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37779 (exit $ac_status); }; } &&
37780 { ac_try='test -s conftest.$ac_objext'
37781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37782 (eval $ac_try) 2>&5
37783 ac_status=$?
37784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37785 (exit $ac_status); }; }; then
37786 glibcxx_cv_func_hypotf_use=yes
37787 else
37788 echo "$as_me: failed program was:" >&5
37789 sed 's/^/| /' conftest.$ac_ext >&5
37791 glibcxx_cv_func_hypotf_use=no
37793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37794 ac_ext=c
37795 ac_cpp='$CPP $CPPFLAGS'
37796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37804 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
37805 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
37807 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37809 for ac_func in hypotf
37811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37812 echo "$as_me:$LINENO: checking for $ac_func" >&5
37813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37814 if eval "test \"\${$as_ac_var+set}\" = set"; then
37815 echo $ECHO_N "(cached) $ECHO_C" >&6
37816 else
37817 if test x$gcc_no_link = xyes; then
37818 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37820 { (exit 1); exit 1; }; }
37822 cat >conftest.$ac_ext <<_ACEOF
37823 /* confdefs.h. */
37824 _ACEOF
37825 cat confdefs.h >>conftest.$ac_ext
37826 cat >>conftest.$ac_ext <<_ACEOF
37827 /* end confdefs.h. */
37828 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37830 #define $ac_func innocuous_$ac_func
37832 /* System header to define __stub macros and hopefully few prototypes,
37833 which can conflict with char $ac_func (); below.
37834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37835 <limits.h> exists even on freestanding compilers. */
37837 #ifdef __STDC__
37838 # include <limits.h>
37839 #else
37840 # include <assert.h>
37841 #endif
37843 #undef $ac_func
37845 /* Override any gcc2 internal prototype to avoid an error. */
37846 #ifdef __cplusplus
37847 extern "C"
37849 #endif
37850 /* We use char because int might match the return type of a gcc2
37851 builtin and then its argument prototype would still apply. */
37852 char $ac_func ();
37853 /* The GNU C library defines this for functions which it implements
37854 to always fail with ENOSYS. Some functions are actually named
37855 something starting with __ and the normal name is an alias. */
37856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37857 choke me
37858 #else
37859 char (*f) () = $ac_func;
37860 #endif
37861 #ifdef __cplusplus
37863 #endif
37866 main ()
37868 return f != $ac_func;
37870 return 0;
37872 _ACEOF
37873 rm -f conftest.$ac_objext conftest$ac_exeext
37874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37875 (eval $ac_link) 2>conftest.er1
37876 ac_status=$?
37877 grep -v '^ *+' conftest.er1 >conftest.err
37878 rm -f conftest.er1
37879 cat conftest.err >&5
37880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37881 (exit $ac_status); } &&
37882 { ac_try='test -z "$ac_c_werror_flag"
37883 || test ! -s conftest.err'
37884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37885 (eval $ac_try) 2>&5
37886 ac_status=$?
37887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37888 (exit $ac_status); }; } &&
37889 { ac_try='test -s conftest$ac_exeext'
37890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37891 (eval $ac_try) 2>&5
37892 ac_status=$?
37893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37894 (exit $ac_status); }; }; then
37895 eval "$as_ac_var=yes"
37896 else
37897 echo "$as_me: failed program was:" >&5
37898 sed 's/^/| /' conftest.$ac_ext >&5
37900 eval "$as_ac_var=no"
37902 rm -f conftest.err conftest.$ac_objext \
37903 conftest$ac_exeext conftest.$ac_ext
37905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37906 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37907 if test `eval echo '${'$as_ac_var'}'` = yes; then
37908 cat >>confdefs.h <<_ACEOF
37909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37910 _ACEOF
37913 done
37915 else
37917 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37918 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37919 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37920 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37921 echo $ECHO_N "(cached) $ECHO_C" >&6
37922 else
37926 ac_ext=cc
37927 ac_cpp='$CXXCPP $CPPFLAGS'
37928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37932 cat >conftest.$ac_ext <<_ACEOF
37933 /* confdefs.h. */
37934 _ACEOF
37935 cat confdefs.h >>conftest.$ac_ext
37936 cat >>conftest.$ac_ext <<_ACEOF
37937 /* end confdefs.h. */
37938 #include <math.h>
37940 main ()
37942 _hypotf(0, 0);
37944 return 0;
37946 _ACEOF
37947 rm -f conftest.$ac_objext
37948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37949 (eval $ac_compile) 2>conftest.er1
37950 ac_status=$?
37951 grep -v '^ *+' conftest.er1 >conftest.err
37952 rm -f conftest.er1
37953 cat conftest.err >&5
37954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37955 (exit $ac_status); } &&
37956 { ac_try='test -z "$ac_cxx_werror_flag"
37957 || test ! -s conftest.err'
37958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37959 (eval $ac_try) 2>&5
37960 ac_status=$?
37961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37962 (exit $ac_status); }; } &&
37963 { ac_try='test -s conftest.$ac_objext'
37964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37965 (eval $ac_try) 2>&5
37966 ac_status=$?
37967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37968 (exit $ac_status); }; }; then
37969 glibcxx_cv_func__hypotf_use=yes
37970 else
37971 echo "$as_me: failed program was:" >&5
37972 sed 's/^/| /' conftest.$ac_ext >&5
37974 glibcxx_cv_func__hypotf_use=no
37976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37977 ac_ext=c
37978 ac_cpp='$CPP $CPPFLAGS'
37979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37987 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37988 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37990 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37992 for ac_func in _hypotf
37994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37995 echo "$as_me:$LINENO: checking for $ac_func" >&5
37996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37997 if eval "test \"\${$as_ac_var+set}\" = set"; then
37998 echo $ECHO_N "(cached) $ECHO_C" >&6
37999 else
38000 if test x$gcc_no_link = xyes; then
38001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38003 { (exit 1); exit 1; }; }
38005 cat >conftest.$ac_ext <<_ACEOF
38006 /* confdefs.h. */
38007 _ACEOF
38008 cat confdefs.h >>conftest.$ac_ext
38009 cat >>conftest.$ac_ext <<_ACEOF
38010 /* end confdefs.h. */
38011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38013 #define $ac_func innocuous_$ac_func
38015 /* System header to define __stub macros and hopefully few prototypes,
38016 which can conflict with char $ac_func (); below.
38017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38018 <limits.h> exists even on freestanding compilers. */
38020 #ifdef __STDC__
38021 # include <limits.h>
38022 #else
38023 # include <assert.h>
38024 #endif
38026 #undef $ac_func
38028 /* Override any gcc2 internal prototype to avoid an error. */
38029 #ifdef __cplusplus
38030 extern "C"
38032 #endif
38033 /* We use char because int might match the return type of a gcc2
38034 builtin and then its argument prototype would still apply. */
38035 char $ac_func ();
38036 /* The GNU C library defines this for functions which it implements
38037 to always fail with ENOSYS. Some functions are actually named
38038 something starting with __ and the normal name is an alias. */
38039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38040 choke me
38041 #else
38042 char (*f) () = $ac_func;
38043 #endif
38044 #ifdef __cplusplus
38046 #endif
38049 main ()
38051 return f != $ac_func;
38053 return 0;
38055 _ACEOF
38056 rm -f conftest.$ac_objext conftest$ac_exeext
38057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38058 (eval $ac_link) 2>conftest.er1
38059 ac_status=$?
38060 grep -v '^ *+' conftest.er1 >conftest.err
38061 rm -f conftest.er1
38062 cat conftest.err >&5
38063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38064 (exit $ac_status); } &&
38065 { ac_try='test -z "$ac_c_werror_flag"
38066 || test ! -s conftest.err'
38067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38068 (eval $ac_try) 2>&5
38069 ac_status=$?
38070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38071 (exit $ac_status); }; } &&
38072 { ac_try='test -s conftest$ac_exeext'
38073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38074 (eval $ac_try) 2>&5
38075 ac_status=$?
38076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38077 (exit $ac_status); }; }; then
38078 eval "$as_ac_var=yes"
38079 else
38080 echo "$as_me: failed program was:" >&5
38081 sed 's/^/| /' conftest.$ac_ext >&5
38083 eval "$as_ac_var=no"
38085 rm -f conftest.err conftest.$ac_objext \
38086 conftest$ac_exeext conftest.$ac_ext
38088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38090 if test `eval echo '${'$as_ac_var'}'` = yes; then
38091 cat >>confdefs.h <<_ACEOF
38092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38093 _ACEOF
38096 done
38103 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
38104 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
38105 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
38106 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
38107 echo $ECHO_N "(cached) $ECHO_C" >&6
38108 else
38112 ac_ext=cc
38113 ac_cpp='$CXXCPP $CPPFLAGS'
38114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38118 cat >conftest.$ac_ext <<_ACEOF
38119 /* confdefs.h. */
38120 _ACEOF
38121 cat confdefs.h >>conftest.$ac_ext
38122 cat >>conftest.$ac_ext <<_ACEOF
38123 /* end confdefs.h. */
38124 #include <math.h>
38126 main ()
38128 ldexpf(0, 0);
38130 return 0;
38132 _ACEOF
38133 rm -f conftest.$ac_objext
38134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38135 (eval $ac_compile) 2>conftest.er1
38136 ac_status=$?
38137 grep -v '^ *+' conftest.er1 >conftest.err
38138 rm -f conftest.er1
38139 cat conftest.err >&5
38140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38141 (exit $ac_status); } &&
38142 { ac_try='test -z "$ac_cxx_werror_flag"
38143 || test ! -s conftest.err'
38144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38145 (eval $ac_try) 2>&5
38146 ac_status=$?
38147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38148 (exit $ac_status); }; } &&
38149 { ac_try='test -s conftest.$ac_objext'
38150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38151 (eval $ac_try) 2>&5
38152 ac_status=$?
38153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38154 (exit $ac_status); }; }; then
38155 glibcxx_cv_func_ldexpf_use=yes
38156 else
38157 echo "$as_me: failed program was:" >&5
38158 sed 's/^/| /' conftest.$ac_ext >&5
38160 glibcxx_cv_func_ldexpf_use=no
38162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38163 ac_ext=c
38164 ac_cpp='$CPP $CPPFLAGS'
38165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38173 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
38174 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
38176 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
38178 for ac_func in ldexpf
38180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38181 echo "$as_me:$LINENO: checking for $ac_func" >&5
38182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38183 if eval "test \"\${$as_ac_var+set}\" = set"; then
38184 echo $ECHO_N "(cached) $ECHO_C" >&6
38185 else
38186 if test x$gcc_no_link = xyes; then
38187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38189 { (exit 1); exit 1; }; }
38191 cat >conftest.$ac_ext <<_ACEOF
38192 /* confdefs.h. */
38193 _ACEOF
38194 cat confdefs.h >>conftest.$ac_ext
38195 cat >>conftest.$ac_ext <<_ACEOF
38196 /* end confdefs.h. */
38197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38199 #define $ac_func innocuous_$ac_func
38201 /* System header to define __stub macros and hopefully few prototypes,
38202 which can conflict with char $ac_func (); below.
38203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38204 <limits.h> exists even on freestanding compilers. */
38206 #ifdef __STDC__
38207 # include <limits.h>
38208 #else
38209 # include <assert.h>
38210 #endif
38212 #undef $ac_func
38214 /* Override any gcc2 internal prototype to avoid an error. */
38215 #ifdef __cplusplus
38216 extern "C"
38218 #endif
38219 /* We use char because int might match the return type of a gcc2
38220 builtin and then its argument prototype would still apply. */
38221 char $ac_func ();
38222 /* The GNU C library defines this for functions which it implements
38223 to always fail with ENOSYS. Some functions are actually named
38224 something starting with __ and the normal name is an alias. */
38225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38226 choke me
38227 #else
38228 char (*f) () = $ac_func;
38229 #endif
38230 #ifdef __cplusplus
38232 #endif
38235 main ()
38237 return f != $ac_func;
38239 return 0;
38241 _ACEOF
38242 rm -f conftest.$ac_objext conftest$ac_exeext
38243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38244 (eval $ac_link) 2>conftest.er1
38245 ac_status=$?
38246 grep -v '^ *+' conftest.er1 >conftest.err
38247 rm -f conftest.er1
38248 cat conftest.err >&5
38249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38250 (exit $ac_status); } &&
38251 { ac_try='test -z "$ac_c_werror_flag"
38252 || test ! -s conftest.err'
38253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38254 (eval $ac_try) 2>&5
38255 ac_status=$?
38256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38257 (exit $ac_status); }; } &&
38258 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
38264 eval "$as_ac_var=yes"
38265 else
38266 echo "$as_me: failed program was:" >&5
38267 sed 's/^/| /' conftest.$ac_ext >&5
38269 eval "$as_ac_var=no"
38271 rm -f conftest.err conftest.$ac_objext \
38272 conftest$ac_exeext conftest.$ac_ext
38274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38276 if test `eval echo '${'$as_ac_var'}'` = yes; then
38277 cat >>confdefs.h <<_ACEOF
38278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38279 _ACEOF
38282 done
38284 else
38286 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
38287 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
38288 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38289 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
38290 echo $ECHO_N "(cached) $ECHO_C" >&6
38291 else
38295 ac_ext=cc
38296 ac_cpp='$CXXCPP $CPPFLAGS'
38297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38301 cat >conftest.$ac_ext <<_ACEOF
38302 /* confdefs.h. */
38303 _ACEOF
38304 cat confdefs.h >>conftest.$ac_ext
38305 cat >>conftest.$ac_ext <<_ACEOF
38306 /* end confdefs.h. */
38307 #include <math.h>
38309 main ()
38311 _ldexpf(0, 0);
38313 return 0;
38315 _ACEOF
38316 rm -f conftest.$ac_objext
38317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38318 (eval $ac_compile) 2>conftest.er1
38319 ac_status=$?
38320 grep -v '^ *+' conftest.er1 >conftest.err
38321 rm -f conftest.er1
38322 cat conftest.err >&5
38323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38324 (exit $ac_status); } &&
38325 { ac_try='test -z "$ac_cxx_werror_flag"
38326 || test ! -s conftest.err'
38327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38328 (eval $ac_try) 2>&5
38329 ac_status=$?
38330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38331 (exit $ac_status); }; } &&
38332 { ac_try='test -s conftest.$ac_objext'
38333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38334 (eval $ac_try) 2>&5
38335 ac_status=$?
38336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38337 (exit $ac_status); }; }; then
38338 glibcxx_cv_func__ldexpf_use=yes
38339 else
38340 echo "$as_me: failed program was:" >&5
38341 sed 's/^/| /' conftest.$ac_ext >&5
38343 glibcxx_cv_func__ldexpf_use=no
38345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38346 ac_ext=c
38347 ac_cpp='$CPP $CPPFLAGS'
38348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38356 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
38357 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
38359 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38361 for ac_func in _ldexpf
38363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38364 echo "$as_me:$LINENO: checking for $ac_func" >&5
38365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38366 if eval "test \"\${$as_ac_var+set}\" = set"; then
38367 echo $ECHO_N "(cached) $ECHO_C" >&6
38368 else
38369 if test x$gcc_no_link = xyes; then
38370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38372 { (exit 1); exit 1; }; }
38374 cat >conftest.$ac_ext <<_ACEOF
38375 /* confdefs.h. */
38376 _ACEOF
38377 cat confdefs.h >>conftest.$ac_ext
38378 cat >>conftest.$ac_ext <<_ACEOF
38379 /* end confdefs.h. */
38380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38382 #define $ac_func innocuous_$ac_func
38384 /* System header to define __stub macros and hopefully few prototypes,
38385 which can conflict with char $ac_func (); below.
38386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38387 <limits.h> exists even on freestanding compilers. */
38389 #ifdef __STDC__
38390 # include <limits.h>
38391 #else
38392 # include <assert.h>
38393 #endif
38395 #undef $ac_func
38397 /* Override any gcc2 internal prototype to avoid an error. */
38398 #ifdef __cplusplus
38399 extern "C"
38401 #endif
38402 /* We use char because int might match the return type of a gcc2
38403 builtin and then its argument prototype would still apply. */
38404 char $ac_func ();
38405 /* The GNU C library defines this for functions which it implements
38406 to always fail with ENOSYS. Some functions are actually named
38407 something starting with __ and the normal name is an alias. */
38408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38409 choke me
38410 #else
38411 char (*f) () = $ac_func;
38412 #endif
38413 #ifdef __cplusplus
38415 #endif
38418 main ()
38420 return f != $ac_func;
38422 return 0;
38424 _ACEOF
38425 rm -f conftest.$ac_objext conftest$ac_exeext
38426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38427 (eval $ac_link) 2>conftest.er1
38428 ac_status=$?
38429 grep -v '^ *+' conftest.er1 >conftest.err
38430 rm -f conftest.er1
38431 cat conftest.err >&5
38432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38433 (exit $ac_status); } &&
38434 { ac_try='test -z "$ac_c_werror_flag"
38435 || test ! -s conftest.err'
38436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38437 (eval $ac_try) 2>&5
38438 ac_status=$?
38439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38440 (exit $ac_status); }; } &&
38441 { ac_try='test -s conftest$ac_exeext'
38442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38443 (eval $ac_try) 2>&5
38444 ac_status=$?
38445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38446 (exit $ac_status); }; }; then
38447 eval "$as_ac_var=yes"
38448 else
38449 echo "$as_me: failed program was:" >&5
38450 sed 's/^/| /' conftest.$ac_ext >&5
38452 eval "$as_ac_var=no"
38454 rm -f conftest.err conftest.$ac_objext \
38455 conftest$ac_exeext conftest.$ac_ext
38457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38459 if test `eval echo '${'$as_ac_var'}'` = yes; then
38460 cat >>confdefs.h <<_ACEOF
38461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38462 _ACEOF
38465 done
38472 echo "$as_me:$LINENO: checking for logf declaration" >&5
38473 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
38474 if test x${glibcxx_cv_func_logf_use+set} != xset; then
38475 if test "${glibcxx_cv_func_logf_use+set}" = set; then
38476 echo $ECHO_N "(cached) $ECHO_C" >&6
38477 else
38481 ac_ext=cc
38482 ac_cpp='$CXXCPP $CPPFLAGS'
38483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38487 cat >conftest.$ac_ext <<_ACEOF
38488 /* confdefs.h. */
38489 _ACEOF
38490 cat confdefs.h >>conftest.$ac_ext
38491 cat >>conftest.$ac_ext <<_ACEOF
38492 /* end confdefs.h. */
38493 #include <math.h>
38494 #ifdef HAVE_IEEEFP_H
38495 #include <ieeefp.h>
38496 #endif
38499 main ()
38501 logf(0);
38503 return 0;
38505 _ACEOF
38506 rm -f conftest.$ac_objext
38507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38508 (eval $ac_compile) 2>conftest.er1
38509 ac_status=$?
38510 grep -v '^ *+' conftest.er1 >conftest.err
38511 rm -f conftest.er1
38512 cat conftest.err >&5
38513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38514 (exit $ac_status); } &&
38515 { ac_try='test -z "$ac_cxx_werror_flag"
38516 || test ! -s conftest.err'
38517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38518 (eval $ac_try) 2>&5
38519 ac_status=$?
38520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38521 (exit $ac_status); }; } &&
38522 { ac_try='test -s conftest.$ac_objext'
38523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38524 (eval $ac_try) 2>&5
38525 ac_status=$?
38526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38527 (exit $ac_status); }; }; then
38528 glibcxx_cv_func_logf_use=yes
38529 else
38530 echo "$as_me: failed program was:" >&5
38531 sed 's/^/| /' conftest.$ac_ext >&5
38533 glibcxx_cv_func_logf_use=no
38535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38536 ac_ext=c
38537 ac_cpp='$CPP $CPPFLAGS'
38538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38546 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
38547 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
38549 if test x$glibcxx_cv_func_logf_use = x"yes"; then
38551 for ac_func in logf
38553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38554 echo "$as_me:$LINENO: checking for $ac_func" >&5
38555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38556 if eval "test \"\${$as_ac_var+set}\" = set"; then
38557 echo $ECHO_N "(cached) $ECHO_C" >&6
38558 else
38559 if test x$gcc_no_link = xyes; then
38560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38562 { (exit 1); exit 1; }; }
38564 cat >conftest.$ac_ext <<_ACEOF
38565 /* confdefs.h. */
38566 _ACEOF
38567 cat confdefs.h >>conftest.$ac_ext
38568 cat >>conftest.$ac_ext <<_ACEOF
38569 /* end confdefs.h. */
38570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38572 #define $ac_func innocuous_$ac_func
38574 /* System header to define __stub macros and hopefully few prototypes,
38575 which can conflict with char $ac_func (); below.
38576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38577 <limits.h> exists even on freestanding compilers. */
38579 #ifdef __STDC__
38580 # include <limits.h>
38581 #else
38582 # include <assert.h>
38583 #endif
38585 #undef $ac_func
38587 /* Override any gcc2 internal prototype to avoid an error. */
38588 #ifdef __cplusplus
38589 extern "C"
38591 #endif
38592 /* We use char because int might match the return type of a gcc2
38593 builtin and then its argument prototype would still apply. */
38594 char $ac_func ();
38595 /* The GNU C library defines this for functions which it implements
38596 to always fail with ENOSYS. Some functions are actually named
38597 something starting with __ and the normal name is an alias. */
38598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38599 choke me
38600 #else
38601 char (*f) () = $ac_func;
38602 #endif
38603 #ifdef __cplusplus
38605 #endif
38608 main ()
38610 return f != $ac_func;
38612 return 0;
38614 _ACEOF
38615 rm -f conftest.$ac_objext conftest$ac_exeext
38616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38617 (eval $ac_link) 2>conftest.er1
38618 ac_status=$?
38619 grep -v '^ *+' conftest.er1 >conftest.err
38620 rm -f conftest.er1
38621 cat conftest.err >&5
38622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38623 (exit $ac_status); } &&
38624 { ac_try='test -z "$ac_c_werror_flag"
38625 || test ! -s conftest.err'
38626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38627 (eval $ac_try) 2>&5
38628 ac_status=$?
38629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38630 (exit $ac_status); }; } &&
38631 { ac_try='test -s conftest$ac_exeext'
38632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38633 (eval $ac_try) 2>&5
38634 ac_status=$?
38635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38636 (exit $ac_status); }; }; then
38637 eval "$as_ac_var=yes"
38638 else
38639 echo "$as_me: failed program was:" >&5
38640 sed 's/^/| /' conftest.$ac_ext >&5
38642 eval "$as_ac_var=no"
38644 rm -f conftest.err conftest.$ac_objext \
38645 conftest$ac_exeext conftest.$ac_ext
38647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38649 if test `eval echo '${'$as_ac_var'}'` = yes; then
38650 cat >>confdefs.h <<_ACEOF
38651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38652 _ACEOF
38655 done
38657 else
38659 echo "$as_me:$LINENO: checking for _logf declaration" >&5
38660 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
38661 if test x${glibcxx_cv_func__logf_use+set} != xset; then
38662 if test "${glibcxx_cv_func__logf_use+set}" = set; then
38663 echo $ECHO_N "(cached) $ECHO_C" >&6
38664 else
38668 ac_ext=cc
38669 ac_cpp='$CXXCPP $CPPFLAGS'
38670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38674 cat >conftest.$ac_ext <<_ACEOF
38675 /* confdefs.h. */
38676 _ACEOF
38677 cat confdefs.h >>conftest.$ac_ext
38678 cat >>conftest.$ac_ext <<_ACEOF
38679 /* end confdefs.h. */
38680 #include <math.h>
38681 #ifdef HAVE_IEEEFP_H
38682 #include <ieeefp.h>
38683 #endif
38686 main ()
38688 _logf(0);
38690 return 0;
38692 _ACEOF
38693 rm -f conftest.$ac_objext
38694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38695 (eval $ac_compile) 2>conftest.er1
38696 ac_status=$?
38697 grep -v '^ *+' conftest.er1 >conftest.err
38698 rm -f conftest.er1
38699 cat conftest.err >&5
38700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38701 (exit $ac_status); } &&
38702 { ac_try='test -z "$ac_cxx_werror_flag"
38703 || test ! -s conftest.err'
38704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38705 (eval $ac_try) 2>&5
38706 ac_status=$?
38707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38708 (exit $ac_status); }; } &&
38709 { ac_try='test -s conftest.$ac_objext'
38710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38711 (eval $ac_try) 2>&5
38712 ac_status=$?
38713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38714 (exit $ac_status); }; }; then
38715 glibcxx_cv_func__logf_use=yes
38716 else
38717 echo "$as_me: failed program was:" >&5
38718 sed 's/^/| /' conftest.$ac_ext >&5
38720 glibcxx_cv_func__logf_use=no
38722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38723 ac_ext=c
38724 ac_cpp='$CPP $CPPFLAGS'
38725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38733 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
38734 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
38736 if test x$glibcxx_cv_func__logf_use = x"yes"; then
38738 for ac_func in _logf
38740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38741 echo "$as_me:$LINENO: checking for $ac_func" >&5
38742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38743 if eval "test \"\${$as_ac_var+set}\" = set"; then
38744 echo $ECHO_N "(cached) $ECHO_C" >&6
38745 else
38746 if test x$gcc_no_link = xyes; then
38747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38749 { (exit 1); exit 1; }; }
38751 cat >conftest.$ac_ext <<_ACEOF
38752 /* confdefs.h. */
38753 _ACEOF
38754 cat confdefs.h >>conftest.$ac_ext
38755 cat >>conftest.$ac_ext <<_ACEOF
38756 /* end confdefs.h. */
38757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38759 #define $ac_func innocuous_$ac_func
38761 /* System header to define __stub macros and hopefully few prototypes,
38762 which can conflict with char $ac_func (); below.
38763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38764 <limits.h> exists even on freestanding compilers. */
38766 #ifdef __STDC__
38767 # include <limits.h>
38768 #else
38769 # include <assert.h>
38770 #endif
38772 #undef $ac_func
38774 /* Override any gcc2 internal prototype to avoid an error. */
38775 #ifdef __cplusplus
38776 extern "C"
38778 #endif
38779 /* We use char because int might match the return type of a gcc2
38780 builtin and then its argument prototype would still apply. */
38781 char $ac_func ();
38782 /* The GNU C library defines this for functions which it implements
38783 to always fail with ENOSYS. Some functions are actually named
38784 something starting with __ and the normal name is an alias. */
38785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38786 choke me
38787 #else
38788 char (*f) () = $ac_func;
38789 #endif
38790 #ifdef __cplusplus
38792 #endif
38795 main ()
38797 return f != $ac_func;
38799 return 0;
38801 _ACEOF
38802 rm -f conftest.$ac_objext conftest$ac_exeext
38803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38804 (eval $ac_link) 2>conftest.er1
38805 ac_status=$?
38806 grep -v '^ *+' conftest.er1 >conftest.err
38807 rm -f conftest.er1
38808 cat conftest.err >&5
38809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38810 (exit $ac_status); } &&
38811 { ac_try='test -z "$ac_c_werror_flag"
38812 || test ! -s conftest.err'
38813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38814 (eval $ac_try) 2>&5
38815 ac_status=$?
38816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38817 (exit $ac_status); }; } &&
38818 { ac_try='test -s conftest$ac_exeext'
38819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38820 (eval $ac_try) 2>&5
38821 ac_status=$?
38822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38823 (exit $ac_status); }; }; then
38824 eval "$as_ac_var=yes"
38825 else
38826 echo "$as_me: failed program was:" >&5
38827 sed 's/^/| /' conftest.$ac_ext >&5
38829 eval "$as_ac_var=no"
38831 rm -f conftest.err conftest.$ac_objext \
38832 conftest$ac_exeext conftest.$ac_ext
38834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38836 if test `eval echo '${'$as_ac_var'}'` = yes; then
38837 cat >>confdefs.h <<_ACEOF
38838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38839 _ACEOF
38842 done
38849 echo "$as_me:$LINENO: checking for log10f declaration" >&5
38850 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
38851 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38852 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
38853 echo $ECHO_N "(cached) $ECHO_C" >&6
38854 else
38858 ac_ext=cc
38859 ac_cpp='$CXXCPP $CPPFLAGS'
38860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38864 cat >conftest.$ac_ext <<_ACEOF
38865 /* confdefs.h. */
38866 _ACEOF
38867 cat confdefs.h >>conftest.$ac_ext
38868 cat >>conftest.$ac_ext <<_ACEOF
38869 /* end confdefs.h. */
38870 #include <math.h>
38871 #ifdef HAVE_IEEEFP_H
38872 #include <ieeefp.h>
38873 #endif
38876 main ()
38878 log10f(0);
38880 return 0;
38882 _ACEOF
38883 rm -f conftest.$ac_objext
38884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38885 (eval $ac_compile) 2>conftest.er1
38886 ac_status=$?
38887 grep -v '^ *+' conftest.er1 >conftest.err
38888 rm -f conftest.er1
38889 cat conftest.err >&5
38890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38891 (exit $ac_status); } &&
38892 { ac_try='test -z "$ac_cxx_werror_flag"
38893 || test ! -s conftest.err'
38894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38895 (eval $ac_try) 2>&5
38896 ac_status=$?
38897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38898 (exit $ac_status); }; } &&
38899 { ac_try='test -s conftest.$ac_objext'
38900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38901 (eval $ac_try) 2>&5
38902 ac_status=$?
38903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38904 (exit $ac_status); }; }; then
38905 glibcxx_cv_func_log10f_use=yes
38906 else
38907 echo "$as_me: failed program was:" >&5
38908 sed 's/^/| /' conftest.$ac_ext >&5
38910 glibcxx_cv_func_log10f_use=no
38912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38913 ac_ext=c
38914 ac_cpp='$CPP $CPPFLAGS'
38915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38923 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38924 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38926 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38928 for ac_func in log10f
38930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38931 echo "$as_me:$LINENO: checking for $ac_func" >&5
38932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38933 if eval "test \"\${$as_ac_var+set}\" = set"; then
38934 echo $ECHO_N "(cached) $ECHO_C" >&6
38935 else
38936 if test x$gcc_no_link = xyes; then
38937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38939 { (exit 1); exit 1; }; }
38941 cat >conftest.$ac_ext <<_ACEOF
38942 /* confdefs.h. */
38943 _ACEOF
38944 cat confdefs.h >>conftest.$ac_ext
38945 cat >>conftest.$ac_ext <<_ACEOF
38946 /* end confdefs.h. */
38947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38949 #define $ac_func innocuous_$ac_func
38951 /* System header to define __stub macros and hopefully few prototypes,
38952 which can conflict with char $ac_func (); below.
38953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38954 <limits.h> exists even on freestanding compilers. */
38956 #ifdef __STDC__
38957 # include <limits.h>
38958 #else
38959 # include <assert.h>
38960 #endif
38962 #undef $ac_func
38964 /* Override any gcc2 internal prototype to avoid an error. */
38965 #ifdef __cplusplus
38966 extern "C"
38968 #endif
38969 /* We use char because int might match the return type of a gcc2
38970 builtin and then its argument prototype would still apply. */
38971 char $ac_func ();
38972 /* The GNU C library defines this for functions which it implements
38973 to always fail with ENOSYS. Some functions are actually named
38974 something starting with __ and the normal name is an alias. */
38975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38976 choke me
38977 #else
38978 char (*f) () = $ac_func;
38979 #endif
38980 #ifdef __cplusplus
38982 #endif
38985 main ()
38987 return f != $ac_func;
38989 return 0;
38991 _ACEOF
38992 rm -f conftest.$ac_objext conftest$ac_exeext
38993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38994 (eval $ac_link) 2>conftest.er1
38995 ac_status=$?
38996 grep -v '^ *+' conftest.er1 >conftest.err
38997 rm -f conftest.er1
38998 cat conftest.err >&5
38999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39000 (exit $ac_status); } &&
39001 { ac_try='test -z "$ac_c_werror_flag"
39002 || test ! -s conftest.err'
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); }; } &&
39008 { ac_try='test -s conftest$ac_exeext'
39009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39010 (eval $ac_try) 2>&5
39011 ac_status=$?
39012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39013 (exit $ac_status); }; }; then
39014 eval "$as_ac_var=yes"
39015 else
39016 echo "$as_me: failed program was:" >&5
39017 sed 's/^/| /' conftest.$ac_ext >&5
39019 eval "$as_ac_var=no"
39021 rm -f conftest.err conftest.$ac_objext \
39022 conftest$ac_exeext conftest.$ac_ext
39024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39026 if test `eval echo '${'$as_ac_var'}'` = yes; then
39027 cat >>confdefs.h <<_ACEOF
39028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39029 _ACEOF
39032 done
39034 else
39036 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
39037 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
39038 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
39039 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
39040 echo $ECHO_N "(cached) $ECHO_C" >&6
39041 else
39045 ac_ext=cc
39046 ac_cpp='$CXXCPP $CPPFLAGS'
39047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39051 cat >conftest.$ac_ext <<_ACEOF
39052 /* confdefs.h. */
39053 _ACEOF
39054 cat confdefs.h >>conftest.$ac_ext
39055 cat >>conftest.$ac_ext <<_ACEOF
39056 /* end confdefs.h. */
39057 #include <math.h>
39058 #ifdef HAVE_IEEEFP_H
39059 #include <ieeefp.h>
39060 #endif
39063 main ()
39065 _log10f(0);
39067 return 0;
39069 _ACEOF
39070 rm -f conftest.$ac_objext
39071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39072 (eval $ac_compile) 2>conftest.er1
39073 ac_status=$?
39074 grep -v '^ *+' conftest.er1 >conftest.err
39075 rm -f conftest.er1
39076 cat conftest.err >&5
39077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39078 (exit $ac_status); } &&
39079 { ac_try='test -z "$ac_cxx_werror_flag"
39080 || test ! -s conftest.err'
39081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39082 (eval $ac_try) 2>&5
39083 ac_status=$?
39084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39085 (exit $ac_status); }; } &&
39086 { ac_try='test -s conftest.$ac_objext'
39087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39088 (eval $ac_try) 2>&5
39089 ac_status=$?
39090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39091 (exit $ac_status); }; }; then
39092 glibcxx_cv_func__log10f_use=yes
39093 else
39094 echo "$as_me: failed program was:" >&5
39095 sed 's/^/| /' conftest.$ac_ext >&5
39097 glibcxx_cv_func__log10f_use=no
39099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39100 ac_ext=c
39101 ac_cpp='$CPP $CPPFLAGS'
39102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39110 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
39111 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
39113 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
39115 for ac_func in _log10f
39117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39118 echo "$as_me:$LINENO: checking for $ac_func" >&5
39119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39120 if eval "test \"\${$as_ac_var+set}\" = set"; then
39121 echo $ECHO_N "(cached) $ECHO_C" >&6
39122 else
39123 if test x$gcc_no_link = xyes; then
39124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39126 { (exit 1); exit 1; }; }
39128 cat >conftest.$ac_ext <<_ACEOF
39129 /* confdefs.h. */
39130 _ACEOF
39131 cat confdefs.h >>conftest.$ac_ext
39132 cat >>conftest.$ac_ext <<_ACEOF
39133 /* end confdefs.h. */
39134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39136 #define $ac_func innocuous_$ac_func
39138 /* System header to define __stub macros and hopefully few prototypes,
39139 which can conflict with char $ac_func (); below.
39140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39141 <limits.h> exists even on freestanding compilers. */
39143 #ifdef __STDC__
39144 # include <limits.h>
39145 #else
39146 # include <assert.h>
39147 #endif
39149 #undef $ac_func
39151 /* Override any gcc2 internal prototype to avoid an error. */
39152 #ifdef __cplusplus
39153 extern "C"
39155 #endif
39156 /* We use char because int might match the return type of a gcc2
39157 builtin and then its argument prototype would still apply. */
39158 char $ac_func ();
39159 /* The GNU C library defines this for functions which it implements
39160 to always fail with ENOSYS. Some functions are actually named
39161 something starting with __ and the normal name is an alias. */
39162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39163 choke me
39164 #else
39165 char (*f) () = $ac_func;
39166 #endif
39167 #ifdef __cplusplus
39169 #endif
39172 main ()
39174 return f != $ac_func;
39176 return 0;
39178 _ACEOF
39179 rm -f conftest.$ac_objext conftest$ac_exeext
39180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39181 (eval $ac_link) 2>conftest.er1
39182 ac_status=$?
39183 grep -v '^ *+' conftest.er1 >conftest.err
39184 rm -f conftest.er1
39185 cat conftest.err >&5
39186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39187 (exit $ac_status); } &&
39188 { ac_try='test -z "$ac_c_werror_flag"
39189 || test ! -s conftest.err'
39190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39191 (eval $ac_try) 2>&5
39192 ac_status=$?
39193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39194 (exit $ac_status); }; } &&
39195 { ac_try='test -s conftest$ac_exeext'
39196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39197 (eval $ac_try) 2>&5
39198 ac_status=$?
39199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39200 (exit $ac_status); }; }; then
39201 eval "$as_ac_var=yes"
39202 else
39203 echo "$as_me: failed program was:" >&5
39204 sed 's/^/| /' conftest.$ac_ext >&5
39206 eval "$as_ac_var=no"
39208 rm -f conftest.err conftest.$ac_objext \
39209 conftest$ac_exeext conftest.$ac_ext
39211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39213 if test `eval echo '${'$as_ac_var'}'` = yes; then
39214 cat >>confdefs.h <<_ACEOF
39215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39216 _ACEOF
39219 done
39226 echo "$as_me:$LINENO: checking for modff declaration" >&5
39227 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
39228 if test x${glibcxx_cv_func_modff_use+set} != xset; then
39229 if test "${glibcxx_cv_func_modff_use+set}" = set; then
39230 echo $ECHO_N "(cached) $ECHO_C" >&6
39231 else
39235 ac_ext=cc
39236 ac_cpp='$CXXCPP $CPPFLAGS'
39237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39241 cat >conftest.$ac_ext <<_ACEOF
39242 /* confdefs.h. */
39243 _ACEOF
39244 cat confdefs.h >>conftest.$ac_ext
39245 cat >>conftest.$ac_ext <<_ACEOF
39246 /* end confdefs.h. */
39247 #include <math.h>
39249 main ()
39251 modff(0, 0);
39253 return 0;
39255 _ACEOF
39256 rm -f conftest.$ac_objext
39257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39258 (eval $ac_compile) 2>conftest.er1
39259 ac_status=$?
39260 grep -v '^ *+' conftest.er1 >conftest.err
39261 rm -f conftest.er1
39262 cat conftest.err >&5
39263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39264 (exit $ac_status); } &&
39265 { ac_try='test -z "$ac_cxx_werror_flag"
39266 || test ! -s conftest.err'
39267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39268 (eval $ac_try) 2>&5
39269 ac_status=$?
39270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39271 (exit $ac_status); }; } &&
39272 { ac_try='test -s conftest.$ac_objext'
39273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39274 (eval $ac_try) 2>&5
39275 ac_status=$?
39276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39277 (exit $ac_status); }; }; then
39278 glibcxx_cv_func_modff_use=yes
39279 else
39280 echo "$as_me: failed program was:" >&5
39281 sed 's/^/| /' conftest.$ac_ext >&5
39283 glibcxx_cv_func_modff_use=no
39285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39286 ac_ext=c
39287 ac_cpp='$CPP $CPPFLAGS'
39288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39296 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
39297 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
39299 if test x$glibcxx_cv_func_modff_use = x"yes"; then
39301 for ac_func in modff
39303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39304 echo "$as_me:$LINENO: checking for $ac_func" >&5
39305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39306 if eval "test \"\${$as_ac_var+set}\" = set"; then
39307 echo $ECHO_N "(cached) $ECHO_C" >&6
39308 else
39309 if test x$gcc_no_link = xyes; then
39310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39312 { (exit 1); exit 1; }; }
39314 cat >conftest.$ac_ext <<_ACEOF
39315 /* confdefs.h. */
39316 _ACEOF
39317 cat confdefs.h >>conftest.$ac_ext
39318 cat >>conftest.$ac_ext <<_ACEOF
39319 /* end confdefs.h. */
39320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39322 #define $ac_func innocuous_$ac_func
39324 /* System header to define __stub macros and hopefully few prototypes,
39325 which can conflict with char $ac_func (); below.
39326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39327 <limits.h> exists even on freestanding compilers. */
39329 #ifdef __STDC__
39330 # include <limits.h>
39331 #else
39332 # include <assert.h>
39333 #endif
39335 #undef $ac_func
39337 /* Override any gcc2 internal prototype to avoid an error. */
39338 #ifdef __cplusplus
39339 extern "C"
39341 #endif
39342 /* We use char because int might match the return type of a gcc2
39343 builtin and then its argument prototype would still apply. */
39344 char $ac_func ();
39345 /* The GNU C library defines this for functions which it implements
39346 to always fail with ENOSYS. Some functions are actually named
39347 something starting with __ and the normal name is an alias. */
39348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39349 choke me
39350 #else
39351 char (*f) () = $ac_func;
39352 #endif
39353 #ifdef __cplusplus
39355 #endif
39358 main ()
39360 return f != $ac_func;
39362 return 0;
39364 _ACEOF
39365 rm -f conftest.$ac_objext conftest$ac_exeext
39366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39367 (eval $ac_link) 2>conftest.er1
39368 ac_status=$?
39369 grep -v '^ *+' conftest.er1 >conftest.err
39370 rm -f conftest.er1
39371 cat conftest.err >&5
39372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39373 (exit $ac_status); } &&
39374 { ac_try='test -z "$ac_c_werror_flag"
39375 || test ! -s conftest.err'
39376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39377 (eval $ac_try) 2>&5
39378 ac_status=$?
39379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39380 (exit $ac_status); }; } &&
39381 { ac_try='test -s conftest$ac_exeext'
39382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39383 (eval $ac_try) 2>&5
39384 ac_status=$?
39385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39386 (exit $ac_status); }; }; then
39387 eval "$as_ac_var=yes"
39388 else
39389 echo "$as_me: failed program was:" >&5
39390 sed 's/^/| /' conftest.$ac_ext >&5
39392 eval "$as_ac_var=no"
39394 rm -f conftest.err conftest.$ac_objext \
39395 conftest$ac_exeext conftest.$ac_ext
39397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39399 if test `eval echo '${'$as_ac_var'}'` = yes; then
39400 cat >>confdefs.h <<_ACEOF
39401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39402 _ACEOF
39405 done
39407 else
39409 echo "$as_me:$LINENO: checking for _modff declaration" >&5
39410 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
39411 if test x${glibcxx_cv_func__modff_use+set} != xset; then
39412 if test "${glibcxx_cv_func__modff_use+set}" = set; then
39413 echo $ECHO_N "(cached) $ECHO_C" >&6
39414 else
39418 ac_ext=cc
39419 ac_cpp='$CXXCPP $CPPFLAGS'
39420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39424 cat >conftest.$ac_ext <<_ACEOF
39425 /* confdefs.h. */
39426 _ACEOF
39427 cat confdefs.h >>conftest.$ac_ext
39428 cat >>conftest.$ac_ext <<_ACEOF
39429 /* end confdefs.h. */
39430 #include <math.h>
39432 main ()
39434 _modff(0, 0);
39436 return 0;
39438 _ACEOF
39439 rm -f conftest.$ac_objext
39440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39441 (eval $ac_compile) 2>conftest.er1
39442 ac_status=$?
39443 grep -v '^ *+' conftest.er1 >conftest.err
39444 rm -f conftest.er1
39445 cat conftest.err >&5
39446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39447 (exit $ac_status); } &&
39448 { ac_try='test -z "$ac_cxx_werror_flag"
39449 || test ! -s conftest.err'
39450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39451 (eval $ac_try) 2>&5
39452 ac_status=$?
39453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39454 (exit $ac_status); }; } &&
39455 { ac_try='test -s conftest.$ac_objext'
39456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39457 (eval $ac_try) 2>&5
39458 ac_status=$?
39459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39460 (exit $ac_status); }; }; then
39461 glibcxx_cv_func__modff_use=yes
39462 else
39463 echo "$as_me: failed program was:" >&5
39464 sed 's/^/| /' conftest.$ac_ext >&5
39466 glibcxx_cv_func__modff_use=no
39468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39469 ac_ext=c
39470 ac_cpp='$CPP $CPPFLAGS'
39471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39479 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
39480 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
39482 if test x$glibcxx_cv_func__modff_use = x"yes"; then
39484 for ac_func in _modff
39486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39487 echo "$as_me:$LINENO: checking for $ac_func" >&5
39488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39489 if eval "test \"\${$as_ac_var+set}\" = set"; then
39490 echo $ECHO_N "(cached) $ECHO_C" >&6
39491 else
39492 if test x$gcc_no_link = xyes; then
39493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39495 { (exit 1); exit 1; }; }
39497 cat >conftest.$ac_ext <<_ACEOF
39498 /* confdefs.h. */
39499 _ACEOF
39500 cat confdefs.h >>conftest.$ac_ext
39501 cat >>conftest.$ac_ext <<_ACEOF
39502 /* end confdefs.h. */
39503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39505 #define $ac_func innocuous_$ac_func
39507 /* System header to define __stub macros and hopefully few prototypes,
39508 which can conflict with char $ac_func (); below.
39509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39510 <limits.h> exists even on freestanding compilers. */
39512 #ifdef __STDC__
39513 # include <limits.h>
39514 #else
39515 # include <assert.h>
39516 #endif
39518 #undef $ac_func
39520 /* Override any gcc2 internal prototype to avoid an error. */
39521 #ifdef __cplusplus
39522 extern "C"
39524 #endif
39525 /* We use char because int might match the return type of a gcc2
39526 builtin and then its argument prototype would still apply. */
39527 char $ac_func ();
39528 /* The GNU C library defines this for functions which it implements
39529 to always fail with ENOSYS. Some functions are actually named
39530 something starting with __ and the normal name is an alias. */
39531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39532 choke me
39533 #else
39534 char (*f) () = $ac_func;
39535 #endif
39536 #ifdef __cplusplus
39538 #endif
39541 main ()
39543 return f != $ac_func;
39545 return 0;
39547 _ACEOF
39548 rm -f conftest.$ac_objext conftest$ac_exeext
39549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39550 (eval $ac_link) 2>conftest.er1
39551 ac_status=$?
39552 grep -v '^ *+' conftest.er1 >conftest.err
39553 rm -f conftest.er1
39554 cat conftest.err >&5
39555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39556 (exit $ac_status); } &&
39557 { ac_try='test -z "$ac_c_werror_flag"
39558 || test ! -s conftest.err'
39559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39560 (eval $ac_try) 2>&5
39561 ac_status=$?
39562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39563 (exit $ac_status); }; } &&
39564 { ac_try='test -s conftest$ac_exeext'
39565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39566 (eval $ac_try) 2>&5
39567 ac_status=$?
39568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39569 (exit $ac_status); }; }; then
39570 eval "$as_ac_var=yes"
39571 else
39572 echo "$as_me: failed program was:" >&5
39573 sed 's/^/| /' conftest.$ac_ext >&5
39575 eval "$as_ac_var=no"
39577 rm -f conftest.err conftest.$ac_objext \
39578 conftest$ac_exeext conftest.$ac_ext
39580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39582 if test `eval echo '${'$as_ac_var'}'` = yes; then
39583 cat >>confdefs.h <<_ACEOF
39584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39585 _ACEOF
39588 done
39595 echo "$as_me:$LINENO: checking for powf declaration" >&5
39596 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
39597 if test x${glibcxx_cv_func_powf_use+set} != xset; then
39598 if test "${glibcxx_cv_func_powf_use+set}" = set; then
39599 echo $ECHO_N "(cached) $ECHO_C" >&6
39600 else
39604 ac_ext=cc
39605 ac_cpp='$CXXCPP $CPPFLAGS'
39606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39610 cat >conftest.$ac_ext <<_ACEOF
39611 /* confdefs.h. */
39612 _ACEOF
39613 cat confdefs.h >>conftest.$ac_ext
39614 cat >>conftest.$ac_ext <<_ACEOF
39615 /* end confdefs.h. */
39616 #include <math.h>
39618 main ()
39620 powf(0, 0);
39622 return 0;
39624 _ACEOF
39625 rm -f conftest.$ac_objext
39626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39627 (eval $ac_compile) 2>conftest.er1
39628 ac_status=$?
39629 grep -v '^ *+' conftest.er1 >conftest.err
39630 rm -f conftest.er1
39631 cat conftest.err >&5
39632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39633 (exit $ac_status); } &&
39634 { ac_try='test -z "$ac_cxx_werror_flag"
39635 || test ! -s conftest.err'
39636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39637 (eval $ac_try) 2>&5
39638 ac_status=$?
39639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39640 (exit $ac_status); }; } &&
39641 { ac_try='test -s conftest.$ac_objext'
39642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39643 (eval $ac_try) 2>&5
39644 ac_status=$?
39645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39646 (exit $ac_status); }; }; then
39647 glibcxx_cv_func_powf_use=yes
39648 else
39649 echo "$as_me: failed program was:" >&5
39650 sed 's/^/| /' conftest.$ac_ext >&5
39652 glibcxx_cv_func_powf_use=no
39654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39655 ac_ext=c
39656 ac_cpp='$CPP $CPPFLAGS'
39657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39665 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
39666 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
39668 if test x$glibcxx_cv_func_powf_use = x"yes"; then
39670 for ac_func in powf
39672 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39673 echo "$as_me:$LINENO: checking for $ac_func" >&5
39674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39675 if eval "test \"\${$as_ac_var+set}\" = set"; then
39676 echo $ECHO_N "(cached) $ECHO_C" >&6
39677 else
39678 if test x$gcc_no_link = xyes; then
39679 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39681 { (exit 1); exit 1; }; }
39683 cat >conftest.$ac_ext <<_ACEOF
39684 /* confdefs.h. */
39685 _ACEOF
39686 cat confdefs.h >>conftest.$ac_ext
39687 cat >>conftest.$ac_ext <<_ACEOF
39688 /* end confdefs.h. */
39689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39691 #define $ac_func innocuous_$ac_func
39693 /* System header to define __stub macros and hopefully few prototypes,
39694 which can conflict with char $ac_func (); below.
39695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39696 <limits.h> exists even on freestanding compilers. */
39698 #ifdef __STDC__
39699 # include <limits.h>
39700 #else
39701 # include <assert.h>
39702 #endif
39704 #undef $ac_func
39706 /* Override any gcc2 internal prototype to avoid an error. */
39707 #ifdef __cplusplus
39708 extern "C"
39710 #endif
39711 /* We use char because int might match the return type of a gcc2
39712 builtin and then its argument prototype would still apply. */
39713 char $ac_func ();
39714 /* The GNU C library defines this for functions which it implements
39715 to always fail with ENOSYS. Some functions are actually named
39716 something starting with __ and the normal name is an alias. */
39717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39718 choke me
39719 #else
39720 char (*f) () = $ac_func;
39721 #endif
39722 #ifdef __cplusplus
39724 #endif
39727 main ()
39729 return f != $ac_func;
39731 return 0;
39733 _ACEOF
39734 rm -f conftest.$ac_objext conftest$ac_exeext
39735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39736 (eval $ac_link) 2>conftest.er1
39737 ac_status=$?
39738 grep -v '^ *+' conftest.er1 >conftest.err
39739 rm -f conftest.er1
39740 cat conftest.err >&5
39741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39742 (exit $ac_status); } &&
39743 { ac_try='test -z "$ac_c_werror_flag"
39744 || test ! -s conftest.err'
39745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39746 (eval $ac_try) 2>&5
39747 ac_status=$?
39748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39749 (exit $ac_status); }; } &&
39750 { ac_try='test -s conftest$ac_exeext'
39751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39752 (eval $ac_try) 2>&5
39753 ac_status=$?
39754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39755 (exit $ac_status); }; }; then
39756 eval "$as_ac_var=yes"
39757 else
39758 echo "$as_me: failed program was:" >&5
39759 sed 's/^/| /' conftest.$ac_ext >&5
39761 eval "$as_ac_var=no"
39763 rm -f conftest.err conftest.$ac_objext \
39764 conftest$ac_exeext conftest.$ac_ext
39766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39768 if test `eval echo '${'$as_ac_var'}'` = yes; then
39769 cat >>confdefs.h <<_ACEOF
39770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39771 _ACEOF
39774 done
39776 else
39778 echo "$as_me:$LINENO: checking for _powf declaration" >&5
39779 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
39780 if test x${glibcxx_cv_func__powf_use+set} != xset; then
39781 if test "${glibcxx_cv_func__powf_use+set}" = set; then
39782 echo $ECHO_N "(cached) $ECHO_C" >&6
39783 else
39787 ac_ext=cc
39788 ac_cpp='$CXXCPP $CPPFLAGS'
39789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39793 cat >conftest.$ac_ext <<_ACEOF
39794 /* confdefs.h. */
39795 _ACEOF
39796 cat confdefs.h >>conftest.$ac_ext
39797 cat >>conftest.$ac_ext <<_ACEOF
39798 /* end confdefs.h. */
39799 #include <math.h>
39801 main ()
39803 _powf(0, 0);
39805 return 0;
39807 _ACEOF
39808 rm -f conftest.$ac_objext
39809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39810 (eval $ac_compile) 2>conftest.er1
39811 ac_status=$?
39812 grep -v '^ *+' conftest.er1 >conftest.err
39813 rm -f conftest.er1
39814 cat conftest.err >&5
39815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39816 (exit $ac_status); } &&
39817 { ac_try='test -z "$ac_cxx_werror_flag"
39818 || test ! -s conftest.err'
39819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39820 (eval $ac_try) 2>&5
39821 ac_status=$?
39822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39823 (exit $ac_status); }; } &&
39824 { ac_try='test -s conftest.$ac_objext'
39825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39826 (eval $ac_try) 2>&5
39827 ac_status=$?
39828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39829 (exit $ac_status); }; }; then
39830 glibcxx_cv_func__powf_use=yes
39831 else
39832 echo "$as_me: failed program was:" >&5
39833 sed 's/^/| /' conftest.$ac_ext >&5
39835 glibcxx_cv_func__powf_use=no
39837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39838 ac_ext=c
39839 ac_cpp='$CPP $CPPFLAGS'
39840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39848 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
39849 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
39851 if test x$glibcxx_cv_func__powf_use = x"yes"; then
39853 for ac_func in _powf
39855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39856 echo "$as_me:$LINENO: checking for $ac_func" >&5
39857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39858 if eval "test \"\${$as_ac_var+set}\" = set"; then
39859 echo $ECHO_N "(cached) $ECHO_C" >&6
39860 else
39861 if test x$gcc_no_link = xyes; then
39862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39864 { (exit 1); exit 1; }; }
39866 cat >conftest.$ac_ext <<_ACEOF
39867 /* confdefs.h. */
39868 _ACEOF
39869 cat confdefs.h >>conftest.$ac_ext
39870 cat >>conftest.$ac_ext <<_ACEOF
39871 /* end confdefs.h. */
39872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39874 #define $ac_func innocuous_$ac_func
39876 /* System header to define __stub macros and hopefully few prototypes,
39877 which can conflict with char $ac_func (); below.
39878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39879 <limits.h> exists even on freestanding compilers. */
39881 #ifdef __STDC__
39882 # include <limits.h>
39883 #else
39884 # include <assert.h>
39885 #endif
39887 #undef $ac_func
39889 /* Override any gcc2 internal prototype to avoid an error. */
39890 #ifdef __cplusplus
39891 extern "C"
39893 #endif
39894 /* We use char because int might match the return type of a gcc2
39895 builtin and then its argument prototype would still apply. */
39896 char $ac_func ();
39897 /* The GNU C library defines this for functions which it implements
39898 to always fail with ENOSYS. Some functions are actually named
39899 something starting with __ and the normal name is an alias. */
39900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39901 choke me
39902 #else
39903 char (*f) () = $ac_func;
39904 #endif
39905 #ifdef __cplusplus
39907 #endif
39910 main ()
39912 return f != $ac_func;
39914 return 0;
39916 _ACEOF
39917 rm -f conftest.$ac_objext conftest$ac_exeext
39918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39919 (eval $ac_link) 2>conftest.er1
39920 ac_status=$?
39921 grep -v '^ *+' conftest.er1 >conftest.err
39922 rm -f conftest.er1
39923 cat conftest.err >&5
39924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39925 (exit $ac_status); } &&
39926 { ac_try='test -z "$ac_c_werror_flag"
39927 || test ! -s conftest.err'
39928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39929 (eval $ac_try) 2>&5
39930 ac_status=$?
39931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39932 (exit $ac_status); }; } &&
39933 { ac_try='test -s conftest$ac_exeext'
39934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39935 (eval $ac_try) 2>&5
39936 ac_status=$?
39937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39938 (exit $ac_status); }; }; then
39939 eval "$as_ac_var=yes"
39940 else
39941 echo "$as_me: failed program was:" >&5
39942 sed 's/^/| /' conftest.$ac_ext >&5
39944 eval "$as_ac_var=no"
39946 rm -f conftest.err conftest.$ac_objext \
39947 conftest$ac_exeext conftest.$ac_ext
39949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39951 if test `eval echo '${'$as_ac_var'}'` = yes; then
39952 cat >>confdefs.h <<_ACEOF
39953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39954 _ACEOF
39957 done
39964 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
39965 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
39966 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
39967 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
39968 echo $ECHO_N "(cached) $ECHO_C" >&6
39969 else
39973 ac_ext=cc
39974 ac_cpp='$CXXCPP $CPPFLAGS'
39975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39979 cat >conftest.$ac_ext <<_ACEOF
39980 /* confdefs.h. */
39981 _ACEOF
39982 cat confdefs.h >>conftest.$ac_ext
39983 cat >>conftest.$ac_ext <<_ACEOF
39984 /* end confdefs.h. */
39985 #include <math.h>
39986 #ifdef HAVE_IEEEFP_H
39987 #include <ieeefp.h>
39988 #endif
39991 main ()
39993 sqrtf(0);
39995 return 0;
39997 _ACEOF
39998 rm -f conftest.$ac_objext
39999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40000 (eval $ac_compile) 2>conftest.er1
40001 ac_status=$?
40002 grep -v '^ *+' conftest.er1 >conftest.err
40003 rm -f conftest.er1
40004 cat conftest.err >&5
40005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40006 (exit $ac_status); } &&
40007 { ac_try='test -z "$ac_cxx_werror_flag"
40008 || test ! -s conftest.err'
40009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40010 (eval $ac_try) 2>&5
40011 ac_status=$?
40012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40013 (exit $ac_status); }; } &&
40014 { ac_try='test -s conftest.$ac_objext'
40015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40016 (eval $ac_try) 2>&5
40017 ac_status=$?
40018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40019 (exit $ac_status); }; }; then
40020 glibcxx_cv_func_sqrtf_use=yes
40021 else
40022 echo "$as_me: failed program was:" >&5
40023 sed 's/^/| /' conftest.$ac_ext >&5
40025 glibcxx_cv_func_sqrtf_use=no
40027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40028 ac_ext=c
40029 ac_cpp='$CPP $CPPFLAGS'
40030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40038 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
40039 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
40041 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
40043 for ac_func in sqrtf
40045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40046 echo "$as_me:$LINENO: checking for $ac_func" >&5
40047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40048 if eval "test \"\${$as_ac_var+set}\" = set"; then
40049 echo $ECHO_N "(cached) $ECHO_C" >&6
40050 else
40051 if test x$gcc_no_link = xyes; then
40052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40054 { (exit 1); exit 1; }; }
40056 cat >conftest.$ac_ext <<_ACEOF
40057 /* confdefs.h. */
40058 _ACEOF
40059 cat confdefs.h >>conftest.$ac_ext
40060 cat >>conftest.$ac_ext <<_ACEOF
40061 /* end confdefs.h. */
40062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40064 #define $ac_func innocuous_$ac_func
40066 /* System header to define __stub macros and hopefully few prototypes,
40067 which can conflict with char $ac_func (); below.
40068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40069 <limits.h> exists even on freestanding compilers. */
40071 #ifdef __STDC__
40072 # include <limits.h>
40073 #else
40074 # include <assert.h>
40075 #endif
40077 #undef $ac_func
40079 /* Override any gcc2 internal prototype to avoid an error. */
40080 #ifdef __cplusplus
40081 extern "C"
40083 #endif
40084 /* We use char because int might match the return type of a gcc2
40085 builtin and then its argument prototype would still apply. */
40086 char $ac_func ();
40087 /* The GNU C library defines this for functions which it implements
40088 to always fail with ENOSYS. Some functions are actually named
40089 something starting with __ and the normal name is an alias. */
40090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40091 choke me
40092 #else
40093 char (*f) () = $ac_func;
40094 #endif
40095 #ifdef __cplusplus
40097 #endif
40100 main ()
40102 return f != $ac_func;
40104 return 0;
40106 _ACEOF
40107 rm -f conftest.$ac_objext conftest$ac_exeext
40108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40109 (eval $ac_link) 2>conftest.er1
40110 ac_status=$?
40111 grep -v '^ *+' conftest.er1 >conftest.err
40112 rm -f conftest.er1
40113 cat conftest.err >&5
40114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40115 (exit $ac_status); } &&
40116 { ac_try='test -z "$ac_c_werror_flag"
40117 || test ! -s conftest.err'
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); }; } &&
40123 { ac_try='test -s conftest$ac_exeext'
40124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40125 (eval $ac_try) 2>&5
40126 ac_status=$?
40127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40128 (exit $ac_status); }; }; then
40129 eval "$as_ac_var=yes"
40130 else
40131 echo "$as_me: failed program was:" >&5
40132 sed 's/^/| /' conftest.$ac_ext >&5
40134 eval "$as_ac_var=no"
40136 rm -f conftest.err conftest.$ac_objext \
40137 conftest$ac_exeext conftest.$ac_ext
40139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40141 if test `eval echo '${'$as_ac_var'}'` = yes; then
40142 cat >>confdefs.h <<_ACEOF
40143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40144 _ACEOF
40147 done
40149 else
40151 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
40152 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
40153 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
40154 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
40155 echo $ECHO_N "(cached) $ECHO_C" >&6
40156 else
40160 ac_ext=cc
40161 ac_cpp='$CXXCPP $CPPFLAGS'
40162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40166 cat >conftest.$ac_ext <<_ACEOF
40167 /* confdefs.h. */
40168 _ACEOF
40169 cat confdefs.h >>conftest.$ac_ext
40170 cat >>conftest.$ac_ext <<_ACEOF
40171 /* end confdefs.h. */
40172 #include <math.h>
40173 #ifdef HAVE_IEEEFP_H
40174 #include <ieeefp.h>
40175 #endif
40178 main ()
40180 _sqrtf(0);
40182 return 0;
40184 _ACEOF
40185 rm -f conftest.$ac_objext
40186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40187 (eval $ac_compile) 2>conftest.er1
40188 ac_status=$?
40189 grep -v '^ *+' conftest.er1 >conftest.err
40190 rm -f conftest.er1
40191 cat conftest.err >&5
40192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40193 (exit $ac_status); } &&
40194 { ac_try='test -z "$ac_cxx_werror_flag"
40195 || test ! -s conftest.err'
40196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40197 (eval $ac_try) 2>&5
40198 ac_status=$?
40199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40200 (exit $ac_status); }; } &&
40201 { ac_try='test -s conftest.$ac_objext'
40202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40203 (eval $ac_try) 2>&5
40204 ac_status=$?
40205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40206 (exit $ac_status); }; }; then
40207 glibcxx_cv_func__sqrtf_use=yes
40208 else
40209 echo "$as_me: failed program was:" >&5
40210 sed 's/^/| /' conftest.$ac_ext >&5
40212 glibcxx_cv_func__sqrtf_use=no
40214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40215 ac_ext=c
40216 ac_cpp='$CPP $CPPFLAGS'
40217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40225 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
40226 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
40228 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
40230 for ac_func in _sqrtf
40232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40233 echo "$as_me:$LINENO: checking for $ac_func" >&5
40234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40235 if eval "test \"\${$as_ac_var+set}\" = set"; then
40236 echo $ECHO_N "(cached) $ECHO_C" >&6
40237 else
40238 if test x$gcc_no_link = xyes; then
40239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40241 { (exit 1); exit 1; }; }
40243 cat >conftest.$ac_ext <<_ACEOF
40244 /* confdefs.h. */
40245 _ACEOF
40246 cat confdefs.h >>conftest.$ac_ext
40247 cat >>conftest.$ac_ext <<_ACEOF
40248 /* end confdefs.h. */
40249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40251 #define $ac_func innocuous_$ac_func
40253 /* System header to define __stub macros and hopefully few prototypes,
40254 which can conflict with char $ac_func (); below.
40255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40256 <limits.h> exists even on freestanding compilers. */
40258 #ifdef __STDC__
40259 # include <limits.h>
40260 #else
40261 # include <assert.h>
40262 #endif
40264 #undef $ac_func
40266 /* Override any gcc2 internal prototype to avoid an error. */
40267 #ifdef __cplusplus
40268 extern "C"
40270 #endif
40271 /* We use char because int might match the return type of a gcc2
40272 builtin and then its argument prototype would still apply. */
40273 char $ac_func ();
40274 /* The GNU C library defines this for functions which it implements
40275 to always fail with ENOSYS. Some functions are actually named
40276 something starting with __ and the normal name is an alias. */
40277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40278 choke me
40279 #else
40280 char (*f) () = $ac_func;
40281 #endif
40282 #ifdef __cplusplus
40284 #endif
40287 main ()
40289 return f != $ac_func;
40291 return 0;
40293 _ACEOF
40294 rm -f conftest.$ac_objext conftest$ac_exeext
40295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40296 (eval $ac_link) 2>conftest.er1
40297 ac_status=$?
40298 grep -v '^ *+' conftest.er1 >conftest.err
40299 rm -f conftest.er1
40300 cat conftest.err >&5
40301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40302 (exit $ac_status); } &&
40303 { ac_try='test -z "$ac_c_werror_flag"
40304 || test ! -s conftest.err'
40305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40306 (eval $ac_try) 2>&5
40307 ac_status=$?
40308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40309 (exit $ac_status); }; } &&
40310 { ac_try='test -s conftest$ac_exeext'
40311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40312 (eval $ac_try) 2>&5
40313 ac_status=$?
40314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40315 (exit $ac_status); }; }; then
40316 eval "$as_ac_var=yes"
40317 else
40318 echo "$as_me: failed program was:" >&5
40319 sed 's/^/| /' conftest.$ac_ext >&5
40321 eval "$as_ac_var=no"
40323 rm -f conftest.err conftest.$ac_objext \
40324 conftest$ac_exeext conftest.$ac_ext
40326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40328 if test `eval echo '${'$as_ac_var'}'` = yes; then
40329 cat >>confdefs.h <<_ACEOF
40330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40331 _ACEOF
40334 done
40341 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
40342 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
40343 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40344 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
40345 echo $ECHO_N "(cached) $ECHO_C" >&6
40346 else
40350 ac_ext=cc
40351 ac_cpp='$CXXCPP $CPPFLAGS'
40352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40356 cat >conftest.$ac_ext <<_ACEOF
40357 /* confdefs.h. */
40358 _ACEOF
40359 cat confdefs.h >>conftest.$ac_ext
40360 cat >>conftest.$ac_ext <<_ACEOF
40361 /* end confdefs.h. */
40362 #include <math.h>
40364 main ()
40366 sincosf(0, 0, 0);
40368 return 0;
40370 _ACEOF
40371 rm -f conftest.$ac_objext
40372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40373 (eval $ac_compile) 2>conftest.er1
40374 ac_status=$?
40375 grep -v '^ *+' conftest.er1 >conftest.err
40376 rm -f conftest.er1
40377 cat conftest.err >&5
40378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40379 (exit $ac_status); } &&
40380 { ac_try='test -z "$ac_cxx_werror_flag"
40381 || test ! -s conftest.err'
40382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40383 (eval $ac_try) 2>&5
40384 ac_status=$?
40385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40386 (exit $ac_status); }; } &&
40387 { ac_try='test -s conftest.$ac_objext'
40388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40389 (eval $ac_try) 2>&5
40390 ac_status=$?
40391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40392 (exit $ac_status); }; }; then
40393 glibcxx_cv_func_sincosf_use=yes
40394 else
40395 echo "$as_me: failed program was:" >&5
40396 sed 's/^/| /' conftest.$ac_ext >&5
40398 glibcxx_cv_func_sincosf_use=no
40400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40401 ac_ext=c
40402 ac_cpp='$CPP $CPPFLAGS'
40403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40411 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
40412 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
40414 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40416 for ac_func in sincosf
40418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40419 echo "$as_me:$LINENO: checking for $ac_func" >&5
40420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40421 if eval "test \"\${$as_ac_var+set}\" = set"; then
40422 echo $ECHO_N "(cached) $ECHO_C" >&6
40423 else
40424 if test x$gcc_no_link = xyes; then
40425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40427 { (exit 1); exit 1; }; }
40429 cat >conftest.$ac_ext <<_ACEOF
40430 /* confdefs.h. */
40431 _ACEOF
40432 cat confdefs.h >>conftest.$ac_ext
40433 cat >>conftest.$ac_ext <<_ACEOF
40434 /* end confdefs.h. */
40435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40437 #define $ac_func innocuous_$ac_func
40439 /* System header to define __stub macros and hopefully few prototypes,
40440 which can conflict with char $ac_func (); below.
40441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40442 <limits.h> exists even on freestanding compilers. */
40444 #ifdef __STDC__
40445 # include <limits.h>
40446 #else
40447 # include <assert.h>
40448 #endif
40450 #undef $ac_func
40452 /* Override any gcc2 internal prototype to avoid an error. */
40453 #ifdef __cplusplus
40454 extern "C"
40456 #endif
40457 /* We use char because int might match the return type of a gcc2
40458 builtin and then its argument prototype would still apply. */
40459 char $ac_func ();
40460 /* The GNU C library defines this for functions which it implements
40461 to always fail with ENOSYS. Some functions are actually named
40462 something starting with __ and the normal name is an alias. */
40463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40464 choke me
40465 #else
40466 char (*f) () = $ac_func;
40467 #endif
40468 #ifdef __cplusplus
40470 #endif
40473 main ()
40475 return f != $ac_func;
40477 return 0;
40479 _ACEOF
40480 rm -f conftest.$ac_objext conftest$ac_exeext
40481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40482 (eval $ac_link) 2>conftest.er1
40483 ac_status=$?
40484 grep -v '^ *+' conftest.er1 >conftest.err
40485 rm -f conftest.er1
40486 cat conftest.err >&5
40487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40488 (exit $ac_status); } &&
40489 { ac_try='test -z "$ac_c_werror_flag"
40490 || test ! -s conftest.err'
40491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40492 (eval $ac_try) 2>&5
40493 ac_status=$?
40494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40495 (exit $ac_status); }; } &&
40496 { ac_try='test -s conftest$ac_exeext'
40497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40498 (eval $ac_try) 2>&5
40499 ac_status=$?
40500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40501 (exit $ac_status); }; }; then
40502 eval "$as_ac_var=yes"
40503 else
40504 echo "$as_me: failed program was:" >&5
40505 sed 's/^/| /' conftest.$ac_ext >&5
40507 eval "$as_ac_var=no"
40509 rm -f conftest.err conftest.$ac_objext \
40510 conftest$ac_exeext conftest.$ac_ext
40512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40514 if test `eval echo '${'$as_ac_var'}'` = yes; then
40515 cat >>confdefs.h <<_ACEOF
40516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40517 _ACEOF
40520 done
40522 else
40524 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
40525 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
40526 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40527 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
40528 echo $ECHO_N "(cached) $ECHO_C" >&6
40529 else
40533 ac_ext=cc
40534 ac_cpp='$CXXCPP $CPPFLAGS'
40535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40539 cat >conftest.$ac_ext <<_ACEOF
40540 /* confdefs.h. */
40541 _ACEOF
40542 cat confdefs.h >>conftest.$ac_ext
40543 cat >>conftest.$ac_ext <<_ACEOF
40544 /* end confdefs.h. */
40545 #include <math.h>
40547 main ()
40549 _sincosf(0, 0, 0);
40551 return 0;
40553 _ACEOF
40554 rm -f conftest.$ac_objext
40555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40556 (eval $ac_compile) 2>conftest.er1
40557 ac_status=$?
40558 grep -v '^ *+' conftest.er1 >conftest.err
40559 rm -f conftest.er1
40560 cat conftest.err >&5
40561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40562 (exit $ac_status); } &&
40563 { ac_try='test -z "$ac_cxx_werror_flag"
40564 || test ! -s conftest.err'
40565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40566 (eval $ac_try) 2>&5
40567 ac_status=$?
40568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40569 (exit $ac_status); }; } &&
40570 { ac_try='test -s conftest.$ac_objext'
40571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40572 (eval $ac_try) 2>&5
40573 ac_status=$?
40574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40575 (exit $ac_status); }; }; then
40576 glibcxx_cv_func__sincosf_use=yes
40577 else
40578 echo "$as_me: failed program was:" >&5
40579 sed 's/^/| /' conftest.$ac_ext >&5
40581 glibcxx_cv_func__sincosf_use=no
40583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40584 ac_ext=c
40585 ac_cpp='$CPP $CPPFLAGS'
40586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40594 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
40595 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
40597 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40599 for ac_func in _sincosf
40601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40602 echo "$as_me:$LINENO: checking for $ac_func" >&5
40603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40604 if eval "test \"\${$as_ac_var+set}\" = set"; then
40605 echo $ECHO_N "(cached) $ECHO_C" >&6
40606 else
40607 if test x$gcc_no_link = xyes; then
40608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40610 { (exit 1); exit 1; }; }
40612 cat >conftest.$ac_ext <<_ACEOF
40613 /* confdefs.h. */
40614 _ACEOF
40615 cat confdefs.h >>conftest.$ac_ext
40616 cat >>conftest.$ac_ext <<_ACEOF
40617 /* end confdefs.h. */
40618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40620 #define $ac_func innocuous_$ac_func
40622 /* System header to define __stub macros and hopefully few prototypes,
40623 which can conflict with char $ac_func (); below.
40624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40625 <limits.h> exists even on freestanding compilers. */
40627 #ifdef __STDC__
40628 # include <limits.h>
40629 #else
40630 # include <assert.h>
40631 #endif
40633 #undef $ac_func
40635 /* Override any gcc2 internal prototype to avoid an error. */
40636 #ifdef __cplusplus
40637 extern "C"
40639 #endif
40640 /* We use char because int might match the return type of a gcc2
40641 builtin and then its argument prototype would still apply. */
40642 char $ac_func ();
40643 /* The GNU C library defines this for functions which it implements
40644 to always fail with ENOSYS. Some functions are actually named
40645 something starting with __ and the normal name is an alias. */
40646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40647 choke me
40648 #else
40649 char (*f) () = $ac_func;
40650 #endif
40651 #ifdef __cplusplus
40653 #endif
40656 main ()
40658 return f != $ac_func;
40660 return 0;
40662 _ACEOF
40663 rm -f conftest.$ac_objext conftest$ac_exeext
40664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40665 (eval $ac_link) 2>conftest.er1
40666 ac_status=$?
40667 grep -v '^ *+' conftest.er1 >conftest.err
40668 rm -f conftest.er1
40669 cat conftest.err >&5
40670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40671 (exit $ac_status); } &&
40672 { ac_try='test -z "$ac_c_werror_flag"
40673 || test ! -s conftest.err'
40674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40675 (eval $ac_try) 2>&5
40676 ac_status=$?
40677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40678 (exit $ac_status); }; } &&
40679 { ac_try='test -s conftest$ac_exeext'
40680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40681 (eval $ac_try) 2>&5
40682 ac_status=$?
40683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40684 (exit $ac_status); }; }; then
40685 eval "$as_ac_var=yes"
40686 else
40687 echo "$as_me: failed program was:" >&5
40688 sed 's/^/| /' conftest.$ac_ext >&5
40690 eval "$as_ac_var=no"
40692 rm -f conftest.err conftest.$ac_objext \
40693 conftest$ac_exeext conftest.$ac_ext
40695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40697 if test `eval echo '${'$as_ac_var'}'` = yes; then
40698 cat >>confdefs.h <<_ACEOF
40699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40700 _ACEOF
40703 done
40710 echo "$as_me:$LINENO: checking for finitef declaration" >&5
40711 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
40712 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
40713 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
40714 echo $ECHO_N "(cached) $ECHO_C" >&6
40715 else
40719 ac_ext=cc
40720 ac_cpp='$CXXCPP $CPPFLAGS'
40721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40725 cat >conftest.$ac_ext <<_ACEOF
40726 /* confdefs.h. */
40727 _ACEOF
40728 cat confdefs.h >>conftest.$ac_ext
40729 cat >>conftest.$ac_ext <<_ACEOF
40730 /* end confdefs.h. */
40731 #include <math.h>
40732 #ifdef HAVE_IEEEFP_H
40733 #include <ieeefp.h>
40734 #endif
40737 main ()
40739 finitef(0);
40741 return 0;
40743 _ACEOF
40744 rm -f conftest.$ac_objext
40745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40746 (eval $ac_compile) 2>conftest.er1
40747 ac_status=$?
40748 grep -v '^ *+' conftest.er1 >conftest.err
40749 rm -f conftest.er1
40750 cat conftest.err >&5
40751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40752 (exit $ac_status); } &&
40753 { ac_try='test -z "$ac_cxx_werror_flag"
40754 || test ! -s conftest.err'
40755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40756 (eval $ac_try) 2>&5
40757 ac_status=$?
40758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40759 (exit $ac_status); }; } &&
40760 { ac_try='test -s conftest.$ac_objext'
40761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40762 (eval $ac_try) 2>&5
40763 ac_status=$?
40764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40765 (exit $ac_status); }; }; then
40766 glibcxx_cv_func_finitef_use=yes
40767 else
40768 echo "$as_me: failed program was:" >&5
40769 sed 's/^/| /' conftest.$ac_ext >&5
40771 glibcxx_cv_func_finitef_use=no
40773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40774 ac_ext=c
40775 ac_cpp='$CPP $CPPFLAGS'
40776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40784 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
40785 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
40787 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
40789 for ac_func in finitef
40791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40792 echo "$as_me:$LINENO: checking for $ac_func" >&5
40793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40794 if eval "test \"\${$as_ac_var+set}\" = set"; then
40795 echo $ECHO_N "(cached) $ECHO_C" >&6
40796 else
40797 if test x$gcc_no_link = xyes; then
40798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40800 { (exit 1); exit 1; }; }
40802 cat >conftest.$ac_ext <<_ACEOF
40803 /* confdefs.h. */
40804 _ACEOF
40805 cat confdefs.h >>conftest.$ac_ext
40806 cat >>conftest.$ac_ext <<_ACEOF
40807 /* end confdefs.h. */
40808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40810 #define $ac_func innocuous_$ac_func
40812 /* System header to define __stub macros and hopefully few prototypes,
40813 which can conflict with char $ac_func (); below.
40814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40815 <limits.h> exists even on freestanding compilers. */
40817 #ifdef __STDC__
40818 # include <limits.h>
40819 #else
40820 # include <assert.h>
40821 #endif
40823 #undef $ac_func
40825 /* Override any gcc2 internal prototype to avoid an error. */
40826 #ifdef __cplusplus
40827 extern "C"
40829 #endif
40830 /* We use char because int might match the return type of a gcc2
40831 builtin and then its argument prototype would still apply. */
40832 char $ac_func ();
40833 /* The GNU C library defines this for functions which it implements
40834 to always fail with ENOSYS. Some functions are actually named
40835 something starting with __ and the normal name is an alias. */
40836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40837 choke me
40838 #else
40839 char (*f) () = $ac_func;
40840 #endif
40841 #ifdef __cplusplus
40843 #endif
40846 main ()
40848 return f != $ac_func;
40850 return 0;
40852 _ACEOF
40853 rm -f conftest.$ac_objext conftest$ac_exeext
40854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40855 (eval $ac_link) 2>conftest.er1
40856 ac_status=$?
40857 grep -v '^ *+' conftest.er1 >conftest.err
40858 rm -f conftest.er1
40859 cat conftest.err >&5
40860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40861 (exit $ac_status); } &&
40862 { ac_try='test -z "$ac_c_werror_flag"
40863 || test ! -s conftest.err'
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); }; } &&
40869 { ac_try='test -s conftest$ac_exeext'
40870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40871 (eval $ac_try) 2>&5
40872 ac_status=$?
40873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40874 (exit $ac_status); }; }; then
40875 eval "$as_ac_var=yes"
40876 else
40877 echo "$as_me: failed program was:" >&5
40878 sed 's/^/| /' conftest.$ac_ext >&5
40880 eval "$as_ac_var=no"
40882 rm -f conftest.err conftest.$ac_objext \
40883 conftest$ac_exeext conftest.$ac_ext
40885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40887 if test `eval echo '${'$as_ac_var'}'` = yes; then
40888 cat >>confdefs.h <<_ACEOF
40889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40890 _ACEOF
40893 done
40895 else
40897 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
40898 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
40899 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
40900 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
40901 echo $ECHO_N "(cached) $ECHO_C" >&6
40902 else
40906 ac_ext=cc
40907 ac_cpp='$CXXCPP $CPPFLAGS'
40908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40912 cat >conftest.$ac_ext <<_ACEOF
40913 /* confdefs.h. */
40914 _ACEOF
40915 cat confdefs.h >>conftest.$ac_ext
40916 cat >>conftest.$ac_ext <<_ACEOF
40917 /* end confdefs.h. */
40918 #include <math.h>
40919 #ifdef HAVE_IEEEFP_H
40920 #include <ieeefp.h>
40921 #endif
40924 main ()
40926 _finitef(0);
40928 return 0;
40930 _ACEOF
40931 rm -f conftest.$ac_objext
40932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40933 (eval $ac_compile) 2>conftest.er1
40934 ac_status=$?
40935 grep -v '^ *+' conftest.er1 >conftest.err
40936 rm -f conftest.er1
40937 cat conftest.err >&5
40938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40939 (exit $ac_status); } &&
40940 { ac_try='test -z "$ac_cxx_werror_flag"
40941 || test ! -s conftest.err'
40942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40943 (eval $ac_try) 2>&5
40944 ac_status=$?
40945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40946 (exit $ac_status); }; } &&
40947 { ac_try='test -s conftest.$ac_objext'
40948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40949 (eval $ac_try) 2>&5
40950 ac_status=$?
40951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40952 (exit $ac_status); }; }; then
40953 glibcxx_cv_func__finitef_use=yes
40954 else
40955 echo "$as_me: failed program was:" >&5
40956 sed 's/^/| /' conftest.$ac_ext >&5
40958 glibcxx_cv_func__finitef_use=no
40960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40961 ac_ext=c
40962 ac_cpp='$CPP $CPPFLAGS'
40963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40971 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
40972 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
40974 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
40976 for ac_func in _finitef
40978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40979 echo "$as_me:$LINENO: checking for $ac_func" >&5
40980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40981 if eval "test \"\${$as_ac_var+set}\" = set"; then
40982 echo $ECHO_N "(cached) $ECHO_C" >&6
40983 else
40984 if test x$gcc_no_link = xyes; then
40985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40987 { (exit 1); exit 1; }; }
40989 cat >conftest.$ac_ext <<_ACEOF
40990 /* confdefs.h. */
40991 _ACEOF
40992 cat confdefs.h >>conftest.$ac_ext
40993 cat >>conftest.$ac_ext <<_ACEOF
40994 /* end confdefs.h. */
40995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40997 #define $ac_func innocuous_$ac_func
40999 /* System header to define __stub macros and hopefully few prototypes,
41000 which can conflict with char $ac_func (); below.
41001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41002 <limits.h> exists even on freestanding compilers. */
41004 #ifdef __STDC__
41005 # include <limits.h>
41006 #else
41007 # include <assert.h>
41008 #endif
41010 #undef $ac_func
41012 /* Override any gcc2 internal prototype to avoid an error. */
41013 #ifdef __cplusplus
41014 extern "C"
41016 #endif
41017 /* We use char because int might match the return type of a gcc2
41018 builtin and then its argument prototype would still apply. */
41019 char $ac_func ();
41020 /* The GNU C library defines this for functions which it implements
41021 to always fail with ENOSYS. Some functions are actually named
41022 something starting with __ and the normal name is an alias. */
41023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41024 choke me
41025 #else
41026 char (*f) () = $ac_func;
41027 #endif
41028 #ifdef __cplusplus
41030 #endif
41033 main ()
41035 return f != $ac_func;
41037 return 0;
41039 _ACEOF
41040 rm -f conftest.$ac_objext conftest$ac_exeext
41041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41042 (eval $ac_link) 2>conftest.er1
41043 ac_status=$?
41044 grep -v '^ *+' conftest.er1 >conftest.err
41045 rm -f conftest.er1
41046 cat conftest.err >&5
41047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41048 (exit $ac_status); } &&
41049 { ac_try='test -z "$ac_c_werror_flag"
41050 || test ! -s conftest.err'
41051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41052 (eval $ac_try) 2>&5
41053 ac_status=$?
41054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41055 (exit $ac_status); }; } &&
41056 { ac_try='test -s conftest$ac_exeext'
41057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41058 (eval $ac_try) 2>&5
41059 ac_status=$?
41060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41061 (exit $ac_status); }; }; then
41062 eval "$as_ac_var=yes"
41063 else
41064 echo "$as_me: failed program was:" >&5
41065 sed 's/^/| /' conftest.$ac_ext >&5
41067 eval "$as_ac_var=no"
41069 rm -f conftest.err conftest.$ac_objext \
41070 conftest$ac_exeext conftest.$ac_ext
41072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41074 if test `eval echo '${'$as_ac_var'}'` = yes; then
41075 cat >>confdefs.h <<_ACEOF
41076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41077 _ACEOF
41080 done
41087 echo "$as_me:$LINENO: checking for long double trig functions" >&5
41088 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
41089 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
41090 echo $ECHO_N "(cached) $ECHO_C" >&6
41091 else
41095 ac_ext=cc
41096 ac_cpp='$CXXCPP $CPPFLAGS'
41097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41101 cat >conftest.$ac_ext <<_ACEOF
41102 /* confdefs.h. */
41103 _ACEOF
41104 cat confdefs.h >>conftest.$ac_ext
41105 cat >>conftest.$ac_ext <<_ACEOF
41106 /* end confdefs.h. */
41107 #include <math.h>
41109 main ()
41111 `for x in acosl asinl atanl \
41112 cosl sinl tanl \
41113 coshl sinhl tanhl; do echo "$x (0);"; done`
41115 return 0;
41117 _ACEOF
41118 rm -f conftest.$ac_objext
41119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41120 (eval $ac_compile) 2>conftest.er1
41121 ac_status=$?
41122 grep -v '^ *+' conftest.er1 >conftest.err
41123 rm -f conftest.er1
41124 cat conftest.err >&5
41125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41126 (exit $ac_status); } &&
41127 { ac_try='test -z "$ac_cxx_werror_flag"
41128 || test ! -s conftest.err'
41129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41130 (eval $ac_try) 2>&5
41131 ac_status=$?
41132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41133 (exit $ac_status); }; } &&
41134 { ac_try='test -s conftest.$ac_objext'
41135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41136 (eval $ac_try) 2>&5
41137 ac_status=$?
41138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41139 (exit $ac_status); }; }; then
41140 glibcxx_cv_func_long_double_trig_use=yes
41141 else
41142 echo "$as_me: failed program was:" >&5
41143 sed 's/^/| /' conftest.$ac_ext >&5
41145 glibcxx_cv_func_long_double_trig_use=no
41147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41148 ac_ext=c
41149 ac_cpp='$CPP $CPPFLAGS'
41150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41156 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
41157 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
41158 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41168 for ac_func in acosl asinl atanl \
41169 cosl sinl tanl \
41170 coshl sinhl tanhl
41172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41173 echo "$as_me:$LINENO: checking for $ac_func" >&5
41174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41175 if eval "test \"\${$as_ac_var+set}\" = set"; then
41176 echo $ECHO_N "(cached) $ECHO_C" >&6
41177 else
41178 if test x$gcc_no_link = xyes; then
41179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41181 { (exit 1); exit 1; }; }
41183 cat >conftest.$ac_ext <<_ACEOF
41184 /* confdefs.h. */
41185 _ACEOF
41186 cat confdefs.h >>conftest.$ac_ext
41187 cat >>conftest.$ac_ext <<_ACEOF
41188 /* end confdefs.h. */
41189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41191 #define $ac_func innocuous_$ac_func
41193 /* System header to define __stub macros and hopefully few prototypes,
41194 which can conflict with char $ac_func (); below.
41195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41196 <limits.h> exists even on freestanding compilers. */
41198 #ifdef __STDC__
41199 # include <limits.h>
41200 #else
41201 # include <assert.h>
41202 #endif
41204 #undef $ac_func
41206 /* Override any gcc2 internal prototype to avoid an error. */
41207 #ifdef __cplusplus
41208 extern "C"
41210 #endif
41211 /* We use char because int might match the return type of a gcc2
41212 builtin and then its argument prototype would still apply. */
41213 char $ac_func ();
41214 /* The GNU C library defines this for functions which it implements
41215 to always fail with ENOSYS. Some functions are actually named
41216 something starting with __ and the normal name is an alias. */
41217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41218 choke me
41219 #else
41220 char (*f) () = $ac_func;
41221 #endif
41222 #ifdef __cplusplus
41224 #endif
41227 main ()
41229 return f != $ac_func;
41231 return 0;
41233 _ACEOF
41234 rm -f conftest.$ac_objext conftest$ac_exeext
41235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41236 (eval $ac_link) 2>conftest.er1
41237 ac_status=$?
41238 grep -v '^ *+' conftest.er1 >conftest.err
41239 rm -f conftest.er1
41240 cat conftest.err >&5
41241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41242 (exit $ac_status); } &&
41243 { ac_try='test -z "$ac_c_werror_flag"
41244 || test ! -s conftest.err'
41245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41246 (eval $ac_try) 2>&5
41247 ac_status=$?
41248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41249 (exit $ac_status); }; } &&
41250 { ac_try='test -s conftest$ac_exeext'
41251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41252 (eval $ac_try) 2>&5
41253 ac_status=$?
41254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41255 (exit $ac_status); }; }; then
41256 eval "$as_ac_var=yes"
41257 else
41258 echo "$as_me: failed program was:" >&5
41259 sed 's/^/| /' conftest.$ac_ext >&5
41261 eval "$as_ac_var=no"
41263 rm -f conftest.err conftest.$ac_objext \
41264 conftest$ac_exeext conftest.$ac_ext
41266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41268 if test `eval echo '${'$as_ac_var'}'` = yes; then
41269 cat >>confdefs.h <<_ACEOF
41270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41271 _ACEOF
41274 done
41279 echo "$as_me:$LINENO: checking for long double round functions" >&5
41280 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
41281 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
41282 echo $ECHO_N "(cached) $ECHO_C" >&6
41283 else
41287 ac_ext=cc
41288 ac_cpp='$CXXCPP $CPPFLAGS'
41289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41293 cat >conftest.$ac_ext <<_ACEOF
41294 /* confdefs.h. */
41295 _ACEOF
41296 cat confdefs.h >>conftest.$ac_ext
41297 cat >>conftest.$ac_ext <<_ACEOF
41298 /* end confdefs.h. */
41299 #include <math.h>
41301 main ()
41303 `for x in ceill floorl; do echo "$x (0);"; done`
41305 return 0;
41307 _ACEOF
41308 rm -f conftest.$ac_objext
41309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41310 (eval $ac_compile) 2>conftest.er1
41311 ac_status=$?
41312 grep -v '^ *+' conftest.er1 >conftest.err
41313 rm -f conftest.er1
41314 cat conftest.err >&5
41315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41316 (exit $ac_status); } &&
41317 { ac_try='test -z "$ac_cxx_werror_flag"
41318 || test ! -s conftest.err'
41319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41320 (eval $ac_try) 2>&5
41321 ac_status=$?
41322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41323 (exit $ac_status); }; } &&
41324 { ac_try='test -s conftest.$ac_objext'
41325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41326 (eval $ac_try) 2>&5
41327 ac_status=$?
41328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41329 (exit $ac_status); }; }; then
41330 glibcxx_cv_func_long_double_round_use=yes
41331 else
41332 echo "$as_me: failed program was:" >&5
41333 sed 's/^/| /' conftest.$ac_ext >&5
41335 glibcxx_cv_func_long_double_round_use=no
41337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41338 ac_ext=c
41339 ac_cpp='$CPP $CPPFLAGS'
41340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41346 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
41347 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
41348 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41351 for ac_func in ceill floorl
41353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41354 echo "$as_me:$LINENO: checking for $ac_func" >&5
41355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41356 if eval "test \"\${$as_ac_var+set}\" = set"; then
41357 echo $ECHO_N "(cached) $ECHO_C" >&6
41358 else
41359 if test x$gcc_no_link = xyes; then
41360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41362 { (exit 1); exit 1; }; }
41364 cat >conftest.$ac_ext <<_ACEOF
41365 /* confdefs.h. */
41366 _ACEOF
41367 cat confdefs.h >>conftest.$ac_ext
41368 cat >>conftest.$ac_ext <<_ACEOF
41369 /* end confdefs.h. */
41370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41372 #define $ac_func innocuous_$ac_func
41374 /* System header to define __stub macros and hopefully few prototypes,
41375 which can conflict with char $ac_func (); below.
41376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41377 <limits.h> exists even on freestanding compilers. */
41379 #ifdef __STDC__
41380 # include <limits.h>
41381 #else
41382 # include <assert.h>
41383 #endif
41385 #undef $ac_func
41387 /* Override any gcc2 internal prototype to avoid an error. */
41388 #ifdef __cplusplus
41389 extern "C"
41391 #endif
41392 /* We use char because int might match the return type of a gcc2
41393 builtin and then its argument prototype would still apply. */
41394 char $ac_func ();
41395 /* The GNU C library defines this for functions which it implements
41396 to always fail with ENOSYS. Some functions are actually named
41397 something starting with __ and the normal name is an alias. */
41398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41399 choke me
41400 #else
41401 char (*f) () = $ac_func;
41402 #endif
41403 #ifdef __cplusplus
41405 #endif
41408 main ()
41410 return f != $ac_func;
41412 return 0;
41414 _ACEOF
41415 rm -f conftest.$ac_objext conftest$ac_exeext
41416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41417 (eval $ac_link) 2>conftest.er1
41418 ac_status=$?
41419 grep -v '^ *+' conftest.er1 >conftest.err
41420 rm -f conftest.er1
41421 cat conftest.err >&5
41422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41423 (exit $ac_status); } &&
41424 { ac_try='test -z "$ac_c_werror_flag"
41425 || test ! -s conftest.err'
41426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41427 (eval $ac_try) 2>&5
41428 ac_status=$?
41429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41430 (exit $ac_status); }; } &&
41431 { ac_try='test -s conftest$ac_exeext'
41432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41433 (eval $ac_try) 2>&5
41434 ac_status=$?
41435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41436 (exit $ac_status); }; }; then
41437 eval "$as_ac_var=yes"
41438 else
41439 echo "$as_me: failed program was:" >&5
41440 sed 's/^/| /' conftest.$ac_ext >&5
41442 eval "$as_ac_var=no"
41444 rm -f conftest.err conftest.$ac_objext \
41445 conftest$ac_exeext conftest.$ac_ext
41447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41449 if test `eval echo '${'$as_ac_var'}'` = yes; then
41450 cat >>confdefs.h <<_ACEOF
41451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41452 _ACEOF
41455 done
41461 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
41462 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
41463 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41464 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
41465 echo $ECHO_N "(cached) $ECHO_C" >&6
41466 else
41470 ac_ext=cc
41471 ac_cpp='$CXXCPP $CPPFLAGS'
41472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41476 cat >conftest.$ac_ext <<_ACEOF
41477 /* confdefs.h. */
41478 _ACEOF
41479 cat confdefs.h >>conftest.$ac_ext
41480 cat >>conftest.$ac_ext <<_ACEOF
41481 /* end confdefs.h. */
41482 #include <math.h>
41483 #ifdef HAVE_IEEEFP_H
41484 #include <ieeefp.h>
41485 #endif
41488 main ()
41490 isnanl(0);
41492 return 0;
41494 _ACEOF
41495 rm -f conftest.$ac_objext
41496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41497 (eval $ac_compile) 2>conftest.er1
41498 ac_status=$?
41499 grep -v '^ *+' conftest.er1 >conftest.err
41500 rm -f conftest.er1
41501 cat conftest.err >&5
41502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41503 (exit $ac_status); } &&
41504 { ac_try='test -z "$ac_cxx_werror_flag"
41505 || test ! -s conftest.err'
41506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41507 (eval $ac_try) 2>&5
41508 ac_status=$?
41509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41510 (exit $ac_status); }; } &&
41511 { ac_try='test -s conftest.$ac_objext'
41512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41513 (eval $ac_try) 2>&5
41514 ac_status=$?
41515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41516 (exit $ac_status); }; }; then
41517 glibcxx_cv_func_isnanl_use=yes
41518 else
41519 echo "$as_me: failed program was:" >&5
41520 sed 's/^/| /' conftest.$ac_ext >&5
41522 glibcxx_cv_func_isnanl_use=no
41524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41525 ac_ext=c
41526 ac_cpp='$CPP $CPPFLAGS'
41527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41535 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
41536 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
41538 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41540 for ac_func in isnanl
41542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41543 echo "$as_me:$LINENO: checking for $ac_func" >&5
41544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41545 if eval "test \"\${$as_ac_var+set}\" = set"; then
41546 echo $ECHO_N "(cached) $ECHO_C" >&6
41547 else
41548 if test x$gcc_no_link = xyes; then
41549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41551 { (exit 1); exit 1; }; }
41553 cat >conftest.$ac_ext <<_ACEOF
41554 /* confdefs.h. */
41555 _ACEOF
41556 cat confdefs.h >>conftest.$ac_ext
41557 cat >>conftest.$ac_ext <<_ACEOF
41558 /* end confdefs.h. */
41559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41561 #define $ac_func innocuous_$ac_func
41563 /* System header to define __stub macros and hopefully few prototypes,
41564 which can conflict with char $ac_func (); below.
41565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41566 <limits.h> exists even on freestanding compilers. */
41568 #ifdef __STDC__
41569 # include <limits.h>
41570 #else
41571 # include <assert.h>
41572 #endif
41574 #undef $ac_func
41576 /* Override any gcc2 internal prototype to avoid an error. */
41577 #ifdef __cplusplus
41578 extern "C"
41580 #endif
41581 /* We use char because int might match the return type of a gcc2
41582 builtin and then its argument prototype would still apply. */
41583 char $ac_func ();
41584 /* The GNU C library defines this for functions which it implements
41585 to always fail with ENOSYS. Some functions are actually named
41586 something starting with __ and the normal name is an alias. */
41587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41588 choke me
41589 #else
41590 char (*f) () = $ac_func;
41591 #endif
41592 #ifdef __cplusplus
41594 #endif
41597 main ()
41599 return f != $ac_func;
41601 return 0;
41603 _ACEOF
41604 rm -f conftest.$ac_objext conftest$ac_exeext
41605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41606 (eval $ac_link) 2>conftest.er1
41607 ac_status=$?
41608 grep -v '^ *+' conftest.er1 >conftest.err
41609 rm -f conftest.er1
41610 cat conftest.err >&5
41611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41612 (exit $ac_status); } &&
41613 { ac_try='test -z "$ac_c_werror_flag"
41614 || test ! -s conftest.err'
41615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41616 (eval $ac_try) 2>&5
41617 ac_status=$?
41618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41619 (exit $ac_status); }; } &&
41620 { ac_try='test -s conftest$ac_exeext'
41621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41622 (eval $ac_try) 2>&5
41623 ac_status=$?
41624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41625 (exit $ac_status); }; }; then
41626 eval "$as_ac_var=yes"
41627 else
41628 echo "$as_me: failed program was:" >&5
41629 sed 's/^/| /' conftest.$ac_ext >&5
41631 eval "$as_ac_var=no"
41633 rm -f conftest.err conftest.$ac_objext \
41634 conftest$ac_exeext conftest.$ac_ext
41636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41638 if test `eval echo '${'$as_ac_var'}'` = yes; then
41639 cat >>confdefs.h <<_ACEOF
41640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41641 _ACEOF
41644 done
41646 else
41648 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
41649 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
41650 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41651 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
41652 echo $ECHO_N "(cached) $ECHO_C" >&6
41653 else
41657 ac_ext=cc
41658 ac_cpp='$CXXCPP $CPPFLAGS'
41659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41663 cat >conftest.$ac_ext <<_ACEOF
41664 /* confdefs.h. */
41665 _ACEOF
41666 cat confdefs.h >>conftest.$ac_ext
41667 cat >>conftest.$ac_ext <<_ACEOF
41668 /* end confdefs.h. */
41669 #include <math.h>
41670 #ifdef HAVE_IEEEFP_H
41671 #include <ieeefp.h>
41672 #endif
41675 main ()
41677 _isnanl(0);
41679 return 0;
41681 _ACEOF
41682 rm -f conftest.$ac_objext
41683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41684 (eval $ac_compile) 2>conftest.er1
41685 ac_status=$?
41686 grep -v '^ *+' conftest.er1 >conftest.err
41687 rm -f conftest.er1
41688 cat conftest.err >&5
41689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41690 (exit $ac_status); } &&
41691 { ac_try='test -z "$ac_cxx_werror_flag"
41692 || test ! -s conftest.err'
41693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41694 (eval $ac_try) 2>&5
41695 ac_status=$?
41696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41697 (exit $ac_status); }; } &&
41698 { ac_try='test -s conftest.$ac_objext'
41699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41700 (eval $ac_try) 2>&5
41701 ac_status=$?
41702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41703 (exit $ac_status); }; }; then
41704 glibcxx_cv_func__isnanl_use=yes
41705 else
41706 echo "$as_me: failed program was:" >&5
41707 sed 's/^/| /' conftest.$ac_ext >&5
41709 glibcxx_cv_func__isnanl_use=no
41711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41712 ac_ext=c
41713 ac_cpp='$CPP $CPPFLAGS'
41714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41722 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
41723 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
41725 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41727 for ac_func in _isnanl
41729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41730 echo "$as_me:$LINENO: checking for $ac_func" >&5
41731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41732 if eval "test \"\${$as_ac_var+set}\" = set"; then
41733 echo $ECHO_N "(cached) $ECHO_C" >&6
41734 else
41735 if test x$gcc_no_link = xyes; then
41736 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41738 { (exit 1); exit 1; }; }
41740 cat >conftest.$ac_ext <<_ACEOF
41741 /* confdefs.h. */
41742 _ACEOF
41743 cat confdefs.h >>conftest.$ac_ext
41744 cat >>conftest.$ac_ext <<_ACEOF
41745 /* end confdefs.h. */
41746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41748 #define $ac_func innocuous_$ac_func
41750 /* System header to define __stub macros and hopefully few prototypes,
41751 which can conflict with char $ac_func (); below.
41752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41753 <limits.h> exists even on freestanding compilers. */
41755 #ifdef __STDC__
41756 # include <limits.h>
41757 #else
41758 # include <assert.h>
41759 #endif
41761 #undef $ac_func
41763 /* Override any gcc2 internal prototype to avoid an error. */
41764 #ifdef __cplusplus
41765 extern "C"
41767 #endif
41768 /* We use char because int might match the return type of a gcc2
41769 builtin and then its argument prototype would still apply. */
41770 char $ac_func ();
41771 /* The GNU C library defines this for functions which it implements
41772 to always fail with ENOSYS. Some functions are actually named
41773 something starting with __ and the normal name is an alias. */
41774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41775 choke me
41776 #else
41777 char (*f) () = $ac_func;
41778 #endif
41779 #ifdef __cplusplus
41781 #endif
41784 main ()
41786 return f != $ac_func;
41788 return 0;
41790 _ACEOF
41791 rm -f conftest.$ac_objext conftest$ac_exeext
41792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41793 (eval $ac_link) 2>conftest.er1
41794 ac_status=$?
41795 grep -v '^ *+' conftest.er1 >conftest.err
41796 rm -f conftest.er1
41797 cat conftest.err >&5
41798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41799 (exit $ac_status); } &&
41800 { ac_try='test -z "$ac_c_werror_flag"
41801 || test ! -s conftest.err'
41802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41803 (eval $ac_try) 2>&5
41804 ac_status=$?
41805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41806 (exit $ac_status); }; } &&
41807 { ac_try='test -s conftest$ac_exeext'
41808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41809 (eval $ac_try) 2>&5
41810 ac_status=$?
41811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41812 (exit $ac_status); }; }; then
41813 eval "$as_ac_var=yes"
41814 else
41815 echo "$as_me: failed program was:" >&5
41816 sed 's/^/| /' conftest.$ac_ext >&5
41818 eval "$as_ac_var=no"
41820 rm -f conftest.err conftest.$ac_objext \
41821 conftest$ac_exeext conftest.$ac_ext
41823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41825 if test `eval echo '${'$as_ac_var'}'` = yes; then
41826 cat >>confdefs.h <<_ACEOF
41827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41828 _ACEOF
41831 done
41838 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
41839 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
41840 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41841 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
41842 echo $ECHO_N "(cached) $ECHO_C" >&6
41843 else
41847 ac_ext=cc
41848 ac_cpp='$CXXCPP $CPPFLAGS'
41849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41853 cat >conftest.$ac_ext <<_ACEOF
41854 /* confdefs.h. */
41855 _ACEOF
41856 cat confdefs.h >>conftest.$ac_ext
41857 cat >>conftest.$ac_ext <<_ACEOF
41858 /* end confdefs.h. */
41859 #include <math.h>
41860 #ifdef HAVE_IEEEFP_H
41861 #include <ieeefp.h>
41862 #endif
41865 main ()
41867 isinfl(0);
41869 return 0;
41871 _ACEOF
41872 rm -f conftest.$ac_objext
41873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41874 (eval $ac_compile) 2>conftest.er1
41875 ac_status=$?
41876 grep -v '^ *+' conftest.er1 >conftest.err
41877 rm -f conftest.er1
41878 cat conftest.err >&5
41879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41880 (exit $ac_status); } &&
41881 { ac_try='test -z "$ac_cxx_werror_flag"
41882 || test ! -s conftest.err'
41883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41884 (eval $ac_try) 2>&5
41885 ac_status=$?
41886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41887 (exit $ac_status); }; } &&
41888 { ac_try='test -s conftest.$ac_objext'
41889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41890 (eval $ac_try) 2>&5
41891 ac_status=$?
41892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41893 (exit $ac_status); }; }; then
41894 glibcxx_cv_func_isinfl_use=yes
41895 else
41896 echo "$as_me: failed program was:" >&5
41897 sed 's/^/| /' conftest.$ac_ext >&5
41899 glibcxx_cv_func_isinfl_use=no
41901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41902 ac_ext=c
41903 ac_cpp='$CPP $CPPFLAGS'
41904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41912 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
41913 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
41915 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41917 for ac_func in isinfl
41919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41920 echo "$as_me:$LINENO: checking for $ac_func" >&5
41921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41922 if eval "test \"\${$as_ac_var+set}\" = set"; then
41923 echo $ECHO_N "(cached) $ECHO_C" >&6
41924 else
41925 if test x$gcc_no_link = xyes; then
41926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41928 { (exit 1); exit 1; }; }
41930 cat >conftest.$ac_ext <<_ACEOF
41931 /* confdefs.h. */
41932 _ACEOF
41933 cat confdefs.h >>conftest.$ac_ext
41934 cat >>conftest.$ac_ext <<_ACEOF
41935 /* end confdefs.h. */
41936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41938 #define $ac_func innocuous_$ac_func
41940 /* System header to define __stub macros and hopefully few prototypes,
41941 which can conflict with char $ac_func (); below.
41942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41943 <limits.h> exists even on freestanding compilers. */
41945 #ifdef __STDC__
41946 # include <limits.h>
41947 #else
41948 # include <assert.h>
41949 #endif
41951 #undef $ac_func
41953 /* Override any gcc2 internal prototype to avoid an error. */
41954 #ifdef __cplusplus
41955 extern "C"
41957 #endif
41958 /* We use char because int might match the return type of a gcc2
41959 builtin and then its argument prototype would still apply. */
41960 char $ac_func ();
41961 /* The GNU C library defines this for functions which it implements
41962 to always fail with ENOSYS. Some functions are actually named
41963 something starting with __ and the normal name is an alias. */
41964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41965 choke me
41966 #else
41967 char (*f) () = $ac_func;
41968 #endif
41969 #ifdef __cplusplus
41971 #endif
41974 main ()
41976 return f != $ac_func;
41978 return 0;
41980 _ACEOF
41981 rm -f conftest.$ac_objext conftest$ac_exeext
41982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41983 (eval $ac_link) 2>conftest.er1
41984 ac_status=$?
41985 grep -v '^ *+' conftest.er1 >conftest.err
41986 rm -f conftest.er1
41987 cat conftest.err >&5
41988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41989 (exit $ac_status); } &&
41990 { ac_try='test -z "$ac_c_werror_flag"
41991 || test ! -s conftest.err'
41992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41993 (eval $ac_try) 2>&5
41994 ac_status=$?
41995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41996 (exit $ac_status); }; } &&
41997 { ac_try='test -s conftest$ac_exeext'
41998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41999 (eval $ac_try) 2>&5
42000 ac_status=$?
42001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42002 (exit $ac_status); }; }; then
42003 eval "$as_ac_var=yes"
42004 else
42005 echo "$as_me: failed program was:" >&5
42006 sed 's/^/| /' conftest.$ac_ext >&5
42008 eval "$as_ac_var=no"
42010 rm -f conftest.err conftest.$ac_objext \
42011 conftest$ac_exeext conftest.$ac_ext
42013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42015 if test `eval echo '${'$as_ac_var'}'` = yes; then
42016 cat >>confdefs.h <<_ACEOF
42017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42018 _ACEOF
42021 done
42023 else
42025 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
42026 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
42027 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42028 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
42029 echo $ECHO_N "(cached) $ECHO_C" >&6
42030 else
42034 ac_ext=cc
42035 ac_cpp='$CXXCPP $CPPFLAGS'
42036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42040 cat >conftest.$ac_ext <<_ACEOF
42041 /* confdefs.h. */
42042 _ACEOF
42043 cat confdefs.h >>conftest.$ac_ext
42044 cat >>conftest.$ac_ext <<_ACEOF
42045 /* end confdefs.h. */
42046 #include <math.h>
42047 #ifdef HAVE_IEEEFP_H
42048 #include <ieeefp.h>
42049 #endif
42052 main ()
42054 _isinfl(0);
42056 return 0;
42058 _ACEOF
42059 rm -f conftest.$ac_objext
42060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42061 (eval $ac_compile) 2>conftest.er1
42062 ac_status=$?
42063 grep -v '^ *+' conftest.er1 >conftest.err
42064 rm -f conftest.er1
42065 cat conftest.err >&5
42066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42067 (exit $ac_status); } &&
42068 { ac_try='test -z "$ac_cxx_werror_flag"
42069 || test ! -s conftest.err'
42070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42071 (eval $ac_try) 2>&5
42072 ac_status=$?
42073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42074 (exit $ac_status); }; } &&
42075 { ac_try='test -s conftest.$ac_objext'
42076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42077 (eval $ac_try) 2>&5
42078 ac_status=$?
42079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42080 (exit $ac_status); }; }; then
42081 glibcxx_cv_func__isinfl_use=yes
42082 else
42083 echo "$as_me: failed program was:" >&5
42084 sed 's/^/| /' conftest.$ac_ext >&5
42086 glibcxx_cv_func__isinfl_use=no
42088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42089 ac_ext=c
42090 ac_cpp='$CPP $CPPFLAGS'
42091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42099 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
42100 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
42102 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42104 for ac_func in _isinfl
42106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42107 echo "$as_me:$LINENO: checking for $ac_func" >&5
42108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42109 if eval "test \"\${$as_ac_var+set}\" = set"; then
42110 echo $ECHO_N "(cached) $ECHO_C" >&6
42111 else
42112 if test x$gcc_no_link = xyes; then
42113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42115 { (exit 1); exit 1; }; }
42117 cat >conftest.$ac_ext <<_ACEOF
42118 /* confdefs.h. */
42119 _ACEOF
42120 cat confdefs.h >>conftest.$ac_ext
42121 cat >>conftest.$ac_ext <<_ACEOF
42122 /* end confdefs.h. */
42123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42125 #define $ac_func innocuous_$ac_func
42127 /* System header to define __stub macros and hopefully few prototypes,
42128 which can conflict with char $ac_func (); below.
42129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42130 <limits.h> exists even on freestanding compilers. */
42132 #ifdef __STDC__
42133 # include <limits.h>
42134 #else
42135 # include <assert.h>
42136 #endif
42138 #undef $ac_func
42140 /* Override any gcc2 internal prototype to avoid an error. */
42141 #ifdef __cplusplus
42142 extern "C"
42144 #endif
42145 /* We use char because int might match the return type of a gcc2
42146 builtin and then its argument prototype would still apply. */
42147 char $ac_func ();
42148 /* The GNU C library defines this for functions which it implements
42149 to always fail with ENOSYS. Some functions are actually named
42150 something starting with __ and the normal name is an alias. */
42151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42152 choke me
42153 #else
42154 char (*f) () = $ac_func;
42155 #endif
42156 #ifdef __cplusplus
42158 #endif
42161 main ()
42163 return f != $ac_func;
42165 return 0;
42167 _ACEOF
42168 rm -f conftest.$ac_objext conftest$ac_exeext
42169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42170 (eval $ac_link) 2>conftest.er1
42171 ac_status=$?
42172 grep -v '^ *+' conftest.er1 >conftest.err
42173 rm -f conftest.er1
42174 cat conftest.err >&5
42175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42176 (exit $ac_status); } &&
42177 { ac_try='test -z "$ac_c_werror_flag"
42178 || test ! -s conftest.err'
42179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42180 (eval $ac_try) 2>&5
42181 ac_status=$?
42182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42183 (exit $ac_status); }; } &&
42184 { ac_try='test -s conftest$ac_exeext'
42185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42186 (eval $ac_try) 2>&5
42187 ac_status=$?
42188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42189 (exit $ac_status); }; }; then
42190 eval "$as_ac_var=yes"
42191 else
42192 echo "$as_me: failed program was:" >&5
42193 sed 's/^/| /' conftest.$ac_ext >&5
42195 eval "$as_ac_var=no"
42197 rm -f conftest.err conftest.$ac_objext \
42198 conftest$ac_exeext conftest.$ac_ext
42200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42202 if test `eval echo '${'$as_ac_var'}'` = yes; then
42203 cat >>confdefs.h <<_ACEOF
42204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42205 _ACEOF
42208 done
42215 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
42216 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
42217 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
42218 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
42219 echo $ECHO_N "(cached) $ECHO_C" >&6
42220 else
42224 ac_ext=cc
42225 ac_cpp='$CXXCPP $CPPFLAGS'
42226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42230 cat >conftest.$ac_ext <<_ACEOF
42231 /* confdefs.h. */
42232 _ACEOF
42233 cat confdefs.h >>conftest.$ac_ext
42234 cat >>conftest.$ac_ext <<_ACEOF
42235 /* end confdefs.h. */
42236 #include <math.h>
42238 main ()
42240 copysignl(0, 0);
42242 return 0;
42244 _ACEOF
42245 rm -f conftest.$ac_objext
42246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42247 (eval $ac_compile) 2>conftest.er1
42248 ac_status=$?
42249 grep -v '^ *+' conftest.er1 >conftest.err
42250 rm -f conftest.er1
42251 cat conftest.err >&5
42252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42253 (exit $ac_status); } &&
42254 { ac_try='test -z "$ac_cxx_werror_flag"
42255 || test ! -s conftest.err'
42256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42257 (eval $ac_try) 2>&5
42258 ac_status=$?
42259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42260 (exit $ac_status); }; } &&
42261 { ac_try='test -s conftest.$ac_objext'
42262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42263 (eval $ac_try) 2>&5
42264 ac_status=$?
42265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42266 (exit $ac_status); }; }; then
42267 glibcxx_cv_func_copysignl_use=yes
42268 else
42269 echo "$as_me: failed program was:" >&5
42270 sed 's/^/| /' conftest.$ac_ext >&5
42272 glibcxx_cv_func_copysignl_use=no
42274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42275 ac_ext=c
42276 ac_cpp='$CPP $CPPFLAGS'
42277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42285 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
42286 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
42288 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
42290 for ac_func in copysignl
42292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42293 echo "$as_me:$LINENO: checking for $ac_func" >&5
42294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42295 if eval "test \"\${$as_ac_var+set}\" = set"; then
42296 echo $ECHO_N "(cached) $ECHO_C" >&6
42297 else
42298 if test x$gcc_no_link = xyes; then
42299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42301 { (exit 1); exit 1; }; }
42303 cat >conftest.$ac_ext <<_ACEOF
42304 /* confdefs.h. */
42305 _ACEOF
42306 cat confdefs.h >>conftest.$ac_ext
42307 cat >>conftest.$ac_ext <<_ACEOF
42308 /* end confdefs.h. */
42309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42311 #define $ac_func innocuous_$ac_func
42313 /* System header to define __stub macros and hopefully few prototypes,
42314 which can conflict with char $ac_func (); below.
42315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42316 <limits.h> exists even on freestanding compilers. */
42318 #ifdef __STDC__
42319 # include <limits.h>
42320 #else
42321 # include <assert.h>
42322 #endif
42324 #undef $ac_func
42326 /* Override any gcc2 internal prototype to avoid an error. */
42327 #ifdef __cplusplus
42328 extern "C"
42330 #endif
42331 /* We use char because int might match the return type of a gcc2
42332 builtin and then its argument prototype would still apply. */
42333 char $ac_func ();
42334 /* The GNU C library defines this for functions which it implements
42335 to always fail with ENOSYS. Some functions are actually named
42336 something starting with __ and the normal name is an alias. */
42337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42338 choke me
42339 #else
42340 char (*f) () = $ac_func;
42341 #endif
42342 #ifdef __cplusplus
42344 #endif
42347 main ()
42349 return f != $ac_func;
42351 return 0;
42353 _ACEOF
42354 rm -f conftest.$ac_objext conftest$ac_exeext
42355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42356 (eval $ac_link) 2>conftest.er1
42357 ac_status=$?
42358 grep -v '^ *+' conftest.er1 >conftest.err
42359 rm -f conftest.er1
42360 cat conftest.err >&5
42361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42362 (exit $ac_status); } &&
42363 { ac_try='test -z "$ac_c_werror_flag"
42364 || test ! -s conftest.err'
42365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42366 (eval $ac_try) 2>&5
42367 ac_status=$?
42368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42369 (exit $ac_status); }; } &&
42370 { ac_try='test -s conftest$ac_exeext'
42371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42372 (eval $ac_try) 2>&5
42373 ac_status=$?
42374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42375 (exit $ac_status); }; }; then
42376 eval "$as_ac_var=yes"
42377 else
42378 echo "$as_me: failed program was:" >&5
42379 sed 's/^/| /' conftest.$ac_ext >&5
42381 eval "$as_ac_var=no"
42383 rm -f conftest.err conftest.$ac_objext \
42384 conftest$ac_exeext conftest.$ac_ext
42386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42388 if test `eval echo '${'$as_ac_var'}'` = yes; then
42389 cat >>confdefs.h <<_ACEOF
42390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42391 _ACEOF
42394 done
42396 else
42398 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
42399 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
42400 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
42401 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
42402 echo $ECHO_N "(cached) $ECHO_C" >&6
42403 else
42407 ac_ext=cc
42408 ac_cpp='$CXXCPP $CPPFLAGS'
42409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42413 cat >conftest.$ac_ext <<_ACEOF
42414 /* confdefs.h. */
42415 _ACEOF
42416 cat confdefs.h >>conftest.$ac_ext
42417 cat >>conftest.$ac_ext <<_ACEOF
42418 /* end confdefs.h. */
42419 #include <math.h>
42421 main ()
42423 _copysignl(0, 0);
42425 return 0;
42427 _ACEOF
42428 rm -f conftest.$ac_objext
42429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42430 (eval $ac_compile) 2>conftest.er1
42431 ac_status=$?
42432 grep -v '^ *+' conftest.er1 >conftest.err
42433 rm -f conftest.er1
42434 cat conftest.err >&5
42435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42436 (exit $ac_status); } &&
42437 { ac_try='test -z "$ac_cxx_werror_flag"
42438 || test ! -s conftest.err'
42439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42440 (eval $ac_try) 2>&5
42441 ac_status=$?
42442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42443 (exit $ac_status); }; } &&
42444 { ac_try='test -s conftest.$ac_objext'
42445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42446 (eval $ac_try) 2>&5
42447 ac_status=$?
42448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42449 (exit $ac_status); }; }; then
42450 glibcxx_cv_func__copysignl_use=yes
42451 else
42452 echo "$as_me: failed program was:" >&5
42453 sed 's/^/| /' conftest.$ac_ext >&5
42455 glibcxx_cv_func__copysignl_use=no
42457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42458 ac_ext=c
42459 ac_cpp='$CPP $CPPFLAGS'
42460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42468 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
42469 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
42471 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
42473 for ac_func in _copysignl
42475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42476 echo "$as_me:$LINENO: checking for $ac_func" >&5
42477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42478 if eval "test \"\${$as_ac_var+set}\" = set"; then
42479 echo $ECHO_N "(cached) $ECHO_C" >&6
42480 else
42481 if test x$gcc_no_link = xyes; then
42482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42484 { (exit 1); exit 1; }; }
42486 cat >conftest.$ac_ext <<_ACEOF
42487 /* confdefs.h. */
42488 _ACEOF
42489 cat confdefs.h >>conftest.$ac_ext
42490 cat >>conftest.$ac_ext <<_ACEOF
42491 /* end confdefs.h. */
42492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42494 #define $ac_func innocuous_$ac_func
42496 /* System header to define __stub macros and hopefully few prototypes,
42497 which can conflict with char $ac_func (); below.
42498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42499 <limits.h> exists even on freestanding compilers. */
42501 #ifdef __STDC__
42502 # include <limits.h>
42503 #else
42504 # include <assert.h>
42505 #endif
42507 #undef $ac_func
42509 /* Override any gcc2 internal prototype to avoid an error. */
42510 #ifdef __cplusplus
42511 extern "C"
42513 #endif
42514 /* We use char because int might match the return type of a gcc2
42515 builtin and then its argument prototype would still apply. */
42516 char $ac_func ();
42517 /* The GNU C library defines this for functions which it implements
42518 to always fail with ENOSYS. Some functions are actually named
42519 something starting with __ and the normal name is an alias. */
42520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42521 choke me
42522 #else
42523 char (*f) () = $ac_func;
42524 #endif
42525 #ifdef __cplusplus
42527 #endif
42530 main ()
42532 return f != $ac_func;
42534 return 0;
42536 _ACEOF
42537 rm -f conftest.$ac_objext conftest$ac_exeext
42538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42539 (eval $ac_link) 2>conftest.er1
42540 ac_status=$?
42541 grep -v '^ *+' conftest.er1 >conftest.err
42542 rm -f conftest.er1
42543 cat conftest.err >&5
42544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42545 (exit $ac_status); } &&
42546 { ac_try='test -z "$ac_c_werror_flag"
42547 || test ! -s conftest.err'
42548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42549 (eval $ac_try) 2>&5
42550 ac_status=$?
42551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42552 (exit $ac_status); }; } &&
42553 { ac_try='test -s conftest$ac_exeext'
42554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42555 (eval $ac_try) 2>&5
42556 ac_status=$?
42557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42558 (exit $ac_status); }; }; then
42559 eval "$as_ac_var=yes"
42560 else
42561 echo "$as_me: failed program was:" >&5
42562 sed 's/^/| /' conftest.$ac_ext >&5
42564 eval "$as_ac_var=no"
42566 rm -f conftest.err conftest.$ac_objext \
42567 conftest$ac_exeext conftest.$ac_ext
42569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42571 if test `eval echo '${'$as_ac_var'}'` = yes; then
42572 cat >>confdefs.h <<_ACEOF
42573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42574 _ACEOF
42577 done
42584 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
42585 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
42586 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42587 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
42588 echo $ECHO_N "(cached) $ECHO_C" >&6
42589 else
42593 ac_ext=cc
42594 ac_cpp='$CXXCPP $CPPFLAGS'
42595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42599 cat >conftest.$ac_ext <<_ACEOF
42600 /* confdefs.h. */
42601 _ACEOF
42602 cat confdefs.h >>conftest.$ac_ext
42603 cat >>conftest.$ac_ext <<_ACEOF
42604 /* end confdefs.h. */
42605 #include <math.h>
42607 main ()
42609 atan2l(0, 0);
42611 return 0;
42613 _ACEOF
42614 rm -f conftest.$ac_objext
42615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42616 (eval $ac_compile) 2>conftest.er1
42617 ac_status=$?
42618 grep -v '^ *+' conftest.er1 >conftest.err
42619 rm -f conftest.er1
42620 cat conftest.err >&5
42621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42622 (exit $ac_status); } &&
42623 { ac_try='test -z "$ac_cxx_werror_flag"
42624 || test ! -s conftest.err'
42625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42626 (eval $ac_try) 2>&5
42627 ac_status=$?
42628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42629 (exit $ac_status); }; } &&
42630 { ac_try='test -s conftest.$ac_objext'
42631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42632 (eval $ac_try) 2>&5
42633 ac_status=$?
42634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42635 (exit $ac_status); }; }; then
42636 glibcxx_cv_func_atan2l_use=yes
42637 else
42638 echo "$as_me: failed program was:" >&5
42639 sed 's/^/| /' conftest.$ac_ext >&5
42641 glibcxx_cv_func_atan2l_use=no
42643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42644 ac_ext=c
42645 ac_cpp='$CPP $CPPFLAGS'
42646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42654 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
42655 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
42657 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42659 for ac_func in atan2l
42661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42662 echo "$as_me:$LINENO: checking for $ac_func" >&5
42663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42664 if eval "test \"\${$as_ac_var+set}\" = set"; then
42665 echo $ECHO_N "(cached) $ECHO_C" >&6
42666 else
42667 if test x$gcc_no_link = xyes; then
42668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42670 { (exit 1); exit 1; }; }
42672 cat >conftest.$ac_ext <<_ACEOF
42673 /* confdefs.h. */
42674 _ACEOF
42675 cat confdefs.h >>conftest.$ac_ext
42676 cat >>conftest.$ac_ext <<_ACEOF
42677 /* end confdefs.h. */
42678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42680 #define $ac_func innocuous_$ac_func
42682 /* System header to define __stub macros and hopefully few prototypes,
42683 which can conflict with char $ac_func (); below.
42684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42685 <limits.h> exists even on freestanding compilers. */
42687 #ifdef __STDC__
42688 # include <limits.h>
42689 #else
42690 # include <assert.h>
42691 #endif
42693 #undef $ac_func
42695 /* Override any gcc2 internal prototype to avoid an error. */
42696 #ifdef __cplusplus
42697 extern "C"
42699 #endif
42700 /* We use char because int might match the return type of a gcc2
42701 builtin and then its argument prototype would still apply. */
42702 char $ac_func ();
42703 /* The GNU C library defines this for functions which it implements
42704 to always fail with ENOSYS. Some functions are actually named
42705 something starting with __ and the normal name is an alias. */
42706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42707 choke me
42708 #else
42709 char (*f) () = $ac_func;
42710 #endif
42711 #ifdef __cplusplus
42713 #endif
42716 main ()
42718 return f != $ac_func;
42720 return 0;
42722 _ACEOF
42723 rm -f conftest.$ac_objext conftest$ac_exeext
42724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42725 (eval $ac_link) 2>conftest.er1
42726 ac_status=$?
42727 grep -v '^ *+' conftest.er1 >conftest.err
42728 rm -f conftest.er1
42729 cat conftest.err >&5
42730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42731 (exit $ac_status); } &&
42732 { ac_try='test -z "$ac_c_werror_flag"
42733 || test ! -s conftest.err'
42734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42735 (eval $ac_try) 2>&5
42736 ac_status=$?
42737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42738 (exit $ac_status); }; } &&
42739 { ac_try='test -s conftest$ac_exeext'
42740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42741 (eval $ac_try) 2>&5
42742 ac_status=$?
42743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42744 (exit $ac_status); }; }; then
42745 eval "$as_ac_var=yes"
42746 else
42747 echo "$as_me: failed program was:" >&5
42748 sed 's/^/| /' conftest.$ac_ext >&5
42750 eval "$as_ac_var=no"
42752 rm -f conftest.err conftest.$ac_objext \
42753 conftest$ac_exeext conftest.$ac_ext
42755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42757 if test `eval echo '${'$as_ac_var'}'` = yes; then
42758 cat >>confdefs.h <<_ACEOF
42759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42760 _ACEOF
42763 done
42765 else
42767 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
42768 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
42769 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42770 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
42771 echo $ECHO_N "(cached) $ECHO_C" >&6
42772 else
42776 ac_ext=cc
42777 ac_cpp='$CXXCPP $CPPFLAGS'
42778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42782 cat >conftest.$ac_ext <<_ACEOF
42783 /* confdefs.h. */
42784 _ACEOF
42785 cat confdefs.h >>conftest.$ac_ext
42786 cat >>conftest.$ac_ext <<_ACEOF
42787 /* end confdefs.h. */
42788 #include <math.h>
42790 main ()
42792 _atan2l(0, 0);
42794 return 0;
42796 _ACEOF
42797 rm -f conftest.$ac_objext
42798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42799 (eval $ac_compile) 2>conftest.er1
42800 ac_status=$?
42801 grep -v '^ *+' conftest.er1 >conftest.err
42802 rm -f conftest.er1
42803 cat conftest.err >&5
42804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42805 (exit $ac_status); } &&
42806 { ac_try='test -z "$ac_cxx_werror_flag"
42807 || test ! -s conftest.err'
42808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42809 (eval $ac_try) 2>&5
42810 ac_status=$?
42811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42812 (exit $ac_status); }; } &&
42813 { ac_try='test -s conftest.$ac_objext'
42814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42815 (eval $ac_try) 2>&5
42816 ac_status=$?
42817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42818 (exit $ac_status); }; }; then
42819 glibcxx_cv_func__atan2l_use=yes
42820 else
42821 echo "$as_me: failed program was:" >&5
42822 sed 's/^/| /' conftest.$ac_ext >&5
42824 glibcxx_cv_func__atan2l_use=no
42826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42827 ac_ext=c
42828 ac_cpp='$CPP $CPPFLAGS'
42829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42837 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
42838 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
42840 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42842 for ac_func in _atan2l
42844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42845 echo "$as_me:$LINENO: checking for $ac_func" >&5
42846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42847 if eval "test \"\${$as_ac_var+set}\" = set"; then
42848 echo $ECHO_N "(cached) $ECHO_C" >&6
42849 else
42850 if test x$gcc_no_link = xyes; then
42851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42853 { (exit 1); exit 1; }; }
42855 cat >conftest.$ac_ext <<_ACEOF
42856 /* confdefs.h. */
42857 _ACEOF
42858 cat confdefs.h >>conftest.$ac_ext
42859 cat >>conftest.$ac_ext <<_ACEOF
42860 /* end confdefs.h. */
42861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42863 #define $ac_func innocuous_$ac_func
42865 /* System header to define __stub macros and hopefully few prototypes,
42866 which can conflict with char $ac_func (); below.
42867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42868 <limits.h> exists even on freestanding compilers. */
42870 #ifdef __STDC__
42871 # include <limits.h>
42872 #else
42873 # include <assert.h>
42874 #endif
42876 #undef $ac_func
42878 /* Override any gcc2 internal prototype to avoid an error. */
42879 #ifdef __cplusplus
42880 extern "C"
42882 #endif
42883 /* We use char because int might match the return type of a gcc2
42884 builtin and then its argument prototype would still apply. */
42885 char $ac_func ();
42886 /* The GNU C library defines this for functions which it implements
42887 to always fail with ENOSYS. Some functions are actually named
42888 something starting with __ and the normal name is an alias. */
42889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42890 choke me
42891 #else
42892 char (*f) () = $ac_func;
42893 #endif
42894 #ifdef __cplusplus
42896 #endif
42899 main ()
42901 return f != $ac_func;
42903 return 0;
42905 _ACEOF
42906 rm -f conftest.$ac_objext conftest$ac_exeext
42907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42908 (eval $ac_link) 2>conftest.er1
42909 ac_status=$?
42910 grep -v '^ *+' conftest.er1 >conftest.err
42911 rm -f conftest.er1
42912 cat conftest.err >&5
42913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42914 (exit $ac_status); } &&
42915 { ac_try='test -z "$ac_c_werror_flag"
42916 || test ! -s conftest.err'
42917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42918 (eval $ac_try) 2>&5
42919 ac_status=$?
42920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42921 (exit $ac_status); }; } &&
42922 { ac_try='test -s conftest$ac_exeext'
42923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42924 (eval $ac_try) 2>&5
42925 ac_status=$?
42926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42927 (exit $ac_status); }; }; then
42928 eval "$as_ac_var=yes"
42929 else
42930 echo "$as_me: failed program was:" >&5
42931 sed 's/^/| /' conftest.$ac_ext >&5
42933 eval "$as_ac_var=no"
42935 rm -f conftest.err conftest.$ac_objext \
42936 conftest$ac_exeext conftest.$ac_ext
42938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42940 if test `eval echo '${'$as_ac_var'}'` = yes; then
42941 cat >>confdefs.h <<_ACEOF
42942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42943 _ACEOF
42946 done
42953 echo "$as_me:$LINENO: checking for expl declaration" >&5
42954 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
42955 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42956 if test "${glibcxx_cv_func_expl_use+set}" = set; then
42957 echo $ECHO_N "(cached) $ECHO_C" >&6
42958 else
42962 ac_ext=cc
42963 ac_cpp='$CXXCPP $CPPFLAGS'
42964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42968 cat >conftest.$ac_ext <<_ACEOF
42969 /* confdefs.h. */
42970 _ACEOF
42971 cat confdefs.h >>conftest.$ac_ext
42972 cat >>conftest.$ac_ext <<_ACEOF
42973 /* end confdefs.h. */
42974 #include <math.h>
42975 #ifdef HAVE_IEEEFP_H
42976 #include <ieeefp.h>
42977 #endif
42980 main ()
42982 expl(0);
42984 return 0;
42986 _ACEOF
42987 rm -f conftest.$ac_objext
42988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42989 (eval $ac_compile) 2>conftest.er1
42990 ac_status=$?
42991 grep -v '^ *+' conftest.er1 >conftest.err
42992 rm -f conftest.er1
42993 cat conftest.err >&5
42994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42995 (exit $ac_status); } &&
42996 { ac_try='test -z "$ac_cxx_werror_flag"
42997 || test ! -s conftest.err'
42998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42999 (eval $ac_try) 2>&5
43000 ac_status=$?
43001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43002 (exit $ac_status); }; } &&
43003 { ac_try='test -s conftest.$ac_objext'
43004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43005 (eval $ac_try) 2>&5
43006 ac_status=$?
43007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43008 (exit $ac_status); }; }; then
43009 glibcxx_cv_func_expl_use=yes
43010 else
43011 echo "$as_me: failed program was:" >&5
43012 sed 's/^/| /' conftest.$ac_ext >&5
43014 glibcxx_cv_func_expl_use=no
43016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43017 ac_ext=c
43018 ac_cpp='$CPP $CPPFLAGS'
43019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43027 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
43028 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
43030 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43032 for ac_func in expl
43034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43035 echo "$as_me:$LINENO: checking for $ac_func" >&5
43036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43037 if eval "test \"\${$as_ac_var+set}\" = set"; then
43038 echo $ECHO_N "(cached) $ECHO_C" >&6
43039 else
43040 if test x$gcc_no_link = xyes; then
43041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43043 { (exit 1); exit 1; }; }
43045 cat >conftest.$ac_ext <<_ACEOF
43046 /* confdefs.h. */
43047 _ACEOF
43048 cat confdefs.h >>conftest.$ac_ext
43049 cat >>conftest.$ac_ext <<_ACEOF
43050 /* end confdefs.h. */
43051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43053 #define $ac_func innocuous_$ac_func
43055 /* System header to define __stub macros and hopefully few prototypes,
43056 which can conflict with char $ac_func (); below.
43057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43058 <limits.h> exists even on freestanding compilers. */
43060 #ifdef __STDC__
43061 # include <limits.h>
43062 #else
43063 # include <assert.h>
43064 #endif
43066 #undef $ac_func
43068 /* Override any gcc2 internal prototype to avoid an error. */
43069 #ifdef __cplusplus
43070 extern "C"
43072 #endif
43073 /* We use char because int might match the return type of a gcc2
43074 builtin and then its argument prototype would still apply. */
43075 char $ac_func ();
43076 /* The GNU C library defines this for functions which it implements
43077 to always fail with ENOSYS. Some functions are actually named
43078 something starting with __ and the normal name is an alias. */
43079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43080 choke me
43081 #else
43082 char (*f) () = $ac_func;
43083 #endif
43084 #ifdef __cplusplus
43086 #endif
43089 main ()
43091 return f != $ac_func;
43093 return 0;
43095 _ACEOF
43096 rm -f conftest.$ac_objext conftest$ac_exeext
43097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43098 (eval $ac_link) 2>conftest.er1
43099 ac_status=$?
43100 grep -v '^ *+' conftest.er1 >conftest.err
43101 rm -f conftest.er1
43102 cat conftest.err >&5
43103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43104 (exit $ac_status); } &&
43105 { ac_try='test -z "$ac_c_werror_flag"
43106 || test ! -s conftest.err'
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); }; } &&
43112 { ac_try='test -s conftest$ac_exeext'
43113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43114 (eval $ac_try) 2>&5
43115 ac_status=$?
43116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43117 (exit $ac_status); }; }; then
43118 eval "$as_ac_var=yes"
43119 else
43120 echo "$as_me: failed program was:" >&5
43121 sed 's/^/| /' conftest.$ac_ext >&5
43123 eval "$as_ac_var=no"
43125 rm -f conftest.err conftest.$ac_objext \
43126 conftest$ac_exeext conftest.$ac_ext
43128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43130 if test `eval echo '${'$as_ac_var'}'` = yes; then
43131 cat >>confdefs.h <<_ACEOF
43132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43133 _ACEOF
43136 done
43138 else
43140 echo "$as_me:$LINENO: checking for _expl declaration" >&5
43141 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
43142 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43143 if test "${glibcxx_cv_func__expl_use+set}" = set; then
43144 echo $ECHO_N "(cached) $ECHO_C" >&6
43145 else
43149 ac_ext=cc
43150 ac_cpp='$CXXCPP $CPPFLAGS'
43151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43155 cat >conftest.$ac_ext <<_ACEOF
43156 /* confdefs.h. */
43157 _ACEOF
43158 cat confdefs.h >>conftest.$ac_ext
43159 cat >>conftest.$ac_ext <<_ACEOF
43160 /* end confdefs.h. */
43161 #include <math.h>
43162 #ifdef HAVE_IEEEFP_H
43163 #include <ieeefp.h>
43164 #endif
43167 main ()
43169 _expl(0);
43171 return 0;
43173 _ACEOF
43174 rm -f conftest.$ac_objext
43175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43176 (eval $ac_compile) 2>conftest.er1
43177 ac_status=$?
43178 grep -v '^ *+' conftest.er1 >conftest.err
43179 rm -f conftest.er1
43180 cat conftest.err >&5
43181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43182 (exit $ac_status); } &&
43183 { ac_try='test -z "$ac_cxx_werror_flag"
43184 || test ! -s conftest.err'
43185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43186 (eval $ac_try) 2>&5
43187 ac_status=$?
43188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43189 (exit $ac_status); }; } &&
43190 { ac_try='test -s conftest.$ac_objext'
43191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43192 (eval $ac_try) 2>&5
43193 ac_status=$?
43194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43195 (exit $ac_status); }; }; then
43196 glibcxx_cv_func__expl_use=yes
43197 else
43198 echo "$as_me: failed program was:" >&5
43199 sed 's/^/| /' conftest.$ac_ext >&5
43201 glibcxx_cv_func__expl_use=no
43203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43204 ac_ext=c
43205 ac_cpp='$CPP $CPPFLAGS'
43206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43214 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
43215 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
43217 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43219 for ac_func in _expl
43221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43222 echo "$as_me:$LINENO: checking for $ac_func" >&5
43223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43224 if eval "test \"\${$as_ac_var+set}\" = set"; then
43225 echo $ECHO_N "(cached) $ECHO_C" >&6
43226 else
43227 if test x$gcc_no_link = xyes; then
43228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43230 { (exit 1); exit 1; }; }
43232 cat >conftest.$ac_ext <<_ACEOF
43233 /* confdefs.h. */
43234 _ACEOF
43235 cat confdefs.h >>conftest.$ac_ext
43236 cat >>conftest.$ac_ext <<_ACEOF
43237 /* end confdefs.h. */
43238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43240 #define $ac_func innocuous_$ac_func
43242 /* System header to define __stub macros and hopefully few prototypes,
43243 which can conflict with char $ac_func (); below.
43244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43245 <limits.h> exists even on freestanding compilers. */
43247 #ifdef __STDC__
43248 # include <limits.h>
43249 #else
43250 # include <assert.h>
43251 #endif
43253 #undef $ac_func
43255 /* Override any gcc2 internal prototype to avoid an error. */
43256 #ifdef __cplusplus
43257 extern "C"
43259 #endif
43260 /* We use char because int might match the return type of a gcc2
43261 builtin and then its argument prototype would still apply. */
43262 char $ac_func ();
43263 /* The GNU C library defines this for functions which it implements
43264 to always fail with ENOSYS. Some functions are actually named
43265 something starting with __ and the normal name is an alias. */
43266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43267 choke me
43268 #else
43269 char (*f) () = $ac_func;
43270 #endif
43271 #ifdef __cplusplus
43273 #endif
43276 main ()
43278 return f != $ac_func;
43280 return 0;
43282 _ACEOF
43283 rm -f conftest.$ac_objext conftest$ac_exeext
43284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43285 (eval $ac_link) 2>conftest.er1
43286 ac_status=$?
43287 grep -v '^ *+' conftest.er1 >conftest.err
43288 rm -f conftest.er1
43289 cat conftest.err >&5
43290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43291 (exit $ac_status); } &&
43292 { ac_try='test -z "$ac_c_werror_flag"
43293 || test ! -s conftest.err'
43294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43295 (eval $ac_try) 2>&5
43296 ac_status=$?
43297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43298 (exit $ac_status); }; } &&
43299 { ac_try='test -s conftest$ac_exeext'
43300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43301 (eval $ac_try) 2>&5
43302 ac_status=$?
43303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43304 (exit $ac_status); }; }; then
43305 eval "$as_ac_var=yes"
43306 else
43307 echo "$as_me: failed program was:" >&5
43308 sed 's/^/| /' conftest.$ac_ext >&5
43310 eval "$as_ac_var=no"
43312 rm -f conftest.err conftest.$ac_objext \
43313 conftest$ac_exeext conftest.$ac_ext
43315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43317 if test `eval echo '${'$as_ac_var'}'` = yes; then
43318 cat >>confdefs.h <<_ACEOF
43319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43320 _ACEOF
43323 done
43330 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
43331 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
43332 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43333 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
43334 echo $ECHO_N "(cached) $ECHO_C" >&6
43335 else
43339 ac_ext=cc
43340 ac_cpp='$CXXCPP $CPPFLAGS'
43341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43345 cat >conftest.$ac_ext <<_ACEOF
43346 /* confdefs.h. */
43347 _ACEOF
43348 cat confdefs.h >>conftest.$ac_ext
43349 cat >>conftest.$ac_ext <<_ACEOF
43350 /* end confdefs.h. */
43351 #include <math.h>
43352 #ifdef HAVE_IEEEFP_H
43353 #include <ieeefp.h>
43354 #endif
43357 main ()
43359 fabsl(0);
43361 return 0;
43363 _ACEOF
43364 rm -f conftest.$ac_objext
43365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43366 (eval $ac_compile) 2>conftest.er1
43367 ac_status=$?
43368 grep -v '^ *+' conftest.er1 >conftest.err
43369 rm -f conftest.er1
43370 cat conftest.err >&5
43371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43372 (exit $ac_status); } &&
43373 { ac_try='test -z "$ac_cxx_werror_flag"
43374 || test ! -s conftest.err'
43375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43376 (eval $ac_try) 2>&5
43377 ac_status=$?
43378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43379 (exit $ac_status); }; } &&
43380 { ac_try='test -s conftest.$ac_objext'
43381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43382 (eval $ac_try) 2>&5
43383 ac_status=$?
43384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43385 (exit $ac_status); }; }; then
43386 glibcxx_cv_func_fabsl_use=yes
43387 else
43388 echo "$as_me: failed program was:" >&5
43389 sed 's/^/| /' conftest.$ac_ext >&5
43391 glibcxx_cv_func_fabsl_use=no
43393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43394 ac_ext=c
43395 ac_cpp='$CPP $CPPFLAGS'
43396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43404 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
43405 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
43407 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43409 for ac_func in fabsl
43411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43412 echo "$as_me:$LINENO: checking for $ac_func" >&5
43413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43414 if eval "test \"\${$as_ac_var+set}\" = set"; then
43415 echo $ECHO_N "(cached) $ECHO_C" >&6
43416 else
43417 if test x$gcc_no_link = xyes; then
43418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43420 { (exit 1); exit 1; }; }
43422 cat >conftest.$ac_ext <<_ACEOF
43423 /* confdefs.h. */
43424 _ACEOF
43425 cat confdefs.h >>conftest.$ac_ext
43426 cat >>conftest.$ac_ext <<_ACEOF
43427 /* end confdefs.h. */
43428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43430 #define $ac_func innocuous_$ac_func
43432 /* System header to define __stub macros and hopefully few prototypes,
43433 which can conflict with char $ac_func (); below.
43434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43435 <limits.h> exists even on freestanding compilers. */
43437 #ifdef __STDC__
43438 # include <limits.h>
43439 #else
43440 # include <assert.h>
43441 #endif
43443 #undef $ac_func
43445 /* Override any gcc2 internal prototype to avoid an error. */
43446 #ifdef __cplusplus
43447 extern "C"
43449 #endif
43450 /* We use char because int might match the return type of a gcc2
43451 builtin and then its argument prototype would still apply. */
43452 char $ac_func ();
43453 /* The GNU C library defines this for functions which it implements
43454 to always fail with ENOSYS. Some functions are actually named
43455 something starting with __ and the normal name is an alias. */
43456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43457 choke me
43458 #else
43459 char (*f) () = $ac_func;
43460 #endif
43461 #ifdef __cplusplus
43463 #endif
43466 main ()
43468 return f != $ac_func;
43470 return 0;
43472 _ACEOF
43473 rm -f conftest.$ac_objext conftest$ac_exeext
43474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43475 (eval $ac_link) 2>conftest.er1
43476 ac_status=$?
43477 grep -v '^ *+' conftest.er1 >conftest.err
43478 rm -f conftest.er1
43479 cat conftest.err >&5
43480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43481 (exit $ac_status); } &&
43482 { ac_try='test -z "$ac_c_werror_flag"
43483 || test ! -s conftest.err'
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); }; } &&
43489 { ac_try='test -s conftest$ac_exeext'
43490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43491 (eval $ac_try) 2>&5
43492 ac_status=$?
43493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43494 (exit $ac_status); }; }; then
43495 eval "$as_ac_var=yes"
43496 else
43497 echo "$as_me: failed program was:" >&5
43498 sed 's/^/| /' conftest.$ac_ext >&5
43500 eval "$as_ac_var=no"
43502 rm -f conftest.err conftest.$ac_objext \
43503 conftest$ac_exeext conftest.$ac_ext
43505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43507 if test `eval echo '${'$as_ac_var'}'` = yes; then
43508 cat >>confdefs.h <<_ACEOF
43509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43510 _ACEOF
43513 done
43515 else
43517 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
43518 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
43519 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43520 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
43521 echo $ECHO_N "(cached) $ECHO_C" >&6
43522 else
43526 ac_ext=cc
43527 ac_cpp='$CXXCPP $CPPFLAGS'
43528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43532 cat >conftest.$ac_ext <<_ACEOF
43533 /* confdefs.h. */
43534 _ACEOF
43535 cat confdefs.h >>conftest.$ac_ext
43536 cat >>conftest.$ac_ext <<_ACEOF
43537 /* end confdefs.h. */
43538 #include <math.h>
43539 #ifdef HAVE_IEEEFP_H
43540 #include <ieeefp.h>
43541 #endif
43544 main ()
43546 _fabsl(0);
43548 return 0;
43550 _ACEOF
43551 rm -f conftest.$ac_objext
43552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43553 (eval $ac_compile) 2>conftest.er1
43554 ac_status=$?
43555 grep -v '^ *+' conftest.er1 >conftest.err
43556 rm -f conftest.er1
43557 cat conftest.err >&5
43558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43559 (exit $ac_status); } &&
43560 { ac_try='test -z "$ac_cxx_werror_flag"
43561 || test ! -s conftest.err'
43562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43563 (eval $ac_try) 2>&5
43564 ac_status=$?
43565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43566 (exit $ac_status); }; } &&
43567 { ac_try='test -s conftest.$ac_objext'
43568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43569 (eval $ac_try) 2>&5
43570 ac_status=$?
43571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43572 (exit $ac_status); }; }; then
43573 glibcxx_cv_func__fabsl_use=yes
43574 else
43575 echo "$as_me: failed program was:" >&5
43576 sed 's/^/| /' conftest.$ac_ext >&5
43578 glibcxx_cv_func__fabsl_use=no
43580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43581 ac_ext=c
43582 ac_cpp='$CPP $CPPFLAGS'
43583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43591 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
43592 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
43594 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43596 for ac_func in _fabsl
43598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43599 echo "$as_me:$LINENO: checking for $ac_func" >&5
43600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43601 if eval "test \"\${$as_ac_var+set}\" = set"; then
43602 echo $ECHO_N "(cached) $ECHO_C" >&6
43603 else
43604 if test x$gcc_no_link = xyes; then
43605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43607 { (exit 1); exit 1; }; }
43609 cat >conftest.$ac_ext <<_ACEOF
43610 /* confdefs.h. */
43611 _ACEOF
43612 cat confdefs.h >>conftest.$ac_ext
43613 cat >>conftest.$ac_ext <<_ACEOF
43614 /* end confdefs.h. */
43615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43617 #define $ac_func innocuous_$ac_func
43619 /* System header to define __stub macros and hopefully few prototypes,
43620 which can conflict with char $ac_func (); below.
43621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43622 <limits.h> exists even on freestanding compilers. */
43624 #ifdef __STDC__
43625 # include <limits.h>
43626 #else
43627 # include <assert.h>
43628 #endif
43630 #undef $ac_func
43632 /* Override any gcc2 internal prototype to avoid an error. */
43633 #ifdef __cplusplus
43634 extern "C"
43636 #endif
43637 /* We use char because int might match the return type of a gcc2
43638 builtin and then its argument prototype would still apply. */
43639 char $ac_func ();
43640 /* The GNU C library defines this for functions which it implements
43641 to always fail with ENOSYS. Some functions are actually named
43642 something starting with __ and the normal name is an alias. */
43643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43644 choke me
43645 #else
43646 char (*f) () = $ac_func;
43647 #endif
43648 #ifdef __cplusplus
43650 #endif
43653 main ()
43655 return f != $ac_func;
43657 return 0;
43659 _ACEOF
43660 rm -f conftest.$ac_objext conftest$ac_exeext
43661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43662 (eval $ac_link) 2>conftest.er1
43663 ac_status=$?
43664 grep -v '^ *+' conftest.er1 >conftest.err
43665 rm -f conftest.er1
43666 cat conftest.err >&5
43667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43668 (exit $ac_status); } &&
43669 { ac_try='test -z "$ac_c_werror_flag"
43670 || test ! -s conftest.err'
43671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43672 (eval $ac_try) 2>&5
43673 ac_status=$?
43674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43675 (exit $ac_status); }; } &&
43676 { ac_try='test -s conftest$ac_exeext'
43677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43678 (eval $ac_try) 2>&5
43679 ac_status=$?
43680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43681 (exit $ac_status); }; }; then
43682 eval "$as_ac_var=yes"
43683 else
43684 echo "$as_me: failed program was:" >&5
43685 sed 's/^/| /' conftest.$ac_ext >&5
43687 eval "$as_ac_var=no"
43689 rm -f conftest.err conftest.$ac_objext \
43690 conftest$ac_exeext conftest.$ac_ext
43692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43694 if test `eval echo '${'$as_ac_var'}'` = yes; then
43695 cat >>confdefs.h <<_ACEOF
43696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43697 _ACEOF
43700 done
43707 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
43708 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
43709 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43710 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
43711 echo $ECHO_N "(cached) $ECHO_C" >&6
43712 else
43716 ac_ext=cc
43717 ac_cpp='$CXXCPP $CPPFLAGS'
43718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43722 cat >conftest.$ac_ext <<_ACEOF
43723 /* confdefs.h. */
43724 _ACEOF
43725 cat confdefs.h >>conftest.$ac_ext
43726 cat >>conftest.$ac_ext <<_ACEOF
43727 /* end confdefs.h. */
43728 #include <math.h>
43730 main ()
43732 fmodl(0, 0);
43734 return 0;
43736 _ACEOF
43737 rm -f conftest.$ac_objext
43738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43739 (eval $ac_compile) 2>conftest.er1
43740 ac_status=$?
43741 grep -v '^ *+' conftest.er1 >conftest.err
43742 rm -f conftest.er1
43743 cat conftest.err >&5
43744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43745 (exit $ac_status); } &&
43746 { ac_try='test -z "$ac_cxx_werror_flag"
43747 || test ! -s conftest.err'
43748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43749 (eval $ac_try) 2>&5
43750 ac_status=$?
43751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43752 (exit $ac_status); }; } &&
43753 { ac_try='test -s conftest.$ac_objext'
43754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43755 (eval $ac_try) 2>&5
43756 ac_status=$?
43757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43758 (exit $ac_status); }; }; then
43759 glibcxx_cv_func_fmodl_use=yes
43760 else
43761 echo "$as_me: failed program was:" >&5
43762 sed 's/^/| /' conftest.$ac_ext >&5
43764 glibcxx_cv_func_fmodl_use=no
43766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43767 ac_ext=c
43768 ac_cpp='$CPP $CPPFLAGS'
43769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43777 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
43778 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
43780 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43782 for ac_func in fmodl
43784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43785 echo "$as_me:$LINENO: checking for $ac_func" >&5
43786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43787 if eval "test \"\${$as_ac_var+set}\" = set"; then
43788 echo $ECHO_N "(cached) $ECHO_C" >&6
43789 else
43790 if test x$gcc_no_link = xyes; then
43791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43793 { (exit 1); exit 1; }; }
43795 cat >conftest.$ac_ext <<_ACEOF
43796 /* confdefs.h. */
43797 _ACEOF
43798 cat confdefs.h >>conftest.$ac_ext
43799 cat >>conftest.$ac_ext <<_ACEOF
43800 /* end confdefs.h. */
43801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43803 #define $ac_func innocuous_$ac_func
43805 /* System header to define __stub macros and hopefully few prototypes,
43806 which can conflict with char $ac_func (); below.
43807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43808 <limits.h> exists even on freestanding compilers. */
43810 #ifdef __STDC__
43811 # include <limits.h>
43812 #else
43813 # include <assert.h>
43814 #endif
43816 #undef $ac_func
43818 /* Override any gcc2 internal prototype to avoid an error. */
43819 #ifdef __cplusplus
43820 extern "C"
43822 #endif
43823 /* We use char because int might match the return type of a gcc2
43824 builtin and then its argument prototype would still apply. */
43825 char $ac_func ();
43826 /* The GNU C library defines this for functions which it implements
43827 to always fail with ENOSYS. Some functions are actually named
43828 something starting with __ and the normal name is an alias. */
43829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43830 choke me
43831 #else
43832 char (*f) () = $ac_func;
43833 #endif
43834 #ifdef __cplusplus
43836 #endif
43839 main ()
43841 return f != $ac_func;
43843 return 0;
43845 _ACEOF
43846 rm -f conftest.$ac_objext conftest$ac_exeext
43847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43848 (eval $ac_link) 2>conftest.er1
43849 ac_status=$?
43850 grep -v '^ *+' conftest.er1 >conftest.err
43851 rm -f conftest.er1
43852 cat conftest.err >&5
43853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43854 (exit $ac_status); } &&
43855 { ac_try='test -z "$ac_c_werror_flag"
43856 || test ! -s conftest.err'
43857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43858 (eval $ac_try) 2>&5
43859 ac_status=$?
43860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43861 (exit $ac_status); }; } &&
43862 { ac_try='test -s conftest$ac_exeext'
43863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43864 (eval $ac_try) 2>&5
43865 ac_status=$?
43866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43867 (exit $ac_status); }; }; then
43868 eval "$as_ac_var=yes"
43869 else
43870 echo "$as_me: failed program was:" >&5
43871 sed 's/^/| /' conftest.$ac_ext >&5
43873 eval "$as_ac_var=no"
43875 rm -f conftest.err conftest.$ac_objext \
43876 conftest$ac_exeext conftest.$ac_ext
43878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43880 if test `eval echo '${'$as_ac_var'}'` = yes; then
43881 cat >>confdefs.h <<_ACEOF
43882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43883 _ACEOF
43886 done
43888 else
43890 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
43891 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
43892 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43893 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
43894 echo $ECHO_N "(cached) $ECHO_C" >&6
43895 else
43899 ac_ext=cc
43900 ac_cpp='$CXXCPP $CPPFLAGS'
43901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43905 cat >conftest.$ac_ext <<_ACEOF
43906 /* confdefs.h. */
43907 _ACEOF
43908 cat confdefs.h >>conftest.$ac_ext
43909 cat >>conftest.$ac_ext <<_ACEOF
43910 /* end confdefs.h. */
43911 #include <math.h>
43913 main ()
43915 _fmodl(0, 0);
43917 return 0;
43919 _ACEOF
43920 rm -f conftest.$ac_objext
43921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43922 (eval $ac_compile) 2>conftest.er1
43923 ac_status=$?
43924 grep -v '^ *+' conftest.er1 >conftest.err
43925 rm -f conftest.er1
43926 cat conftest.err >&5
43927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43928 (exit $ac_status); } &&
43929 { ac_try='test -z "$ac_cxx_werror_flag"
43930 || test ! -s conftest.err'
43931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43932 (eval $ac_try) 2>&5
43933 ac_status=$?
43934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43935 (exit $ac_status); }; } &&
43936 { ac_try='test -s conftest.$ac_objext'
43937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43938 (eval $ac_try) 2>&5
43939 ac_status=$?
43940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43941 (exit $ac_status); }; }; then
43942 glibcxx_cv_func__fmodl_use=yes
43943 else
43944 echo "$as_me: failed program was:" >&5
43945 sed 's/^/| /' conftest.$ac_ext >&5
43947 glibcxx_cv_func__fmodl_use=no
43949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43950 ac_ext=c
43951 ac_cpp='$CPP $CPPFLAGS'
43952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43960 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
43961 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
43963 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43965 for ac_func in _fmodl
43967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43968 echo "$as_me:$LINENO: checking for $ac_func" >&5
43969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43970 if eval "test \"\${$as_ac_var+set}\" = set"; then
43971 echo $ECHO_N "(cached) $ECHO_C" >&6
43972 else
43973 if test x$gcc_no_link = xyes; then
43974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43976 { (exit 1); exit 1; }; }
43978 cat >conftest.$ac_ext <<_ACEOF
43979 /* confdefs.h. */
43980 _ACEOF
43981 cat confdefs.h >>conftest.$ac_ext
43982 cat >>conftest.$ac_ext <<_ACEOF
43983 /* end confdefs.h. */
43984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43986 #define $ac_func innocuous_$ac_func
43988 /* System header to define __stub macros and hopefully few prototypes,
43989 which can conflict with char $ac_func (); below.
43990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43991 <limits.h> exists even on freestanding compilers. */
43993 #ifdef __STDC__
43994 # include <limits.h>
43995 #else
43996 # include <assert.h>
43997 #endif
43999 #undef $ac_func
44001 /* Override any gcc2 internal prototype to avoid an error. */
44002 #ifdef __cplusplus
44003 extern "C"
44005 #endif
44006 /* We use char because int might match the return type of a gcc2
44007 builtin and then its argument prototype would still apply. */
44008 char $ac_func ();
44009 /* The GNU C library defines this for functions which it implements
44010 to always fail with ENOSYS. Some functions are actually named
44011 something starting with __ and the normal name is an alias. */
44012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44013 choke me
44014 #else
44015 char (*f) () = $ac_func;
44016 #endif
44017 #ifdef __cplusplus
44019 #endif
44022 main ()
44024 return f != $ac_func;
44026 return 0;
44028 _ACEOF
44029 rm -f conftest.$ac_objext conftest$ac_exeext
44030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44031 (eval $ac_link) 2>conftest.er1
44032 ac_status=$?
44033 grep -v '^ *+' conftest.er1 >conftest.err
44034 rm -f conftest.er1
44035 cat conftest.err >&5
44036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44037 (exit $ac_status); } &&
44038 { ac_try='test -z "$ac_c_werror_flag"
44039 || test ! -s conftest.err'
44040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44041 (eval $ac_try) 2>&5
44042 ac_status=$?
44043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44044 (exit $ac_status); }; } &&
44045 { ac_try='test -s conftest$ac_exeext'
44046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44047 (eval $ac_try) 2>&5
44048 ac_status=$?
44049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44050 (exit $ac_status); }; }; then
44051 eval "$as_ac_var=yes"
44052 else
44053 echo "$as_me: failed program was:" >&5
44054 sed 's/^/| /' conftest.$ac_ext >&5
44056 eval "$as_ac_var=no"
44058 rm -f conftest.err conftest.$ac_objext \
44059 conftest$ac_exeext conftest.$ac_ext
44061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44063 if test `eval echo '${'$as_ac_var'}'` = yes; then
44064 cat >>confdefs.h <<_ACEOF
44065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44066 _ACEOF
44069 done
44076 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
44077 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
44078 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44079 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
44080 echo $ECHO_N "(cached) $ECHO_C" >&6
44081 else
44085 ac_ext=cc
44086 ac_cpp='$CXXCPP $CPPFLAGS'
44087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44091 cat >conftest.$ac_ext <<_ACEOF
44092 /* confdefs.h. */
44093 _ACEOF
44094 cat confdefs.h >>conftest.$ac_ext
44095 cat >>conftest.$ac_ext <<_ACEOF
44096 /* end confdefs.h. */
44097 #include <math.h>
44099 main ()
44101 frexpl(0, 0);
44103 return 0;
44105 _ACEOF
44106 rm -f conftest.$ac_objext
44107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44108 (eval $ac_compile) 2>conftest.er1
44109 ac_status=$?
44110 grep -v '^ *+' conftest.er1 >conftest.err
44111 rm -f conftest.er1
44112 cat conftest.err >&5
44113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44114 (exit $ac_status); } &&
44115 { ac_try='test -z "$ac_cxx_werror_flag"
44116 || test ! -s conftest.err'
44117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44118 (eval $ac_try) 2>&5
44119 ac_status=$?
44120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44121 (exit $ac_status); }; } &&
44122 { ac_try='test -s conftest.$ac_objext'
44123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44124 (eval $ac_try) 2>&5
44125 ac_status=$?
44126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44127 (exit $ac_status); }; }; then
44128 glibcxx_cv_func_frexpl_use=yes
44129 else
44130 echo "$as_me: failed program was:" >&5
44131 sed 's/^/| /' conftest.$ac_ext >&5
44133 glibcxx_cv_func_frexpl_use=no
44135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44136 ac_ext=c
44137 ac_cpp='$CPP $CPPFLAGS'
44138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44146 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
44147 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
44149 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44151 for ac_func in frexpl
44153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44154 echo "$as_me:$LINENO: checking for $ac_func" >&5
44155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44156 if eval "test \"\${$as_ac_var+set}\" = set"; then
44157 echo $ECHO_N "(cached) $ECHO_C" >&6
44158 else
44159 if test x$gcc_no_link = xyes; then
44160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44162 { (exit 1); exit 1; }; }
44164 cat >conftest.$ac_ext <<_ACEOF
44165 /* confdefs.h. */
44166 _ACEOF
44167 cat confdefs.h >>conftest.$ac_ext
44168 cat >>conftest.$ac_ext <<_ACEOF
44169 /* end confdefs.h. */
44170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44172 #define $ac_func innocuous_$ac_func
44174 /* System header to define __stub macros and hopefully few prototypes,
44175 which can conflict with char $ac_func (); below.
44176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44177 <limits.h> exists even on freestanding compilers. */
44179 #ifdef __STDC__
44180 # include <limits.h>
44181 #else
44182 # include <assert.h>
44183 #endif
44185 #undef $ac_func
44187 /* Override any gcc2 internal prototype to avoid an error. */
44188 #ifdef __cplusplus
44189 extern "C"
44191 #endif
44192 /* We use char because int might match the return type of a gcc2
44193 builtin and then its argument prototype would still apply. */
44194 char $ac_func ();
44195 /* The GNU C library defines this for functions which it implements
44196 to always fail with ENOSYS. Some functions are actually named
44197 something starting with __ and the normal name is an alias. */
44198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44199 choke me
44200 #else
44201 char (*f) () = $ac_func;
44202 #endif
44203 #ifdef __cplusplus
44205 #endif
44208 main ()
44210 return f != $ac_func;
44212 return 0;
44214 _ACEOF
44215 rm -f conftest.$ac_objext conftest$ac_exeext
44216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44217 (eval $ac_link) 2>conftest.er1
44218 ac_status=$?
44219 grep -v '^ *+' conftest.er1 >conftest.err
44220 rm -f conftest.er1
44221 cat conftest.err >&5
44222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44223 (exit $ac_status); } &&
44224 { ac_try='test -z "$ac_c_werror_flag"
44225 || test ! -s conftest.err'
44226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44227 (eval $ac_try) 2>&5
44228 ac_status=$?
44229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44230 (exit $ac_status); }; } &&
44231 { ac_try='test -s conftest$ac_exeext'
44232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44233 (eval $ac_try) 2>&5
44234 ac_status=$?
44235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44236 (exit $ac_status); }; }; then
44237 eval "$as_ac_var=yes"
44238 else
44239 echo "$as_me: failed program was:" >&5
44240 sed 's/^/| /' conftest.$ac_ext >&5
44242 eval "$as_ac_var=no"
44244 rm -f conftest.err conftest.$ac_objext \
44245 conftest$ac_exeext conftest.$ac_ext
44247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44249 if test `eval echo '${'$as_ac_var'}'` = yes; then
44250 cat >>confdefs.h <<_ACEOF
44251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44252 _ACEOF
44255 done
44257 else
44259 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
44260 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
44261 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44262 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
44263 echo $ECHO_N "(cached) $ECHO_C" >&6
44264 else
44268 ac_ext=cc
44269 ac_cpp='$CXXCPP $CPPFLAGS'
44270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44274 cat >conftest.$ac_ext <<_ACEOF
44275 /* confdefs.h. */
44276 _ACEOF
44277 cat confdefs.h >>conftest.$ac_ext
44278 cat >>conftest.$ac_ext <<_ACEOF
44279 /* end confdefs.h. */
44280 #include <math.h>
44282 main ()
44284 _frexpl(0, 0);
44286 return 0;
44288 _ACEOF
44289 rm -f conftest.$ac_objext
44290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44291 (eval $ac_compile) 2>conftest.er1
44292 ac_status=$?
44293 grep -v '^ *+' conftest.er1 >conftest.err
44294 rm -f conftest.er1
44295 cat conftest.err >&5
44296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44297 (exit $ac_status); } &&
44298 { ac_try='test -z "$ac_cxx_werror_flag"
44299 || test ! -s conftest.err'
44300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44301 (eval $ac_try) 2>&5
44302 ac_status=$?
44303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44304 (exit $ac_status); }; } &&
44305 { ac_try='test -s conftest.$ac_objext'
44306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44307 (eval $ac_try) 2>&5
44308 ac_status=$?
44309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44310 (exit $ac_status); }; }; then
44311 glibcxx_cv_func__frexpl_use=yes
44312 else
44313 echo "$as_me: failed program was:" >&5
44314 sed 's/^/| /' conftest.$ac_ext >&5
44316 glibcxx_cv_func__frexpl_use=no
44318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44319 ac_ext=c
44320 ac_cpp='$CPP $CPPFLAGS'
44321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44329 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
44330 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
44332 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44334 for ac_func in _frexpl
44336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44337 echo "$as_me:$LINENO: checking for $ac_func" >&5
44338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44339 if eval "test \"\${$as_ac_var+set}\" = set"; then
44340 echo $ECHO_N "(cached) $ECHO_C" >&6
44341 else
44342 if test x$gcc_no_link = xyes; then
44343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44345 { (exit 1); exit 1; }; }
44347 cat >conftest.$ac_ext <<_ACEOF
44348 /* confdefs.h. */
44349 _ACEOF
44350 cat confdefs.h >>conftest.$ac_ext
44351 cat >>conftest.$ac_ext <<_ACEOF
44352 /* end confdefs.h. */
44353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44355 #define $ac_func innocuous_$ac_func
44357 /* System header to define __stub macros and hopefully few prototypes,
44358 which can conflict with char $ac_func (); below.
44359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44360 <limits.h> exists even on freestanding compilers. */
44362 #ifdef __STDC__
44363 # include <limits.h>
44364 #else
44365 # include <assert.h>
44366 #endif
44368 #undef $ac_func
44370 /* Override any gcc2 internal prototype to avoid an error. */
44371 #ifdef __cplusplus
44372 extern "C"
44374 #endif
44375 /* We use char because int might match the return type of a gcc2
44376 builtin and then its argument prototype would still apply. */
44377 char $ac_func ();
44378 /* The GNU C library defines this for functions which it implements
44379 to always fail with ENOSYS. Some functions are actually named
44380 something starting with __ and the normal name is an alias. */
44381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44382 choke me
44383 #else
44384 char (*f) () = $ac_func;
44385 #endif
44386 #ifdef __cplusplus
44388 #endif
44391 main ()
44393 return f != $ac_func;
44395 return 0;
44397 _ACEOF
44398 rm -f conftest.$ac_objext conftest$ac_exeext
44399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44400 (eval $ac_link) 2>conftest.er1
44401 ac_status=$?
44402 grep -v '^ *+' conftest.er1 >conftest.err
44403 rm -f conftest.er1
44404 cat conftest.err >&5
44405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44406 (exit $ac_status); } &&
44407 { ac_try='test -z "$ac_c_werror_flag"
44408 || test ! -s conftest.err'
44409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44410 (eval $ac_try) 2>&5
44411 ac_status=$?
44412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44413 (exit $ac_status); }; } &&
44414 { ac_try='test -s conftest$ac_exeext'
44415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44416 (eval $ac_try) 2>&5
44417 ac_status=$?
44418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44419 (exit $ac_status); }; }; then
44420 eval "$as_ac_var=yes"
44421 else
44422 echo "$as_me: failed program was:" >&5
44423 sed 's/^/| /' conftest.$ac_ext >&5
44425 eval "$as_ac_var=no"
44427 rm -f conftest.err conftest.$ac_objext \
44428 conftest$ac_exeext conftest.$ac_ext
44430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44432 if test `eval echo '${'$as_ac_var'}'` = yes; then
44433 cat >>confdefs.h <<_ACEOF
44434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44435 _ACEOF
44438 done
44445 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
44446 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
44447 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44448 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
44449 echo $ECHO_N "(cached) $ECHO_C" >&6
44450 else
44454 ac_ext=cc
44455 ac_cpp='$CXXCPP $CPPFLAGS'
44456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44460 cat >conftest.$ac_ext <<_ACEOF
44461 /* confdefs.h. */
44462 _ACEOF
44463 cat confdefs.h >>conftest.$ac_ext
44464 cat >>conftest.$ac_ext <<_ACEOF
44465 /* end confdefs.h. */
44466 #include <math.h>
44468 main ()
44470 hypotl(0, 0);
44472 return 0;
44474 _ACEOF
44475 rm -f conftest.$ac_objext
44476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44477 (eval $ac_compile) 2>conftest.er1
44478 ac_status=$?
44479 grep -v '^ *+' conftest.er1 >conftest.err
44480 rm -f conftest.er1
44481 cat conftest.err >&5
44482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44483 (exit $ac_status); } &&
44484 { ac_try='test -z "$ac_cxx_werror_flag"
44485 || test ! -s conftest.err'
44486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44487 (eval $ac_try) 2>&5
44488 ac_status=$?
44489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44490 (exit $ac_status); }; } &&
44491 { ac_try='test -s conftest.$ac_objext'
44492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44493 (eval $ac_try) 2>&5
44494 ac_status=$?
44495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44496 (exit $ac_status); }; }; then
44497 glibcxx_cv_func_hypotl_use=yes
44498 else
44499 echo "$as_me: failed program was:" >&5
44500 sed 's/^/| /' conftest.$ac_ext >&5
44502 glibcxx_cv_func_hypotl_use=no
44504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44505 ac_ext=c
44506 ac_cpp='$CPP $CPPFLAGS'
44507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44515 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
44516 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
44518 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44520 for ac_func in hypotl
44522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44523 echo "$as_me:$LINENO: checking for $ac_func" >&5
44524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44525 if eval "test \"\${$as_ac_var+set}\" = set"; then
44526 echo $ECHO_N "(cached) $ECHO_C" >&6
44527 else
44528 if test x$gcc_no_link = xyes; then
44529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44531 { (exit 1); exit 1; }; }
44533 cat >conftest.$ac_ext <<_ACEOF
44534 /* confdefs.h. */
44535 _ACEOF
44536 cat confdefs.h >>conftest.$ac_ext
44537 cat >>conftest.$ac_ext <<_ACEOF
44538 /* end confdefs.h. */
44539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44541 #define $ac_func innocuous_$ac_func
44543 /* System header to define __stub macros and hopefully few prototypes,
44544 which can conflict with char $ac_func (); below.
44545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44546 <limits.h> exists even on freestanding compilers. */
44548 #ifdef __STDC__
44549 # include <limits.h>
44550 #else
44551 # include <assert.h>
44552 #endif
44554 #undef $ac_func
44556 /* Override any gcc2 internal prototype to avoid an error. */
44557 #ifdef __cplusplus
44558 extern "C"
44560 #endif
44561 /* We use char because int might match the return type of a gcc2
44562 builtin and then its argument prototype would still apply. */
44563 char $ac_func ();
44564 /* The GNU C library defines this for functions which it implements
44565 to always fail with ENOSYS. Some functions are actually named
44566 something starting with __ and the normal name is an alias. */
44567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44568 choke me
44569 #else
44570 char (*f) () = $ac_func;
44571 #endif
44572 #ifdef __cplusplus
44574 #endif
44577 main ()
44579 return f != $ac_func;
44581 return 0;
44583 _ACEOF
44584 rm -f conftest.$ac_objext conftest$ac_exeext
44585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44586 (eval $ac_link) 2>conftest.er1
44587 ac_status=$?
44588 grep -v '^ *+' conftest.er1 >conftest.err
44589 rm -f conftest.er1
44590 cat conftest.err >&5
44591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44592 (exit $ac_status); } &&
44593 { ac_try='test -z "$ac_c_werror_flag"
44594 || test ! -s conftest.err'
44595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44596 (eval $ac_try) 2>&5
44597 ac_status=$?
44598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44599 (exit $ac_status); }; } &&
44600 { ac_try='test -s conftest$ac_exeext'
44601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44602 (eval $ac_try) 2>&5
44603 ac_status=$?
44604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44605 (exit $ac_status); }; }; then
44606 eval "$as_ac_var=yes"
44607 else
44608 echo "$as_me: failed program was:" >&5
44609 sed 's/^/| /' conftest.$ac_ext >&5
44611 eval "$as_ac_var=no"
44613 rm -f conftest.err conftest.$ac_objext \
44614 conftest$ac_exeext conftest.$ac_ext
44616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44618 if test `eval echo '${'$as_ac_var'}'` = yes; then
44619 cat >>confdefs.h <<_ACEOF
44620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44621 _ACEOF
44624 done
44626 else
44628 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
44629 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
44630 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44631 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
44632 echo $ECHO_N "(cached) $ECHO_C" >&6
44633 else
44637 ac_ext=cc
44638 ac_cpp='$CXXCPP $CPPFLAGS'
44639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44643 cat >conftest.$ac_ext <<_ACEOF
44644 /* confdefs.h. */
44645 _ACEOF
44646 cat confdefs.h >>conftest.$ac_ext
44647 cat >>conftest.$ac_ext <<_ACEOF
44648 /* end confdefs.h. */
44649 #include <math.h>
44651 main ()
44653 _hypotl(0, 0);
44655 return 0;
44657 _ACEOF
44658 rm -f conftest.$ac_objext
44659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44660 (eval $ac_compile) 2>conftest.er1
44661 ac_status=$?
44662 grep -v '^ *+' conftest.er1 >conftest.err
44663 rm -f conftest.er1
44664 cat conftest.err >&5
44665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44666 (exit $ac_status); } &&
44667 { ac_try='test -z "$ac_cxx_werror_flag"
44668 || test ! -s conftest.err'
44669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44670 (eval $ac_try) 2>&5
44671 ac_status=$?
44672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44673 (exit $ac_status); }; } &&
44674 { ac_try='test -s conftest.$ac_objext'
44675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44676 (eval $ac_try) 2>&5
44677 ac_status=$?
44678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44679 (exit $ac_status); }; }; then
44680 glibcxx_cv_func__hypotl_use=yes
44681 else
44682 echo "$as_me: failed program was:" >&5
44683 sed 's/^/| /' conftest.$ac_ext >&5
44685 glibcxx_cv_func__hypotl_use=no
44687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44688 ac_ext=c
44689 ac_cpp='$CPP $CPPFLAGS'
44690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44698 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
44699 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
44701 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44703 for ac_func in _hypotl
44705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44706 echo "$as_me:$LINENO: checking for $ac_func" >&5
44707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44708 if eval "test \"\${$as_ac_var+set}\" = set"; then
44709 echo $ECHO_N "(cached) $ECHO_C" >&6
44710 else
44711 if test x$gcc_no_link = xyes; then
44712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44714 { (exit 1); exit 1; }; }
44716 cat >conftest.$ac_ext <<_ACEOF
44717 /* confdefs.h. */
44718 _ACEOF
44719 cat confdefs.h >>conftest.$ac_ext
44720 cat >>conftest.$ac_ext <<_ACEOF
44721 /* end confdefs.h. */
44722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44724 #define $ac_func innocuous_$ac_func
44726 /* System header to define __stub macros and hopefully few prototypes,
44727 which can conflict with char $ac_func (); below.
44728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44729 <limits.h> exists even on freestanding compilers. */
44731 #ifdef __STDC__
44732 # include <limits.h>
44733 #else
44734 # include <assert.h>
44735 #endif
44737 #undef $ac_func
44739 /* Override any gcc2 internal prototype to avoid an error. */
44740 #ifdef __cplusplus
44741 extern "C"
44743 #endif
44744 /* We use char because int might match the return type of a gcc2
44745 builtin and then its argument prototype would still apply. */
44746 char $ac_func ();
44747 /* The GNU C library defines this for functions which it implements
44748 to always fail with ENOSYS. Some functions are actually named
44749 something starting with __ and the normal name is an alias. */
44750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44751 choke me
44752 #else
44753 char (*f) () = $ac_func;
44754 #endif
44755 #ifdef __cplusplus
44757 #endif
44760 main ()
44762 return f != $ac_func;
44764 return 0;
44766 _ACEOF
44767 rm -f conftest.$ac_objext conftest$ac_exeext
44768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44769 (eval $ac_link) 2>conftest.er1
44770 ac_status=$?
44771 grep -v '^ *+' conftest.er1 >conftest.err
44772 rm -f conftest.er1
44773 cat conftest.err >&5
44774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44775 (exit $ac_status); } &&
44776 { ac_try='test -z "$ac_c_werror_flag"
44777 || test ! -s conftest.err'
44778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44779 (eval $ac_try) 2>&5
44780 ac_status=$?
44781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44782 (exit $ac_status); }; } &&
44783 { ac_try='test -s conftest$ac_exeext'
44784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44785 (eval $ac_try) 2>&5
44786 ac_status=$?
44787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44788 (exit $ac_status); }; }; then
44789 eval "$as_ac_var=yes"
44790 else
44791 echo "$as_me: failed program was:" >&5
44792 sed 's/^/| /' conftest.$ac_ext >&5
44794 eval "$as_ac_var=no"
44796 rm -f conftest.err conftest.$ac_objext \
44797 conftest$ac_exeext conftest.$ac_ext
44799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44801 if test `eval echo '${'$as_ac_var'}'` = yes; then
44802 cat >>confdefs.h <<_ACEOF
44803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44804 _ACEOF
44807 done
44814 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
44815 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
44816 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44817 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
44818 echo $ECHO_N "(cached) $ECHO_C" >&6
44819 else
44823 ac_ext=cc
44824 ac_cpp='$CXXCPP $CPPFLAGS'
44825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44829 cat >conftest.$ac_ext <<_ACEOF
44830 /* confdefs.h. */
44831 _ACEOF
44832 cat confdefs.h >>conftest.$ac_ext
44833 cat >>conftest.$ac_ext <<_ACEOF
44834 /* end confdefs.h. */
44835 #include <math.h>
44837 main ()
44839 ldexpl(0, 0);
44841 return 0;
44843 _ACEOF
44844 rm -f conftest.$ac_objext
44845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44846 (eval $ac_compile) 2>conftest.er1
44847 ac_status=$?
44848 grep -v '^ *+' conftest.er1 >conftest.err
44849 rm -f conftest.er1
44850 cat conftest.err >&5
44851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44852 (exit $ac_status); } &&
44853 { ac_try='test -z "$ac_cxx_werror_flag"
44854 || test ! -s conftest.err'
44855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44856 (eval $ac_try) 2>&5
44857 ac_status=$?
44858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44859 (exit $ac_status); }; } &&
44860 { ac_try='test -s conftest.$ac_objext'
44861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44862 (eval $ac_try) 2>&5
44863 ac_status=$?
44864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44865 (exit $ac_status); }; }; then
44866 glibcxx_cv_func_ldexpl_use=yes
44867 else
44868 echo "$as_me: failed program was:" >&5
44869 sed 's/^/| /' conftest.$ac_ext >&5
44871 glibcxx_cv_func_ldexpl_use=no
44873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44874 ac_ext=c
44875 ac_cpp='$CPP $CPPFLAGS'
44876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44884 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
44885 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
44887 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44889 for ac_func in ldexpl
44891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44892 echo "$as_me:$LINENO: checking for $ac_func" >&5
44893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44894 if eval "test \"\${$as_ac_var+set}\" = set"; then
44895 echo $ECHO_N "(cached) $ECHO_C" >&6
44896 else
44897 if test x$gcc_no_link = xyes; then
44898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44900 { (exit 1); exit 1; }; }
44902 cat >conftest.$ac_ext <<_ACEOF
44903 /* confdefs.h. */
44904 _ACEOF
44905 cat confdefs.h >>conftest.$ac_ext
44906 cat >>conftest.$ac_ext <<_ACEOF
44907 /* end confdefs.h. */
44908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44910 #define $ac_func innocuous_$ac_func
44912 /* System header to define __stub macros and hopefully few prototypes,
44913 which can conflict with char $ac_func (); below.
44914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44915 <limits.h> exists even on freestanding compilers. */
44917 #ifdef __STDC__
44918 # include <limits.h>
44919 #else
44920 # include <assert.h>
44921 #endif
44923 #undef $ac_func
44925 /* Override any gcc2 internal prototype to avoid an error. */
44926 #ifdef __cplusplus
44927 extern "C"
44929 #endif
44930 /* We use char because int might match the return type of a gcc2
44931 builtin and then its argument prototype would still apply. */
44932 char $ac_func ();
44933 /* The GNU C library defines this for functions which it implements
44934 to always fail with ENOSYS. Some functions are actually named
44935 something starting with __ and the normal name is an alias. */
44936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44937 choke me
44938 #else
44939 char (*f) () = $ac_func;
44940 #endif
44941 #ifdef __cplusplus
44943 #endif
44946 main ()
44948 return f != $ac_func;
44950 return 0;
44952 _ACEOF
44953 rm -f conftest.$ac_objext conftest$ac_exeext
44954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44955 (eval $ac_link) 2>conftest.er1
44956 ac_status=$?
44957 grep -v '^ *+' conftest.er1 >conftest.err
44958 rm -f conftest.er1
44959 cat conftest.err >&5
44960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44961 (exit $ac_status); } &&
44962 { ac_try='test -z "$ac_c_werror_flag"
44963 || test ! -s conftest.err'
44964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44965 (eval $ac_try) 2>&5
44966 ac_status=$?
44967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44968 (exit $ac_status); }; } &&
44969 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
44975 eval "$as_ac_var=yes"
44976 else
44977 echo "$as_me: failed program was:" >&5
44978 sed 's/^/| /' conftest.$ac_ext >&5
44980 eval "$as_ac_var=no"
44982 rm -f conftest.err conftest.$ac_objext \
44983 conftest$ac_exeext conftest.$ac_ext
44985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44987 if test `eval echo '${'$as_ac_var'}'` = yes; then
44988 cat >>confdefs.h <<_ACEOF
44989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44990 _ACEOF
44993 done
44995 else
44997 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
44998 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
44999 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45000 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
45001 echo $ECHO_N "(cached) $ECHO_C" >&6
45002 else
45006 ac_ext=cc
45007 ac_cpp='$CXXCPP $CPPFLAGS'
45008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45012 cat >conftest.$ac_ext <<_ACEOF
45013 /* confdefs.h. */
45014 _ACEOF
45015 cat confdefs.h >>conftest.$ac_ext
45016 cat >>conftest.$ac_ext <<_ACEOF
45017 /* end confdefs.h. */
45018 #include <math.h>
45020 main ()
45022 _ldexpl(0, 0);
45024 return 0;
45026 _ACEOF
45027 rm -f conftest.$ac_objext
45028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45029 (eval $ac_compile) 2>conftest.er1
45030 ac_status=$?
45031 grep -v '^ *+' conftest.er1 >conftest.err
45032 rm -f conftest.er1
45033 cat conftest.err >&5
45034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45035 (exit $ac_status); } &&
45036 { ac_try='test -z "$ac_cxx_werror_flag"
45037 || test ! -s conftest.err'
45038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45039 (eval $ac_try) 2>&5
45040 ac_status=$?
45041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45042 (exit $ac_status); }; } &&
45043 { ac_try='test -s conftest.$ac_objext'
45044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45045 (eval $ac_try) 2>&5
45046 ac_status=$?
45047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45048 (exit $ac_status); }; }; then
45049 glibcxx_cv_func__ldexpl_use=yes
45050 else
45051 echo "$as_me: failed program was:" >&5
45052 sed 's/^/| /' conftest.$ac_ext >&5
45054 glibcxx_cv_func__ldexpl_use=no
45056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45057 ac_ext=c
45058 ac_cpp='$CPP $CPPFLAGS'
45059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45067 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
45068 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
45070 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45072 for ac_func in _ldexpl
45074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45075 echo "$as_me:$LINENO: checking for $ac_func" >&5
45076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45077 if eval "test \"\${$as_ac_var+set}\" = set"; then
45078 echo $ECHO_N "(cached) $ECHO_C" >&6
45079 else
45080 if test x$gcc_no_link = xyes; then
45081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45083 { (exit 1); exit 1; }; }
45085 cat >conftest.$ac_ext <<_ACEOF
45086 /* confdefs.h. */
45087 _ACEOF
45088 cat confdefs.h >>conftest.$ac_ext
45089 cat >>conftest.$ac_ext <<_ACEOF
45090 /* end confdefs.h. */
45091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45093 #define $ac_func innocuous_$ac_func
45095 /* System header to define __stub macros and hopefully few prototypes,
45096 which can conflict with char $ac_func (); below.
45097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45098 <limits.h> exists even on freestanding compilers. */
45100 #ifdef __STDC__
45101 # include <limits.h>
45102 #else
45103 # include <assert.h>
45104 #endif
45106 #undef $ac_func
45108 /* Override any gcc2 internal prototype to avoid an error. */
45109 #ifdef __cplusplus
45110 extern "C"
45112 #endif
45113 /* We use char because int might match the return type of a gcc2
45114 builtin and then its argument prototype would still apply. */
45115 char $ac_func ();
45116 /* The GNU C library defines this for functions which it implements
45117 to always fail with ENOSYS. Some functions are actually named
45118 something starting with __ and the normal name is an alias. */
45119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45120 choke me
45121 #else
45122 char (*f) () = $ac_func;
45123 #endif
45124 #ifdef __cplusplus
45126 #endif
45129 main ()
45131 return f != $ac_func;
45133 return 0;
45135 _ACEOF
45136 rm -f conftest.$ac_objext conftest$ac_exeext
45137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45138 (eval $ac_link) 2>conftest.er1
45139 ac_status=$?
45140 grep -v '^ *+' conftest.er1 >conftest.err
45141 rm -f conftest.er1
45142 cat conftest.err >&5
45143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45144 (exit $ac_status); } &&
45145 { ac_try='test -z "$ac_c_werror_flag"
45146 || test ! -s conftest.err'
45147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45148 (eval $ac_try) 2>&5
45149 ac_status=$?
45150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45151 (exit $ac_status); }; } &&
45152 { ac_try='test -s conftest$ac_exeext'
45153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45154 (eval $ac_try) 2>&5
45155 ac_status=$?
45156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45157 (exit $ac_status); }; }; then
45158 eval "$as_ac_var=yes"
45159 else
45160 echo "$as_me: failed program was:" >&5
45161 sed 's/^/| /' conftest.$ac_ext >&5
45163 eval "$as_ac_var=no"
45165 rm -f conftest.err conftest.$ac_objext \
45166 conftest$ac_exeext conftest.$ac_ext
45168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45170 if test `eval echo '${'$as_ac_var'}'` = yes; then
45171 cat >>confdefs.h <<_ACEOF
45172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45173 _ACEOF
45176 done
45183 echo "$as_me:$LINENO: checking for logl declaration" >&5
45184 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
45185 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45186 if test "${glibcxx_cv_func_logl_use+set}" = set; then
45187 echo $ECHO_N "(cached) $ECHO_C" >&6
45188 else
45192 ac_ext=cc
45193 ac_cpp='$CXXCPP $CPPFLAGS'
45194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45198 cat >conftest.$ac_ext <<_ACEOF
45199 /* confdefs.h. */
45200 _ACEOF
45201 cat confdefs.h >>conftest.$ac_ext
45202 cat >>conftest.$ac_ext <<_ACEOF
45203 /* end confdefs.h. */
45204 #include <math.h>
45205 #ifdef HAVE_IEEEFP_H
45206 #include <ieeefp.h>
45207 #endif
45210 main ()
45212 logl(0);
45214 return 0;
45216 _ACEOF
45217 rm -f conftest.$ac_objext
45218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45219 (eval $ac_compile) 2>conftest.er1
45220 ac_status=$?
45221 grep -v '^ *+' conftest.er1 >conftest.err
45222 rm -f conftest.er1
45223 cat conftest.err >&5
45224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45225 (exit $ac_status); } &&
45226 { ac_try='test -z "$ac_cxx_werror_flag"
45227 || test ! -s conftest.err'
45228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45229 (eval $ac_try) 2>&5
45230 ac_status=$?
45231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45232 (exit $ac_status); }; } &&
45233 { ac_try='test -s conftest.$ac_objext'
45234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45235 (eval $ac_try) 2>&5
45236 ac_status=$?
45237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45238 (exit $ac_status); }; }; then
45239 glibcxx_cv_func_logl_use=yes
45240 else
45241 echo "$as_me: failed program was:" >&5
45242 sed 's/^/| /' conftest.$ac_ext >&5
45244 glibcxx_cv_func_logl_use=no
45246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45247 ac_ext=c
45248 ac_cpp='$CPP $CPPFLAGS'
45249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45257 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
45258 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
45260 if test x$glibcxx_cv_func_logl_use = x"yes"; then
45262 for ac_func in logl
45264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45265 echo "$as_me:$LINENO: checking for $ac_func" >&5
45266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45267 if eval "test \"\${$as_ac_var+set}\" = set"; then
45268 echo $ECHO_N "(cached) $ECHO_C" >&6
45269 else
45270 if test x$gcc_no_link = xyes; then
45271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45273 { (exit 1); exit 1; }; }
45275 cat >conftest.$ac_ext <<_ACEOF
45276 /* confdefs.h. */
45277 _ACEOF
45278 cat confdefs.h >>conftest.$ac_ext
45279 cat >>conftest.$ac_ext <<_ACEOF
45280 /* end confdefs.h. */
45281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45283 #define $ac_func innocuous_$ac_func
45285 /* System header to define __stub macros and hopefully few prototypes,
45286 which can conflict with char $ac_func (); below.
45287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45288 <limits.h> exists even on freestanding compilers. */
45290 #ifdef __STDC__
45291 # include <limits.h>
45292 #else
45293 # include <assert.h>
45294 #endif
45296 #undef $ac_func
45298 /* Override any gcc2 internal prototype to avoid an error. */
45299 #ifdef __cplusplus
45300 extern "C"
45302 #endif
45303 /* We use char because int might match the return type of a gcc2
45304 builtin and then its argument prototype would still apply. */
45305 char $ac_func ();
45306 /* The GNU C library defines this for functions which it implements
45307 to always fail with ENOSYS. Some functions are actually named
45308 something starting with __ and the normal name is an alias. */
45309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45310 choke me
45311 #else
45312 char (*f) () = $ac_func;
45313 #endif
45314 #ifdef __cplusplus
45316 #endif
45319 main ()
45321 return f != $ac_func;
45323 return 0;
45325 _ACEOF
45326 rm -f conftest.$ac_objext conftest$ac_exeext
45327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45328 (eval $ac_link) 2>conftest.er1
45329 ac_status=$?
45330 grep -v '^ *+' conftest.er1 >conftest.err
45331 rm -f conftest.er1
45332 cat conftest.err >&5
45333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45334 (exit $ac_status); } &&
45335 { ac_try='test -z "$ac_c_werror_flag"
45336 || test ! -s conftest.err'
45337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45338 (eval $ac_try) 2>&5
45339 ac_status=$?
45340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45341 (exit $ac_status); }; } &&
45342 { ac_try='test -s conftest$ac_exeext'
45343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45344 (eval $ac_try) 2>&5
45345 ac_status=$?
45346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45347 (exit $ac_status); }; }; then
45348 eval "$as_ac_var=yes"
45349 else
45350 echo "$as_me: failed program was:" >&5
45351 sed 's/^/| /' conftest.$ac_ext >&5
45353 eval "$as_ac_var=no"
45355 rm -f conftest.err conftest.$ac_objext \
45356 conftest$ac_exeext conftest.$ac_ext
45358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45360 if test `eval echo '${'$as_ac_var'}'` = yes; then
45361 cat >>confdefs.h <<_ACEOF
45362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45363 _ACEOF
45366 done
45368 else
45370 echo "$as_me:$LINENO: checking for _logl declaration" >&5
45371 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
45372 if test x${glibcxx_cv_func__logl_use+set} != xset; then
45373 if test "${glibcxx_cv_func__logl_use+set}" = set; then
45374 echo $ECHO_N "(cached) $ECHO_C" >&6
45375 else
45379 ac_ext=cc
45380 ac_cpp='$CXXCPP $CPPFLAGS'
45381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45385 cat >conftest.$ac_ext <<_ACEOF
45386 /* confdefs.h. */
45387 _ACEOF
45388 cat confdefs.h >>conftest.$ac_ext
45389 cat >>conftest.$ac_ext <<_ACEOF
45390 /* end confdefs.h. */
45391 #include <math.h>
45392 #ifdef HAVE_IEEEFP_H
45393 #include <ieeefp.h>
45394 #endif
45397 main ()
45399 _logl(0);
45401 return 0;
45403 _ACEOF
45404 rm -f conftest.$ac_objext
45405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45406 (eval $ac_compile) 2>conftest.er1
45407 ac_status=$?
45408 grep -v '^ *+' conftest.er1 >conftest.err
45409 rm -f conftest.er1
45410 cat conftest.err >&5
45411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45412 (exit $ac_status); } &&
45413 { ac_try='test -z "$ac_cxx_werror_flag"
45414 || test ! -s conftest.err'
45415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45416 (eval $ac_try) 2>&5
45417 ac_status=$?
45418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45419 (exit $ac_status); }; } &&
45420 { ac_try='test -s conftest.$ac_objext'
45421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45422 (eval $ac_try) 2>&5
45423 ac_status=$?
45424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45425 (exit $ac_status); }; }; then
45426 glibcxx_cv_func__logl_use=yes
45427 else
45428 echo "$as_me: failed program was:" >&5
45429 sed 's/^/| /' conftest.$ac_ext >&5
45431 glibcxx_cv_func__logl_use=no
45433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45434 ac_ext=c
45435 ac_cpp='$CPP $CPPFLAGS'
45436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45444 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
45445 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
45447 if test x$glibcxx_cv_func__logl_use = x"yes"; then
45449 for ac_func in _logl
45451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45452 echo "$as_me:$LINENO: checking for $ac_func" >&5
45453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45454 if eval "test \"\${$as_ac_var+set}\" = set"; then
45455 echo $ECHO_N "(cached) $ECHO_C" >&6
45456 else
45457 if test x$gcc_no_link = xyes; then
45458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45460 { (exit 1); exit 1; }; }
45462 cat >conftest.$ac_ext <<_ACEOF
45463 /* confdefs.h. */
45464 _ACEOF
45465 cat confdefs.h >>conftest.$ac_ext
45466 cat >>conftest.$ac_ext <<_ACEOF
45467 /* end confdefs.h. */
45468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45470 #define $ac_func innocuous_$ac_func
45472 /* System header to define __stub macros and hopefully few prototypes,
45473 which can conflict with char $ac_func (); below.
45474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45475 <limits.h> exists even on freestanding compilers. */
45477 #ifdef __STDC__
45478 # include <limits.h>
45479 #else
45480 # include <assert.h>
45481 #endif
45483 #undef $ac_func
45485 /* Override any gcc2 internal prototype to avoid an error. */
45486 #ifdef __cplusplus
45487 extern "C"
45489 #endif
45490 /* We use char because int might match the return type of a gcc2
45491 builtin and then its argument prototype would still apply. */
45492 char $ac_func ();
45493 /* The GNU C library defines this for functions which it implements
45494 to always fail with ENOSYS. Some functions are actually named
45495 something starting with __ and the normal name is an alias. */
45496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45497 choke me
45498 #else
45499 char (*f) () = $ac_func;
45500 #endif
45501 #ifdef __cplusplus
45503 #endif
45506 main ()
45508 return f != $ac_func;
45510 return 0;
45512 _ACEOF
45513 rm -f conftest.$ac_objext conftest$ac_exeext
45514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45515 (eval $ac_link) 2>conftest.er1
45516 ac_status=$?
45517 grep -v '^ *+' conftest.er1 >conftest.err
45518 rm -f conftest.er1
45519 cat conftest.err >&5
45520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45521 (exit $ac_status); } &&
45522 { ac_try='test -z "$ac_c_werror_flag"
45523 || test ! -s conftest.err'
45524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45525 (eval $ac_try) 2>&5
45526 ac_status=$?
45527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45528 (exit $ac_status); }; } &&
45529 { ac_try='test -s conftest$ac_exeext'
45530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45531 (eval $ac_try) 2>&5
45532 ac_status=$?
45533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45534 (exit $ac_status); }; }; then
45535 eval "$as_ac_var=yes"
45536 else
45537 echo "$as_me: failed program was:" >&5
45538 sed 's/^/| /' conftest.$ac_ext >&5
45540 eval "$as_ac_var=no"
45542 rm -f conftest.err conftest.$ac_objext \
45543 conftest$ac_exeext conftest.$ac_ext
45545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45547 if test `eval echo '${'$as_ac_var'}'` = yes; then
45548 cat >>confdefs.h <<_ACEOF
45549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45550 _ACEOF
45553 done
45560 echo "$as_me:$LINENO: checking for log10l declaration" >&5
45561 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
45562 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45563 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
45564 echo $ECHO_N "(cached) $ECHO_C" >&6
45565 else
45569 ac_ext=cc
45570 ac_cpp='$CXXCPP $CPPFLAGS'
45571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45575 cat >conftest.$ac_ext <<_ACEOF
45576 /* confdefs.h. */
45577 _ACEOF
45578 cat confdefs.h >>conftest.$ac_ext
45579 cat >>conftest.$ac_ext <<_ACEOF
45580 /* end confdefs.h. */
45581 #include <math.h>
45582 #ifdef HAVE_IEEEFP_H
45583 #include <ieeefp.h>
45584 #endif
45587 main ()
45589 log10l(0);
45591 return 0;
45593 _ACEOF
45594 rm -f conftest.$ac_objext
45595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45596 (eval $ac_compile) 2>conftest.er1
45597 ac_status=$?
45598 grep -v '^ *+' conftest.er1 >conftest.err
45599 rm -f conftest.er1
45600 cat conftest.err >&5
45601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45602 (exit $ac_status); } &&
45603 { ac_try='test -z "$ac_cxx_werror_flag"
45604 || test ! -s conftest.err'
45605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45606 (eval $ac_try) 2>&5
45607 ac_status=$?
45608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45609 (exit $ac_status); }; } &&
45610 { ac_try='test -s conftest.$ac_objext'
45611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45612 (eval $ac_try) 2>&5
45613 ac_status=$?
45614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45615 (exit $ac_status); }; }; then
45616 glibcxx_cv_func_log10l_use=yes
45617 else
45618 echo "$as_me: failed program was:" >&5
45619 sed 's/^/| /' conftest.$ac_ext >&5
45621 glibcxx_cv_func_log10l_use=no
45623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45624 ac_ext=c
45625 ac_cpp='$CPP $CPPFLAGS'
45626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45634 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
45635 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
45637 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45639 for ac_func in log10l
45641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45642 echo "$as_me:$LINENO: checking for $ac_func" >&5
45643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45644 if eval "test \"\${$as_ac_var+set}\" = set"; then
45645 echo $ECHO_N "(cached) $ECHO_C" >&6
45646 else
45647 if test x$gcc_no_link = xyes; then
45648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45650 { (exit 1); exit 1; }; }
45652 cat >conftest.$ac_ext <<_ACEOF
45653 /* confdefs.h. */
45654 _ACEOF
45655 cat confdefs.h >>conftest.$ac_ext
45656 cat >>conftest.$ac_ext <<_ACEOF
45657 /* end confdefs.h. */
45658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45660 #define $ac_func innocuous_$ac_func
45662 /* System header to define __stub macros and hopefully few prototypes,
45663 which can conflict with char $ac_func (); below.
45664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45665 <limits.h> exists even on freestanding compilers. */
45667 #ifdef __STDC__
45668 # include <limits.h>
45669 #else
45670 # include <assert.h>
45671 #endif
45673 #undef $ac_func
45675 /* Override any gcc2 internal prototype to avoid an error. */
45676 #ifdef __cplusplus
45677 extern "C"
45679 #endif
45680 /* We use char because int might match the return type of a gcc2
45681 builtin and then its argument prototype would still apply. */
45682 char $ac_func ();
45683 /* The GNU C library defines this for functions which it implements
45684 to always fail with ENOSYS. Some functions are actually named
45685 something starting with __ and the normal name is an alias. */
45686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45687 choke me
45688 #else
45689 char (*f) () = $ac_func;
45690 #endif
45691 #ifdef __cplusplus
45693 #endif
45696 main ()
45698 return f != $ac_func;
45700 return 0;
45702 _ACEOF
45703 rm -f conftest.$ac_objext conftest$ac_exeext
45704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45705 (eval $ac_link) 2>conftest.er1
45706 ac_status=$?
45707 grep -v '^ *+' conftest.er1 >conftest.err
45708 rm -f conftest.er1
45709 cat conftest.err >&5
45710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45711 (exit $ac_status); } &&
45712 { ac_try='test -z "$ac_c_werror_flag"
45713 || test ! -s conftest.err'
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); }; } &&
45719 { ac_try='test -s conftest$ac_exeext'
45720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45721 (eval $ac_try) 2>&5
45722 ac_status=$?
45723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45724 (exit $ac_status); }; }; then
45725 eval "$as_ac_var=yes"
45726 else
45727 echo "$as_me: failed program was:" >&5
45728 sed 's/^/| /' conftest.$ac_ext >&5
45730 eval "$as_ac_var=no"
45732 rm -f conftest.err conftest.$ac_objext \
45733 conftest$ac_exeext conftest.$ac_ext
45735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45737 if test `eval echo '${'$as_ac_var'}'` = yes; then
45738 cat >>confdefs.h <<_ACEOF
45739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45740 _ACEOF
45743 done
45745 else
45747 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
45748 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
45749 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45750 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
45751 echo $ECHO_N "(cached) $ECHO_C" >&6
45752 else
45756 ac_ext=cc
45757 ac_cpp='$CXXCPP $CPPFLAGS'
45758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45762 cat >conftest.$ac_ext <<_ACEOF
45763 /* confdefs.h. */
45764 _ACEOF
45765 cat confdefs.h >>conftest.$ac_ext
45766 cat >>conftest.$ac_ext <<_ACEOF
45767 /* end confdefs.h. */
45768 #include <math.h>
45769 #ifdef HAVE_IEEEFP_H
45770 #include <ieeefp.h>
45771 #endif
45774 main ()
45776 _log10l(0);
45778 return 0;
45780 _ACEOF
45781 rm -f conftest.$ac_objext
45782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45783 (eval $ac_compile) 2>conftest.er1
45784 ac_status=$?
45785 grep -v '^ *+' conftest.er1 >conftest.err
45786 rm -f conftest.er1
45787 cat conftest.err >&5
45788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45789 (exit $ac_status); } &&
45790 { ac_try='test -z "$ac_cxx_werror_flag"
45791 || test ! -s conftest.err'
45792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45793 (eval $ac_try) 2>&5
45794 ac_status=$?
45795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45796 (exit $ac_status); }; } &&
45797 { ac_try='test -s conftest.$ac_objext'
45798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45799 (eval $ac_try) 2>&5
45800 ac_status=$?
45801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45802 (exit $ac_status); }; }; then
45803 glibcxx_cv_func__log10l_use=yes
45804 else
45805 echo "$as_me: failed program was:" >&5
45806 sed 's/^/| /' conftest.$ac_ext >&5
45808 glibcxx_cv_func__log10l_use=no
45810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45811 ac_ext=c
45812 ac_cpp='$CPP $CPPFLAGS'
45813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45821 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
45822 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
45824 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45826 for ac_func in _log10l
45828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45829 echo "$as_me:$LINENO: checking for $ac_func" >&5
45830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45831 if eval "test \"\${$as_ac_var+set}\" = set"; then
45832 echo $ECHO_N "(cached) $ECHO_C" >&6
45833 else
45834 if test x$gcc_no_link = xyes; then
45835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45837 { (exit 1); exit 1; }; }
45839 cat >conftest.$ac_ext <<_ACEOF
45840 /* confdefs.h. */
45841 _ACEOF
45842 cat confdefs.h >>conftest.$ac_ext
45843 cat >>conftest.$ac_ext <<_ACEOF
45844 /* end confdefs.h. */
45845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45847 #define $ac_func innocuous_$ac_func
45849 /* System header to define __stub macros and hopefully few prototypes,
45850 which can conflict with char $ac_func (); below.
45851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45852 <limits.h> exists even on freestanding compilers. */
45854 #ifdef __STDC__
45855 # include <limits.h>
45856 #else
45857 # include <assert.h>
45858 #endif
45860 #undef $ac_func
45862 /* Override any gcc2 internal prototype to avoid an error. */
45863 #ifdef __cplusplus
45864 extern "C"
45866 #endif
45867 /* We use char because int might match the return type of a gcc2
45868 builtin and then its argument prototype would still apply. */
45869 char $ac_func ();
45870 /* The GNU C library defines this for functions which it implements
45871 to always fail with ENOSYS. Some functions are actually named
45872 something starting with __ and the normal name is an alias. */
45873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45874 choke me
45875 #else
45876 char (*f) () = $ac_func;
45877 #endif
45878 #ifdef __cplusplus
45880 #endif
45883 main ()
45885 return f != $ac_func;
45887 return 0;
45889 _ACEOF
45890 rm -f conftest.$ac_objext conftest$ac_exeext
45891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45892 (eval $ac_link) 2>conftest.er1
45893 ac_status=$?
45894 grep -v '^ *+' conftest.er1 >conftest.err
45895 rm -f conftest.er1
45896 cat conftest.err >&5
45897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45898 (exit $ac_status); } &&
45899 { ac_try='test -z "$ac_c_werror_flag"
45900 || test ! -s conftest.err'
45901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45902 (eval $ac_try) 2>&5
45903 ac_status=$?
45904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45905 (exit $ac_status); }; } &&
45906 { ac_try='test -s conftest$ac_exeext'
45907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45908 (eval $ac_try) 2>&5
45909 ac_status=$?
45910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45911 (exit $ac_status); }; }; then
45912 eval "$as_ac_var=yes"
45913 else
45914 echo "$as_me: failed program was:" >&5
45915 sed 's/^/| /' conftest.$ac_ext >&5
45917 eval "$as_ac_var=no"
45919 rm -f conftest.err conftest.$ac_objext \
45920 conftest$ac_exeext conftest.$ac_ext
45922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45924 if test `eval echo '${'$as_ac_var'}'` = yes; then
45925 cat >>confdefs.h <<_ACEOF
45926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45927 _ACEOF
45930 done
45937 echo "$as_me:$LINENO: checking for modfl declaration" >&5
45938 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
45939 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45940 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
45941 echo $ECHO_N "(cached) $ECHO_C" >&6
45942 else
45946 ac_ext=cc
45947 ac_cpp='$CXXCPP $CPPFLAGS'
45948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45952 cat >conftest.$ac_ext <<_ACEOF
45953 /* confdefs.h. */
45954 _ACEOF
45955 cat confdefs.h >>conftest.$ac_ext
45956 cat >>conftest.$ac_ext <<_ACEOF
45957 /* end confdefs.h. */
45958 #include <math.h>
45960 main ()
45962 modfl(0, 0);
45964 return 0;
45966 _ACEOF
45967 rm -f conftest.$ac_objext
45968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45969 (eval $ac_compile) 2>conftest.er1
45970 ac_status=$?
45971 grep -v '^ *+' conftest.er1 >conftest.err
45972 rm -f conftest.er1
45973 cat conftest.err >&5
45974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45975 (exit $ac_status); } &&
45976 { ac_try='test -z "$ac_cxx_werror_flag"
45977 || test ! -s conftest.err'
45978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45979 (eval $ac_try) 2>&5
45980 ac_status=$?
45981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45982 (exit $ac_status); }; } &&
45983 { ac_try='test -s conftest.$ac_objext'
45984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45985 (eval $ac_try) 2>&5
45986 ac_status=$?
45987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45988 (exit $ac_status); }; }; then
45989 glibcxx_cv_func_modfl_use=yes
45990 else
45991 echo "$as_me: failed program was:" >&5
45992 sed 's/^/| /' conftest.$ac_ext >&5
45994 glibcxx_cv_func_modfl_use=no
45996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45997 ac_ext=c
45998 ac_cpp='$CPP $CPPFLAGS'
45999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46007 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
46008 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
46010 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46012 for ac_func in modfl
46014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46015 echo "$as_me:$LINENO: checking for $ac_func" >&5
46016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46017 if eval "test \"\${$as_ac_var+set}\" = set"; then
46018 echo $ECHO_N "(cached) $ECHO_C" >&6
46019 else
46020 if test x$gcc_no_link = xyes; then
46021 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46023 { (exit 1); exit 1; }; }
46025 cat >conftest.$ac_ext <<_ACEOF
46026 /* confdefs.h. */
46027 _ACEOF
46028 cat confdefs.h >>conftest.$ac_ext
46029 cat >>conftest.$ac_ext <<_ACEOF
46030 /* end confdefs.h. */
46031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46033 #define $ac_func innocuous_$ac_func
46035 /* System header to define __stub macros and hopefully few prototypes,
46036 which can conflict with char $ac_func (); below.
46037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46038 <limits.h> exists even on freestanding compilers. */
46040 #ifdef __STDC__
46041 # include <limits.h>
46042 #else
46043 # include <assert.h>
46044 #endif
46046 #undef $ac_func
46048 /* Override any gcc2 internal prototype to avoid an error. */
46049 #ifdef __cplusplus
46050 extern "C"
46052 #endif
46053 /* We use char because int might match the return type of a gcc2
46054 builtin and then its argument prototype would still apply. */
46055 char $ac_func ();
46056 /* The GNU C library defines this for functions which it implements
46057 to always fail with ENOSYS. Some functions are actually named
46058 something starting with __ and the normal name is an alias. */
46059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46060 choke me
46061 #else
46062 char (*f) () = $ac_func;
46063 #endif
46064 #ifdef __cplusplus
46066 #endif
46069 main ()
46071 return f != $ac_func;
46073 return 0;
46075 _ACEOF
46076 rm -f conftest.$ac_objext conftest$ac_exeext
46077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46078 (eval $ac_link) 2>conftest.er1
46079 ac_status=$?
46080 grep -v '^ *+' conftest.er1 >conftest.err
46081 rm -f conftest.er1
46082 cat conftest.err >&5
46083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46084 (exit $ac_status); } &&
46085 { ac_try='test -z "$ac_c_werror_flag"
46086 || test ! -s conftest.err'
46087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46088 (eval $ac_try) 2>&5
46089 ac_status=$?
46090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46091 (exit $ac_status); }; } &&
46092 { ac_try='test -s conftest$ac_exeext'
46093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46094 (eval $ac_try) 2>&5
46095 ac_status=$?
46096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46097 (exit $ac_status); }; }; then
46098 eval "$as_ac_var=yes"
46099 else
46100 echo "$as_me: failed program was:" >&5
46101 sed 's/^/| /' conftest.$ac_ext >&5
46103 eval "$as_ac_var=no"
46105 rm -f conftest.err conftest.$ac_objext \
46106 conftest$ac_exeext conftest.$ac_ext
46108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46110 if test `eval echo '${'$as_ac_var'}'` = yes; then
46111 cat >>confdefs.h <<_ACEOF
46112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46113 _ACEOF
46116 done
46118 else
46120 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
46121 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
46122 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46123 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
46124 echo $ECHO_N "(cached) $ECHO_C" >&6
46125 else
46129 ac_ext=cc
46130 ac_cpp='$CXXCPP $CPPFLAGS'
46131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46135 cat >conftest.$ac_ext <<_ACEOF
46136 /* confdefs.h. */
46137 _ACEOF
46138 cat confdefs.h >>conftest.$ac_ext
46139 cat >>conftest.$ac_ext <<_ACEOF
46140 /* end confdefs.h. */
46141 #include <math.h>
46143 main ()
46145 _modfl(0, 0);
46147 return 0;
46149 _ACEOF
46150 rm -f conftest.$ac_objext
46151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46152 (eval $ac_compile) 2>conftest.er1
46153 ac_status=$?
46154 grep -v '^ *+' conftest.er1 >conftest.err
46155 rm -f conftest.er1
46156 cat conftest.err >&5
46157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46158 (exit $ac_status); } &&
46159 { ac_try='test -z "$ac_cxx_werror_flag"
46160 || test ! -s conftest.err'
46161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46162 (eval $ac_try) 2>&5
46163 ac_status=$?
46164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46165 (exit $ac_status); }; } &&
46166 { ac_try='test -s conftest.$ac_objext'
46167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46168 (eval $ac_try) 2>&5
46169 ac_status=$?
46170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46171 (exit $ac_status); }; }; then
46172 glibcxx_cv_func__modfl_use=yes
46173 else
46174 echo "$as_me: failed program was:" >&5
46175 sed 's/^/| /' conftest.$ac_ext >&5
46177 glibcxx_cv_func__modfl_use=no
46179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46180 ac_ext=c
46181 ac_cpp='$CPP $CPPFLAGS'
46182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46190 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
46191 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
46193 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46195 for ac_func in _modfl
46197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46198 echo "$as_me:$LINENO: checking for $ac_func" >&5
46199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46200 if eval "test \"\${$as_ac_var+set}\" = set"; then
46201 echo $ECHO_N "(cached) $ECHO_C" >&6
46202 else
46203 if test x$gcc_no_link = xyes; then
46204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46206 { (exit 1); exit 1; }; }
46208 cat >conftest.$ac_ext <<_ACEOF
46209 /* confdefs.h. */
46210 _ACEOF
46211 cat confdefs.h >>conftest.$ac_ext
46212 cat >>conftest.$ac_ext <<_ACEOF
46213 /* end confdefs.h. */
46214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46216 #define $ac_func innocuous_$ac_func
46218 /* System header to define __stub macros and hopefully few prototypes,
46219 which can conflict with char $ac_func (); below.
46220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46221 <limits.h> exists even on freestanding compilers. */
46223 #ifdef __STDC__
46224 # include <limits.h>
46225 #else
46226 # include <assert.h>
46227 #endif
46229 #undef $ac_func
46231 /* Override any gcc2 internal prototype to avoid an error. */
46232 #ifdef __cplusplus
46233 extern "C"
46235 #endif
46236 /* We use char because int might match the return type of a gcc2
46237 builtin and then its argument prototype would still apply. */
46238 char $ac_func ();
46239 /* The GNU C library defines this for functions which it implements
46240 to always fail with ENOSYS. Some functions are actually named
46241 something starting with __ and the normal name is an alias. */
46242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46243 choke me
46244 #else
46245 char (*f) () = $ac_func;
46246 #endif
46247 #ifdef __cplusplus
46249 #endif
46252 main ()
46254 return f != $ac_func;
46256 return 0;
46258 _ACEOF
46259 rm -f conftest.$ac_objext conftest$ac_exeext
46260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46261 (eval $ac_link) 2>conftest.er1
46262 ac_status=$?
46263 grep -v '^ *+' conftest.er1 >conftest.err
46264 rm -f conftest.er1
46265 cat conftest.err >&5
46266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46267 (exit $ac_status); } &&
46268 { ac_try='test -z "$ac_c_werror_flag"
46269 || test ! -s conftest.err'
46270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46271 (eval $ac_try) 2>&5
46272 ac_status=$?
46273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46274 (exit $ac_status); }; } &&
46275 { ac_try='test -s conftest$ac_exeext'
46276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46277 (eval $ac_try) 2>&5
46278 ac_status=$?
46279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46280 (exit $ac_status); }; }; then
46281 eval "$as_ac_var=yes"
46282 else
46283 echo "$as_me: failed program was:" >&5
46284 sed 's/^/| /' conftest.$ac_ext >&5
46286 eval "$as_ac_var=no"
46288 rm -f conftest.err conftest.$ac_objext \
46289 conftest$ac_exeext conftest.$ac_ext
46291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46293 if test `eval echo '${'$as_ac_var'}'` = yes; then
46294 cat >>confdefs.h <<_ACEOF
46295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46296 _ACEOF
46299 done
46306 echo "$as_me:$LINENO: checking for powl declaration" >&5
46307 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
46308 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46309 if test "${glibcxx_cv_func_powl_use+set}" = set; then
46310 echo $ECHO_N "(cached) $ECHO_C" >&6
46311 else
46315 ac_ext=cc
46316 ac_cpp='$CXXCPP $CPPFLAGS'
46317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46321 cat >conftest.$ac_ext <<_ACEOF
46322 /* confdefs.h. */
46323 _ACEOF
46324 cat confdefs.h >>conftest.$ac_ext
46325 cat >>conftest.$ac_ext <<_ACEOF
46326 /* end confdefs.h. */
46327 #include <math.h>
46329 main ()
46331 powl(0, 0);
46333 return 0;
46335 _ACEOF
46336 rm -f conftest.$ac_objext
46337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46338 (eval $ac_compile) 2>conftest.er1
46339 ac_status=$?
46340 grep -v '^ *+' conftest.er1 >conftest.err
46341 rm -f conftest.er1
46342 cat conftest.err >&5
46343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46344 (exit $ac_status); } &&
46345 { ac_try='test -z "$ac_cxx_werror_flag"
46346 || test ! -s conftest.err'
46347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46348 (eval $ac_try) 2>&5
46349 ac_status=$?
46350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46351 (exit $ac_status); }; } &&
46352 { ac_try='test -s conftest.$ac_objext'
46353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46354 (eval $ac_try) 2>&5
46355 ac_status=$?
46356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46357 (exit $ac_status); }; }; then
46358 glibcxx_cv_func_powl_use=yes
46359 else
46360 echo "$as_me: failed program was:" >&5
46361 sed 's/^/| /' conftest.$ac_ext >&5
46363 glibcxx_cv_func_powl_use=no
46365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46366 ac_ext=c
46367 ac_cpp='$CPP $CPPFLAGS'
46368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46376 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
46377 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
46379 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46381 for ac_func in powl
46383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46384 echo "$as_me:$LINENO: checking for $ac_func" >&5
46385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46386 if eval "test \"\${$as_ac_var+set}\" = set"; then
46387 echo $ECHO_N "(cached) $ECHO_C" >&6
46388 else
46389 if test x$gcc_no_link = xyes; then
46390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46392 { (exit 1); exit 1; }; }
46394 cat >conftest.$ac_ext <<_ACEOF
46395 /* confdefs.h. */
46396 _ACEOF
46397 cat confdefs.h >>conftest.$ac_ext
46398 cat >>conftest.$ac_ext <<_ACEOF
46399 /* end confdefs.h. */
46400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46402 #define $ac_func innocuous_$ac_func
46404 /* System header to define __stub macros and hopefully few prototypes,
46405 which can conflict with char $ac_func (); below.
46406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46407 <limits.h> exists even on freestanding compilers. */
46409 #ifdef __STDC__
46410 # include <limits.h>
46411 #else
46412 # include <assert.h>
46413 #endif
46415 #undef $ac_func
46417 /* Override any gcc2 internal prototype to avoid an error. */
46418 #ifdef __cplusplus
46419 extern "C"
46421 #endif
46422 /* We use char because int might match the return type of a gcc2
46423 builtin and then its argument prototype would still apply. */
46424 char $ac_func ();
46425 /* The GNU C library defines this for functions which it implements
46426 to always fail with ENOSYS. Some functions are actually named
46427 something starting with __ and the normal name is an alias. */
46428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46429 choke me
46430 #else
46431 char (*f) () = $ac_func;
46432 #endif
46433 #ifdef __cplusplus
46435 #endif
46438 main ()
46440 return f != $ac_func;
46442 return 0;
46444 _ACEOF
46445 rm -f conftest.$ac_objext conftest$ac_exeext
46446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46447 (eval $ac_link) 2>conftest.er1
46448 ac_status=$?
46449 grep -v '^ *+' conftest.er1 >conftest.err
46450 rm -f conftest.er1
46451 cat conftest.err >&5
46452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46453 (exit $ac_status); } &&
46454 { ac_try='test -z "$ac_c_werror_flag"
46455 || test ! -s conftest.err'
46456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46457 (eval $ac_try) 2>&5
46458 ac_status=$?
46459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46460 (exit $ac_status); }; } &&
46461 { ac_try='test -s conftest$ac_exeext'
46462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46463 (eval $ac_try) 2>&5
46464 ac_status=$?
46465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46466 (exit $ac_status); }; }; then
46467 eval "$as_ac_var=yes"
46468 else
46469 echo "$as_me: failed program was:" >&5
46470 sed 's/^/| /' conftest.$ac_ext >&5
46472 eval "$as_ac_var=no"
46474 rm -f conftest.err conftest.$ac_objext \
46475 conftest$ac_exeext conftest.$ac_ext
46477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46479 if test `eval echo '${'$as_ac_var'}'` = yes; then
46480 cat >>confdefs.h <<_ACEOF
46481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46482 _ACEOF
46485 done
46487 else
46489 echo "$as_me:$LINENO: checking for _powl declaration" >&5
46490 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
46491 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46492 if test "${glibcxx_cv_func__powl_use+set}" = set; then
46493 echo $ECHO_N "(cached) $ECHO_C" >&6
46494 else
46498 ac_ext=cc
46499 ac_cpp='$CXXCPP $CPPFLAGS'
46500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46504 cat >conftest.$ac_ext <<_ACEOF
46505 /* confdefs.h. */
46506 _ACEOF
46507 cat confdefs.h >>conftest.$ac_ext
46508 cat >>conftest.$ac_ext <<_ACEOF
46509 /* end confdefs.h. */
46510 #include <math.h>
46512 main ()
46514 _powl(0, 0);
46516 return 0;
46518 _ACEOF
46519 rm -f conftest.$ac_objext
46520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46521 (eval $ac_compile) 2>conftest.er1
46522 ac_status=$?
46523 grep -v '^ *+' conftest.er1 >conftest.err
46524 rm -f conftest.er1
46525 cat conftest.err >&5
46526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46527 (exit $ac_status); } &&
46528 { ac_try='test -z "$ac_cxx_werror_flag"
46529 || test ! -s conftest.err'
46530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46531 (eval $ac_try) 2>&5
46532 ac_status=$?
46533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46534 (exit $ac_status); }; } &&
46535 { ac_try='test -s conftest.$ac_objext'
46536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46537 (eval $ac_try) 2>&5
46538 ac_status=$?
46539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46540 (exit $ac_status); }; }; then
46541 glibcxx_cv_func__powl_use=yes
46542 else
46543 echo "$as_me: failed program was:" >&5
46544 sed 's/^/| /' conftest.$ac_ext >&5
46546 glibcxx_cv_func__powl_use=no
46548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46549 ac_ext=c
46550 ac_cpp='$CPP $CPPFLAGS'
46551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46559 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
46560 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
46562 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46564 for ac_func in _powl
46566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46567 echo "$as_me:$LINENO: checking for $ac_func" >&5
46568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46569 if eval "test \"\${$as_ac_var+set}\" = set"; then
46570 echo $ECHO_N "(cached) $ECHO_C" >&6
46571 else
46572 if test x$gcc_no_link = xyes; then
46573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46575 { (exit 1); exit 1; }; }
46577 cat >conftest.$ac_ext <<_ACEOF
46578 /* confdefs.h. */
46579 _ACEOF
46580 cat confdefs.h >>conftest.$ac_ext
46581 cat >>conftest.$ac_ext <<_ACEOF
46582 /* end confdefs.h. */
46583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46585 #define $ac_func innocuous_$ac_func
46587 /* System header to define __stub macros and hopefully few prototypes,
46588 which can conflict with char $ac_func (); below.
46589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46590 <limits.h> exists even on freestanding compilers. */
46592 #ifdef __STDC__
46593 # include <limits.h>
46594 #else
46595 # include <assert.h>
46596 #endif
46598 #undef $ac_func
46600 /* Override any gcc2 internal prototype to avoid an error. */
46601 #ifdef __cplusplus
46602 extern "C"
46604 #endif
46605 /* We use char because int might match the return type of a gcc2
46606 builtin and then its argument prototype would still apply. */
46607 char $ac_func ();
46608 /* The GNU C library defines this for functions which it implements
46609 to always fail with ENOSYS. Some functions are actually named
46610 something starting with __ and the normal name is an alias. */
46611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46612 choke me
46613 #else
46614 char (*f) () = $ac_func;
46615 #endif
46616 #ifdef __cplusplus
46618 #endif
46621 main ()
46623 return f != $ac_func;
46625 return 0;
46627 _ACEOF
46628 rm -f conftest.$ac_objext conftest$ac_exeext
46629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46630 (eval $ac_link) 2>conftest.er1
46631 ac_status=$?
46632 grep -v '^ *+' conftest.er1 >conftest.err
46633 rm -f conftest.er1
46634 cat conftest.err >&5
46635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46636 (exit $ac_status); } &&
46637 { ac_try='test -z "$ac_c_werror_flag"
46638 || test ! -s conftest.err'
46639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46640 (eval $ac_try) 2>&5
46641 ac_status=$?
46642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46643 (exit $ac_status); }; } &&
46644 { ac_try='test -s conftest$ac_exeext'
46645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46646 (eval $ac_try) 2>&5
46647 ac_status=$?
46648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46649 (exit $ac_status); }; }; then
46650 eval "$as_ac_var=yes"
46651 else
46652 echo "$as_me: failed program was:" >&5
46653 sed 's/^/| /' conftest.$ac_ext >&5
46655 eval "$as_ac_var=no"
46657 rm -f conftest.err conftest.$ac_objext \
46658 conftest$ac_exeext conftest.$ac_ext
46660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46662 if test `eval echo '${'$as_ac_var'}'` = yes; then
46663 cat >>confdefs.h <<_ACEOF
46664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46665 _ACEOF
46668 done
46675 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
46676 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
46677 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46678 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
46679 echo $ECHO_N "(cached) $ECHO_C" >&6
46680 else
46684 ac_ext=cc
46685 ac_cpp='$CXXCPP $CPPFLAGS'
46686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46690 cat >conftest.$ac_ext <<_ACEOF
46691 /* confdefs.h. */
46692 _ACEOF
46693 cat confdefs.h >>conftest.$ac_ext
46694 cat >>conftest.$ac_ext <<_ACEOF
46695 /* end confdefs.h. */
46696 #include <math.h>
46697 #ifdef HAVE_IEEEFP_H
46698 #include <ieeefp.h>
46699 #endif
46702 main ()
46704 sqrtl(0);
46706 return 0;
46708 _ACEOF
46709 rm -f conftest.$ac_objext
46710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46711 (eval $ac_compile) 2>conftest.er1
46712 ac_status=$?
46713 grep -v '^ *+' conftest.er1 >conftest.err
46714 rm -f conftest.er1
46715 cat conftest.err >&5
46716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46717 (exit $ac_status); } &&
46718 { ac_try='test -z "$ac_cxx_werror_flag"
46719 || test ! -s conftest.err'
46720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46721 (eval $ac_try) 2>&5
46722 ac_status=$?
46723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46724 (exit $ac_status); }; } &&
46725 { ac_try='test -s conftest.$ac_objext'
46726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46727 (eval $ac_try) 2>&5
46728 ac_status=$?
46729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46730 (exit $ac_status); }; }; then
46731 glibcxx_cv_func_sqrtl_use=yes
46732 else
46733 echo "$as_me: failed program was:" >&5
46734 sed 's/^/| /' conftest.$ac_ext >&5
46736 glibcxx_cv_func_sqrtl_use=no
46738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46739 ac_ext=c
46740 ac_cpp='$CPP $CPPFLAGS'
46741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46749 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
46750 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
46752 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46754 for ac_func in sqrtl
46756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46757 echo "$as_me:$LINENO: checking for $ac_func" >&5
46758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46759 if eval "test \"\${$as_ac_var+set}\" = set"; then
46760 echo $ECHO_N "(cached) $ECHO_C" >&6
46761 else
46762 if test x$gcc_no_link = xyes; then
46763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46765 { (exit 1); exit 1; }; }
46767 cat >conftest.$ac_ext <<_ACEOF
46768 /* confdefs.h. */
46769 _ACEOF
46770 cat confdefs.h >>conftest.$ac_ext
46771 cat >>conftest.$ac_ext <<_ACEOF
46772 /* end confdefs.h. */
46773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46775 #define $ac_func innocuous_$ac_func
46777 /* System header to define __stub macros and hopefully few prototypes,
46778 which can conflict with char $ac_func (); below.
46779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46780 <limits.h> exists even on freestanding compilers. */
46782 #ifdef __STDC__
46783 # include <limits.h>
46784 #else
46785 # include <assert.h>
46786 #endif
46788 #undef $ac_func
46790 /* Override any gcc2 internal prototype to avoid an error. */
46791 #ifdef __cplusplus
46792 extern "C"
46794 #endif
46795 /* We use char because int might match the return type of a gcc2
46796 builtin and then its argument prototype would still apply. */
46797 char $ac_func ();
46798 /* The GNU C library defines this for functions which it implements
46799 to always fail with ENOSYS. Some functions are actually named
46800 something starting with __ and the normal name is an alias. */
46801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46802 choke me
46803 #else
46804 char (*f) () = $ac_func;
46805 #endif
46806 #ifdef __cplusplus
46808 #endif
46811 main ()
46813 return f != $ac_func;
46815 return 0;
46817 _ACEOF
46818 rm -f conftest.$ac_objext conftest$ac_exeext
46819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46820 (eval $ac_link) 2>conftest.er1
46821 ac_status=$?
46822 grep -v '^ *+' conftest.er1 >conftest.err
46823 rm -f conftest.er1
46824 cat conftest.err >&5
46825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46826 (exit $ac_status); } &&
46827 { ac_try='test -z "$ac_c_werror_flag"
46828 || test ! -s conftest.err'
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); }; } &&
46834 { ac_try='test -s conftest$ac_exeext'
46835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46836 (eval $ac_try) 2>&5
46837 ac_status=$?
46838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46839 (exit $ac_status); }; }; then
46840 eval "$as_ac_var=yes"
46841 else
46842 echo "$as_me: failed program was:" >&5
46843 sed 's/^/| /' conftest.$ac_ext >&5
46845 eval "$as_ac_var=no"
46847 rm -f conftest.err conftest.$ac_objext \
46848 conftest$ac_exeext conftest.$ac_ext
46850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46852 if test `eval echo '${'$as_ac_var'}'` = yes; then
46853 cat >>confdefs.h <<_ACEOF
46854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46855 _ACEOF
46858 done
46860 else
46862 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
46863 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
46864 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46865 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
46866 echo $ECHO_N "(cached) $ECHO_C" >&6
46867 else
46871 ac_ext=cc
46872 ac_cpp='$CXXCPP $CPPFLAGS'
46873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46877 cat >conftest.$ac_ext <<_ACEOF
46878 /* confdefs.h. */
46879 _ACEOF
46880 cat confdefs.h >>conftest.$ac_ext
46881 cat >>conftest.$ac_ext <<_ACEOF
46882 /* end confdefs.h. */
46883 #include <math.h>
46884 #ifdef HAVE_IEEEFP_H
46885 #include <ieeefp.h>
46886 #endif
46889 main ()
46891 _sqrtl(0);
46893 return 0;
46895 _ACEOF
46896 rm -f conftest.$ac_objext
46897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46898 (eval $ac_compile) 2>conftest.er1
46899 ac_status=$?
46900 grep -v '^ *+' conftest.er1 >conftest.err
46901 rm -f conftest.er1
46902 cat conftest.err >&5
46903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46904 (exit $ac_status); } &&
46905 { ac_try='test -z "$ac_cxx_werror_flag"
46906 || test ! -s conftest.err'
46907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46908 (eval $ac_try) 2>&5
46909 ac_status=$?
46910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46911 (exit $ac_status); }; } &&
46912 { ac_try='test -s conftest.$ac_objext'
46913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46914 (eval $ac_try) 2>&5
46915 ac_status=$?
46916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46917 (exit $ac_status); }; }; then
46918 glibcxx_cv_func__sqrtl_use=yes
46919 else
46920 echo "$as_me: failed program was:" >&5
46921 sed 's/^/| /' conftest.$ac_ext >&5
46923 glibcxx_cv_func__sqrtl_use=no
46925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46926 ac_ext=c
46927 ac_cpp='$CPP $CPPFLAGS'
46928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46936 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
46937 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
46939 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46941 for ac_func in _sqrtl
46943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46944 echo "$as_me:$LINENO: checking for $ac_func" >&5
46945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46946 if eval "test \"\${$as_ac_var+set}\" = set"; then
46947 echo $ECHO_N "(cached) $ECHO_C" >&6
46948 else
46949 if test x$gcc_no_link = xyes; then
46950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46952 { (exit 1); exit 1; }; }
46954 cat >conftest.$ac_ext <<_ACEOF
46955 /* confdefs.h. */
46956 _ACEOF
46957 cat confdefs.h >>conftest.$ac_ext
46958 cat >>conftest.$ac_ext <<_ACEOF
46959 /* end confdefs.h. */
46960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46962 #define $ac_func innocuous_$ac_func
46964 /* System header to define __stub macros and hopefully few prototypes,
46965 which can conflict with char $ac_func (); below.
46966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46967 <limits.h> exists even on freestanding compilers. */
46969 #ifdef __STDC__
46970 # include <limits.h>
46971 #else
46972 # include <assert.h>
46973 #endif
46975 #undef $ac_func
46977 /* Override any gcc2 internal prototype to avoid an error. */
46978 #ifdef __cplusplus
46979 extern "C"
46981 #endif
46982 /* We use char because int might match the return type of a gcc2
46983 builtin and then its argument prototype would still apply. */
46984 char $ac_func ();
46985 /* The GNU C library defines this for functions which it implements
46986 to always fail with ENOSYS. Some functions are actually named
46987 something starting with __ and the normal name is an alias. */
46988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46989 choke me
46990 #else
46991 char (*f) () = $ac_func;
46992 #endif
46993 #ifdef __cplusplus
46995 #endif
46998 main ()
47000 return f != $ac_func;
47002 return 0;
47004 _ACEOF
47005 rm -f conftest.$ac_objext conftest$ac_exeext
47006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47007 (eval $ac_link) 2>conftest.er1
47008 ac_status=$?
47009 grep -v '^ *+' conftest.er1 >conftest.err
47010 rm -f conftest.er1
47011 cat conftest.err >&5
47012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47013 (exit $ac_status); } &&
47014 { ac_try='test -z "$ac_c_werror_flag"
47015 || test ! -s conftest.err'
47016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47017 (eval $ac_try) 2>&5
47018 ac_status=$?
47019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47020 (exit $ac_status); }; } &&
47021 { ac_try='test -s conftest$ac_exeext'
47022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47023 (eval $ac_try) 2>&5
47024 ac_status=$?
47025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47026 (exit $ac_status); }; }; then
47027 eval "$as_ac_var=yes"
47028 else
47029 echo "$as_me: failed program was:" >&5
47030 sed 's/^/| /' conftest.$ac_ext >&5
47032 eval "$as_ac_var=no"
47034 rm -f conftest.err conftest.$ac_objext \
47035 conftest$ac_exeext conftest.$ac_ext
47037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47039 if test `eval echo '${'$as_ac_var'}'` = yes; then
47040 cat >>confdefs.h <<_ACEOF
47041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47042 _ACEOF
47045 done
47052 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
47053 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
47054 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
47055 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
47056 echo $ECHO_N "(cached) $ECHO_C" >&6
47057 else
47061 ac_ext=cc
47062 ac_cpp='$CXXCPP $CPPFLAGS'
47063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47067 cat >conftest.$ac_ext <<_ACEOF
47068 /* confdefs.h. */
47069 _ACEOF
47070 cat confdefs.h >>conftest.$ac_ext
47071 cat >>conftest.$ac_ext <<_ACEOF
47072 /* end confdefs.h. */
47073 #include <math.h>
47075 main ()
47077 sincosl(0, 0, 0);
47079 return 0;
47081 _ACEOF
47082 rm -f conftest.$ac_objext
47083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47084 (eval $ac_compile) 2>conftest.er1
47085 ac_status=$?
47086 grep -v '^ *+' conftest.er1 >conftest.err
47087 rm -f conftest.er1
47088 cat conftest.err >&5
47089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47090 (exit $ac_status); } &&
47091 { ac_try='test -z "$ac_cxx_werror_flag"
47092 || test ! -s conftest.err'
47093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47094 (eval $ac_try) 2>&5
47095 ac_status=$?
47096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47097 (exit $ac_status); }; } &&
47098 { ac_try='test -s conftest.$ac_objext'
47099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47100 (eval $ac_try) 2>&5
47101 ac_status=$?
47102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47103 (exit $ac_status); }; }; then
47104 glibcxx_cv_func_sincosl_use=yes
47105 else
47106 echo "$as_me: failed program was:" >&5
47107 sed 's/^/| /' conftest.$ac_ext >&5
47109 glibcxx_cv_func_sincosl_use=no
47111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47112 ac_ext=c
47113 ac_cpp='$CPP $CPPFLAGS'
47114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47122 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
47123 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
47125 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
47127 for ac_func in sincosl
47129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47130 echo "$as_me:$LINENO: checking for $ac_func" >&5
47131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47132 if eval "test \"\${$as_ac_var+set}\" = set"; then
47133 echo $ECHO_N "(cached) $ECHO_C" >&6
47134 else
47135 if test x$gcc_no_link = xyes; then
47136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47138 { (exit 1); exit 1; }; }
47140 cat >conftest.$ac_ext <<_ACEOF
47141 /* confdefs.h. */
47142 _ACEOF
47143 cat confdefs.h >>conftest.$ac_ext
47144 cat >>conftest.$ac_ext <<_ACEOF
47145 /* end confdefs.h. */
47146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47148 #define $ac_func innocuous_$ac_func
47150 /* System header to define __stub macros and hopefully few prototypes,
47151 which can conflict with char $ac_func (); below.
47152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47153 <limits.h> exists even on freestanding compilers. */
47155 #ifdef __STDC__
47156 # include <limits.h>
47157 #else
47158 # include <assert.h>
47159 #endif
47161 #undef $ac_func
47163 /* Override any gcc2 internal prototype to avoid an error. */
47164 #ifdef __cplusplus
47165 extern "C"
47167 #endif
47168 /* We use char because int might match the return type of a gcc2
47169 builtin and then its argument prototype would still apply. */
47170 char $ac_func ();
47171 /* The GNU C library defines this for functions which it implements
47172 to always fail with ENOSYS. Some functions are actually named
47173 something starting with __ and the normal name is an alias. */
47174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47175 choke me
47176 #else
47177 char (*f) () = $ac_func;
47178 #endif
47179 #ifdef __cplusplus
47181 #endif
47184 main ()
47186 return f != $ac_func;
47188 return 0;
47190 _ACEOF
47191 rm -f conftest.$ac_objext conftest$ac_exeext
47192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47193 (eval $ac_link) 2>conftest.er1
47194 ac_status=$?
47195 grep -v '^ *+' conftest.er1 >conftest.err
47196 rm -f conftest.er1
47197 cat conftest.err >&5
47198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47199 (exit $ac_status); } &&
47200 { ac_try='test -z "$ac_c_werror_flag"
47201 || test ! -s conftest.err'
47202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47203 (eval $ac_try) 2>&5
47204 ac_status=$?
47205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47206 (exit $ac_status); }; } &&
47207 { ac_try='test -s conftest$ac_exeext'
47208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47209 (eval $ac_try) 2>&5
47210 ac_status=$?
47211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47212 (exit $ac_status); }; }; then
47213 eval "$as_ac_var=yes"
47214 else
47215 echo "$as_me: failed program was:" >&5
47216 sed 's/^/| /' conftest.$ac_ext >&5
47218 eval "$as_ac_var=no"
47220 rm -f conftest.err conftest.$ac_objext \
47221 conftest$ac_exeext conftest.$ac_ext
47223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47225 if test `eval echo '${'$as_ac_var'}'` = yes; then
47226 cat >>confdefs.h <<_ACEOF
47227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47228 _ACEOF
47231 done
47233 else
47235 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
47236 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
47237 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
47238 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
47239 echo $ECHO_N "(cached) $ECHO_C" >&6
47240 else
47244 ac_ext=cc
47245 ac_cpp='$CXXCPP $CPPFLAGS'
47246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47250 cat >conftest.$ac_ext <<_ACEOF
47251 /* confdefs.h. */
47252 _ACEOF
47253 cat confdefs.h >>conftest.$ac_ext
47254 cat >>conftest.$ac_ext <<_ACEOF
47255 /* end confdefs.h. */
47256 #include <math.h>
47258 main ()
47260 _sincosl(0, 0, 0);
47262 return 0;
47264 _ACEOF
47265 rm -f conftest.$ac_objext
47266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47267 (eval $ac_compile) 2>conftest.er1
47268 ac_status=$?
47269 grep -v '^ *+' conftest.er1 >conftest.err
47270 rm -f conftest.er1
47271 cat conftest.err >&5
47272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47273 (exit $ac_status); } &&
47274 { ac_try='test -z "$ac_cxx_werror_flag"
47275 || test ! -s conftest.err'
47276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47277 (eval $ac_try) 2>&5
47278 ac_status=$?
47279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47280 (exit $ac_status); }; } &&
47281 { ac_try='test -s conftest.$ac_objext'
47282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47283 (eval $ac_try) 2>&5
47284 ac_status=$?
47285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47286 (exit $ac_status); }; }; then
47287 glibcxx_cv_func__sincosl_use=yes
47288 else
47289 echo "$as_me: failed program was:" >&5
47290 sed 's/^/| /' conftest.$ac_ext >&5
47292 glibcxx_cv_func__sincosl_use=no
47294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47295 ac_ext=c
47296 ac_cpp='$CPP $CPPFLAGS'
47297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47305 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
47306 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
47308 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47310 for ac_func in _sincosl
47312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47313 echo "$as_me:$LINENO: checking for $ac_func" >&5
47314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47315 if eval "test \"\${$as_ac_var+set}\" = set"; then
47316 echo $ECHO_N "(cached) $ECHO_C" >&6
47317 else
47318 if test x$gcc_no_link = xyes; then
47319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47321 { (exit 1); exit 1; }; }
47323 cat >conftest.$ac_ext <<_ACEOF
47324 /* confdefs.h. */
47325 _ACEOF
47326 cat confdefs.h >>conftest.$ac_ext
47327 cat >>conftest.$ac_ext <<_ACEOF
47328 /* end confdefs.h. */
47329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47331 #define $ac_func innocuous_$ac_func
47333 /* System header to define __stub macros and hopefully few prototypes,
47334 which can conflict with char $ac_func (); below.
47335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47336 <limits.h> exists even on freestanding compilers. */
47338 #ifdef __STDC__
47339 # include <limits.h>
47340 #else
47341 # include <assert.h>
47342 #endif
47344 #undef $ac_func
47346 /* Override any gcc2 internal prototype to avoid an error. */
47347 #ifdef __cplusplus
47348 extern "C"
47350 #endif
47351 /* We use char because int might match the return type of a gcc2
47352 builtin and then its argument prototype would still apply. */
47353 char $ac_func ();
47354 /* The GNU C library defines this for functions which it implements
47355 to always fail with ENOSYS. Some functions are actually named
47356 something starting with __ and the normal name is an alias. */
47357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47358 choke me
47359 #else
47360 char (*f) () = $ac_func;
47361 #endif
47362 #ifdef __cplusplus
47364 #endif
47367 main ()
47369 return f != $ac_func;
47371 return 0;
47373 _ACEOF
47374 rm -f conftest.$ac_objext conftest$ac_exeext
47375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47376 (eval $ac_link) 2>conftest.er1
47377 ac_status=$?
47378 grep -v '^ *+' conftest.er1 >conftest.err
47379 rm -f conftest.er1
47380 cat conftest.err >&5
47381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47382 (exit $ac_status); } &&
47383 { ac_try='test -z "$ac_c_werror_flag"
47384 || test ! -s conftest.err'
47385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47386 (eval $ac_try) 2>&5
47387 ac_status=$?
47388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47389 (exit $ac_status); }; } &&
47390 { ac_try='test -s conftest$ac_exeext'
47391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47392 (eval $ac_try) 2>&5
47393 ac_status=$?
47394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47395 (exit $ac_status); }; }; then
47396 eval "$as_ac_var=yes"
47397 else
47398 echo "$as_me: failed program was:" >&5
47399 sed 's/^/| /' conftest.$ac_ext >&5
47401 eval "$as_ac_var=no"
47403 rm -f conftest.err conftest.$ac_objext \
47404 conftest$ac_exeext conftest.$ac_ext
47406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47408 if test `eval echo '${'$as_ac_var'}'` = yes; then
47409 cat >>confdefs.h <<_ACEOF
47410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47411 _ACEOF
47414 done
47421 echo "$as_me:$LINENO: checking for finitel declaration" >&5
47422 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
47423 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47424 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
47425 echo $ECHO_N "(cached) $ECHO_C" >&6
47426 else
47430 ac_ext=cc
47431 ac_cpp='$CXXCPP $CPPFLAGS'
47432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47436 cat >conftest.$ac_ext <<_ACEOF
47437 /* confdefs.h. */
47438 _ACEOF
47439 cat confdefs.h >>conftest.$ac_ext
47440 cat >>conftest.$ac_ext <<_ACEOF
47441 /* end confdefs.h. */
47442 #include <math.h>
47443 #ifdef HAVE_IEEEFP_H
47444 #include <ieeefp.h>
47445 #endif
47448 main ()
47450 finitel(0);
47452 return 0;
47454 _ACEOF
47455 rm -f conftest.$ac_objext
47456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47457 (eval $ac_compile) 2>conftest.er1
47458 ac_status=$?
47459 grep -v '^ *+' conftest.er1 >conftest.err
47460 rm -f conftest.er1
47461 cat conftest.err >&5
47462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47463 (exit $ac_status); } &&
47464 { ac_try='test -z "$ac_cxx_werror_flag"
47465 || test ! -s conftest.err'
47466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47467 (eval $ac_try) 2>&5
47468 ac_status=$?
47469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47470 (exit $ac_status); }; } &&
47471 { ac_try='test -s conftest.$ac_objext'
47472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47473 (eval $ac_try) 2>&5
47474 ac_status=$?
47475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47476 (exit $ac_status); }; }; then
47477 glibcxx_cv_func_finitel_use=yes
47478 else
47479 echo "$as_me: failed program was:" >&5
47480 sed 's/^/| /' conftest.$ac_ext >&5
47482 glibcxx_cv_func_finitel_use=no
47484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47485 ac_ext=c
47486 ac_cpp='$CPP $CPPFLAGS'
47487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47495 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
47496 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
47498 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47500 for ac_func in finitel
47502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47503 echo "$as_me:$LINENO: checking for $ac_func" >&5
47504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47505 if eval "test \"\${$as_ac_var+set}\" = set"; then
47506 echo $ECHO_N "(cached) $ECHO_C" >&6
47507 else
47508 if test x$gcc_no_link = xyes; then
47509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47511 { (exit 1); exit 1; }; }
47513 cat >conftest.$ac_ext <<_ACEOF
47514 /* confdefs.h. */
47515 _ACEOF
47516 cat confdefs.h >>conftest.$ac_ext
47517 cat >>conftest.$ac_ext <<_ACEOF
47518 /* end confdefs.h. */
47519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47521 #define $ac_func innocuous_$ac_func
47523 /* System header to define __stub macros and hopefully few prototypes,
47524 which can conflict with char $ac_func (); below.
47525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47526 <limits.h> exists even on freestanding compilers. */
47528 #ifdef __STDC__
47529 # include <limits.h>
47530 #else
47531 # include <assert.h>
47532 #endif
47534 #undef $ac_func
47536 /* Override any gcc2 internal prototype to avoid an error. */
47537 #ifdef __cplusplus
47538 extern "C"
47540 #endif
47541 /* We use char because int might match the return type of a gcc2
47542 builtin and then its argument prototype would still apply. */
47543 char $ac_func ();
47544 /* The GNU C library defines this for functions which it implements
47545 to always fail with ENOSYS. Some functions are actually named
47546 something starting with __ and the normal name is an alias. */
47547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47548 choke me
47549 #else
47550 char (*f) () = $ac_func;
47551 #endif
47552 #ifdef __cplusplus
47554 #endif
47557 main ()
47559 return f != $ac_func;
47561 return 0;
47563 _ACEOF
47564 rm -f conftest.$ac_objext conftest$ac_exeext
47565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47566 (eval $ac_link) 2>conftest.er1
47567 ac_status=$?
47568 grep -v '^ *+' conftest.er1 >conftest.err
47569 rm -f conftest.er1
47570 cat conftest.err >&5
47571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47572 (exit $ac_status); } &&
47573 { ac_try='test -z "$ac_c_werror_flag"
47574 || test ! -s conftest.err'
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); }; } &&
47580 { ac_try='test -s conftest$ac_exeext'
47581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47582 (eval $ac_try) 2>&5
47583 ac_status=$?
47584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47585 (exit $ac_status); }; }; then
47586 eval "$as_ac_var=yes"
47587 else
47588 echo "$as_me: failed program was:" >&5
47589 sed 's/^/| /' conftest.$ac_ext >&5
47591 eval "$as_ac_var=no"
47593 rm -f conftest.err conftest.$ac_objext \
47594 conftest$ac_exeext conftest.$ac_ext
47596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47598 if test `eval echo '${'$as_ac_var'}'` = yes; then
47599 cat >>confdefs.h <<_ACEOF
47600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47601 _ACEOF
47604 done
47606 else
47608 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
47609 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
47610 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47611 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
47612 echo $ECHO_N "(cached) $ECHO_C" >&6
47613 else
47617 ac_ext=cc
47618 ac_cpp='$CXXCPP $CPPFLAGS'
47619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47623 cat >conftest.$ac_ext <<_ACEOF
47624 /* confdefs.h. */
47625 _ACEOF
47626 cat confdefs.h >>conftest.$ac_ext
47627 cat >>conftest.$ac_ext <<_ACEOF
47628 /* end confdefs.h. */
47629 #include <math.h>
47630 #ifdef HAVE_IEEEFP_H
47631 #include <ieeefp.h>
47632 #endif
47635 main ()
47637 _finitel(0);
47639 return 0;
47641 _ACEOF
47642 rm -f conftest.$ac_objext
47643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47644 (eval $ac_compile) 2>conftest.er1
47645 ac_status=$?
47646 grep -v '^ *+' conftest.er1 >conftest.err
47647 rm -f conftest.er1
47648 cat conftest.err >&5
47649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47650 (exit $ac_status); } &&
47651 { ac_try='test -z "$ac_cxx_werror_flag"
47652 || test ! -s conftest.err'
47653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47654 (eval $ac_try) 2>&5
47655 ac_status=$?
47656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47657 (exit $ac_status); }; } &&
47658 { ac_try='test -s conftest.$ac_objext'
47659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47660 (eval $ac_try) 2>&5
47661 ac_status=$?
47662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47663 (exit $ac_status); }; }; then
47664 glibcxx_cv_func__finitel_use=yes
47665 else
47666 echo "$as_me: failed program was:" >&5
47667 sed 's/^/| /' conftest.$ac_ext >&5
47669 glibcxx_cv_func__finitel_use=no
47671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47672 ac_ext=c
47673 ac_cpp='$CPP $CPPFLAGS'
47674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47682 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
47683 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
47685 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47687 for ac_func in _finitel
47689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47690 echo "$as_me:$LINENO: checking for $ac_func" >&5
47691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47692 if eval "test \"\${$as_ac_var+set}\" = set"; then
47693 echo $ECHO_N "(cached) $ECHO_C" >&6
47694 else
47695 if test x$gcc_no_link = xyes; then
47696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47698 { (exit 1); exit 1; }; }
47700 cat >conftest.$ac_ext <<_ACEOF
47701 /* confdefs.h. */
47702 _ACEOF
47703 cat confdefs.h >>conftest.$ac_ext
47704 cat >>conftest.$ac_ext <<_ACEOF
47705 /* end confdefs.h. */
47706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47708 #define $ac_func innocuous_$ac_func
47710 /* System header to define __stub macros and hopefully few prototypes,
47711 which can conflict with char $ac_func (); below.
47712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47713 <limits.h> exists even on freestanding compilers. */
47715 #ifdef __STDC__
47716 # include <limits.h>
47717 #else
47718 # include <assert.h>
47719 #endif
47721 #undef $ac_func
47723 /* Override any gcc2 internal prototype to avoid an error. */
47724 #ifdef __cplusplus
47725 extern "C"
47727 #endif
47728 /* We use char because int might match the return type of a gcc2
47729 builtin and then its argument prototype would still apply. */
47730 char $ac_func ();
47731 /* The GNU C library defines this for functions which it implements
47732 to always fail with ENOSYS. Some functions are actually named
47733 something starting with __ and the normal name is an alias. */
47734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47735 choke me
47736 #else
47737 char (*f) () = $ac_func;
47738 #endif
47739 #ifdef __cplusplus
47741 #endif
47744 main ()
47746 return f != $ac_func;
47748 return 0;
47750 _ACEOF
47751 rm -f conftest.$ac_objext conftest$ac_exeext
47752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47753 (eval $ac_link) 2>conftest.er1
47754 ac_status=$?
47755 grep -v '^ *+' conftest.er1 >conftest.err
47756 rm -f conftest.er1
47757 cat conftest.err >&5
47758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47759 (exit $ac_status); } &&
47760 { ac_try='test -z "$ac_c_werror_flag"
47761 || test ! -s conftest.err'
47762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47763 (eval $ac_try) 2>&5
47764 ac_status=$?
47765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47766 (exit $ac_status); }; } &&
47767 { ac_try='test -s conftest$ac_exeext'
47768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47769 (eval $ac_try) 2>&5
47770 ac_status=$?
47771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47772 (exit $ac_status); }; }; then
47773 eval "$as_ac_var=yes"
47774 else
47775 echo "$as_me: failed program was:" >&5
47776 sed 's/^/| /' conftest.$ac_ext >&5
47778 eval "$as_ac_var=no"
47780 rm -f conftest.err conftest.$ac_objext \
47781 conftest$ac_exeext conftest.$ac_ext
47783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47785 if test `eval echo '${'$as_ac_var'}'` = yes; then
47786 cat >>confdefs.h <<_ACEOF
47787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47788 _ACEOF
47791 done
47799 echo "$as_me:$LINENO: checking for _float trig functions" >&5
47800 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
47801 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
47802 echo $ECHO_N "(cached) $ECHO_C" >&6
47803 else
47807 ac_ext=cc
47808 ac_cpp='$CXXCPP $CPPFLAGS'
47809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47813 cat >conftest.$ac_ext <<_ACEOF
47814 /* confdefs.h. */
47815 _ACEOF
47816 cat confdefs.h >>conftest.$ac_ext
47817 cat >>conftest.$ac_ext <<_ACEOF
47818 /* end confdefs.h. */
47819 #include <math.h>
47821 main ()
47823 `for x in _acosf _asinf _atanf \
47824 _cosf _sinf _tanf \
47825 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
47827 return 0;
47829 _ACEOF
47830 rm -f conftest.$ac_objext
47831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47832 (eval $ac_compile) 2>conftest.er1
47833 ac_status=$?
47834 grep -v '^ *+' conftest.er1 >conftest.err
47835 rm -f conftest.er1
47836 cat conftest.err >&5
47837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47838 (exit $ac_status); } &&
47839 { ac_try='test -z "$ac_cxx_werror_flag"
47840 || test ! -s conftest.err'
47841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47842 (eval $ac_try) 2>&5
47843 ac_status=$?
47844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47845 (exit $ac_status); }; } &&
47846 { ac_try='test -s conftest.$ac_objext'
47847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47848 (eval $ac_try) 2>&5
47849 ac_status=$?
47850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47851 (exit $ac_status); }; }; then
47852 glibcxx_cv_func__float_trig_use=yes
47853 else
47854 echo "$as_me: failed program was:" >&5
47855 sed 's/^/| /' conftest.$ac_ext >&5
47857 glibcxx_cv_func__float_trig_use=no
47859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47860 ac_ext=c
47861 ac_cpp='$CPP $CPPFLAGS'
47862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47868 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
47869 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
47870 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47880 for ac_func in _acosf _asinf _atanf \
47881 _cosf _sinf _tanf \
47882 _coshf _sinhf _tanhf
47884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47885 echo "$as_me:$LINENO: checking for $ac_func" >&5
47886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47887 if eval "test \"\${$as_ac_var+set}\" = set"; then
47888 echo $ECHO_N "(cached) $ECHO_C" >&6
47889 else
47890 if test x$gcc_no_link = xyes; then
47891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47893 { (exit 1); exit 1; }; }
47895 cat >conftest.$ac_ext <<_ACEOF
47896 /* confdefs.h. */
47897 _ACEOF
47898 cat confdefs.h >>conftest.$ac_ext
47899 cat >>conftest.$ac_ext <<_ACEOF
47900 /* end confdefs.h. */
47901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47903 #define $ac_func innocuous_$ac_func
47905 /* System header to define __stub macros and hopefully few prototypes,
47906 which can conflict with char $ac_func (); below.
47907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47908 <limits.h> exists even on freestanding compilers. */
47910 #ifdef __STDC__
47911 # include <limits.h>
47912 #else
47913 # include <assert.h>
47914 #endif
47916 #undef $ac_func
47918 /* Override any gcc2 internal prototype to avoid an error. */
47919 #ifdef __cplusplus
47920 extern "C"
47922 #endif
47923 /* We use char because int might match the return type of a gcc2
47924 builtin and then its argument prototype would still apply. */
47925 char $ac_func ();
47926 /* The GNU C library defines this for functions which it implements
47927 to always fail with ENOSYS. Some functions are actually named
47928 something starting with __ and the normal name is an alias. */
47929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47930 choke me
47931 #else
47932 char (*f) () = $ac_func;
47933 #endif
47934 #ifdef __cplusplus
47936 #endif
47939 main ()
47941 return f != $ac_func;
47943 return 0;
47945 _ACEOF
47946 rm -f conftest.$ac_objext conftest$ac_exeext
47947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47948 (eval $ac_link) 2>conftest.er1
47949 ac_status=$?
47950 grep -v '^ *+' conftest.er1 >conftest.err
47951 rm -f conftest.er1
47952 cat conftest.err >&5
47953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47954 (exit $ac_status); } &&
47955 { ac_try='test -z "$ac_c_werror_flag"
47956 || test ! -s conftest.err'
47957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47958 (eval $ac_try) 2>&5
47959 ac_status=$?
47960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47961 (exit $ac_status); }; } &&
47962 { ac_try='test -s conftest$ac_exeext'
47963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47964 (eval $ac_try) 2>&5
47965 ac_status=$?
47966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47967 (exit $ac_status); }; }; then
47968 eval "$as_ac_var=yes"
47969 else
47970 echo "$as_me: failed program was:" >&5
47971 sed 's/^/| /' conftest.$ac_ext >&5
47973 eval "$as_ac_var=no"
47975 rm -f conftest.err conftest.$ac_objext \
47976 conftest$ac_exeext conftest.$ac_ext
47978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47980 if test `eval echo '${'$as_ac_var'}'` = yes; then
47981 cat >>confdefs.h <<_ACEOF
47982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47983 _ACEOF
47986 done
47991 echo "$as_me:$LINENO: checking for _float round functions" >&5
47992 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47993 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47994 echo $ECHO_N "(cached) $ECHO_C" >&6
47995 else
47999 ac_ext=cc
48000 ac_cpp='$CXXCPP $CPPFLAGS'
48001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48005 cat >conftest.$ac_ext <<_ACEOF
48006 /* confdefs.h. */
48007 _ACEOF
48008 cat confdefs.h >>conftest.$ac_ext
48009 cat >>conftest.$ac_ext <<_ACEOF
48010 /* end confdefs.h. */
48011 #include <math.h>
48013 main ()
48015 `for x in _ceilf _floorf; do echo "$x (0);"; done`
48017 return 0;
48019 _ACEOF
48020 rm -f conftest.$ac_objext
48021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48022 (eval $ac_compile) 2>conftest.er1
48023 ac_status=$?
48024 grep -v '^ *+' conftest.er1 >conftest.err
48025 rm -f conftest.er1
48026 cat conftest.err >&5
48027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48028 (exit $ac_status); } &&
48029 { ac_try='test -z "$ac_cxx_werror_flag"
48030 || test ! -s conftest.err'
48031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48032 (eval $ac_try) 2>&5
48033 ac_status=$?
48034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48035 (exit $ac_status); }; } &&
48036 { ac_try='test -s conftest.$ac_objext'
48037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48038 (eval $ac_try) 2>&5
48039 ac_status=$?
48040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48041 (exit $ac_status); }; }; then
48042 glibcxx_cv_func__float_round_use=yes
48043 else
48044 echo "$as_me: failed program was:" >&5
48045 sed 's/^/| /' conftest.$ac_ext >&5
48047 glibcxx_cv_func__float_round_use=no
48049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48050 ac_ext=c
48051 ac_cpp='$CPP $CPPFLAGS'
48052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48058 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
48059 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
48060 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48063 for ac_func in _ceilf _floorf
48065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48066 echo "$as_me:$LINENO: checking for $ac_func" >&5
48067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48068 if eval "test \"\${$as_ac_var+set}\" = set"; then
48069 echo $ECHO_N "(cached) $ECHO_C" >&6
48070 else
48071 if test x$gcc_no_link = xyes; then
48072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48074 { (exit 1); exit 1; }; }
48076 cat >conftest.$ac_ext <<_ACEOF
48077 /* confdefs.h. */
48078 _ACEOF
48079 cat confdefs.h >>conftest.$ac_ext
48080 cat >>conftest.$ac_ext <<_ACEOF
48081 /* end confdefs.h. */
48082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48084 #define $ac_func innocuous_$ac_func
48086 /* System header to define __stub macros and hopefully few prototypes,
48087 which can conflict with char $ac_func (); below.
48088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48089 <limits.h> exists even on freestanding compilers. */
48091 #ifdef __STDC__
48092 # include <limits.h>
48093 #else
48094 # include <assert.h>
48095 #endif
48097 #undef $ac_func
48099 /* Override any gcc2 internal prototype to avoid an error. */
48100 #ifdef __cplusplus
48101 extern "C"
48103 #endif
48104 /* We use char because int might match the return type of a gcc2
48105 builtin and then its argument prototype would still apply. */
48106 char $ac_func ();
48107 /* The GNU C library defines this for functions which it implements
48108 to always fail with ENOSYS. Some functions are actually named
48109 something starting with __ and the normal name is an alias. */
48110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48111 choke me
48112 #else
48113 char (*f) () = $ac_func;
48114 #endif
48115 #ifdef __cplusplus
48117 #endif
48120 main ()
48122 return f != $ac_func;
48124 return 0;
48126 _ACEOF
48127 rm -f conftest.$ac_objext conftest$ac_exeext
48128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48129 (eval $ac_link) 2>conftest.er1
48130 ac_status=$?
48131 grep -v '^ *+' conftest.er1 >conftest.err
48132 rm -f conftest.er1
48133 cat conftest.err >&5
48134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48135 (exit $ac_status); } &&
48136 { ac_try='test -z "$ac_c_werror_flag"
48137 || test ! -s conftest.err'
48138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48139 (eval $ac_try) 2>&5
48140 ac_status=$?
48141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48142 (exit $ac_status); }; } &&
48143 { ac_try='test -s conftest$ac_exeext'
48144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48145 (eval $ac_try) 2>&5
48146 ac_status=$?
48147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48148 (exit $ac_status); }; }; then
48149 eval "$as_ac_var=yes"
48150 else
48151 echo "$as_me: failed program was:" >&5
48152 sed 's/^/| /' conftest.$ac_ext >&5
48154 eval "$as_ac_var=no"
48156 rm -f conftest.err conftest.$ac_objext \
48157 conftest$ac_exeext conftest.$ac_ext
48159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48161 if test `eval echo '${'$as_ac_var'}'` = yes; then
48162 cat >>confdefs.h <<_ACEOF
48163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48164 _ACEOF
48167 done
48173 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
48174 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
48175 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
48176 echo $ECHO_N "(cached) $ECHO_C" >&6
48177 else
48181 ac_ext=cc
48182 ac_cpp='$CXXCPP $CPPFLAGS'
48183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48187 cat >conftest.$ac_ext <<_ACEOF
48188 /* confdefs.h. */
48189 _ACEOF
48190 cat confdefs.h >>conftest.$ac_ext
48191 cat >>conftest.$ac_ext <<_ACEOF
48192 /* end confdefs.h. */
48193 #include <math.h>
48195 main ()
48197 `for x in _acosl _asinl _atanl \
48198 _cosl _sinl _tanl \
48199 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
48201 return 0;
48203 _ACEOF
48204 rm -f conftest.$ac_objext
48205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48206 (eval $ac_compile) 2>conftest.er1
48207 ac_status=$?
48208 grep -v '^ *+' conftest.er1 >conftest.err
48209 rm -f conftest.er1
48210 cat conftest.err >&5
48211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48212 (exit $ac_status); } &&
48213 { ac_try='test -z "$ac_cxx_werror_flag"
48214 || test ! -s conftest.err'
48215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48216 (eval $ac_try) 2>&5
48217 ac_status=$?
48218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48219 (exit $ac_status); }; } &&
48220 { ac_try='test -s conftest.$ac_objext'
48221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48222 (eval $ac_try) 2>&5
48223 ac_status=$?
48224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48225 (exit $ac_status); }; }; then
48226 glibcxx_cv_func__long_double_trig_use=yes
48227 else
48228 echo "$as_me: failed program was:" >&5
48229 sed 's/^/| /' conftest.$ac_ext >&5
48231 glibcxx_cv_func__long_double_trig_use=no
48233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48234 ac_ext=c
48235 ac_cpp='$CPP $CPPFLAGS'
48236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48242 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
48243 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
48244 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48254 for ac_func in _acosl _asinl _atanl \
48255 _cosl _sinl _tanl \
48256 _coshl _sinhl _tanhl
48258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48259 echo "$as_me:$LINENO: checking for $ac_func" >&5
48260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48261 if eval "test \"\${$as_ac_var+set}\" = set"; then
48262 echo $ECHO_N "(cached) $ECHO_C" >&6
48263 else
48264 if test x$gcc_no_link = xyes; then
48265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48267 { (exit 1); exit 1; }; }
48269 cat >conftest.$ac_ext <<_ACEOF
48270 /* confdefs.h. */
48271 _ACEOF
48272 cat confdefs.h >>conftest.$ac_ext
48273 cat >>conftest.$ac_ext <<_ACEOF
48274 /* end confdefs.h. */
48275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48277 #define $ac_func innocuous_$ac_func
48279 /* System header to define __stub macros and hopefully few prototypes,
48280 which can conflict with char $ac_func (); below.
48281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48282 <limits.h> exists even on freestanding compilers. */
48284 #ifdef __STDC__
48285 # include <limits.h>
48286 #else
48287 # include <assert.h>
48288 #endif
48290 #undef $ac_func
48292 /* Override any gcc2 internal prototype to avoid an error. */
48293 #ifdef __cplusplus
48294 extern "C"
48296 #endif
48297 /* We use char because int might match the return type of a gcc2
48298 builtin and then its argument prototype would still apply. */
48299 char $ac_func ();
48300 /* The GNU C library defines this for functions which it implements
48301 to always fail with ENOSYS. Some functions are actually named
48302 something starting with __ and the normal name is an alias. */
48303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48304 choke me
48305 #else
48306 char (*f) () = $ac_func;
48307 #endif
48308 #ifdef __cplusplus
48310 #endif
48313 main ()
48315 return f != $ac_func;
48317 return 0;
48319 _ACEOF
48320 rm -f conftest.$ac_objext conftest$ac_exeext
48321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48322 (eval $ac_link) 2>conftest.er1
48323 ac_status=$?
48324 grep -v '^ *+' conftest.er1 >conftest.err
48325 rm -f conftest.er1
48326 cat conftest.err >&5
48327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48328 (exit $ac_status); } &&
48329 { ac_try='test -z "$ac_c_werror_flag"
48330 || test ! -s conftest.err'
48331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48332 (eval $ac_try) 2>&5
48333 ac_status=$?
48334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48335 (exit $ac_status); }; } &&
48336 { ac_try='test -s conftest$ac_exeext'
48337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48338 (eval $ac_try) 2>&5
48339 ac_status=$?
48340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48341 (exit $ac_status); }; }; then
48342 eval "$as_ac_var=yes"
48343 else
48344 echo "$as_me: failed program was:" >&5
48345 sed 's/^/| /' conftest.$ac_ext >&5
48347 eval "$as_ac_var=no"
48349 rm -f conftest.err conftest.$ac_objext \
48350 conftest$ac_exeext conftest.$ac_ext
48352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48354 if test `eval echo '${'$as_ac_var'}'` = yes; then
48355 cat >>confdefs.h <<_ACEOF
48356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48357 _ACEOF
48360 done
48365 echo "$as_me:$LINENO: checking for _long double round functions" >&5
48366 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
48367 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
48368 echo $ECHO_N "(cached) $ECHO_C" >&6
48369 else
48373 ac_ext=cc
48374 ac_cpp='$CXXCPP $CPPFLAGS'
48375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48379 cat >conftest.$ac_ext <<_ACEOF
48380 /* confdefs.h. */
48381 _ACEOF
48382 cat confdefs.h >>conftest.$ac_ext
48383 cat >>conftest.$ac_ext <<_ACEOF
48384 /* end confdefs.h. */
48385 #include <math.h>
48387 main ()
48389 `for x in _ceill _floorl; do echo "$x (0);"; done`
48391 return 0;
48393 _ACEOF
48394 rm -f conftest.$ac_objext
48395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48396 (eval $ac_compile) 2>conftest.er1
48397 ac_status=$?
48398 grep -v '^ *+' conftest.er1 >conftest.err
48399 rm -f conftest.er1
48400 cat conftest.err >&5
48401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48402 (exit $ac_status); } &&
48403 { ac_try='test -z "$ac_cxx_werror_flag"
48404 || test ! -s conftest.err'
48405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48406 (eval $ac_try) 2>&5
48407 ac_status=$?
48408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48409 (exit $ac_status); }; } &&
48410 { ac_try='test -s conftest.$ac_objext'
48411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48412 (eval $ac_try) 2>&5
48413 ac_status=$?
48414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48415 (exit $ac_status); }; }; then
48416 glibcxx_cv_func__long_double_round_use=yes
48417 else
48418 echo "$as_me: failed program was:" >&5
48419 sed 's/^/| /' conftest.$ac_ext >&5
48421 glibcxx_cv_func__long_double_round_use=no
48423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48424 ac_ext=c
48425 ac_cpp='$CPP $CPPFLAGS'
48426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48432 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
48433 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
48434 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48437 for ac_func in _ceill _floorl
48439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48440 echo "$as_me:$LINENO: checking for $ac_func" >&5
48441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48442 if eval "test \"\${$as_ac_var+set}\" = set"; then
48443 echo $ECHO_N "(cached) $ECHO_C" >&6
48444 else
48445 if test x$gcc_no_link = xyes; then
48446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48448 { (exit 1); exit 1; }; }
48450 cat >conftest.$ac_ext <<_ACEOF
48451 /* confdefs.h. */
48452 _ACEOF
48453 cat confdefs.h >>conftest.$ac_ext
48454 cat >>conftest.$ac_ext <<_ACEOF
48455 /* end confdefs.h. */
48456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48458 #define $ac_func innocuous_$ac_func
48460 /* System header to define __stub macros and hopefully few prototypes,
48461 which can conflict with char $ac_func (); below.
48462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48463 <limits.h> exists even on freestanding compilers. */
48465 #ifdef __STDC__
48466 # include <limits.h>
48467 #else
48468 # include <assert.h>
48469 #endif
48471 #undef $ac_func
48473 /* Override any gcc2 internal prototype to avoid an error. */
48474 #ifdef __cplusplus
48475 extern "C"
48477 #endif
48478 /* We use char because int might match the return type of a gcc2
48479 builtin and then its argument prototype would still apply. */
48480 char $ac_func ();
48481 /* The GNU C library defines this for functions which it implements
48482 to always fail with ENOSYS. Some functions are actually named
48483 something starting with __ and the normal name is an alias. */
48484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48485 choke me
48486 #else
48487 char (*f) () = $ac_func;
48488 #endif
48489 #ifdef __cplusplus
48491 #endif
48494 main ()
48496 return f != $ac_func;
48498 return 0;
48500 _ACEOF
48501 rm -f conftest.$ac_objext conftest$ac_exeext
48502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48503 (eval $ac_link) 2>conftest.er1
48504 ac_status=$?
48505 grep -v '^ *+' conftest.er1 >conftest.err
48506 rm -f conftest.er1
48507 cat conftest.err >&5
48508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48509 (exit $ac_status); } &&
48510 { ac_try='test -z "$ac_c_werror_flag"
48511 || test ! -s conftest.err'
48512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48513 (eval $ac_try) 2>&5
48514 ac_status=$?
48515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48516 (exit $ac_status); }; } &&
48517 { ac_try='test -s conftest$ac_exeext'
48518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48519 (eval $ac_try) 2>&5
48520 ac_status=$?
48521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48522 (exit $ac_status); }; }; then
48523 eval "$as_ac_var=yes"
48524 else
48525 echo "$as_me: failed program was:" >&5
48526 sed 's/^/| /' conftest.$ac_ext >&5
48528 eval "$as_ac_var=no"
48530 rm -f conftest.err conftest.$ac_objext \
48531 conftest$ac_exeext conftest.$ac_ext
48533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48535 if test `eval echo '${'$as_ac_var'}'` = yes; then
48536 cat >>confdefs.h <<_ACEOF
48537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48538 _ACEOF
48541 done
48546 LIBS="$ac_save_LIBS"
48547 CXXFLAGS="$ac_save_CXXFLAGS"
48551 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
48552 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
48553 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
48554 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
48555 echo $ECHO_N "(cached) $ECHO_C" >&6
48556 else
48560 ac_ext=cc
48561 ac_cpp='$CXXCPP $CPPFLAGS'
48562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48566 cat >conftest.$ac_ext <<_ACEOF
48567 /* confdefs.h. */
48568 _ACEOF
48569 cat confdefs.h >>conftest.$ac_ext
48570 cat >>conftest.$ac_ext <<_ACEOF
48571 /* end confdefs.h. */
48572 #include <math.h>
48574 main ()
48576 __builtin_abs(0);
48578 return 0;
48580 _ACEOF
48581 rm -f conftest.$ac_objext
48582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48583 (eval $ac_compile) 2>conftest.er1
48584 ac_status=$?
48585 grep -v '^ *+' conftest.er1 >conftest.err
48586 rm -f conftest.er1
48587 cat conftest.err >&5
48588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48589 (exit $ac_status); } &&
48590 { ac_try='test -z "$ac_cxx_werror_flag"
48591 || test ! -s conftest.err'
48592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48593 (eval $ac_try) 2>&5
48594 ac_status=$?
48595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48596 (exit $ac_status); }; } &&
48597 { ac_try='test -s conftest.$ac_objext'
48598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48599 (eval $ac_try) 2>&5
48600 ac_status=$?
48601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48602 (exit $ac_status); }; }; then
48603 glibcxx_cv_func___builtin_abs_use=yes
48604 else
48605 echo "$as_me: failed program was:" >&5
48606 sed 's/^/| /' conftest.$ac_ext >&5
48608 glibcxx_cv_func___builtin_abs_use=no
48610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48611 ac_ext=c
48612 ac_cpp='$CPP $CPPFLAGS'
48613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48621 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
48622 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
48623 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
48624 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
48625 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
48626 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
48627 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
48628 echo $ECHO_N "(cached) $ECHO_C" >&6
48629 else
48631 if test x$gcc_no_link = xyes; then
48632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48634 { (exit 1); exit 1; }; }
48636 cat >conftest.$ac_ext <<_ACEOF
48637 /* confdefs.h. */
48638 _ACEOF
48639 cat confdefs.h >>conftest.$ac_ext
48640 cat >>conftest.$ac_ext <<_ACEOF
48641 /* end confdefs.h. */
48642 #include <math.h>
48644 main ()
48646 __builtin_abs(0);
48648 return 0;
48650 _ACEOF
48651 rm -f conftest.$ac_objext conftest$ac_exeext
48652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48653 (eval $ac_link) 2>conftest.er1
48654 ac_status=$?
48655 grep -v '^ *+' conftest.er1 >conftest.err
48656 rm -f conftest.er1
48657 cat conftest.err >&5
48658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48659 (exit $ac_status); } &&
48660 { ac_try='test -z "$ac_c_werror_flag"
48661 || test ! -s conftest.err'
48662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48663 (eval $ac_try) 2>&5
48664 ac_status=$?
48665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48666 (exit $ac_status); }; } &&
48667 { ac_try='test -s conftest$ac_exeext'
48668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48669 (eval $ac_try) 2>&5
48670 ac_status=$?
48671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48672 (exit $ac_status); }; }; then
48673 glibcxx_cv_func___builtin_abs_link=yes
48674 else
48675 echo "$as_me: failed program was:" >&5
48676 sed 's/^/| /' conftest.$ac_ext >&5
48678 glibcxx_cv_func___builtin_abs_link=no
48680 rm -f conftest.err conftest.$ac_objext \
48681 conftest$ac_exeext conftest.$ac_ext
48686 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
48687 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
48688 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
48689 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48690 cat >>confdefs.h <<_ACEOF
48691 #define ${ac_tr_func} 1
48692 _ACEOF
48698 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
48699 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
48700 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
48701 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
48702 echo $ECHO_N "(cached) $ECHO_C" >&6
48703 else
48707 ac_ext=cc
48708 ac_cpp='$CXXCPP $CPPFLAGS'
48709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48713 cat >conftest.$ac_ext <<_ACEOF
48714 /* confdefs.h. */
48715 _ACEOF
48716 cat confdefs.h >>conftest.$ac_ext
48717 cat >>conftest.$ac_ext <<_ACEOF
48718 /* end confdefs.h. */
48719 #include <math.h>
48721 main ()
48723 __builtin_fabsf(0);
48725 return 0;
48727 _ACEOF
48728 rm -f conftest.$ac_objext
48729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48730 (eval $ac_compile) 2>conftest.er1
48731 ac_status=$?
48732 grep -v '^ *+' conftest.er1 >conftest.err
48733 rm -f conftest.er1
48734 cat conftest.err >&5
48735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48736 (exit $ac_status); } &&
48737 { ac_try='test -z "$ac_cxx_werror_flag"
48738 || test ! -s conftest.err'
48739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48740 (eval $ac_try) 2>&5
48741 ac_status=$?
48742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48743 (exit $ac_status); }; } &&
48744 { ac_try='test -s conftest.$ac_objext'
48745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48746 (eval $ac_try) 2>&5
48747 ac_status=$?
48748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48749 (exit $ac_status); }; }; then
48750 glibcxx_cv_func___builtin_fabsf_use=yes
48751 else
48752 echo "$as_me: failed program was:" >&5
48753 sed 's/^/| /' conftest.$ac_ext >&5
48755 glibcxx_cv_func___builtin_fabsf_use=no
48757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48758 ac_ext=c
48759 ac_cpp='$CPP $CPPFLAGS'
48760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48768 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
48769 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
48770 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
48771 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
48772 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
48773 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
48774 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
48775 echo $ECHO_N "(cached) $ECHO_C" >&6
48776 else
48778 if test x$gcc_no_link = xyes; then
48779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48781 { (exit 1); exit 1; }; }
48783 cat >conftest.$ac_ext <<_ACEOF
48784 /* confdefs.h. */
48785 _ACEOF
48786 cat confdefs.h >>conftest.$ac_ext
48787 cat >>conftest.$ac_ext <<_ACEOF
48788 /* end confdefs.h. */
48789 #include <math.h>
48791 main ()
48793 __builtin_fabsf(0);
48795 return 0;
48797 _ACEOF
48798 rm -f conftest.$ac_objext conftest$ac_exeext
48799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48800 (eval $ac_link) 2>conftest.er1
48801 ac_status=$?
48802 grep -v '^ *+' conftest.er1 >conftest.err
48803 rm -f conftest.er1
48804 cat conftest.err >&5
48805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48806 (exit $ac_status); } &&
48807 { ac_try='test -z "$ac_c_werror_flag"
48808 || test ! -s conftest.err'
48809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48810 (eval $ac_try) 2>&5
48811 ac_status=$?
48812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48813 (exit $ac_status); }; } &&
48814 { ac_try='test -s conftest$ac_exeext'
48815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48816 (eval $ac_try) 2>&5
48817 ac_status=$?
48818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48819 (exit $ac_status); }; }; then
48820 glibcxx_cv_func___builtin_fabsf_link=yes
48821 else
48822 echo "$as_me: failed program was:" >&5
48823 sed 's/^/| /' conftest.$ac_ext >&5
48825 glibcxx_cv_func___builtin_fabsf_link=no
48827 rm -f conftest.err conftest.$ac_objext \
48828 conftest$ac_exeext conftest.$ac_ext
48833 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48834 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48835 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48836 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48837 cat >>confdefs.h <<_ACEOF
48838 #define ${ac_tr_func} 1
48839 _ACEOF
48845 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48846 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48847 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48848 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48849 echo $ECHO_N "(cached) $ECHO_C" >&6
48850 else
48854 ac_ext=cc
48855 ac_cpp='$CXXCPP $CPPFLAGS'
48856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48860 cat >conftest.$ac_ext <<_ACEOF
48861 /* confdefs.h. */
48862 _ACEOF
48863 cat confdefs.h >>conftest.$ac_ext
48864 cat >>conftest.$ac_ext <<_ACEOF
48865 /* end confdefs.h. */
48866 #include <math.h>
48868 main ()
48870 __builtin_fabs(0);
48872 return 0;
48874 _ACEOF
48875 rm -f conftest.$ac_objext
48876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48877 (eval $ac_compile) 2>conftest.er1
48878 ac_status=$?
48879 grep -v '^ *+' conftest.er1 >conftest.err
48880 rm -f conftest.er1
48881 cat conftest.err >&5
48882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48883 (exit $ac_status); } &&
48884 { ac_try='test -z "$ac_cxx_werror_flag"
48885 || test ! -s conftest.err'
48886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48887 (eval $ac_try) 2>&5
48888 ac_status=$?
48889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48890 (exit $ac_status); }; } &&
48891 { ac_try='test -s conftest.$ac_objext'
48892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48893 (eval $ac_try) 2>&5
48894 ac_status=$?
48895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48896 (exit $ac_status); }; }; then
48897 glibcxx_cv_func___builtin_fabs_use=yes
48898 else
48899 echo "$as_me: failed program was:" >&5
48900 sed 's/^/| /' conftest.$ac_ext >&5
48902 glibcxx_cv_func___builtin_fabs_use=no
48904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48905 ac_ext=c
48906 ac_cpp='$CPP $CPPFLAGS'
48907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48915 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48916 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48917 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48918 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48919 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48920 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48921 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48922 echo $ECHO_N "(cached) $ECHO_C" >&6
48923 else
48925 if test x$gcc_no_link = xyes; then
48926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48928 { (exit 1); exit 1; }; }
48930 cat >conftest.$ac_ext <<_ACEOF
48931 /* confdefs.h. */
48932 _ACEOF
48933 cat confdefs.h >>conftest.$ac_ext
48934 cat >>conftest.$ac_ext <<_ACEOF
48935 /* end confdefs.h. */
48936 #include <math.h>
48938 main ()
48940 __builtin_fabs(0);
48942 return 0;
48944 _ACEOF
48945 rm -f conftest.$ac_objext conftest$ac_exeext
48946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48947 (eval $ac_link) 2>conftest.er1
48948 ac_status=$?
48949 grep -v '^ *+' conftest.er1 >conftest.err
48950 rm -f conftest.er1
48951 cat conftest.err >&5
48952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48953 (exit $ac_status); } &&
48954 { ac_try='test -z "$ac_c_werror_flag"
48955 || test ! -s conftest.err'
48956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48957 (eval $ac_try) 2>&5
48958 ac_status=$?
48959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48960 (exit $ac_status); }; } &&
48961 { ac_try='test -s conftest$ac_exeext'
48962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48963 (eval $ac_try) 2>&5
48964 ac_status=$?
48965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48966 (exit $ac_status); }; }; then
48967 glibcxx_cv_func___builtin_fabs_link=yes
48968 else
48969 echo "$as_me: failed program was:" >&5
48970 sed 's/^/| /' conftest.$ac_ext >&5
48972 glibcxx_cv_func___builtin_fabs_link=no
48974 rm -f conftest.err conftest.$ac_objext \
48975 conftest$ac_exeext conftest.$ac_ext
48980 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
48981 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
48982 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
48983 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48984 cat >>confdefs.h <<_ACEOF
48985 #define ${ac_tr_func} 1
48986 _ACEOF
48992 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
48993 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
48994 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
48995 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
48996 echo $ECHO_N "(cached) $ECHO_C" >&6
48997 else
49001 ac_ext=cc
49002 ac_cpp='$CXXCPP $CPPFLAGS'
49003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49007 cat >conftest.$ac_ext <<_ACEOF
49008 /* confdefs.h. */
49009 _ACEOF
49010 cat confdefs.h >>conftest.$ac_ext
49011 cat >>conftest.$ac_ext <<_ACEOF
49012 /* end confdefs.h. */
49013 #include <math.h>
49015 main ()
49017 __builtin_fabsl(0);
49019 return 0;
49021 _ACEOF
49022 rm -f conftest.$ac_objext
49023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49024 (eval $ac_compile) 2>conftest.er1
49025 ac_status=$?
49026 grep -v '^ *+' conftest.er1 >conftest.err
49027 rm -f conftest.er1
49028 cat conftest.err >&5
49029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49030 (exit $ac_status); } &&
49031 { ac_try='test -z "$ac_cxx_werror_flag"
49032 || test ! -s conftest.err'
49033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49034 (eval $ac_try) 2>&5
49035 ac_status=$?
49036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49037 (exit $ac_status); }; } &&
49038 { ac_try='test -s conftest.$ac_objext'
49039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49040 (eval $ac_try) 2>&5
49041 ac_status=$?
49042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49043 (exit $ac_status); }; }; then
49044 glibcxx_cv_func___builtin_fabsl_use=yes
49045 else
49046 echo "$as_me: failed program was:" >&5
49047 sed 's/^/| /' conftest.$ac_ext >&5
49049 glibcxx_cv_func___builtin_fabsl_use=no
49051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49052 ac_ext=c
49053 ac_cpp='$CPP $CPPFLAGS'
49054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49062 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
49063 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
49064 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
49065 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
49066 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
49067 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
49068 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
49069 echo $ECHO_N "(cached) $ECHO_C" >&6
49070 else
49072 if test x$gcc_no_link = xyes; then
49073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49075 { (exit 1); exit 1; }; }
49077 cat >conftest.$ac_ext <<_ACEOF
49078 /* confdefs.h. */
49079 _ACEOF
49080 cat confdefs.h >>conftest.$ac_ext
49081 cat >>conftest.$ac_ext <<_ACEOF
49082 /* end confdefs.h. */
49083 #include <math.h>
49085 main ()
49087 __builtin_fabsl(0);
49089 return 0;
49091 _ACEOF
49092 rm -f conftest.$ac_objext conftest$ac_exeext
49093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49094 (eval $ac_link) 2>conftest.er1
49095 ac_status=$?
49096 grep -v '^ *+' conftest.er1 >conftest.err
49097 rm -f conftest.er1
49098 cat conftest.err >&5
49099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49100 (exit $ac_status); } &&
49101 { ac_try='test -z "$ac_c_werror_flag"
49102 || test ! -s conftest.err'
49103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49104 (eval $ac_try) 2>&5
49105 ac_status=$?
49106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49107 (exit $ac_status); }; } &&
49108 { ac_try='test -s conftest$ac_exeext'
49109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49110 (eval $ac_try) 2>&5
49111 ac_status=$?
49112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49113 (exit $ac_status); }; }; then
49114 glibcxx_cv_func___builtin_fabsl_link=yes
49115 else
49116 echo "$as_me: failed program was:" >&5
49117 sed 's/^/| /' conftest.$ac_ext >&5
49119 glibcxx_cv_func___builtin_fabsl_link=no
49121 rm -f conftest.err conftest.$ac_objext \
49122 conftest$ac_exeext conftest.$ac_ext
49127 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
49128 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
49129 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
49130 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49131 cat >>confdefs.h <<_ACEOF
49132 #define ${ac_tr_func} 1
49133 _ACEOF
49139 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
49140 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
49141 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
49142 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
49143 echo $ECHO_N "(cached) $ECHO_C" >&6
49144 else
49148 ac_ext=cc
49149 ac_cpp='$CXXCPP $CPPFLAGS'
49150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49154 cat >conftest.$ac_ext <<_ACEOF
49155 /* confdefs.h. */
49156 _ACEOF
49157 cat confdefs.h >>conftest.$ac_ext
49158 cat >>conftest.$ac_ext <<_ACEOF
49159 /* end confdefs.h. */
49160 #include <math.h>
49162 main ()
49164 __builtin_labs(0);
49166 return 0;
49168 _ACEOF
49169 rm -f conftest.$ac_objext
49170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49171 (eval $ac_compile) 2>conftest.er1
49172 ac_status=$?
49173 grep -v '^ *+' conftest.er1 >conftest.err
49174 rm -f conftest.er1
49175 cat conftest.err >&5
49176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49177 (exit $ac_status); } &&
49178 { ac_try='test -z "$ac_cxx_werror_flag"
49179 || test ! -s conftest.err'
49180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49181 (eval $ac_try) 2>&5
49182 ac_status=$?
49183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49184 (exit $ac_status); }; } &&
49185 { ac_try='test -s conftest.$ac_objext'
49186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49187 (eval $ac_try) 2>&5
49188 ac_status=$?
49189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49190 (exit $ac_status); }; }; then
49191 glibcxx_cv_func___builtin_labs_use=yes
49192 else
49193 echo "$as_me: failed program was:" >&5
49194 sed 's/^/| /' conftest.$ac_ext >&5
49196 glibcxx_cv_func___builtin_labs_use=no
49198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49199 ac_ext=c
49200 ac_cpp='$CPP $CPPFLAGS'
49201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49209 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
49210 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
49211 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
49212 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
49213 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
49214 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
49215 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
49216 echo $ECHO_N "(cached) $ECHO_C" >&6
49217 else
49219 if test x$gcc_no_link = xyes; then
49220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49222 { (exit 1); exit 1; }; }
49224 cat >conftest.$ac_ext <<_ACEOF
49225 /* confdefs.h. */
49226 _ACEOF
49227 cat confdefs.h >>conftest.$ac_ext
49228 cat >>conftest.$ac_ext <<_ACEOF
49229 /* end confdefs.h. */
49230 #include <math.h>
49232 main ()
49234 __builtin_labs(0);
49236 return 0;
49238 _ACEOF
49239 rm -f conftest.$ac_objext conftest$ac_exeext
49240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49241 (eval $ac_link) 2>conftest.er1
49242 ac_status=$?
49243 grep -v '^ *+' conftest.er1 >conftest.err
49244 rm -f conftest.er1
49245 cat conftest.err >&5
49246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49247 (exit $ac_status); } &&
49248 { ac_try='test -z "$ac_c_werror_flag"
49249 || test ! -s conftest.err'
49250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49251 (eval $ac_try) 2>&5
49252 ac_status=$?
49253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49254 (exit $ac_status); }; } &&
49255 { ac_try='test -s conftest$ac_exeext'
49256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49257 (eval $ac_try) 2>&5
49258 ac_status=$?
49259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49260 (exit $ac_status); }; }; then
49261 glibcxx_cv_func___builtin_labs_link=yes
49262 else
49263 echo "$as_me: failed program was:" >&5
49264 sed 's/^/| /' conftest.$ac_ext >&5
49266 glibcxx_cv_func___builtin_labs_link=no
49268 rm -f conftest.err conftest.$ac_objext \
49269 conftest$ac_exeext conftest.$ac_ext
49274 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
49275 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
49276 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
49277 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49278 cat >>confdefs.h <<_ACEOF
49279 #define ${ac_tr_func} 1
49280 _ACEOF
49287 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
49288 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
49289 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
49290 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
49291 echo $ECHO_N "(cached) $ECHO_C" >&6
49292 else
49296 ac_ext=cc
49297 ac_cpp='$CXXCPP $CPPFLAGS'
49298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49302 cat >conftest.$ac_ext <<_ACEOF
49303 /* confdefs.h. */
49304 _ACEOF
49305 cat confdefs.h >>conftest.$ac_ext
49306 cat >>conftest.$ac_ext <<_ACEOF
49307 /* end confdefs.h. */
49308 #include <math.h>
49310 main ()
49312 __builtin_sqrtf(0);
49314 return 0;
49316 _ACEOF
49317 rm -f conftest.$ac_objext
49318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49319 (eval $ac_compile) 2>conftest.er1
49320 ac_status=$?
49321 grep -v '^ *+' conftest.er1 >conftest.err
49322 rm -f conftest.er1
49323 cat conftest.err >&5
49324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49325 (exit $ac_status); } &&
49326 { ac_try='test -z "$ac_cxx_werror_flag"
49327 || test ! -s conftest.err'
49328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49329 (eval $ac_try) 2>&5
49330 ac_status=$?
49331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49332 (exit $ac_status); }; } &&
49333 { ac_try='test -s conftest.$ac_objext'
49334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49335 (eval $ac_try) 2>&5
49336 ac_status=$?
49337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49338 (exit $ac_status); }; }; then
49339 glibcxx_cv_func___builtin_sqrtf_use=yes
49340 else
49341 echo "$as_me: failed program was:" >&5
49342 sed 's/^/| /' conftest.$ac_ext >&5
49344 glibcxx_cv_func___builtin_sqrtf_use=no
49346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49347 ac_ext=c
49348 ac_cpp='$CPP $CPPFLAGS'
49349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49357 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
49358 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
49359 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
49360 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
49361 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
49362 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
49363 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
49364 echo $ECHO_N "(cached) $ECHO_C" >&6
49365 else
49367 if test x$gcc_no_link = xyes; then
49368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49370 { (exit 1); exit 1; }; }
49372 cat >conftest.$ac_ext <<_ACEOF
49373 /* confdefs.h. */
49374 _ACEOF
49375 cat confdefs.h >>conftest.$ac_ext
49376 cat >>conftest.$ac_ext <<_ACEOF
49377 /* end confdefs.h. */
49378 #include <math.h>
49380 main ()
49382 __builtin_sqrtf(0);
49384 return 0;
49386 _ACEOF
49387 rm -f conftest.$ac_objext conftest$ac_exeext
49388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49389 (eval $ac_link) 2>conftest.er1
49390 ac_status=$?
49391 grep -v '^ *+' conftest.er1 >conftest.err
49392 rm -f conftest.er1
49393 cat conftest.err >&5
49394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49395 (exit $ac_status); } &&
49396 { ac_try='test -z "$ac_c_werror_flag"
49397 || test ! -s conftest.err'
49398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49399 (eval $ac_try) 2>&5
49400 ac_status=$?
49401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49402 (exit $ac_status); }; } &&
49403 { ac_try='test -s conftest$ac_exeext'
49404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49405 (eval $ac_try) 2>&5
49406 ac_status=$?
49407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49408 (exit $ac_status); }; }; then
49409 glibcxx_cv_func___builtin_sqrtf_link=yes
49410 else
49411 echo "$as_me: failed program was:" >&5
49412 sed 's/^/| /' conftest.$ac_ext >&5
49414 glibcxx_cv_func___builtin_sqrtf_link=no
49416 rm -f conftest.err conftest.$ac_objext \
49417 conftest$ac_exeext conftest.$ac_ext
49422 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
49423 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
49424 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
49425 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49426 cat >>confdefs.h <<_ACEOF
49427 #define ${ac_tr_func} 1
49428 _ACEOF
49434 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
49435 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
49436 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
49437 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
49438 echo $ECHO_N "(cached) $ECHO_C" >&6
49439 else
49443 ac_ext=cc
49444 ac_cpp='$CXXCPP $CPPFLAGS'
49445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49449 cat >conftest.$ac_ext <<_ACEOF
49450 /* confdefs.h. */
49451 _ACEOF
49452 cat confdefs.h >>conftest.$ac_ext
49453 cat >>conftest.$ac_ext <<_ACEOF
49454 /* end confdefs.h. */
49455 #include <math.h>
49457 main ()
49459 __builtin_sqrt(0);
49461 return 0;
49463 _ACEOF
49464 rm -f conftest.$ac_objext
49465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49466 (eval $ac_compile) 2>conftest.er1
49467 ac_status=$?
49468 grep -v '^ *+' conftest.er1 >conftest.err
49469 rm -f conftest.er1
49470 cat conftest.err >&5
49471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49472 (exit $ac_status); } &&
49473 { ac_try='test -z "$ac_cxx_werror_flag"
49474 || test ! -s conftest.err'
49475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49476 (eval $ac_try) 2>&5
49477 ac_status=$?
49478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49479 (exit $ac_status); }; } &&
49480 { ac_try='test -s conftest.$ac_objext'
49481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49482 (eval $ac_try) 2>&5
49483 ac_status=$?
49484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49485 (exit $ac_status); }; }; then
49486 glibcxx_cv_func___builtin_sqrt_use=yes
49487 else
49488 echo "$as_me: failed program was:" >&5
49489 sed 's/^/| /' conftest.$ac_ext >&5
49491 glibcxx_cv_func___builtin_sqrt_use=no
49493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49494 ac_ext=c
49495 ac_cpp='$CPP $CPPFLAGS'
49496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49504 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
49505 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
49506 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
49507 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
49508 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
49509 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
49510 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
49511 echo $ECHO_N "(cached) $ECHO_C" >&6
49512 else
49514 if test x$gcc_no_link = xyes; then
49515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49517 { (exit 1); exit 1; }; }
49519 cat >conftest.$ac_ext <<_ACEOF
49520 /* confdefs.h. */
49521 _ACEOF
49522 cat confdefs.h >>conftest.$ac_ext
49523 cat >>conftest.$ac_ext <<_ACEOF
49524 /* end confdefs.h. */
49525 #include <math.h>
49527 main ()
49529 __builtin_sqrt(0);
49531 return 0;
49533 _ACEOF
49534 rm -f conftest.$ac_objext conftest$ac_exeext
49535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49536 (eval $ac_link) 2>conftest.er1
49537 ac_status=$?
49538 grep -v '^ *+' conftest.er1 >conftest.err
49539 rm -f conftest.er1
49540 cat conftest.err >&5
49541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49542 (exit $ac_status); } &&
49543 { ac_try='test -z "$ac_c_werror_flag"
49544 || test ! -s conftest.err'
49545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49546 (eval $ac_try) 2>&5
49547 ac_status=$?
49548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49549 (exit $ac_status); }; } &&
49550 { ac_try='test -s conftest$ac_exeext'
49551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49552 (eval $ac_try) 2>&5
49553 ac_status=$?
49554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49555 (exit $ac_status); }; }; then
49556 glibcxx_cv_func___builtin_sqrt_link=yes
49557 else
49558 echo "$as_me: failed program was:" >&5
49559 sed 's/^/| /' conftest.$ac_ext >&5
49561 glibcxx_cv_func___builtin_sqrt_link=no
49563 rm -f conftest.err conftest.$ac_objext \
49564 conftest$ac_exeext conftest.$ac_ext
49569 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
49570 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
49571 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
49572 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49573 cat >>confdefs.h <<_ACEOF
49574 #define ${ac_tr_func} 1
49575 _ACEOF
49581 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
49582 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
49583 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
49584 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
49585 echo $ECHO_N "(cached) $ECHO_C" >&6
49586 else
49590 ac_ext=cc
49591 ac_cpp='$CXXCPP $CPPFLAGS'
49592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49596 cat >conftest.$ac_ext <<_ACEOF
49597 /* confdefs.h. */
49598 _ACEOF
49599 cat confdefs.h >>conftest.$ac_ext
49600 cat >>conftest.$ac_ext <<_ACEOF
49601 /* end confdefs.h. */
49602 #include <math.h>
49604 main ()
49606 __builtin_sqrtl(0);
49608 return 0;
49610 _ACEOF
49611 rm -f conftest.$ac_objext
49612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49613 (eval $ac_compile) 2>conftest.er1
49614 ac_status=$?
49615 grep -v '^ *+' conftest.er1 >conftest.err
49616 rm -f conftest.er1
49617 cat conftest.err >&5
49618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49619 (exit $ac_status); } &&
49620 { ac_try='test -z "$ac_cxx_werror_flag"
49621 || test ! -s conftest.err'
49622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49623 (eval $ac_try) 2>&5
49624 ac_status=$?
49625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49626 (exit $ac_status); }; } &&
49627 { ac_try='test -s conftest.$ac_objext'
49628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49629 (eval $ac_try) 2>&5
49630 ac_status=$?
49631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49632 (exit $ac_status); }; }; then
49633 glibcxx_cv_func___builtin_sqrtl_use=yes
49634 else
49635 echo "$as_me: failed program was:" >&5
49636 sed 's/^/| /' conftest.$ac_ext >&5
49638 glibcxx_cv_func___builtin_sqrtl_use=no
49640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49641 ac_ext=c
49642 ac_cpp='$CPP $CPPFLAGS'
49643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49651 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
49652 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
49653 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
49654 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
49655 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
49656 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
49657 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
49658 echo $ECHO_N "(cached) $ECHO_C" >&6
49659 else
49661 if test x$gcc_no_link = xyes; then
49662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49664 { (exit 1); exit 1; }; }
49666 cat >conftest.$ac_ext <<_ACEOF
49667 /* confdefs.h. */
49668 _ACEOF
49669 cat confdefs.h >>conftest.$ac_ext
49670 cat >>conftest.$ac_ext <<_ACEOF
49671 /* end confdefs.h. */
49672 #include <math.h>
49674 main ()
49676 __builtin_sqrtl(0);
49678 return 0;
49680 _ACEOF
49681 rm -f conftest.$ac_objext conftest$ac_exeext
49682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49683 (eval $ac_link) 2>conftest.er1
49684 ac_status=$?
49685 grep -v '^ *+' conftest.er1 >conftest.err
49686 rm -f conftest.er1
49687 cat conftest.err >&5
49688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49689 (exit $ac_status); } &&
49690 { ac_try='test -z "$ac_c_werror_flag"
49691 || test ! -s conftest.err'
49692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49693 (eval $ac_try) 2>&5
49694 ac_status=$?
49695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49696 (exit $ac_status); }; } &&
49697 { ac_try='test -s conftest$ac_exeext'
49698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49699 (eval $ac_try) 2>&5
49700 ac_status=$?
49701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49702 (exit $ac_status); }; }; then
49703 glibcxx_cv_func___builtin_sqrtl_link=yes
49704 else
49705 echo "$as_me: failed program was:" >&5
49706 sed 's/^/| /' conftest.$ac_ext >&5
49708 glibcxx_cv_func___builtin_sqrtl_link=no
49710 rm -f conftest.err conftest.$ac_objext \
49711 conftest$ac_exeext conftest.$ac_ext
49716 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
49717 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
49718 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
49719 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49720 cat >>confdefs.h <<_ACEOF
49721 #define ${ac_tr_func} 1
49722 _ACEOF
49729 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
49730 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
49731 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
49732 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
49733 echo $ECHO_N "(cached) $ECHO_C" >&6
49734 else
49738 ac_ext=cc
49739 ac_cpp='$CXXCPP $CPPFLAGS'
49740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49744 cat >conftest.$ac_ext <<_ACEOF
49745 /* confdefs.h. */
49746 _ACEOF
49747 cat confdefs.h >>conftest.$ac_ext
49748 cat >>conftest.$ac_ext <<_ACEOF
49749 /* end confdefs.h. */
49750 #include <math.h>
49752 main ()
49754 __builtin_sinf(0);
49756 return 0;
49758 _ACEOF
49759 rm -f conftest.$ac_objext
49760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49761 (eval $ac_compile) 2>conftest.er1
49762 ac_status=$?
49763 grep -v '^ *+' conftest.er1 >conftest.err
49764 rm -f conftest.er1
49765 cat conftest.err >&5
49766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49767 (exit $ac_status); } &&
49768 { ac_try='test -z "$ac_cxx_werror_flag"
49769 || test ! -s conftest.err'
49770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49771 (eval $ac_try) 2>&5
49772 ac_status=$?
49773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49774 (exit $ac_status); }; } &&
49775 { ac_try='test -s conftest.$ac_objext'
49776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49777 (eval $ac_try) 2>&5
49778 ac_status=$?
49779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49780 (exit $ac_status); }; }; then
49781 glibcxx_cv_func___builtin_sinf_use=yes
49782 else
49783 echo "$as_me: failed program was:" >&5
49784 sed 's/^/| /' conftest.$ac_ext >&5
49786 glibcxx_cv_func___builtin_sinf_use=no
49788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49789 ac_ext=c
49790 ac_cpp='$CPP $CPPFLAGS'
49791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49799 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
49800 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
49801 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
49802 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
49803 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
49804 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
49805 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
49806 echo $ECHO_N "(cached) $ECHO_C" >&6
49807 else
49809 if test x$gcc_no_link = xyes; then
49810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49812 { (exit 1); exit 1; }; }
49814 cat >conftest.$ac_ext <<_ACEOF
49815 /* confdefs.h. */
49816 _ACEOF
49817 cat confdefs.h >>conftest.$ac_ext
49818 cat >>conftest.$ac_ext <<_ACEOF
49819 /* end confdefs.h. */
49820 #include <math.h>
49822 main ()
49824 __builtin_sinf(0);
49826 return 0;
49828 _ACEOF
49829 rm -f conftest.$ac_objext conftest$ac_exeext
49830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49831 (eval $ac_link) 2>conftest.er1
49832 ac_status=$?
49833 grep -v '^ *+' conftest.er1 >conftest.err
49834 rm -f conftest.er1
49835 cat conftest.err >&5
49836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49837 (exit $ac_status); } &&
49838 { ac_try='test -z "$ac_c_werror_flag"
49839 || test ! -s conftest.err'
49840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49841 (eval $ac_try) 2>&5
49842 ac_status=$?
49843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49844 (exit $ac_status); }; } &&
49845 { ac_try='test -s conftest$ac_exeext'
49846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49847 (eval $ac_try) 2>&5
49848 ac_status=$?
49849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49850 (exit $ac_status); }; }; then
49851 glibcxx_cv_func___builtin_sinf_link=yes
49852 else
49853 echo "$as_me: failed program was:" >&5
49854 sed 's/^/| /' conftest.$ac_ext >&5
49856 glibcxx_cv_func___builtin_sinf_link=no
49858 rm -f conftest.err conftest.$ac_objext \
49859 conftest$ac_exeext conftest.$ac_ext
49864 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49865 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49866 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49867 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49868 cat >>confdefs.h <<_ACEOF
49869 #define ${ac_tr_func} 1
49870 _ACEOF
49876 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49877 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49878 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49879 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
49880 echo $ECHO_N "(cached) $ECHO_C" >&6
49881 else
49885 ac_ext=cc
49886 ac_cpp='$CXXCPP $CPPFLAGS'
49887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49891 cat >conftest.$ac_ext <<_ACEOF
49892 /* confdefs.h. */
49893 _ACEOF
49894 cat confdefs.h >>conftest.$ac_ext
49895 cat >>conftest.$ac_ext <<_ACEOF
49896 /* end confdefs.h. */
49897 #include <math.h>
49899 main ()
49901 __builtin_sin(0);
49903 return 0;
49905 _ACEOF
49906 rm -f conftest.$ac_objext
49907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49908 (eval $ac_compile) 2>conftest.er1
49909 ac_status=$?
49910 grep -v '^ *+' conftest.er1 >conftest.err
49911 rm -f conftest.er1
49912 cat conftest.err >&5
49913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49914 (exit $ac_status); } &&
49915 { ac_try='test -z "$ac_cxx_werror_flag"
49916 || test ! -s conftest.err'
49917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49918 (eval $ac_try) 2>&5
49919 ac_status=$?
49920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49921 (exit $ac_status); }; } &&
49922 { ac_try='test -s conftest.$ac_objext'
49923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49924 (eval $ac_try) 2>&5
49925 ac_status=$?
49926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49927 (exit $ac_status); }; }; then
49928 glibcxx_cv_func___builtin_sin_use=yes
49929 else
49930 echo "$as_me: failed program was:" >&5
49931 sed 's/^/| /' conftest.$ac_ext >&5
49933 glibcxx_cv_func___builtin_sin_use=no
49935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49936 ac_ext=c
49937 ac_cpp='$CPP $CPPFLAGS'
49938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49946 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
49947 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
49948 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
49949 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
49950 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
49951 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
49952 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
49953 echo $ECHO_N "(cached) $ECHO_C" >&6
49954 else
49956 if test x$gcc_no_link = xyes; then
49957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49959 { (exit 1); exit 1; }; }
49961 cat >conftest.$ac_ext <<_ACEOF
49962 /* confdefs.h. */
49963 _ACEOF
49964 cat confdefs.h >>conftest.$ac_ext
49965 cat >>conftest.$ac_ext <<_ACEOF
49966 /* end confdefs.h. */
49967 #include <math.h>
49969 main ()
49971 __builtin_sin(0);
49973 return 0;
49975 _ACEOF
49976 rm -f conftest.$ac_objext conftest$ac_exeext
49977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49978 (eval $ac_link) 2>conftest.er1
49979 ac_status=$?
49980 grep -v '^ *+' conftest.er1 >conftest.err
49981 rm -f conftest.er1
49982 cat conftest.err >&5
49983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49984 (exit $ac_status); } &&
49985 { ac_try='test -z "$ac_c_werror_flag"
49986 || test ! -s conftest.err'
49987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49988 (eval $ac_try) 2>&5
49989 ac_status=$?
49990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49991 (exit $ac_status); }; } &&
49992 { ac_try='test -s conftest$ac_exeext'
49993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49994 (eval $ac_try) 2>&5
49995 ac_status=$?
49996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49997 (exit $ac_status); }; }; then
49998 glibcxx_cv_func___builtin_sin_link=yes
49999 else
50000 echo "$as_me: failed program was:" >&5
50001 sed 's/^/| /' conftest.$ac_ext >&5
50003 glibcxx_cv_func___builtin_sin_link=no
50005 rm -f conftest.err conftest.$ac_objext \
50006 conftest$ac_exeext conftest.$ac_ext
50011 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
50012 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
50013 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
50014 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50015 cat >>confdefs.h <<_ACEOF
50016 #define ${ac_tr_func} 1
50017 _ACEOF
50023 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
50024 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
50025 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
50026 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
50027 echo $ECHO_N "(cached) $ECHO_C" >&6
50028 else
50032 ac_ext=cc
50033 ac_cpp='$CXXCPP $CPPFLAGS'
50034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50038 cat >conftest.$ac_ext <<_ACEOF
50039 /* confdefs.h. */
50040 _ACEOF
50041 cat confdefs.h >>conftest.$ac_ext
50042 cat >>conftest.$ac_ext <<_ACEOF
50043 /* end confdefs.h. */
50044 #include <math.h>
50046 main ()
50048 __builtin_sinl(0);
50050 return 0;
50052 _ACEOF
50053 rm -f conftest.$ac_objext
50054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50055 (eval $ac_compile) 2>conftest.er1
50056 ac_status=$?
50057 grep -v '^ *+' conftest.er1 >conftest.err
50058 rm -f conftest.er1
50059 cat conftest.err >&5
50060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50061 (exit $ac_status); } &&
50062 { ac_try='test -z "$ac_cxx_werror_flag"
50063 || test ! -s conftest.err'
50064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50065 (eval $ac_try) 2>&5
50066 ac_status=$?
50067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50068 (exit $ac_status); }; } &&
50069 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
50075 glibcxx_cv_func___builtin_sinl_use=yes
50076 else
50077 echo "$as_me: failed program was:" >&5
50078 sed 's/^/| /' conftest.$ac_ext >&5
50080 glibcxx_cv_func___builtin_sinl_use=no
50082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50083 ac_ext=c
50084 ac_cpp='$CPP $CPPFLAGS'
50085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50093 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
50094 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
50095 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
50096 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
50097 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
50098 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
50099 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
50100 echo $ECHO_N "(cached) $ECHO_C" >&6
50101 else
50103 if test x$gcc_no_link = xyes; then
50104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50106 { (exit 1); exit 1; }; }
50108 cat >conftest.$ac_ext <<_ACEOF
50109 /* confdefs.h. */
50110 _ACEOF
50111 cat confdefs.h >>conftest.$ac_ext
50112 cat >>conftest.$ac_ext <<_ACEOF
50113 /* end confdefs.h. */
50114 #include <math.h>
50116 main ()
50118 __builtin_sinl(0);
50120 return 0;
50122 _ACEOF
50123 rm -f conftest.$ac_objext conftest$ac_exeext
50124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50125 (eval $ac_link) 2>conftest.er1
50126 ac_status=$?
50127 grep -v '^ *+' conftest.er1 >conftest.err
50128 rm -f conftest.er1
50129 cat conftest.err >&5
50130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50131 (exit $ac_status); } &&
50132 { ac_try='test -z "$ac_c_werror_flag"
50133 || test ! -s conftest.err'
50134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50135 (eval $ac_try) 2>&5
50136 ac_status=$?
50137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50138 (exit $ac_status); }; } &&
50139 { ac_try='test -s conftest$ac_exeext'
50140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50141 (eval $ac_try) 2>&5
50142 ac_status=$?
50143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50144 (exit $ac_status); }; }; then
50145 glibcxx_cv_func___builtin_sinl_link=yes
50146 else
50147 echo "$as_me: failed program was:" >&5
50148 sed 's/^/| /' conftest.$ac_ext >&5
50150 glibcxx_cv_func___builtin_sinl_link=no
50152 rm -f conftest.err conftest.$ac_objext \
50153 conftest$ac_exeext conftest.$ac_ext
50158 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
50159 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
50160 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
50161 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50162 cat >>confdefs.h <<_ACEOF
50163 #define ${ac_tr_func} 1
50164 _ACEOF
50171 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
50172 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
50173 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
50174 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
50175 echo $ECHO_N "(cached) $ECHO_C" >&6
50176 else
50180 ac_ext=cc
50181 ac_cpp='$CXXCPP $CPPFLAGS'
50182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50186 cat >conftest.$ac_ext <<_ACEOF
50187 /* confdefs.h. */
50188 _ACEOF
50189 cat confdefs.h >>conftest.$ac_ext
50190 cat >>conftest.$ac_ext <<_ACEOF
50191 /* end confdefs.h. */
50192 #include <math.h>
50194 main ()
50196 __builtin_cosf(0);
50198 return 0;
50200 _ACEOF
50201 rm -f conftest.$ac_objext
50202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50203 (eval $ac_compile) 2>conftest.er1
50204 ac_status=$?
50205 grep -v '^ *+' conftest.er1 >conftest.err
50206 rm -f conftest.er1
50207 cat conftest.err >&5
50208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50209 (exit $ac_status); } &&
50210 { ac_try='test -z "$ac_cxx_werror_flag"
50211 || test ! -s conftest.err'
50212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50213 (eval $ac_try) 2>&5
50214 ac_status=$?
50215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50216 (exit $ac_status); }; } &&
50217 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
50223 glibcxx_cv_func___builtin_cosf_use=yes
50224 else
50225 echo "$as_me: failed program was:" >&5
50226 sed 's/^/| /' conftest.$ac_ext >&5
50228 glibcxx_cv_func___builtin_cosf_use=no
50230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50231 ac_ext=c
50232 ac_cpp='$CPP $CPPFLAGS'
50233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50241 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
50242 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
50243 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
50244 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
50245 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
50246 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
50247 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
50248 echo $ECHO_N "(cached) $ECHO_C" >&6
50249 else
50251 if test x$gcc_no_link = xyes; then
50252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50254 { (exit 1); exit 1; }; }
50256 cat >conftest.$ac_ext <<_ACEOF
50257 /* confdefs.h. */
50258 _ACEOF
50259 cat confdefs.h >>conftest.$ac_ext
50260 cat >>conftest.$ac_ext <<_ACEOF
50261 /* end confdefs.h. */
50262 #include <math.h>
50264 main ()
50266 __builtin_cosf(0);
50268 return 0;
50270 _ACEOF
50271 rm -f conftest.$ac_objext conftest$ac_exeext
50272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50273 (eval $ac_link) 2>conftest.er1
50274 ac_status=$?
50275 grep -v '^ *+' conftest.er1 >conftest.err
50276 rm -f conftest.er1
50277 cat conftest.err >&5
50278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50279 (exit $ac_status); } &&
50280 { ac_try='test -z "$ac_c_werror_flag"
50281 || test ! -s conftest.err'
50282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50283 (eval $ac_try) 2>&5
50284 ac_status=$?
50285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50286 (exit $ac_status); }; } &&
50287 { ac_try='test -s conftest$ac_exeext'
50288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50289 (eval $ac_try) 2>&5
50290 ac_status=$?
50291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50292 (exit $ac_status); }; }; then
50293 glibcxx_cv_func___builtin_cosf_link=yes
50294 else
50295 echo "$as_me: failed program was:" >&5
50296 sed 's/^/| /' conftest.$ac_ext >&5
50298 glibcxx_cv_func___builtin_cosf_link=no
50300 rm -f conftest.err conftest.$ac_objext \
50301 conftest$ac_exeext conftest.$ac_ext
50306 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
50307 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
50308 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
50309 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50310 cat >>confdefs.h <<_ACEOF
50311 #define ${ac_tr_func} 1
50312 _ACEOF
50318 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
50319 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
50320 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
50321 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
50322 echo $ECHO_N "(cached) $ECHO_C" >&6
50323 else
50327 ac_ext=cc
50328 ac_cpp='$CXXCPP $CPPFLAGS'
50329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50333 cat >conftest.$ac_ext <<_ACEOF
50334 /* confdefs.h. */
50335 _ACEOF
50336 cat confdefs.h >>conftest.$ac_ext
50337 cat >>conftest.$ac_ext <<_ACEOF
50338 /* end confdefs.h. */
50339 #include <math.h>
50341 main ()
50343 __builtin_cos(0);
50345 return 0;
50347 _ACEOF
50348 rm -f conftest.$ac_objext
50349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50350 (eval $ac_compile) 2>conftest.er1
50351 ac_status=$?
50352 grep -v '^ *+' conftest.er1 >conftest.err
50353 rm -f conftest.er1
50354 cat conftest.err >&5
50355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50356 (exit $ac_status); } &&
50357 { ac_try='test -z "$ac_cxx_werror_flag"
50358 || test ! -s conftest.err'
50359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50360 (eval $ac_try) 2>&5
50361 ac_status=$?
50362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50363 (exit $ac_status); }; } &&
50364 { ac_try='test -s conftest.$ac_objext'
50365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50366 (eval $ac_try) 2>&5
50367 ac_status=$?
50368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50369 (exit $ac_status); }; }; then
50370 glibcxx_cv_func___builtin_cos_use=yes
50371 else
50372 echo "$as_me: failed program was:" >&5
50373 sed 's/^/| /' conftest.$ac_ext >&5
50375 glibcxx_cv_func___builtin_cos_use=no
50377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50378 ac_ext=c
50379 ac_cpp='$CPP $CPPFLAGS'
50380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50388 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
50389 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
50390 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
50391 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
50392 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
50393 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
50394 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
50395 echo $ECHO_N "(cached) $ECHO_C" >&6
50396 else
50398 if test x$gcc_no_link = xyes; then
50399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50401 { (exit 1); exit 1; }; }
50403 cat >conftest.$ac_ext <<_ACEOF
50404 /* confdefs.h. */
50405 _ACEOF
50406 cat confdefs.h >>conftest.$ac_ext
50407 cat >>conftest.$ac_ext <<_ACEOF
50408 /* end confdefs.h. */
50409 #include <math.h>
50411 main ()
50413 __builtin_cos(0);
50415 return 0;
50417 _ACEOF
50418 rm -f conftest.$ac_objext conftest$ac_exeext
50419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50420 (eval $ac_link) 2>conftest.er1
50421 ac_status=$?
50422 grep -v '^ *+' conftest.er1 >conftest.err
50423 rm -f conftest.er1
50424 cat conftest.err >&5
50425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50426 (exit $ac_status); } &&
50427 { ac_try='test -z "$ac_c_werror_flag"
50428 || test ! -s conftest.err'
50429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50430 (eval $ac_try) 2>&5
50431 ac_status=$?
50432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50433 (exit $ac_status); }; } &&
50434 { ac_try='test -s conftest$ac_exeext'
50435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50436 (eval $ac_try) 2>&5
50437 ac_status=$?
50438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50439 (exit $ac_status); }; }; then
50440 glibcxx_cv_func___builtin_cos_link=yes
50441 else
50442 echo "$as_me: failed program was:" >&5
50443 sed 's/^/| /' conftest.$ac_ext >&5
50445 glibcxx_cv_func___builtin_cos_link=no
50447 rm -f conftest.err conftest.$ac_objext \
50448 conftest$ac_exeext conftest.$ac_ext
50453 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
50454 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
50455 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
50456 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50457 cat >>confdefs.h <<_ACEOF
50458 #define ${ac_tr_func} 1
50459 _ACEOF
50465 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
50466 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
50467 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
50468 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
50469 echo $ECHO_N "(cached) $ECHO_C" >&6
50470 else
50474 ac_ext=cc
50475 ac_cpp='$CXXCPP $CPPFLAGS'
50476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50480 cat >conftest.$ac_ext <<_ACEOF
50481 /* confdefs.h. */
50482 _ACEOF
50483 cat confdefs.h >>conftest.$ac_ext
50484 cat >>conftest.$ac_ext <<_ACEOF
50485 /* end confdefs.h. */
50486 #include <math.h>
50488 main ()
50490 __builtin_cosl(0);
50492 return 0;
50494 _ACEOF
50495 rm -f conftest.$ac_objext
50496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50497 (eval $ac_compile) 2>conftest.er1
50498 ac_status=$?
50499 grep -v '^ *+' conftest.er1 >conftest.err
50500 rm -f conftest.er1
50501 cat conftest.err >&5
50502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50503 (exit $ac_status); } &&
50504 { ac_try='test -z "$ac_cxx_werror_flag"
50505 || test ! -s conftest.err'
50506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50507 (eval $ac_try) 2>&5
50508 ac_status=$?
50509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50510 (exit $ac_status); }; } &&
50511 { ac_try='test -s conftest.$ac_objext'
50512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50513 (eval $ac_try) 2>&5
50514 ac_status=$?
50515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50516 (exit $ac_status); }; }; then
50517 glibcxx_cv_func___builtin_cosl_use=yes
50518 else
50519 echo "$as_me: failed program was:" >&5
50520 sed 's/^/| /' conftest.$ac_ext >&5
50522 glibcxx_cv_func___builtin_cosl_use=no
50524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50525 ac_ext=c
50526 ac_cpp='$CPP $CPPFLAGS'
50527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50535 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
50536 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
50537 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
50538 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
50539 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
50540 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
50541 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
50542 echo $ECHO_N "(cached) $ECHO_C" >&6
50543 else
50545 if test x$gcc_no_link = xyes; then
50546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50548 { (exit 1); exit 1; }; }
50550 cat >conftest.$ac_ext <<_ACEOF
50551 /* confdefs.h. */
50552 _ACEOF
50553 cat confdefs.h >>conftest.$ac_ext
50554 cat >>conftest.$ac_ext <<_ACEOF
50555 /* end confdefs.h. */
50556 #include <math.h>
50558 main ()
50560 __builtin_cosl(0);
50562 return 0;
50564 _ACEOF
50565 rm -f conftest.$ac_objext conftest$ac_exeext
50566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50567 (eval $ac_link) 2>conftest.er1
50568 ac_status=$?
50569 grep -v '^ *+' conftest.er1 >conftest.err
50570 rm -f conftest.er1
50571 cat conftest.err >&5
50572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50573 (exit $ac_status); } &&
50574 { ac_try='test -z "$ac_c_werror_flag"
50575 || test ! -s conftest.err'
50576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50577 (eval $ac_try) 2>&5
50578 ac_status=$?
50579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50580 (exit $ac_status); }; } &&
50581 { ac_try='test -s conftest$ac_exeext'
50582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50583 (eval $ac_try) 2>&5
50584 ac_status=$?
50585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50586 (exit $ac_status); }; }; then
50587 glibcxx_cv_func___builtin_cosl_link=yes
50588 else
50589 echo "$as_me: failed program was:" >&5
50590 sed 's/^/| /' conftest.$ac_ext >&5
50592 glibcxx_cv_func___builtin_cosl_link=no
50594 rm -f conftest.err conftest.$ac_objext \
50595 conftest$ac_exeext conftest.$ac_ext
50600 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
50601 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
50602 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
50603 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50604 cat >>confdefs.h <<_ACEOF
50605 #define ${ac_tr_func} 1
50606 _ACEOF
50612 dummyvar=no
50613 if test x$dummyvar = x"yes"; then
50614 cat >>confdefs.h <<\_ACEOF
50615 #define HAVE___BUILTIN_ABS 1
50616 _ACEOF
50618 cat >>confdefs.h <<\_ACEOF
50619 #define HAVE___BUILTIN_LABS 1
50620 _ACEOF
50622 cat >>confdefs.h <<\_ACEOF
50623 #define HAVE___BUILTIN_COS 1
50624 _ACEOF
50626 cat >>confdefs.h <<\_ACEOF
50627 #define HAVE___BUILTIN_COSF 1
50628 _ACEOF
50630 cat >>confdefs.h <<\_ACEOF
50631 #define HAVE___BUILTIN_COSL 1
50632 _ACEOF
50634 cat >>confdefs.h <<\_ACEOF
50635 #define HAVE___BUILTIN_FABS 1
50636 _ACEOF
50638 cat >>confdefs.h <<\_ACEOF
50639 #define HAVE___BUILTIN_FABSF 1
50640 _ACEOF
50642 cat >>confdefs.h <<\_ACEOF
50643 #define HAVE___BUILTIN_FABSL 1
50644 _ACEOF
50646 cat >>confdefs.h <<\_ACEOF
50647 #define HAVE___BUILTIN_SIN 1
50648 _ACEOF
50650 cat >>confdefs.h <<\_ACEOF
50651 #define HAVE___BUILTIN_SINF 1
50652 _ACEOF
50654 cat >>confdefs.h <<\_ACEOF
50655 #define HAVE___BUILTIN_SINL 1
50656 _ACEOF
50658 cat >>confdefs.h <<\_ACEOF
50659 #define HAVE___BUILTIN_SQRT 1
50660 _ACEOF
50662 cat >>confdefs.h <<\_ACEOF
50663 #define HAVE___BUILTIN_SQRTF 1
50664 _ACEOF
50666 cat >>confdefs.h <<\_ACEOF
50667 #define HAVE___BUILTIN_SQRTL 1
50668 _ACEOF
50674 echo "$as_me:$LINENO: checking for main in -lm" >&5
50675 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50676 if test "${ac_cv_lib_m_main+set}" = set; then
50677 echo $ECHO_N "(cached) $ECHO_C" >&6
50678 else
50679 ac_check_lib_save_LIBS=$LIBS
50680 LIBS="-lm $LIBS"
50681 if test x$gcc_no_link = xyes; then
50682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50684 { (exit 1); exit 1; }; }
50686 cat >conftest.$ac_ext <<_ACEOF
50687 /* confdefs.h. */
50688 _ACEOF
50689 cat confdefs.h >>conftest.$ac_ext
50690 cat >>conftest.$ac_ext <<_ACEOF
50691 /* end confdefs.h. */
50695 main ()
50697 main ();
50699 return 0;
50701 _ACEOF
50702 rm -f conftest.$ac_objext conftest$ac_exeext
50703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50704 (eval $ac_link) 2>conftest.er1
50705 ac_status=$?
50706 grep -v '^ *+' conftest.er1 >conftest.err
50707 rm -f conftest.er1
50708 cat conftest.err >&5
50709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50710 (exit $ac_status); } &&
50711 { ac_try='test -z "$ac_c_werror_flag"
50712 || test ! -s conftest.err'
50713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50714 (eval $ac_try) 2>&5
50715 ac_status=$?
50716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50717 (exit $ac_status); }; } &&
50718 { ac_try='test -s conftest$ac_exeext'
50719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50720 (eval $ac_try) 2>&5
50721 ac_status=$?
50722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50723 (exit $ac_status); }; }; then
50724 ac_cv_lib_m_main=yes
50725 else
50726 echo "$as_me: failed program was:" >&5
50727 sed 's/^/| /' conftest.$ac_ext >&5
50729 ac_cv_lib_m_main=no
50731 rm -f conftest.err conftest.$ac_objext \
50732 conftest$ac_exeext conftest.$ac_ext
50733 LIBS=$ac_check_lib_save_LIBS
50735 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50736 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50737 if test $ac_cv_lib_m_main = yes; then
50738 cat >>confdefs.h <<_ACEOF
50739 #define HAVE_LIBM 1
50740 _ACEOF
50742 LIBS="-lm $LIBS"
50747 for ac_func in copysignf
50749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50750 echo "$as_me:$LINENO: checking for $ac_func" >&5
50751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50752 if eval "test \"\${$as_ac_var+set}\" = set"; then
50753 echo $ECHO_N "(cached) $ECHO_C" >&6
50754 else
50755 if test x$gcc_no_link = xyes; then
50756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50758 { (exit 1); exit 1; }; }
50760 cat >conftest.$ac_ext <<_ACEOF
50761 /* confdefs.h. */
50762 _ACEOF
50763 cat confdefs.h >>conftest.$ac_ext
50764 cat >>conftest.$ac_ext <<_ACEOF
50765 /* end confdefs.h. */
50766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50768 #define $ac_func innocuous_$ac_func
50770 /* System header to define __stub macros and hopefully few prototypes,
50771 which can conflict with char $ac_func (); below.
50772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50773 <limits.h> exists even on freestanding compilers. */
50775 #ifdef __STDC__
50776 # include <limits.h>
50777 #else
50778 # include <assert.h>
50779 #endif
50781 #undef $ac_func
50783 /* Override any gcc2 internal prototype to avoid an error. */
50784 #ifdef __cplusplus
50785 extern "C"
50787 #endif
50788 /* We use char because int might match the return type of a gcc2
50789 builtin and then its argument prototype would still apply. */
50790 char $ac_func ();
50791 /* The GNU C library defines this for functions which it implements
50792 to always fail with ENOSYS. Some functions are actually named
50793 something starting with __ and the normal name is an alias. */
50794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50795 choke me
50796 #else
50797 char (*f) () = $ac_func;
50798 #endif
50799 #ifdef __cplusplus
50801 #endif
50804 main ()
50806 return f != $ac_func;
50808 return 0;
50810 _ACEOF
50811 rm -f conftest.$ac_objext conftest$ac_exeext
50812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50813 (eval $ac_link) 2>conftest.er1
50814 ac_status=$?
50815 grep -v '^ *+' conftest.er1 >conftest.err
50816 rm -f conftest.er1
50817 cat conftest.err >&5
50818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50819 (exit $ac_status); } &&
50820 { ac_try='test -z "$ac_c_werror_flag"
50821 || test ! -s conftest.err'
50822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50823 (eval $ac_try) 2>&5
50824 ac_status=$?
50825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50826 (exit $ac_status); }; } &&
50827 { ac_try='test -s conftest$ac_exeext'
50828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50829 (eval $ac_try) 2>&5
50830 ac_status=$?
50831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50832 (exit $ac_status); }; }; then
50833 eval "$as_ac_var=yes"
50834 else
50835 echo "$as_me: failed program was:" >&5
50836 sed 's/^/| /' conftest.$ac_ext >&5
50838 eval "$as_ac_var=no"
50840 rm -f conftest.err conftest.$ac_objext \
50841 conftest$ac_exeext conftest.$ac_ext
50843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50845 if test `eval echo '${'$as_ac_var'}'` = yes; then
50846 cat >>confdefs.h <<_ACEOF
50847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50848 _ACEOF
50850 else
50851 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50853 done
50857 for ac_func in __signbit
50859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50860 echo "$as_me:$LINENO: checking for $ac_func" >&5
50861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50862 if eval "test \"\${$as_ac_var+set}\" = set"; then
50863 echo $ECHO_N "(cached) $ECHO_C" >&6
50864 else
50865 if test x$gcc_no_link = xyes; then
50866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50868 { (exit 1); exit 1; }; }
50870 cat >conftest.$ac_ext <<_ACEOF
50871 /* confdefs.h. */
50872 _ACEOF
50873 cat confdefs.h >>conftest.$ac_ext
50874 cat >>conftest.$ac_ext <<_ACEOF
50875 /* end confdefs.h. */
50876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50878 #define $ac_func innocuous_$ac_func
50880 /* System header to define __stub macros and hopefully few prototypes,
50881 which can conflict with char $ac_func (); below.
50882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50883 <limits.h> exists even on freestanding compilers. */
50885 #ifdef __STDC__
50886 # include <limits.h>
50887 #else
50888 # include <assert.h>
50889 #endif
50891 #undef $ac_func
50893 /* Override any gcc2 internal prototype to avoid an error. */
50894 #ifdef __cplusplus
50895 extern "C"
50897 #endif
50898 /* We use char because int might match the return type of a gcc2
50899 builtin and then its argument prototype would still apply. */
50900 char $ac_func ();
50901 /* The GNU C library defines this for functions which it implements
50902 to always fail with ENOSYS. Some functions are actually named
50903 something starting with __ and the normal name is an alias. */
50904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50905 choke me
50906 #else
50907 char (*f) () = $ac_func;
50908 #endif
50909 #ifdef __cplusplus
50911 #endif
50914 main ()
50916 return f != $ac_func;
50918 return 0;
50920 _ACEOF
50921 rm -f conftest.$ac_objext conftest$ac_exeext
50922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50923 (eval $ac_link) 2>conftest.er1
50924 ac_status=$?
50925 grep -v '^ *+' conftest.er1 >conftest.err
50926 rm -f conftest.er1
50927 cat conftest.err >&5
50928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50929 (exit $ac_status); } &&
50930 { ac_try='test -z "$ac_c_werror_flag"
50931 || test ! -s conftest.err'
50932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50933 (eval $ac_try) 2>&5
50934 ac_status=$?
50935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50936 (exit $ac_status); }; } &&
50937 { ac_try='test -s conftest$ac_exeext'
50938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50939 (eval $ac_try) 2>&5
50940 ac_status=$?
50941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50942 (exit $ac_status); }; }; then
50943 eval "$as_ac_var=yes"
50944 else
50945 echo "$as_me: failed program was:" >&5
50946 sed 's/^/| /' conftest.$ac_ext >&5
50948 eval "$as_ac_var=no"
50950 rm -f conftest.err conftest.$ac_objext \
50951 conftest$ac_exeext conftest.$ac_ext
50953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50955 if test `eval echo '${'$as_ac_var'}'` = yes; then
50956 cat >>confdefs.h <<_ACEOF
50957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50958 _ACEOF
50960 else
50961 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50963 done
50966 for ac_func in __signbitf
50968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50969 echo "$as_me:$LINENO: checking for $ac_func" >&5
50970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50971 if eval "test \"\${$as_ac_var+set}\" = set"; then
50972 echo $ECHO_N "(cached) $ECHO_C" >&6
50973 else
50974 if test x$gcc_no_link = xyes; then
50975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50977 { (exit 1); exit 1; }; }
50979 cat >conftest.$ac_ext <<_ACEOF
50980 /* confdefs.h. */
50981 _ACEOF
50982 cat confdefs.h >>conftest.$ac_ext
50983 cat >>conftest.$ac_ext <<_ACEOF
50984 /* end confdefs.h. */
50985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50987 #define $ac_func innocuous_$ac_func
50989 /* System header to define __stub macros and hopefully few prototypes,
50990 which can conflict with char $ac_func (); below.
50991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50992 <limits.h> exists even on freestanding compilers. */
50994 #ifdef __STDC__
50995 # include <limits.h>
50996 #else
50997 # include <assert.h>
50998 #endif
51000 #undef $ac_func
51002 /* Override any gcc2 internal prototype to avoid an error. */
51003 #ifdef __cplusplus
51004 extern "C"
51006 #endif
51007 /* We use char because int might match the return type of a gcc2
51008 builtin and then its argument prototype would still apply. */
51009 char $ac_func ();
51010 /* The GNU C library defines this for functions which it implements
51011 to always fail with ENOSYS. Some functions are actually named
51012 something starting with __ and the normal name is an alias. */
51013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51014 choke me
51015 #else
51016 char (*f) () = $ac_func;
51017 #endif
51018 #ifdef __cplusplus
51020 #endif
51023 main ()
51025 return f != $ac_func;
51027 return 0;
51029 _ACEOF
51030 rm -f conftest.$ac_objext conftest$ac_exeext
51031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51032 (eval $ac_link) 2>conftest.er1
51033 ac_status=$?
51034 grep -v '^ *+' conftest.er1 >conftest.err
51035 rm -f conftest.er1
51036 cat conftest.err >&5
51037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51038 (exit $ac_status); } &&
51039 { ac_try='test -z "$ac_c_werror_flag"
51040 || test ! -s conftest.err'
51041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51042 (eval $ac_try) 2>&5
51043 ac_status=$?
51044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51045 (exit $ac_status); }; } &&
51046 { ac_try='test -s conftest$ac_exeext'
51047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51048 (eval $ac_try) 2>&5
51049 ac_status=$?
51050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51051 (exit $ac_status); }; }; then
51052 eval "$as_ac_var=yes"
51053 else
51054 echo "$as_me: failed program was:" >&5
51055 sed 's/^/| /' conftest.$ac_ext >&5
51057 eval "$as_ac_var=no"
51059 rm -f conftest.err conftest.$ac_objext \
51060 conftest$ac_exeext conftest.$ac_ext
51062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51064 if test `eval echo '${'$as_ac_var'}'` = yes; then
51065 cat >>confdefs.h <<_ACEOF
51066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51067 _ACEOF
51069 else
51070 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
51072 done
51075 if test x$ac_cv_func_copysignl = x"yes"; then
51077 for ac_func in __signbitl
51079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51080 echo "$as_me:$LINENO: checking for $ac_func" >&5
51081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51082 if eval "test \"\${$as_ac_var+set}\" = set"; then
51083 echo $ECHO_N "(cached) $ECHO_C" >&6
51084 else
51085 if test x$gcc_no_link = xyes; then
51086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51088 { (exit 1); exit 1; }; }
51090 cat >conftest.$ac_ext <<_ACEOF
51091 /* confdefs.h. */
51092 _ACEOF
51093 cat confdefs.h >>conftest.$ac_ext
51094 cat >>conftest.$ac_ext <<_ACEOF
51095 /* end confdefs.h. */
51096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51098 #define $ac_func innocuous_$ac_func
51100 /* System header to define __stub macros and hopefully few prototypes,
51101 which can conflict with char $ac_func (); below.
51102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51103 <limits.h> exists even on freestanding compilers. */
51105 #ifdef __STDC__
51106 # include <limits.h>
51107 #else
51108 # include <assert.h>
51109 #endif
51111 #undef $ac_func
51113 /* Override any gcc2 internal prototype to avoid an error. */
51114 #ifdef __cplusplus
51115 extern "C"
51117 #endif
51118 /* We use char because int might match the return type of a gcc2
51119 builtin and then its argument prototype would still apply. */
51120 char $ac_func ();
51121 /* The GNU C library defines this for functions which it implements
51122 to always fail with ENOSYS. Some functions are actually named
51123 something starting with __ and the normal name is an alias. */
51124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51125 choke me
51126 #else
51127 char (*f) () = $ac_func;
51128 #endif
51129 #ifdef __cplusplus
51131 #endif
51134 main ()
51136 return f != $ac_func;
51138 return 0;
51140 _ACEOF
51141 rm -f conftest.$ac_objext conftest$ac_exeext
51142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51143 (eval $ac_link) 2>conftest.er1
51144 ac_status=$?
51145 grep -v '^ *+' conftest.er1 >conftest.err
51146 rm -f conftest.er1
51147 cat conftest.err >&5
51148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51149 (exit $ac_status); } &&
51150 { ac_try='test -z "$ac_c_werror_flag"
51151 || test ! -s conftest.err'
51152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51153 (eval $ac_try) 2>&5
51154 ac_status=$?
51155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51156 (exit $ac_status); }; } &&
51157 { ac_try='test -s conftest$ac_exeext'
51158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51159 (eval $ac_try) 2>&5
51160 ac_status=$?
51161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51162 (exit $ac_status); }; }; then
51163 eval "$as_ac_var=yes"
51164 else
51165 echo "$as_me: failed program was:" >&5
51166 sed 's/^/| /' conftest.$ac_ext >&5
51168 eval "$as_ac_var=no"
51170 rm -f conftest.err conftest.$ac_objext \
51171 conftest$ac_exeext conftest.$ac_ext
51173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51175 if test `eval echo '${'$as_ac_var'}'` = yes; then
51176 cat >>confdefs.h <<_ACEOF
51177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51178 _ACEOF
51180 else
51181 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
51183 done
51187 # XXX Review this. Nothing uses it.
51188 if test -n "$LIBMATHOBJS"; then
51189 need_libmath=yes
51194 # Test wchar.h for mbstate_t, which is needed for char_traits and
51195 # others even if wchar_t support is not on.
51196 echo "$as_me:$LINENO: checking for mbstate_t" >&5
51197 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
51198 cat >conftest.$ac_ext <<_ACEOF
51199 /* confdefs.h. */
51200 _ACEOF
51201 cat confdefs.h >>conftest.$ac_ext
51202 cat >>conftest.$ac_ext <<_ACEOF
51203 /* end confdefs.h. */
51204 #include <wchar.h>
51206 main ()
51208 mbstate_t teststate;
51210 return 0;
51212 _ACEOF
51213 rm -f conftest.$ac_objext
51214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51215 (eval $ac_compile) 2>conftest.er1
51216 ac_status=$?
51217 grep -v '^ *+' conftest.er1 >conftest.err
51218 rm -f conftest.er1
51219 cat conftest.err >&5
51220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51221 (exit $ac_status); } &&
51222 { ac_try='test -z "$ac_c_werror_flag"
51223 || test ! -s conftest.err'
51224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51225 (eval $ac_try) 2>&5
51226 ac_status=$?
51227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51228 (exit $ac_status); }; } &&
51229 { ac_try='test -s conftest.$ac_objext'
51230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51231 (eval $ac_try) 2>&5
51232 ac_status=$?
51233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51234 (exit $ac_status); }; }; then
51235 have_mbstate_t=yes
51236 else
51237 echo "$as_me: failed program was:" >&5
51238 sed 's/^/| /' conftest.$ac_ext >&5
51240 have_mbstate_t=no
51242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51243 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
51244 echo "${ECHO_T}$have_mbstate_t" >&6
51245 if test x"$have_mbstate_t" = xyes; then
51246 cat >>confdefs.h <<\_ACEOF
51247 #define HAVE_MBSTATE_T 1
51248 _ACEOF
51252 # Sanity check for existence of ISO C99 headers for extended encoding.
51254 for ac_header in wchar.h
51256 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51258 echo "$as_me:$LINENO: checking for $ac_header" >&5
51259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51261 echo $ECHO_N "(cached) $ECHO_C" >&6
51263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51265 else
51266 # Is the header compilable?
51267 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51268 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51269 cat >conftest.$ac_ext <<_ACEOF
51270 /* confdefs.h. */
51271 _ACEOF
51272 cat confdefs.h >>conftest.$ac_ext
51273 cat >>conftest.$ac_ext <<_ACEOF
51274 /* end confdefs.h. */
51275 $ac_includes_default
51276 #include <$ac_header>
51277 _ACEOF
51278 rm -f conftest.$ac_objext
51279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51280 (eval $ac_compile) 2>conftest.er1
51281 ac_status=$?
51282 grep -v '^ *+' conftest.er1 >conftest.err
51283 rm -f conftest.er1
51284 cat conftest.err >&5
51285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51286 (exit $ac_status); } &&
51287 { ac_try='test -z "$ac_c_werror_flag"
51288 || test ! -s conftest.err'
51289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51290 (eval $ac_try) 2>&5
51291 ac_status=$?
51292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51293 (exit $ac_status); }; } &&
51294 { ac_try='test -s conftest.$ac_objext'
51295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51296 (eval $ac_try) 2>&5
51297 ac_status=$?
51298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51299 (exit $ac_status); }; }; then
51300 ac_header_compiler=yes
51301 else
51302 echo "$as_me: failed program was:" >&5
51303 sed 's/^/| /' conftest.$ac_ext >&5
51305 ac_header_compiler=no
51307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51308 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51309 echo "${ECHO_T}$ac_header_compiler" >&6
51311 # Is the header present?
51312 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51313 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51314 cat >conftest.$ac_ext <<_ACEOF
51315 /* confdefs.h. */
51316 _ACEOF
51317 cat confdefs.h >>conftest.$ac_ext
51318 cat >>conftest.$ac_ext <<_ACEOF
51319 /* end confdefs.h. */
51320 #include <$ac_header>
51321 _ACEOF
51322 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51323 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51324 ac_status=$?
51325 grep -v '^ *+' conftest.er1 >conftest.err
51326 rm -f conftest.er1
51327 cat conftest.err >&5
51328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51329 (exit $ac_status); } >/dev/null; then
51330 if test -s conftest.err; then
51331 ac_cpp_err=$ac_c_preproc_warn_flag
51332 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51333 else
51334 ac_cpp_err=
51336 else
51337 ac_cpp_err=yes
51339 if test -z "$ac_cpp_err"; then
51340 ac_header_preproc=yes
51341 else
51342 echo "$as_me: failed program was:" >&5
51343 sed 's/^/| /' conftest.$ac_ext >&5
51345 ac_header_preproc=no
51347 rm -f conftest.err conftest.$ac_ext
51348 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51349 echo "${ECHO_T}$ac_header_preproc" >&6
51351 # So? What about this header?
51352 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51353 yes:no: )
51354 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51355 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51356 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51357 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51358 ac_header_preproc=yes
51360 no:yes:* )
51361 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51362 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51363 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51364 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51365 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51366 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51367 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
51368 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
51369 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51370 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51371 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51372 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51374 cat <<\_ASBOX
51375 ## ----------------------------------------- ##
51376 ## Report this to the package-unused lists. ##
51377 ## ----------------------------------------- ##
51378 _ASBOX
51380 sed "s/^/$as_me: WARNING: /" >&2
51382 esac
51383 echo "$as_me:$LINENO: checking for $ac_header" >&5
51384 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51385 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51386 echo $ECHO_N "(cached) $ECHO_C" >&6
51387 else
51388 eval "$as_ac_Header=\$ac_header_preproc"
51390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51391 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51394 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51395 cat >>confdefs.h <<_ACEOF
51396 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51397 _ACEOF
51398 ac_has_wchar_h=yes
51399 else
51400 ac_has_wchar_h=no
51403 done
51406 for ac_header in wctype.h
51408 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51410 echo "$as_me:$LINENO: checking for $ac_header" >&5
51411 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51412 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51413 echo $ECHO_N "(cached) $ECHO_C" >&6
51415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51416 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51417 else
51418 # Is the header compilable?
51419 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51420 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51421 cat >conftest.$ac_ext <<_ACEOF
51422 /* confdefs.h. */
51423 _ACEOF
51424 cat confdefs.h >>conftest.$ac_ext
51425 cat >>conftest.$ac_ext <<_ACEOF
51426 /* end confdefs.h. */
51427 $ac_includes_default
51428 #include <$ac_header>
51429 _ACEOF
51430 rm -f conftest.$ac_objext
51431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51432 (eval $ac_compile) 2>conftest.er1
51433 ac_status=$?
51434 grep -v '^ *+' conftest.er1 >conftest.err
51435 rm -f conftest.er1
51436 cat conftest.err >&5
51437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51438 (exit $ac_status); } &&
51439 { ac_try='test -z "$ac_c_werror_flag"
51440 || test ! -s conftest.err'
51441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51442 (eval $ac_try) 2>&5
51443 ac_status=$?
51444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51445 (exit $ac_status); }; } &&
51446 { ac_try='test -s conftest.$ac_objext'
51447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51448 (eval $ac_try) 2>&5
51449 ac_status=$?
51450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51451 (exit $ac_status); }; }; then
51452 ac_header_compiler=yes
51453 else
51454 echo "$as_me: failed program was:" >&5
51455 sed 's/^/| /' conftest.$ac_ext >&5
51457 ac_header_compiler=no
51459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51460 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51461 echo "${ECHO_T}$ac_header_compiler" >&6
51463 # Is the header present?
51464 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51465 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51466 cat >conftest.$ac_ext <<_ACEOF
51467 /* confdefs.h. */
51468 _ACEOF
51469 cat confdefs.h >>conftest.$ac_ext
51470 cat >>conftest.$ac_ext <<_ACEOF
51471 /* end confdefs.h. */
51472 #include <$ac_header>
51473 _ACEOF
51474 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51475 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51476 ac_status=$?
51477 grep -v '^ *+' conftest.er1 >conftest.err
51478 rm -f conftest.er1
51479 cat conftest.err >&5
51480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51481 (exit $ac_status); } >/dev/null; then
51482 if test -s conftest.err; then
51483 ac_cpp_err=$ac_c_preproc_warn_flag
51484 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51485 else
51486 ac_cpp_err=
51488 else
51489 ac_cpp_err=yes
51491 if test -z "$ac_cpp_err"; then
51492 ac_header_preproc=yes
51493 else
51494 echo "$as_me: failed program was:" >&5
51495 sed 's/^/| /' conftest.$ac_ext >&5
51497 ac_header_preproc=no
51499 rm -f conftest.err conftest.$ac_ext
51500 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51501 echo "${ECHO_T}$ac_header_preproc" >&6
51503 # So? What about this header?
51504 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51505 yes:no: )
51506 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51507 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51508 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51509 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51510 ac_header_preproc=yes
51512 no:yes:* )
51513 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51514 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51515 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51516 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51517 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51518 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51519 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
51520 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
51521 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51522 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51523 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51524 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51526 cat <<\_ASBOX
51527 ## ----------------------------------------- ##
51528 ## Report this to the package-unused lists. ##
51529 ## ----------------------------------------- ##
51530 _ASBOX
51532 sed "s/^/$as_me: WARNING: /" >&2
51534 esac
51535 echo "$as_me:$LINENO: checking for $ac_header" >&5
51536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51538 echo $ECHO_N "(cached) $ECHO_C" >&6
51539 else
51540 eval "$as_ac_Header=\$ac_header_preproc"
51542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51543 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51546 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51547 cat >>confdefs.h <<_ACEOF
51548 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51549 _ACEOF
51550 ac_has_wctype_h=yes
51551 else
51552 ac_has_wctype_h=no
51555 done
51558 # Only continue checking if the ISO C99 headers exist and support is on.
51559 if test x"$ac_has_wchar_h" = xyes &&
51560 test x"$ac_has_wctype_h" = xyes &&
51561 test x"$enable_c_mbchar" != xno; then
51563 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
51564 # numeric_limits can instantiate type_traits<wchar_t>
51565 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
51566 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
51567 cat >conftest.$ac_ext <<_ACEOF
51568 /* confdefs.h. */
51569 _ACEOF
51570 cat confdefs.h >>conftest.$ac_ext
51571 cat >>conftest.$ac_ext <<_ACEOF
51572 /* end confdefs.h. */
51573 #include <wchar.h>
51575 main ()
51577 int i = WCHAR_MIN; int j = WCHAR_MAX;
51579 return 0;
51581 _ACEOF
51582 rm -f conftest.$ac_objext
51583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51584 (eval $ac_compile) 2>conftest.er1
51585 ac_status=$?
51586 grep -v '^ *+' conftest.er1 >conftest.err
51587 rm -f conftest.er1
51588 cat conftest.err >&5
51589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51590 (exit $ac_status); } &&
51591 { ac_try='test -z "$ac_c_werror_flag"
51592 || test ! -s conftest.err'
51593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51594 (eval $ac_try) 2>&5
51595 ac_status=$?
51596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51597 (exit $ac_status); }; } &&
51598 { ac_try='test -s conftest.$ac_objext'
51599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51600 (eval $ac_try) 2>&5
51601 ac_status=$?
51602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51603 (exit $ac_status); }; }; then
51604 has_wchar_minmax=yes
51605 else
51606 echo "$as_me: failed program was:" >&5
51607 sed 's/^/| /' conftest.$ac_ext >&5
51609 has_wchar_minmax=no
51611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51612 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
51613 echo "${ECHO_T}$has_wchar_minmax" >&6
51615 # Test wchar.h for WEOF, which is what we use to determine whether
51616 # to specialize for char_traits<wchar_t> or not.
51617 echo "$as_me:$LINENO: checking for WEOF" >&5
51618 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
51619 cat >conftest.$ac_ext <<_ACEOF
51620 /* confdefs.h. */
51621 _ACEOF
51622 cat confdefs.h >>conftest.$ac_ext
51623 cat >>conftest.$ac_ext <<_ACEOF
51624 /* end confdefs.h. */
51626 #include <wchar.h>
51627 #include <stddef.h>
51629 main ()
51631 wint_t i = WEOF;
51633 return 0;
51635 _ACEOF
51636 rm -f conftest.$ac_objext
51637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51638 (eval $ac_compile) 2>conftest.er1
51639 ac_status=$?
51640 grep -v '^ *+' conftest.er1 >conftest.err
51641 rm -f conftest.er1
51642 cat conftest.err >&5
51643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51644 (exit $ac_status); } &&
51645 { ac_try='test -z "$ac_c_werror_flag"
51646 || test ! -s conftest.err'
51647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51648 (eval $ac_try) 2>&5
51649 ac_status=$?
51650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51651 (exit $ac_status); }; } &&
51652 { ac_try='test -s conftest.$ac_objext'
51653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51654 (eval $ac_try) 2>&5
51655 ac_status=$?
51656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51657 (exit $ac_status); }; }; then
51658 has_weof=yes
51659 else
51660 echo "$as_me: failed program was:" >&5
51661 sed 's/^/| /' conftest.$ac_ext >&5
51663 has_weof=no
51665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51666 echo "$as_me:$LINENO: result: $has_weof" >&5
51667 echo "${ECHO_T}$has_weof" >&6
51669 # Tests for wide character functions used in char_traits<wchar_t>.
51670 ac_wfuncs=yes
51677 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
51679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51680 echo "$as_me:$LINENO: checking for $ac_func" >&5
51681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51682 if eval "test \"\${$as_ac_var+set}\" = set"; then
51683 echo $ECHO_N "(cached) $ECHO_C" >&6
51684 else
51685 if test x$gcc_no_link = xyes; then
51686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51688 { (exit 1); exit 1; }; }
51690 cat >conftest.$ac_ext <<_ACEOF
51691 /* confdefs.h. */
51692 _ACEOF
51693 cat confdefs.h >>conftest.$ac_ext
51694 cat >>conftest.$ac_ext <<_ACEOF
51695 /* end confdefs.h. */
51696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51698 #define $ac_func innocuous_$ac_func
51700 /* System header to define __stub macros and hopefully few prototypes,
51701 which can conflict with char $ac_func (); below.
51702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51703 <limits.h> exists even on freestanding compilers. */
51705 #ifdef __STDC__
51706 # include <limits.h>
51707 #else
51708 # include <assert.h>
51709 #endif
51711 #undef $ac_func
51713 /* Override any gcc2 internal prototype to avoid an error. */
51714 #ifdef __cplusplus
51715 extern "C"
51717 #endif
51718 /* We use char because int might match the return type of a gcc2
51719 builtin and then its argument prototype would still apply. */
51720 char $ac_func ();
51721 /* The GNU C library defines this for functions which it implements
51722 to always fail with ENOSYS. Some functions are actually named
51723 something starting with __ and the normal name is an alias. */
51724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51725 choke me
51726 #else
51727 char (*f) () = $ac_func;
51728 #endif
51729 #ifdef __cplusplus
51731 #endif
51734 main ()
51736 return f != $ac_func;
51738 return 0;
51740 _ACEOF
51741 rm -f conftest.$ac_objext conftest$ac_exeext
51742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51743 (eval $ac_link) 2>conftest.er1
51744 ac_status=$?
51745 grep -v '^ *+' conftest.er1 >conftest.err
51746 rm -f conftest.er1
51747 cat conftest.err >&5
51748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51749 (exit $ac_status); } &&
51750 { ac_try='test -z "$ac_c_werror_flag"
51751 || test ! -s conftest.err'
51752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51753 (eval $ac_try) 2>&5
51754 ac_status=$?
51755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51756 (exit $ac_status); }; } &&
51757 { ac_try='test -s conftest$ac_exeext'
51758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51759 (eval $ac_try) 2>&5
51760 ac_status=$?
51761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51762 (exit $ac_status); }; }; then
51763 eval "$as_ac_var=yes"
51764 else
51765 echo "$as_me: failed program was:" >&5
51766 sed 's/^/| /' conftest.$ac_ext >&5
51768 eval "$as_ac_var=no"
51770 rm -f conftest.err conftest.$ac_objext \
51771 conftest$ac_exeext conftest.$ac_ext
51773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51775 if test `eval echo '${'$as_ac_var'}'` = yes; then
51776 cat >>confdefs.h <<_ACEOF
51777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51778 _ACEOF
51780 else
51781 ac_wfuncs=no
51783 done
51786 # Checks for names injected into std:: by the c_std headers.
51833 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
51834 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
51835 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
51836 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
51837 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
51838 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
51840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51841 echo "$as_me:$LINENO: checking for $ac_func" >&5
51842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51843 if eval "test \"\${$as_ac_var+set}\" = set"; then
51844 echo $ECHO_N "(cached) $ECHO_C" >&6
51845 else
51846 if test x$gcc_no_link = xyes; then
51847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51849 { (exit 1); exit 1; }; }
51851 cat >conftest.$ac_ext <<_ACEOF
51852 /* confdefs.h. */
51853 _ACEOF
51854 cat confdefs.h >>conftest.$ac_ext
51855 cat >>conftest.$ac_ext <<_ACEOF
51856 /* end confdefs.h. */
51857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51859 #define $ac_func innocuous_$ac_func
51861 /* System header to define __stub macros and hopefully few prototypes,
51862 which can conflict with char $ac_func (); below.
51863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51864 <limits.h> exists even on freestanding compilers. */
51866 #ifdef __STDC__
51867 # include <limits.h>
51868 #else
51869 # include <assert.h>
51870 #endif
51872 #undef $ac_func
51874 /* Override any gcc2 internal prototype to avoid an error. */
51875 #ifdef __cplusplus
51876 extern "C"
51878 #endif
51879 /* We use char because int might match the return type of a gcc2
51880 builtin and then its argument prototype would still apply. */
51881 char $ac_func ();
51882 /* The GNU C library defines this for functions which it implements
51883 to always fail with ENOSYS. Some functions are actually named
51884 something starting with __ and the normal name is an alias. */
51885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51886 choke me
51887 #else
51888 char (*f) () = $ac_func;
51889 #endif
51890 #ifdef __cplusplus
51892 #endif
51895 main ()
51897 return f != $ac_func;
51899 return 0;
51901 _ACEOF
51902 rm -f conftest.$ac_objext conftest$ac_exeext
51903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51904 (eval $ac_link) 2>conftest.er1
51905 ac_status=$?
51906 grep -v '^ *+' conftest.er1 >conftest.err
51907 rm -f conftest.er1
51908 cat conftest.err >&5
51909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51910 (exit $ac_status); } &&
51911 { ac_try='test -z "$ac_c_werror_flag"
51912 || test ! -s conftest.err'
51913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51914 (eval $ac_try) 2>&5
51915 ac_status=$?
51916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51917 (exit $ac_status); }; } &&
51918 { ac_try='test -s conftest$ac_exeext'
51919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51920 (eval $ac_try) 2>&5
51921 ac_status=$?
51922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51923 (exit $ac_status); }; }; then
51924 eval "$as_ac_var=yes"
51925 else
51926 echo "$as_me: failed program was:" >&5
51927 sed 's/^/| /' conftest.$ac_ext >&5
51929 eval "$as_ac_var=no"
51931 rm -f conftest.err conftest.$ac_objext \
51932 conftest$ac_exeext conftest.$ac_ext
51934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51936 if test `eval echo '${'$as_ac_var'}'` = yes; then
51937 cat >>confdefs.h <<_ACEOF
51938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51939 _ACEOF
51941 else
51942 ac_wfuncs=no
51944 done
51947 # Checks for wide character functions that are not required
51948 # for basic wchar_t support. Don't disable support if they are missing.
51949 # Injection of these is wrapped with guard macros.
51955 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
51957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51958 echo "$as_me:$LINENO: checking for $ac_func" >&5
51959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51960 if eval "test \"\${$as_ac_var+set}\" = set"; then
51961 echo $ECHO_N "(cached) $ECHO_C" >&6
51962 else
51963 if test x$gcc_no_link = xyes; then
51964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51966 { (exit 1); exit 1; }; }
51968 cat >conftest.$ac_ext <<_ACEOF
51969 /* confdefs.h. */
51970 _ACEOF
51971 cat confdefs.h >>conftest.$ac_ext
51972 cat >>conftest.$ac_ext <<_ACEOF
51973 /* end confdefs.h. */
51974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51976 #define $ac_func innocuous_$ac_func
51978 /* System header to define __stub macros and hopefully few prototypes,
51979 which can conflict with char $ac_func (); below.
51980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51981 <limits.h> exists even on freestanding compilers. */
51983 #ifdef __STDC__
51984 # include <limits.h>
51985 #else
51986 # include <assert.h>
51987 #endif
51989 #undef $ac_func
51991 /* Override any gcc2 internal prototype to avoid an error. */
51992 #ifdef __cplusplus
51993 extern "C"
51995 #endif
51996 /* We use char because int might match the return type of a gcc2
51997 builtin and then its argument prototype would still apply. */
51998 char $ac_func ();
51999 /* The GNU C library defines this for functions which it implements
52000 to always fail with ENOSYS. Some functions are actually named
52001 something starting with __ and the normal name is an alias. */
52002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52003 choke me
52004 #else
52005 char (*f) () = $ac_func;
52006 #endif
52007 #ifdef __cplusplus
52009 #endif
52012 main ()
52014 return f != $ac_func;
52016 return 0;
52018 _ACEOF
52019 rm -f conftest.$ac_objext conftest$ac_exeext
52020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52021 (eval $ac_link) 2>conftest.er1
52022 ac_status=$?
52023 grep -v '^ *+' conftest.er1 >conftest.err
52024 rm -f conftest.er1
52025 cat conftest.err >&5
52026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52027 (exit $ac_status); } &&
52028 { ac_try='test -z "$ac_c_werror_flag"
52029 || test ! -s conftest.err'
52030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52031 (eval $ac_try) 2>&5
52032 ac_status=$?
52033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52034 (exit $ac_status); }; } &&
52035 { ac_try='test -s conftest$ac_exeext'
52036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52037 (eval $ac_try) 2>&5
52038 ac_status=$?
52039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52040 (exit $ac_status); }; }; then
52041 eval "$as_ac_var=yes"
52042 else
52043 echo "$as_me: failed program was:" >&5
52044 sed 's/^/| /' conftest.$ac_ext >&5
52046 eval "$as_ac_var=no"
52048 rm -f conftest.err conftest.$ac_objext \
52049 conftest$ac_exeext conftest.$ac_ext
52051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52053 if test `eval echo '${'$as_ac_var'}'` = yes; then
52054 cat >>confdefs.h <<_ACEOF
52055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52056 _ACEOF
52059 done
52062 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
52063 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
52064 if test x"$has_weof" = xyes &&
52065 test x"$has_wchar_minmax" = xyes &&
52066 test x"$ac_wfuncs" = xyes;
52067 then
52068 ac_isoC99_wchar_t=yes
52069 else
52070 ac_isoC99_wchar_t=no
52072 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
52073 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
52075 # Use iconv for wchar_t to char conversions. As such, check for
52076 # X/Open Portability Guide, version 2 features (XPG2).
52077 if test "${ac_cv_header_iconv_h+set}" = set; then
52078 echo "$as_me:$LINENO: checking for iconv.h" >&5
52079 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52080 if test "${ac_cv_header_iconv_h+set}" = set; then
52081 echo $ECHO_N "(cached) $ECHO_C" >&6
52083 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52084 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52085 else
52086 # Is the header compilable?
52087 echo "$as_me:$LINENO: checking iconv.h usability" >&5
52088 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
52089 cat >conftest.$ac_ext <<_ACEOF
52090 /* confdefs.h. */
52091 _ACEOF
52092 cat confdefs.h >>conftest.$ac_ext
52093 cat >>conftest.$ac_ext <<_ACEOF
52094 /* end confdefs.h. */
52095 $ac_includes_default
52096 #include <iconv.h>
52097 _ACEOF
52098 rm -f conftest.$ac_objext
52099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52100 (eval $ac_compile) 2>conftest.er1
52101 ac_status=$?
52102 grep -v '^ *+' conftest.er1 >conftest.err
52103 rm -f conftest.er1
52104 cat conftest.err >&5
52105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52106 (exit $ac_status); } &&
52107 { ac_try='test -z "$ac_c_werror_flag"
52108 || test ! -s conftest.err'
52109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52110 (eval $ac_try) 2>&5
52111 ac_status=$?
52112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52113 (exit $ac_status); }; } &&
52114 { ac_try='test -s conftest.$ac_objext'
52115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52116 (eval $ac_try) 2>&5
52117 ac_status=$?
52118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52119 (exit $ac_status); }; }; then
52120 ac_header_compiler=yes
52121 else
52122 echo "$as_me: failed program was:" >&5
52123 sed 's/^/| /' conftest.$ac_ext >&5
52125 ac_header_compiler=no
52127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52128 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52129 echo "${ECHO_T}$ac_header_compiler" >&6
52131 # Is the header present?
52132 echo "$as_me:$LINENO: checking iconv.h presence" >&5
52133 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
52134 cat >conftest.$ac_ext <<_ACEOF
52135 /* confdefs.h. */
52136 _ACEOF
52137 cat confdefs.h >>conftest.$ac_ext
52138 cat >>conftest.$ac_ext <<_ACEOF
52139 /* end confdefs.h. */
52140 #include <iconv.h>
52141 _ACEOF
52142 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52143 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52144 ac_status=$?
52145 grep -v '^ *+' conftest.er1 >conftest.err
52146 rm -f conftest.er1
52147 cat conftest.err >&5
52148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52149 (exit $ac_status); } >/dev/null; then
52150 if test -s conftest.err; then
52151 ac_cpp_err=$ac_c_preproc_warn_flag
52152 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52153 else
52154 ac_cpp_err=
52156 else
52157 ac_cpp_err=yes
52159 if test -z "$ac_cpp_err"; then
52160 ac_header_preproc=yes
52161 else
52162 echo "$as_me: failed program was:" >&5
52163 sed 's/^/| /' conftest.$ac_ext >&5
52165 ac_header_preproc=no
52167 rm -f conftest.err conftest.$ac_ext
52168 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52169 echo "${ECHO_T}$ac_header_preproc" >&6
52171 # So? What about this header?
52172 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52173 yes:no: )
52174 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
52175 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52176 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
52177 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
52178 ac_header_preproc=yes
52180 no:yes:* )
52181 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
52182 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
52183 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
52184 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
52185 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
52186 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
52187 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
52188 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
52189 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52190 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52191 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
52192 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
52194 cat <<\_ASBOX
52195 ## ----------------------------------------- ##
52196 ## Report this to the package-unused lists. ##
52197 ## ----------------------------------------- ##
52198 _ASBOX
52200 sed "s/^/$as_me: WARNING: /" >&2
52202 esac
52203 echo "$as_me:$LINENO: checking for iconv.h" >&5
52204 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52205 if test "${ac_cv_header_iconv_h+set}" = set; then
52206 echo $ECHO_N "(cached) $ECHO_C" >&6
52207 else
52208 ac_cv_header_iconv_h=$ac_header_preproc
52210 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52211 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52214 if test $ac_cv_header_iconv_h = yes; then
52215 ac_has_iconv_h=yes
52216 else
52217 ac_has_iconv_h=no
52221 if test "${ac_cv_header_langinfo_h+set}" = set; then
52222 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52223 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52224 if test "${ac_cv_header_langinfo_h+set}" = set; then
52225 echo $ECHO_N "(cached) $ECHO_C" >&6
52227 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52228 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52229 else
52230 # Is the header compilable?
52231 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
52232 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
52233 cat >conftest.$ac_ext <<_ACEOF
52234 /* confdefs.h. */
52235 _ACEOF
52236 cat confdefs.h >>conftest.$ac_ext
52237 cat >>conftest.$ac_ext <<_ACEOF
52238 /* end confdefs.h. */
52239 $ac_includes_default
52240 #include <langinfo.h>
52241 _ACEOF
52242 rm -f conftest.$ac_objext
52243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52244 (eval $ac_compile) 2>conftest.er1
52245 ac_status=$?
52246 grep -v '^ *+' conftest.er1 >conftest.err
52247 rm -f conftest.er1
52248 cat conftest.err >&5
52249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52250 (exit $ac_status); } &&
52251 { ac_try='test -z "$ac_c_werror_flag"
52252 || test ! -s conftest.err'
52253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52254 (eval $ac_try) 2>&5
52255 ac_status=$?
52256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52257 (exit $ac_status); }; } &&
52258 { ac_try='test -s conftest.$ac_objext'
52259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52260 (eval $ac_try) 2>&5
52261 ac_status=$?
52262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52263 (exit $ac_status); }; }; then
52264 ac_header_compiler=yes
52265 else
52266 echo "$as_me: failed program was:" >&5
52267 sed 's/^/| /' conftest.$ac_ext >&5
52269 ac_header_compiler=no
52271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52272 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52273 echo "${ECHO_T}$ac_header_compiler" >&6
52275 # Is the header present?
52276 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
52277 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
52278 cat >conftest.$ac_ext <<_ACEOF
52279 /* confdefs.h. */
52280 _ACEOF
52281 cat confdefs.h >>conftest.$ac_ext
52282 cat >>conftest.$ac_ext <<_ACEOF
52283 /* end confdefs.h. */
52284 #include <langinfo.h>
52285 _ACEOF
52286 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52287 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52288 ac_status=$?
52289 grep -v '^ *+' conftest.er1 >conftest.err
52290 rm -f conftest.er1
52291 cat conftest.err >&5
52292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52293 (exit $ac_status); } >/dev/null; then
52294 if test -s conftest.err; then
52295 ac_cpp_err=$ac_c_preproc_warn_flag
52296 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52297 else
52298 ac_cpp_err=
52300 else
52301 ac_cpp_err=yes
52303 if test -z "$ac_cpp_err"; then
52304 ac_header_preproc=yes
52305 else
52306 echo "$as_me: failed program was:" >&5
52307 sed 's/^/| /' conftest.$ac_ext >&5
52309 ac_header_preproc=no
52311 rm -f conftest.err conftest.$ac_ext
52312 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52313 echo "${ECHO_T}$ac_header_preproc" >&6
52315 # So? What about this header?
52316 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52317 yes:no: )
52318 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
52319 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52320 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
52321 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
52322 ac_header_preproc=yes
52324 no:yes:* )
52325 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
52326 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
52327 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
52328 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
52329 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
52330 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
52331 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
52332 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
52333 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52334 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52335 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
52336 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
52338 cat <<\_ASBOX
52339 ## ----------------------------------------- ##
52340 ## Report this to the package-unused lists. ##
52341 ## ----------------------------------------- ##
52342 _ASBOX
52344 sed "s/^/$as_me: WARNING: /" >&2
52346 esac
52347 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52348 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52349 if test "${ac_cv_header_langinfo_h+set}" = set; then
52350 echo $ECHO_N "(cached) $ECHO_C" >&6
52351 else
52352 ac_cv_header_langinfo_h=$ac_header_preproc
52354 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52355 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52358 if test $ac_cv_header_langinfo_h = yes; then
52359 ac_has_langinfo_h=yes
52360 else
52361 ac_has_langinfo_h=no
52366 # Check for existence of libiconv.a providing XPG2 wchar_t support.
52367 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52368 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52369 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52370 echo $ECHO_N "(cached) $ECHO_C" >&6
52371 else
52372 ac_check_lib_save_LIBS=$LIBS
52373 LIBS="-liconv $LIBS"
52374 if test x$gcc_no_link = xyes; then
52375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52377 { (exit 1); exit 1; }; }
52379 cat >conftest.$ac_ext <<_ACEOF
52380 /* confdefs.h. */
52381 _ACEOF
52382 cat confdefs.h >>conftest.$ac_ext
52383 cat >>conftest.$ac_ext <<_ACEOF
52384 /* end confdefs.h. */
52386 /* Override any gcc2 internal prototype to avoid an error. */
52387 #ifdef __cplusplus
52388 extern "C"
52389 #endif
52390 /* We use char because int might match the return type of a gcc2
52391 builtin and then its argument prototype would still apply. */
52392 char iconv ();
52394 main ()
52396 iconv ();
52398 return 0;
52400 _ACEOF
52401 rm -f conftest.$ac_objext conftest$ac_exeext
52402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52403 (eval $ac_link) 2>conftest.er1
52404 ac_status=$?
52405 grep -v '^ *+' conftest.er1 >conftest.err
52406 rm -f conftest.er1
52407 cat conftest.err >&5
52408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52409 (exit $ac_status); } &&
52410 { ac_try='test -z "$ac_c_werror_flag"
52411 || test ! -s conftest.err'
52412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52413 (eval $ac_try) 2>&5
52414 ac_status=$?
52415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52416 (exit $ac_status); }; } &&
52417 { ac_try='test -s conftest$ac_exeext'
52418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52419 (eval $ac_try) 2>&5
52420 ac_status=$?
52421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52422 (exit $ac_status); }; }; then
52423 ac_cv_lib_iconv_iconv=yes
52424 else
52425 echo "$as_me: failed program was:" >&5
52426 sed 's/^/| /' conftest.$ac_ext >&5
52428 ac_cv_lib_iconv_iconv=no
52430 rm -f conftest.err conftest.$ac_objext \
52431 conftest$ac_exeext conftest.$ac_ext
52432 LIBS=$ac_check_lib_save_LIBS
52434 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52435 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52436 if test $ac_cv_lib_iconv_iconv = yes; then
52437 LIBICONV="-liconv"
52440 ac_save_LIBS="$LIBS"
52441 LIBS="$LIBS $LIBICONV"
52448 for ac_func in iconv_open iconv_close iconv nl_langinfo
52450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52451 echo "$as_me:$LINENO: checking for $ac_func" >&5
52452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52453 if eval "test \"\${$as_ac_var+set}\" = set"; then
52454 echo $ECHO_N "(cached) $ECHO_C" >&6
52455 else
52456 if test x$gcc_no_link = xyes; then
52457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52459 { (exit 1); exit 1; }; }
52461 cat >conftest.$ac_ext <<_ACEOF
52462 /* confdefs.h. */
52463 _ACEOF
52464 cat confdefs.h >>conftest.$ac_ext
52465 cat >>conftest.$ac_ext <<_ACEOF
52466 /* end confdefs.h. */
52467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52469 #define $ac_func innocuous_$ac_func
52471 /* System header to define __stub macros and hopefully few prototypes,
52472 which can conflict with char $ac_func (); below.
52473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52474 <limits.h> exists even on freestanding compilers. */
52476 #ifdef __STDC__
52477 # include <limits.h>
52478 #else
52479 # include <assert.h>
52480 #endif
52482 #undef $ac_func
52484 /* Override any gcc2 internal prototype to avoid an error. */
52485 #ifdef __cplusplus
52486 extern "C"
52488 #endif
52489 /* We use char because int might match the return type of a gcc2
52490 builtin and then its argument prototype would still apply. */
52491 char $ac_func ();
52492 /* The GNU C library defines this for functions which it implements
52493 to always fail with ENOSYS. Some functions are actually named
52494 something starting with __ and the normal name is an alias. */
52495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52496 choke me
52497 #else
52498 char (*f) () = $ac_func;
52499 #endif
52500 #ifdef __cplusplus
52502 #endif
52505 main ()
52507 return f != $ac_func;
52509 return 0;
52511 _ACEOF
52512 rm -f conftest.$ac_objext conftest$ac_exeext
52513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52514 (eval $ac_link) 2>conftest.er1
52515 ac_status=$?
52516 grep -v '^ *+' conftest.er1 >conftest.err
52517 rm -f conftest.er1
52518 cat conftest.err >&5
52519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52520 (exit $ac_status); } &&
52521 { ac_try='test -z "$ac_c_werror_flag"
52522 || test ! -s conftest.err'
52523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52524 (eval $ac_try) 2>&5
52525 ac_status=$?
52526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52527 (exit $ac_status); }; } &&
52528 { ac_try='test -s conftest$ac_exeext'
52529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52530 (eval $ac_try) 2>&5
52531 ac_status=$?
52532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52533 (exit $ac_status); }; }; then
52534 eval "$as_ac_var=yes"
52535 else
52536 echo "$as_me: failed program was:" >&5
52537 sed 's/^/| /' conftest.$ac_ext >&5
52539 eval "$as_ac_var=no"
52541 rm -f conftest.err conftest.$ac_objext \
52542 conftest$ac_exeext conftest.$ac_ext
52544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52546 if test `eval echo '${'$as_ac_var'}'` = yes; then
52547 cat >>confdefs.h <<_ACEOF
52548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52549 _ACEOF
52550 ac_XPG2funcs=yes
52551 else
52552 ac_XPG2funcs=no
52554 done
52557 LIBS="$ac_save_LIBS"
52559 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
52560 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
52561 if test x"$ac_has_iconv_h" = xyes &&
52562 test x"$ac_has_langinfo_h" = xyes &&
52563 test x"$ac_XPG2funcs" = xyes;
52564 then
52565 ac_XPG2_wchar_t=yes
52566 else
52567 ac_XPG2_wchar_t=no
52569 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
52570 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
52572 # At the moment, only enable wchar_t specializations if all the
52573 # above support is present.
52574 if test x"$ac_isoC99_wchar_t" = xyes &&
52575 test x"$ac_XPG2_wchar_t" = xyes;
52576 then
52577 cat >>confdefs.h <<\_ACEOF
52578 #define _GLIBCXX_USE_WCHAR_T 1
52579 _ACEOF
52581 enable_wchar_t=yes
52584 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
52585 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
52586 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
52587 echo "${ECHO_T}$enable_wchar_t" >&6
52590 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52591 ac_save_CXXFLAGS="$CXXFLAGS"
52592 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52595 echo "$as_me:$LINENO: checking for strtold declaration" >&5
52596 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
52597 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52598 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
52599 echo $ECHO_N "(cached) $ECHO_C" >&6
52600 else
52604 ac_ext=cc
52605 ac_cpp='$CXXCPP $CPPFLAGS'
52606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52610 cat >conftest.$ac_ext <<_ACEOF
52611 /* confdefs.h. */
52612 _ACEOF
52613 cat confdefs.h >>conftest.$ac_ext
52614 cat >>conftest.$ac_ext <<_ACEOF
52615 /* end confdefs.h. */
52616 #include <stdlib.h>
52618 main ()
52620 strtold(0, 0);
52622 return 0;
52624 _ACEOF
52625 rm -f conftest.$ac_objext
52626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52627 (eval $ac_compile) 2>conftest.er1
52628 ac_status=$?
52629 grep -v '^ *+' conftest.er1 >conftest.err
52630 rm -f conftest.er1
52631 cat conftest.err >&5
52632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52633 (exit $ac_status); } &&
52634 { ac_try='test -z "$ac_cxx_werror_flag"
52635 || test ! -s conftest.err'
52636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52637 (eval $ac_try) 2>&5
52638 ac_status=$?
52639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52640 (exit $ac_status); }; } &&
52641 { ac_try='test -s conftest.$ac_objext'
52642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52643 (eval $ac_try) 2>&5
52644 ac_status=$?
52645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52646 (exit $ac_status); }; }; then
52647 glibcxx_cv_func_strtold_use=yes
52648 else
52649 echo "$as_me: failed program was:" >&5
52650 sed 's/^/| /' conftest.$ac_ext >&5
52652 glibcxx_cv_func_strtold_use=no
52654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52655 ac_ext=c
52656 ac_cpp='$CPP $CPPFLAGS'
52657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52665 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
52666 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
52667 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52669 for ac_func in strtold
52671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52672 echo "$as_me:$LINENO: checking for $ac_func" >&5
52673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52674 if eval "test \"\${$as_ac_var+set}\" = set"; then
52675 echo $ECHO_N "(cached) $ECHO_C" >&6
52676 else
52677 if test x$gcc_no_link = xyes; then
52678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52680 { (exit 1); exit 1; }; }
52682 cat >conftest.$ac_ext <<_ACEOF
52683 /* confdefs.h. */
52684 _ACEOF
52685 cat confdefs.h >>conftest.$ac_ext
52686 cat >>conftest.$ac_ext <<_ACEOF
52687 /* end confdefs.h. */
52688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52690 #define $ac_func innocuous_$ac_func
52692 /* System header to define __stub macros and hopefully few prototypes,
52693 which can conflict with char $ac_func (); below.
52694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52695 <limits.h> exists even on freestanding compilers. */
52697 #ifdef __STDC__
52698 # include <limits.h>
52699 #else
52700 # include <assert.h>
52701 #endif
52703 #undef $ac_func
52705 /* Override any gcc2 internal prototype to avoid an error. */
52706 #ifdef __cplusplus
52707 extern "C"
52709 #endif
52710 /* We use char because int might match the return type of a gcc2
52711 builtin and then its argument prototype would still apply. */
52712 char $ac_func ();
52713 /* The GNU C library defines this for functions which it implements
52714 to always fail with ENOSYS. Some functions are actually named
52715 something starting with __ and the normal name is an alias. */
52716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52717 choke me
52718 #else
52719 char (*f) () = $ac_func;
52720 #endif
52721 #ifdef __cplusplus
52723 #endif
52726 main ()
52728 return f != $ac_func;
52730 return 0;
52732 _ACEOF
52733 rm -f conftest.$ac_objext conftest$ac_exeext
52734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52735 (eval $ac_link) 2>conftest.er1
52736 ac_status=$?
52737 grep -v '^ *+' conftest.er1 >conftest.err
52738 rm -f conftest.er1
52739 cat conftest.err >&5
52740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52741 (exit $ac_status); } &&
52742 { ac_try='test -z "$ac_c_werror_flag"
52743 || test ! -s conftest.err'
52744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52745 (eval $ac_try) 2>&5
52746 ac_status=$?
52747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52748 (exit $ac_status); }; } &&
52749 { ac_try='test -s conftest$ac_exeext'
52750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52751 (eval $ac_try) 2>&5
52752 ac_status=$?
52753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52754 (exit $ac_status); }; }; then
52755 eval "$as_ac_var=yes"
52756 else
52757 echo "$as_me: failed program was:" >&5
52758 sed 's/^/| /' conftest.$ac_ext >&5
52760 eval "$as_ac_var=no"
52762 rm -f conftest.err conftest.$ac_objext \
52763 conftest$ac_exeext conftest.$ac_ext
52765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52767 if test `eval echo '${'$as_ac_var'}'` = yes; then
52768 cat >>confdefs.h <<_ACEOF
52769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52770 _ACEOF
52773 done
52778 echo "$as_me:$LINENO: checking for strtof declaration" >&5
52779 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
52780 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52781 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
52782 echo $ECHO_N "(cached) $ECHO_C" >&6
52783 else
52787 ac_ext=cc
52788 ac_cpp='$CXXCPP $CPPFLAGS'
52789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52793 cat >conftest.$ac_ext <<_ACEOF
52794 /* confdefs.h. */
52795 _ACEOF
52796 cat confdefs.h >>conftest.$ac_ext
52797 cat >>conftest.$ac_ext <<_ACEOF
52798 /* end confdefs.h. */
52799 #include <stdlib.h>
52801 main ()
52803 strtof(0, 0);
52805 return 0;
52807 _ACEOF
52808 rm -f conftest.$ac_objext
52809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52810 (eval $ac_compile) 2>conftest.er1
52811 ac_status=$?
52812 grep -v '^ *+' conftest.er1 >conftest.err
52813 rm -f conftest.er1
52814 cat conftest.err >&5
52815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52816 (exit $ac_status); } &&
52817 { ac_try='test -z "$ac_cxx_werror_flag"
52818 || test ! -s conftest.err'
52819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52820 (eval $ac_try) 2>&5
52821 ac_status=$?
52822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52823 (exit $ac_status); }; } &&
52824 { ac_try='test -s conftest.$ac_objext'
52825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52826 (eval $ac_try) 2>&5
52827 ac_status=$?
52828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52829 (exit $ac_status); }; }; then
52830 glibcxx_cv_func_strtof_use=yes
52831 else
52832 echo "$as_me: failed program was:" >&5
52833 sed 's/^/| /' conftest.$ac_ext >&5
52835 glibcxx_cv_func_strtof_use=no
52837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52838 ac_ext=c
52839 ac_cpp='$CPP $CPPFLAGS'
52840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52848 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
52849 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
52850 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52852 for ac_func in strtof
52854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52855 echo "$as_me:$LINENO: checking for $ac_func" >&5
52856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52857 if eval "test \"\${$as_ac_var+set}\" = set"; then
52858 echo $ECHO_N "(cached) $ECHO_C" >&6
52859 else
52860 if test x$gcc_no_link = xyes; then
52861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52863 { (exit 1); exit 1; }; }
52865 cat >conftest.$ac_ext <<_ACEOF
52866 /* confdefs.h. */
52867 _ACEOF
52868 cat confdefs.h >>conftest.$ac_ext
52869 cat >>conftest.$ac_ext <<_ACEOF
52870 /* end confdefs.h. */
52871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52873 #define $ac_func innocuous_$ac_func
52875 /* System header to define __stub macros and hopefully few prototypes,
52876 which can conflict with char $ac_func (); below.
52877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52878 <limits.h> exists even on freestanding compilers. */
52880 #ifdef __STDC__
52881 # include <limits.h>
52882 #else
52883 # include <assert.h>
52884 #endif
52886 #undef $ac_func
52888 /* Override any gcc2 internal prototype to avoid an error. */
52889 #ifdef __cplusplus
52890 extern "C"
52892 #endif
52893 /* We use char because int might match the return type of a gcc2
52894 builtin and then its argument prototype would still apply. */
52895 char $ac_func ();
52896 /* The GNU C library defines this for functions which it implements
52897 to always fail with ENOSYS. Some functions are actually named
52898 something starting with __ and the normal name is an alias. */
52899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52900 choke me
52901 #else
52902 char (*f) () = $ac_func;
52903 #endif
52904 #ifdef __cplusplus
52906 #endif
52909 main ()
52911 return f != $ac_func;
52913 return 0;
52915 _ACEOF
52916 rm -f conftest.$ac_objext conftest$ac_exeext
52917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52918 (eval $ac_link) 2>conftest.er1
52919 ac_status=$?
52920 grep -v '^ *+' conftest.er1 >conftest.err
52921 rm -f conftest.er1
52922 cat conftest.err >&5
52923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52924 (exit $ac_status); } &&
52925 { ac_try='test -z "$ac_c_werror_flag"
52926 || test ! -s conftest.err'
52927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52928 (eval $ac_try) 2>&5
52929 ac_status=$?
52930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52931 (exit $ac_status); }; } &&
52932 { ac_try='test -s conftest$ac_exeext'
52933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52934 (eval $ac_try) 2>&5
52935 ac_status=$?
52936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52937 (exit $ac_status); }; }; then
52938 eval "$as_ac_var=yes"
52939 else
52940 echo "$as_me: failed program was:" >&5
52941 sed 's/^/| /' conftest.$ac_ext >&5
52943 eval "$as_ac_var=no"
52945 rm -f conftest.err conftest.$ac_objext \
52946 conftest$ac_exeext conftest.$ac_ext
52948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52950 if test `eval echo '${'$as_ac_var'}'` = yes; then
52951 cat >>confdefs.h <<_ACEOF
52952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52953 _ACEOF
52956 done
52961 CXXFLAGS="$ac_save_CXXFLAGS"
52964 # For showmanyc_helper().
52967 for ac_header in sys/ioctl.h sys/filio.h
52969 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52971 echo "$as_me:$LINENO: checking for $ac_header" >&5
52972 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52973 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52974 echo $ECHO_N "(cached) $ECHO_C" >&6
52976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52977 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52978 else
52979 # Is the header compilable?
52980 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52981 echo $ECHO_N "checking $ac_header usability... $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. */
52988 $ac_includes_default
52989 #include <$ac_header>
52990 _ACEOF
52991 rm -f conftest.$ac_objext
52992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52993 (eval $ac_compile) 2>conftest.er1
52994 ac_status=$?
52995 grep -v '^ *+' conftest.er1 >conftest.err
52996 rm -f conftest.er1
52997 cat conftest.err >&5
52998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52999 (exit $ac_status); } &&
53000 { ac_try='test -z "$ac_c_werror_flag"
53001 || test ! -s conftest.err'
53002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53003 (eval $ac_try) 2>&5
53004 ac_status=$?
53005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53006 (exit $ac_status); }; } &&
53007 { ac_try='test -s conftest.$ac_objext'
53008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53009 (eval $ac_try) 2>&5
53010 ac_status=$?
53011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53012 (exit $ac_status); }; }; then
53013 ac_header_compiler=yes
53014 else
53015 echo "$as_me: failed program was:" >&5
53016 sed 's/^/| /' conftest.$ac_ext >&5
53018 ac_header_compiler=no
53020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53021 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53022 echo "${ECHO_T}$ac_header_compiler" >&6
53024 # Is the header present?
53025 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53026 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53027 cat >conftest.$ac_ext <<_ACEOF
53028 /* confdefs.h. */
53029 _ACEOF
53030 cat confdefs.h >>conftest.$ac_ext
53031 cat >>conftest.$ac_ext <<_ACEOF
53032 /* end confdefs.h. */
53033 #include <$ac_header>
53034 _ACEOF
53035 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53036 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53037 ac_status=$?
53038 grep -v '^ *+' conftest.er1 >conftest.err
53039 rm -f conftest.er1
53040 cat conftest.err >&5
53041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53042 (exit $ac_status); } >/dev/null; then
53043 if test -s conftest.err; then
53044 ac_cpp_err=$ac_c_preproc_warn_flag
53045 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53046 else
53047 ac_cpp_err=
53049 else
53050 ac_cpp_err=yes
53052 if test -z "$ac_cpp_err"; then
53053 ac_header_preproc=yes
53054 else
53055 echo "$as_me: failed program was:" >&5
53056 sed 's/^/| /' conftest.$ac_ext >&5
53058 ac_header_preproc=no
53060 rm -f conftest.err conftest.$ac_ext
53061 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53062 echo "${ECHO_T}$ac_header_preproc" >&6
53064 # So? What about this header?
53065 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53066 yes:no: )
53067 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53068 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53070 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53071 ac_header_preproc=yes
53073 no:yes:* )
53074 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53075 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53076 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53077 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53078 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53079 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53080 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53081 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53082 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53083 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53084 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53085 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53087 cat <<\_ASBOX
53088 ## ----------------------------------------- ##
53089 ## Report this to the package-unused lists. ##
53090 ## ----------------------------------------- ##
53091 _ASBOX
53093 sed "s/^/$as_me: WARNING: /" >&2
53095 esac
53096 echo "$as_me:$LINENO: checking for $ac_header" >&5
53097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53099 echo $ECHO_N "(cached) $ECHO_C" >&6
53100 else
53101 eval "$as_ac_Header=\$ac_header_preproc"
53103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53104 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53107 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53108 cat >>confdefs.h <<_ACEOF
53109 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53110 _ACEOF
53114 done
53117 if test "${glibcxx_cv_POLL+set}" = set; then
53118 echo $ECHO_N "(cached) $ECHO_C" >&6
53119 else
53121 if test x$gcc_no_link = xyes; then
53122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53124 { (exit 1); exit 1; }; }
53126 cat >conftest.$ac_ext <<_ACEOF
53127 /* confdefs.h. */
53128 _ACEOF
53129 cat confdefs.h >>conftest.$ac_ext
53130 cat >>conftest.$ac_ext <<_ACEOF
53131 /* end confdefs.h. */
53132 #include <poll.h>
53134 main ()
53136 struct pollfd pfd[1];
53137 pfd[0].events = POLLIN;
53138 poll(pfd, 1, 0);
53140 return 0;
53142 _ACEOF
53143 rm -f conftest.$ac_objext conftest$ac_exeext
53144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53145 (eval $ac_link) 2>conftest.er1
53146 ac_status=$?
53147 grep -v '^ *+' conftest.er1 >conftest.err
53148 rm -f conftest.er1
53149 cat conftest.err >&5
53150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53151 (exit $ac_status); } &&
53152 { ac_try='test -z "$ac_c_werror_flag"
53153 || test ! -s conftest.err'
53154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53155 (eval $ac_try) 2>&5
53156 ac_status=$?
53157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53158 (exit $ac_status); }; } &&
53159 { ac_try='test -s conftest$ac_exeext'
53160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53161 (eval $ac_try) 2>&5
53162 ac_status=$?
53163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53164 (exit $ac_status); }; }; then
53165 glibcxx_cv_POLL=yes
53166 else
53167 echo "$as_me: failed program was:" >&5
53168 sed 's/^/| /' conftest.$ac_ext >&5
53170 glibcxx_cv_POLL=no
53172 rm -f conftest.err conftest.$ac_objext \
53173 conftest$ac_exeext conftest.$ac_ext
53177 if test $glibcxx_cv_POLL = yes; then
53178 cat >>confdefs.h <<\_ACEOF
53179 #define HAVE_POLL 1
53180 _ACEOF
53185 if test "${glibcxx_cv_S_ISREG+set}" = set; then
53186 echo $ECHO_N "(cached) $ECHO_C" >&6
53187 else
53189 if test x$gcc_no_link = xyes; then
53190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53192 { (exit 1); exit 1; }; }
53194 cat >conftest.$ac_ext <<_ACEOF
53195 /* confdefs.h. */
53196 _ACEOF
53197 cat confdefs.h >>conftest.$ac_ext
53198 cat >>conftest.$ac_ext <<_ACEOF
53199 /* end confdefs.h. */
53200 #include <sys/stat.h>
53202 main ()
53204 struct stat buffer;
53205 fstat(0, &buffer);
53206 S_ISREG(buffer.st_mode);
53208 return 0;
53210 _ACEOF
53211 rm -f conftest.$ac_objext conftest$ac_exeext
53212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53213 (eval $ac_link) 2>conftest.er1
53214 ac_status=$?
53215 grep -v '^ *+' conftest.er1 >conftest.err
53216 rm -f conftest.er1
53217 cat conftest.err >&5
53218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53219 (exit $ac_status); } &&
53220 { ac_try='test -z "$ac_c_werror_flag"
53221 || test ! -s conftest.err'
53222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53223 (eval $ac_try) 2>&5
53224 ac_status=$?
53225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53226 (exit $ac_status); }; } &&
53227 { ac_try='test -s conftest$ac_exeext'
53228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53229 (eval $ac_try) 2>&5
53230 ac_status=$?
53231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53232 (exit $ac_status); }; }; then
53233 glibcxx_cv_S_ISREG=yes
53234 else
53235 echo "$as_me: failed program was:" >&5
53236 sed 's/^/| /' conftest.$ac_ext >&5
53238 glibcxx_cv_S_ISREG=no
53240 rm -f conftest.err conftest.$ac_objext \
53241 conftest$ac_exeext conftest.$ac_ext
53245 if test "${glibcxx_cv_S_IFREG+set}" = set; then
53246 echo $ECHO_N "(cached) $ECHO_C" >&6
53247 else
53249 if test x$gcc_no_link = xyes; then
53250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53252 { (exit 1); exit 1; }; }
53254 cat >conftest.$ac_ext <<_ACEOF
53255 /* confdefs.h. */
53256 _ACEOF
53257 cat confdefs.h >>conftest.$ac_ext
53258 cat >>conftest.$ac_ext <<_ACEOF
53259 /* end confdefs.h. */
53260 #include <sys/stat.h>
53262 main ()
53264 struct stat buffer;
53265 fstat(0, &buffer);
53266 S_IFREG & buffer.st_mode;
53268 return 0;
53270 _ACEOF
53271 rm -f conftest.$ac_objext conftest$ac_exeext
53272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53273 (eval $ac_link) 2>conftest.er1
53274 ac_status=$?
53275 grep -v '^ *+' conftest.er1 >conftest.err
53276 rm -f conftest.er1
53277 cat conftest.err >&5
53278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53279 (exit $ac_status); } &&
53280 { ac_try='test -z "$ac_c_werror_flag"
53281 || test ! -s conftest.err'
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); }; } &&
53287 { ac_try='test -s conftest$ac_exeext'
53288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53289 (eval $ac_try) 2>&5
53290 ac_status=$?
53291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53292 (exit $ac_status); }; }; then
53293 glibcxx_cv_S_IFREG=yes
53294 else
53295 echo "$as_me: failed program was:" >&5
53296 sed 's/^/| /' conftest.$ac_ext >&5
53298 glibcxx_cv_S_IFREG=no
53300 rm -f conftest.err conftest.$ac_objext \
53301 conftest$ac_exeext conftest.$ac_ext
53305 if test $glibcxx_cv_S_ISREG = yes; then
53306 cat >>confdefs.h <<\_ACEOF
53307 #define HAVE_S_ISREG 1
53308 _ACEOF
53310 elif test $glibcxx_cv_S_IFREG = yes; then
53311 cat >>confdefs.h <<\_ACEOF
53312 #define HAVE_S_IFREG 1
53313 _ACEOF
53318 # For xsputn_2().
53320 for ac_header in sys/uio.h
53322 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53324 echo "$as_me:$LINENO: checking for $ac_header" >&5
53325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53327 echo $ECHO_N "(cached) $ECHO_C" >&6
53329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53330 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53331 else
53332 # Is the header compilable?
53333 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53334 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53335 cat >conftest.$ac_ext <<_ACEOF
53336 /* confdefs.h. */
53337 _ACEOF
53338 cat confdefs.h >>conftest.$ac_ext
53339 cat >>conftest.$ac_ext <<_ACEOF
53340 /* end confdefs.h. */
53341 $ac_includes_default
53342 #include <$ac_header>
53343 _ACEOF
53344 rm -f conftest.$ac_objext
53345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53346 (eval $ac_compile) 2>conftest.er1
53347 ac_status=$?
53348 grep -v '^ *+' conftest.er1 >conftest.err
53349 rm -f conftest.er1
53350 cat conftest.err >&5
53351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53352 (exit $ac_status); } &&
53353 { ac_try='test -z "$ac_c_werror_flag"
53354 || test ! -s conftest.err'
53355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53356 (eval $ac_try) 2>&5
53357 ac_status=$?
53358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53359 (exit $ac_status); }; } &&
53360 { ac_try='test -s conftest.$ac_objext'
53361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53362 (eval $ac_try) 2>&5
53363 ac_status=$?
53364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53365 (exit $ac_status); }; }; then
53366 ac_header_compiler=yes
53367 else
53368 echo "$as_me: failed program was:" >&5
53369 sed 's/^/| /' conftest.$ac_ext >&5
53371 ac_header_compiler=no
53373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53374 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53375 echo "${ECHO_T}$ac_header_compiler" >&6
53377 # Is the header present?
53378 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53379 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53380 cat >conftest.$ac_ext <<_ACEOF
53381 /* confdefs.h. */
53382 _ACEOF
53383 cat confdefs.h >>conftest.$ac_ext
53384 cat >>conftest.$ac_ext <<_ACEOF
53385 /* end confdefs.h. */
53386 #include <$ac_header>
53387 _ACEOF
53388 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53389 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53390 ac_status=$?
53391 grep -v '^ *+' conftest.er1 >conftest.err
53392 rm -f conftest.er1
53393 cat conftest.err >&5
53394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53395 (exit $ac_status); } >/dev/null; then
53396 if test -s conftest.err; then
53397 ac_cpp_err=$ac_c_preproc_warn_flag
53398 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53399 else
53400 ac_cpp_err=
53402 else
53403 ac_cpp_err=yes
53405 if test -z "$ac_cpp_err"; then
53406 ac_header_preproc=yes
53407 else
53408 echo "$as_me: failed program was:" >&5
53409 sed 's/^/| /' conftest.$ac_ext >&5
53411 ac_header_preproc=no
53413 rm -f conftest.err conftest.$ac_ext
53414 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53415 echo "${ECHO_T}$ac_header_preproc" >&6
53417 # So? What about this header?
53418 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53419 yes:no: )
53420 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53421 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53423 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53424 ac_header_preproc=yes
53426 no:yes:* )
53427 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53428 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53429 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53430 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53431 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53432 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53433 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53434 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53435 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53436 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53437 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53438 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53440 cat <<\_ASBOX
53441 ## ----------------------------------------- ##
53442 ## Report this to the package-unused lists. ##
53443 ## ----------------------------------------- ##
53444 _ASBOX
53446 sed "s/^/$as_me: WARNING: /" >&2
53448 esac
53449 echo "$as_me:$LINENO: checking for $ac_header" >&5
53450 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53452 echo $ECHO_N "(cached) $ECHO_C" >&6
53453 else
53454 eval "$as_ac_Header=\$ac_header_preproc"
53456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53457 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53460 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53461 cat >>confdefs.h <<_ACEOF
53462 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53463 _ACEOF
53467 done
53470 if test "${glibcxx_cv_WRITEV+set}" = set; then
53471 echo $ECHO_N "(cached) $ECHO_C" >&6
53472 else
53474 if test x$gcc_no_link = xyes; then
53475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53477 { (exit 1); exit 1; }; }
53479 cat >conftest.$ac_ext <<_ACEOF
53480 /* confdefs.h. */
53481 _ACEOF
53482 cat confdefs.h >>conftest.$ac_ext
53483 cat >>conftest.$ac_ext <<_ACEOF
53484 /* end confdefs.h. */
53485 #include <sys/uio.h>
53487 main ()
53489 struct iovec iov[2];
53490 writev(0, iov, 0);
53492 return 0;
53494 _ACEOF
53495 rm -f conftest.$ac_objext conftest$ac_exeext
53496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53497 (eval $ac_link) 2>conftest.er1
53498 ac_status=$?
53499 grep -v '^ *+' conftest.er1 >conftest.err
53500 rm -f conftest.er1
53501 cat conftest.err >&5
53502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53503 (exit $ac_status); } &&
53504 { ac_try='test -z "$ac_c_werror_flag"
53505 || test ! -s conftest.err'
53506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53507 (eval $ac_try) 2>&5
53508 ac_status=$?
53509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53510 (exit $ac_status); }; } &&
53511 { ac_try='test -s conftest$ac_exeext'
53512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53513 (eval $ac_try) 2>&5
53514 ac_status=$?
53515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53516 (exit $ac_status); }; }; then
53517 glibcxx_cv_WRITEV=yes
53518 else
53519 echo "$as_me: failed program was:" >&5
53520 sed 's/^/| /' conftest.$ac_ext >&5
53522 glibcxx_cv_WRITEV=no
53524 rm -f conftest.err conftest.$ac_objext \
53525 conftest$ac_exeext conftest.$ac_ext
53529 if test $glibcxx_cv_WRITEV = yes; then
53530 cat >>confdefs.h <<\_ACEOF
53531 #define HAVE_WRITEV 1
53532 _ACEOF
53537 cat >>confdefs.h <<\_ACEOF
53538 #define HAVE_LC_MESSAGES 1
53539 _ACEOF
53542 cat >conftest.$ac_ext <<_ACEOF
53543 /* confdefs.h. */
53544 _ACEOF
53545 cat confdefs.h >>conftest.$ac_ext
53546 cat >>conftest.$ac_ext <<_ACEOF
53547 /* end confdefs.h. */
53548 #include <setjmp.h>
53550 main ()
53552 sigjmp_buf env;
53553 while (! sigsetjmp (env, 1))
53554 siglongjmp (env, 1);
53557 return 0;
53559 _ACEOF
53560 rm -f conftest.$ac_objext
53561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53562 (eval $ac_compile) 2>conftest.er1
53563 ac_status=$?
53564 grep -v '^ *+' conftest.er1 >conftest.err
53565 rm -f conftest.er1
53566 cat conftest.err >&5
53567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53568 (exit $ac_status); } &&
53569 { ac_try='test -z "$ac_c_werror_flag"
53570 || test ! -s conftest.err'
53571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53572 (eval $ac_try) 2>&5
53573 ac_status=$?
53574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53575 (exit $ac_status); }; } &&
53576 { ac_try='test -s conftest.$ac_objext'
53577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53578 (eval $ac_try) 2>&5
53579 ac_status=$?
53580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53581 (exit $ac_status); }; }; then
53583 cat >>confdefs.h <<\_ACEOF
53584 #define HAVE_SIGSETJMP 1
53585 _ACEOF
53587 else
53588 echo "$as_me: failed program was:" >&5
53589 sed 's/^/| /' conftest.$ac_ext >&5
53592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53594 cat >>confdefs.h <<\_ACEOF
53595 #define HAVE_MMAP 1
53596 _ACEOF
53600 *-freebsd*)
53617 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
53618 machine/endian.h machine/param.h sys/machine.h sys/types.h \
53619 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
53620 sys/time.h unistd.h
53622 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53624 echo "$as_me:$LINENO: checking for $ac_header" >&5
53625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53626 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53627 echo $ECHO_N "(cached) $ECHO_C" >&6
53629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53631 else
53632 # Is the header compilable?
53633 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53634 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53635 cat >conftest.$ac_ext <<_ACEOF
53636 /* confdefs.h. */
53637 _ACEOF
53638 cat confdefs.h >>conftest.$ac_ext
53639 cat >>conftest.$ac_ext <<_ACEOF
53640 /* end confdefs.h. */
53641 $ac_includes_default
53642 #include <$ac_header>
53643 _ACEOF
53644 rm -f conftest.$ac_objext
53645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53646 (eval $ac_compile) 2>conftest.er1
53647 ac_status=$?
53648 grep -v '^ *+' conftest.er1 >conftest.err
53649 rm -f conftest.er1
53650 cat conftest.err >&5
53651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53652 (exit $ac_status); } &&
53653 { ac_try='test -z "$ac_c_werror_flag"
53654 || test ! -s conftest.err'
53655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53656 (eval $ac_try) 2>&5
53657 ac_status=$?
53658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53659 (exit $ac_status); }; } &&
53660 { ac_try='test -s conftest.$ac_objext'
53661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53662 (eval $ac_try) 2>&5
53663 ac_status=$?
53664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53665 (exit $ac_status); }; }; then
53666 ac_header_compiler=yes
53667 else
53668 echo "$as_me: failed program was:" >&5
53669 sed 's/^/| /' conftest.$ac_ext >&5
53671 ac_header_compiler=no
53673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53674 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53675 echo "${ECHO_T}$ac_header_compiler" >&6
53677 # Is the header present?
53678 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53679 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53680 cat >conftest.$ac_ext <<_ACEOF
53681 /* confdefs.h. */
53682 _ACEOF
53683 cat confdefs.h >>conftest.$ac_ext
53684 cat >>conftest.$ac_ext <<_ACEOF
53685 /* end confdefs.h. */
53686 #include <$ac_header>
53687 _ACEOF
53688 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53689 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53690 ac_status=$?
53691 grep -v '^ *+' conftest.er1 >conftest.err
53692 rm -f conftest.er1
53693 cat conftest.err >&5
53694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53695 (exit $ac_status); } >/dev/null; then
53696 if test -s conftest.err; then
53697 ac_cpp_err=$ac_c_preproc_warn_flag
53698 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53699 else
53700 ac_cpp_err=
53702 else
53703 ac_cpp_err=yes
53705 if test -z "$ac_cpp_err"; then
53706 ac_header_preproc=yes
53707 else
53708 echo "$as_me: failed program was:" >&5
53709 sed 's/^/| /' conftest.$ac_ext >&5
53711 ac_header_preproc=no
53713 rm -f conftest.err conftest.$ac_ext
53714 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53715 echo "${ECHO_T}$ac_header_preproc" >&6
53717 # So? What about this header?
53718 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53719 yes:no: )
53720 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53721 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53722 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53723 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53724 ac_header_preproc=yes
53726 no:yes:* )
53727 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53728 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53729 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53730 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53731 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53732 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53733 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53734 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53736 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53737 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53738 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53740 cat <<\_ASBOX
53741 ## ----------------------------------------- ##
53742 ## Report this to the package-unused lists. ##
53743 ## ----------------------------------------- ##
53744 _ASBOX
53746 sed "s/^/$as_me: WARNING: /" >&2
53748 esac
53749 echo "$as_me:$LINENO: checking for $ac_header" >&5
53750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53752 echo $ECHO_N "(cached) $ECHO_C" >&6
53753 else
53754 eval "$as_ac_Header=\$ac_header_preproc"
53756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53757 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53760 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53761 cat >>confdefs.h <<_ACEOF
53762 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53763 _ACEOF
53767 done
53769 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53772 # If we're not using GNU ld, then there's no point in even trying these
53773 # tests. Check for that first. We should have already tested for gld
53774 # by now (in libtool), but require it now just to be safe...
53775 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53776 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53780 # The name set by libtool depends on the version of libtool. Shame on us
53781 # for depending on an impl detail, but c'est la vie. Older versions used
53782 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53783 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53784 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53785 # set (hence we're using an older libtool), then set it.
53786 if test x${with_gnu_ld+set} != xset; then
53787 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53788 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53789 with_gnu_ld=no
53790 else
53791 with_gnu_ld=$ac_cv_prog_gnu_ld
53795 # Start by getting the version number. I think the libtool test already
53796 # does some of this, but throws away the result.
53798 ldver=`$LD --version 2>/dev/null | head -1 | \
53799 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53801 glibcxx_gnu_ld_version=`echo $ldver | \
53802 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53804 # Set --gc-sections.
53805 if test "$with_gnu_ld" = "notbroken"; then
53806 # GNU ld it is! Joy and bunny rabbits!
53808 # All these tests are for C++; save the language and the compiler flags.
53809 # Need to do this so that g++ won't try to link in libstdc++
53810 ac_test_CFLAGS="${CFLAGS+set}"
53811 ac_save_CFLAGS="$CFLAGS"
53812 CFLAGS='-x c++ -Wl,--gc-sections'
53814 # Check for -Wl,--gc-sections
53815 # XXX This test is broken at the moment, as symbols required for linking
53816 # are now in libsupc++ (not built yet). In addition, this test has
53817 # cored on solaris in the past. In addition, --gc-sections doesn't
53818 # really work at the moment (keeps on discarding used sections, first
53819 # .eh_frame and now some of the glibc sections for iconv).
53820 # Bzzzzt. Thanks for playing, maybe next time.
53821 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53822 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53823 if test "$cross_compiling" = yes; then
53824 ac_sectionLDflags=yes
53825 else
53826 cat >conftest.$ac_ext <<_ACEOF
53827 /* confdefs.h. */
53828 _ACEOF
53829 cat confdefs.h >>conftest.$ac_ext
53830 cat >>conftest.$ac_ext <<_ACEOF
53831 /* end confdefs.h. */
53833 int main(void)
53835 try { throw 1; }
53836 catch (...) { };
53837 return 0;
53840 _ACEOF
53841 rm -f conftest$ac_exeext
53842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53843 (eval $ac_link) 2>&5
53844 ac_status=$?
53845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53846 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
53847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53848 (eval $ac_try) 2>&5
53849 ac_status=$?
53850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53851 (exit $ac_status); }; }; then
53852 ac_sectionLDflags=yes
53853 else
53854 echo "$as_me: program exited with status $ac_status" >&5
53855 echo "$as_me: failed program was:" >&5
53856 sed 's/^/| /' conftest.$ac_ext >&5
53858 ( exit $ac_status )
53859 ac_sectionLDflags=no
53861 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
53863 if test "$ac_test_CFLAGS" = set; then
53864 CFLAGS="$ac_save_CFLAGS"
53865 else
53866 # this is the suspicious part
53867 CFLAGS=''
53869 if test "$ac_sectionLDflags" = "yes"; then
53870 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53872 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
53873 echo "${ECHO_T}$ac_sectionLDflags" >&6
53876 # Set linker optimization flags.
53877 if test x"$with_gnu_ld" = x"yes"; then
53878 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53886 echo "$as_me:$LINENO: checking for main in -lm" >&5
53887 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
53888 if test "${ac_cv_lib_m_main+set}" = set; then
53889 echo $ECHO_N "(cached) $ECHO_C" >&6
53890 else
53891 ac_check_lib_save_LIBS=$LIBS
53892 LIBS="-lm $LIBS"
53893 if test x$gcc_no_link = xyes; then
53894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53896 { (exit 1); exit 1; }; }
53898 cat >conftest.$ac_ext <<_ACEOF
53899 /* confdefs.h. */
53900 _ACEOF
53901 cat confdefs.h >>conftest.$ac_ext
53902 cat >>conftest.$ac_ext <<_ACEOF
53903 /* end confdefs.h. */
53907 main ()
53909 main ();
53911 return 0;
53913 _ACEOF
53914 rm -f conftest.$ac_objext conftest$ac_exeext
53915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53916 (eval $ac_link) 2>conftest.er1
53917 ac_status=$?
53918 grep -v '^ *+' conftest.er1 >conftest.err
53919 rm -f conftest.er1
53920 cat conftest.err >&5
53921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53922 (exit $ac_status); } &&
53923 { ac_try='test -z "$ac_c_werror_flag"
53924 || test ! -s conftest.err'
53925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53926 (eval $ac_try) 2>&5
53927 ac_status=$?
53928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53929 (exit $ac_status); }; } &&
53930 { ac_try='test -s conftest$ac_exeext'
53931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53932 (eval $ac_try) 2>&5
53933 ac_status=$?
53934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53935 (exit $ac_status); }; }; then
53936 ac_cv_lib_m_main=yes
53937 else
53938 echo "$as_me: failed program was:" >&5
53939 sed 's/^/| /' conftest.$ac_ext >&5
53941 ac_cv_lib_m_main=no
53943 rm -f conftest.err conftest.$ac_objext \
53944 conftest$ac_exeext conftest.$ac_ext
53945 LIBS=$ac_check_lib_save_LIBS
53947 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
53948 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
53949 if test $ac_cv_lib_m_main = yes; then
53950 cat >>confdefs.h <<_ACEOF
53951 #define HAVE_LIBM 1
53952 _ACEOF
53954 LIBS="-lm $LIBS"
53959 for ac_func in copysignf
53961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53962 echo "$as_me:$LINENO: checking for $ac_func" >&5
53963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53964 if eval "test \"\${$as_ac_var+set}\" = set"; then
53965 echo $ECHO_N "(cached) $ECHO_C" >&6
53966 else
53967 if test x$gcc_no_link = xyes; then
53968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53970 { (exit 1); exit 1; }; }
53972 cat >conftest.$ac_ext <<_ACEOF
53973 /* confdefs.h. */
53974 _ACEOF
53975 cat confdefs.h >>conftest.$ac_ext
53976 cat >>conftest.$ac_ext <<_ACEOF
53977 /* end confdefs.h. */
53978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53980 #define $ac_func innocuous_$ac_func
53982 /* System header to define __stub macros and hopefully few prototypes,
53983 which can conflict with char $ac_func (); below.
53984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53985 <limits.h> exists even on freestanding compilers. */
53987 #ifdef __STDC__
53988 # include <limits.h>
53989 #else
53990 # include <assert.h>
53991 #endif
53993 #undef $ac_func
53995 /* Override any gcc2 internal prototype to avoid an error. */
53996 #ifdef __cplusplus
53997 extern "C"
53999 #endif
54000 /* We use char because int might match the return type of a gcc2
54001 builtin and then its argument prototype would still apply. */
54002 char $ac_func ();
54003 /* The GNU C library defines this for functions which it implements
54004 to always fail with ENOSYS. Some functions are actually named
54005 something starting with __ and the normal name is an alias. */
54006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54007 choke me
54008 #else
54009 char (*f) () = $ac_func;
54010 #endif
54011 #ifdef __cplusplus
54013 #endif
54016 main ()
54018 return f != $ac_func;
54020 return 0;
54022 _ACEOF
54023 rm -f conftest.$ac_objext conftest$ac_exeext
54024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54025 (eval $ac_link) 2>conftest.er1
54026 ac_status=$?
54027 grep -v '^ *+' conftest.er1 >conftest.err
54028 rm -f conftest.er1
54029 cat conftest.err >&5
54030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54031 (exit $ac_status); } &&
54032 { ac_try='test -z "$ac_c_werror_flag"
54033 || test ! -s conftest.err'
54034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54035 (eval $ac_try) 2>&5
54036 ac_status=$?
54037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54038 (exit $ac_status); }; } &&
54039 { ac_try='test -s conftest$ac_exeext'
54040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54041 (eval $ac_try) 2>&5
54042 ac_status=$?
54043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54044 (exit $ac_status); }; }; then
54045 eval "$as_ac_var=yes"
54046 else
54047 echo "$as_me: failed program was:" >&5
54048 sed 's/^/| /' conftest.$ac_ext >&5
54050 eval "$as_ac_var=no"
54052 rm -f conftest.err conftest.$ac_objext \
54053 conftest$ac_exeext conftest.$ac_ext
54055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54057 if test `eval echo '${'$as_ac_var'}'` = yes; then
54058 cat >>confdefs.h <<_ACEOF
54059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54060 _ACEOF
54062 else
54063 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
54065 done
54069 for ac_func in __signbit
54071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54072 echo "$as_me:$LINENO: checking for $ac_func" >&5
54073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54074 if eval "test \"\${$as_ac_var+set}\" = set"; then
54075 echo $ECHO_N "(cached) $ECHO_C" >&6
54076 else
54077 if test x$gcc_no_link = xyes; then
54078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54080 { (exit 1); exit 1; }; }
54082 cat >conftest.$ac_ext <<_ACEOF
54083 /* confdefs.h. */
54084 _ACEOF
54085 cat confdefs.h >>conftest.$ac_ext
54086 cat >>conftest.$ac_ext <<_ACEOF
54087 /* end confdefs.h. */
54088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54090 #define $ac_func innocuous_$ac_func
54092 /* System header to define __stub macros and hopefully few prototypes,
54093 which can conflict with char $ac_func (); below.
54094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54095 <limits.h> exists even on freestanding compilers. */
54097 #ifdef __STDC__
54098 # include <limits.h>
54099 #else
54100 # include <assert.h>
54101 #endif
54103 #undef $ac_func
54105 /* Override any gcc2 internal prototype to avoid an error. */
54106 #ifdef __cplusplus
54107 extern "C"
54109 #endif
54110 /* We use char because int might match the return type of a gcc2
54111 builtin and then its argument prototype would still apply. */
54112 char $ac_func ();
54113 /* The GNU C library defines this for functions which it implements
54114 to always fail with ENOSYS. Some functions are actually named
54115 something starting with __ and the normal name is an alias. */
54116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54117 choke me
54118 #else
54119 char (*f) () = $ac_func;
54120 #endif
54121 #ifdef __cplusplus
54123 #endif
54126 main ()
54128 return f != $ac_func;
54130 return 0;
54132 _ACEOF
54133 rm -f conftest.$ac_objext conftest$ac_exeext
54134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54135 (eval $ac_link) 2>conftest.er1
54136 ac_status=$?
54137 grep -v '^ *+' conftest.er1 >conftest.err
54138 rm -f conftest.er1
54139 cat conftest.err >&5
54140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54141 (exit $ac_status); } &&
54142 { ac_try='test -z "$ac_c_werror_flag"
54143 || test ! -s conftest.err'
54144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54145 (eval $ac_try) 2>&5
54146 ac_status=$?
54147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54148 (exit $ac_status); }; } &&
54149 { ac_try='test -s conftest$ac_exeext'
54150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54151 (eval $ac_try) 2>&5
54152 ac_status=$?
54153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54154 (exit $ac_status); }; }; then
54155 eval "$as_ac_var=yes"
54156 else
54157 echo "$as_me: failed program was:" >&5
54158 sed 's/^/| /' conftest.$ac_ext >&5
54160 eval "$as_ac_var=no"
54162 rm -f conftest.err conftest.$ac_objext \
54163 conftest$ac_exeext conftest.$ac_ext
54165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54167 if test `eval echo '${'$as_ac_var'}'` = yes; then
54168 cat >>confdefs.h <<_ACEOF
54169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54170 _ACEOF
54172 else
54173 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
54175 done
54178 for ac_func in __signbitf
54180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54181 echo "$as_me:$LINENO: checking for $ac_func" >&5
54182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54183 if eval "test \"\${$as_ac_var+set}\" = set"; then
54184 echo $ECHO_N "(cached) $ECHO_C" >&6
54185 else
54186 if test x$gcc_no_link = xyes; then
54187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54189 { (exit 1); exit 1; }; }
54191 cat >conftest.$ac_ext <<_ACEOF
54192 /* confdefs.h. */
54193 _ACEOF
54194 cat confdefs.h >>conftest.$ac_ext
54195 cat >>conftest.$ac_ext <<_ACEOF
54196 /* end confdefs.h. */
54197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54199 #define $ac_func innocuous_$ac_func
54201 /* System header to define __stub macros and hopefully few prototypes,
54202 which can conflict with char $ac_func (); below.
54203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54204 <limits.h> exists even on freestanding compilers. */
54206 #ifdef __STDC__
54207 # include <limits.h>
54208 #else
54209 # include <assert.h>
54210 #endif
54212 #undef $ac_func
54214 /* Override any gcc2 internal prototype to avoid an error. */
54215 #ifdef __cplusplus
54216 extern "C"
54218 #endif
54219 /* We use char because int might match the return type of a gcc2
54220 builtin and then its argument prototype would still apply. */
54221 char $ac_func ();
54222 /* The GNU C library defines this for functions which it implements
54223 to always fail with ENOSYS. Some functions are actually named
54224 something starting with __ and the normal name is an alias. */
54225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54226 choke me
54227 #else
54228 char (*f) () = $ac_func;
54229 #endif
54230 #ifdef __cplusplus
54232 #endif
54235 main ()
54237 return f != $ac_func;
54239 return 0;
54241 _ACEOF
54242 rm -f conftest.$ac_objext conftest$ac_exeext
54243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54244 (eval $ac_link) 2>conftest.er1
54245 ac_status=$?
54246 grep -v '^ *+' conftest.er1 >conftest.err
54247 rm -f conftest.er1
54248 cat conftest.err >&5
54249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54250 (exit $ac_status); } &&
54251 { ac_try='test -z "$ac_c_werror_flag"
54252 || test ! -s conftest.err'
54253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54254 (eval $ac_try) 2>&5
54255 ac_status=$?
54256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54257 (exit $ac_status); }; } &&
54258 { ac_try='test -s conftest$ac_exeext'
54259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54260 (eval $ac_try) 2>&5
54261 ac_status=$?
54262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54263 (exit $ac_status); }; }; then
54264 eval "$as_ac_var=yes"
54265 else
54266 echo "$as_me: failed program was:" >&5
54267 sed 's/^/| /' conftest.$ac_ext >&5
54269 eval "$as_ac_var=no"
54271 rm -f conftest.err conftest.$ac_objext \
54272 conftest$ac_exeext conftest.$ac_ext
54274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54276 if test `eval echo '${'$as_ac_var'}'` = yes; then
54277 cat >>confdefs.h <<_ACEOF
54278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54279 _ACEOF
54281 else
54282 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
54284 done
54287 if test x$ac_cv_func_copysignl = x"yes"; then
54289 for ac_func in __signbitl
54291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54292 echo "$as_me:$LINENO: checking for $ac_func" >&5
54293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54294 if eval "test \"\${$as_ac_var+set}\" = set"; then
54295 echo $ECHO_N "(cached) $ECHO_C" >&6
54296 else
54297 if test x$gcc_no_link = xyes; then
54298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54300 { (exit 1); exit 1; }; }
54302 cat >conftest.$ac_ext <<_ACEOF
54303 /* confdefs.h. */
54304 _ACEOF
54305 cat confdefs.h >>conftest.$ac_ext
54306 cat >>conftest.$ac_ext <<_ACEOF
54307 /* end confdefs.h. */
54308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54310 #define $ac_func innocuous_$ac_func
54312 /* System header to define __stub macros and hopefully few prototypes,
54313 which can conflict with char $ac_func (); below.
54314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54315 <limits.h> exists even on freestanding compilers. */
54317 #ifdef __STDC__
54318 # include <limits.h>
54319 #else
54320 # include <assert.h>
54321 #endif
54323 #undef $ac_func
54325 /* Override any gcc2 internal prototype to avoid an error. */
54326 #ifdef __cplusplus
54327 extern "C"
54329 #endif
54330 /* We use char because int might match the return type of a gcc2
54331 builtin and then its argument prototype would still apply. */
54332 char $ac_func ();
54333 /* The GNU C library defines this for functions which it implements
54334 to always fail with ENOSYS. Some functions are actually named
54335 something starting with __ and the normal name is an alias. */
54336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54337 choke me
54338 #else
54339 char (*f) () = $ac_func;
54340 #endif
54341 #ifdef __cplusplus
54343 #endif
54346 main ()
54348 return f != $ac_func;
54350 return 0;
54352 _ACEOF
54353 rm -f conftest.$ac_objext conftest$ac_exeext
54354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54355 (eval $ac_link) 2>conftest.er1
54356 ac_status=$?
54357 grep -v '^ *+' conftest.er1 >conftest.err
54358 rm -f conftest.er1
54359 cat conftest.err >&5
54360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54361 (exit $ac_status); } &&
54362 { ac_try='test -z "$ac_c_werror_flag"
54363 || test ! -s conftest.err'
54364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54365 (eval $ac_try) 2>&5
54366 ac_status=$?
54367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54368 (exit $ac_status); }; } &&
54369 { ac_try='test -s conftest$ac_exeext'
54370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54371 (eval $ac_try) 2>&5
54372 ac_status=$?
54373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54374 (exit $ac_status); }; }; then
54375 eval "$as_ac_var=yes"
54376 else
54377 echo "$as_me: failed program was:" >&5
54378 sed 's/^/| /' conftest.$ac_ext >&5
54380 eval "$as_ac_var=no"
54382 rm -f conftest.err conftest.$ac_objext \
54383 conftest$ac_exeext conftest.$ac_ext
54385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54387 if test `eval echo '${'$as_ac_var'}'` = yes; then
54388 cat >>confdefs.h <<_ACEOF
54389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54390 _ACEOF
54392 else
54393 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
54395 done
54399 # XXX Review this. Nothing uses it.
54400 if test -n "$LIBMATHOBJS"; then
54401 need_libmath=yes
54406 # Test wchar.h for mbstate_t, which is needed for char_traits and
54407 # others even if wchar_t support is not on.
54408 echo "$as_me:$LINENO: checking for mbstate_t" >&5
54409 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
54410 cat >conftest.$ac_ext <<_ACEOF
54411 /* confdefs.h. */
54412 _ACEOF
54413 cat confdefs.h >>conftest.$ac_ext
54414 cat >>conftest.$ac_ext <<_ACEOF
54415 /* end confdefs.h. */
54416 #include <wchar.h>
54418 main ()
54420 mbstate_t teststate;
54422 return 0;
54424 _ACEOF
54425 rm -f conftest.$ac_objext
54426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54427 (eval $ac_compile) 2>conftest.er1
54428 ac_status=$?
54429 grep -v '^ *+' conftest.er1 >conftest.err
54430 rm -f conftest.er1
54431 cat conftest.err >&5
54432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54433 (exit $ac_status); } &&
54434 { ac_try='test -z "$ac_c_werror_flag"
54435 || test ! -s conftest.err'
54436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54437 (eval $ac_try) 2>&5
54438 ac_status=$?
54439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54440 (exit $ac_status); }; } &&
54441 { ac_try='test -s conftest.$ac_objext'
54442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54443 (eval $ac_try) 2>&5
54444 ac_status=$?
54445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54446 (exit $ac_status); }; }; then
54447 have_mbstate_t=yes
54448 else
54449 echo "$as_me: failed program was:" >&5
54450 sed 's/^/| /' conftest.$ac_ext >&5
54452 have_mbstate_t=no
54454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54455 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
54456 echo "${ECHO_T}$have_mbstate_t" >&6
54457 if test x"$have_mbstate_t" = xyes; then
54458 cat >>confdefs.h <<\_ACEOF
54459 #define HAVE_MBSTATE_T 1
54460 _ACEOF
54464 # Sanity check for existence of ISO C99 headers for extended encoding.
54466 for ac_header in wchar.h
54468 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54470 echo "$as_me:$LINENO: checking for $ac_header" >&5
54471 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54473 echo $ECHO_N "(cached) $ECHO_C" >&6
54475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54476 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54477 else
54478 # Is the header compilable?
54479 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54480 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54481 cat >conftest.$ac_ext <<_ACEOF
54482 /* confdefs.h. */
54483 _ACEOF
54484 cat confdefs.h >>conftest.$ac_ext
54485 cat >>conftest.$ac_ext <<_ACEOF
54486 /* end confdefs.h. */
54487 $ac_includes_default
54488 #include <$ac_header>
54489 _ACEOF
54490 rm -f conftest.$ac_objext
54491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54492 (eval $ac_compile) 2>conftest.er1
54493 ac_status=$?
54494 grep -v '^ *+' conftest.er1 >conftest.err
54495 rm -f conftest.er1
54496 cat conftest.err >&5
54497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54498 (exit $ac_status); } &&
54499 { ac_try='test -z "$ac_c_werror_flag"
54500 || test ! -s conftest.err'
54501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54502 (eval $ac_try) 2>&5
54503 ac_status=$?
54504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54505 (exit $ac_status); }; } &&
54506 { ac_try='test -s conftest.$ac_objext'
54507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54508 (eval $ac_try) 2>&5
54509 ac_status=$?
54510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54511 (exit $ac_status); }; }; then
54512 ac_header_compiler=yes
54513 else
54514 echo "$as_me: failed program was:" >&5
54515 sed 's/^/| /' conftest.$ac_ext >&5
54517 ac_header_compiler=no
54519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54520 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54521 echo "${ECHO_T}$ac_header_compiler" >&6
54523 # Is the header present?
54524 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54525 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54526 cat >conftest.$ac_ext <<_ACEOF
54527 /* confdefs.h. */
54528 _ACEOF
54529 cat confdefs.h >>conftest.$ac_ext
54530 cat >>conftest.$ac_ext <<_ACEOF
54531 /* end confdefs.h. */
54532 #include <$ac_header>
54533 _ACEOF
54534 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54535 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54536 ac_status=$?
54537 grep -v '^ *+' conftest.er1 >conftest.err
54538 rm -f conftest.er1
54539 cat conftest.err >&5
54540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54541 (exit $ac_status); } >/dev/null; then
54542 if test -s conftest.err; then
54543 ac_cpp_err=$ac_c_preproc_warn_flag
54544 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
54545 else
54546 ac_cpp_err=
54548 else
54549 ac_cpp_err=yes
54551 if test -z "$ac_cpp_err"; then
54552 ac_header_preproc=yes
54553 else
54554 echo "$as_me: failed program was:" >&5
54555 sed 's/^/| /' conftest.$ac_ext >&5
54557 ac_header_preproc=no
54559 rm -f conftest.err conftest.$ac_ext
54560 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54561 echo "${ECHO_T}$ac_header_preproc" >&6
54563 # So? What about this header?
54564 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54565 yes:no: )
54566 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54567 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54568 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54569 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54570 ac_header_preproc=yes
54572 no:yes:* )
54573 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54574 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54575 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54576 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54577 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54578 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54579 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
54580 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
54581 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54582 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54583 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54584 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54586 cat <<\_ASBOX
54587 ## ----------------------------------------- ##
54588 ## Report this to the package-unused lists. ##
54589 ## ----------------------------------------- ##
54590 _ASBOX
54592 sed "s/^/$as_me: WARNING: /" >&2
54594 esac
54595 echo "$as_me:$LINENO: checking for $ac_header" >&5
54596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54598 echo $ECHO_N "(cached) $ECHO_C" >&6
54599 else
54600 eval "$as_ac_Header=\$ac_header_preproc"
54602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54603 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54606 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54607 cat >>confdefs.h <<_ACEOF
54608 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54609 _ACEOF
54610 ac_has_wchar_h=yes
54611 else
54612 ac_has_wchar_h=no
54615 done
54618 for ac_header in wctype.h
54620 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54622 echo "$as_me:$LINENO: checking for $ac_header" >&5
54623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54625 echo $ECHO_N "(cached) $ECHO_C" >&6
54627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54628 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54629 else
54630 # Is the header compilable?
54631 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54632 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54633 cat >conftest.$ac_ext <<_ACEOF
54634 /* confdefs.h. */
54635 _ACEOF
54636 cat confdefs.h >>conftest.$ac_ext
54637 cat >>conftest.$ac_ext <<_ACEOF
54638 /* end confdefs.h. */
54639 $ac_includes_default
54640 #include <$ac_header>
54641 _ACEOF
54642 rm -f conftest.$ac_objext
54643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54644 (eval $ac_compile) 2>conftest.er1
54645 ac_status=$?
54646 grep -v '^ *+' conftest.er1 >conftest.err
54647 rm -f conftest.er1
54648 cat conftest.err >&5
54649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54650 (exit $ac_status); } &&
54651 { ac_try='test -z "$ac_c_werror_flag"
54652 || test ! -s conftest.err'
54653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54654 (eval $ac_try) 2>&5
54655 ac_status=$?
54656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54657 (exit $ac_status); }; } &&
54658 { ac_try='test -s conftest.$ac_objext'
54659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54660 (eval $ac_try) 2>&5
54661 ac_status=$?
54662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54663 (exit $ac_status); }; }; then
54664 ac_header_compiler=yes
54665 else
54666 echo "$as_me: failed program was:" >&5
54667 sed 's/^/| /' conftest.$ac_ext >&5
54669 ac_header_compiler=no
54671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54672 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54673 echo "${ECHO_T}$ac_header_compiler" >&6
54675 # Is the header present?
54676 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54677 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54678 cat >conftest.$ac_ext <<_ACEOF
54679 /* confdefs.h. */
54680 _ACEOF
54681 cat confdefs.h >>conftest.$ac_ext
54682 cat >>conftest.$ac_ext <<_ACEOF
54683 /* end confdefs.h. */
54684 #include <$ac_header>
54685 _ACEOF
54686 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54687 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54688 ac_status=$?
54689 grep -v '^ *+' conftest.er1 >conftest.err
54690 rm -f conftest.er1
54691 cat conftest.err >&5
54692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54693 (exit $ac_status); } >/dev/null; then
54694 if test -s conftest.err; then
54695 ac_cpp_err=$ac_c_preproc_warn_flag
54696 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
54697 else
54698 ac_cpp_err=
54700 else
54701 ac_cpp_err=yes
54703 if test -z "$ac_cpp_err"; then
54704 ac_header_preproc=yes
54705 else
54706 echo "$as_me: failed program was:" >&5
54707 sed 's/^/| /' conftest.$ac_ext >&5
54709 ac_header_preproc=no
54711 rm -f conftest.err conftest.$ac_ext
54712 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54713 echo "${ECHO_T}$ac_header_preproc" >&6
54715 # So? What about this header?
54716 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54717 yes:no: )
54718 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54719 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54721 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54722 ac_header_preproc=yes
54724 no:yes:* )
54725 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54726 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54727 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54728 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54729 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54730 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54731 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
54732 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
54733 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54734 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54735 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54736 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54738 cat <<\_ASBOX
54739 ## ----------------------------------------- ##
54740 ## Report this to the package-unused lists. ##
54741 ## ----------------------------------------- ##
54742 _ASBOX
54744 sed "s/^/$as_me: WARNING: /" >&2
54746 esac
54747 echo "$as_me:$LINENO: checking for $ac_header" >&5
54748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54750 echo $ECHO_N "(cached) $ECHO_C" >&6
54751 else
54752 eval "$as_ac_Header=\$ac_header_preproc"
54754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54755 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54758 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54759 cat >>confdefs.h <<_ACEOF
54760 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54761 _ACEOF
54762 ac_has_wctype_h=yes
54763 else
54764 ac_has_wctype_h=no
54767 done
54770 # Only continue checking if the ISO C99 headers exist and support is on.
54771 if test x"$ac_has_wchar_h" = xyes &&
54772 test x"$ac_has_wctype_h" = xyes &&
54773 test x"$enable_c_mbchar" != xno; then
54775 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
54776 # numeric_limits can instantiate type_traits<wchar_t>
54777 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
54778 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
54779 cat >conftest.$ac_ext <<_ACEOF
54780 /* confdefs.h. */
54781 _ACEOF
54782 cat confdefs.h >>conftest.$ac_ext
54783 cat >>conftest.$ac_ext <<_ACEOF
54784 /* end confdefs.h. */
54785 #include <wchar.h>
54787 main ()
54789 int i = WCHAR_MIN; int j = WCHAR_MAX;
54791 return 0;
54793 _ACEOF
54794 rm -f conftest.$ac_objext
54795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54796 (eval $ac_compile) 2>conftest.er1
54797 ac_status=$?
54798 grep -v '^ *+' conftest.er1 >conftest.err
54799 rm -f conftest.er1
54800 cat conftest.err >&5
54801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54802 (exit $ac_status); } &&
54803 { ac_try='test -z "$ac_c_werror_flag"
54804 || test ! -s conftest.err'
54805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54806 (eval $ac_try) 2>&5
54807 ac_status=$?
54808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54809 (exit $ac_status); }; } &&
54810 { ac_try='test -s conftest.$ac_objext'
54811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54812 (eval $ac_try) 2>&5
54813 ac_status=$?
54814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54815 (exit $ac_status); }; }; then
54816 has_wchar_minmax=yes
54817 else
54818 echo "$as_me: failed program was:" >&5
54819 sed 's/^/| /' conftest.$ac_ext >&5
54821 has_wchar_minmax=no
54823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54824 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
54825 echo "${ECHO_T}$has_wchar_minmax" >&6
54827 # Test wchar.h for WEOF, which is what we use to determine whether
54828 # to specialize for char_traits<wchar_t> or not.
54829 echo "$as_me:$LINENO: checking for WEOF" >&5
54830 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
54831 cat >conftest.$ac_ext <<_ACEOF
54832 /* confdefs.h. */
54833 _ACEOF
54834 cat confdefs.h >>conftest.$ac_ext
54835 cat >>conftest.$ac_ext <<_ACEOF
54836 /* end confdefs.h. */
54838 #include <wchar.h>
54839 #include <stddef.h>
54841 main ()
54843 wint_t i = WEOF;
54845 return 0;
54847 _ACEOF
54848 rm -f conftest.$ac_objext
54849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54850 (eval $ac_compile) 2>conftest.er1
54851 ac_status=$?
54852 grep -v '^ *+' conftest.er1 >conftest.err
54853 rm -f conftest.er1
54854 cat conftest.err >&5
54855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54856 (exit $ac_status); } &&
54857 { ac_try='test -z "$ac_c_werror_flag"
54858 || test ! -s conftest.err'
54859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54860 (eval $ac_try) 2>&5
54861 ac_status=$?
54862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54863 (exit $ac_status); }; } &&
54864 { ac_try='test -s conftest.$ac_objext'
54865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54866 (eval $ac_try) 2>&5
54867 ac_status=$?
54868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54869 (exit $ac_status); }; }; then
54870 has_weof=yes
54871 else
54872 echo "$as_me: failed program was:" >&5
54873 sed 's/^/| /' conftest.$ac_ext >&5
54875 has_weof=no
54877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54878 echo "$as_me:$LINENO: result: $has_weof" >&5
54879 echo "${ECHO_T}$has_weof" >&6
54881 # Tests for wide character functions used in char_traits<wchar_t>.
54882 ac_wfuncs=yes
54889 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
54891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54892 echo "$as_me:$LINENO: checking for $ac_func" >&5
54893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54894 if eval "test \"\${$as_ac_var+set}\" = set"; then
54895 echo $ECHO_N "(cached) $ECHO_C" >&6
54896 else
54897 if test x$gcc_no_link = xyes; then
54898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54900 { (exit 1); exit 1; }; }
54902 cat >conftest.$ac_ext <<_ACEOF
54903 /* confdefs.h. */
54904 _ACEOF
54905 cat confdefs.h >>conftest.$ac_ext
54906 cat >>conftest.$ac_ext <<_ACEOF
54907 /* end confdefs.h. */
54908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54910 #define $ac_func innocuous_$ac_func
54912 /* System header to define __stub macros and hopefully few prototypes,
54913 which can conflict with char $ac_func (); below.
54914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54915 <limits.h> exists even on freestanding compilers. */
54917 #ifdef __STDC__
54918 # include <limits.h>
54919 #else
54920 # include <assert.h>
54921 #endif
54923 #undef $ac_func
54925 /* Override any gcc2 internal prototype to avoid an error. */
54926 #ifdef __cplusplus
54927 extern "C"
54929 #endif
54930 /* We use char because int might match the return type of a gcc2
54931 builtin and then its argument prototype would still apply. */
54932 char $ac_func ();
54933 /* The GNU C library defines this for functions which it implements
54934 to always fail with ENOSYS. Some functions are actually named
54935 something starting with __ and the normal name is an alias. */
54936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54937 choke me
54938 #else
54939 char (*f) () = $ac_func;
54940 #endif
54941 #ifdef __cplusplus
54943 #endif
54946 main ()
54948 return f != $ac_func;
54950 return 0;
54952 _ACEOF
54953 rm -f conftest.$ac_objext conftest$ac_exeext
54954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54955 (eval $ac_link) 2>conftest.er1
54956 ac_status=$?
54957 grep -v '^ *+' conftest.er1 >conftest.err
54958 rm -f conftest.er1
54959 cat conftest.err >&5
54960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54961 (exit $ac_status); } &&
54962 { ac_try='test -z "$ac_c_werror_flag"
54963 || test ! -s conftest.err'
54964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54965 (eval $ac_try) 2>&5
54966 ac_status=$?
54967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54968 (exit $ac_status); }; } &&
54969 { ac_try='test -s conftest$ac_exeext'
54970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54971 (eval $ac_try) 2>&5
54972 ac_status=$?
54973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54974 (exit $ac_status); }; }; then
54975 eval "$as_ac_var=yes"
54976 else
54977 echo "$as_me: failed program was:" >&5
54978 sed 's/^/| /' conftest.$ac_ext >&5
54980 eval "$as_ac_var=no"
54982 rm -f conftest.err conftest.$ac_objext \
54983 conftest$ac_exeext conftest.$ac_ext
54985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54987 if test `eval echo '${'$as_ac_var'}'` = yes; then
54988 cat >>confdefs.h <<_ACEOF
54989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54990 _ACEOF
54992 else
54993 ac_wfuncs=no
54995 done
54998 # Checks for names injected into std:: by the c_std headers.
55045 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
55046 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
55047 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
55048 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
55049 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
55050 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
55052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55053 echo "$as_me:$LINENO: checking for $ac_func" >&5
55054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55055 if eval "test \"\${$as_ac_var+set}\" = set"; then
55056 echo $ECHO_N "(cached) $ECHO_C" >&6
55057 else
55058 if test x$gcc_no_link = xyes; then
55059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55061 { (exit 1); exit 1; }; }
55063 cat >conftest.$ac_ext <<_ACEOF
55064 /* confdefs.h. */
55065 _ACEOF
55066 cat confdefs.h >>conftest.$ac_ext
55067 cat >>conftest.$ac_ext <<_ACEOF
55068 /* end confdefs.h. */
55069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55071 #define $ac_func innocuous_$ac_func
55073 /* System header to define __stub macros and hopefully few prototypes,
55074 which can conflict with char $ac_func (); below.
55075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55076 <limits.h> exists even on freestanding compilers. */
55078 #ifdef __STDC__
55079 # include <limits.h>
55080 #else
55081 # include <assert.h>
55082 #endif
55084 #undef $ac_func
55086 /* Override any gcc2 internal prototype to avoid an error. */
55087 #ifdef __cplusplus
55088 extern "C"
55090 #endif
55091 /* We use char because int might match the return type of a gcc2
55092 builtin and then its argument prototype would still apply. */
55093 char $ac_func ();
55094 /* The GNU C library defines this for functions which it implements
55095 to always fail with ENOSYS. Some functions are actually named
55096 something starting with __ and the normal name is an alias. */
55097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55098 choke me
55099 #else
55100 char (*f) () = $ac_func;
55101 #endif
55102 #ifdef __cplusplus
55104 #endif
55107 main ()
55109 return f != $ac_func;
55111 return 0;
55113 _ACEOF
55114 rm -f conftest.$ac_objext conftest$ac_exeext
55115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55116 (eval $ac_link) 2>conftest.er1
55117 ac_status=$?
55118 grep -v '^ *+' conftest.er1 >conftest.err
55119 rm -f conftest.er1
55120 cat conftest.err >&5
55121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55122 (exit $ac_status); } &&
55123 { ac_try='test -z "$ac_c_werror_flag"
55124 || test ! -s conftest.err'
55125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55126 (eval $ac_try) 2>&5
55127 ac_status=$?
55128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55129 (exit $ac_status); }; } &&
55130 { ac_try='test -s conftest$ac_exeext'
55131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55132 (eval $ac_try) 2>&5
55133 ac_status=$?
55134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55135 (exit $ac_status); }; }; then
55136 eval "$as_ac_var=yes"
55137 else
55138 echo "$as_me: failed program was:" >&5
55139 sed 's/^/| /' conftest.$ac_ext >&5
55141 eval "$as_ac_var=no"
55143 rm -f conftest.err conftest.$ac_objext \
55144 conftest$ac_exeext conftest.$ac_ext
55146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55148 if test `eval echo '${'$as_ac_var'}'` = yes; then
55149 cat >>confdefs.h <<_ACEOF
55150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55151 _ACEOF
55153 else
55154 ac_wfuncs=no
55156 done
55159 # Checks for wide character functions that are not required
55160 # for basic wchar_t support. Don't disable support if they are missing.
55161 # Injection of these is wrapped with guard macros.
55167 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
55169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55170 echo "$as_me:$LINENO: checking for $ac_func" >&5
55171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55172 if eval "test \"\${$as_ac_var+set}\" = set"; then
55173 echo $ECHO_N "(cached) $ECHO_C" >&6
55174 else
55175 if test x$gcc_no_link = xyes; then
55176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55178 { (exit 1); exit 1; }; }
55180 cat >conftest.$ac_ext <<_ACEOF
55181 /* confdefs.h. */
55182 _ACEOF
55183 cat confdefs.h >>conftest.$ac_ext
55184 cat >>conftest.$ac_ext <<_ACEOF
55185 /* end confdefs.h. */
55186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55188 #define $ac_func innocuous_$ac_func
55190 /* System header to define __stub macros and hopefully few prototypes,
55191 which can conflict with char $ac_func (); below.
55192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55193 <limits.h> exists even on freestanding compilers. */
55195 #ifdef __STDC__
55196 # include <limits.h>
55197 #else
55198 # include <assert.h>
55199 #endif
55201 #undef $ac_func
55203 /* Override any gcc2 internal prototype to avoid an error. */
55204 #ifdef __cplusplus
55205 extern "C"
55207 #endif
55208 /* We use char because int might match the return type of a gcc2
55209 builtin and then its argument prototype would still apply. */
55210 char $ac_func ();
55211 /* The GNU C library defines this for functions which it implements
55212 to always fail with ENOSYS. Some functions are actually named
55213 something starting with __ and the normal name is an alias. */
55214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55215 choke me
55216 #else
55217 char (*f) () = $ac_func;
55218 #endif
55219 #ifdef __cplusplus
55221 #endif
55224 main ()
55226 return f != $ac_func;
55228 return 0;
55230 _ACEOF
55231 rm -f conftest.$ac_objext conftest$ac_exeext
55232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55233 (eval $ac_link) 2>conftest.er1
55234 ac_status=$?
55235 grep -v '^ *+' conftest.er1 >conftest.err
55236 rm -f conftest.er1
55237 cat conftest.err >&5
55238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55239 (exit $ac_status); } &&
55240 { ac_try='test -z "$ac_c_werror_flag"
55241 || test ! -s conftest.err'
55242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55243 (eval $ac_try) 2>&5
55244 ac_status=$?
55245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55246 (exit $ac_status); }; } &&
55247 { ac_try='test -s conftest$ac_exeext'
55248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55249 (eval $ac_try) 2>&5
55250 ac_status=$?
55251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55252 (exit $ac_status); }; }; then
55253 eval "$as_ac_var=yes"
55254 else
55255 echo "$as_me: failed program was:" >&5
55256 sed 's/^/| /' conftest.$ac_ext >&5
55258 eval "$as_ac_var=no"
55260 rm -f conftest.err conftest.$ac_objext \
55261 conftest$ac_exeext conftest.$ac_ext
55263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55265 if test `eval echo '${'$as_ac_var'}'` = yes; then
55266 cat >>confdefs.h <<_ACEOF
55267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55268 _ACEOF
55271 done
55274 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
55275 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
55276 if test x"$has_weof" = xyes &&
55277 test x"$has_wchar_minmax" = xyes &&
55278 test x"$ac_wfuncs" = xyes;
55279 then
55280 ac_isoC99_wchar_t=yes
55281 else
55282 ac_isoC99_wchar_t=no
55284 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
55285 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
55287 # Use iconv for wchar_t to char conversions. As such, check for
55288 # X/Open Portability Guide, version 2 features (XPG2).
55289 if test "${ac_cv_header_iconv_h+set}" = set; then
55290 echo "$as_me:$LINENO: checking for iconv.h" >&5
55291 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
55292 if test "${ac_cv_header_iconv_h+set}" = set; then
55293 echo $ECHO_N "(cached) $ECHO_C" >&6
55295 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
55296 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
55297 else
55298 # Is the header compilable?
55299 echo "$as_me:$LINENO: checking iconv.h usability" >&5
55300 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
55301 cat >conftest.$ac_ext <<_ACEOF
55302 /* confdefs.h. */
55303 _ACEOF
55304 cat confdefs.h >>conftest.$ac_ext
55305 cat >>conftest.$ac_ext <<_ACEOF
55306 /* end confdefs.h. */
55307 $ac_includes_default
55308 #include <iconv.h>
55309 _ACEOF
55310 rm -f conftest.$ac_objext
55311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55312 (eval $ac_compile) 2>conftest.er1
55313 ac_status=$?
55314 grep -v '^ *+' conftest.er1 >conftest.err
55315 rm -f conftest.er1
55316 cat conftest.err >&5
55317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55318 (exit $ac_status); } &&
55319 { ac_try='test -z "$ac_c_werror_flag"
55320 || test ! -s conftest.err'
55321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55322 (eval $ac_try) 2>&5
55323 ac_status=$?
55324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55325 (exit $ac_status); }; } &&
55326 { ac_try='test -s conftest.$ac_objext'
55327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55328 (eval $ac_try) 2>&5
55329 ac_status=$?
55330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55331 (exit $ac_status); }; }; then
55332 ac_header_compiler=yes
55333 else
55334 echo "$as_me: failed program was:" >&5
55335 sed 's/^/| /' conftest.$ac_ext >&5
55337 ac_header_compiler=no
55339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55340 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55341 echo "${ECHO_T}$ac_header_compiler" >&6
55343 # Is the header present?
55344 echo "$as_me:$LINENO: checking iconv.h presence" >&5
55345 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
55346 cat >conftest.$ac_ext <<_ACEOF
55347 /* confdefs.h. */
55348 _ACEOF
55349 cat confdefs.h >>conftest.$ac_ext
55350 cat >>conftest.$ac_ext <<_ACEOF
55351 /* end confdefs.h. */
55352 #include <iconv.h>
55353 _ACEOF
55354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55355 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55356 ac_status=$?
55357 grep -v '^ *+' conftest.er1 >conftest.err
55358 rm -f conftest.er1
55359 cat conftest.err >&5
55360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55361 (exit $ac_status); } >/dev/null; then
55362 if test -s conftest.err; then
55363 ac_cpp_err=$ac_c_preproc_warn_flag
55364 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
55365 else
55366 ac_cpp_err=
55368 else
55369 ac_cpp_err=yes
55371 if test -z "$ac_cpp_err"; then
55372 ac_header_preproc=yes
55373 else
55374 echo "$as_me: failed program was:" >&5
55375 sed 's/^/| /' conftest.$ac_ext >&5
55377 ac_header_preproc=no
55379 rm -f conftest.err conftest.$ac_ext
55380 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55381 echo "${ECHO_T}$ac_header_preproc" >&6
55383 # So? What about this header?
55384 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
55385 yes:no: )
55386 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
55387 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
55388 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
55389 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
55390 ac_header_preproc=yes
55392 no:yes:* )
55393 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
55394 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
55395 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
55396 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
55397 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
55398 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
55399 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
55400 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
55401 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
55402 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
55403 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
55404 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
55406 cat <<\_ASBOX
55407 ## ----------------------------------------- ##
55408 ## Report this to the package-unused lists. ##
55409 ## ----------------------------------------- ##
55410 _ASBOX
55412 sed "s/^/$as_me: WARNING: /" >&2
55414 esac
55415 echo "$as_me:$LINENO: checking for iconv.h" >&5
55416 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
55417 if test "${ac_cv_header_iconv_h+set}" = set; then
55418 echo $ECHO_N "(cached) $ECHO_C" >&6
55419 else
55420 ac_cv_header_iconv_h=$ac_header_preproc
55422 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
55423 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
55426 if test $ac_cv_header_iconv_h = yes; then
55427 ac_has_iconv_h=yes
55428 else
55429 ac_has_iconv_h=no
55433 if test "${ac_cv_header_langinfo_h+set}" = set; then
55434 echo "$as_me:$LINENO: checking for langinfo.h" >&5
55435 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
55436 if test "${ac_cv_header_langinfo_h+set}" = set; then
55437 echo $ECHO_N "(cached) $ECHO_C" >&6
55439 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
55440 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
55441 else
55442 # Is the header compilable?
55443 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
55444 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
55445 cat >conftest.$ac_ext <<_ACEOF
55446 /* confdefs.h. */
55447 _ACEOF
55448 cat confdefs.h >>conftest.$ac_ext
55449 cat >>conftest.$ac_ext <<_ACEOF
55450 /* end confdefs.h. */
55451 $ac_includes_default
55452 #include <langinfo.h>
55453 _ACEOF
55454 rm -f conftest.$ac_objext
55455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55456 (eval $ac_compile) 2>conftest.er1
55457 ac_status=$?
55458 grep -v '^ *+' conftest.er1 >conftest.err
55459 rm -f conftest.er1
55460 cat conftest.err >&5
55461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55462 (exit $ac_status); } &&
55463 { ac_try='test -z "$ac_c_werror_flag"
55464 || test ! -s conftest.err'
55465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55466 (eval $ac_try) 2>&5
55467 ac_status=$?
55468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55469 (exit $ac_status); }; } &&
55470 { ac_try='test -s conftest.$ac_objext'
55471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55472 (eval $ac_try) 2>&5
55473 ac_status=$?
55474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55475 (exit $ac_status); }; }; then
55476 ac_header_compiler=yes
55477 else
55478 echo "$as_me: failed program was:" >&5
55479 sed 's/^/| /' conftest.$ac_ext >&5
55481 ac_header_compiler=no
55483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55484 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55485 echo "${ECHO_T}$ac_header_compiler" >&6
55487 # Is the header present?
55488 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
55489 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
55490 cat >conftest.$ac_ext <<_ACEOF
55491 /* confdefs.h. */
55492 _ACEOF
55493 cat confdefs.h >>conftest.$ac_ext
55494 cat >>conftest.$ac_ext <<_ACEOF
55495 /* end confdefs.h. */
55496 #include <langinfo.h>
55497 _ACEOF
55498 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55499 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55500 ac_status=$?
55501 grep -v '^ *+' conftest.er1 >conftest.err
55502 rm -f conftest.er1
55503 cat conftest.err >&5
55504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55505 (exit $ac_status); } >/dev/null; then
55506 if test -s conftest.err; then
55507 ac_cpp_err=$ac_c_preproc_warn_flag
55508 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
55509 else
55510 ac_cpp_err=
55512 else
55513 ac_cpp_err=yes
55515 if test -z "$ac_cpp_err"; then
55516 ac_header_preproc=yes
55517 else
55518 echo "$as_me: failed program was:" >&5
55519 sed 's/^/| /' conftest.$ac_ext >&5
55521 ac_header_preproc=no
55523 rm -f conftest.err conftest.$ac_ext
55524 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55525 echo "${ECHO_T}$ac_header_preproc" >&6
55527 # So? What about this header?
55528 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
55529 yes:no: )
55530 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
55531 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
55532 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
55533 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
55534 ac_header_preproc=yes
55536 no:yes:* )
55537 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
55538 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
55539 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
55540 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
55541 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
55542 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
55543 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
55544 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
55545 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
55546 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
55547 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
55548 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
55550 cat <<\_ASBOX
55551 ## ----------------------------------------- ##
55552 ## Report this to the package-unused lists. ##
55553 ## ----------------------------------------- ##
55554 _ASBOX
55556 sed "s/^/$as_me: WARNING: /" >&2
55558 esac
55559 echo "$as_me:$LINENO: checking for langinfo.h" >&5
55560 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
55561 if test "${ac_cv_header_langinfo_h+set}" = set; then
55562 echo $ECHO_N "(cached) $ECHO_C" >&6
55563 else
55564 ac_cv_header_langinfo_h=$ac_header_preproc
55566 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
55567 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
55570 if test $ac_cv_header_langinfo_h = yes; then
55571 ac_has_langinfo_h=yes
55572 else
55573 ac_has_langinfo_h=no
55578 # Check for existence of libiconv.a providing XPG2 wchar_t support.
55579 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
55580 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
55581 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
55582 echo $ECHO_N "(cached) $ECHO_C" >&6
55583 else
55584 ac_check_lib_save_LIBS=$LIBS
55585 LIBS="-liconv $LIBS"
55586 if test x$gcc_no_link = xyes; then
55587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55589 { (exit 1); exit 1; }; }
55591 cat >conftest.$ac_ext <<_ACEOF
55592 /* confdefs.h. */
55593 _ACEOF
55594 cat confdefs.h >>conftest.$ac_ext
55595 cat >>conftest.$ac_ext <<_ACEOF
55596 /* end confdefs.h. */
55598 /* Override any gcc2 internal prototype to avoid an error. */
55599 #ifdef __cplusplus
55600 extern "C"
55601 #endif
55602 /* We use char because int might match the return type of a gcc2
55603 builtin and then its argument prototype would still apply. */
55604 char iconv ();
55606 main ()
55608 iconv ();
55610 return 0;
55612 _ACEOF
55613 rm -f conftest.$ac_objext conftest$ac_exeext
55614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55615 (eval $ac_link) 2>conftest.er1
55616 ac_status=$?
55617 grep -v '^ *+' conftest.er1 >conftest.err
55618 rm -f conftest.er1
55619 cat conftest.err >&5
55620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55621 (exit $ac_status); } &&
55622 { ac_try='test -z "$ac_c_werror_flag"
55623 || test ! -s conftest.err'
55624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55625 (eval $ac_try) 2>&5
55626 ac_status=$?
55627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55628 (exit $ac_status); }; } &&
55629 { ac_try='test -s conftest$ac_exeext'
55630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55631 (eval $ac_try) 2>&5
55632 ac_status=$?
55633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55634 (exit $ac_status); }; }; then
55635 ac_cv_lib_iconv_iconv=yes
55636 else
55637 echo "$as_me: failed program was:" >&5
55638 sed 's/^/| /' conftest.$ac_ext >&5
55640 ac_cv_lib_iconv_iconv=no
55642 rm -f conftest.err conftest.$ac_objext \
55643 conftest$ac_exeext conftest.$ac_ext
55644 LIBS=$ac_check_lib_save_LIBS
55646 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
55647 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
55648 if test $ac_cv_lib_iconv_iconv = yes; then
55649 LIBICONV="-liconv"
55652 ac_save_LIBS="$LIBS"
55653 LIBS="$LIBS $LIBICONV"
55660 for ac_func in iconv_open iconv_close iconv nl_langinfo
55662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55663 echo "$as_me:$LINENO: checking for $ac_func" >&5
55664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55665 if eval "test \"\${$as_ac_var+set}\" = set"; then
55666 echo $ECHO_N "(cached) $ECHO_C" >&6
55667 else
55668 if test x$gcc_no_link = xyes; then
55669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55671 { (exit 1); exit 1; }; }
55673 cat >conftest.$ac_ext <<_ACEOF
55674 /* confdefs.h. */
55675 _ACEOF
55676 cat confdefs.h >>conftest.$ac_ext
55677 cat >>conftest.$ac_ext <<_ACEOF
55678 /* end confdefs.h. */
55679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55681 #define $ac_func innocuous_$ac_func
55683 /* System header to define __stub macros and hopefully few prototypes,
55684 which can conflict with char $ac_func (); below.
55685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55686 <limits.h> exists even on freestanding compilers. */
55688 #ifdef __STDC__
55689 # include <limits.h>
55690 #else
55691 # include <assert.h>
55692 #endif
55694 #undef $ac_func
55696 /* Override any gcc2 internal prototype to avoid an error. */
55697 #ifdef __cplusplus
55698 extern "C"
55700 #endif
55701 /* We use char because int might match the return type of a gcc2
55702 builtin and then its argument prototype would still apply. */
55703 char $ac_func ();
55704 /* The GNU C library defines this for functions which it implements
55705 to always fail with ENOSYS. Some functions are actually named
55706 something starting with __ and the normal name is an alias. */
55707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55708 choke me
55709 #else
55710 char (*f) () = $ac_func;
55711 #endif
55712 #ifdef __cplusplus
55714 #endif
55717 main ()
55719 return f != $ac_func;
55721 return 0;
55723 _ACEOF
55724 rm -f conftest.$ac_objext conftest$ac_exeext
55725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55726 (eval $ac_link) 2>conftest.er1
55727 ac_status=$?
55728 grep -v '^ *+' conftest.er1 >conftest.err
55729 rm -f conftest.er1
55730 cat conftest.err >&5
55731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55732 (exit $ac_status); } &&
55733 { ac_try='test -z "$ac_c_werror_flag"
55734 || test ! -s conftest.err'
55735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55736 (eval $ac_try) 2>&5
55737 ac_status=$?
55738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55739 (exit $ac_status); }; } &&
55740 { ac_try='test -s conftest$ac_exeext'
55741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55742 (eval $ac_try) 2>&5
55743 ac_status=$?
55744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55745 (exit $ac_status); }; }; then
55746 eval "$as_ac_var=yes"
55747 else
55748 echo "$as_me: failed program was:" >&5
55749 sed 's/^/| /' conftest.$ac_ext >&5
55751 eval "$as_ac_var=no"
55753 rm -f conftest.err conftest.$ac_objext \
55754 conftest$ac_exeext conftest.$ac_ext
55756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55758 if test `eval echo '${'$as_ac_var'}'` = yes; then
55759 cat >>confdefs.h <<_ACEOF
55760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55761 _ACEOF
55762 ac_XPG2funcs=yes
55763 else
55764 ac_XPG2funcs=no
55766 done
55769 LIBS="$ac_save_LIBS"
55771 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
55772 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
55773 if test x"$ac_has_iconv_h" = xyes &&
55774 test x"$ac_has_langinfo_h" = xyes &&
55775 test x"$ac_XPG2funcs" = xyes;
55776 then
55777 ac_XPG2_wchar_t=yes
55778 else
55779 ac_XPG2_wchar_t=no
55781 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
55782 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
55784 # At the moment, only enable wchar_t specializations if all the
55785 # above support is present.
55786 if test x"$ac_isoC99_wchar_t" = xyes &&
55787 test x"$ac_XPG2_wchar_t" = xyes;
55788 then
55789 cat >>confdefs.h <<\_ACEOF
55790 #define _GLIBCXX_USE_WCHAR_T 1
55791 _ACEOF
55793 enable_wchar_t=yes
55796 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
55797 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
55798 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
55799 echo "${ECHO_T}$enable_wchar_t" >&6
55801 cat >>confdefs.h <<\_ACEOF
55802 #define HAVE_LC_MESSAGES 1
55803 _ACEOF
55805 cat >>confdefs.h <<\_ACEOF
55806 #define HAVE_GETPAGESIZE 1
55807 _ACEOF
55809 cat >>confdefs.h <<\_ACEOF
55810 #define HAVE_SETENV 1
55811 _ACEOF
55813 cat >>confdefs.h <<\_ACEOF
55814 #define HAVE_SIGSETJMP 1
55815 _ACEOF
55817 cat >>confdefs.h <<\_ACEOF
55818 #define HAVE_COPYSIGN 1
55819 _ACEOF
55821 cat >>confdefs.h <<\_ACEOF
55822 #define HAVE_COPYSIGNF 1
55823 _ACEOF
55825 cat >>confdefs.h <<\_ACEOF
55826 #define HAVE_FINITEF 1
55827 _ACEOF
55829 cat >>confdefs.h <<\_ACEOF
55830 #define HAVE_FINITE 1
55831 _ACEOF
55833 cat >>confdefs.h <<\_ACEOF
55834 #define HAVE_FREXPF 1
55835 _ACEOF
55837 cat >>confdefs.h <<\_ACEOF
55838 #define HAVE_HYPOT 1
55839 _ACEOF
55841 cat >>confdefs.h <<\_ACEOF
55842 #define HAVE_HYPOTF 1
55843 _ACEOF
55845 cat >>confdefs.h <<\_ACEOF
55846 #define HAVE_ISINF 1
55847 _ACEOF
55849 cat >>confdefs.h <<\_ACEOF
55850 #define HAVE_ISNAN 1
55851 _ACEOF
55853 cat >>confdefs.h <<\_ACEOF
55854 #define HAVE_ISNANF 1
55855 _ACEOF
55858 cat >>confdefs.h <<\_ACEOF
55859 #define HAVE_MMAP 1
55860 _ACEOF
55862 cat >>confdefs.h <<\_ACEOF
55863 #define HAVE_ACOSF 1
55864 _ACEOF
55866 cat >>confdefs.h <<\_ACEOF
55867 #define HAVE_ASINF 1
55868 _ACEOF
55870 cat >>confdefs.h <<\_ACEOF
55871 #define HAVE_ATAN2F 1
55872 _ACEOF
55874 cat >>confdefs.h <<\_ACEOF
55875 #define HAVE_ATANF 1
55876 _ACEOF
55878 cat >>confdefs.h <<\_ACEOF
55879 #define HAVE_CEILF 1
55880 _ACEOF
55882 cat >>confdefs.h <<\_ACEOF
55883 #define HAVE_COPYSIGN 1
55884 _ACEOF
55886 cat >>confdefs.h <<\_ACEOF
55887 #define HAVE_COPYSIGNF 1
55888 _ACEOF
55890 cat >>confdefs.h <<\_ACEOF
55891 #define HAVE_COSF 1
55892 _ACEOF
55894 cat >>confdefs.h <<\_ACEOF
55895 #define HAVE_COSHF 1
55896 _ACEOF
55898 cat >>confdefs.h <<\_ACEOF
55899 #define HAVE_EXPF 1
55900 _ACEOF
55902 cat >>confdefs.h <<\_ACEOF
55903 #define HAVE_FABSF 1
55904 _ACEOF
55906 cat >>confdefs.h <<\_ACEOF
55907 #define HAVE_FLOORF 1
55908 _ACEOF
55910 cat >>confdefs.h <<\_ACEOF
55911 #define HAVE_FMODF 1
55912 _ACEOF
55914 cat >>confdefs.h <<\_ACEOF
55915 #define HAVE_FREXPF 1
55916 _ACEOF
55918 cat >>confdefs.h <<\_ACEOF
55919 #define HAVE_LDEXPF 1
55920 _ACEOF
55922 cat >>confdefs.h <<\_ACEOF
55923 #define HAVE_LOG10F 1
55924 _ACEOF
55926 cat >>confdefs.h <<\_ACEOF
55927 #define HAVE_LOGF 1
55928 _ACEOF
55930 cat >>confdefs.h <<\_ACEOF
55931 #define HAVE_MODFF 1
55932 _ACEOF
55934 cat >>confdefs.h <<\_ACEOF
55935 #define HAVE_POWF 1
55936 _ACEOF
55938 cat >>confdefs.h <<\_ACEOF
55939 #define HAVE_SINF 1
55940 _ACEOF
55942 cat >>confdefs.h <<\_ACEOF
55943 #define HAVE_SINHF 1
55944 _ACEOF
55946 cat >>confdefs.h <<\_ACEOF
55947 #define HAVE_SQRTF 1
55948 _ACEOF
55950 cat >>confdefs.h <<\_ACEOF
55951 #define HAVE_TANF 1
55952 _ACEOF
55954 cat >>confdefs.h <<\_ACEOF
55955 #define HAVE_TANHF 1
55956 _ACEOF
55958 if test x"long_double_math_on_this_cpu" = x"yes"; then
55959 cat >>confdefs.h <<\_ACEOF
55960 #define HAVE_FINITEL 1
55961 _ACEOF
55963 cat >>confdefs.h <<\_ACEOF
55964 #define HAVE_ISINFL 1
55965 _ACEOF
55967 cat >>confdefs.h <<\_ACEOF
55968 #define HAVE_ISNANL 1
55969 _ACEOF
55973 *-hpux*)
55986 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
55987 machine/endian.h machine/param.h sys/machine.h sys/types.h \
55988 fp.h locale.h float.h inttypes.h
55990 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
55991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55992 echo "$as_me:$LINENO: checking for $ac_header" >&5
55993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55995 echo $ECHO_N "(cached) $ECHO_C" >&6
55997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55998 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55999 else
56000 # Is the header compilable?
56001 echo "$as_me:$LINENO: checking $ac_header usability" >&5
56002 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
56010 #include <$ac_header>
56011 _ACEOF
56012 rm -f conftest.$ac_objext
56013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56014 (eval $ac_compile) 2>conftest.er1
56015 ac_status=$?
56016 grep -v '^ *+' conftest.er1 >conftest.err
56017 rm -f conftest.er1
56018 cat conftest.err >&5
56019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56020 (exit $ac_status); } &&
56021 { ac_try='test -z "$ac_c_werror_flag"
56022 || test ! -s conftest.err'
56023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56024 (eval $ac_try) 2>&5
56025 ac_status=$?
56026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56027 (exit $ac_status); }; } &&
56028 { ac_try='test -s conftest.$ac_objext'
56029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56030 (eval $ac_try) 2>&5
56031 ac_status=$?
56032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56033 (exit $ac_status); }; }; then
56034 ac_header_compiler=yes
56035 else
56036 echo "$as_me: failed program was:" >&5
56037 sed 's/^/| /' conftest.$ac_ext >&5
56039 ac_header_compiler=no
56041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56042 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56043 echo "${ECHO_T}$ac_header_compiler" >&6
56045 # Is the header present?
56046 echo "$as_me:$LINENO: checking $ac_header presence" >&5
56047 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
56048 cat >conftest.$ac_ext <<_ACEOF
56049 /* confdefs.h. */
56050 _ACEOF
56051 cat confdefs.h >>conftest.$ac_ext
56052 cat >>conftest.$ac_ext <<_ACEOF
56053 /* end confdefs.h. */
56054 #include <$ac_header>
56055 _ACEOF
56056 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56057 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56058 ac_status=$?
56059 grep -v '^ *+' conftest.er1 >conftest.err
56060 rm -f conftest.er1
56061 cat conftest.err >&5
56062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56063 (exit $ac_status); } >/dev/null; then
56064 if test -s conftest.err; then
56065 ac_cpp_err=$ac_c_preproc_warn_flag
56066 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
56067 else
56068 ac_cpp_err=
56070 else
56071 ac_cpp_err=yes
56073 if test -z "$ac_cpp_err"; then
56074 ac_header_preproc=yes
56075 else
56076 echo "$as_me: failed program was:" >&5
56077 sed 's/^/| /' conftest.$ac_ext >&5
56079 ac_header_preproc=no
56081 rm -f conftest.err conftest.$ac_ext
56082 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56083 echo "${ECHO_T}$ac_header_preproc" >&6
56085 # So? What about this header?
56086 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
56087 yes:no: )
56088 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
56089 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
56090 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
56091 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
56092 ac_header_preproc=yes
56094 no:yes:* )
56095 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
56096 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
56097 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
56098 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
56099 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
56100 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
56101 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
56102 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
56103 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56104 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56105 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
56106 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
56108 cat <<\_ASBOX
56109 ## ----------------------------------------- ##
56110 ## Report this to the package-unused lists. ##
56111 ## ----------------------------------------- ##
56112 _ASBOX
56114 sed "s/^/$as_me: WARNING: /" >&2
56116 esac
56117 echo "$as_me:$LINENO: checking for $ac_header" >&5
56118 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56119 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56120 echo $ECHO_N "(cached) $ECHO_C" >&6
56121 else
56122 eval "$as_ac_Header=\$ac_header_preproc"
56124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56125 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56128 if test `eval echo '${'$as_ac_Header'}'` = yes; then
56129 cat >>confdefs.h <<_ACEOF
56130 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
56131 _ACEOF
56135 done
56137 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56140 # If we're not using GNU ld, then there's no point in even trying these
56141 # tests. Check for that first. We should have already tested for gld
56142 # by now (in libtool), but require it now just to be safe...
56143 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56144 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56148 # The name set by libtool depends on the version of libtool. Shame on us
56149 # for depending on an impl detail, but c'est la vie. Older versions used
56150 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56151 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56152 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56153 # set (hence we're using an older libtool), then set it.
56154 if test x${with_gnu_ld+set} != xset; then
56155 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56156 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56157 with_gnu_ld=no
56158 else
56159 with_gnu_ld=$ac_cv_prog_gnu_ld
56163 # Start by getting the version number. I think the libtool test already
56164 # does some of this, but throws away the result.
56166 ldver=`$LD --version 2>/dev/null | head -1 | \
56167 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
56169 glibcxx_gnu_ld_version=`echo $ldver | \
56170 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56172 # Set --gc-sections.
56173 if test "$with_gnu_ld" = "notbroken"; then
56174 # GNU ld it is! Joy and bunny rabbits!
56176 # All these tests are for C++; save the language and the compiler flags.
56177 # Need to do this so that g++ won't try to link in libstdc++
56178 ac_test_CFLAGS="${CFLAGS+set}"
56179 ac_save_CFLAGS="$CFLAGS"
56180 CFLAGS='-x c++ -Wl,--gc-sections'
56182 # Check for -Wl,--gc-sections
56183 # XXX This test is broken at the moment, as symbols required for linking
56184 # are now in libsupc++ (not built yet). In addition, this test has
56185 # cored on solaris in the past. In addition, --gc-sections doesn't
56186 # really work at the moment (keeps on discarding used sections, first
56187 # .eh_frame and now some of the glibc sections for iconv).
56188 # Bzzzzt. Thanks for playing, maybe next time.
56189 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
56190 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
56191 if test "$cross_compiling" = yes; then
56192 ac_sectionLDflags=yes
56193 else
56194 cat >conftest.$ac_ext <<_ACEOF
56195 /* confdefs.h. */
56196 _ACEOF
56197 cat confdefs.h >>conftest.$ac_ext
56198 cat >>conftest.$ac_ext <<_ACEOF
56199 /* end confdefs.h. */
56201 int main(void)
56203 try { throw 1; }
56204 catch (...) { };
56205 return 0;
56208 _ACEOF
56209 rm -f conftest$ac_exeext
56210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56211 (eval $ac_link) 2>&5
56212 ac_status=$?
56213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56214 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
56215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56216 (eval $ac_try) 2>&5
56217 ac_status=$?
56218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56219 (exit $ac_status); }; }; then
56220 ac_sectionLDflags=yes
56221 else
56222 echo "$as_me: program exited with status $ac_status" >&5
56223 echo "$as_me: failed program was:" >&5
56224 sed 's/^/| /' conftest.$ac_ext >&5
56226 ( exit $ac_status )
56227 ac_sectionLDflags=no
56229 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
56231 if test "$ac_test_CFLAGS" = set; then
56232 CFLAGS="$ac_save_CFLAGS"
56233 else
56234 # this is the suspicious part
56235 CFLAGS=''
56237 if test "$ac_sectionLDflags" = "yes"; then
56238 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56240 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
56241 echo "${ECHO_T}$ac_sectionLDflags" >&6
56244 # Set linker optimization flags.
56245 if test x"$with_gnu_ld" = x"yes"; then
56246 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56254 echo "$as_me:$LINENO: checking for main in -lm" >&5
56255 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
56256 if test "${ac_cv_lib_m_main+set}" = set; then
56257 echo $ECHO_N "(cached) $ECHO_C" >&6
56258 else
56259 ac_check_lib_save_LIBS=$LIBS
56260 LIBS="-lm $LIBS"
56261 if test x$gcc_no_link = xyes; then
56262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56264 { (exit 1); exit 1; }; }
56266 cat >conftest.$ac_ext <<_ACEOF
56267 /* confdefs.h. */
56268 _ACEOF
56269 cat confdefs.h >>conftest.$ac_ext
56270 cat >>conftest.$ac_ext <<_ACEOF
56271 /* end confdefs.h. */
56275 main ()
56277 main ();
56279 return 0;
56281 _ACEOF
56282 rm -f conftest.$ac_objext conftest$ac_exeext
56283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56284 (eval $ac_link) 2>conftest.er1
56285 ac_status=$?
56286 grep -v '^ *+' conftest.er1 >conftest.err
56287 rm -f conftest.er1
56288 cat conftest.err >&5
56289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56290 (exit $ac_status); } &&
56291 { ac_try='test -z "$ac_c_werror_flag"
56292 || test ! -s conftest.err'
56293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56294 (eval $ac_try) 2>&5
56295 ac_status=$?
56296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56297 (exit $ac_status); }; } &&
56298 { ac_try='test -s conftest$ac_exeext'
56299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56300 (eval $ac_try) 2>&5
56301 ac_status=$?
56302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56303 (exit $ac_status); }; }; then
56304 ac_cv_lib_m_main=yes
56305 else
56306 echo "$as_me: failed program was:" >&5
56307 sed 's/^/| /' conftest.$ac_ext >&5
56309 ac_cv_lib_m_main=no
56311 rm -f conftest.err conftest.$ac_objext \
56312 conftest$ac_exeext conftest.$ac_ext
56313 LIBS=$ac_check_lib_save_LIBS
56315 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
56316 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
56317 if test $ac_cv_lib_m_main = yes; then
56318 cat >>confdefs.h <<_ACEOF
56319 #define HAVE_LIBM 1
56320 _ACEOF
56322 LIBS="-lm $LIBS"
56327 for ac_func in copysignf
56329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56330 echo "$as_me:$LINENO: checking for $ac_func" >&5
56331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56332 if eval "test \"\${$as_ac_var+set}\" = set"; then
56333 echo $ECHO_N "(cached) $ECHO_C" >&6
56334 else
56335 if test x$gcc_no_link = xyes; then
56336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56338 { (exit 1); exit 1; }; }
56340 cat >conftest.$ac_ext <<_ACEOF
56341 /* confdefs.h. */
56342 _ACEOF
56343 cat confdefs.h >>conftest.$ac_ext
56344 cat >>conftest.$ac_ext <<_ACEOF
56345 /* end confdefs.h. */
56346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56348 #define $ac_func innocuous_$ac_func
56350 /* System header to define __stub macros and hopefully few prototypes,
56351 which can conflict with char $ac_func (); below.
56352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56353 <limits.h> exists even on freestanding compilers. */
56355 #ifdef __STDC__
56356 # include <limits.h>
56357 #else
56358 # include <assert.h>
56359 #endif
56361 #undef $ac_func
56363 /* Override any gcc2 internal prototype to avoid an error. */
56364 #ifdef __cplusplus
56365 extern "C"
56367 #endif
56368 /* We use char because int might match the return type of a gcc2
56369 builtin and then its argument prototype would still apply. */
56370 char $ac_func ();
56371 /* The GNU C library defines this for functions which it implements
56372 to always fail with ENOSYS. Some functions are actually named
56373 something starting with __ and the normal name is an alias. */
56374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56375 choke me
56376 #else
56377 char (*f) () = $ac_func;
56378 #endif
56379 #ifdef __cplusplus
56381 #endif
56384 main ()
56386 return f != $ac_func;
56388 return 0;
56390 _ACEOF
56391 rm -f conftest.$ac_objext conftest$ac_exeext
56392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56393 (eval $ac_link) 2>conftest.er1
56394 ac_status=$?
56395 grep -v '^ *+' conftest.er1 >conftest.err
56396 rm -f conftest.er1
56397 cat conftest.err >&5
56398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56399 (exit $ac_status); } &&
56400 { ac_try='test -z "$ac_c_werror_flag"
56401 || test ! -s conftest.err'
56402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56403 (eval $ac_try) 2>&5
56404 ac_status=$?
56405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56406 (exit $ac_status); }; } &&
56407 { ac_try='test -s conftest$ac_exeext'
56408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56409 (eval $ac_try) 2>&5
56410 ac_status=$?
56411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56412 (exit $ac_status); }; }; then
56413 eval "$as_ac_var=yes"
56414 else
56415 echo "$as_me: failed program was:" >&5
56416 sed 's/^/| /' conftest.$ac_ext >&5
56418 eval "$as_ac_var=no"
56420 rm -f conftest.err conftest.$ac_objext \
56421 conftest$ac_exeext conftest.$ac_ext
56423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56425 if test `eval echo '${'$as_ac_var'}'` = yes; then
56426 cat >>confdefs.h <<_ACEOF
56427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56428 _ACEOF
56430 else
56431 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
56433 done
56437 for ac_func in __signbit
56439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56440 echo "$as_me:$LINENO: checking for $ac_func" >&5
56441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56442 if eval "test \"\${$as_ac_var+set}\" = set"; then
56443 echo $ECHO_N "(cached) $ECHO_C" >&6
56444 else
56445 if test x$gcc_no_link = xyes; then
56446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56448 { (exit 1); exit 1; }; }
56450 cat >conftest.$ac_ext <<_ACEOF
56451 /* confdefs.h. */
56452 _ACEOF
56453 cat confdefs.h >>conftest.$ac_ext
56454 cat >>conftest.$ac_ext <<_ACEOF
56455 /* end confdefs.h. */
56456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56458 #define $ac_func innocuous_$ac_func
56460 /* System header to define __stub macros and hopefully few prototypes,
56461 which can conflict with char $ac_func (); below.
56462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56463 <limits.h> exists even on freestanding compilers. */
56465 #ifdef __STDC__
56466 # include <limits.h>
56467 #else
56468 # include <assert.h>
56469 #endif
56471 #undef $ac_func
56473 /* Override any gcc2 internal prototype to avoid an error. */
56474 #ifdef __cplusplus
56475 extern "C"
56477 #endif
56478 /* We use char because int might match the return type of a gcc2
56479 builtin and then its argument prototype would still apply. */
56480 char $ac_func ();
56481 /* The GNU C library defines this for functions which it implements
56482 to always fail with ENOSYS. Some functions are actually named
56483 something starting with __ and the normal name is an alias. */
56484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56485 choke me
56486 #else
56487 char (*f) () = $ac_func;
56488 #endif
56489 #ifdef __cplusplus
56491 #endif
56494 main ()
56496 return f != $ac_func;
56498 return 0;
56500 _ACEOF
56501 rm -f conftest.$ac_objext conftest$ac_exeext
56502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56503 (eval $ac_link) 2>conftest.er1
56504 ac_status=$?
56505 grep -v '^ *+' conftest.er1 >conftest.err
56506 rm -f conftest.er1
56507 cat conftest.err >&5
56508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56509 (exit $ac_status); } &&
56510 { ac_try='test -z "$ac_c_werror_flag"
56511 || test ! -s conftest.err'
56512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56513 (eval $ac_try) 2>&5
56514 ac_status=$?
56515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56516 (exit $ac_status); }; } &&
56517 { ac_try='test -s conftest$ac_exeext'
56518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56519 (eval $ac_try) 2>&5
56520 ac_status=$?
56521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56522 (exit $ac_status); }; }; then
56523 eval "$as_ac_var=yes"
56524 else
56525 echo "$as_me: failed program was:" >&5
56526 sed 's/^/| /' conftest.$ac_ext >&5
56528 eval "$as_ac_var=no"
56530 rm -f conftest.err conftest.$ac_objext \
56531 conftest$ac_exeext conftest.$ac_ext
56533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56535 if test `eval echo '${'$as_ac_var'}'` = yes; then
56536 cat >>confdefs.h <<_ACEOF
56537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56538 _ACEOF
56540 else
56541 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
56543 done
56546 for ac_func in __signbitf
56548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56549 echo "$as_me:$LINENO: checking for $ac_func" >&5
56550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56551 if eval "test \"\${$as_ac_var+set}\" = set"; then
56552 echo $ECHO_N "(cached) $ECHO_C" >&6
56553 else
56554 if test x$gcc_no_link = xyes; then
56555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56557 { (exit 1); exit 1; }; }
56559 cat >conftest.$ac_ext <<_ACEOF
56560 /* confdefs.h. */
56561 _ACEOF
56562 cat confdefs.h >>conftest.$ac_ext
56563 cat >>conftest.$ac_ext <<_ACEOF
56564 /* end confdefs.h. */
56565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56567 #define $ac_func innocuous_$ac_func
56569 /* System header to define __stub macros and hopefully few prototypes,
56570 which can conflict with char $ac_func (); below.
56571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56572 <limits.h> exists even on freestanding compilers. */
56574 #ifdef __STDC__
56575 # include <limits.h>
56576 #else
56577 # include <assert.h>
56578 #endif
56580 #undef $ac_func
56582 /* Override any gcc2 internal prototype to avoid an error. */
56583 #ifdef __cplusplus
56584 extern "C"
56586 #endif
56587 /* We use char because int might match the return type of a gcc2
56588 builtin and then its argument prototype would still apply. */
56589 char $ac_func ();
56590 /* The GNU C library defines this for functions which it implements
56591 to always fail with ENOSYS. Some functions are actually named
56592 something starting with __ and the normal name is an alias. */
56593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56594 choke me
56595 #else
56596 char (*f) () = $ac_func;
56597 #endif
56598 #ifdef __cplusplus
56600 #endif
56603 main ()
56605 return f != $ac_func;
56607 return 0;
56609 _ACEOF
56610 rm -f conftest.$ac_objext conftest$ac_exeext
56611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56612 (eval $ac_link) 2>conftest.er1
56613 ac_status=$?
56614 grep -v '^ *+' conftest.er1 >conftest.err
56615 rm -f conftest.er1
56616 cat conftest.err >&5
56617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56618 (exit $ac_status); } &&
56619 { ac_try='test -z "$ac_c_werror_flag"
56620 || test ! -s conftest.err'
56621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56622 (eval $ac_try) 2>&5
56623 ac_status=$?
56624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56625 (exit $ac_status); }; } &&
56626 { ac_try='test -s conftest$ac_exeext'
56627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56628 (eval $ac_try) 2>&5
56629 ac_status=$?
56630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56631 (exit $ac_status); }; }; then
56632 eval "$as_ac_var=yes"
56633 else
56634 echo "$as_me: failed program was:" >&5
56635 sed 's/^/| /' conftest.$ac_ext >&5
56637 eval "$as_ac_var=no"
56639 rm -f conftest.err conftest.$ac_objext \
56640 conftest$ac_exeext conftest.$ac_ext
56642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56644 if test `eval echo '${'$as_ac_var'}'` = yes; then
56645 cat >>confdefs.h <<_ACEOF
56646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56647 _ACEOF
56649 else
56650 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
56652 done
56655 if test x$ac_cv_func_copysignl = x"yes"; then
56657 for ac_func in __signbitl
56659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56660 echo "$as_me:$LINENO: checking for $ac_func" >&5
56661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56662 if eval "test \"\${$as_ac_var+set}\" = set"; then
56663 echo $ECHO_N "(cached) $ECHO_C" >&6
56664 else
56665 if test x$gcc_no_link = xyes; then
56666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56668 { (exit 1); exit 1; }; }
56670 cat >conftest.$ac_ext <<_ACEOF
56671 /* confdefs.h. */
56672 _ACEOF
56673 cat confdefs.h >>conftest.$ac_ext
56674 cat >>conftest.$ac_ext <<_ACEOF
56675 /* end confdefs.h. */
56676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56678 #define $ac_func innocuous_$ac_func
56680 /* System header to define __stub macros and hopefully few prototypes,
56681 which can conflict with char $ac_func (); below.
56682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56683 <limits.h> exists even on freestanding compilers. */
56685 #ifdef __STDC__
56686 # include <limits.h>
56687 #else
56688 # include <assert.h>
56689 #endif
56691 #undef $ac_func
56693 /* Override any gcc2 internal prototype to avoid an error. */
56694 #ifdef __cplusplus
56695 extern "C"
56697 #endif
56698 /* We use char because int might match the return type of a gcc2
56699 builtin and then its argument prototype would still apply. */
56700 char $ac_func ();
56701 /* The GNU C library defines this for functions which it implements
56702 to always fail with ENOSYS. Some functions are actually named
56703 something starting with __ and the normal name is an alias. */
56704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56705 choke me
56706 #else
56707 char (*f) () = $ac_func;
56708 #endif
56709 #ifdef __cplusplus
56711 #endif
56714 main ()
56716 return f != $ac_func;
56718 return 0;
56720 _ACEOF
56721 rm -f conftest.$ac_objext conftest$ac_exeext
56722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56723 (eval $ac_link) 2>conftest.er1
56724 ac_status=$?
56725 grep -v '^ *+' conftest.er1 >conftest.err
56726 rm -f conftest.er1
56727 cat conftest.err >&5
56728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56729 (exit $ac_status); } &&
56730 { ac_try='test -z "$ac_c_werror_flag"
56731 || test ! -s conftest.err'
56732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56733 (eval $ac_try) 2>&5
56734 ac_status=$?
56735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56736 (exit $ac_status); }; } &&
56737 { ac_try='test -s conftest$ac_exeext'
56738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56739 (eval $ac_try) 2>&5
56740 ac_status=$?
56741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56742 (exit $ac_status); }; }; then
56743 eval "$as_ac_var=yes"
56744 else
56745 echo "$as_me: failed program was:" >&5
56746 sed 's/^/| /' conftest.$ac_ext >&5
56748 eval "$as_ac_var=no"
56750 rm -f conftest.err conftest.$ac_objext \
56751 conftest$ac_exeext conftest.$ac_ext
56753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56755 if test `eval echo '${'$as_ac_var'}'` = yes; then
56756 cat >>confdefs.h <<_ACEOF
56757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56758 _ACEOF
56760 else
56761 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
56763 done
56767 # XXX Review this. Nothing uses it.
56768 if test -n "$LIBMATHOBJS"; then
56769 need_libmath=yes
56774 # Test wchar.h for mbstate_t, which is needed for char_traits and
56775 # others even if wchar_t support is not on.
56776 echo "$as_me:$LINENO: checking for mbstate_t" >&5
56777 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
56778 cat >conftest.$ac_ext <<_ACEOF
56779 /* confdefs.h. */
56780 _ACEOF
56781 cat confdefs.h >>conftest.$ac_ext
56782 cat >>conftest.$ac_ext <<_ACEOF
56783 /* end confdefs.h. */
56784 #include <wchar.h>
56786 main ()
56788 mbstate_t teststate;
56790 return 0;
56792 _ACEOF
56793 rm -f conftest.$ac_objext
56794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56795 (eval $ac_compile) 2>conftest.er1
56796 ac_status=$?
56797 grep -v '^ *+' conftest.er1 >conftest.err
56798 rm -f conftest.er1
56799 cat conftest.err >&5
56800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56801 (exit $ac_status); } &&
56802 { ac_try='test -z "$ac_c_werror_flag"
56803 || test ! -s conftest.err'
56804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56805 (eval $ac_try) 2>&5
56806 ac_status=$?
56807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56808 (exit $ac_status); }; } &&
56809 { ac_try='test -s conftest.$ac_objext'
56810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56811 (eval $ac_try) 2>&5
56812 ac_status=$?
56813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56814 (exit $ac_status); }; }; then
56815 have_mbstate_t=yes
56816 else
56817 echo "$as_me: failed program was:" >&5
56818 sed 's/^/| /' conftest.$ac_ext >&5
56820 have_mbstate_t=no
56822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56823 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
56824 echo "${ECHO_T}$have_mbstate_t" >&6
56825 if test x"$have_mbstate_t" = xyes; then
56826 cat >>confdefs.h <<\_ACEOF
56827 #define HAVE_MBSTATE_T 1
56828 _ACEOF
56832 # Sanity check for existence of ISO C99 headers for extended encoding.
56834 for ac_header in wchar.h
56836 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
56837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56838 echo "$as_me:$LINENO: checking for $ac_header" >&5
56839 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56841 echo $ECHO_N "(cached) $ECHO_C" >&6
56843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56844 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56845 else
56846 # Is the header compilable?
56847 echo "$as_me:$LINENO: checking $ac_header usability" >&5
56848 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
56849 cat >conftest.$ac_ext <<_ACEOF
56850 /* confdefs.h. */
56851 _ACEOF
56852 cat confdefs.h >>conftest.$ac_ext
56853 cat >>conftest.$ac_ext <<_ACEOF
56854 /* end confdefs.h. */
56855 $ac_includes_default
56856 #include <$ac_header>
56857 _ACEOF
56858 rm -f conftest.$ac_objext
56859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56860 (eval $ac_compile) 2>conftest.er1
56861 ac_status=$?
56862 grep -v '^ *+' conftest.er1 >conftest.err
56863 rm -f conftest.er1
56864 cat conftest.err >&5
56865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56866 (exit $ac_status); } &&
56867 { ac_try='test -z "$ac_c_werror_flag"
56868 || test ! -s conftest.err'
56869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56870 (eval $ac_try) 2>&5
56871 ac_status=$?
56872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56873 (exit $ac_status); }; } &&
56874 { ac_try='test -s conftest.$ac_objext'
56875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56876 (eval $ac_try) 2>&5
56877 ac_status=$?
56878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56879 (exit $ac_status); }; }; then
56880 ac_header_compiler=yes
56881 else
56882 echo "$as_me: failed program was:" >&5
56883 sed 's/^/| /' conftest.$ac_ext >&5
56885 ac_header_compiler=no
56887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56888 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56889 echo "${ECHO_T}$ac_header_compiler" >&6
56891 # Is the header present?
56892 echo "$as_me:$LINENO: checking $ac_header presence" >&5
56893 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
56894 cat >conftest.$ac_ext <<_ACEOF
56895 /* confdefs.h. */
56896 _ACEOF
56897 cat confdefs.h >>conftest.$ac_ext
56898 cat >>conftest.$ac_ext <<_ACEOF
56899 /* end confdefs.h. */
56900 #include <$ac_header>
56901 _ACEOF
56902 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56903 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56904 ac_status=$?
56905 grep -v '^ *+' conftest.er1 >conftest.err
56906 rm -f conftest.er1
56907 cat conftest.err >&5
56908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56909 (exit $ac_status); } >/dev/null; then
56910 if test -s conftest.err; then
56911 ac_cpp_err=$ac_c_preproc_warn_flag
56912 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
56913 else
56914 ac_cpp_err=
56916 else
56917 ac_cpp_err=yes
56919 if test -z "$ac_cpp_err"; then
56920 ac_header_preproc=yes
56921 else
56922 echo "$as_me: failed program was:" >&5
56923 sed 's/^/| /' conftest.$ac_ext >&5
56925 ac_header_preproc=no
56927 rm -f conftest.err conftest.$ac_ext
56928 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56929 echo "${ECHO_T}$ac_header_preproc" >&6
56931 # So? What about this header?
56932 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
56933 yes:no: )
56934 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
56935 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
56936 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
56937 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
56938 ac_header_preproc=yes
56940 no:yes:* )
56941 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
56942 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
56943 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
56944 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
56945 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
56946 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
56947 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
56948 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
56949 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56950 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56951 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
56952 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
56954 cat <<\_ASBOX
56955 ## ----------------------------------------- ##
56956 ## Report this to the package-unused lists. ##
56957 ## ----------------------------------------- ##
56958 _ASBOX
56960 sed "s/^/$as_me: WARNING: /" >&2
56962 esac
56963 echo "$as_me:$LINENO: checking for $ac_header" >&5
56964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56966 echo $ECHO_N "(cached) $ECHO_C" >&6
56967 else
56968 eval "$as_ac_Header=\$ac_header_preproc"
56970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56971 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56974 if test `eval echo '${'$as_ac_Header'}'` = yes; then
56975 cat >>confdefs.h <<_ACEOF
56976 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
56977 _ACEOF
56978 ac_has_wchar_h=yes
56979 else
56980 ac_has_wchar_h=no
56983 done
56986 for ac_header in wctype.h
56988 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
56989 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56990 echo "$as_me:$LINENO: checking for $ac_header" >&5
56991 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56992 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56993 echo $ECHO_N "(cached) $ECHO_C" >&6
56995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56996 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56997 else
56998 # Is the header compilable?
56999 echo "$as_me:$LINENO: checking $ac_header usability" >&5
57000 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
57001 cat >conftest.$ac_ext <<_ACEOF
57002 /* confdefs.h. */
57003 _ACEOF
57004 cat confdefs.h >>conftest.$ac_ext
57005 cat >>conftest.$ac_ext <<_ACEOF
57006 /* end confdefs.h. */
57007 $ac_includes_default
57008 #include <$ac_header>
57009 _ACEOF
57010 rm -f conftest.$ac_objext
57011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57012 (eval $ac_compile) 2>conftest.er1
57013 ac_status=$?
57014 grep -v '^ *+' conftest.er1 >conftest.err
57015 rm -f conftest.er1
57016 cat conftest.err >&5
57017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57018 (exit $ac_status); } &&
57019 { ac_try='test -z "$ac_c_werror_flag"
57020 || test ! -s conftest.err'
57021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57022 (eval $ac_try) 2>&5
57023 ac_status=$?
57024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57025 (exit $ac_status); }; } &&
57026 { ac_try='test -s conftest.$ac_objext'
57027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57028 (eval $ac_try) 2>&5
57029 ac_status=$?
57030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57031 (exit $ac_status); }; }; then
57032 ac_header_compiler=yes
57033 else
57034 echo "$as_me: failed program was:" >&5
57035 sed 's/^/| /' conftest.$ac_ext >&5
57037 ac_header_compiler=no
57039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57040 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
57041 echo "${ECHO_T}$ac_header_compiler" >&6
57043 # Is the header present?
57044 echo "$as_me:$LINENO: checking $ac_header presence" >&5
57045 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
57046 cat >conftest.$ac_ext <<_ACEOF
57047 /* confdefs.h. */
57048 _ACEOF
57049 cat confdefs.h >>conftest.$ac_ext
57050 cat >>conftest.$ac_ext <<_ACEOF
57051 /* end confdefs.h. */
57052 #include <$ac_header>
57053 _ACEOF
57054 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
57055 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
57056 ac_status=$?
57057 grep -v '^ *+' conftest.er1 >conftest.err
57058 rm -f conftest.er1
57059 cat conftest.err >&5
57060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57061 (exit $ac_status); } >/dev/null; then
57062 if test -s conftest.err; then
57063 ac_cpp_err=$ac_c_preproc_warn_flag
57064 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
57065 else
57066 ac_cpp_err=
57068 else
57069 ac_cpp_err=yes
57071 if test -z "$ac_cpp_err"; then
57072 ac_header_preproc=yes
57073 else
57074 echo "$as_me: failed program was:" >&5
57075 sed 's/^/| /' conftest.$ac_ext >&5
57077 ac_header_preproc=no
57079 rm -f conftest.err conftest.$ac_ext
57080 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
57081 echo "${ECHO_T}$ac_header_preproc" >&6
57083 # So? What about this header?
57084 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
57085 yes:no: )
57086 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
57087 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
57088 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
57089 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
57090 ac_header_preproc=yes
57092 no:yes:* )
57093 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
57094 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
57095 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
57096 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
57097 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
57098 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
57099 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
57100 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
57101 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
57102 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
57103 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
57104 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
57106 cat <<\_ASBOX
57107 ## ----------------------------------------- ##
57108 ## Report this to the package-unused lists. ##
57109 ## ----------------------------------------- ##
57110 _ASBOX
57112 sed "s/^/$as_me: WARNING: /" >&2
57114 esac
57115 echo "$as_me:$LINENO: checking for $ac_header" >&5
57116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
57117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57118 echo $ECHO_N "(cached) $ECHO_C" >&6
57119 else
57120 eval "$as_ac_Header=\$ac_header_preproc"
57122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
57123 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
57126 if test `eval echo '${'$as_ac_Header'}'` = yes; then
57127 cat >>confdefs.h <<_ACEOF
57128 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
57129 _ACEOF
57130 ac_has_wctype_h=yes
57131 else
57132 ac_has_wctype_h=no
57135 done
57138 # Only continue checking if the ISO C99 headers exist and support is on.
57139 if test x"$ac_has_wchar_h" = xyes &&
57140 test x"$ac_has_wctype_h" = xyes &&
57141 test x"$enable_c_mbchar" != xno; then
57143 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
57144 # numeric_limits can instantiate type_traits<wchar_t>
57145 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
57146 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
57147 cat >conftest.$ac_ext <<_ACEOF
57148 /* confdefs.h. */
57149 _ACEOF
57150 cat confdefs.h >>conftest.$ac_ext
57151 cat >>conftest.$ac_ext <<_ACEOF
57152 /* end confdefs.h. */
57153 #include <wchar.h>
57155 main ()
57157 int i = WCHAR_MIN; int j = WCHAR_MAX;
57159 return 0;
57161 _ACEOF
57162 rm -f conftest.$ac_objext
57163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57164 (eval $ac_compile) 2>conftest.er1
57165 ac_status=$?
57166 grep -v '^ *+' conftest.er1 >conftest.err
57167 rm -f conftest.er1
57168 cat conftest.err >&5
57169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57170 (exit $ac_status); } &&
57171 { ac_try='test -z "$ac_c_werror_flag"
57172 || test ! -s conftest.err'
57173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57174 (eval $ac_try) 2>&5
57175 ac_status=$?
57176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57177 (exit $ac_status); }; } &&
57178 { ac_try='test -s conftest.$ac_objext'
57179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57180 (eval $ac_try) 2>&5
57181 ac_status=$?
57182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57183 (exit $ac_status); }; }; then
57184 has_wchar_minmax=yes
57185 else
57186 echo "$as_me: failed program was:" >&5
57187 sed 's/^/| /' conftest.$ac_ext >&5
57189 has_wchar_minmax=no
57191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57192 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
57193 echo "${ECHO_T}$has_wchar_minmax" >&6
57195 # Test wchar.h for WEOF, which is what we use to determine whether
57196 # to specialize for char_traits<wchar_t> or not.
57197 echo "$as_me:$LINENO: checking for WEOF" >&5
57198 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
57199 cat >conftest.$ac_ext <<_ACEOF
57200 /* confdefs.h. */
57201 _ACEOF
57202 cat confdefs.h >>conftest.$ac_ext
57203 cat >>conftest.$ac_ext <<_ACEOF
57204 /* end confdefs.h. */
57206 #include <wchar.h>
57207 #include <stddef.h>
57209 main ()
57211 wint_t i = WEOF;
57213 return 0;
57215 _ACEOF
57216 rm -f conftest.$ac_objext
57217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57218 (eval $ac_compile) 2>conftest.er1
57219 ac_status=$?
57220 grep -v '^ *+' conftest.er1 >conftest.err
57221 rm -f conftest.er1
57222 cat conftest.err >&5
57223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57224 (exit $ac_status); } &&
57225 { ac_try='test -z "$ac_c_werror_flag"
57226 || test ! -s conftest.err'
57227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57228 (eval $ac_try) 2>&5
57229 ac_status=$?
57230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57231 (exit $ac_status); }; } &&
57232 { ac_try='test -s conftest.$ac_objext'
57233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57234 (eval $ac_try) 2>&5
57235 ac_status=$?
57236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57237 (exit $ac_status); }; }; then
57238 has_weof=yes
57239 else
57240 echo "$as_me: failed program was:" >&5
57241 sed 's/^/| /' conftest.$ac_ext >&5
57243 has_weof=no
57245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57246 echo "$as_me:$LINENO: result: $has_weof" >&5
57247 echo "${ECHO_T}$has_weof" >&6
57249 # Tests for wide character functions used in char_traits<wchar_t>.
57250 ac_wfuncs=yes
57257 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
57259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57260 echo "$as_me:$LINENO: checking for $ac_func" >&5
57261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57262 if eval "test \"\${$as_ac_var+set}\" = set"; then
57263 echo $ECHO_N "(cached) $ECHO_C" >&6
57264 else
57265 if test x$gcc_no_link = xyes; then
57266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57268 { (exit 1); exit 1; }; }
57270 cat >conftest.$ac_ext <<_ACEOF
57271 /* confdefs.h. */
57272 _ACEOF
57273 cat confdefs.h >>conftest.$ac_ext
57274 cat >>conftest.$ac_ext <<_ACEOF
57275 /* end confdefs.h. */
57276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57278 #define $ac_func innocuous_$ac_func
57280 /* System header to define __stub macros and hopefully few prototypes,
57281 which can conflict with char $ac_func (); below.
57282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57283 <limits.h> exists even on freestanding compilers. */
57285 #ifdef __STDC__
57286 # include <limits.h>
57287 #else
57288 # include <assert.h>
57289 #endif
57291 #undef $ac_func
57293 /* Override any gcc2 internal prototype to avoid an error. */
57294 #ifdef __cplusplus
57295 extern "C"
57297 #endif
57298 /* We use char because int might match the return type of a gcc2
57299 builtin and then its argument prototype would still apply. */
57300 char $ac_func ();
57301 /* The GNU C library defines this for functions which it implements
57302 to always fail with ENOSYS. Some functions are actually named
57303 something starting with __ and the normal name is an alias. */
57304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57305 choke me
57306 #else
57307 char (*f) () = $ac_func;
57308 #endif
57309 #ifdef __cplusplus
57311 #endif
57314 main ()
57316 return f != $ac_func;
57318 return 0;
57320 _ACEOF
57321 rm -f conftest.$ac_objext conftest$ac_exeext
57322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57323 (eval $ac_link) 2>conftest.er1
57324 ac_status=$?
57325 grep -v '^ *+' conftest.er1 >conftest.err
57326 rm -f conftest.er1
57327 cat conftest.err >&5
57328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57329 (exit $ac_status); } &&
57330 { ac_try='test -z "$ac_c_werror_flag"
57331 || test ! -s conftest.err'
57332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57333 (eval $ac_try) 2>&5
57334 ac_status=$?
57335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57336 (exit $ac_status); }; } &&
57337 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
57343 eval "$as_ac_var=yes"
57344 else
57345 echo "$as_me: failed program was:" >&5
57346 sed 's/^/| /' conftest.$ac_ext >&5
57348 eval "$as_ac_var=no"
57350 rm -f conftest.err conftest.$ac_objext \
57351 conftest$ac_exeext conftest.$ac_ext
57353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57355 if test `eval echo '${'$as_ac_var'}'` = yes; then
57356 cat >>confdefs.h <<_ACEOF
57357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57358 _ACEOF
57360 else
57361 ac_wfuncs=no
57363 done
57366 # Checks for names injected into std:: by the c_std headers.
57413 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
57414 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
57415 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
57416 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
57417 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
57418 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
57420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57421 echo "$as_me:$LINENO: checking for $ac_func" >&5
57422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57423 if eval "test \"\${$as_ac_var+set}\" = set"; then
57424 echo $ECHO_N "(cached) $ECHO_C" >&6
57425 else
57426 if test x$gcc_no_link = xyes; then
57427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57429 { (exit 1); exit 1; }; }
57431 cat >conftest.$ac_ext <<_ACEOF
57432 /* confdefs.h. */
57433 _ACEOF
57434 cat confdefs.h >>conftest.$ac_ext
57435 cat >>conftest.$ac_ext <<_ACEOF
57436 /* end confdefs.h. */
57437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57439 #define $ac_func innocuous_$ac_func
57441 /* System header to define __stub macros and hopefully few prototypes,
57442 which can conflict with char $ac_func (); below.
57443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57444 <limits.h> exists even on freestanding compilers. */
57446 #ifdef __STDC__
57447 # include <limits.h>
57448 #else
57449 # include <assert.h>
57450 #endif
57452 #undef $ac_func
57454 /* Override any gcc2 internal prototype to avoid an error. */
57455 #ifdef __cplusplus
57456 extern "C"
57458 #endif
57459 /* We use char because int might match the return type of a gcc2
57460 builtin and then its argument prototype would still apply. */
57461 char $ac_func ();
57462 /* The GNU C library defines this for functions which it implements
57463 to always fail with ENOSYS. Some functions are actually named
57464 something starting with __ and the normal name is an alias. */
57465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57466 choke me
57467 #else
57468 char (*f) () = $ac_func;
57469 #endif
57470 #ifdef __cplusplus
57472 #endif
57475 main ()
57477 return f != $ac_func;
57479 return 0;
57481 _ACEOF
57482 rm -f conftest.$ac_objext conftest$ac_exeext
57483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57484 (eval $ac_link) 2>conftest.er1
57485 ac_status=$?
57486 grep -v '^ *+' conftest.er1 >conftest.err
57487 rm -f conftest.er1
57488 cat conftest.err >&5
57489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57490 (exit $ac_status); } &&
57491 { ac_try='test -z "$ac_c_werror_flag"
57492 || test ! -s conftest.err'
57493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57494 (eval $ac_try) 2>&5
57495 ac_status=$?
57496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57497 (exit $ac_status); }; } &&
57498 { ac_try='test -s conftest$ac_exeext'
57499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57500 (eval $ac_try) 2>&5
57501 ac_status=$?
57502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57503 (exit $ac_status); }; }; then
57504 eval "$as_ac_var=yes"
57505 else
57506 echo "$as_me: failed program was:" >&5
57507 sed 's/^/| /' conftest.$ac_ext >&5
57509 eval "$as_ac_var=no"
57511 rm -f conftest.err conftest.$ac_objext \
57512 conftest$ac_exeext conftest.$ac_ext
57514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57516 if test `eval echo '${'$as_ac_var'}'` = yes; then
57517 cat >>confdefs.h <<_ACEOF
57518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57519 _ACEOF
57521 else
57522 ac_wfuncs=no
57524 done
57527 # Checks for wide character functions that are not required
57528 # for basic wchar_t support. Don't disable support if they are missing.
57529 # Injection of these is wrapped with guard macros.
57535 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
57537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57538 echo "$as_me:$LINENO: checking for $ac_func" >&5
57539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57540 if eval "test \"\${$as_ac_var+set}\" = set"; then
57541 echo $ECHO_N "(cached) $ECHO_C" >&6
57542 else
57543 if test x$gcc_no_link = xyes; then
57544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57546 { (exit 1); exit 1; }; }
57548 cat >conftest.$ac_ext <<_ACEOF
57549 /* confdefs.h. */
57550 _ACEOF
57551 cat confdefs.h >>conftest.$ac_ext
57552 cat >>conftest.$ac_ext <<_ACEOF
57553 /* end confdefs.h. */
57554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57556 #define $ac_func innocuous_$ac_func
57558 /* System header to define __stub macros and hopefully few prototypes,
57559 which can conflict with char $ac_func (); below.
57560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57561 <limits.h> exists even on freestanding compilers. */
57563 #ifdef __STDC__
57564 # include <limits.h>
57565 #else
57566 # include <assert.h>
57567 #endif
57569 #undef $ac_func
57571 /* Override any gcc2 internal prototype to avoid an error. */
57572 #ifdef __cplusplus
57573 extern "C"
57575 #endif
57576 /* We use char because int might match the return type of a gcc2
57577 builtin and then its argument prototype would still apply. */
57578 char $ac_func ();
57579 /* The GNU C library defines this for functions which it implements
57580 to always fail with ENOSYS. Some functions are actually named
57581 something starting with __ and the normal name is an alias. */
57582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57583 choke me
57584 #else
57585 char (*f) () = $ac_func;
57586 #endif
57587 #ifdef __cplusplus
57589 #endif
57592 main ()
57594 return f != $ac_func;
57596 return 0;
57598 _ACEOF
57599 rm -f conftest.$ac_objext conftest$ac_exeext
57600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57601 (eval $ac_link) 2>conftest.er1
57602 ac_status=$?
57603 grep -v '^ *+' conftest.er1 >conftest.err
57604 rm -f conftest.er1
57605 cat conftest.err >&5
57606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57607 (exit $ac_status); } &&
57608 { ac_try='test -z "$ac_c_werror_flag"
57609 || test ! -s conftest.err'
57610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57611 (eval $ac_try) 2>&5
57612 ac_status=$?
57613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57614 (exit $ac_status); }; } &&
57615 { ac_try='test -s conftest$ac_exeext'
57616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57617 (eval $ac_try) 2>&5
57618 ac_status=$?
57619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57620 (exit $ac_status); }; }; then
57621 eval "$as_ac_var=yes"
57622 else
57623 echo "$as_me: failed program was:" >&5
57624 sed 's/^/| /' conftest.$ac_ext >&5
57626 eval "$as_ac_var=no"
57628 rm -f conftest.err conftest.$ac_objext \
57629 conftest$ac_exeext conftest.$ac_ext
57631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57633 if test `eval echo '${'$as_ac_var'}'` = yes; then
57634 cat >>confdefs.h <<_ACEOF
57635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57636 _ACEOF
57639 done
57642 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
57643 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
57644 if test x"$has_weof" = xyes &&
57645 test x"$has_wchar_minmax" = xyes &&
57646 test x"$ac_wfuncs" = xyes;
57647 then
57648 ac_isoC99_wchar_t=yes
57649 else
57650 ac_isoC99_wchar_t=no
57652 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
57653 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
57655 # Use iconv for wchar_t to char conversions. As such, check for
57656 # X/Open Portability Guide, version 2 features (XPG2).
57657 if test "${ac_cv_header_iconv_h+set}" = set; then
57658 echo "$as_me:$LINENO: checking for iconv.h" >&5
57659 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
57660 if test "${ac_cv_header_iconv_h+set}" = set; then
57661 echo $ECHO_N "(cached) $ECHO_C" >&6
57663 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
57664 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
57665 else
57666 # Is the header compilable?
57667 echo "$as_me:$LINENO: checking iconv.h usability" >&5
57668 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
57669 cat >conftest.$ac_ext <<_ACEOF
57670 /* confdefs.h. */
57671 _ACEOF
57672 cat confdefs.h >>conftest.$ac_ext
57673 cat >>conftest.$ac_ext <<_ACEOF
57674 /* end confdefs.h. */
57675 $ac_includes_default
57676 #include <iconv.h>
57677 _ACEOF
57678 rm -f conftest.$ac_objext
57679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57680 (eval $ac_compile) 2>conftest.er1
57681 ac_status=$?
57682 grep -v '^ *+' conftest.er1 >conftest.err
57683 rm -f conftest.er1
57684 cat conftest.err >&5
57685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57686 (exit $ac_status); } &&
57687 { ac_try='test -z "$ac_c_werror_flag"
57688 || test ! -s conftest.err'
57689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57690 (eval $ac_try) 2>&5
57691 ac_status=$?
57692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57693 (exit $ac_status); }; } &&
57694 { ac_try='test -s conftest.$ac_objext'
57695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57696 (eval $ac_try) 2>&5
57697 ac_status=$?
57698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57699 (exit $ac_status); }; }; then
57700 ac_header_compiler=yes
57701 else
57702 echo "$as_me: failed program was:" >&5
57703 sed 's/^/| /' conftest.$ac_ext >&5
57705 ac_header_compiler=no
57707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57708 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
57709 echo "${ECHO_T}$ac_header_compiler" >&6
57711 # Is the header present?
57712 echo "$as_me:$LINENO: checking iconv.h presence" >&5
57713 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
57714 cat >conftest.$ac_ext <<_ACEOF
57715 /* confdefs.h. */
57716 _ACEOF
57717 cat confdefs.h >>conftest.$ac_ext
57718 cat >>conftest.$ac_ext <<_ACEOF
57719 /* end confdefs.h. */
57720 #include <iconv.h>
57721 _ACEOF
57722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
57723 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
57724 ac_status=$?
57725 grep -v '^ *+' conftest.er1 >conftest.err
57726 rm -f conftest.er1
57727 cat conftest.err >&5
57728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57729 (exit $ac_status); } >/dev/null; then
57730 if test -s conftest.err; then
57731 ac_cpp_err=$ac_c_preproc_warn_flag
57732 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
57733 else
57734 ac_cpp_err=
57736 else
57737 ac_cpp_err=yes
57739 if test -z "$ac_cpp_err"; then
57740 ac_header_preproc=yes
57741 else
57742 echo "$as_me: failed program was:" >&5
57743 sed 's/^/| /' conftest.$ac_ext >&5
57745 ac_header_preproc=no
57747 rm -f conftest.err conftest.$ac_ext
57748 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
57749 echo "${ECHO_T}$ac_header_preproc" >&6
57751 # So? What about this header?
57752 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
57753 yes:no: )
57754 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
57755 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
57756 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
57757 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
57758 ac_header_preproc=yes
57760 no:yes:* )
57761 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
57762 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
57763 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
57764 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
57765 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
57766 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
57767 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
57768 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
57769 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
57770 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
57771 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
57772 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
57774 cat <<\_ASBOX
57775 ## ----------------------------------------- ##
57776 ## Report this to the package-unused lists. ##
57777 ## ----------------------------------------- ##
57778 _ASBOX
57780 sed "s/^/$as_me: WARNING: /" >&2
57782 esac
57783 echo "$as_me:$LINENO: checking for iconv.h" >&5
57784 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
57785 if test "${ac_cv_header_iconv_h+set}" = set; then
57786 echo $ECHO_N "(cached) $ECHO_C" >&6
57787 else
57788 ac_cv_header_iconv_h=$ac_header_preproc
57790 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
57791 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
57794 if test $ac_cv_header_iconv_h = yes; then
57795 ac_has_iconv_h=yes
57796 else
57797 ac_has_iconv_h=no
57801 if test "${ac_cv_header_langinfo_h+set}" = set; then
57802 echo "$as_me:$LINENO: checking for langinfo.h" >&5
57803 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
57804 if test "${ac_cv_header_langinfo_h+set}" = set; then
57805 echo $ECHO_N "(cached) $ECHO_C" >&6
57807 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
57808 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
57809 else
57810 # Is the header compilable?
57811 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
57812 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
57813 cat >conftest.$ac_ext <<_ACEOF
57814 /* confdefs.h. */
57815 _ACEOF
57816 cat confdefs.h >>conftest.$ac_ext
57817 cat >>conftest.$ac_ext <<_ACEOF
57818 /* end confdefs.h. */
57819 $ac_includes_default
57820 #include <langinfo.h>
57821 _ACEOF
57822 rm -f conftest.$ac_objext
57823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57824 (eval $ac_compile) 2>conftest.er1
57825 ac_status=$?
57826 grep -v '^ *+' conftest.er1 >conftest.err
57827 rm -f conftest.er1
57828 cat conftest.err >&5
57829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57830 (exit $ac_status); } &&
57831 { ac_try='test -z "$ac_c_werror_flag"
57832 || test ! -s conftest.err'
57833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57834 (eval $ac_try) 2>&5
57835 ac_status=$?
57836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57837 (exit $ac_status); }; } &&
57838 { ac_try='test -s conftest.$ac_objext'
57839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57840 (eval $ac_try) 2>&5
57841 ac_status=$?
57842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57843 (exit $ac_status); }; }; then
57844 ac_header_compiler=yes
57845 else
57846 echo "$as_me: failed program was:" >&5
57847 sed 's/^/| /' conftest.$ac_ext >&5
57849 ac_header_compiler=no
57851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57852 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
57853 echo "${ECHO_T}$ac_header_compiler" >&6
57855 # Is the header present?
57856 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
57857 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
57858 cat >conftest.$ac_ext <<_ACEOF
57859 /* confdefs.h. */
57860 _ACEOF
57861 cat confdefs.h >>conftest.$ac_ext
57862 cat >>conftest.$ac_ext <<_ACEOF
57863 /* end confdefs.h. */
57864 #include <langinfo.h>
57865 _ACEOF
57866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
57867 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
57868 ac_status=$?
57869 grep -v '^ *+' conftest.er1 >conftest.err
57870 rm -f conftest.er1
57871 cat conftest.err >&5
57872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57873 (exit $ac_status); } >/dev/null; then
57874 if test -s conftest.err; then
57875 ac_cpp_err=$ac_c_preproc_warn_flag
57876 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
57877 else
57878 ac_cpp_err=
57880 else
57881 ac_cpp_err=yes
57883 if test -z "$ac_cpp_err"; then
57884 ac_header_preproc=yes
57885 else
57886 echo "$as_me: failed program was:" >&5
57887 sed 's/^/| /' conftest.$ac_ext >&5
57889 ac_header_preproc=no
57891 rm -f conftest.err conftest.$ac_ext
57892 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
57893 echo "${ECHO_T}$ac_header_preproc" >&6
57895 # So? What about this header?
57896 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
57897 yes:no: )
57898 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
57899 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
57900 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
57901 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
57902 ac_header_preproc=yes
57904 no:yes:* )
57905 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
57906 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
57907 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
57908 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
57909 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
57910 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
57911 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
57912 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
57913 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
57914 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
57915 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
57916 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
57918 cat <<\_ASBOX
57919 ## ----------------------------------------- ##
57920 ## Report this to the package-unused lists. ##
57921 ## ----------------------------------------- ##
57922 _ASBOX
57924 sed "s/^/$as_me: WARNING: /" >&2
57926 esac
57927 echo "$as_me:$LINENO: checking for langinfo.h" >&5
57928 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
57929 if test "${ac_cv_header_langinfo_h+set}" = set; then
57930 echo $ECHO_N "(cached) $ECHO_C" >&6
57931 else
57932 ac_cv_header_langinfo_h=$ac_header_preproc
57934 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
57935 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
57938 if test $ac_cv_header_langinfo_h = yes; then
57939 ac_has_langinfo_h=yes
57940 else
57941 ac_has_langinfo_h=no
57946 # Check for existence of libiconv.a providing XPG2 wchar_t support.
57947 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
57948 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
57949 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
57950 echo $ECHO_N "(cached) $ECHO_C" >&6
57951 else
57952 ac_check_lib_save_LIBS=$LIBS
57953 LIBS="-liconv $LIBS"
57954 if test x$gcc_no_link = xyes; then
57955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57957 { (exit 1); exit 1; }; }
57959 cat >conftest.$ac_ext <<_ACEOF
57960 /* confdefs.h. */
57961 _ACEOF
57962 cat confdefs.h >>conftest.$ac_ext
57963 cat >>conftest.$ac_ext <<_ACEOF
57964 /* end confdefs.h. */
57966 /* Override any gcc2 internal prototype to avoid an error. */
57967 #ifdef __cplusplus
57968 extern "C"
57969 #endif
57970 /* We use char because int might match the return type of a gcc2
57971 builtin and then its argument prototype would still apply. */
57972 char iconv ();
57974 main ()
57976 iconv ();
57978 return 0;
57980 _ACEOF
57981 rm -f conftest.$ac_objext conftest$ac_exeext
57982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57983 (eval $ac_link) 2>conftest.er1
57984 ac_status=$?
57985 grep -v '^ *+' conftest.er1 >conftest.err
57986 rm -f conftest.er1
57987 cat conftest.err >&5
57988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57989 (exit $ac_status); } &&
57990 { ac_try='test -z "$ac_c_werror_flag"
57991 || test ! -s conftest.err'
57992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57993 (eval $ac_try) 2>&5
57994 ac_status=$?
57995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57996 (exit $ac_status); }; } &&
57997 { ac_try='test -s conftest$ac_exeext'
57998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57999 (eval $ac_try) 2>&5
58000 ac_status=$?
58001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58002 (exit $ac_status); }; }; then
58003 ac_cv_lib_iconv_iconv=yes
58004 else
58005 echo "$as_me: failed program was:" >&5
58006 sed 's/^/| /' conftest.$ac_ext >&5
58008 ac_cv_lib_iconv_iconv=no
58010 rm -f conftest.err conftest.$ac_objext \
58011 conftest$ac_exeext conftest.$ac_ext
58012 LIBS=$ac_check_lib_save_LIBS
58014 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
58015 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
58016 if test $ac_cv_lib_iconv_iconv = yes; then
58017 LIBICONV="-liconv"
58020 ac_save_LIBS="$LIBS"
58021 LIBS="$LIBS $LIBICONV"
58028 for ac_func in iconv_open iconv_close iconv nl_langinfo
58030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58031 echo "$as_me:$LINENO: checking for $ac_func" >&5
58032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58033 if eval "test \"\${$as_ac_var+set}\" = set"; then
58034 echo $ECHO_N "(cached) $ECHO_C" >&6
58035 else
58036 if test x$gcc_no_link = xyes; then
58037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58039 { (exit 1); exit 1; }; }
58041 cat >conftest.$ac_ext <<_ACEOF
58042 /* confdefs.h. */
58043 _ACEOF
58044 cat confdefs.h >>conftest.$ac_ext
58045 cat >>conftest.$ac_ext <<_ACEOF
58046 /* end confdefs.h. */
58047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58049 #define $ac_func innocuous_$ac_func
58051 /* System header to define __stub macros and hopefully few prototypes,
58052 which can conflict with char $ac_func (); below.
58053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58054 <limits.h> exists even on freestanding compilers. */
58056 #ifdef __STDC__
58057 # include <limits.h>
58058 #else
58059 # include <assert.h>
58060 #endif
58062 #undef $ac_func
58064 /* Override any gcc2 internal prototype to avoid an error. */
58065 #ifdef __cplusplus
58066 extern "C"
58068 #endif
58069 /* We use char because int might match the return type of a gcc2
58070 builtin and then its argument prototype would still apply. */
58071 char $ac_func ();
58072 /* The GNU C library defines this for functions which it implements
58073 to always fail with ENOSYS. Some functions are actually named
58074 something starting with __ and the normal name is an alias. */
58075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58076 choke me
58077 #else
58078 char (*f) () = $ac_func;
58079 #endif
58080 #ifdef __cplusplus
58082 #endif
58085 main ()
58087 return f != $ac_func;
58089 return 0;
58091 _ACEOF
58092 rm -f conftest.$ac_objext conftest$ac_exeext
58093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58094 (eval $ac_link) 2>conftest.er1
58095 ac_status=$?
58096 grep -v '^ *+' conftest.er1 >conftest.err
58097 rm -f conftest.er1
58098 cat conftest.err >&5
58099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58100 (exit $ac_status); } &&
58101 { ac_try='test -z "$ac_c_werror_flag"
58102 || test ! -s conftest.err'
58103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58104 (eval $ac_try) 2>&5
58105 ac_status=$?
58106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58107 (exit $ac_status); }; } &&
58108 { ac_try='test -s conftest$ac_exeext'
58109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58110 (eval $ac_try) 2>&5
58111 ac_status=$?
58112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58113 (exit $ac_status); }; }; then
58114 eval "$as_ac_var=yes"
58115 else
58116 echo "$as_me: failed program was:" >&5
58117 sed 's/^/| /' conftest.$ac_ext >&5
58119 eval "$as_ac_var=no"
58121 rm -f conftest.err conftest.$ac_objext \
58122 conftest$ac_exeext conftest.$ac_ext
58124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58126 if test `eval echo '${'$as_ac_var'}'` = yes; then
58127 cat >>confdefs.h <<_ACEOF
58128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58129 _ACEOF
58130 ac_XPG2funcs=yes
58131 else
58132 ac_XPG2funcs=no
58134 done
58137 LIBS="$ac_save_LIBS"
58139 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
58140 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
58141 if test x"$ac_has_iconv_h" = xyes &&
58142 test x"$ac_has_langinfo_h" = xyes &&
58143 test x"$ac_XPG2funcs" = xyes;
58144 then
58145 ac_XPG2_wchar_t=yes
58146 else
58147 ac_XPG2_wchar_t=no
58149 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
58150 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
58152 # At the moment, only enable wchar_t specializations if all the
58153 # above support is present.
58154 if test x"$ac_isoC99_wchar_t" = xyes &&
58155 test x"$ac_XPG2_wchar_t" = xyes;
58156 then
58157 cat >>confdefs.h <<\_ACEOF
58158 #define _GLIBCXX_USE_WCHAR_T 1
58159 _ACEOF
58161 enable_wchar_t=yes
58164 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
58165 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
58166 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
58167 echo "${ECHO_T}$enable_wchar_t" >&6
58169 cat >>confdefs.h <<\_ACEOF
58170 #define HAVE_COPYSIGN 1
58171 _ACEOF
58173 cat >>confdefs.h <<\_ACEOF
58174 #define HAVE_COPYSIGNF 1
58175 _ACEOF
58177 cat >>confdefs.h <<\_ACEOF
58178 #define HAVE_FREXPF 1
58179 _ACEOF
58181 cat >>confdefs.h <<\_ACEOF
58182 #define HAVE_HYPOT 1
58183 _ACEOF
58185 case "$target" in
58186 *-hpux10*)
58187 cat >>confdefs.h <<\_ACEOF
58188 #define HAVE_FINITE 1
58189 _ACEOF
58191 cat >>confdefs.h <<\_ACEOF
58192 #define HAVE_FINITEF 1
58193 _ACEOF
58195 cat >>confdefs.h <<\_ACEOF
58196 #define HAVE_ISINF 1
58197 _ACEOF
58199 cat >>confdefs.h <<\_ACEOF
58200 #define HAVE_ISINFF 1
58201 _ACEOF
58203 cat >>confdefs.h <<\_ACEOF
58204 #define HAVE_ISNAN 1
58205 _ACEOF
58207 cat >>confdefs.h <<\_ACEOF
58208 #define HAVE_ISNANF 1
58209 _ACEOF
58212 esac
58214 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
58227 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
58228 machine/endian.h machine/param.h sys/machine.h sys/types.h \
58229 fp.h locale.h float.h inttypes.h
58231 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
58232 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58233 echo "$as_me:$LINENO: checking for $ac_header" >&5
58234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
58235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58236 echo $ECHO_N "(cached) $ECHO_C" >&6
58238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
58239 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
58240 else
58241 # Is the header compilable?
58242 echo "$as_me:$LINENO: checking $ac_header usability" >&5
58243 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
58244 cat >conftest.$ac_ext <<_ACEOF
58245 /* confdefs.h. */
58246 _ACEOF
58247 cat confdefs.h >>conftest.$ac_ext
58248 cat >>conftest.$ac_ext <<_ACEOF
58249 /* end confdefs.h. */
58250 $ac_includes_default
58251 #include <$ac_header>
58252 _ACEOF
58253 rm -f conftest.$ac_objext
58254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58255 (eval $ac_compile) 2>conftest.er1
58256 ac_status=$?
58257 grep -v '^ *+' conftest.er1 >conftest.err
58258 rm -f conftest.er1
58259 cat conftest.err >&5
58260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58261 (exit $ac_status); } &&
58262 { ac_try='test -z "$ac_c_werror_flag"
58263 || test ! -s conftest.err'
58264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58265 (eval $ac_try) 2>&5
58266 ac_status=$?
58267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58268 (exit $ac_status); }; } &&
58269 { ac_try='test -s conftest.$ac_objext'
58270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58271 (eval $ac_try) 2>&5
58272 ac_status=$?
58273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58274 (exit $ac_status); }; }; then
58275 ac_header_compiler=yes
58276 else
58277 echo "$as_me: failed program was:" >&5
58278 sed 's/^/| /' conftest.$ac_ext >&5
58280 ac_header_compiler=no
58282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58283 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
58284 echo "${ECHO_T}$ac_header_compiler" >&6
58286 # Is the header present?
58287 echo "$as_me:$LINENO: checking $ac_header presence" >&5
58288 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
58289 cat >conftest.$ac_ext <<_ACEOF
58290 /* confdefs.h. */
58291 _ACEOF
58292 cat confdefs.h >>conftest.$ac_ext
58293 cat >>conftest.$ac_ext <<_ACEOF
58294 /* end confdefs.h. */
58295 #include <$ac_header>
58296 _ACEOF
58297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
58298 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
58299 ac_status=$?
58300 grep -v '^ *+' conftest.er1 >conftest.err
58301 rm -f conftest.er1
58302 cat conftest.err >&5
58303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58304 (exit $ac_status); } >/dev/null; then
58305 if test -s conftest.err; then
58306 ac_cpp_err=$ac_c_preproc_warn_flag
58307 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
58308 else
58309 ac_cpp_err=
58311 else
58312 ac_cpp_err=yes
58314 if test -z "$ac_cpp_err"; then
58315 ac_header_preproc=yes
58316 else
58317 echo "$as_me: failed program was:" >&5
58318 sed 's/^/| /' conftest.$ac_ext >&5
58320 ac_header_preproc=no
58322 rm -f conftest.err conftest.$ac_ext
58323 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
58324 echo "${ECHO_T}$ac_header_preproc" >&6
58326 # So? What about this header?
58327 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
58328 yes:no: )
58329 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
58330 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
58331 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
58332 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
58333 ac_header_preproc=yes
58335 no:yes:* )
58336 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
58337 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
58338 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
58339 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
58340 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
58341 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
58342 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
58343 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
58344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
58345 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
58346 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
58347 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
58349 cat <<\_ASBOX
58350 ## ----------------------------------------- ##
58351 ## Report this to the package-unused lists. ##
58352 ## ----------------------------------------- ##
58353 _ASBOX
58355 sed "s/^/$as_me: WARNING: /" >&2
58357 esac
58358 echo "$as_me:$LINENO: checking for $ac_header" >&5
58359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
58360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58361 echo $ECHO_N "(cached) $ECHO_C" >&6
58362 else
58363 eval "$as_ac_Header=\$ac_header_preproc"
58365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
58366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
58369 if test `eval echo '${'$as_ac_Header'}'` = yes; then
58370 cat >>confdefs.h <<_ACEOF
58371 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
58372 _ACEOF
58376 done
58378 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58381 # If we're not using GNU ld, then there's no point in even trying these
58382 # tests. Check for that first. We should have already tested for gld
58383 # by now (in libtool), but require it now just to be safe...
58384 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58385 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58389 # The name set by libtool depends on the version of libtool. Shame on us
58390 # for depending on an impl detail, but c'est la vie. Older versions used
58391 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58392 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58393 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58394 # set (hence we're using an older libtool), then set it.
58395 if test x${with_gnu_ld+set} != xset; then
58396 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58397 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58398 with_gnu_ld=no
58399 else
58400 with_gnu_ld=$ac_cv_prog_gnu_ld
58404 # Start by getting the version number. I think the libtool test already
58405 # does some of this, but throws away the result.
58407 ldver=`$LD --version 2>/dev/null | head -1 | \
58408 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
58410 glibcxx_gnu_ld_version=`echo $ldver | \
58411 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58413 # Set --gc-sections.
58414 if test "$with_gnu_ld" = "notbroken"; then
58415 # GNU ld it is! Joy and bunny rabbits!
58417 # All these tests are for C++; save the language and the compiler flags.
58418 # Need to do this so that g++ won't try to link in libstdc++
58419 ac_test_CFLAGS="${CFLAGS+set}"
58420 ac_save_CFLAGS="$CFLAGS"
58421 CFLAGS='-x c++ -Wl,--gc-sections'
58423 # Check for -Wl,--gc-sections
58424 # XXX This test is broken at the moment, as symbols required for linking
58425 # are now in libsupc++ (not built yet). In addition, this test has
58426 # cored on solaris in the past. In addition, --gc-sections doesn't
58427 # really work at the moment (keeps on discarding used sections, first
58428 # .eh_frame and now some of the glibc sections for iconv).
58429 # Bzzzzt. Thanks for playing, maybe next time.
58430 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
58431 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
58432 if test "$cross_compiling" = yes; then
58433 ac_sectionLDflags=yes
58434 else
58435 cat >conftest.$ac_ext <<_ACEOF
58436 /* confdefs.h. */
58437 _ACEOF
58438 cat confdefs.h >>conftest.$ac_ext
58439 cat >>conftest.$ac_ext <<_ACEOF
58440 /* end confdefs.h. */
58442 int main(void)
58444 try { throw 1; }
58445 catch (...) { };
58446 return 0;
58449 _ACEOF
58450 rm -f conftest$ac_exeext
58451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58452 (eval $ac_link) 2>&5
58453 ac_status=$?
58454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58455 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
58456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58457 (eval $ac_try) 2>&5
58458 ac_status=$?
58459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58460 (exit $ac_status); }; }; then
58461 ac_sectionLDflags=yes
58462 else
58463 echo "$as_me: program exited with status $ac_status" >&5
58464 echo "$as_me: failed program was:" >&5
58465 sed 's/^/| /' conftest.$ac_ext >&5
58467 ( exit $ac_status )
58468 ac_sectionLDflags=no
58470 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
58472 if test "$ac_test_CFLAGS" = set; then
58473 CFLAGS="$ac_save_CFLAGS"
58474 else
58475 # this is the suspicious part
58476 CFLAGS=''
58478 if test "$ac_sectionLDflags" = "yes"; then
58479 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58481 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
58482 echo "${ECHO_T}$ac_sectionLDflags" >&6
58485 # Set linker optimization flags.
58486 if test x"$with_gnu_ld" = x"yes"; then
58487 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58495 echo "$as_me:$LINENO: checking for main in -lm" >&5
58496 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
58497 if test "${ac_cv_lib_m_main+set}" = set; then
58498 echo $ECHO_N "(cached) $ECHO_C" >&6
58499 else
58500 ac_check_lib_save_LIBS=$LIBS
58501 LIBS="-lm $LIBS"
58502 if test x$gcc_no_link = xyes; then
58503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58505 { (exit 1); exit 1; }; }
58507 cat >conftest.$ac_ext <<_ACEOF
58508 /* confdefs.h. */
58509 _ACEOF
58510 cat confdefs.h >>conftest.$ac_ext
58511 cat >>conftest.$ac_ext <<_ACEOF
58512 /* end confdefs.h. */
58516 main ()
58518 main ();
58520 return 0;
58522 _ACEOF
58523 rm -f conftest.$ac_objext conftest$ac_exeext
58524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58525 (eval $ac_link) 2>conftest.er1
58526 ac_status=$?
58527 grep -v '^ *+' conftest.er1 >conftest.err
58528 rm -f conftest.er1
58529 cat conftest.err >&5
58530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58531 (exit $ac_status); } &&
58532 { ac_try='test -z "$ac_c_werror_flag"
58533 || test ! -s conftest.err'
58534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58535 (eval $ac_try) 2>&5
58536 ac_status=$?
58537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58538 (exit $ac_status); }; } &&
58539 { ac_try='test -s conftest$ac_exeext'
58540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58541 (eval $ac_try) 2>&5
58542 ac_status=$?
58543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58544 (exit $ac_status); }; }; then
58545 ac_cv_lib_m_main=yes
58546 else
58547 echo "$as_me: failed program was:" >&5
58548 sed 's/^/| /' conftest.$ac_ext >&5
58550 ac_cv_lib_m_main=no
58552 rm -f conftest.err conftest.$ac_objext \
58553 conftest$ac_exeext conftest.$ac_ext
58554 LIBS=$ac_check_lib_save_LIBS
58556 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
58557 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
58558 if test $ac_cv_lib_m_main = yes; then
58559 cat >>confdefs.h <<_ACEOF
58560 #define HAVE_LIBM 1
58561 _ACEOF
58563 LIBS="-lm $LIBS"
58568 for ac_func in copysignf
58570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58571 echo "$as_me:$LINENO: checking for $ac_func" >&5
58572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58573 if eval "test \"\${$as_ac_var+set}\" = set"; then
58574 echo $ECHO_N "(cached) $ECHO_C" >&6
58575 else
58576 if test x$gcc_no_link = xyes; then
58577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58579 { (exit 1); exit 1; }; }
58581 cat >conftest.$ac_ext <<_ACEOF
58582 /* confdefs.h. */
58583 _ACEOF
58584 cat confdefs.h >>conftest.$ac_ext
58585 cat >>conftest.$ac_ext <<_ACEOF
58586 /* end confdefs.h. */
58587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58589 #define $ac_func innocuous_$ac_func
58591 /* System header to define __stub macros and hopefully few prototypes,
58592 which can conflict with char $ac_func (); below.
58593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58594 <limits.h> exists even on freestanding compilers. */
58596 #ifdef __STDC__
58597 # include <limits.h>
58598 #else
58599 # include <assert.h>
58600 #endif
58602 #undef $ac_func
58604 /* Override any gcc2 internal prototype to avoid an error. */
58605 #ifdef __cplusplus
58606 extern "C"
58608 #endif
58609 /* We use char because int might match the return type of a gcc2
58610 builtin and then its argument prototype would still apply. */
58611 char $ac_func ();
58612 /* The GNU C library defines this for functions which it implements
58613 to always fail with ENOSYS. Some functions are actually named
58614 something starting with __ and the normal name is an alias. */
58615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58616 choke me
58617 #else
58618 char (*f) () = $ac_func;
58619 #endif
58620 #ifdef __cplusplus
58622 #endif
58625 main ()
58627 return f != $ac_func;
58629 return 0;
58631 _ACEOF
58632 rm -f conftest.$ac_objext conftest$ac_exeext
58633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58634 (eval $ac_link) 2>conftest.er1
58635 ac_status=$?
58636 grep -v '^ *+' conftest.er1 >conftest.err
58637 rm -f conftest.er1
58638 cat conftest.err >&5
58639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58640 (exit $ac_status); } &&
58641 { ac_try='test -z "$ac_c_werror_flag"
58642 || test ! -s conftest.err'
58643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58644 (eval $ac_try) 2>&5
58645 ac_status=$?
58646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58647 (exit $ac_status); }; } &&
58648 { ac_try='test -s conftest$ac_exeext'
58649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58650 (eval $ac_try) 2>&5
58651 ac_status=$?
58652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58653 (exit $ac_status); }; }; then
58654 eval "$as_ac_var=yes"
58655 else
58656 echo "$as_me: failed program was:" >&5
58657 sed 's/^/| /' conftest.$ac_ext >&5
58659 eval "$as_ac_var=no"
58661 rm -f conftest.err conftest.$ac_objext \
58662 conftest$ac_exeext conftest.$ac_ext
58664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58666 if test `eval echo '${'$as_ac_var'}'` = yes; then
58667 cat >>confdefs.h <<_ACEOF
58668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58669 _ACEOF
58671 else
58672 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
58674 done
58678 for ac_func in __signbit
58680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58681 echo "$as_me:$LINENO: checking for $ac_func" >&5
58682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58683 if eval "test \"\${$as_ac_var+set}\" = set"; then
58684 echo $ECHO_N "(cached) $ECHO_C" >&6
58685 else
58686 if test x$gcc_no_link = xyes; then
58687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58689 { (exit 1); exit 1; }; }
58691 cat >conftest.$ac_ext <<_ACEOF
58692 /* confdefs.h. */
58693 _ACEOF
58694 cat confdefs.h >>conftest.$ac_ext
58695 cat >>conftest.$ac_ext <<_ACEOF
58696 /* end confdefs.h. */
58697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58699 #define $ac_func innocuous_$ac_func
58701 /* System header to define __stub macros and hopefully few prototypes,
58702 which can conflict with char $ac_func (); below.
58703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58704 <limits.h> exists even on freestanding compilers. */
58706 #ifdef __STDC__
58707 # include <limits.h>
58708 #else
58709 # include <assert.h>
58710 #endif
58712 #undef $ac_func
58714 /* Override any gcc2 internal prototype to avoid an error. */
58715 #ifdef __cplusplus
58716 extern "C"
58718 #endif
58719 /* We use char because int might match the return type of a gcc2
58720 builtin and then its argument prototype would still apply. */
58721 char $ac_func ();
58722 /* The GNU C library defines this for functions which it implements
58723 to always fail with ENOSYS. Some functions are actually named
58724 something starting with __ and the normal name is an alias. */
58725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58726 choke me
58727 #else
58728 char (*f) () = $ac_func;
58729 #endif
58730 #ifdef __cplusplus
58732 #endif
58735 main ()
58737 return f != $ac_func;
58739 return 0;
58741 _ACEOF
58742 rm -f conftest.$ac_objext conftest$ac_exeext
58743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58744 (eval $ac_link) 2>conftest.er1
58745 ac_status=$?
58746 grep -v '^ *+' conftest.er1 >conftest.err
58747 rm -f conftest.er1
58748 cat conftest.err >&5
58749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58750 (exit $ac_status); } &&
58751 { ac_try='test -z "$ac_c_werror_flag"
58752 || test ! -s conftest.err'
58753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58754 (eval $ac_try) 2>&5
58755 ac_status=$?
58756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58757 (exit $ac_status); }; } &&
58758 { ac_try='test -s conftest$ac_exeext'
58759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58760 (eval $ac_try) 2>&5
58761 ac_status=$?
58762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58763 (exit $ac_status); }; }; then
58764 eval "$as_ac_var=yes"
58765 else
58766 echo "$as_me: failed program was:" >&5
58767 sed 's/^/| /' conftest.$ac_ext >&5
58769 eval "$as_ac_var=no"
58771 rm -f conftest.err conftest.$ac_objext \
58772 conftest$ac_exeext conftest.$ac_ext
58774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58776 if test `eval echo '${'$as_ac_var'}'` = yes; then
58777 cat >>confdefs.h <<_ACEOF
58778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58779 _ACEOF
58781 else
58782 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
58784 done
58787 for ac_func in __signbitf
58789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58790 echo "$as_me:$LINENO: checking for $ac_func" >&5
58791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58792 if eval "test \"\${$as_ac_var+set}\" = set"; then
58793 echo $ECHO_N "(cached) $ECHO_C" >&6
58794 else
58795 if test x$gcc_no_link = xyes; then
58796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58798 { (exit 1); exit 1; }; }
58800 cat >conftest.$ac_ext <<_ACEOF
58801 /* confdefs.h. */
58802 _ACEOF
58803 cat confdefs.h >>conftest.$ac_ext
58804 cat >>conftest.$ac_ext <<_ACEOF
58805 /* end confdefs.h. */
58806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58808 #define $ac_func innocuous_$ac_func
58810 /* System header to define __stub macros and hopefully few prototypes,
58811 which can conflict with char $ac_func (); below.
58812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58813 <limits.h> exists even on freestanding compilers. */
58815 #ifdef __STDC__
58816 # include <limits.h>
58817 #else
58818 # include <assert.h>
58819 #endif
58821 #undef $ac_func
58823 /* Override any gcc2 internal prototype to avoid an error. */
58824 #ifdef __cplusplus
58825 extern "C"
58827 #endif
58828 /* We use char because int might match the return type of a gcc2
58829 builtin and then its argument prototype would still apply. */
58830 char $ac_func ();
58831 /* The GNU C library defines this for functions which it implements
58832 to always fail with ENOSYS. Some functions are actually named
58833 something starting with __ and the normal name is an alias. */
58834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58835 choke me
58836 #else
58837 char (*f) () = $ac_func;
58838 #endif
58839 #ifdef __cplusplus
58841 #endif
58844 main ()
58846 return f != $ac_func;
58848 return 0;
58850 _ACEOF
58851 rm -f conftest.$ac_objext conftest$ac_exeext
58852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58853 (eval $ac_link) 2>conftest.er1
58854 ac_status=$?
58855 grep -v '^ *+' conftest.er1 >conftest.err
58856 rm -f conftest.er1
58857 cat conftest.err >&5
58858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58859 (exit $ac_status); } &&
58860 { ac_try='test -z "$ac_c_werror_flag"
58861 || test ! -s conftest.err'
58862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58863 (eval $ac_try) 2>&5
58864 ac_status=$?
58865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58866 (exit $ac_status); }; } &&
58867 { ac_try='test -s conftest$ac_exeext'
58868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58869 (eval $ac_try) 2>&5
58870 ac_status=$?
58871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58872 (exit $ac_status); }; }; then
58873 eval "$as_ac_var=yes"
58874 else
58875 echo "$as_me: failed program was:" >&5
58876 sed 's/^/| /' conftest.$ac_ext >&5
58878 eval "$as_ac_var=no"
58880 rm -f conftest.err conftest.$ac_objext \
58881 conftest$ac_exeext conftest.$ac_ext
58883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58885 if test `eval echo '${'$as_ac_var'}'` = yes; then
58886 cat >>confdefs.h <<_ACEOF
58887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58888 _ACEOF
58890 else
58891 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
58893 done
58896 if test x$ac_cv_func_copysignl = x"yes"; then
58898 for ac_func in __signbitl
58900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58901 echo "$as_me:$LINENO: checking for $ac_func" >&5
58902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58903 if eval "test \"\${$as_ac_var+set}\" = set"; then
58904 echo $ECHO_N "(cached) $ECHO_C" >&6
58905 else
58906 if test x$gcc_no_link = xyes; then
58907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58909 { (exit 1); exit 1; }; }
58911 cat >conftest.$ac_ext <<_ACEOF
58912 /* confdefs.h. */
58913 _ACEOF
58914 cat confdefs.h >>conftest.$ac_ext
58915 cat >>conftest.$ac_ext <<_ACEOF
58916 /* end confdefs.h. */
58917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58919 #define $ac_func innocuous_$ac_func
58921 /* System header to define __stub macros and hopefully few prototypes,
58922 which can conflict with char $ac_func (); below.
58923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58924 <limits.h> exists even on freestanding compilers. */
58926 #ifdef __STDC__
58927 # include <limits.h>
58928 #else
58929 # include <assert.h>
58930 #endif
58932 #undef $ac_func
58934 /* Override any gcc2 internal prototype to avoid an error. */
58935 #ifdef __cplusplus
58936 extern "C"
58938 #endif
58939 /* We use char because int might match the return type of a gcc2
58940 builtin and then its argument prototype would still apply. */
58941 char $ac_func ();
58942 /* The GNU C library defines this for functions which it implements
58943 to always fail with ENOSYS. Some functions are actually named
58944 something starting with __ and the normal name is an alias. */
58945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58946 choke me
58947 #else
58948 char (*f) () = $ac_func;
58949 #endif
58950 #ifdef __cplusplus
58952 #endif
58955 main ()
58957 return f != $ac_func;
58959 return 0;
58961 _ACEOF
58962 rm -f conftest.$ac_objext conftest$ac_exeext
58963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58964 (eval $ac_link) 2>conftest.er1
58965 ac_status=$?
58966 grep -v '^ *+' conftest.er1 >conftest.err
58967 rm -f conftest.er1
58968 cat conftest.err >&5
58969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58970 (exit $ac_status); } &&
58971 { ac_try='test -z "$ac_c_werror_flag"
58972 || test ! -s conftest.err'
58973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58974 (eval $ac_try) 2>&5
58975 ac_status=$?
58976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58977 (exit $ac_status); }; } &&
58978 { ac_try='test -s conftest$ac_exeext'
58979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58980 (eval $ac_try) 2>&5
58981 ac_status=$?
58982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58983 (exit $ac_status); }; }; then
58984 eval "$as_ac_var=yes"
58985 else
58986 echo "$as_me: failed program was:" >&5
58987 sed 's/^/| /' conftest.$ac_ext >&5
58989 eval "$as_ac_var=no"
58991 rm -f conftest.err conftest.$ac_objext \
58992 conftest$ac_exeext conftest.$ac_ext
58994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58996 if test `eval echo '${'$as_ac_var'}'` = yes; then
58997 cat >>confdefs.h <<_ACEOF
58998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58999 _ACEOF
59001 else
59002 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
59004 done
59008 # XXX Review this. Nothing uses it.
59009 if test -n "$LIBMATHOBJS"; then
59010 need_libmath=yes
59015 # Test wchar.h for mbstate_t, which is needed for char_traits and
59016 # others even if wchar_t support is not on.
59017 echo "$as_me:$LINENO: checking for mbstate_t" >&5
59018 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
59019 cat >conftest.$ac_ext <<_ACEOF
59020 /* confdefs.h. */
59021 _ACEOF
59022 cat confdefs.h >>conftest.$ac_ext
59023 cat >>conftest.$ac_ext <<_ACEOF
59024 /* end confdefs.h. */
59025 #include <wchar.h>
59027 main ()
59029 mbstate_t teststate;
59031 return 0;
59033 _ACEOF
59034 rm -f conftest.$ac_objext
59035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59036 (eval $ac_compile) 2>conftest.er1
59037 ac_status=$?
59038 grep -v '^ *+' conftest.er1 >conftest.err
59039 rm -f conftest.er1
59040 cat conftest.err >&5
59041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59042 (exit $ac_status); } &&
59043 { ac_try='test -z "$ac_c_werror_flag"
59044 || test ! -s conftest.err'
59045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59046 (eval $ac_try) 2>&5
59047 ac_status=$?
59048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59049 (exit $ac_status); }; } &&
59050 { ac_try='test -s conftest.$ac_objext'
59051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59052 (eval $ac_try) 2>&5
59053 ac_status=$?
59054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59055 (exit $ac_status); }; }; then
59056 have_mbstate_t=yes
59057 else
59058 echo "$as_me: failed program was:" >&5
59059 sed 's/^/| /' conftest.$ac_ext >&5
59061 have_mbstate_t=no
59063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59064 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
59065 echo "${ECHO_T}$have_mbstate_t" >&6
59066 if test x"$have_mbstate_t" = xyes; then
59067 cat >>confdefs.h <<\_ACEOF
59068 #define HAVE_MBSTATE_T 1
59069 _ACEOF
59073 # Sanity check for existence of ISO C99 headers for extended encoding.
59075 for ac_header in wchar.h
59077 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
59078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59079 echo "$as_me:$LINENO: checking for $ac_header" >&5
59080 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59082 echo $ECHO_N "(cached) $ECHO_C" >&6
59084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59085 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59086 else
59087 # Is the header compilable?
59088 echo "$as_me:$LINENO: checking $ac_header usability" >&5
59089 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
59090 cat >conftest.$ac_ext <<_ACEOF
59091 /* confdefs.h. */
59092 _ACEOF
59093 cat confdefs.h >>conftest.$ac_ext
59094 cat >>conftest.$ac_ext <<_ACEOF
59095 /* end confdefs.h. */
59096 $ac_includes_default
59097 #include <$ac_header>
59098 _ACEOF
59099 rm -f conftest.$ac_objext
59100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59101 (eval $ac_compile) 2>conftest.er1
59102 ac_status=$?
59103 grep -v '^ *+' conftest.er1 >conftest.err
59104 rm -f conftest.er1
59105 cat conftest.err >&5
59106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59107 (exit $ac_status); } &&
59108 { ac_try='test -z "$ac_c_werror_flag"
59109 || test ! -s conftest.err'
59110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59111 (eval $ac_try) 2>&5
59112 ac_status=$?
59113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59114 (exit $ac_status); }; } &&
59115 { ac_try='test -s conftest.$ac_objext'
59116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59117 (eval $ac_try) 2>&5
59118 ac_status=$?
59119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59120 (exit $ac_status); }; }; then
59121 ac_header_compiler=yes
59122 else
59123 echo "$as_me: failed program was:" >&5
59124 sed 's/^/| /' conftest.$ac_ext >&5
59126 ac_header_compiler=no
59128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59129 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
59130 echo "${ECHO_T}$ac_header_compiler" >&6
59132 # Is the header present?
59133 echo "$as_me:$LINENO: checking $ac_header presence" >&5
59134 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
59135 cat >conftest.$ac_ext <<_ACEOF
59136 /* confdefs.h. */
59137 _ACEOF
59138 cat confdefs.h >>conftest.$ac_ext
59139 cat >>conftest.$ac_ext <<_ACEOF
59140 /* end confdefs.h. */
59141 #include <$ac_header>
59142 _ACEOF
59143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
59144 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
59145 ac_status=$?
59146 grep -v '^ *+' conftest.er1 >conftest.err
59147 rm -f conftest.er1
59148 cat conftest.err >&5
59149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59150 (exit $ac_status); } >/dev/null; then
59151 if test -s conftest.err; then
59152 ac_cpp_err=$ac_c_preproc_warn_flag
59153 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
59154 else
59155 ac_cpp_err=
59157 else
59158 ac_cpp_err=yes
59160 if test -z "$ac_cpp_err"; then
59161 ac_header_preproc=yes
59162 else
59163 echo "$as_me: failed program was:" >&5
59164 sed 's/^/| /' conftest.$ac_ext >&5
59166 ac_header_preproc=no
59168 rm -f conftest.err conftest.$ac_ext
59169 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
59170 echo "${ECHO_T}$ac_header_preproc" >&6
59172 # So? What about this header?
59173 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
59174 yes:no: )
59175 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
59176 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
59177 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
59178 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
59179 ac_header_preproc=yes
59181 no:yes:* )
59182 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
59183 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
59184 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
59185 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
59186 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
59187 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
59188 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
59189 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
59190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
59191 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
59192 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
59193 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
59195 cat <<\_ASBOX
59196 ## ----------------------------------------- ##
59197 ## Report this to the package-unused lists. ##
59198 ## ----------------------------------------- ##
59199 _ASBOX
59201 sed "s/^/$as_me: WARNING: /" >&2
59203 esac
59204 echo "$as_me:$LINENO: checking for $ac_header" >&5
59205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59207 echo $ECHO_N "(cached) $ECHO_C" >&6
59208 else
59209 eval "$as_ac_Header=\$ac_header_preproc"
59211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59215 if test `eval echo '${'$as_ac_Header'}'` = yes; then
59216 cat >>confdefs.h <<_ACEOF
59217 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
59218 _ACEOF
59219 ac_has_wchar_h=yes
59220 else
59221 ac_has_wchar_h=no
59224 done
59227 for ac_header in wctype.h
59229 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
59230 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59231 echo "$as_me:$LINENO: checking for $ac_header" >&5
59232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59234 echo $ECHO_N "(cached) $ECHO_C" >&6
59236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59237 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59238 else
59239 # Is the header compilable?
59240 echo "$as_me:$LINENO: checking $ac_header usability" >&5
59241 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
59242 cat >conftest.$ac_ext <<_ACEOF
59243 /* confdefs.h. */
59244 _ACEOF
59245 cat confdefs.h >>conftest.$ac_ext
59246 cat >>conftest.$ac_ext <<_ACEOF
59247 /* end confdefs.h. */
59248 $ac_includes_default
59249 #include <$ac_header>
59250 _ACEOF
59251 rm -f conftest.$ac_objext
59252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59253 (eval $ac_compile) 2>conftest.er1
59254 ac_status=$?
59255 grep -v '^ *+' conftest.er1 >conftest.err
59256 rm -f conftest.er1
59257 cat conftest.err >&5
59258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59259 (exit $ac_status); } &&
59260 { ac_try='test -z "$ac_c_werror_flag"
59261 || test ! -s conftest.err'
59262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59263 (eval $ac_try) 2>&5
59264 ac_status=$?
59265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59266 (exit $ac_status); }; } &&
59267 { ac_try='test -s conftest.$ac_objext'
59268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59269 (eval $ac_try) 2>&5
59270 ac_status=$?
59271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59272 (exit $ac_status); }; }; then
59273 ac_header_compiler=yes
59274 else
59275 echo "$as_me: failed program was:" >&5
59276 sed 's/^/| /' conftest.$ac_ext >&5
59278 ac_header_compiler=no
59280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59281 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
59282 echo "${ECHO_T}$ac_header_compiler" >&6
59284 # Is the header present?
59285 echo "$as_me:$LINENO: checking $ac_header presence" >&5
59286 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
59287 cat >conftest.$ac_ext <<_ACEOF
59288 /* confdefs.h. */
59289 _ACEOF
59290 cat confdefs.h >>conftest.$ac_ext
59291 cat >>conftest.$ac_ext <<_ACEOF
59292 /* end confdefs.h. */
59293 #include <$ac_header>
59294 _ACEOF
59295 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
59296 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
59297 ac_status=$?
59298 grep -v '^ *+' conftest.er1 >conftest.err
59299 rm -f conftest.er1
59300 cat conftest.err >&5
59301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59302 (exit $ac_status); } >/dev/null; then
59303 if test -s conftest.err; then
59304 ac_cpp_err=$ac_c_preproc_warn_flag
59305 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
59306 else
59307 ac_cpp_err=
59309 else
59310 ac_cpp_err=yes
59312 if test -z "$ac_cpp_err"; then
59313 ac_header_preproc=yes
59314 else
59315 echo "$as_me: failed program was:" >&5
59316 sed 's/^/| /' conftest.$ac_ext >&5
59318 ac_header_preproc=no
59320 rm -f conftest.err conftest.$ac_ext
59321 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
59322 echo "${ECHO_T}$ac_header_preproc" >&6
59324 # So? What about this header?
59325 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
59326 yes:no: )
59327 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
59328 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
59329 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
59330 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
59331 ac_header_preproc=yes
59333 no:yes:* )
59334 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
59335 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
59336 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
59337 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
59338 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
59339 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
59340 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
59341 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
59342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
59343 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
59344 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
59345 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
59347 cat <<\_ASBOX
59348 ## ----------------------------------------- ##
59349 ## Report this to the package-unused lists. ##
59350 ## ----------------------------------------- ##
59351 _ASBOX
59353 sed "s/^/$as_me: WARNING: /" >&2
59355 esac
59356 echo "$as_me:$LINENO: checking for $ac_header" >&5
59357 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59359 echo $ECHO_N "(cached) $ECHO_C" >&6
59360 else
59361 eval "$as_ac_Header=\$ac_header_preproc"
59363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59364 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59367 if test `eval echo '${'$as_ac_Header'}'` = yes; then
59368 cat >>confdefs.h <<_ACEOF
59369 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
59370 _ACEOF
59371 ac_has_wctype_h=yes
59372 else
59373 ac_has_wctype_h=no
59376 done
59379 # Only continue checking if the ISO C99 headers exist and support is on.
59380 if test x"$ac_has_wchar_h" = xyes &&
59381 test x"$ac_has_wctype_h" = xyes &&
59382 test x"$enable_c_mbchar" != xno; then
59384 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
59385 # numeric_limits can instantiate type_traits<wchar_t>
59386 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
59387 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
59388 cat >conftest.$ac_ext <<_ACEOF
59389 /* confdefs.h. */
59390 _ACEOF
59391 cat confdefs.h >>conftest.$ac_ext
59392 cat >>conftest.$ac_ext <<_ACEOF
59393 /* end confdefs.h. */
59394 #include <wchar.h>
59396 main ()
59398 int i = WCHAR_MIN; int j = WCHAR_MAX;
59400 return 0;
59402 _ACEOF
59403 rm -f conftest.$ac_objext
59404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59405 (eval $ac_compile) 2>conftest.er1
59406 ac_status=$?
59407 grep -v '^ *+' conftest.er1 >conftest.err
59408 rm -f conftest.er1
59409 cat conftest.err >&5
59410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59411 (exit $ac_status); } &&
59412 { ac_try='test -z "$ac_c_werror_flag"
59413 || test ! -s conftest.err'
59414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59415 (eval $ac_try) 2>&5
59416 ac_status=$?
59417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59418 (exit $ac_status); }; } &&
59419 { ac_try='test -s conftest.$ac_objext'
59420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59421 (eval $ac_try) 2>&5
59422 ac_status=$?
59423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59424 (exit $ac_status); }; }; then
59425 has_wchar_minmax=yes
59426 else
59427 echo "$as_me: failed program was:" >&5
59428 sed 's/^/| /' conftest.$ac_ext >&5
59430 has_wchar_minmax=no
59432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59433 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
59434 echo "${ECHO_T}$has_wchar_minmax" >&6
59436 # Test wchar.h for WEOF, which is what we use to determine whether
59437 # to specialize for char_traits<wchar_t> or not.
59438 echo "$as_me:$LINENO: checking for WEOF" >&5
59439 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
59440 cat >conftest.$ac_ext <<_ACEOF
59441 /* confdefs.h. */
59442 _ACEOF
59443 cat confdefs.h >>conftest.$ac_ext
59444 cat >>conftest.$ac_ext <<_ACEOF
59445 /* end confdefs.h. */
59447 #include <wchar.h>
59448 #include <stddef.h>
59450 main ()
59452 wint_t i = WEOF;
59454 return 0;
59456 _ACEOF
59457 rm -f conftest.$ac_objext
59458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59459 (eval $ac_compile) 2>conftest.er1
59460 ac_status=$?
59461 grep -v '^ *+' conftest.er1 >conftest.err
59462 rm -f conftest.er1
59463 cat conftest.err >&5
59464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59465 (exit $ac_status); } &&
59466 { ac_try='test -z "$ac_c_werror_flag"
59467 || test ! -s conftest.err'
59468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59469 (eval $ac_try) 2>&5
59470 ac_status=$?
59471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59472 (exit $ac_status); }; } &&
59473 { ac_try='test -s conftest.$ac_objext'
59474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59475 (eval $ac_try) 2>&5
59476 ac_status=$?
59477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59478 (exit $ac_status); }; }; then
59479 has_weof=yes
59480 else
59481 echo "$as_me: failed program was:" >&5
59482 sed 's/^/| /' conftest.$ac_ext >&5
59484 has_weof=no
59486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59487 echo "$as_me:$LINENO: result: $has_weof" >&5
59488 echo "${ECHO_T}$has_weof" >&6
59490 # Tests for wide character functions used in char_traits<wchar_t>.
59491 ac_wfuncs=yes
59498 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
59500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59501 echo "$as_me:$LINENO: checking for $ac_func" >&5
59502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59503 if eval "test \"\${$as_ac_var+set}\" = set"; then
59504 echo $ECHO_N "(cached) $ECHO_C" >&6
59505 else
59506 if test x$gcc_no_link = xyes; then
59507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59509 { (exit 1); exit 1; }; }
59511 cat >conftest.$ac_ext <<_ACEOF
59512 /* confdefs.h. */
59513 _ACEOF
59514 cat confdefs.h >>conftest.$ac_ext
59515 cat >>conftest.$ac_ext <<_ACEOF
59516 /* end confdefs.h. */
59517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59519 #define $ac_func innocuous_$ac_func
59521 /* System header to define __stub macros and hopefully few prototypes,
59522 which can conflict with char $ac_func (); below.
59523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59524 <limits.h> exists even on freestanding compilers. */
59526 #ifdef __STDC__
59527 # include <limits.h>
59528 #else
59529 # include <assert.h>
59530 #endif
59532 #undef $ac_func
59534 /* Override any gcc2 internal prototype to avoid an error. */
59535 #ifdef __cplusplus
59536 extern "C"
59538 #endif
59539 /* We use char because int might match the return type of a gcc2
59540 builtin and then its argument prototype would still apply. */
59541 char $ac_func ();
59542 /* The GNU C library defines this for functions which it implements
59543 to always fail with ENOSYS. Some functions are actually named
59544 something starting with __ and the normal name is an alias. */
59545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59546 choke me
59547 #else
59548 char (*f) () = $ac_func;
59549 #endif
59550 #ifdef __cplusplus
59552 #endif
59555 main ()
59557 return f != $ac_func;
59559 return 0;
59561 _ACEOF
59562 rm -f conftest.$ac_objext conftest$ac_exeext
59563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59564 (eval $ac_link) 2>conftest.er1
59565 ac_status=$?
59566 grep -v '^ *+' conftest.er1 >conftest.err
59567 rm -f conftest.er1
59568 cat conftest.err >&5
59569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59570 (exit $ac_status); } &&
59571 { ac_try='test -z "$ac_c_werror_flag"
59572 || test ! -s conftest.err'
59573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59574 (eval $ac_try) 2>&5
59575 ac_status=$?
59576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59577 (exit $ac_status); }; } &&
59578 { ac_try='test -s conftest$ac_exeext'
59579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59580 (eval $ac_try) 2>&5
59581 ac_status=$?
59582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59583 (exit $ac_status); }; }; then
59584 eval "$as_ac_var=yes"
59585 else
59586 echo "$as_me: failed program was:" >&5
59587 sed 's/^/| /' conftest.$ac_ext >&5
59589 eval "$as_ac_var=no"
59591 rm -f conftest.err conftest.$ac_objext \
59592 conftest$ac_exeext conftest.$ac_ext
59594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59596 if test `eval echo '${'$as_ac_var'}'` = yes; then
59597 cat >>confdefs.h <<_ACEOF
59598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59599 _ACEOF
59601 else
59602 ac_wfuncs=no
59604 done
59607 # Checks for names injected into std:: by the c_std headers.
59654 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
59655 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
59656 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
59657 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
59658 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
59659 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
59661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59662 echo "$as_me:$LINENO: checking for $ac_func" >&5
59663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59664 if eval "test \"\${$as_ac_var+set}\" = set"; then
59665 echo $ECHO_N "(cached) $ECHO_C" >&6
59666 else
59667 if test x$gcc_no_link = xyes; then
59668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59670 { (exit 1); exit 1; }; }
59672 cat >conftest.$ac_ext <<_ACEOF
59673 /* confdefs.h. */
59674 _ACEOF
59675 cat confdefs.h >>conftest.$ac_ext
59676 cat >>conftest.$ac_ext <<_ACEOF
59677 /* end confdefs.h. */
59678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59680 #define $ac_func innocuous_$ac_func
59682 /* System header to define __stub macros and hopefully few prototypes,
59683 which can conflict with char $ac_func (); below.
59684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59685 <limits.h> exists even on freestanding compilers. */
59687 #ifdef __STDC__
59688 # include <limits.h>
59689 #else
59690 # include <assert.h>
59691 #endif
59693 #undef $ac_func
59695 /* Override any gcc2 internal prototype to avoid an error. */
59696 #ifdef __cplusplus
59697 extern "C"
59699 #endif
59700 /* We use char because int might match the return type of a gcc2
59701 builtin and then its argument prototype would still apply. */
59702 char $ac_func ();
59703 /* The GNU C library defines this for functions which it implements
59704 to always fail with ENOSYS. Some functions are actually named
59705 something starting with __ and the normal name is an alias. */
59706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59707 choke me
59708 #else
59709 char (*f) () = $ac_func;
59710 #endif
59711 #ifdef __cplusplus
59713 #endif
59716 main ()
59718 return f != $ac_func;
59720 return 0;
59722 _ACEOF
59723 rm -f conftest.$ac_objext conftest$ac_exeext
59724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59725 (eval $ac_link) 2>conftest.er1
59726 ac_status=$?
59727 grep -v '^ *+' conftest.er1 >conftest.err
59728 rm -f conftest.er1
59729 cat conftest.err >&5
59730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59731 (exit $ac_status); } &&
59732 { ac_try='test -z "$ac_c_werror_flag"
59733 || test ! -s conftest.err'
59734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59735 (eval $ac_try) 2>&5
59736 ac_status=$?
59737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59738 (exit $ac_status); }; } &&
59739 { ac_try='test -s conftest$ac_exeext'
59740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59741 (eval $ac_try) 2>&5
59742 ac_status=$?
59743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59744 (exit $ac_status); }; }; then
59745 eval "$as_ac_var=yes"
59746 else
59747 echo "$as_me: failed program was:" >&5
59748 sed 's/^/| /' conftest.$ac_ext >&5
59750 eval "$as_ac_var=no"
59752 rm -f conftest.err conftest.$ac_objext \
59753 conftest$ac_exeext conftest.$ac_ext
59755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59757 if test `eval echo '${'$as_ac_var'}'` = yes; then
59758 cat >>confdefs.h <<_ACEOF
59759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59760 _ACEOF
59762 else
59763 ac_wfuncs=no
59765 done
59768 # Checks for wide character functions that are not required
59769 # for basic wchar_t support. Don't disable support if they are missing.
59770 # Injection of these is wrapped with guard macros.
59776 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
59778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59779 echo "$as_me:$LINENO: checking for $ac_func" >&5
59780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59781 if eval "test \"\${$as_ac_var+set}\" = set"; then
59782 echo $ECHO_N "(cached) $ECHO_C" >&6
59783 else
59784 if test x$gcc_no_link = xyes; then
59785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59787 { (exit 1); exit 1; }; }
59789 cat >conftest.$ac_ext <<_ACEOF
59790 /* confdefs.h. */
59791 _ACEOF
59792 cat confdefs.h >>conftest.$ac_ext
59793 cat >>conftest.$ac_ext <<_ACEOF
59794 /* end confdefs.h. */
59795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59797 #define $ac_func innocuous_$ac_func
59799 /* System header to define __stub macros and hopefully few prototypes,
59800 which can conflict with char $ac_func (); below.
59801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59802 <limits.h> exists even on freestanding compilers. */
59804 #ifdef __STDC__
59805 # include <limits.h>
59806 #else
59807 # include <assert.h>
59808 #endif
59810 #undef $ac_func
59812 /* Override any gcc2 internal prototype to avoid an error. */
59813 #ifdef __cplusplus
59814 extern "C"
59816 #endif
59817 /* We use char because int might match the return type of a gcc2
59818 builtin and then its argument prototype would still apply. */
59819 char $ac_func ();
59820 /* The GNU C library defines this for functions which it implements
59821 to always fail with ENOSYS. Some functions are actually named
59822 something starting with __ and the normal name is an alias. */
59823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59824 choke me
59825 #else
59826 char (*f) () = $ac_func;
59827 #endif
59828 #ifdef __cplusplus
59830 #endif
59833 main ()
59835 return f != $ac_func;
59837 return 0;
59839 _ACEOF
59840 rm -f conftest.$ac_objext conftest$ac_exeext
59841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59842 (eval $ac_link) 2>conftest.er1
59843 ac_status=$?
59844 grep -v '^ *+' conftest.er1 >conftest.err
59845 rm -f conftest.er1
59846 cat conftest.err >&5
59847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59848 (exit $ac_status); } &&
59849 { ac_try='test -z "$ac_c_werror_flag"
59850 || test ! -s conftest.err'
59851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59852 (eval $ac_try) 2>&5
59853 ac_status=$?
59854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59855 (exit $ac_status); }; } &&
59856 { ac_try='test -s conftest$ac_exeext'
59857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59858 (eval $ac_try) 2>&5
59859 ac_status=$?
59860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59861 (exit $ac_status); }; }; then
59862 eval "$as_ac_var=yes"
59863 else
59864 echo "$as_me: failed program was:" >&5
59865 sed 's/^/| /' conftest.$ac_ext >&5
59867 eval "$as_ac_var=no"
59869 rm -f conftest.err conftest.$ac_objext \
59870 conftest$ac_exeext conftest.$ac_ext
59872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59874 if test `eval echo '${'$as_ac_var'}'` = yes; then
59875 cat >>confdefs.h <<_ACEOF
59876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59877 _ACEOF
59880 done
59883 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
59884 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
59885 if test x"$has_weof" = xyes &&
59886 test x"$has_wchar_minmax" = xyes &&
59887 test x"$ac_wfuncs" = xyes;
59888 then
59889 ac_isoC99_wchar_t=yes
59890 else
59891 ac_isoC99_wchar_t=no
59893 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
59894 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
59896 # Use iconv for wchar_t to char conversions. As such, check for
59897 # X/Open Portability Guide, version 2 features (XPG2).
59898 if test "${ac_cv_header_iconv_h+set}" = set; then
59899 echo "$as_me:$LINENO: checking for iconv.h" >&5
59900 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
59901 if test "${ac_cv_header_iconv_h+set}" = set; then
59902 echo $ECHO_N "(cached) $ECHO_C" >&6
59904 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
59905 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
59906 else
59907 # Is the header compilable?
59908 echo "$as_me:$LINENO: checking iconv.h usability" >&5
59909 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
59910 cat >conftest.$ac_ext <<_ACEOF
59911 /* confdefs.h. */
59912 _ACEOF
59913 cat confdefs.h >>conftest.$ac_ext
59914 cat >>conftest.$ac_ext <<_ACEOF
59915 /* end confdefs.h. */
59916 $ac_includes_default
59917 #include <iconv.h>
59918 _ACEOF
59919 rm -f conftest.$ac_objext
59920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59921 (eval $ac_compile) 2>conftest.er1
59922 ac_status=$?
59923 grep -v '^ *+' conftest.er1 >conftest.err
59924 rm -f conftest.er1
59925 cat conftest.err >&5
59926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59927 (exit $ac_status); } &&
59928 { ac_try='test -z "$ac_c_werror_flag"
59929 || test ! -s conftest.err'
59930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59931 (eval $ac_try) 2>&5
59932 ac_status=$?
59933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59934 (exit $ac_status); }; } &&
59935 { ac_try='test -s conftest.$ac_objext'
59936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59937 (eval $ac_try) 2>&5
59938 ac_status=$?
59939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59940 (exit $ac_status); }; }; then
59941 ac_header_compiler=yes
59942 else
59943 echo "$as_me: failed program was:" >&5
59944 sed 's/^/| /' conftest.$ac_ext >&5
59946 ac_header_compiler=no
59948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59949 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
59950 echo "${ECHO_T}$ac_header_compiler" >&6
59952 # Is the header present?
59953 echo "$as_me:$LINENO: checking iconv.h presence" >&5
59954 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
59955 cat >conftest.$ac_ext <<_ACEOF
59956 /* confdefs.h. */
59957 _ACEOF
59958 cat confdefs.h >>conftest.$ac_ext
59959 cat >>conftest.$ac_ext <<_ACEOF
59960 /* end confdefs.h. */
59961 #include <iconv.h>
59962 _ACEOF
59963 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
59964 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
59965 ac_status=$?
59966 grep -v '^ *+' conftest.er1 >conftest.err
59967 rm -f conftest.er1
59968 cat conftest.err >&5
59969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59970 (exit $ac_status); } >/dev/null; then
59971 if test -s conftest.err; then
59972 ac_cpp_err=$ac_c_preproc_warn_flag
59973 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
59974 else
59975 ac_cpp_err=
59977 else
59978 ac_cpp_err=yes
59980 if test -z "$ac_cpp_err"; then
59981 ac_header_preproc=yes
59982 else
59983 echo "$as_me: failed program was:" >&5
59984 sed 's/^/| /' conftest.$ac_ext >&5
59986 ac_header_preproc=no
59988 rm -f conftest.err conftest.$ac_ext
59989 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
59990 echo "${ECHO_T}$ac_header_preproc" >&6
59992 # So? What about this header?
59993 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
59994 yes:no: )
59995 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
59996 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
59997 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
59998 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
59999 ac_header_preproc=yes
60001 no:yes:* )
60002 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
60003 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
60004 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
60005 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
60006 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
60007 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
60008 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
60009 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
60010 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
60011 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
60012 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
60013 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
60015 cat <<\_ASBOX
60016 ## ----------------------------------------- ##
60017 ## Report this to the package-unused lists. ##
60018 ## ----------------------------------------- ##
60019 _ASBOX
60021 sed "s/^/$as_me: WARNING: /" >&2
60023 esac
60024 echo "$as_me:$LINENO: checking for iconv.h" >&5
60025 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
60026 if test "${ac_cv_header_iconv_h+set}" = set; then
60027 echo $ECHO_N "(cached) $ECHO_C" >&6
60028 else
60029 ac_cv_header_iconv_h=$ac_header_preproc
60031 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
60032 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
60035 if test $ac_cv_header_iconv_h = yes; then
60036 ac_has_iconv_h=yes
60037 else
60038 ac_has_iconv_h=no
60042 if test "${ac_cv_header_langinfo_h+set}" = set; then
60043 echo "$as_me:$LINENO: checking for langinfo.h" >&5
60044 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
60045 if test "${ac_cv_header_langinfo_h+set}" = set; then
60046 echo $ECHO_N "(cached) $ECHO_C" >&6
60048 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
60049 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
60050 else
60051 # Is the header compilable?
60052 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
60053 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
60054 cat >conftest.$ac_ext <<_ACEOF
60055 /* confdefs.h. */
60056 _ACEOF
60057 cat confdefs.h >>conftest.$ac_ext
60058 cat >>conftest.$ac_ext <<_ACEOF
60059 /* end confdefs.h. */
60060 $ac_includes_default
60061 #include <langinfo.h>
60062 _ACEOF
60063 rm -f conftest.$ac_objext
60064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60065 (eval $ac_compile) 2>conftest.er1
60066 ac_status=$?
60067 grep -v '^ *+' conftest.er1 >conftest.err
60068 rm -f conftest.er1
60069 cat conftest.err >&5
60070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60071 (exit $ac_status); } &&
60072 { ac_try='test -z "$ac_c_werror_flag"
60073 || test ! -s conftest.err'
60074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60075 (eval $ac_try) 2>&5
60076 ac_status=$?
60077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60078 (exit $ac_status); }; } &&
60079 { ac_try='test -s conftest.$ac_objext'
60080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60081 (eval $ac_try) 2>&5
60082 ac_status=$?
60083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60084 (exit $ac_status); }; }; then
60085 ac_header_compiler=yes
60086 else
60087 echo "$as_me: failed program was:" >&5
60088 sed 's/^/| /' conftest.$ac_ext >&5
60090 ac_header_compiler=no
60092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60093 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
60094 echo "${ECHO_T}$ac_header_compiler" >&6
60096 # Is the header present?
60097 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
60098 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
60099 cat >conftest.$ac_ext <<_ACEOF
60100 /* confdefs.h. */
60101 _ACEOF
60102 cat confdefs.h >>conftest.$ac_ext
60103 cat >>conftest.$ac_ext <<_ACEOF
60104 /* end confdefs.h. */
60105 #include <langinfo.h>
60106 _ACEOF
60107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
60108 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
60109 ac_status=$?
60110 grep -v '^ *+' conftest.er1 >conftest.err
60111 rm -f conftest.er1
60112 cat conftest.err >&5
60113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60114 (exit $ac_status); } >/dev/null; then
60115 if test -s conftest.err; then
60116 ac_cpp_err=$ac_c_preproc_warn_flag
60117 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
60118 else
60119 ac_cpp_err=
60121 else
60122 ac_cpp_err=yes
60124 if test -z "$ac_cpp_err"; then
60125 ac_header_preproc=yes
60126 else
60127 echo "$as_me: failed program was:" >&5
60128 sed 's/^/| /' conftest.$ac_ext >&5
60130 ac_header_preproc=no
60132 rm -f conftest.err conftest.$ac_ext
60133 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
60134 echo "${ECHO_T}$ac_header_preproc" >&6
60136 # So? What about this header?
60137 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
60138 yes:no: )
60139 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
60140 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
60141 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
60142 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
60143 ac_header_preproc=yes
60145 no:yes:* )
60146 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
60147 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
60148 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
60149 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
60150 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
60151 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
60152 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
60153 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
60154 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
60155 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
60156 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
60157 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
60159 cat <<\_ASBOX
60160 ## ----------------------------------------- ##
60161 ## Report this to the package-unused lists. ##
60162 ## ----------------------------------------- ##
60163 _ASBOX
60165 sed "s/^/$as_me: WARNING: /" >&2
60167 esac
60168 echo "$as_me:$LINENO: checking for langinfo.h" >&5
60169 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
60170 if test "${ac_cv_header_langinfo_h+set}" = set; then
60171 echo $ECHO_N "(cached) $ECHO_C" >&6
60172 else
60173 ac_cv_header_langinfo_h=$ac_header_preproc
60175 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
60176 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
60179 if test $ac_cv_header_langinfo_h = yes; then
60180 ac_has_langinfo_h=yes
60181 else
60182 ac_has_langinfo_h=no
60187 # Check for existence of libiconv.a providing XPG2 wchar_t support.
60188 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
60189 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
60190 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
60191 echo $ECHO_N "(cached) $ECHO_C" >&6
60192 else
60193 ac_check_lib_save_LIBS=$LIBS
60194 LIBS="-liconv $LIBS"
60195 if test x$gcc_no_link = xyes; then
60196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60198 { (exit 1); exit 1; }; }
60200 cat >conftest.$ac_ext <<_ACEOF
60201 /* confdefs.h. */
60202 _ACEOF
60203 cat confdefs.h >>conftest.$ac_ext
60204 cat >>conftest.$ac_ext <<_ACEOF
60205 /* end confdefs.h. */
60207 /* Override any gcc2 internal prototype to avoid an error. */
60208 #ifdef __cplusplus
60209 extern "C"
60210 #endif
60211 /* We use char because int might match the return type of a gcc2
60212 builtin and then its argument prototype would still apply. */
60213 char iconv ();
60215 main ()
60217 iconv ();
60219 return 0;
60221 _ACEOF
60222 rm -f conftest.$ac_objext conftest$ac_exeext
60223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60224 (eval $ac_link) 2>conftest.er1
60225 ac_status=$?
60226 grep -v '^ *+' conftest.er1 >conftest.err
60227 rm -f conftest.er1
60228 cat conftest.err >&5
60229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60230 (exit $ac_status); } &&
60231 { ac_try='test -z "$ac_c_werror_flag"
60232 || test ! -s conftest.err'
60233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60234 (eval $ac_try) 2>&5
60235 ac_status=$?
60236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60237 (exit $ac_status); }; } &&
60238 { ac_try='test -s conftest$ac_exeext'
60239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60240 (eval $ac_try) 2>&5
60241 ac_status=$?
60242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60243 (exit $ac_status); }; }; then
60244 ac_cv_lib_iconv_iconv=yes
60245 else
60246 echo "$as_me: failed program was:" >&5
60247 sed 's/^/| /' conftest.$ac_ext >&5
60249 ac_cv_lib_iconv_iconv=no
60251 rm -f conftest.err conftest.$ac_objext \
60252 conftest$ac_exeext conftest.$ac_ext
60253 LIBS=$ac_check_lib_save_LIBS
60255 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
60256 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
60257 if test $ac_cv_lib_iconv_iconv = yes; then
60258 LIBICONV="-liconv"
60261 ac_save_LIBS="$LIBS"
60262 LIBS="$LIBS $LIBICONV"
60269 for ac_func in iconv_open iconv_close iconv nl_langinfo
60271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60272 echo "$as_me:$LINENO: checking for $ac_func" >&5
60273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60274 if eval "test \"\${$as_ac_var+set}\" = set"; then
60275 echo $ECHO_N "(cached) $ECHO_C" >&6
60276 else
60277 if test x$gcc_no_link = xyes; then
60278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60280 { (exit 1); exit 1; }; }
60282 cat >conftest.$ac_ext <<_ACEOF
60283 /* confdefs.h. */
60284 _ACEOF
60285 cat confdefs.h >>conftest.$ac_ext
60286 cat >>conftest.$ac_ext <<_ACEOF
60287 /* end confdefs.h. */
60288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60290 #define $ac_func innocuous_$ac_func
60292 /* System header to define __stub macros and hopefully few prototypes,
60293 which can conflict with char $ac_func (); below.
60294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60295 <limits.h> exists even on freestanding compilers. */
60297 #ifdef __STDC__
60298 # include <limits.h>
60299 #else
60300 # include <assert.h>
60301 #endif
60303 #undef $ac_func
60305 /* Override any gcc2 internal prototype to avoid an error. */
60306 #ifdef __cplusplus
60307 extern "C"
60309 #endif
60310 /* We use char because int might match the return type of a gcc2
60311 builtin and then its argument prototype would still apply. */
60312 char $ac_func ();
60313 /* The GNU C library defines this for functions which it implements
60314 to always fail with ENOSYS. Some functions are actually named
60315 something starting with __ and the normal name is an alias. */
60316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60317 choke me
60318 #else
60319 char (*f) () = $ac_func;
60320 #endif
60321 #ifdef __cplusplus
60323 #endif
60326 main ()
60328 return f != $ac_func;
60330 return 0;
60332 _ACEOF
60333 rm -f conftest.$ac_objext conftest$ac_exeext
60334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60335 (eval $ac_link) 2>conftest.er1
60336 ac_status=$?
60337 grep -v '^ *+' conftest.er1 >conftest.err
60338 rm -f conftest.er1
60339 cat conftest.err >&5
60340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60341 (exit $ac_status); } &&
60342 { ac_try='test -z "$ac_c_werror_flag"
60343 || test ! -s conftest.err'
60344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60345 (eval $ac_try) 2>&5
60346 ac_status=$?
60347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60348 (exit $ac_status); }; } &&
60349 { ac_try='test -s conftest$ac_exeext'
60350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60351 (eval $ac_try) 2>&5
60352 ac_status=$?
60353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60354 (exit $ac_status); }; }; then
60355 eval "$as_ac_var=yes"
60356 else
60357 echo "$as_me: failed program was:" >&5
60358 sed 's/^/| /' conftest.$ac_ext >&5
60360 eval "$as_ac_var=no"
60362 rm -f conftest.err conftest.$ac_objext \
60363 conftest$ac_exeext conftest.$ac_ext
60365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60367 if test `eval echo '${'$as_ac_var'}'` = yes; then
60368 cat >>confdefs.h <<_ACEOF
60369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60370 _ACEOF
60371 ac_XPG2funcs=yes
60372 else
60373 ac_XPG2funcs=no
60375 done
60378 LIBS="$ac_save_LIBS"
60380 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
60381 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
60382 if test x"$ac_has_iconv_h" = xyes &&
60383 test x"$ac_has_langinfo_h" = xyes &&
60384 test x"$ac_XPG2funcs" = xyes;
60385 then
60386 ac_XPG2_wchar_t=yes
60387 else
60388 ac_XPG2_wchar_t=no
60390 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
60391 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
60393 # At the moment, only enable wchar_t specializations if all the
60394 # above support is present.
60395 if test x"$ac_isoC99_wchar_t" = xyes &&
60396 test x"$ac_XPG2_wchar_t" = xyes;
60397 then
60398 cat >>confdefs.h <<\_ACEOF
60399 #define _GLIBCXX_USE_WCHAR_T 1
60400 _ACEOF
60402 enable_wchar_t=yes
60405 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
60406 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
60407 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
60408 echo "${ECHO_T}$enable_wchar_t" >&6
60411 # For LFS.
60412 cat >>confdefs.h <<\_ACEOF
60413 #define HAVE_INT64_T 1
60414 _ACEOF
60416 case "$target" in
60417 *-uclinux*)
60418 # Don't enable LFS with uClibc
60421 cat >>confdefs.h <<\_ACEOF
60422 #define _GLIBCXX_USE_LFS 1
60423 _ACEOF
60425 esac
60427 # For showmanyc_helper().
60430 for ac_header in sys/ioctl.h sys/filio.h
60432 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
60433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
60434 echo "$as_me:$LINENO: checking for $ac_header" >&5
60435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
60436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
60437 echo $ECHO_N "(cached) $ECHO_C" >&6
60439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
60440 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
60441 else
60442 # Is the header compilable?
60443 echo "$as_me:$LINENO: checking $ac_header usability" >&5
60444 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
60445 cat >conftest.$ac_ext <<_ACEOF
60446 /* confdefs.h. */
60447 _ACEOF
60448 cat confdefs.h >>conftest.$ac_ext
60449 cat >>conftest.$ac_ext <<_ACEOF
60450 /* end confdefs.h. */
60451 $ac_includes_default
60452 #include <$ac_header>
60453 _ACEOF
60454 rm -f conftest.$ac_objext
60455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60456 (eval $ac_compile) 2>conftest.er1
60457 ac_status=$?
60458 grep -v '^ *+' conftest.er1 >conftest.err
60459 rm -f conftest.er1
60460 cat conftest.err >&5
60461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60462 (exit $ac_status); } &&
60463 { ac_try='test -z "$ac_c_werror_flag"
60464 || test ! -s conftest.err'
60465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60466 (eval $ac_try) 2>&5
60467 ac_status=$?
60468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60469 (exit $ac_status); }; } &&
60470 { ac_try='test -s conftest.$ac_objext'
60471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60472 (eval $ac_try) 2>&5
60473 ac_status=$?
60474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60475 (exit $ac_status); }; }; then
60476 ac_header_compiler=yes
60477 else
60478 echo "$as_me: failed program was:" >&5
60479 sed 's/^/| /' conftest.$ac_ext >&5
60481 ac_header_compiler=no
60483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60484 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
60485 echo "${ECHO_T}$ac_header_compiler" >&6
60487 # Is the header present?
60488 echo "$as_me:$LINENO: checking $ac_header presence" >&5
60489 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
60490 cat >conftest.$ac_ext <<_ACEOF
60491 /* confdefs.h. */
60492 _ACEOF
60493 cat confdefs.h >>conftest.$ac_ext
60494 cat >>conftest.$ac_ext <<_ACEOF
60495 /* end confdefs.h. */
60496 #include <$ac_header>
60497 _ACEOF
60498 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
60499 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
60500 ac_status=$?
60501 grep -v '^ *+' conftest.er1 >conftest.err
60502 rm -f conftest.er1
60503 cat conftest.err >&5
60504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60505 (exit $ac_status); } >/dev/null; then
60506 if test -s conftest.err; then
60507 ac_cpp_err=$ac_c_preproc_warn_flag
60508 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
60509 else
60510 ac_cpp_err=
60512 else
60513 ac_cpp_err=yes
60515 if test -z "$ac_cpp_err"; then
60516 ac_header_preproc=yes
60517 else
60518 echo "$as_me: failed program was:" >&5
60519 sed 's/^/| /' conftest.$ac_ext >&5
60521 ac_header_preproc=no
60523 rm -f conftest.err conftest.$ac_ext
60524 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
60525 echo "${ECHO_T}$ac_header_preproc" >&6
60527 # So? What about this header?
60528 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
60529 yes:no: )
60530 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
60531 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
60532 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
60533 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
60534 ac_header_preproc=yes
60536 no:yes:* )
60537 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
60538 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
60539 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
60540 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
60541 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
60542 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
60543 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
60544 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
60545 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
60546 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
60547 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
60548 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
60550 cat <<\_ASBOX
60551 ## ----------------------------------------- ##
60552 ## Report this to the package-unused lists. ##
60553 ## ----------------------------------------- ##
60554 _ASBOX
60556 sed "s/^/$as_me: WARNING: /" >&2
60558 esac
60559 echo "$as_me:$LINENO: checking for $ac_header" >&5
60560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
60561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
60562 echo $ECHO_N "(cached) $ECHO_C" >&6
60563 else
60564 eval "$as_ac_Header=\$ac_header_preproc"
60566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
60567 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
60570 if test `eval echo '${'$as_ac_Header'}'` = yes; then
60571 cat >>confdefs.h <<_ACEOF
60572 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
60573 _ACEOF
60577 done
60580 if test "${glibcxx_cv_POLL+set}" = set; then
60581 echo $ECHO_N "(cached) $ECHO_C" >&6
60582 else
60584 if test x$gcc_no_link = xyes; then
60585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60587 { (exit 1); exit 1; }; }
60589 cat >conftest.$ac_ext <<_ACEOF
60590 /* confdefs.h. */
60591 _ACEOF
60592 cat confdefs.h >>conftest.$ac_ext
60593 cat >>conftest.$ac_ext <<_ACEOF
60594 /* end confdefs.h. */
60595 #include <poll.h>
60597 main ()
60599 struct pollfd pfd[1];
60600 pfd[0].events = POLLIN;
60601 poll(pfd, 1, 0);
60603 return 0;
60605 _ACEOF
60606 rm -f conftest.$ac_objext conftest$ac_exeext
60607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60608 (eval $ac_link) 2>conftest.er1
60609 ac_status=$?
60610 grep -v '^ *+' conftest.er1 >conftest.err
60611 rm -f conftest.er1
60612 cat conftest.err >&5
60613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60614 (exit $ac_status); } &&
60615 { ac_try='test -z "$ac_c_werror_flag"
60616 || test ! -s conftest.err'
60617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60618 (eval $ac_try) 2>&5
60619 ac_status=$?
60620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60621 (exit $ac_status); }; } &&
60622 { ac_try='test -s conftest$ac_exeext'
60623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60624 (eval $ac_try) 2>&5
60625 ac_status=$?
60626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60627 (exit $ac_status); }; }; then
60628 glibcxx_cv_POLL=yes
60629 else
60630 echo "$as_me: failed program was:" >&5
60631 sed 's/^/| /' conftest.$ac_ext >&5
60633 glibcxx_cv_POLL=no
60635 rm -f conftest.err conftest.$ac_objext \
60636 conftest$ac_exeext conftest.$ac_ext
60640 if test $glibcxx_cv_POLL = yes; then
60641 cat >>confdefs.h <<\_ACEOF
60642 #define HAVE_POLL 1
60643 _ACEOF
60648 if test "${glibcxx_cv_S_ISREG+set}" = set; then
60649 echo $ECHO_N "(cached) $ECHO_C" >&6
60650 else
60652 if test x$gcc_no_link = xyes; then
60653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60655 { (exit 1); exit 1; }; }
60657 cat >conftest.$ac_ext <<_ACEOF
60658 /* confdefs.h. */
60659 _ACEOF
60660 cat confdefs.h >>conftest.$ac_ext
60661 cat >>conftest.$ac_ext <<_ACEOF
60662 /* end confdefs.h. */
60663 #include <sys/stat.h>
60665 main ()
60667 struct stat buffer;
60668 fstat(0, &buffer);
60669 S_ISREG(buffer.st_mode);
60671 return 0;
60673 _ACEOF
60674 rm -f conftest.$ac_objext conftest$ac_exeext
60675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60676 (eval $ac_link) 2>conftest.er1
60677 ac_status=$?
60678 grep -v '^ *+' conftest.er1 >conftest.err
60679 rm -f conftest.er1
60680 cat conftest.err >&5
60681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60682 (exit $ac_status); } &&
60683 { ac_try='test -z "$ac_c_werror_flag"
60684 || test ! -s conftest.err'
60685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60686 (eval $ac_try) 2>&5
60687 ac_status=$?
60688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60689 (exit $ac_status); }; } &&
60690 { ac_try='test -s conftest$ac_exeext'
60691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60692 (eval $ac_try) 2>&5
60693 ac_status=$?
60694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60695 (exit $ac_status); }; }; then
60696 glibcxx_cv_S_ISREG=yes
60697 else
60698 echo "$as_me: failed program was:" >&5
60699 sed 's/^/| /' conftest.$ac_ext >&5
60701 glibcxx_cv_S_ISREG=no
60703 rm -f conftest.err conftest.$ac_objext \
60704 conftest$ac_exeext conftest.$ac_ext
60708 if test "${glibcxx_cv_S_IFREG+set}" = set; then
60709 echo $ECHO_N "(cached) $ECHO_C" >&6
60710 else
60712 if test x$gcc_no_link = xyes; then
60713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60715 { (exit 1); exit 1; }; }
60717 cat >conftest.$ac_ext <<_ACEOF
60718 /* confdefs.h. */
60719 _ACEOF
60720 cat confdefs.h >>conftest.$ac_ext
60721 cat >>conftest.$ac_ext <<_ACEOF
60722 /* end confdefs.h. */
60723 #include <sys/stat.h>
60725 main ()
60727 struct stat buffer;
60728 fstat(0, &buffer);
60729 S_IFREG & buffer.st_mode;
60731 return 0;
60733 _ACEOF
60734 rm -f conftest.$ac_objext conftest$ac_exeext
60735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60736 (eval $ac_link) 2>conftest.er1
60737 ac_status=$?
60738 grep -v '^ *+' conftest.er1 >conftest.err
60739 rm -f conftest.er1
60740 cat conftest.err >&5
60741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60742 (exit $ac_status); } &&
60743 { ac_try='test -z "$ac_c_werror_flag"
60744 || test ! -s conftest.err'
60745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60746 (eval $ac_try) 2>&5
60747 ac_status=$?
60748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60749 (exit $ac_status); }; } &&
60750 { ac_try='test -s conftest$ac_exeext'
60751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60752 (eval $ac_try) 2>&5
60753 ac_status=$?
60754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60755 (exit $ac_status); }; }; then
60756 glibcxx_cv_S_IFREG=yes
60757 else
60758 echo "$as_me: failed program was:" >&5
60759 sed 's/^/| /' conftest.$ac_ext >&5
60761 glibcxx_cv_S_IFREG=no
60763 rm -f conftest.err conftest.$ac_objext \
60764 conftest$ac_exeext conftest.$ac_ext
60768 if test $glibcxx_cv_S_ISREG = yes; then
60769 cat >>confdefs.h <<\_ACEOF
60770 #define HAVE_S_ISREG 1
60771 _ACEOF
60773 elif test $glibcxx_cv_S_IFREG = yes; then
60774 cat >>confdefs.h <<\_ACEOF
60775 #define HAVE_S_IFREG 1
60776 _ACEOF
60781 # For xsputn_2().
60783 for ac_header in sys/uio.h
60785 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
60786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
60787 echo "$as_me:$LINENO: checking for $ac_header" >&5
60788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
60789 if eval "test \"\${$as_ac_Header+set}\" = set"; then
60790 echo $ECHO_N "(cached) $ECHO_C" >&6
60792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
60793 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
60794 else
60795 # Is the header compilable?
60796 echo "$as_me:$LINENO: checking $ac_header usability" >&5
60797 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
60798 cat >conftest.$ac_ext <<_ACEOF
60799 /* confdefs.h. */
60800 _ACEOF
60801 cat confdefs.h >>conftest.$ac_ext
60802 cat >>conftest.$ac_ext <<_ACEOF
60803 /* end confdefs.h. */
60804 $ac_includes_default
60805 #include <$ac_header>
60806 _ACEOF
60807 rm -f conftest.$ac_objext
60808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60809 (eval $ac_compile) 2>conftest.er1
60810 ac_status=$?
60811 grep -v '^ *+' conftest.er1 >conftest.err
60812 rm -f conftest.er1
60813 cat conftest.err >&5
60814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60815 (exit $ac_status); } &&
60816 { ac_try='test -z "$ac_c_werror_flag"
60817 || test ! -s conftest.err'
60818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60819 (eval $ac_try) 2>&5
60820 ac_status=$?
60821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60822 (exit $ac_status); }; } &&
60823 { ac_try='test -s conftest.$ac_objext'
60824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60825 (eval $ac_try) 2>&5
60826 ac_status=$?
60827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60828 (exit $ac_status); }; }; then
60829 ac_header_compiler=yes
60830 else
60831 echo "$as_me: failed program was:" >&5
60832 sed 's/^/| /' conftest.$ac_ext >&5
60834 ac_header_compiler=no
60836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60837 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
60838 echo "${ECHO_T}$ac_header_compiler" >&6
60840 # Is the header present?
60841 echo "$as_me:$LINENO: checking $ac_header presence" >&5
60842 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
60843 cat >conftest.$ac_ext <<_ACEOF
60844 /* confdefs.h. */
60845 _ACEOF
60846 cat confdefs.h >>conftest.$ac_ext
60847 cat >>conftest.$ac_ext <<_ACEOF
60848 /* end confdefs.h. */
60849 #include <$ac_header>
60850 _ACEOF
60851 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
60852 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
60853 ac_status=$?
60854 grep -v '^ *+' conftest.er1 >conftest.err
60855 rm -f conftest.er1
60856 cat conftest.err >&5
60857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60858 (exit $ac_status); } >/dev/null; then
60859 if test -s conftest.err; then
60860 ac_cpp_err=$ac_c_preproc_warn_flag
60861 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
60862 else
60863 ac_cpp_err=
60865 else
60866 ac_cpp_err=yes
60868 if test -z "$ac_cpp_err"; then
60869 ac_header_preproc=yes
60870 else
60871 echo "$as_me: failed program was:" >&5
60872 sed 's/^/| /' conftest.$ac_ext >&5
60874 ac_header_preproc=no
60876 rm -f conftest.err conftest.$ac_ext
60877 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
60878 echo "${ECHO_T}$ac_header_preproc" >&6
60880 # So? What about this header?
60881 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
60882 yes:no: )
60883 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
60884 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
60885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
60886 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
60887 ac_header_preproc=yes
60889 no:yes:* )
60890 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
60891 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
60892 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
60893 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
60894 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
60895 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
60896 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
60897 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
60898 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
60899 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
60900 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
60901 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
60903 cat <<\_ASBOX
60904 ## ----------------------------------------- ##
60905 ## Report this to the package-unused lists. ##
60906 ## ----------------------------------------- ##
60907 _ASBOX
60909 sed "s/^/$as_me: WARNING: /" >&2
60911 esac
60912 echo "$as_me:$LINENO: checking for $ac_header" >&5
60913 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
60914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
60915 echo $ECHO_N "(cached) $ECHO_C" >&6
60916 else
60917 eval "$as_ac_Header=\$ac_header_preproc"
60919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
60920 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
60923 if test `eval echo '${'$as_ac_Header'}'` = yes; then
60924 cat >>confdefs.h <<_ACEOF
60925 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
60926 _ACEOF
60930 done
60933 if test "${glibcxx_cv_WRITEV+set}" = set; then
60934 echo $ECHO_N "(cached) $ECHO_C" >&6
60935 else
60937 if test x$gcc_no_link = xyes; then
60938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60940 { (exit 1); exit 1; }; }
60942 cat >conftest.$ac_ext <<_ACEOF
60943 /* confdefs.h. */
60944 _ACEOF
60945 cat confdefs.h >>conftest.$ac_ext
60946 cat >>conftest.$ac_ext <<_ACEOF
60947 /* end confdefs.h. */
60948 #include <sys/uio.h>
60950 main ()
60952 struct iovec iov[2];
60953 writev(0, iov, 0);
60955 return 0;
60957 _ACEOF
60958 rm -f conftest.$ac_objext conftest$ac_exeext
60959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60960 (eval $ac_link) 2>conftest.er1
60961 ac_status=$?
60962 grep -v '^ *+' conftest.er1 >conftest.err
60963 rm -f conftest.er1
60964 cat conftest.err >&5
60965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60966 (exit $ac_status); } &&
60967 { ac_try='test -z "$ac_c_werror_flag"
60968 || test ! -s conftest.err'
60969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60970 (eval $ac_try) 2>&5
60971 ac_status=$?
60972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60973 (exit $ac_status); }; } &&
60974 { ac_try='test -s conftest$ac_exeext'
60975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60976 (eval $ac_try) 2>&5
60977 ac_status=$?
60978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60979 (exit $ac_status); }; }; then
60980 glibcxx_cv_WRITEV=yes
60981 else
60982 echo "$as_me: failed program was:" >&5
60983 sed 's/^/| /' conftest.$ac_ext >&5
60985 glibcxx_cv_WRITEV=no
60987 rm -f conftest.err conftest.$ac_objext \
60988 conftest$ac_exeext conftest.$ac_ext
60992 if test $glibcxx_cv_WRITEV = yes; then
60993 cat >>confdefs.h <<\_ACEOF
60994 #define HAVE_WRITEV 1
60995 _ACEOF
61000 cat >>confdefs.h <<\_ACEOF
61001 #define HAVE_COPYSIGN 1
61002 _ACEOF
61004 cat >>confdefs.h <<\_ACEOF
61005 #define HAVE_COPYSIGNF 1
61006 _ACEOF
61008 cat >>confdefs.h <<\_ACEOF
61009 #define HAVE_FINITE 1
61010 _ACEOF
61012 cat >>confdefs.h <<\_ACEOF
61013 #define HAVE_FINITEF 1
61014 _ACEOF
61016 cat >>confdefs.h <<\_ACEOF
61017 #define HAVE_FREXPF 1
61018 _ACEOF
61020 cat >>confdefs.h <<\_ACEOF
61021 #define HAVE_HYPOTF 1
61022 _ACEOF
61024 cat >>confdefs.h <<\_ACEOF
61025 #define HAVE_ISINF 1
61026 _ACEOF
61028 cat >>confdefs.h <<\_ACEOF
61029 #define HAVE_ISINFF 1
61030 _ACEOF
61032 cat >>confdefs.h <<\_ACEOF
61033 #define HAVE_ISNAN 1
61034 _ACEOF
61036 cat >>confdefs.h <<\_ACEOF
61037 #define HAVE_ISNANF 1
61038 _ACEOF
61040 cat >>confdefs.h <<\_ACEOF
61041 #define HAVE_SINCOS 1
61042 _ACEOF
61044 cat >>confdefs.h <<\_ACEOF
61045 #define HAVE_SINCOSF 1
61046 _ACEOF
61048 if test x"long_double_math_on_this_cpu" = x"yes"; then
61049 cat >>confdefs.h <<\_ACEOF
61050 #define HAVE_FINITEL 1
61051 _ACEOF
61053 cat >>confdefs.h <<\_ACEOF
61054 #define HAVE_HYPOTL 1
61055 _ACEOF
61057 cat >>confdefs.h <<\_ACEOF
61058 #define HAVE_ISINFL 1
61059 _ACEOF
61061 cat >>confdefs.h <<\_ACEOF
61062 #define HAVE_ISNANL 1
61063 _ACEOF
61067 *-mingw32*)
61071 for ac_header in sys/types.h locale.h float.h
61073 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
61074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61075 echo "$as_me:$LINENO: checking for $ac_header" >&5
61076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
61077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61078 echo $ECHO_N "(cached) $ECHO_C" >&6
61080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
61081 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
61082 else
61083 # Is the header compilable?
61084 echo "$as_me:$LINENO: checking $ac_header usability" >&5
61085 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
61086 cat >conftest.$ac_ext <<_ACEOF
61087 /* confdefs.h. */
61088 _ACEOF
61089 cat confdefs.h >>conftest.$ac_ext
61090 cat >>conftest.$ac_ext <<_ACEOF
61091 /* end confdefs.h. */
61092 $ac_includes_default
61093 #include <$ac_header>
61094 _ACEOF
61095 rm -f conftest.$ac_objext
61096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61097 (eval $ac_compile) 2>conftest.er1
61098 ac_status=$?
61099 grep -v '^ *+' conftest.er1 >conftest.err
61100 rm -f conftest.er1
61101 cat conftest.err >&5
61102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61103 (exit $ac_status); } &&
61104 { ac_try='test -z "$ac_c_werror_flag"
61105 || test ! -s conftest.err'
61106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61107 (eval $ac_try) 2>&5
61108 ac_status=$?
61109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61110 (exit $ac_status); }; } &&
61111 { ac_try='test -s conftest.$ac_objext'
61112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61113 (eval $ac_try) 2>&5
61114 ac_status=$?
61115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61116 (exit $ac_status); }; }; then
61117 ac_header_compiler=yes
61118 else
61119 echo "$as_me: failed program was:" >&5
61120 sed 's/^/| /' conftest.$ac_ext >&5
61122 ac_header_compiler=no
61124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61125 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
61126 echo "${ECHO_T}$ac_header_compiler" >&6
61128 # Is the header present?
61129 echo "$as_me:$LINENO: checking $ac_header presence" >&5
61130 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
61131 cat >conftest.$ac_ext <<_ACEOF
61132 /* confdefs.h. */
61133 _ACEOF
61134 cat confdefs.h >>conftest.$ac_ext
61135 cat >>conftest.$ac_ext <<_ACEOF
61136 /* end confdefs.h. */
61137 #include <$ac_header>
61138 _ACEOF
61139 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
61140 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
61141 ac_status=$?
61142 grep -v '^ *+' conftest.er1 >conftest.err
61143 rm -f conftest.er1
61144 cat conftest.err >&5
61145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61146 (exit $ac_status); } >/dev/null; then
61147 if test -s conftest.err; then
61148 ac_cpp_err=$ac_c_preproc_warn_flag
61149 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
61150 else
61151 ac_cpp_err=
61153 else
61154 ac_cpp_err=yes
61156 if test -z "$ac_cpp_err"; then
61157 ac_header_preproc=yes
61158 else
61159 echo "$as_me: failed program was:" >&5
61160 sed 's/^/| /' conftest.$ac_ext >&5
61162 ac_header_preproc=no
61164 rm -f conftest.err conftest.$ac_ext
61165 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
61166 echo "${ECHO_T}$ac_header_preproc" >&6
61168 # So? What about this header?
61169 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
61170 yes:no: )
61171 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
61172 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
61173 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
61174 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
61175 ac_header_preproc=yes
61177 no:yes:* )
61178 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
61179 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
61180 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
61181 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
61182 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
61183 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
61184 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
61185 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
61186 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
61187 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
61188 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
61189 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
61191 cat <<\_ASBOX
61192 ## ----------------------------------------- ##
61193 ## Report this to the package-unused lists. ##
61194 ## ----------------------------------------- ##
61195 _ASBOX
61197 sed "s/^/$as_me: WARNING: /" >&2
61199 esac
61200 echo "$as_me:$LINENO: checking for $ac_header" >&5
61201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
61202 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61203 echo $ECHO_N "(cached) $ECHO_C" >&6
61204 else
61205 eval "$as_ac_Header=\$ac_header_preproc"
61207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
61208 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
61211 if test `eval echo '${'$as_ac_Header'}'` = yes; then
61212 cat >>confdefs.h <<_ACEOF
61213 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
61214 _ACEOF
61218 done
61221 # If we're not using GNU ld, then there's no point in even trying these
61222 # tests. Check for that first. We should have already tested for gld
61223 # by now (in libtool), but require it now just to be safe...
61224 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
61225 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
61229 # The name set by libtool depends on the version of libtool. Shame on us
61230 # for depending on an impl detail, but c'est la vie. Older versions used
61231 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
61232 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
61233 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
61234 # set (hence we're using an older libtool), then set it.
61235 if test x${with_gnu_ld+set} != xset; then
61236 if test x${ac_cv_prog_gnu_ld+set} != xset; then
61237 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
61238 with_gnu_ld=no
61239 else
61240 with_gnu_ld=$ac_cv_prog_gnu_ld
61244 # Start by getting the version number. I think the libtool test already
61245 # does some of this, but throws away the result.
61247 ldver=`$LD --version 2>/dev/null | head -1 | \
61248 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
61250 glibcxx_gnu_ld_version=`echo $ldver | \
61251 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
61253 # Set --gc-sections.
61254 if test "$with_gnu_ld" = "notbroken"; then
61255 # GNU ld it is! Joy and bunny rabbits!
61257 # All these tests are for C++; save the language and the compiler flags.
61258 # Need to do this so that g++ won't try to link in libstdc++
61259 ac_test_CFLAGS="${CFLAGS+set}"
61260 ac_save_CFLAGS="$CFLAGS"
61261 CFLAGS='-x c++ -Wl,--gc-sections'
61263 # Check for -Wl,--gc-sections
61264 # XXX This test is broken at the moment, as symbols required for linking
61265 # are now in libsupc++ (not built yet). In addition, this test has
61266 # cored on solaris in the past. In addition, --gc-sections doesn't
61267 # really work at the moment (keeps on discarding used sections, first
61268 # .eh_frame and now some of the glibc sections for iconv).
61269 # Bzzzzt. Thanks for playing, maybe next time.
61270 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
61271 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
61272 if test "$cross_compiling" = yes; then
61273 ac_sectionLDflags=yes
61274 else
61275 cat >conftest.$ac_ext <<_ACEOF
61276 /* confdefs.h. */
61277 _ACEOF
61278 cat confdefs.h >>conftest.$ac_ext
61279 cat >>conftest.$ac_ext <<_ACEOF
61280 /* end confdefs.h. */
61282 int main(void)
61284 try { throw 1; }
61285 catch (...) { };
61286 return 0;
61289 _ACEOF
61290 rm -f conftest$ac_exeext
61291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61292 (eval $ac_link) 2>&5
61293 ac_status=$?
61294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61295 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
61296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61297 (eval $ac_try) 2>&5
61298 ac_status=$?
61299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61300 (exit $ac_status); }; }; then
61301 ac_sectionLDflags=yes
61302 else
61303 echo "$as_me: program exited with status $ac_status" >&5
61304 echo "$as_me: failed program was:" >&5
61305 sed 's/^/| /' conftest.$ac_ext >&5
61307 ( exit $ac_status )
61308 ac_sectionLDflags=no
61310 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
61312 if test "$ac_test_CFLAGS" = set; then
61313 CFLAGS="$ac_save_CFLAGS"
61314 else
61315 # this is the suspicious part
61316 CFLAGS=''
61318 if test "$ac_sectionLDflags" = "yes"; then
61319 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
61321 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
61322 echo "${ECHO_T}$ac_sectionLDflags" >&6
61325 # Set linker optimization flags.
61326 if test x"$with_gnu_ld" = x"yes"; then
61327 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
61335 echo "$as_me:$LINENO: checking for main in -lm" >&5
61336 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
61337 if test "${ac_cv_lib_m_main+set}" = set; then
61338 echo $ECHO_N "(cached) $ECHO_C" >&6
61339 else
61340 ac_check_lib_save_LIBS=$LIBS
61341 LIBS="-lm $LIBS"
61342 if test x$gcc_no_link = xyes; then
61343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61345 { (exit 1); exit 1; }; }
61347 cat >conftest.$ac_ext <<_ACEOF
61348 /* confdefs.h. */
61349 _ACEOF
61350 cat confdefs.h >>conftest.$ac_ext
61351 cat >>conftest.$ac_ext <<_ACEOF
61352 /* end confdefs.h. */
61356 main ()
61358 main ();
61360 return 0;
61362 _ACEOF
61363 rm -f conftest.$ac_objext conftest$ac_exeext
61364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61365 (eval $ac_link) 2>conftest.er1
61366 ac_status=$?
61367 grep -v '^ *+' conftest.er1 >conftest.err
61368 rm -f conftest.er1
61369 cat conftest.err >&5
61370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61371 (exit $ac_status); } &&
61372 { ac_try='test -z "$ac_c_werror_flag"
61373 || test ! -s conftest.err'
61374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61375 (eval $ac_try) 2>&5
61376 ac_status=$?
61377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61378 (exit $ac_status); }; } &&
61379 { ac_try='test -s conftest$ac_exeext'
61380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61381 (eval $ac_try) 2>&5
61382 ac_status=$?
61383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61384 (exit $ac_status); }; }; then
61385 ac_cv_lib_m_main=yes
61386 else
61387 echo "$as_me: failed program was:" >&5
61388 sed 's/^/| /' conftest.$ac_ext >&5
61390 ac_cv_lib_m_main=no
61392 rm -f conftest.err conftest.$ac_objext \
61393 conftest$ac_exeext conftest.$ac_ext
61394 LIBS=$ac_check_lib_save_LIBS
61396 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
61397 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
61398 if test $ac_cv_lib_m_main = yes; then
61399 cat >>confdefs.h <<_ACEOF
61400 #define HAVE_LIBM 1
61401 _ACEOF
61403 LIBS="-lm $LIBS"
61408 for ac_func in copysignf
61410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61411 echo "$as_me:$LINENO: checking for $ac_func" >&5
61412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61413 if eval "test \"\${$as_ac_var+set}\" = set"; then
61414 echo $ECHO_N "(cached) $ECHO_C" >&6
61415 else
61416 if test x$gcc_no_link = xyes; then
61417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61419 { (exit 1); exit 1; }; }
61421 cat >conftest.$ac_ext <<_ACEOF
61422 /* confdefs.h. */
61423 _ACEOF
61424 cat confdefs.h >>conftest.$ac_ext
61425 cat >>conftest.$ac_ext <<_ACEOF
61426 /* end confdefs.h. */
61427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61429 #define $ac_func innocuous_$ac_func
61431 /* System header to define __stub macros and hopefully few prototypes,
61432 which can conflict with char $ac_func (); below.
61433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61434 <limits.h> exists even on freestanding compilers. */
61436 #ifdef __STDC__
61437 # include <limits.h>
61438 #else
61439 # include <assert.h>
61440 #endif
61442 #undef $ac_func
61444 /* Override any gcc2 internal prototype to avoid an error. */
61445 #ifdef __cplusplus
61446 extern "C"
61448 #endif
61449 /* We use char because int might match the return type of a gcc2
61450 builtin and then its argument prototype would still apply. */
61451 char $ac_func ();
61452 /* The GNU C library defines this for functions which it implements
61453 to always fail with ENOSYS. Some functions are actually named
61454 something starting with __ and the normal name is an alias. */
61455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61456 choke me
61457 #else
61458 char (*f) () = $ac_func;
61459 #endif
61460 #ifdef __cplusplus
61462 #endif
61465 main ()
61467 return f != $ac_func;
61469 return 0;
61471 _ACEOF
61472 rm -f conftest.$ac_objext conftest$ac_exeext
61473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61474 (eval $ac_link) 2>conftest.er1
61475 ac_status=$?
61476 grep -v '^ *+' conftest.er1 >conftest.err
61477 rm -f conftest.er1
61478 cat conftest.err >&5
61479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61480 (exit $ac_status); } &&
61481 { ac_try='test -z "$ac_c_werror_flag"
61482 || test ! -s conftest.err'
61483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61484 (eval $ac_try) 2>&5
61485 ac_status=$?
61486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61487 (exit $ac_status); }; } &&
61488 { ac_try='test -s conftest$ac_exeext'
61489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61490 (eval $ac_try) 2>&5
61491 ac_status=$?
61492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61493 (exit $ac_status); }; }; then
61494 eval "$as_ac_var=yes"
61495 else
61496 echo "$as_me: failed program was:" >&5
61497 sed 's/^/| /' conftest.$ac_ext >&5
61499 eval "$as_ac_var=no"
61501 rm -f conftest.err conftest.$ac_objext \
61502 conftest$ac_exeext conftest.$ac_ext
61504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61506 if test `eval echo '${'$as_ac_var'}'` = yes; then
61507 cat >>confdefs.h <<_ACEOF
61508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61509 _ACEOF
61511 else
61512 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
61514 done
61518 for ac_func in __signbit
61520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61521 echo "$as_me:$LINENO: checking for $ac_func" >&5
61522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61523 if eval "test \"\${$as_ac_var+set}\" = set"; then
61524 echo $ECHO_N "(cached) $ECHO_C" >&6
61525 else
61526 if test x$gcc_no_link = xyes; then
61527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61529 { (exit 1); exit 1; }; }
61531 cat >conftest.$ac_ext <<_ACEOF
61532 /* confdefs.h. */
61533 _ACEOF
61534 cat confdefs.h >>conftest.$ac_ext
61535 cat >>conftest.$ac_ext <<_ACEOF
61536 /* end confdefs.h. */
61537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61539 #define $ac_func innocuous_$ac_func
61541 /* System header to define __stub macros and hopefully few prototypes,
61542 which can conflict with char $ac_func (); below.
61543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61544 <limits.h> exists even on freestanding compilers. */
61546 #ifdef __STDC__
61547 # include <limits.h>
61548 #else
61549 # include <assert.h>
61550 #endif
61552 #undef $ac_func
61554 /* Override any gcc2 internal prototype to avoid an error. */
61555 #ifdef __cplusplus
61556 extern "C"
61558 #endif
61559 /* We use char because int might match the return type of a gcc2
61560 builtin and then its argument prototype would still apply. */
61561 char $ac_func ();
61562 /* The GNU C library defines this for functions which it implements
61563 to always fail with ENOSYS. Some functions are actually named
61564 something starting with __ and the normal name is an alias. */
61565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61566 choke me
61567 #else
61568 char (*f) () = $ac_func;
61569 #endif
61570 #ifdef __cplusplus
61572 #endif
61575 main ()
61577 return f != $ac_func;
61579 return 0;
61581 _ACEOF
61582 rm -f conftest.$ac_objext conftest$ac_exeext
61583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61584 (eval $ac_link) 2>conftest.er1
61585 ac_status=$?
61586 grep -v '^ *+' conftest.er1 >conftest.err
61587 rm -f conftest.er1
61588 cat conftest.err >&5
61589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61590 (exit $ac_status); } &&
61591 { ac_try='test -z "$ac_c_werror_flag"
61592 || test ! -s conftest.err'
61593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61594 (eval $ac_try) 2>&5
61595 ac_status=$?
61596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61597 (exit $ac_status); }; } &&
61598 { ac_try='test -s conftest$ac_exeext'
61599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61600 (eval $ac_try) 2>&5
61601 ac_status=$?
61602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61603 (exit $ac_status); }; }; then
61604 eval "$as_ac_var=yes"
61605 else
61606 echo "$as_me: failed program was:" >&5
61607 sed 's/^/| /' conftest.$ac_ext >&5
61609 eval "$as_ac_var=no"
61611 rm -f conftest.err conftest.$ac_objext \
61612 conftest$ac_exeext conftest.$ac_ext
61614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61616 if test `eval echo '${'$as_ac_var'}'` = yes; then
61617 cat >>confdefs.h <<_ACEOF
61618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61619 _ACEOF
61621 else
61622 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
61624 done
61627 for ac_func in __signbitf
61629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61630 echo "$as_me:$LINENO: checking for $ac_func" >&5
61631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61632 if eval "test \"\${$as_ac_var+set}\" = set"; then
61633 echo $ECHO_N "(cached) $ECHO_C" >&6
61634 else
61635 if test x$gcc_no_link = xyes; then
61636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61638 { (exit 1); exit 1; }; }
61640 cat >conftest.$ac_ext <<_ACEOF
61641 /* confdefs.h. */
61642 _ACEOF
61643 cat confdefs.h >>conftest.$ac_ext
61644 cat >>conftest.$ac_ext <<_ACEOF
61645 /* end confdefs.h. */
61646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61648 #define $ac_func innocuous_$ac_func
61650 /* System header to define __stub macros and hopefully few prototypes,
61651 which can conflict with char $ac_func (); below.
61652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61653 <limits.h> exists even on freestanding compilers. */
61655 #ifdef __STDC__
61656 # include <limits.h>
61657 #else
61658 # include <assert.h>
61659 #endif
61661 #undef $ac_func
61663 /* Override any gcc2 internal prototype to avoid an error. */
61664 #ifdef __cplusplus
61665 extern "C"
61667 #endif
61668 /* We use char because int might match the return type of a gcc2
61669 builtin and then its argument prototype would still apply. */
61670 char $ac_func ();
61671 /* The GNU C library defines this for functions which it implements
61672 to always fail with ENOSYS. Some functions are actually named
61673 something starting with __ and the normal name is an alias. */
61674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61675 choke me
61676 #else
61677 char (*f) () = $ac_func;
61678 #endif
61679 #ifdef __cplusplus
61681 #endif
61684 main ()
61686 return f != $ac_func;
61688 return 0;
61690 _ACEOF
61691 rm -f conftest.$ac_objext conftest$ac_exeext
61692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61693 (eval $ac_link) 2>conftest.er1
61694 ac_status=$?
61695 grep -v '^ *+' conftest.er1 >conftest.err
61696 rm -f conftest.er1
61697 cat conftest.err >&5
61698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61699 (exit $ac_status); } &&
61700 { ac_try='test -z "$ac_c_werror_flag"
61701 || test ! -s conftest.err'
61702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61703 (eval $ac_try) 2>&5
61704 ac_status=$?
61705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61706 (exit $ac_status); }; } &&
61707 { ac_try='test -s conftest$ac_exeext'
61708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61709 (eval $ac_try) 2>&5
61710 ac_status=$?
61711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61712 (exit $ac_status); }; }; then
61713 eval "$as_ac_var=yes"
61714 else
61715 echo "$as_me: failed program was:" >&5
61716 sed 's/^/| /' conftest.$ac_ext >&5
61718 eval "$as_ac_var=no"
61720 rm -f conftest.err conftest.$ac_objext \
61721 conftest$ac_exeext conftest.$ac_ext
61723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61725 if test `eval echo '${'$as_ac_var'}'` = yes; then
61726 cat >>confdefs.h <<_ACEOF
61727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61728 _ACEOF
61730 else
61731 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
61733 done
61736 if test x$ac_cv_func_copysignl = x"yes"; then
61738 for ac_func in __signbitl
61740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61741 echo "$as_me:$LINENO: checking for $ac_func" >&5
61742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61743 if eval "test \"\${$as_ac_var+set}\" = set"; then
61744 echo $ECHO_N "(cached) $ECHO_C" >&6
61745 else
61746 if test x$gcc_no_link = xyes; then
61747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61749 { (exit 1); exit 1; }; }
61751 cat >conftest.$ac_ext <<_ACEOF
61752 /* confdefs.h. */
61753 _ACEOF
61754 cat confdefs.h >>conftest.$ac_ext
61755 cat >>conftest.$ac_ext <<_ACEOF
61756 /* end confdefs.h. */
61757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61759 #define $ac_func innocuous_$ac_func
61761 /* System header to define __stub macros and hopefully few prototypes,
61762 which can conflict with char $ac_func (); below.
61763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61764 <limits.h> exists even on freestanding compilers. */
61766 #ifdef __STDC__
61767 # include <limits.h>
61768 #else
61769 # include <assert.h>
61770 #endif
61772 #undef $ac_func
61774 /* Override any gcc2 internal prototype to avoid an error. */
61775 #ifdef __cplusplus
61776 extern "C"
61778 #endif
61779 /* We use char because int might match the return type of a gcc2
61780 builtin and then its argument prototype would still apply. */
61781 char $ac_func ();
61782 /* The GNU C library defines this for functions which it implements
61783 to always fail with ENOSYS. Some functions are actually named
61784 something starting with __ and the normal name is an alias. */
61785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61786 choke me
61787 #else
61788 char (*f) () = $ac_func;
61789 #endif
61790 #ifdef __cplusplus
61792 #endif
61795 main ()
61797 return f != $ac_func;
61799 return 0;
61801 _ACEOF
61802 rm -f conftest.$ac_objext conftest$ac_exeext
61803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61804 (eval $ac_link) 2>conftest.er1
61805 ac_status=$?
61806 grep -v '^ *+' conftest.er1 >conftest.err
61807 rm -f conftest.er1
61808 cat conftest.err >&5
61809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61810 (exit $ac_status); } &&
61811 { ac_try='test -z "$ac_c_werror_flag"
61812 || test ! -s conftest.err'
61813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61814 (eval $ac_try) 2>&5
61815 ac_status=$?
61816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61817 (exit $ac_status); }; } &&
61818 { ac_try='test -s conftest$ac_exeext'
61819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61820 (eval $ac_try) 2>&5
61821 ac_status=$?
61822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61823 (exit $ac_status); }; }; then
61824 eval "$as_ac_var=yes"
61825 else
61826 echo "$as_me: failed program was:" >&5
61827 sed 's/^/| /' conftest.$ac_ext >&5
61829 eval "$as_ac_var=no"
61831 rm -f conftest.err conftest.$ac_objext \
61832 conftest$ac_exeext conftest.$ac_ext
61834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61836 if test `eval echo '${'$as_ac_var'}'` = yes; then
61837 cat >>confdefs.h <<_ACEOF
61838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61839 _ACEOF
61841 else
61842 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
61844 done
61848 # XXX Review this. Nothing uses it.
61849 if test -n "$LIBMATHOBJS"; then
61850 need_libmath=yes
61855 # Test wchar.h for mbstate_t, which is needed for char_traits and
61856 # others even if wchar_t support is not on.
61857 echo "$as_me:$LINENO: checking for mbstate_t" >&5
61858 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
61859 cat >conftest.$ac_ext <<_ACEOF
61860 /* confdefs.h. */
61861 _ACEOF
61862 cat confdefs.h >>conftest.$ac_ext
61863 cat >>conftest.$ac_ext <<_ACEOF
61864 /* end confdefs.h. */
61865 #include <wchar.h>
61867 main ()
61869 mbstate_t teststate;
61871 return 0;
61873 _ACEOF
61874 rm -f conftest.$ac_objext
61875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61876 (eval $ac_compile) 2>conftest.er1
61877 ac_status=$?
61878 grep -v '^ *+' conftest.er1 >conftest.err
61879 rm -f conftest.er1
61880 cat conftest.err >&5
61881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61882 (exit $ac_status); } &&
61883 { ac_try='test -z "$ac_c_werror_flag"
61884 || test ! -s conftest.err'
61885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61886 (eval $ac_try) 2>&5
61887 ac_status=$?
61888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61889 (exit $ac_status); }; } &&
61890 { ac_try='test -s conftest.$ac_objext'
61891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61892 (eval $ac_try) 2>&5
61893 ac_status=$?
61894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61895 (exit $ac_status); }; }; then
61896 have_mbstate_t=yes
61897 else
61898 echo "$as_me: failed program was:" >&5
61899 sed 's/^/| /' conftest.$ac_ext >&5
61901 have_mbstate_t=no
61903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61904 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
61905 echo "${ECHO_T}$have_mbstate_t" >&6
61906 if test x"$have_mbstate_t" = xyes; then
61907 cat >>confdefs.h <<\_ACEOF
61908 #define HAVE_MBSTATE_T 1
61909 _ACEOF
61913 # Sanity check for existence of ISO C99 headers for extended encoding.
61915 for ac_header in wchar.h
61917 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
61918 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61919 echo "$as_me:$LINENO: checking for $ac_header" >&5
61920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
61921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61922 echo $ECHO_N "(cached) $ECHO_C" >&6
61924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
61925 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
61926 else
61927 # Is the header compilable?
61928 echo "$as_me:$LINENO: checking $ac_header usability" >&5
61929 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
61930 cat >conftest.$ac_ext <<_ACEOF
61931 /* confdefs.h. */
61932 _ACEOF
61933 cat confdefs.h >>conftest.$ac_ext
61934 cat >>conftest.$ac_ext <<_ACEOF
61935 /* end confdefs.h. */
61936 $ac_includes_default
61937 #include <$ac_header>
61938 _ACEOF
61939 rm -f conftest.$ac_objext
61940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61941 (eval $ac_compile) 2>conftest.er1
61942 ac_status=$?
61943 grep -v '^ *+' conftest.er1 >conftest.err
61944 rm -f conftest.er1
61945 cat conftest.err >&5
61946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61947 (exit $ac_status); } &&
61948 { ac_try='test -z "$ac_c_werror_flag"
61949 || test ! -s conftest.err'
61950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61951 (eval $ac_try) 2>&5
61952 ac_status=$?
61953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61954 (exit $ac_status); }; } &&
61955 { ac_try='test -s conftest.$ac_objext'
61956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61957 (eval $ac_try) 2>&5
61958 ac_status=$?
61959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61960 (exit $ac_status); }; }; then
61961 ac_header_compiler=yes
61962 else
61963 echo "$as_me: failed program was:" >&5
61964 sed 's/^/| /' conftest.$ac_ext >&5
61966 ac_header_compiler=no
61968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61969 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
61970 echo "${ECHO_T}$ac_header_compiler" >&6
61972 # Is the header present?
61973 echo "$as_me:$LINENO: checking $ac_header presence" >&5
61974 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
61975 cat >conftest.$ac_ext <<_ACEOF
61976 /* confdefs.h. */
61977 _ACEOF
61978 cat confdefs.h >>conftest.$ac_ext
61979 cat >>conftest.$ac_ext <<_ACEOF
61980 /* end confdefs.h. */
61981 #include <$ac_header>
61982 _ACEOF
61983 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
61984 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
61985 ac_status=$?
61986 grep -v '^ *+' conftest.er1 >conftest.err
61987 rm -f conftest.er1
61988 cat conftest.err >&5
61989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61990 (exit $ac_status); } >/dev/null; then
61991 if test -s conftest.err; then
61992 ac_cpp_err=$ac_c_preproc_warn_flag
61993 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
61994 else
61995 ac_cpp_err=
61997 else
61998 ac_cpp_err=yes
62000 if test -z "$ac_cpp_err"; then
62001 ac_header_preproc=yes
62002 else
62003 echo "$as_me: failed program was:" >&5
62004 sed 's/^/| /' conftest.$ac_ext >&5
62006 ac_header_preproc=no
62008 rm -f conftest.err conftest.$ac_ext
62009 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62010 echo "${ECHO_T}$ac_header_preproc" >&6
62012 # So? What about this header?
62013 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
62014 yes:no: )
62015 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
62016 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
62017 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
62018 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
62019 ac_header_preproc=yes
62021 no:yes:* )
62022 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
62023 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
62024 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
62025 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
62026 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
62027 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
62028 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
62029 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
62030 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
62031 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
62032 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
62033 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
62035 cat <<\_ASBOX
62036 ## ----------------------------------------- ##
62037 ## Report this to the package-unused lists. ##
62038 ## ----------------------------------------- ##
62039 _ASBOX
62041 sed "s/^/$as_me: WARNING: /" >&2
62043 esac
62044 echo "$as_me:$LINENO: checking for $ac_header" >&5
62045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62047 echo $ECHO_N "(cached) $ECHO_C" >&6
62048 else
62049 eval "$as_ac_Header=\$ac_header_preproc"
62051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62055 if test `eval echo '${'$as_ac_Header'}'` = yes; then
62056 cat >>confdefs.h <<_ACEOF
62057 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
62058 _ACEOF
62059 ac_has_wchar_h=yes
62060 else
62061 ac_has_wchar_h=no
62064 done
62067 for ac_header in wctype.h
62069 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
62070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62071 echo "$as_me:$LINENO: checking for $ac_header" >&5
62072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62074 echo $ECHO_N "(cached) $ECHO_C" >&6
62076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62077 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62078 else
62079 # Is the header compilable?
62080 echo "$as_me:$LINENO: checking $ac_header usability" >&5
62081 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
62082 cat >conftest.$ac_ext <<_ACEOF
62083 /* confdefs.h. */
62084 _ACEOF
62085 cat confdefs.h >>conftest.$ac_ext
62086 cat >>conftest.$ac_ext <<_ACEOF
62087 /* end confdefs.h. */
62088 $ac_includes_default
62089 #include <$ac_header>
62090 _ACEOF
62091 rm -f conftest.$ac_objext
62092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62093 (eval $ac_compile) 2>conftest.er1
62094 ac_status=$?
62095 grep -v '^ *+' conftest.er1 >conftest.err
62096 rm -f conftest.er1
62097 cat conftest.err >&5
62098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62099 (exit $ac_status); } &&
62100 { ac_try='test -z "$ac_c_werror_flag"
62101 || test ! -s conftest.err'
62102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62103 (eval $ac_try) 2>&5
62104 ac_status=$?
62105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62106 (exit $ac_status); }; } &&
62107 { ac_try='test -s conftest.$ac_objext'
62108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62109 (eval $ac_try) 2>&5
62110 ac_status=$?
62111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62112 (exit $ac_status); }; }; then
62113 ac_header_compiler=yes
62114 else
62115 echo "$as_me: failed program was:" >&5
62116 sed 's/^/| /' conftest.$ac_ext >&5
62118 ac_header_compiler=no
62120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62121 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62122 echo "${ECHO_T}$ac_header_compiler" >&6
62124 # Is the header present?
62125 echo "$as_me:$LINENO: checking $ac_header presence" >&5
62126 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
62127 cat >conftest.$ac_ext <<_ACEOF
62128 /* confdefs.h. */
62129 _ACEOF
62130 cat confdefs.h >>conftest.$ac_ext
62131 cat >>conftest.$ac_ext <<_ACEOF
62132 /* end confdefs.h. */
62133 #include <$ac_header>
62134 _ACEOF
62135 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
62136 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
62137 ac_status=$?
62138 grep -v '^ *+' conftest.er1 >conftest.err
62139 rm -f conftest.er1
62140 cat conftest.err >&5
62141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62142 (exit $ac_status); } >/dev/null; then
62143 if test -s conftest.err; then
62144 ac_cpp_err=$ac_c_preproc_warn_flag
62145 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
62146 else
62147 ac_cpp_err=
62149 else
62150 ac_cpp_err=yes
62152 if test -z "$ac_cpp_err"; then
62153 ac_header_preproc=yes
62154 else
62155 echo "$as_me: failed program was:" >&5
62156 sed 's/^/| /' conftest.$ac_ext >&5
62158 ac_header_preproc=no
62160 rm -f conftest.err conftest.$ac_ext
62161 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62162 echo "${ECHO_T}$ac_header_preproc" >&6
62164 # So? What about this header?
62165 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
62166 yes:no: )
62167 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
62168 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
62169 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
62170 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
62171 ac_header_preproc=yes
62173 no:yes:* )
62174 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
62175 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
62176 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
62177 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
62178 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
62179 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
62180 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
62181 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
62182 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
62183 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
62184 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
62185 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
62187 cat <<\_ASBOX
62188 ## ----------------------------------------- ##
62189 ## Report this to the package-unused lists. ##
62190 ## ----------------------------------------- ##
62191 _ASBOX
62193 sed "s/^/$as_me: WARNING: /" >&2
62195 esac
62196 echo "$as_me:$LINENO: checking for $ac_header" >&5
62197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62199 echo $ECHO_N "(cached) $ECHO_C" >&6
62200 else
62201 eval "$as_ac_Header=\$ac_header_preproc"
62203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62204 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62207 if test `eval echo '${'$as_ac_Header'}'` = yes; then
62208 cat >>confdefs.h <<_ACEOF
62209 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
62210 _ACEOF
62211 ac_has_wctype_h=yes
62212 else
62213 ac_has_wctype_h=no
62216 done
62219 # Only continue checking if the ISO C99 headers exist and support is on.
62220 if test x"$ac_has_wchar_h" = xyes &&
62221 test x"$ac_has_wctype_h" = xyes &&
62222 test x"$enable_c_mbchar" != xno; then
62224 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
62225 # numeric_limits can instantiate type_traits<wchar_t>
62226 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
62227 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
62228 cat >conftest.$ac_ext <<_ACEOF
62229 /* confdefs.h. */
62230 _ACEOF
62231 cat confdefs.h >>conftest.$ac_ext
62232 cat >>conftest.$ac_ext <<_ACEOF
62233 /* end confdefs.h. */
62234 #include <wchar.h>
62236 main ()
62238 int i = WCHAR_MIN; int j = WCHAR_MAX;
62240 return 0;
62242 _ACEOF
62243 rm -f conftest.$ac_objext
62244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62245 (eval $ac_compile) 2>conftest.er1
62246 ac_status=$?
62247 grep -v '^ *+' conftest.er1 >conftest.err
62248 rm -f conftest.er1
62249 cat conftest.err >&5
62250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62251 (exit $ac_status); } &&
62252 { ac_try='test -z "$ac_c_werror_flag"
62253 || test ! -s conftest.err'
62254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62255 (eval $ac_try) 2>&5
62256 ac_status=$?
62257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62258 (exit $ac_status); }; } &&
62259 { ac_try='test -s conftest.$ac_objext'
62260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62261 (eval $ac_try) 2>&5
62262 ac_status=$?
62263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62264 (exit $ac_status); }; }; then
62265 has_wchar_minmax=yes
62266 else
62267 echo "$as_me: failed program was:" >&5
62268 sed 's/^/| /' conftest.$ac_ext >&5
62270 has_wchar_minmax=no
62272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62273 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
62274 echo "${ECHO_T}$has_wchar_minmax" >&6
62276 # Test wchar.h for WEOF, which is what we use to determine whether
62277 # to specialize for char_traits<wchar_t> or not.
62278 echo "$as_me:$LINENO: checking for WEOF" >&5
62279 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
62280 cat >conftest.$ac_ext <<_ACEOF
62281 /* confdefs.h. */
62282 _ACEOF
62283 cat confdefs.h >>conftest.$ac_ext
62284 cat >>conftest.$ac_ext <<_ACEOF
62285 /* end confdefs.h. */
62287 #include <wchar.h>
62288 #include <stddef.h>
62290 main ()
62292 wint_t i = WEOF;
62294 return 0;
62296 _ACEOF
62297 rm -f conftest.$ac_objext
62298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62299 (eval $ac_compile) 2>conftest.er1
62300 ac_status=$?
62301 grep -v '^ *+' conftest.er1 >conftest.err
62302 rm -f conftest.er1
62303 cat conftest.err >&5
62304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62305 (exit $ac_status); } &&
62306 { ac_try='test -z "$ac_c_werror_flag"
62307 || test ! -s conftest.err'
62308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62309 (eval $ac_try) 2>&5
62310 ac_status=$?
62311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62312 (exit $ac_status); }; } &&
62313 { ac_try='test -s conftest.$ac_objext'
62314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62315 (eval $ac_try) 2>&5
62316 ac_status=$?
62317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62318 (exit $ac_status); }; }; then
62319 has_weof=yes
62320 else
62321 echo "$as_me: failed program was:" >&5
62322 sed 's/^/| /' conftest.$ac_ext >&5
62324 has_weof=no
62326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62327 echo "$as_me:$LINENO: result: $has_weof" >&5
62328 echo "${ECHO_T}$has_weof" >&6
62330 # Tests for wide character functions used in char_traits<wchar_t>.
62331 ac_wfuncs=yes
62338 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
62340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62341 echo "$as_me:$LINENO: checking for $ac_func" >&5
62342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62343 if eval "test \"\${$as_ac_var+set}\" = set"; then
62344 echo $ECHO_N "(cached) $ECHO_C" >&6
62345 else
62346 if test x$gcc_no_link = xyes; then
62347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62349 { (exit 1); exit 1; }; }
62351 cat >conftest.$ac_ext <<_ACEOF
62352 /* confdefs.h. */
62353 _ACEOF
62354 cat confdefs.h >>conftest.$ac_ext
62355 cat >>conftest.$ac_ext <<_ACEOF
62356 /* end confdefs.h. */
62357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62359 #define $ac_func innocuous_$ac_func
62361 /* System header to define __stub macros and hopefully few prototypes,
62362 which can conflict with char $ac_func (); below.
62363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62364 <limits.h> exists even on freestanding compilers. */
62366 #ifdef __STDC__
62367 # include <limits.h>
62368 #else
62369 # include <assert.h>
62370 #endif
62372 #undef $ac_func
62374 /* Override any gcc2 internal prototype to avoid an error. */
62375 #ifdef __cplusplus
62376 extern "C"
62378 #endif
62379 /* We use char because int might match the return type of a gcc2
62380 builtin and then its argument prototype would still apply. */
62381 char $ac_func ();
62382 /* The GNU C library defines this for functions which it implements
62383 to always fail with ENOSYS. Some functions are actually named
62384 something starting with __ and the normal name is an alias. */
62385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62386 choke me
62387 #else
62388 char (*f) () = $ac_func;
62389 #endif
62390 #ifdef __cplusplus
62392 #endif
62395 main ()
62397 return f != $ac_func;
62399 return 0;
62401 _ACEOF
62402 rm -f conftest.$ac_objext conftest$ac_exeext
62403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62404 (eval $ac_link) 2>conftest.er1
62405 ac_status=$?
62406 grep -v '^ *+' conftest.er1 >conftest.err
62407 rm -f conftest.er1
62408 cat conftest.err >&5
62409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62410 (exit $ac_status); } &&
62411 { ac_try='test -z "$ac_c_werror_flag"
62412 || test ! -s conftest.err'
62413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62414 (eval $ac_try) 2>&5
62415 ac_status=$?
62416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62417 (exit $ac_status); }; } &&
62418 { ac_try='test -s conftest$ac_exeext'
62419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62420 (eval $ac_try) 2>&5
62421 ac_status=$?
62422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62423 (exit $ac_status); }; }; then
62424 eval "$as_ac_var=yes"
62425 else
62426 echo "$as_me: failed program was:" >&5
62427 sed 's/^/| /' conftest.$ac_ext >&5
62429 eval "$as_ac_var=no"
62431 rm -f conftest.err conftest.$ac_objext \
62432 conftest$ac_exeext conftest.$ac_ext
62434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62436 if test `eval echo '${'$as_ac_var'}'` = yes; then
62437 cat >>confdefs.h <<_ACEOF
62438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62439 _ACEOF
62441 else
62442 ac_wfuncs=no
62444 done
62447 # Checks for names injected into std:: by the c_std headers.
62494 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
62495 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
62496 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
62497 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
62498 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
62499 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
62501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62502 echo "$as_me:$LINENO: checking for $ac_func" >&5
62503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62504 if eval "test \"\${$as_ac_var+set}\" = set"; then
62505 echo $ECHO_N "(cached) $ECHO_C" >&6
62506 else
62507 if test x$gcc_no_link = xyes; then
62508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62510 { (exit 1); exit 1; }; }
62512 cat >conftest.$ac_ext <<_ACEOF
62513 /* confdefs.h. */
62514 _ACEOF
62515 cat confdefs.h >>conftest.$ac_ext
62516 cat >>conftest.$ac_ext <<_ACEOF
62517 /* end confdefs.h. */
62518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62520 #define $ac_func innocuous_$ac_func
62522 /* System header to define __stub macros and hopefully few prototypes,
62523 which can conflict with char $ac_func (); below.
62524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62525 <limits.h> exists even on freestanding compilers. */
62527 #ifdef __STDC__
62528 # include <limits.h>
62529 #else
62530 # include <assert.h>
62531 #endif
62533 #undef $ac_func
62535 /* Override any gcc2 internal prototype to avoid an error. */
62536 #ifdef __cplusplus
62537 extern "C"
62539 #endif
62540 /* We use char because int might match the return type of a gcc2
62541 builtin and then its argument prototype would still apply. */
62542 char $ac_func ();
62543 /* The GNU C library defines this for functions which it implements
62544 to always fail with ENOSYS. Some functions are actually named
62545 something starting with __ and the normal name is an alias. */
62546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62547 choke me
62548 #else
62549 char (*f) () = $ac_func;
62550 #endif
62551 #ifdef __cplusplus
62553 #endif
62556 main ()
62558 return f != $ac_func;
62560 return 0;
62562 _ACEOF
62563 rm -f conftest.$ac_objext conftest$ac_exeext
62564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62565 (eval $ac_link) 2>conftest.er1
62566 ac_status=$?
62567 grep -v '^ *+' conftest.er1 >conftest.err
62568 rm -f conftest.er1
62569 cat conftest.err >&5
62570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62571 (exit $ac_status); } &&
62572 { ac_try='test -z "$ac_c_werror_flag"
62573 || test ! -s conftest.err'
62574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62575 (eval $ac_try) 2>&5
62576 ac_status=$?
62577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62578 (exit $ac_status); }; } &&
62579 { ac_try='test -s conftest$ac_exeext'
62580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62581 (eval $ac_try) 2>&5
62582 ac_status=$?
62583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62584 (exit $ac_status); }; }; then
62585 eval "$as_ac_var=yes"
62586 else
62587 echo "$as_me: failed program was:" >&5
62588 sed 's/^/| /' conftest.$ac_ext >&5
62590 eval "$as_ac_var=no"
62592 rm -f conftest.err conftest.$ac_objext \
62593 conftest$ac_exeext conftest.$ac_ext
62595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62597 if test `eval echo '${'$as_ac_var'}'` = yes; then
62598 cat >>confdefs.h <<_ACEOF
62599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62600 _ACEOF
62602 else
62603 ac_wfuncs=no
62605 done
62608 # Checks for wide character functions that are not required
62609 # for basic wchar_t support. Don't disable support if they are missing.
62610 # Injection of these is wrapped with guard macros.
62616 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
62618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62619 echo "$as_me:$LINENO: checking for $ac_func" >&5
62620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62621 if eval "test \"\${$as_ac_var+set}\" = set"; then
62622 echo $ECHO_N "(cached) $ECHO_C" >&6
62623 else
62624 if test x$gcc_no_link = xyes; then
62625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62627 { (exit 1); exit 1; }; }
62629 cat >conftest.$ac_ext <<_ACEOF
62630 /* confdefs.h. */
62631 _ACEOF
62632 cat confdefs.h >>conftest.$ac_ext
62633 cat >>conftest.$ac_ext <<_ACEOF
62634 /* end confdefs.h. */
62635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62637 #define $ac_func innocuous_$ac_func
62639 /* System header to define __stub macros and hopefully few prototypes,
62640 which can conflict with char $ac_func (); below.
62641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62642 <limits.h> exists even on freestanding compilers. */
62644 #ifdef __STDC__
62645 # include <limits.h>
62646 #else
62647 # include <assert.h>
62648 #endif
62650 #undef $ac_func
62652 /* Override any gcc2 internal prototype to avoid an error. */
62653 #ifdef __cplusplus
62654 extern "C"
62656 #endif
62657 /* We use char because int might match the return type of a gcc2
62658 builtin and then its argument prototype would still apply. */
62659 char $ac_func ();
62660 /* The GNU C library defines this for functions which it implements
62661 to always fail with ENOSYS. Some functions are actually named
62662 something starting with __ and the normal name is an alias. */
62663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62664 choke me
62665 #else
62666 char (*f) () = $ac_func;
62667 #endif
62668 #ifdef __cplusplus
62670 #endif
62673 main ()
62675 return f != $ac_func;
62677 return 0;
62679 _ACEOF
62680 rm -f conftest.$ac_objext conftest$ac_exeext
62681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62682 (eval $ac_link) 2>conftest.er1
62683 ac_status=$?
62684 grep -v '^ *+' conftest.er1 >conftest.err
62685 rm -f conftest.er1
62686 cat conftest.err >&5
62687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62688 (exit $ac_status); } &&
62689 { ac_try='test -z "$ac_c_werror_flag"
62690 || test ! -s conftest.err'
62691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62692 (eval $ac_try) 2>&5
62693 ac_status=$?
62694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62695 (exit $ac_status); }; } &&
62696 { ac_try='test -s conftest$ac_exeext'
62697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62698 (eval $ac_try) 2>&5
62699 ac_status=$?
62700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62701 (exit $ac_status); }; }; then
62702 eval "$as_ac_var=yes"
62703 else
62704 echo "$as_me: failed program was:" >&5
62705 sed 's/^/| /' conftest.$ac_ext >&5
62707 eval "$as_ac_var=no"
62709 rm -f conftest.err conftest.$ac_objext \
62710 conftest$ac_exeext conftest.$ac_ext
62712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62714 if test `eval echo '${'$as_ac_var'}'` = yes; then
62715 cat >>confdefs.h <<_ACEOF
62716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62717 _ACEOF
62720 done
62723 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
62724 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
62725 if test x"$has_weof" = xyes &&
62726 test x"$has_wchar_minmax" = xyes &&
62727 test x"$ac_wfuncs" = xyes;
62728 then
62729 ac_isoC99_wchar_t=yes
62730 else
62731 ac_isoC99_wchar_t=no
62733 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
62734 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
62736 # Use iconv for wchar_t to char conversions. As such, check for
62737 # X/Open Portability Guide, version 2 features (XPG2).
62738 if test "${ac_cv_header_iconv_h+set}" = set; then
62739 echo "$as_me:$LINENO: checking for iconv.h" >&5
62740 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
62741 if test "${ac_cv_header_iconv_h+set}" = set; then
62742 echo $ECHO_N "(cached) $ECHO_C" >&6
62744 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
62745 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
62746 else
62747 # Is the header compilable?
62748 echo "$as_me:$LINENO: checking iconv.h usability" >&5
62749 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
62750 cat >conftest.$ac_ext <<_ACEOF
62751 /* confdefs.h. */
62752 _ACEOF
62753 cat confdefs.h >>conftest.$ac_ext
62754 cat >>conftest.$ac_ext <<_ACEOF
62755 /* end confdefs.h. */
62756 $ac_includes_default
62757 #include <iconv.h>
62758 _ACEOF
62759 rm -f conftest.$ac_objext
62760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62761 (eval $ac_compile) 2>conftest.er1
62762 ac_status=$?
62763 grep -v '^ *+' conftest.er1 >conftest.err
62764 rm -f conftest.er1
62765 cat conftest.err >&5
62766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62767 (exit $ac_status); } &&
62768 { ac_try='test -z "$ac_c_werror_flag"
62769 || test ! -s conftest.err'
62770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62771 (eval $ac_try) 2>&5
62772 ac_status=$?
62773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62774 (exit $ac_status); }; } &&
62775 { ac_try='test -s conftest.$ac_objext'
62776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62777 (eval $ac_try) 2>&5
62778 ac_status=$?
62779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62780 (exit $ac_status); }; }; then
62781 ac_header_compiler=yes
62782 else
62783 echo "$as_me: failed program was:" >&5
62784 sed 's/^/| /' conftest.$ac_ext >&5
62786 ac_header_compiler=no
62788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62789 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62790 echo "${ECHO_T}$ac_header_compiler" >&6
62792 # Is the header present?
62793 echo "$as_me:$LINENO: checking iconv.h presence" >&5
62794 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
62795 cat >conftest.$ac_ext <<_ACEOF
62796 /* confdefs.h. */
62797 _ACEOF
62798 cat confdefs.h >>conftest.$ac_ext
62799 cat >>conftest.$ac_ext <<_ACEOF
62800 /* end confdefs.h. */
62801 #include <iconv.h>
62802 _ACEOF
62803 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
62804 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
62805 ac_status=$?
62806 grep -v '^ *+' conftest.er1 >conftest.err
62807 rm -f conftest.er1
62808 cat conftest.err >&5
62809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62810 (exit $ac_status); } >/dev/null; then
62811 if test -s conftest.err; then
62812 ac_cpp_err=$ac_c_preproc_warn_flag
62813 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
62814 else
62815 ac_cpp_err=
62817 else
62818 ac_cpp_err=yes
62820 if test -z "$ac_cpp_err"; then
62821 ac_header_preproc=yes
62822 else
62823 echo "$as_me: failed program was:" >&5
62824 sed 's/^/| /' conftest.$ac_ext >&5
62826 ac_header_preproc=no
62828 rm -f conftest.err conftest.$ac_ext
62829 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62830 echo "${ECHO_T}$ac_header_preproc" >&6
62832 # So? What about this header?
62833 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
62834 yes:no: )
62835 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
62836 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
62837 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
62838 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
62839 ac_header_preproc=yes
62841 no:yes:* )
62842 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
62843 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
62844 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
62845 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
62846 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
62847 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
62848 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
62849 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
62850 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
62851 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
62852 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
62853 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
62855 cat <<\_ASBOX
62856 ## ----------------------------------------- ##
62857 ## Report this to the package-unused lists. ##
62858 ## ----------------------------------------- ##
62859 _ASBOX
62861 sed "s/^/$as_me: WARNING: /" >&2
62863 esac
62864 echo "$as_me:$LINENO: checking for iconv.h" >&5
62865 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
62866 if test "${ac_cv_header_iconv_h+set}" = set; then
62867 echo $ECHO_N "(cached) $ECHO_C" >&6
62868 else
62869 ac_cv_header_iconv_h=$ac_header_preproc
62871 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
62872 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
62875 if test $ac_cv_header_iconv_h = yes; then
62876 ac_has_iconv_h=yes
62877 else
62878 ac_has_iconv_h=no
62882 if test "${ac_cv_header_langinfo_h+set}" = set; then
62883 echo "$as_me:$LINENO: checking for langinfo.h" >&5
62884 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
62885 if test "${ac_cv_header_langinfo_h+set}" = set; then
62886 echo $ECHO_N "(cached) $ECHO_C" >&6
62888 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
62889 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
62890 else
62891 # Is the header compilable?
62892 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
62893 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
62894 cat >conftest.$ac_ext <<_ACEOF
62895 /* confdefs.h. */
62896 _ACEOF
62897 cat confdefs.h >>conftest.$ac_ext
62898 cat >>conftest.$ac_ext <<_ACEOF
62899 /* end confdefs.h. */
62900 $ac_includes_default
62901 #include <langinfo.h>
62902 _ACEOF
62903 rm -f conftest.$ac_objext
62904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62905 (eval $ac_compile) 2>conftest.er1
62906 ac_status=$?
62907 grep -v '^ *+' conftest.er1 >conftest.err
62908 rm -f conftest.er1
62909 cat conftest.err >&5
62910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62911 (exit $ac_status); } &&
62912 { ac_try='test -z "$ac_c_werror_flag"
62913 || test ! -s conftest.err'
62914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62915 (eval $ac_try) 2>&5
62916 ac_status=$?
62917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62918 (exit $ac_status); }; } &&
62919 { ac_try='test -s conftest.$ac_objext'
62920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62921 (eval $ac_try) 2>&5
62922 ac_status=$?
62923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62924 (exit $ac_status); }; }; then
62925 ac_header_compiler=yes
62926 else
62927 echo "$as_me: failed program was:" >&5
62928 sed 's/^/| /' conftest.$ac_ext >&5
62930 ac_header_compiler=no
62932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62933 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62934 echo "${ECHO_T}$ac_header_compiler" >&6
62936 # Is the header present?
62937 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
62938 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
62939 cat >conftest.$ac_ext <<_ACEOF
62940 /* confdefs.h. */
62941 _ACEOF
62942 cat confdefs.h >>conftest.$ac_ext
62943 cat >>conftest.$ac_ext <<_ACEOF
62944 /* end confdefs.h. */
62945 #include <langinfo.h>
62946 _ACEOF
62947 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
62948 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
62949 ac_status=$?
62950 grep -v '^ *+' conftest.er1 >conftest.err
62951 rm -f conftest.er1
62952 cat conftest.err >&5
62953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62954 (exit $ac_status); } >/dev/null; then
62955 if test -s conftest.err; then
62956 ac_cpp_err=$ac_c_preproc_warn_flag
62957 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
62958 else
62959 ac_cpp_err=
62961 else
62962 ac_cpp_err=yes
62964 if test -z "$ac_cpp_err"; then
62965 ac_header_preproc=yes
62966 else
62967 echo "$as_me: failed program was:" >&5
62968 sed 's/^/| /' conftest.$ac_ext >&5
62970 ac_header_preproc=no
62972 rm -f conftest.err conftest.$ac_ext
62973 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62974 echo "${ECHO_T}$ac_header_preproc" >&6
62976 # So? What about this header?
62977 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
62978 yes:no: )
62979 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
62980 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
62981 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
62982 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
62983 ac_header_preproc=yes
62985 no:yes:* )
62986 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
62987 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
62988 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
62989 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
62990 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
62991 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
62992 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
62993 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
62994 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
62995 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
62996 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
62997 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
62999 cat <<\_ASBOX
63000 ## ----------------------------------------- ##
63001 ## Report this to the package-unused lists. ##
63002 ## ----------------------------------------- ##
63003 _ASBOX
63005 sed "s/^/$as_me: WARNING: /" >&2
63007 esac
63008 echo "$as_me:$LINENO: checking for langinfo.h" >&5
63009 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
63010 if test "${ac_cv_header_langinfo_h+set}" = set; then
63011 echo $ECHO_N "(cached) $ECHO_C" >&6
63012 else
63013 ac_cv_header_langinfo_h=$ac_header_preproc
63015 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
63016 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
63019 if test $ac_cv_header_langinfo_h = yes; then
63020 ac_has_langinfo_h=yes
63021 else
63022 ac_has_langinfo_h=no
63027 # Check for existence of libiconv.a providing XPG2 wchar_t support.
63028 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
63029 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
63030 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
63031 echo $ECHO_N "(cached) $ECHO_C" >&6
63032 else
63033 ac_check_lib_save_LIBS=$LIBS
63034 LIBS="-liconv $LIBS"
63035 if test x$gcc_no_link = xyes; then
63036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63038 { (exit 1); exit 1; }; }
63040 cat >conftest.$ac_ext <<_ACEOF
63041 /* confdefs.h. */
63042 _ACEOF
63043 cat confdefs.h >>conftest.$ac_ext
63044 cat >>conftest.$ac_ext <<_ACEOF
63045 /* end confdefs.h. */
63047 /* Override any gcc2 internal prototype to avoid an error. */
63048 #ifdef __cplusplus
63049 extern "C"
63050 #endif
63051 /* We use char because int might match the return type of a gcc2
63052 builtin and then its argument prototype would still apply. */
63053 char iconv ();
63055 main ()
63057 iconv ();
63059 return 0;
63061 _ACEOF
63062 rm -f conftest.$ac_objext conftest$ac_exeext
63063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63064 (eval $ac_link) 2>conftest.er1
63065 ac_status=$?
63066 grep -v '^ *+' conftest.er1 >conftest.err
63067 rm -f conftest.er1
63068 cat conftest.err >&5
63069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63070 (exit $ac_status); } &&
63071 { ac_try='test -z "$ac_c_werror_flag"
63072 || test ! -s conftest.err'
63073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63074 (eval $ac_try) 2>&5
63075 ac_status=$?
63076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63077 (exit $ac_status); }; } &&
63078 { ac_try='test -s conftest$ac_exeext'
63079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63080 (eval $ac_try) 2>&5
63081 ac_status=$?
63082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63083 (exit $ac_status); }; }; then
63084 ac_cv_lib_iconv_iconv=yes
63085 else
63086 echo "$as_me: failed program was:" >&5
63087 sed 's/^/| /' conftest.$ac_ext >&5
63089 ac_cv_lib_iconv_iconv=no
63091 rm -f conftest.err conftest.$ac_objext \
63092 conftest$ac_exeext conftest.$ac_ext
63093 LIBS=$ac_check_lib_save_LIBS
63095 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
63096 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
63097 if test $ac_cv_lib_iconv_iconv = yes; then
63098 LIBICONV="-liconv"
63101 ac_save_LIBS="$LIBS"
63102 LIBS="$LIBS $LIBICONV"
63109 for ac_func in iconv_open iconv_close iconv nl_langinfo
63111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63112 echo "$as_me:$LINENO: checking for $ac_func" >&5
63113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63114 if eval "test \"\${$as_ac_var+set}\" = set"; then
63115 echo $ECHO_N "(cached) $ECHO_C" >&6
63116 else
63117 if test x$gcc_no_link = xyes; then
63118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63120 { (exit 1); exit 1; }; }
63122 cat >conftest.$ac_ext <<_ACEOF
63123 /* confdefs.h. */
63124 _ACEOF
63125 cat confdefs.h >>conftest.$ac_ext
63126 cat >>conftest.$ac_ext <<_ACEOF
63127 /* end confdefs.h. */
63128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63130 #define $ac_func innocuous_$ac_func
63132 /* System header to define __stub macros and hopefully few prototypes,
63133 which can conflict with char $ac_func (); below.
63134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63135 <limits.h> exists even on freestanding compilers. */
63137 #ifdef __STDC__
63138 # include <limits.h>
63139 #else
63140 # include <assert.h>
63141 #endif
63143 #undef $ac_func
63145 /* Override any gcc2 internal prototype to avoid an error. */
63146 #ifdef __cplusplus
63147 extern "C"
63149 #endif
63150 /* We use char because int might match the return type of a gcc2
63151 builtin and then its argument prototype would still apply. */
63152 char $ac_func ();
63153 /* The GNU C library defines this for functions which it implements
63154 to always fail with ENOSYS. Some functions are actually named
63155 something starting with __ and the normal name is an alias. */
63156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63157 choke me
63158 #else
63159 char (*f) () = $ac_func;
63160 #endif
63161 #ifdef __cplusplus
63163 #endif
63166 main ()
63168 return f != $ac_func;
63170 return 0;
63172 _ACEOF
63173 rm -f conftest.$ac_objext conftest$ac_exeext
63174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63175 (eval $ac_link) 2>conftest.er1
63176 ac_status=$?
63177 grep -v '^ *+' conftest.er1 >conftest.err
63178 rm -f conftest.er1
63179 cat conftest.err >&5
63180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63181 (exit $ac_status); } &&
63182 { ac_try='test -z "$ac_c_werror_flag"
63183 || test ! -s conftest.err'
63184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63185 (eval $ac_try) 2>&5
63186 ac_status=$?
63187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63188 (exit $ac_status); }; } &&
63189 { ac_try='test -s conftest$ac_exeext'
63190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63191 (eval $ac_try) 2>&5
63192 ac_status=$?
63193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63194 (exit $ac_status); }; }; then
63195 eval "$as_ac_var=yes"
63196 else
63197 echo "$as_me: failed program was:" >&5
63198 sed 's/^/| /' conftest.$ac_ext >&5
63200 eval "$as_ac_var=no"
63202 rm -f conftest.err conftest.$ac_objext \
63203 conftest$ac_exeext conftest.$ac_ext
63205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63207 if test `eval echo '${'$as_ac_var'}'` = yes; then
63208 cat >>confdefs.h <<_ACEOF
63209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63210 _ACEOF
63211 ac_XPG2funcs=yes
63212 else
63213 ac_XPG2funcs=no
63215 done
63218 LIBS="$ac_save_LIBS"
63220 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
63221 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
63222 if test x"$ac_has_iconv_h" = xyes &&
63223 test x"$ac_has_langinfo_h" = xyes &&
63224 test x"$ac_XPG2funcs" = xyes;
63225 then
63226 ac_XPG2_wchar_t=yes
63227 else
63228 ac_XPG2_wchar_t=no
63230 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
63231 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
63233 # At the moment, only enable wchar_t specializations if all the
63234 # above support is present.
63235 if test x"$ac_isoC99_wchar_t" = xyes &&
63236 test x"$ac_XPG2_wchar_t" = xyes;
63237 then
63238 cat >>confdefs.h <<\_ACEOF
63239 #define _GLIBCXX_USE_WCHAR_T 1
63240 _ACEOF
63242 enable_wchar_t=yes
63245 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
63246 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
63247 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
63248 echo "${ECHO_T}$enable_wchar_t" >&6
63251 *-netbsd*)
63264 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
63265 machine/endian.h machine/param.h sys/machine.h sys/types.h \
63266 fp.h locale.h float.h inttypes.h
63268 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
63269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63270 echo "$as_me:$LINENO: checking for $ac_header" >&5
63271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63272 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63273 echo $ECHO_N "(cached) $ECHO_C" >&6
63275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63276 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63277 else
63278 # Is the header compilable?
63279 echo "$as_me:$LINENO: checking $ac_header usability" >&5
63280 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
63288 #include <$ac_header>
63289 _ACEOF
63290 rm -f conftest.$ac_objext
63291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63292 (eval $ac_compile) 2>conftest.er1
63293 ac_status=$?
63294 grep -v '^ *+' conftest.er1 >conftest.err
63295 rm -f conftest.er1
63296 cat conftest.err >&5
63297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63298 (exit $ac_status); } &&
63299 { ac_try='test -z "$ac_c_werror_flag"
63300 || test ! -s conftest.err'
63301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63302 (eval $ac_try) 2>&5
63303 ac_status=$?
63304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63305 (exit $ac_status); }; } &&
63306 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
63312 ac_header_compiler=yes
63313 else
63314 echo "$as_me: failed program was:" >&5
63315 sed 's/^/| /' conftest.$ac_ext >&5
63317 ac_header_compiler=no
63319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63320 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
63321 echo "${ECHO_T}$ac_header_compiler" >&6
63323 # Is the header present?
63324 echo "$as_me:$LINENO: checking $ac_header presence" >&5
63325 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
63326 cat >conftest.$ac_ext <<_ACEOF
63327 /* confdefs.h. */
63328 _ACEOF
63329 cat confdefs.h >>conftest.$ac_ext
63330 cat >>conftest.$ac_ext <<_ACEOF
63331 /* end confdefs.h. */
63332 #include <$ac_header>
63333 _ACEOF
63334 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
63335 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
63336 ac_status=$?
63337 grep -v '^ *+' conftest.er1 >conftest.err
63338 rm -f conftest.er1
63339 cat conftest.err >&5
63340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63341 (exit $ac_status); } >/dev/null; then
63342 if test -s conftest.err; then
63343 ac_cpp_err=$ac_c_preproc_warn_flag
63344 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
63345 else
63346 ac_cpp_err=
63348 else
63349 ac_cpp_err=yes
63351 if test -z "$ac_cpp_err"; then
63352 ac_header_preproc=yes
63353 else
63354 echo "$as_me: failed program was:" >&5
63355 sed 's/^/| /' conftest.$ac_ext >&5
63357 ac_header_preproc=no
63359 rm -f conftest.err conftest.$ac_ext
63360 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63361 echo "${ECHO_T}$ac_header_preproc" >&6
63363 # So? What about this header?
63364 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
63365 yes:no: )
63366 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
63367 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
63368 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
63369 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
63370 ac_header_preproc=yes
63372 no:yes:* )
63373 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
63374 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
63375 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
63376 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
63377 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
63378 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
63379 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
63380 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
63381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
63382 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
63383 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
63384 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
63386 cat <<\_ASBOX
63387 ## ----------------------------------------- ##
63388 ## Report this to the package-unused lists. ##
63389 ## ----------------------------------------- ##
63390 _ASBOX
63392 sed "s/^/$as_me: WARNING: /" >&2
63394 esac
63395 echo "$as_me:$LINENO: checking for $ac_header" >&5
63396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63398 echo $ECHO_N "(cached) $ECHO_C" >&6
63399 else
63400 eval "$as_ac_Header=\$ac_header_preproc"
63402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63406 if test `eval echo '${'$as_ac_Header'}'` = yes; then
63407 cat >>confdefs.h <<_ACEOF
63408 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
63409 _ACEOF
63413 done
63415 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63418 # If we're not using GNU ld, then there's no point in even trying these
63419 # tests. Check for that first. We should have already tested for gld
63420 # by now (in libtool), but require it now just to be safe...
63421 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63422 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63426 # The name set by libtool depends on the version of libtool. Shame on us
63427 # for depending on an impl detail, but c'est la vie. Older versions used
63428 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63429 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63430 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63431 # set (hence we're using an older libtool), then set it.
63432 if test x${with_gnu_ld+set} != xset; then
63433 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63434 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63435 with_gnu_ld=no
63436 else
63437 with_gnu_ld=$ac_cv_prog_gnu_ld
63441 # Start by getting the version number. I think the libtool test already
63442 # does some of this, but throws away the result.
63444 ldver=`$LD --version 2>/dev/null | head -1 | \
63445 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
63447 glibcxx_gnu_ld_version=`echo $ldver | \
63448 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63450 # Set --gc-sections.
63451 if test "$with_gnu_ld" = "notbroken"; then
63452 # GNU ld it is! Joy and bunny rabbits!
63454 # All these tests are for C++; save the language and the compiler flags.
63455 # Need to do this so that g++ won't try to link in libstdc++
63456 ac_test_CFLAGS="${CFLAGS+set}"
63457 ac_save_CFLAGS="$CFLAGS"
63458 CFLAGS='-x c++ -Wl,--gc-sections'
63460 # Check for -Wl,--gc-sections
63461 # XXX This test is broken at the moment, as symbols required for linking
63462 # are now in libsupc++ (not built yet). In addition, this test has
63463 # cored on solaris in the past. In addition, --gc-sections doesn't
63464 # really work at the moment (keeps on discarding used sections, first
63465 # .eh_frame and now some of the glibc sections for iconv).
63466 # Bzzzzt. Thanks for playing, maybe next time.
63467 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
63468 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
63469 if test "$cross_compiling" = yes; then
63470 ac_sectionLDflags=yes
63471 else
63472 cat >conftest.$ac_ext <<_ACEOF
63473 /* confdefs.h. */
63474 _ACEOF
63475 cat confdefs.h >>conftest.$ac_ext
63476 cat >>conftest.$ac_ext <<_ACEOF
63477 /* end confdefs.h. */
63479 int main(void)
63481 try { throw 1; }
63482 catch (...) { };
63483 return 0;
63486 _ACEOF
63487 rm -f conftest$ac_exeext
63488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63489 (eval $ac_link) 2>&5
63490 ac_status=$?
63491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63492 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
63493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63494 (eval $ac_try) 2>&5
63495 ac_status=$?
63496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63497 (exit $ac_status); }; }; then
63498 ac_sectionLDflags=yes
63499 else
63500 echo "$as_me: program exited with status $ac_status" >&5
63501 echo "$as_me: failed program was:" >&5
63502 sed 's/^/| /' conftest.$ac_ext >&5
63504 ( exit $ac_status )
63505 ac_sectionLDflags=no
63507 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
63509 if test "$ac_test_CFLAGS" = set; then
63510 CFLAGS="$ac_save_CFLAGS"
63511 else
63512 # this is the suspicious part
63513 CFLAGS=''
63515 if test "$ac_sectionLDflags" = "yes"; then
63516 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63518 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
63519 echo "${ECHO_T}$ac_sectionLDflags" >&6
63522 # Set linker optimization flags.
63523 if test x"$with_gnu_ld" = x"yes"; then
63524 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63532 echo "$as_me:$LINENO: checking for main in -lm" >&5
63533 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
63534 if test "${ac_cv_lib_m_main+set}" = set; then
63535 echo $ECHO_N "(cached) $ECHO_C" >&6
63536 else
63537 ac_check_lib_save_LIBS=$LIBS
63538 LIBS="-lm $LIBS"
63539 if test x$gcc_no_link = xyes; then
63540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63542 { (exit 1); exit 1; }; }
63544 cat >conftest.$ac_ext <<_ACEOF
63545 /* confdefs.h. */
63546 _ACEOF
63547 cat confdefs.h >>conftest.$ac_ext
63548 cat >>conftest.$ac_ext <<_ACEOF
63549 /* end confdefs.h. */
63553 main ()
63555 main ();
63557 return 0;
63559 _ACEOF
63560 rm -f conftest.$ac_objext conftest$ac_exeext
63561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63562 (eval $ac_link) 2>conftest.er1
63563 ac_status=$?
63564 grep -v '^ *+' conftest.er1 >conftest.err
63565 rm -f conftest.er1
63566 cat conftest.err >&5
63567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63568 (exit $ac_status); } &&
63569 { ac_try='test -z "$ac_c_werror_flag"
63570 || test ! -s conftest.err'
63571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63572 (eval $ac_try) 2>&5
63573 ac_status=$?
63574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63575 (exit $ac_status); }; } &&
63576 { ac_try='test -s conftest$ac_exeext'
63577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63578 (eval $ac_try) 2>&5
63579 ac_status=$?
63580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63581 (exit $ac_status); }; }; then
63582 ac_cv_lib_m_main=yes
63583 else
63584 echo "$as_me: failed program was:" >&5
63585 sed 's/^/| /' conftest.$ac_ext >&5
63587 ac_cv_lib_m_main=no
63589 rm -f conftest.err conftest.$ac_objext \
63590 conftest$ac_exeext conftest.$ac_ext
63591 LIBS=$ac_check_lib_save_LIBS
63593 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
63594 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
63595 if test $ac_cv_lib_m_main = yes; then
63596 cat >>confdefs.h <<_ACEOF
63597 #define HAVE_LIBM 1
63598 _ACEOF
63600 LIBS="-lm $LIBS"
63605 for ac_func in copysignf
63607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63608 echo "$as_me:$LINENO: checking for $ac_func" >&5
63609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63610 if eval "test \"\${$as_ac_var+set}\" = set"; then
63611 echo $ECHO_N "(cached) $ECHO_C" >&6
63612 else
63613 if test x$gcc_no_link = xyes; then
63614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63616 { (exit 1); exit 1; }; }
63618 cat >conftest.$ac_ext <<_ACEOF
63619 /* confdefs.h. */
63620 _ACEOF
63621 cat confdefs.h >>conftest.$ac_ext
63622 cat >>conftest.$ac_ext <<_ACEOF
63623 /* end confdefs.h. */
63624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63626 #define $ac_func innocuous_$ac_func
63628 /* System header to define __stub macros and hopefully few prototypes,
63629 which can conflict with char $ac_func (); below.
63630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63631 <limits.h> exists even on freestanding compilers. */
63633 #ifdef __STDC__
63634 # include <limits.h>
63635 #else
63636 # include <assert.h>
63637 #endif
63639 #undef $ac_func
63641 /* Override any gcc2 internal prototype to avoid an error. */
63642 #ifdef __cplusplus
63643 extern "C"
63645 #endif
63646 /* We use char because int might match the return type of a gcc2
63647 builtin and then its argument prototype would still apply. */
63648 char $ac_func ();
63649 /* The GNU C library defines this for functions which it implements
63650 to always fail with ENOSYS. Some functions are actually named
63651 something starting with __ and the normal name is an alias. */
63652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63653 choke me
63654 #else
63655 char (*f) () = $ac_func;
63656 #endif
63657 #ifdef __cplusplus
63659 #endif
63662 main ()
63664 return f != $ac_func;
63666 return 0;
63668 _ACEOF
63669 rm -f conftest.$ac_objext conftest$ac_exeext
63670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63671 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
63692 else
63693 echo "$as_me: failed program was:" >&5
63694 sed 's/^/| /' conftest.$ac_ext >&5
63696 eval "$as_ac_var=no"
63698 rm -f conftest.err conftest.$ac_objext \
63699 conftest$ac_exeext conftest.$ac_ext
63701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63703 if test `eval echo '${'$as_ac_var'}'` = yes; then
63704 cat >>confdefs.h <<_ACEOF
63705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63706 _ACEOF
63708 else
63709 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
63711 done
63715 for ac_func in __signbit
63717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63718 echo "$as_me:$LINENO: checking for $ac_func" >&5
63719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63720 if eval "test \"\${$as_ac_var+set}\" = set"; then
63721 echo $ECHO_N "(cached) $ECHO_C" >&6
63722 else
63723 if test x$gcc_no_link = xyes; then
63724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63726 { (exit 1); exit 1; }; }
63728 cat >conftest.$ac_ext <<_ACEOF
63729 /* confdefs.h. */
63730 _ACEOF
63731 cat confdefs.h >>conftest.$ac_ext
63732 cat >>conftest.$ac_ext <<_ACEOF
63733 /* end confdefs.h. */
63734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63736 #define $ac_func innocuous_$ac_func
63738 /* System header to define __stub macros and hopefully few prototypes,
63739 which can conflict with char $ac_func (); below.
63740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63741 <limits.h> exists even on freestanding compilers. */
63743 #ifdef __STDC__
63744 # include <limits.h>
63745 #else
63746 # include <assert.h>
63747 #endif
63749 #undef $ac_func
63751 /* Override any gcc2 internal prototype to avoid an error. */
63752 #ifdef __cplusplus
63753 extern "C"
63755 #endif
63756 /* We use char because int might match the return type of a gcc2
63757 builtin and then its argument prototype would still apply. */
63758 char $ac_func ();
63759 /* The GNU C library defines this for functions which it implements
63760 to always fail with ENOSYS. Some functions are actually named
63761 something starting with __ and the normal name is an alias. */
63762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63763 choke me
63764 #else
63765 char (*f) () = $ac_func;
63766 #endif
63767 #ifdef __cplusplus
63769 #endif
63772 main ()
63774 return f != $ac_func;
63776 return 0;
63778 _ACEOF
63779 rm -f conftest.$ac_objext conftest$ac_exeext
63780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63781 (eval $ac_link) 2>conftest.er1
63782 ac_status=$?
63783 grep -v '^ *+' conftest.er1 >conftest.err
63784 rm -f conftest.er1
63785 cat conftest.err >&5
63786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63787 (exit $ac_status); } &&
63788 { ac_try='test -z "$ac_c_werror_flag"
63789 || test ! -s conftest.err'
63790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63791 (eval $ac_try) 2>&5
63792 ac_status=$?
63793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63794 (exit $ac_status); }; } &&
63795 { ac_try='test -s conftest$ac_exeext'
63796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63797 (eval $ac_try) 2>&5
63798 ac_status=$?
63799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63800 (exit $ac_status); }; }; then
63801 eval "$as_ac_var=yes"
63802 else
63803 echo "$as_me: failed program was:" >&5
63804 sed 's/^/| /' conftest.$ac_ext >&5
63806 eval "$as_ac_var=no"
63808 rm -f conftest.err conftest.$ac_objext \
63809 conftest$ac_exeext conftest.$ac_ext
63811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63813 if test `eval echo '${'$as_ac_var'}'` = yes; then
63814 cat >>confdefs.h <<_ACEOF
63815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63816 _ACEOF
63818 else
63819 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
63821 done
63824 for ac_func in __signbitf
63826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63827 echo "$as_me:$LINENO: checking for $ac_func" >&5
63828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63829 if eval "test \"\${$as_ac_var+set}\" = set"; then
63830 echo $ECHO_N "(cached) $ECHO_C" >&6
63831 else
63832 if test x$gcc_no_link = xyes; then
63833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63835 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63845 #define $ac_func innocuous_$ac_func
63847 /* System header to define __stub macros and hopefully few prototypes,
63848 which can conflict with char $ac_func (); below.
63849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63850 <limits.h> exists even on freestanding compilers. */
63852 #ifdef __STDC__
63853 # include <limits.h>
63854 #else
63855 # include <assert.h>
63856 #endif
63858 #undef $ac_func
63860 /* Override any gcc2 internal prototype to avoid an error. */
63861 #ifdef __cplusplus
63862 extern "C"
63864 #endif
63865 /* We use char because int might match the return type of a gcc2
63866 builtin and then its argument prototype would still apply. */
63867 char $ac_func ();
63868 /* The GNU C library defines this for functions which it implements
63869 to always fail with ENOSYS. Some functions are actually named
63870 something starting with __ and the normal name is an alias. */
63871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63872 choke me
63873 #else
63874 char (*f) () = $ac_func;
63875 #endif
63876 #ifdef __cplusplus
63878 #endif
63881 main ()
63883 return f != $ac_func;
63885 return 0;
63887 _ACEOF
63888 rm -f conftest.$ac_objext conftest$ac_exeext
63889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63890 (eval $ac_link) 2>conftest.er1
63891 ac_status=$?
63892 grep -v '^ *+' conftest.er1 >conftest.err
63893 rm -f conftest.er1
63894 cat conftest.err >&5
63895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63896 (exit $ac_status); } &&
63897 { ac_try='test -z "$ac_c_werror_flag"
63898 || test ! -s conftest.err'
63899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63900 (eval $ac_try) 2>&5
63901 ac_status=$?
63902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63903 (exit $ac_status); }; } &&
63904 { ac_try='test -s conftest$ac_exeext'
63905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63906 (eval $ac_try) 2>&5
63907 ac_status=$?
63908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63909 (exit $ac_status); }; }; then
63910 eval "$as_ac_var=yes"
63911 else
63912 echo "$as_me: failed program was:" >&5
63913 sed 's/^/| /' conftest.$ac_ext >&5
63915 eval "$as_ac_var=no"
63917 rm -f conftest.err conftest.$ac_objext \
63918 conftest$ac_exeext conftest.$ac_ext
63920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63922 if test `eval echo '${'$as_ac_var'}'` = yes; then
63923 cat >>confdefs.h <<_ACEOF
63924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63925 _ACEOF
63927 else
63928 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
63930 done
63933 if test x$ac_cv_func_copysignl = x"yes"; then
63935 for ac_func in __signbitl
63937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63938 echo "$as_me:$LINENO: checking for $ac_func" >&5
63939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63940 if eval "test \"\${$as_ac_var+set}\" = set"; then
63941 echo $ECHO_N "(cached) $ECHO_C" >&6
63942 else
63943 if test x$gcc_no_link = xyes; then
63944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63946 { (exit 1); exit 1; }; }
63948 cat >conftest.$ac_ext <<_ACEOF
63949 /* confdefs.h. */
63950 _ACEOF
63951 cat confdefs.h >>conftest.$ac_ext
63952 cat >>conftest.$ac_ext <<_ACEOF
63953 /* end confdefs.h. */
63954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63956 #define $ac_func innocuous_$ac_func
63958 /* System header to define __stub macros and hopefully few prototypes,
63959 which can conflict with char $ac_func (); below.
63960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63961 <limits.h> exists even on freestanding compilers. */
63963 #ifdef __STDC__
63964 # include <limits.h>
63965 #else
63966 # include <assert.h>
63967 #endif
63969 #undef $ac_func
63971 /* Override any gcc2 internal prototype to avoid an error. */
63972 #ifdef __cplusplus
63973 extern "C"
63975 #endif
63976 /* We use char because int might match the return type of a gcc2
63977 builtin and then its argument prototype would still apply. */
63978 char $ac_func ();
63979 /* The GNU C library defines this for functions which it implements
63980 to always fail with ENOSYS. Some functions are actually named
63981 something starting with __ and the normal name is an alias. */
63982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63983 choke me
63984 #else
63985 char (*f) () = $ac_func;
63986 #endif
63987 #ifdef __cplusplus
63989 #endif
63992 main ()
63994 return f != $ac_func;
63996 return 0;
63998 _ACEOF
63999 rm -f conftest.$ac_objext conftest$ac_exeext
64000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64001 (eval $ac_link) 2>conftest.er1
64002 ac_status=$?
64003 grep -v '^ *+' conftest.er1 >conftest.err
64004 rm -f conftest.er1
64005 cat conftest.err >&5
64006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64007 (exit $ac_status); } &&
64008 { ac_try='test -z "$ac_c_werror_flag"
64009 || test ! -s conftest.err'
64010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64011 (eval $ac_try) 2>&5
64012 ac_status=$?
64013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64014 (exit $ac_status); }; } &&
64015 { ac_try='test -s conftest$ac_exeext'
64016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64017 (eval $ac_try) 2>&5
64018 ac_status=$?
64019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64020 (exit $ac_status); }; }; then
64021 eval "$as_ac_var=yes"
64022 else
64023 echo "$as_me: failed program was:" >&5
64024 sed 's/^/| /' conftest.$ac_ext >&5
64026 eval "$as_ac_var=no"
64028 rm -f conftest.err conftest.$ac_objext \
64029 conftest$ac_exeext conftest.$ac_ext
64031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64033 if test `eval echo '${'$as_ac_var'}'` = yes; then
64034 cat >>confdefs.h <<_ACEOF
64035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64036 _ACEOF
64038 else
64039 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
64041 done
64045 # XXX Review this. Nothing uses it.
64046 if test -n "$LIBMATHOBJS"; then
64047 need_libmath=yes
64052 # Test wchar.h for mbstate_t, which is needed for char_traits and
64053 # others even if wchar_t support is not on.
64054 echo "$as_me:$LINENO: checking for mbstate_t" >&5
64055 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
64056 cat >conftest.$ac_ext <<_ACEOF
64057 /* confdefs.h. */
64058 _ACEOF
64059 cat confdefs.h >>conftest.$ac_ext
64060 cat >>conftest.$ac_ext <<_ACEOF
64061 /* end confdefs.h. */
64062 #include <wchar.h>
64064 main ()
64066 mbstate_t teststate;
64068 return 0;
64070 _ACEOF
64071 rm -f conftest.$ac_objext
64072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64073 (eval $ac_compile) 2>conftest.er1
64074 ac_status=$?
64075 grep -v '^ *+' conftest.er1 >conftest.err
64076 rm -f conftest.er1
64077 cat conftest.err >&5
64078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64079 (exit $ac_status); } &&
64080 { ac_try='test -z "$ac_c_werror_flag"
64081 || test ! -s conftest.err'
64082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64083 (eval $ac_try) 2>&5
64084 ac_status=$?
64085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64086 (exit $ac_status); }; } &&
64087 { ac_try='test -s conftest.$ac_objext'
64088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64089 (eval $ac_try) 2>&5
64090 ac_status=$?
64091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64092 (exit $ac_status); }; }; then
64093 have_mbstate_t=yes
64094 else
64095 echo "$as_me: failed program was:" >&5
64096 sed 's/^/| /' conftest.$ac_ext >&5
64098 have_mbstate_t=no
64100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64101 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
64102 echo "${ECHO_T}$have_mbstate_t" >&6
64103 if test x"$have_mbstate_t" = xyes; then
64104 cat >>confdefs.h <<\_ACEOF
64105 #define HAVE_MBSTATE_T 1
64106 _ACEOF
64110 # Sanity check for existence of ISO C99 headers for extended encoding.
64112 for ac_header in wchar.h
64114 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
64115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64116 echo "$as_me:$LINENO: checking for $ac_header" >&5
64117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64119 echo $ECHO_N "(cached) $ECHO_C" >&6
64121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64122 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64123 else
64124 # Is the header compilable?
64125 echo "$as_me:$LINENO: checking $ac_header usability" >&5
64126 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
64127 cat >conftest.$ac_ext <<_ACEOF
64128 /* confdefs.h. */
64129 _ACEOF
64130 cat confdefs.h >>conftest.$ac_ext
64131 cat >>conftest.$ac_ext <<_ACEOF
64132 /* end confdefs.h. */
64133 $ac_includes_default
64134 #include <$ac_header>
64135 _ACEOF
64136 rm -f conftest.$ac_objext
64137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64138 (eval $ac_compile) 2>conftest.er1
64139 ac_status=$?
64140 grep -v '^ *+' conftest.er1 >conftest.err
64141 rm -f conftest.er1
64142 cat conftest.err >&5
64143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64144 (exit $ac_status); } &&
64145 { ac_try='test -z "$ac_c_werror_flag"
64146 || test ! -s conftest.err'
64147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64148 (eval $ac_try) 2>&5
64149 ac_status=$?
64150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64151 (exit $ac_status); }; } &&
64152 { ac_try='test -s conftest.$ac_objext'
64153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64154 (eval $ac_try) 2>&5
64155 ac_status=$?
64156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64157 (exit $ac_status); }; }; then
64158 ac_header_compiler=yes
64159 else
64160 echo "$as_me: failed program was:" >&5
64161 sed 's/^/| /' conftest.$ac_ext >&5
64163 ac_header_compiler=no
64165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64166 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64167 echo "${ECHO_T}$ac_header_compiler" >&6
64169 # Is the header present?
64170 echo "$as_me:$LINENO: checking $ac_header presence" >&5
64171 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
64172 cat >conftest.$ac_ext <<_ACEOF
64173 /* confdefs.h. */
64174 _ACEOF
64175 cat confdefs.h >>conftest.$ac_ext
64176 cat >>conftest.$ac_ext <<_ACEOF
64177 /* end confdefs.h. */
64178 #include <$ac_header>
64179 _ACEOF
64180 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64181 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64182 ac_status=$?
64183 grep -v '^ *+' conftest.er1 >conftest.err
64184 rm -f conftest.er1
64185 cat conftest.err >&5
64186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64187 (exit $ac_status); } >/dev/null; then
64188 if test -s conftest.err; then
64189 ac_cpp_err=$ac_c_preproc_warn_flag
64190 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64191 else
64192 ac_cpp_err=
64194 else
64195 ac_cpp_err=yes
64197 if test -z "$ac_cpp_err"; then
64198 ac_header_preproc=yes
64199 else
64200 echo "$as_me: failed program was:" >&5
64201 sed 's/^/| /' conftest.$ac_ext >&5
64203 ac_header_preproc=no
64205 rm -f conftest.err conftest.$ac_ext
64206 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64207 echo "${ECHO_T}$ac_header_preproc" >&6
64209 # So? What about this header?
64210 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64211 yes:no: )
64212 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
64213 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
64214 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
64215 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
64216 ac_header_preproc=yes
64218 no:yes:* )
64219 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
64220 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
64221 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
64222 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
64223 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
64224 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
64225 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
64226 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
64227 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
64228 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
64229 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
64230 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
64232 cat <<\_ASBOX
64233 ## ----------------------------------------- ##
64234 ## Report this to the package-unused lists. ##
64235 ## ----------------------------------------- ##
64236 _ASBOX
64238 sed "s/^/$as_me: WARNING: /" >&2
64240 esac
64241 echo "$as_me:$LINENO: checking for $ac_header" >&5
64242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64244 echo $ECHO_N "(cached) $ECHO_C" >&6
64245 else
64246 eval "$as_ac_Header=\$ac_header_preproc"
64248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64249 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64252 if test `eval echo '${'$as_ac_Header'}'` = yes; then
64253 cat >>confdefs.h <<_ACEOF
64254 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
64255 _ACEOF
64256 ac_has_wchar_h=yes
64257 else
64258 ac_has_wchar_h=no
64261 done
64264 for ac_header in wctype.h
64266 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
64267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64268 echo "$as_me:$LINENO: checking for $ac_header" >&5
64269 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64271 echo $ECHO_N "(cached) $ECHO_C" >&6
64273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64274 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64275 else
64276 # Is the header compilable?
64277 echo "$as_me:$LINENO: checking $ac_header usability" >&5
64278 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
64279 cat >conftest.$ac_ext <<_ACEOF
64280 /* confdefs.h. */
64281 _ACEOF
64282 cat confdefs.h >>conftest.$ac_ext
64283 cat >>conftest.$ac_ext <<_ACEOF
64284 /* end confdefs.h. */
64285 $ac_includes_default
64286 #include <$ac_header>
64287 _ACEOF
64288 rm -f conftest.$ac_objext
64289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64290 (eval $ac_compile) 2>conftest.er1
64291 ac_status=$?
64292 grep -v '^ *+' conftest.er1 >conftest.err
64293 rm -f conftest.er1
64294 cat conftest.err >&5
64295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64296 (exit $ac_status); } &&
64297 { ac_try='test -z "$ac_c_werror_flag"
64298 || test ! -s conftest.err'
64299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64300 (eval $ac_try) 2>&5
64301 ac_status=$?
64302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64303 (exit $ac_status); }; } &&
64304 { ac_try='test -s conftest.$ac_objext'
64305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64306 (eval $ac_try) 2>&5
64307 ac_status=$?
64308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64309 (exit $ac_status); }; }; then
64310 ac_header_compiler=yes
64311 else
64312 echo "$as_me: failed program was:" >&5
64313 sed 's/^/| /' conftest.$ac_ext >&5
64315 ac_header_compiler=no
64317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64318 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64319 echo "${ECHO_T}$ac_header_compiler" >&6
64321 # Is the header present?
64322 echo "$as_me:$LINENO: checking $ac_header presence" >&5
64323 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
64324 cat >conftest.$ac_ext <<_ACEOF
64325 /* confdefs.h. */
64326 _ACEOF
64327 cat confdefs.h >>conftest.$ac_ext
64328 cat >>conftest.$ac_ext <<_ACEOF
64329 /* end confdefs.h. */
64330 #include <$ac_header>
64331 _ACEOF
64332 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64333 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64334 ac_status=$?
64335 grep -v '^ *+' conftest.er1 >conftest.err
64336 rm -f conftest.er1
64337 cat conftest.err >&5
64338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64339 (exit $ac_status); } >/dev/null; then
64340 if test -s conftest.err; then
64341 ac_cpp_err=$ac_c_preproc_warn_flag
64342 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64343 else
64344 ac_cpp_err=
64346 else
64347 ac_cpp_err=yes
64349 if test -z "$ac_cpp_err"; then
64350 ac_header_preproc=yes
64351 else
64352 echo "$as_me: failed program was:" >&5
64353 sed 's/^/| /' conftest.$ac_ext >&5
64355 ac_header_preproc=no
64357 rm -f conftest.err conftest.$ac_ext
64358 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64359 echo "${ECHO_T}$ac_header_preproc" >&6
64361 # So? What about this header?
64362 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64363 yes:no: )
64364 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
64365 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
64366 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
64367 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
64368 ac_header_preproc=yes
64370 no:yes:* )
64371 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
64372 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
64373 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
64374 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
64375 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
64376 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
64377 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
64378 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
64379 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
64380 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
64381 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
64382 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
64384 cat <<\_ASBOX
64385 ## ----------------------------------------- ##
64386 ## Report this to the package-unused lists. ##
64387 ## ----------------------------------------- ##
64388 _ASBOX
64390 sed "s/^/$as_me: WARNING: /" >&2
64392 esac
64393 echo "$as_me:$LINENO: checking for $ac_header" >&5
64394 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64395 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64396 echo $ECHO_N "(cached) $ECHO_C" >&6
64397 else
64398 eval "$as_ac_Header=\$ac_header_preproc"
64400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64401 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64404 if test `eval echo '${'$as_ac_Header'}'` = yes; then
64405 cat >>confdefs.h <<_ACEOF
64406 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
64407 _ACEOF
64408 ac_has_wctype_h=yes
64409 else
64410 ac_has_wctype_h=no
64413 done
64416 # Only continue checking if the ISO C99 headers exist and support is on.
64417 if test x"$ac_has_wchar_h" = xyes &&
64418 test x"$ac_has_wctype_h" = xyes &&
64419 test x"$enable_c_mbchar" != xno; then
64421 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
64422 # numeric_limits can instantiate type_traits<wchar_t>
64423 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
64424 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
64425 cat >conftest.$ac_ext <<_ACEOF
64426 /* confdefs.h. */
64427 _ACEOF
64428 cat confdefs.h >>conftest.$ac_ext
64429 cat >>conftest.$ac_ext <<_ACEOF
64430 /* end confdefs.h. */
64431 #include <wchar.h>
64433 main ()
64435 int i = WCHAR_MIN; int j = WCHAR_MAX;
64437 return 0;
64439 _ACEOF
64440 rm -f conftest.$ac_objext
64441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64442 (eval $ac_compile) 2>conftest.er1
64443 ac_status=$?
64444 grep -v '^ *+' conftest.er1 >conftest.err
64445 rm -f conftest.er1
64446 cat conftest.err >&5
64447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64448 (exit $ac_status); } &&
64449 { ac_try='test -z "$ac_c_werror_flag"
64450 || test ! -s conftest.err'
64451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64452 (eval $ac_try) 2>&5
64453 ac_status=$?
64454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64455 (exit $ac_status); }; } &&
64456 { ac_try='test -s conftest.$ac_objext'
64457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64458 (eval $ac_try) 2>&5
64459 ac_status=$?
64460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64461 (exit $ac_status); }; }; then
64462 has_wchar_minmax=yes
64463 else
64464 echo "$as_me: failed program was:" >&5
64465 sed 's/^/| /' conftest.$ac_ext >&5
64467 has_wchar_minmax=no
64469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64470 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
64471 echo "${ECHO_T}$has_wchar_minmax" >&6
64473 # Test wchar.h for WEOF, which is what we use to determine whether
64474 # to specialize for char_traits<wchar_t> or not.
64475 echo "$as_me:$LINENO: checking for WEOF" >&5
64476 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
64477 cat >conftest.$ac_ext <<_ACEOF
64478 /* confdefs.h. */
64479 _ACEOF
64480 cat confdefs.h >>conftest.$ac_ext
64481 cat >>conftest.$ac_ext <<_ACEOF
64482 /* end confdefs.h. */
64484 #include <wchar.h>
64485 #include <stddef.h>
64487 main ()
64489 wint_t i = WEOF;
64491 return 0;
64493 _ACEOF
64494 rm -f conftest.$ac_objext
64495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64496 (eval $ac_compile) 2>conftest.er1
64497 ac_status=$?
64498 grep -v '^ *+' conftest.er1 >conftest.err
64499 rm -f conftest.er1
64500 cat conftest.err >&5
64501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64502 (exit $ac_status); } &&
64503 { ac_try='test -z "$ac_c_werror_flag"
64504 || test ! -s conftest.err'
64505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64506 (eval $ac_try) 2>&5
64507 ac_status=$?
64508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64509 (exit $ac_status); }; } &&
64510 { ac_try='test -s conftest.$ac_objext'
64511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64512 (eval $ac_try) 2>&5
64513 ac_status=$?
64514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64515 (exit $ac_status); }; }; then
64516 has_weof=yes
64517 else
64518 echo "$as_me: failed program was:" >&5
64519 sed 's/^/| /' conftest.$ac_ext >&5
64521 has_weof=no
64523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64524 echo "$as_me:$LINENO: result: $has_weof" >&5
64525 echo "${ECHO_T}$has_weof" >&6
64527 # Tests for wide character functions used in char_traits<wchar_t>.
64528 ac_wfuncs=yes
64535 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
64537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64538 echo "$as_me:$LINENO: checking for $ac_func" >&5
64539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64540 if eval "test \"\${$as_ac_var+set}\" = set"; then
64541 echo $ECHO_N "(cached) $ECHO_C" >&6
64542 else
64543 if test x$gcc_no_link = xyes; then
64544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64546 { (exit 1); exit 1; }; }
64548 cat >conftest.$ac_ext <<_ACEOF
64549 /* confdefs.h. */
64550 _ACEOF
64551 cat confdefs.h >>conftest.$ac_ext
64552 cat >>conftest.$ac_ext <<_ACEOF
64553 /* end confdefs.h. */
64554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64556 #define $ac_func innocuous_$ac_func
64558 /* System header to define __stub macros and hopefully few prototypes,
64559 which can conflict with char $ac_func (); below.
64560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64561 <limits.h> exists even on freestanding compilers. */
64563 #ifdef __STDC__
64564 # include <limits.h>
64565 #else
64566 # include <assert.h>
64567 #endif
64569 #undef $ac_func
64571 /* Override any gcc2 internal prototype to avoid an error. */
64572 #ifdef __cplusplus
64573 extern "C"
64575 #endif
64576 /* We use char because int might match the return type of a gcc2
64577 builtin and then its argument prototype would still apply. */
64578 char $ac_func ();
64579 /* The GNU C library defines this for functions which it implements
64580 to always fail with ENOSYS. Some functions are actually named
64581 something starting with __ and the normal name is an alias. */
64582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64583 choke me
64584 #else
64585 char (*f) () = $ac_func;
64586 #endif
64587 #ifdef __cplusplus
64589 #endif
64592 main ()
64594 return f != $ac_func;
64596 return 0;
64598 _ACEOF
64599 rm -f conftest.$ac_objext conftest$ac_exeext
64600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64601 (eval $ac_link) 2>conftest.er1
64602 ac_status=$?
64603 grep -v '^ *+' conftest.er1 >conftest.err
64604 rm -f conftest.er1
64605 cat conftest.err >&5
64606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64607 (exit $ac_status); } &&
64608 { ac_try='test -z "$ac_c_werror_flag"
64609 || test ! -s conftest.err'
64610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64611 (eval $ac_try) 2>&5
64612 ac_status=$?
64613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64614 (exit $ac_status); }; } &&
64615 { ac_try='test -s conftest$ac_exeext'
64616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64617 (eval $ac_try) 2>&5
64618 ac_status=$?
64619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64620 (exit $ac_status); }; }; then
64621 eval "$as_ac_var=yes"
64622 else
64623 echo "$as_me: failed program was:" >&5
64624 sed 's/^/| /' conftest.$ac_ext >&5
64626 eval "$as_ac_var=no"
64628 rm -f conftest.err conftest.$ac_objext \
64629 conftest$ac_exeext conftest.$ac_ext
64631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64633 if test `eval echo '${'$as_ac_var'}'` = yes; then
64634 cat >>confdefs.h <<_ACEOF
64635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64636 _ACEOF
64638 else
64639 ac_wfuncs=no
64641 done
64644 # Checks for names injected into std:: by the c_std headers.
64691 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
64692 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
64693 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
64694 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
64695 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
64696 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
64698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64699 echo "$as_me:$LINENO: checking for $ac_func" >&5
64700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64701 if eval "test \"\${$as_ac_var+set}\" = set"; then
64702 echo $ECHO_N "(cached) $ECHO_C" >&6
64703 else
64704 if test x$gcc_no_link = xyes; then
64705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64707 { (exit 1); exit 1; }; }
64709 cat >conftest.$ac_ext <<_ACEOF
64710 /* confdefs.h. */
64711 _ACEOF
64712 cat confdefs.h >>conftest.$ac_ext
64713 cat >>conftest.$ac_ext <<_ACEOF
64714 /* end confdefs.h. */
64715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64717 #define $ac_func innocuous_$ac_func
64719 /* System header to define __stub macros and hopefully few prototypes,
64720 which can conflict with char $ac_func (); below.
64721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64722 <limits.h> exists even on freestanding compilers. */
64724 #ifdef __STDC__
64725 # include <limits.h>
64726 #else
64727 # include <assert.h>
64728 #endif
64730 #undef $ac_func
64732 /* Override any gcc2 internal prototype to avoid an error. */
64733 #ifdef __cplusplus
64734 extern "C"
64736 #endif
64737 /* We use char because int might match the return type of a gcc2
64738 builtin and then its argument prototype would still apply. */
64739 char $ac_func ();
64740 /* The GNU C library defines this for functions which it implements
64741 to always fail with ENOSYS. Some functions are actually named
64742 something starting with __ and the normal name is an alias. */
64743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64744 choke me
64745 #else
64746 char (*f) () = $ac_func;
64747 #endif
64748 #ifdef __cplusplus
64750 #endif
64753 main ()
64755 return f != $ac_func;
64757 return 0;
64759 _ACEOF
64760 rm -f conftest.$ac_objext conftest$ac_exeext
64761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64762 (eval $ac_link) 2>conftest.er1
64763 ac_status=$?
64764 grep -v '^ *+' conftest.er1 >conftest.err
64765 rm -f conftest.er1
64766 cat conftest.err >&5
64767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64768 (exit $ac_status); } &&
64769 { ac_try='test -z "$ac_c_werror_flag"
64770 || test ! -s conftest.err'
64771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64772 (eval $ac_try) 2>&5
64773 ac_status=$?
64774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64775 (exit $ac_status); }; } &&
64776 { ac_try='test -s conftest$ac_exeext'
64777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64778 (eval $ac_try) 2>&5
64779 ac_status=$?
64780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64781 (exit $ac_status); }; }; then
64782 eval "$as_ac_var=yes"
64783 else
64784 echo "$as_me: failed program was:" >&5
64785 sed 's/^/| /' conftest.$ac_ext >&5
64787 eval "$as_ac_var=no"
64789 rm -f conftest.err conftest.$ac_objext \
64790 conftest$ac_exeext conftest.$ac_ext
64792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64794 if test `eval echo '${'$as_ac_var'}'` = yes; then
64795 cat >>confdefs.h <<_ACEOF
64796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64797 _ACEOF
64799 else
64800 ac_wfuncs=no
64802 done
64805 # Checks for wide character functions that are not required
64806 # for basic wchar_t support. Don't disable support if they are missing.
64807 # Injection of these is wrapped with guard macros.
64813 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
64815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64816 echo "$as_me:$LINENO: checking for $ac_func" >&5
64817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64818 if eval "test \"\${$as_ac_var+set}\" = set"; then
64819 echo $ECHO_N "(cached) $ECHO_C" >&6
64820 else
64821 if test x$gcc_no_link = xyes; then
64822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64824 { (exit 1); exit 1; }; }
64826 cat >conftest.$ac_ext <<_ACEOF
64827 /* confdefs.h. */
64828 _ACEOF
64829 cat confdefs.h >>conftest.$ac_ext
64830 cat >>conftest.$ac_ext <<_ACEOF
64831 /* end confdefs.h. */
64832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64834 #define $ac_func innocuous_$ac_func
64836 /* System header to define __stub macros and hopefully few prototypes,
64837 which can conflict with char $ac_func (); below.
64838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64839 <limits.h> exists even on freestanding compilers. */
64841 #ifdef __STDC__
64842 # include <limits.h>
64843 #else
64844 # include <assert.h>
64845 #endif
64847 #undef $ac_func
64849 /* Override any gcc2 internal prototype to avoid an error. */
64850 #ifdef __cplusplus
64851 extern "C"
64853 #endif
64854 /* We use char because int might match the return type of a gcc2
64855 builtin and then its argument prototype would still apply. */
64856 char $ac_func ();
64857 /* The GNU C library defines this for functions which it implements
64858 to always fail with ENOSYS. Some functions are actually named
64859 something starting with __ and the normal name is an alias. */
64860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64861 choke me
64862 #else
64863 char (*f) () = $ac_func;
64864 #endif
64865 #ifdef __cplusplus
64867 #endif
64870 main ()
64872 return f != $ac_func;
64874 return 0;
64876 _ACEOF
64877 rm -f conftest.$ac_objext conftest$ac_exeext
64878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64879 (eval $ac_link) 2>conftest.er1
64880 ac_status=$?
64881 grep -v '^ *+' conftest.er1 >conftest.err
64882 rm -f conftest.er1
64883 cat conftest.err >&5
64884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64885 (exit $ac_status); } &&
64886 { ac_try='test -z "$ac_c_werror_flag"
64887 || test ! -s conftest.err'
64888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64889 (eval $ac_try) 2>&5
64890 ac_status=$?
64891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64892 (exit $ac_status); }; } &&
64893 { ac_try='test -s conftest$ac_exeext'
64894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64895 (eval $ac_try) 2>&5
64896 ac_status=$?
64897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64898 (exit $ac_status); }; }; then
64899 eval "$as_ac_var=yes"
64900 else
64901 echo "$as_me: failed program was:" >&5
64902 sed 's/^/| /' conftest.$ac_ext >&5
64904 eval "$as_ac_var=no"
64906 rm -f conftest.err conftest.$ac_objext \
64907 conftest$ac_exeext conftest.$ac_ext
64909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64911 if test `eval echo '${'$as_ac_var'}'` = yes; then
64912 cat >>confdefs.h <<_ACEOF
64913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64914 _ACEOF
64917 done
64920 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
64921 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
64922 if test x"$has_weof" = xyes &&
64923 test x"$has_wchar_minmax" = xyes &&
64924 test x"$ac_wfuncs" = xyes;
64925 then
64926 ac_isoC99_wchar_t=yes
64927 else
64928 ac_isoC99_wchar_t=no
64930 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
64931 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
64933 # Use iconv for wchar_t to char conversions. As such, check for
64934 # X/Open Portability Guide, version 2 features (XPG2).
64935 if test "${ac_cv_header_iconv_h+set}" = set; then
64936 echo "$as_me:$LINENO: checking for iconv.h" >&5
64937 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
64938 if test "${ac_cv_header_iconv_h+set}" = set; then
64939 echo $ECHO_N "(cached) $ECHO_C" >&6
64941 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
64942 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
64943 else
64944 # Is the header compilable?
64945 echo "$as_me:$LINENO: checking iconv.h usability" >&5
64946 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
64947 cat >conftest.$ac_ext <<_ACEOF
64948 /* confdefs.h. */
64949 _ACEOF
64950 cat confdefs.h >>conftest.$ac_ext
64951 cat >>conftest.$ac_ext <<_ACEOF
64952 /* end confdefs.h. */
64953 $ac_includes_default
64954 #include <iconv.h>
64955 _ACEOF
64956 rm -f conftest.$ac_objext
64957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64958 (eval $ac_compile) 2>conftest.er1
64959 ac_status=$?
64960 grep -v '^ *+' conftest.er1 >conftest.err
64961 rm -f conftest.er1
64962 cat conftest.err >&5
64963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64964 (exit $ac_status); } &&
64965 { ac_try='test -z "$ac_c_werror_flag"
64966 || test ! -s conftest.err'
64967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64968 (eval $ac_try) 2>&5
64969 ac_status=$?
64970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64971 (exit $ac_status); }; } &&
64972 { ac_try='test -s conftest.$ac_objext'
64973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64974 (eval $ac_try) 2>&5
64975 ac_status=$?
64976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64977 (exit $ac_status); }; }; then
64978 ac_header_compiler=yes
64979 else
64980 echo "$as_me: failed program was:" >&5
64981 sed 's/^/| /' conftest.$ac_ext >&5
64983 ac_header_compiler=no
64985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64986 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64987 echo "${ECHO_T}$ac_header_compiler" >&6
64989 # Is the header present?
64990 echo "$as_me:$LINENO: checking iconv.h presence" >&5
64991 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
64992 cat >conftest.$ac_ext <<_ACEOF
64993 /* confdefs.h. */
64994 _ACEOF
64995 cat confdefs.h >>conftest.$ac_ext
64996 cat >>conftest.$ac_ext <<_ACEOF
64997 /* end confdefs.h. */
64998 #include <iconv.h>
64999 _ACEOF
65000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
65001 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
65002 ac_status=$?
65003 grep -v '^ *+' conftest.er1 >conftest.err
65004 rm -f conftest.er1
65005 cat conftest.err >&5
65006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65007 (exit $ac_status); } >/dev/null; then
65008 if test -s conftest.err; then
65009 ac_cpp_err=$ac_c_preproc_warn_flag
65010 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
65011 else
65012 ac_cpp_err=
65014 else
65015 ac_cpp_err=yes
65017 if test -z "$ac_cpp_err"; then
65018 ac_header_preproc=yes
65019 else
65020 echo "$as_me: failed program was:" >&5
65021 sed 's/^/| /' conftest.$ac_ext >&5
65023 ac_header_preproc=no
65025 rm -f conftest.err conftest.$ac_ext
65026 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
65027 echo "${ECHO_T}$ac_header_preproc" >&6
65029 # So? What about this header?
65030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
65031 yes:no: )
65032 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
65033 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
65034 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
65035 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
65036 ac_header_preproc=yes
65038 no:yes:* )
65039 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
65040 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
65041 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
65042 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
65043 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
65044 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
65045 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
65046 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
65047 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
65048 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
65049 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
65050 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
65052 cat <<\_ASBOX
65053 ## ----------------------------------------- ##
65054 ## Report this to the package-unused lists. ##
65055 ## ----------------------------------------- ##
65056 _ASBOX
65058 sed "s/^/$as_me: WARNING: /" >&2
65060 esac
65061 echo "$as_me:$LINENO: checking for iconv.h" >&5
65062 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
65063 if test "${ac_cv_header_iconv_h+set}" = set; then
65064 echo $ECHO_N "(cached) $ECHO_C" >&6
65065 else
65066 ac_cv_header_iconv_h=$ac_header_preproc
65068 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
65069 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
65072 if test $ac_cv_header_iconv_h = yes; then
65073 ac_has_iconv_h=yes
65074 else
65075 ac_has_iconv_h=no
65079 if test "${ac_cv_header_langinfo_h+set}" = set; then
65080 echo "$as_me:$LINENO: checking for langinfo.h" >&5
65081 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
65082 if test "${ac_cv_header_langinfo_h+set}" = set; then
65083 echo $ECHO_N "(cached) $ECHO_C" >&6
65085 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
65086 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
65087 else
65088 # Is the header compilable?
65089 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
65090 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
65091 cat >conftest.$ac_ext <<_ACEOF
65092 /* confdefs.h. */
65093 _ACEOF
65094 cat confdefs.h >>conftest.$ac_ext
65095 cat >>conftest.$ac_ext <<_ACEOF
65096 /* end confdefs.h. */
65097 $ac_includes_default
65098 #include <langinfo.h>
65099 _ACEOF
65100 rm -f conftest.$ac_objext
65101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65102 (eval $ac_compile) 2>conftest.er1
65103 ac_status=$?
65104 grep -v '^ *+' conftest.er1 >conftest.err
65105 rm -f conftest.er1
65106 cat conftest.err >&5
65107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65108 (exit $ac_status); } &&
65109 { ac_try='test -z "$ac_c_werror_flag"
65110 || test ! -s conftest.err'
65111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65112 (eval $ac_try) 2>&5
65113 ac_status=$?
65114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65115 (exit $ac_status); }; } &&
65116 { ac_try='test -s conftest.$ac_objext'
65117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65118 (eval $ac_try) 2>&5
65119 ac_status=$?
65120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65121 (exit $ac_status); }; }; then
65122 ac_header_compiler=yes
65123 else
65124 echo "$as_me: failed program was:" >&5
65125 sed 's/^/| /' conftest.$ac_ext >&5
65127 ac_header_compiler=no
65129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65130 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
65131 echo "${ECHO_T}$ac_header_compiler" >&6
65133 # Is the header present?
65134 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
65135 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
65136 cat >conftest.$ac_ext <<_ACEOF
65137 /* confdefs.h. */
65138 _ACEOF
65139 cat confdefs.h >>conftest.$ac_ext
65140 cat >>conftest.$ac_ext <<_ACEOF
65141 /* end confdefs.h. */
65142 #include <langinfo.h>
65143 _ACEOF
65144 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
65145 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
65146 ac_status=$?
65147 grep -v '^ *+' conftest.er1 >conftest.err
65148 rm -f conftest.er1
65149 cat conftest.err >&5
65150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65151 (exit $ac_status); } >/dev/null; then
65152 if test -s conftest.err; then
65153 ac_cpp_err=$ac_c_preproc_warn_flag
65154 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
65155 else
65156 ac_cpp_err=
65158 else
65159 ac_cpp_err=yes
65161 if test -z "$ac_cpp_err"; then
65162 ac_header_preproc=yes
65163 else
65164 echo "$as_me: failed program was:" >&5
65165 sed 's/^/| /' conftest.$ac_ext >&5
65167 ac_header_preproc=no
65169 rm -f conftest.err conftest.$ac_ext
65170 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
65171 echo "${ECHO_T}$ac_header_preproc" >&6
65173 # So? What about this header?
65174 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
65175 yes:no: )
65176 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
65177 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
65178 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
65179 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
65180 ac_header_preproc=yes
65182 no:yes:* )
65183 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
65184 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
65185 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
65186 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
65187 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
65188 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
65189 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
65190 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
65191 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
65192 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
65193 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
65194 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
65196 cat <<\_ASBOX
65197 ## ----------------------------------------- ##
65198 ## Report this to the package-unused lists. ##
65199 ## ----------------------------------------- ##
65200 _ASBOX
65202 sed "s/^/$as_me: WARNING: /" >&2
65204 esac
65205 echo "$as_me:$LINENO: checking for langinfo.h" >&5
65206 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
65207 if test "${ac_cv_header_langinfo_h+set}" = set; then
65208 echo $ECHO_N "(cached) $ECHO_C" >&6
65209 else
65210 ac_cv_header_langinfo_h=$ac_header_preproc
65212 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
65213 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
65216 if test $ac_cv_header_langinfo_h = yes; then
65217 ac_has_langinfo_h=yes
65218 else
65219 ac_has_langinfo_h=no
65224 # Check for existence of libiconv.a providing XPG2 wchar_t support.
65225 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
65226 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
65227 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
65228 echo $ECHO_N "(cached) $ECHO_C" >&6
65229 else
65230 ac_check_lib_save_LIBS=$LIBS
65231 LIBS="-liconv $LIBS"
65232 if test x$gcc_no_link = xyes; then
65233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65235 { (exit 1); exit 1; }; }
65237 cat >conftest.$ac_ext <<_ACEOF
65238 /* confdefs.h. */
65239 _ACEOF
65240 cat confdefs.h >>conftest.$ac_ext
65241 cat >>conftest.$ac_ext <<_ACEOF
65242 /* end confdefs.h. */
65244 /* Override any gcc2 internal prototype to avoid an error. */
65245 #ifdef __cplusplus
65246 extern "C"
65247 #endif
65248 /* We use char because int might match the return type of a gcc2
65249 builtin and then its argument prototype would still apply. */
65250 char iconv ();
65252 main ()
65254 iconv ();
65256 return 0;
65258 _ACEOF
65259 rm -f conftest.$ac_objext conftest$ac_exeext
65260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65261 (eval $ac_link) 2>conftest.er1
65262 ac_status=$?
65263 grep -v '^ *+' conftest.er1 >conftest.err
65264 rm -f conftest.er1
65265 cat conftest.err >&5
65266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65267 (exit $ac_status); } &&
65268 { ac_try='test -z "$ac_c_werror_flag"
65269 || test ! -s conftest.err'
65270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65271 (eval $ac_try) 2>&5
65272 ac_status=$?
65273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65274 (exit $ac_status); }; } &&
65275 { ac_try='test -s conftest$ac_exeext'
65276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65277 (eval $ac_try) 2>&5
65278 ac_status=$?
65279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65280 (exit $ac_status); }; }; then
65281 ac_cv_lib_iconv_iconv=yes
65282 else
65283 echo "$as_me: failed program was:" >&5
65284 sed 's/^/| /' conftest.$ac_ext >&5
65286 ac_cv_lib_iconv_iconv=no
65288 rm -f conftest.err conftest.$ac_objext \
65289 conftest$ac_exeext conftest.$ac_ext
65290 LIBS=$ac_check_lib_save_LIBS
65292 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
65293 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
65294 if test $ac_cv_lib_iconv_iconv = yes; then
65295 LIBICONV="-liconv"
65298 ac_save_LIBS="$LIBS"
65299 LIBS="$LIBS $LIBICONV"
65306 for ac_func in iconv_open iconv_close iconv nl_langinfo
65308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65309 echo "$as_me:$LINENO: checking for $ac_func" >&5
65310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65311 if eval "test \"\${$as_ac_var+set}\" = set"; then
65312 echo $ECHO_N "(cached) $ECHO_C" >&6
65313 else
65314 if test x$gcc_no_link = xyes; then
65315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65317 { (exit 1); exit 1; }; }
65319 cat >conftest.$ac_ext <<_ACEOF
65320 /* confdefs.h. */
65321 _ACEOF
65322 cat confdefs.h >>conftest.$ac_ext
65323 cat >>conftest.$ac_ext <<_ACEOF
65324 /* end confdefs.h. */
65325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65327 #define $ac_func innocuous_$ac_func
65329 /* System header to define __stub macros and hopefully few prototypes,
65330 which can conflict with char $ac_func (); below.
65331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65332 <limits.h> exists even on freestanding compilers. */
65334 #ifdef __STDC__
65335 # include <limits.h>
65336 #else
65337 # include <assert.h>
65338 #endif
65340 #undef $ac_func
65342 /* Override any gcc2 internal prototype to avoid an error. */
65343 #ifdef __cplusplus
65344 extern "C"
65346 #endif
65347 /* We use char because int might match the return type of a gcc2
65348 builtin and then its argument prototype would still apply. */
65349 char $ac_func ();
65350 /* The GNU C library defines this for functions which it implements
65351 to always fail with ENOSYS. Some functions are actually named
65352 something starting with __ and the normal name is an alias. */
65353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65354 choke me
65355 #else
65356 char (*f) () = $ac_func;
65357 #endif
65358 #ifdef __cplusplus
65360 #endif
65363 main ()
65365 return f != $ac_func;
65367 return 0;
65369 _ACEOF
65370 rm -f conftest.$ac_objext conftest$ac_exeext
65371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65372 (eval $ac_link) 2>conftest.er1
65373 ac_status=$?
65374 grep -v '^ *+' conftest.er1 >conftest.err
65375 rm -f conftest.er1
65376 cat conftest.err >&5
65377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65378 (exit $ac_status); } &&
65379 { ac_try='test -z "$ac_c_werror_flag"
65380 || test ! -s conftest.err'
65381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65382 (eval $ac_try) 2>&5
65383 ac_status=$?
65384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65385 (exit $ac_status); }; } &&
65386 { ac_try='test -s conftest$ac_exeext'
65387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65388 (eval $ac_try) 2>&5
65389 ac_status=$?
65390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65391 (exit $ac_status); }; }; then
65392 eval "$as_ac_var=yes"
65393 else
65394 echo "$as_me: failed program was:" >&5
65395 sed 's/^/| /' conftest.$ac_ext >&5
65397 eval "$as_ac_var=no"
65399 rm -f conftest.err conftest.$ac_objext \
65400 conftest$ac_exeext conftest.$ac_ext
65402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65404 if test `eval echo '${'$as_ac_var'}'` = yes; then
65405 cat >>confdefs.h <<_ACEOF
65406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65407 _ACEOF
65408 ac_XPG2funcs=yes
65409 else
65410 ac_XPG2funcs=no
65412 done
65415 LIBS="$ac_save_LIBS"
65417 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
65418 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
65419 if test x"$ac_has_iconv_h" = xyes &&
65420 test x"$ac_has_langinfo_h" = xyes &&
65421 test x"$ac_XPG2funcs" = xyes;
65422 then
65423 ac_XPG2_wchar_t=yes
65424 else
65425 ac_XPG2_wchar_t=no
65427 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
65428 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
65430 # At the moment, only enable wchar_t specializations if all the
65431 # above support is present.
65432 if test x"$ac_isoC99_wchar_t" = xyes &&
65433 test x"$ac_XPG2_wchar_t" = xyes;
65434 then
65435 cat >>confdefs.h <<\_ACEOF
65436 #define _GLIBCXX_USE_WCHAR_T 1
65437 _ACEOF
65439 enable_wchar_t=yes
65442 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
65443 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
65444 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
65445 echo "${ECHO_T}$enable_wchar_t" >&6
65447 cat >>confdefs.h <<\_ACEOF
65448 #define HAVE_COPYSIGN 1
65449 _ACEOF
65451 cat >>confdefs.h <<\_ACEOF
65452 #define HAVE_COPYSIGNF 1
65453 _ACEOF
65455 cat >>confdefs.h <<\_ACEOF
65456 #define HAVE_FINITEF 1
65457 _ACEOF
65459 cat >>confdefs.h <<\_ACEOF
65460 #define HAVE_FINITE 1
65461 _ACEOF
65463 cat >>confdefs.h <<\_ACEOF
65464 #define HAVE_FREXPF 1
65465 _ACEOF
65467 cat >>confdefs.h <<\_ACEOF
65468 #define HAVE_HYPOTF 1
65469 _ACEOF
65471 cat >>confdefs.h <<\_ACEOF
65472 #define HAVE_ISINF 1
65473 _ACEOF
65475 cat >>confdefs.h <<\_ACEOF
65476 #define HAVE_ISINFF 1
65477 _ACEOF
65479 cat >>confdefs.h <<\_ACEOF
65480 #define HAVE_ISNAN 1
65481 _ACEOF
65483 cat >>confdefs.h <<\_ACEOF
65484 #define HAVE_ISNANF 1
65485 _ACEOF
65487 if test x"long_double_math_on_this_cpu" = x"yes"; then
65488 cat >>confdefs.h <<\_ACEOF
65489 #define HAVE_FINITEL 1
65490 _ACEOF
65492 cat >>confdefs.h <<\_ACEOF
65493 #define HAVE_ISINFL 1
65494 _ACEOF
65496 cat >>confdefs.h <<\_ACEOF
65497 #define HAVE_ISNANL 1
65498 _ACEOF
65502 *-qnx6.1* | *-qnx6.2*)
65503 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65506 # If we're not using GNU ld, then there's no point in even trying these
65507 # tests. Check for that first. We should have already tested for gld
65508 # by now (in libtool), but require it now just to be safe...
65509 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65510 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65514 # The name set by libtool depends on the version of libtool. Shame on us
65515 # for depending on an impl detail, but c'est la vie. Older versions used
65516 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65517 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65518 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65519 # set (hence we're using an older libtool), then set it.
65520 if test x${with_gnu_ld+set} != xset; then
65521 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65522 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65523 with_gnu_ld=no
65524 else
65525 with_gnu_ld=$ac_cv_prog_gnu_ld
65529 # Start by getting the version number. I think the libtool test already
65530 # does some of this, but throws away the result.
65532 ldver=`$LD --version 2>/dev/null | head -1 | \
65533 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
65535 glibcxx_gnu_ld_version=`echo $ldver | \
65536 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65538 # Set --gc-sections.
65539 if test "$with_gnu_ld" = "notbroken"; then
65540 # GNU ld it is! Joy and bunny rabbits!
65542 # All these tests are for C++; save the language and the compiler flags.
65543 # Need to do this so that g++ won't try to link in libstdc++
65544 ac_test_CFLAGS="${CFLAGS+set}"
65545 ac_save_CFLAGS="$CFLAGS"
65546 CFLAGS='-x c++ -Wl,--gc-sections'
65548 # Check for -Wl,--gc-sections
65549 # XXX This test is broken at the moment, as symbols required for linking
65550 # are now in libsupc++ (not built yet). In addition, this test has
65551 # cored on solaris in the past. In addition, --gc-sections doesn't
65552 # really work at the moment (keeps on discarding used sections, first
65553 # .eh_frame and now some of the glibc sections for iconv).
65554 # Bzzzzt. Thanks for playing, maybe next time.
65555 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
65556 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
65557 if test "$cross_compiling" = yes; then
65558 ac_sectionLDflags=yes
65559 else
65560 cat >conftest.$ac_ext <<_ACEOF
65561 /* confdefs.h. */
65562 _ACEOF
65563 cat confdefs.h >>conftest.$ac_ext
65564 cat >>conftest.$ac_ext <<_ACEOF
65565 /* end confdefs.h. */
65567 int main(void)
65569 try { throw 1; }
65570 catch (...) { };
65571 return 0;
65574 _ACEOF
65575 rm -f conftest$ac_exeext
65576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65577 (eval $ac_link) 2>&5
65578 ac_status=$?
65579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65580 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
65581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65582 (eval $ac_try) 2>&5
65583 ac_status=$?
65584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65585 (exit $ac_status); }; }; then
65586 ac_sectionLDflags=yes
65587 else
65588 echo "$as_me: program exited with status $ac_status" >&5
65589 echo "$as_me: failed program was:" >&5
65590 sed 's/^/| /' conftest.$ac_ext >&5
65592 ( exit $ac_status )
65593 ac_sectionLDflags=no
65595 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
65597 if test "$ac_test_CFLAGS" = set; then
65598 CFLAGS="$ac_save_CFLAGS"
65599 else
65600 # this is the suspicious part
65601 CFLAGS=''
65603 if test "$ac_sectionLDflags" = "yes"; then
65604 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65606 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
65607 echo "${ECHO_T}$ac_sectionLDflags" >&6
65610 # Set linker optimization flags.
65611 if test x"$with_gnu_ld" = x"yes"; then
65612 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65620 echo "$as_me:$LINENO: checking for main in -lm" >&5
65621 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
65622 if test "${ac_cv_lib_m_main+set}" = set; then
65623 echo $ECHO_N "(cached) $ECHO_C" >&6
65624 else
65625 ac_check_lib_save_LIBS=$LIBS
65626 LIBS="-lm $LIBS"
65627 if test x$gcc_no_link = xyes; then
65628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65630 { (exit 1); exit 1; }; }
65632 cat >conftest.$ac_ext <<_ACEOF
65633 /* confdefs.h. */
65634 _ACEOF
65635 cat confdefs.h >>conftest.$ac_ext
65636 cat >>conftest.$ac_ext <<_ACEOF
65637 /* end confdefs.h. */
65641 main ()
65643 main ();
65645 return 0;
65647 _ACEOF
65648 rm -f conftest.$ac_objext conftest$ac_exeext
65649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65650 (eval $ac_link) 2>conftest.er1
65651 ac_status=$?
65652 grep -v '^ *+' conftest.er1 >conftest.err
65653 rm -f conftest.er1
65654 cat conftest.err >&5
65655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65656 (exit $ac_status); } &&
65657 { ac_try='test -z "$ac_c_werror_flag"
65658 || test ! -s conftest.err'
65659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65660 (eval $ac_try) 2>&5
65661 ac_status=$?
65662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65663 (exit $ac_status); }; } &&
65664 { ac_try='test -s conftest$ac_exeext'
65665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65666 (eval $ac_try) 2>&5
65667 ac_status=$?
65668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65669 (exit $ac_status); }; }; then
65670 ac_cv_lib_m_main=yes
65671 else
65672 echo "$as_me: failed program was:" >&5
65673 sed 's/^/| /' conftest.$ac_ext >&5
65675 ac_cv_lib_m_main=no
65677 rm -f conftest.err conftest.$ac_objext \
65678 conftest$ac_exeext conftest.$ac_ext
65679 LIBS=$ac_check_lib_save_LIBS
65681 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
65682 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
65683 if test $ac_cv_lib_m_main = yes; then
65684 cat >>confdefs.h <<_ACEOF
65685 #define HAVE_LIBM 1
65686 _ACEOF
65688 LIBS="-lm $LIBS"
65693 for ac_func in copysignf
65695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65696 echo "$as_me:$LINENO: checking for $ac_func" >&5
65697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65698 if eval "test \"\${$as_ac_var+set}\" = set"; then
65699 echo $ECHO_N "(cached) $ECHO_C" >&6
65700 else
65701 if test x$gcc_no_link = xyes; then
65702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65704 { (exit 1); exit 1; }; }
65706 cat >conftest.$ac_ext <<_ACEOF
65707 /* confdefs.h. */
65708 _ACEOF
65709 cat confdefs.h >>conftest.$ac_ext
65710 cat >>conftest.$ac_ext <<_ACEOF
65711 /* end confdefs.h. */
65712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65714 #define $ac_func innocuous_$ac_func
65716 /* System header to define __stub macros and hopefully few prototypes,
65717 which can conflict with char $ac_func (); below.
65718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65719 <limits.h> exists even on freestanding compilers. */
65721 #ifdef __STDC__
65722 # include <limits.h>
65723 #else
65724 # include <assert.h>
65725 #endif
65727 #undef $ac_func
65729 /* Override any gcc2 internal prototype to avoid an error. */
65730 #ifdef __cplusplus
65731 extern "C"
65733 #endif
65734 /* We use char because int might match the return type of a gcc2
65735 builtin and then its argument prototype would still apply. */
65736 char $ac_func ();
65737 /* The GNU C library defines this for functions which it implements
65738 to always fail with ENOSYS. Some functions are actually named
65739 something starting with __ and the normal name is an alias. */
65740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65741 choke me
65742 #else
65743 char (*f) () = $ac_func;
65744 #endif
65745 #ifdef __cplusplus
65747 #endif
65750 main ()
65752 return f != $ac_func;
65754 return 0;
65756 _ACEOF
65757 rm -f conftest.$ac_objext conftest$ac_exeext
65758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65759 (eval $ac_link) 2>conftest.er1
65760 ac_status=$?
65761 grep -v '^ *+' conftest.er1 >conftest.err
65762 rm -f conftest.er1
65763 cat conftest.err >&5
65764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65765 (exit $ac_status); } &&
65766 { ac_try='test -z "$ac_c_werror_flag"
65767 || test ! -s conftest.err'
65768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65769 (eval $ac_try) 2>&5
65770 ac_status=$?
65771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65772 (exit $ac_status); }; } &&
65773 { ac_try='test -s conftest$ac_exeext'
65774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65775 (eval $ac_try) 2>&5
65776 ac_status=$?
65777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65778 (exit $ac_status); }; }; then
65779 eval "$as_ac_var=yes"
65780 else
65781 echo "$as_me: failed program was:" >&5
65782 sed 's/^/| /' conftest.$ac_ext >&5
65784 eval "$as_ac_var=no"
65786 rm -f conftest.err conftest.$ac_objext \
65787 conftest$ac_exeext conftest.$ac_ext
65789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65791 if test `eval echo '${'$as_ac_var'}'` = yes; then
65792 cat >>confdefs.h <<_ACEOF
65793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65794 _ACEOF
65796 else
65797 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
65799 done
65803 for ac_func in __signbit
65805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65806 echo "$as_me:$LINENO: checking for $ac_func" >&5
65807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65808 if eval "test \"\${$as_ac_var+set}\" = set"; then
65809 echo $ECHO_N "(cached) $ECHO_C" >&6
65810 else
65811 if test x$gcc_no_link = xyes; then
65812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65814 { (exit 1); exit 1; }; }
65816 cat >conftest.$ac_ext <<_ACEOF
65817 /* confdefs.h. */
65818 _ACEOF
65819 cat confdefs.h >>conftest.$ac_ext
65820 cat >>conftest.$ac_ext <<_ACEOF
65821 /* end confdefs.h. */
65822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65824 #define $ac_func innocuous_$ac_func
65826 /* System header to define __stub macros and hopefully few prototypes,
65827 which can conflict with char $ac_func (); below.
65828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65829 <limits.h> exists even on freestanding compilers. */
65831 #ifdef __STDC__
65832 # include <limits.h>
65833 #else
65834 # include <assert.h>
65835 #endif
65837 #undef $ac_func
65839 /* Override any gcc2 internal prototype to avoid an error. */
65840 #ifdef __cplusplus
65841 extern "C"
65843 #endif
65844 /* We use char because int might match the return type of a gcc2
65845 builtin and then its argument prototype would still apply. */
65846 char $ac_func ();
65847 /* The GNU C library defines this for functions which it implements
65848 to always fail with ENOSYS. Some functions are actually named
65849 something starting with __ and the normal name is an alias. */
65850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65851 choke me
65852 #else
65853 char (*f) () = $ac_func;
65854 #endif
65855 #ifdef __cplusplus
65857 #endif
65860 main ()
65862 return f != $ac_func;
65864 return 0;
65866 _ACEOF
65867 rm -f conftest.$ac_objext conftest$ac_exeext
65868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65869 (eval $ac_link) 2>conftest.er1
65870 ac_status=$?
65871 grep -v '^ *+' conftest.er1 >conftest.err
65872 rm -f conftest.er1
65873 cat conftest.err >&5
65874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65875 (exit $ac_status); } &&
65876 { ac_try='test -z "$ac_c_werror_flag"
65877 || test ! -s conftest.err'
65878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65879 (eval $ac_try) 2>&5
65880 ac_status=$?
65881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65882 (exit $ac_status); }; } &&
65883 { ac_try='test -s conftest$ac_exeext'
65884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65885 (eval $ac_try) 2>&5
65886 ac_status=$?
65887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65888 (exit $ac_status); }; }; then
65889 eval "$as_ac_var=yes"
65890 else
65891 echo "$as_me: failed program was:" >&5
65892 sed 's/^/| /' conftest.$ac_ext >&5
65894 eval "$as_ac_var=no"
65896 rm -f conftest.err conftest.$ac_objext \
65897 conftest$ac_exeext conftest.$ac_ext
65899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65901 if test `eval echo '${'$as_ac_var'}'` = yes; then
65902 cat >>confdefs.h <<_ACEOF
65903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65904 _ACEOF
65906 else
65907 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
65909 done
65912 for ac_func in __signbitf
65914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65915 echo "$as_me:$LINENO: checking for $ac_func" >&5
65916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65917 if eval "test \"\${$as_ac_var+set}\" = set"; then
65918 echo $ECHO_N "(cached) $ECHO_C" >&6
65919 else
65920 if test x$gcc_no_link = xyes; then
65921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65923 { (exit 1); exit 1; }; }
65925 cat >conftest.$ac_ext <<_ACEOF
65926 /* confdefs.h. */
65927 _ACEOF
65928 cat confdefs.h >>conftest.$ac_ext
65929 cat >>conftest.$ac_ext <<_ACEOF
65930 /* end confdefs.h. */
65931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65933 #define $ac_func innocuous_$ac_func
65935 /* System header to define __stub macros and hopefully few prototypes,
65936 which can conflict with char $ac_func (); below.
65937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65938 <limits.h> exists even on freestanding compilers. */
65940 #ifdef __STDC__
65941 # include <limits.h>
65942 #else
65943 # include <assert.h>
65944 #endif
65946 #undef $ac_func
65948 /* Override any gcc2 internal prototype to avoid an error. */
65949 #ifdef __cplusplus
65950 extern "C"
65952 #endif
65953 /* We use char because int might match the return type of a gcc2
65954 builtin and then its argument prototype would still apply. */
65955 char $ac_func ();
65956 /* The GNU C library defines this for functions which it implements
65957 to always fail with ENOSYS. Some functions are actually named
65958 something starting with __ and the normal name is an alias. */
65959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65960 choke me
65961 #else
65962 char (*f) () = $ac_func;
65963 #endif
65964 #ifdef __cplusplus
65966 #endif
65969 main ()
65971 return f != $ac_func;
65973 return 0;
65975 _ACEOF
65976 rm -f conftest.$ac_objext conftest$ac_exeext
65977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65978 (eval $ac_link) 2>conftest.er1
65979 ac_status=$?
65980 grep -v '^ *+' conftest.er1 >conftest.err
65981 rm -f conftest.er1
65982 cat conftest.err >&5
65983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65984 (exit $ac_status); } &&
65985 { ac_try='test -z "$ac_c_werror_flag"
65986 || test ! -s conftest.err'
65987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65988 (eval $ac_try) 2>&5
65989 ac_status=$?
65990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65991 (exit $ac_status); }; } &&
65992 { ac_try='test -s conftest$ac_exeext'
65993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65994 (eval $ac_try) 2>&5
65995 ac_status=$?
65996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65997 (exit $ac_status); }; }; then
65998 eval "$as_ac_var=yes"
65999 else
66000 echo "$as_me: failed program was:" >&5
66001 sed 's/^/| /' conftest.$ac_ext >&5
66003 eval "$as_ac_var=no"
66005 rm -f conftest.err conftest.$ac_objext \
66006 conftest$ac_exeext conftest.$ac_ext
66008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66010 if test `eval echo '${'$as_ac_var'}'` = yes; then
66011 cat >>confdefs.h <<_ACEOF
66012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66013 _ACEOF
66015 else
66016 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
66018 done
66021 if test x$ac_cv_func_copysignl = x"yes"; then
66023 for ac_func in __signbitl
66025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66026 echo "$as_me:$LINENO: checking for $ac_func" >&5
66027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66028 if eval "test \"\${$as_ac_var+set}\" = set"; then
66029 echo $ECHO_N "(cached) $ECHO_C" >&6
66030 else
66031 if test x$gcc_no_link = xyes; then
66032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66034 { (exit 1); exit 1; }; }
66036 cat >conftest.$ac_ext <<_ACEOF
66037 /* confdefs.h. */
66038 _ACEOF
66039 cat confdefs.h >>conftest.$ac_ext
66040 cat >>conftest.$ac_ext <<_ACEOF
66041 /* end confdefs.h. */
66042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66044 #define $ac_func innocuous_$ac_func
66046 /* System header to define __stub macros and hopefully few prototypes,
66047 which can conflict with char $ac_func (); below.
66048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66049 <limits.h> exists even on freestanding compilers. */
66051 #ifdef __STDC__
66052 # include <limits.h>
66053 #else
66054 # include <assert.h>
66055 #endif
66057 #undef $ac_func
66059 /* Override any gcc2 internal prototype to avoid an error. */
66060 #ifdef __cplusplus
66061 extern "C"
66063 #endif
66064 /* We use char because int might match the return type of a gcc2
66065 builtin and then its argument prototype would still apply. */
66066 char $ac_func ();
66067 /* The GNU C library defines this for functions which it implements
66068 to always fail with ENOSYS. Some functions are actually named
66069 something starting with __ and the normal name is an alias. */
66070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66071 choke me
66072 #else
66073 char (*f) () = $ac_func;
66074 #endif
66075 #ifdef __cplusplus
66077 #endif
66080 main ()
66082 return f != $ac_func;
66084 return 0;
66086 _ACEOF
66087 rm -f conftest.$ac_objext conftest$ac_exeext
66088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66089 (eval $ac_link) 2>conftest.er1
66090 ac_status=$?
66091 grep -v '^ *+' conftest.er1 >conftest.err
66092 rm -f conftest.er1
66093 cat conftest.err >&5
66094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66095 (exit $ac_status); } &&
66096 { ac_try='test -z "$ac_c_werror_flag"
66097 || test ! -s conftest.err'
66098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66099 (eval $ac_try) 2>&5
66100 ac_status=$?
66101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66102 (exit $ac_status); }; } &&
66103 { ac_try='test -s conftest$ac_exeext'
66104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66105 (eval $ac_try) 2>&5
66106 ac_status=$?
66107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66108 (exit $ac_status); }; }; then
66109 eval "$as_ac_var=yes"
66110 else
66111 echo "$as_me: failed program was:" >&5
66112 sed 's/^/| /' conftest.$ac_ext >&5
66114 eval "$as_ac_var=no"
66116 rm -f conftest.err conftest.$ac_objext \
66117 conftest$ac_exeext conftest.$ac_ext
66119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66121 if test `eval echo '${'$as_ac_var'}'` = yes; then
66122 cat >>confdefs.h <<_ACEOF
66123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66124 _ACEOF
66126 else
66127 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
66129 done
66133 # XXX Review this. Nothing uses it.
66134 if test -n "$LIBMATHOBJS"; then
66135 need_libmath=yes
66140 # Test wchar.h for mbstate_t, which is needed for char_traits and
66141 # others even if wchar_t support is not on.
66142 echo "$as_me:$LINENO: checking for mbstate_t" >&5
66143 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
66144 cat >conftest.$ac_ext <<_ACEOF
66145 /* confdefs.h. */
66146 _ACEOF
66147 cat confdefs.h >>conftest.$ac_ext
66148 cat >>conftest.$ac_ext <<_ACEOF
66149 /* end confdefs.h. */
66150 #include <wchar.h>
66152 main ()
66154 mbstate_t teststate;
66156 return 0;
66158 _ACEOF
66159 rm -f conftest.$ac_objext
66160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66161 (eval $ac_compile) 2>conftest.er1
66162 ac_status=$?
66163 grep -v '^ *+' conftest.er1 >conftest.err
66164 rm -f conftest.er1
66165 cat conftest.err >&5
66166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66167 (exit $ac_status); } &&
66168 { ac_try='test -z "$ac_c_werror_flag"
66169 || test ! -s conftest.err'
66170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66171 (eval $ac_try) 2>&5
66172 ac_status=$?
66173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66174 (exit $ac_status); }; } &&
66175 { ac_try='test -s conftest.$ac_objext'
66176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66177 (eval $ac_try) 2>&5
66178 ac_status=$?
66179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66180 (exit $ac_status); }; }; then
66181 have_mbstate_t=yes
66182 else
66183 echo "$as_me: failed program was:" >&5
66184 sed 's/^/| /' conftest.$ac_ext >&5
66186 have_mbstate_t=no
66188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66189 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
66190 echo "${ECHO_T}$have_mbstate_t" >&6
66191 if test x"$have_mbstate_t" = xyes; then
66192 cat >>confdefs.h <<\_ACEOF
66193 #define HAVE_MBSTATE_T 1
66194 _ACEOF
66198 # Sanity check for existence of ISO C99 headers for extended encoding.
66200 for ac_header in wchar.h
66202 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
66203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
66204 echo "$as_me:$LINENO: checking for $ac_header" >&5
66205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
66206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
66207 echo $ECHO_N "(cached) $ECHO_C" >&6
66209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
66210 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
66211 else
66212 # Is the header compilable?
66213 echo "$as_me:$LINENO: checking $ac_header usability" >&5
66214 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
66215 cat >conftest.$ac_ext <<_ACEOF
66216 /* confdefs.h. */
66217 _ACEOF
66218 cat confdefs.h >>conftest.$ac_ext
66219 cat >>conftest.$ac_ext <<_ACEOF
66220 /* end confdefs.h. */
66221 $ac_includes_default
66222 #include <$ac_header>
66223 _ACEOF
66224 rm -f conftest.$ac_objext
66225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66226 (eval $ac_compile) 2>conftest.er1
66227 ac_status=$?
66228 grep -v '^ *+' conftest.er1 >conftest.err
66229 rm -f conftest.er1
66230 cat conftest.err >&5
66231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66232 (exit $ac_status); } &&
66233 { ac_try='test -z "$ac_c_werror_flag"
66234 || test ! -s conftest.err'
66235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66236 (eval $ac_try) 2>&5
66237 ac_status=$?
66238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66239 (exit $ac_status); }; } &&
66240 { ac_try='test -s conftest.$ac_objext'
66241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66242 (eval $ac_try) 2>&5
66243 ac_status=$?
66244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66245 (exit $ac_status); }; }; then
66246 ac_header_compiler=yes
66247 else
66248 echo "$as_me: failed program was:" >&5
66249 sed 's/^/| /' conftest.$ac_ext >&5
66251 ac_header_compiler=no
66253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66254 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
66255 echo "${ECHO_T}$ac_header_compiler" >&6
66257 # Is the header present?
66258 echo "$as_me:$LINENO: checking $ac_header presence" >&5
66259 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
66260 cat >conftest.$ac_ext <<_ACEOF
66261 /* confdefs.h. */
66262 _ACEOF
66263 cat confdefs.h >>conftest.$ac_ext
66264 cat >>conftest.$ac_ext <<_ACEOF
66265 /* end confdefs.h. */
66266 #include <$ac_header>
66267 _ACEOF
66268 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
66269 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
66270 ac_status=$?
66271 grep -v '^ *+' conftest.er1 >conftest.err
66272 rm -f conftest.er1
66273 cat conftest.err >&5
66274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66275 (exit $ac_status); } >/dev/null; then
66276 if test -s conftest.err; then
66277 ac_cpp_err=$ac_c_preproc_warn_flag
66278 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
66279 else
66280 ac_cpp_err=
66282 else
66283 ac_cpp_err=yes
66285 if test -z "$ac_cpp_err"; then
66286 ac_header_preproc=yes
66287 else
66288 echo "$as_me: failed program was:" >&5
66289 sed 's/^/| /' conftest.$ac_ext >&5
66291 ac_header_preproc=no
66293 rm -f conftest.err conftest.$ac_ext
66294 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
66295 echo "${ECHO_T}$ac_header_preproc" >&6
66297 # So? What about this header?
66298 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
66299 yes:no: )
66300 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
66301 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
66302 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
66303 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
66304 ac_header_preproc=yes
66306 no:yes:* )
66307 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
66308 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
66309 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
66310 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
66311 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
66312 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
66313 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
66314 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
66315 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
66316 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
66317 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
66318 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
66320 cat <<\_ASBOX
66321 ## ----------------------------------------- ##
66322 ## Report this to the package-unused lists. ##
66323 ## ----------------------------------------- ##
66324 _ASBOX
66326 sed "s/^/$as_me: WARNING: /" >&2
66328 esac
66329 echo "$as_me:$LINENO: checking for $ac_header" >&5
66330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
66331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
66332 echo $ECHO_N "(cached) $ECHO_C" >&6
66333 else
66334 eval "$as_ac_Header=\$ac_header_preproc"
66336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
66337 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
66340 if test `eval echo '${'$as_ac_Header'}'` = yes; then
66341 cat >>confdefs.h <<_ACEOF
66342 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
66343 _ACEOF
66344 ac_has_wchar_h=yes
66345 else
66346 ac_has_wchar_h=no
66349 done
66352 for ac_header in wctype.h
66354 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
66355 if eval "test \"\${$as_ac_Header+set}\" = set"; then
66356 echo "$as_me:$LINENO: checking for $ac_header" >&5
66357 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
66358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
66359 echo $ECHO_N "(cached) $ECHO_C" >&6
66361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
66362 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
66363 else
66364 # Is the header compilable?
66365 echo "$as_me:$LINENO: checking $ac_header usability" >&5
66366 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
66367 cat >conftest.$ac_ext <<_ACEOF
66368 /* confdefs.h. */
66369 _ACEOF
66370 cat confdefs.h >>conftest.$ac_ext
66371 cat >>conftest.$ac_ext <<_ACEOF
66372 /* end confdefs.h. */
66373 $ac_includes_default
66374 #include <$ac_header>
66375 _ACEOF
66376 rm -f conftest.$ac_objext
66377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66378 (eval $ac_compile) 2>conftest.er1
66379 ac_status=$?
66380 grep -v '^ *+' conftest.er1 >conftest.err
66381 rm -f conftest.er1
66382 cat conftest.err >&5
66383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66384 (exit $ac_status); } &&
66385 { ac_try='test -z "$ac_c_werror_flag"
66386 || test ! -s conftest.err'
66387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66388 (eval $ac_try) 2>&5
66389 ac_status=$?
66390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66391 (exit $ac_status); }; } &&
66392 { ac_try='test -s conftest.$ac_objext'
66393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66394 (eval $ac_try) 2>&5
66395 ac_status=$?
66396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66397 (exit $ac_status); }; }; then
66398 ac_header_compiler=yes
66399 else
66400 echo "$as_me: failed program was:" >&5
66401 sed 's/^/| /' conftest.$ac_ext >&5
66403 ac_header_compiler=no
66405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66406 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
66407 echo "${ECHO_T}$ac_header_compiler" >&6
66409 # Is the header present?
66410 echo "$as_me:$LINENO: checking $ac_header presence" >&5
66411 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
66412 cat >conftest.$ac_ext <<_ACEOF
66413 /* confdefs.h. */
66414 _ACEOF
66415 cat confdefs.h >>conftest.$ac_ext
66416 cat >>conftest.$ac_ext <<_ACEOF
66417 /* end confdefs.h. */
66418 #include <$ac_header>
66419 _ACEOF
66420 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
66421 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
66422 ac_status=$?
66423 grep -v '^ *+' conftest.er1 >conftest.err
66424 rm -f conftest.er1
66425 cat conftest.err >&5
66426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66427 (exit $ac_status); } >/dev/null; then
66428 if test -s conftest.err; then
66429 ac_cpp_err=$ac_c_preproc_warn_flag
66430 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
66431 else
66432 ac_cpp_err=
66434 else
66435 ac_cpp_err=yes
66437 if test -z "$ac_cpp_err"; then
66438 ac_header_preproc=yes
66439 else
66440 echo "$as_me: failed program was:" >&5
66441 sed 's/^/| /' conftest.$ac_ext >&5
66443 ac_header_preproc=no
66445 rm -f conftest.err conftest.$ac_ext
66446 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
66447 echo "${ECHO_T}$ac_header_preproc" >&6
66449 # So? What about this header?
66450 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
66451 yes:no: )
66452 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
66453 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
66454 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
66455 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
66456 ac_header_preproc=yes
66458 no:yes:* )
66459 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
66460 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
66461 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
66462 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
66463 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
66464 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
66465 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
66466 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
66467 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
66468 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
66469 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
66470 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
66472 cat <<\_ASBOX
66473 ## ----------------------------------------- ##
66474 ## Report this to the package-unused lists. ##
66475 ## ----------------------------------------- ##
66476 _ASBOX
66478 sed "s/^/$as_me: WARNING: /" >&2
66480 esac
66481 echo "$as_me:$LINENO: checking for $ac_header" >&5
66482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
66483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
66484 echo $ECHO_N "(cached) $ECHO_C" >&6
66485 else
66486 eval "$as_ac_Header=\$ac_header_preproc"
66488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
66489 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
66492 if test `eval echo '${'$as_ac_Header'}'` = yes; then
66493 cat >>confdefs.h <<_ACEOF
66494 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
66495 _ACEOF
66496 ac_has_wctype_h=yes
66497 else
66498 ac_has_wctype_h=no
66501 done
66504 # Only continue checking if the ISO C99 headers exist and support is on.
66505 if test x"$ac_has_wchar_h" = xyes &&
66506 test x"$ac_has_wctype_h" = xyes &&
66507 test x"$enable_c_mbchar" != xno; then
66509 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
66510 # numeric_limits can instantiate type_traits<wchar_t>
66511 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
66512 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
66513 cat >conftest.$ac_ext <<_ACEOF
66514 /* confdefs.h. */
66515 _ACEOF
66516 cat confdefs.h >>conftest.$ac_ext
66517 cat >>conftest.$ac_ext <<_ACEOF
66518 /* end confdefs.h. */
66519 #include <wchar.h>
66521 main ()
66523 int i = WCHAR_MIN; int j = WCHAR_MAX;
66525 return 0;
66527 _ACEOF
66528 rm -f conftest.$ac_objext
66529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66530 (eval $ac_compile) 2>conftest.er1
66531 ac_status=$?
66532 grep -v '^ *+' conftest.er1 >conftest.err
66533 rm -f conftest.er1
66534 cat conftest.err >&5
66535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66536 (exit $ac_status); } &&
66537 { ac_try='test -z "$ac_c_werror_flag"
66538 || test ! -s conftest.err'
66539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66540 (eval $ac_try) 2>&5
66541 ac_status=$?
66542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66543 (exit $ac_status); }; } &&
66544 { ac_try='test -s conftest.$ac_objext'
66545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66546 (eval $ac_try) 2>&5
66547 ac_status=$?
66548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66549 (exit $ac_status); }; }; then
66550 has_wchar_minmax=yes
66551 else
66552 echo "$as_me: failed program was:" >&5
66553 sed 's/^/| /' conftest.$ac_ext >&5
66555 has_wchar_minmax=no
66557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66558 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
66559 echo "${ECHO_T}$has_wchar_minmax" >&6
66561 # Test wchar.h for WEOF, which is what we use to determine whether
66562 # to specialize for char_traits<wchar_t> or not.
66563 echo "$as_me:$LINENO: checking for WEOF" >&5
66564 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
66565 cat >conftest.$ac_ext <<_ACEOF
66566 /* confdefs.h. */
66567 _ACEOF
66568 cat confdefs.h >>conftest.$ac_ext
66569 cat >>conftest.$ac_ext <<_ACEOF
66570 /* end confdefs.h. */
66572 #include <wchar.h>
66573 #include <stddef.h>
66575 main ()
66577 wint_t i = WEOF;
66579 return 0;
66581 _ACEOF
66582 rm -f conftest.$ac_objext
66583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66584 (eval $ac_compile) 2>conftest.er1
66585 ac_status=$?
66586 grep -v '^ *+' conftest.er1 >conftest.err
66587 rm -f conftest.er1
66588 cat conftest.err >&5
66589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66590 (exit $ac_status); } &&
66591 { ac_try='test -z "$ac_c_werror_flag"
66592 || test ! -s conftest.err'
66593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66594 (eval $ac_try) 2>&5
66595 ac_status=$?
66596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66597 (exit $ac_status); }; } &&
66598 { ac_try='test -s conftest.$ac_objext'
66599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66600 (eval $ac_try) 2>&5
66601 ac_status=$?
66602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66603 (exit $ac_status); }; }; then
66604 has_weof=yes
66605 else
66606 echo "$as_me: failed program was:" >&5
66607 sed 's/^/| /' conftest.$ac_ext >&5
66609 has_weof=no
66611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66612 echo "$as_me:$LINENO: result: $has_weof" >&5
66613 echo "${ECHO_T}$has_weof" >&6
66615 # Tests for wide character functions used in char_traits<wchar_t>.
66616 ac_wfuncs=yes
66623 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
66625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66626 echo "$as_me:$LINENO: checking for $ac_func" >&5
66627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66628 if eval "test \"\${$as_ac_var+set}\" = set"; then
66629 echo $ECHO_N "(cached) $ECHO_C" >&6
66630 else
66631 if test x$gcc_no_link = xyes; then
66632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66634 { (exit 1); exit 1; }; }
66636 cat >conftest.$ac_ext <<_ACEOF
66637 /* confdefs.h. */
66638 _ACEOF
66639 cat confdefs.h >>conftest.$ac_ext
66640 cat >>conftest.$ac_ext <<_ACEOF
66641 /* end confdefs.h. */
66642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66644 #define $ac_func innocuous_$ac_func
66646 /* System header to define __stub macros and hopefully few prototypes,
66647 which can conflict with char $ac_func (); below.
66648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66649 <limits.h> exists even on freestanding compilers. */
66651 #ifdef __STDC__
66652 # include <limits.h>
66653 #else
66654 # include <assert.h>
66655 #endif
66657 #undef $ac_func
66659 /* Override any gcc2 internal prototype to avoid an error. */
66660 #ifdef __cplusplus
66661 extern "C"
66663 #endif
66664 /* We use char because int might match the return type of a gcc2
66665 builtin and then its argument prototype would still apply. */
66666 char $ac_func ();
66667 /* The GNU C library defines this for functions which it implements
66668 to always fail with ENOSYS. Some functions are actually named
66669 something starting with __ and the normal name is an alias. */
66670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66671 choke me
66672 #else
66673 char (*f) () = $ac_func;
66674 #endif
66675 #ifdef __cplusplus
66677 #endif
66680 main ()
66682 return f != $ac_func;
66684 return 0;
66686 _ACEOF
66687 rm -f conftest.$ac_objext conftest$ac_exeext
66688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66689 (eval $ac_link) 2>conftest.er1
66690 ac_status=$?
66691 grep -v '^ *+' conftest.er1 >conftest.err
66692 rm -f conftest.er1
66693 cat conftest.err >&5
66694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66695 (exit $ac_status); } &&
66696 { ac_try='test -z "$ac_c_werror_flag"
66697 || test ! -s conftest.err'
66698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66699 (eval $ac_try) 2>&5
66700 ac_status=$?
66701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66702 (exit $ac_status); }; } &&
66703 { ac_try='test -s conftest$ac_exeext'
66704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66705 (eval $ac_try) 2>&5
66706 ac_status=$?
66707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66708 (exit $ac_status); }; }; then
66709 eval "$as_ac_var=yes"
66710 else
66711 echo "$as_me: failed program was:" >&5
66712 sed 's/^/| /' conftest.$ac_ext >&5
66714 eval "$as_ac_var=no"
66716 rm -f conftest.err conftest.$ac_objext \
66717 conftest$ac_exeext conftest.$ac_ext
66719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66721 if test `eval echo '${'$as_ac_var'}'` = yes; then
66722 cat >>confdefs.h <<_ACEOF
66723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66724 _ACEOF
66726 else
66727 ac_wfuncs=no
66729 done
66732 # Checks for names injected into std:: by the c_std headers.
66779 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
66780 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
66781 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
66782 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
66783 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
66784 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
66786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66787 echo "$as_me:$LINENO: checking for $ac_func" >&5
66788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66789 if eval "test \"\${$as_ac_var+set}\" = set"; then
66790 echo $ECHO_N "(cached) $ECHO_C" >&6
66791 else
66792 if test x$gcc_no_link = xyes; then
66793 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66795 { (exit 1); exit 1; }; }
66797 cat >conftest.$ac_ext <<_ACEOF
66798 /* confdefs.h. */
66799 _ACEOF
66800 cat confdefs.h >>conftest.$ac_ext
66801 cat >>conftest.$ac_ext <<_ACEOF
66802 /* end confdefs.h. */
66803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66805 #define $ac_func innocuous_$ac_func
66807 /* System header to define __stub macros and hopefully few prototypes,
66808 which can conflict with char $ac_func (); below.
66809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66810 <limits.h> exists even on freestanding compilers. */
66812 #ifdef __STDC__
66813 # include <limits.h>
66814 #else
66815 # include <assert.h>
66816 #endif
66818 #undef $ac_func
66820 /* Override any gcc2 internal prototype to avoid an error. */
66821 #ifdef __cplusplus
66822 extern "C"
66824 #endif
66825 /* We use char because int might match the return type of a gcc2
66826 builtin and then its argument prototype would still apply. */
66827 char $ac_func ();
66828 /* The GNU C library defines this for functions which it implements
66829 to always fail with ENOSYS. Some functions are actually named
66830 something starting with __ and the normal name is an alias. */
66831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66832 choke me
66833 #else
66834 char (*f) () = $ac_func;
66835 #endif
66836 #ifdef __cplusplus
66838 #endif
66841 main ()
66843 return f != $ac_func;
66845 return 0;
66847 _ACEOF
66848 rm -f conftest.$ac_objext conftest$ac_exeext
66849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66850 (eval $ac_link) 2>conftest.er1
66851 ac_status=$?
66852 grep -v '^ *+' conftest.er1 >conftest.err
66853 rm -f conftest.er1
66854 cat conftest.err >&5
66855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66856 (exit $ac_status); } &&
66857 { ac_try='test -z "$ac_c_werror_flag"
66858 || test ! -s conftest.err'
66859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66860 (eval $ac_try) 2>&5
66861 ac_status=$?
66862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66863 (exit $ac_status); }; } &&
66864 { ac_try='test -s conftest$ac_exeext'
66865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66866 (eval $ac_try) 2>&5
66867 ac_status=$?
66868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66869 (exit $ac_status); }; }; then
66870 eval "$as_ac_var=yes"
66871 else
66872 echo "$as_me: failed program was:" >&5
66873 sed 's/^/| /' conftest.$ac_ext >&5
66875 eval "$as_ac_var=no"
66877 rm -f conftest.err conftest.$ac_objext \
66878 conftest$ac_exeext conftest.$ac_ext
66880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66882 if test `eval echo '${'$as_ac_var'}'` = yes; then
66883 cat >>confdefs.h <<_ACEOF
66884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66885 _ACEOF
66887 else
66888 ac_wfuncs=no
66890 done
66893 # Checks for wide character functions that are not required
66894 # for basic wchar_t support. Don't disable support if they are missing.
66895 # Injection of these is wrapped with guard macros.
66901 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
66903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66904 echo "$as_me:$LINENO: checking for $ac_func" >&5
66905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66906 if eval "test \"\${$as_ac_var+set}\" = set"; then
66907 echo $ECHO_N "(cached) $ECHO_C" >&6
66908 else
66909 if test x$gcc_no_link = xyes; then
66910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66912 { (exit 1); exit 1; }; }
66914 cat >conftest.$ac_ext <<_ACEOF
66915 /* confdefs.h. */
66916 _ACEOF
66917 cat confdefs.h >>conftest.$ac_ext
66918 cat >>conftest.$ac_ext <<_ACEOF
66919 /* end confdefs.h. */
66920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66922 #define $ac_func innocuous_$ac_func
66924 /* System header to define __stub macros and hopefully few prototypes,
66925 which can conflict with char $ac_func (); below.
66926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66927 <limits.h> exists even on freestanding compilers. */
66929 #ifdef __STDC__
66930 # include <limits.h>
66931 #else
66932 # include <assert.h>
66933 #endif
66935 #undef $ac_func
66937 /* Override any gcc2 internal prototype to avoid an error. */
66938 #ifdef __cplusplus
66939 extern "C"
66941 #endif
66942 /* We use char because int might match the return type of a gcc2
66943 builtin and then its argument prototype would still apply. */
66944 char $ac_func ();
66945 /* The GNU C library defines this for functions which it implements
66946 to always fail with ENOSYS. Some functions are actually named
66947 something starting with __ and the normal name is an alias. */
66948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66949 choke me
66950 #else
66951 char (*f) () = $ac_func;
66952 #endif
66953 #ifdef __cplusplus
66955 #endif
66958 main ()
66960 return f != $ac_func;
66962 return 0;
66964 _ACEOF
66965 rm -f conftest.$ac_objext conftest$ac_exeext
66966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66967 (eval $ac_link) 2>conftest.er1
66968 ac_status=$?
66969 grep -v '^ *+' conftest.er1 >conftest.err
66970 rm -f conftest.er1
66971 cat conftest.err >&5
66972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66973 (exit $ac_status); } &&
66974 { ac_try='test -z "$ac_c_werror_flag"
66975 || test ! -s conftest.err'
66976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66977 (eval $ac_try) 2>&5
66978 ac_status=$?
66979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66980 (exit $ac_status); }; } &&
66981 { ac_try='test -s conftest$ac_exeext'
66982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66983 (eval $ac_try) 2>&5
66984 ac_status=$?
66985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66986 (exit $ac_status); }; }; then
66987 eval "$as_ac_var=yes"
66988 else
66989 echo "$as_me: failed program was:" >&5
66990 sed 's/^/| /' conftest.$ac_ext >&5
66992 eval "$as_ac_var=no"
66994 rm -f conftest.err conftest.$ac_objext \
66995 conftest$ac_exeext conftest.$ac_ext
66997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66999 if test `eval echo '${'$as_ac_var'}'` = yes; then
67000 cat >>confdefs.h <<_ACEOF
67001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67002 _ACEOF
67005 done
67008 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
67009 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
67010 if test x"$has_weof" = xyes &&
67011 test x"$has_wchar_minmax" = xyes &&
67012 test x"$ac_wfuncs" = xyes;
67013 then
67014 ac_isoC99_wchar_t=yes
67015 else
67016 ac_isoC99_wchar_t=no
67018 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
67019 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
67021 # Use iconv for wchar_t to char conversions. As such, check for
67022 # X/Open Portability Guide, version 2 features (XPG2).
67023 if test "${ac_cv_header_iconv_h+set}" = set; then
67024 echo "$as_me:$LINENO: checking for iconv.h" >&5
67025 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
67026 if test "${ac_cv_header_iconv_h+set}" = set; then
67027 echo $ECHO_N "(cached) $ECHO_C" >&6
67029 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
67030 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
67031 else
67032 # Is the header compilable?
67033 echo "$as_me:$LINENO: checking iconv.h usability" >&5
67034 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
67035 cat >conftest.$ac_ext <<_ACEOF
67036 /* confdefs.h. */
67037 _ACEOF
67038 cat confdefs.h >>conftest.$ac_ext
67039 cat >>conftest.$ac_ext <<_ACEOF
67040 /* end confdefs.h. */
67041 $ac_includes_default
67042 #include <iconv.h>
67043 _ACEOF
67044 rm -f conftest.$ac_objext
67045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67046 (eval $ac_compile) 2>conftest.er1
67047 ac_status=$?
67048 grep -v '^ *+' conftest.er1 >conftest.err
67049 rm -f conftest.er1
67050 cat conftest.err >&5
67051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67052 (exit $ac_status); } &&
67053 { ac_try='test -z "$ac_c_werror_flag"
67054 || test ! -s conftest.err'
67055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67056 (eval $ac_try) 2>&5
67057 ac_status=$?
67058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67059 (exit $ac_status); }; } &&
67060 { ac_try='test -s conftest.$ac_objext'
67061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67062 (eval $ac_try) 2>&5
67063 ac_status=$?
67064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67065 (exit $ac_status); }; }; then
67066 ac_header_compiler=yes
67067 else
67068 echo "$as_me: failed program was:" >&5
67069 sed 's/^/| /' conftest.$ac_ext >&5
67071 ac_header_compiler=no
67073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67074 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
67075 echo "${ECHO_T}$ac_header_compiler" >&6
67077 # Is the header present?
67078 echo "$as_me:$LINENO: checking iconv.h presence" >&5
67079 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
67080 cat >conftest.$ac_ext <<_ACEOF
67081 /* confdefs.h. */
67082 _ACEOF
67083 cat confdefs.h >>conftest.$ac_ext
67084 cat >>conftest.$ac_ext <<_ACEOF
67085 /* end confdefs.h. */
67086 #include <iconv.h>
67087 _ACEOF
67088 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
67089 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
67090 ac_status=$?
67091 grep -v '^ *+' conftest.er1 >conftest.err
67092 rm -f conftest.er1
67093 cat conftest.err >&5
67094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67095 (exit $ac_status); } >/dev/null; then
67096 if test -s conftest.err; then
67097 ac_cpp_err=$ac_c_preproc_warn_flag
67098 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
67099 else
67100 ac_cpp_err=
67102 else
67103 ac_cpp_err=yes
67105 if test -z "$ac_cpp_err"; then
67106 ac_header_preproc=yes
67107 else
67108 echo "$as_me: failed program was:" >&5
67109 sed 's/^/| /' conftest.$ac_ext >&5
67111 ac_header_preproc=no
67113 rm -f conftest.err conftest.$ac_ext
67114 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
67115 echo "${ECHO_T}$ac_header_preproc" >&6
67117 # So? What about this header?
67118 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
67119 yes:no: )
67120 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
67121 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
67122 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
67123 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
67124 ac_header_preproc=yes
67126 no:yes:* )
67127 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
67128 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
67129 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
67130 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
67131 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
67132 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
67133 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
67134 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
67135 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
67136 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
67137 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
67138 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
67140 cat <<\_ASBOX
67141 ## ----------------------------------------- ##
67142 ## Report this to the package-unused lists. ##
67143 ## ----------------------------------------- ##
67144 _ASBOX
67146 sed "s/^/$as_me: WARNING: /" >&2
67148 esac
67149 echo "$as_me:$LINENO: checking for iconv.h" >&5
67150 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
67151 if test "${ac_cv_header_iconv_h+set}" = set; then
67152 echo $ECHO_N "(cached) $ECHO_C" >&6
67153 else
67154 ac_cv_header_iconv_h=$ac_header_preproc
67156 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
67157 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
67160 if test $ac_cv_header_iconv_h = yes; then
67161 ac_has_iconv_h=yes
67162 else
67163 ac_has_iconv_h=no
67167 if test "${ac_cv_header_langinfo_h+set}" = set; then
67168 echo "$as_me:$LINENO: checking for langinfo.h" >&5
67169 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
67170 if test "${ac_cv_header_langinfo_h+set}" = set; then
67171 echo $ECHO_N "(cached) $ECHO_C" >&6
67173 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
67174 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
67175 else
67176 # Is the header compilable?
67177 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
67178 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
67179 cat >conftest.$ac_ext <<_ACEOF
67180 /* confdefs.h. */
67181 _ACEOF
67182 cat confdefs.h >>conftest.$ac_ext
67183 cat >>conftest.$ac_ext <<_ACEOF
67184 /* end confdefs.h. */
67185 $ac_includes_default
67186 #include <langinfo.h>
67187 _ACEOF
67188 rm -f conftest.$ac_objext
67189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67190 (eval $ac_compile) 2>conftest.er1
67191 ac_status=$?
67192 grep -v '^ *+' conftest.er1 >conftest.err
67193 rm -f conftest.er1
67194 cat conftest.err >&5
67195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67196 (exit $ac_status); } &&
67197 { ac_try='test -z "$ac_c_werror_flag"
67198 || test ! -s conftest.err'
67199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67200 (eval $ac_try) 2>&5
67201 ac_status=$?
67202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67203 (exit $ac_status); }; } &&
67204 { ac_try='test -s conftest.$ac_objext'
67205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67206 (eval $ac_try) 2>&5
67207 ac_status=$?
67208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67209 (exit $ac_status); }; }; then
67210 ac_header_compiler=yes
67211 else
67212 echo "$as_me: failed program was:" >&5
67213 sed 's/^/| /' conftest.$ac_ext >&5
67215 ac_header_compiler=no
67217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67218 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
67219 echo "${ECHO_T}$ac_header_compiler" >&6
67221 # Is the header present?
67222 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
67223 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
67224 cat >conftest.$ac_ext <<_ACEOF
67225 /* confdefs.h. */
67226 _ACEOF
67227 cat confdefs.h >>conftest.$ac_ext
67228 cat >>conftest.$ac_ext <<_ACEOF
67229 /* end confdefs.h. */
67230 #include <langinfo.h>
67231 _ACEOF
67232 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
67233 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
67234 ac_status=$?
67235 grep -v '^ *+' conftest.er1 >conftest.err
67236 rm -f conftest.er1
67237 cat conftest.err >&5
67238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67239 (exit $ac_status); } >/dev/null; then
67240 if test -s conftest.err; then
67241 ac_cpp_err=$ac_c_preproc_warn_flag
67242 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
67243 else
67244 ac_cpp_err=
67246 else
67247 ac_cpp_err=yes
67249 if test -z "$ac_cpp_err"; then
67250 ac_header_preproc=yes
67251 else
67252 echo "$as_me: failed program was:" >&5
67253 sed 's/^/| /' conftest.$ac_ext >&5
67255 ac_header_preproc=no
67257 rm -f conftest.err conftest.$ac_ext
67258 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
67259 echo "${ECHO_T}$ac_header_preproc" >&6
67261 # So? What about this header?
67262 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
67263 yes:no: )
67264 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
67265 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
67266 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
67267 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
67268 ac_header_preproc=yes
67270 no:yes:* )
67271 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
67272 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
67273 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
67274 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
67275 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
67276 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
67277 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
67278 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
67279 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
67280 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
67281 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
67282 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
67284 cat <<\_ASBOX
67285 ## ----------------------------------------- ##
67286 ## Report this to the package-unused lists. ##
67287 ## ----------------------------------------- ##
67288 _ASBOX
67290 sed "s/^/$as_me: WARNING: /" >&2
67292 esac
67293 echo "$as_me:$LINENO: checking for langinfo.h" >&5
67294 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
67295 if test "${ac_cv_header_langinfo_h+set}" = set; then
67296 echo $ECHO_N "(cached) $ECHO_C" >&6
67297 else
67298 ac_cv_header_langinfo_h=$ac_header_preproc
67300 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
67301 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
67304 if test $ac_cv_header_langinfo_h = yes; then
67305 ac_has_langinfo_h=yes
67306 else
67307 ac_has_langinfo_h=no
67312 # Check for existence of libiconv.a providing XPG2 wchar_t support.
67313 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
67314 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
67315 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
67316 echo $ECHO_N "(cached) $ECHO_C" >&6
67317 else
67318 ac_check_lib_save_LIBS=$LIBS
67319 LIBS="-liconv $LIBS"
67320 if test x$gcc_no_link = xyes; then
67321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67323 { (exit 1); exit 1; }; }
67325 cat >conftest.$ac_ext <<_ACEOF
67326 /* confdefs.h. */
67327 _ACEOF
67328 cat confdefs.h >>conftest.$ac_ext
67329 cat >>conftest.$ac_ext <<_ACEOF
67330 /* end confdefs.h. */
67332 /* Override any gcc2 internal prototype to avoid an error. */
67333 #ifdef __cplusplus
67334 extern "C"
67335 #endif
67336 /* We use char because int might match the return type of a gcc2
67337 builtin and then its argument prototype would still apply. */
67338 char iconv ();
67340 main ()
67342 iconv ();
67344 return 0;
67346 _ACEOF
67347 rm -f conftest.$ac_objext conftest$ac_exeext
67348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67349 (eval $ac_link) 2>conftest.er1
67350 ac_status=$?
67351 grep -v '^ *+' conftest.er1 >conftest.err
67352 rm -f conftest.er1
67353 cat conftest.err >&5
67354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67355 (exit $ac_status); } &&
67356 { ac_try='test -z "$ac_c_werror_flag"
67357 || test ! -s conftest.err'
67358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67359 (eval $ac_try) 2>&5
67360 ac_status=$?
67361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67362 (exit $ac_status); }; } &&
67363 { ac_try='test -s conftest$ac_exeext'
67364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67365 (eval $ac_try) 2>&5
67366 ac_status=$?
67367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67368 (exit $ac_status); }; }; then
67369 ac_cv_lib_iconv_iconv=yes
67370 else
67371 echo "$as_me: failed program was:" >&5
67372 sed 's/^/| /' conftest.$ac_ext >&5
67374 ac_cv_lib_iconv_iconv=no
67376 rm -f conftest.err conftest.$ac_objext \
67377 conftest$ac_exeext conftest.$ac_ext
67378 LIBS=$ac_check_lib_save_LIBS
67380 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
67381 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
67382 if test $ac_cv_lib_iconv_iconv = yes; then
67383 LIBICONV="-liconv"
67386 ac_save_LIBS="$LIBS"
67387 LIBS="$LIBS $LIBICONV"
67394 for ac_func in iconv_open iconv_close iconv nl_langinfo
67396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67397 echo "$as_me:$LINENO: checking for $ac_func" >&5
67398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67399 if eval "test \"\${$as_ac_var+set}\" = set"; then
67400 echo $ECHO_N "(cached) $ECHO_C" >&6
67401 else
67402 if test x$gcc_no_link = xyes; then
67403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67405 { (exit 1); exit 1; }; }
67407 cat >conftest.$ac_ext <<_ACEOF
67408 /* confdefs.h. */
67409 _ACEOF
67410 cat confdefs.h >>conftest.$ac_ext
67411 cat >>conftest.$ac_ext <<_ACEOF
67412 /* end confdefs.h. */
67413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67415 #define $ac_func innocuous_$ac_func
67417 /* System header to define __stub macros and hopefully few prototypes,
67418 which can conflict with char $ac_func (); below.
67419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67420 <limits.h> exists even on freestanding compilers. */
67422 #ifdef __STDC__
67423 # include <limits.h>
67424 #else
67425 # include <assert.h>
67426 #endif
67428 #undef $ac_func
67430 /* Override any gcc2 internal prototype to avoid an error. */
67431 #ifdef __cplusplus
67432 extern "C"
67434 #endif
67435 /* We use char because int might match the return type of a gcc2
67436 builtin and then its argument prototype would still apply. */
67437 char $ac_func ();
67438 /* The GNU C library defines this for functions which it implements
67439 to always fail with ENOSYS. Some functions are actually named
67440 something starting with __ and the normal name is an alias. */
67441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67442 choke me
67443 #else
67444 char (*f) () = $ac_func;
67445 #endif
67446 #ifdef __cplusplus
67448 #endif
67451 main ()
67453 return f != $ac_func;
67455 return 0;
67457 _ACEOF
67458 rm -f conftest.$ac_objext conftest$ac_exeext
67459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67460 (eval $ac_link) 2>conftest.er1
67461 ac_status=$?
67462 grep -v '^ *+' conftest.er1 >conftest.err
67463 rm -f conftest.er1
67464 cat conftest.err >&5
67465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67466 (exit $ac_status); } &&
67467 { ac_try='test -z "$ac_c_werror_flag"
67468 || test ! -s conftest.err'
67469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67470 (eval $ac_try) 2>&5
67471 ac_status=$?
67472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67473 (exit $ac_status); }; } &&
67474 { ac_try='test -s conftest$ac_exeext'
67475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67476 (eval $ac_try) 2>&5
67477 ac_status=$?
67478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67479 (exit $ac_status); }; }; then
67480 eval "$as_ac_var=yes"
67481 else
67482 echo "$as_me: failed program was:" >&5
67483 sed 's/^/| /' conftest.$ac_ext >&5
67485 eval "$as_ac_var=no"
67487 rm -f conftest.err conftest.$ac_objext \
67488 conftest$ac_exeext conftest.$ac_ext
67490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67492 if test `eval echo '${'$as_ac_var'}'` = yes; then
67493 cat >>confdefs.h <<_ACEOF
67494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67495 _ACEOF
67496 ac_XPG2funcs=yes
67497 else
67498 ac_XPG2funcs=no
67500 done
67503 LIBS="$ac_save_LIBS"
67505 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
67506 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
67507 if test x"$ac_has_iconv_h" = xyes &&
67508 test x"$ac_has_langinfo_h" = xyes &&
67509 test x"$ac_XPG2funcs" = xyes;
67510 then
67511 ac_XPG2_wchar_t=yes
67512 else
67513 ac_XPG2_wchar_t=no
67515 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
67516 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
67518 # At the moment, only enable wchar_t specializations if all the
67519 # above support is present.
67520 if test x"$ac_isoC99_wchar_t" = xyes &&
67521 test x"$ac_XPG2_wchar_t" = xyes;
67522 then
67523 cat >>confdefs.h <<\_ACEOF
67524 #define _GLIBCXX_USE_WCHAR_T 1
67525 _ACEOF
67527 enable_wchar_t=yes
67530 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
67531 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
67532 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
67533 echo "${ECHO_T}$enable_wchar_t" >&6
67535 cat >>confdefs.h <<\_ACEOF
67536 #define HAVE_COSF 1
67537 _ACEOF
67539 cat >>confdefs.h <<\_ACEOF
67540 #define HAVE_COSL 1
67541 _ACEOF
67543 cat >>confdefs.h <<\_ACEOF
67544 #define HAVE_COSHF 1
67545 _ACEOF
67547 cat >>confdefs.h <<\_ACEOF
67548 #define HAVE_COSHL 1
67549 _ACEOF
67551 cat >>confdefs.h <<\_ACEOF
67552 #define HAVE_LOGF 1
67553 _ACEOF
67555 cat >>confdefs.h <<\_ACEOF
67556 #define HAVE_LOGL 1
67557 _ACEOF
67559 cat >>confdefs.h <<\_ACEOF
67560 #define HAVE_LOG10F 1
67561 _ACEOF
67563 cat >>confdefs.h <<\_ACEOF
67564 #define HAVE_LOG10L 1
67565 _ACEOF
67567 cat >>confdefs.h <<\_ACEOF
67568 #define HAVE_SINF 1
67569 _ACEOF
67571 cat >>confdefs.h <<\_ACEOF
67572 #define HAVE_SINL 1
67573 _ACEOF
67575 cat >>confdefs.h <<\_ACEOF
67576 #define HAVE_SINHF 1
67577 _ACEOF
67579 cat >>confdefs.h <<\_ACEOF
67580 #define HAVE_SINHL 1
67581 _ACEOF
67584 *-solaris*)
67585 case "$target" in
67586 # *-solaris2.5)
67587 # os_include_dir="os/solaris/solaris2.5"
67588 # ;;
67589 # *-solaris2.6)
67590 # os_include_dir="os/solaris/solaris2.6"
67591 # ;;
67592 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
67593 cat >>confdefs.h <<\_ACEOF
67594 #define HAVE_GETPAGESIZE 1
67595 _ACEOF
67597 cat >>confdefs.h <<\_ACEOF
67598 #define HAVE_SIGSETJMP 1
67599 _ACEOF
67601 cat >>confdefs.h <<\_ACEOF
67602 #define HAVE_MBSTATE_T 1
67603 _ACEOF
67605 cat >>confdefs.h <<\_ACEOF
67606 #define HAVE_POLL 1
67607 _ACEOF
67609 cat >>confdefs.h <<\_ACEOF
67610 #define HAVE_S_ISREG 1
67611 _ACEOF
67613 cat >>confdefs.h <<\_ACEOF
67614 #define HAVE_LC_MESSAGES 1
67615 _ACEOF
67617 cat >>confdefs.h <<\_ACEOF
67618 #define HAVE_BTOWC 1
67619 _ACEOF
67621 cat >>confdefs.h <<\_ACEOF
67622 #define HAVE_FGETWC 1
67623 _ACEOF
67625 cat >>confdefs.h <<\_ACEOF
67626 #define HAVE_FGETWS 1
67627 _ACEOF
67629 cat >>confdefs.h <<\_ACEOF
67630 #define HAVE_FINITE 1
67631 _ACEOF
67633 cat >>confdefs.h <<\_ACEOF
67634 #define HAVE_FPCLASS 1
67635 _ACEOF
67637 cat >>confdefs.h <<\_ACEOF
67638 #define HAVE_FPUTWC 1
67639 _ACEOF
67641 cat >>confdefs.h <<\_ACEOF
67642 #define HAVE_FPUTWS 1
67643 _ACEOF
67645 cat >>confdefs.h <<\_ACEOF
67646 #define HAVE_FWIDE 1
67647 _ACEOF
67649 cat >>confdefs.h <<\_ACEOF
67650 #define HAVE_FWPRINTF 1
67651 _ACEOF
67653 cat >>confdefs.h <<\_ACEOF
67654 #define HAVE_FWSCANF 1
67655 _ACEOF
67657 cat >>confdefs.h <<\_ACEOF
67658 #define HAVE_GETPAGESIZE 1
67659 _ACEOF
67661 cat >>confdefs.h <<\_ACEOF
67662 #define HAVE_GETWC 1
67663 _ACEOF
67665 cat >>confdefs.h <<\_ACEOF
67666 #define HAVE_GETWCHAR 1
67667 _ACEOF
67669 cat >>confdefs.h <<\_ACEOF
67670 #define HAVE_MBRLEN 1
67671 _ACEOF
67673 cat >>confdefs.h <<\_ACEOF
67674 #define HAVE_MBRTOWC 1
67675 _ACEOF
67677 cat >>confdefs.h <<\_ACEOF
67678 #define HAVE_MBSINIT 1
67679 _ACEOF
67681 cat >>confdefs.h <<\_ACEOF
67682 #define HAVE_MBSRTOWCS 1
67683 _ACEOF
67685 cat >>confdefs.h <<\_ACEOF
67686 #define HAVE_NL_LANGINFO 1
67687 _ACEOF
67689 cat >>confdefs.h <<\_ACEOF
67690 #define HAVE_PUTWC 1
67691 _ACEOF
67693 cat >>confdefs.h <<\_ACEOF
67694 #define HAVE_PUTWCHAR 1
67695 _ACEOF
67697 cat >>confdefs.h <<\_ACEOF
67698 #define HAVE_SWPRINTF 1
67699 _ACEOF
67701 cat >>confdefs.h <<\_ACEOF
67702 #define HAVE_SWSCANF 1
67703 _ACEOF
67705 cat >>confdefs.h <<\_ACEOF
67706 #define HAVE_UNGETWC 1
67707 _ACEOF
67709 cat >>confdefs.h <<\_ACEOF
67710 #define HAVE_VFWPRINTF 1
67711 _ACEOF
67713 cat >>confdefs.h <<\_ACEOF
67714 #define HAVE_VSWPRINTF 1
67715 _ACEOF
67717 cat >>confdefs.h <<\_ACEOF
67718 #define HAVE_VWPRINTF 1
67719 _ACEOF
67721 cat >>confdefs.h <<\_ACEOF
67722 #define HAVE_WCRTOMB 1
67723 _ACEOF
67725 cat >>confdefs.h <<\_ACEOF
67726 #define HAVE_WCSCAT 1
67727 _ACEOF
67729 cat >>confdefs.h <<\_ACEOF
67730 #define HAVE_WCSCHR 1
67731 _ACEOF
67733 cat >>confdefs.h <<\_ACEOF
67734 #define HAVE_WCSCMP 1
67735 _ACEOF
67737 cat >>confdefs.h <<\_ACEOF
67738 #define HAVE_WCSCOLL 1
67739 _ACEOF
67741 cat >>confdefs.h <<\_ACEOF
67742 #define HAVE_WCSCPY 1
67743 _ACEOF
67745 cat >>confdefs.h <<\_ACEOF
67746 #define HAVE_WCSCSPN 1
67747 _ACEOF
67749 cat >>confdefs.h <<\_ACEOF
67750 #define HAVE_WCSFTIME 1
67751 _ACEOF
67753 cat >>confdefs.h <<\_ACEOF
67754 #define HAVE_WCSLEN 1
67755 _ACEOF
67757 cat >>confdefs.h <<\_ACEOF
67758 #define HAVE_WCSNCAT 1
67759 _ACEOF
67761 cat >>confdefs.h <<\_ACEOF
67762 #define HAVE_WCSNCMP 1
67763 _ACEOF
67765 cat >>confdefs.h <<\_ACEOF
67766 #define HAVE_WCSNCPY 1
67767 _ACEOF
67769 cat >>confdefs.h <<\_ACEOF
67770 #define HAVE_WCSPBRK 1
67771 _ACEOF
67773 cat >>confdefs.h <<\_ACEOF
67774 #define HAVE_WCSRCHR 1
67775 _ACEOF
67777 cat >>confdefs.h <<\_ACEOF
67778 #define HAVE_WCSRTOMBS 1
67779 _ACEOF
67781 cat >>confdefs.h <<\_ACEOF
67782 #define HAVE_WCSSPN 1
67783 _ACEOF
67785 cat >>confdefs.h <<\_ACEOF
67786 #define HAVE_WCSSTR 1
67787 _ACEOF
67789 cat >>confdefs.h <<\_ACEOF
67790 #define HAVE_WCSTOD 1
67791 _ACEOF
67793 cat >>confdefs.h <<\_ACEOF
67794 #define HAVE_WCSTOK 1
67795 _ACEOF
67797 cat >>confdefs.h <<\_ACEOF
67798 #define HAVE_WCSTOL 1
67799 _ACEOF
67801 cat >>confdefs.h <<\_ACEOF
67802 #define HAVE_WCSTOUL 1
67803 _ACEOF
67805 cat >>confdefs.h <<\_ACEOF
67806 #define HAVE_WCSXFRM 1
67807 _ACEOF
67809 cat >>confdefs.h <<\_ACEOF
67810 #define HAVE_WCTOB 1
67811 _ACEOF
67813 cat >>confdefs.h <<\_ACEOF
67814 #define HAVE_WMEMCHR 1
67815 _ACEOF
67817 cat >>confdefs.h <<\_ACEOF
67818 #define HAVE_WMEMCMP 1
67819 _ACEOF
67821 cat >>confdefs.h <<\_ACEOF
67822 #define HAVE_WMEMCPY 1
67823 _ACEOF
67825 cat >>confdefs.h <<\_ACEOF
67826 #define HAVE_WMEMMOVE 1
67827 _ACEOF
67829 cat >>confdefs.h <<\_ACEOF
67830 #define HAVE_WMEMSET 1
67831 _ACEOF
67833 cat >>confdefs.h <<\_ACEOF
67834 #define HAVE_WPRINTF 1
67835 _ACEOF
67837 cat >>confdefs.h <<\_ACEOF
67838 #define HAVE_WSCANF 1
67839 _ACEOF
67841 cat >>confdefs.h <<\_ACEOF
67842 #define HAVE_ICONV 1
67843 _ACEOF
67845 cat >>confdefs.h <<\_ACEOF
67846 #define HAVE_ICONV_CLOSE 1
67847 _ACEOF
67849 cat >>confdefs.h <<\_ACEOF
67850 #define HAVE_ICONV_OPEN 1
67851 _ACEOF
67853 # Look for the pieces required for wchar_t support in order to
67854 # get all the right HAVE_* macros defined.
67856 # Test wchar.h for mbstate_t, which is needed for char_traits and
67857 # others even if wchar_t support is not on.
67858 echo "$as_me:$LINENO: checking for mbstate_t" >&5
67859 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
67860 cat >conftest.$ac_ext <<_ACEOF
67861 /* confdefs.h. */
67862 _ACEOF
67863 cat confdefs.h >>conftest.$ac_ext
67864 cat >>conftest.$ac_ext <<_ACEOF
67865 /* end confdefs.h. */
67866 #include <wchar.h>
67868 main ()
67870 mbstate_t teststate;
67872 return 0;
67874 _ACEOF
67875 rm -f conftest.$ac_objext
67876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67877 (eval $ac_compile) 2>conftest.er1
67878 ac_status=$?
67879 grep -v '^ *+' conftest.er1 >conftest.err
67880 rm -f conftest.er1
67881 cat conftest.err >&5
67882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67883 (exit $ac_status); } &&
67884 { ac_try='test -z "$ac_c_werror_flag"
67885 || test ! -s conftest.err'
67886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67887 (eval $ac_try) 2>&5
67888 ac_status=$?
67889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67890 (exit $ac_status); }; } &&
67891 { ac_try='test -s conftest.$ac_objext'
67892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67893 (eval $ac_try) 2>&5
67894 ac_status=$?
67895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67896 (exit $ac_status); }; }; then
67897 have_mbstate_t=yes
67898 else
67899 echo "$as_me: failed program was:" >&5
67900 sed 's/^/| /' conftest.$ac_ext >&5
67902 have_mbstate_t=no
67904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67905 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
67906 echo "${ECHO_T}$have_mbstate_t" >&6
67907 if test x"$have_mbstate_t" = xyes; then
67908 cat >>confdefs.h <<\_ACEOF
67909 #define HAVE_MBSTATE_T 1
67910 _ACEOF
67914 # Sanity check for existence of ISO C99 headers for extended encoding.
67916 for ac_header in wchar.h
67918 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
67919 if eval "test \"\${$as_ac_Header+set}\" = set"; then
67920 echo "$as_me:$LINENO: checking for $ac_header" >&5
67921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
67922 if eval "test \"\${$as_ac_Header+set}\" = set"; then
67923 echo $ECHO_N "(cached) $ECHO_C" >&6
67925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
67926 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
67927 else
67928 # Is the header compilable?
67929 echo "$as_me:$LINENO: checking $ac_header usability" >&5
67930 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
67931 cat >conftest.$ac_ext <<_ACEOF
67932 /* confdefs.h. */
67933 _ACEOF
67934 cat confdefs.h >>conftest.$ac_ext
67935 cat >>conftest.$ac_ext <<_ACEOF
67936 /* end confdefs.h. */
67937 $ac_includes_default
67938 #include <$ac_header>
67939 _ACEOF
67940 rm -f conftest.$ac_objext
67941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67942 (eval $ac_compile) 2>conftest.er1
67943 ac_status=$?
67944 grep -v '^ *+' conftest.er1 >conftest.err
67945 rm -f conftest.er1
67946 cat conftest.err >&5
67947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67948 (exit $ac_status); } &&
67949 { ac_try='test -z "$ac_c_werror_flag"
67950 || test ! -s conftest.err'
67951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67952 (eval $ac_try) 2>&5
67953 ac_status=$?
67954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67955 (exit $ac_status); }; } &&
67956 { ac_try='test -s conftest.$ac_objext'
67957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67958 (eval $ac_try) 2>&5
67959 ac_status=$?
67960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67961 (exit $ac_status); }; }; then
67962 ac_header_compiler=yes
67963 else
67964 echo "$as_me: failed program was:" >&5
67965 sed 's/^/| /' conftest.$ac_ext >&5
67967 ac_header_compiler=no
67969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67970 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
67971 echo "${ECHO_T}$ac_header_compiler" >&6
67973 # Is the header present?
67974 echo "$as_me:$LINENO: checking $ac_header presence" >&5
67975 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
67976 cat >conftest.$ac_ext <<_ACEOF
67977 /* confdefs.h. */
67978 _ACEOF
67979 cat confdefs.h >>conftest.$ac_ext
67980 cat >>conftest.$ac_ext <<_ACEOF
67981 /* end confdefs.h. */
67982 #include <$ac_header>
67983 _ACEOF
67984 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
67985 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
67986 ac_status=$?
67987 grep -v '^ *+' conftest.er1 >conftest.err
67988 rm -f conftest.er1
67989 cat conftest.err >&5
67990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67991 (exit $ac_status); } >/dev/null; then
67992 if test -s conftest.err; then
67993 ac_cpp_err=$ac_c_preproc_warn_flag
67994 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
67995 else
67996 ac_cpp_err=
67998 else
67999 ac_cpp_err=yes
68001 if test -z "$ac_cpp_err"; then
68002 ac_header_preproc=yes
68003 else
68004 echo "$as_me: failed program was:" >&5
68005 sed 's/^/| /' conftest.$ac_ext >&5
68007 ac_header_preproc=no
68009 rm -f conftest.err conftest.$ac_ext
68010 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
68011 echo "${ECHO_T}$ac_header_preproc" >&6
68013 # So? What about this header?
68014 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
68015 yes:no: )
68016 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
68017 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
68018 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
68019 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
68020 ac_header_preproc=yes
68022 no:yes:* )
68023 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
68024 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
68025 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
68026 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
68027 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
68028 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
68029 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
68030 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
68031 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
68032 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
68033 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
68034 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
68036 cat <<\_ASBOX
68037 ## ----------------------------------------- ##
68038 ## Report this to the package-unused lists. ##
68039 ## ----------------------------------------- ##
68040 _ASBOX
68042 sed "s/^/$as_me: WARNING: /" >&2
68044 esac
68045 echo "$as_me:$LINENO: checking for $ac_header" >&5
68046 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
68047 if eval "test \"\${$as_ac_Header+set}\" = set"; then
68048 echo $ECHO_N "(cached) $ECHO_C" >&6
68049 else
68050 eval "$as_ac_Header=\$ac_header_preproc"
68052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
68053 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
68056 if test `eval echo '${'$as_ac_Header'}'` = yes; then
68057 cat >>confdefs.h <<_ACEOF
68058 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
68059 _ACEOF
68060 ac_has_wchar_h=yes
68061 else
68062 ac_has_wchar_h=no
68065 done
68068 for ac_header in wctype.h
68070 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
68071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
68072 echo "$as_me:$LINENO: checking for $ac_header" >&5
68073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
68074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
68075 echo $ECHO_N "(cached) $ECHO_C" >&6
68077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
68078 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
68079 else
68080 # Is the header compilable?
68081 echo "$as_me:$LINENO: checking $ac_header usability" >&5
68082 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
68083 cat >conftest.$ac_ext <<_ACEOF
68084 /* confdefs.h. */
68085 _ACEOF
68086 cat confdefs.h >>conftest.$ac_ext
68087 cat >>conftest.$ac_ext <<_ACEOF
68088 /* end confdefs.h. */
68089 $ac_includes_default
68090 #include <$ac_header>
68091 _ACEOF
68092 rm -f conftest.$ac_objext
68093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68094 (eval $ac_compile) 2>conftest.er1
68095 ac_status=$?
68096 grep -v '^ *+' conftest.er1 >conftest.err
68097 rm -f conftest.er1
68098 cat conftest.err >&5
68099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68100 (exit $ac_status); } &&
68101 { ac_try='test -z "$ac_c_werror_flag"
68102 || test ! -s conftest.err'
68103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68104 (eval $ac_try) 2>&5
68105 ac_status=$?
68106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68107 (exit $ac_status); }; } &&
68108 { ac_try='test -s conftest.$ac_objext'
68109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68110 (eval $ac_try) 2>&5
68111 ac_status=$?
68112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68113 (exit $ac_status); }; }; then
68114 ac_header_compiler=yes
68115 else
68116 echo "$as_me: failed program was:" >&5
68117 sed 's/^/| /' conftest.$ac_ext >&5
68119 ac_header_compiler=no
68121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68122 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
68123 echo "${ECHO_T}$ac_header_compiler" >&6
68125 # Is the header present?
68126 echo "$as_me:$LINENO: checking $ac_header presence" >&5
68127 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
68128 cat >conftest.$ac_ext <<_ACEOF
68129 /* confdefs.h. */
68130 _ACEOF
68131 cat confdefs.h >>conftest.$ac_ext
68132 cat >>conftest.$ac_ext <<_ACEOF
68133 /* end confdefs.h. */
68134 #include <$ac_header>
68135 _ACEOF
68136 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
68137 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
68138 ac_status=$?
68139 grep -v '^ *+' conftest.er1 >conftest.err
68140 rm -f conftest.er1
68141 cat conftest.err >&5
68142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68143 (exit $ac_status); } >/dev/null; then
68144 if test -s conftest.err; then
68145 ac_cpp_err=$ac_c_preproc_warn_flag
68146 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
68147 else
68148 ac_cpp_err=
68150 else
68151 ac_cpp_err=yes
68153 if test -z "$ac_cpp_err"; then
68154 ac_header_preproc=yes
68155 else
68156 echo "$as_me: failed program was:" >&5
68157 sed 's/^/| /' conftest.$ac_ext >&5
68159 ac_header_preproc=no
68161 rm -f conftest.err conftest.$ac_ext
68162 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
68163 echo "${ECHO_T}$ac_header_preproc" >&6
68165 # So? What about this header?
68166 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
68167 yes:no: )
68168 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
68169 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
68170 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
68171 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
68172 ac_header_preproc=yes
68174 no:yes:* )
68175 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
68176 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
68177 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
68178 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
68179 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
68180 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
68181 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
68182 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
68183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
68184 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
68185 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
68186 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
68188 cat <<\_ASBOX
68189 ## ----------------------------------------- ##
68190 ## Report this to the package-unused lists. ##
68191 ## ----------------------------------------- ##
68192 _ASBOX
68194 sed "s/^/$as_me: WARNING: /" >&2
68196 esac
68197 echo "$as_me:$LINENO: checking for $ac_header" >&5
68198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
68199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
68200 echo $ECHO_N "(cached) $ECHO_C" >&6
68201 else
68202 eval "$as_ac_Header=\$ac_header_preproc"
68204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
68205 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
68208 if test `eval echo '${'$as_ac_Header'}'` = yes; then
68209 cat >>confdefs.h <<_ACEOF
68210 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
68211 _ACEOF
68212 ac_has_wctype_h=yes
68213 else
68214 ac_has_wctype_h=no
68217 done
68220 # Only continue checking if the ISO C99 headers exist and support is on.
68221 if test x"$ac_has_wchar_h" = xyes &&
68222 test x"$ac_has_wctype_h" = xyes &&
68223 test x"$enable_c_mbchar" != xno; then
68225 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
68226 # numeric_limits can instantiate type_traits<wchar_t>
68227 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
68228 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
68229 cat >conftest.$ac_ext <<_ACEOF
68230 /* confdefs.h. */
68231 _ACEOF
68232 cat confdefs.h >>conftest.$ac_ext
68233 cat >>conftest.$ac_ext <<_ACEOF
68234 /* end confdefs.h. */
68235 #include <wchar.h>
68237 main ()
68239 int i = WCHAR_MIN; int j = WCHAR_MAX;
68241 return 0;
68243 _ACEOF
68244 rm -f conftest.$ac_objext
68245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68246 (eval $ac_compile) 2>conftest.er1
68247 ac_status=$?
68248 grep -v '^ *+' conftest.er1 >conftest.err
68249 rm -f conftest.er1
68250 cat conftest.err >&5
68251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68252 (exit $ac_status); } &&
68253 { ac_try='test -z "$ac_c_werror_flag"
68254 || test ! -s conftest.err'
68255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68256 (eval $ac_try) 2>&5
68257 ac_status=$?
68258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68259 (exit $ac_status); }; } &&
68260 { ac_try='test -s conftest.$ac_objext'
68261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68262 (eval $ac_try) 2>&5
68263 ac_status=$?
68264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68265 (exit $ac_status); }; }; then
68266 has_wchar_minmax=yes
68267 else
68268 echo "$as_me: failed program was:" >&5
68269 sed 's/^/| /' conftest.$ac_ext >&5
68271 has_wchar_minmax=no
68273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68274 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
68275 echo "${ECHO_T}$has_wchar_minmax" >&6
68277 # Test wchar.h for WEOF, which is what we use to determine whether
68278 # to specialize for char_traits<wchar_t> or not.
68279 echo "$as_me:$LINENO: checking for WEOF" >&5
68280 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
68281 cat >conftest.$ac_ext <<_ACEOF
68282 /* confdefs.h. */
68283 _ACEOF
68284 cat confdefs.h >>conftest.$ac_ext
68285 cat >>conftest.$ac_ext <<_ACEOF
68286 /* end confdefs.h. */
68288 #include <wchar.h>
68289 #include <stddef.h>
68291 main ()
68293 wint_t i = WEOF;
68295 return 0;
68297 _ACEOF
68298 rm -f conftest.$ac_objext
68299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68300 (eval $ac_compile) 2>conftest.er1
68301 ac_status=$?
68302 grep -v '^ *+' conftest.er1 >conftest.err
68303 rm -f conftest.er1
68304 cat conftest.err >&5
68305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68306 (exit $ac_status); } &&
68307 { ac_try='test -z "$ac_c_werror_flag"
68308 || test ! -s conftest.err'
68309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68310 (eval $ac_try) 2>&5
68311 ac_status=$?
68312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68313 (exit $ac_status); }; } &&
68314 { ac_try='test -s conftest.$ac_objext'
68315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68316 (eval $ac_try) 2>&5
68317 ac_status=$?
68318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68319 (exit $ac_status); }; }; then
68320 has_weof=yes
68321 else
68322 echo "$as_me: failed program was:" >&5
68323 sed 's/^/| /' conftest.$ac_ext >&5
68325 has_weof=no
68327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68328 echo "$as_me:$LINENO: result: $has_weof" >&5
68329 echo "${ECHO_T}$has_weof" >&6
68331 # Tests for wide character functions used in char_traits<wchar_t>.
68332 ac_wfuncs=yes
68339 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
68341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68342 echo "$as_me:$LINENO: checking for $ac_func" >&5
68343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68344 if eval "test \"\${$as_ac_var+set}\" = set"; then
68345 echo $ECHO_N "(cached) $ECHO_C" >&6
68346 else
68347 if test x$gcc_no_link = xyes; then
68348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68350 { (exit 1); exit 1; }; }
68352 cat >conftest.$ac_ext <<_ACEOF
68353 /* confdefs.h. */
68354 _ACEOF
68355 cat confdefs.h >>conftest.$ac_ext
68356 cat >>conftest.$ac_ext <<_ACEOF
68357 /* end confdefs.h. */
68358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68360 #define $ac_func innocuous_$ac_func
68362 /* System header to define __stub macros and hopefully few prototypes,
68363 which can conflict with char $ac_func (); below.
68364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68365 <limits.h> exists even on freestanding compilers. */
68367 #ifdef __STDC__
68368 # include <limits.h>
68369 #else
68370 # include <assert.h>
68371 #endif
68373 #undef $ac_func
68375 /* Override any gcc2 internal prototype to avoid an error. */
68376 #ifdef __cplusplus
68377 extern "C"
68379 #endif
68380 /* We use char because int might match the return type of a gcc2
68381 builtin and then its argument prototype would still apply. */
68382 char $ac_func ();
68383 /* The GNU C library defines this for functions which it implements
68384 to always fail with ENOSYS. Some functions are actually named
68385 something starting with __ and the normal name is an alias. */
68386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68387 choke me
68388 #else
68389 char (*f) () = $ac_func;
68390 #endif
68391 #ifdef __cplusplus
68393 #endif
68396 main ()
68398 return f != $ac_func;
68400 return 0;
68402 _ACEOF
68403 rm -f conftest.$ac_objext conftest$ac_exeext
68404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68405 (eval $ac_link) 2>conftest.er1
68406 ac_status=$?
68407 grep -v '^ *+' conftest.er1 >conftest.err
68408 rm -f conftest.er1
68409 cat conftest.err >&5
68410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68411 (exit $ac_status); } &&
68412 { ac_try='test -z "$ac_c_werror_flag"
68413 || test ! -s conftest.err'
68414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68415 (eval $ac_try) 2>&5
68416 ac_status=$?
68417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68418 (exit $ac_status); }; } &&
68419 { ac_try='test -s conftest$ac_exeext'
68420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68421 (eval $ac_try) 2>&5
68422 ac_status=$?
68423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68424 (exit $ac_status); }; }; then
68425 eval "$as_ac_var=yes"
68426 else
68427 echo "$as_me: failed program was:" >&5
68428 sed 's/^/| /' conftest.$ac_ext >&5
68430 eval "$as_ac_var=no"
68432 rm -f conftest.err conftest.$ac_objext \
68433 conftest$ac_exeext conftest.$ac_ext
68435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68437 if test `eval echo '${'$as_ac_var'}'` = yes; then
68438 cat >>confdefs.h <<_ACEOF
68439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68440 _ACEOF
68442 else
68443 ac_wfuncs=no
68445 done
68448 # Checks for names injected into std:: by the c_std headers.
68495 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
68496 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
68497 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
68498 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
68499 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
68500 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
68502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68503 echo "$as_me:$LINENO: checking for $ac_func" >&5
68504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68505 if eval "test \"\${$as_ac_var+set}\" = set"; then
68506 echo $ECHO_N "(cached) $ECHO_C" >&6
68507 else
68508 if test x$gcc_no_link = xyes; then
68509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68511 { (exit 1); exit 1; }; }
68513 cat >conftest.$ac_ext <<_ACEOF
68514 /* confdefs.h. */
68515 _ACEOF
68516 cat confdefs.h >>conftest.$ac_ext
68517 cat >>conftest.$ac_ext <<_ACEOF
68518 /* end confdefs.h. */
68519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68521 #define $ac_func innocuous_$ac_func
68523 /* System header to define __stub macros and hopefully few prototypes,
68524 which can conflict with char $ac_func (); below.
68525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68526 <limits.h> exists even on freestanding compilers. */
68528 #ifdef __STDC__
68529 # include <limits.h>
68530 #else
68531 # include <assert.h>
68532 #endif
68534 #undef $ac_func
68536 /* Override any gcc2 internal prototype to avoid an error. */
68537 #ifdef __cplusplus
68538 extern "C"
68540 #endif
68541 /* We use char because int might match the return type of a gcc2
68542 builtin and then its argument prototype would still apply. */
68543 char $ac_func ();
68544 /* The GNU C library defines this for functions which it implements
68545 to always fail with ENOSYS. Some functions are actually named
68546 something starting with __ and the normal name is an alias. */
68547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68548 choke me
68549 #else
68550 char (*f) () = $ac_func;
68551 #endif
68552 #ifdef __cplusplus
68554 #endif
68557 main ()
68559 return f != $ac_func;
68561 return 0;
68563 _ACEOF
68564 rm -f conftest.$ac_objext conftest$ac_exeext
68565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68566 (eval $ac_link) 2>conftest.er1
68567 ac_status=$?
68568 grep -v '^ *+' conftest.er1 >conftest.err
68569 rm -f conftest.er1
68570 cat conftest.err >&5
68571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68572 (exit $ac_status); } &&
68573 { ac_try='test -z "$ac_c_werror_flag"
68574 || test ! -s conftest.err'
68575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68576 (eval $ac_try) 2>&5
68577 ac_status=$?
68578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68579 (exit $ac_status); }; } &&
68580 { ac_try='test -s conftest$ac_exeext'
68581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68582 (eval $ac_try) 2>&5
68583 ac_status=$?
68584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68585 (exit $ac_status); }; }; then
68586 eval "$as_ac_var=yes"
68587 else
68588 echo "$as_me: failed program was:" >&5
68589 sed 's/^/| /' conftest.$ac_ext >&5
68591 eval "$as_ac_var=no"
68593 rm -f conftest.err conftest.$ac_objext \
68594 conftest$ac_exeext conftest.$ac_ext
68596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68598 if test `eval echo '${'$as_ac_var'}'` = yes; then
68599 cat >>confdefs.h <<_ACEOF
68600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68601 _ACEOF
68603 else
68604 ac_wfuncs=no
68606 done
68609 # Checks for wide character functions that are not required
68610 # for basic wchar_t support. Don't disable support if they are missing.
68611 # Injection of these is wrapped with guard macros.
68617 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
68619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68620 echo "$as_me:$LINENO: checking for $ac_func" >&5
68621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68622 if eval "test \"\${$as_ac_var+set}\" = set"; then
68623 echo $ECHO_N "(cached) $ECHO_C" >&6
68624 else
68625 if test x$gcc_no_link = xyes; then
68626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68628 { (exit 1); exit 1; }; }
68630 cat >conftest.$ac_ext <<_ACEOF
68631 /* confdefs.h. */
68632 _ACEOF
68633 cat confdefs.h >>conftest.$ac_ext
68634 cat >>conftest.$ac_ext <<_ACEOF
68635 /* end confdefs.h. */
68636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68638 #define $ac_func innocuous_$ac_func
68640 /* System header to define __stub macros and hopefully few prototypes,
68641 which can conflict with char $ac_func (); below.
68642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68643 <limits.h> exists even on freestanding compilers. */
68645 #ifdef __STDC__
68646 # include <limits.h>
68647 #else
68648 # include <assert.h>
68649 #endif
68651 #undef $ac_func
68653 /* Override any gcc2 internal prototype to avoid an error. */
68654 #ifdef __cplusplus
68655 extern "C"
68657 #endif
68658 /* We use char because int might match the return type of a gcc2
68659 builtin and then its argument prototype would still apply. */
68660 char $ac_func ();
68661 /* The GNU C library defines this for functions which it implements
68662 to always fail with ENOSYS. Some functions are actually named
68663 something starting with __ and the normal name is an alias. */
68664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68665 choke me
68666 #else
68667 char (*f) () = $ac_func;
68668 #endif
68669 #ifdef __cplusplus
68671 #endif
68674 main ()
68676 return f != $ac_func;
68678 return 0;
68680 _ACEOF
68681 rm -f conftest.$ac_objext conftest$ac_exeext
68682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68683 (eval $ac_link) 2>conftest.er1
68684 ac_status=$?
68685 grep -v '^ *+' conftest.er1 >conftest.err
68686 rm -f conftest.er1
68687 cat conftest.err >&5
68688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68689 (exit $ac_status); } &&
68690 { ac_try='test -z "$ac_c_werror_flag"
68691 || test ! -s conftest.err'
68692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68693 (eval $ac_try) 2>&5
68694 ac_status=$?
68695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68696 (exit $ac_status); }; } &&
68697 { ac_try='test -s conftest$ac_exeext'
68698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68699 (eval $ac_try) 2>&5
68700 ac_status=$?
68701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68702 (exit $ac_status); }; }; then
68703 eval "$as_ac_var=yes"
68704 else
68705 echo "$as_me: failed program was:" >&5
68706 sed 's/^/| /' conftest.$ac_ext >&5
68708 eval "$as_ac_var=no"
68710 rm -f conftest.err conftest.$ac_objext \
68711 conftest$ac_exeext conftest.$ac_ext
68713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68715 if test `eval echo '${'$as_ac_var'}'` = yes; then
68716 cat >>confdefs.h <<_ACEOF
68717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68718 _ACEOF
68721 done
68724 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
68725 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
68726 if test x"$has_weof" = xyes &&
68727 test x"$has_wchar_minmax" = xyes &&
68728 test x"$ac_wfuncs" = xyes;
68729 then
68730 ac_isoC99_wchar_t=yes
68731 else
68732 ac_isoC99_wchar_t=no
68734 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
68735 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
68737 # Use iconv for wchar_t to char conversions. As such, check for
68738 # X/Open Portability Guide, version 2 features (XPG2).
68739 if test "${ac_cv_header_iconv_h+set}" = set; then
68740 echo "$as_me:$LINENO: checking for iconv.h" >&5
68741 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
68742 if test "${ac_cv_header_iconv_h+set}" = set; then
68743 echo $ECHO_N "(cached) $ECHO_C" >&6
68745 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
68746 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
68747 else
68748 # Is the header compilable?
68749 echo "$as_me:$LINENO: checking iconv.h usability" >&5
68750 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
68751 cat >conftest.$ac_ext <<_ACEOF
68752 /* confdefs.h. */
68753 _ACEOF
68754 cat confdefs.h >>conftest.$ac_ext
68755 cat >>conftest.$ac_ext <<_ACEOF
68756 /* end confdefs.h. */
68757 $ac_includes_default
68758 #include <iconv.h>
68759 _ACEOF
68760 rm -f conftest.$ac_objext
68761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68762 (eval $ac_compile) 2>conftest.er1
68763 ac_status=$?
68764 grep -v '^ *+' conftest.er1 >conftest.err
68765 rm -f conftest.er1
68766 cat conftest.err >&5
68767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68768 (exit $ac_status); } &&
68769 { ac_try='test -z "$ac_c_werror_flag"
68770 || test ! -s conftest.err'
68771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68772 (eval $ac_try) 2>&5
68773 ac_status=$?
68774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68775 (exit $ac_status); }; } &&
68776 { ac_try='test -s conftest.$ac_objext'
68777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68778 (eval $ac_try) 2>&5
68779 ac_status=$?
68780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68781 (exit $ac_status); }; }; then
68782 ac_header_compiler=yes
68783 else
68784 echo "$as_me: failed program was:" >&5
68785 sed 's/^/| /' conftest.$ac_ext >&5
68787 ac_header_compiler=no
68789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68790 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
68791 echo "${ECHO_T}$ac_header_compiler" >&6
68793 # Is the header present?
68794 echo "$as_me:$LINENO: checking iconv.h presence" >&5
68795 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
68796 cat >conftest.$ac_ext <<_ACEOF
68797 /* confdefs.h. */
68798 _ACEOF
68799 cat confdefs.h >>conftest.$ac_ext
68800 cat >>conftest.$ac_ext <<_ACEOF
68801 /* end confdefs.h. */
68802 #include <iconv.h>
68803 _ACEOF
68804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
68805 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
68806 ac_status=$?
68807 grep -v '^ *+' conftest.er1 >conftest.err
68808 rm -f conftest.er1
68809 cat conftest.err >&5
68810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68811 (exit $ac_status); } >/dev/null; then
68812 if test -s conftest.err; then
68813 ac_cpp_err=$ac_c_preproc_warn_flag
68814 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
68815 else
68816 ac_cpp_err=
68818 else
68819 ac_cpp_err=yes
68821 if test -z "$ac_cpp_err"; then
68822 ac_header_preproc=yes
68823 else
68824 echo "$as_me: failed program was:" >&5
68825 sed 's/^/| /' conftest.$ac_ext >&5
68827 ac_header_preproc=no
68829 rm -f conftest.err conftest.$ac_ext
68830 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
68831 echo "${ECHO_T}$ac_header_preproc" >&6
68833 # So? What about this header?
68834 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
68835 yes:no: )
68836 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
68837 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
68838 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
68839 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
68840 ac_header_preproc=yes
68842 no:yes:* )
68843 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
68844 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
68845 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
68846 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
68847 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
68848 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
68849 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
68850 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
68851 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
68852 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
68853 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
68854 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
68856 cat <<\_ASBOX
68857 ## ----------------------------------------- ##
68858 ## Report this to the package-unused lists. ##
68859 ## ----------------------------------------- ##
68860 _ASBOX
68862 sed "s/^/$as_me: WARNING: /" >&2
68864 esac
68865 echo "$as_me:$LINENO: checking for iconv.h" >&5
68866 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
68867 if test "${ac_cv_header_iconv_h+set}" = set; then
68868 echo $ECHO_N "(cached) $ECHO_C" >&6
68869 else
68870 ac_cv_header_iconv_h=$ac_header_preproc
68872 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
68873 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
68876 if test $ac_cv_header_iconv_h = yes; then
68877 ac_has_iconv_h=yes
68878 else
68879 ac_has_iconv_h=no
68883 if test "${ac_cv_header_langinfo_h+set}" = set; then
68884 echo "$as_me:$LINENO: checking for langinfo.h" >&5
68885 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
68886 if test "${ac_cv_header_langinfo_h+set}" = set; then
68887 echo $ECHO_N "(cached) $ECHO_C" >&6
68889 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
68890 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
68891 else
68892 # Is the header compilable?
68893 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
68894 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
68895 cat >conftest.$ac_ext <<_ACEOF
68896 /* confdefs.h. */
68897 _ACEOF
68898 cat confdefs.h >>conftest.$ac_ext
68899 cat >>conftest.$ac_ext <<_ACEOF
68900 /* end confdefs.h. */
68901 $ac_includes_default
68902 #include <langinfo.h>
68903 _ACEOF
68904 rm -f conftest.$ac_objext
68905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68906 (eval $ac_compile) 2>conftest.er1
68907 ac_status=$?
68908 grep -v '^ *+' conftest.er1 >conftest.err
68909 rm -f conftest.er1
68910 cat conftest.err >&5
68911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68912 (exit $ac_status); } &&
68913 { ac_try='test -z "$ac_c_werror_flag"
68914 || test ! -s conftest.err'
68915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68916 (eval $ac_try) 2>&5
68917 ac_status=$?
68918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68919 (exit $ac_status); }; } &&
68920 { ac_try='test -s conftest.$ac_objext'
68921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68922 (eval $ac_try) 2>&5
68923 ac_status=$?
68924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68925 (exit $ac_status); }; }; then
68926 ac_header_compiler=yes
68927 else
68928 echo "$as_me: failed program was:" >&5
68929 sed 's/^/| /' conftest.$ac_ext >&5
68931 ac_header_compiler=no
68933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68934 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
68935 echo "${ECHO_T}$ac_header_compiler" >&6
68937 # Is the header present?
68938 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
68939 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
68940 cat >conftest.$ac_ext <<_ACEOF
68941 /* confdefs.h. */
68942 _ACEOF
68943 cat confdefs.h >>conftest.$ac_ext
68944 cat >>conftest.$ac_ext <<_ACEOF
68945 /* end confdefs.h. */
68946 #include <langinfo.h>
68947 _ACEOF
68948 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
68949 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
68950 ac_status=$?
68951 grep -v '^ *+' conftest.er1 >conftest.err
68952 rm -f conftest.er1
68953 cat conftest.err >&5
68954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68955 (exit $ac_status); } >/dev/null; then
68956 if test -s conftest.err; then
68957 ac_cpp_err=$ac_c_preproc_warn_flag
68958 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
68959 else
68960 ac_cpp_err=
68962 else
68963 ac_cpp_err=yes
68965 if test -z "$ac_cpp_err"; then
68966 ac_header_preproc=yes
68967 else
68968 echo "$as_me: failed program was:" >&5
68969 sed 's/^/| /' conftest.$ac_ext >&5
68971 ac_header_preproc=no
68973 rm -f conftest.err conftest.$ac_ext
68974 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
68975 echo "${ECHO_T}$ac_header_preproc" >&6
68977 # So? What about this header?
68978 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
68979 yes:no: )
68980 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
68981 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
68982 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
68983 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
68984 ac_header_preproc=yes
68986 no:yes:* )
68987 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
68988 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
68989 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
68990 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
68991 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
68992 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
68993 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
68994 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
68995 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
68996 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
68997 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
68998 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
69000 cat <<\_ASBOX
69001 ## ----------------------------------------- ##
69002 ## Report this to the package-unused lists. ##
69003 ## ----------------------------------------- ##
69004 _ASBOX
69006 sed "s/^/$as_me: WARNING: /" >&2
69008 esac
69009 echo "$as_me:$LINENO: checking for langinfo.h" >&5
69010 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
69011 if test "${ac_cv_header_langinfo_h+set}" = set; then
69012 echo $ECHO_N "(cached) $ECHO_C" >&6
69013 else
69014 ac_cv_header_langinfo_h=$ac_header_preproc
69016 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
69017 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
69020 if test $ac_cv_header_langinfo_h = yes; then
69021 ac_has_langinfo_h=yes
69022 else
69023 ac_has_langinfo_h=no
69028 # Check for existence of libiconv.a providing XPG2 wchar_t support.
69029 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
69030 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
69031 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
69032 echo $ECHO_N "(cached) $ECHO_C" >&6
69033 else
69034 ac_check_lib_save_LIBS=$LIBS
69035 LIBS="-liconv $LIBS"
69036 if test x$gcc_no_link = xyes; then
69037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69039 { (exit 1); exit 1; }; }
69041 cat >conftest.$ac_ext <<_ACEOF
69042 /* confdefs.h. */
69043 _ACEOF
69044 cat confdefs.h >>conftest.$ac_ext
69045 cat >>conftest.$ac_ext <<_ACEOF
69046 /* end confdefs.h. */
69048 /* Override any gcc2 internal prototype to avoid an error. */
69049 #ifdef __cplusplus
69050 extern "C"
69051 #endif
69052 /* We use char because int might match the return type of a gcc2
69053 builtin and then its argument prototype would still apply. */
69054 char iconv ();
69056 main ()
69058 iconv ();
69060 return 0;
69062 _ACEOF
69063 rm -f conftest.$ac_objext conftest$ac_exeext
69064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69065 (eval $ac_link) 2>conftest.er1
69066 ac_status=$?
69067 grep -v '^ *+' conftest.er1 >conftest.err
69068 rm -f conftest.er1
69069 cat conftest.err >&5
69070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69071 (exit $ac_status); } &&
69072 { ac_try='test -z "$ac_c_werror_flag"
69073 || test ! -s conftest.err'
69074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69075 (eval $ac_try) 2>&5
69076 ac_status=$?
69077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69078 (exit $ac_status); }; } &&
69079 { ac_try='test -s conftest$ac_exeext'
69080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69081 (eval $ac_try) 2>&5
69082 ac_status=$?
69083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69084 (exit $ac_status); }; }; then
69085 ac_cv_lib_iconv_iconv=yes
69086 else
69087 echo "$as_me: failed program was:" >&5
69088 sed 's/^/| /' conftest.$ac_ext >&5
69090 ac_cv_lib_iconv_iconv=no
69092 rm -f conftest.err conftest.$ac_objext \
69093 conftest$ac_exeext conftest.$ac_ext
69094 LIBS=$ac_check_lib_save_LIBS
69096 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
69097 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
69098 if test $ac_cv_lib_iconv_iconv = yes; then
69099 LIBICONV="-liconv"
69102 ac_save_LIBS="$LIBS"
69103 LIBS="$LIBS $LIBICONV"
69110 for ac_func in iconv_open iconv_close iconv nl_langinfo
69112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69113 echo "$as_me:$LINENO: checking for $ac_func" >&5
69114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69115 if eval "test \"\${$as_ac_var+set}\" = set"; then
69116 echo $ECHO_N "(cached) $ECHO_C" >&6
69117 else
69118 if test x$gcc_no_link = xyes; then
69119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69121 { (exit 1); exit 1; }; }
69123 cat >conftest.$ac_ext <<_ACEOF
69124 /* confdefs.h. */
69125 _ACEOF
69126 cat confdefs.h >>conftest.$ac_ext
69127 cat >>conftest.$ac_ext <<_ACEOF
69128 /* end confdefs.h. */
69129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69131 #define $ac_func innocuous_$ac_func
69133 /* System header to define __stub macros and hopefully few prototypes,
69134 which can conflict with char $ac_func (); below.
69135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69136 <limits.h> exists even on freestanding compilers. */
69138 #ifdef __STDC__
69139 # include <limits.h>
69140 #else
69141 # include <assert.h>
69142 #endif
69144 #undef $ac_func
69146 /* Override any gcc2 internal prototype to avoid an error. */
69147 #ifdef __cplusplus
69148 extern "C"
69150 #endif
69151 /* We use char because int might match the return type of a gcc2
69152 builtin and then its argument prototype would still apply. */
69153 char $ac_func ();
69154 /* The GNU C library defines this for functions which it implements
69155 to always fail with ENOSYS. Some functions are actually named
69156 something starting with __ and the normal name is an alias. */
69157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69158 choke me
69159 #else
69160 char (*f) () = $ac_func;
69161 #endif
69162 #ifdef __cplusplus
69164 #endif
69167 main ()
69169 return f != $ac_func;
69171 return 0;
69173 _ACEOF
69174 rm -f conftest.$ac_objext conftest$ac_exeext
69175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69176 (eval $ac_link) 2>conftest.er1
69177 ac_status=$?
69178 grep -v '^ *+' conftest.er1 >conftest.err
69179 rm -f conftest.er1
69180 cat conftest.err >&5
69181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69182 (exit $ac_status); } &&
69183 { ac_try='test -z "$ac_c_werror_flag"
69184 || test ! -s conftest.err'
69185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69186 (eval $ac_try) 2>&5
69187 ac_status=$?
69188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69189 (exit $ac_status); }; } &&
69190 { ac_try='test -s conftest$ac_exeext'
69191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69192 (eval $ac_try) 2>&5
69193 ac_status=$?
69194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69195 (exit $ac_status); }; }; then
69196 eval "$as_ac_var=yes"
69197 else
69198 echo "$as_me: failed program was:" >&5
69199 sed 's/^/| /' conftest.$ac_ext >&5
69201 eval "$as_ac_var=no"
69203 rm -f conftest.err conftest.$ac_objext \
69204 conftest$ac_exeext conftest.$ac_ext
69206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69208 if test `eval echo '${'$as_ac_var'}'` = yes; then
69209 cat >>confdefs.h <<_ACEOF
69210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69211 _ACEOF
69212 ac_XPG2funcs=yes
69213 else
69214 ac_XPG2funcs=no
69216 done
69219 LIBS="$ac_save_LIBS"
69221 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
69222 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
69223 if test x"$ac_has_iconv_h" = xyes &&
69224 test x"$ac_has_langinfo_h" = xyes &&
69225 test x"$ac_XPG2funcs" = xyes;
69226 then
69227 ac_XPG2_wchar_t=yes
69228 else
69229 ac_XPG2_wchar_t=no
69231 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
69232 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
69234 # At the moment, only enable wchar_t specializations if all the
69235 # above support is present.
69236 if test x"$ac_isoC99_wchar_t" = xyes &&
69237 test x"$ac_XPG2_wchar_t" = xyes;
69238 then
69239 cat >>confdefs.h <<\_ACEOF
69240 #define _GLIBCXX_USE_WCHAR_T 1
69241 _ACEOF
69243 enable_wchar_t=yes
69246 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
69247 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
69248 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
69249 echo "${ECHO_T}$enable_wchar_t" >&6
69251 # All of the dependencies for wide character support are here, so
69252 # turn it on. This requires some syncronization with the
69253 # GLIBCXX_CHECK_WCHAR_T_SUPPORT in acinclude.m4
69254 cat >>confdefs.h <<\_ACEOF
69255 #define _GLIBCXX_USE_WCHAR_T 1
69256 _ACEOF
69258 # Are these tested for even when cross?
69259 cat >>confdefs.h <<\_ACEOF
69260 #define HAVE_FLOAT_H 1
69261 _ACEOF
69263 cat >>confdefs.h <<\_ACEOF
69264 #define HAVE_IEEEFP_H 1
69265 _ACEOF
69267 cat >>confdefs.h <<\_ACEOF
69268 #define HAVE_INTTYPES_H 1
69269 _ACEOF
69271 cat >>confdefs.h <<\_ACEOF
69272 #define HAVE_LOCALE_H 1
69273 _ACEOF
69275 cat >>confdefs.h <<\_ACEOF
69276 #define HAVE_NAN_H 1
69277 _ACEOF
69279 cat >>confdefs.h <<\_ACEOF
69280 #define HAVE_SYS_FILIO_H 1
69281 _ACEOF
69283 cat >>confdefs.h <<\_ACEOF
69284 #define HAVE_SYS_IOCTL_H 1
69285 _ACEOF
69287 cat >>confdefs.h <<\_ACEOF
69288 #define HAVE_SYS_ISA_DEFS_H 1
69289 _ACEOF
69291 cat >>confdefs.h <<\_ACEOF
69292 #define HAVE_SYS_RESOURCE_H 1
69293 _ACEOF
69295 cat >>confdefs.h <<\_ACEOF
69296 #define HAVE_SYS_TIME_H 1
69297 _ACEOF
69299 cat >>confdefs.h <<\_ACEOF
69300 #define HAVE_SYS_TYPES_H 1
69301 _ACEOF
69303 cat >>confdefs.h <<\_ACEOF
69304 #define HAVE_UNISTD_H 1
69305 _ACEOF
69307 cat >>confdefs.h <<\_ACEOF
69308 #define HAVE_WCHAR_H 1
69309 _ACEOF
69311 cat >>confdefs.h <<\_ACEOF
69312 #define HAVE_WCTYPE_H 1
69313 _ACEOF
69315 cat >>confdefs.h <<\_ACEOF
69316 #define HAVE_LIBM 1
69317 _ACEOF
69320 esac
69321 case "$target" in
69322 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
69323 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
69324 cat >>confdefs.h <<\_ACEOF
69325 #define HAVE___BUILTIN_ABS 1
69326 _ACEOF
69328 cat >>confdefs.h <<\_ACEOF
69329 #define HAVE___BUILTIN_LABS 1
69330 _ACEOF
69332 cat >>confdefs.h <<\_ACEOF
69333 #define HAVE___BUILTIN_FABS 1
69334 _ACEOF
69336 cat >>confdefs.h <<\_ACEOF
69337 #define HAVE___BUILTIN_FABSF 1
69338 _ACEOF
69340 cat >>confdefs.h <<\_ACEOF
69341 #define HAVE___BUILTIN_FABSL 1
69342 _ACEOF
69344 cat >>confdefs.h <<\_ACEOF
69345 #define HAVE___BUILTIN_COS 1
69346 _ACEOF
69348 cat >>confdefs.h <<\_ACEOF
69349 #define HAVE___BUILTIN_COSF 1
69350 _ACEOF
69352 cat >>confdefs.h <<\_ACEOF
69353 #define HAVE___BUILTIN_SIN 1
69354 _ACEOF
69356 cat >>confdefs.h <<\_ACEOF
69357 #define HAVE___BUILTIN_SINF 1
69358 _ACEOF
69361 esac
69362 cat >>confdefs.h <<\_ACEOF
69363 #define HAVE_STRTOF 1
69364 _ACEOF
69366 cat >>confdefs.h <<\_ACEOF
69367 #define HAVE_STRTOLD 1
69368 _ACEOF
69370 cat >>confdefs.h <<\_ACEOF
69371 #define HAVE_MMAP 1
69372 _ACEOF
69374 cat >>confdefs.h <<\_ACEOF
69375 #define HAVE_COPYSIGN 1
69376 _ACEOF
69378 cat >>confdefs.h <<\_ACEOF
69379 #define HAVE_ISNAN 1
69380 _ACEOF
69382 cat >>confdefs.h <<\_ACEOF
69383 #define HAVE_ISNANF 1
69384 _ACEOF
69386 cat >>confdefs.h <<\_ACEOF
69387 #define HAVE_MODFF 1
69388 _ACEOF
69390 cat >>confdefs.h <<\_ACEOF
69391 #define HAVE_HYPOT 1
69392 _ACEOF
69395 *-tpf)
69404 for ac_header in nan.h endian.h machine/endian.h \
69405 sys/param.h sys/types.h locale.h float.h inttypes.h
69407 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
69408 if eval "test \"\${$as_ac_Header+set}\" = set"; then
69409 echo "$as_me:$LINENO: checking for $ac_header" >&5
69410 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
69411 if eval "test \"\${$as_ac_Header+set}\" = set"; then
69412 echo $ECHO_N "(cached) $ECHO_C" >&6
69414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
69415 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
69416 else
69417 # Is the header compilable?
69418 echo "$as_me:$LINENO: checking $ac_header usability" >&5
69419 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
69420 cat >conftest.$ac_ext <<_ACEOF
69421 /* confdefs.h. */
69422 _ACEOF
69423 cat confdefs.h >>conftest.$ac_ext
69424 cat >>conftest.$ac_ext <<_ACEOF
69425 /* end confdefs.h. */
69426 $ac_includes_default
69427 #include <$ac_header>
69428 _ACEOF
69429 rm -f conftest.$ac_objext
69430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69431 (eval $ac_compile) 2>conftest.er1
69432 ac_status=$?
69433 grep -v '^ *+' conftest.er1 >conftest.err
69434 rm -f conftest.er1
69435 cat conftest.err >&5
69436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69437 (exit $ac_status); } &&
69438 { ac_try='test -z "$ac_c_werror_flag"
69439 || test ! -s conftest.err'
69440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69441 (eval $ac_try) 2>&5
69442 ac_status=$?
69443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69444 (exit $ac_status); }; } &&
69445 { ac_try='test -s conftest.$ac_objext'
69446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69447 (eval $ac_try) 2>&5
69448 ac_status=$?
69449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69450 (exit $ac_status); }; }; then
69451 ac_header_compiler=yes
69452 else
69453 echo "$as_me: failed program was:" >&5
69454 sed 's/^/| /' conftest.$ac_ext >&5
69456 ac_header_compiler=no
69458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69459 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
69460 echo "${ECHO_T}$ac_header_compiler" >&6
69462 # Is the header present?
69463 echo "$as_me:$LINENO: checking $ac_header presence" >&5
69464 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
69465 cat >conftest.$ac_ext <<_ACEOF
69466 /* confdefs.h. */
69467 _ACEOF
69468 cat confdefs.h >>conftest.$ac_ext
69469 cat >>conftest.$ac_ext <<_ACEOF
69470 /* end confdefs.h. */
69471 #include <$ac_header>
69472 _ACEOF
69473 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
69474 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
69475 ac_status=$?
69476 grep -v '^ *+' conftest.er1 >conftest.err
69477 rm -f conftest.er1
69478 cat conftest.err >&5
69479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69480 (exit $ac_status); } >/dev/null; then
69481 if test -s conftest.err; then
69482 ac_cpp_err=$ac_c_preproc_warn_flag
69483 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
69484 else
69485 ac_cpp_err=
69487 else
69488 ac_cpp_err=yes
69490 if test -z "$ac_cpp_err"; then
69491 ac_header_preproc=yes
69492 else
69493 echo "$as_me: failed program was:" >&5
69494 sed 's/^/| /' conftest.$ac_ext >&5
69496 ac_header_preproc=no
69498 rm -f conftest.err conftest.$ac_ext
69499 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
69500 echo "${ECHO_T}$ac_header_preproc" >&6
69502 # So? What about this header?
69503 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
69504 yes:no: )
69505 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
69506 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
69507 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
69508 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
69509 ac_header_preproc=yes
69511 no:yes:* )
69512 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
69513 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
69514 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
69515 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
69516 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
69517 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
69518 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
69519 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
69520 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
69521 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
69522 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
69523 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
69525 cat <<\_ASBOX
69526 ## ----------------------------------------- ##
69527 ## Report this to the package-unused lists. ##
69528 ## ----------------------------------------- ##
69529 _ASBOX
69531 sed "s/^/$as_me: WARNING: /" >&2
69533 esac
69534 echo "$as_me:$LINENO: checking for $ac_header" >&5
69535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
69536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
69537 echo $ECHO_N "(cached) $ECHO_C" >&6
69538 else
69539 eval "$as_ac_Header=\$ac_header_preproc"
69541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
69542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
69545 if test `eval echo '${'$as_ac_Header'}'` = yes; then
69546 cat >>confdefs.h <<_ACEOF
69547 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
69548 _ACEOF
69552 done
69554 SECTION_FLAGS='-ffunction-sections -fdata-sections'
69557 # If we're not using GNU ld, then there's no point in even trying these
69558 # tests. Check for that first. We should have already tested for gld
69559 # by now (in libtool), but require it now just to be safe...
69560 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
69561 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
69565 # The name set by libtool depends on the version of libtool. Shame on us
69566 # for depending on an impl detail, but c'est la vie. Older versions used
69567 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
69568 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
69569 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
69570 # set (hence we're using an older libtool), then set it.
69571 if test x${with_gnu_ld+set} != xset; then
69572 if test x${ac_cv_prog_gnu_ld+set} != xset; then
69573 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
69574 with_gnu_ld=no
69575 else
69576 with_gnu_ld=$ac_cv_prog_gnu_ld
69580 # Start by getting the version number. I think the libtool test already
69581 # does some of this, but throws away the result.
69583 ldver=`$LD --version 2>/dev/null | head -1 | \
69584 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
69586 glibcxx_gnu_ld_version=`echo $ldver | \
69587 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
69589 # Set --gc-sections.
69590 if test "$with_gnu_ld" = "notbroken"; then
69591 # GNU ld it is! Joy and bunny rabbits!
69593 # All these tests are for C++; save the language and the compiler flags.
69594 # Need to do this so that g++ won't try to link in libstdc++
69595 ac_test_CFLAGS="${CFLAGS+set}"
69596 ac_save_CFLAGS="$CFLAGS"
69597 CFLAGS='-x c++ -Wl,--gc-sections'
69599 # Check for -Wl,--gc-sections
69600 # XXX This test is broken at the moment, as symbols required for linking
69601 # are now in libsupc++ (not built yet). In addition, this test has
69602 # cored on solaris in the past. In addition, --gc-sections doesn't
69603 # really work at the moment (keeps on discarding used sections, first
69604 # .eh_frame and now some of the glibc sections for iconv).
69605 # Bzzzzt. Thanks for playing, maybe next time.
69606 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
69607 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
69608 if test "$cross_compiling" = yes; then
69609 ac_sectionLDflags=yes
69610 else
69611 cat >conftest.$ac_ext <<_ACEOF
69612 /* confdefs.h. */
69613 _ACEOF
69614 cat confdefs.h >>conftest.$ac_ext
69615 cat >>conftest.$ac_ext <<_ACEOF
69616 /* end confdefs.h. */
69618 int main(void)
69620 try { throw 1; }
69621 catch (...) { };
69622 return 0;
69625 _ACEOF
69626 rm -f conftest$ac_exeext
69627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69628 (eval $ac_link) 2>&5
69629 ac_status=$?
69630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69631 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
69632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69633 (eval $ac_try) 2>&5
69634 ac_status=$?
69635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69636 (exit $ac_status); }; }; then
69637 ac_sectionLDflags=yes
69638 else
69639 echo "$as_me: program exited with status $ac_status" >&5
69640 echo "$as_me: failed program was:" >&5
69641 sed 's/^/| /' conftest.$ac_ext >&5
69643 ( exit $ac_status )
69644 ac_sectionLDflags=no
69646 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
69648 if test "$ac_test_CFLAGS" = set; then
69649 CFLAGS="$ac_save_CFLAGS"
69650 else
69651 # this is the suspicious part
69652 CFLAGS=''
69654 if test "$ac_sectionLDflags" = "yes"; then
69655 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
69657 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
69658 echo "${ECHO_T}$ac_sectionLDflags" >&6
69661 # Set linker optimization flags.
69662 if test x"$with_gnu_ld" = x"yes"; then
69663 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
69671 echo "$as_me:$LINENO: checking for main in -lm" >&5
69672 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
69673 if test "${ac_cv_lib_m_main+set}" = set; then
69674 echo $ECHO_N "(cached) $ECHO_C" >&6
69675 else
69676 ac_check_lib_save_LIBS=$LIBS
69677 LIBS="-lm $LIBS"
69678 if test x$gcc_no_link = xyes; then
69679 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69681 { (exit 1); exit 1; }; }
69683 cat >conftest.$ac_ext <<_ACEOF
69684 /* confdefs.h. */
69685 _ACEOF
69686 cat confdefs.h >>conftest.$ac_ext
69687 cat >>conftest.$ac_ext <<_ACEOF
69688 /* end confdefs.h. */
69692 main ()
69694 main ();
69696 return 0;
69698 _ACEOF
69699 rm -f conftest.$ac_objext conftest$ac_exeext
69700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69701 (eval $ac_link) 2>conftest.er1
69702 ac_status=$?
69703 grep -v '^ *+' conftest.er1 >conftest.err
69704 rm -f conftest.er1
69705 cat conftest.err >&5
69706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69707 (exit $ac_status); } &&
69708 { ac_try='test -z "$ac_c_werror_flag"
69709 || test ! -s conftest.err'
69710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69711 (eval $ac_try) 2>&5
69712 ac_status=$?
69713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69714 (exit $ac_status); }; } &&
69715 { ac_try='test -s conftest$ac_exeext'
69716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69717 (eval $ac_try) 2>&5
69718 ac_status=$?
69719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69720 (exit $ac_status); }; }; then
69721 ac_cv_lib_m_main=yes
69722 else
69723 echo "$as_me: failed program was:" >&5
69724 sed 's/^/| /' conftest.$ac_ext >&5
69726 ac_cv_lib_m_main=no
69728 rm -f conftest.err conftest.$ac_objext \
69729 conftest$ac_exeext conftest.$ac_ext
69730 LIBS=$ac_check_lib_save_LIBS
69732 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
69733 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
69734 if test $ac_cv_lib_m_main = yes; then
69735 cat >>confdefs.h <<_ACEOF
69736 #define HAVE_LIBM 1
69737 _ACEOF
69739 LIBS="-lm $LIBS"
69744 for ac_func in copysignf
69746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69747 echo "$as_me:$LINENO: checking for $ac_func" >&5
69748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69749 if eval "test \"\${$as_ac_var+set}\" = set"; then
69750 echo $ECHO_N "(cached) $ECHO_C" >&6
69751 else
69752 if test x$gcc_no_link = xyes; then
69753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69755 { (exit 1); exit 1; }; }
69757 cat >conftest.$ac_ext <<_ACEOF
69758 /* confdefs.h. */
69759 _ACEOF
69760 cat confdefs.h >>conftest.$ac_ext
69761 cat >>conftest.$ac_ext <<_ACEOF
69762 /* end confdefs.h. */
69763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69765 #define $ac_func innocuous_$ac_func
69767 /* System header to define __stub macros and hopefully few prototypes,
69768 which can conflict with char $ac_func (); below.
69769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69770 <limits.h> exists even on freestanding compilers. */
69772 #ifdef __STDC__
69773 # include <limits.h>
69774 #else
69775 # include <assert.h>
69776 #endif
69778 #undef $ac_func
69780 /* Override any gcc2 internal prototype to avoid an error. */
69781 #ifdef __cplusplus
69782 extern "C"
69784 #endif
69785 /* We use char because int might match the return type of a gcc2
69786 builtin and then its argument prototype would still apply. */
69787 char $ac_func ();
69788 /* The GNU C library defines this for functions which it implements
69789 to always fail with ENOSYS. Some functions are actually named
69790 something starting with __ and the normal name is an alias. */
69791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69792 choke me
69793 #else
69794 char (*f) () = $ac_func;
69795 #endif
69796 #ifdef __cplusplus
69798 #endif
69801 main ()
69803 return f != $ac_func;
69805 return 0;
69807 _ACEOF
69808 rm -f conftest.$ac_objext conftest$ac_exeext
69809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69810 (eval $ac_link) 2>conftest.er1
69811 ac_status=$?
69812 grep -v '^ *+' conftest.er1 >conftest.err
69813 rm -f conftest.er1
69814 cat conftest.err >&5
69815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69816 (exit $ac_status); } &&
69817 { ac_try='test -z "$ac_c_werror_flag"
69818 || test ! -s conftest.err'
69819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69820 (eval $ac_try) 2>&5
69821 ac_status=$?
69822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69823 (exit $ac_status); }; } &&
69824 { ac_try='test -s conftest$ac_exeext'
69825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69826 (eval $ac_try) 2>&5
69827 ac_status=$?
69828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69829 (exit $ac_status); }; }; then
69830 eval "$as_ac_var=yes"
69831 else
69832 echo "$as_me: failed program was:" >&5
69833 sed 's/^/| /' conftest.$ac_ext >&5
69835 eval "$as_ac_var=no"
69837 rm -f conftest.err conftest.$ac_objext \
69838 conftest$ac_exeext conftest.$ac_ext
69840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69842 if test `eval echo '${'$as_ac_var'}'` = yes; then
69843 cat >>confdefs.h <<_ACEOF
69844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69845 _ACEOF
69847 else
69848 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
69850 done
69854 for ac_func in __signbit
69856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69857 echo "$as_me:$LINENO: checking for $ac_func" >&5
69858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69859 if eval "test \"\${$as_ac_var+set}\" = set"; then
69860 echo $ECHO_N "(cached) $ECHO_C" >&6
69861 else
69862 if test x$gcc_no_link = xyes; then
69863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69865 { (exit 1); exit 1; }; }
69867 cat >conftest.$ac_ext <<_ACEOF
69868 /* confdefs.h. */
69869 _ACEOF
69870 cat confdefs.h >>conftest.$ac_ext
69871 cat >>conftest.$ac_ext <<_ACEOF
69872 /* end confdefs.h. */
69873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69875 #define $ac_func innocuous_$ac_func
69877 /* System header to define __stub macros and hopefully few prototypes,
69878 which can conflict with char $ac_func (); below.
69879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69880 <limits.h> exists even on freestanding compilers. */
69882 #ifdef __STDC__
69883 # include <limits.h>
69884 #else
69885 # include <assert.h>
69886 #endif
69888 #undef $ac_func
69890 /* Override any gcc2 internal prototype to avoid an error. */
69891 #ifdef __cplusplus
69892 extern "C"
69894 #endif
69895 /* We use char because int might match the return type of a gcc2
69896 builtin and then its argument prototype would still apply. */
69897 char $ac_func ();
69898 /* The GNU C library defines this for functions which it implements
69899 to always fail with ENOSYS. Some functions are actually named
69900 something starting with __ and the normal name is an alias. */
69901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69902 choke me
69903 #else
69904 char (*f) () = $ac_func;
69905 #endif
69906 #ifdef __cplusplus
69908 #endif
69911 main ()
69913 return f != $ac_func;
69915 return 0;
69917 _ACEOF
69918 rm -f conftest.$ac_objext conftest$ac_exeext
69919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69920 (eval $ac_link) 2>conftest.er1
69921 ac_status=$?
69922 grep -v '^ *+' conftest.er1 >conftest.err
69923 rm -f conftest.er1
69924 cat conftest.err >&5
69925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69926 (exit $ac_status); } &&
69927 { ac_try='test -z "$ac_c_werror_flag"
69928 || test ! -s conftest.err'
69929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69930 (eval $ac_try) 2>&5
69931 ac_status=$?
69932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69933 (exit $ac_status); }; } &&
69934 { ac_try='test -s conftest$ac_exeext'
69935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69936 (eval $ac_try) 2>&5
69937 ac_status=$?
69938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69939 (exit $ac_status); }; }; then
69940 eval "$as_ac_var=yes"
69941 else
69942 echo "$as_me: failed program was:" >&5
69943 sed 's/^/| /' conftest.$ac_ext >&5
69945 eval "$as_ac_var=no"
69947 rm -f conftest.err conftest.$ac_objext \
69948 conftest$ac_exeext conftest.$ac_ext
69950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69952 if test `eval echo '${'$as_ac_var'}'` = yes; then
69953 cat >>confdefs.h <<_ACEOF
69954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69955 _ACEOF
69957 else
69958 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
69960 done
69963 for ac_func in __signbitf
69965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69966 echo "$as_me:$LINENO: checking for $ac_func" >&5
69967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69968 if eval "test \"\${$as_ac_var+set}\" = set"; then
69969 echo $ECHO_N "(cached) $ECHO_C" >&6
69970 else
69971 if test x$gcc_no_link = xyes; then
69972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69974 { (exit 1); exit 1; }; }
69976 cat >conftest.$ac_ext <<_ACEOF
69977 /* confdefs.h. */
69978 _ACEOF
69979 cat confdefs.h >>conftest.$ac_ext
69980 cat >>conftest.$ac_ext <<_ACEOF
69981 /* end confdefs.h. */
69982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69984 #define $ac_func innocuous_$ac_func
69986 /* System header to define __stub macros and hopefully few prototypes,
69987 which can conflict with char $ac_func (); below.
69988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69989 <limits.h> exists even on freestanding compilers. */
69991 #ifdef __STDC__
69992 # include <limits.h>
69993 #else
69994 # include <assert.h>
69995 #endif
69997 #undef $ac_func
69999 /* Override any gcc2 internal prototype to avoid an error. */
70000 #ifdef __cplusplus
70001 extern "C"
70003 #endif
70004 /* We use char because int might match the return type of a gcc2
70005 builtin and then its argument prototype would still apply. */
70006 char $ac_func ();
70007 /* The GNU C library defines this for functions which it implements
70008 to always fail with ENOSYS. Some functions are actually named
70009 something starting with __ and the normal name is an alias. */
70010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70011 choke me
70012 #else
70013 char (*f) () = $ac_func;
70014 #endif
70015 #ifdef __cplusplus
70017 #endif
70020 main ()
70022 return f != $ac_func;
70024 return 0;
70026 _ACEOF
70027 rm -f conftest.$ac_objext conftest$ac_exeext
70028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70029 (eval $ac_link) 2>conftest.er1
70030 ac_status=$?
70031 grep -v '^ *+' conftest.er1 >conftest.err
70032 rm -f conftest.er1
70033 cat conftest.err >&5
70034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70035 (exit $ac_status); } &&
70036 { ac_try='test -z "$ac_c_werror_flag"
70037 || test ! -s conftest.err'
70038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70039 (eval $ac_try) 2>&5
70040 ac_status=$?
70041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70042 (exit $ac_status); }; } &&
70043 { ac_try='test -s conftest$ac_exeext'
70044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70045 (eval $ac_try) 2>&5
70046 ac_status=$?
70047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70048 (exit $ac_status); }; }; then
70049 eval "$as_ac_var=yes"
70050 else
70051 echo "$as_me: failed program was:" >&5
70052 sed 's/^/| /' conftest.$ac_ext >&5
70054 eval "$as_ac_var=no"
70056 rm -f conftest.err conftest.$ac_objext \
70057 conftest$ac_exeext conftest.$ac_ext
70059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70061 if test `eval echo '${'$as_ac_var'}'` = yes; then
70062 cat >>confdefs.h <<_ACEOF
70063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70064 _ACEOF
70066 else
70067 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
70069 done
70072 if test x$ac_cv_func_copysignl = x"yes"; then
70074 for ac_func in __signbitl
70076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70077 echo "$as_me:$LINENO: checking for $ac_func" >&5
70078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70079 if eval "test \"\${$as_ac_var+set}\" = set"; then
70080 echo $ECHO_N "(cached) $ECHO_C" >&6
70081 else
70082 if test x$gcc_no_link = xyes; then
70083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70085 { (exit 1); exit 1; }; }
70087 cat >conftest.$ac_ext <<_ACEOF
70088 /* confdefs.h. */
70089 _ACEOF
70090 cat confdefs.h >>conftest.$ac_ext
70091 cat >>conftest.$ac_ext <<_ACEOF
70092 /* end confdefs.h. */
70093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70095 #define $ac_func innocuous_$ac_func
70097 /* System header to define __stub macros and hopefully few prototypes,
70098 which can conflict with char $ac_func (); below.
70099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70100 <limits.h> exists even on freestanding compilers. */
70102 #ifdef __STDC__
70103 # include <limits.h>
70104 #else
70105 # include <assert.h>
70106 #endif
70108 #undef $ac_func
70110 /* Override any gcc2 internal prototype to avoid an error. */
70111 #ifdef __cplusplus
70112 extern "C"
70114 #endif
70115 /* We use char because int might match the return type of a gcc2
70116 builtin and then its argument prototype would still apply. */
70117 char $ac_func ();
70118 /* The GNU C library defines this for functions which it implements
70119 to always fail with ENOSYS. Some functions are actually named
70120 something starting with __ and the normal name is an alias. */
70121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70122 choke me
70123 #else
70124 char (*f) () = $ac_func;
70125 #endif
70126 #ifdef __cplusplus
70128 #endif
70131 main ()
70133 return f != $ac_func;
70135 return 0;
70137 _ACEOF
70138 rm -f conftest.$ac_objext conftest$ac_exeext
70139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70140 (eval $ac_link) 2>conftest.er1
70141 ac_status=$?
70142 grep -v '^ *+' conftest.er1 >conftest.err
70143 rm -f conftest.er1
70144 cat conftest.err >&5
70145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70146 (exit $ac_status); } &&
70147 { ac_try='test -z "$ac_c_werror_flag"
70148 || test ! -s conftest.err'
70149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70150 (eval $ac_try) 2>&5
70151 ac_status=$?
70152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70153 (exit $ac_status); }; } &&
70154 { ac_try='test -s conftest$ac_exeext'
70155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70156 (eval $ac_try) 2>&5
70157 ac_status=$?
70158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70159 (exit $ac_status); }; }; then
70160 eval "$as_ac_var=yes"
70161 else
70162 echo "$as_me: failed program was:" >&5
70163 sed 's/^/| /' conftest.$ac_ext >&5
70165 eval "$as_ac_var=no"
70167 rm -f conftest.err conftest.$ac_objext \
70168 conftest$ac_exeext conftest.$ac_ext
70170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70172 if test `eval echo '${'$as_ac_var'}'` = yes; then
70173 cat >>confdefs.h <<_ACEOF
70174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70175 _ACEOF
70177 else
70178 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
70180 done
70184 # XXX Review this. Nothing uses it.
70185 if test -n "$LIBMATHOBJS"; then
70186 need_libmath=yes
70191 # Test wchar.h for mbstate_t, which is needed for char_traits and
70192 # others even if wchar_t support is not on.
70193 echo "$as_me:$LINENO: checking for mbstate_t" >&5
70194 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
70195 cat >conftest.$ac_ext <<_ACEOF
70196 /* confdefs.h. */
70197 _ACEOF
70198 cat confdefs.h >>conftest.$ac_ext
70199 cat >>conftest.$ac_ext <<_ACEOF
70200 /* end confdefs.h. */
70201 #include <wchar.h>
70203 main ()
70205 mbstate_t teststate;
70207 return 0;
70209 _ACEOF
70210 rm -f conftest.$ac_objext
70211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70212 (eval $ac_compile) 2>conftest.er1
70213 ac_status=$?
70214 grep -v '^ *+' conftest.er1 >conftest.err
70215 rm -f conftest.er1
70216 cat conftest.err >&5
70217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70218 (exit $ac_status); } &&
70219 { ac_try='test -z "$ac_c_werror_flag"
70220 || test ! -s conftest.err'
70221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70222 (eval $ac_try) 2>&5
70223 ac_status=$?
70224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70225 (exit $ac_status); }; } &&
70226 { ac_try='test -s conftest.$ac_objext'
70227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70228 (eval $ac_try) 2>&5
70229 ac_status=$?
70230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70231 (exit $ac_status); }; }; then
70232 have_mbstate_t=yes
70233 else
70234 echo "$as_me: failed program was:" >&5
70235 sed 's/^/| /' conftest.$ac_ext >&5
70237 have_mbstate_t=no
70239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70240 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
70241 echo "${ECHO_T}$have_mbstate_t" >&6
70242 if test x"$have_mbstate_t" = xyes; then
70243 cat >>confdefs.h <<\_ACEOF
70244 #define HAVE_MBSTATE_T 1
70245 _ACEOF
70249 # Sanity check for existence of ISO C99 headers for extended encoding.
70251 for ac_header in wchar.h
70253 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
70254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
70255 echo "$as_me:$LINENO: checking for $ac_header" >&5
70256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
70257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
70258 echo $ECHO_N "(cached) $ECHO_C" >&6
70260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
70261 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
70262 else
70263 # Is the header compilable?
70264 echo "$as_me:$LINENO: checking $ac_header usability" >&5
70265 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
70266 cat >conftest.$ac_ext <<_ACEOF
70267 /* confdefs.h. */
70268 _ACEOF
70269 cat confdefs.h >>conftest.$ac_ext
70270 cat >>conftest.$ac_ext <<_ACEOF
70271 /* end confdefs.h. */
70272 $ac_includes_default
70273 #include <$ac_header>
70274 _ACEOF
70275 rm -f conftest.$ac_objext
70276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70277 (eval $ac_compile) 2>conftest.er1
70278 ac_status=$?
70279 grep -v '^ *+' conftest.er1 >conftest.err
70280 rm -f conftest.er1
70281 cat conftest.err >&5
70282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70283 (exit $ac_status); } &&
70284 { ac_try='test -z "$ac_c_werror_flag"
70285 || test ! -s conftest.err'
70286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70287 (eval $ac_try) 2>&5
70288 ac_status=$?
70289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70290 (exit $ac_status); }; } &&
70291 { ac_try='test -s conftest.$ac_objext'
70292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70293 (eval $ac_try) 2>&5
70294 ac_status=$?
70295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70296 (exit $ac_status); }; }; then
70297 ac_header_compiler=yes
70298 else
70299 echo "$as_me: failed program was:" >&5
70300 sed 's/^/| /' conftest.$ac_ext >&5
70302 ac_header_compiler=no
70304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70305 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
70306 echo "${ECHO_T}$ac_header_compiler" >&6
70308 # Is the header present?
70309 echo "$as_me:$LINENO: checking $ac_header presence" >&5
70310 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
70311 cat >conftest.$ac_ext <<_ACEOF
70312 /* confdefs.h. */
70313 _ACEOF
70314 cat confdefs.h >>conftest.$ac_ext
70315 cat >>conftest.$ac_ext <<_ACEOF
70316 /* end confdefs.h. */
70317 #include <$ac_header>
70318 _ACEOF
70319 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
70320 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
70321 ac_status=$?
70322 grep -v '^ *+' conftest.er1 >conftest.err
70323 rm -f conftest.er1
70324 cat conftest.err >&5
70325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70326 (exit $ac_status); } >/dev/null; then
70327 if test -s conftest.err; then
70328 ac_cpp_err=$ac_c_preproc_warn_flag
70329 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
70330 else
70331 ac_cpp_err=
70333 else
70334 ac_cpp_err=yes
70336 if test -z "$ac_cpp_err"; then
70337 ac_header_preproc=yes
70338 else
70339 echo "$as_me: failed program was:" >&5
70340 sed 's/^/| /' conftest.$ac_ext >&5
70342 ac_header_preproc=no
70344 rm -f conftest.err conftest.$ac_ext
70345 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
70346 echo "${ECHO_T}$ac_header_preproc" >&6
70348 # So? What about this header?
70349 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
70350 yes:no: )
70351 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
70352 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
70353 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
70354 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
70355 ac_header_preproc=yes
70357 no:yes:* )
70358 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
70359 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
70360 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
70361 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
70362 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
70363 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
70364 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
70365 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
70366 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
70367 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
70368 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
70369 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
70371 cat <<\_ASBOX
70372 ## ----------------------------------------- ##
70373 ## Report this to the package-unused lists. ##
70374 ## ----------------------------------------- ##
70375 _ASBOX
70377 sed "s/^/$as_me: WARNING: /" >&2
70379 esac
70380 echo "$as_me:$LINENO: checking for $ac_header" >&5
70381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
70382 if eval "test \"\${$as_ac_Header+set}\" = set"; then
70383 echo $ECHO_N "(cached) $ECHO_C" >&6
70384 else
70385 eval "$as_ac_Header=\$ac_header_preproc"
70387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
70388 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
70391 if test `eval echo '${'$as_ac_Header'}'` = yes; then
70392 cat >>confdefs.h <<_ACEOF
70393 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
70394 _ACEOF
70395 ac_has_wchar_h=yes
70396 else
70397 ac_has_wchar_h=no
70400 done
70403 for ac_header in wctype.h
70405 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
70406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
70407 echo "$as_me:$LINENO: checking for $ac_header" >&5
70408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
70409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
70410 echo $ECHO_N "(cached) $ECHO_C" >&6
70412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
70413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
70414 else
70415 # Is the header compilable?
70416 echo "$as_me:$LINENO: checking $ac_header usability" >&5
70417 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
70418 cat >conftest.$ac_ext <<_ACEOF
70419 /* confdefs.h. */
70420 _ACEOF
70421 cat confdefs.h >>conftest.$ac_ext
70422 cat >>conftest.$ac_ext <<_ACEOF
70423 /* end confdefs.h. */
70424 $ac_includes_default
70425 #include <$ac_header>
70426 _ACEOF
70427 rm -f conftest.$ac_objext
70428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70429 (eval $ac_compile) 2>conftest.er1
70430 ac_status=$?
70431 grep -v '^ *+' conftest.er1 >conftest.err
70432 rm -f conftest.er1
70433 cat conftest.err >&5
70434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70435 (exit $ac_status); } &&
70436 { ac_try='test -z "$ac_c_werror_flag"
70437 || test ! -s conftest.err'
70438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70439 (eval $ac_try) 2>&5
70440 ac_status=$?
70441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70442 (exit $ac_status); }; } &&
70443 { ac_try='test -s conftest.$ac_objext'
70444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70445 (eval $ac_try) 2>&5
70446 ac_status=$?
70447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70448 (exit $ac_status); }; }; then
70449 ac_header_compiler=yes
70450 else
70451 echo "$as_me: failed program was:" >&5
70452 sed 's/^/| /' conftest.$ac_ext >&5
70454 ac_header_compiler=no
70456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70457 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
70458 echo "${ECHO_T}$ac_header_compiler" >&6
70460 # Is the header present?
70461 echo "$as_me:$LINENO: checking $ac_header presence" >&5
70462 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
70463 cat >conftest.$ac_ext <<_ACEOF
70464 /* confdefs.h. */
70465 _ACEOF
70466 cat confdefs.h >>conftest.$ac_ext
70467 cat >>conftest.$ac_ext <<_ACEOF
70468 /* end confdefs.h. */
70469 #include <$ac_header>
70470 _ACEOF
70471 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
70472 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
70473 ac_status=$?
70474 grep -v '^ *+' conftest.er1 >conftest.err
70475 rm -f conftest.er1
70476 cat conftest.err >&5
70477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70478 (exit $ac_status); } >/dev/null; then
70479 if test -s conftest.err; then
70480 ac_cpp_err=$ac_c_preproc_warn_flag
70481 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
70482 else
70483 ac_cpp_err=
70485 else
70486 ac_cpp_err=yes
70488 if test -z "$ac_cpp_err"; then
70489 ac_header_preproc=yes
70490 else
70491 echo "$as_me: failed program was:" >&5
70492 sed 's/^/| /' conftest.$ac_ext >&5
70494 ac_header_preproc=no
70496 rm -f conftest.err conftest.$ac_ext
70497 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
70498 echo "${ECHO_T}$ac_header_preproc" >&6
70500 # So? What about this header?
70501 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
70502 yes:no: )
70503 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
70504 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
70505 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
70506 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
70507 ac_header_preproc=yes
70509 no:yes:* )
70510 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
70511 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
70512 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
70513 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
70514 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
70515 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
70516 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
70517 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
70518 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
70519 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
70520 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
70521 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
70523 cat <<\_ASBOX
70524 ## ----------------------------------------- ##
70525 ## Report this to the package-unused lists. ##
70526 ## ----------------------------------------- ##
70527 _ASBOX
70529 sed "s/^/$as_me: WARNING: /" >&2
70531 esac
70532 echo "$as_me:$LINENO: checking for $ac_header" >&5
70533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
70534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
70535 echo $ECHO_N "(cached) $ECHO_C" >&6
70536 else
70537 eval "$as_ac_Header=\$ac_header_preproc"
70539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
70540 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
70543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
70544 cat >>confdefs.h <<_ACEOF
70545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
70546 _ACEOF
70547 ac_has_wctype_h=yes
70548 else
70549 ac_has_wctype_h=no
70552 done
70555 # Only continue checking if the ISO C99 headers exist and support is on.
70556 if test x"$ac_has_wchar_h" = xyes &&
70557 test x"$ac_has_wctype_h" = xyes &&
70558 test x"$enable_c_mbchar" != xno; then
70560 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
70561 # numeric_limits can instantiate type_traits<wchar_t>
70562 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
70563 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
70564 cat >conftest.$ac_ext <<_ACEOF
70565 /* confdefs.h. */
70566 _ACEOF
70567 cat confdefs.h >>conftest.$ac_ext
70568 cat >>conftest.$ac_ext <<_ACEOF
70569 /* end confdefs.h. */
70570 #include <wchar.h>
70572 main ()
70574 int i = WCHAR_MIN; int j = WCHAR_MAX;
70576 return 0;
70578 _ACEOF
70579 rm -f conftest.$ac_objext
70580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70581 (eval $ac_compile) 2>conftest.er1
70582 ac_status=$?
70583 grep -v '^ *+' conftest.er1 >conftest.err
70584 rm -f conftest.er1
70585 cat conftest.err >&5
70586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70587 (exit $ac_status); } &&
70588 { ac_try='test -z "$ac_c_werror_flag"
70589 || test ! -s conftest.err'
70590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70591 (eval $ac_try) 2>&5
70592 ac_status=$?
70593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70594 (exit $ac_status); }; } &&
70595 { ac_try='test -s conftest.$ac_objext'
70596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70597 (eval $ac_try) 2>&5
70598 ac_status=$?
70599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70600 (exit $ac_status); }; }; then
70601 has_wchar_minmax=yes
70602 else
70603 echo "$as_me: failed program was:" >&5
70604 sed 's/^/| /' conftest.$ac_ext >&5
70606 has_wchar_minmax=no
70608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70609 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
70610 echo "${ECHO_T}$has_wchar_minmax" >&6
70612 # Test wchar.h for WEOF, which is what we use to determine whether
70613 # to specialize for char_traits<wchar_t> or not.
70614 echo "$as_me:$LINENO: checking for WEOF" >&5
70615 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
70616 cat >conftest.$ac_ext <<_ACEOF
70617 /* confdefs.h. */
70618 _ACEOF
70619 cat confdefs.h >>conftest.$ac_ext
70620 cat >>conftest.$ac_ext <<_ACEOF
70621 /* end confdefs.h. */
70623 #include <wchar.h>
70624 #include <stddef.h>
70626 main ()
70628 wint_t i = WEOF;
70630 return 0;
70632 _ACEOF
70633 rm -f conftest.$ac_objext
70634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70635 (eval $ac_compile) 2>conftest.er1
70636 ac_status=$?
70637 grep -v '^ *+' conftest.er1 >conftest.err
70638 rm -f conftest.er1
70639 cat conftest.err >&5
70640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70641 (exit $ac_status); } &&
70642 { ac_try='test -z "$ac_c_werror_flag"
70643 || test ! -s conftest.err'
70644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70645 (eval $ac_try) 2>&5
70646 ac_status=$?
70647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70648 (exit $ac_status); }; } &&
70649 { ac_try='test -s conftest.$ac_objext'
70650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70651 (eval $ac_try) 2>&5
70652 ac_status=$?
70653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70654 (exit $ac_status); }; }; then
70655 has_weof=yes
70656 else
70657 echo "$as_me: failed program was:" >&5
70658 sed 's/^/| /' conftest.$ac_ext >&5
70660 has_weof=no
70662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70663 echo "$as_me:$LINENO: result: $has_weof" >&5
70664 echo "${ECHO_T}$has_weof" >&6
70666 # Tests for wide character functions used in char_traits<wchar_t>.
70667 ac_wfuncs=yes
70674 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
70676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70677 echo "$as_me:$LINENO: checking for $ac_func" >&5
70678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70679 if eval "test \"\${$as_ac_var+set}\" = set"; then
70680 echo $ECHO_N "(cached) $ECHO_C" >&6
70681 else
70682 if test x$gcc_no_link = xyes; then
70683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70685 { (exit 1); exit 1; }; }
70687 cat >conftest.$ac_ext <<_ACEOF
70688 /* confdefs.h. */
70689 _ACEOF
70690 cat confdefs.h >>conftest.$ac_ext
70691 cat >>conftest.$ac_ext <<_ACEOF
70692 /* end confdefs.h. */
70693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70695 #define $ac_func innocuous_$ac_func
70697 /* System header to define __stub macros and hopefully few prototypes,
70698 which can conflict with char $ac_func (); below.
70699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70700 <limits.h> exists even on freestanding compilers. */
70702 #ifdef __STDC__
70703 # include <limits.h>
70704 #else
70705 # include <assert.h>
70706 #endif
70708 #undef $ac_func
70710 /* Override any gcc2 internal prototype to avoid an error. */
70711 #ifdef __cplusplus
70712 extern "C"
70714 #endif
70715 /* We use char because int might match the return type of a gcc2
70716 builtin and then its argument prototype would still apply. */
70717 char $ac_func ();
70718 /* The GNU C library defines this for functions which it implements
70719 to always fail with ENOSYS. Some functions are actually named
70720 something starting with __ and the normal name is an alias. */
70721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70722 choke me
70723 #else
70724 char (*f) () = $ac_func;
70725 #endif
70726 #ifdef __cplusplus
70728 #endif
70731 main ()
70733 return f != $ac_func;
70735 return 0;
70737 _ACEOF
70738 rm -f conftest.$ac_objext conftest$ac_exeext
70739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70740 (eval $ac_link) 2>conftest.er1
70741 ac_status=$?
70742 grep -v '^ *+' conftest.er1 >conftest.err
70743 rm -f conftest.er1
70744 cat conftest.err >&5
70745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70746 (exit $ac_status); } &&
70747 { ac_try='test -z "$ac_c_werror_flag"
70748 || test ! -s conftest.err'
70749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70750 (eval $ac_try) 2>&5
70751 ac_status=$?
70752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70753 (exit $ac_status); }; } &&
70754 { ac_try='test -s conftest$ac_exeext'
70755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70756 (eval $ac_try) 2>&5
70757 ac_status=$?
70758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70759 (exit $ac_status); }; }; then
70760 eval "$as_ac_var=yes"
70761 else
70762 echo "$as_me: failed program was:" >&5
70763 sed 's/^/| /' conftest.$ac_ext >&5
70765 eval "$as_ac_var=no"
70767 rm -f conftest.err conftest.$ac_objext \
70768 conftest$ac_exeext conftest.$ac_ext
70770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70772 if test `eval echo '${'$as_ac_var'}'` = yes; then
70773 cat >>confdefs.h <<_ACEOF
70774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70775 _ACEOF
70777 else
70778 ac_wfuncs=no
70780 done
70783 # Checks for names injected into std:: by the c_std headers.
70830 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
70831 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
70832 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
70833 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
70834 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
70835 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
70837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70838 echo "$as_me:$LINENO: checking for $ac_func" >&5
70839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70840 if eval "test \"\${$as_ac_var+set}\" = set"; then
70841 echo $ECHO_N "(cached) $ECHO_C" >&6
70842 else
70843 if test x$gcc_no_link = xyes; then
70844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70846 { (exit 1); exit 1; }; }
70848 cat >conftest.$ac_ext <<_ACEOF
70849 /* confdefs.h. */
70850 _ACEOF
70851 cat confdefs.h >>conftest.$ac_ext
70852 cat >>conftest.$ac_ext <<_ACEOF
70853 /* end confdefs.h. */
70854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70856 #define $ac_func innocuous_$ac_func
70858 /* System header to define __stub macros and hopefully few prototypes,
70859 which can conflict with char $ac_func (); below.
70860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70861 <limits.h> exists even on freestanding compilers. */
70863 #ifdef __STDC__
70864 # include <limits.h>
70865 #else
70866 # include <assert.h>
70867 #endif
70869 #undef $ac_func
70871 /* Override any gcc2 internal prototype to avoid an error. */
70872 #ifdef __cplusplus
70873 extern "C"
70875 #endif
70876 /* We use char because int might match the return type of a gcc2
70877 builtin and then its argument prototype would still apply. */
70878 char $ac_func ();
70879 /* The GNU C library defines this for functions which it implements
70880 to always fail with ENOSYS. Some functions are actually named
70881 something starting with __ and the normal name is an alias. */
70882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70883 choke me
70884 #else
70885 char (*f) () = $ac_func;
70886 #endif
70887 #ifdef __cplusplus
70889 #endif
70892 main ()
70894 return f != $ac_func;
70896 return 0;
70898 _ACEOF
70899 rm -f conftest.$ac_objext conftest$ac_exeext
70900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70901 (eval $ac_link) 2>conftest.er1
70902 ac_status=$?
70903 grep -v '^ *+' conftest.er1 >conftest.err
70904 rm -f conftest.er1
70905 cat conftest.err >&5
70906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70907 (exit $ac_status); } &&
70908 { ac_try='test -z "$ac_c_werror_flag"
70909 || test ! -s conftest.err'
70910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70911 (eval $ac_try) 2>&5
70912 ac_status=$?
70913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70914 (exit $ac_status); }; } &&
70915 { ac_try='test -s conftest$ac_exeext'
70916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70917 (eval $ac_try) 2>&5
70918 ac_status=$?
70919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70920 (exit $ac_status); }; }; then
70921 eval "$as_ac_var=yes"
70922 else
70923 echo "$as_me: failed program was:" >&5
70924 sed 's/^/| /' conftest.$ac_ext >&5
70926 eval "$as_ac_var=no"
70928 rm -f conftest.err conftest.$ac_objext \
70929 conftest$ac_exeext conftest.$ac_ext
70931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70933 if test `eval echo '${'$as_ac_var'}'` = yes; then
70934 cat >>confdefs.h <<_ACEOF
70935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70936 _ACEOF
70938 else
70939 ac_wfuncs=no
70941 done
70944 # Checks for wide character functions that are not required
70945 # for basic wchar_t support. Don't disable support if they are missing.
70946 # Injection of these is wrapped with guard macros.
70952 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
70954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70955 echo "$as_me:$LINENO: checking for $ac_func" >&5
70956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70957 if eval "test \"\${$as_ac_var+set}\" = set"; then
70958 echo $ECHO_N "(cached) $ECHO_C" >&6
70959 else
70960 if test x$gcc_no_link = xyes; then
70961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70963 { (exit 1); exit 1; }; }
70965 cat >conftest.$ac_ext <<_ACEOF
70966 /* confdefs.h. */
70967 _ACEOF
70968 cat confdefs.h >>conftest.$ac_ext
70969 cat >>conftest.$ac_ext <<_ACEOF
70970 /* end confdefs.h. */
70971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70973 #define $ac_func innocuous_$ac_func
70975 /* System header to define __stub macros and hopefully few prototypes,
70976 which can conflict with char $ac_func (); below.
70977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70978 <limits.h> exists even on freestanding compilers. */
70980 #ifdef __STDC__
70981 # include <limits.h>
70982 #else
70983 # include <assert.h>
70984 #endif
70986 #undef $ac_func
70988 /* Override any gcc2 internal prototype to avoid an error. */
70989 #ifdef __cplusplus
70990 extern "C"
70992 #endif
70993 /* We use char because int might match the return type of a gcc2
70994 builtin and then its argument prototype would still apply. */
70995 char $ac_func ();
70996 /* The GNU C library defines this for functions which it implements
70997 to always fail with ENOSYS. Some functions are actually named
70998 something starting with __ and the normal name is an alias. */
70999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71000 choke me
71001 #else
71002 char (*f) () = $ac_func;
71003 #endif
71004 #ifdef __cplusplus
71006 #endif
71009 main ()
71011 return f != $ac_func;
71013 return 0;
71015 _ACEOF
71016 rm -f conftest.$ac_objext conftest$ac_exeext
71017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71018 (eval $ac_link) 2>conftest.er1
71019 ac_status=$?
71020 grep -v '^ *+' conftest.er1 >conftest.err
71021 rm -f conftest.er1
71022 cat conftest.err >&5
71023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71024 (exit $ac_status); } &&
71025 { ac_try='test -z "$ac_c_werror_flag"
71026 || test ! -s conftest.err'
71027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71028 (eval $ac_try) 2>&5
71029 ac_status=$?
71030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71031 (exit $ac_status); }; } &&
71032 { ac_try='test -s conftest$ac_exeext'
71033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71034 (eval $ac_try) 2>&5
71035 ac_status=$?
71036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71037 (exit $ac_status); }; }; then
71038 eval "$as_ac_var=yes"
71039 else
71040 echo "$as_me: failed program was:" >&5
71041 sed 's/^/| /' conftest.$ac_ext >&5
71043 eval "$as_ac_var=no"
71045 rm -f conftest.err conftest.$ac_objext \
71046 conftest$ac_exeext conftest.$ac_ext
71048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71050 if test `eval echo '${'$as_ac_var'}'` = yes; then
71051 cat >>confdefs.h <<_ACEOF
71052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71053 _ACEOF
71056 done
71059 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
71060 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
71061 if test x"$has_weof" = xyes &&
71062 test x"$has_wchar_minmax" = xyes &&
71063 test x"$ac_wfuncs" = xyes;
71064 then
71065 ac_isoC99_wchar_t=yes
71066 else
71067 ac_isoC99_wchar_t=no
71069 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
71070 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
71072 # Use iconv for wchar_t to char conversions. As such, check for
71073 # X/Open Portability Guide, version 2 features (XPG2).
71074 if test "${ac_cv_header_iconv_h+set}" = set; then
71075 echo "$as_me:$LINENO: checking for iconv.h" >&5
71076 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
71077 if test "${ac_cv_header_iconv_h+set}" = set; then
71078 echo $ECHO_N "(cached) $ECHO_C" >&6
71080 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
71081 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
71082 else
71083 # Is the header compilable?
71084 echo "$as_me:$LINENO: checking iconv.h usability" >&5
71085 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
71086 cat >conftest.$ac_ext <<_ACEOF
71087 /* confdefs.h. */
71088 _ACEOF
71089 cat confdefs.h >>conftest.$ac_ext
71090 cat >>conftest.$ac_ext <<_ACEOF
71091 /* end confdefs.h. */
71092 $ac_includes_default
71093 #include <iconv.h>
71094 _ACEOF
71095 rm -f conftest.$ac_objext
71096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71097 (eval $ac_compile) 2>conftest.er1
71098 ac_status=$?
71099 grep -v '^ *+' conftest.er1 >conftest.err
71100 rm -f conftest.er1
71101 cat conftest.err >&5
71102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71103 (exit $ac_status); } &&
71104 { ac_try='test -z "$ac_c_werror_flag"
71105 || test ! -s conftest.err'
71106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71107 (eval $ac_try) 2>&5
71108 ac_status=$?
71109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71110 (exit $ac_status); }; } &&
71111 { ac_try='test -s conftest.$ac_objext'
71112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71113 (eval $ac_try) 2>&5
71114 ac_status=$?
71115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71116 (exit $ac_status); }; }; then
71117 ac_header_compiler=yes
71118 else
71119 echo "$as_me: failed program was:" >&5
71120 sed 's/^/| /' conftest.$ac_ext >&5
71122 ac_header_compiler=no
71124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71125 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
71126 echo "${ECHO_T}$ac_header_compiler" >&6
71128 # Is the header present?
71129 echo "$as_me:$LINENO: checking iconv.h presence" >&5
71130 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
71131 cat >conftest.$ac_ext <<_ACEOF
71132 /* confdefs.h. */
71133 _ACEOF
71134 cat confdefs.h >>conftest.$ac_ext
71135 cat >>conftest.$ac_ext <<_ACEOF
71136 /* end confdefs.h. */
71137 #include <iconv.h>
71138 _ACEOF
71139 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
71140 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
71141 ac_status=$?
71142 grep -v '^ *+' conftest.er1 >conftest.err
71143 rm -f conftest.er1
71144 cat conftest.err >&5
71145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71146 (exit $ac_status); } >/dev/null; then
71147 if test -s conftest.err; then
71148 ac_cpp_err=$ac_c_preproc_warn_flag
71149 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
71150 else
71151 ac_cpp_err=
71153 else
71154 ac_cpp_err=yes
71156 if test -z "$ac_cpp_err"; then
71157 ac_header_preproc=yes
71158 else
71159 echo "$as_me: failed program was:" >&5
71160 sed 's/^/| /' conftest.$ac_ext >&5
71162 ac_header_preproc=no
71164 rm -f conftest.err conftest.$ac_ext
71165 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
71166 echo "${ECHO_T}$ac_header_preproc" >&6
71168 # So? What about this header?
71169 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
71170 yes:no: )
71171 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
71172 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
71173 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
71174 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
71175 ac_header_preproc=yes
71177 no:yes:* )
71178 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
71179 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
71180 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
71181 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
71182 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
71183 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
71184 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
71185 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
71186 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
71187 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
71188 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
71189 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
71191 cat <<\_ASBOX
71192 ## ----------------------------------------- ##
71193 ## Report this to the package-unused lists. ##
71194 ## ----------------------------------------- ##
71195 _ASBOX
71197 sed "s/^/$as_me: WARNING: /" >&2
71199 esac
71200 echo "$as_me:$LINENO: checking for iconv.h" >&5
71201 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
71202 if test "${ac_cv_header_iconv_h+set}" = set; then
71203 echo $ECHO_N "(cached) $ECHO_C" >&6
71204 else
71205 ac_cv_header_iconv_h=$ac_header_preproc
71207 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
71208 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
71211 if test $ac_cv_header_iconv_h = yes; then
71212 ac_has_iconv_h=yes
71213 else
71214 ac_has_iconv_h=no
71218 if test "${ac_cv_header_langinfo_h+set}" = set; then
71219 echo "$as_me:$LINENO: checking for langinfo.h" >&5
71220 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
71221 if test "${ac_cv_header_langinfo_h+set}" = set; then
71222 echo $ECHO_N "(cached) $ECHO_C" >&6
71224 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
71225 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
71226 else
71227 # Is the header compilable?
71228 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
71229 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
71230 cat >conftest.$ac_ext <<_ACEOF
71231 /* confdefs.h. */
71232 _ACEOF
71233 cat confdefs.h >>conftest.$ac_ext
71234 cat >>conftest.$ac_ext <<_ACEOF
71235 /* end confdefs.h. */
71236 $ac_includes_default
71237 #include <langinfo.h>
71238 _ACEOF
71239 rm -f conftest.$ac_objext
71240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71241 (eval $ac_compile) 2>conftest.er1
71242 ac_status=$?
71243 grep -v '^ *+' conftest.er1 >conftest.err
71244 rm -f conftest.er1
71245 cat conftest.err >&5
71246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71247 (exit $ac_status); } &&
71248 { ac_try='test -z "$ac_c_werror_flag"
71249 || test ! -s conftest.err'
71250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71251 (eval $ac_try) 2>&5
71252 ac_status=$?
71253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71254 (exit $ac_status); }; } &&
71255 { ac_try='test -s conftest.$ac_objext'
71256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71257 (eval $ac_try) 2>&5
71258 ac_status=$?
71259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71260 (exit $ac_status); }; }; then
71261 ac_header_compiler=yes
71262 else
71263 echo "$as_me: failed program was:" >&5
71264 sed 's/^/| /' conftest.$ac_ext >&5
71266 ac_header_compiler=no
71268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71269 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
71270 echo "${ECHO_T}$ac_header_compiler" >&6
71272 # Is the header present?
71273 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
71274 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
71275 cat >conftest.$ac_ext <<_ACEOF
71276 /* confdefs.h. */
71277 _ACEOF
71278 cat confdefs.h >>conftest.$ac_ext
71279 cat >>conftest.$ac_ext <<_ACEOF
71280 /* end confdefs.h. */
71281 #include <langinfo.h>
71282 _ACEOF
71283 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
71284 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
71285 ac_status=$?
71286 grep -v '^ *+' conftest.er1 >conftest.err
71287 rm -f conftest.er1
71288 cat conftest.err >&5
71289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71290 (exit $ac_status); } >/dev/null; then
71291 if test -s conftest.err; then
71292 ac_cpp_err=$ac_c_preproc_warn_flag
71293 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
71294 else
71295 ac_cpp_err=
71297 else
71298 ac_cpp_err=yes
71300 if test -z "$ac_cpp_err"; then
71301 ac_header_preproc=yes
71302 else
71303 echo "$as_me: failed program was:" >&5
71304 sed 's/^/| /' conftest.$ac_ext >&5
71306 ac_header_preproc=no
71308 rm -f conftest.err conftest.$ac_ext
71309 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
71310 echo "${ECHO_T}$ac_header_preproc" >&6
71312 # So? What about this header?
71313 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
71314 yes:no: )
71315 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
71316 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
71317 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
71318 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
71319 ac_header_preproc=yes
71321 no:yes:* )
71322 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
71323 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
71324 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
71325 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
71326 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
71327 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
71328 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
71329 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
71330 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
71331 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
71332 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
71333 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
71335 cat <<\_ASBOX
71336 ## ----------------------------------------- ##
71337 ## Report this to the package-unused lists. ##
71338 ## ----------------------------------------- ##
71339 _ASBOX
71341 sed "s/^/$as_me: WARNING: /" >&2
71343 esac
71344 echo "$as_me:$LINENO: checking for langinfo.h" >&5
71345 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
71346 if test "${ac_cv_header_langinfo_h+set}" = set; then
71347 echo $ECHO_N "(cached) $ECHO_C" >&6
71348 else
71349 ac_cv_header_langinfo_h=$ac_header_preproc
71351 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
71352 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
71355 if test $ac_cv_header_langinfo_h = yes; then
71356 ac_has_langinfo_h=yes
71357 else
71358 ac_has_langinfo_h=no
71363 # Check for existence of libiconv.a providing XPG2 wchar_t support.
71364 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
71365 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
71366 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
71367 echo $ECHO_N "(cached) $ECHO_C" >&6
71368 else
71369 ac_check_lib_save_LIBS=$LIBS
71370 LIBS="-liconv $LIBS"
71371 if test x$gcc_no_link = xyes; then
71372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71374 { (exit 1); exit 1; }; }
71376 cat >conftest.$ac_ext <<_ACEOF
71377 /* confdefs.h. */
71378 _ACEOF
71379 cat confdefs.h >>conftest.$ac_ext
71380 cat >>conftest.$ac_ext <<_ACEOF
71381 /* end confdefs.h. */
71383 /* Override any gcc2 internal prototype to avoid an error. */
71384 #ifdef __cplusplus
71385 extern "C"
71386 #endif
71387 /* We use char because int might match the return type of a gcc2
71388 builtin and then its argument prototype would still apply. */
71389 char iconv ();
71391 main ()
71393 iconv ();
71395 return 0;
71397 _ACEOF
71398 rm -f conftest.$ac_objext conftest$ac_exeext
71399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71400 (eval $ac_link) 2>conftest.er1
71401 ac_status=$?
71402 grep -v '^ *+' conftest.er1 >conftest.err
71403 rm -f conftest.er1
71404 cat conftest.err >&5
71405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71406 (exit $ac_status); } &&
71407 { ac_try='test -z "$ac_c_werror_flag"
71408 || test ! -s conftest.err'
71409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71410 (eval $ac_try) 2>&5
71411 ac_status=$?
71412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71413 (exit $ac_status); }; } &&
71414 { ac_try='test -s conftest$ac_exeext'
71415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71416 (eval $ac_try) 2>&5
71417 ac_status=$?
71418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71419 (exit $ac_status); }; }; then
71420 ac_cv_lib_iconv_iconv=yes
71421 else
71422 echo "$as_me: failed program was:" >&5
71423 sed 's/^/| /' conftest.$ac_ext >&5
71425 ac_cv_lib_iconv_iconv=no
71427 rm -f conftest.err conftest.$ac_objext \
71428 conftest$ac_exeext conftest.$ac_ext
71429 LIBS=$ac_check_lib_save_LIBS
71431 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
71432 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
71433 if test $ac_cv_lib_iconv_iconv = yes; then
71434 LIBICONV="-liconv"
71437 ac_save_LIBS="$LIBS"
71438 LIBS="$LIBS $LIBICONV"
71445 for ac_func in iconv_open iconv_close iconv nl_langinfo
71447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71448 echo "$as_me:$LINENO: checking for $ac_func" >&5
71449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71450 if eval "test \"\${$as_ac_var+set}\" = set"; then
71451 echo $ECHO_N "(cached) $ECHO_C" >&6
71452 else
71453 if test x$gcc_no_link = xyes; then
71454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71456 { (exit 1); exit 1; }; }
71458 cat >conftest.$ac_ext <<_ACEOF
71459 /* confdefs.h. */
71460 _ACEOF
71461 cat confdefs.h >>conftest.$ac_ext
71462 cat >>conftest.$ac_ext <<_ACEOF
71463 /* end confdefs.h. */
71464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71466 #define $ac_func innocuous_$ac_func
71468 /* System header to define __stub macros and hopefully few prototypes,
71469 which can conflict with char $ac_func (); below.
71470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71471 <limits.h> exists even on freestanding compilers. */
71473 #ifdef __STDC__
71474 # include <limits.h>
71475 #else
71476 # include <assert.h>
71477 #endif
71479 #undef $ac_func
71481 /* Override any gcc2 internal prototype to avoid an error. */
71482 #ifdef __cplusplus
71483 extern "C"
71485 #endif
71486 /* We use char because int might match the return type of a gcc2
71487 builtin and then its argument prototype would still apply. */
71488 char $ac_func ();
71489 /* The GNU C library defines this for functions which it implements
71490 to always fail with ENOSYS. Some functions are actually named
71491 something starting with __ and the normal name is an alias. */
71492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71493 choke me
71494 #else
71495 char (*f) () = $ac_func;
71496 #endif
71497 #ifdef __cplusplus
71499 #endif
71502 main ()
71504 return f != $ac_func;
71506 return 0;
71508 _ACEOF
71509 rm -f conftest.$ac_objext conftest$ac_exeext
71510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71511 (eval $ac_link) 2>conftest.er1
71512 ac_status=$?
71513 grep -v '^ *+' conftest.er1 >conftest.err
71514 rm -f conftest.er1
71515 cat conftest.err >&5
71516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71517 (exit $ac_status); } &&
71518 { ac_try='test -z "$ac_c_werror_flag"
71519 || test ! -s conftest.err'
71520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71521 (eval $ac_try) 2>&5
71522 ac_status=$?
71523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71524 (exit $ac_status); }; } &&
71525 { ac_try='test -s conftest$ac_exeext'
71526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71527 (eval $ac_try) 2>&5
71528 ac_status=$?
71529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71530 (exit $ac_status); }; }; then
71531 eval "$as_ac_var=yes"
71532 else
71533 echo "$as_me: failed program was:" >&5
71534 sed 's/^/| /' conftest.$ac_ext >&5
71536 eval "$as_ac_var=no"
71538 rm -f conftest.err conftest.$ac_objext \
71539 conftest$ac_exeext conftest.$ac_ext
71541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71543 if test `eval echo '${'$as_ac_var'}'` = yes; then
71544 cat >>confdefs.h <<_ACEOF
71545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71546 _ACEOF
71547 ac_XPG2funcs=yes
71548 else
71549 ac_XPG2funcs=no
71551 done
71554 LIBS="$ac_save_LIBS"
71556 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
71557 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
71558 if test x"$ac_has_iconv_h" = xyes &&
71559 test x"$ac_has_langinfo_h" = xyes &&
71560 test x"$ac_XPG2funcs" = xyes;
71561 then
71562 ac_XPG2_wchar_t=yes
71563 else
71564 ac_XPG2_wchar_t=no
71566 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
71567 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
71569 # At the moment, only enable wchar_t specializations if all the
71570 # above support is present.
71571 if test x"$ac_isoC99_wchar_t" = xyes &&
71572 test x"$ac_XPG2_wchar_t" = xyes;
71573 then
71574 cat >>confdefs.h <<\_ACEOF
71575 #define _GLIBCXX_USE_WCHAR_T 1
71576 _ACEOF
71578 enable_wchar_t=yes
71581 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
71582 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
71583 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
71584 echo "${ECHO_T}$enable_wchar_t" >&6
71586 cat >>confdefs.h <<\_ACEOF
71587 #define HAVE_COPYSIGN 1
71588 _ACEOF
71590 cat >>confdefs.h <<\_ACEOF
71591 #define HAVE_COPYSIGNF 1
71592 _ACEOF
71594 cat >>confdefs.h <<\_ACEOF
71595 #define HAVE_FINITE 1
71596 _ACEOF
71598 cat >>confdefs.h <<\_ACEOF
71599 #define HAVE_FINITEF 1
71600 _ACEOF
71602 cat >>confdefs.h <<\_ACEOF
71603 #define HAVE_FREXPF 1
71604 _ACEOF
71606 cat >>confdefs.h <<\_ACEOF
71607 #define HAVE_HYPOTF 1
71608 _ACEOF
71610 cat >>confdefs.h <<\_ACEOF
71611 #define HAVE_ISINF 1
71612 _ACEOF
71614 cat >>confdefs.h <<\_ACEOF
71615 #define HAVE_ISINFF 1
71616 _ACEOF
71618 cat >>confdefs.h <<\_ACEOF
71619 #define HAVE_ISNAN 1
71620 _ACEOF
71622 cat >>confdefs.h <<\_ACEOF
71623 #define HAVE_ISNANF 1
71624 _ACEOF
71626 cat >>confdefs.h <<\_ACEOF
71627 #define HAVE_SINCOS 1
71628 _ACEOF
71630 cat >>confdefs.h <<\_ACEOF
71631 #define HAVE_SINCOSF 1
71632 _ACEOF
71634 if test x"long_double_math_on_this_cpu" = x"yes"; then
71635 cat >>confdefs.h <<\_ACEOF
71636 #define HAVE_FINITEL 1
71637 _ACEOF
71639 cat >>confdefs.h <<\_ACEOF
71640 #define HAVE_HYPOTL 1
71641 _ACEOF
71643 cat >>confdefs.h <<\_ACEOF
71644 #define HAVE_ISINFL 1
71645 _ACEOF
71647 cat >>confdefs.h <<\_ACEOF
71648 #define HAVE_ISNANL 1
71649 _ACEOF
71653 *-vxworks)
71654 cat >>confdefs.h <<\_ACEOF
71655 #define HAVE_MMAP 1
71656 _ACEOF
71658 cat >>confdefs.h <<\_ACEOF
71659 #define HAVE_ACOSF 1
71660 _ACEOF
71662 cat >>confdefs.h <<\_ACEOF
71663 #define HAVE_ASINF 1
71664 _ACEOF
71666 cat >>confdefs.h <<\_ACEOF
71667 #define HAVE_ATAN2F 1
71668 _ACEOF
71670 cat >>confdefs.h <<\_ACEOF
71671 #define HAVE_ATANF 1
71672 _ACEOF
71674 cat >>confdefs.h <<\_ACEOF
71675 #define HAVE_CEILF 1
71676 _ACEOF
71678 cat >>confdefs.h <<\_ACEOF
71679 #define HAVE_COSF 1
71680 _ACEOF
71682 cat >>confdefs.h <<\_ACEOF
71683 #define HAVE_COSHF 1
71684 _ACEOF
71686 cat >>confdefs.h <<\_ACEOF
71687 #define HAVE_EXPF 1
71688 _ACEOF
71690 cat >>confdefs.h <<\_ACEOF
71691 #define HAVE_FABSF 1
71692 _ACEOF
71694 cat >>confdefs.h <<\_ACEOF
71695 #define HAVE_FLOORF 1
71696 _ACEOF
71698 cat >>confdefs.h <<\_ACEOF
71699 #define HAVE_FMODF 1
71700 _ACEOF
71702 cat >>confdefs.h <<\_ACEOF
71703 #define HAVE_HYPOT 1
71704 _ACEOF
71706 cat >>confdefs.h <<\_ACEOF
71707 #define HAVE_LOG10F 1
71708 _ACEOF
71710 cat >>confdefs.h <<\_ACEOF
71711 #define HAVE_LOGF 1
71712 _ACEOF
71714 cat >>confdefs.h <<\_ACEOF
71715 #define HAVE_POWF 1
71716 _ACEOF
71718 cat >>confdefs.h <<\_ACEOF
71719 #define HAVE_SINF 1
71720 _ACEOF
71722 cat >>confdefs.h <<\_ACEOF
71723 #define HAVE_SINHF 1
71724 _ACEOF
71726 cat >>confdefs.h <<\_ACEOF
71727 #define HAVE_SQRTF 1
71728 _ACEOF
71730 cat >>confdefs.h <<\_ACEOF
71731 #define HAVE_TANF 1
71732 _ACEOF
71734 cat >>confdefs.h <<\_ACEOF
71735 #define HAVE_TANHF 1
71736 _ACEOF
71739 *-windiss*)
71740 cat >>confdefs.h <<\_ACEOF
71741 #define HAVE_ACOSF 1
71742 _ACEOF
71744 cat >>confdefs.h <<\_ACEOF
71745 #define HAVE_ACOSL 1
71746 _ACEOF
71748 cat >>confdefs.h <<\_ACEOF
71749 #define HAVE_ASINF 1
71750 _ACEOF
71752 cat >>confdefs.h <<\_ACEOF
71753 #define HAVE_ASINL 1
71754 _ACEOF
71756 cat >>confdefs.h <<\_ACEOF
71757 #define HAVE_ATAN2F 1
71758 _ACEOF
71760 cat >>confdefs.h <<\_ACEOF
71761 #define HAVE_ATAN2L 1
71762 _ACEOF
71764 cat >>confdefs.h <<\_ACEOF
71765 #define HAVE_ATANF 1
71766 _ACEOF
71768 cat >>confdefs.h <<\_ACEOF
71769 #define HAVE_ATANL 1
71770 _ACEOF
71772 cat >>confdefs.h <<\_ACEOF
71773 #define HAVE_CEILF 1
71774 _ACEOF
71776 cat >>confdefs.h <<\_ACEOF
71777 #define HAVE_CEILL 1
71778 _ACEOF
71780 cat >>confdefs.h <<\_ACEOF
71781 #define HAVE_COPYSIGN 1
71782 _ACEOF
71784 cat >>confdefs.h <<\_ACEOF
71785 #define HAVE_COPYSIGNF 1
71786 _ACEOF
71788 cat >>confdefs.h <<\_ACEOF
71789 #define HAVE_COSF 1
71790 _ACEOF
71792 cat >>confdefs.h <<\_ACEOF
71793 #define HAVE_COSL 1
71794 _ACEOF
71796 cat >>confdefs.h <<\_ACEOF
71797 #define HAVE_COSHF 1
71798 _ACEOF
71800 cat >>confdefs.h <<\_ACEOF
71801 #define HAVE_COSHL 1
71802 _ACEOF
71804 cat >>confdefs.h <<\_ACEOF
71805 #define HAVE_EXPF 1
71806 _ACEOF
71808 cat >>confdefs.h <<\_ACEOF
71809 #define HAVE_EXPL 1
71810 _ACEOF
71812 cat >>confdefs.h <<\_ACEOF
71813 #define HAVE_FABSF 1
71814 _ACEOF
71816 cat >>confdefs.h <<\_ACEOF
71817 #define HAVE_FABSL 1
71818 _ACEOF
71820 cat >>confdefs.h <<\_ACEOF
71821 #define HAVE_FLOORF 1
71822 _ACEOF
71824 cat >>confdefs.h <<\_ACEOF
71825 #define HAVE_FLOORL 1
71826 _ACEOF
71828 cat >>confdefs.h <<\_ACEOF
71829 #define HAVE_FMODF 1
71830 _ACEOF
71832 cat >>confdefs.h <<\_ACEOF
71833 #define HAVE_FMODL 1
71834 _ACEOF
71836 cat >>confdefs.h <<\_ACEOF
71837 #define HAVE_FREXPF 1
71838 _ACEOF
71840 cat >>confdefs.h <<\_ACEOF
71841 #define HAVE_FREXPL 1
71842 _ACEOF
71844 cat >>confdefs.h <<\_ACEOF
71845 #define HAVE_LDEXPF 1
71846 _ACEOF
71848 cat >>confdefs.h <<\_ACEOF
71849 #define HAVE_LDEXPL 1
71850 _ACEOF
71852 cat >>confdefs.h <<\_ACEOF
71853 #define HAVE_LOG10F 1
71854 _ACEOF
71856 cat >>confdefs.h <<\_ACEOF
71857 #define HAVE_LOG10L 1
71858 _ACEOF
71860 cat >>confdefs.h <<\_ACEOF
71861 #define HAVE_LOGF 1
71862 _ACEOF
71864 cat >>confdefs.h <<\_ACEOF
71865 #define HAVE_MODFF 1
71866 _ACEOF
71868 cat >>confdefs.h <<\_ACEOF
71869 #define HAVE_MODFL 1
71870 _ACEOF
71872 cat >>confdefs.h <<\_ACEOF
71873 #define HAVE_POWF 1
71874 _ACEOF
71876 cat >>confdefs.h <<\_ACEOF
71877 #define HAVE_POWL 1
71878 _ACEOF
71880 cat >>confdefs.h <<\_ACEOF
71881 #define HAVE_SINF 1
71882 _ACEOF
71884 cat >>confdefs.h <<\_ACEOF
71885 #define HAVE_SINL 1
71886 _ACEOF
71888 cat >>confdefs.h <<\_ACEOF
71889 #define HAVE_SINHF 1
71890 _ACEOF
71892 cat >>confdefs.h <<\_ACEOF
71893 #define HAVE_SINHL 1
71894 _ACEOF
71896 cat >>confdefs.h <<\_ACEOF
71897 #define HAVE_SQRTF 1
71898 _ACEOF
71900 cat >>confdefs.h <<\_ACEOF
71901 #define HAVE_SQRTL 1
71902 _ACEOF
71904 cat >>confdefs.h <<\_ACEOF
71905 #define HAVE_TANF 1
71906 _ACEOF
71908 cat >>confdefs.h <<\_ACEOF
71909 #define HAVE_TANL 1
71910 _ACEOF
71912 cat >>confdefs.h <<\_ACEOF
71913 #define HAVE_TANHF 1
71914 _ACEOF
71916 cat >>confdefs.h <<\_ACEOF
71917 #define HAVE_TANHL 1
71918 _ACEOF
71922 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
71923 echo "$as_me: error: No support for this host/target combination." >&2;}
71924 { (exit 1); exit 1; }; }
71926 esac
71931 # At some point, we should differentiate between architectures
71932 # like x86, which have long double versions, and alpha/powerpc/etc.,
71933 # which don't. For the time being, punt.
71934 if test x"long_double_math_on_this_cpu" = x"yes"; then
71935 cat >>confdefs.h <<\_ACEOF
71936 #define HAVE_ACOSL 1
71937 _ACEOF
71939 cat >>confdefs.h <<\_ACEOF
71940 #define HAVE_ASINL 1
71941 _ACEOF
71943 cat >>confdefs.h <<\_ACEOF
71944 #define HAVE_ATAN2L 1
71945 _ACEOF
71947 cat >>confdefs.h <<\_ACEOF
71948 #define HAVE_ATANL 1
71949 _ACEOF
71951 cat >>confdefs.h <<\_ACEOF
71952 #define HAVE_CEILL 1
71953 _ACEOF
71955 cat >>confdefs.h <<\_ACEOF
71956 #define HAVE_COPYSIGNL 1
71957 _ACEOF
71959 cat >>confdefs.h <<\_ACEOF
71960 #define HAVE_COSL 1
71961 _ACEOF
71963 cat >>confdefs.h <<\_ACEOF
71964 #define HAVE_COSHL 1
71965 _ACEOF
71967 cat >>confdefs.h <<\_ACEOF
71968 #define HAVE_EXPL 1
71969 _ACEOF
71971 cat >>confdefs.h <<\_ACEOF
71972 #define HAVE_FABSL 1
71973 _ACEOF
71975 cat >>confdefs.h <<\_ACEOF
71976 #define HAVE_FLOORL 1
71977 _ACEOF
71979 cat >>confdefs.h <<\_ACEOF
71980 #define HAVE_FMODL 1
71981 _ACEOF
71983 cat >>confdefs.h <<\_ACEOF
71984 #define HAVE_FREXPL 1
71985 _ACEOF
71987 cat >>confdefs.h <<\_ACEOF
71988 #define HAVE_LDEXPL 1
71989 _ACEOF
71991 cat >>confdefs.h <<\_ACEOF
71992 #define HAVE_LOG10L 1
71993 _ACEOF
71995 cat >>confdefs.h <<\_ACEOF
71996 #define HAVE_LOGL 1
71997 _ACEOF
71999 cat >>confdefs.h <<\_ACEOF
72000 #define HAVE_MODFL 1
72001 _ACEOF
72003 cat >>confdefs.h <<\_ACEOF
72004 #define HAVE_POWL 1
72005 _ACEOF
72007 cat >>confdefs.h <<\_ACEOF
72008 #define HAVE_SINCOSL 1
72009 _ACEOF
72011 cat >>confdefs.h <<\_ACEOF
72012 #define HAVE_SINL 1
72013 _ACEOF
72015 cat >>confdefs.h <<\_ACEOF
72016 #define HAVE_SINHL 1
72017 _ACEOF
72019 cat >>confdefs.h <<\_ACEOF
72020 #define HAVE_SQRTL 1
72021 _ACEOF
72023 cat >>confdefs.h <<\_ACEOF
72024 #define HAVE_TANL 1
72025 _ACEOF
72027 cat >>confdefs.h <<\_ACEOF
72028 #define HAVE_TANHL 1
72029 _ACEOF
72035 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
72038 # Check whether --enable-symvers or --disable-symvers was given.
72039 if test "${enable_symvers+set}" = set; then
72040 enableval="$enable_symvers"
72042 case "$enableval" in
72043 yes|no|gnu) ;;
72044 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
72045 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
72046 { (exit 1); exit 1; }; } ;;
72047 esac
72049 else
72050 enable_symvers=yes
72054 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
72055 # don't know enough about $LD to do tricks...
72057 # FIXME The following test is too strict, in theory.
72058 if test $enable_shared = no ||
72059 test "x$LD" = x ||
72060 test x$glibcxx_gnu_ld_version = x; then
72061 enable_symvers=no
72064 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
72065 if test $enable_symvers != no; then
72066 echo "$as_me:$LINENO: checking for shared libgcc" >&5
72067 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
72068 ac_save_CFLAGS="$CFLAGS"
72069 CFLAGS=' -lgcc_s'
72070 if test x$gcc_no_link = xyes; then
72071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72073 { (exit 1); exit 1; }; }
72075 cat >conftest.$ac_ext <<_ACEOF
72076 /* confdefs.h. */
72077 _ACEOF
72078 cat confdefs.h >>conftest.$ac_ext
72079 cat >>conftest.$ac_ext <<_ACEOF
72080 /* end confdefs.h. */
72083 main ()
72085 return 0;
72087 return 0;
72089 _ACEOF
72090 rm -f conftest.$ac_objext conftest$ac_exeext
72091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72092 (eval $ac_link) 2>conftest.er1
72093 ac_status=$?
72094 grep -v '^ *+' conftest.er1 >conftest.err
72095 rm -f conftest.er1
72096 cat conftest.err >&5
72097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72098 (exit $ac_status); } &&
72099 { ac_try='test -z "$ac_c_werror_flag"
72100 || test ! -s conftest.err'
72101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72102 (eval $ac_try) 2>&5
72103 ac_status=$?
72104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72105 (exit $ac_status); }; } &&
72106 { ac_try='test -s conftest$ac_exeext'
72107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72108 (eval $ac_try) 2>&5
72109 ac_status=$?
72110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72111 (exit $ac_status); }; }; then
72112 glibcxx_shared_libgcc=yes
72113 else
72114 echo "$as_me: failed program was:" >&5
72115 sed 's/^/| /' conftest.$ac_ext >&5
72117 glibcxx_shared_libgcc=no
72119 rm -f conftest.err conftest.$ac_objext \
72120 conftest$ac_exeext conftest.$ac_ext
72121 CFLAGS="$ac_save_CFLAGS"
72122 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
72123 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
72126 # For GNU ld, we need at least this version. The format is described in
72127 # GLIBCXX_CHECK_LINKER_FEATURES above.
72128 glibcxx_min_gnu_ld_version=21400
72129 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
72131 # Check to see if unspecified "yes" value can win, given results above.
72132 # Change "yes" into either "no" or a style name.
72133 if test $enable_symvers = yes; then
72134 if test $with_gnu_ld = yes &&
72135 test $glibcxx_shared_libgcc = yes;
72136 then
72137 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
72138 enable_symvers=gnu
72139 else
72140 # The right tools, the right setup, but too old. Fallbacks?
72141 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
72142 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
72143 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
72144 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
72145 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
72146 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
72147 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
72148 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
72149 if test $glibcxx_gnu_ld_version -ge 21200 ; then
72150 # Globbing fix is present, proper block support is not.
72151 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
72152 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
72153 enable_symvers=no
72154 else
72155 # 2.11 or older.
72156 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
72157 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
72158 enable_symvers=no
72161 else
72162 # just fail for now
72163 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
72164 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
72165 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
72166 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
72167 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
72168 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
72169 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
72170 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
72171 enable_symvers=no
72175 # Everything parsed; figure out what file to use.
72176 case $enable_symvers in
72178 SYMVER_MAP=config/linker-map.dummy
72180 gnu)
72181 SYMVER_MAP=config/linker-map.gnu
72182 cat >>confdefs.h <<\_ACEOF
72183 #define _GLIBCXX_SYMVER 1
72184 _ACEOF
72187 esac
72192 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
72193 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
72196 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
72198 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
72199 # Do checks for resource limit functions.
72201 setrlimit_have_headers=yes
72205 for ac_header in unistd.h sys/time.h sys/resource.h
72207 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
72208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
72209 echo "$as_me:$LINENO: checking for $ac_header" >&5
72210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
72211 if eval "test \"\${$as_ac_Header+set}\" = set"; then
72212 echo $ECHO_N "(cached) $ECHO_C" >&6
72214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
72215 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
72216 else
72217 # Is the header compilable?
72218 echo "$as_me:$LINENO: checking $ac_header usability" >&5
72219 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
72220 cat >conftest.$ac_ext <<_ACEOF
72221 /* confdefs.h. */
72222 _ACEOF
72223 cat confdefs.h >>conftest.$ac_ext
72224 cat >>conftest.$ac_ext <<_ACEOF
72225 /* end confdefs.h. */
72226 $ac_includes_default
72227 #include <$ac_header>
72228 _ACEOF
72229 rm -f conftest.$ac_objext
72230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72231 (eval $ac_compile) 2>conftest.er1
72232 ac_status=$?
72233 grep -v '^ *+' conftest.er1 >conftest.err
72234 rm -f conftest.er1
72235 cat conftest.err >&5
72236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72237 (exit $ac_status); } &&
72238 { ac_try='test -z "$ac_c_werror_flag"
72239 || test ! -s conftest.err'
72240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72241 (eval $ac_try) 2>&5
72242 ac_status=$?
72243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72244 (exit $ac_status); }; } &&
72245 { ac_try='test -s conftest.$ac_objext'
72246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72247 (eval $ac_try) 2>&5
72248 ac_status=$?
72249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72250 (exit $ac_status); }; }; then
72251 ac_header_compiler=yes
72252 else
72253 echo "$as_me: failed program was:" >&5
72254 sed 's/^/| /' conftest.$ac_ext >&5
72256 ac_header_compiler=no
72258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72259 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
72260 echo "${ECHO_T}$ac_header_compiler" >&6
72262 # Is the header present?
72263 echo "$as_me:$LINENO: checking $ac_header presence" >&5
72264 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
72265 cat >conftest.$ac_ext <<_ACEOF
72266 /* confdefs.h. */
72267 _ACEOF
72268 cat confdefs.h >>conftest.$ac_ext
72269 cat >>conftest.$ac_ext <<_ACEOF
72270 /* end confdefs.h. */
72271 #include <$ac_header>
72272 _ACEOF
72273 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
72274 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
72275 ac_status=$?
72276 grep -v '^ *+' conftest.er1 >conftest.err
72277 rm -f conftest.er1
72278 cat conftest.err >&5
72279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72280 (exit $ac_status); } >/dev/null; then
72281 if test -s conftest.err; then
72282 ac_cpp_err=$ac_c_preproc_warn_flag
72283 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
72284 else
72285 ac_cpp_err=
72287 else
72288 ac_cpp_err=yes
72290 if test -z "$ac_cpp_err"; then
72291 ac_header_preproc=yes
72292 else
72293 echo "$as_me: failed program was:" >&5
72294 sed 's/^/| /' conftest.$ac_ext >&5
72296 ac_header_preproc=no
72298 rm -f conftest.err conftest.$ac_ext
72299 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
72300 echo "${ECHO_T}$ac_header_preproc" >&6
72302 # So? What about this header?
72303 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
72304 yes:no: )
72305 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
72306 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
72307 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
72308 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
72309 ac_header_preproc=yes
72311 no:yes:* )
72312 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
72313 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
72314 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
72315 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
72316 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
72317 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
72318 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
72319 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
72320 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
72321 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
72322 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
72323 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
72325 cat <<\_ASBOX
72326 ## ----------------------------------------- ##
72327 ## Report this to the package-unused lists. ##
72328 ## ----------------------------------------- ##
72329 _ASBOX
72331 sed "s/^/$as_me: WARNING: /" >&2
72333 esac
72334 echo "$as_me:$LINENO: checking for $ac_header" >&5
72335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
72336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
72337 echo $ECHO_N "(cached) $ECHO_C" >&6
72338 else
72339 eval "$as_ac_Header=\$ac_header_preproc"
72341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
72342 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
72345 if test `eval echo '${'$as_ac_Header'}'` = yes; then
72346 cat >>confdefs.h <<_ACEOF
72347 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
72348 _ACEOF
72350 else
72351 setrlimit_have_headers=no
72354 done
72356 # If don't have the headers, then we can't run the tests now, and we
72357 # won't be seeing any of these during testsuite compilation.
72358 if test $setrlimit_have_headers = yes; then
72359 # Can't do these in a loop, else the resulting syntax is wrong.
72361 cat >conftest.$ac_ext <<_ACEOF
72362 /* confdefs.h. */
72363 _ACEOF
72364 cat confdefs.h >>conftest.$ac_ext
72365 cat >>conftest.$ac_ext <<_ACEOF
72366 /* end confdefs.h. */
72367 #include <unistd.h>
72368 #include <sys/time.h>
72369 #include <sys/resource.h>
72372 main ()
72374 int f = RLIMIT_DATA ;
72376 return 0;
72378 _ACEOF
72379 rm -f conftest.$ac_objext
72380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72381 (eval $ac_compile) 2>conftest.er1
72382 ac_status=$?
72383 grep -v '^ *+' conftest.er1 >conftest.err
72384 rm -f conftest.er1
72385 cat conftest.err >&5
72386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72387 (exit $ac_status); } &&
72388 { ac_try='test -z "$ac_c_werror_flag"
72389 || test ! -s conftest.err'
72390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72391 (eval $ac_try) 2>&5
72392 ac_status=$?
72393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72394 (exit $ac_status); }; } &&
72395 { ac_try='test -s conftest.$ac_objext'
72396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72397 (eval $ac_try) 2>&5
72398 ac_status=$?
72399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72400 (exit $ac_status); }; }; then
72401 glibcxx_mresult=1
72402 else
72403 echo "$as_me: failed program was:" >&5
72404 sed 's/^/| /' conftest.$ac_ext >&5
72406 glibcxx_mresult=0
72408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72410 cat >>confdefs.h <<_ACEOF
72411 #define HAVE_LIMIT_DATA $glibcxx_mresult
72412 _ACEOF
72416 cat >conftest.$ac_ext <<_ACEOF
72417 /* confdefs.h. */
72418 _ACEOF
72419 cat confdefs.h >>conftest.$ac_ext
72420 cat >>conftest.$ac_ext <<_ACEOF
72421 /* end confdefs.h. */
72422 #include <unistd.h>
72423 #include <sys/time.h>
72424 #include <sys/resource.h>
72427 main ()
72429 int f = RLIMIT_RSS ;
72431 return 0;
72433 _ACEOF
72434 rm -f conftest.$ac_objext
72435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72436 (eval $ac_compile) 2>conftest.er1
72437 ac_status=$?
72438 grep -v '^ *+' conftest.er1 >conftest.err
72439 rm -f conftest.er1
72440 cat conftest.err >&5
72441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72442 (exit $ac_status); } &&
72443 { ac_try='test -z "$ac_c_werror_flag"
72444 || test ! -s conftest.err'
72445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72446 (eval $ac_try) 2>&5
72447 ac_status=$?
72448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72449 (exit $ac_status); }; } &&
72450 { ac_try='test -s conftest.$ac_objext'
72451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72452 (eval $ac_try) 2>&5
72453 ac_status=$?
72454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72455 (exit $ac_status); }; }; then
72456 glibcxx_mresult=1
72457 else
72458 echo "$as_me: failed program was:" >&5
72459 sed 's/^/| /' conftest.$ac_ext >&5
72461 glibcxx_mresult=0
72463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72465 cat >>confdefs.h <<_ACEOF
72466 #define HAVE_LIMIT_RSS $glibcxx_mresult
72467 _ACEOF
72471 cat >conftest.$ac_ext <<_ACEOF
72472 /* confdefs.h. */
72473 _ACEOF
72474 cat confdefs.h >>conftest.$ac_ext
72475 cat >>conftest.$ac_ext <<_ACEOF
72476 /* end confdefs.h. */
72477 #include <unistd.h>
72478 #include <sys/time.h>
72479 #include <sys/resource.h>
72482 main ()
72484 int f = RLIMIT_VMEM ;
72486 return 0;
72488 _ACEOF
72489 rm -f conftest.$ac_objext
72490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72491 (eval $ac_compile) 2>conftest.er1
72492 ac_status=$?
72493 grep -v '^ *+' conftest.er1 >conftest.err
72494 rm -f conftest.er1
72495 cat conftest.err >&5
72496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72497 (exit $ac_status); } &&
72498 { ac_try='test -z "$ac_c_werror_flag"
72499 || test ! -s conftest.err'
72500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72501 (eval $ac_try) 2>&5
72502 ac_status=$?
72503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72504 (exit $ac_status); }; } &&
72505 { ac_try='test -s conftest.$ac_objext'
72506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72507 (eval $ac_try) 2>&5
72508 ac_status=$?
72509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72510 (exit $ac_status); }; }; then
72511 glibcxx_mresult=1
72512 else
72513 echo "$as_me: failed program was:" >&5
72514 sed 's/^/| /' conftest.$ac_ext >&5
72516 glibcxx_mresult=0
72518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72520 cat >>confdefs.h <<_ACEOF
72521 #define HAVE_LIMIT_VMEM $glibcxx_mresult
72522 _ACEOF
72526 cat >conftest.$ac_ext <<_ACEOF
72527 /* confdefs.h. */
72528 _ACEOF
72529 cat confdefs.h >>conftest.$ac_ext
72530 cat >>conftest.$ac_ext <<_ACEOF
72531 /* end confdefs.h. */
72532 #include <unistd.h>
72533 #include <sys/time.h>
72534 #include <sys/resource.h>
72537 main ()
72539 int f = RLIMIT_AS ;
72541 return 0;
72543 _ACEOF
72544 rm -f conftest.$ac_objext
72545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72546 (eval $ac_compile) 2>conftest.er1
72547 ac_status=$?
72548 grep -v '^ *+' conftest.er1 >conftest.err
72549 rm -f conftest.er1
72550 cat conftest.err >&5
72551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72552 (exit $ac_status); } &&
72553 { ac_try='test -z "$ac_c_werror_flag"
72554 || test ! -s conftest.err'
72555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72556 (eval $ac_try) 2>&5
72557 ac_status=$?
72558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72559 (exit $ac_status); }; } &&
72560 { ac_try='test -s conftest.$ac_objext'
72561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72562 (eval $ac_try) 2>&5
72563 ac_status=$?
72564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72565 (exit $ac_status); }; }; then
72566 glibcxx_mresult=1
72567 else
72568 echo "$as_me: failed program was:" >&5
72569 sed 's/^/| /' conftest.$ac_ext >&5
72571 glibcxx_mresult=0
72573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72575 cat >>confdefs.h <<_ACEOF
72576 #define HAVE_LIMIT_AS $glibcxx_mresult
72577 _ACEOF
72581 cat >conftest.$ac_ext <<_ACEOF
72582 /* confdefs.h. */
72583 _ACEOF
72584 cat confdefs.h >>conftest.$ac_ext
72585 cat >>conftest.$ac_ext <<_ACEOF
72586 /* end confdefs.h. */
72587 #include <unistd.h>
72588 #include <sys/time.h>
72589 #include <sys/resource.h>
72592 main ()
72594 int f = RLIMIT_FSIZE ;
72596 return 0;
72598 _ACEOF
72599 rm -f conftest.$ac_objext
72600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72601 (eval $ac_compile) 2>conftest.er1
72602 ac_status=$?
72603 grep -v '^ *+' conftest.er1 >conftest.err
72604 rm -f conftest.er1
72605 cat conftest.err >&5
72606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72607 (exit $ac_status); } &&
72608 { ac_try='test -z "$ac_c_werror_flag"
72609 || test ! -s conftest.err'
72610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72611 (eval $ac_try) 2>&5
72612 ac_status=$?
72613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72614 (exit $ac_status); }; } &&
72615 { ac_try='test -s conftest.$ac_objext'
72616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72617 (eval $ac_try) 2>&5
72618 ac_status=$?
72619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72620 (exit $ac_status); }; }; then
72621 glibcxx_mresult=1
72622 else
72623 echo "$as_me: failed program was:" >&5
72624 sed 's/^/| /' conftest.$ac_ext >&5
72626 glibcxx_mresult=0
72628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72630 cat >>confdefs.h <<_ACEOF
72631 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
72632 _ACEOF
72636 # Check for rlimit, setrlimit.
72637 if test "${ac_setrlimit+set}" = set; then
72638 echo $ECHO_N "(cached) $ECHO_C" >&6
72639 else
72641 cat >conftest.$ac_ext <<_ACEOF
72642 /* confdefs.h. */
72643 _ACEOF
72644 cat confdefs.h >>conftest.$ac_ext
72645 cat >>conftest.$ac_ext <<_ACEOF
72646 /* end confdefs.h. */
72647 #include <unistd.h>
72648 #include <sys/time.h>
72649 #include <sys/resource.h>
72652 main ()
72654 struct rlimit r;
72655 setrlimit(0, &r);
72657 return 0;
72659 _ACEOF
72660 rm -f conftest.$ac_objext
72661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72662 (eval $ac_compile) 2>conftest.er1
72663 ac_status=$?
72664 grep -v '^ *+' conftest.er1 >conftest.err
72665 rm -f conftest.er1
72666 cat conftest.err >&5
72667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72668 (exit $ac_status); } &&
72669 { ac_try='test -z "$ac_c_werror_flag"
72670 || test ! -s conftest.err'
72671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72672 (eval $ac_try) 2>&5
72673 ac_status=$?
72674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72675 (exit $ac_status); }; } &&
72676 { ac_try='test -s conftest.$ac_objext'
72677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72678 (eval $ac_try) 2>&5
72679 ac_status=$?
72680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72681 (exit $ac_status); }; }; then
72682 ac_setrlimit=yes
72683 else
72684 echo "$as_me: failed program was:" >&5
72685 sed 's/^/| /' conftest.$ac_ext >&5
72687 ac_setrlimit=no
72689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72695 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
72696 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
72697 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
72698 ac_res_limits=yes
72699 cat >>confdefs.h <<\_ACEOF
72700 #define _GLIBCXX_RES_LIMITS 1
72701 _ACEOF
72703 else
72704 ac_res_limits=no
72706 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
72707 echo "${ECHO_T}$ac_res_limits" >&6
72710 # Look for setenv, so that extended locale tests can be performed.
72712 echo "$as_me:$LINENO: checking for setenv declaration" >&5
72713 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
72714 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
72715 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
72716 echo $ECHO_N "(cached) $ECHO_C" >&6
72717 else
72721 ac_ext=cc
72722 ac_cpp='$CXXCPP $CPPFLAGS'
72723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72727 cat >conftest.$ac_ext <<_ACEOF
72728 /* confdefs.h. */
72729 _ACEOF
72730 cat confdefs.h >>conftest.$ac_ext
72731 cat >>conftest.$ac_ext <<_ACEOF
72732 /* end confdefs.h. */
72733 #include <stdlib.h>
72735 main ()
72737 setenv(0, 0, 0);
72739 return 0;
72741 _ACEOF
72742 rm -f conftest.$ac_objext
72743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72744 (eval $ac_compile) 2>conftest.er1
72745 ac_status=$?
72746 grep -v '^ *+' conftest.er1 >conftest.err
72747 rm -f conftest.er1
72748 cat conftest.err >&5
72749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72750 (exit $ac_status); } &&
72751 { ac_try='test -z "$ac_cxx_werror_flag"
72752 || test ! -s conftest.err'
72753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72754 (eval $ac_try) 2>&5
72755 ac_status=$?
72756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72757 (exit $ac_status); }; } &&
72758 { ac_try='test -s conftest.$ac_objext'
72759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72760 (eval $ac_try) 2>&5
72761 ac_status=$?
72762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72763 (exit $ac_status); }; }; then
72764 glibcxx_cv_func_setenv_use=yes
72765 else
72766 echo "$as_me: failed program was:" >&5
72767 sed 's/^/| /' conftest.$ac_ext >&5
72769 glibcxx_cv_func_setenv_use=no
72771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72772 ac_ext=c
72773 ac_cpp='$CPP $CPPFLAGS'
72774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72782 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
72783 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
72784 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
72786 for ac_func in setenv
72788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72789 echo "$as_me:$LINENO: checking for $ac_func" >&5
72790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72791 if eval "test \"\${$as_ac_var+set}\" = set"; then
72792 echo $ECHO_N "(cached) $ECHO_C" >&6
72793 else
72794 if test x$gcc_no_link = xyes; then
72795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72797 { (exit 1); exit 1; }; }
72799 cat >conftest.$ac_ext <<_ACEOF
72800 /* confdefs.h. */
72801 _ACEOF
72802 cat confdefs.h >>conftest.$ac_ext
72803 cat >>conftest.$ac_ext <<_ACEOF
72804 /* end confdefs.h. */
72805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72807 #define $ac_func innocuous_$ac_func
72809 /* System header to define __stub macros and hopefully few prototypes,
72810 which can conflict with char $ac_func (); below.
72811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72812 <limits.h> exists even on freestanding compilers. */
72814 #ifdef __STDC__
72815 # include <limits.h>
72816 #else
72817 # include <assert.h>
72818 #endif
72820 #undef $ac_func
72822 /* Override any gcc2 internal prototype to avoid an error. */
72823 #ifdef __cplusplus
72824 extern "C"
72826 #endif
72827 /* We use char because int might match the return type of a gcc2
72828 builtin and then its argument prototype would still apply. */
72829 char $ac_func ();
72830 /* The GNU C library defines this for functions which it implements
72831 to always fail with ENOSYS. Some functions are actually named
72832 something starting with __ and the normal name is an alias. */
72833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72834 choke me
72835 #else
72836 char (*f) () = $ac_func;
72837 #endif
72838 #ifdef __cplusplus
72840 #endif
72843 main ()
72845 return f != $ac_func;
72847 return 0;
72849 _ACEOF
72850 rm -f conftest.$ac_objext conftest$ac_exeext
72851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72852 (eval $ac_link) 2>conftest.er1
72853 ac_status=$?
72854 grep -v '^ *+' conftest.er1 >conftest.err
72855 rm -f conftest.er1
72856 cat conftest.err >&5
72857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72858 (exit $ac_status); } &&
72859 { ac_try='test -z "$ac_c_werror_flag"
72860 || test ! -s conftest.err'
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); }; } &&
72866 { ac_try='test -s conftest$ac_exeext'
72867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72868 (eval $ac_try) 2>&5
72869 ac_status=$?
72870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72871 (exit $ac_status); }; }; then
72872 eval "$as_ac_var=yes"
72873 else
72874 echo "$as_me: failed program was:" >&5
72875 sed 's/^/| /' conftest.$ac_ext >&5
72877 eval "$as_ac_var=no"
72879 rm -f conftest.err conftest.$ac_objext \
72880 conftest$ac_exeext conftest.$ac_ext
72882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72884 if test `eval echo '${'$as_ac_var'}'` = yes; then
72885 cat >>confdefs.h <<_ACEOF
72886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72887 _ACEOF
72890 done
72895 if test $enable_symvers = no; then
72896 enable_abi_check=no
72897 else
72898 case "$host" in
72899 *-*-cygwin*)
72900 enable_abi_check=no ;;
72902 enable_abi_check=yes ;;
72903 esac
72905 else
72906 # Only build this as native, since automake does not understand
72907 # CXX_FOR_BUILD.
72908 enable_abi_check=no
72911 # Export file names for ABI checking.
72912 baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
72919 # Propagate the target-specific source directories through the build chain.
72920 # (Nothing currently uses cpu_include_dir directly; only atomicity_include_dir
72921 # uses it, and it only gets used in this file.)
72922 ATOMICITY_SRCDIR=config/${atomicity_dir}
72923 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
72924 OS_INC_SRCDIR=config/${os_include_dir}
72929 # Determine cross-compile flags and AM_CONDITIONALs.
72930 #AC_SUBST(GLIBCXX_IS_NATIVE)
72931 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
72932 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
72933 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
72936 if test $is_hosted = yes; then
72937 GLIBCXX_HOSTED_TRUE=
72938 GLIBCXX_HOSTED_FALSE='#'
72939 else
72940 GLIBCXX_HOSTED_TRUE='#'
72941 GLIBCXX_HOSTED_FALSE=
72947 if test $enable_libstdcxx_pch = yes; then
72948 GLIBCXX_BUILD_PCH_TRUE=
72949 GLIBCXX_BUILD_PCH_FALSE='#'
72950 else
72951 GLIBCXX_BUILD_PCH_TRUE='#'
72952 GLIBCXX_BUILD_PCH_FALSE=
72958 if test $enable_cheaders = c; then
72959 GLIBCXX_C_HEADERS_C_TRUE=
72960 GLIBCXX_C_HEADERS_C_FALSE='#'
72961 else
72962 GLIBCXX_C_HEADERS_C_TRUE='#'
72963 GLIBCXX_C_HEADERS_C_FALSE=
72969 if test $enable_cheaders = c_std; then
72970 GLIBCXX_C_HEADERS_C_STD_TRUE=
72971 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
72972 else
72973 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
72974 GLIBCXX_C_HEADERS_C_STD_FALSE=
72980 if test $c_compatibility = yes; then
72981 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
72982 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
72983 else
72984 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
72985 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
72991 if test $enable_libstdcxx_debug = yes; then
72992 GLIBCXX_BUILD_DEBUG_TRUE=
72993 GLIBCXX_BUILD_DEBUG_FALSE='#'
72994 else
72995 GLIBCXX_BUILD_DEBUG_TRUE='#'
72996 GLIBCXX_BUILD_DEBUG_FALSE=
73002 if test $enable_symvers != no; then
73003 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
73004 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
73005 else
73006 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
73007 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
73013 if test $enable_wchar_t = yes; then
73014 GLIBCXX_TEST_WCHAR_T_TRUE=
73015 GLIBCXX_TEST_WCHAR_T_FALSE='#'
73016 else
73017 GLIBCXX_TEST_WCHAR_T_TRUE='#'
73018 GLIBCXX_TEST_WCHAR_T_FALSE=
73024 if test $enable_abi_check = yes; then
73025 GLIBCXX_TEST_ABI_TRUE=
73026 GLIBCXX_TEST_ABI_FALSE='#'
73027 else
73028 GLIBCXX_TEST_ABI_TRUE='#'
73029 GLIBCXX_TEST_ABI_FALSE=
73035 cat >confcache <<\_ACEOF
73036 # This file is a shell script that caches the results of configure
73037 # tests run on this system so they can be shared between configure
73038 # scripts and configure runs, see configure's option --config-cache.
73039 # It is not useful on other systems. If it contains results you don't
73040 # want to keep, you may remove or edit it.
73042 # config.status only pays attention to the cache file if you give it
73043 # the --recheck option to rerun configure.
73045 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73046 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73047 # following values.
73049 _ACEOF
73051 # The following way of writing the cache mishandles newlines in values,
73052 # but we know of no workaround that is simple, portable, and efficient.
73053 # So, don't put newlines in cache variables' values.
73054 # Ultrix sh set writes to stderr and can't be redirected directly,
73055 # and sets the high bit in the cache file unless we assign to the vars.
73057 (set) 2>&1 |
73058 case `(ac_space=' '; set | grep ac_space) 2>&1` in
73059 *ac_space=\ *)
73060 # `set' does not quote correctly, so add quotes (double-quote
73061 # substitution turns \\\\ into \\, and sed turns \\ into \).
73062 sed -n \
73063 "s/'/'\\\\''/g;
73064 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73067 # `set' quotes correctly as required by POSIX, so do not add quotes.
73068 sed -n \
73069 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
73071 esac;
73073 sed '
73074 t clear
73075 : clear
73076 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73077 t end
73078 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73079 : end' >>confcache
73080 if diff $cache_file confcache >/dev/null 2>&1; then :; else
73081 if test -w $cache_file; then
73082 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
73083 cat confcache >$cache_file
73084 else
73085 echo "not updating unwritable cache $cache_file"
73088 rm -f confcache
73090 if test ${multilib} = yes; then
73091 multilib_arg="--enable-multilib"
73092 else
73093 multilib_arg=
73096 # Export all the install information.
73098 glibcxx_toolexecdir=no
73099 glibcxx_toolexeclibdir=no
73100 glibcxx_prefixdir=$prefix
73102 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
73103 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
73105 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
73106 if test "${with_gxx_include_dir+set}" = set; then
73107 withval="$with_gxx_include_dir"
73108 case "$withval" in
73109 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
73110 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
73111 { (exit 1); exit 1; }; } ;;
73112 no) gxx_include_dir=no ;;
73113 *) gxx_include_dir=$withval ;;
73114 esac
73115 else
73116 gxx_include_dir=no
73118 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
73119 echo "${ECHO_T}$gxx_include_dir" >&6
73121 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
73122 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
73123 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
73124 if test "${enable_version_specific_runtime_libs+set}" = set; then
73125 enableval="$enable_version_specific_runtime_libs"
73126 case "$enableval" in
73127 yes) version_specific_libs=yes ;;
73128 no) version_specific_libs=no ;;
73129 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
73130 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
73131 { (exit 1); exit 1; }; };;
73132 esac
73133 else
73134 version_specific_libs=no
73136 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
73137 echo "${ECHO_T}$version_specific_libs" >&6
73139 # Default case for install directory for include files.
73140 if test $version_specific_libs = no && test $gxx_include_dir = no; then
73141 gxx_include_dir='${prefix}'/include/c++/${gcc_version}
73144 # Version-specific runtime libs processing.
73145 if test $version_specific_libs = yes; then
73146 # Need the gcc compiler version to know where to install libraries
73147 # and header files if --enable-version-specific-runtime-libs option
73148 # is selected. FIXME: these variables are misnamed, there are
73149 # no executables installed in _toolexecdir or _toolexeclibdir.
73150 if test x"$gxx_include_dir" = x"no"; then
73151 gxx_include_dir='${libdir}/gcc/${host_alias}/'$gcc_version/include/c++
73153 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73154 glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
73157 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
73158 # Install a library built with a cross compiler in tooldir, not libdir.
73159 if test x"$glibcxx_toolexecdir" = x"no"; then
73160 if test -n "$with_cross_host" &&
73161 test x"$with_cross_host" != x"no"; then
73162 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
73163 glibcxx_toolexeclibdir='${toolexecdir}/lib'
73164 else
73165 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73166 glibcxx_toolexeclibdir='${libdir}'
73168 multi_os_directory=`$CXX -print-multi-os-directory`
73169 case $multi_os_directory in
73170 .) ;; # Avoid trailing /.
73171 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
73172 esac
73175 echo "$as_me:$LINENO: checking for install location" >&5
73176 echo $ECHO_N "checking for install location... $ECHO_C" >&6
73177 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
73178 echo "${ECHO_T}$gxx_include_dir" >&6
73186 # Export all the include and flag information to Makefiles.
73188 # Used for every C++ compile we perform.
73189 GLIBCXX_INCLUDES="\
73190 -I$glibcxx_builddir/include/$host_alias \
73191 -I$glibcxx_builddir/include \
73192 -I$glibcxx_srcdir/libsupc++"
73194 # For Canadian crosses, pick this up too.
73195 if test $CANADIAN = yes; then
73196 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
73199 # Stuff in the actual top level. Currently only used by libsupc++ to
73200 # get unwind* headers from the gcc dir.
73201 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
73202 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
73204 # Now, export this to all the little Makefiles....
73209 # Optimization flags that are probably a good idea for thrill-seekers. Just
73210 # uncomment the lines below and make, everything else is ready to go...
73211 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
73212 OPTIMIZE_CXXFLAGS=
73215 WARN_FLAGS='-Wall -W -Wwrite-strings -Wcast-qual'
73219 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
73220 grep "enable shared" > /dev/null;
73221 then
73222 LIBSUPCXX_PICFLAGS=-prefer-pic
73223 else
73224 LIBSUPCXX_PICFLAGS=
73228 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
73230 ac_config_files="$ac_config_files scripts/check_survey"
73232 ac_config_files="$ac_config_files scripts/testsuite_flags"
73235 ac_config_commands="$ac_config_commands default"
73238 cat >confcache <<\_ACEOF
73239 # This file is a shell script that caches the results of configure
73240 # tests run on this system so they can be shared between configure
73241 # scripts and configure runs, see configure's option --config-cache.
73242 # It is not useful on other systems. If it contains results you don't
73243 # want to keep, you may remove or edit it.
73245 # config.status only pays attention to the cache file if you give it
73246 # the --recheck option to rerun configure.
73248 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73249 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73250 # following values.
73252 _ACEOF
73254 # The following way of writing the cache mishandles newlines in values,
73255 # but we know of no workaround that is simple, portable, and efficient.
73256 # So, don't put newlines in cache variables' values.
73257 # Ultrix sh set writes to stderr and can't be redirected directly,
73258 # and sets the high bit in the cache file unless we assign to the vars.
73260 (set) 2>&1 |
73261 case `(ac_space=' '; set | grep ac_space) 2>&1` in
73262 *ac_space=\ *)
73263 # `set' does not quote correctly, so add quotes (double-quote
73264 # substitution turns \\\\ into \\, and sed turns \\ into \).
73265 sed -n \
73266 "s/'/'\\\\''/g;
73267 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73270 # `set' quotes correctly as required by POSIX, so do not add quotes.
73271 sed -n \
73272 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
73274 esac;
73276 sed '
73277 t clear
73278 : clear
73279 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73280 t end
73281 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73282 : end' >>confcache
73283 if diff $cache_file confcache >/dev/null 2>&1; then :; else
73284 if test -w $cache_file; then
73285 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
73286 cat confcache >$cache_file
73287 else
73288 echo "not updating unwritable cache $cache_file"
73291 rm -f confcache
73293 test "x$prefix" = xNONE && prefix=$ac_default_prefix
73294 # Let make expand exec_prefix.
73295 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
73297 # VPATH may cause trouble with some makes, so we remove $(srcdir),
73298 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
73299 # trailing colons and then remove the whole line if VPATH becomes empty
73300 # (actually we leave an empty line to preserve line numbers).
73301 if test "x$srcdir" = x.; then
73302 ac_vpsub='/^[ ]*VPATH[ ]*=/{
73303 s/:*\$(srcdir):*/:/;
73304 s/:*\${srcdir}:*/:/;
73305 s/:*@srcdir@:*/:/;
73306 s/^\([^=]*=[ ]*\):*/\1/;
73307 s/:*$//;
73308 s/^[^=]*=[ ]*$//;
73312 DEFS=-DHAVE_CONFIG_H
73314 ac_libobjs=
73315 ac_ltlibobjs=
73316 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
73317 # 1. Remove the extension, and $U if already installed.
73318 ac_i=`echo "$ac_i" |
73319 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
73320 # 2. Add them.
73321 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
73322 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
73323 done
73324 LIBOBJS=$ac_libobjs
73326 LTLIBOBJS=$ac_ltlibobjs
73329 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
73330 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
73331 Usually this means the macro was only invoked conditionally." >&5
73332 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
73333 Usually this means the macro was only invoked conditionally." >&2;}
73334 { (exit 1); exit 1; }; }
73336 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
73337 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
73338 Usually this means the macro was only invoked conditionally." >&5
73339 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
73340 Usually this means the macro was only invoked conditionally." >&2;}
73341 { (exit 1); exit 1; }; }
73343 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
73344 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
73345 Usually this means the macro was only invoked conditionally." >&5
73346 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
73347 Usually this means the macro was only invoked conditionally." >&2;}
73348 { (exit 1); exit 1; }; }
73350 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
73351 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
73352 Usually this means the macro was only invoked conditionally." >&5
73353 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
73354 Usually this means the macro was only invoked conditionally." >&2;}
73355 { (exit 1); exit 1; }; }
73357 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
73358 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
73359 Usually this means the macro was only invoked conditionally." >&5
73360 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
73361 Usually this means the macro was only invoked conditionally." >&2;}
73362 { (exit 1); exit 1; }; }
73364 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
73365 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
73366 Usually this means the macro was only invoked conditionally." >&5
73367 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
73368 Usually this means the macro was only invoked conditionally." >&2;}
73369 { (exit 1); exit 1; }; }
73371 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
73372 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
73373 Usually this means the macro was only invoked conditionally." >&5
73374 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
73375 Usually this means the macro was only invoked conditionally." >&2;}
73376 { (exit 1); exit 1; }; }
73378 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
73379 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
73380 Usually this means the macro was only invoked conditionally." >&5
73381 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
73382 Usually this means the macro was only invoked conditionally." >&2;}
73383 { (exit 1); exit 1; }; }
73385 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
73386 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
73387 Usually this means the macro was only invoked conditionally." >&5
73388 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
73389 Usually this means the macro was only invoked conditionally." >&2;}
73390 { (exit 1); exit 1; }; }
73392 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
73393 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
73394 Usually this means the macro was only invoked conditionally." >&5
73395 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
73396 Usually this means the macro was only invoked conditionally." >&2;}
73397 { (exit 1); exit 1; }; }
73400 : ${CONFIG_STATUS=./config.status}
73401 ac_clean_files_save=$ac_clean_files
73402 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
73403 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
73404 echo "$as_me: creating $CONFIG_STATUS" >&6;}
73405 cat >$CONFIG_STATUS <<_ACEOF
73406 #! $SHELL
73407 # Generated by $as_me.
73408 # Run this file to recreate the current configuration.
73409 # Compiler output produced by configure, useful for debugging
73410 # configure, is in config.log if it exists.
73412 debug=false
73413 ac_cs_recheck=false
73414 ac_cs_silent=false
73415 SHELL=\${CONFIG_SHELL-$SHELL}
73416 _ACEOF
73418 cat >>$CONFIG_STATUS <<\_ACEOF
73419 ## --------------------- ##
73420 ## M4sh Initialization. ##
73421 ## --------------------- ##
73423 # Be Bourne compatible
73424 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
73425 emulate sh
73426 NULLCMD=:
73427 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
73428 # is contrary to our usage. Disable this feature.
73429 alias -g '${1+"$@"}'='"$@"'
73430 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
73431 set -o posix
73433 DUALCASE=1; export DUALCASE # for MKS sh
73435 # Support unset when possible.
73436 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
73437 as_unset=unset
73438 else
73439 as_unset=false
73443 # Work around bugs in pre-3.0 UWIN ksh.
73444 $as_unset ENV MAIL MAILPATH
73445 PS1='$ '
73446 PS2='> '
73447 PS4='+ '
73449 # NLS nuisances.
73450 for as_var in \
73451 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
73452 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
73453 LC_TELEPHONE LC_TIME
73455 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
73456 eval $as_var=C; export $as_var
73457 else
73458 $as_unset $as_var
73460 done
73462 # Required to use basename.
73463 if expr a : '\(a\)' >/dev/null 2>&1; then
73464 as_expr=expr
73465 else
73466 as_expr=false
73469 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
73470 as_basename=basename
73471 else
73472 as_basename=false
73476 # Name of the executable.
73477 as_me=`$as_basename "$0" ||
73478 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
73479 X"$0" : 'X\(//\)$' \| \
73480 X"$0" : 'X\(/\)$' \| \
73481 . : '\(.\)' 2>/dev/null ||
73482 echo X/"$0" |
73483 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73484 /^X\/\(\/\/\)$/{ s//\1/; q; }
73485 /^X\/\(\/\).*/{ s//\1/; q; }
73486 s/.*/./; q'`
73489 # PATH needs CR, and LINENO needs CR and PATH.
73490 # Avoid depending upon Character Ranges.
73491 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
73492 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
73493 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
73494 as_cr_digits='0123456789'
73495 as_cr_alnum=$as_cr_Letters$as_cr_digits
73497 # The user is always right.
73498 if test "${PATH_SEPARATOR+set}" != set; then
73499 echo "#! /bin/sh" >conf$$.sh
73500 echo "exit 0" >>conf$$.sh
73501 chmod +x conf$$.sh
73502 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
73503 PATH_SEPARATOR=';'
73504 else
73505 PATH_SEPARATOR=:
73507 rm -f conf$$.sh
73511 as_lineno_1=$LINENO
73512 as_lineno_2=$LINENO
73513 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
73514 test "x$as_lineno_1" != "x$as_lineno_2" &&
73515 test "x$as_lineno_3" = "x$as_lineno_2" || {
73516 # Find who we are. Look in the path if we contain no path at all
73517 # relative or not.
73518 case $0 in
73519 *[\\/]* ) as_myself=$0 ;;
73520 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73521 for as_dir in $PATH
73523 IFS=$as_save_IFS
73524 test -z "$as_dir" && as_dir=.
73525 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
73526 done
73529 esac
73530 # We did not find ourselves, most probably we were run as `sh COMMAND'
73531 # in which case we are not to be found in the path.
73532 if test "x$as_myself" = x; then
73533 as_myself=$0
73535 if test ! -f "$as_myself"; then
73536 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
73537 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
73538 { (exit 1); exit 1; }; }
73540 case $CONFIG_SHELL in
73542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73543 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
73545 IFS=$as_save_IFS
73546 test -z "$as_dir" && as_dir=.
73547 for as_base in sh bash ksh sh5; do
73548 case $as_dir in
73550 if ("$as_dir/$as_base" -c '
73551 as_lineno_1=$LINENO
73552 as_lineno_2=$LINENO
73553 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
73554 test "x$as_lineno_1" != "x$as_lineno_2" &&
73555 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
73556 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
73557 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
73558 CONFIG_SHELL=$as_dir/$as_base
73559 export CONFIG_SHELL
73560 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
73561 fi;;
73562 esac
73563 done
73564 done
73566 esac
73568 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
73569 # uniformly replaced by the line number. The first 'sed' inserts a
73570 # line-number line before each line; the second 'sed' does the real
73571 # work. The second script uses 'N' to pair each line-number line
73572 # with the numbered line, and appends trailing '-' during
73573 # substitution so that $LINENO is not a special case at line end.
73574 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
73575 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
73576 sed '=' <$as_myself |
73577 sed '
73579 s,$,-,
73580 : loop
73581 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
73582 t loop
73583 s,-$,,
73584 s,^['$as_cr_digits']*\n,,
73585 ' >$as_me.lineno &&
73586 chmod +x $as_me.lineno ||
73587 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
73588 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
73589 { (exit 1); exit 1; }; }
73591 # Don't try to exec as it changes $[0], causing all sort of problems
73592 # (the dirname of $[0] is not the place where we might find the
73593 # original and so on. Autoconf is especially sensible to this).
73594 . ./$as_me.lineno
73595 # Exit status is that of the last command.
73596 exit
73600 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
73601 *c*,-n*) ECHO_N= ECHO_C='
73602 ' ECHO_T=' ' ;;
73603 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
73604 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
73605 esac
73607 if expr a : '\(a\)' >/dev/null 2>&1; then
73608 as_expr=expr
73609 else
73610 as_expr=false
73613 rm -f conf$$ conf$$.exe conf$$.file
73614 echo >conf$$.file
73615 if ln -s conf$$.file conf$$ 2>/dev/null; then
73616 # We could just check for DJGPP; but this test a) works b) is more generic
73617 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
73618 if test -f conf$$.exe; then
73619 # Don't use ln at all; we don't have any links
73620 as_ln_s='cp -p'
73621 else
73622 as_ln_s='ln -s'
73624 elif ln conf$$.file conf$$ 2>/dev/null; then
73625 as_ln_s=ln
73626 else
73627 as_ln_s='cp -p'
73629 rm -f conf$$ conf$$.exe conf$$.file
73631 if mkdir -p . 2>/dev/null; then
73632 as_mkdir_p=:
73633 else
73634 test -d ./-p && rmdir ./-p
73635 as_mkdir_p=false
73638 as_executable_p="test -f"
73640 # Sed expression to map a string onto a valid CPP name.
73641 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
73643 # Sed expression to map a string onto a valid variable name.
73644 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
73647 # IFS
73648 # We need space, tab and new line, in precisely that order.
73649 as_nl='
73651 IFS=" $as_nl"
73653 # CDPATH.
73654 $as_unset CDPATH
73656 exec 6>&1
73658 # Open the log real soon, to keep \$[0] and so on meaningful, and to
73659 # report actual input values of CONFIG_FILES etc. instead of their
73660 # values after options handling. Logging --version etc. is OK.
73661 exec 5>>config.log
73663 echo
73664 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
73665 ## Running $as_me. ##
73666 _ASBOX
73667 } >&5
73668 cat >&5 <<_CSEOF
73670 This file was extended by package-unused $as_me version-unused, which was
73671 generated by GNU Autoconf 2.59. Invocation command line was
73673 CONFIG_FILES = $CONFIG_FILES
73674 CONFIG_HEADERS = $CONFIG_HEADERS
73675 CONFIG_LINKS = $CONFIG_LINKS
73676 CONFIG_COMMANDS = $CONFIG_COMMANDS
73677 $ $0 $@
73679 _CSEOF
73680 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
73681 echo >&5
73682 _ACEOF
73684 # Files that config.status was made for.
73685 if test -n "$ac_config_files"; then
73686 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
73689 if test -n "$ac_config_headers"; then
73690 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
73693 if test -n "$ac_config_links"; then
73694 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
73697 if test -n "$ac_config_commands"; then
73698 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
73701 cat >>$CONFIG_STATUS <<\_ACEOF
73703 ac_cs_usage="\
73704 \`$as_me' instantiates files from templates according to the
73705 current configuration.
73707 Usage: $0 [OPTIONS] [FILE]...
73709 -h, --help print this help, then exit
73710 -V, --version print version number, then exit
73711 -q, --quiet do not print progress messages
73712 -d, --debug don't remove temporary files
73713 --recheck update $as_me by reconfiguring in the same conditions
73714 --file=FILE[:TEMPLATE]
73715 instantiate the configuration file FILE
73716 --header=FILE[:TEMPLATE]
73717 instantiate the configuration header FILE
73719 Configuration files:
73720 $config_files
73722 Configuration headers:
73723 $config_headers
73725 Configuration commands:
73726 $config_commands
73728 Report bugs to <bug-autoconf@gnu.org>."
73729 _ACEOF
73731 cat >>$CONFIG_STATUS <<_ACEOF
73732 ac_cs_version="\\
73733 package-unused config.status version-unused
73734 configured by $0, generated by GNU Autoconf 2.59,
73735 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
73737 Copyright (C) 2003 Free Software Foundation, Inc.
73738 This config.status script is free software; the Free Software Foundation
73739 gives unlimited permission to copy, distribute and modify it."
73740 srcdir=$srcdir
73741 INSTALL="$INSTALL"
73742 _ACEOF
73744 cat >>$CONFIG_STATUS <<\_ACEOF
73745 # If no file are specified by the user, then we need to provide default
73746 # value. By we need to know if files were specified by the user.
73747 ac_need_defaults=:
73748 while test $# != 0
73750 case $1 in
73751 --*=*)
73752 ac_option=`expr "x$1" : 'x\([^=]*\)='`
73753 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
73754 ac_shift=:
73757 ac_option=$1
73758 ac_optarg=$2
73759 ac_shift=shift
73761 *) # This is not an option, so the user has probably given explicit
73762 # arguments.
73763 ac_option=$1
73764 ac_need_defaults=false;;
73765 esac
73767 case $ac_option in
73768 # Handling of the options.
73769 _ACEOF
73770 cat >>$CONFIG_STATUS <<\_ACEOF
73771 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
73772 ac_cs_recheck=: ;;
73773 --version | --vers* | -V )
73774 echo "$ac_cs_version"; exit 0 ;;
73775 --he | --h)
73776 # Conflict between --help and --header
73777 { { echo "$as_me:$LINENO: error: ambiguous option: $1
73778 Try \`$0 --help' for more information." >&5
73779 echo "$as_me: error: ambiguous option: $1
73780 Try \`$0 --help' for more information." >&2;}
73781 { (exit 1); exit 1; }; };;
73782 --help | --hel | -h )
73783 echo "$ac_cs_usage"; exit 0 ;;
73784 --debug | --d* | -d )
73785 debug=: ;;
73786 --file | --fil | --fi | --f )
73787 $ac_shift
73788 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
73789 ac_need_defaults=false;;
73790 --header | --heade | --head | --hea )
73791 $ac_shift
73792 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
73793 ac_need_defaults=false;;
73794 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
73795 | -silent | --silent | --silen | --sile | --sil | --si | --s)
73796 ac_cs_silent=: ;;
73798 # This is an error.
73799 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
73800 Try \`$0 --help' for more information." >&5
73801 echo "$as_me: error: unrecognized option: $1
73802 Try \`$0 --help' for more information." >&2;}
73803 { (exit 1); exit 1; }; } ;;
73805 *) ac_config_targets="$ac_config_targets $1" ;;
73807 esac
73808 shift
73809 done
73811 ac_configure_extra_args=
73813 if $ac_cs_silent; then
73814 exec 6>/dev/null
73815 ac_configure_extra_args="$ac_configure_extra_args --silent"
73818 _ACEOF
73819 cat >>$CONFIG_STATUS <<_ACEOF
73820 if \$ac_cs_recheck; then
73821 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
73822 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
73825 _ACEOF
73827 cat >>$CONFIG_STATUS <<_ACEOF
73829 # INIT-COMMANDS section.
73833 srcdir="$srcdir"
73834 host="$host"
73835 target="$target"
73836 with_multisubdir="$with_multisubdir"
73837 with_multisrctop="$with_multisrctop"
73838 with_target_subdir="$with_target_subdir"
73839 ac_configure_args="${multilib_arg} ${ac_configure_args}"
73840 multi_basedir="$multi_basedir"
73841 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
73842 CC="$CC"
73844 # Variables needed in config.status (file generation) which aren't already
73845 # passed by autoconf.
73846 SUBDIRS="$SUBDIRS"
73849 _ACEOF
73853 cat >>$CONFIG_STATUS <<\_ACEOF
73854 for ac_config_target in $ac_config_targets
73856 case "$ac_config_target" in
73857 # Handling of arguments.
73858 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
73859 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
73860 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
73861 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
73862 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
73863 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
73864 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
73865 "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
73866 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
73867 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
73868 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
73869 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
73870 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
73871 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
73872 { (exit 1); exit 1; }; };;
73873 esac
73874 done
73876 # If the user did not use the arguments to specify the items to instantiate,
73877 # then the envvar interface is used. Set only those that are not.
73878 # We use the long form for the default assignment because of an extremely
73879 # bizarre bug on SunOS 4.1.3.
73880 if $ac_need_defaults; then
73881 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
73882 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
73883 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
73886 # Have a temporary directory for convenience. Make it in the build tree
73887 # simply because there is no reason to put it here, and in addition,
73888 # creating and moving files from /tmp can sometimes cause problems.
73889 # Create a temporary directory, and hook for its removal unless debugging.
73890 $debug ||
73892 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
73893 trap '{ (exit 1); exit 1; }' 1 2 13 15
73896 # Create a (secure) tmp directory for tmp files.
73899 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
73900 test -n "$tmp" && test -d "$tmp"
73901 } ||
73903 tmp=./confstat$$-$RANDOM
73904 (umask 077 && mkdir $tmp)
73905 } ||
73907 echo "$me: cannot create a temporary directory in ." >&2
73908 { (exit 1); exit 1; }
73911 _ACEOF
73913 cat >>$CONFIG_STATUS <<_ACEOF
73916 # CONFIG_FILES section.
73919 # No need to generate the scripts if there are no CONFIG_FILES.
73920 # This happens for instance when ./config.status config.h
73921 if test -n "\$CONFIG_FILES"; then
73922 # Protect against being on the right side of a sed subst in config.status.
73923 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
73924 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
73925 s,@SHELL@,$SHELL,;t t
73926 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
73927 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
73928 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
73929 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
73930 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
73931 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
73932 s,@exec_prefix@,$exec_prefix,;t t
73933 s,@prefix@,$prefix,;t t
73934 s,@program_transform_name@,$program_transform_name,;t t
73935 s,@bindir@,$bindir,;t t
73936 s,@sbindir@,$sbindir,;t t
73937 s,@libexecdir@,$libexecdir,;t t
73938 s,@datadir@,$datadir,;t t
73939 s,@sysconfdir@,$sysconfdir,;t t
73940 s,@sharedstatedir@,$sharedstatedir,;t t
73941 s,@localstatedir@,$localstatedir,;t t
73942 s,@libdir@,$libdir,;t t
73943 s,@includedir@,$includedir,;t t
73944 s,@oldincludedir@,$oldincludedir,;t t
73945 s,@infodir@,$infodir,;t t
73946 s,@mandir@,$mandir,;t t
73947 s,@build_alias@,$build_alias,;t t
73948 s,@host_alias@,$host_alias,;t t
73949 s,@target_alias@,$target_alias,;t t
73950 s,@DEFS@,$DEFS,;t t
73951 s,@ECHO_C@,$ECHO_C,;t t
73952 s,@ECHO_N@,$ECHO_N,;t t
73953 s,@ECHO_T@,$ECHO_T,;t t
73954 s,@LIBS@,$LIBS,;t t
73955 s,@libtool_VERSION@,$libtool_VERSION,;t t
73956 s,@multi_basedir@,$multi_basedir,;t t
73957 s,@build@,$build,;t t
73958 s,@build_cpu@,$build_cpu,;t t
73959 s,@build_vendor@,$build_vendor,;t t
73960 s,@build_os@,$build_os,;t t
73961 s,@host@,$host,;t t
73962 s,@host_cpu@,$host_cpu,;t t
73963 s,@host_vendor@,$host_vendor,;t t
73964 s,@host_os@,$host_os,;t t
73965 s,@target@,$target,;t t
73966 s,@target_cpu@,$target_cpu,;t t
73967 s,@target_vendor@,$target_vendor,;t t
73968 s,@target_os@,$target_os,;t t
73969 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
73970 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
73971 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
73972 s,@CYGPATH_W@,$CYGPATH_W,;t t
73973 s,@PACKAGE@,$PACKAGE,;t t
73974 s,@VERSION@,$VERSION,;t t
73975 s,@ACLOCAL@,$ACLOCAL,;t t
73976 s,@AUTOCONF@,$AUTOCONF,;t t
73977 s,@AUTOMAKE@,$AUTOMAKE,;t t
73978 s,@AUTOHEADER@,$AUTOHEADER,;t t
73979 s,@MAKEINFO@,$MAKEINFO,;t t
73980 s,@AMTAR@,$AMTAR,;t t
73981 s,@install_sh@,$install_sh,;t t
73982 s,@STRIP@,$STRIP,;t t
73983 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
73984 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
73985 s,@mkdir_p@,$mkdir_p,;t t
73986 s,@AWK@,$AWK,;t t
73987 s,@SET_MAKE@,$SET_MAKE,;t t
73988 s,@am__leading_dot@,$am__leading_dot,;t t
73989 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
73990 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
73991 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
73992 s,@CC@,$CC,;t t
73993 s,@ac_ct_CC@,$ac_ct_CC,;t t
73994 s,@EXEEXT@,$EXEEXT,;t t
73995 s,@OBJEXT@,$OBJEXT,;t t
73996 s,@CXX@,$CXX,;t t
73997 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
73998 s,@CFLAGS@,$CFLAGS,;t t
73999 s,@CXXFLAGS@,$CXXFLAGS,;t t
74000 s,@LN_S@,$LN_S,;t t
74001 s,@AS@,$AS,;t t
74002 s,@ac_ct_AS@,$ac_ct_AS,;t t
74003 s,@AR@,$AR,;t t
74004 s,@ac_ct_AR@,$ac_ct_AR,;t t
74005 s,@RANLIB@,$RANLIB,;t t
74006 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
74007 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
74008 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
74009 s,@MAINT@,$MAINT,;t t
74010 s,@LIBTOOL@,$LIBTOOL,;t t
74011 s,@CXXCPP@,$CXXCPP,;t t
74012 s,@CPPFLAGS@,$CPPFLAGS,;t t
74013 s,@enable_shared@,$enable_shared,;t t
74014 s,@enable_static@,$enable_static,;t t
74015 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
74016 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
74017 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
74018 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
74019 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
74020 s,@CSTDIO_H@,$CSTDIO_H,;t t
74021 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
74022 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
74023 s,@CPP@,$CPP,;t t
74024 s,@EGREP@,$EGREP,;t t
74025 s,@check_msgfmt@,$check_msgfmt,;t t
74026 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
74027 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
74028 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
74029 s,@USE_NLS@,$USE_NLS,;t t
74030 s,@CLOCALE_H@,$CLOCALE_H,;t t
74031 s,@CCODECVT_H@,$CCODECVT_H,;t t
74032 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
74033 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
74034 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
74035 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
74036 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
74037 s,@CMONEY_CC@,$CMONEY_CC,;t t
74038 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
74039 s,@CTIME_H@,$CTIME_H,;t t
74040 s,@CTIME_CC@,$CTIME_CC,;t t
74041 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
74042 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
74043 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
74044 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
74045 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
74046 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
74047 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
74048 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
74049 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
74050 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
74051 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
74052 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
74053 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
74054 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
74055 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
74056 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
74057 s,@WERROR@,$WERROR,;t t
74058 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
74059 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
74060 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
74061 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
74062 s,@LIBICONV@,$LIBICONV,;t t
74063 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
74064 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
74065 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
74066 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
74067 s,@baseline_dir@,$baseline_dir,;t t
74068 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
74069 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
74070 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
74071 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
74072 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
74073 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
74074 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
74075 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
74076 s,@gxx_include_dir@,$gxx_include_dir,;t t
74077 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
74078 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
74079 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
74080 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
74081 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
74082 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
74083 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
74084 s,@LIBOBJS@,$LIBOBJS,;t t
74085 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
74086 CEOF
74088 _ACEOF
74090 cat >>$CONFIG_STATUS <<\_ACEOF
74091 # Split the substitutions into bite-sized pieces for seds with
74092 # small command number limits, like on Digital OSF/1 and HP-UX.
74093 ac_max_sed_lines=48
74094 ac_sed_frag=1 # Number of current file.
74095 ac_beg=1 # First line for current file.
74096 ac_end=$ac_max_sed_lines # Line after last line for current file.
74097 ac_more_lines=:
74098 ac_sed_cmds=
74099 while $ac_more_lines; do
74100 if test $ac_beg -gt 1; then
74101 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
74102 else
74103 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
74105 if test ! -s $tmp/subs.frag; then
74106 ac_more_lines=false
74107 else
74108 # The purpose of the label and of the branching condition is to
74109 # speed up the sed processing (if there are no `@' at all, there
74110 # is no need to browse any of the substitutions).
74111 # These are the two extra sed commands mentioned above.
74112 (echo ':t
74113 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
74114 if test -z "$ac_sed_cmds"; then
74115 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
74116 else
74117 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
74119 ac_sed_frag=`expr $ac_sed_frag + 1`
74120 ac_beg=$ac_end
74121 ac_end=`expr $ac_end + $ac_max_sed_lines`
74123 done
74124 if test -z "$ac_sed_cmds"; then
74125 ac_sed_cmds=cat
74127 fi # test -n "$CONFIG_FILES"
74129 _ACEOF
74130 cat >>$CONFIG_STATUS <<\_ACEOF
74131 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
74132 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
74133 case $ac_file in
74134 - | *:- | *:-:* ) # input from stdin
74135 cat >$tmp/stdin
74136 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
74137 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
74138 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
74139 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
74140 * ) ac_file_in=$ac_file.in ;;
74141 esac
74143 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
74144 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
74145 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74146 X"$ac_file" : 'X\(//\)[^/]' \| \
74147 X"$ac_file" : 'X\(//\)$' \| \
74148 X"$ac_file" : 'X\(/\)' \| \
74149 . : '\(.\)' 2>/dev/null ||
74150 echo X"$ac_file" |
74151 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
74152 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
74153 /^X\(\/\/\)$/{ s//\1/; q; }
74154 /^X\(\/\).*/{ s//\1/; q; }
74155 s/.*/./; q'`
74156 { if $as_mkdir_p; then
74157 mkdir -p "$ac_dir"
74158 else
74159 as_dir="$ac_dir"
74160 as_dirs=
74161 while test ! -d "$as_dir"; do
74162 as_dirs="$as_dir $as_dirs"
74163 as_dir=`(dirname "$as_dir") 2>/dev/null ||
74164 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74165 X"$as_dir" : 'X\(//\)[^/]' \| \
74166 X"$as_dir" : 'X\(//\)$' \| \
74167 X"$as_dir" : 'X\(/\)' \| \
74168 . : '\(.\)' 2>/dev/null ||
74169 echo X"$as_dir" |
74170 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
74171 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
74172 /^X\(\/\/\)$/{ s//\1/; q; }
74173 /^X\(\/\).*/{ s//\1/; q; }
74174 s/.*/./; q'`
74175 done
74176 test ! -n "$as_dirs" || mkdir $as_dirs
74177 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
74178 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
74179 { (exit 1); exit 1; }; }; }
74181 ac_builddir=.
74183 if test "$ac_dir" != .; then
74184 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
74185 # A "../" for each directory in $ac_dir_suffix.
74186 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
74187 else
74188 ac_dir_suffix= ac_top_builddir=
74191 case $srcdir in
74192 .) # No --srcdir option. We are building in place.
74193 ac_srcdir=.
74194 if test -z "$ac_top_builddir"; then
74195 ac_top_srcdir=.
74196 else
74197 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
74198 fi ;;
74199 [\\/]* | ?:[\\/]* ) # Absolute path.
74200 ac_srcdir=$srcdir$ac_dir_suffix;
74201 ac_top_srcdir=$srcdir ;;
74202 *) # Relative path.
74203 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
74204 ac_top_srcdir=$ac_top_builddir$srcdir ;;
74205 esac
74207 # Do not use `cd foo && pwd` to compute absolute paths, because
74208 # the directories may not exist.
74209 case `pwd` in
74210 .) ac_abs_builddir="$ac_dir";;
74212 case "$ac_dir" in
74213 .) ac_abs_builddir=`pwd`;;
74214 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
74215 *) ac_abs_builddir=`pwd`/"$ac_dir";;
74216 esac;;
74217 esac
74218 case $ac_abs_builddir in
74219 .) ac_abs_top_builddir=${ac_top_builddir}.;;
74221 case ${ac_top_builddir}. in
74222 .) ac_abs_top_builddir=$ac_abs_builddir;;
74223 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
74224 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
74225 esac;;
74226 esac
74227 case $ac_abs_builddir in
74228 .) ac_abs_srcdir=$ac_srcdir;;
74230 case $ac_srcdir in
74231 .) ac_abs_srcdir=$ac_abs_builddir;;
74232 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
74233 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
74234 esac;;
74235 esac
74236 case $ac_abs_builddir in
74237 .) ac_abs_top_srcdir=$ac_top_srcdir;;
74239 case $ac_top_srcdir in
74240 .) ac_abs_top_srcdir=$ac_abs_builddir;;
74241 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
74242 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
74243 esac;;
74244 esac
74247 case $INSTALL in
74248 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
74249 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
74250 esac
74252 if test x"$ac_file" != x-; then
74253 { echo "$as_me:$LINENO: creating $ac_file" >&5
74254 echo "$as_me: creating $ac_file" >&6;}
74255 rm -f "$ac_file"
74257 # Let's still pretend it is `configure' which instantiates (i.e., don't
74258 # use $as_me), people would be surprised to read:
74259 # /* config.h. Generated by config.status. */
74260 if test x"$ac_file" = x-; then
74261 configure_input=
74262 else
74263 configure_input="$ac_file. "
74265 configure_input=$configure_input"Generated from `echo $ac_file_in |
74266 sed 's,.*/,,'` by configure."
74268 # First look for the input files in the build tree, otherwise in the
74269 # src tree.
74270 ac_file_inputs=`IFS=:
74271 for f in $ac_file_in; do
74272 case $f in
74273 -) echo $tmp/stdin ;;
74274 [\\/$]*)
74275 # Absolute (can't be DOS-style, as IFS=:)
74276 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
74277 echo "$as_me: error: cannot find input file: $f" >&2;}
74278 { (exit 1); exit 1; }; }
74279 echo "$f";;
74280 *) # Relative
74281 if test -f "$f"; then
74282 # Build tree
74283 echo "$f"
74284 elif test -f "$srcdir/$f"; then
74285 # Source tree
74286 echo "$srcdir/$f"
74287 else
74288 # /dev/null tree
74289 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
74290 echo "$as_me: error: cannot find input file: $f" >&2;}
74291 { (exit 1); exit 1; }; }
74292 fi;;
74293 esac
74294 done` || { (exit 1); exit 1; }
74295 _ACEOF
74296 cat >>$CONFIG_STATUS <<_ACEOF
74297 sed "$ac_vpsub
74298 $extrasub
74299 _ACEOF
74300 cat >>$CONFIG_STATUS <<\_ACEOF
74302 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
74303 s,@configure_input@,$configure_input,;t t
74304 s,@srcdir@,$ac_srcdir,;t t
74305 s,@abs_srcdir@,$ac_abs_srcdir,;t t
74306 s,@top_srcdir@,$ac_top_srcdir,;t t
74307 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
74308 s,@builddir@,$ac_builddir,;t t
74309 s,@abs_builddir@,$ac_abs_builddir,;t t
74310 s,@top_builddir@,$ac_top_builddir,;t t
74311 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
74312 s,@INSTALL@,$ac_INSTALL,;t t
74313 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
74314 rm -f $tmp/stdin
74315 if test x"$ac_file" != x-; then
74316 mv $tmp/out $ac_file
74317 else
74318 cat $tmp/out
74319 rm -f $tmp/out
74322 # Run the commands associated with the file.
74323 case $ac_file in
74324 scripts/check_survey ) chmod +x scripts/check_survey ;;
74325 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
74326 esac
74327 done
74328 _ACEOF
74329 cat >>$CONFIG_STATUS <<\_ACEOF
74332 # CONFIG_HEADER section.
74335 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
74336 # NAME is the cpp macro being defined and VALUE is the value it is being given.
74338 # ac_d sets the value in "#define NAME VALUE" lines.
74339 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
74340 ac_dB='[ ].*$,\1#\2'
74341 ac_dC=' '
74342 ac_dD=',;t'
74343 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
74344 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
74345 ac_uB='$,\1#\2define\3'
74346 ac_uC=' '
74347 ac_uD=',;t'
74349 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
74350 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
74351 case $ac_file in
74352 - | *:- | *:-:* ) # input from stdin
74353 cat >$tmp/stdin
74354 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
74355 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
74356 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
74357 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
74358 * ) ac_file_in=$ac_file.in ;;
74359 esac
74361 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
74362 echo "$as_me: creating $ac_file" >&6;}
74364 # First look for the input files in the build tree, otherwise in the
74365 # src tree.
74366 ac_file_inputs=`IFS=:
74367 for f in $ac_file_in; do
74368 case $f in
74369 -) echo $tmp/stdin ;;
74370 [\\/$]*)
74371 # Absolute (can't be DOS-style, as IFS=:)
74372 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
74373 echo "$as_me: error: cannot find input file: $f" >&2;}
74374 { (exit 1); exit 1; }; }
74375 # Do quote $f, to prevent DOS paths from being IFS'd.
74376 echo "$f";;
74377 *) # Relative
74378 if test -f "$f"; then
74379 # Build tree
74380 echo "$f"
74381 elif test -f "$srcdir/$f"; then
74382 # Source tree
74383 echo "$srcdir/$f"
74384 else
74385 # /dev/null tree
74386 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
74387 echo "$as_me: error: cannot find input file: $f" >&2;}
74388 { (exit 1); exit 1; }; }
74389 fi;;
74390 esac
74391 done` || { (exit 1); exit 1; }
74392 # Remove the trailing spaces.
74393 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
74395 _ACEOF
74397 # Transform confdefs.h into two sed scripts, `conftest.defines' and
74398 # `conftest.undefs', that substitutes the proper values into
74399 # config.h.in to produce config.h. The first handles `#define'
74400 # templates, and the second `#undef' templates.
74401 # And first: Protect against being on the right side of a sed subst in
74402 # config.status. Protect against being in an unquoted here document
74403 # in config.status.
74404 rm -f conftest.defines conftest.undefs
74405 # Using a here document instead of a string reduces the quoting nightmare.
74406 # Putting comments in sed scripts is not portable.
74408 # `end' is used to avoid that the second main sed command (meant for
74409 # 0-ary CPP macros) applies to n-ary macro definitions.
74410 # See the Autoconf documentation for `clear'.
74411 cat >confdef2sed.sed <<\_ACEOF
74412 s/[\\&,]/\\&/g
74413 s,[\\$`],\\&,g
74414 t clear
74415 : clear
74416 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
74417 t end
74418 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
74419 : end
74420 _ACEOF
74421 # If some macros were called several times there might be several times
74422 # the same #defines, which is useless. Nevertheless, we may not want to
74423 # sort them, since we want the *last* AC-DEFINE to be honored.
74424 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
74425 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
74426 rm -f confdef2sed.sed
74428 # This sed command replaces #undef with comments. This is necessary, for
74429 # example, in the case of _POSIX_SOURCE, which is predefined and required
74430 # on some systems where configure will not decide to define it.
74431 cat >>conftest.undefs <<\_ACEOF
74432 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
74433 _ACEOF
74435 # Break up conftest.defines because some shells have a limit on the size
74436 # of here documents, and old seds have small limits too (100 cmds).
74437 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
74438 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
74439 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
74440 echo ' :' >>$CONFIG_STATUS
74441 rm -f conftest.tail
74442 while grep . conftest.defines >/dev/null
74444 # Write a limited-size here document to $tmp/defines.sed.
74445 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
74446 # Speed up: don't consider the non `#define' lines.
74447 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
74448 # Work around the forget-to-reset-the-flag bug.
74449 echo 't clr' >>$CONFIG_STATUS
74450 echo ': clr' >>$CONFIG_STATUS
74451 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
74452 echo 'CEOF
74453 sed -f $tmp/defines.sed $tmp/in >$tmp/out
74454 rm -f $tmp/in
74455 mv $tmp/out $tmp/in
74456 ' >>$CONFIG_STATUS
74457 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
74458 rm -f conftest.defines
74459 mv conftest.tail conftest.defines
74460 done
74461 rm -f conftest.defines
74462 echo ' fi # grep' >>$CONFIG_STATUS
74463 echo >>$CONFIG_STATUS
74465 # Break up conftest.undefs because some shells have a limit on the size
74466 # of here documents, and old seds have small limits too (100 cmds).
74467 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
74468 rm -f conftest.tail
74469 while grep . conftest.undefs >/dev/null
74471 # Write a limited-size here document to $tmp/undefs.sed.
74472 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
74473 # Speed up: don't consider the non `#undef'
74474 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
74475 # Work around the forget-to-reset-the-flag bug.
74476 echo 't clr' >>$CONFIG_STATUS
74477 echo ': clr' >>$CONFIG_STATUS
74478 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
74479 echo 'CEOF
74480 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
74481 rm -f $tmp/in
74482 mv $tmp/out $tmp/in
74483 ' >>$CONFIG_STATUS
74484 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
74485 rm -f conftest.undefs
74486 mv conftest.tail conftest.undefs
74487 done
74488 rm -f conftest.undefs
74490 cat >>$CONFIG_STATUS <<\_ACEOF
74491 # Let's still pretend it is `configure' which instantiates (i.e., don't
74492 # use $as_me), people would be surprised to read:
74493 # /* config.h. Generated by config.status. */
74494 if test x"$ac_file" = x-; then
74495 echo "/* Generated by configure. */" >$tmp/config.h
74496 else
74497 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
74499 cat $tmp/in >>$tmp/config.h
74500 rm -f $tmp/in
74501 if test x"$ac_file" != x-; then
74502 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
74503 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
74504 echo "$as_me: $ac_file is unchanged" >&6;}
74505 else
74506 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
74507 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74508 X"$ac_file" : 'X\(//\)[^/]' \| \
74509 X"$ac_file" : 'X\(//\)$' \| \
74510 X"$ac_file" : 'X\(/\)' \| \
74511 . : '\(.\)' 2>/dev/null ||
74512 echo X"$ac_file" |
74513 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
74514 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
74515 /^X\(\/\/\)$/{ s//\1/; q; }
74516 /^X\(\/\).*/{ s//\1/; q; }
74517 s/.*/./; q'`
74518 { if $as_mkdir_p; then
74519 mkdir -p "$ac_dir"
74520 else
74521 as_dir="$ac_dir"
74522 as_dirs=
74523 while test ! -d "$as_dir"; do
74524 as_dirs="$as_dir $as_dirs"
74525 as_dir=`(dirname "$as_dir") 2>/dev/null ||
74526 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74527 X"$as_dir" : 'X\(//\)[^/]' \| \
74528 X"$as_dir" : 'X\(//\)$' \| \
74529 X"$as_dir" : 'X\(/\)' \| \
74530 . : '\(.\)' 2>/dev/null ||
74531 echo X"$as_dir" |
74532 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
74533 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
74534 /^X\(\/\/\)$/{ s//\1/; q; }
74535 /^X\(\/\).*/{ s//\1/; q; }
74536 s/.*/./; q'`
74537 done
74538 test ! -n "$as_dirs" || mkdir $as_dirs
74539 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
74540 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
74541 { (exit 1); exit 1; }; }; }
74543 rm -f $ac_file
74544 mv $tmp/config.h $ac_file
74546 else
74547 cat $tmp/config.h
74548 rm -f $tmp/config.h
74550 # Compute $ac_file's index in $config_headers.
74551 _am_stamp_count=1
74552 for _am_header in $config_headers :; do
74553 case $_am_header in
74554 $ac_file | $ac_file:* )
74555 break ;;
74557 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
74558 esac
74559 done
74560 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
74561 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74562 X$ac_file : 'X\(//\)[^/]' \| \
74563 X$ac_file : 'X\(//\)$' \| \
74564 X$ac_file : 'X\(/\)' \| \
74565 . : '\(.\)' 2>/dev/null ||
74566 echo X$ac_file |
74567 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
74568 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
74569 /^X\(\/\/\)$/{ s//\1/; q; }
74570 /^X\(\/\).*/{ s//\1/; q; }
74571 s/.*/./; q'`/stamp-h$_am_stamp_count
74572 done
74573 _ACEOF
74574 cat >>$CONFIG_STATUS <<\_ACEOF
74577 # CONFIG_COMMANDS section.
74579 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
74580 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
74581 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
74582 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
74583 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74584 X"$ac_dest" : 'X\(//\)[^/]' \| \
74585 X"$ac_dest" : 'X\(//\)$' \| \
74586 X"$ac_dest" : 'X\(/\)' \| \
74587 . : '\(.\)' 2>/dev/null ||
74588 echo X"$ac_dest" |
74589 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
74590 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
74591 /^X\(\/\/\)$/{ s//\1/; q; }
74592 /^X\(\/\).*/{ s//\1/; q; }
74593 s/.*/./; q'`
74594 { if $as_mkdir_p; then
74595 mkdir -p "$ac_dir"
74596 else
74597 as_dir="$ac_dir"
74598 as_dirs=
74599 while test ! -d "$as_dir"; do
74600 as_dirs="$as_dir $as_dirs"
74601 as_dir=`(dirname "$as_dir") 2>/dev/null ||
74602 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74603 X"$as_dir" : 'X\(//\)[^/]' \| \
74604 X"$as_dir" : 'X\(//\)$' \| \
74605 X"$as_dir" : 'X\(/\)' \| \
74606 . : '\(.\)' 2>/dev/null ||
74607 echo X"$as_dir" |
74608 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
74609 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
74610 /^X\(\/\/\)$/{ s//\1/; q; }
74611 /^X\(\/\).*/{ s//\1/; q; }
74612 s/.*/./; q'`
74613 done
74614 test ! -n "$as_dirs" || mkdir $as_dirs
74615 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
74616 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
74617 { (exit 1); exit 1; }; }; }
74619 ac_builddir=.
74621 if test "$ac_dir" != .; then
74622 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
74623 # A "../" for each directory in $ac_dir_suffix.
74624 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
74625 else
74626 ac_dir_suffix= ac_top_builddir=
74629 case $srcdir in
74630 .) # No --srcdir option. We are building in place.
74631 ac_srcdir=.
74632 if test -z "$ac_top_builddir"; then
74633 ac_top_srcdir=.
74634 else
74635 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
74636 fi ;;
74637 [\\/]* | ?:[\\/]* ) # Absolute path.
74638 ac_srcdir=$srcdir$ac_dir_suffix;
74639 ac_top_srcdir=$srcdir ;;
74640 *) # Relative path.
74641 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
74642 ac_top_srcdir=$ac_top_builddir$srcdir ;;
74643 esac
74645 # Do not use `cd foo && pwd` to compute absolute paths, because
74646 # the directories may not exist.
74647 case `pwd` in
74648 .) ac_abs_builddir="$ac_dir";;
74650 case "$ac_dir" in
74651 .) ac_abs_builddir=`pwd`;;
74652 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
74653 *) ac_abs_builddir=`pwd`/"$ac_dir";;
74654 esac;;
74655 esac
74656 case $ac_abs_builddir in
74657 .) ac_abs_top_builddir=${ac_top_builddir}.;;
74659 case ${ac_top_builddir}. in
74660 .) ac_abs_top_builddir=$ac_abs_builddir;;
74661 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
74662 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
74663 esac;;
74664 esac
74665 case $ac_abs_builddir in
74666 .) ac_abs_srcdir=$ac_srcdir;;
74668 case $ac_srcdir in
74669 .) ac_abs_srcdir=$ac_abs_builddir;;
74670 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
74671 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
74672 esac;;
74673 esac
74674 case $ac_abs_builddir in
74675 .) ac_abs_top_srcdir=$ac_top_srcdir;;
74677 case $ac_top_srcdir in
74678 .) ac_abs_top_srcdir=$ac_abs_builddir;;
74679 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
74680 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
74681 esac;;
74682 esac
74685 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
74686 echo "$as_me: executing $ac_dest commands" >&6;}
74687 case $ac_dest in
74688 default-1 )
74689 # Only add multilib support code if we just rebuilt the top-level
74690 # Makefile.
74691 case " $CONFIG_FILES " in
74692 *" Makefile "*)
74693 ac_file=Makefile . ${multi_basedir}/config-ml.in
74695 esac ;;
74696 default ) if test -n "$CONFIG_FILES"; then
74697 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
74698 # that multilib installs will end up installed in the correct place.
74699 # The testsuite needs it for multilib-aware ABI baseline files.
74700 # To work around this not being passed down from config-ml.in ->
74701 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
74702 # append it here. Only modify Makefiles that have just been created.
74704 # Also, get rid of this simulated-VPATH thing that automake does.
74705 cat > vpsed << \_EOF
74706 s!`test -f '$<' || echo '$(srcdir)/'`!!
74707 _EOF
74708 for i in $SUBDIRS; do
74709 case $CONFIG_FILES in
74710 *${i}/Makefile*)
74711 #echo "Adding MULTISUBDIR to $i/Makefile"
74712 sed -f vpsed $i/Makefile > tmp
74713 grep '^MULTISUBDIR =' Makefile >> tmp
74714 mv tmp $i/Makefile
74716 esac
74717 done
74718 rm vpsed
74720 (cd include && ${MAKE-make})
74722 esac
74723 done
74724 _ACEOF
74726 cat >>$CONFIG_STATUS <<\_ACEOF
74728 { (exit 0); exit 0; }
74729 _ACEOF
74730 chmod +x $CONFIG_STATUS
74731 ac_clean_files=$ac_clean_files_save
74734 # configure is writing to config.log, and then calls config.status.
74735 # config.status does its own redirection, appending to config.log.
74736 # Unfortunately, on DOS this fails, as config.log is still kept open
74737 # by configure, so config.status won't be able to write to it; its
74738 # output is simply discarded. So we exec the FD to /dev/null,
74739 # effectively closing config.log, so it can be properly (re)opened and
74740 # appended to by config.status. When coming back to configure, we
74741 # need to make the FD available again.
74742 if test "$no_create" != yes; then
74743 ac_cs_success=:
74744 ac_config_status_args=
74745 test "$silent" = yes &&
74746 ac_config_status_args="$ac_config_status_args --quiet"
74747 exec 5>/dev/null
74748 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
74749 exec 5>>config.log
74750 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
74751 # would make configure fail if this is the last instruction.
74752 $ac_cs_success || { (exit 1); exit 1; }