Update forgotten updated copy right years.
[official-gcc.git] / libstdc++-v3 / configure
blob3c7254437765022d87e86e83a8e8774100fe0c19
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 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 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 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_INC_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-cheaders=KIND construct "C" headers for g++
868 [default=$c_model]
869 --enable-c-mbchar enable multibyte (wide) characters
870 [default=yes]
871 --enable-c99 turns on ISO/IEC 9899:1999 support
872 [default=yes]
873 --enable-long-long enables I/O support for 'long long'
874 [default=yes]
875 --enable-concept-checks use Boost-derived template checks [default=no]
876 --enable-libstdcxx-debug-flags=FLAGS
877 pass compiler FLAGS when building debug library
878 [default="-g3 -O0"]
879 --enable-libstdcxx-debug
880 build extra debug library [default=no]
881 --enable-cxx-flags=FLAGS
882 pass compiler FLAGS when building library
883 [default=]
884 --enable-symvers=STYLE enables symbol versioning of the shared library
885 [default=yes]
886 --enable-version-specific-runtime-libs
887 Specify that runtime libraries should be installed
888 in a compiler-specific directory
890 Optional Packages:
891 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
892 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
893 --with-target-subdir=SUBDIR
894 configuring in a subdirectory
895 --with-cross-host=HOST configuring with a cross compiler
896 --with-newlib assume newlib as a system C library
897 --with-gnu-ld assume the C compiler uses GNU ld default=no
898 --with-pic try to use only PIC/non-PIC objects default=use both
899 --with-gxx-include-dir=DIR
900 installation directory for include files
902 Some influential environment variables:
903 CC C compiler command
904 CFLAGS C compiler flags
905 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
906 nonstandard directory <lib dir>
907 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
908 headers in a nonstandard directory <include dir>
909 CXX C++ compiler command
910 CXXFLAGS C++ compiler flags
911 CXXCPP C++ preprocessor
912 CPP C preprocessor
914 Use these variables to override the choices made by `configure' or to help
915 it to find libraries and programs with nonstandard names/locations.
917 _ACEOF
920 if test "$ac_init_help" = "recursive"; then
921 # If there are subdirs, report their specific --help.
922 ac_popdir=`pwd`
923 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
924 test -d $ac_dir || continue
925 ac_builddir=.
927 if test "$ac_dir" != .; then
928 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
929 # A "../" for each directory in $ac_dir_suffix.
930 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
931 else
932 ac_dir_suffix= ac_top_builddir=
935 case $srcdir in
936 .) # No --srcdir option. We are building in place.
937 ac_srcdir=.
938 if test -z "$ac_top_builddir"; then
939 ac_top_srcdir=.
940 else
941 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
942 fi ;;
943 [\\/]* | ?:[\\/]* ) # Absolute path.
944 ac_srcdir=$srcdir$ac_dir_suffix;
945 ac_top_srcdir=$srcdir ;;
946 *) # Relative path.
947 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
948 ac_top_srcdir=$ac_top_builddir$srcdir ;;
949 esac
951 # Do not use `cd foo && pwd` to compute absolute paths, because
952 # the directories may not exist.
953 case `pwd` in
954 .) ac_abs_builddir="$ac_dir";;
956 case "$ac_dir" in
957 .) ac_abs_builddir=`pwd`;;
958 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
959 *) ac_abs_builddir=`pwd`/"$ac_dir";;
960 esac;;
961 esac
962 case $ac_abs_builddir in
963 .) ac_abs_top_builddir=${ac_top_builddir}.;;
965 case ${ac_top_builddir}. in
966 .) ac_abs_top_builddir=$ac_abs_builddir;;
967 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
968 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
969 esac;;
970 esac
971 case $ac_abs_builddir in
972 .) ac_abs_srcdir=$ac_srcdir;;
974 case $ac_srcdir in
975 .) ac_abs_srcdir=$ac_abs_builddir;;
976 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
977 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
978 esac;;
979 esac
980 case $ac_abs_builddir in
981 .) ac_abs_top_srcdir=$ac_top_srcdir;;
983 case $ac_top_srcdir in
984 .) ac_abs_top_srcdir=$ac_abs_builddir;;
985 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
986 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
987 esac;;
988 esac
990 cd $ac_dir
991 # Check for guested configure; otherwise get Cygnus style configure.
992 if test -f $ac_srcdir/configure.gnu; then
993 echo
994 $SHELL $ac_srcdir/configure.gnu --help=recursive
995 elif test -f $ac_srcdir/configure; then
996 echo
997 $SHELL $ac_srcdir/configure --help=recursive
998 elif test -f $ac_srcdir/configure.ac ||
999 test -f $ac_srcdir/configure.in; then
1000 echo
1001 $ac_configure --help
1002 else
1003 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1005 cd $ac_popdir
1006 done
1009 test -n "$ac_init_help" && exit 0
1010 if $ac_init_version; then
1011 cat <<\_ACEOF
1012 package-unused configure version-unused
1013 generated by GNU Autoconf 2.59
1015 Copyright (C) 2003 Free Software Foundation, Inc.
1016 This configure script is free software; the Free Software Foundation
1017 gives unlimited permission to copy, distribute and modify it.
1018 _ACEOF
1019 exit 0
1021 exec 5>config.log
1022 cat >&5 <<_ACEOF
1023 This file contains any messages produced by compilers while
1024 running configure, to aid debugging if configure makes a mistake.
1026 It was created by package-unused $as_me version-unused, which was
1027 generated by GNU Autoconf 2.59. Invocation command line was
1029 $ $0 $@
1031 _ACEOF
1033 cat <<_ASUNAME
1034 ## --------- ##
1035 ## Platform. ##
1036 ## --------- ##
1038 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1039 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1040 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1041 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1042 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1044 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1045 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1047 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1048 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1049 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1050 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1051 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1052 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1053 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1055 _ASUNAME
1057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1058 for as_dir in $PATH
1060 IFS=$as_save_IFS
1061 test -z "$as_dir" && as_dir=.
1062 echo "PATH: $as_dir"
1063 done
1065 } >&5
1067 cat >&5 <<_ACEOF
1070 ## ----------- ##
1071 ## Core tests. ##
1072 ## ----------- ##
1074 _ACEOF
1077 # Keep a trace of the command line.
1078 # Strip out --no-create and --no-recursion so they do not pile up.
1079 # Strip out --silent because we don't want to record it for future runs.
1080 # Also quote any args containing shell meta-characters.
1081 # Make two passes to allow for proper duplicate-argument suppression.
1082 ac_configure_args=
1083 ac_configure_args0=
1084 ac_configure_args1=
1085 ac_sep=
1086 ac_must_keep_next=false
1087 for ac_pass in 1 2
1089 for ac_arg
1091 case $ac_arg in
1092 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1093 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1094 | -silent | --silent | --silen | --sile | --sil)
1095 continue ;;
1096 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1097 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1098 esac
1099 case $ac_pass in
1100 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1102 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1103 if test $ac_must_keep_next = true; then
1104 ac_must_keep_next=false # Got value, back to normal.
1105 else
1106 case $ac_arg in
1107 *=* | --config-cache | -C | -disable-* | --disable-* \
1108 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1109 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1110 | -with-* | --with-* | -without-* | --without-* | --x)
1111 case "$ac_configure_args0 " in
1112 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1113 esac
1115 -* ) ac_must_keep_next=true ;;
1116 esac
1118 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1119 # Get rid of the leading space.
1120 ac_sep=" "
1122 esac
1123 done
1124 done
1125 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1126 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1128 # When interrupted or exit'd, cleanup temporary files, and complete
1129 # config.log. We remove comments because anyway the quotes in there
1130 # would cause problems or look ugly.
1131 # WARNING: Be sure not to use single quotes in there, as some shells,
1132 # such as our DU 5.0 friend, will then `close' the trap.
1133 trap 'exit_status=$?
1134 # Save into config.log some information that might help in debugging.
1136 echo
1138 cat <<\_ASBOX
1139 ## ---------------- ##
1140 ## Cache variables. ##
1141 ## ---------------- ##
1142 _ASBOX
1143 echo
1144 # The following way of writing the cache mishandles newlines in values,
1146 (set) 2>&1 |
1147 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1148 *ac_space=\ *)
1149 sed -n \
1150 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1151 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1154 sed -n \
1155 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1157 esac;
1159 echo
1161 cat <<\_ASBOX
1162 ## ----------------- ##
1163 ## Output variables. ##
1164 ## ----------------- ##
1165 _ASBOX
1166 echo
1167 for ac_var in $ac_subst_vars
1169 eval ac_val=$`echo $ac_var`
1170 echo "$ac_var='"'"'$ac_val'"'"'"
1171 done | sort
1172 echo
1174 if test -n "$ac_subst_files"; then
1175 cat <<\_ASBOX
1176 ## ------------- ##
1177 ## Output files. ##
1178 ## ------------- ##
1179 _ASBOX
1180 echo
1181 for ac_var in $ac_subst_files
1183 eval ac_val=$`echo $ac_var`
1184 echo "$ac_var='"'"'$ac_val'"'"'"
1185 done | sort
1186 echo
1189 if test -s confdefs.h; then
1190 cat <<\_ASBOX
1191 ## ----------- ##
1192 ## confdefs.h. ##
1193 ## ----------- ##
1194 _ASBOX
1195 echo
1196 sed "/^$/d" confdefs.h | sort
1197 echo
1199 test "$ac_signal" != 0 &&
1200 echo "$as_me: caught signal $ac_signal"
1201 echo "$as_me: exit $exit_status"
1202 } >&5
1203 rm -f core *.core &&
1204 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1205 exit $exit_status
1207 for ac_signal in 1 2 13 15; do
1208 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1209 done
1210 ac_signal=0
1212 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1213 rm -rf conftest* confdefs.h
1214 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1215 echo >confdefs.h
1217 # Predefined preprocessor variables.
1219 cat >>confdefs.h <<_ACEOF
1220 #define PACKAGE_NAME "$PACKAGE_NAME"
1221 _ACEOF
1224 cat >>confdefs.h <<_ACEOF
1225 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1226 _ACEOF
1229 cat >>confdefs.h <<_ACEOF
1230 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1231 _ACEOF
1234 cat >>confdefs.h <<_ACEOF
1235 #define PACKAGE_STRING "$PACKAGE_STRING"
1236 _ACEOF
1239 cat >>confdefs.h <<_ACEOF
1240 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1241 _ACEOF
1244 # Let the site file select an alternate cache file if it wants to.
1245 # Prefer explicitly selected file to automatically selected ones.
1246 if test -z "$CONFIG_SITE"; then
1247 if test "x$prefix" != xNONE; then
1248 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1249 else
1250 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1253 for ac_site_file in $CONFIG_SITE; do
1254 if test -r "$ac_site_file"; then
1255 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1256 echo "$as_me: loading site script $ac_site_file" >&6;}
1257 sed 's/^/| /' "$ac_site_file" >&5
1258 . "$ac_site_file"
1260 done
1262 if test -r "$cache_file"; then
1263 # Some versions of bash will fail to source /dev/null (special
1264 # files actually), so we avoid doing that.
1265 if test -f "$cache_file"; then
1266 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1267 echo "$as_me: loading cache $cache_file" >&6;}
1268 case $cache_file in
1269 [\\/]* | ?:[\\/]* ) . $cache_file;;
1270 *) . ./$cache_file;;
1271 esac
1273 else
1274 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1275 echo "$as_me: creating cache $cache_file" >&6;}
1276 >$cache_file
1279 # Check that the precious variables saved in the cache have kept the same
1280 # value.
1281 ac_cache_corrupted=false
1282 for ac_var in `(set) 2>&1 |
1283 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1284 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1285 eval ac_new_set=\$ac_env_${ac_var}_set
1286 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1287 eval ac_new_val="\$ac_env_${ac_var}_value"
1288 case $ac_old_set,$ac_new_set in
1289 set,)
1290 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1291 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1292 ac_cache_corrupted=: ;;
1293 ,set)
1294 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1295 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1296 ac_cache_corrupted=: ;;
1297 ,);;
1299 if test "x$ac_old_val" != "x$ac_new_val"; then
1300 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1301 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1302 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1303 echo "$as_me: former value: $ac_old_val" >&2;}
1304 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1305 echo "$as_me: current value: $ac_new_val" >&2;}
1306 ac_cache_corrupted=:
1307 fi;;
1308 esac
1309 # Pass precious variables to config.status.
1310 if test "$ac_new_set" = set; then
1311 case $ac_new_val in
1312 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1313 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1314 *) ac_arg=$ac_var=$ac_new_val ;;
1315 esac
1316 case " $ac_configure_args " in
1317 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1318 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1319 esac
1321 done
1322 if $ac_cache_corrupted; then
1323 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1324 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1325 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1326 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1327 { (exit 1); exit 1; }; }
1330 ac_ext=c
1331 ac_cpp='$CPP $CPPFLAGS'
1332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1363 ac_config_headers="$ac_config_headers config.h"
1366 # This works around the fact that libtool configuration may change LD
1367 # for this particular configuration, but some shells, instead of
1368 # keeping the changes in LD private, export them just because LD is
1369 # exported. Only used at the end of this file.
1370 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1372 # For libtool versioning info, format is CURRENT:REVISION:AGE
1373 libtool_VERSION=6:0:0
1376 # Find the rest of the source tree framework.
1378 # Sets up multi_basedir, which is srcdir/.. plus the usual
1379 # "multi_source_toprel_bottom_adjust" lunacy as needed.
1380 # Default to --enable-multilib
1381 # Check whether --enable-multilib or --disable-multilib was given.
1382 if test "${enable_multilib+set}" = set; then
1383 enableval="$enable_multilib"
1384 case "$enableval" in
1385 yes) multilib=yes ;;
1386 no) multilib=no ;;
1387 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1388 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1389 { (exit 1); exit 1; }; } ;;
1390 esac
1391 else
1392 multilib=yes
1395 # We may get other options which we leave undocumented:
1396 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1397 # See config-ml.in if you want the gory details.
1399 if test "$srcdir" = "."; then
1400 if test "$with_target_subdir" != "."; then
1401 multi_basedir="$srcdir/$with_multisrctop../.."
1402 else
1403 multi_basedir="$srcdir/$with_multisrctop.."
1405 else
1406 multi_basedir="$srcdir/.."
1410 ac_config_commands="$ac_config_commands default-1"
1413 # The generated code is exactly the same, except that automake's looks in
1414 # ".. $srcdir/.." and autoconf's looks in multi_basedir. Apparently other
1415 # things are triggered on the presence of the two ...AUX_DIR[S], but I don't
1416 # know what they are or what the other differences might be (and they keep
1417 # changing anyhow).
1419 # Looking in multi_basedir seems smarter, so actually execute that branch.
1420 if false; then
1421 # this is for automake
1422 ac_aux_dir=
1423 for ac_dir in .. $srcdir/..; do
1424 if test -f $ac_dir/install-sh; then
1425 ac_aux_dir=$ac_dir
1426 ac_install_sh="$ac_aux_dir/install-sh -c"
1427 break
1428 elif test -f $ac_dir/install.sh; then
1429 ac_aux_dir=$ac_dir
1430 ac_install_sh="$ac_aux_dir/install.sh -c"
1431 break
1432 elif test -f $ac_dir/shtool; then
1433 ac_aux_dir=$ac_dir
1434 ac_install_sh="$ac_aux_dir/shtool install -c"
1435 break
1437 done
1438 if test -z "$ac_aux_dir"; then
1439 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1440 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1441 { (exit 1); exit 1; }; }
1443 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1444 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1445 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1447 else
1448 # this is for autoconf
1449 ac_aux_dir=
1450 for ac_dir in ${multi_basedir}; do
1451 if test -f $ac_dir/install-sh; then
1452 ac_aux_dir=$ac_dir
1453 ac_install_sh="$ac_aux_dir/install-sh -c"
1454 break
1455 elif test -f $ac_dir/install.sh; then
1456 ac_aux_dir=$ac_dir
1457 ac_install_sh="$ac_aux_dir/install.sh -c"
1458 break
1459 elif test -f $ac_dir/shtool; then
1460 ac_aux_dir=$ac_dir
1461 ac_install_sh="$ac_aux_dir/shtool install -c"
1462 break
1464 done
1465 if test -z "$ac_aux_dir"; then
1466 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${multi_basedir}" >&5
1467 echo "$as_me: error: cannot find install-sh or install.sh in ${multi_basedir}" >&2;}
1468 { (exit 1); exit 1; }; }
1470 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1471 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1472 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1478 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1480 # You will slowly go insane if you do not grok the following fact: when
1481 # building v3 as part of the compiler, the top-level /target/ becomes the
1482 # library's /host/. configure then causes --target to default to --host,
1483 # exactly like any other package using autoconf. Therefore, 'target' and
1484 # 'host' will always be the same. This makes sense both for native and
1485 # cross compilers, just think about it for a little while. :-)
1487 # Also, if v3 is being configured as part of a cross compiler, the top-level
1488 # configure script will pass the "real" host as $with_cross_host.
1490 # Do not delete or change the following two lines. For why, see
1491 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1492 # Make sure we can run config.sub.
1493 $ac_config_sub sun4 >/dev/null 2>&1 ||
1494 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1495 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1496 { (exit 1); exit 1; }; }
1498 echo "$as_me:$LINENO: checking build system type" >&5
1499 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1500 if test "${ac_cv_build+set}" = set; then
1501 echo $ECHO_N "(cached) $ECHO_C" >&6
1502 else
1503 ac_cv_build_alias=$build_alias
1504 test -z "$ac_cv_build_alias" &&
1505 ac_cv_build_alias=`$ac_config_guess`
1506 test -z "$ac_cv_build_alias" &&
1507 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1508 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1509 { (exit 1); exit 1; }; }
1510 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1511 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1512 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1513 { (exit 1); exit 1; }; }
1516 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1517 echo "${ECHO_T}$ac_cv_build" >&6
1518 build=$ac_cv_build
1519 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1520 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1521 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1524 echo "$as_me:$LINENO: checking host system type" >&5
1525 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1526 if test "${ac_cv_host+set}" = set; then
1527 echo $ECHO_N "(cached) $ECHO_C" >&6
1528 else
1529 ac_cv_host_alias=$host_alias
1530 test -z "$ac_cv_host_alias" &&
1531 ac_cv_host_alias=$ac_cv_build_alias
1532 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1533 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1534 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1535 { (exit 1); exit 1; }; }
1538 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1539 echo "${ECHO_T}$ac_cv_host" >&6
1540 host=$ac_cv_host
1541 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1542 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1543 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1546 echo "$as_me:$LINENO: checking target system type" >&5
1547 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1548 if test "${ac_cv_target+set}" = set; then
1549 echo $ECHO_N "(cached) $ECHO_C" >&6
1550 else
1551 ac_cv_target_alias=$target_alias
1552 test "x$ac_cv_target_alias" = "x" &&
1553 ac_cv_target_alias=$ac_cv_host_alias
1554 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1555 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1556 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1557 { (exit 1); exit 1; }; }
1560 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1561 echo "${ECHO_T}$ac_cv_target" >&6
1562 target=$ac_cv_target
1563 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1564 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1565 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1568 # The aliases save the names the user supplied, while $host etc.
1569 # will get canonicalized.
1570 test -n "$target_alias" &&
1571 test "$program_prefix$program_suffix$program_transform_name" = \
1572 NONENONEs,x,x, &&
1573 program_prefix=${target_alias}-
1574 target_alias=${target_alias-$host_alias}
1576 # Handy for debugging:
1577 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1579 if test "$build" != "$host"; then
1580 # We are being configured with some form of cross compiler.
1581 GLIBCXX_IS_NATIVE=false
1583 else
1584 GLIBCXX_IS_NATIVE=true
1587 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1588 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1589 # 1.x: minimum required version
1590 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1591 # of other PACKAGE_* variables will, however, and there's nothing
1592 # we can do about that; they come from AC_INIT).
1593 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1594 # file in the top srcdir, etc, etc), so stop complaining.
1595 # no-dependencies: turns off auto dependency generation (just for now)
1596 # -Wall: turns on all automake warnings...
1597 # -Wno-portability: ...except this one, since GNU make is now required.
1598 am__api_version="1.7"
1599 # Find a good install program. We prefer a C program (faster),
1600 # so one script is as good as another. But avoid the broken or
1601 # incompatible versions:
1602 # SysV /etc/install, /usr/sbin/install
1603 # SunOS /usr/etc/install
1604 # IRIX /sbin/install
1605 # AIX /bin/install
1606 # AmigaOS /C/install, which installs bootblocks on floppy discs
1607 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1608 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1609 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1610 # OS/2's system install, which has a completely different semantic
1611 # ./install, which can be erroneously created by make from ./install.sh.
1612 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1613 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1614 if test -z "$INSTALL"; then
1615 if test "${ac_cv_path_install+set}" = set; then
1616 echo $ECHO_N "(cached) $ECHO_C" >&6
1617 else
1618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1619 for as_dir in $PATH
1621 IFS=$as_save_IFS
1622 test -z "$as_dir" && as_dir=.
1623 # Account for people who put trailing slashes in PATH elements.
1624 case $as_dir/ in
1625 ./ | .// | /cC/* | \
1626 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1627 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1628 /usr/ucb/* ) ;;
1630 # OSF1 and SCO ODT 3.0 have their own names for install.
1631 # Don't use installbsd from OSF since it installs stuff as root
1632 # by default.
1633 for ac_prog in ginstall scoinst install; do
1634 for ac_exec_ext in '' $ac_executable_extensions; do
1635 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1636 if test $ac_prog = install &&
1637 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1638 # AIX install. It has an incompatible calling convention.
1640 elif test $ac_prog = install &&
1641 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1642 # program-specific install script used by HP pwplus--don't use.
1644 else
1645 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1646 break 3
1649 done
1650 done
1652 esac
1653 done
1657 if test "${ac_cv_path_install+set}" = set; then
1658 INSTALL=$ac_cv_path_install
1659 else
1660 # As a last resort, use the slow shell script. We don't cache a
1661 # path for INSTALL within a source directory, because that will
1662 # break other packages using the cache if that directory is
1663 # removed, or if the path is relative.
1664 INSTALL=$ac_install_sh
1667 echo "$as_me:$LINENO: result: $INSTALL" >&5
1668 echo "${ECHO_T}$INSTALL" >&6
1670 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1671 # It thinks the first close brace ends the variable substitution.
1672 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1674 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1676 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1678 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1679 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1680 # Just in case
1681 sleep 1
1682 echo timestamp > conftest.file
1683 # Do `set' in a subshell so we don't clobber the current shell's
1684 # arguments. Must try -L first in case configure is actually a
1685 # symlink; some systems play weird games with the mod time of symlinks
1686 # (eg FreeBSD returns the mod time of the symlink's containing
1687 # directory).
1688 if (
1689 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1690 if test "$*" = "X"; then
1691 # -L didn't work.
1692 set X `ls -t $srcdir/configure conftest.file`
1694 rm -f conftest.file
1695 if test "$*" != "X $srcdir/configure conftest.file" \
1696 && test "$*" != "X conftest.file $srcdir/configure"; then
1698 # If neither matched, then we have a broken ls. This can happen
1699 # if, for instance, CONFIG_SHELL is bash and it inherits a
1700 # broken ls alias from the environment. This has actually
1701 # happened. Such a system could not be considered "sane".
1702 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1703 alias in your environment" >&5
1704 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1705 alias in your environment" >&2;}
1706 { (exit 1); exit 1; }; }
1709 test "$2" = conftest.file
1711 then
1712 # Ok.
1714 else
1715 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1716 Check your system clock" >&5
1717 echo "$as_me: error: newly created file is older than distributed files!
1718 Check your system clock" >&2;}
1719 { (exit 1); exit 1; }; }
1721 echo "$as_me:$LINENO: result: yes" >&5
1722 echo "${ECHO_T}yes" >&6
1723 test "$program_prefix" != NONE &&
1724 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1725 # Use a double $ so make ignores it.
1726 test "$program_suffix" != NONE &&
1727 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1728 # Double any \ or $. echo might interpret backslashes.
1729 # By default was `s,x,x', remove it if useless.
1730 cat <<\_ACEOF >conftest.sed
1731 s/[\\$]/&&/g;s/;s,x,x,$//
1732 _ACEOF
1733 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1734 rm conftest.sed
1737 # expand $ac_aux_dir to an absolute path
1738 am_aux_dir=`cd $ac_aux_dir && pwd`
1740 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1741 # Use eval to expand $SHELL
1742 if eval "$MISSING --run true"; then
1743 am_missing_run="$MISSING --run "
1744 else
1745 am_missing_run=
1746 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1747 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1750 for ac_prog in gawk mawk nawk awk
1752 # Extract the first word of "$ac_prog", so it can be a program name with args.
1753 set dummy $ac_prog; ac_word=$2
1754 echo "$as_me:$LINENO: checking for $ac_word" >&5
1755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1756 if test "${ac_cv_prog_AWK+set}" = set; then
1757 echo $ECHO_N "(cached) $ECHO_C" >&6
1758 else
1759 if test -n "$AWK"; then
1760 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1761 else
1762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1763 for as_dir in $PATH
1765 IFS=$as_save_IFS
1766 test -z "$as_dir" && as_dir=.
1767 for ac_exec_ext in '' $ac_executable_extensions; do
1768 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1769 ac_cv_prog_AWK="$ac_prog"
1770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1771 break 2
1773 done
1774 done
1778 AWK=$ac_cv_prog_AWK
1779 if test -n "$AWK"; then
1780 echo "$as_me:$LINENO: result: $AWK" >&5
1781 echo "${ECHO_T}$AWK" >&6
1782 else
1783 echo "$as_me:$LINENO: result: no" >&5
1784 echo "${ECHO_T}no" >&6
1787 test -n "$AWK" && break
1788 done
1790 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1791 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1792 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1793 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1794 echo $ECHO_N "(cached) $ECHO_C" >&6
1795 else
1796 cat >conftest.make <<\_ACEOF
1797 all:
1798 @echo 'ac_maketemp="$(MAKE)"'
1799 _ACEOF
1800 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1801 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1802 if test -n "$ac_maketemp"; then
1803 eval ac_cv_prog_make_${ac_make}_set=yes
1804 else
1805 eval ac_cv_prog_make_${ac_make}_set=no
1807 rm -f conftest.make
1809 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1810 echo "$as_me:$LINENO: result: yes" >&5
1811 echo "${ECHO_T}yes" >&6
1812 SET_MAKE=
1813 else
1814 echo "$as_me:$LINENO: result: no" >&5
1815 echo "${ECHO_T}no" >&6
1816 SET_MAKE="MAKE=${MAKE-make}"
1819 rm -rf .tst 2>/dev/null
1820 mkdir .tst 2>/dev/null
1821 if test -d .tst; then
1822 am__leading_dot=.
1823 else
1824 am__leading_dot=_
1826 rmdir .tst 2>/dev/null
1828 # test to see if srcdir already configured
1829 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1830 test -f $srcdir/config.status; then
1831 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1832 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1833 { (exit 1); exit 1; }; }
1836 # test whether we have cygpath
1837 if test -z "$CYGPATH_W"; then
1838 if (cygpath --version) >/dev/null 2>/dev/null; then
1839 CYGPATH_W='cygpath -w'
1840 else
1841 CYGPATH_W=echo
1846 # Define the identity of the package.
1847 PACKAGE='libstdc++'
1848 VERSION='version-unused'
1851 # Some tools Automake needs.
1853 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1856 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1859 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1862 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1865 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1868 AMTAR=${AMTAR-"${am_missing_run}tar"}
1870 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1872 # Installed binaries are usually stripped using `strip' when the user
1873 # run `make install-strip'. However `strip' might not be the right
1874 # tool to use in cross-compilation environments, therefore Automake
1875 # will honor the `STRIP' environment variable to overrule this program.
1876 if test "$cross_compiling" != no; then
1877 if test -n "$ac_tool_prefix"; then
1878 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1879 set dummy ${ac_tool_prefix}strip; ac_word=$2
1880 echo "$as_me:$LINENO: checking for $ac_word" >&5
1881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1882 if test "${ac_cv_prog_STRIP+set}" = set; then
1883 echo $ECHO_N "(cached) $ECHO_C" >&6
1884 else
1885 if test -n "$STRIP"; then
1886 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1887 else
1888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1889 for as_dir in $PATH
1891 IFS=$as_save_IFS
1892 test -z "$as_dir" && as_dir=.
1893 for ac_exec_ext in '' $ac_executable_extensions; do
1894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1895 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1897 break 2
1899 done
1900 done
1904 STRIP=$ac_cv_prog_STRIP
1905 if test -n "$STRIP"; then
1906 echo "$as_me:$LINENO: result: $STRIP" >&5
1907 echo "${ECHO_T}$STRIP" >&6
1908 else
1909 echo "$as_me:$LINENO: result: no" >&5
1910 echo "${ECHO_T}no" >&6
1914 if test -z "$ac_cv_prog_STRIP"; then
1915 ac_ct_STRIP=$STRIP
1916 # Extract the first word of "strip", so it can be a program name with args.
1917 set dummy strip; ac_word=$2
1918 echo "$as_me:$LINENO: checking for $ac_word" >&5
1919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1920 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1921 echo $ECHO_N "(cached) $ECHO_C" >&6
1922 else
1923 if test -n "$ac_ct_STRIP"; then
1924 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1925 else
1926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1927 for as_dir in $PATH
1929 IFS=$as_save_IFS
1930 test -z "$as_dir" && as_dir=.
1931 for ac_exec_ext in '' $ac_executable_extensions; do
1932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1933 ac_cv_prog_ac_ct_STRIP="strip"
1934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1935 break 2
1937 done
1938 done
1940 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1943 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1944 if test -n "$ac_ct_STRIP"; then
1945 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1946 echo "${ECHO_T}$ac_ct_STRIP" >&6
1947 else
1948 echo "$as_me:$LINENO: result: no" >&5
1949 echo "${ECHO_T}no" >&6
1952 STRIP=$ac_ct_STRIP
1953 else
1954 STRIP="$ac_cv_prog_STRIP"
1958 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1960 # We need awk for the "check" target. The system "awk" is bad on
1961 # some platforms.
1966 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1967 # up critical shell variables.
1969 # Keep these sync'd with the list in Makefile.am. The first provides an
1970 # expandable list at autoconf time; the second provides an expandable list
1971 # (i.e., shell variable) at configure time.
1973 SUBDIRS='include libmath libsupc++ src po testsuite'
1975 # These need to be absolute paths, yet at the same time need to
1976 # canonicalize only relative paths, because then amd will not unmount
1977 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1978 glibcxx_builddir=`${PWDCMD-pwd}`
1979 case $srcdir in
1980 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1981 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1982 esac
1983 toplevel_srcdir=${glibcxx_srcdir}/..
1988 # We use these options to decide which functions to include. They are
1989 # set from the top level.
1991 # Check whether --with-target-subdir or --without-target-subdir was given.
1992 if test "${with_target_subdir+set}" = set; then
1993 withval="$with_target_subdir"
1998 # Check whether --with-cross-host or --without-cross-host was given.
1999 if test "${with_cross_host+set}" = set; then
2000 withval="$with_cross_host"
2005 # Check whether --with-newlib or --without-newlib was given.
2006 if test "${with_newlib+set}" = set; then
2007 withval="$with_newlib"
2011 # We're almost certainly being configured before anything else which uses
2012 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2013 # we not cache the value of CXX that we "discover" here, because it's set
2014 # to something unique for us and libjava. Other target libraries need to
2015 # find CXX for themselves. We yank the rug out from under the normal AC_*
2016 # process by sneakily renaming the cache variable. This also lets us debug
2017 # the value of "our" CXX in postmortems.
2019 # We must also force CXX to /not/ be a precious variable, otherwise the
2020 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2021 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2022 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2023 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2025 # -fno-builtin must be present here so that a non-conflicting form of
2026 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2031 save_CXXFLAGS="$CXXFLAGS"
2032 CXXFLAGS="$CXXFLAGS -fno-builtin"
2033 ac_ext=c
2034 ac_cpp='$CPP $CPPFLAGS'
2035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2038 if test -n "$ac_tool_prefix"; then
2039 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2040 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2041 echo "$as_me:$LINENO: checking for $ac_word" >&5
2042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2043 if test "${ac_cv_prog_CC+set}" = set; then
2044 echo $ECHO_N "(cached) $ECHO_C" >&6
2045 else
2046 if test -n "$CC"; then
2047 ac_cv_prog_CC="$CC" # Let the user override the test.
2048 else
2049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2050 for as_dir in $PATH
2052 IFS=$as_save_IFS
2053 test -z "$as_dir" && as_dir=.
2054 for ac_exec_ext in '' $ac_executable_extensions; do
2055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2056 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2058 break 2
2060 done
2061 done
2065 CC=$ac_cv_prog_CC
2066 if test -n "$CC"; then
2067 echo "$as_me:$LINENO: result: $CC" >&5
2068 echo "${ECHO_T}$CC" >&6
2069 else
2070 echo "$as_me:$LINENO: result: no" >&5
2071 echo "${ECHO_T}no" >&6
2075 if test -z "$ac_cv_prog_CC"; then
2076 ac_ct_CC=$CC
2077 # Extract the first word of "gcc", so it can be a program name with args.
2078 set dummy gcc; ac_word=$2
2079 echo "$as_me:$LINENO: checking for $ac_word" >&5
2080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2081 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2082 echo $ECHO_N "(cached) $ECHO_C" >&6
2083 else
2084 if test -n "$ac_ct_CC"; then
2085 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2086 else
2087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2088 for as_dir in $PATH
2090 IFS=$as_save_IFS
2091 test -z "$as_dir" && as_dir=.
2092 for ac_exec_ext in '' $ac_executable_extensions; do
2093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2094 ac_cv_prog_ac_ct_CC="gcc"
2095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2096 break 2
2098 done
2099 done
2103 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2104 if test -n "$ac_ct_CC"; then
2105 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2106 echo "${ECHO_T}$ac_ct_CC" >&6
2107 else
2108 echo "$as_me:$LINENO: result: no" >&5
2109 echo "${ECHO_T}no" >&6
2112 CC=$ac_ct_CC
2113 else
2114 CC="$ac_cv_prog_CC"
2117 if test -z "$CC"; then
2118 if test -n "$ac_tool_prefix"; then
2119 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2120 set dummy ${ac_tool_prefix}cc; ac_word=$2
2121 echo "$as_me:$LINENO: checking for $ac_word" >&5
2122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2123 if test "${ac_cv_prog_CC+set}" = set; then
2124 echo $ECHO_N "(cached) $ECHO_C" >&6
2125 else
2126 if test -n "$CC"; then
2127 ac_cv_prog_CC="$CC" # Let the user override the test.
2128 else
2129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2130 for as_dir in $PATH
2132 IFS=$as_save_IFS
2133 test -z "$as_dir" && as_dir=.
2134 for ac_exec_ext in '' $ac_executable_extensions; do
2135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2136 ac_cv_prog_CC="${ac_tool_prefix}cc"
2137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2138 break 2
2140 done
2141 done
2145 CC=$ac_cv_prog_CC
2146 if test -n "$CC"; then
2147 echo "$as_me:$LINENO: result: $CC" >&5
2148 echo "${ECHO_T}$CC" >&6
2149 else
2150 echo "$as_me:$LINENO: result: no" >&5
2151 echo "${ECHO_T}no" >&6
2155 if test -z "$ac_cv_prog_CC"; then
2156 ac_ct_CC=$CC
2157 # Extract the first word of "cc", so it can be a program name with args.
2158 set dummy cc; ac_word=$2
2159 echo "$as_me:$LINENO: checking for $ac_word" >&5
2160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2161 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2162 echo $ECHO_N "(cached) $ECHO_C" >&6
2163 else
2164 if test -n "$ac_ct_CC"; then
2165 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2166 else
2167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2168 for as_dir in $PATH
2170 IFS=$as_save_IFS
2171 test -z "$as_dir" && as_dir=.
2172 for ac_exec_ext in '' $ac_executable_extensions; do
2173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2174 ac_cv_prog_ac_ct_CC="cc"
2175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2176 break 2
2178 done
2179 done
2183 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2184 if test -n "$ac_ct_CC"; then
2185 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2186 echo "${ECHO_T}$ac_ct_CC" >&6
2187 else
2188 echo "$as_me:$LINENO: result: no" >&5
2189 echo "${ECHO_T}no" >&6
2192 CC=$ac_ct_CC
2193 else
2194 CC="$ac_cv_prog_CC"
2198 if test -z "$CC"; then
2199 # Extract the first word of "cc", so it can be a program name with args.
2200 set dummy cc; ac_word=$2
2201 echo "$as_me:$LINENO: checking for $ac_word" >&5
2202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2203 if test "${ac_cv_prog_CC+set}" = set; then
2204 echo $ECHO_N "(cached) $ECHO_C" >&6
2205 else
2206 if test -n "$CC"; then
2207 ac_cv_prog_CC="$CC" # Let the user override the test.
2208 else
2209 ac_prog_rejected=no
2210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2211 for as_dir in $PATH
2213 IFS=$as_save_IFS
2214 test -z "$as_dir" && as_dir=.
2215 for ac_exec_ext in '' $ac_executable_extensions; do
2216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2217 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2218 ac_prog_rejected=yes
2219 continue
2221 ac_cv_prog_CC="cc"
2222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2223 break 2
2225 done
2226 done
2228 if test $ac_prog_rejected = yes; then
2229 # We found a bogon in the path, so make sure we never use it.
2230 set dummy $ac_cv_prog_CC
2231 shift
2232 if test $# != 0; then
2233 # We chose a different compiler from the bogus one.
2234 # However, it has the same basename, so the bogon will be chosen
2235 # first if we set CC to just the basename; use the full file name.
2236 shift
2237 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2242 CC=$ac_cv_prog_CC
2243 if test -n "$CC"; then
2244 echo "$as_me:$LINENO: result: $CC" >&5
2245 echo "${ECHO_T}$CC" >&6
2246 else
2247 echo "$as_me:$LINENO: result: no" >&5
2248 echo "${ECHO_T}no" >&6
2252 if test -z "$CC"; then
2253 if test -n "$ac_tool_prefix"; then
2254 for ac_prog in cl
2256 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2257 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2258 echo "$as_me:$LINENO: checking for $ac_word" >&5
2259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2260 if test "${ac_cv_prog_CC+set}" = set; then
2261 echo $ECHO_N "(cached) $ECHO_C" >&6
2262 else
2263 if test -n "$CC"; then
2264 ac_cv_prog_CC="$CC" # Let the user override the test.
2265 else
2266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2267 for as_dir in $PATH
2269 IFS=$as_save_IFS
2270 test -z "$as_dir" && as_dir=.
2271 for ac_exec_ext in '' $ac_executable_extensions; do
2272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2273 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2275 break 2
2277 done
2278 done
2282 CC=$ac_cv_prog_CC
2283 if test -n "$CC"; then
2284 echo "$as_me:$LINENO: result: $CC" >&5
2285 echo "${ECHO_T}$CC" >&6
2286 else
2287 echo "$as_me:$LINENO: result: no" >&5
2288 echo "${ECHO_T}no" >&6
2291 test -n "$CC" && break
2292 done
2294 if test -z "$CC"; then
2295 ac_ct_CC=$CC
2296 for ac_prog in cl
2298 # Extract the first word of "$ac_prog", so it can be a program name with args.
2299 set dummy $ac_prog; ac_word=$2
2300 echo "$as_me:$LINENO: checking for $ac_word" >&5
2301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2302 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2303 echo $ECHO_N "(cached) $ECHO_C" >&6
2304 else
2305 if test -n "$ac_ct_CC"; then
2306 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2307 else
2308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2309 for as_dir in $PATH
2311 IFS=$as_save_IFS
2312 test -z "$as_dir" && as_dir=.
2313 for ac_exec_ext in '' $ac_executable_extensions; do
2314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2315 ac_cv_prog_ac_ct_CC="$ac_prog"
2316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2317 break 2
2319 done
2320 done
2324 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2325 if test -n "$ac_ct_CC"; then
2326 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2327 echo "${ECHO_T}$ac_ct_CC" >&6
2328 else
2329 echo "$as_me:$LINENO: result: no" >&5
2330 echo "${ECHO_T}no" >&6
2333 test -n "$ac_ct_CC" && break
2334 done
2336 CC=$ac_ct_CC
2342 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2343 See \`config.log' for more details." >&5
2344 echo "$as_me: error: no acceptable C compiler found in \$PATH
2345 See \`config.log' for more details." >&2;}
2346 { (exit 1); exit 1; }; }
2348 # Provide some information about the compiler.
2349 echo "$as_me:$LINENO:" \
2350 "checking for C compiler version" >&5
2351 ac_compiler=`set X $ac_compile; echo $2`
2352 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2353 (eval $ac_compiler --version </dev/null >&5) 2>&5
2354 ac_status=$?
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }
2357 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2358 (eval $ac_compiler -v </dev/null >&5) 2>&5
2359 ac_status=$?
2360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361 (exit $ac_status); }
2362 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2363 (eval $ac_compiler -V </dev/null >&5) 2>&5
2364 ac_status=$?
2365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2366 (exit $ac_status); }
2368 cat >conftest.$ac_ext <<_ACEOF
2369 /* confdefs.h. */
2370 _ACEOF
2371 cat confdefs.h >>conftest.$ac_ext
2372 cat >>conftest.$ac_ext <<_ACEOF
2373 /* end confdefs.h. */
2376 main ()
2380 return 0;
2382 _ACEOF
2383 # FIXME: Cleanup?
2384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2385 (eval $ac_link) 2>&5
2386 ac_status=$?
2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388 (exit $ac_status); }; then
2389 gcc_no_link=no
2390 else
2391 gcc_no_link=yes
2394 if test x$gcc_no_link = xyes; then
2395 # Setting cross_compile will disable run tests; it will
2396 # also disable AC_CHECK_FILE but that's generally
2397 # correct if we can't link.
2398 cross_compiling=yes
2399 EXEEXT=
2400 else
2401 cat >conftest.$ac_ext <<_ACEOF
2402 /* confdefs.h. */
2403 _ACEOF
2404 cat confdefs.h >>conftest.$ac_ext
2405 cat >>conftest.$ac_ext <<_ACEOF
2406 /* end confdefs.h. */
2409 main ()
2413 return 0;
2415 _ACEOF
2416 ac_clean_files_save=$ac_clean_files
2417 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2418 # Try to create an executable without -o first, disregard a.out.
2419 # It will help us diagnose broken compilers, and finding out an intuition
2420 # of exeext.
2421 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2422 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2423 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2424 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2425 (eval $ac_link_default) 2>&5
2426 ac_status=$?
2427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2428 (exit $ac_status); }; then
2429 # Find the output, starting from the most likely. This scheme is
2430 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2431 # resort.
2433 # Be careful to initialize this variable, since it used to be cached.
2434 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2435 ac_cv_exeext=
2436 # b.out is created by i960 compilers.
2437 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2439 test -f "$ac_file" || continue
2440 case $ac_file in
2441 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2443 conftest.$ac_ext )
2444 # This is the source file.
2446 [ab].out )
2447 # We found the default executable, but exeext='' is most
2448 # certainly right.
2449 break;;
2450 *.* )
2451 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2452 # FIXME: I believe we export ac_cv_exeext for Libtool,
2453 # but it would be cool to find out if it's true. Does anybody
2454 # maintain Libtool? --akim.
2455 export ac_cv_exeext
2456 break;;
2458 break;;
2459 esac
2460 done
2461 else
2462 echo "$as_me: failed program was:" >&5
2463 sed 's/^/| /' conftest.$ac_ext >&5
2465 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2466 See \`config.log' for more details." >&5
2467 echo "$as_me: error: C compiler cannot create executables
2468 See \`config.log' for more details." >&2;}
2469 { (exit 77); exit 77; }; }
2472 ac_exeext=$ac_cv_exeext
2473 echo "$as_me:$LINENO: result: $ac_file" >&5
2474 echo "${ECHO_T}$ac_file" >&6
2476 # Check the compiler produces executables we can run. If not, either
2477 # the compiler is broken, or we cross compile.
2478 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2479 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2480 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2481 # If not cross compiling, check that we can run a simple program.
2482 if test "$cross_compiling" != yes; then
2483 if { ac_try='./$ac_file'
2484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2485 (eval $ac_try) 2>&5
2486 ac_status=$?
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488 (exit $ac_status); }; }; then
2489 cross_compiling=no
2490 else
2491 if test "$cross_compiling" = maybe; then
2492 cross_compiling=yes
2493 else
2494 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2495 If you meant to cross compile, use \`--host'.
2496 See \`config.log' for more details." >&5
2497 echo "$as_me: error: cannot run C compiled programs.
2498 If you meant to cross compile, use \`--host'.
2499 See \`config.log' for more details." >&2;}
2500 { (exit 1); exit 1; }; }
2504 echo "$as_me:$LINENO: result: yes" >&5
2505 echo "${ECHO_T}yes" >&6
2507 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2508 ac_clean_files=$ac_clean_files_save
2509 # Check the compiler produces executables we can run. If not, either
2510 # the compiler is broken, or we cross compile.
2511 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2512 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2513 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2514 echo "${ECHO_T}$cross_compiling" >&6
2516 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2517 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2519 (eval $ac_link) 2>&5
2520 ac_status=$?
2521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2522 (exit $ac_status); }; then
2523 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2524 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2525 # work properly (i.e., refer to `conftest.exe'), while it won't with
2526 # `rm'.
2527 for ac_file in conftest.exe conftest conftest.*; do
2528 test -f "$ac_file" || continue
2529 case $ac_file in
2530 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2531 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2532 export ac_cv_exeext
2533 break;;
2534 * ) break;;
2535 esac
2536 done
2537 else
2538 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2539 See \`config.log' for more details." >&5
2540 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2541 See \`config.log' for more details." >&2;}
2542 { (exit 1); exit 1; }; }
2545 rm -f conftest$ac_cv_exeext
2546 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2547 echo "${ECHO_T}$ac_cv_exeext" >&6
2549 rm -f conftest.$ac_ext
2550 EXEEXT=$ac_cv_exeext
2551 ac_exeext=$EXEEXT
2553 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2554 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2555 if test "${ac_cv_objext+set}" = set; then
2556 echo $ECHO_N "(cached) $ECHO_C" >&6
2557 else
2558 cat >conftest.$ac_ext <<_ACEOF
2559 /* confdefs.h. */
2560 _ACEOF
2561 cat confdefs.h >>conftest.$ac_ext
2562 cat >>conftest.$ac_ext <<_ACEOF
2563 /* end confdefs.h. */
2566 main ()
2570 return 0;
2572 _ACEOF
2573 rm -f conftest.o conftest.obj
2574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2575 (eval $ac_compile) 2>&5
2576 ac_status=$?
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); }; then
2579 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2580 case $ac_file in
2581 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2582 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2583 break;;
2584 esac
2585 done
2586 else
2587 echo "$as_me: failed program was:" >&5
2588 sed 's/^/| /' conftest.$ac_ext >&5
2590 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2591 See \`config.log' for more details." >&5
2592 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2593 See \`config.log' for more details." >&2;}
2594 { (exit 1); exit 1; }; }
2597 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2599 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2600 echo "${ECHO_T}$ac_cv_objext" >&6
2601 OBJEXT=$ac_cv_objext
2602 ac_objext=$OBJEXT
2603 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2604 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2605 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2606 echo $ECHO_N "(cached) $ECHO_C" >&6
2607 else
2608 cat >conftest.$ac_ext <<_ACEOF
2609 /* confdefs.h. */
2610 _ACEOF
2611 cat confdefs.h >>conftest.$ac_ext
2612 cat >>conftest.$ac_ext <<_ACEOF
2613 /* end confdefs.h. */
2616 main ()
2618 #ifndef __GNUC__
2619 choke me
2620 #endif
2623 return 0;
2625 _ACEOF
2626 rm -f conftest.$ac_objext
2627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2628 (eval $ac_compile) 2>conftest.er1
2629 ac_status=$?
2630 grep -v '^ *+' conftest.er1 >conftest.err
2631 rm -f conftest.er1
2632 cat conftest.err >&5
2633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634 (exit $ac_status); } &&
2635 { ac_try='test -z "$ac_c_werror_flag"
2636 || test ! -s conftest.err'
2637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2638 (eval $ac_try) 2>&5
2639 ac_status=$?
2640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641 (exit $ac_status); }; } &&
2642 { ac_try='test -s conftest.$ac_objext'
2643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2644 (eval $ac_try) 2>&5
2645 ac_status=$?
2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647 (exit $ac_status); }; }; then
2648 ac_compiler_gnu=yes
2649 else
2650 echo "$as_me: failed program was:" >&5
2651 sed 's/^/| /' conftest.$ac_ext >&5
2653 ac_compiler_gnu=no
2655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2656 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2659 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2660 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2661 GCC=`test $ac_compiler_gnu = yes && echo yes`
2662 ac_test_CFLAGS=${CFLAGS+set}
2663 ac_save_CFLAGS=$CFLAGS
2664 CFLAGS="-g"
2665 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2666 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2667 if test "${ac_cv_prog_cc_g+set}" = set; then
2668 echo $ECHO_N "(cached) $ECHO_C" >&6
2669 else
2670 cat >conftest.$ac_ext <<_ACEOF
2671 /* confdefs.h. */
2672 _ACEOF
2673 cat confdefs.h >>conftest.$ac_ext
2674 cat >>conftest.$ac_ext <<_ACEOF
2675 /* end confdefs.h. */
2678 main ()
2682 return 0;
2684 _ACEOF
2685 rm -f conftest.$ac_objext
2686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2687 (eval $ac_compile) 2>conftest.er1
2688 ac_status=$?
2689 grep -v '^ *+' conftest.er1 >conftest.err
2690 rm -f conftest.er1
2691 cat conftest.err >&5
2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); } &&
2694 { ac_try='test -z "$ac_c_werror_flag"
2695 || test ! -s conftest.err'
2696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2697 (eval $ac_try) 2>&5
2698 ac_status=$?
2699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700 (exit $ac_status); }; } &&
2701 { ac_try='test -s conftest.$ac_objext'
2702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2703 (eval $ac_try) 2>&5
2704 ac_status=$?
2705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2706 (exit $ac_status); }; }; then
2707 ac_cv_prog_cc_g=yes
2708 else
2709 echo "$as_me: failed program was:" >&5
2710 sed 's/^/| /' conftest.$ac_ext >&5
2712 ac_cv_prog_cc_g=no
2714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2716 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2717 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2718 if test "$ac_test_CFLAGS" = set; then
2719 CFLAGS=$ac_save_CFLAGS
2720 elif test $ac_cv_prog_cc_g = yes; then
2721 if test "$GCC" = yes; then
2722 CFLAGS="-g -O2"
2723 else
2724 CFLAGS="-g"
2726 else
2727 if test "$GCC" = yes; then
2728 CFLAGS="-O2"
2729 else
2730 CFLAGS=
2733 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2734 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2735 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2736 echo $ECHO_N "(cached) $ECHO_C" >&6
2737 else
2738 ac_cv_prog_cc_stdc=no
2739 ac_save_CC=$CC
2740 cat >conftest.$ac_ext <<_ACEOF
2741 /* confdefs.h. */
2742 _ACEOF
2743 cat confdefs.h >>conftest.$ac_ext
2744 cat >>conftest.$ac_ext <<_ACEOF
2745 /* end confdefs.h. */
2746 #include <stdarg.h>
2747 #include <stdio.h>
2748 #include <sys/types.h>
2749 #include <sys/stat.h>
2750 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2751 struct buf { int x; };
2752 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2753 static char *e (p, i)
2754 char **p;
2755 int i;
2757 return p[i];
2759 static char *f (char * (*g) (char **, int), char **p, ...)
2761 char *s;
2762 va_list v;
2763 va_start (v,p);
2764 s = g (p, va_arg (v,int));
2765 va_end (v);
2766 return s;
2769 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2770 function prototypes and stuff, but not '\xHH' hex character constants.
2771 These don't provoke an error unfortunately, instead are silently treated
2772 as 'x'. The following induces an error, until -std1 is added to get
2773 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2774 array size at least. It's necessary to write '\x00'==0 to get something
2775 that's true only with -std1. */
2776 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2778 int test (int i, double x);
2779 struct s1 {int (*f) (int a);};
2780 struct s2 {int (*f) (double a);};
2781 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2782 int argc;
2783 char **argv;
2785 main ()
2787 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2789 return 0;
2791 _ACEOF
2792 # Don't try gcc -ansi; that turns off useful extensions and
2793 # breaks some systems' header files.
2794 # AIX -qlanglvl=ansi
2795 # Ultrix and OSF/1 -std1
2796 # HP-UX 10.20 and later -Ae
2797 # HP-UX older versions -Aa -D_HPUX_SOURCE
2798 # SVR4 -Xc -D__EXTENSIONS__
2799 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2801 CC="$ac_save_CC $ac_arg"
2802 rm -f conftest.$ac_objext
2803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2804 (eval $ac_compile) 2>conftest.er1
2805 ac_status=$?
2806 grep -v '^ *+' conftest.er1 >conftest.err
2807 rm -f conftest.er1
2808 cat conftest.err >&5
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); } &&
2811 { ac_try='test -z "$ac_c_werror_flag"
2812 || test ! -s conftest.err'
2813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2814 (eval $ac_try) 2>&5
2815 ac_status=$?
2816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817 (exit $ac_status); }; } &&
2818 { ac_try='test -s conftest.$ac_objext'
2819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2820 (eval $ac_try) 2>&5
2821 ac_status=$?
2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); }; }; then
2824 ac_cv_prog_cc_stdc=$ac_arg
2825 break
2826 else
2827 echo "$as_me: failed program was:" >&5
2828 sed 's/^/| /' conftest.$ac_ext >&5
2831 rm -f conftest.err conftest.$ac_objext
2832 done
2833 rm -f conftest.$ac_ext conftest.$ac_objext
2834 CC=$ac_save_CC
2838 case "x$ac_cv_prog_cc_stdc" in
2839 x|xno)
2840 echo "$as_me:$LINENO: result: none needed" >&5
2841 echo "${ECHO_T}none needed" >&6 ;;
2843 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2844 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2845 CC="$CC $ac_cv_prog_cc_stdc" ;;
2846 esac
2848 # Some people use a C++ compiler to compile C. Since we use `exit',
2849 # in C++ we need to declare it. In case someone uses the same compiler
2850 # for both compiling C and C++ we need to have the C++ compiler decide
2851 # the declaration of exit, since it's the most demanding environment.
2852 cat >conftest.$ac_ext <<_ACEOF
2853 #ifndef __cplusplus
2854 choke me
2855 #endif
2856 _ACEOF
2857 rm -f conftest.$ac_objext
2858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2859 (eval $ac_compile) 2>conftest.er1
2860 ac_status=$?
2861 grep -v '^ *+' conftest.er1 >conftest.err
2862 rm -f conftest.er1
2863 cat conftest.err >&5
2864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865 (exit $ac_status); } &&
2866 { ac_try='test -z "$ac_c_werror_flag"
2867 || test ! -s conftest.err'
2868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2869 (eval $ac_try) 2>&5
2870 ac_status=$?
2871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872 (exit $ac_status); }; } &&
2873 { ac_try='test -s conftest.$ac_objext'
2874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2875 (eval $ac_try) 2>&5
2876 ac_status=$?
2877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878 (exit $ac_status); }; }; then
2879 for ac_declaration in \
2880 '' \
2881 'extern "C" void std::exit (int) throw (); using std::exit;' \
2882 'extern "C" void std::exit (int); using std::exit;' \
2883 'extern "C" void exit (int) throw ();' \
2884 'extern "C" void exit (int);' \
2885 'void exit (int);'
2887 cat >conftest.$ac_ext <<_ACEOF
2888 /* confdefs.h. */
2889 _ACEOF
2890 cat confdefs.h >>conftest.$ac_ext
2891 cat >>conftest.$ac_ext <<_ACEOF
2892 /* end confdefs.h. */
2893 $ac_declaration
2894 #include <stdlib.h>
2896 main ()
2898 exit (42);
2900 return 0;
2902 _ACEOF
2903 rm -f conftest.$ac_objext
2904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2905 (eval $ac_compile) 2>conftest.er1
2906 ac_status=$?
2907 grep -v '^ *+' conftest.er1 >conftest.err
2908 rm -f conftest.er1
2909 cat conftest.err >&5
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); } &&
2912 { ac_try='test -z "$ac_c_werror_flag"
2913 || test ! -s conftest.err'
2914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2915 (eval $ac_try) 2>&5
2916 ac_status=$?
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); }; } &&
2919 { ac_try='test -s conftest.$ac_objext'
2920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2921 (eval $ac_try) 2>&5
2922 ac_status=$?
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); }; }; then
2926 else
2927 echo "$as_me: failed program was:" >&5
2928 sed 's/^/| /' conftest.$ac_ext >&5
2930 continue
2932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2933 cat >conftest.$ac_ext <<_ACEOF
2934 /* confdefs.h. */
2935 _ACEOF
2936 cat confdefs.h >>conftest.$ac_ext
2937 cat >>conftest.$ac_ext <<_ACEOF
2938 /* end confdefs.h. */
2939 $ac_declaration
2941 main ()
2943 exit (42);
2945 return 0;
2947 _ACEOF
2948 rm -f conftest.$ac_objext
2949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2950 (eval $ac_compile) 2>conftest.er1
2951 ac_status=$?
2952 grep -v '^ *+' conftest.er1 >conftest.err
2953 rm -f conftest.er1
2954 cat conftest.err >&5
2955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956 (exit $ac_status); } &&
2957 { ac_try='test -z "$ac_c_werror_flag"
2958 || test ! -s conftest.err'
2959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2960 (eval $ac_try) 2>&5
2961 ac_status=$?
2962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963 (exit $ac_status); }; } &&
2964 { ac_try='test -s conftest.$ac_objext'
2965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2966 (eval $ac_try) 2>&5
2967 ac_status=$?
2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969 (exit $ac_status); }; }; then
2970 break
2971 else
2972 echo "$as_me: failed program was:" >&5
2973 sed 's/^/| /' conftest.$ac_ext >&5
2976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2977 done
2978 rm -f conftest*
2979 if test -n "$ac_declaration"; then
2980 echo '#ifdef __cplusplus' >>confdefs.h
2981 echo $ac_declaration >>confdefs.h
2982 echo '#endif' >>confdefs.h
2985 else
2986 echo "$as_me: failed program was:" >&5
2987 sed 's/^/| /' conftest.$ac_ext >&5
2990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2991 ac_ext=c
2992 ac_cpp='$CPP $CPPFLAGS'
2993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2997 ac_ext=cc
2998 ac_cpp='$CXXCPP $CPPFLAGS'
2999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3002 if test -n "$ac_tool_prefix"; then
3003 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3005 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3006 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3007 echo "$as_me:$LINENO: checking for $ac_word" >&5
3008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3009 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3010 echo $ECHO_N "(cached) $ECHO_C" >&6
3011 else
3012 if test -n "$CXX"; then
3013 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3014 else
3015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3016 for as_dir in $PATH
3018 IFS=$as_save_IFS
3019 test -z "$as_dir" && as_dir=.
3020 for ac_exec_ext in '' $ac_executable_extensions; do
3021 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3022 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3024 break 2
3026 done
3027 done
3031 CXX=$glibcxx_cv_prog_CXX
3032 if test -n "$CXX"; then
3033 echo "$as_me:$LINENO: result: $CXX" >&5
3034 echo "${ECHO_T}$CXX" >&6
3035 else
3036 echo "$as_me:$LINENO: result: no" >&5
3037 echo "${ECHO_T}no" >&6
3040 test -n "$CXX" && break
3041 done
3043 if test -z "$CXX"; then
3044 ac_ct_CXX=$CXX
3045 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3047 # Extract the first word of "$ac_prog", so it can be a program name with args.
3048 set dummy $ac_prog; ac_word=$2
3049 echo "$as_me:$LINENO: checking for $ac_word" >&5
3050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3051 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3052 echo $ECHO_N "(cached) $ECHO_C" >&6
3053 else
3054 if test -n "$ac_ct_CXX"; then
3055 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3056 else
3057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3058 for as_dir in $PATH
3060 IFS=$as_save_IFS
3061 test -z "$as_dir" && as_dir=.
3062 for ac_exec_ext in '' $ac_executable_extensions; do
3063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3064 ac_cv_prog_ac_ct_CXX="$ac_prog"
3065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3066 break 2
3068 done
3069 done
3073 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3074 if test -n "$ac_ct_CXX"; then
3075 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3076 echo "${ECHO_T}$ac_ct_CXX" >&6
3077 else
3078 echo "$as_me:$LINENO: result: no" >&5
3079 echo "${ECHO_T}no" >&6
3082 test -n "$ac_ct_CXX" && break
3083 done
3084 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3086 CXX=$ac_ct_CXX
3090 # Provide some information about the compiler.
3091 echo "$as_me:$LINENO:" \
3092 "checking for C++ compiler version" >&5
3093 ac_compiler=`set X $ac_compile; echo $2`
3094 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3095 (eval $ac_compiler --version </dev/null >&5) 2>&5
3096 ac_status=$?
3097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098 (exit $ac_status); }
3099 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3100 (eval $ac_compiler -v </dev/null >&5) 2>&5
3101 ac_status=$?
3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 (exit $ac_status); }
3104 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3105 (eval $ac_compiler -V </dev/null >&5) 2>&5
3106 ac_status=$?
3107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3108 (exit $ac_status); }
3110 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3111 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3112 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3113 echo $ECHO_N "(cached) $ECHO_C" >&6
3114 else
3115 cat >conftest.$ac_ext <<_ACEOF
3116 /* confdefs.h. */
3117 _ACEOF
3118 cat confdefs.h >>conftest.$ac_ext
3119 cat >>conftest.$ac_ext <<_ACEOF
3120 /* end confdefs.h. */
3123 main ()
3125 #ifndef __GNUC__
3126 choke me
3127 #endif
3130 return 0;
3132 _ACEOF
3133 rm -f conftest.$ac_objext
3134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3135 (eval $ac_compile) 2>conftest.er1
3136 ac_status=$?
3137 grep -v '^ *+' conftest.er1 >conftest.err
3138 rm -f conftest.er1
3139 cat conftest.err >&5
3140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3141 (exit $ac_status); } &&
3142 { ac_try='test -z "$ac_cxx_werror_flag"
3143 || test ! -s conftest.err'
3144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3145 (eval $ac_try) 2>&5
3146 ac_status=$?
3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); }; } &&
3149 { ac_try='test -s conftest.$ac_objext'
3150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3151 (eval $ac_try) 2>&5
3152 ac_status=$?
3153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3154 (exit $ac_status); }; }; then
3155 ac_compiler_gnu=yes
3156 else
3157 echo "$as_me: failed program was:" >&5
3158 sed 's/^/| /' conftest.$ac_ext >&5
3160 ac_compiler_gnu=no
3162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3163 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3166 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3167 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3168 GXX=`test $ac_compiler_gnu = yes && echo yes`
3169 ac_test_CXXFLAGS=${CXXFLAGS+set}
3170 ac_save_CXXFLAGS=$CXXFLAGS
3171 CXXFLAGS="-g"
3172 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3173 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3174 if test "${ac_cv_prog_cxx_g+set}" = set; then
3175 echo $ECHO_N "(cached) $ECHO_C" >&6
3176 else
3177 cat >conftest.$ac_ext <<_ACEOF
3178 /* confdefs.h. */
3179 _ACEOF
3180 cat confdefs.h >>conftest.$ac_ext
3181 cat >>conftest.$ac_ext <<_ACEOF
3182 /* end confdefs.h. */
3185 main ()
3189 return 0;
3191 _ACEOF
3192 rm -f conftest.$ac_objext
3193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3194 (eval $ac_compile) 2>conftest.er1
3195 ac_status=$?
3196 grep -v '^ *+' conftest.er1 >conftest.err
3197 rm -f conftest.er1
3198 cat conftest.err >&5
3199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200 (exit $ac_status); } &&
3201 { ac_try='test -z "$ac_cxx_werror_flag"
3202 || test ! -s conftest.err'
3203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3204 (eval $ac_try) 2>&5
3205 ac_status=$?
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); }; } &&
3208 { ac_try='test -s conftest.$ac_objext'
3209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3210 (eval $ac_try) 2>&5
3211 ac_status=$?
3212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3213 (exit $ac_status); }; }; then
3214 ac_cv_prog_cxx_g=yes
3215 else
3216 echo "$as_me: failed program was:" >&5
3217 sed 's/^/| /' conftest.$ac_ext >&5
3219 ac_cv_prog_cxx_g=no
3221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3223 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3224 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3225 if test "$ac_test_CXXFLAGS" = set; then
3226 CXXFLAGS=$ac_save_CXXFLAGS
3227 elif test $ac_cv_prog_cxx_g = yes; then
3228 if test "$GXX" = yes; then
3229 CXXFLAGS="-g -O2"
3230 else
3231 CXXFLAGS="-g"
3233 else
3234 if test "$GXX" = yes; then
3235 CXXFLAGS="-O2"
3236 else
3237 CXXFLAGS=
3240 for ac_declaration in \
3241 '' \
3242 'extern "C" void std::exit (int) throw (); using std::exit;' \
3243 'extern "C" void std::exit (int); using std::exit;' \
3244 'extern "C" void exit (int) throw ();' \
3245 'extern "C" void exit (int);' \
3246 'void exit (int);'
3248 cat >conftest.$ac_ext <<_ACEOF
3249 /* confdefs.h. */
3250 _ACEOF
3251 cat confdefs.h >>conftest.$ac_ext
3252 cat >>conftest.$ac_ext <<_ACEOF
3253 /* end confdefs.h. */
3254 $ac_declaration
3255 #include <stdlib.h>
3257 main ()
3259 exit (42);
3261 return 0;
3263 _ACEOF
3264 rm -f conftest.$ac_objext
3265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3266 (eval $ac_compile) 2>conftest.er1
3267 ac_status=$?
3268 grep -v '^ *+' conftest.er1 >conftest.err
3269 rm -f conftest.er1
3270 cat conftest.err >&5
3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272 (exit $ac_status); } &&
3273 { ac_try='test -z "$ac_cxx_werror_flag"
3274 || test ! -s conftest.err'
3275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3276 (eval $ac_try) 2>&5
3277 ac_status=$?
3278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279 (exit $ac_status); }; } &&
3280 { ac_try='test -s conftest.$ac_objext'
3281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3282 (eval $ac_try) 2>&5
3283 ac_status=$?
3284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285 (exit $ac_status); }; }; then
3287 else
3288 echo "$as_me: failed program was:" >&5
3289 sed 's/^/| /' conftest.$ac_ext >&5
3291 continue
3293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3294 cat >conftest.$ac_ext <<_ACEOF
3295 /* confdefs.h. */
3296 _ACEOF
3297 cat confdefs.h >>conftest.$ac_ext
3298 cat >>conftest.$ac_ext <<_ACEOF
3299 /* end confdefs.h. */
3300 $ac_declaration
3302 main ()
3304 exit (42);
3306 return 0;
3308 _ACEOF
3309 rm -f conftest.$ac_objext
3310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3311 (eval $ac_compile) 2>conftest.er1
3312 ac_status=$?
3313 grep -v '^ *+' conftest.er1 >conftest.err
3314 rm -f conftest.er1
3315 cat conftest.err >&5
3316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317 (exit $ac_status); } &&
3318 { ac_try='test -z "$ac_cxx_werror_flag"
3319 || test ! -s conftest.err'
3320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3321 (eval $ac_try) 2>&5
3322 ac_status=$?
3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324 (exit $ac_status); }; } &&
3325 { ac_try='test -s conftest.$ac_objext'
3326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3327 (eval $ac_try) 2>&5
3328 ac_status=$?
3329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330 (exit $ac_status); }; }; then
3331 break
3332 else
3333 echo "$as_me: failed program was:" >&5
3334 sed 's/^/| /' conftest.$ac_ext >&5
3337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3338 done
3339 rm -f conftest*
3340 if test -n "$ac_declaration"; then
3341 echo '#ifdef __cplusplus' >>confdefs.h
3342 echo $ac_declaration >>confdefs.h
3343 echo '#endif' >>confdefs.h
3346 ac_ext=c
3347 ac_cpp='$CPP $CPPFLAGS'
3348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3352 CXXFLAGS="$save_CXXFLAGS"
3357 # For directory versioning (e.g., headers) and other variables.
3358 echo "$as_me:$LINENO: checking for GCC version number" >&5
3359 echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6
3360 gcc_version=`$CXX -dumpversion`
3361 echo "$as_me:$LINENO: result: $gcc_version" >&5
3362 echo "${ECHO_T}$gcc_version" >&6
3364 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3365 # available). Uncomment the next line to force a particular method.
3366 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3367 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3368 LN_S=$as_ln_s
3369 if test "$LN_S" = "ln -s"; then
3370 echo "$as_me:$LINENO: result: yes" >&5
3371 echo "${ECHO_T}yes" >&6
3372 else
3373 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3374 echo "${ECHO_T}no, using $LN_S" >&6
3377 #LN_S='cp -p'
3379 if test -n "$ac_tool_prefix"; then
3380 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3381 set dummy ${ac_tool_prefix}as; ac_word=$2
3382 echo "$as_me:$LINENO: checking for $ac_word" >&5
3383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3384 if test "${ac_cv_prog_AS+set}" = set; then
3385 echo $ECHO_N "(cached) $ECHO_C" >&6
3386 else
3387 if test -n "$AS"; then
3388 ac_cv_prog_AS="$AS" # Let the user override the test.
3389 else
3390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3391 for as_dir in $PATH
3393 IFS=$as_save_IFS
3394 test -z "$as_dir" && as_dir=.
3395 for ac_exec_ext in '' $ac_executable_extensions; do
3396 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3397 ac_cv_prog_AS="${ac_tool_prefix}as"
3398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3399 break 2
3401 done
3402 done
3406 AS=$ac_cv_prog_AS
3407 if test -n "$AS"; then
3408 echo "$as_me:$LINENO: result: $AS" >&5
3409 echo "${ECHO_T}$AS" >&6
3410 else
3411 echo "$as_me:$LINENO: result: no" >&5
3412 echo "${ECHO_T}no" >&6
3416 if test -z "$ac_cv_prog_AS"; then
3417 ac_ct_AS=$AS
3418 # Extract the first word of "as", so it can be a program name with args.
3419 set dummy as; ac_word=$2
3420 echo "$as_me:$LINENO: checking for $ac_word" >&5
3421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3422 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3423 echo $ECHO_N "(cached) $ECHO_C" >&6
3424 else
3425 if test -n "$ac_ct_AS"; then
3426 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3427 else
3428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3429 for as_dir in $PATH
3431 IFS=$as_save_IFS
3432 test -z "$as_dir" && as_dir=.
3433 for ac_exec_ext in '' $ac_executable_extensions; do
3434 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3435 ac_cv_prog_ac_ct_AS="as"
3436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3437 break 2
3439 done
3440 done
3444 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3445 if test -n "$ac_ct_AS"; then
3446 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3447 echo "${ECHO_T}$ac_ct_AS" >&6
3448 else
3449 echo "$as_me:$LINENO: result: no" >&5
3450 echo "${ECHO_T}no" >&6
3453 AS=$ac_ct_AS
3454 else
3455 AS="$ac_cv_prog_AS"
3458 if test -n "$ac_tool_prefix"; then
3459 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3460 set dummy ${ac_tool_prefix}ar; ac_word=$2
3461 echo "$as_me:$LINENO: checking for $ac_word" >&5
3462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3463 if test "${ac_cv_prog_AR+set}" = set; then
3464 echo $ECHO_N "(cached) $ECHO_C" >&6
3465 else
3466 if test -n "$AR"; then
3467 ac_cv_prog_AR="$AR" # Let the user override the test.
3468 else
3469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3470 for as_dir in $PATH
3472 IFS=$as_save_IFS
3473 test -z "$as_dir" && as_dir=.
3474 for ac_exec_ext in '' $ac_executable_extensions; do
3475 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3476 ac_cv_prog_AR="${ac_tool_prefix}ar"
3477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3478 break 2
3480 done
3481 done
3485 AR=$ac_cv_prog_AR
3486 if test -n "$AR"; then
3487 echo "$as_me:$LINENO: result: $AR" >&5
3488 echo "${ECHO_T}$AR" >&6
3489 else
3490 echo "$as_me:$LINENO: result: no" >&5
3491 echo "${ECHO_T}no" >&6
3495 if test -z "$ac_cv_prog_AR"; then
3496 ac_ct_AR=$AR
3497 # Extract the first word of "ar", so it can be a program name with args.
3498 set dummy ar; ac_word=$2
3499 echo "$as_me:$LINENO: checking for $ac_word" >&5
3500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3501 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3502 echo $ECHO_N "(cached) $ECHO_C" >&6
3503 else
3504 if test -n "$ac_ct_AR"; then
3505 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3506 else
3507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3508 for as_dir in $PATH
3510 IFS=$as_save_IFS
3511 test -z "$as_dir" && as_dir=.
3512 for ac_exec_ext in '' $ac_executable_extensions; do
3513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3514 ac_cv_prog_ac_ct_AR="ar"
3515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3516 break 2
3518 done
3519 done
3523 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3524 if test -n "$ac_ct_AR"; then
3525 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3526 echo "${ECHO_T}$ac_ct_AR" >&6
3527 else
3528 echo "$as_me:$LINENO: result: no" >&5
3529 echo "${ECHO_T}no" >&6
3532 AR=$ac_ct_AR
3533 else
3534 AR="$ac_cv_prog_AR"
3537 if test -n "$ac_tool_prefix"; then
3538 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3539 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3540 echo "$as_me:$LINENO: checking for $ac_word" >&5
3541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3542 if test "${ac_cv_prog_RANLIB+set}" = set; then
3543 echo $ECHO_N "(cached) $ECHO_C" >&6
3544 else
3545 if test -n "$RANLIB"; then
3546 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3547 else
3548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3549 for as_dir in $PATH
3551 IFS=$as_save_IFS
3552 test -z "$as_dir" && as_dir=.
3553 for ac_exec_ext in '' $ac_executable_extensions; do
3554 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3555 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3557 break 2
3559 done
3560 done
3564 RANLIB=$ac_cv_prog_RANLIB
3565 if test -n "$RANLIB"; then
3566 echo "$as_me:$LINENO: result: $RANLIB" >&5
3567 echo "${ECHO_T}$RANLIB" >&6
3568 else
3569 echo "$as_me:$LINENO: result: no" >&5
3570 echo "${ECHO_T}no" >&6
3574 if test -z "$ac_cv_prog_RANLIB"; then
3575 ac_ct_RANLIB=$RANLIB
3576 # Extract the first word of "ranlib", so it can be a program name with args.
3577 set dummy ranlib; ac_word=$2
3578 echo "$as_me:$LINENO: checking for $ac_word" >&5
3579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3580 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3581 echo $ECHO_N "(cached) $ECHO_C" >&6
3582 else
3583 if test -n "$ac_ct_RANLIB"; then
3584 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3585 else
3586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3587 for as_dir in $PATH
3589 IFS=$as_save_IFS
3590 test -z "$as_dir" && as_dir=.
3591 for ac_exec_ext in '' $ac_executable_extensions; do
3592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3593 ac_cv_prog_ac_ct_RANLIB="ranlib"
3594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3595 break 2
3597 done
3598 done
3600 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3603 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3604 if test -n "$ac_ct_RANLIB"; then
3605 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3606 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3607 else
3608 echo "$as_me:$LINENO: result: no" >&5
3609 echo "${ECHO_T}no" >&6
3612 RANLIB=$ac_ct_RANLIB
3613 else
3614 RANLIB="$ac_cv_prog_RANLIB"
3618 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3619 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3620 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3621 if test "${enable_maintainer_mode+set}" = set; then
3622 enableval="$enable_maintainer_mode"
3623 USE_MAINTAINER_MODE=$enableval
3624 else
3625 USE_MAINTAINER_MODE=no
3627 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3628 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3631 if test $USE_MAINTAINER_MODE = yes; then
3632 MAINTAINER_MODE_TRUE=
3633 MAINTAINER_MODE_FALSE='#'
3634 else
3635 MAINTAINER_MODE_TRUE='#'
3636 MAINTAINER_MODE_FALSE=
3639 MAINT=$MAINTAINER_MODE_TRUE
3643 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3644 # which are themselves conditionally expanded.
3645 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3646 ## other macros from doing the same. This should be automated.) -pme
3647 need_libmath=no
3648 enable_wchar_t=no
3649 #enable_libstdcxx_debug=no
3650 #enable_libstdcxx_pch=no
3651 #enable_cheaders=c
3652 #c_compatibility=no
3653 #enable_abi_check=no
3654 #enable_symvers=no
3655 #enable_hosted_libstdcxx=yes
3657 # Find platform-specific directories containing configuration info.
3658 # Also possibly modify flags used elsewhere, as needed by the platform.
3660 . $glibcxx_srcdir/configure.host
3661 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3662 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3663 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3664 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3668 #AC_MSG_NOTICE([====== Starting libtool configuration])
3670 # Check whether --enable-shared or --disable-shared was given.
3671 if test "${enable_shared+set}" = set; then
3672 enableval="$enable_shared"
3673 p=${PACKAGE-default}
3674 case $enableval in
3675 yes) enable_shared=yes ;;
3676 no) enable_shared=no ;;
3678 enable_shared=no
3679 # Look at the argument we got. We use all the common list separators.
3680 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3681 for pkg in $enableval; do
3682 if test "X$pkg" = "X$p"; then
3683 enable_shared=yes
3685 done
3686 IFS="$ac_save_ifs"
3688 esac
3689 else
3690 enable_shared=yes
3692 # Check whether --enable-static or --disable-static was given.
3693 if test "${enable_static+set}" = set; then
3694 enableval="$enable_static"
3695 p=${PACKAGE-default}
3696 case $enableval in
3697 yes) enable_static=yes ;;
3698 no) enable_static=no ;;
3700 enable_static=no
3701 # Look at the argument we got. We use all the common list separators.
3702 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3703 for pkg in $enableval; do
3704 if test "X$pkg" = "X$p"; then
3705 enable_static=yes
3707 done
3708 IFS="$ac_save_ifs"
3710 esac
3711 else
3712 enable_static=yes
3714 # Check whether --enable-fast-install or --disable-fast-install was given.
3715 if test "${enable_fast_install+set}" = set; then
3716 enableval="$enable_fast_install"
3717 p=${PACKAGE-default}
3718 case $enableval in
3719 yes) enable_fast_install=yes ;;
3720 no) enable_fast_install=no ;;
3722 enable_fast_install=no
3723 # Look at the argument we got. We use all the common list separators.
3724 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3725 for pkg in $enableval; do
3726 if test "X$pkg" = "X$p"; then
3727 enable_fast_install=yes
3729 done
3730 IFS="$ac_save_ifs"
3732 esac
3733 else
3734 enable_fast_install=yes
3737 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3738 if test "${with_gnu_ld+set}" = set; then
3739 withval="$with_gnu_ld"
3740 test "$withval" = no || with_gnu_ld=yes
3741 else
3742 with_gnu_ld=no
3744 ac_prog=ld
3745 if test "$GCC" = yes; then
3746 # Check if gcc -print-prog-name=ld gives a path.
3747 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3748 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3749 case $host in
3750 *-*-mingw*)
3751 # gcc leaves a trailing carriage return which upsets mingw
3752 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3754 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3755 esac
3756 case $ac_prog in
3757 # Accept absolute paths.
3758 [\\/]* | [A-Za-z]:[\\/]*)
3759 re_direlt='/[^/][^/]*/\.\./'
3760 # Canonicalize the path of ld
3761 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3762 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3763 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3764 done
3765 test -z "$LD" && LD="$ac_prog"
3768 # If it fails, then pretend we aren't using GCC.
3769 ac_prog=ld
3772 # If it is relative, then search for the first ld in PATH.
3773 with_gnu_ld=unknown
3775 esac
3776 elif test "$with_gnu_ld" = yes; then
3777 echo "$as_me:$LINENO: checking for GNU ld" >&5
3778 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3779 else
3780 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3781 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3783 if test "${lt_cv_path_LD+set}" = set; then
3784 echo $ECHO_N "(cached) $ECHO_C" >&6
3785 else
3786 if test -z "$LD"; then
3787 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3788 for ac_dir in $PATH; do
3789 test -z "$ac_dir" && ac_dir=.
3790 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3791 lt_cv_path_LD="$ac_dir/$ac_prog"
3792 # Check to see if the program is GNU ld. I'd rather use --version,
3793 # but apparently some GNU ld's only accept -v.
3794 # Break only if it was the GNU/non-GNU ld that we prefer.
3795 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3796 test "$with_gnu_ld" != no && break
3797 else
3798 test "$with_gnu_ld" != yes && break
3801 done
3802 IFS="$ac_save_ifs"
3803 else
3804 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3808 LD="$lt_cv_path_LD"
3809 if test -n "$LD"; then
3810 echo "$as_me:$LINENO: result: $LD" >&5
3811 echo "${ECHO_T}$LD" >&6
3812 else
3813 echo "$as_me:$LINENO: result: no" >&5
3814 echo "${ECHO_T}no" >&6
3816 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3817 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3818 { (exit 1); exit 1; }; }
3819 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3820 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3821 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3822 echo $ECHO_N "(cached) $ECHO_C" >&6
3823 else
3824 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3825 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3826 lt_cv_prog_gnu_ld=yes
3827 else
3828 lt_cv_prog_gnu_ld=no
3831 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3832 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3833 with_gnu_ld=$lt_cv_prog_gnu_ld
3836 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3837 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3838 if test "${lt_cv_ld_reload_flag+set}" = set; then
3839 echo $ECHO_N "(cached) $ECHO_C" >&6
3840 else
3841 lt_cv_ld_reload_flag='-r'
3843 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3844 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3845 reload_flag=$lt_cv_ld_reload_flag
3846 test -n "$reload_flag" && reload_flag=" $reload_flag"
3848 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3849 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3850 if test "${lt_cv_path_NM+set}" = set; then
3851 echo $ECHO_N "(cached) $ECHO_C" >&6
3852 else
3853 if test -n "$NM"; then
3854 # Let the user override the test.
3855 lt_cv_path_NM="$NM"
3856 else
3857 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3858 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3859 test -z "$ac_dir" && ac_dir=.
3860 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3861 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3862 # Check to see if the nm accepts a BSD-compat flag.
3863 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3864 # nm: unknown option "B" ignored
3865 # Tru64's nm complains that /dev/null is an invalid object file
3866 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3867 lt_cv_path_NM="$tmp_nm -B"
3868 break
3869 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3870 lt_cv_path_NM="$tmp_nm -p"
3871 break
3872 else
3873 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3874 continue # so that we can try to find one that supports BSD flags
3877 done
3878 IFS="$ac_save_ifs"
3879 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3883 NM="$lt_cv_path_NM"
3884 echo "$as_me:$LINENO: result: $NM" >&5
3885 echo "${ECHO_T}$NM" >&6
3887 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3888 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3889 if test "${lt_cv_deplibs_check_method+set}" = set; then
3890 echo $ECHO_N "(cached) $ECHO_C" >&6
3891 else
3892 lt_cv_file_magic_cmd='$MAGIC_CMD'
3893 lt_cv_file_magic_test_file=
3894 lt_cv_deplibs_check_method='unknown'
3895 # Need to set the preceding variable on all platforms that support
3896 # interlibrary dependencies.
3897 # 'none' -- dependencies not supported.
3898 # `unknown' -- same as none, but documents that we really don't know.
3899 # 'pass_all' -- all dependencies passed with no checks.
3900 # 'test_compile' -- check by making test program.
3901 # 'file_magic [regex]' -- check by looking for files in library path
3902 # which responds to the $file_magic_cmd with a given egrep regex.
3903 # If you have `file' or equivalent on your system and you're not sure
3904 # whether `pass_all' will *always* work, you probably want this one.
3906 case $host_os in
3907 aix*)
3908 lt_cv_deplibs_check_method=pass_all
3911 beos*)
3912 lt_cv_deplibs_check_method=pass_all
3915 bsdi4*)
3916 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3917 lt_cv_file_magic_cmd='/usr/bin/file -L'
3918 lt_cv_file_magic_test_file=/shlib/libc.so
3921 cygwin* | mingw* |pw32*)
3922 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3923 lt_cv_file_magic_cmd='$OBJDUMP -f'
3926 darwin* | rhapsody*)
3927 # this will be overwritten by pass_all, but leave it in just in case
3928 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3929 lt_cv_file_magic_cmd='/usr/bin/file -L'
3930 case "$host_os" in
3931 rhapsody* | darwin1.012)
3932 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3934 *) # Darwin 1.3 on
3935 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3937 esac
3938 lt_cv_deplibs_check_method=pass_all
3941 freebsd* )
3942 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3943 case $host_cpu in
3944 i*86 )
3945 # Not sure whether the presence of OpenBSD here was a mistake.
3946 # Let's accept both of them until this is cleared up.
3947 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3948 lt_cv_file_magic_cmd=/usr/bin/file
3949 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3951 esac
3952 else
3953 lt_cv_deplibs_check_method=pass_all
3957 gnu*)
3958 lt_cv_deplibs_check_method=pass_all
3961 hpux10.20*|hpux11*)
3962 case $host_cpu in
3963 hppa*)
3964 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3965 lt_cv_file_magic_cmd=/usr/bin/file
3966 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3968 ia64*)
3969 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3970 lt_cv_file_magic_cmd=/usr/bin/file
3971 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3973 esac
3976 irix5* | irix6*)
3977 case $host_os in
3978 irix5*)
3979 # this will be overridden with pass_all, but let us keep it just in case
3980 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3983 case $LD in
3984 *-32|*"-32 ") libmagic=32-bit;;
3985 *-n32|*"-n32 ") libmagic=N32;;
3986 *-64|*"-64 ") libmagic=64-bit;;
3987 *) libmagic=never-match;;
3988 esac
3989 # this will be overridden with pass_all, but let us keep it just in case
3990 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3992 esac
3993 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3994 lt_cv_deplibs_check_method=pass_all
3997 # This must be Linux ELF.
3998 linux-gnu*)
3999 case $host_cpu in
4000 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
4001 lt_cv_deplibs_check_method=pass_all ;;
4003 # glibc up to 2.1.1 does not perform some relocations on ARM
4004 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4005 esac
4006 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4009 netbsd*)
4010 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4011 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4012 else
4013 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4017 newsos6)
4018 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4019 lt_cv_file_magic_cmd=/usr/bin/file
4020 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4023 osf3* | osf4* | osf5*)
4024 # this will be overridden with pass_all, but let us keep it just in case
4025 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4026 lt_cv_file_magic_test_file=/shlib/libc.so
4027 lt_cv_deplibs_check_method=pass_all
4030 sco3.2v5*)
4031 lt_cv_deplibs_check_method=pass_all
4034 solaris*)
4035 lt_cv_deplibs_check_method=pass_all
4036 lt_cv_file_magic_test_file=/lib/libc.so
4039 sysv5uw[78]* | sysv4*uw2*)
4040 lt_cv_deplibs_check_method=pass_all
4043 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4044 case $host_vendor in
4045 ncr)
4046 lt_cv_deplibs_check_method=pass_all
4048 motorola)
4049 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]'
4050 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4052 esac
4054 esac
4057 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4058 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4059 file_magic_cmd=$lt_cv_file_magic_cmd
4060 deplibs_check_method=$lt_cv_deplibs_check_method
4066 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4068 # Only perform the check for file, if the check method requires it
4069 case $deplibs_check_method in
4070 file_magic*)
4071 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4072 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4073 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4074 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4075 echo $ECHO_N "(cached) $ECHO_C" >&6
4076 else
4077 case $MAGIC_CMD in
4079 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4081 ?:/*)
4082 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4085 ac_save_MAGIC_CMD="$MAGIC_CMD"
4086 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4087 ac_dummy="/usr/bin:$PATH"
4088 for ac_dir in $ac_dummy; do
4089 test -z "$ac_dir" && ac_dir=.
4090 if test -f $ac_dir/${ac_tool_prefix}file; then
4091 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4092 if test -n "$file_magic_test_file"; then
4093 case $deplibs_check_method in
4094 "file_magic "*)
4095 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4096 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4097 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4098 egrep "$file_magic_regex" > /dev/null; then
4100 else
4101 cat <<EOF 1>&2
4103 *** Warning: the command libtool uses to detect shared libraries,
4104 *** $file_magic_cmd, produces output that libtool cannot recognize.
4105 *** The result is that libtool may fail to recognize shared libraries
4106 *** as such. This will affect the creation of libtool libraries that
4107 *** depend on shared libraries, but programs linked with such libtool
4108 *** libraries will work regardless of this problem. Nevertheless, you
4109 *** may want to report the problem to your system manager and/or to
4110 *** bug-libtool@gnu.org
4113 fi ;;
4114 esac
4116 break
4118 done
4119 IFS="$ac_save_ifs"
4120 MAGIC_CMD="$ac_save_MAGIC_CMD"
4122 esac
4125 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4126 if test -n "$MAGIC_CMD"; then
4127 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4128 echo "${ECHO_T}$MAGIC_CMD" >&6
4129 else
4130 echo "$as_me:$LINENO: result: no" >&5
4131 echo "${ECHO_T}no" >&6
4134 if test -z "$lt_cv_path_MAGIC_CMD"; then
4135 if test -n "$ac_tool_prefix"; then
4136 echo "$as_me:$LINENO: checking for file" >&5
4137 echo $ECHO_N "checking for file... $ECHO_C" >&6
4138 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4139 echo $ECHO_N "(cached) $ECHO_C" >&6
4140 else
4141 case $MAGIC_CMD in
4143 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4145 ?:/*)
4146 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4149 ac_save_MAGIC_CMD="$MAGIC_CMD"
4150 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4151 ac_dummy="/usr/bin:$PATH"
4152 for ac_dir in $ac_dummy; do
4153 test -z "$ac_dir" && ac_dir=.
4154 if test -f $ac_dir/file; then
4155 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4156 if test -n "$file_magic_test_file"; then
4157 case $deplibs_check_method in
4158 "file_magic "*)
4159 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4160 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4161 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4162 egrep "$file_magic_regex" > /dev/null; then
4164 else
4165 cat <<EOF 1>&2
4167 *** Warning: the command libtool uses to detect shared libraries,
4168 *** $file_magic_cmd, produces output that libtool cannot recognize.
4169 *** The result is that libtool may fail to recognize shared libraries
4170 *** as such. This will affect the creation of libtool libraries that
4171 *** depend on shared libraries, but programs linked with such libtool
4172 *** libraries will work regardless of this problem. Nevertheless, you
4173 *** may want to report the problem to your system manager and/or to
4174 *** bug-libtool@gnu.org
4177 fi ;;
4178 esac
4180 break
4182 done
4183 IFS="$ac_save_ifs"
4184 MAGIC_CMD="$ac_save_MAGIC_CMD"
4186 esac
4189 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4190 if test -n "$MAGIC_CMD"; then
4191 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4192 echo "${ECHO_T}$MAGIC_CMD" >&6
4193 else
4194 echo "$as_me:$LINENO: result: no" >&5
4195 echo "${ECHO_T}no" >&6
4198 else
4199 MAGIC_CMD=:
4205 esac
4207 if test -n "$ac_tool_prefix"; then
4208 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4209 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4210 echo "$as_me:$LINENO: checking for $ac_word" >&5
4211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4212 if test "${ac_cv_prog_RANLIB+set}" = set; then
4213 echo $ECHO_N "(cached) $ECHO_C" >&6
4214 else
4215 if test -n "$RANLIB"; then
4216 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4217 else
4218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4219 for as_dir in $PATH
4221 IFS=$as_save_IFS
4222 test -z "$as_dir" && as_dir=.
4223 for ac_exec_ext in '' $ac_executable_extensions; do
4224 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4225 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4227 break 2
4229 done
4230 done
4234 RANLIB=$ac_cv_prog_RANLIB
4235 if test -n "$RANLIB"; then
4236 echo "$as_me:$LINENO: result: $RANLIB" >&5
4237 echo "${ECHO_T}$RANLIB" >&6
4238 else
4239 echo "$as_me:$LINENO: result: no" >&5
4240 echo "${ECHO_T}no" >&6
4244 if test -z "$ac_cv_prog_RANLIB"; then
4245 ac_ct_RANLIB=$RANLIB
4246 # Extract the first word of "ranlib", so it can be a program name with args.
4247 set dummy ranlib; ac_word=$2
4248 echo "$as_me:$LINENO: checking for $ac_word" >&5
4249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4250 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4251 echo $ECHO_N "(cached) $ECHO_C" >&6
4252 else
4253 if test -n "$ac_ct_RANLIB"; then
4254 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4255 else
4256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4257 for as_dir in $PATH
4259 IFS=$as_save_IFS
4260 test -z "$as_dir" && as_dir=.
4261 for ac_exec_ext in '' $ac_executable_extensions; do
4262 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4263 ac_cv_prog_ac_ct_RANLIB="ranlib"
4264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4265 break 2
4267 done
4268 done
4270 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4273 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4274 if test -n "$ac_ct_RANLIB"; then
4275 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4276 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4277 else
4278 echo "$as_me:$LINENO: result: no" >&5
4279 echo "${ECHO_T}no" >&6
4282 RANLIB=$ac_ct_RANLIB
4283 else
4284 RANLIB="$ac_cv_prog_RANLIB"
4287 if test -n "$ac_tool_prefix"; then
4288 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4289 set dummy ${ac_tool_prefix}strip; ac_word=$2
4290 echo "$as_me:$LINENO: checking for $ac_word" >&5
4291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4292 if test "${ac_cv_prog_STRIP+set}" = set; then
4293 echo $ECHO_N "(cached) $ECHO_C" >&6
4294 else
4295 if test -n "$STRIP"; then
4296 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4297 else
4298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4299 for as_dir in $PATH
4301 IFS=$as_save_IFS
4302 test -z "$as_dir" && as_dir=.
4303 for ac_exec_ext in '' $ac_executable_extensions; do
4304 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4305 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4307 break 2
4309 done
4310 done
4314 STRIP=$ac_cv_prog_STRIP
4315 if test -n "$STRIP"; then
4316 echo "$as_me:$LINENO: result: $STRIP" >&5
4317 echo "${ECHO_T}$STRIP" >&6
4318 else
4319 echo "$as_me:$LINENO: result: no" >&5
4320 echo "${ECHO_T}no" >&6
4324 if test -z "$ac_cv_prog_STRIP"; then
4325 ac_ct_STRIP=$STRIP
4326 # Extract the first word of "strip", so it can be a program name with args.
4327 set dummy strip; ac_word=$2
4328 echo "$as_me:$LINENO: checking for $ac_word" >&5
4329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4330 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4331 echo $ECHO_N "(cached) $ECHO_C" >&6
4332 else
4333 if test -n "$ac_ct_STRIP"; then
4334 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4335 else
4336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4337 for as_dir in $PATH
4339 IFS=$as_save_IFS
4340 test -z "$as_dir" && as_dir=.
4341 for ac_exec_ext in '' $ac_executable_extensions; do
4342 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4343 ac_cv_prog_ac_ct_STRIP="strip"
4344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4345 break 2
4347 done
4348 done
4350 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4353 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4354 if test -n "$ac_ct_STRIP"; then
4355 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4356 echo "${ECHO_T}$ac_ct_STRIP" >&6
4357 else
4358 echo "$as_me:$LINENO: result: no" >&5
4359 echo "${ECHO_T}no" >&6
4362 STRIP=$ac_ct_STRIP
4363 else
4364 STRIP="$ac_cv_prog_STRIP"
4368 # Check for any special flags to pass to ltconfig.
4369 libtool_flags="--cache-file=$cache_file"
4370 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4371 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4372 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4373 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4374 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4377 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4378 if test "${enable_libtool_lock+set}" = set; then
4379 enableval="$enable_libtool_lock"
4382 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4383 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4386 # Check whether --with-pic or --without-pic was given.
4387 if test "${with_pic+set}" = set; then
4388 withval="$with_pic"
4389 pic_mode="$withval"
4390 else
4391 pic_mode=default
4393 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4394 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4396 # Some flags need to be propagated to the compiler or linker for good
4397 # libtool support.
4398 case $host in
4399 *-*-irix6*)
4400 # Find out which ABI we are using.
4401 echo '#line 4401 "configure"' > conftest.$ac_ext
4402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4403 (eval $ac_compile) 2>&5
4404 ac_status=$?
4405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4406 (exit $ac_status); }; then
4407 if test "$lt_cv_prog_gnu_ld" = yes; then
4408 case `/usr/bin/file conftest.$ac_objext` in
4409 *32-bit*)
4410 LD="${LD-ld} -melf32bsmip"
4412 *N32*)
4413 LD="${LD-ld} -melf32bmipn32"
4415 *64-bit*)
4416 LD="${LD-ld} -melf64bmip"
4418 esac
4419 else
4420 case `/usr/bin/file conftest.$ac_objext` in
4421 *32-bit*)
4422 LD="${LD-ld} -32"
4424 *N32*)
4425 LD="${LD-ld} -n32"
4427 *64-bit*)
4428 LD="${LD-ld} -64"
4430 esac
4433 rm -rf conftest*
4436 ia64-*-hpux*)
4437 # Find out which ABI we are using.
4438 echo 'int i;' > conftest.$ac_ext
4439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4440 (eval $ac_compile) 2>&5
4441 ac_status=$?
4442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4443 (exit $ac_status); }; then
4444 case "`/usr/bin/file conftest.o`" in
4445 *ELF-32*)
4446 HPUX_IA64_MODE="32"
4448 *ELF-64*)
4449 HPUX_IA64_MODE="64"
4451 esac
4453 rm -rf conftest*
4456 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4457 # Find out which ABI we are using.
4458 echo 'int i;' > conftest.$ac_ext
4459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4460 (eval $ac_compile) 2>&5
4461 ac_status=$?
4462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4463 (exit $ac_status); }; then
4464 case "`/usr/bin/file conftest.o`" in
4465 *32-bit*)
4466 case $host in
4467 x86_64-*linux*)
4468 LD="${LD-ld} -m elf_i386"
4470 ppc64-*linux*|powerpc64-*linux*)
4471 LD="${LD-ld} -m elf32ppclinux"
4473 s390x-*linux*)
4474 LD="${LD-ld} -m elf_s390"
4476 sparc64-*linux*)
4477 LD="${LD-ld} -m elf32_sparc"
4479 esac
4481 *64-bit*)
4482 case $host in
4483 x86_64-*linux*)
4484 LD="${LD-ld} -m elf_x86_64"
4486 ppc*-*linux*|powerpc*-*linux*)
4487 LD="${LD-ld} -m elf64ppc"
4489 s390*-*linux*)
4490 LD="${LD-ld} -m elf64_s390"
4492 sparc*-*linux*)
4493 LD="${LD-ld} -m elf64_sparc"
4495 esac
4497 esac
4499 rm -rf conftest*
4502 *-*-sco3.2v5*)
4503 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4504 SAVE_CFLAGS="$CFLAGS"
4505 CFLAGS="$CFLAGS -belf"
4506 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4507 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4508 if test "${lt_cv_cc_needs_belf+set}" = set; then
4509 echo $ECHO_N "(cached) $ECHO_C" >&6
4510 else
4513 ac_ext=c
4514 ac_cpp='$CPP $CPPFLAGS'
4515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4519 if test x$gcc_no_link = xyes; then
4520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4522 { (exit 1); exit 1; }; }
4524 cat >conftest.$ac_ext <<_ACEOF
4525 /* confdefs.h. */
4526 _ACEOF
4527 cat confdefs.h >>conftest.$ac_ext
4528 cat >>conftest.$ac_ext <<_ACEOF
4529 /* end confdefs.h. */
4532 main ()
4536 return 0;
4538 _ACEOF
4539 rm -f conftest.$ac_objext conftest$ac_exeext
4540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4541 (eval $ac_link) 2>conftest.er1
4542 ac_status=$?
4543 grep -v '^ *+' conftest.er1 >conftest.err
4544 rm -f conftest.er1
4545 cat conftest.err >&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); } &&
4548 { ac_try='test -z "$ac_c_werror_flag"
4549 || test ! -s conftest.err'
4550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4551 (eval $ac_try) 2>&5
4552 ac_status=$?
4553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554 (exit $ac_status); }; } &&
4555 { ac_try='test -s conftest$ac_exeext'
4556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4557 (eval $ac_try) 2>&5
4558 ac_status=$?
4559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4560 (exit $ac_status); }; }; then
4561 lt_cv_cc_needs_belf=yes
4562 else
4563 echo "$as_me: failed program was:" >&5
4564 sed 's/^/| /' conftest.$ac_ext >&5
4566 lt_cv_cc_needs_belf=no
4568 rm -f conftest.err conftest.$ac_objext \
4569 conftest$ac_exeext conftest.$ac_ext
4570 ac_ext=c
4571 ac_cpp='$CPP $CPPFLAGS'
4572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4577 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4578 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4579 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4580 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4581 CFLAGS="$SAVE_CFLAGS"
4586 esac
4589 # Save cache, so that ltconfig can load it
4590 cat >confcache <<\_ACEOF
4591 # This file is a shell script that caches the results of configure
4592 # tests run on this system so they can be shared between configure
4593 # scripts and configure runs, see configure's option --config-cache.
4594 # It is not useful on other systems. If it contains results you don't
4595 # want to keep, you may remove or edit it.
4597 # config.status only pays attention to the cache file if you give it
4598 # the --recheck option to rerun configure.
4600 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4601 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4602 # following values.
4604 _ACEOF
4606 # The following way of writing the cache mishandles newlines in values,
4607 # but we know of no workaround that is simple, portable, and efficient.
4608 # So, don't put newlines in cache variables' values.
4609 # Ultrix sh set writes to stderr and can't be redirected directly,
4610 # and sets the high bit in the cache file unless we assign to the vars.
4612 (set) 2>&1 |
4613 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4614 *ac_space=\ *)
4615 # `set' does not quote correctly, so add quotes (double-quote
4616 # substitution turns \\\\ into \\, and sed turns \\ into \).
4617 sed -n \
4618 "s/'/'\\\\''/g;
4619 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4622 # `set' quotes correctly as required by POSIX, so do not add quotes.
4623 sed -n \
4624 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4626 esac;
4628 sed '
4629 t clear
4630 : clear
4631 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4632 t end
4633 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4634 : end' >>confcache
4635 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4636 if test -w $cache_file; then
4637 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4638 cat confcache >$cache_file
4639 else
4640 echo "not updating unwritable cache $cache_file"
4643 rm -f confcache
4645 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4646 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4647 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4648 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4649 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4650 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4651 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4652 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4653 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4654 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4655 echo "$as_me: error: libtool configure failed" >&2;}
4656 { (exit 1); exit 1; }; }
4658 # Reload cache, that may have been modified by ltconfig
4659 if test -r "$cache_file"; then
4660 # Some versions of bash will fail to source /dev/null (special
4661 # files actually), so we avoid doing that.
4662 if test -f "$cache_file"; then
4663 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4664 echo "$as_me: loading cache $cache_file" >&6;}
4665 case $cache_file in
4666 [\\/]* | ?:[\\/]* ) . $cache_file;;
4667 *) . ./$cache_file;;
4668 esac
4670 else
4671 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4672 echo "$as_me: creating cache $cache_file" >&6;}
4673 >$cache_file
4677 # This can be used to rebuild libtool when needed
4678 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4680 # Always use our own libtool.
4681 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4683 # Redirect the config.log output again, so that the ltconfig log is not
4684 # clobbered by the next message.
4685 exec 5>>./config.log
4687 ac_ext=cc
4688 ac_cpp='$CXXCPP $CPPFLAGS'
4689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4692 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4693 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4694 if test -z "$CXXCPP"; then
4695 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4696 echo $ECHO_N "(cached) $ECHO_C" >&6
4697 else
4698 # Double quotes because CXXCPP needs to be expanded
4699 for CXXCPP in "$CXX -E" "/lib/cpp"
4701 ac_preproc_ok=false
4702 for ac_cxx_preproc_warn_flag in '' yes
4704 # Use a header file that comes with gcc, so configuring glibc
4705 # with a fresh cross-compiler works.
4706 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4707 # <limits.h> exists even on freestanding compilers.
4708 # On the NeXT, cc -E runs the code through the compiler's parser,
4709 # not just through cpp. "Syntax error" is here to catch this case.
4710 cat >conftest.$ac_ext <<_ACEOF
4711 /* confdefs.h. */
4712 _ACEOF
4713 cat confdefs.h >>conftest.$ac_ext
4714 cat >>conftest.$ac_ext <<_ACEOF
4715 /* end confdefs.h. */
4716 #ifdef __STDC__
4717 # include <limits.h>
4718 #else
4719 # include <assert.h>
4720 #endif
4721 Syntax error
4722 _ACEOF
4723 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4724 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4725 ac_status=$?
4726 grep -v '^ *+' conftest.er1 >conftest.err
4727 rm -f conftest.er1
4728 cat conftest.err >&5
4729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730 (exit $ac_status); } >/dev/null; then
4731 if test -s conftest.err; then
4732 ac_cpp_err=$ac_cxx_preproc_warn_flag
4733 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4734 else
4735 ac_cpp_err=
4737 else
4738 ac_cpp_err=yes
4740 if test -z "$ac_cpp_err"; then
4742 else
4743 echo "$as_me: failed program was:" >&5
4744 sed 's/^/| /' conftest.$ac_ext >&5
4746 # Broken: fails on valid input.
4747 continue
4749 rm -f conftest.err conftest.$ac_ext
4751 # OK, works on sane cases. Now check whether non-existent headers
4752 # can be detected and how.
4753 cat >conftest.$ac_ext <<_ACEOF
4754 /* confdefs.h. */
4755 _ACEOF
4756 cat confdefs.h >>conftest.$ac_ext
4757 cat >>conftest.$ac_ext <<_ACEOF
4758 /* end confdefs.h. */
4759 #include <ac_nonexistent.h>
4760 _ACEOF
4761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4762 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4763 ac_status=$?
4764 grep -v '^ *+' conftest.er1 >conftest.err
4765 rm -f conftest.er1
4766 cat conftest.err >&5
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); } >/dev/null; then
4769 if test -s conftest.err; then
4770 ac_cpp_err=$ac_cxx_preproc_warn_flag
4771 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4772 else
4773 ac_cpp_err=
4775 else
4776 ac_cpp_err=yes
4778 if test -z "$ac_cpp_err"; then
4779 # Broken: success on invalid input.
4780 continue
4781 else
4782 echo "$as_me: failed program was:" >&5
4783 sed 's/^/| /' conftest.$ac_ext >&5
4785 # Passes both tests.
4786 ac_preproc_ok=:
4787 break
4789 rm -f conftest.err conftest.$ac_ext
4791 done
4792 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4793 rm -f conftest.err conftest.$ac_ext
4794 if $ac_preproc_ok; then
4795 break
4798 done
4799 ac_cv_prog_CXXCPP=$CXXCPP
4802 CXXCPP=$ac_cv_prog_CXXCPP
4803 else
4804 ac_cv_prog_CXXCPP=$CXXCPP
4806 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4807 echo "${ECHO_T}$CXXCPP" >&6
4808 ac_preproc_ok=false
4809 for ac_cxx_preproc_warn_flag in '' yes
4811 # Use a header file that comes with gcc, so configuring glibc
4812 # with a fresh cross-compiler works.
4813 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4814 # <limits.h> exists even on freestanding compilers.
4815 # On the NeXT, cc -E runs the code through the compiler's parser,
4816 # not just through cpp. "Syntax error" is here to catch this case.
4817 cat >conftest.$ac_ext <<_ACEOF
4818 /* confdefs.h. */
4819 _ACEOF
4820 cat confdefs.h >>conftest.$ac_ext
4821 cat >>conftest.$ac_ext <<_ACEOF
4822 /* end confdefs.h. */
4823 #ifdef __STDC__
4824 # include <limits.h>
4825 #else
4826 # include <assert.h>
4827 #endif
4828 Syntax error
4829 _ACEOF
4830 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4831 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4832 ac_status=$?
4833 grep -v '^ *+' conftest.er1 >conftest.err
4834 rm -f conftest.er1
4835 cat conftest.err >&5
4836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4837 (exit $ac_status); } >/dev/null; then
4838 if test -s conftest.err; then
4839 ac_cpp_err=$ac_cxx_preproc_warn_flag
4840 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4841 else
4842 ac_cpp_err=
4844 else
4845 ac_cpp_err=yes
4847 if test -z "$ac_cpp_err"; then
4849 else
4850 echo "$as_me: failed program was:" >&5
4851 sed 's/^/| /' conftest.$ac_ext >&5
4853 # Broken: fails on valid input.
4854 continue
4856 rm -f conftest.err conftest.$ac_ext
4858 # OK, works on sane cases. Now check whether non-existent headers
4859 # can be detected and how.
4860 cat >conftest.$ac_ext <<_ACEOF
4861 /* confdefs.h. */
4862 _ACEOF
4863 cat confdefs.h >>conftest.$ac_ext
4864 cat >>conftest.$ac_ext <<_ACEOF
4865 /* end confdefs.h. */
4866 #include <ac_nonexistent.h>
4867 _ACEOF
4868 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4869 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4870 ac_status=$?
4871 grep -v '^ *+' conftest.er1 >conftest.err
4872 rm -f conftest.er1
4873 cat conftest.err >&5
4874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4875 (exit $ac_status); } >/dev/null; then
4876 if test -s conftest.err; then
4877 ac_cpp_err=$ac_cxx_preproc_warn_flag
4878 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4879 else
4880 ac_cpp_err=
4882 else
4883 ac_cpp_err=yes
4885 if test -z "$ac_cpp_err"; then
4886 # Broken: success on invalid input.
4887 continue
4888 else
4889 echo "$as_me: failed program was:" >&5
4890 sed 's/^/| /' conftest.$ac_ext >&5
4892 # Passes both tests.
4893 ac_preproc_ok=:
4894 break
4896 rm -f conftest.err conftest.$ac_ext
4898 done
4899 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4900 rm -f conftest.err conftest.$ac_ext
4901 if $ac_preproc_ok; then
4903 else
4904 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4905 See \`config.log' for more details." >&5
4906 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4907 See \`config.log' for more details." >&2;}
4908 { (exit 1); exit 1; }; }
4911 ac_ext=c
4912 ac_cpp='$CPP $CPPFLAGS'
4913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4919 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4920 lt_save_CC="$CC"
4921 lt_save_CFLAGS="$CFLAGS"
4922 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4923 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4924 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4925 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4926 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4927 deplibs_check_method="$deplibs_check_method" \
4928 file_magic_cmd="$file_magic_cmd" \
4929 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4930 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4931 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4932 echo "$as_me: error: libtool tag configuration failed" >&2;}
4933 { (exit 1); exit 1; }; }
4934 CC="$lt_save_CC"
4935 CFLAGS="$lt_save_CFLAGS"
4937 # Redirect the config.log output again, so that the ltconfig log is not
4938 # clobbered by the next message.
4939 exec 5>>./config.log
4948 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4950 # Possibly disable most of the library.
4951 ## XXX Consider skipping unncessary tests altogether in this case, rather
4952 ## than just ignoring the results. Faster /and/ more correct, win win.
4954 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4955 if test "${enable_hosted_libstdcxx+set}" = set; then
4956 enableval="$enable_hosted_libstdcxx"
4958 else
4959 enable_hosted_libstdcxx=yes
4961 if test "$enable_hosted_libstdcxx" = no; then
4962 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4963 echo "$as_me: Only freestanding libraries will be built" >&6;}
4964 is_hosted=no
4965 hosted_define=0
4966 enable_abi_check=no
4967 enable_libstdcxx_pch=no
4968 else
4969 is_hosted=yes
4970 hosted_define=1
4974 cat >>confdefs.h <<_ACEOF
4975 #define _GLIBCXX_HOSTED $hosted_define
4976 _ACEOF
4980 # Check for support bits and g++ features that don't require linking.
4982 echo "$as_me:$LINENO: checking for exception model to use" >&5
4983 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4986 ac_ext=cc
4987 ac_cpp='$CXXCPP $CPPFLAGS'
4988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4992 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4993 if test "${enable_sjlj_exceptions+set}" = set; then
4994 enableval="$enable_sjlj_exceptions"
4996 case "$enableval" in
4997 yes|no|auto) ;;
4998 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
4999 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5000 { (exit 1); exit 1; }; } ;;
5001 esac
5003 else
5004 enable_sjlj_exceptions=auto
5008 if test $enable_sjlj_exceptions = auto; then
5009 # Botheration. Now we've got to detect the exception model. Link tests
5010 # against libgcc.a are problematic since we've not been given proper -L
5011 # bits for single-tree newlib and libgloss.
5013 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
5014 cat > conftest.$ac_ext << EOF
5015 #line 5015 "configure"
5016 struct S { ~S(); };
5017 void bar();
5018 void foo()
5020 S s;
5021 bar();
5024 old_CXXFLAGS="$CXXFLAGS"
5025 CXXFLAGS=-S
5026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5027 (eval $ac_compile) 2>&5
5028 ac_status=$?
5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); }; then
5031 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5032 enable_sjlj_exceptions=yes
5033 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5034 enable_sjlj_exceptions=no
5037 CXXFLAGS="$old_CXXFLAGS"
5038 rm -f conftest*
5041 # This is a tad weird, for hysterical raisins. We have to map enable/disable
5042 # to two different models.
5043 case $enable_sjlj_exceptions in
5044 yes)
5046 cat >>confdefs.h <<\_ACEOF
5047 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5048 _ACEOF
5050 ac_exception_model_name=sjlj
5053 ac_exception_model_name="call frame"
5056 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5057 echo "$as_me: error: unable to detect exception model" >&2;}
5058 { (exit 1); exit 1; }; }
5060 esac
5061 ac_ext=c
5062 ac_cpp='$CPP $CPPFLAGS'
5063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5067 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5068 echo "${ECHO_T}$ac_exception_model_name" >&6
5071 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5072 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5073 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5074 if test "${enable_libstdcxx_pch+set}" = set; then
5075 enableval="$enable_libstdcxx_pch"
5077 case "$enableval" in
5078 yes|no) ;;
5079 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5080 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5081 { (exit 1); exit 1; }; } ;;
5082 esac
5084 else
5085 enable_libstdcxx_pch=$is_hosted
5088 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5089 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5091 if test $enable_libstdcxx_pch = yes; then
5092 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5093 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5094 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5095 echo $ECHO_N "(cached) $ECHO_C" >&6
5096 else
5097 ac_save_CXXFLAGS="$CXXFLAGS"
5098 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5101 ac_ext=cc
5102 ac_cpp='$CXXCPP $CPPFLAGS'
5103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5107 echo '#include <math.h>' > conftest.h
5108 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5109 -o conftest.h.gch 1>&5 2>&1 &&
5110 echo '#error "pch failed"' > conftest.h &&
5111 echo '#include "conftest.h"' > conftest.cc &&
5112 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5113 then
5114 glibcxx_cv_prog_CXX_pch=yes
5115 else
5116 glibcxx_cv_prog_CXX_pch=no
5118 rm -f conftest*
5119 CXXFLAGS=$ac_save_CXXFLAGS
5120 ac_ext=c
5121 ac_cpp='$CPP $CPPFLAGS'
5122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5128 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5129 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5130 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5134 if test $enable_libstdcxx_pch = yes; then
5135 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5136 else
5137 glibcxx_PCHFLAGS=""
5142 # Enable all the variable C++ runtime options.
5143 # NB: C_MBCHAR must come early.
5145 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5146 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5147 # Check whether --enable-cstdio or --disable-cstdio was given.
5148 if test "${enable_cstdio+set}" = set; then
5149 enableval="$enable_cstdio"
5151 case "$enableval" in
5152 stdio) ;;
5153 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5154 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5155 { (exit 1); exit 1; }; } ;;
5156 esac
5158 else
5159 enable_cstdio=stdio
5163 # Now that libio has been removed, you can have any color you want as long
5164 # as it's black. This is one big no-op until other packages are added, but
5165 # showing the framework never hurts.
5166 case ${enable_cstdio} in
5167 stdio)
5168 CSTDIO_H=config/io/c_io_stdio.h
5169 BASIC_FILE_H=config/io/basic_file_stdio.h
5170 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5171 echo "$as_me:$LINENO: result: stdio" >&5
5172 echo "${ECHO_T}stdio" >&6
5174 esac
5180 ac_ext=c
5181 ac_cpp='$CPP $CPPFLAGS'
5182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5185 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5186 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5187 # On Suns, sometimes $CPP names a directory.
5188 if test -n "$CPP" && test -d "$CPP"; then
5189 CPP=
5191 if test -z "$CPP"; then
5192 if test "${ac_cv_prog_CPP+set}" = set; then
5193 echo $ECHO_N "(cached) $ECHO_C" >&6
5194 else
5195 # Double quotes because CPP needs to be expanded
5196 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5198 ac_preproc_ok=false
5199 for ac_c_preproc_warn_flag in '' yes
5201 # Use a header file that comes with gcc, so configuring glibc
5202 # with a fresh cross-compiler works.
5203 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5204 # <limits.h> exists even on freestanding compilers.
5205 # On the NeXT, cc -E runs the code through the compiler's parser,
5206 # not just through cpp. "Syntax error" is here to catch this case.
5207 cat >conftest.$ac_ext <<_ACEOF
5208 /* confdefs.h. */
5209 _ACEOF
5210 cat confdefs.h >>conftest.$ac_ext
5211 cat >>conftest.$ac_ext <<_ACEOF
5212 /* end confdefs.h. */
5213 #ifdef __STDC__
5214 # include <limits.h>
5215 #else
5216 # include <assert.h>
5217 #endif
5218 Syntax error
5219 _ACEOF
5220 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5221 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5222 ac_status=$?
5223 grep -v '^ *+' conftest.er1 >conftest.err
5224 rm -f conftest.er1
5225 cat conftest.err >&5
5226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5227 (exit $ac_status); } >/dev/null; then
5228 if test -s conftest.err; then
5229 ac_cpp_err=$ac_c_preproc_warn_flag
5230 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5231 else
5232 ac_cpp_err=
5234 else
5235 ac_cpp_err=yes
5237 if test -z "$ac_cpp_err"; then
5239 else
5240 echo "$as_me: failed program was:" >&5
5241 sed 's/^/| /' conftest.$ac_ext >&5
5243 # Broken: fails on valid input.
5244 continue
5246 rm -f conftest.err conftest.$ac_ext
5248 # OK, works on sane cases. Now check whether non-existent headers
5249 # can be detected and how.
5250 cat >conftest.$ac_ext <<_ACEOF
5251 /* confdefs.h. */
5252 _ACEOF
5253 cat confdefs.h >>conftest.$ac_ext
5254 cat >>conftest.$ac_ext <<_ACEOF
5255 /* end confdefs.h. */
5256 #include <ac_nonexistent.h>
5257 _ACEOF
5258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5259 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5260 ac_status=$?
5261 grep -v '^ *+' conftest.er1 >conftest.err
5262 rm -f conftest.er1
5263 cat conftest.err >&5
5264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5265 (exit $ac_status); } >/dev/null; then
5266 if test -s conftest.err; then
5267 ac_cpp_err=$ac_c_preproc_warn_flag
5268 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5269 else
5270 ac_cpp_err=
5272 else
5273 ac_cpp_err=yes
5275 if test -z "$ac_cpp_err"; then
5276 # Broken: success on invalid input.
5277 continue
5278 else
5279 echo "$as_me: failed program was:" >&5
5280 sed 's/^/| /' conftest.$ac_ext >&5
5282 # Passes both tests.
5283 ac_preproc_ok=:
5284 break
5286 rm -f conftest.err conftest.$ac_ext
5288 done
5289 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5290 rm -f conftest.err conftest.$ac_ext
5291 if $ac_preproc_ok; then
5292 break
5295 done
5296 ac_cv_prog_CPP=$CPP
5299 CPP=$ac_cv_prog_CPP
5300 else
5301 ac_cv_prog_CPP=$CPP
5303 echo "$as_me:$LINENO: result: $CPP" >&5
5304 echo "${ECHO_T}$CPP" >&6
5305 ac_preproc_ok=false
5306 for ac_c_preproc_warn_flag in '' yes
5308 # Use a header file that comes with gcc, so configuring glibc
5309 # with a fresh cross-compiler works.
5310 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5311 # <limits.h> exists even on freestanding compilers.
5312 # On the NeXT, cc -E runs the code through the compiler's parser,
5313 # not just through cpp. "Syntax error" is here to catch this case.
5314 cat >conftest.$ac_ext <<_ACEOF
5315 /* confdefs.h. */
5316 _ACEOF
5317 cat confdefs.h >>conftest.$ac_ext
5318 cat >>conftest.$ac_ext <<_ACEOF
5319 /* end confdefs.h. */
5320 #ifdef __STDC__
5321 # include <limits.h>
5322 #else
5323 # include <assert.h>
5324 #endif
5325 Syntax error
5326 _ACEOF
5327 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5328 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5329 ac_status=$?
5330 grep -v '^ *+' conftest.er1 >conftest.err
5331 rm -f conftest.er1
5332 cat conftest.err >&5
5333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5334 (exit $ac_status); } >/dev/null; then
5335 if test -s conftest.err; then
5336 ac_cpp_err=$ac_c_preproc_warn_flag
5337 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5338 else
5339 ac_cpp_err=
5341 else
5342 ac_cpp_err=yes
5344 if test -z "$ac_cpp_err"; then
5346 else
5347 echo "$as_me: failed program was:" >&5
5348 sed 's/^/| /' conftest.$ac_ext >&5
5350 # Broken: fails on valid input.
5351 continue
5353 rm -f conftest.err conftest.$ac_ext
5355 # OK, works on sane cases. Now check whether non-existent headers
5356 # can be detected and how.
5357 cat >conftest.$ac_ext <<_ACEOF
5358 /* confdefs.h. */
5359 _ACEOF
5360 cat confdefs.h >>conftest.$ac_ext
5361 cat >>conftest.$ac_ext <<_ACEOF
5362 /* end confdefs.h. */
5363 #include <ac_nonexistent.h>
5364 _ACEOF
5365 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5366 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5367 ac_status=$?
5368 grep -v '^ *+' conftest.er1 >conftest.err
5369 rm -f conftest.er1
5370 cat conftest.err >&5
5371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5372 (exit $ac_status); } >/dev/null; then
5373 if test -s conftest.err; then
5374 ac_cpp_err=$ac_c_preproc_warn_flag
5375 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5376 else
5377 ac_cpp_err=
5379 else
5380 ac_cpp_err=yes
5382 if test -z "$ac_cpp_err"; then
5383 # Broken: success on invalid input.
5384 continue
5385 else
5386 echo "$as_me: failed program was:" >&5
5387 sed 's/^/| /' conftest.$ac_ext >&5
5389 # Passes both tests.
5390 ac_preproc_ok=:
5391 break
5393 rm -f conftest.err conftest.$ac_ext
5395 done
5396 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5397 rm -f conftest.err conftest.$ac_ext
5398 if $ac_preproc_ok; then
5400 else
5401 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5402 See \`config.log' for more details." >&5
5403 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5404 See \`config.log' for more details." >&2;}
5405 { (exit 1); exit 1; }; }
5408 ac_ext=c
5409 ac_cpp='$CPP $CPPFLAGS'
5410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5415 echo "$as_me:$LINENO: checking for egrep" >&5
5416 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5417 if test "${ac_cv_prog_egrep+set}" = set; then
5418 echo $ECHO_N "(cached) $ECHO_C" >&6
5419 else
5420 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5421 then ac_cv_prog_egrep='grep -E'
5422 else ac_cv_prog_egrep='egrep'
5425 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5426 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5427 EGREP=$ac_cv_prog_egrep
5430 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5431 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5432 if test "${ac_cv_header_stdc+set}" = set; then
5433 echo $ECHO_N "(cached) $ECHO_C" >&6
5434 else
5435 cat >conftest.$ac_ext <<_ACEOF
5436 /* confdefs.h. */
5437 _ACEOF
5438 cat confdefs.h >>conftest.$ac_ext
5439 cat >>conftest.$ac_ext <<_ACEOF
5440 /* end confdefs.h. */
5441 #include <stdlib.h>
5442 #include <stdarg.h>
5443 #include <string.h>
5444 #include <float.h>
5447 main ()
5451 return 0;
5453 _ACEOF
5454 rm -f conftest.$ac_objext
5455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5456 (eval $ac_compile) 2>conftest.er1
5457 ac_status=$?
5458 grep -v '^ *+' conftest.er1 >conftest.err
5459 rm -f conftest.er1
5460 cat conftest.err >&5
5461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5462 (exit $ac_status); } &&
5463 { ac_try='test -z "$ac_c_werror_flag"
5464 || test ! -s conftest.err'
5465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5466 (eval $ac_try) 2>&5
5467 ac_status=$?
5468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5469 (exit $ac_status); }; } &&
5470 { ac_try='test -s conftest.$ac_objext'
5471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5472 (eval $ac_try) 2>&5
5473 ac_status=$?
5474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5475 (exit $ac_status); }; }; then
5476 ac_cv_header_stdc=yes
5477 else
5478 echo "$as_me: failed program was:" >&5
5479 sed 's/^/| /' conftest.$ac_ext >&5
5481 ac_cv_header_stdc=no
5483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5485 if test $ac_cv_header_stdc = yes; then
5486 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5487 cat >conftest.$ac_ext <<_ACEOF
5488 /* confdefs.h. */
5489 _ACEOF
5490 cat confdefs.h >>conftest.$ac_ext
5491 cat >>conftest.$ac_ext <<_ACEOF
5492 /* end confdefs.h. */
5493 #include <string.h>
5495 _ACEOF
5496 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5497 $EGREP "memchr" >/dev/null 2>&1; then
5499 else
5500 ac_cv_header_stdc=no
5502 rm -f conftest*
5506 if test $ac_cv_header_stdc = yes; then
5507 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5508 cat >conftest.$ac_ext <<_ACEOF
5509 /* confdefs.h. */
5510 _ACEOF
5511 cat confdefs.h >>conftest.$ac_ext
5512 cat >>conftest.$ac_ext <<_ACEOF
5513 /* end confdefs.h. */
5514 #include <stdlib.h>
5516 _ACEOF
5517 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5518 $EGREP "free" >/dev/null 2>&1; then
5520 else
5521 ac_cv_header_stdc=no
5523 rm -f conftest*
5527 if test $ac_cv_header_stdc = yes; then
5528 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5529 if test "$cross_compiling" = yes; then
5531 else
5532 cat >conftest.$ac_ext <<_ACEOF
5533 /* confdefs.h. */
5534 _ACEOF
5535 cat confdefs.h >>conftest.$ac_ext
5536 cat >>conftest.$ac_ext <<_ACEOF
5537 /* end confdefs.h. */
5538 #include <ctype.h>
5539 #if ((' ' & 0x0FF) == 0x020)
5540 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5541 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5542 #else
5543 # define ISLOWER(c) \
5544 (('a' <= (c) && (c) <= 'i') \
5545 || ('j' <= (c) && (c) <= 'r') \
5546 || ('s' <= (c) && (c) <= 'z'))
5547 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5548 #endif
5550 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5552 main ()
5554 int i;
5555 for (i = 0; i < 256; i++)
5556 if (XOR (islower (i), ISLOWER (i))
5557 || toupper (i) != TOUPPER (i))
5558 exit(2);
5559 exit (0);
5561 _ACEOF
5562 rm -f conftest$ac_exeext
5563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5564 (eval $ac_link) 2>&5
5565 ac_status=$?
5566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5567 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5569 (eval $ac_try) 2>&5
5570 ac_status=$?
5571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5572 (exit $ac_status); }; }; then
5574 else
5575 echo "$as_me: program exited with status $ac_status" >&5
5576 echo "$as_me: failed program was:" >&5
5577 sed 's/^/| /' conftest.$ac_ext >&5
5579 ( exit $ac_status )
5580 ac_cv_header_stdc=no
5582 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5586 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5587 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5588 if test $ac_cv_header_stdc = yes; then
5590 cat >>confdefs.h <<\_ACEOF
5591 #define STDC_HEADERS 1
5592 _ACEOF
5596 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5606 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5607 inttypes.h stdint.h unistd.h
5609 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5610 echo "$as_me:$LINENO: checking for $ac_header" >&5
5611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5613 echo $ECHO_N "(cached) $ECHO_C" >&6
5614 else
5615 cat >conftest.$ac_ext <<_ACEOF
5616 /* confdefs.h. */
5617 _ACEOF
5618 cat confdefs.h >>conftest.$ac_ext
5619 cat >>conftest.$ac_ext <<_ACEOF
5620 /* end confdefs.h. */
5621 $ac_includes_default
5623 #include <$ac_header>
5624 _ACEOF
5625 rm -f conftest.$ac_objext
5626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5627 (eval $ac_compile) 2>conftest.er1
5628 ac_status=$?
5629 grep -v '^ *+' conftest.er1 >conftest.err
5630 rm -f conftest.er1
5631 cat conftest.err >&5
5632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5633 (exit $ac_status); } &&
5634 { ac_try='test -z "$ac_c_werror_flag"
5635 || test ! -s conftest.err'
5636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5637 (eval $ac_try) 2>&5
5638 ac_status=$?
5639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5640 (exit $ac_status); }; } &&
5641 { ac_try='test -s conftest.$ac_objext'
5642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5643 (eval $ac_try) 2>&5
5644 ac_status=$?
5645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5646 (exit $ac_status); }; }; then
5647 eval "$as_ac_Header=yes"
5648 else
5649 echo "$as_me: failed program was:" >&5
5650 sed 's/^/| /' conftest.$ac_ext >&5
5652 eval "$as_ac_Header=no"
5654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5658 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5659 cat >>confdefs.h <<_ACEOF
5660 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5661 _ACEOF
5665 done
5669 echo "$as_me:$LINENO: checking for C locale to use" >&5
5670 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5671 # Check whether --enable-clocale or --disable-clocale was given.
5672 if test "${enable_clocale+set}" = set; then
5673 enableval="$enable_clocale"
5675 case "$enableval" in
5676 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5677 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5678 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5679 { (exit 1); exit 1; }; } ;;
5680 esac
5682 else
5683 enable_clocale=auto
5687 # If they didn't use this option switch, or if they specified --enable
5688 # with no specific model, we'll have to look for one. If they
5689 # specified --disable (???), do likewise.
5690 if test $enable_clocale = no || test $enable_clocale = yes; then
5691 enable_clocale=auto
5694 # Either a known package, or "auto"
5695 enable_clocale_flag=$enable_clocale
5697 # Probe for locale support if no specific model is specified.
5698 # Default to "generic".
5699 if test $enable_clocale_flag = auto; then
5700 case x${target_os} in
5701 xlinux* | xgnu* | xkfreebsd*-gnu | xknetbsd*-gnu)
5702 cat >conftest.$ac_ext <<_ACEOF
5703 /* confdefs.h. */
5704 _ACEOF
5705 cat confdefs.h >>conftest.$ac_ext
5706 cat >>conftest.$ac_ext <<_ACEOF
5707 /* end confdefs.h. */
5709 #include <features.h>
5710 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5711 _GLIBCXX_ok
5712 #endif
5714 _ACEOF
5715 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5716 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5717 enable_clocale_flag=gnu
5718 else
5719 enable_clocale_flag=generic
5721 rm -f conftest*
5724 # Test for bugs early in glibc-2.2.x series
5725 if test x$enable_clocale_flag = xgnu; then
5726 if test "$cross_compiling" = yes; then
5727 enable_clocale_flag=generic
5728 else
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 #define _GNU_SOURCE 1
5737 #include <locale.h>
5738 #include <string.h>
5739 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5740 extern __typeof(newlocale) __newlocale;
5741 extern __typeof(duplocale) __duplocale;
5742 extern __typeof(strcoll_l) __strcoll_l;
5743 #endif
5744 int main()
5746 const char __one[] = "Äuglein Augmen";
5747 const char __two[] = "Äuglein";
5748 int i;
5749 int j;
5750 __locale_t loc;
5751 __locale_t loc_dup;
5752 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5753 loc_dup = __duplocale(loc);
5754 i = __strcoll_l(__one, __two, loc);
5755 j = __strcoll_l(__one, __two, loc_dup);
5756 return 0;
5759 _ACEOF
5760 rm -f conftest$ac_exeext
5761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5762 (eval $ac_link) 2>&5
5763 ac_status=$?
5764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5765 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5767 (eval $ac_try) 2>&5
5768 ac_status=$?
5769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5770 (exit $ac_status); }; }; then
5771 enable_clocale_flag=gnu
5772 else
5773 echo "$as_me: program exited with status $ac_status" >&5
5774 echo "$as_me: failed program was:" >&5
5775 sed 's/^/| /' conftest.$ac_ext >&5
5777 ( exit $ac_status )
5778 enable_clocale_flag=generic
5780 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5784 # ... at some point put __strxfrm_l tests in as well.
5787 enable_clocale_flag=generic
5789 esac
5792 # Deal with gettext issues. Default to not using it (=no) until we detect
5793 # support for it later. Let the user turn it off via --e/d, but let that
5794 # default to on for easier handling.
5795 USE_NLS=no
5796 # Check whether --enable-nls or --disable-nls was given.
5797 if test "${enable_nls+set}" = set; then
5798 enableval="$enable_nls"
5800 else
5801 enable_nls=yes
5804 # Set configure bits for specified locale package
5805 case ${enable_clocale_flag} in
5806 generic)
5807 echo "$as_me:$LINENO: result: generic" >&5
5808 echo "${ECHO_T}generic" >&6
5810 CLOCALE_H=config/locale/generic/c_locale.h
5811 CLOCALE_CC=config/locale/generic/c_locale.cc
5812 CCODECVT_H=config/locale/generic/codecvt_specializations.h
5813 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5814 CCOLLATE_CC=config/locale/generic/collate_members.cc
5815 CCTYPE_CC=config/locale/generic/ctype_members.cc
5816 CMESSAGES_H=config/locale/generic/messages_members.h
5817 CMESSAGES_CC=config/locale/generic/messages_members.cc
5818 CMONEY_CC=config/locale/generic/monetary_members.cc
5819 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5820 CTIME_H=config/locale/generic/time_members.h
5821 CTIME_CC=config/locale/generic/time_members.cc
5822 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5824 gnu)
5825 echo "$as_me:$LINENO: result: gnu" >&5
5826 echo "${ECHO_T}gnu" >&6
5828 # Declare intention to use gettext, and add support for specific
5829 # languages.
5830 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5831 ALL_LINGUAS="de fr"
5833 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5834 # Extract the first word of "msgfmt", so it can be a program name with args.
5835 set dummy msgfmt; ac_word=$2
5836 echo "$as_me:$LINENO: checking for $ac_word" >&5
5837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5838 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5839 echo $ECHO_N "(cached) $ECHO_C" >&6
5840 else
5841 if test -n "$check_msgfmt"; then
5842 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5843 else
5844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5845 for as_dir in $PATH
5847 IFS=$as_save_IFS
5848 test -z "$as_dir" && as_dir=.
5849 for ac_exec_ext in '' $ac_executable_extensions; do
5850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5851 ac_cv_prog_check_msgfmt="yes"
5852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5853 break 2
5855 done
5856 done
5858 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5861 check_msgfmt=$ac_cv_prog_check_msgfmt
5862 if test -n "$check_msgfmt"; then
5863 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5864 echo "${ECHO_T}$check_msgfmt" >&6
5865 else
5866 echo "$as_me:$LINENO: result: no" >&5
5867 echo "${ECHO_T}no" >&6
5870 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5871 USE_NLS=yes
5873 # Export the build objects.
5874 for ling in $ALL_LINGUAS; do \
5875 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5876 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5877 done
5881 CLOCALE_H=config/locale/gnu/c_locale.h
5882 CLOCALE_CC=config/locale/gnu/c_locale.cc
5883 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5884 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5885 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5886 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5887 CMESSAGES_H=config/locale/gnu/messages_members.h
5888 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5889 CMONEY_CC=config/locale/gnu/monetary_members.cc
5890 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5891 CTIME_H=config/locale/gnu/time_members.h
5892 CTIME_CC=config/locale/gnu/time_members.cc
5893 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5895 ieee_1003.1-2001)
5896 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5897 echo "${ECHO_T}IEEE 1003.1" >&6
5899 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5900 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5901 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5902 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5903 CCOLLATE_CC=config/locale/generic/collate_members.cc
5904 CCTYPE_CC=config/locale/generic/ctype_members.cc
5905 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5906 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5907 CMONEY_CC=config/locale/generic/monetary_members.cc
5908 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5909 CTIME_H=config/locale/generic/time_members.h
5910 CTIME_CC=config/locale/generic/time_members.cc
5911 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5913 esac
5915 # This is where the testsuite looks for locale catalogs, using the
5916 # -DLOCALEDIR define during testsuite compilation.
5917 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5920 # A standalone libintl (e.g., GNU libintl) may be in use.
5921 if test $USE_NLS = yes; then
5923 for ac_header in libintl.h
5925 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5927 echo "$as_me:$LINENO: checking for $ac_header" >&5
5928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5929 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5930 echo $ECHO_N "(cached) $ECHO_C" >&6
5932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5933 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5934 else
5935 # Is the header compilable?
5936 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5937 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5938 cat >conftest.$ac_ext <<_ACEOF
5939 /* confdefs.h. */
5940 _ACEOF
5941 cat confdefs.h >>conftest.$ac_ext
5942 cat >>conftest.$ac_ext <<_ACEOF
5943 /* end confdefs.h. */
5944 $ac_includes_default
5945 #include <$ac_header>
5946 _ACEOF
5947 rm -f conftest.$ac_objext
5948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5949 (eval $ac_compile) 2>conftest.er1
5950 ac_status=$?
5951 grep -v '^ *+' conftest.er1 >conftest.err
5952 rm -f conftest.er1
5953 cat conftest.err >&5
5954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5955 (exit $ac_status); } &&
5956 { ac_try='test -z "$ac_c_werror_flag"
5957 || test ! -s conftest.err'
5958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5959 (eval $ac_try) 2>&5
5960 ac_status=$?
5961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5962 (exit $ac_status); }; } &&
5963 { ac_try='test -s conftest.$ac_objext'
5964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5965 (eval $ac_try) 2>&5
5966 ac_status=$?
5967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5968 (exit $ac_status); }; }; then
5969 ac_header_compiler=yes
5970 else
5971 echo "$as_me: failed program was:" >&5
5972 sed 's/^/| /' conftest.$ac_ext >&5
5974 ac_header_compiler=no
5976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5977 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5978 echo "${ECHO_T}$ac_header_compiler" >&6
5980 # Is the header present?
5981 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5982 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5983 cat >conftest.$ac_ext <<_ACEOF
5984 /* confdefs.h. */
5985 _ACEOF
5986 cat confdefs.h >>conftest.$ac_ext
5987 cat >>conftest.$ac_ext <<_ACEOF
5988 /* end confdefs.h. */
5989 #include <$ac_header>
5990 _ACEOF
5991 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5992 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5993 ac_status=$?
5994 grep -v '^ *+' conftest.er1 >conftest.err
5995 rm -f conftest.er1
5996 cat conftest.err >&5
5997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998 (exit $ac_status); } >/dev/null; then
5999 if test -s conftest.err; then
6000 ac_cpp_err=$ac_c_preproc_warn_flag
6001 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6002 else
6003 ac_cpp_err=
6005 else
6006 ac_cpp_err=yes
6008 if test -z "$ac_cpp_err"; then
6009 ac_header_preproc=yes
6010 else
6011 echo "$as_me: failed program was:" >&5
6012 sed 's/^/| /' conftest.$ac_ext >&5
6014 ac_header_preproc=no
6016 rm -f conftest.err conftest.$ac_ext
6017 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6018 echo "${ECHO_T}$ac_header_preproc" >&6
6020 # So? What about this header?
6021 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6022 yes:no: )
6023 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6024 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6025 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6026 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6027 ac_header_preproc=yes
6029 no:yes:* )
6030 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6031 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6032 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6033 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6034 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6035 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6036 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6037 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6039 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6040 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6041 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6043 cat <<\_ASBOX
6044 ## ----------------------------------------- ##
6045 ## Report this to the package-unused lists. ##
6046 ## ----------------------------------------- ##
6047 _ASBOX
6049 sed "s/^/$as_me: WARNING: /" >&2
6051 esac
6052 echo "$as_me:$LINENO: checking for $ac_header" >&5
6053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6054 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6055 echo $ECHO_N "(cached) $ECHO_C" >&6
6056 else
6057 eval "$as_ac_Header=\$ac_header_preproc"
6059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6060 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6063 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6064 cat >>confdefs.h <<_ACEOF
6065 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6066 _ACEOF
6068 else
6069 USE_NLS=no
6072 done
6074 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6075 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6076 if test "${ac_cv_search_gettext+set}" = set; then
6077 echo $ECHO_N "(cached) $ECHO_C" >&6
6078 else
6079 ac_func_search_save_LIBS=$LIBS
6080 ac_cv_search_gettext=no
6081 if test x$gcc_no_link = xyes; then
6082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6084 { (exit 1); exit 1; }; }
6086 cat >conftest.$ac_ext <<_ACEOF
6087 /* confdefs.h. */
6088 _ACEOF
6089 cat confdefs.h >>conftest.$ac_ext
6090 cat >>conftest.$ac_ext <<_ACEOF
6091 /* end confdefs.h. */
6093 /* Override any gcc2 internal prototype to avoid an error. */
6094 #ifdef __cplusplus
6095 extern "C"
6096 #endif
6097 /* We use char because int might match the return type of a gcc2
6098 builtin and then its argument prototype would still apply. */
6099 char gettext ();
6101 main ()
6103 gettext ();
6105 return 0;
6107 _ACEOF
6108 rm -f conftest.$ac_objext conftest$ac_exeext
6109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6110 (eval $ac_link) 2>conftest.er1
6111 ac_status=$?
6112 grep -v '^ *+' conftest.er1 >conftest.err
6113 rm -f conftest.er1
6114 cat conftest.err >&5
6115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6116 (exit $ac_status); } &&
6117 { ac_try='test -z "$ac_c_werror_flag"
6118 || test ! -s conftest.err'
6119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6120 (eval $ac_try) 2>&5
6121 ac_status=$?
6122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6123 (exit $ac_status); }; } &&
6124 { ac_try='test -s conftest$ac_exeext'
6125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6126 (eval $ac_try) 2>&5
6127 ac_status=$?
6128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6129 (exit $ac_status); }; }; then
6130 ac_cv_search_gettext="none required"
6131 else
6132 echo "$as_me: failed program was:" >&5
6133 sed 's/^/| /' conftest.$ac_ext >&5
6136 rm -f conftest.err conftest.$ac_objext \
6137 conftest$ac_exeext conftest.$ac_ext
6138 if test "$ac_cv_search_gettext" = no; then
6139 for ac_lib in intl; do
6140 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6141 if test x$gcc_no_link = xyes; then
6142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6144 { (exit 1); exit 1; }; }
6146 cat >conftest.$ac_ext <<_ACEOF
6147 /* confdefs.h. */
6148 _ACEOF
6149 cat confdefs.h >>conftest.$ac_ext
6150 cat >>conftest.$ac_ext <<_ACEOF
6151 /* end confdefs.h. */
6153 /* Override any gcc2 internal prototype to avoid an error. */
6154 #ifdef __cplusplus
6155 extern "C"
6156 #endif
6157 /* We use char because int might match the return type of a gcc2
6158 builtin and then its argument prototype would still apply. */
6159 char gettext ();
6161 main ()
6163 gettext ();
6165 return 0;
6167 _ACEOF
6168 rm -f conftest.$ac_objext conftest$ac_exeext
6169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6170 (eval $ac_link) 2>conftest.er1
6171 ac_status=$?
6172 grep -v '^ *+' conftest.er1 >conftest.err
6173 rm -f conftest.er1
6174 cat conftest.err >&5
6175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6176 (exit $ac_status); } &&
6177 { ac_try='test -z "$ac_c_werror_flag"
6178 || test ! -s conftest.err'
6179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6180 (eval $ac_try) 2>&5
6181 ac_status=$?
6182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6183 (exit $ac_status); }; } &&
6184 { ac_try='test -s conftest$ac_exeext'
6185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6186 (eval $ac_try) 2>&5
6187 ac_status=$?
6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189 (exit $ac_status); }; }; then
6190 ac_cv_search_gettext="-l$ac_lib"
6191 break
6192 else
6193 echo "$as_me: failed program was:" >&5
6194 sed 's/^/| /' conftest.$ac_ext >&5
6197 rm -f conftest.err conftest.$ac_objext \
6198 conftest$ac_exeext conftest.$ac_ext
6199 done
6201 LIBS=$ac_func_search_save_LIBS
6203 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6204 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6205 if test "$ac_cv_search_gettext" != no; then
6206 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6208 else
6209 USE_NLS=no
6213 if test $USE_NLS = yes; then
6214 cat >>confdefs.h <<\_ACEOF
6215 #define _GLIBCXX_USE_NLS 1
6216 _ACEOF
6236 # Check whether --enable-cheaders or --disable-cheaders was given.
6237 if test "${enable_cheaders+set}" = set; then
6238 enableval="$enable_cheaders"
6240 case "$enableval" in
6241 c|c_std) ;;
6242 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6243 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6244 { (exit 1); exit 1; }; } ;;
6245 esac
6247 else
6248 enable_cheaders=$c_model
6251 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6252 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6254 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6261 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6262 if test "${enable_c_mbchar+set}" = set; then
6263 enableval="$enable_c_mbchar"
6265 case "$enableval" in
6266 yes|no) ;;
6267 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6268 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6269 { (exit 1); exit 1; }; } ;;
6270 esac
6272 else
6273 enable_c_mbchar=yes
6276 # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6280 # Check whether --enable-c99 or --disable-c99 was given.
6281 if test "${enable_c99+set}" = set; then
6282 enableval="$enable_c99"
6284 case "$enableval" in
6285 yes|no) ;;
6286 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6287 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6288 { (exit 1); exit 1; }; } ;;
6289 esac
6291 else
6292 enable_c99=yes
6298 ac_ext=cc
6299 ac_cpp='$CXXCPP $CPPFLAGS'
6300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6305 # Check for the existence of <math.h> functions used if C99 is enabled.
6306 ac_c99_math=yes;
6307 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6308 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6309 cat >conftest.$ac_ext <<_ACEOF
6310 /* confdefs.h. */
6311 _ACEOF
6312 cat confdefs.h >>conftest.$ac_ext
6313 cat >>conftest.$ac_ext <<_ACEOF
6314 /* end confdefs.h. */
6315 #include <math.h>
6317 main ()
6319 fpclassify(0.0);
6321 return 0;
6323 _ACEOF
6324 rm -f conftest.$ac_objext
6325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6326 (eval $ac_compile) 2>conftest.er1
6327 ac_status=$?
6328 grep -v '^ *+' conftest.er1 >conftest.err
6329 rm -f conftest.er1
6330 cat conftest.err >&5
6331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6332 (exit $ac_status); } &&
6333 { ac_try='test -z "$ac_cxx_werror_flag"
6334 || test ! -s conftest.err'
6335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6336 (eval $ac_try) 2>&5
6337 ac_status=$?
6338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6339 (exit $ac_status); }; } &&
6340 { ac_try='test -s conftest.$ac_objext'
6341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6342 (eval $ac_try) 2>&5
6343 ac_status=$?
6344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6345 (exit $ac_status); }; }; then
6347 else
6348 echo "$as_me: failed program was:" >&5
6349 sed 's/^/| /' conftest.$ac_ext >&5
6351 ac_c99_math=no
6353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6354 cat >conftest.$ac_ext <<_ACEOF
6355 /* confdefs.h. */
6356 _ACEOF
6357 cat confdefs.h >>conftest.$ac_ext
6358 cat >>conftest.$ac_ext <<_ACEOF
6359 /* end confdefs.h. */
6360 #include <math.h>
6362 main ()
6364 isfinite(0.0);
6366 return 0;
6368 _ACEOF
6369 rm -f conftest.$ac_objext
6370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6371 (eval $ac_compile) 2>conftest.er1
6372 ac_status=$?
6373 grep -v '^ *+' conftest.er1 >conftest.err
6374 rm -f conftest.er1
6375 cat conftest.err >&5
6376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6377 (exit $ac_status); } &&
6378 { ac_try='test -z "$ac_cxx_werror_flag"
6379 || test ! -s conftest.err'
6380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6381 (eval $ac_try) 2>&5
6382 ac_status=$?
6383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6384 (exit $ac_status); }; } &&
6385 { ac_try='test -s conftest.$ac_objext'
6386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6387 (eval $ac_try) 2>&5
6388 ac_status=$?
6389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6390 (exit $ac_status); }; }; then
6392 else
6393 echo "$as_me: failed program was:" >&5
6394 sed 's/^/| /' conftest.$ac_ext >&5
6396 ac_c99_math=no
6398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6399 cat >conftest.$ac_ext <<_ACEOF
6400 /* confdefs.h. */
6401 _ACEOF
6402 cat confdefs.h >>conftest.$ac_ext
6403 cat >>conftest.$ac_ext <<_ACEOF
6404 /* end confdefs.h. */
6405 #include <math.h>
6407 main ()
6409 isinf(0.0);
6411 return 0;
6413 _ACEOF
6414 rm -f conftest.$ac_objext
6415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6416 (eval $ac_compile) 2>conftest.er1
6417 ac_status=$?
6418 grep -v '^ *+' conftest.er1 >conftest.err
6419 rm -f conftest.er1
6420 cat conftest.err >&5
6421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6422 (exit $ac_status); } &&
6423 { ac_try='test -z "$ac_cxx_werror_flag"
6424 || test ! -s conftest.err'
6425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6426 (eval $ac_try) 2>&5
6427 ac_status=$?
6428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6429 (exit $ac_status); }; } &&
6430 { ac_try='test -s conftest.$ac_objext'
6431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6432 (eval $ac_try) 2>&5
6433 ac_status=$?
6434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435 (exit $ac_status); }; }; then
6437 else
6438 echo "$as_me: failed program was:" >&5
6439 sed 's/^/| /' conftest.$ac_ext >&5
6441 ac_c99_math=no
6443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6444 cat >conftest.$ac_ext <<_ACEOF
6445 /* confdefs.h. */
6446 _ACEOF
6447 cat confdefs.h >>conftest.$ac_ext
6448 cat >>conftest.$ac_ext <<_ACEOF
6449 /* end confdefs.h. */
6450 #include <math.h>
6452 main ()
6454 isnan(0.0);
6456 return 0;
6458 _ACEOF
6459 rm -f conftest.$ac_objext
6460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6461 (eval $ac_compile) 2>conftest.er1
6462 ac_status=$?
6463 grep -v '^ *+' conftest.er1 >conftest.err
6464 rm -f conftest.er1
6465 cat conftest.err >&5
6466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6467 (exit $ac_status); } &&
6468 { ac_try='test -z "$ac_cxx_werror_flag"
6469 || test ! -s conftest.err'
6470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6471 (eval $ac_try) 2>&5
6472 ac_status=$?
6473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6474 (exit $ac_status); }; } &&
6475 { ac_try='test -s conftest.$ac_objext'
6476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6477 (eval $ac_try) 2>&5
6478 ac_status=$?
6479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6480 (exit $ac_status); }; }; then
6482 else
6483 echo "$as_me: failed program was:" >&5
6484 sed 's/^/| /' conftest.$ac_ext >&5
6486 ac_c99_math=no
6488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6489 cat >conftest.$ac_ext <<_ACEOF
6490 /* confdefs.h. */
6491 _ACEOF
6492 cat confdefs.h >>conftest.$ac_ext
6493 cat >>conftest.$ac_ext <<_ACEOF
6494 /* end confdefs.h. */
6495 #include <math.h>
6497 main ()
6499 isnormal(0.0);
6501 return 0;
6503 _ACEOF
6504 rm -f conftest.$ac_objext
6505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6506 (eval $ac_compile) 2>conftest.er1
6507 ac_status=$?
6508 grep -v '^ *+' conftest.er1 >conftest.err
6509 rm -f conftest.er1
6510 cat conftest.err >&5
6511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6512 (exit $ac_status); } &&
6513 { ac_try='test -z "$ac_cxx_werror_flag"
6514 || test ! -s conftest.err'
6515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6516 (eval $ac_try) 2>&5
6517 ac_status=$?
6518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6519 (exit $ac_status); }; } &&
6520 { ac_try='test -s conftest.$ac_objext'
6521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6522 (eval $ac_try) 2>&5
6523 ac_status=$?
6524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525 (exit $ac_status); }; }; then
6527 else
6528 echo "$as_me: failed program was:" >&5
6529 sed 's/^/| /' conftest.$ac_ext >&5
6531 ac_c99_math=no
6533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6534 cat >conftest.$ac_ext <<_ACEOF
6535 /* confdefs.h. */
6536 _ACEOF
6537 cat confdefs.h >>conftest.$ac_ext
6538 cat >>conftest.$ac_ext <<_ACEOF
6539 /* end confdefs.h. */
6540 #include <math.h>
6542 main ()
6544 signbit(0.0);
6546 return 0;
6548 _ACEOF
6549 rm -f conftest.$ac_objext
6550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6551 (eval $ac_compile) 2>conftest.er1
6552 ac_status=$?
6553 grep -v '^ *+' conftest.er1 >conftest.err
6554 rm -f conftest.er1
6555 cat conftest.err >&5
6556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6557 (exit $ac_status); } &&
6558 { ac_try='test -z "$ac_cxx_werror_flag"
6559 || test ! -s conftest.err'
6560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6561 (eval $ac_try) 2>&5
6562 ac_status=$?
6563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6564 (exit $ac_status); }; } &&
6565 { ac_try='test -s conftest.$ac_objext'
6566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6567 (eval $ac_try) 2>&5
6568 ac_status=$?
6569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6570 (exit $ac_status); }; }; then
6572 else
6573 echo "$as_me: failed program was:" >&5
6574 sed 's/^/| /' conftest.$ac_ext >&5
6576 ac_c99_math=no
6578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6579 cat >conftest.$ac_ext <<_ACEOF
6580 /* confdefs.h. */
6581 _ACEOF
6582 cat confdefs.h >>conftest.$ac_ext
6583 cat >>conftest.$ac_ext <<_ACEOF
6584 /* end confdefs.h. */
6585 #include <math.h>
6587 main ()
6589 isgreater(0.0,0.0);
6591 return 0;
6593 _ACEOF
6594 rm -f conftest.$ac_objext
6595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6596 (eval $ac_compile) 2>conftest.er1
6597 ac_status=$?
6598 grep -v '^ *+' conftest.er1 >conftest.err
6599 rm -f conftest.er1
6600 cat conftest.err >&5
6601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6602 (exit $ac_status); } &&
6603 { ac_try='test -z "$ac_cxx_werror_flag"
6604 || test ! -s conftest.err'
6605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6606 (eval $ac_try) 2>&5
6607 ac_status=$?
6608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6609 (exit $ac_status); }; } &&
6610 { ac_try='test -s conftest.$ac_objext'
6611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6612 (eval $ac_try) 2>&5
6613 ac_status=$?
6614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6615 (exit $ac_status); }; }; then
6617 else
6618 echo "$as_me: failed program was:" >&5
6619 sed 's/^/| /' conftest.$ac_ext >&5
6621 ac_c99_math=no
6623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6624 cat >conftest.$ac_ext <<_ACEOF
6625 /* confdefs.h. */
6626 _ACEOF
6627 cat confdefs.h >>conftest.$ac_ext
6628 cat >>conftest.$ac_ext <<_ACEOF
6629 /* end confdefs.h. */
6630 #include <math.h>
6632 main ()
6634 isgreaterequal(0.0,0.0);
6636 return 0;
6638 _ACEOF
6639 rm -f conftest.$ac_objext
6640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6641 (eval $ac_compile) 2>conftest.er1
6642 ac_status=$?
6643 grep -v '^ *+' conftest.er1 >conftest.err
6644 rm -f conftest.er1
6645 cat conftest.err >&5
6646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6647 (exit $ac_status); } &&
6648 { ac_try='test -z "$ac_cxx_werror_flag"
6649 || test ! -s conftest.err'
6650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6651 (eval $ac_try) 2>&5
6652 ac_status=$?
6653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6654 (exit $ac_status); }; } &&
6655 { ac_try='test -s conftest.$ac_objext'
6656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6657 (eval $ac_try) 2>&5
6658 ac_status=$?
6659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6660 (exit $ac_status); }; }; then
6662 else
6663 echo "$as_me: failed program was:" >&5
6664 sed 's/^/| /' conftest.$ac_ext >&5
6666 ac_c99_math=no
6668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6669 cat >conftest.$ac_ext <<_ACEOF
6670 /* confdefs.h. */
6671 _ACEOF
6672 cat confdefs.h >>conftest.$ac_ext
6673 cat >>conftest.$ac_ext <<_ACEOF
6674 /* end confdefs.h. */
6675 #include <math.h>
6677 main ()
6679 isless(0.0,0.0);
6681 return 0;
6683 _ACEOF
6684 rm -f conftest.$ac_objext
6685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6686 (eval $ac_compile) 2>conftest.er1
6687 ac_status=$?
6688 grep -v '^ *+' conftest.er1 >conftest.err
6689 rm -f conftest.er1
6690 cat conftest.err >&5
6691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6692 (exit $ac_status); } &&
6693 { ac_try='test -z "$ac_cxx_werror_flag"
6694 || test ! -s conftest.err'
6695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6696 (eval $ac_try) 2>&5
6697 ac_status=$?
6698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6699 (exit $ac_status); }; } &&
6700 { ac_try='test -s conftest.$ac_objext'
6701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6702 (eval $ac_try) 2>&5
6703 ac_status=$?
6704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6705 (exit $ac_status); }; }; then
6707 else
6708 echo "$as_me: failed program was:" >&5
6709 sed 's/^/| /' conftest.$ac_ext >&5
6711 ac_c99_math=no
6713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6714 cat >conftest.$ac_ext <<_ACEOF
6715 /* confdefs.h. */
6716 _ACEOF
6717 cat confdefs.h >>conftest.$ac_ext
6718 cat >>conftest.$ac_ext <<_ACEOF
6719 /* end confdefs.h. */
6720 #include <math.h>
6722 main ()
6724 islessequal(0.0,0.0);
6726 return 0;
6728 _ACEOF
6729 rm -f conftest.$ac_objext
6730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6731 (eval $ac_compile) 2>conftest.er1
6732 ac_status=$?
6733 grep -v '^ *+' conftest.er1 >conftest.err
6734 rm -f conftest.er1
6735 cat conftest.err >&5
6736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6737 (exit $ac_status); } &&
6738 { ac_try='test -z "$ac_cxx_werror_flag"
6739 || test ! -s conftest.err'
6740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6741 (eval $ac_try) 2>&5
6742 ac_status=$?
6743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6744 (exit $ac_status); }; } &&
6745 { ac_try='test -s conftest.$ac_objext'
6746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6747 (eval $ac_try) 2>&5
6748 ac_status=$?
6749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6750 (exit $ac_status); }; }; then
6752 else
6753 echo "$as_me: failed program was:" >&5
6754 sed 's/^/| /' conftest.$ac_ext >&5
6756 ac_c99_math=no
6758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6759 cat >conftest.$ac_ext <<_ACEOF
6760 /* confdefs.h. */
6761 _ACEOF
6762 cat confdefs.h >>conftest.$ac_ext
6763 cat >>conftest.$ac_ext <<_ACEOF
6764 /* end confdefs.h. */
6765 #include <math.h>
6767 main ()
6769 islessgreater(0.0,0.0);
6771 return 0;
6773 _ACEOF
6774 rm -f conftest.$ac_objext
6775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6776 (eval $ac_compile) 2>conftest.er1
6777 ac_status=$?
6778 grep -v '^ *+' conftest.er1 >conftest.err
6779 rm -f conftest.er1
6780 cat conftest.err >&5
6781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6782 (exit $ac_status); } &&
6783 { ac_try='test -z "$ac_cxx_werror_flag"
6784 || test ! -s conftest.err'
6785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6786 (eval $ac_try) 2>&5
6787 ac_status=$?
6788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6789 (exit $ac_status); }; } &&
6790 { ac_try='test -s conftest.$ac_objext'
6791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6792 (eval $ac_try) 2>&5
6793 ac_status=$?
6794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6795 (exit $ac_status); }; }; then
6797 else
6798 echo "$as_me: failed program was:" >&5
6799 sed 's/^/| /' conftest.$ac_ext >&5
6801 ac_c99_math=no
6803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6804 cat >conftest.$ac_ext <<_ACEOF
6805 /* confdefs.h. */
6806 _ACEOF
6807 cat confdefs.h >>conftest.$ac_ext
6808 cat >>conftest.$ac_ext <<_ACEOF
6809 /* end confdefs.h. */
6810 #include <math.h>
6812 main ()
6814 isunordered(0.0,0.0);
6816 return 0;
6818 _ACEOF
6819 rm -f conftest.$ac_objext
6820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6821 (eval $ac_compile) 2>conftest.er1
6822 ac_status=$?
6823 grep -v '^ *+' conftest.er1 >conftest.err
6824 rm -f conftest.er1
6825 cat conftest.err >&5
6826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6827 (exit $ac_status); } &&
6828 { ac_try='test -z "$ac_cxx_werror_flag"
6829 || test ! -s conftest.err'
6830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6831 (eval $ac_try) 2>&5
6832 ac_status=$?
6833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6834 (exit $ac_status); }; } &&
6835 { ac_try='test -s conftest.$ac_objext'
6836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6837 (eval $ac_try) 2>&5
6838 ac_status=$?
6839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6840 (exit $ac_status); }; }; then
6842 else
6843 echo "$as_me: failed program was:" >&5
6844 sed 's/^/| /' conftest.$ac_ext >&5
6846 ac_c99_math=no
6848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6849 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6850 echo "${ECHO_T}$ac_c99_math" >&6
6852 if test x"$ac_c99_math" = x"yes"; then
6853 cat >>confdefs.h <<\_ACEOF
6854 #define _GLIBCXX_USE_C99_MATH 1
6855 _ACEOF
6859 # Check for the existence in <stdio.h> of vscanf, et. al.
6860 ac_c99_stdio=yes;
6861 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6862 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6863 cat >conftest.$ac_ext <<_ACEOF
6864 /* confdefs.h. */
6865 _ACEOF
6866 cat confdefs.h >>conftest.$ac_ext
6867 cat >>conftest.$ac_ext <<_ACEOF
6868 /* end confdefs.h. */
6869 #include <stdio.h>
6871 main ()
6873 snprintf("12", 0, "%i");
6875 return 0;
6877 _ACEOF
6878 rm -f conftest.$ac_objext
6879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6880 (eval $ac_compile) 2>conftest.er1
6881 ac_status=$?
6882 grep -v '^ *+' conftest.er1 >conftest.err
6883 rm -f conftest.er1
6884 cat conftest.err >&5
6885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6886 (exit $ac_status); } &&
6887 { ac_try='test -z "$ac_cxx_werror_flag"
6888 || test ! -s conftest.err'
6889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6890 (eval $ac_try) 2>&5
6891 ac_status=$?
6892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6893 (exit $ac_status); }; } &&
6894 { ac_try='test -s conftest.$ac_objext'
6895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6896 (eval $ac_try) 2>&5
6897 ac_status=$?
6898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6899 (exit $ac_status); }; }; then
6901 else
6902 echo "$as_me: failed program was:" >&5
6903 sed 's/^/| /' conftest.$ac_ext >&5
6905 ac_c99_stdio=no
6907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6908 cat >conftest.$ac_ext <<_ACEOF
6909 /* confdefs.h. */
6910 _ACEOF
6911 cat confdefs.h >>conftest.$ac_ext
6912 cat >>conftest.$ac_ext <<_ACEOF
6913 /* end confdefs.h. */
6914 #include <stdio.h>
6915 #include <stdarg.h>
6916 void foo(char* fmt, ...)
6917 {va_list args; va_start(args, fmt);
6918 vfscanf(stderr, "%i", args);}
6920 main ()
6924 return 0;
6926 _ACEOF
6927 rm -f conftest.$ac_objext
6928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6929 (eval $ac_compile) 2>conftest.er1
6930 ac_status=$?
6931 grep -v '^ *+' conftest.er1 >conftest.err
6932 rm -f conftest.er1
6933 cat conftest.err >&5
6934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6935 (exit $ac_status); } &&
6936 { ac_try='test -z "$ac_cxx_werror_flag"
6937 || test ! -s conftest.err'
6938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6939 (eval $ac_try) 2>&5
6940 ac_status=$?
6941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6942 (exit $ac_status); }; } &&
6943 { ac_try='test -s conftest.$ac_objext'
6944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6945 (eval $ac_try) 2>&5
6946 ac_status=$?
6947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6948 (exit $ac_status); }; }; then
6950 else
6951 echo "$as_me: failed program was:" >&5
6952 sed 's/^/| /' conftest.$ac_ext >&5
6954 ac_c99_stdio=no
6956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6957 cat >conftest.$ac_ext <<_ACEOF
6958 /* confdefs.h. */
6959 _ACEOF
6960 cat confdefs.h >>conftest.$ac_ext
6961 cat >>conftest.$ac_ext <<_ACEOF
6962 /* end confdefs.h. */
6963 #include <stdio.h>
6964 #include <stdarg.h>
6965 void foo(char* fmt, ...)
6966 {va_list args; va_start(args, fmt);
6967 vscanf("%i", args);}
6969 main ()
6973 return 0;
6975 _ACEOF
6976 rm -f conftest.$ac_objext
6977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6978 (eval $ac_compile) 2>conftest.er1
6979 ac_status=$?
6980 grep -v '^ *+' conftest.er1 >conftest.err
6981 rm -f conftest.er1
6982 cat conftest.err >&5
6983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6984 (exit $ac_status); } &&
6985 { ac_try='test -z "$ac_cxx_werror_flag"
6986 || test ! -s conftest.err'
6987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6988 (eval $ac_try) 2>&5
6989 ac_status=$?
6990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6991 (exit $ac_status); }; } &&
6992 { ac_try='test -s conftest.$ac_objext'
6993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6994 (eval $ac_try) 2>&5
6995 ac_status=$?
6996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6997 (exit $ac_status); }; }; then
6999 else
7000 echo "$as_me: failed program was:" >&5
7001 sed 's/^/| /' conftest.$ac_ext >&5
7003 ac_c99_stdio=no
7005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7006 cat >conftest.$ac_ext <<_ACEOF
7007 /* confdefs.h. */
7008 _ACEOF
7009 cat confdefs.h >>conftest.$ac_ext
7010 cat >>conftest.$ac_ext <<_ACEOF
7011 /* end confdefs.h. */
7012 #include <stdio.h>
7013 #include <stdarg.h>
7014 void foo(char* fmt, ...)
7015 {va_list args; va_start(args, fmt);
7016 vsnprintf(fmt, 0, "%i", args);}
7018 main ()
7022 return 0;
7024 _ACEOF
7025 rm -f conftest.$ac_objext
7026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7027 (eval $ac_compile) 2>conftest.er1
7028 ac_status=$?
7029 grep -v '^ *+' conftest.er1 >conftest.err
7030 rm -f conftest.er1
7031 cat conftest.err >&5
7032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7033 (exit $ac_status); } &&
7034 { ac_try='test -z "$ac_cxx_werror_flag"
7035 || test ! -s conftest.err'
7036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7037 (eval $ac_try) 2>&5
7038 ac_status=$?
7039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7040 (exit $ac_status); }; } &&
7041 { ac_try='test -s conftest.$ac_objext'
7042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7043 (eval $ac_try) 2>&5
7044 ac_status=$?
7045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7046 (exit $ac_status); }; }; then
7048 else
7049 echo "$as_me: failed program was:" >&5
7050 sed 's/^/| /' conftest.$ac_ext >&5
7052 ac_c99_stdio=no
7054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7055 cat >conftest.$ac_ext <<_ACEOF
7056 /* confdefs.h. */
7057 _ACEOF
7058 cat confdefs.h >>conftest.$ac_ext
7059 cat >>conftest.$ac_ext <<_ACEOF
7060 /* end confdefs.h. */
7061 #include <stdio.h>
7062 #include <stdarg.h>
7063 void foo(char* fmt, ...)
7064 {va_list args; va_start(args, fmt);
7065 vsscanf(fmt, "%i", args);}
7067 main ()
7071 return 0;
7073 _ACEOF
7074 rm -f conftest.$ac_objext
7075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7076 (eval $ac_compile) 2>conftest.er1
7077 ac_status=$?
7078 grep -v '^ *+' conftest.er1 >conftest.err
7079 rm -f conftest.er1
7080 cat conftest.err >&5
7081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7082 (exit $ac_status); } &&
7083 { ac_try='test -z "$ac_cxx_werror_flag"
7084 || test ! -s conftest.err'
7085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7086 (eval $ac_try) 2>&5
7087 ac_status=$?
7088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7089 (exit $ac_status); }; } &&
7090 { ac_try='test -s conftest.$ac_objext'
7091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7092 (eval $ac_try) 2>&5
7093 ac_status=$?
7094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7095 (exit $ac_status); }; }; then
7097 else
7098 echo "$as_me: failed program was:" >&5
7099 sed 's/^/| /' conftest.$ac_ext >&5
7101 ac_c99_stdio=no
7103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7104 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7105 echo "${ECHO_T}$ac_c99_stdio" >&6
7107 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7108 ac_c99_stdlib=yes;
7109 echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
7110 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
7111 if test "${ac_c99_lldiv_t+set}" = set; then
7112 echo $ECHO_N "(cached) $ECHO_C" >&6
7113 else
7115 cat >conftest.$ac_ext <<_ACEOF
7116 /* confdefs.h. */
7117 _ACEOF
7118 cat confdefs.h >>conftest.$ac_ext
7119 cat >>conftest.$ac_ext <<_ACEOF
7120 /* end confdefs.h. */
7121 #include <stdlib.h>
7123 main ()
7125 lldiv_t mydivt;
7127 return 0;
7129 _ACEOF
7130 rm -f conftest.$ac_objext
7131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7132 (eval $ac_compile) 2>conftest.er1
7133 ac_status=$?
7134 grep -v '^ *+' conftest.er1 >conftest.err
7135 rm -f conftest.er1
7136 cat conftest.err >&5
7137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7138 (exit $ac_status); } &&
7139 { ac_try='test -z "$ac_cxx_werror_flag"
7140 || test ! -s conftest.err'
7141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7142 (eval $ac_try) 2>&5
7143 ac_status=$?
7144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7145 (exit $ac_status); }; } &&
7146 { ac_try='test -s conftest.$ac_objext'
7147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7148 (eval $ac_try) 2>&5
7149 ac_status=$?
7150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7151 (exit $ac_status); }; }; then
7152 ac_c99_lldiv_t=yes
7153 else
7154 echo "$as_me: failed program was:" >&5
7155 sed 's/^/| /' conftest.$ac_ext >&5
7157 ac_c99_lldiv_t=no
7159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7163 echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
7164 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
7166 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7167 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7168 cat >conftest.$ac_ext <<_ACEOF
7169 /* confdefs.h. */
7170 _ACEOF
7171 cat confdefs.h >>conftest.$ac_ext
7172 cat >>conftest.$ac_ext <<_ACEOF
7173 /* end confdefs.h. */
7174 #include <stdlib.h>
7176 main ()
7178 char* tmp; strtof("gnu", &tmp);
7180 return 0;
7182 _ACEOF
7183 rm -f conftest.$ac_objext
7184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7185 (eval $ac_compile) 2>conftest.er1
7186 ac_status=$?
7187 grep -v '^ *+' conftest.er1 >conftest.err
7188 rm -f conftest.er1
7189 cat conftest.err >&5
7190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7191 (exit $ac_status); } &&
7192 { ac_try='test -z "$ac_cxx_werror_flag"
7193 || test ! -s conftest.err'
7194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7195 (eval $ac_try) 2>&5
7196 ac_status=$?
7197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7198 (exit $ac_status); }; } &&
7199 { ac_try='test -s conftest.$ac_objext'
7200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7201 (eval $ac_try) 2>&5
7202 ac_status=$?
7203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7204 (exit $ac_status); }; }; then
7206 else
7207 echo "$as_me: failed program was:" >&5
7208 sed 's/^/| /' conftest.$ac_ext >&5
7210 ac_c99_stdlib=no
7212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7213 cat >conftest.$ac_ext <<_ACEOF
7214 /* confdefs.h. */
7215 _ACEOF
7216 cat confdefs.h >>conftest.$ac_ext
7217 cat >>conftest.$ac_ext <<_ACEOF
7218 /* end confdefs.h. */
7219 #include <stdlib.h>
7221 main ()
7223 char* tmp; strtold("gnu", &tmp);
7225 return 0;
7227 _ACEOF
7228 rm -f conftest.$ac_objext
7229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7230 (eval $ac_compile) 2>conftest.er1
7231 ac_status=$?
7232 grep -v '^ *+' conftest.er1 >conftest.err
7233 rm -f conftest.er1
7234 cat conftest.err >&5
7235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7236 (exit $ac_status); } &&
7237 { ac_try='test -z "$ac_cxx_werror_flag"
7238 || test ! -s conftest.err'
7239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7240 (eval $ac_try) 2>&5
7241 ac_status=$?
7242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7243 (exit $ac_status); }; } &&
7244 { ac_try='test -s conftest.$ac_objext'
7245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7246 (eval $ac_try) 2>&5
7247 ac_status=$?
7248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7249 (exit $ac_status); }; }; then
7251 else
7252 echo "$as_me: failed program was:" >&5
7253 sed 's/^/| /' conftest.$ac_ext >&5
7255 ac_c99_stdlib=no
7257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7258 cat >conftest.$ac_ext <<_ACEOF
7259 /* confdefs.h. */
7260 _ACEOF
7261 cat confdefs.h >>conftest.$ac_ext
7262 cat >>conftest.$ac_ext <<_ACEOF
7263 /* end confdefs.h. */
7264 #include <stdlib.h>
7266 main ()
7268 llabs(10);
7270 return 0;
7272 _ACEOF
7273 rm -f conftest.$ac_objext
7274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7275 (eval $ac_compile) 2>conftest.er1
7276 ac_status=$?
7277 grep -v '^ *+' conftest.er1 >conftest.err
7278 rm -f conftest.er1
7279 cat conftest.err >&5
7280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7281 (exit $ac_status); } &&
7282 { ac_try='test -z "$ac_cxx_werror_flag"
7283 || test ! -s conftest.err'
7284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7285 (eval $ac_try) 2>&5
7286 ac_status=$?
7287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7288 (exit $ac_status); }; } &&
7289 { ac_try='test -s conftest.$ac_objext'
7290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7291 (eval $ac_try) 2>&5
7292 ac_status=$?
7293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7294 (exit $ac_status); }; }; then
7296 else
7297 echo "$as_me: failed program was:" >&5
7298 sed 's/^/| /' conftest.$ac_ext >&5
7300 ac_c99_stdlib=no
7302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7303 cat >conftest.$ac_ext <<_ACEOF
7304 /* confdefs.h. */
7305 _ACEOF
7306 cat confdefs.h >>conftest.$ac_ext
7307 cat >>conftest.$ac_ext <<_ACEOF
7308 /* end confdefs.h. */
7309 #include <stdlib.h>
7311 main ()
7313 lldiv(10,1);
7315 return 0;
7317 _ACEOF
7318 rm -f conftest.$ac_objext
7319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7320 (eval $ac_compile) 2>conftest.er1
7321 ac_status=$?
7322 grep -v '^ *+' conftest.er1 >conftest.err
7323 rm -f conftest.er1
7324 cat conftest.err >&5
7325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7326 (exit $ac_status); } &&
7327 { ac_try='test -z "$ac_cxx_werror_flag"
7328 || test ! -s conftest.err'
7329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7330 (eval $ac_try) 2>&5
7331 ac_status=$?
7332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7333 (exit $ac_status); }; } &&
7334 { ac_try='test -s conftest.$ac_objext'
7335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7336 (eval $ac_try) 2>&5
7337 ac_status=$?
7338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7339 (exit $ac_status); }; }; then
7341 else
7342 echo "$as_me: failed program was:" >&5
7343 sed 's/^/| /' conftest.$ac_ext >&5
7345 ac_c99_stdlib=no
7347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7348 cat >conftest.$ac_ext <<_ACEOF
7349 /* confdefs.h. */
7350 _ACEOF
7351 cat confdefs.h >>conftest.$ac_ext
7352 cat >>conftest.$ac_ext <<_ACEOF
7353 /* end confdefs.h. */
7354 #include <stdlib.h>
7356 main ()
7358 atoll("10");
7360 return 0;
7362 _ACEOF
7363 rm -f conftest.$ac_objext
7364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7365 (eval $ac_compile) 2>conftest.er1
7366 ac_status=$?
7367 grep -v '^ *+' conftest.er1 >conftest.err
7368 rm -f conftest.er1
7369 cat conftest.err >&5
7370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7371 (exit $ac_status); } &&
7372 { ac_try='test -z "$ac_cxx_werror_flag"
7373 || test ! -s conftest.err'
7374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7375 (eval $ac_try) 2>&5
7376 ac_status=$?
7377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7378 (exit $ac_status); }; } &&
7379 { ac_try='test -s conftest.$ac_objext'
7380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7381 (eval $ac_try) 2>&5
7382 ac_status=$?
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); }; }; then
7386 else
7387 echo "$as_me: failed program was:" >&5
7388 sed 's/^/| /' conftest.$ac_ext >&5
7390 ac_c99_stdlib=no
7392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7393 cat >conftest.$ac_ext <<_ACEOF
7394 /* confdefs.h. */
7395 _ACEOF
7396 cat confdefs.h >>conftest.$ac_ext
7397 cat >>conftest.$ac_ext <<_ACEOF
7398 /* end confdefs.h. */
7399 #include <stdlib.h>
7401 main ()
7403 _Exit(0);
7405 return 0;
7407 _ACEOF
7408 rm -f conftest.$ac_objext
7409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7410 (eval $ac_compile) 2>conftest.er1
7411 ac_status=$?
7412 grep -v '^ *+' conftest.er1 >conftest.err
7413 rm -f conftest.er1
7414 cat conftest.err >&5
7415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7416 (exit $ac_status); } &&
7417 { ac_try='test -z "$ac_cxx_werror_flag"
7418 || test ! -s conftest.err'
7419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7420 (eval $ac_try) 2>&5
7421 ac_status=$?
7422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7423 (exit $ac_status); }; } &&
7424 { ac_try='test -s conftest.$ac_objext'
7425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7426 (eval $ac_try) 2>&5
7427 ac_status=$?
7428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7429 (exit $ac_status); }; }; then
7431 else
7432 echo "$as_me: failed program was:" >&5
7433 sed 's/^/| /' conftest.$ac_ext >&5
7435 ac_c99_stdlib=no
7437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7438 if test x"$ac_c99_lldiv_t" = x"no"; then
7439 ac_c99_stdlib=no;
7441 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7442 echo "${ECHO_T}$ac_c99_stdlib" >&6
7444 # Check for the existence of <wchar.h> functions used if C99 is enabled.
7445 # XXX the wchar.h checks should be rolled into the general C99 bits.
7446 ac_c99_wchar=yes;
7447 echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7448 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7449 cat >conftest.$ac_ext <<_ACEOF
7450 /* confdefs.h. */
7451 _ACEOF
7452 cat confdefs.h >>conftest.$ac_ext
7453 cat >>conftest.$ac_ext <<_ACEOF
7454 /* end confdefs.h. */
7455 #include <wchar.h>
7457 main ()
7459 wcstold(L"10.0", NULL);
7461 return 0;
7463 _ACEOF
7464 rm -f conftest.$ac_objext
7465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7466 (eval $ac_compile) 2>conftest.er1
7467 ac_status=$?
7468 grep -v '^ *+' conftest.er1 >conftest.err
7469 rm -f conftest.er1
7470 cat conftest.err >&5
7471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7472 (exit $ac_status); } &&
7473 { ac_try='test -z "$ac_cxx_werror_flag"
7474 || test ! -s conftest.err'
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); }; } &&
7480 { ac_try='test -s conftest.$ac_objext'
7481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7482 (eval $ac_try) 2>&5
7483 ac_status=$?
7484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7485 (exit $ac_status); }; }; then
7487 else
7488 echo "$as_me: failed program was:" >&5
7489 sed 's/^/| /' conftest.$ac_ext >&5
7491 ac_c99_wchar=no
7493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7494 cat >conftest.$ac_ext <<_ACEOF
7495 /* confdefs.h. */
7496 _ACEOF
7497 cat confdefs.h >>conftest.$ac_ext
7498 cat >>conftest.$ac_ext <<_ACEOF
7499 /* end confdefs.h. */
7500 #include <wchar.h>
7502 main ()
7504 wcstoll(L"10", NULL, 10);
7506 return 0;
7508 _ACEOF
7509 rm -f conftest.$ac_objext
7510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7511 (eval $ac_compile) 2>conftest.er1
7512 ac_status=$?
7513 grep -v '^ *+' conftest.er1 >conftest.err
7514 rm -f conftest.er1
7515 cat conftest.err >&5
7516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7517 (exit $ac_status); } &&
7518 { ac_try='test -z "$ac_cxx_werror_flag"
7519 || test ! -s conftest.err'
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); }; } &&
7525 { ac_try='test -s conftest.$ac_objext'
7526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7527 (eval $ac_try) 2>&5
7528 ac_status=$?
7529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7530 (exit $ac_status); }; }; then
7532 else
7533 echo "$as_me: failed program was:" >&5
7534 sed 's/^/| /' conftest.$ac_ext >&5
7536 ac_c99_wchar=no
7538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7539 cat >conftest.$ac_ext <<_ACEOF
7540 /* confdefs.h. */
7541 _ACEOF
7542 cat confdefs.h >>conftest.$ac_ext
7543 cat >>conftest.$ac_ext <<_ACEOF
7544 /* end confdefs.h. */
7545 #include <wchar.h>
7547 main ()
7549 wcstoull(L"10", NULL, 10);
7551 return 0;
7553 _ACEOF
7554 rm -f conftest.$ac_objext
7555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7556 (eval $ac_compile) 2>conftest.er1
7557 ac_status=$?
7558 grep -v '^ *+' conftest.er1 >conftest.err
7559 rm -f conftest.er1
7560 cat conftest.err >&5
7561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7562 (exit $ac_status); } &&
7563 { ac_try='test -z "$ac_cxx_werror_flag"
7564 || test ! -s conftest.err'
7565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7566 (eval $ac_try) 2>&5
7567 ac_status=$?
7568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7569 (exit $ac_status); }; } &&
7570 { ac_try='test -s conftest.$ac_objext'
7571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7572 (eval $ac_try) 2>&5
7573 ac_status=$?
7574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7575 (exit $ac_status); }; }; then
7577 else
7578 echo "$as_me: failed program was:" >&5
7579 sed 's/^/| /' conftest.$ac_ext >&5
7581 ac_c99_wchar=no
7583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7584 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7585 echo "${ECHO_T}$ac_c99_wchar" >&6
7587 echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7588 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7589 if test x"$ac_c99_math" = x"no" ||
7590 test x"$ac_c99_stdio" = x"no" ||
7591 test x"$ac_c99_stdlib" = x"no" ||
7592 test x"$ac_c99_wchar" = x"no"; then
7593 enable_c99=no;
7595 echo "$as_me:$LINENO: result: $enable_c99" >&5
7596 echo "${ECHO_T}$enable_c99" >&6
7598 if test x"$ac_99_math" = x"yes"; then
7599 cat >>confdefs.h <<\_ACEOF
7600 #define _GLIBCXX_USE_C99_MATH 1
7601 _ACEOF
7605 # Option parsed, now set things appropriately
7606 if test x"$enable_c99" = x"yes"; then
7607 cat >>confdefs.h <<\_ACEOF
7608 #define _GLIBCXX_USE_C99 1
7609 _ACEOF
7613 ac_ext=c
7614 ac_cpp='$CPP $CPPFLAGS'
7615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7621 # Check whether --enable-long-long or --disable-long-long was given.
7622 if test "${enable_long_long+set}" = set; then
7623 enableval="$enable_long_long"
7625 case "$enableval" in
7626 yes|no) ;;
7627 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7628 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7629 { (exit 1); exit 1; }; } ;;
7630 esac
7632 else
7633 enable_long_long=yes
7639 ac_ext=cc
7640 ac_cpp='$CXXCPP $CPPFLAGS'
7641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7646 echo "$as_me:$LINENO: checking for enabled long long I/O support" >&5
7647 echo $ECHO_N "checking for enabled long long I/O support... $ECHO_C" >&6
7648 # iostreams require strtoll, strtoull to compile
7649 cat >conftest.$ac_ext <<_ACEOF
7650 /* confdefs.h. */
7651 _ACEOF
7652 cat confdefs.h >>conftest.$ac_ext
7653 cat >>conftest.$ac_ext <<_ACEOF
7654 /* end confdefs.h. */
7655 #include <stdlib.h>
7657 main ()
7659 char* tmp; strtoll("gnu", &tmp, 10);
7661 return 0;
7663 _ACEOF
7664 rm -f conftest.$ac_objext
7665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7666 (eval $ac_compile) 2>conftest.er1
7667 ac_status=$?
7668 grep -v '^ *+' conftest.er1 >conftest.err
7669 rm -f conftest.er1
7670 cat conftest.err >&5
7671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7672 (exit $ac_status); } &&
7673 { ac_try='test -z "$ac_cxx_werror_flag"
7674 || test ! -s conftest.err'
7675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7676 (eval $ac_try) 2>&5
7677 ac_status=$?
7678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7679 (exit $ac_status); }; } &&
7680 { ac_try='test -s conftest.$ac_objext'
7681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7682 (eval $ac_try) 2>&5
7683 ac_status=$?
7684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7685 (exit $ac_status); }; }; then
7687 else
7688 echo "$as_me: failed program was:" >&5
7689 sed 's/^/| /' conftest.$ac_ext >&5
7691 enable_long_long=no
7693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7694 cat >conftest.$ac_ext <<_ACEOF
7695 /* confdefs.h. */
7696 _ACEOF
7697 cat confdefs.h >>conftest.$ac_ext
7698 cat >>conftest.$ac_ext <<_ACEOF
7699 /* end confdefs.h. */
7700 #include <stdlib.h>
7702 main ()
7704 char* tmp; strtoull("gnu", &tmp, 10);
7706 return 0;
7708 _ACEOF
7709 rm -f conftest.$ac_objext
7710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7711 (eval $ac_compile) 2>conftest.er1
7712 ac_status=$?
7713 grep -v '^ *+' conftest.er1 >conftest.err
7714 rm -f conftest.er1
7715 cat conftest.err >&5
7716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7717 (exit $ac_status); } &&
7718 { ac_try='test -z "$ac_cxx_werror_flag"
7719 || test ! -s conftest.err'
7720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7721 (eval $ac_try) 2>&5
7722 ac_status=$?
7723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7724 (exit $ac_status); }; } &&
7725 { ac_try='test -s conftest.$ac_objext'
7726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7727 (eval $ac_try) 2>&5
7728 ac_status=$?
7729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7730 (exit $ac_status); }; }; then
7732 else
7733 echo "$as_me: failed program was:" >&5
7734 sed 's/^/| /' conftest.$ac_ext >&5
7736 enable_long_long=no
7738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7740 # Option parsed, now set things appropriately
7741 if test $enable_long_long = yes; then
7742 cat >>confdefs.h <<\_ACEOF
7743 #define _GLIBCXX_USE_LONG_LONG 1
7744 _ACEOF
7747 echo "$as_me:$LINENO: result: $enable_long_long" >&5
7748 echo "${ECHO_T}$enable_long_long" >&6
7750 ac_ext=c
7751 ac_cpp='$CPP $CPPFLAGS'
7752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7758 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7759 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7760 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7761 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7762 echo "${ECHO_T}$target_thread_file" >&6
7764 if test $target_thread_file != single; then
7765 cat >>confdefs.h <<\_ACEOF
7766 #define HAVE_GTHR_DEFAULT 1
7767 _ACEOF
7769 cat >>confdefs.h <<\_ACEOF
7770 #define _GLIBCXX_SUPPORTS_WEAK __GXX_WEAK__
7771 _ACEOF
7775 glibcxx_thread_h=gthr-$target_thread_file.h
7779 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7780 if test "${enable_concept_checks+set}" = set; then
7781 enableval="$enable_concept_checks"
7783 case "$enableval" in
7784 yes|no) ;;
7785 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7786 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7787 { (exit 1); exit 1; }; } ;;
7788 esac
7790 else
7791 enable_concept_checks=no
7794 if test $enable_concept_checks = yes; then
7795 cat >>confdefs.h <<\_ACEOF
7796 #define _GLIBCXX_CONCEPT_CHECKS 1
7797 _ACEOF
7802 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7803 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7804 enableval="$enable_libstdcxx_debug_flags"
7805 case "x$enable_libstdcxx_debug_flags" in
7806 xno | x) enable_libstdcxx_debug_flags= ;;
7807 x-*) ;;
7808 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7809 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7810 { (exit 1); exit 1; }; } ;;
7811 esac
7812 else
7813 enable_libstdcxx_debug_flags="-g3 -O0"
7817 # Option parsed, now set things appropriately
7818 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7821 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7822 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7825 echo "$as_me:$LINENO: checking for additional debug build" >&5
7826 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7827 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7828 if test "${enable_libstdcxx_debug+set}" = set; then
7829 enableval="$enable_libstdcxx_debug"
7831 case "$enableval" in
7832 yes|no) ;;
7833 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7834 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7835 { (exit 1); exit 1; }; } ;;
7836 esac
7838 else
7839 enable_libstdcxx_debug=no
7842 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7843 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7846 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7847 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7848 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7849 if test "${enable_cxx_flags+set}" = set; then
7850 enableval="$enable_cxx_flags"
7851 case "x$enable_cxx_flags" in
7852 xno | x) enable_cxx_flags= ;;
7853 x-*) ;;
7854 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7855 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7856 { (exit 1); exit 1; }; } ;;
7857 esac
7858 else
7859 enable_cxx_flags=
7863 # Run through flags (either default or command-line) and set anything
7864 # extra (e.g., #defines) that must accompany particular g++ options.
7865 if test -n "$enable_cxx_flags"; then
7866 for f in $enable_cxx_flags; do
7867 case "$f" in
7868 -fhonor-std) ;;
7869 -*) ;;
7870 *) # and we're trying to pass /what/ exactly?
7871 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7872 echo "$as_me: error: compiler flags start with a -" >&2;}
7873 { (exit 1); exit 1; }; } ;;
7874 esac
7875 done
7878 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7879 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7880 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7884 # No surprises, no surprises...
7885 if test $atomicity_include_dir = cpu/generic ; then
7886 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7887 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7888 if test $target_thread_file = single; then
7889 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7890 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7891 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7892 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7893 else
7894 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7895 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7896 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7897 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7902 if $GLIBCXX_IS_NATIVE; then
7904 # We can do more elaborate tests that assume a working linker.
7905 CANADIAN=no
7907 # Check for available headers.
7921 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7922 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7923 sys/types.h
7925 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7927 echo "$as_me:$LINENO: checking for $ac_header" >&5
7928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7929 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7930 echo $ECHO_N "(cached) $ECHO_C" >&6
7932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7933 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7934 else
7935 # Is the header compilable?
7936 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7937 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7938 cat >conftest.$ac_ext <<_ACEOF
7939 /* confdefs.h. */
7940 _ACEOF
7941 cat confdefs.h >>conftest.$ac_ext
7942 cat >>conftest.$ac_ext <<_ACEOF
7943 /* end confdefs.h. */
7944 $ac_includes_default
7945 #include <$ac_header>
7946 _ACEOF
7947 rm -f conftest.$ac_objext
7948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7949 (eval $ac_compile) 2>conftest.er1
7950 ac_status=$?
7951 grep -v '^ *+' conftest.er1 >conftest.err
7952 rm -f conftest.er1
7953 cat conftest.err >&5
7954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7955 (exit $ac_status); } &&
7956 { ac_try='test -z "$ac_c_werror_flag"
7957 || test ! -s conftest.err'
7958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7959 (eval $ac_try) 2>&5
7960 ac_status=$?
7961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7962 (exit $ac_status); }; } &&
7963 { ac_try='test -s conftest.$ac_objext'
7964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7965 (eval $ac_try) 2>&5
7966 ac_status=$?
7967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7968 (exit $ac_status); }; }; then
7969 ac_header_compiler=yes
7970 else
7971 echo "$as_me: failed program was:" >&5
7972 sed 's/^/| /' conftest.$ac_ext >&5
7974 ac_header_compiler=no
7976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7977 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7978 echo "${ECHO_T}$ac_header_compiler" >&6
7980 # Is the header present?
7981 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7982 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7983 cat >conftest.$ac_ext <<_ACEOF
7984 /* confdefs.h. */
7985 _ACEOF
7986 cat confdefs.h >>conftest.$ac_ext
7987 cat >>conftest.$ac_ext <<_ACEOF
7988 /* end confdefs.h. */
7989 #include <$ac_header>
7990 _ACEOF
7991 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7992 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7993 ac_status=$?
7994 grep -v '^ *+' conftest.er1 >conftest.err
7995 rm -f conftest.er1
7996 cat conftest.err >&5
7997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7998 (exit $ac_status); } >/dev/null; then
7999 if test -s conftest.err; then
8000 ac_cpp_err=$ac_c_preproc_warn_flag
8001 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8002 else
8003 ac_cpp_err=
8005 else
8006 ac_cpp_err=yes
8008 if test -z "$ac_cpp_err"; then
8009 ac_header_preproc=yes
8010 else
8011 echo "$as_me: failed program was:" >&5
8012 sed 's/^/| /' conftest.$ac_ext >&5
8014 ac_header_preproc=no
8016 rm -f conftest.err conftest.$ac_ext
8017 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8018 echo "${ECHO_T}$ac_header_preproc" >&6
8020 # So? What about this header?
8021 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8022 yes:no: )
8023 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8024 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8025 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8026 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8027 ac_header_preproc=yes
8029 no:yes:* )
8030 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8031 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8032 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8033 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8034 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8035 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8036 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8037 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8039 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8040 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8041 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8043 cat <<\_ASBOX
8044 ## ----------------------------------------- ##
8045 ## Report this to the package-unused lists. ##
8046 ## ----------------------------------------- ##
8047 _ASBOX
8049 sed "s/^/$as_me: WARNING: /" >&2
8051 esac
8052 echo "$as_me:$LINENO: checking for $ac_header" >&5
8053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8054 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8055 echo $ECHO_N "(cached) $ECHO_C" >&6
8056 else
8057 eval "$as_ac_Header=\$ac_header_preproc"
8059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8060 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8063 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8064 cat >>confdefs.h <<_ACEOF
8065 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8066 _ACEOF
8070 done
8074 # All these tests are for C++; save the language and the compiler flags.
8075 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8076 # found in GLIBCXX_CONFIGURE.
8079 ac_ext=cc
8080 ac_cpp='$CXXCPP $CPPFLAGS'
8081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8085 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8086 ac_save_CXXFLAGS="$CXXFLAGS"
8088 # Check for maintainer-mode bits.
8089 if test x"$USE_MAINTAINER_MODE" = xno; then
8090 WERROR=''
8091 else
8092 WERROR='-Werror'
8095 # Check for -ffunction-sections -fdata-sections
8096 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8097 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8098 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8099 cat >conftest.$ac_ext <<_ACEOF
8100 /* confdefs.h. */
8101 _ACEOF
8102 cat confdefs.h >>conftest.$ac_ext
8103 cat >>conftest.$ac_ext <<_ACEOF
8104 /* end confdefs.h. */
8107 main ()
8109 int foo;
8111 return 0;
8113 _ACEOF
8114 rm -f conftest.$ac_objext
8115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8116 (eval $ac_compile) 2>conftest.er1
8117 ac_status=$?
8118 grep -v '^ *+' conftest.er1 >conftest.err
8119 rm -f conftest.er1
8120 cat conftest.err >&5
8121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8122 (exit $ac_status); } &&
8123 { ac_try='test -z "$ac_cxx_werror_flag"
8124 || test ! -s conftest.err'
8125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8126 (eval $ac_try) 2>&5
8127 ac_status=$?
8128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8129 (exit $ac_status); }; } &&
8130 { ac_try='test -s conftest.$ac_objext'
8131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8132 (eval $ac_try) 2>&5
8133 ac_status=$?
8134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8135 (exit $ac_status); }; }; then
8136 ac_fdsections=yes
8137 else
8138 echo "$as_me: failed program was:" >&5
8139 sed 's/^/| /' conftest.$ac_ext >&5
8141 ac_fdsections=no
8143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8144 if test "$ac_test_CXXFLAGS" = set; then
8145 CXXFLAGS="$ac_save_CXXFLAGS"
8146 else
8147 # this is the suspicious part
8148 CXXFLAGS=''
8150 if test x"$ac_fdsections" = x"yes"; then
8151 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8153 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8154 echo "${ECHO_T}$ac_fdsections" >&6
8156 ac_ext=c
8157 ac_cpp='$CPP $CPPFLAGS'
8158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8166 # If we're not using GNU ld, then there's no point in even trying these
8167 # tests. Check for that first. We should have already tested for gld
8168 # by now (in libtool), but require it now just to be safe...
8169 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8170 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8174 # The name set by libtool depends on the version of libtool. Shame on us
8175 # for depending on an impl detail, but c'est la vie. Older versions used
8176 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8177 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8178 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8179 # set (hence we're using an older libtool), then set it.
8180 if test x${with_gnu_ld+set} != xset; then
8181 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8182 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8183 with_gnu_ld=no
8184 else
8185 with_gnu_ld=$ac_cv_prog_gnu_ld
8189 # Start by getting the version number. I think the libtool test already
8190 # does some of this, but throws away the result.
8192 ldver=`$LD --version 2>/dev/null | head -1 | \
8193 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8195 glibcxx_gnu_ld_version=`echo $ldver | \
8196 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8198 # Set --gc-sections.
8199 if test "$with_gnu_ld" = "notbroken"; then
8200 # GNU ld it is! Joy and bunny rabbits!
8202 # All these tests are for C++; save the language and the compiler flags.
8203 # Need to do this so that g++ won't try to link in libstdc++
8204 ac_test_CFLAGS="${CFLAGS+set}"
8205 ac_save_CFLAGS="$CFLAGS"
8206 CFLAGS='-x c++ -Wl,--gc-sections'
8208 # Check for -Wl,--gc-sections
8209 # XXX This test is broken at the moment, as symbols required for linking
8210 # are now in libsupc++ (not built yet). In addition, this test has
8211 # cored on solaris in the past. In addition, --gc-sections doesn't
8212 # really work at the moment (keeps on discarding used sections, first
8213 # .eh_frame and now some of the glibc sections for iconv).
8214 # Bzzzzt. Thanks for playing, maybe next time.
8215 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8216 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8217 if test "$cross_compiling" = yes; then
8218 ac_sectionLDflags=yes
8219 else
8220 cat >conftest.$ac_ext <<_ACEOF
8221 /* confdefs.h. */
8222 _ACEOF
8223 cat confdefs.h >>conftest.$ac_ext
8224 cat >>conftest.$ac_ext <<_ACEOF
8225 /* end confdefs.h. */
8227 int main(void)
8229 try { throw 1; }
8230 catch (...) { };
8231 return 0;
8234 _ACEOF
8235 rm -f conftest$ac_exeext
8236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8237 (eval $ac_link) 2>&5
8238 ac_status=$?
8239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8240 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8242 (eval $ac_try) 2>&5
8243 ac_status=$?
8244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8245 (exit $ac_status); }; }; then
8246 ac_sectionLDflags=yes
8247 else
8248 echo "$as_me: program exited with status $ac_status" >&5
8249 echo "$as_me: failed program was:" >&5
8250 sed 's/^/| /' conftest.$ac_ext >&5
8252 ( exit $ac_status )
8253 ac_sectionLDflags=no
8255 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8257 if test "$ac_test_CFLAGS" = set; then
8258 CFLAGS="$ac_save_CFLAGS"
8259 else
8260 # this is the suspicious part
8261 CFLAGS=''
8263 if test "$ac_sectionLDflags" = "yes"; then
8264 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8266 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8267 echo "${ECHO_T}$ac_sectionLDflags" >&6
8270 # Set linker optimization flags.
8271 if test x"$with_gnu_ld" = x"yes"; then
8272 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8279 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8280 ac_save_CXXFLAGS="$CXXFLAGS"
8281 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8283 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8284 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8285 if test "${ac_cv_lib_m_sin+set}" = set; then
8286 echo $ECHO_N "(cached) $ECHO_C" >&6
8287 else
8288 ac_check_lib_save_LIBS=$LIBS
8289 LIBS="-lm $LIBS"
8290 if test x$gcc_no_link = xyes; then
8291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8293 { (exit 1); exit 1; }; }
8295 cat >conftest.$ac_ext <<_ACEOF
8296 /* confdefs.h. */
8297 _ACEOF
8298 cat confdefs.h >>conftest.$ac_ext
8299 cat >>conftest.$ac_ext <<_ACEOF
8300 /* end confdefs.h. */
8302 /* Override any gcc2 internal prototype to avoid an error. */
8303 #ifdef __cplusplus
8304 extern "C"
8305 #endif
8306 /* We use char because int might match the return type of a gcc2
8307 builtin and then its argument prototype would still apply. */
8308 char sin ();
8310 main ()
8312 sin ();
8314 return 0;
8316 _ACEOF
8317 rm -f conftest.$ac_objext conftest$ac_exeext
8318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8319 (eval $ac_link) 2>conftest.er1
8320 ac_status=$?
8321 grep -v '^ *+' conftest.er1 >conftest.err
8322 rm -f conftest.er1
8323 cat conftest.err >&5
8324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8325 (exit $ac_status); } &&
8326 { ac_try='test -z "$ac_c_werror_flag"
8327 || test ! -s conftest.err'
8328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8329 (eval $ac_try) 2>&5
8330 ac_status=$?
8331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332 (exit $ac_status); }; } &&
8333 { ac_try='test -s conftest$ac_exeext'
8334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8335 (eval $ac_try) 2>&5
8336 ac_status=$?
8337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338 (exit $ac_status); }; }; then
8339 ac_cv_lib_m_sin=yes
8340 else
8341 echo "$as_me: failed program was:" >&5
8342 sed 's/^/| /' conftest.$ac_ext >&5
8344 ac_cv_lib_m_sin=no
8346 rm -f conftest.err conftest.$ac_objext \
8347 conftest$ac_exeext conftest.$ac_ext
8348 LIBS=$ac_check_lib_save_LIBS
8350 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8351 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8352 if test $ac_cv_lib_m_sin = yes; then
8353 libm="-lm"
8356 ac_save_LIBS="$LIBS"
8357 LIBS="$LIBS $libm"
8361 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8362 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8363 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8364 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8365 echo $ECHO_N "(cached) $ECHO_C" >&6
8366 else
8370 ac_ext=cc
8371 ac_cpp='$CXXCPP $CPPFLAGS'
8372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8376 cat >conftest.$ac_ext <<_ACEOF
8377 /* confdefs.h. */
8378 _ACEOF
8379 cat confdefs.h >>conftest.$ac_ext
8380 cat >>conftest.$ac_ext <<_ACEOF
8381 /* end confdefs.h. */
8382 #include <math.h>
8383 #ifdef HAVE_IEEEFP_H
8384 #include <ieeefp.h>
8385 #endif
8388 main ()
8390 isinf(0);
8392 return 0;
8394 _ACEOF
8395 rm -f conftest.$ac_objext
8396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8397 (eval $ac_compile) 2>conftest.er1
8398 ac_status=$?
8399 grep -v '^ *+' conftest.er1 >conftest.err
8400 rm -f conftest.er1
8401 cat conftest.err >&5
8402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8403 (exit $ac_status); } &&
8404 { ac_try='test -z "$ac_cxx_werror_flag"
8405 || test ! -s conftest.err'
8406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8407 (eval $ac_try) 2>&5
8408 ac_status=$?
8409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8410 (exit $ac_status); }; } &&
8411 { ac_try='test -s conftest.$ac_objext'
8412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8413 (eval $ac_try) 2>&5
8414 ac_status=$?
8415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8416 (exit $ac_status); }; }; then
8417 glibcxx_cv_func_isinf_use=yes
8418 else
8419 echo "$as_me: failed program was:" >&5
8420 sed 's/^/| /' conftest.$ac_ext >&5
8422 glibcxx_cv_func_isinf_use=no
8424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8425 ac_ext=c
8426 ac_cpp='$CPP $CPPFLAGS'
8427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8435 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8436 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8438 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8440 for ac_func in isinf
8442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8443 echo "$as_me:$LINENO: checking for $ac_func" >&5
8444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8445 if eval "test \"\${$as_ac_var+set}\" = set"; then
8446 echo $ECHO_N "(cached) $ECHO_C" >&6
8447 else
8448 if test x$gcc_no_link = xyes; then
8449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8451 { (exit 1); exit 1; }; }
8453 cat >conftest.$ac_ext <<_ACEOF
8454 /* confdefs.h. */
8455 _ACEOF
8456 cat confdefs.h >>conftest.$ac_ext
8457 cat >>conftest.$ac_ext <<_ACEOF
8458 /* end confdefs.h. */
8459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8461 #define $ac_func innocuous_$ac_func
8463 /* System header to define __stub macros and hopefully few prototypes,
8464 which can conflict with char $ac_func (); below.
8465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8466 <limits.h> exists even on freestanding compilers. */
8468 #ifdef __STDC__
8469 # include <limits.h>
8470 #else
8471 # include <assert.h>
8472 #endif
8474 #undef $ac_func
8476 /* Override any gcc2 internal prototype to avoid an error. */
8477 #ifdef __cplusplus
8478 extern "C"
8480 #endif
8481 /* We use char because int might match the return type of a gcc2
8482 builtin and then its argument prototype would still apply. */
8483 char $ac_func ();
8484 /* The GNU C library defines this for functions which it implements
8485 to always fail with ENOSYS. Some functions are actually named
8486 something starting with __ and the normal name is an alias. */
8487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8488 choke me
8489 #else
8490 char (*f) () = $ac_func;
8491 #endif
8492 #ifdef __cplusplus
8494 #endif
8497 main ()
8499 return f != $ac_func;
8501 return 0;
8503 _ACEOF
8504 rm -f conftest.$ac_objext conftest$ac_exeext
8505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8506 (eval $ac_link) 2>conftest.er1
8507 ac_status=$?
8508 grep -v '^ *+' conftest.er1 >conftest.err
8509 rm -f conftest.er1
8510 cat conftest.err >&5
8511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8512 (exit $ac_status); } &&
8513 { ac_try='test -z "$ac_c_werror_flag"
8514 || test ! -s conftest.err'
8515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8516 (eval $ac_try) 2>&5
8517 ac_status=$?
8518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8519 (exit $ac_status); }; } &&
8520 { ac_try='test -s conftest$ac_exeext'
8521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8522 (eval $ac_try) 2>&5
8523 ac_status=$?
8524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525 (exit $ac_status); }; }; then
8526 eval "$as_ac_var=yes"
8527 else
8528 echo "$as_me: failed program was:" >&5
8529 sed 's/^/| /' conftest.$ac_ext >&5
8531 eval "$as_ac_var=no"
8533 rm -f conftest.err conftest.$ac_objext \
8534 conftest$ac_exeext conftest.$ac_ext
8536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8538 if test `eval echo '${'$as_ac_var'}'` = yes; then
8539 cat >>confdefs.h <<_ACEOF
8540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8541 _ACEOF
8544 done
8546 else
8548 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8549 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8550 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8551 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8552 echo $ECHO_N "(cached) $ECHO_C" >&6
8553 else
8557 ac_ext=cc
8558 ac_cpp='$CXXCPP $CPPFLAGS'
8559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8563 cat >conftest.$ac_ext <<_ACEOF
8564 /* confdefs.h. */
8565 _ACEOF
8566 cat confdefs.h >>conftest.$ac_ext
8567 cat >>conftest.$ac_ext <<_ACEOF
8568 /* end confdefs.h. */
8569 #include <math.h>
8570 #ifdef HAVE_IEEEFP_H
8571 #include <ieeefp.h>
8572 #endif
8575 main ()
8577 _isinf(0);
8579 return 0;
8581 _ACEOF
8582 rm -f conftest.$ac_objext
8583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8584 (eval $ac_compile) 2>conftest.er1
8585 ac_status=$?
8586 grep -v '^ *+' conftest.er1 >conftest.err
8587 rm -f conftest.er1
8588 cat conftest.err >&5
8589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8590 (exit $ac_status); } &&
8591 { ac_try='test -z "$ac_cxx_werror_flag"
8592 || test ! -s conftest.err'
8593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8594 (eval $ac_try) 2>&5
8595 ac_status=$?
8596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8597 (exit $ac_status); }; } &&
8598 { ac_try='test -s conftest.$ac_objext'
8599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8600 (eval $ac_try) 2>&5
8601 ac_status=$?
8602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8603 (exit $ac_status); }; }; then
8604 glibcxx_cv_func__isinf_use=yes
8605 else
8606 echo "$as_me: failed program was:" >&5
8607 sed 's/^/| /' conftest.$ac_ext >&5
8609 glibcxx_cv_func__isinf_use=no
8611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8612 ac_ext=c
8613 ac_cpp='$CPP $CPPFLAGS'
8614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8622 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8623 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8625 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8627 for ac_func in _isinf
8629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8630 echo "$as_me:$LINENO: checking for $ac_func" >&5
8631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8632 if eval "test \"\${$as_ac_var+set}\" = set"; then
8633 echo $ECHO_N "(cached) $ECHO_C" >&6
8634 else
8635 if test x$gcc_no_link = xyes; then
8636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8638 { (exit 1); exit 1; }; }
8640 cat >conftest.$ac_ext <<_ACEOF
8641 /* confdefs.h. */
8642 _ACEOF
8643 cat confdefs.h >>conftest.$ac_ext
8644 cat >>conftest.$ac_ext <<_ACEOF
8645 /* end confdefs.h. */
8646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8648 #define $ac_func innocuous_$ac_func
8650 /* System header to define __stub macros and hopefully few prototypes,
8651 which can conflict with char $ac_func (); below.
8652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8653 <limits.h> exists even on freestanding compilers. */
8655 #ifdef __STDC__
8656 # include <limits.h>
8657 #else
8658 # include <assert.h>
8659 #endif
8661 #undef $ac_func
8663 /* Override any gcc2 internal prototype to avoid an error. */
8664 #ifdef __cplusplus
8665 extern "C"
8667 #endif
8668 /* We use char because int might match the return type of a gcc2
8669 builtin and then its argument prototype would still apply. */
8670 char $ac_func ();
8671 /* The GNU C library defines this for functions which it implements
8672 to always fail with ENOSYS. Some functions are actually named
8673 something starting with __ and the normal name is an alias. */
8674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8675 choke me
8676 #else
8677 char (*f) () = $ac_func;
8678 #endif
8679 #ifdef __cplusplus
8681 #endif
8684 main ()
8686 return f != $ac_func;
8688 return 0;
8690 _ACEOF
8691 rm -f conftest.$ac_objext conftest$ac_exeext
8692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8693 (eval $ac_link) 2>conftest.er1
8694 ac_status=$?
8695 grep -v '^ *+' conftest.er1 >conftest.err
8696 rm -f conftest.er1
8697 cat conftest.err >&5
8698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8699 (exit $ac_status); } &&
8700 { ac_try='test -z "$ac_c_werror_flag"
8701 || test ! -s conftest.err'
8702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8703 (eval $ac_try) 2>&5
8704 ac_status=$?
8705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706 (exit $ac_status); }; } &&
8707 { ac_try='test -s conftest$ac_exeext'
8708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8709 (eval $ac_try) 2>&5
8710 ac_status=$?
8711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8712 (exit $ac_status); }; }; then
8713 eval "$as_ac_var=yes"
8714 else
8715 echo "$as_me: failed program was:" >&5
8716 sed 's/^/| /' conftest.$ac_ext >&5
8718 eval "$as_ac_var=no"
8720 rm -f conftest.err conftest.$ac_objext \
8721 conftest$ac_exeext conftest.$ac_ext
8723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8725 if test `eval echo '${'$as_ac_var'}'` = yes; then
8726 cat >>confdefs.h <<_ACEOF
8727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8728 _ACEOF
8731 done
8738 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8739 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8740 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8741 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8742 echo $ECHO_N "(cached) $ECHO_C" >&6
8743 else
8747 ac_ext=cc
8748 ac_cpp='$CXXCPP $CPPFLAGS'
8749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8753 cat >conftest.$ac_ext <<_ACEOF
8754 /* confdefs.h. */
8755 _ACEOF
8756 cat confdefs.h >>conftest.$ac_ext
8757 cat >>conftest.$ac_ext <<_ACEOF
8758 /* end confdefs.h. */
8759 #include <math.h>
8760 #ifdef HAVE_IEEEFP_H
8761 #include <ieeefp.h>
8762 #endif
8765 main ()
8767 isnan(0);
8769 return 0;
8771 _ACEOF
8772 rm -f conftest.$ac_objext
8773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8774 (eval $ac_compile) 2>conftest.er1
8775 ac_status=$?
8776 grep -v '^ *+' conftest.er1 >conftest.err
8777 rm -f conftest.er1
8778 cat conftest.err >&5
8779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8780 (exit $ac_status); } &&
8781 { ac_try='test -z "$ac_cxx_werror_flag"
8782 || test ! -s conftest.err'
8783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8784 (eval $ac_try) 2>&5
8785 ac_status=$?
8786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8787 (exit $ac_status); }; } &&
8788 { ac_try='test -s conftest.$ac_objext'
8789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8790 (eval $ac_try) 2>&5
8791 ac_status=$?
8792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8793 (exit $ac_status); }; }; then
8794 glibcxx_cv_func_isnan_use=yes
8795 else
8796 echo "$as_me: failed program was:" >&5
8797 sed 's/^/| /' conftest.$ac_ext >&5
8799 glibcxx_cv_func_isnan_use=no
8801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8802 ac_ext=c
8803 ac_cpp='$CPP $CPPFLAGS'
8804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8812 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8813 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8815 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8817 for ac_func in isnan
8819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8820 echo "$as_me:$LINENO: checking for $ac_func" >&5
8821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8822 if eval "test \"\${$as_ac_var+set}\" = set"; then
8823 echo $ECHO_N "(cached) $ECHO_C" >&6
8824 else
8825 if test x$gcc_no_link = xyes; then
8826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8828 { (exit 1); exit 1; }; }
8830 cat >conftest.$ac_ext <<_ACEOF
8831 /* confdefs.h. */
8832 _ACEOF
8833 cat confdefs.h >>conftest.$ac_ext
8834 cat >>conftest.$ac_ext <<_ACEOF
8835 /* end confdefs.h. */
8836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8838 #define $ac_func innocuous_$ac_func
8840 /* System header to define __stub macros and hopefully few prototypes,
8841 which can conflict with char $ac_func (); below.
8842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8843 <limits.h> exists even on freestanding compilers. */
8845 #ifdef __STDC__
8846 # include <limits.h>
8847 #else
8848 # include <assert.h>
8849 #endif
8851 #undef $ac_func
8853 /* Override any gcc2 internal prototype to avoid an error. */
8854 #ifdef __cplusplus
8855 extern "C"
8857 #endif
8858 /* We use char because int might match the return type of a gcc2
8859 builtin and then its argument prototype would still apply. */
8860 char $ac_func ();
8861 /* The GNU C library defines this for functions which it implements
8862 to always fail with ENOSYS. Some functions are actually named
8863 something starting with __ and the normal name is an alias. */
8864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8865 choke me
8866 #else
8867 char (*f) () = $ac_func;
8868 #endif
8869 #ifdef __cplusplus
8871 #endif
8874 main ()
8876 return f != $ac_func;
8878 return 0;
8880 _ACEOF
8881 rm -f conftest.$ac_objext conftest$ac_exeext
8882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8883 (eval $ac_link) 2>conftest.er1
8884 ac_status=$?
8885 grep -v '^ *+' conftest.er1 >conftest.err
8886 rm -f conftest.er1
8887 cat conftest.err >&5
8888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8889 (exit $ac_status); } &&
8890 { ac_try='test -z "$ac_c_werror_flag"
8891 || test ! -s conftest.err'
8892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8893 (eval $ac_try) 2>&5
8894 ac_status=$?
8895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8896 (exit $ac_status); }; } &&
8897 { ac_try='test -s conftest$ac_exeext'
8898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8899 (eval $ac_try) 2>&5
8900 ac_status=$?
8901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8902 (exit $ac_status); }; }; then
8903 eval "$as_ac_var=yes"
8904 else
8905 echo "$as_me: failed program was:" >&5
8906 sed 's/^/| /' conftest.$ac_ext >&5
8908 eval "$as_ac_var=no"
8910 rm -f conftest.err conftest.$ac_objext \
8911 conftest$ac_exeext conftest.$ac_ext
8913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8915 if test `eval echo '${'$as_ac_var'}'` = yes; then
8916 cat >>confdefs.h <<_ACEOF
8917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8918 _ACEOF
8921 done
8923 else
8925 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8926 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8927 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8928 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8929 echo $ECHO_N "(cached) $ECHO_C" >&6
8930 else
8934 ac_ext=cc
8935 ac_cpp='$CXXCPP $CPPFLAGS'
8936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8940 cat >conftest.$ac_ext <<_ACEOF
8941 /* confdefs.h. */
8942 _ACEOF
8943 cat confdefs.h >>conftest.$ac_ext
8944 cat >>conftest.$ac_ext <<_ACEOF
8945 /* end confdefs.h. */
8946 #include <math.h>
8947 #ifdef HAVE_IEEEFP_H
8948 #include <ieeefp.h>
8949 #endif
8952 main ()
8954 _isnan(0);
8956 return 0;
8958 _ACEOF
8959 rm -f conftest.$ac_objext
8960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8961 (eval $ac_compile) 2>conftest.er1
8962 ac_status=$?
8963 grep -v '^ *+' conftest.er1 >conftest.err
8964 rm -f conftest.er1
8965 cat conftest.err >&5
8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967 (exit $ac_status); } &&
8968 { ac_try='test -z "$ac_cxx_werror_flag"
8969 || test ! -s conftest.err'
8970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8971 (eval $ac_try) 2>&5
8972 ac_status=$?
8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974 (exit $ac_status); }; } &&
8975 { ac_try='test -s conftest.$ac_objext'
8976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8977 (eval $ac_try) 2>&5
8978 ac_status=$?
8979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980 (exit $ac_status); }; }; then
8981 glibcxx_cv_func__isnan_use=yes
8982 else
8983 echo "$as_me: failed program was:" >&5
8984 sed 's/^/| /' conftest.$ac_ext >&5
8986 glibcxx_cv_func__isnan_use=no
8988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8989 ac_ext=c
8990 ac_cpp='$CPP $CPPFLAGS'
8991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8999 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9000 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9002 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9004 for ac_func in _isnan
9006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9007 echo "$as_me:$LINENO: checking for $ac_func" >&5
9008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9009 if eval "test \"\${$as_ac_var+set}\" = set"; then
9010 echo $ECHO_N "(cached) $ECHO_C" >&6
9011 else
9012 if test x$gcc_no_link = xyes; then
9013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9015 { (exit 1); exit 1; }; }
9017 cat >conftest.$ac_ext <<_ACEOF
9018 /* confdefs.h. */
9019 _ACEOF
9020 cat confdefs.h >>conftest.$ac_ext
9021 cat >>conftest.$ac_ext <<_ACEOF
9022 /* end confdefs.h. */
9023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9025 #define $ac_func innocuous_$ac_func
9027 /* System header to define __stub macros and hopefully few prototypes,
9028 which can conflict with char $ac_func (); below.
9029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9030 <limits.h> exists even on freestanding compilers. */
9032 #ifdef __STDC__
9033 # include <limits.h>
9034 #else
9035 # include <assert.h>
9036 #endif
9038 #undef $ac_func
9040 /* Override any gcc2 internal prototype to avoid an error. */
9041 #ifdef __cplusplus
9042 extern "C"
9044 #endif
9045 /* We use char because int might match the return type of a gcc2
9046 builtin and then its argument prototype would still apply. */
9047 char $ac_func ();
9048 /* The GNU C library defines this for functions which it implements
9049 to always fail with ENOSYS. Some functions are actually named
9050 something starting with __ and the normal name is an alias. */
9051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9052 choke me
9053 #else
9054 char (*f) () = $ac_func;
9055 #endif
9056 #ifdef __cplusplus
9058 #endif
9061 main ()
9063 return f != $ac_func;
9065 return 0;
9067 _ACEOF
9068 rm -f conftest.$ac_objext conftest$ac_exeext
9069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9070 (eval $ac_link) 2>conftest.er1
9071 ac_status=$?
9072 grep -v '^ *+' conftest.er1 >conftest.err
9073 rm -f conftest.er1
9074 cat conftest.err >&5
9075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9076 (exit $ac_status); } &&
9077 { ac_try='test -z "$ac_c_werror_flag"
9078 || test ! -s conftest.err'
9079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9080 (eval $ac_try) 2>&5
9081 ac_status=$?
9082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9083 (exit $ac_status); }; } &&
9084 { ac_try='test -s conftest$ac_exeext'
9085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9086 (eval $ac_try) 2>&5
9087 ac_status=$?
9088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9089 (exit $ac_status); }; }; then
9090 eval "$as_ac_var=yes"
9091 else
9092 echo "$as_me: failed program was:" >&5
9093 sed 's/^/| /' conftest.$ac_ext >&5
9095 eval "$as_ac_var=no"
9097 rm -f conftest.err conftest.$ac_objext \
9098 conftest$ac_exeext conftest.$ac_ext
9100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9102 if test `eval echo '${'$as_ac_var'}'` = yes; then
9103 cat >>confdefs.h <<_ACEOF
9104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9105 _ACEOF
9108 done
9115 echo "$as_me:$LINENO: checking for finite declaration" >&5
9116 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9117 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9118 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9119 echo $ECHO_N "(cached) $ECHO_C" >&6
9120 else
9124 ac_ext=cc
9125 ac_cpp='$CXXCPP $CPPFLAGS'
9126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9130 cat >conftest.$ac_ext <<_ACEOF
9131 /* confdefs.h. */
9132 _ACEOF
9133 cat confdefs.h >>conftest.$ac_ext
9134 cat >>conftest.$ac_ext <<_ACEOF
9135 /* end confdefs.h. */
9136 #include <math.h>
9137 #ifdef HAVE_IEEEFP_H
9138 #include <ieeefp.h>
9139 #endif
9142 main ()
9144 finite(0);
9146 return 0;
9148 _ACEOF
9149 rm -f conftest.$ac_objext
9150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9151 (eval $ac_compile) 2>conftest.er1
9152 ac_status=$?
9153 grep -v '^ *+' conftest.er1 >conftest.err
9154 rm -f conftest.er1
9155 cat conftest.err >&5
9156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9157 (exit $ac_status); } &&
9158 { ac_try='test -z "$ac_cxx_werror_flag"
9159 || test ! -s conftest.err'
9160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9161 (eval $ac_try) 2>&5
9162 ac_status=$?
9163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9164 (exit $ac_status); }; } &&
9165 { ac_try='test -s conftest.$ac_objext'
9166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9167 (eval $ac_try) 2>&5
9168 ac_status=$?
9169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9170 (exit $ac_status); }; }; then
9171 glibcxx_cv_func_finite_use=yes
9172 else
9173 echo "$as_me: failed program was:" >&5
9174 sed 's/^/| /' conftest.$ac_ext >&5
9176 glibcxx_cv_func_finite_use=no
9178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9179 ac_ext=c
9180 ac_cpp='$CPP $CPPFLAGS'
9181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9189 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9190 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9192 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9194 for ac_func in finite
9196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9197 echo "$as_me:$LINENO: checking for $ac_func" >&5
9198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9199 if eval "test \"\${$as_ac_var+set}\" = set"; then
9200 echo $ECHO_N "(cached) $ECHO_C" >&6
9201 else
9202 if test x$gcc_no_link = xyes; then
9203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9205 { (exit 1); exit 1; }; }
9207 cat >conftest.$ac_ext <<_ACEOF
9208 /* confdefs.h. */
9209 _ACEOF
9210 cat confdefs.h >>conftest.$ac_ext
9211 cat >>conftest.$ac_ext <<_ACEOF
9212 /* end confdefs.h. */
9213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9215 #define $ac_func innocuous_$ac_func
9217 /* System header to define __stub macros and hopefully few prototypes,
9218 which can conflict with char $ac_func (); below.
9219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9220 <limits.h> exists even on freestanding compilers. */
9222 #ifdef __STDC__
9223 # include <limits.h>
9224 #else
9225 # include <assert.h>
9226 #endif
9228 #undef $ac_func
9230 /* Override any gcc2 internal prototype to avoid an error. */
9231 #ifdef __cplusplus
9232 extern "C"
9234 #endif
9235 /* We use char because int might match the return type of a gcc2
9236 builtin and then its argument prototype would still apply. */
9237 char $ac_func ();
9238 /* The GNU C library defines this for functions which it implements
9239 to always fail with ENOSYS. Some functions are actually named
9240 something starting with __ and the normal name is an alias. */
9241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9242 choke me
9243 #else
9244 char (*f) () = $ac_func;
9245 #endif
9246 #ifdef __cplusplus
9248 #endif
9251 main ()
9253 return f != $ac_func;
9255 return 0;
9257 _ACEOF
9258 rm -f conftest.$ac_objext conftest$ac_exeext
9259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9260 (eval $ac_link) 2>conftest.er1
9261 ac_status=$?
9262 grep -v '^ *+' conftest.er1 >conftest.err
9263 rm -f conftest.er1
9264 cat conftest.err >&5
9265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9266 (exit $ac_status); } &&
9267 { ac_try='test -z "$ac_c_werror_flag"
9268 || test ! -s conftest.err'
9269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9270 (eval $ac_try) 2>&5
9271 ac_status=$?
9272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9273 (exit $ac_status); }; } &&
9274 { ac_try='test -s conftest$ac_exeext'
9275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9276 (eval $ac_try) 2>&5
9277 ac_status=$?
9278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9279 (exit $ac_status); }; }; then
9280 eval "$as_ac_var=yes"
9281 else
9282 echo "$as_me: failed program was:" >&5
9283 sed 's/^/| /' conftest.$ac_ext >&5
9285 eval "$as_ac_var=no"
9287 rm -f conftest.err conftest.$ac_objext \
9288 conftest$ac_exeext conftest.$ac_ext
9290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9292 if test `eval echo '${'$as_ac_var'}'` = yes; then
9293 cat >>confdefs.h <<_ACEOF
9294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9295 _ACEOF
9298 done
9300 else
9302 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9303 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9304 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9305 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9306 echo $ECHO_N "(cached) $ECHO_C" >&6
9307 else
9311 ac_ext=cc
9312 ac_cpp='$CXXCPP $CPPFLAGS'
9313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9317 cat >conftest.$ac_ext <<_ACEOF
9318 /* confdefs.h. */
9319 _ACEOF
9320 cat confdefs.h >>conftest.$ac_ext
9321 cat >>conftest.$ac_ext <<_ACEOF
9322 /* end confdefs.h. */
9323 #include <math.h>
9324 #ifdef HAVE_IEEEFP_H
9325 #include <ieeefp.h>
9326 #endif
9329 main ()
9331 _finite(0);
9333 return 0;
9335 _ACEOF
9336 rm -f conftest.$ac_objext
9337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9338 (eval $ac_compile) 2>conftest.er1
9339 ac_status=$?
9340 grep -v '^ *+' conftest.er1 >conftest.err
9341 rm -f conftest.er1
9342 cat conftest.err >&5
9343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9344 (exit $ac_status); } &&
9345 { ac_try='test -z "$ac_cxx_werror_flag"
9346 || test ! -s conftest.err'
9347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9348 (eval $ac_try) 2>&5
9349 ac_status=$?
9350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9351 (exit $ac_status); }; } &&
9352 { ac_try='test -s conftest.$ac_objext'
9353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9354 (eval $ac_try) 2>&5
9355 ac_status=$?
9356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9357 (exit $ac_status); }; }; then
9358 glibcxx_cv_func__finite_use=yes
9359 else
9360 echo "$as_me: failed program was:" >&5
9361 sed 's/^/| /' conftest.$ac_ext >&5
9363 glibcxx_cv_func__finite_use=no
9365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9366 ac_ext=c
9367 ac_cpp='$CPP $CPPFLAGS'
9368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9376 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9377 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9379 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9381 for ac_func in _finite
9383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9384 echo "$as_me:$LINENO: checking for $ac_func" >&5
9385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9386 if eval "test \"\${$as_ac_var+set}\" = set"; then
9387 echo $ECHO_N "(cached) $ECHO_C" >&6
9388 else
9389 if test x$gcc_no_link = xyes; then
9390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9392 { (exit 1); exit 1; }; }
9394 cat >conftest.$ac_ext <<_ACEOF
9395 /* confdefs.h. */
9396 _ACEOF
9397 cat confdefs.h >>conftest.$ac_ext
9398 cat >>conftest.$ac_ext <<_ACEOF
9399 /* end confdefs.h. */
9400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9402 #define $ac_func innocuous_$ac_func
9404 /* System header to define __stub macros and hopefully few prototypes,
9405 which can conflict with char $ac_func (); below.
9406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9407 <limits.h> exists even on freestanding compilers. */
9409 #ifdef __STDC__
9410 # include <limits.h>
9411 #else
9412 # include <assert.h>
9413 #endif
9415 #undef $ac_func
9417 /* Override any gcc2 internal prototype to avoid an error. */
9418 #ifdef __cplusplus
9419 extern "C"
9421 #endif
9422 /* We use char because int might match the return type of a gcc2
9423 builtin and then its argument prototype would still apply. */
9424 char $ac_func ();
9425 /* The GNU C library defines this for functions which it implements
9426 to always fail with ENOSYS. Some functions are actually named
9427 something starting with __ and the normal name is an alias. */
9428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9429 choke me
9430 #else
9431 char (*f) () = $ac_func;
9432 #endif
9433 #ifdef __cplusplus
9435 #endif
9438 main ()
9440 return f != $ac_func;
9442 return 0;
9444 _ACEOF
9445 rm -f conftest.$ac_objext conftest$ac_exeext
9446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9447 (eval $ac_link) 2>conftest.er1
9448 ac_status=$?
9449 grep -v '^ *+' conftest.er1 >conftest.err
9450 rm -f conftest.er1
9451 cat conftest.err >&5
9452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9453 (exit $ac_status); } &&
9454 { ac_try='test -z "$ac_c_werror_flag"
9455 || test ! -s conftest.err'
9456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9457 (eval $ac_try) 2>&5
9458 ac_status=$?
9459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9460 (exit $ac_status); }; } &&
9461 { ac_try='test -s conftest$ac_exeext'
9462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9463 (eval $ac_try) 2>&5
9464 ac_status=$?
9465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9466 (exit $ac_status); }; }; then
9467 eval "$as_ac_var=yes"
9468 else
9469 echo "$as_me: failed program was:" >&5
9470 sed 's/^/| /' conftest.$ac_ext >&5
9472 eval "$as_ac_var=no"
9474 rm -f conftest.err conftest.$ac_objext \
9475 conftest$ac_exeext conftest.$ac_ext
9477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9479 if test `eval echo '${'$as_ac_var'}'` = yes; then
9480 cat >>confdefs.h <<_ACEOF
9481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9482 _ACEOF
9485 done
9492 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9493 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9494 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9495 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9496 echo $ECHO_N "(cached) $ECHO_C" >&6
9497 else
9501 ac_ext=cc
9502 ac_cpp='$CXXCPP $CPPFLAGS'
9503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9507 cat >conftest.$ac_ext <<_ACEOF
9508 /* confdefs.h. */
9509 _ACEOF
9510 cat confdefs.h >>conftest.$ac_ext
9511 cat >>conftest.$ac_ext <<_ACEOF
9512 /* end confdefs.h. */
9513 #include <math.h>
9515 main ()
9517 copysign(0, 0);
9519 return 0;
9521 _ACEOF
9522 rm -f conftest.$ac_objext
9523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9524 (eval $ac_compile) 2>conftest.er1
9525 ac_status=$?
9526 grep -v '^ *+' conftest.er1 >conftest.err
9527 rm -f conftest.er1
9528 cat conftest.err >&5
9529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9530 (exit $ac_status); } &&
9531 { ac_try='test -z "$ac_cxx_werror_flag"
9532 || test ! -s conftest.err'
9533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9534 (eval $ac_try) 2>&5
9535 ac_status=$?
9536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9537 (exit $ac_status); }; } &&
9538 { ac_try='test -s conftest.$ac_objext'
9539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9540 (eval $ac_try) 2>&5
9541 ac_status=$?
9542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9543 (exit $ac_status); }; }; then
9544 glibcxx_cv_func_copysign_use=yes
9545 else
9546 echo "$as_me: failed program was:" >&5
9547 sed 's/^/| /' conftest.$ac_ext >&5
9549 glibcxx_cv_func_copysign_use=no
9551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9552 ac_ext=c
9553 ac_cpp='$CPP $CPPFLAGS'
9554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9562 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9563 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9565 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9567 for ac_func in copysign
9569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9570 echo "$as_me:$LINENO: checking for $ac_func" >&5
9571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9572 if eval "test \"\${$as_ac_var+set}\" = set"; then
9573 echo $ECHO_N "(cached) $ECHO_C" >&6
9574 else
9575 if test x$gcc_no_link = xyes; then
9576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9578 { (exit 1); exit 1; }; }
9580 cat >conftest.$ac_ext <<_ACEOF
9581 /* confdefs.h. */
9582 _ACEOF
9583 cat confdefs.h >>conftest.$ac_ext
9584 cat >>conftest.$ac_ext <<_ACEOF
9585 /* end confdefs.h. */
9586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9588 #define $ac_func innocuous_$ac_func
9590 /* System header to define __stub macros and hopefully few prototypes,
9591 which can conflict with char $ac_func (); below.
9592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9593 <limits.h> exists even on freestanding compilers. */
9595 #ifdef __STDC__
9596 # include <limits.h>
9597 #else
9598 # include <assert.h>
9599 #endif
9601 #undef $ac_func
9603 /* Override any gcc2 internal prototype to avoid an error. */
9604 #ifdef __cplusplus
9605 extern "C"
9607 #endif
9608 /* We use char because int might match the return type of a gcc2
9609 builtin and then its argument prototype would still apply. */
9610 char $ac_func ();
9611 /* The GNU C library defines this for functions which it implements
9612 to always fail with ENOSYS. Some functions are actually named
9613 something starting with __ and the normal name is an alias. */
9614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9615 choke me
9616 #else
9617 char (*f) () = $ac_func;
9618 #endif
9619 #ifdef __cplusplus
9621 #endif
9624 main ()
9626 return f != $ac_func;
9628 return 0;
9630 _ACEOF
9631 rm -f conftest.$ac_objext conftest$ac_exeext
9632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9633 (eval $ac_link) 2>conftest.er1
9634 ac_status=$?
9635 grep -v '^ *+' conftest.er1 >conftest.err
9636 rm -f conftest.er1
9637 cat conftest.err >&5
9638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9639 (exit $ac_status); } &&
9640 { ac_try='test -z "$ac_c_werror_flag"
9641 || test ! -s conftest.err'
9642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9643 (eval $ac_try) 2>&5
9644 ac_status=$?
9645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9646 (exit $ac_status); }; } &&
9647 { ac_try='test -s conftest$ac_exeext'
9648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9649 (eval $ac_try) 2>&5
9650 ac_status=$?
9651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9652 (exit $ac_status); }; }; then
9653 eval "$as_ac_var=yes"
9654 else
9655 echo "$as_me: failed program was:" >&5
9656 sed 's/^/| /' conftest.$ac_ext >&5
9658 eval "$as_ac_var=no"
9660 rm -f conftest.err conftest.$ac_objext \
9661 conftest$ac_exeext conftest.$ac_ext
9663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9665 if test `eval echo '${'$as_ac_var'}'` = yes; then
9666 cat >>confdefs.h <<_ACEOF
9667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9668 _ACEOF
9671 done
9673 else
9675 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9676 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9677 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9678 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9679 echo $ECHO_N "(cached) $ECHO_C" >&6
9680 else
9684 ac_ext=cc
9685 ac_cpp='$CXXCPP $CPPFLAGS'
9686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9690 cat >conftest.$ac_ext <<_ACEOF
9691 /* confdefs.h. */
9692 _ACEOF
9693 cat confdefs.h >>conftest.$ac_ext
9694 cat >>conftest.$ac_ext <<_ACEOF
9695 /* end confdefs.h. */
9696 #include <math.h>
9698 main ()
9700 _copysign(0, 0);
9702 return 0;
9704 _ACEOF
9705 rm -f conftest.$ac_objext
9706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9707 (eval $ac_compile) 2>conftest.er1
9708 ac_status=$?
9709 grep -v '^ *+' conftest.er1 >conftest.err
9710 rm -f conftest.er1
9711 cat conftest.err >&5
9712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713 (exit $ac_status); } &&
9714 { ac_try='test -z "$ac_cxx_werror_flag"
9715 || test ! -s conftest.err'
9716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9717 (eval $ac_try) 2>&5
9718 ac_status=$?
9719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9720 (exit $ac_status); }; } &&
9721 { ac_try='test -s conftest.$ac_objext'
9722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9723 (eval $ac_try) 2>&5
9724 ac_status=$?
9725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9726 (exit $ac_status); }; }; then
9727 glibcxx_cv_func__copysign_use=yes
9728 else
9729 echo "$as_me: failed program was:" >&5
9730 sed 's/^/| /' conftest.$ac_ext >&5
9732 glibcxx_cv_func__copysign_use=no
9734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9735 ac_ext=c
9736 ac_cpp='$CPP $CPPFLAGS'
9737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9745 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9746 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9748 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9750 for ac_func in _copysign
9752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9753 echo "$as_me:$LINENO: checking for $ac_func" >&5
9754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9755 if eval "test \"\${$as_ac_var+set}\" = set"; then
9756 echo $ECHO_N "(cached) $ECHO_C" >&6
9757 else
9758 if test x$gcc_no_link = xyes; then
9759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9761 { (exit 1); exit 1; }; }
9763 cat >conftest.$ac_ext <<_ACEOF
9764 /* confdefs.h. */
9765 _ACEOF
9766 cat confdefs.h >>conftest.$ac_ext
9767 cat >>conftest.$ac_ext <<_ACEOF
9768 /* end confdefs.h. */
9769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9771 #define $ac_func innocuous_$ac_func
9773 /* System header to define __stub macros and hopefully few prototypes,
9774 which can conflict with char $ac_func (); below.
9775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9776 <limits.h> exists even on freestanding compilers. */
9778 #ifdef __STDC__
9779 # include <limits.h>
9780 #else
9781 # include <assert.h>
9782 #endif
9784 #undef $ac_func
9786 /* Override any gcc2 internal prototype to avoid an error. */
9787 #ifdef __cplusplus
9788 extern "C"
9790 #endif
9791 /* We use char because int might match the return type of a gcc2
9792 builtin and then its argument prototype would still apply. */
9793 char $ac_func ();
9794 /* The GNU C library defines this for functions which it implements
9795 to always fail with ENOSYS. Some functions are actually named
9796 something starting with __ and the normal name is an alias. */
9797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9798 choke me
9799 #else
9800 char (*f) () = $ac_func;
9801 #endif
9802 #ifdef __cplusplus
9804 #endif
9807 main ()
9809 return f != $ac_func;
9811 return 0;
9813 _ACEOF
9814 rm -f conftest.$ac_objext conftest$ac_exeext
9815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9816 (eval $ac_link) 2>conftest.er1
9817 ac_status=$?
9818 grep -v '^ *+' conftest.er1 >conftest.err
9819 rm -f conftest.er1
9820 cat conftest.err >&5
9821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9822 (exit $ac_status); } &&
9823 { ac_try='test -z "$ac_c_werror_flag"
9824 || test ! -s conftest.err'
9825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9826 (eval $ac_try) 2>&5
9827 ac_status=$?
9828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9829 (exit $ac_status); }; } &&
9830 { ac_try='test -s conftest$ac_exeext'
9831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9832 (eval $ac_try) 2>&5
9833 ac_status=$?
9834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9835 (exit $ac_status); }; }; then
9836 eval "$as_ac_var=yes"
9837 else
9838 echo "$as_me: failed program was:" >&5
9839 sed 's/^/| /' conftest.$ac_ext >&5
9841 eval "$as_ac_var=no"
9843 rm -f conftest.err conftest.$ac_objext \
9844 conftest$ac_exeext conftest.$ac_ext
9846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9848 if test `eval echo '${'$as_ac_var'}'` = yes; then
9849 cat >>confdefs.h <<_ACEOF
9850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9851 _ACEOF
9854 done
9861 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9862 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9863 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9864 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9865 echo $ECHO_N "(cached) $ECHO_C" >&6
9866 else
9870 ac_ext=cc
9871 ac_cpp='$CXXCPP $CPPFLAGS'
9872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9876 cat >conftest.$ac_ext <<_ACEOF
9877 /* confdefs.h. */
9878 _ACEOF
9879 cat confdefs.h >>conftest.$ac_ext
9880 cat >>conftest.$ac_ext <<_ACEOF
9881 /* end confdefs.h. */
9882 #include <math.h>
9884 main ()
9886 sincos(0, 0, 0);
9888 return 0;
9890 _ACEOF
9891 rm -f conftest.$ac_objext
9892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9893 (eval $ac_compile) 2>conftest.er1
9894 ac_status=$?
9895 grep -v '^ *+' conftest.er1 >conftest.err
9896 rm -f conftest.er1
9897 cat conftest.err >&5
9898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9899 (exit $ac_status); } &&
9900 { ac_try='test -z "$ac_cxx_werror_flag"
9901 || test ! -s conftest.err'
9902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9903 (eval $ac_try) 2>&5
9904 ac_status=$?
9905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9906 (exit $ac_status); }; } &&
9907 { ac_try='test -s conftest.$ac_objext'
9908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9909 (eval $ac_try) 2>&5
9910 ac_status=$?
9911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9912 (exit $ac_status); }; }; then
9913 glibcxx_cv_func_sincos_use=yes
9914 else
9915 echo "$as_me: failed program was:" >&5
9916 sed 's/^/| /' conftest.$ac_ext >&5
9918 glibcxx_cv_func_sincos_use=no
9920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9921 ac_ext=c
9922 ac_cpp='$CPP $CPPFLAGS'
9923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9931 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9932 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9934 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9936 for ac_func in sincos
9938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9939 echo "$as_me:$LINENO: checking for $ac_func" >&5
9940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9941 if eval "test \"\${$as_ac_var+set}\" = set"; then
9942 echo $ECHO_N "(cached) $ECHO_C" >&6
9943 else
9944 if test x$gcc_no_link = xyes; then
9945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9947 { (exit 1); exit 1; }; }
9949 cat >conftest.$ac_ext <<_ACEOF
9950 /* confdefs.h. */
9951 _ACEOF
9952 cat confdefs.h >>conftest.$ac_ext
9953 cat >>conftest.$ac_ext <<_ACEOF
9954 /* end confdefs.h. */
9955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9957 #define $ac_func innocuous_$ac_func
9959 /* System header to define __stub macros and hopefully few prototypes,
9960 which can conflict with char $ac_func (); below.
9961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9962 <limits.h> exists even on freestanding compilers. */
9964 #ifdef __STDC__
9965 # include <limits.h>
9966 #else
9967 # include <assert.h>
9968 #endif
9970 #undef $ac_func
9972 /* Override any gcc2 internal prototype to avoid an error. */
9973 #ifdef __cplusplus
9974 extern "C"
9976 #endif
9977 /* We use char because int might match the return type of a gcc2
9978 builtin and then its argument prototype would still apply. */
9979 char $ac_func ();
9980 /* The GNU C library defines this for functions which it implements
9981 to always fail with ENOSYS. Some functions are actually named
9982 something starting with __ and the normal name is an alias. */
9983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9984 choke me
9985 #else
9986 char (*f) () = $ac_func;
9987 #endif
9988 #ifdef __cplusplus
9990 #endif
9993 main ()
9995 return f != $ac_func;
9997 return 0;
9999 _ACEOF
10000 rm -f conftest.$ac_objext conftest$ac_exeext
10001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10002 (eval $ac_link) 2>conftest.er1
10003 ac_status=$?
10004 grep -v '^ *+' conftest.er1 >conftest.err
10005 rm -f conftest.er1
10006 cat conftest.err >&5
10007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10008 (exit $ac_status); } &&
10009 { ac_try='test -z "$ac_c_werror_flag"
10010 || test ! -s conftest.err'
10011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10012 (eval $ac_try) 2>&5
10013 ac_status=$?
10014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10015 (exit $ac_status); }; } &&
10016 { ac_try='test -s conftest$ac_exeext'
10017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10018 (eval $ac_try) 2>&5
10019 ac_status=$?
10020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10021 (exit $ac_status); }; }; then
10022 eval "$as_ac_var=yes"
10023 else
10024 echo "$as_me: failed program was:" >&5
10025 sed 's/^/| /' conftest.$ac_ext >&5
10027 eval "$as_ac_var=no"
10029 rm -f conftest.err conftest.$ac_objext \
10030 conftest$ac_exeext conftest.$ac_ext
10032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10034 if test `eval echo '${'$as_ac_var'}'` = yes; then
10035 cat >>confdefs.h <<_ACEOF
10036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10037 _ACEOF
10040 done
10042 else
10044 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10045 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10046 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10047 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10048 echo $ECHO_N "(cached) $ECHO_C" >&6
10049 else
10053 ac_ext=cc
10054 ac_cpp='$CXXCPP $CPPFLAGS'
10055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10059 cat >conftest.$ac_ext <<_ACEOF
10060 /* confdefs.h. */
10061 _ACEOF
10062 cat confdefs.h >>conftest.$ac_ext
10063 cat >>conftest.$ac_ext <<_ACEOF
10064 /* end confdefs.h. */
10065 #include <math.h>
10067 main ()
10069 _sincos(0, 0, 0);
10071 return 0;
10073 _ACEOF
10074 rm -f conftest.$ac_objext
10075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10076 (eval $ac_compile) 2>conftest.er1
10077 ac_status=$?
10078 grep -v '^ *+' conftest.er1 >conftest.err
10079 rm -f conftest.er1
10080 cat conftest.err >&5
10081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10082 (exit $ac_status); } &&
10083 { ac_try='test -z "$ac_cxx_werror_flag"
10084 || test ! -s conftest.err'
10085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10086 (eval $ac_try) 2>&5
10087 ac_status=$?
10088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10089 (exit $ac_status); }; } &&
10090 { ac_try='test -s conftest.$ac_objext'
10091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10092 (eval $ac_try) 2>&5
10093 ac_status=$?
10094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10095 (exit $ac_status); }; }; then
10096 glibcxx_cv_func__sincos_use=yes
10097 else
10098 echo "$as_me: failed program was:" >&5
10099 sed 's/^/| /' conftest.$ac_ext >&5
10101 glibcxx_cv_func__sincos_use=no
10103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10104 ac_ext=c
10105 ac_cpp='$CPP $CPPFLAGS'
10106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10114 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10115 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10117 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10119 for ac_func in _sincos
10121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10122 echo "$as_me:$LINENO: checking for $ac_func" >&5
10123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10124 if eval "test \"\${$as_ac_var+set}\" = set"; then
10125 echo $ECHO_N "(cached) $ECHO_C" >&6
10126 else
10127 if test x$gcc_no_link = xyes; then
10128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10130 { (exit 1); exit 1; }; }
10132 cat >conftest.$ac_ext <<_ACEOF
10133 /* confdefs.h. */
10134 _ACEOF
10135 cat confdefs.h >>conftest.$ac_ext
10136 cat >>conftest.$ac_ext <<_ACEOF
10137 /* end confdefs.h. */
10138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10140 #define $ac_func innocuous_$ac_func
10142 /* System header to define __stub macros and hopefully few prototypes,
10143 which can conflict with char $ac_func (); below.
10144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10145 <limits.h> exists even on freestanding compilers. */
10147 #ifdef __STDC__
10148 # include <limits.h>
10149 #else
10150 # include <assert.h>
10151 #endif
10153 #undef $ac_func
10155 /* Override any gcc2 internal prototype to avoid an error. */
10156 #ifdef __cplusplus
10157 extern "C"
10159 #endif
10160 /* We use char because int might match the return type of a gcc2
10161 builtin and then its argument prototype would still apply. */
10162 char $ac_func ();
10163 /* The GNU C library defines this for functions which it implements
10164 to always fail with ENOSYS. Some functions are actually named
10165 something starting with __ and the normal name is an alias. */
10166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10167 choke me
10168 #else
10169 char (*f) () = $ac_func;
10170 #endif
10171 #ifdef __cplusplus
10173 #endif
10176 main ()
10178 return f != $ac_func;
10180 return 0;
10182 _ACEOF
10183 rm -f conftest.$ac_objext conftest$ac_exeext
10184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10185 (eval $ac_link) 2>conftest.er1
10186 ac_status=$?
10187 grep -v '^ *+' conftest.er1 >conftest.err
10188 rm -f conftest.er1
10189 cat conftest.err >&5
10190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10191 (exit $ac_status); } &&
10192 { ac_try='test -z "$ac_c_werror_flag"
10193 || test ! -s conftest.err'
10194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10195 (eval $ac_try) 2>&5
10196 ac_status=$?
10197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10198 (exit $ac_status); }; } &&
10199 { ac_try='test -s conftest$ac_exeext'
10200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10201 (eval $ac_try) 2>&5
10202 ac_status=$?
10203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10204 (exit $ac_status); }; }; then
10205 eval "$as_ac_var=yes"
10206 else
10207 echo "$as_me: failed program was:" >&5
10208 sed 's/^/| /' conftest.$ac_ext >&5
10210 eval "$as_ac_var=no"
10212 rm -f conftest.err conftest.$ac_objext \
10213 conftest$ac_exeext conftest.$ac_ext
10215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10217 if test `eval echo '${'$as_ac_var'}'` = yes; then
10218 cat >>confdefs.h <<_ACEOF
10219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10220 _ACEOF
10223 done
10230 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10231 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10232 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10233 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10234 echo $ECHO_N "(cached) $ECHO_C" >&6
10235 else
10239 ac_ext=cc
10240 ac_cpp='$CXXCPP $CPPFLAGS'
10241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10245 cat >conftest.$ac_ext <<_ACEOF
10246 /* confdefs.h. */
10247 _ACEOF
10248 cat confdefs.h >>conftest.$ac_ext
10249 cat >>conftest.$ac_ext <<_ACEOF
10250 /* end confdefs.h. */
10251 #include <math.h>
10252 #ifdef HAVE_IEEEFP_H
10253 #include <ieeefp.h>
10254 #endif
10257 main ()
10259 fpclass(0);
10261 return 0;
10263 _ACEOF
10264 rm -f conftest.$ac_objext
10265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10266 (eval $ac_compile) 2>conftest.er1
10267 ac_status=$?
10268 grep -v '^ *+' conftest.er1 >conftest.err
10269 rm -f conftest.er1
10270 cat conftest.err >&5
10271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10272 (exit $ac_status); } &&
10273 { ac_try='test -z "$ac_cxx_werror_flag"
10274 || test ! -s conftest.err'
10275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10276 (eval $ac_try) 2>&5
10277 ac_status=$?
10278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10279 (exit $ac_status); }; } &&
10280 { ac_try='test -s conftest.$ac_objext'
10281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10282 (eval $ac_try) 2>&5
10283 ac_status=$?
10284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10285 (exit $ac_status); }; }; then
10286 glibcxx_cv_func_fpclass_use=yes
10287 else
10288 echo "$as_me: failed program was:" >&5
10289 sed 's/^/| /' conftest.$ac_ext >&5
10291 glibcxx_cv_func_fpclass_use=no
10293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10294 ac_ext=c
10295 ac_cpp='$CPP $CPPFLAGS'
10296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10304 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10305 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10307 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10309 for ac_func in fpclass
10311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10312 echo "$as_me:$LINENO: checking for $ac_func" >&5
10313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10314 if eval "test \"\${$as_ac_var+set}\" = set"; then
10315 echo $ECHO_N "(cached) $ECHO_C" >&6
10316 else
10317 if test x$gcc_no_link = xyes; then
10318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10320 { (exit 1); exit 1; }; }
10322 cat >conftest.$ac_ext <<_ACEOF
10323 /* confdefs.h. */
10324 _ACEOF
10325 cat confdefs.h >>conftest.$ac_ext
10326 cat >>conftest.$ac_ext <<_ACEOF
10327 /* end confdefs.h. */
10328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10330 #define $ac_func innocuous_$ac_func
10332 /* System header to define __stub macros and hopefully few prototypes,
10333 which can conflict with char $ac_func (); below.
10334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10335 <limits.h> exists even on freestanding compilers. */
10337 #ifdef __STDC__
10338 # include <limits.h>
10339 #else
10340 # include <assert.h>
10341 #endif
10343 #undef $ac_func
10345 /* Override any gcc2 internal prototype to avoid an error. */
10346 #ifdef __cplusplus
10347 extern "C"
10349 #endif
10350 /* We use char because int might match the return type of a gcc2
10351 builtin and then its argument prototype would still apply. */
10352 char $ac_func ();
10353 /* The GNU C library defines this for functions which it implements
10354 to always fail with ENOSYS. Some functions are actually named
10355 something starting with __ and the normal name is an alias. */
10356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10357 choke me
10358 #else
10359 char (*f) () = $ac_func;
10360 #endif
10361 #ifdef __cplusplus
10363 #endif
10366 main ()
10368 return f != $ac_func;
10370 return 0;
10372 _ACEOF
10373 rm -f conftest.$ac_objext conftest$ac_exeext
10374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10375 (eval $ac_link) 2>conftest.er1
10376 ac_status=$?
10377 grep -v '^ *+' conftest.er1 >conftest.err
10378 rm -f conftest.er1
10379 cat conftest.err >&5
10380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10381 (exit $ac_status); } &&
10382 { ac_try='test -z "$ac_c_werror_flag"
10383 || test ! -s conftest.err'
10384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10385 (eval $ac_try) 2>&5
10386 ac_status=$?
10387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10388 (exit $ac_status); }; } &&
10389 { ac_try='test -s conftest$ac_exeext'
10390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10391 (eval $ac_try) 2>&5
10392 ac_status=$?
10393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10394 (exit $ac_status); }; }; then
10395 eval "$as_ac_var=yes"
10396 else
10397 echo "$as_me: failed program was:" >&5
10398 sed 's/^/| /' conftest.$ac_ext >&5
10400 eval "$as_ac_var=no"
10402 rm -f conftest.err conftest.$ac_objext \
10403 conftest$ac_exeext conftest.$ac_ext
10405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10407 if test `eval echo '${'$as_ac_var'}'` = yes; then
10408 cat >>confdefs.h <<_ACEOF
10409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10410 _ACEOF
10413 done
10415 else
10417 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10418 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10419 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10420 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10421 echo $ECHO_N "(cached) $ECHO_C" >&6
10422 else
10426 ac_ext=cc
10427 ac_cpp='$CXXCPP $CPPFLAGS'
10428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10432 cat >conftest.$ac_ext <<_ACEOF
10433 /* confdefs.h. */
10434 _ACEOF
10435 cat confdefs.h >>conftest.$ac_ext
10436 cat >>conftest.$ac_ext <<_ACEOF
10437 /* end confdefs.h. */
10438 #include <math.h>
10439 #ifdef HAVE_IEEEFP_H
10440 #include <ieeefp.h>
10441 #endif
10444 main ()
10446 _fpclass(0);
10448 return 0;
10450 _ACEOF
10451 rm -f conftest.$ac_objext
10452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10453 (eval $ac_compile) 2>conftest.er1
10454 ac_status=$?
10455 grep -v '^ *+' conftest.er1 >conftest.err
10456 rm -f conftest.er1
10457 cat conftest.err >&5
10458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10459 (exit $ac_status); } &&
10460 { ac_try='test -z "$ac_cxx_werror_flag"
10461 || test ! -s conftest.err'
10462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10463 (eval $ac_try) 2>&5
10464 ac_status=$?
10465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10466 (exit $ac_status); }; } &&
10467 { ac_try='test -s conftest.$ac_objext'
10468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10469 (eval $ac_try) 2>&5
10470 ac_status=$?
10471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10472 (exit $ac_status); }; }; then
10473 glibcxx_cv_func__fpclass_use=yes
10474 else
10475 echo "$as_me: failed program was:" >&5
10476 sed 's/^/| /' conftest.$ac_ext >&5
10478 glibcxx_cv_func__fpclass_use=no
10480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10481 ac_ext=c
10482 ac_cpp='$CPP $CPPFLAGS'
10483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10491 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10492 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10494 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10496 for ac_func in _fpclass
10498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10499 echo "$as_me:$LINENO: checking for $ac_func" >&5
10500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10501 if eval "test \"\${$as_ac_var+set}\" = set"; then
10502 echo $ECHO_N "(cached) $ECHO_C" >&6
10503 else
10504 if test x$gcc_no_link = xyes; then
10505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10507 { (exit 1); exit 1; }; }
10509 cat >conftest.$ac_ext <<_ACEOF
10510 /* confdefs.h. */
10511 _ACEOF
10512 cat confdefs.h >>conftest.$ac_ext
10513 cat >>conftest.$ac_ext <<_ACEOF
10514 /* end confdefs.h. */
10515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10517 #define $ac_func innocuous_$ac_func
10519 /* System header to define __stub macros and hopefully few prototypes,
10520 which can conflict with char $ac_func (); below.
10521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10522 <limits.h> exists even on freestanding compilers. */
10524 #ifdef __STDC__
10525 # include <limits.h>
10526 #else
10527 # include <assert.h>
10528 #endif
10530 #undef $ac_func
10532 /* Override any gcc2 internal prototype to avoid an error. */
10533 #ifdef __cplusplus
10534 extern "C"
10536 #endif
10537 /* We use char because int might match the return type of a gcc2
10538 builtin and then its argument prototype would still apply. */
10539 char $ac_func ();
10540 /* The GNU C library defines this for functions which it implements
10541 to always fail with ENOSYS. Some functions are actually named
10542 something starting with __ and the normal name is an alias. */
10543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10544 choke me
10545 #else
10546 char (*f) () = $ac_func;
10547 #endif
10548 #ifdef __cplusplus
10550 #endif
10553 main ()
10555 return f != $ac_func;
10557 return 0;
10559 _ACEOF
10560 rm -f conftest.$ac_objext conftest$ac_exeext
10561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10562 (eval $ac_link) 2>conftest.er1
10563 ac_status=$?
10564 grep -v '^ *+' conftest.er1 >conftest.err
10565 rm -f conftest.er1
10566 cat conftest.err >&5
10567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10568 (exit $ac_status); } &&
10569 { ac_try='test -z "$ac_c_werror_flag"
10570 || test ! -s conftest.err'
10571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10572 (eval $ac_try) 2>&5
10573 ac_status=$?
10574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10575 (exit $ac_status); }; } &&
10576 { ac_try='test -s conftest$ac_exeext'
10577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10578 (eval $ac_try) 2>&5
10579 ac_status=$?
10580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10581 (exit $ac_status); }; }; then
10582 eval "$as_ac_var=yes"
10583 else
10584 echo "$as_me: failed program was:" >&5
10585 sed 's/^/| /' conftest.$ac_ext >&5
10587 eval "$as_ac_var=no"
10589 rm -f conftest.err conftest.$ac_objext \
10590 conftest$ac_exeext conftest.$ac_ext
10592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10594 if test `eval echo '${'$as_ac_var'}'` = yes; then
10595 cat >>confdefs.h <<_ACEOF
10596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10597 _ACEOF
10600 done
10607 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10608 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10609 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10610 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10611 echo $ECHO_N "(cached) $ECHO_C" >&6
10612 else
10616 ac_ext=cc
10617 ac_cpp='$CXXCPP $CPPFLAGS'
10618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10622 cat >conftest.$ac_ext <<_ACEOF
10623 /* confdefs.h. */
10624 _ACEOF
10625 cat confdefs.h >>conftest.$ac_ext
10626 cat >>conftest.$ac_ext <<_ACEOF
10627 /* end confdefs.h. */
10628 #include <math.h>
10629 #ifdef HAVE_IEEEFP_H
10630 #include <ieeefp.h>
10631 #endif
10634 main ()
10636 qfpclass(0);
10638 return 0;
10640 _ACEOF
10641 rm -f conftest.$ac_objext
10642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10643 (eval $ac_compile) 2>conftest.er1
10644 ac_status=$?
10645 grep -v '^ *+' conftest.er1 >conftest.err
10646 rm -f conftest.er1
10647 cat conftest.err >&5
10648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10649 (exit $ac_status); } &&
10650 { ac_try='test -z "$ac_cxx_werror_flag"
10651 || test ! -s conftest.err'
10652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10653 (eval $ac_try) 2>&5
10654 ac_status=$?
10655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10656 (exit $ac_status); }; } &&
10657 { ac_try='test -s conftest.$ac_objext'
10658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10659 (eval $ac_try) 2>&5
10660 ac_status=$?
10661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10662 (exit $ac_status); }; }; then
10663 glibcxx_cv_func_qfpclass_use=yes
10664 else
10665 echo "$as_me: failed program was:" >&5
10666 sed 's/^/| /' conftest.$ac_ext >&5
10668 glibcxx_cv_func_qfpclass_use=no
10670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10671 ac_ext=c
10672 ac_cpp='$CPP $CPPFLAGS'
10673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10681 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10682 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10684 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10686 for ac_func in qfpclass
10688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10689 echo "$as_me:$LINENO: checking for $ac_func" >&5
10690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10691 if eval "test \"\${$as_ac_var+set}\" = set"; then
10692 echo $ECHO_N "(cached) $ECHO_C" >&6
10693 else
10694 if test x$gcc_no_link = xyes; then
10695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10697 { (exit 1); exit 1; }; }
10699 cat >conftest.$ac_ext <<_ACEOF
10700 /* confdefs.h. */
10701 _ACEOF
10702 cat confdefs.h >>conftest.$ac_ext
10703 cat >>conftest.$ac_ext <<_ACEOF
10704 /* end confdefs.h. */
10705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10707 #define $ac_func innocuous_$ac_func
10709 /* System header to define __stub macros and hopefully few prototypes,
10710 which can conflict with char $ac_func (); below.
10711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10712 <limits.h> exists even on freestanding compilers. */
10714 #ifdef __STDC__
10715 # include <limits.h>
10716 #else
10717 # include <assert.h>
10718 #endif
10720 #undef $ac_func
10722 /* Override any gcc2 internal prototype to avoid an error. */
10723 #ifdef __cplusplus
10724 extern "C"
10726 #endif
10727 /* We use char because int might match the return type of a gcc2
10728 builtin and then its argument prototype would still apply. */
10729 char $ac_func ();
10730 /* The GNU C library defines this for functions which it implements
10731 to always fail with ENOSYS. Some functions are actually named
10732 something starting with __ and the normal name is an alias. */
10733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10734 choke me
10735 #else
10736 char (*f) () = $ac_func;
10737 #endif
10738 #ifdef __cplusplus
10740 #endif
10743 main ()
10745 return f != $ac_func;
10747 return 0;
10749 _ACEOF
10750 rm -f conftest.$ac_objext conftest$ac_exeext
10751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10752 (eval $ac_link) 2>conftest.er1
10753 ac_status=$?
10754 grep -v '^ *+' conftest.er1 >conftest.err
10755 rm -f conftest.er1
10756 cat conftest.err >&5
10757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10758 (exit $ac_status); } &&
10759 { ac_try='test -z "$ac_c_werror_flag"
10760 || test ! -s conftest.err'
10761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10762 (eval $ac_try) 2>&5
10763 ac_status=$?
10764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10765 (exit $ac_status); }; } &&
10766 { ac_try='test -s conftest$ac_exeext'
10767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10768 (eval $ac_try) 2>&5
10769 ac_status=$?
10770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10771 (exit $ac_status); }; }; then
10772 eval "$as_ac_var=yes"
10773 else
10774 echo "$as_me: failed program was:" >&5
10775 sed 's/^/| /' conftest.$ac_ext >&5
10777 eval "$as_ac_var=no"
10779 rm -f conftest.err conftest.$ac_objext \
10780 conftest$ac_exeext conftest.$ac_ext
10782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10784 if test `eval echo '${'$as_ac_var'}'` = yes; then
10785 cat >>confdefs.h <<_ACEOF
10786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10787 _ACEOF
10790 done
10792 else
10794 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10795 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10796 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10797 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10798 echo $ECHO_N "(cached) $ECHO_C" >&6
10799 else
10803 ac_ext=cc
10804 ac_cpp='$CXXCPP $CPPFLAGS'
10805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10809 cat >conftest.$ac_ext <<_ACEOF
10810 /* confdefs.h. */
10811 _ACEOF
10812 cat confdefs.h >>conftest.$ac_ext
10813 cat >>conftest.$ac_ext <<_ACEOF
10814 /* end confdefs.h. */
10815 #include <math.h>
10816 #ifdef HAVE_IEEEFP_H
10817 #include <ieeefp.h>
10818 #endif
10821 main ()
10823 _qfpclass(0);
10825 return 0;
10827 _ACEOF
10828 rm -f conftest.$ac_objext
10829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10830 (eval $ac_compile) 2>conftest.er1
10831 ac_status=$?
10832 grep -v '^ *+' conftest.er1 >conftest.err
10833 rm -f conftest.er1
10834 cat conftest.err >&5
10835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10836 (exit $ac_status); } &&
10837 { ac_try='test -z "$ac_cxx_werror_flag"
10838 || test ! -s conftest.err'
10839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10840 (eval $ac_try) 2>&5
10841 ac_status=$?
10842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10843 (exit $ac_status); }; } &&
10844 { ac_try='test -s conftest.$ac_objext'
10845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10846 (eval $ac_try) 2>&5
10847 ac_status=$?
10848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10849 (exit $ac_status); }; }; then
10850 glibcxx_cv_func__qfpclass_use=yes
10851 else
10852 echo "$as_me: failed program was:" >&5
10853 sed 's/^/| /' conftest.$ac_ext >&5
10855 glibcxx_cv_func__qfpclass_use=no
10857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10858 ac_ext=c
10859 ac_cpp='$CPP $CPPFLAGS'
10860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10868 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10869 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10871 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10873 for ac_func in _qfpclass
10875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10876 echo "$as_me:$LINENO: checking for $ac_func" >&5
10877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10878 if eval "test \"\${$as_ac_var+set}\" = set"; then
10879 echo $ECHO_N "(cached) $ECHO_C" >&6
10880 else
10881 if test x$gcc_no_link = xyes; then
10882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10884 { (exit 1); exit 1; }; }
10886 cat >conftest.$ac_ext <<_ACEOF
10887 /* confdefs.h. */
10888 _ACEOF
10889 cat confdefs.h >>conftest.$ac_ext
10890 cat >>conftest.$ac_ext <<_ACEOF
10891 /* end confdefs.h. */
10892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10894 #define $ac_func innocuous_$ac_func
10896 /* System header to define __stub macros and hopefully few prototypes,
10897 which can conflict with char $ac_func (); below.
10898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10899 <limits.h> exists even on freestanding compilers. */
10901 #ifdef __STDC__
10902 # include <limits.h>
10903 #else
10904 # include <assert.h>
10905 #endif
10907 #undef $ac_func
10909 /* Override any gcc2 internal prototype to avoid an error. */
10910 #ifdef __cplusplus
10911 extern "C"
10913 #endif
10914 /* We use char because int might match the return type of a gcc2
10915 builtin and then its argument prototype would still apply. */
10916 char $ac_func ();
10917 /* The GNU C library defines this for functions which it implements
10918 to always fail with ENOSYS. Some functions are actually named
10919 something starting with __ and the normal name is an alias. */
10920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10921 choke me
10922 #else
10923 char (*f) () = $ac_func;
10924 #endif
10925 #ifdef __cplusplus
10927 #endif
10930 main ()
10932 return f != $ac_func;
10934 return 0;
10936 _ACEOF
10937 rm -f conftest.$ac_objext conftest$ac_exeext
10938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10939 (eval $ac_link) 2>conftest.er1
10940 ac_status=$?
10941 grep -v '^ *+' conftest.er1 >conftest.err
10942 rm -f conftest.er1
10943 cat conftest.err >&5
10944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10945 (exit $ac_status); } &&
10946 { ac_try='test -z "$ac_c_werror_flag"
10947 || test ! -s conftest.err'
10948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10949 (eval $ac_try) 2>&5
10950 ac_status=$?
10951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10952 (exit $ac_status); }; } &&
10953 { ac_try='test -s conftest$ac_exeext'
10954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10955 (eval $ac_try) 2>&5
10956 ac_status=$?
10957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10958 (exit $ac_status); }; }; then
10959 eval "$as_ac_var=yes"
10960 else
10961 echo "$as_me: failed program was:" >&5
10962 sed 's/^/| /' conftest.$ac_ext >&5
10964 eval "$as_ac_var=no"
10966 rm -f conftest.err conftest.$ac_objext \
10967 conftest$ac_exeext conftest.$ac_ext
10969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10971 if test `eval echo '${'$as_ac_var'}'` = yes; then
10972 cat >>confdefs.h <<_ACEOF
10973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10974 _ACEOF
10977 done
10984 echo "$as_me:$LINENO: checking for hypot declaration" >&5
10985 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10986 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
10987 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
10988 echo $ECHO_N "(cached) $ECHO_C" >&6
10989 else
10993 ac_ext=cc
10994 ac_cpp='$CXXCPP $CPPFLAGS'
10995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10999 cat >conftest.$ac_ext <<_ACEOF
11000 /* confdefs.h. */
11001 _ACEOF
11002 cat confdefs.h >>conftest.$ac_ext
11003 cat >>conftest.$ac_ext <<_ACEOF
11004 /* end confdefs.h. */
11005 #include <math.h>
11007 main ()
11009 hypot(0, 0);
11011 return 0;
11013 _ACEOF
11014 rm -f conftest.$ac_objext
11015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11016 (eval $ac_compile) 2>conftest.er1
11017 ac_status=$?
11018 grep -v '^ *+' conftest.er1 >conftest.err
11019 rm -f conftest.er1
11020 cat conftest.err >&5
11021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11022 (exit $ac_status); } &&
11023 { ac_try='test -z "$ac_cxx_werror_flag"
11024 || test ! -s conftest.err'
11025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11026 (eval $ac_try) 2>&5
11027 ac_status=$?
11028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11029 (exit $ac_status); }; } &&
11030 { ac_try='test -s conftest.$ac_objext'
11031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11032 (eval $ac_try) 2>&5
11033 ac_status=$?
11034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035 (exit $ac_status); }; }; then
11036 glibcxx_cv_func_hypot_use=yes
11037 else
11038 echo "$as_me: failed program was:" >&5
11039 sed 's/^/| /' conftest.$ac_ext >&5
11041 glibcxx_cv_func_hypot_use=no
11043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11044 ac_ext=c
11045 ac_cpp='$CPP $CPPFLAGS'
11046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11054 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11055 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11057 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11059 for ac_func in hypot
11061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11062 echo "$as_me:$LINENO: checking for $ac_func" >&5
11063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11064 if eval "test \"\${$as_ac_var+set}\" = set"; then
11065 echo $ECHO_N "(cached) $ECHO_C" >&6
11066 else
11067 if test x$gcc_no_link = xyes; then
11068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11070 { (exit 1); exit 1; }; }
11072 cat >conftest.$ac_ext <<_ACEOF
11073 /* confdefs.h. */
11074 _ACEOF
11075 cat confdefs.h >>conftest.$ac_ext
11076 cat >>conftest.$ac_ext <<_ACEOF
11077 /* end confdefs.h. */
11078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11080 #define $ac_func innocuous_$ac_func
11082 /* System header to define __stub macros and hopefully few prototypes,
11083 which can conflict with char $ac_func (); below.
11084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11085 <limits.h> exists even on freestanding compilers. */
11087 #ifdef __STDC__
11088 # include <limits.h>
11089 #else
11090 # include <assert.h>
11091 #endif
11093 #undef $ac_func
11095 /* Override any gcc2 internal prototype to avoid an error. */
11096 #ifdef __cplusplus
11097 extern "C"
11099 #endif
11100 /* We use char because int might match the return type of a gcc2
11101 builtin and then its argument prototype would still apply. */
11102 char $ac_func ();
11103 /* The GNU C library defines this for functions which it implements
11104 to always fail with ENOSYS. Some functions are actually named
11105 something starting with __ and the normal name is an alias. */
11106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11107 choke me
11108 #else
11109 char (*f) () = $ac_func;
11110 #endif
11111 #ifdef __cplusplus
11113 #endif
11116 main ()
11118 return f != $ac_func;
11120 return 0;
11122 _ACEOF
11123 rm -f conftest.$ac_objext conftest$ac_exeext
11124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11125 (eval $ac_link) 2>conftest.er1
11126 ac_status=$?
11127 grep -v '^ *+' conftest.er1 >conftest.err
11128 rm -f conftest.er1
11129 cat conftest.err >&5
11130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11131 (exit $ac_status); } &&
11132 { ac_try='test -z "$ac_c_werror_flag"
11133 || test ! -s conftest.err'
11134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11135 (eval $ac_try) 2>&5
11136 ac_status=$?
11137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11138 (exit $ac_status); }; } &&
11139 { ac_try='test -s conftest$ac_exeext'
11140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11141 (eval $ac_try) 2>&5
11142 ac_status=$?
11143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11144 (exit $ac_status); }; }; then
11145 eval "$as_ac_var=yes"
11146 else
11147 echo "$as_me: failed program was:" >&5
11148 sed 's/^/| /' conftest.$ac_ext >&5
11150 eval "$as_ac_var=no"
11152 rm -f conftest.err conftest.$ac_objext \
11153 conftest$ac_exeext conftest.$ac_ext
11155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11157 if test `eval echo '${'$as_ac_var'}'` = yes; then
11158 cat >>confdefs.h <<_ACEOF
11159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11160 _ACEOF
11163 done
11165 else
11167 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11168 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11169 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11170 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11171 echo $ECHO_N "(cached) $ECHO_C" >&6
11172 else
11176 ac_ext=cc
11177 ac_cpp='$CXXCPP $CPPFLAGS'
11178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11182 cat >conftest.$ac_ext <<_ACEOF
11183 /* confdefs.h. */
11184 _ACEOF
11185 cat confdefs.h >>conftest.$ac_ext
11186 cat >>conftest.$ac_ext <<_ACEOF
11187 /* end confdefs.h. */
11188 #include <math.h>
11190 main ()
11192 _hypot(0, 0);
11194 return 0;
11196 _ACEOF
11197 rm -f conftest.$ac_objext
11198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11199 (eval $ac_compile) 2>conftest.er1
11200 ac_status=$?
11201 grep -v '^ *+' conftest.er1 >conftest.err
11202 rm -f conftest.er1
11203 cat conftest.err >&5
11204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11205 (exit $ac_status); } &&
11206 { ac_try='test -z "$ac_cxx_werror_flag"
11207 || test ! -s conftest.err'
11208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11209 (eval $ac_try) 2>&5
11210 ac_status=$?
11211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11212 (exit $ac_status); }; } &&
11213 { ac_try='test -s conftest.$ac_objext'
11214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11215 (eval $ac_try) 2>&5
11216 ac_status=$?
11217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11218 (exit $ac_status); }; }; then
11219 glibcxx_cv_func__hypot_use=yes
11220 else
11221 echo "$as_me: failed program was:" >&5
11222 sed 's/^/| /' conftest.$ac_ext >&5
11224 glibcxx_cv_func__hypot_use=no
11226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11227 ac_ext=c
11228 ac_cpp='$CPP $CPPFLAGS'
11229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11237 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11238 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11240 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11242 for ac_func in _hypot
11244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11245 echo "$as_me:$LINENO: checking for $ac_func" >&5
11246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11247 if eval "test \"\${$as_ac_var+set}\" = set"; then
11248 echo $ECHO_N "(cached) $ECHO_C" >&6
11249 else
11250 if test x$gcc_no_link = xyes; then
11251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11253 { (exit 1); exit 1; }; }
11255 cat >conftest.$ac_ext <<_ACEOF
11256 /* confdefs.h. */
11257 _ACEOF
11258 cat confdefs.h >>conftest.$ac_ext
11259 cat >>conftest.$ac_ext <<_ACEOF
11260 /* end confdefs.h. */
11261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11263 #define $ac_func innocuous_$ac_func
11265 /* System header to define __stub macros and hopefully few prototypes,
11266 which can conflict with char $ac_func (); below.
11267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11268 <limits.h> exists even on freestanding compilers. */
11270 #ifdef __STDC__
11271 # include <limits.h>
11272 #else
11273 # include <assert.h>
11274 #endif
11276 #undef $ac_func
11278 /* Override any gcc2 internal prototype to avoid an error. */
11279 #ifdef __cplusplus
11280 extern "C"
11282 #endif
11283 /* We use char because int might match the return type of a gcc2
11284 builtin and then its argument prototype would still apply. */
11285 char $ac_func ();
11286 /* The GNU C library defines this for functions which it implements
11287 to always fail with ENOSYS. Some functions are actually named
11288 something starting with __ and the normal name is an alias. */
11289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11290 choke me
11291 #else
11292 char (*f) () = $ac_func;
11293 #endif
11294 #ifdef __cplusplus
11296 #endif
11299 main ()
11301 return f != $ac_func;
11303 return 0;
11305 _ACEOF
11306 rm -f conftest.$ac_objext conftest$ac_exeext
11307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11308 (eval $ac_link) 2>conftest.er1
11309 ac_status=$?
11310 grep -v '^ *+' conftest.er1 >conftest.err
11311 rm -f conftest.er1
11312 cat conftest.err >&5
11313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11314 (exit $ac_status); } &&
11315 { ac_try='test -z "$ac_c_werror_flag"
11316 || test ! -s conftest.err'
11317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11318 (eval $ac_try) 2>&5
11319 ac_status=$?
11320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11321 (exit $ac_status); }; } &&
11322 { ac_try='test -s conftest$ac_exeext'
11323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11324 (eval $ac_try) 2>&5
11325 ac_status=$?
11326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11327 (exit $ac_status); }; }; then
11328 eval "$as_ac_var=yes"
11329 else
11330 echo "$as_me: failed program was:" >&5
11331 sed 's/^/| /' conftest.$ac_ext >&5
11333 eval "$as_ac_var=no"
11335 rm -f conftest.err conftest.$ac_objext \
11336 conftest$ac_exeext conftest.$ac_ext
11338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11340 if test `eval echo '${'$as_ac_var'}'` = yes; then
11341 cat >>confdefs.h <<_ACEOF
11342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11343 _ACEOF
11346 done
11353 echo "$as_me:$LINENO: checking for float trig functions" >&5
11354 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11355 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11356 echo $ECHO_N "(cached) $ECHO_C" >&6
11357 else
11361 ac_ext=cc
11362 ac_cpp='$CXXCPP $CPPFLAGS'
11363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11367 cat >conftest.$ac_ext <<_ACEOF
11368 /* confdefs.h. */
11369 _ACEOF
11370 cat confdefs.h >>conftest.$ac_ext
11371 cat >>conftest.$ac_ext <<_ACEOF
11372 /* end confdefs.h. */
11373 #include <math.h>
11375 main ()
11377 `for x in acosf asinf atanf \
11378 cosf sinf tanf \
11379 coshf sinhf tanhf; do echo "$x (0);"; done`
11381 return 0;
11383 _ACEOF
11384 rm -f conftest.$ac_objext
11385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11386 (eval $ac_compile) 2>conftest.er1
11387 ac_status=$?
11388 grep -v '^ *+' conftest.er1 >conftest.err
11389 rm -f conftest.er1
11390 cat conftest.err >&5
11391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11392 (exit $ac_status); } &&
11393 { ac_try='test -z "$ac_cxx_werror_flag"
11394 || test ! -s conftest.err'
11395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11396 (eval $ac_try) 2>&5
11397 ac_status=$?
11398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399 (exit $ac_status); }; } &&
11400 { ac_try='test -s conftest.$ac_objext'
11401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11402 (eval $ac_try) 2>&5
11403 ac_status=$?
11404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11405 (exit $ac_status); }; }; then
11406 glibcxx_cv_func_float_trig_use=yes
11407 else
11408 echo "$as_me: failed program was:" >&5
11409 sed 's/^/| /' conftest.$ac_ext >&5
11411 glibcxx_cv_func_float_trig_use=no
11413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11414 ac_ext=c
11415 ac_cpp='$CPP $CPPFLAGS'
11416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11422 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11423 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11424 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11434 for ac_func in acosf asinf atanf \
11435 cosf sinf tanf \
11436 coshf sinhf tanhf
11438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11439 echo "$as_me:$LINENO: checking for $ac_func" >&5
11440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11441 if eval "test \"\${$as_ac_var+set}\" = set"; then
11442 echo $ECHO_N "(cached) $ECHO_C" >&6
11443 else
11444 if test x$gcc_no_link = xyes; then
11445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11447 { (exit 1); exit 1; }; }
11449 cat >conftest.$ac_ext <<_ACEOF
11450 /* confdefs.h. */
11451 _ACEOF
11452 cat confdefs.h >>conftest.$ac_ext
11453 cat >>conftest.$ac_ext <<_ACEOF
11454 /* end confdefs.h. */
11455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11457 #define $ac_func innocuous_$ac_func
11459 /* System header to define __stub macros and hopefully few prototypes,
11460 which can conflict with char $ac_func (); below.
11461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11462 <limits.h> exists even on freestanding compilers. */
11464 #ifdef __STDC__
11465 # include <limits.h>
11466 #else
11467 # include <assert.h>
11468 #endif
11470 #undef $ac_func
11472 /* Override any gcc2 internal prototype to avoid an error. */
11473 #ifdef __cplusplus
11474 extern "C"
11476 #endif
11477 /* We use char because int might match the return type of a gcc2
11478 builtin and then its argument prototype would still apply. */
11479 char $ac_func ();
11480 /* The GNU C library defines this for functions which it implements
11481 to always fail with ENOSYS. Some functions are actually named
11482 something starting with __ and the normal name is an alias. */
11483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11484 choke me
11485 #else
11486 char (*f) () = $ac_func;
11487 #endif
11488 #ifdef __cplusplus
11490 #endif
11493 main ()
11495 return f != $ac_func;
11497 return 0;
11499 _ACEOF
11500 rm -f conftest.$ac_objext conftest$ac_exeext
11501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11502 (eval $ac_link) 2>conftest.er1
11503 ac_status=$?
11504 grep -v '^ *+' conftest.er1 >conftest.err
11505 rm -f conftest.er1
11506 cat conftest.err >&5
11507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11508 (exit $ac_status); } &&
11509 { ac_try='test -z "$ac_c_werror_flag"
11510 || test ! -s conftest.err'
11511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11512 (eval $ac_try) 2>&5
11513 ac_status=$?
11514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11515 (exit $ac_status); }; } &&
11516 { ac_try='test -s conftest$ac_exeext'
11517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11518 (eval $ac_try) 2>&5
11519 ac_status=$?
11520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11521 (exit $ac_status); }; }; then
11522 eval "$as_ac_var=yes"
11523 else
11524 echo "$as_me: failed program was:" >&5
11525 sed 's/^/| /' conftest.$ac_ext >&5
11527 eval "$as_ac_var=no"
11529 rm -f conftest.err conftest.$ac_objext \
11530 conftest$ac_exeext conftest.$ac_ext
11532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11534 if test `eval echo '${'$as_ac_var'}'` = yes; then
11535 cat >>confdefs.h <<_ACEOF
11536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11537 _ACEOF
11540 done
11545 echo "$as_me:$LINENO: checking for float round functions" >&5
11546 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11547 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11548 echo $ECHO_N "(cached) $ECHO_C" >&6
11549 else
11553 ac_ext=cc
11554 ac_cpp='$CXXCPP $CPPFLAGS'
11555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11559 cat >conftest.$ac_ext <<_ACEOF
11560 /* confdefs.h. */
11561 _ACEOF
11562 cat confdefs.h >>conftest.$ac_ext
11563 cat >>conftest.$ac_ext <<_ACEOF
11564 /* end confdefs.h. */
11565 #include <math.h>
11567 main ()
11569 `for x in ceilf floorf; do echo "$x (0);"; done`
11571 return 0;
11573 _ACEOF
11574 rm -f conftest.$ac_objext
11575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11576 (eval $ac_compile) 2>conftest.er1
11577 ac_status=$?
11578 grep -v '^ *+' conftest.er1 >conftest.err
11579 rm -f conftest.er1
11580 cat conftest.err >&5
11581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11582 (exit $ac_status); } &&
11583 { ac_try='test -z "$ac_cxx_werror_flag"
11584 || test ! -s conftest.err'
11585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11586 (eval $ac_try) 2>&5
11587 ac_status=$?
11588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11589 (exit $ac_status); }; } &&
11590 { ac_try='test -s conftest.$ac_objext'
11591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11592 (eval $ac_try) 2>&5
11593 ac_status=$?
11594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11595 (exit $ac_status); }; }; then
11596 glibcxx_cv_func_float_round_use=yes
11597 else
11598 echo "$as_me: failed program was:" >&5
11599 sed 's/^/| /' conftest.$ac_ext >&5
11601 glibcxx_cv_func_float_round_use=no
11603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11604 ac_ext=c
11605 ac_cpp='$CPP $CPPFLAGS'
11606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11612 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11613 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11614 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11617 for ac_func in ceilf floorf
11619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11620 echo "$as_me:$LINENO: checking for $ac_func" >&5
11621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11622 if eval "test \"\${$as_ac_var+set}\" = set"; then
11623 echo $ECHO_N "(cached) $ECHO_C" >&6
11624 else
11625 if test x$gcc_no_link = xyes; then
11626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11628 { (exit 1); exit 1; }; }
11630 cat >conftest.$ac_ext <<_ACEOF
11631 /* confdefs.h. */
11632 _ACEOF
11633 cat confdefs.h >>conftest.$ac_ext
11634 cat >>conftest.$ac_ext <<_ACEOF
11635 /* end confdefs.h. */
11636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11638 #define $ac_func innocuous_$ac_func
11640 /* System header to define __stub macros and hopefully few prototypes,
11641 which can conflict with char $ac_func (); below.
11642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11643 <limits.h> exists even on freestanding compilers. */
11645 #ifdef __STDC__
11646 # include <limits.h>
11647 #else
11648 # include <assert.h>
11649 #endif
11651 #undef $ac_func
11653 /* Override any gcc2 internal prototype to avoid an error. */
11654 #ifdef __cplusplus
11655 extern "C"
11657 #endif
11658 /* We use char because int might match the return type of a gcc2
11659 builtin and then its argument prototype would still apply. */
11660 char $ac_func ();
11661 /* The GNU C library defines this for functions which it implements
11662 to always fail with ENOSYS. Some functions are actually named
11663 something starting with __ and the normal name is an alias. */
11664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11665 choke me
11666 #else
11667 char (*f) () = $ac_func;
11668 #endif
11669 #ifdef __cplusplus
11671 #endif
11674 main ()
11676 return f != $ac_func;
11678 return 0;
11680 _ACEOF
11681 rm -f conftest.$ac_objext conftest$ac_exeext
11682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11683 (eval $ac_link) 2>conftest.er1
11684 ac_status=$?
11685 grep -v '^ *+' conftest.er1 >conftest.err
11686 rm -f conftest.er1
11687 cat conftest.err >&5
11688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11689 (exit $ac_status); } &&
11690 { ac_try='test -z "$ac_c_werror_flag"
11691 || test ! -s conftest.err'
11692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11693 (eval $ac_try) 2>&5
11694 ac_status=$?
11695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11696 (exit $ac_status); }; } &&
11697 { ac_try='test -s conftest$ac_exeext'
11698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11699 (eval $ac_try) 2>&5
11700 ac_status=$?
11701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11702 (exit $ac_status); }; }; then
11703 eval "$as_ac_var=yes"
11704 else
11705 echo "$as_me: failed program was:" >&5
11706 sed 's/^/| /' conftest.$ac_ext >&5
11708 eval "$as_ac_var=no"
11710 rm -f conftest.err conftest.$ac_objext \
11711 conftest$ac_exeext conftest.$ac_ext
11713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11715 if test `eval echo '${'$as_ac_var'}'` = yes; then
11716 cat >>confdefs.h <<_ACEOF
11717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11718 _ACEOF
11721 done
11727 echo "$as_me:$LINENO: checking for expf declaration" >&5
11728 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
11729 if test x${glibcxx_cv_func_expf_use+set} != xset; then
11730 if test "${glibcxx_cv_func_expf_use+set}" = set; then
11731 echo $ECHO_N "(cached) $ECHO_C" >&6
11732 else
11736 ac_ext=cc
11737 ac_cpp='$CXXCPP $CPPFLAGS'
11738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11742 cat >conftest.$ac_ext <<_ACEOF
11743 /* confdefs.h. */
11744 _ACEOF
11745 cat confdefs.h >>conftest.$ac_ext
11746 cat >>conftest.$ac_ext <<_ACEOF
11747 /* end confdefs.h. */
11748 #include <math.h>
11749 #ifdef HAVE_IEEEFP_H
11750 #include <ieeefp.h>
11751 #endif
11754 main ()
11756 expf(0);
11758 return 0;
11760 _ACEOF
11761 rm -f conftest.$ac_objext
11762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11763 (eval $ac_compile) 2>conftest.er1
11764 ac_status=$?
11765 grep -v '^ *+' conftest.er1 >conftest.err
11766 rm -f conftest.er1
11767 cat conftest.err >&5
11768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11769 (exit $ac_status); } &&
11770 { ac_try='test -z "$ac_cxx_werror_flag"
11771 || test ! -s conftest.err'
11772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11773 (eval $ac_try) 2>&5
11774 ac_status=$?
11775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11776 (exit $ac_status); }; } &&
11777 { ac_try='test -s conftest.$ac_objext'
11778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11779 (eval $ac_try) 2>&5
11780 ac_status=$?
11781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11782 (exit $ac_status); }; }; then
11783 glibcxx_cv_func_expf_use=yes
11784 else
11785 echo "$as_me: failed program was:" >&5
11786 sed 's/^/| /' conftest.$ac_ext >&5
11788 glibcxx_cv_func_expf_use=no
11790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11791 ac_ext=c
11792 ac_cpp='$CPP $CPPFLAGS'
11793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11801 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
11802 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
11804 if test x$glibcxx_cv_func_expf_use = x"yes"; then
11806 for ac_func in expf
11808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11809 echo "$as_me:$LINENO: checking for $ac_func" >&5
11810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11811 if eval "test \"\${$as_ac_var+set}\" = set"; then
11812 echo $ECHO_N "(cached) $ECHO_C" >&6
11813 else
11814 if test x$gcc_no_link = xyes; then
11815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11817 { (exit 1); exit 1; }; }
11819 cat >conftest.$ac_ext <<_ACEOF
11820 /* confdefs.h. */
11821 _ACEOF
11822 cat confdefs.h >>conftest.$ac_ext
11823 cat >>conftest.$ac_ext <<_ACEOF
11824 /* end confdefs.h. */
11825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11827 #define $ac_func innocuous_$ac_func
11829 /* System header to define __stub macros and hopefully few prototypes,
11830 which can conflict with char $ac_func (); below.
11831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11832 <limits.h> exists even on freestanding compilers. */
11834 #ifdef __STDC__
11835 # include <limits.h>
11836 #else
11837 # include <assert.h>
11838 #endif
11840 #undef $ac_func
11842 /* Override any gcc2 internal prototype to avoid an error. */
11843 #ifdef __cplusplus
11844 extern "C"
11846 #endif
11847 /* We use char because int might match the return type of a gcc2
11848 builtin and then its argument prototype would still apply. */
11849 char $ac_func ();
11850 /* The GNU C library defines this for functions which it implements
11851 to always fail with ENOSYS. Some functions are actually named
11852 something starting with __ and the normal name is an alias. */
11853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11854 choke me
11855 #else
11856 char (*f) () = $ac_func;
11857 #endif
11858 #ifdef __cplusplus
11860 #endif
11863 main ()
11865 return f != $ac_func;
11867 return 0;
11869 _ACEOF
11870 rm -f conftest.$ac_objext conftest$ac_exeext
11871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11872 (eval $ac_link) 2>conftest.er1
11873 ac_status=$?
11874 grep -v '^ *+' conftest.er1 >conftest.err
11875 rm -f conftest.er1
11876 cat conftest.err >&5
11877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11878 (exit $ac_status); } &&
11879 { ac_try='test -z "$ac_c_werror_flag"
11880 || test ! -s conftest.err'
11881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11882 (eval $ac_try) 2>&5
11883 ac_status=$?
11884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11885 (exit $ac_status); }; } &&
11886 { ac_try='test -s conftest$ac_exeext'
11887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11888 (eval $ac_try) 2>&5
11889 ac_status=$?
11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891 (exit $ac_status); }; }; then
11892 eval "$as_ac_var=yes"
11893 else
11894 echo "$as_me: failed program was:" >&5
11895 sed 's/^/| /' conftest.$ac_ext >&5
11897 eval "$as_ac_var=no"
11899 rm -f conftest.err conftest.$ac_objext \
11900 conftest$ac_exeext conftest.$ac_ext
11902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11904 if test `eval echo '${'$as_ac_var'}'` = yes; then
11905 cat >>confdefs.h <<_ACEOF
11906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11907 _ACEOF
11910 done
11912 else
11914 echo "$as_me:$LINENO: checking for _expf declaration" >&5
11915 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
11916 if test x${glibcxx_cv_func__expf_use+set} != xset; then
11917 if test "${glibcxx_cv_func__expf_use+set}" = set; then
11918 echo $ECHO_N "(cached) $ECHO_C" >&6
11919 else
11923 ac_ext=cc
11924 ac_cpp='$CXXCPP $CPPFLAGS'
11925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11929 cat >conftest.$ac_ext <<_ACEOF
11930 /* confdefs.h. */
11931 _ACEOF
11932 cat confdefs.h >>conftest.$ac_ext
11933 cat >>conftest.$ac_ext <<_ACEOF
11934 /* end confdefs.h. */
11935 #include <math.h>
11936 #ifdef HAVE_IEEEFP_H
11937 #include <ieeefp.h>
11938 #endif
11941 main ()
11943 _expf(0);
11945 return 0;
11947 _ACEOF
11948 rm -f conftest.$ac_objext
11949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11950 (eval $ac_compile) 2>conftest.er1
11951 ac_status=$?
11952 grep -v '^ *+' conftest.er1 >conftest.err
11953 rm -f conftest.er1
11954 cat conftest.err >&5
11955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11956 (exit $ac_status); } &&
11957 { ac_try='test -z "$ac_cxx_werror_flag"
11958 || test ! -s conftest.err'
11959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11960 (eval $ac_try) 2>&5
11961 ac_status=$?
11962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11963 (exit $ac_status); }; } &&
11964 { ac_try='test -s conftest.$ac_objext'
11965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11966 (eval $ac_try) 2>&5
11967 ac_status=$?
11968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969 (exit $ac_status); }; }; then
11970 glibcxx_cv_func__expf_use=yes
11971 else
11972 echo "$as_me: failed program was:" >&5
11973 sed 's/^/| /' conftest.$ac_ext >&5
11975 glibcxx_cv_func__expf_use=no
11977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11978 ac_ext=c
11979 ac_cpp='$CPP $CPPFLAGS'
11980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11988 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
11989 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
11991 if test x$glibcxx_cv_func__expf_use = x"yes"; then
11993 for ac_func in _expf
11995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11996 echo "$as_me:$LINENO: checking for $ac_func" >&5
11997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11998 if eval "test \"\${$as_ac_var+set}\" = set"; then
11999 echo $ECHO_N "(cached) $ECHO_C" >&6
12000 else
12001 if test x$gcc_no_link = xyes; then
12002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12004 { (exit 1); exit 1; }; }
12006 cat >conftest.$ac_ext <<_ACEOF
12007 /* confdefs.h. */
12008 _ACEOF
12009 cat confdefs.h >>conftest.$ac_ext
12010 cat >>conftest.$ac_ext <<_ACEOF
12011 /* end confdefs.h. */
12012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12014 #define $ac_func innocuous_$ac_func
12016 /* System header to define __stub macros and hopefully few prototypes,
12017 which can conflict with char $ac_func (); below.
12018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12019 <limits.h> exists even on freestanding compilers. */
12021 #ifdef __STDC__
12022 # include <limits.h>
12023 #else
12024 # include <assert.h>
12025 #endif
12027 #undef $ac_func
12029 /* Override any gcc2 internal prototype to avoid an error. */
12030 #ifdef __cplusplus
12031 extern "C"
12033 #endif
12034 /* We use char because int might match the return type of a gcc2
12035 builtin and then its argument prototype would still apply. */
12036 char $ac_func ();
12037 /* The GNU C library defines this for functions which it implements
12038 to always fail with ENOSYS. Some functions are actually named
12039 something starting with __ and the normal name is an alias. */
12040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12041 choke me
12042 #else
12043 char (*f) () = $ac_func;
12044 #endif
12045 #ifdef __cplusplus
12047 #endif
12050 main ()
12052 return f != $ac_func;
12054 return 0;
12056 _ACEOF
12057 rm -f conftest.$ac_objext conftest$ac_exeext
12058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12059 (eval $ac_link) 2>conftest.er1
12060 ac_status=$?
12061 grep -v '^ *+' conftest.er1 >conftest.err
12062 rm -f conftest.er1
12063 cat conftest.err >&5
12064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12065 (exit $ac_status); } &&
12066 { ac_try='test -z "$ac_c_werror_flag"
12067 || test ! -s conftest.err'
12068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12069 (eval $ac_try) 2>&5
12070 ac_status=$?
12071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072 (exit $ac_status); }; } &&
12073 { ac_try='test -s conftest$ac_exeext'
12074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12075 (eval $ac_try) 2>&5
12076 ac_status=$?
12077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12078 (exit $ac_status); }; }; then
12079 eval "$as_ac_var=yes"
12080 else
12081 echo "$as_me: failed program was:" >&5
12082 sed 's/^/| /' conftest.$ac_ext >&5
12084 eval "$as_ac_var=no"
12086 rm -f conftest.err conftest.$ac_objext \
12087 conftest$ac_exeext conftest.$ac_ext
12089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12091 if test `eval echo '${'$as_ac_var'}'` = yes; then
12092 cat >>confdefs.h <<_ACEOF
12093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12094 _ACEOF
12097 done
12104 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12105 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12106 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12107 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12108 echo $ECHO_N "(cached) $ECHO_C" >&6
12109 else
12113 ac_ext=cc
12114 ac_cpp='$CXXCPP $CPPFLAGS'
12115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12119 cat >conftest.$ac_ext <<_ACEOF
12120 /* confdefs.h. */
12121 _ACEOF
12122 cat confdefs.h >>conftest.$ac_ext
12123 cat >>conftest.$ac_ext <<_ACEOF
12124 /* end confdefs.h. */
12125 #include <math.h>
12126 #ifdef HAVE_IEEEFP_H
12127 #include <ieeefp.h>
12128 #endif
12131 main ()
12133 isnanf(0);
12135 return 0;
12137 _ACEOF
12138 rm -f conftest.$ac_objext
12139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12140 (eval $ac_compile) 2>conftest.er1
12141 ac_status=$?
12142 grep -v '^ *+' conftest.er1 >conftest.err
12143 rm -f conftest.er1
12144 cat conftest.err >&5
12145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12146 (exit $ac_status); } &&
12147 { ac_try='test -z "$ac_cxx_werror_flag"
12148 || test ! -s conftest.err'
12149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12150 (eval $ac_try) 2>&5
12151 ac_status=$?
12152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12153 (exit $ac_status); }; } &&
12154 { ac_try='test -s conftest.$ac_objext'
12155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12156 (eval $ac_try) 2>&5
12157 ac_status=$?
12158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12159 (exit $ac_status); }; }; then
12160 glibcxx_cv_func_isnanf_use=yes
12161 else
12162 echo "$as_me: failed program was:" >&5
12163 sed 's/^/| /' conftest.$ac_ext >&5
12165 glibcxx_cv_func_isnanf_use=no
12167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12168 ac_ext=c
12169 ac_cpp='$CPP $CPPFLAGS'
12170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12178 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12179 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12181 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12183 for ac_func in isnanf
12185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12186 echo "$as_me:$LINENO: checking for $ac_func" >&5
12187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12188 if eval "test \"\${$as_ac_var+set}\" = set"; then
12189 echo $ECHO_N "(cached) $ECHO_C" >&6
12190 else
12191 if test x$gcc_no_link = xyes; then
12192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12194 { (exit 1); exit 1; }; }
12196 cat >conftest.$ac_ext <<_ACEOF
12197 /* confdefs.h. */
12198 _ACEOF
12199 cat confdefs.h >>conftest.$ac_ext
12200 cat >>conftest.$ac_ext <<_ACEOF
12201 /* end confdefs.h. */
12202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12204 #define $ac_func innocuous_$ac_func
12206 /* System header to define __stub macros and hopefully few prototypes,
12207 which can conflict with char $ac_func (); below.
12208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12209 <limits.h> exists even on freestanding compilers. */
12211 #ifdef __STDC__
12212 # include <limits.h>
12213 #else
12214 # include <assert.h>
12215 #endif
12217 #undef $ac_func
12219 /* Override any gcc2 internal prototype to avoid an error. */
12220 #ifdef __cplusplus
12221 extern "C"
12223 #endif
12224 /* We use char because int might match the return type of a gcc2
12225 builtin and then its argument prototype would still apply. */
12226 char $ac_func ();
12227 /* The GNU C library defines this for functions which it implements
12228 to always fail with ENOSYS. Some functions are actually named
12229 something starting with __ and the normal name is an alias. */
12230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12231 choke me
12232 #else
12233 char (*f) () = $ac_func;
12234 #endif
12235 #ifdef __cplusplus
12237 #endif
12240 main ()
12242 return f != $ac_func;
12244 return 0;
12246 _ACEOF
12247 rm -f conftest.$ac_objext conftest$ac_exeext
12248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12249 (eval $ac_link) 2>conftest.er1
12250 ac_status=$?
12251 grep -v '^ *+' conftest.er1 >conftest.err
12252 rm -f conftest.er1
12253 cat conftest.err >&5
12254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12255 (exit $ac_status); } &&
12256 { ac_try='test -z "$ac_c_werror_flag"
12257 || test ! -s conftest.err'
12258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12259 (eval $ac_try) 2>&5
12260 ac_status=$?
12261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); }; } &&
12263 { ac_try='test -s conftest$ac_exeext'
12264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12265 (eval $ac_try) 2>&5
12266 ac_status=$?
12267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12268 (exit $ac_status); }; }; then
12269 eval "$as_ac_var=yes"
12270 else
12271 echo "$as_me: failed program was:" >&5
12272 sed 's/^/| /' conftest.$ac_ext >&5
12274 eval "$as_ac_var=no"
12276 rm -f conftest.err conftest.$ac_objext \
12277 conftest$ac_exeext conftest.$ac_ext
12279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12281 if test `eval echo '${'$as_ac_var'}'` = yes; then
12282 cat >>confdefs.h <<_ACEOF
12283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12284 _ACEOF
12287 done
12289 else
12291 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12292 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12293 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12294 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12295 echo $ECHO_N "(cached) $ECHO_C" >&6
12296 else
12300 ac_ext=cc
12301 ac_cpp='$CXXCPP $CPPFLAGS'
12302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12306 cat >conftest.$ac_ext <<_ACEOF
12307 /* confdefs.h. */
12308 _ACEOF
12309 cat confdefs.h >>conftest.$ac_ext
12310 cat >>conftest.$ac_ext <<_ACEOF
12311 /* end confdefs.h. */
12312 #include <math.h>
12313 #ifdef HAVE_IEEEFP_H
12314 #include <ieeefp.h>
12315 #endif
12318 main ()
12320 _isnanf(0);
12322 return 0;
12324 _ACEOF
12325 rm -f conftest.$ac_objext
12326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12327 (eval $ac_compile) 2>conftest.er1
12328 ac_status=$?
12329 grep -v '^ *+' conftest.er1 >conftest.err
12330 rm -f conftest.er1
12331 cat conftest.err >&5
12332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12333 (exit $ac_status); } &&
12334 { ac_try='test -z "$ac_cxx_werror_flag"
12335 || test ! -s conftest.err'
12336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12337 (eval $ac_try) 2>&5
12338 ac_status=$?
12339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12340 (exit $ac_status); }; } &&
12341 { ac_try='test -s conftest.$ac_objext'
12342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12343 (eval $ac_try) 2>&5
12344 ac_status=$?
12345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12346 (exit $ac_status); }; }; then
12347 glibcxx_cv_func__isnanf_use=yes
12348 else
12349 echo "$as_me: failed program was:" >&5
12350 sed 's/^/| /' conftest.$ac_ext >&5
12352 glibcxx_cv_func__isnanf_use=no
12354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12355 ac_ext=c
12356 ac_cpp='$CPP $CPPFLAGS'
12357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12365 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12366 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12368 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12370 for ac_func in _isnanf
12372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12373 echo "$as_me:$LINENO: checking for $ac_func" >&5
12374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12375 if eval "test \"\${$as_ac_var+set}\" = set"; then
12376 echo $ECHO_N "(cached) $ECHO_C" >&6
12377 else
12378 if test x$gcc_no_link = xyes; then
12379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12381 { (exit 1); exit 1; }; }
12383 cat >conftest.$ac_ext <<_ACEOF
12384 /* confdefs.h. */
12385 _ACEOF
12386 cat confdefs.h >>conftest.$ac_ext
12387 cat >>conftest.$ac_ext <<_ACEOF
12388 /* end confdefs.h. */
12389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12391 #define $ac_func innocuous_$ac_func
12393 /* System header to define __stub macros and hopefully few prototypes,
12394 which can conflict with char $ac_func (); below.
12395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12396 <limits.h> exists even on freestanding compilers. */
12398 #ifdef __STDC__
12399 # include <limits.h>
12400 #else
12401 # include <assert.h>
12402 #endif
12404 #undef $ac_func
12406 /* Override any gcc2 internal prototype to avoid an error. */
12407 #ifdef __cplusplus
12408 extern "C"
12410 #endif
12411 /* We use char because int might match the return type of a gcc2
12412 builtin and then its argument prototype would still apply. */
12413 char $ac_func ();
12414 /* The GNU C library defines this for functions which it implements
12415 to always fail with ENOSYS. Some functions are actually named
12416 something starting with __ and the normal name is an alias. */
12417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12418 choke me
12419 #else
12420 char (*f) () = $ac_func;
12421 #endif
12422 #ifdef __cplusplus
12424 #endif
12427 main ()
12429 return f != $ac_func;
12431 return 0;
12433 _ACEOF
12434 rm -f conftest.$ac_objext conftest$ac_exeext
12435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12436 (eval $ac_link) 2>conftest.er1
12437 ac_status=$?
12438 grep -v '^ *+' conftest.er1 >conftest.err
12439 rm -f conftest.er1
12440 cat conftest.err >&5
12441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12442 (exit $ac_status); } &&
12443 { ac_try='test -z "$ac_c_werror_flag"
12444 || test ! -s conftest.err'
12445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12446 (eval $ac_try) 2>&5
12447 ac_status=$?
12448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12449 (exit $ac_status); }; } &&
12450 { ac_try='test -s conftest$ac_exeext'
12451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12452 (eval $ac_try) 2>&5
12453 ac_status=$?
12454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12455 (exit $ac_status); }; }; then
12456 eval "$as_ac_var=yes"
12457 else
12458 echo "$as_me: failed program was:" >&5
12459 sed 's/^/| /' conftest.$ac_ext >&5
12461 eval "$as_ac_var=no"
12463 rm -f conftest.err conftest.$ac_objext \
12464 conftest$ac_exeext conftest.$ac_ext
12466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12468 if test `eval echo '${'$as_ac_var'}'` = yes; then
12469 cat >>confdefs.h <<_ACEOF
12470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12471 _ACEOF
12474 done
12481 echo "$as_me:$LINENO: checking for isinff declaration" >&5
12482 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12483 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12484 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12485 echo $ECHO_N "(cached) $ECHO_C" >&6
12486 else
12490 ac_ext=cc
12491 ac_cpp='$CXXCPP $CPPFLAGS'
12492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12496 cat >conftest.$ac_ext <<_ACEOF
12497 /* confdefs.h. */
12498 _ACEOF
12499 cat confdefs.h >>conftest.$ac_ext
12500 cat >>conftest.$ac_ext <<_ACEOF
12501 /* end confdefs.h. */
12502 #include <math.h>
12503 #ifdef HAVE_IEEEFP_H
12504 #include <ieeefp.h>
12505 #endif
12508 main ()
12510 isinff(0);
12512 return 0;
12514 _ACEOF
12515 rm -f conftest.$ac_objext
12516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12517 (eval $ac_compile) 2>conftest.er1
12518 ac_status=$?
12519 grep -v '^ *+' conftest.er1 >conftest.err
12520 rm -f conftest.er1
12521 cat conftest.err >&5
12522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12523 (exit $ac_status); } &&
12524 { ac_try='test -z "$ac_cxx_werror_flag"
12525 || test ! -s conftest.err'
12526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12527 (eval $ac_try) 2>&5
12528 ac_status=$?
12529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12530 (exit $ac_status); }; } &&
12531 { ac_try='test -s conftest.$ac_objext'
12532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12533 (eval $ac_try) 2>&5
12534 ac_status=$?
12535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12536 (exit $ac_status); }; }; then
12537 glibcxx_cv_func_isinff_use=yes
12538 else
12539 echo "$as_me: failed program was:" >&5
12540 sed 's/^/| /' conftest.$ac_ext >&5
12542 glibcxx_cv_func_isinff_use=no
12544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12545 ac_ext=c
12546 ac_cpp='$CPP $CPPFLAGS'
12547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12555 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12556 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12558 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12560 for ac_func in isinff
12562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12563 echo "$as_me:$LINENO: checking for $ac_func" >&5
12564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12565 if eval "test \"\${$as_ac_var+set}\" = set"; then
12566 echo $ECHO_N "(cached) $ECHO_C" >&6
12567 else
12568 if test x$gcc_no_link = xyes; then
12569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12571 { (exit 1); exit 1; }; }
12573 cat >conftest.$ac_ext <<_ACEOF
12574 /* confdefs.h. */
12575 _ACEOF
12576 cat confdefs.h >>conftest.$ac_ext
12577 cat >>conftest.$ac_ext <<_ACEOF
12578 /* end confdefs.h. */
12579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12581 #define $ac_func innocuous_$ac_func
12583 /* System header to define __stub macros and hopefully few prototypes,
12584 which can conflict with char $ac_func (); below.
12585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12586 <limits.h> exists even on freestanding compilers. */
12588 #ifdef __STDC__
12589 # include <limits.h>
12590 #else
12591 # include <assert.h>
12592 #endif
12594 #undef $ac_func
12596 /* Override any gcc2 internal prototype to avoid an error. */
12597 #ifdef __cplusplus
12598 extern "C"
12600 #endif
12601 /* We use char because int might match the return type of a gcc2
12602 builtin and then its argument prototype would still apply. */
12603 char $ac_func ();
12604 /* The GNU C library defines this for functions which it implements
12605 to always fail with ENOSYS. Some functions are actually named
12606 something starting with __ and the normal name is an alias. */
12607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12608 choke me
12609 #else
12610 char (*f) () = $ac_func;
12611 #endif
12612 #ifdef __cplusplus
12614 #endif
12617 main ()
12619 return f != $ac_func;
12621 return 0;
12623 _ACEOF
12624 rm -f conftest.$ac_objext conftest$ac_exeext
12625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12626 (eval $ac_link) 2>conftest.er1
12627 ac_status=$?
12628 grep -v '^ *+' conftest.er1 >conftest.err
12629 rm -f conftest.er1
12630 cat conftest.err >&5
12631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12632 (exit $ac_status); } &&
12633 { ac_try='test -z "$ac_c_werror_flag"
12634 || test ! -s conftest.err'
12635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12636 (eval $ac_try) 2>&5
12637 ac_status=$?
12638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12639 (exit $ac_status); }; } &&
12640 { ac_try='test -s conftest$ac_exeext'
12641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12642 (eval $ac_try) 2>&5
12643 ac_status=$?
12644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 (exit $ac_status); }; }; then
12646 eval "$as_ac_var=yes"
12647 else
12648 echo "$as_me: failed program was:" >&5
12649 sed 's/^/| /' conftest.$ac_ext >&5
12651 eval "$as_ac_var=no"
12653 rm -f conftest.err conftest.$ac_objext \
12654 conftest$ac_exeext conftest.$ac_ext
12656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12658 if test `eval echo '${'$as_ac_var'}'` = yes; then
12659 cat >>confdefs.h <<_ACEOF
12660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12661 _ACEOF
12664 done
12666 else
12668 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
12669 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
12670 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
12671 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
12672 echo $ECHO_N "(cached) $ECHO_C" >&6
12673 else
12677 ac_ext=cc
12678 ac_cpp='$CXXCPP $CPPFLAGS'
12679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12683 cat >conftest.$ac_ext <<_ACEOF
12684 /* confdefs.h. */
12685 _ACEOF
12686 cat confdefs.h >>conftest.$ac_ext
12687 cat >>conftest.$ac_ext <<_ACEOF
12688 /* end confdefs.h. */
12689 #include <math.h>
12690 #ifdef HAVE_IEEEFP_H
12691 #include <ieeefp.h>
12692 #endif
12695 main ()
12697 _isinff(0);
12699 return 0;
12701 _ACEOF
12702 rm -f conftest.$ac_objext
12703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12704 (eval $ac_compile) 2>conftest.er1
12705 ac_status=$?
12706 grep -v '^ *+' conftest.er1 >conftest.err
12707 rm -f conftest.er1
12708 cat conftest.err >&5
12709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12710 (exit $ac_status); } &&
12711 { ac_try='test -z "$ac_cxx_werror_flag"
12712 || test ! -s conftest.err'
12713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12714 (eval $ac_try) 2>&5
12715 ac_status=$?
12716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12717 (exit $ac_status); }; } &&
12718 { ac_try='test -s conftest.$ac_objext'
12719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12720 (eval $ac_try) 2>&5
12721 ac_status=$?
12722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12723 (exit $ac_status); }; }; then
12724 glibcxx_cv_func__isinff_use=yes
12725 else
12726 echo "$as_me: failed program was:" >&5
12727 sed 's/^/| /' conftest.$ac_ext >&5
12729 glibcxx_cv_func__isinff_use=no
12731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12732 ac_ext=c
12733 ac_cpp='$CPP $CPPFLAGS'
12734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12742 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
12743 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
12745 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
12747 for ac_func in _isinff
12749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12750 echo "$as_me:$LINENO: checking for $ac_func" >&5
12751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12752 if eval "test \"\${$as_ac_var+set}\" = set"; then
12753 echo $ECHO_N "(cached) $ECHO_C" >&6
12754 else
12755 if test x$gcc_no_link = xyes; then
12756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12758 { (exit 1); exit 1; }; }
12760 cat >conftest.$ac_ext <<_ACEOF
12761 /* confdefs.h. */
12762 _ACEOF
12763 cat confdefs.h >>conftest.$ac_ext
12764 cat >>conftest.$ac_ext <<_ACEOF
12765 /* end confdefs.h. */
12766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12768 #define $ac_func innocuous_$ac_func
12770 /* System header to define __stub macros and hopefully few prototypes,
12771 which can conflict with char $ac_func (); below.
12772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12773 <limits.h> exists even on freestanding compilers. */
12775 #ifdef __STDC__
12776 # include <limits.h>
12777 #else
12778 # include <assert.h>
12779 #endif
12781 #undef $ac_func
12783 /* Override any gcc2 internal prototype to avoid an error. */
12784 #ifdef __cplusplus
12785 extern "C"
12787 #endif
12788 /* We use char because int might match the return type of a gcc2
12789 builtin and then its argument prototype would still apply. */
12790 char $ac_func ();
12791 /* The GNU C library defines this for functions which it implements
12792 to always fail with ENOSYS. Some functions are actually named
12793 something starting with __ and the normal name is an alias. */
12794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12795 choke me
12796 #else
12797 char (*f) () = $ac_func;
12798 #endif
12799 #ifdef __cplusplus
12801 #endif
12804 main ()
12806 return f != $ac_func;
12808 return 0;
12810 _ACEOF
12811 rm -f conftest.$ac_objext conftest$ac_exeext
12812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12813 (eval $ac_link) 2>conftest.er1
12814 ac_status=$?
12815 grep -v '^ *+' conftest.er1 >conftest.err
12816 rm -f conftest.er1
12817 cat conftest.err >&5
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); } &&
12820 { ac_try='test -z "$ac_c_werror_flag"
12821 || test ! -s conftest.err'
12822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12823 (eval $ac_try) 2>&5
12824 ac_status=$?
12825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12826 (exit $ac_status); }; } &&
12827 { ac_try='test -s conftest$ac_exeext'
12828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12829 (eval $ac_try) 2>&5
12830 ac_status=$?
12831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12832 (exit $ac_status); }; }; then
12833 eval "$as_ac_var=yes"
12834 else
12835 echo "$as_me: failed program was:" >&5
12836 sed 's/^/| /' conftest.$ac_ext >&5
12838 eval "$as_ac_var=no"
12840 rm -f conftest.err conftest.$ac_objext \
12841 conftest$ac_exeext conftest.$ac_ext
12843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12845 if test `eval echo '${'$as_ac_var'}'` = yes; then
12846 cat >>confdefs.h <<_ACEOF
12847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12848 _ACEOF
12851 done
12858 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
12859 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
12860 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
12861 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
12862 echo $ECHO_N "(cached) $ECHO_C" >&6
12863 else
12867 ac_ext=cc
12868 ac_cpp='$CXXCPP $CPPFLAGS'
12869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12873 cat >conftest.$ac_ext <<_ACEOF
12874 /* confdefs.h. */
12875 _ACEOF
12876 cat confdefs.h >>conftest.$ac_ext
12877 cat >>conftest.$ac_ext <<_ACEOF
12878 /* end confdefs.h. */
12879 #include <math.h>
12881 main ()
12883 atan2f(0, 0);
12885 return 0;
12887 _ACEOF
12888 rm -f conftest.$ac_objext
12889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12890 (eval $ac_compile) 2>conftest.er1
12891 ac_status=$?
12892 grep -v '^ *+' conftest.er1 >conftest.err
12893 rm -f conftest.er1
12894 cat conftest.err >&5
12895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12896 (exit $ac_status); } &&
12897 { ac_try='test -z "$ac_cxx_werror_flag"
12898 || test ! -s conftest.err'
12899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12900 (eval $ac_try) 2>&5
12901 ac_status=$?
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); }; } &&
12904 { ac_try='test -s conftest.$ac_objext'
12905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12906 (eval $ac_try) 2>&5
12907 ac_status=$?
12908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12909 (exit $ac_status); }; }; then
12910 glibcxx_cv_func_atan2f_use=yes
12911 else
12912 echo "$as_me: failed program was:" >&5
12913 sed 's/^/| /' conftest.$ac_ext >&5
12915 glibcxx_cv_func_atan2f_use=no
12917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12918 ac_ext=c
12919 ac_cpp='$CPP $CPPFLAGS'
12920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12928 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
12929 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
12931 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
12933 for ac_func in atan2f
12935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12936 echo "$as_me:$LINENO: checking for $ac_func" >&5
12937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12938 if eval "test \"\${$as_ac_var+set}\" = set"; then
12939 echo $ECHO_N "(cached) $ECHO_C" >&6
12940 else
12941 if test x$gcc_no_link = xyes; then
12942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12944 { (exit 1); exit 1; }; }
12946 cat >conftest.$ac_ext <<_ACEOF
12947 /* confdefs.h. */
12948 _ACEOF
12949 cat confdefs.h >>conftest.$ac_ext
12950 cat >>conftest.$ac_ext <<_ACEOF
12951 /* end confdefs.h. */
12952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12954 #define $ac_func innocuous_$ac_func
12956 /* System header to define __stub macros and hopefully few prototypes,
12957 which can conflict with char $ac_func (); below.
12958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12959 <limits.h> exists even on freestanding compilers. */
12961 #ifdef __STDC__
12962 # include <limits.h>
12963 #else
12964 # include <assert.h>
12965 #endif
12967 #undef $ac_func
12969 /* Override any gcc2 internal prototype to avoid an error. */
12970 #ifdef __cplusplus
12971 extern "C"
12973 #endif
12974 /* We use char because int might match the return type of a gcc2
12975 builtin and then its argument prototype would still apply. */
12976 char $ac_func ();
12977 /* The GNU C library defines this for functions which it implements
12978 to always fail with ENOSYS. Some functions are actually named
12979 something starting with __ and the normal name is an alias. */
12980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12981 choke me
12982 #else
12983 char (*f) () = $ac_func;
12984 #endif
12985 #ifdef __cplusplus
12987 #endif
12990 main ()
12992 return f != $ac_func;
12994 return 0;
12996 _ACEOF
12997 rm -f conftest.$ac_objext conftest$ac_exeext
12998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12999 (eval $ac_link) 2>conftest.er1
13000 ac_status=$?
13001 grep -v '^ *+' conftest.er1 >conftest.err
13002 rm -f conftest.er1
13003 cat conftest.err >&5
13004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13005 (exit $ac_status); } &&
13006 { ac_try='test -z "$ac_c_werror_flag"
13007 || test ! -s conftest.err'
13008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13009 (eval $ac_try) 2>&5
13010 ac_status=$?
13011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13012 (exit $ac_status); }; } &&
13013 { ac_try='test -s conftest$ac_exeext'
13014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13015 (eval $ac_try) 2>&5
13016 ac_status=$?
13017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13018 (exit $ac_status); }; }; then
13019 eval "$as_ac_var=yes"
13020 else
13021 echo "$as_me: failed program was:" >&5
13022 sed 's/^/| /' conftest.$ac_ext >&5
13024 eval "$as_ac_var=no"
13026 rm -f conftest.err conftest.$ac_objext \
13027 conftest$ac_exeext conftest.$ac_ext
13029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13031 if test `eval echo '${'$as_ac_var'}'` = yes; then
13032 cat >>confdefs.h <<_ACEOF
13033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13034 _ACEOF
13037 done
13039 else
13041 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13042 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13043 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13044 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13045 echo $ECHO_N "(cached) $ECHO_C" >&6
13046 else
13050 ac_ext=cc
13051 ac_cpp='$CXXCPP $CPPFLAGS'
13052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13056 cat >conftest.$ac_ext <<_ACEOF
13057 /* confdefs.h. */
13058 _ACEOF
13059 cat confdefs.h >>conftest.$ac_ext
13060 cat >>conftest.$ac_ext <<_ACEOF
13061 /* end confdefs.h. */
13062 #include <math.h>
13064 main ()
13066 _atan2f(0, 0);
13068 return 0;
13070 _ACEOF
13071 rm -f conftest.$ac_objext
13072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13073 (eval $ac_compile) 2>conftest.er1
13074 ac_status=$?
13075 grep -v '^ *+' conftest.er1 >conftest.err
13076 rm -f conftest.er1
13077 cat conftest.err >&5
13078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13079 (exit $ac_status); } &&
13080 { ac_try='test -z "$ac_cxx_werror_flag"
13081 || test ! -s conftest.err'
13082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13083 (eval $ac_try) 2>&5
13084 ac_status=$?
13085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13086 (exit $ac_status); }; } &&
13087 { ac_try='test -s conftest.$ac_objext'
13088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13089 (eval $ac_try) 2>&5
13090 ac_status=$?
13091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13092 (exit $ac_status); }; }; then
13093 glibcxx_cv_func__atan2f_use=yes
13094 else
13095 echo "$as_me: failed program was:" >&5
13096 sed 's/^/| /' conftest.$ac_ext >&5
13098 glibcxx_cv_func__atan2f_use=no
13100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13101 ac_ext=c
13102 ac_cpp='$CPP $CPPFLAGS'
13103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13111 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13112 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13114 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13116 for ac_func in _atan2f
13118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13119 echo "$as_me:$LINENO: checking for $ac_func" >&5
13120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13121 if eval "test \"\${$as_ac_var+set}\" = set"; then
13122 echo $ECHO_N "(cached) $ECHO_C" >&6
13123 else
13124 if test x$gcc_no_link = xyes; then
13125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13127 { (exit 1); exit 1; }; }
13129 cat >conftest.$ac_ext <<_ACEOF
13130 /* confdefs.h. */
13131 _ACEOF
13132 cat confdefs.h >>conftest.$ac_ext
13133 cat >>conftest.$ac_ext <<_ACEOF
13134 /* end confdefs.h. */
13135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13137 #define $ac_func innocuous_$ac_func
13139 /* System header to define __stub macros and hopefully few prototypes,
13140 which can conflict with char $ac_func (); below.
13141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13142 <limits.h> exists even on freestanding compilers. */
13144 #ifdef __STDC__
13145 # include <limits.h>
13146 #else
13147 # include <assert.h>
13148 #endif
13150 #undef $ac_func
13152 /* Override any gcc2 internal prototype to avoid an error. */
13153 #ifdef __cplusplus
13154 extern "C"
13156 #endif
13157 /* We use char because int might match the return type of a gcc2
13158 builtin and then its argument prototype would still apply. */
13159 char $ac_func ();
13160 /* The GNU C library defines this for functions which it implements
13161 to always fail with ENOSYS. Some functions are actually named
13162 something starting with __ and the normal name is an alias. */
13163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13164 choke me
13165 #else
13166 char (*f) () = $ac_func;
13167 #endif
13168 #ifdef __cplusplus
13170 #endif
13173 main ()
13175 return f != $ac_func;
13177 return 0;
13179 _ACEOF
13180 rm -f conftest.$ac_objext conftest$ac_exeext
13181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13182 (eval $ac_link) 2>conftest.er1
13183 ac_status=$?
13184 grep -v '^ *+' conftest.er1 >conftest.err
13185 rm -f conftest.er1
13186 cat conftest.err >&5
13187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13188 (exit $ac_status); } &&
13189 { ac_try='test -z "$ac_c_werror_flag"
13190 || test ! -s conftest.err'
13191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13192 (eval $ac_try) 2>&5
13193 ac_status=$?
13194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13195 (exit $ac_status); }; } &&
13196 { ac_try='test -s conftest$ac_exeext'
13197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13198 (eval $ac_try) 2>&5
13199 ac_status=$?
13200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13201 (exit $ac_status); }; }; then
13202 eval "$as_ac_var=yes"
13203 else
13204 echo "$as_me: failed program was:" >&5
13205 sed 's/^/| /' conftest.$ac_ext >&5
13207 eval "$as_ac_var=no"
13209 rm -f conftest.err conftest.$ac_objext \
13210 conftest$ac_exeext conftest.$ac_ext
13212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13214 if test `eval echo '${'$as_ac_var'}'` = yes; then
13215 cat >>confdefs.h <<_ACEOF
13216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13217 _ACEOF
13220 done
13227 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13228 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13229 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13230 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13231 echo $ECHO_N "(cached) $ECHO_C" >&6
13232 else
13236 ac_ext=cc
13237 ac_cpp='$CXXCPP $CPPFLAGS'
13238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13242 cat >conftest.$ac_ext <<_ACEOF
13243 /* confdefs.h. */
13244 _ACEOF
13245 cat confdefs.h >>conftest.$ac_ext
13246 cat >>conftest.$ac_ext <<_ACEOF
13247 /* end confdefs.h. */
13248 #include <math.h>
13249 #ifdef HAVE_IEEEFP_H
13250 #include <ieeefp.h>
13251 #endif
13254 main ()
13256 fabsf(0);
13258 return 0;
13260 _ACEOF
13261 rm -f conftest.$ac_objext
13262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13263 (eval $ac_compile) 2>conftest.er1
13264 ac_status=$?
13265 grep -v '^ *+' conftest.er1 >conftest.err
13266 rm -f conftest.er1
13267 cat conftest.err >&5
13268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13269 (exit $ac_status); } &&
13270 { ac_try='test -z "$ac_cxx_werror_flag"
13271 || test ! -s conftest.err'
13272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13273 (eval $ac_try) 2>&5
13274 ac_status=$?
13275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13276 (exit $ac_status); }; } &&
13277 { ac_try='test -s conftest.$ac_objext'
13278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13279 (eval $ac_try) 2>&5
13280 ac_status=$?
13281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13282 (exit $ac_status); }; }; then
13283 glibcxx_cv_func_fabsf_use=yes
13284 else
13285 echo "$as_me: failed program was:" >&5
13286 sed 's/^/| /' conftest.$ac_ext >&5
13288 glibcxx_cv_func_fabsf_use=no
13290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13291 ac_ext=c
13292 ac_cpp='$CPP $CPPFLAGS'
13293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13301 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13302 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13304 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13306 for ac_func in fabsf
13308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13309 echo "$as_me:$LINENO: checking for $ac_func" >&5
13310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13311 if eval "test \"\${$as_ac_var+set}\" = set"; then
13312 echo $ECHO_N "(cached) $ECHO_C" >&6
13313 else
13314 if test x$gcc_no_link = xyes; then
13315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13317 { (exit 1); exit 1; }; }
13319 cat >conftest.$ac_ext <<_ACEOF
13320 /* confdefs.h. */
13321 _ACEOF
13322 cat confdefs.h >>conftest.$ac_ext
13323 cat >>conftest.$ac_ext <<_ACEOF
13324 /* end confdefs.h. */
13325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13327 #define $ac_func innocuous_$ac_func
13329 /* System header to define __stub macros and hopefully few prototypes,
13330 which can conflict with char $ac_func (); below.
13331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13332 <limits.h> exists even on freestanding compilers. */
13334 #ifdef __STDC__
13335 # include <limits.h>
13336 #else
13337 # include <assert.h>
13338 #endif
13340 #undef $ac_func
13342 /* Override any gcc2 internal prototype to avoid an error. */
13343 #ifdef __cplusplus
13344 extern "C"
13346 #endif
13347 /* We use char because int might match the return type of a gcc2
13348 builtin and then its argument prototype would still apply. */
13349 char $ac_func ();
13350 /* The GNU C library defines this for functions which it implements
13351 to always fail with ENOSYS. Some functions are actually named
13352 something starting with __ and the normal name is an alias. */
13353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13354 choke me
13355 #else
13356 char (*f) () = $ac_func;
13357 #endif
13358 #ifdef __cplusplus
13360 #endif
13363 main ()
13365 return f != $ac_func;
13367 return 0;
13369 _ACEOF
13370 rm -f conftest.$ac_objext conftest$ac_exeext
13371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13372 (eval $ac_link) 2>conftest.er1
13373 ac_status=$?
13374 grep -v '^ *+' conftest.er1 >conftest.err
13375 rm -f conftest.er1
13376 cat conftest.err >&5
13377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13378 (exit $ac_status); } &&
13379 { ac_try='test -z "$ac_c_werror_flag"
13380 || test ! -s conftest.err'
13381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13382 (eval $ac_try) 2>&5
13383 ac_status=$?
13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385 (exit $ac_status); }; } &&
13386 { ac_try='test -s conftest$ac_exeext'
13387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13388 (eval $ac_try) 2>&5
13389 ac_status=$?
13390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13391 (exit $ac_status); }; }; then
13392 eval "$as_ac_var=yes"
13393 else
13394 echo "$as_me: failed program was:" >&5
13395 sed 's/^/| /' conftest.$ac_ext >&5
13397 eval "$as_ac_var=no"
13399 rm -f conftest.err conftest.$ac_objext \
13400 conftest$ac_exeext conftest.$ac_ext
13402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13404 if test `eval echo '${'$as_ac_var'}'` = yes; then
13405 cat >>confdefs.h <<_ACEOF
13406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13407 _ACEOF
13410 done
13412 else
13414 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13415 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13416 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13417 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13418 echo $ECHO_N "(cached) $ECHO_C" >&6
13419 else
13423 ac_ext=cc
13424 ac_cpp='$CXXCPP $CPPFLAGS'
13425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13429 cat >conftest.$ac_ext <<_ACEOF
13430 /* confdefs.h. */
13431 _ACEOF
13432 cat confdefs.h >>conftest.$ac_ext
13433 cat >>conftest.$ac_ext <<_ACEOF
13434 /* end confdefs.h. */
13435 #include <math.h>
13436 #ifdef HAVE_IEEEFP_H
13437 #include <ieeefp.h>
13438 #endif
13441 main ()
13443 _fabsf(0);
13445 return 0;
13447 _ACEOF
13448 rm -f conftest.$ac_objext
13449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13450 (eval $ac_compile) 2>conftest.er1
13451 ac_status=$?
13452 grep -v '^ *+' conftest.er1 >conftest.err
13453 rm -f conftest.er1
13454 cat conftest.err >&5
13455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13456 (exit $ac_status); } &&
13457 { ac_try='test -z "$ac_cxx_werror_flag"
13458 || test ! -s conftest.err'
13459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13460 (eval $ac_try) 2>&5
13461 ac_status=$?
13462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13463 (exit $ac_status); }; } &&
13464 { ac_try='test -s conftest.$ac_objext'
13465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13466 (eval $ac_try) 2>&5
13467 ac_status=$?
13468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13469 (exit $ac_status); }; }; then
13470 glibcxx_cv_func__fabsf_use=yes
13471 else
13472 echo "$as_me: failed program was:" >&5
13473 sed 's/^/| /' conftest.$ac_ext >&5
13475 glibcxx_cv_func__fabsf_use=no
13477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13478 ac_ext=c
13479 ac_cpp='$CPP $CPPFLAGS'
13480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13488 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13489 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13491 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13493 for ac_func in _fabsf
13495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13496 echo "$as_me:$LINENO: checking for $ac_func" >&5
13497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13498 if eval "test \"\${$as_ac_var+set}\" = set"; then
13499 echo $ECHO_N "(cached) $ECHO_C" >&6
13500 else
13501 if test x$gcc_no_link = xyes; then
13502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13504 { (exit 1); exit 1; }; }
13506 cat >conftest.$ac_ext <<_ACEOF
13507 /* confdefs.h. */
13508 _ACEOF
13509 cat confdefs.h >>conftest.$ac_ext
13510 cat >>conftest.$ac_ext <<_ACEOF
13511 /* end confdefs.h. */
13512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13514 #define $ac_func innocuous_$ac_func
13516 /* System header to define __stub macros and hopefully few prototypes,
13517 which can conflict with char $ac_func (); below.
13518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13519 <limits.h> exists even on freestanding compilers. */
13521 #ifdef __STDC__
13522 # include <limits.h>
13523 #else
13524 # include <assert.h>
13525 #endif
13527 #undef $ac_func
13529 /* Override any gcc2 internal prototype to avoid an error. */
13530 #ifdef __cplusplus
13531 extern "C"
13533 #endif
13534 /* We use char because int might match the return type of a gcc2
13535 builtin and then its argument prototype would still apply. */
13536 char $ac_func ();
13537 /* The GNU C library defines this for functions which it implements
13538 to always fail with ENOSYS. Some functions are actually named
13539 something starting with __ and the normal name is an alias. */
13540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13541 choke me
13542 #else
13543 char (*f) () = $ac_func;
13544 #endif
13545 #ifdef __cplusplus
13547 #endif
13550 main ()
13552 return f != $ac_func;
13554 return 0;
13556 _ACEOF
13557 rm -f conftest.$ac_objext conftest$ac_exeext
13558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13559 (eval $ac_link) 2>conftest.er1
13560 ac_status=$?
13561 grep -v '^ *+' conftest.er1 >conftest.err
13562 rm -f conftest.er1
13563 cat conftest.err >&5
13564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13565 (exit $ac_status); } &&
13566 { ac_try='test -z "$ac_c_werror_flag"
13567 || test ! -s conftest.err'
13568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13569 (eval $ac_try) 2>&5
13570 ac_status=$?
13571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13572 (exit $ac_status); }; } &&
13573 { ac_try='test -s conftest$ac_exeext'
13574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13575 (eval $ac_try) 2>&5
13576 ac_status=$?
13577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13578 (exit $ac_status); }; }; then
13579 eval "$as_ac_var=yes"
13580 else
13581 echo "$as_me: failed program was:" >&5
13582 sed 's/^/| /' conftest.$ac_ext >&5
13584 eval "$as_ac_var=no"
13586 rm -f conftest.err conftest.$ac_objext \
13587 conftest$ac_exeext conftest.$ac_ext
13589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13591 if test `eval echo '${'$as_ac_var'}'` = yes; then
13592 cat >>confdefs.h <<_ACEOF
13593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13594 _ACEOF
13597 done
13604 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
13605 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
13606 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
13607 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
13608 echo $ECHO_N "(cached) $ECHO_C" >&6
13609 else
13613 ac_ext=cc
13614 ac_cpp='$CXXCPP $CPPFLAGS'
13615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13619 cat >conftest.$ac_ext <<_ACEOF
13620 /* confdefs.h. */
13621 _ACEOF
13622 cat confdefs.h >>conftest.$ac_ext
13623 cat >>conftest.$ac_ext <<_ACEOF
13624 /* end confdefs.h. */
13625 #include <math.h>
13627 main ()
13629 fmodf(0, 0);
13631 return 0;
13633 _ACEOF
13634 rm -f conftest.$ac_objext
13635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13636 (eval $ac_compile) 2>conftest.er1
13637 ac_status=$?
13638 grep -v '^ *+' conftest.er1 >conftest.err
13639 rm -f conftest.er1
13640 cat conftest.err >&5
13641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642 (exit $ac_status); } &&
13643 { ac_try='test -z "$ac_cxx_werror_flag"
13644 || test ! -s conftest.err'
13645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13646 (eval $ac_try) 2>&5
13647 ac_status=$?
13648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13649 (exit $ac_status); }; } &&
13650 { ac_try='test -s conftest.$ac_objext'
13651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13652 (eval $ac_try) 2>&5
13653 ac_status=$?
13654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13655 (exit $ac_status); }; }; then
13656 glibcxx_cv_func_fmodf_use=yes
13657 else
13658 echo "$as_me: failed program was:" >&5
13659 sed 's/^/| /' conftest.$ac_ext >&5
13661 glibcxx_cv_func_fmodf_use=no
13663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13664 ac_ext=c
13665 ac_cpp='$CPP $CPPFLAGS'
13666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13674 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
13675 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
13677 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
13679 for ac_func in fmodf
13681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13682 echo "$as_me:$LINENO: checking for $ac_func" >&5
13683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13684 if eval "test \"\${$as_ac_var+set}\" = set"; then
13685 echo $ECHO_N "(cached) $ECHO_C" >&6
13686 else
13687 if test x$gcc_no_link = xyes; then
13688 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13690 { (exit 1); exit 1; }; }
13692 cat >conftest.$ac_ext <<_ACEOF
13693 /* confdefs.h. */
13694 _ACEOF
13695 cat confdefs.h >>conftest.$ac_ext
13696 cat >>conftest.$ac_ext <<_ACEOF
13697 /* end confdefs.h. */
13698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13700 #define $ac_func innocuous_$ac_func
13702 /* System header to define __stub macros and hopefully few prototypes,
13703 which can conflict with char $ac_func (); below.
13704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13705 <limits.h> exists even on freestanding compilers. */
13707 #ifdef __STDC__
13708 # include <limits.h>
13709 #else
13710 # include <assert.h>
13711 #endif
13713 #undef $ac_func
13715 /* Override any gcc2 internal prototype to avoid an error. */
13716 #ifdef __cplusplus
13717 extern "C"
13719 #endif
13720 /* We use char because int might match the return type of a gcc2
13721 builtin and then its argument prototype would still apply. */
13722 char $ac_func ();
13723 /* The GNU C library defines this for functions which it implements
13724 to always fail with ENOSYS. Some functions are actually named
13725 something starting with __ and the normal name is an alias. */
13726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13727 choke me
13728 #else
13729 char (*f) () = $ac_func;
13730 #endif
13731 #ifdef __cplusplus
13733 #endif
13736 main ()
13738 return f != $ac_func;
13740 return 0;
13742 _ACEOF
13743 rm -f conftest.$ac_objext conftest$ac_exeext
13744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13745 (eval $ac_link) 2>conftest.er1
13746 ac_status=$?
13747 grep -v '^ *+' conftest.er1 >conftest.err
13748 rm -f conftest.er1
13749 cat conftest.err >&5
13750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751 (exit $ac_status); } &&
13752 { ac_try='test -z "$ac_c_werror_flag"
13753 || test ! -s conftest.err'
13754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13755 (eval $ac_try) 2>&5
13756 ac_status=$?
13757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13758 (exit $ac_status); }; } &&
13759 { ac_try='test -s conftest$ac_exeext'
13760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13761 (eval $ac_try) 2>&5
13762 ac_status=$?
13763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13764 (exit $ac_status); }; }; then
13765 eval "$as_ac_var=yes"
13766 else
13767 echo "$as_me: failed program was:" >&5
13768 sed 's/^/| /' conftest.$ac_ext >&5
13770 eval "$as_ac_var=no"
13772 rm -f conftest.err conftest.$ac_objext \
13773 conftest$ac_exeext conftest.$ac_ext
13775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13777 if test `eval echo '${'$as_ac_var'}'` = yes; then
13778 cat >>confdefs.h <<_ACEOF
13779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13780 _ACEOF
13783 done
13785 else
13787 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
13788 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
13789 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
13790 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
13791 echo $ECHO_N "(cached) $ECHO_C" >&6
13792 else
13796 ac_ext=cc
13797 ac_cpp='$CXXCPP $CPPFLAGS'
13798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13802 cat >conftest.$ac_ext <<_ACEOF
13803 /* confdefs.h. */
13804 _ACEOF
13805 cat confdefs.h >>conftest.$ac_ext
13806 cat >>conftest.$ac_ext <<_ACEOF
13807 /* end confdefs.h. */
13808 #include <math.h>
13810 main ()
13812 _fmodf(0, 0);
13814 return 0;
13816 _ACEOF
13817 rm -f conftest.$ac_objext
13818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13819 (eval $ac_compile) 2>conftest.er1
13820 ac_status=$?
13821 grep -v '^ *+' conftest.er1 >conftest.err
13822 rm -f conftest.er1
13823 cat conftest.err >&5
13824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13825 (exit $ac_status); } &&
13826 { ac_try='test -z "$ac_cxx_werror_flag"
13827 || test ! -s conftest.err'
13828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13829 (eval $ac_try) 2>&5
13830 ac_status=$?
13831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13832 (exit $ac_status); }; } &&
13833 { ac_try='test -s conftest.$ac_objext'
13834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13835 (eval $ac_try) 2>&5
13836 ac_status=$?
13837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13838 (exit $ac_status); }; }; then
13839 glibcxx_cv_func__fmodf_use=yes
13840 else
13841 echo "$as_me: failed program was:" >&5
13842 sed 's/^/| /' conftest.$ac_ext >&5
13844 glibcxx_cv_func__fmodf_use=no
13846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13847 ac_ext=c
13848 ac_cpp='$CPP $CPPFLAGS'
13849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13857 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
13858 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
13860 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
13862 for ac_func in _fmodf
13864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13865 echo "$as_me:$LINENO: checking for $ac_func" >&5
13866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13867 if eval "test \"\${$as_ac_var+set}\" = set"; then
13868 echo $ECHO_N "(cached) $ECHO_C" >&6
13869 else
13870 if test x$gcc_no_link = xyes; then
13871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13873 { (exit 1); exit 1; }; }
13875 cat >conftest.$ac_ext <<_ACEOF
13876 /* confdefs.h. */
13877 _ACEOF
13878 cat confdefs.h >>conftest.$ac_ext
13879 cat >>conftest.$ac_ext <<_ACEOF
13880 /* end confdefs.h. */
13881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13883 #define $ac_func innocuous_$ac_func
13885 /* System header to define __stub macros and hopefully few prototypes,
13886 which can conflict with char $ac_func (); below.
13887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13888 <limits.h> exists even on freestanding compilers. */
13890 #ifdef __STDC__
13891 # include <limits.h>
13892 #else
13893 # include <assert.h>
13894 #endif
13896 #undef $ac_func
13898 /* Override any gcc2 internal prototype to avoid an error. */
13899 #ifdef __cplusplus
13900 extern "C"
13902 #endif
13903 /* We use char because int might match the return type of a gcc2
13904 builtin and then its argument prototype would still apply. */
13905 char $ac_func ();
13906 /* The GNU C library defines this for functions which it implements
13907 to always fail with ENOSYS. Some functions are actually named
13908 something starting with __ and the normal name is an alias. */
13909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13910 choke me
13911 #else
13912 char (*f) () = $ac_func;
13913 #endif
13914 #ifdef __cplusplus
13916 #endif
13919 main ()
13921 return f != $ac_func;
13923 return 0;
13925 _ACEOF
13926 rm -f conftest.$ac_objext conftest$ac_exeext
13927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13928 (eval $ac_link) 2>conftest.er1
13929 ac_status=$?
13930 grep -v '^ *+' conftest.er1 >conftest.err
13931 rm -f conftest.er1
13932 cat conftest.err >&5
13933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13934 (exit $ac_status); } &&
13935 { ac_try='test -z "$ac_c_werror_flag"
13936 || test ! -s conftest.err'
13937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13938 (eval $ac_try) 2>&5
13939 ac_status=$?
13940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13941 (exit $ac_status); }; } &&
13942 { ac_try='test -s conftest$ac_exeext'
13943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13944 (eval $ac_try) 2>&5
13945 ac_status=$?
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 (exit $ac_status); }; }; then
13948 eval "$as_ac_var=yes"
13949 else
13950 echo "$as_me: failed program was:" >&5
13951 sed 's/^/| /' conftest.$ac_ext >&5
13953 eval "$as_ac_var=no"
13955 rm -f conftest.err conftest.$ac_objext \
13956 conftest$ac_exeext conftest.$ac_ext
13958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13960 if test `eval echo '${'$as_ac_var'}'` = yes; then
13961 cat >>confdefs.h <<_ACEOF
13962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13963 _ACEOF
13966 done
13973 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
13974 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
13975 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
13976 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
13977 echo $ECHO_N "(cached) $ECHO_C" >&6
13978 else
13982 ac_ext=cc
13983 ac_cpp='$CXXCPP $CPPFLAGS'
13984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13988 cat >conftest.$ac_ext <<_ACEOF
13989 /* confdefs.h. */
13990 _ACEOF
13991 cat confdefs.h >>conftest.$ac_ext
13992 cat >>conftest.$ac_ext <<_ACEOF
13993 /* end confdefs.h. */
13994 #include <math.h>
13996 main ()
13998 frexpf(0, 0);
14000 return 0;
14002 _ACEOF
14003 rm -f conftest.$ac_objext
14004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14005 (eval $ac_compile) 2>conftest.er1
14006 ac_status=$?
14007 grep -v '^ *+' conftest.er1 >conftest.err
14008 rm -f conftest.er1
14009 cat conftest.err >&5
14010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14011 (exit $ac_status); } &&
14012 { ac_try='test -z "$ac_cxx_werror_flag"
14013 || test ! -s conftest.err'
14014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14015 (eval $ac_try) 2>&5
14016 ac_status=$?
14017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14018 (exit $ac_status); }; } &&
14019 { ac_try='test -s conftest.$ac_objext'
14020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14021 (eval $ac_try) 2>&5
14022 ac_status=$?
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); }; }; then
14025 glibcxx_cv_func_frexpf_use=yes
14026 else
14027 echo "$as_me: failed program was:" >&5
14028 sed 's/^/| /' conftest.$ac_ext >&5
14030 glibcxx_cv_func_frexpf_use=no
14032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14033 ac_ext=c
14034 ac_cpp='$CPP $CPPFLAGS'
14035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14043 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14044 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14046 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14048 for ac_func in frexpf
14050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14051 echo "$as_me:$LINENO: checking for $ac_func" >&5
14052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14053 if eval "test \"\${$as_ac_var+set}\" = set"; then
14054 echo $ECHO_N "(cached) $ECHO_C" >&6
14055 else
14056 if test x$gcc_no_link = xyes; then
14057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14059 { (exit 1); exit 1; }; }
14061 cat >conftest.$ac_ext <<_ACEOF
14062 /* confdefs.h. */
14063 _ACEOF
14064 cat confdefs.h >>conftest.$ac_ext
14065 cat >>conftest.$ac_ext <<_ACEOF
14066 /* end confdefs.h. */
14067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14069 #define $ac_func innocuous_$ac_func
14071 /* System header to define __stub macros and hopefully few prototypes,
14072 which can conflict with char $ac_func (); below.
14073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14074 <limits.h> exists even on freestanding compilers. */
14076 #ifdef __STDC__
14077 # include <limits.h>
14078 #else
14079 # include <assert.h>
14080 #endif
14082 #undef $ac_func
14084 /* Override any gcc2 internal prototype to avoid an error. */
14085 #ifdef __cplusplus
14086 extern "C"
14088 #endif
14089 /* We use char because int might match the return type of a gcc2
14090 builtin and then its argument prototype would still apply. */
14091 char $ac_func ();
14092 /* The GNU C library defines this for functions which it implements
14093 to always fail with ENOSYS. Some functions are actually named
14094 something starting with __ and the normal name is an alias. */
14095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14096 choke me
14097 #else
14098 char (*f) () = $ac_func;
14099 #endif
14100 #ifdef __cplusplus
14102 #endif
14105 main ()
14107 return f != $ac_func;
14109 return 0;
14111 _ACEOF
14112 rm -f conftest.$ac_objext conftest$ac_exeext
14113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14114 (eval $ac_link) 2>conftest.er1
14115 ac_status=$?
14116 grep -v '^ *+' conftest.er1 >conftest.err
14117 rm -f conftest.er1
14118 cat conftest.err >&5
14119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14120 (exit $ac_status); } &&
14121 { ac_try='test -z "$ac_c_werror_flag"
14122 || test ! -s conftest.err'
14123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14124 (eval $ac_try) 2>&5
14125 ac_status=$?
14126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14127 (exit $ac_status); }; } &&
14128 { ac_try='test -s conftest$ac_exeext'
14129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14130 (eval $ac_try) 2>&5
14131 ac_status=$?
14132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133 (exit $ac_status); }; }; then
14134 eval "$as_ac_var=yes"
14135 else
14136 echo "$as_me: failed program was:" >&5
14137 sed 's/^/| /' conftest.$ac_ext >&5
14139 eval "$as_ac_var=no"
14141 rm -f conftest.err conftest.$ac_objext \
14142 conftest$ac_exeext conftest.$ac_ext
14144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14146 if test `eval echo '${'$as_ac_var'}'` = yes; then
14147 cat >>confdefs.h <<_ACEOF
14148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14149 _ACEOF
14152 done
14154 else
14156 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14157 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14158 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14159 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14160 echo $ECHO_N "(cached) $ECHO_C" >&6
14161 else
14165 ac_ext=cc
14166 ac_cpp='$CXXCPP $CPPFLAGS'
14167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14171 cat >conftest.$ac_ext <<_ACEOF
14172 /* confdefs.h. */
14173 _ACEOF
14174 cat confdefs.h >>conftest.$ac_ext
14175 cat >>conftest.$ac_ext <<_ACEOF
14176 /* end confdefs.h. */
14177 #include <math.h>
14179 main ()
14181 _frexpf(0, 0);
14183 return 0;
14185 _ACEOF
14186 rm -f conftest.$ac_objext
14187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14188 (eval $ac_compile) 2>conftest.er1
14189 ac_status=$?
14190 grep -v '^ *+' conftest.er1 >conftest.err
14191 rm -f conftest.er1
14192 cat conftest.err >&5
14193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14194 (exit $ac_status); } &&
14195 { ac_try='test -z "$ac_cxx_werror_flag"
14196 || test ! -s conftest.err'
14197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14198 (eval $ac_try) 2>&5
14199 ac_status=$?
14200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 (exit $ac_status); }; } &&
14202 { ac_try='test -s conftest.$ac_objext'
14203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14204 (eval $ac_try) 2>&5
14205 ac_status=$?
14206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14207 (exit $ac_status); }; }; then
14208 glibcxx_cv_func__frexpf_use=yes
14209 else
14210 echo "$as_me: failed program was:" >&5
14211 sed 's/^/| /' conftest.$ac_ext >&5
14213 glibcxx_cv_func__frexpf_use=no
14215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14216 ac_ext=c
14217 ac_cpp='$CPP $CPPFLAGS'
14218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14226 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14227 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14229 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14231 for ac_func in _frexpf
14233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14234 echo "$as_me:$LINENO: checking for $ac_func" >&5
14235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14236 if eval "test \"\${$as_ac_var+set}\" = set"; then
14237 echo $ECHO_N "(cached) $ECHO_C" >&6
14238 else
14239 if test x$gcc_no_link = xyes; then
14240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14242 { (exit 1); exit 1; }; }
14244 cat >conftest.$ac_ext <<_ACEOF
14245 /* confdefs.h. */
14246 _ACEOF
14247 cat confdefs.h >>conftest.$ac_ext
14248 cat >>conftest.$ac_ext <<_ACEOF
14249 /* end confdefs.h. */
14250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14252 #define $ac_func innocuous_$ac_func
14254 /* System header to define __stub macros and hopefully few prototypes,
14255 which can conflict with char $ac_func (); below.
14256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14257 <limits.h> exists even on freestanding compilers. */
14259 #ifdef __STDC__
14260 # include <limits.h>
14261 #else
14262 # include <assert.h>
14263 #endif
14265 #undef $ac_func
14267 /* Override any gcc2 internal prototype to avoid an error. */
14268 #ifdef __cplusplus
14269 extern "C"
14271 #endif
14272 /* We use char because int might match the return type of a gcc2
14273 builtin and then its argument prototype would still apply. */
14274 char $ac_func ();
14275 /* The GNU C library defines this for functions which it implements
14276 to always fail with ENOSYS. Some functions are actually named
14277 something starting with __ and the normal name is an alias. */
14278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14279 choke me
14280 #else
14281 char (*f) () = $ac_func;
14282 #endif
14283 #ifdef __cplusplus
14285 #endif
14288 main ()
14290 return f != $ac_func;
14292 return 0;
14294 _ACEOF
14295 rm -f conftest.$ac_objext conftest$ac_exeext
14296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14297 (eval $ac_link) 2>conftest.er1
14298 ac_status=$?
14299 grep -v '^ *+' conftest.er1 >conftest.err
14300 rm -f conftest.er1
14301 cat conftest.err >&5
14302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14303 (exit $ac_status); } &&
14304 { ac_try='test -z "$ac_c_werror_flag"
14305 || test ! -s conftest.err'
14306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14307 (eval $ac_try) 2>&5
14308 ac_status=$?
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); }; } &&
14311 { ac_try='test -s conftest$ac_exeext'
14312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14313 (eval $ac_try) 2>&5
14314 ac_status=$?
14315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316 (exit $ac_status); }; }; then
14317 eval "$as_ac_var=yes"
14318 else
14319 echo "$as_me: failed program was:" >&5
14320 sed 's/^/| /' conftest.$ac_ext >&5
14322 eval "$as_ac_var=no"
14324 rm -f conftest.err conftest.$ac_objext \
14325 conftest$ac_exeext conftest.$ac_ext
14327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14329 if test `eval echo '${'$as_ac_var'}'` = yes; then
14330 cat >>confdefs.h <<_ACEOF
14331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14332 _ACEOF
14335 done
14342 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14343 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14344 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14345 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14346 echo $ECHO_N "(cached) $ECHO_C" >&6
14347 else
14351 ac_ext=cc
14352 ac_cpp='$CXXCPP $CPPFLAGS'
14353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14357 cat >conftest.$ac_ext <<_ACEOF
14358 /* confdefs.h. */
14359 _ACEOF
14360 cat confdefs.h >>conftest.$ac_ext
14361 cat >>conftest.$ac_ext <<_ACEOF
14362 /* end confdefs.h. */
14363 #include <math.h>
14365 main ()
14367 hypotf(0, 0);
14369 return 0;
14371 _ACEOF
14372 rm -f conftest.$ac_objext
14373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14374 (eval $ac_compile) 2>conftest.er1
14375 ac_status=$?
14376 grep -v '^ *+' conftest.er1 >conftest.err
14377 rm -f conftest.er1
14378 cat conftest.err >&5
14379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380 (exit $ac_status); } &&
14381 { ac_try='test -z "$ac_cxx_werror_flag"
14382 || test ! -s conftest.err'
14383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14384 (eval $ac_try) 2>&5
14385 ac_status=$?
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); }; } &&
14388 { ac_try='test -s conftest.$ac_objext'
14389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14390 (eval $ac_try) 2>&5
14391 ac_status=$?
14392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14393 (exit $ac_status); }; }; then
14394 glibcxx_cv_func_hypotf_use=yes
14395 else
14396 echo "$as_me: failed program was:" >&5
14397 sed 's/^/| /' conftest.$ac_ext >&5
14399 glibcxx_cv_func_hypotf_use=no
14401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14402 ac_ext=c
14403 ac_cpp='$CPP $CPPFLAGS'
14404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14412 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14413 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14415 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14417 for ac_func in hypotf
14419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14420 echo "$as_me:$LINENO: checking for $ac_func" >&5
14421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14422 if eval "test \"\${$as_ac_var+set}\" = set"; then
14423 echo $ECHO_N "(cached) $ECHO_C" >&6
14424 else
14425 if test x$gcc_no_link = xyes; then
14426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14428 { (exit 1); exit 1; }; }
14430 cat >conftest.$ac_ext <<_ACEOF
14431 /* confdefs.h. */
14432 _ACEOF
14433 cat confdefs.h >>conftest.$ac_ext
14434 cat >>conftest.$ac_ext <<_ACEOF
14435 /* end confdefs.h. */
14436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14438 #define $ac_func innocuous_$ac_func
14440 /* System header to define __stub macros and hopefully few prototypes,
14441 which can conflict with char $ac_func (); below.
14442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14443 <limits.h> exists even on freestanding compilers. */
14445 #ifdef __STDC__
14446 # include <limits.h>
14447 #else
14448 # include <assert.h>
14449 #endif
14451 #undef $ac_func
14453 /* Override any gcc2 internal prototype to avoid an error. */
14454 #ifdef __cplusplus
14455 extern "C"
14457 #endif
14458 /* We use char because int might match the return type of a gcc2
14459 builtin and then its argument prototype would still apply. */
14460 char $ac_func ();
14461 /* The GNU C library defines this for functions which it implements
14462 to always fail with ENOSYS. Some functions are actually named
14463 something starting with __ and the normal name is an alias. */
14464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14465 choke me
14466 #else
14467 char (*f) () = $ac_func;
14468 #endif
14469 #ifdef __cplusplus
14471 #endif
14474 main ()
14476 return f != $ac_func;
14478 return 0;
14480 _ACEOF
14481 rm -f conftest.$ac_objext conftest$ac_exeext
14482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14483 (eval $ac_link) 2>conftest.er1
14484 ac_status=$?
14485 grep -v '^ *+' conftest.er1 >conftest.err
14486 rm -f conftest.er1
14487 cat conftest.err >&5
14488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14489 (exit $ac_status); } &&
14490 { ac_try='test -z "$ac_c_werror_flag"
14491 || test ! -s conftest.err'
14492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14493 (eval $ac_try) 2>&5
14494 ac_status=$?
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14496 (exit $ac_status); }; } &&
14497 { ac_try='test -s conftest$ac_exeext'
14498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14499 (eval $ac_try) 2>&5
14500 ac_status=$?
14501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14502 (exit $ac_status); }; }; then
14503 eval "$as_ac_var=yes"
14504 else
14505 echo "$as_me: failed program was:" >&5
14506 sed 's/^/| /' conftest.$ac_ext >&5
14508 eval "$as_ac_var=no"
14510 rm -f conftest.err conftest.$ac_objext \
14511 conftest$ac_exeext conftest.$ac_ext
14513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14515 if test `eval echo '${'$as_ac_var'}'` = yes; then
14516 cat >>confdefs.h <<_ACEOF
14517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14518 _ACEOF
14521 done
14523 else
14525 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14526 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14527 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14528 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14529 echo $ECHO_N "(cached) $ECHO_C" >&6
14530 else
14534 ac_ext=cc
14535 ac_cpp='$CXXCPP $CPPFLAGS'
14536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14540 cat >conftest.$ac_ext <<_ACEOF
14541 /* confdefs.h. */
14542 _ACEOF
14543 cat confdefs.h >>conftest.$ac_ext
14544 cat >>conftest.$ac_ext <<_ACEOF
14545 /* end confdefs.h. */
14546 #include <math.h>
14548 main ()
14550 _hypotf(0, 0);
14552 return 0;
14554 _ACEOF
14555 rm -f conftest.$ac_objext
14556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14557 (eval $ac_compile) 2>conftest.er1
14558 ac_status=$?
14559 grep -v '^ *+' conftest.er1 >conftest.err
14560 rm -f conftest.er1
14561 cat conftest.err >&5
14562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14563 (exit $ac_status); } &&
14564 { ac_try='test -z "$ac_cxx_werror_flag"
14565 || test ! -s conftest.err'
14566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14567 (eval $ac_try) 2>&5
14568 ac_status=$?
14569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14570 (exit $ac_status); }; } &&
14571 { ac_try='test -s conftest.$ac_objext'
14572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14573 (eval $ac_try) 2>&5
14574 ac_status=$?
14575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14576 (exit $ac_status); }; }; then
14577 glibcxx_cv_func__hypotf_use=yes
14578 else
14579 echo "$as_me: failed program was:" >&5
14580 sed 's/^/| /' conftest.$ac_ext >&5
14582 glibcxx_cv_func__hypotf_use=no
14584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14585 ac_ext=c
14586 ac_cpp='$CPP $CPPFLAGS'
14587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14595 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
14596 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
14598 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
14600 for ac_func in _hypotf
14602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14603 echo "$as_me:$LINENO: checking for $ac_func" >&5
14604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14605 if eval "test \"\${$as_ac_var+set}\" = set"; then
14606 echo $ECHO_N "(cached) $ECHO_C" >&6
14607 else
14608 if test x$gcc_no_link = xyes; then
14609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14611 { (exit 1); exit 1; }; }
14613 cat >conftest.$ac_ext <<_ACEOF
14614 /* confdefs.h. */
14615 _ACEOF
14616 cat confdefs.h >>conftest.$ac_ext
14617 cat >>conftest.$ac_ext <<_ACEOF
14618 /* end confdefs.h. */
14619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14621 #define $ac_func innocuous_$ac_func
14623 /* System header to define __stub macros and hopefully few prototypes,
14624 which can conflict with char $ac_func (); below.
14625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14626 <limits.h> exists even on freestanding compilers. */
14628 #ifdef __STDC__
14629 # include <limits.h>
14630 #else
14631 # include <assert.h>
14632 #endif
14634 #undef $ac_func
14636 /* Override any gcc2 internal prototype to avoid an error. */
14637 #ifdef __cplusplus
14638 extern "C"
14640 #endif
14641 /* We use char because int might match the return type of a gcc2
14642 builtin and then its argument prototype would still apply. */
14643 char $ac_func ();
14644 /* The GNU C library defines this for functions which it implements
14645 to always fail with ENOSYS. Some functions are actually named
14646 something starting with __ and the normal name is an alias. */
14647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14648 choke me
14649 #else
14650 char (*f) () = $ac_func;
14651 #endif
14652 #ifdef __cplusplus
14654 #endif
14657 main ()
14659 return f != $ac_func;
14661 return 0;
14663 _ACEOF
14664 rm -f conftest.$ac_objext conftest$ac_exeext
14665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14666 (eval $ac_link) 2>conftest.er1
14667 ac_status=$?
14668 grep -v '^ *+' conftest.er1 >conftest.err
14669 rm -f conftest.er1
14670 cat conftest.err >&5
14671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672 (exit $ac_status); } &&
14673 { ac_try='test -z "$ac_c_werror_flag"
14674 || test ! -s conftest.err'
14675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14676 (eval $ac_try) 2>&5
14677 ac_status=$?
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); }; } &&
14680 { ac_try='test -s conftest$ac_exeext'
14681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14682 (eval $ac_try) 2>&5
14683 ac_status=$?
14684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14685 (exit $ac_status); }; }; then
14686 eval "$as_ac_var=yes"
14687 else
14688 echo "$as_me: failed program was:" >&5
14689 sed 's/^/| /' conftest.$ac_ext >&5
14691 eval "$as_ac_var=no"
14693 rm -f conftest.err conftest.$ac_objext \
14694 conftest$ac_exeext conftest.$ac_ext
14696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14698 if test `eval echo '${'$as_ac_var'}'` = yes; then
14699 cat >>confdefs.h <<_ACEOF
14700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14701 _ACEOF
14704 done
14711 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
14712 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
14713 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
14714 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
14715 echo $ECHO_N "(cached) $ECHO_C" >&6
14716 else
14720 ac_ext=cc
14721 ac_cpp='$CXXCPP $CPPFLAGS'
14722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14726 cat >conftest.$ac_ext <<_ACEOF
14727 /* confdefs.h. */
14728 _ACEOF
14729 cat confdefs.h >>conftest.$ac_ext
14730 cat >>conftest.$ac_ext <<_ACEOF
14731 /* end confdefs.h. */
14732 #include <math.h>
14734 main ()
14736 ldexpf(0, 0);
14738 return 0;
14740 _ACEOF
14741 rm -f conftest.$ac_objext
14742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14743 (eval $ac_compile) 2>conftest.er1
14744 ac_status=$?
14745 grep -v '^ *+' conftest.er1 >conftest.err
14746 rm -f conftest.er1
14747 cat conftest.err >&5
14748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14749 (exit $ac_status); } &&
14750 { ac_try='test -z "$ac_cxx_werror_flag"
14751 || test ! -s conftest.err'
14752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14753 (eval $ac_try) 2>&5
14754 ac_status=$?
14755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14756 (exit $ac_status); }; } &&
14757 { ac_try='test -s conftest.$ac_objext'
14758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14759 (eval $ac_try) 2>&5
14760 ac_status=$?
14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762 (exit $ac_status); }; }; then
14763 glibcxx_cv_func_ldexpf_use=yes
14764 else
14765 echo "$as_me: failed program was:" >&5
14766 sed 's/^/| /' conftest.$ac_ext >&5
14768 glibcxx_cv_func_ldexpf_use=no
14770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14771 ac_ext=c
14772 ac_cpp='$CPP $CPPFLAGS'
14773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14781 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
14782 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
14784 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
14786 for ac_func in ldexpf
14788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14789 echo "$as_me:$LINENO: checking for $ac_func" >&5
14790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14791 if eval "test \"\${$as_ac_var+set}\" = set"; then
14792 echo $ECHO_N "(cached) $ECHO_C" >&6
14793 else
14794 if test x$gcc_no_link = xyes; then
14795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14797 { (exit 1); exit 1; }; }
14799 cat >conftest.$ac_ext <<_ACEOF
14800 /* confdefs.h. */
14801 _ACEOF
14802 cat confdefs.h >>conftest.$ac_ext
14803 cat >>conftest.$ac_ext <<_ACEOF
14804 /* end confdefs.h. */
14805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14807 #define $ac_func innocuous_$ac_func
14809 /* System header to define __stub macros and hopefully few prototypes,
14810 which can conflict with char $ac_func (); below.
14811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14812 <limits.h> exists even on freestanding compilers. */
14814 #ifdef __STDC__
14815 # include <limits.h>
14816 #else
14817 # include <assert.h>
14818 #endif
14820 #undef $ac_func
14822 /* Override any gcc2 internal prototype to avoid an error. */
14823 #ifdef __cplusplus
14824 extern "C"
14826 #endif
14827 /* We use char because int might match the return type of a gcc2
14828 builtin and then its argument prototype would still apply. */
14829 char $ac_func ();
14830 /* The GNU C library defines this for functions which it implements
14831 to always fail with ENOSYS. Some functions are actually named
14832 something starting with __ and the normal name is an alias. */
14833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14834 choke me
14835 #else
14836 char (*f) () = $ac_func;
14837 #endif
14838 #ifdef __cplusplus
14840 #endif
14843 main ()
14845 return f != $ac_func;
14847 return 0;
14849 _ACEOF
14850 rm -f conftest.$ac_objext conftest$ac_exeext
14851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14852 (eval $ac_link) 2>conftest.er1
14853 ac_status=$?
14854 grep -v '^ *+' conftest.er1 >conftest.err
14855 rm -f conftest.er1
14856 cat conftest.err >&5
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); } &&
14859 { ac_try='test -z "$ac_c_werror_flag"
14860 || test ! -s conftest.err'
14861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14862 (eval $ac_try) 2>&5
14863 ac_status=$?
14864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); }; } &&
14866 { ac_try='test -s conftest$ac_exeext'
14867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14868 (eval $ac_try) 2>&5
14869 ac_status=$?
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); }; }; then
14872 eval "$as_ac_var=yes"
14873 else
14874 echo "$as_me: failed program was:" >&5
14875 sed 's/^/| /' conftest.$ac_ext >&5
14877 eval "$as_ac_var=no"
14879 rm -f conftest.err conftest.$ac_objext \
14880 conftest$ac_exeext conftest.$ac_ext
14882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14884 if test `eval echo '${'$as_ac_var'}'` = yes; then
14885 cat >>confdefs.h <<_ACEOF
14886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14887 _ACEOF
14890 done
14892 else
14894 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
14895 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
14896 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
14897 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
14898 echo $ECHO_N "(cached) $ECHO_C" >&6
14899 else
14903 ac_ext=cc
14904 ac_cpp='$CXXCPP $CPPFLAGS'
14905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14909 cat >conftest.$ac_ext <<_ACEOF
14910 /* confdefs.h. */
14911 _ACEOF
14912 cat confdefs.h >>conftest.$ac_ext
14913 cat >>conftest.$ac_ext <<_ACEOF
14914 /* end confdefs.h. */
14915 #include <math.h>
14917 main ()
14919 _ldexpf(0, 0);
14921 return 0;
14923 _ACEOF
14924 rm -f conftest.$ac_objext
14925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14926 (eval $ac_compile) 2>conftest.er1
14927 ac_status=$?
14928 grep -v '^ *+' conftest.er1 >conftest.err
14929 rm -f conftest.er1
14930 cat conftest.err >&5
14931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14932 (exit $ac_status); } &&
14933 { ac_try='test -z "$ac_cxx_werror_flag"
14934 || test ! -s conftest.err'
14935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14936 (eval $ac_try) 2>&5
14937 ac_status=$?
14938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14939 (exit $ac_status); }; } &&
14940 { ac_try='test -s conftest.$ac_objext'
14941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14942 (eval $ac_try) 2>&5
14943 ac_status=$?
14944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945 (exit $ac_status); }; }; then
14946 glibcxx_cv_func__ldexpf_use=yes
14947 else
14948 echo "$as_me: failed program was:" >&5
14949 sed 's/^/| /' conftest.$ac_ext >&5
14951 glibcxx_cv_func__ldexpf_use=no
14953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14954 ac_ext=c
14955 ac_cpp='$CPP $CPPFLAGS'
14956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14964 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
14965 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
14967 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
14969 for ac_func in _ldexpf
14971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14972 echo "$as_me:$LINENO: checking for $ac_func" >&5
14973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14974 if eval "test \"\${$as_ac_var+set}\" = set"; then
14975 echo $ECHO_N "(cached) $ECHO_C" >&6
14976 else
14977 if test x$gcc_no_link = xyes; then
14978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14980 { (exit 1); exit 1; }; }
14982 cat >conftest.$ac_ext <<_ACEOF
14983 /* confdefs.h. */
14984 _ACEOF
14985 cat confdefs.h >>conftest.$ac_ext
14986 cat >>conftest.$ac_ext <<_ACEOF
14987 /* end confdefs.h. */
14988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14990 #define $ac_func innocuous_$ac_func
14992 /* System header to define __stub macros and hopefully few prototypes,
14993 which can conflict with char $ac_func (); below.
14994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14995 <limits.h> exists even on freestanding compilers. */
14997 #ifdef __STDC__
14998 # include <limits.h>
14999 #else
15000 # include <assert.h>
15001 #endif
15003 #undef $ac_func
15005 /* Override any gcc2 internal prototype to avoid an error. */
15006 #ifdef __cplusplus
15007 extern "C"
15009 #endif
15010 /* We use char because int might match the return type of a gcc2
15011 builtin and then its argument prototype would still apply. */
15012 char $ac_func ();
15013 /* The GNU C library defines this for functions which it implements
15014 to always fail with ENOSYS. Some functions are actually named
15015 something starting with __ and the normal name is an alias. */
15016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15017 choke me
15018 #else
15019 char (*f) () = $ac_func;
15020 #endif
15021 #ifdef __cplusplus
15023 #endif
15026 main ()
15028 return f != $ac_func;
15030 return 0;
15032 _ACEOF
15033 rm -f conftest.$ac_objext conftest$ac_exeext
15034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15035 (eval $ac_link) 2>conftest.er1
15036 ac_status=$?
15037 grep -v '^ *+' conftest.er1 >conftest.err
15038 rm -f conftest.er1
15039 cat conftest.err >&5
15040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15041 (exit $ac_status); } &&
15042 { ac_try='test -z "$ac_c_werror_flag"
15043 || test ! -s conftest.err'
15044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15045 (eval $ac_try) 2>&5
15046 ac_status=$?
15047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15048 (exit $ac_status); }; } &&
15049 { ac_try='test -s conftest$ac_exeext'
15050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15051 (eval $ac_try) 2>&5
15052 ac_status=$?
15053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15054 (exit $ac_status); }; }; then
15055 eval "$as_ac_var=yes"
15056 else
15057 echo "$as_me: failed program was:" >&5
15058 sed 's/^/| /' conftest.$ac_ext >&5
15060 eval "$as_ac_var=no"
15062 rm -f conftest.err conftest.$ac_objext \
15063 conftest$ac_exeext conftest.$ac_ext
15065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15067 if test `eval echo '${'$as_ac_var'}'` = yes; then
15068 cat >>confdefs.h <<_ACEOF
15069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15070 _ACEOF
15073 done
15080 echo "$as_me:$LINENO: checking for logf declaration" >&5
15081 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15082 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15083 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15084 echo $ECHO_N "(cached) $ECHO_C" >&6
15085 else
15089 ac_ext=cc
15090 ac_cpp='$CXXCPP $CPPFLAGS'
15091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15095 cat >conftest.$ac_ext <<_ACEOF
15096 /* confdefs.h. */
15097 _ACEOF
15098 cat confdefs.h >>conftest.$ac_ext
15099 cat >>conftest.$ac_ext <<_ACEOF
15100 /* end confdefs.h. */
15101 #include <math.h>
15102 #ifdef HAVE_IEEEFP_H
15103 #include <ieeefp.h>
15104 #endif
15107 main ()
15109 logf(0);
15111 return 0;
15113 _ACEOF
15114 rm -f conftest.$ac_objext
15115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15116 (eval $ac_compile) 2>conftest.er1
15117 ac_status=$?
15118 grep -v '^ *+' conftest.er1 >conftest.err
15119 rm -f conftest.er1
15120 cat conftest.err >&5
15121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15122 (exit $ac_status); } &&
15123 { ac_try='test -z "$ac_cxx_werror_flag"
15124 || test ! -s conftest.err'
15125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15126 (eval $ac_try) 2>&5
15127 ac_status=$?
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); }; } &&
15130 { ac_try='test -s conftest.$ac_objext'
15131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15132 (eval $ac_try) 2>&5
15133 ac_status=$?
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); }; }; then
15136 glibcxx_cv_func_logf_use=yes
15137 else
15138 echo "$as_me: failed program was:" >&5
15139 sed 's/^/| /' conftest.$ac_ext >&5
15141 glibcxx_cv_func_logf_use=no
15143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15144 ac_ext=c
15145 ac_cpp='$CPP $CPPFLAGS'
15146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15154 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15155 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15157 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15159 for ac_func in logf
15161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15162 echo "$as_me:$LINENO: checking for $ac_func" >&5
15163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15164 if eval "test \"\${$as_ac_var+set}\" = set"; then
15165 echo $ECHO_N "(cached) $ECHO_C" >&6
15166 else
15167 if test x$gcc_no_link = xyes; then
15168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15170 { (exit 1); exit 1; }; }
15172 cat >conftest.$ac_ext <<_ACEOF
15173 /* confdefs.h. */
15174 _ACEOF
15175 cat confdefs.h >>conftest.$ac_ext
15176 cat >>conftest.$ac_ext <<_ACEOF
15177 /* end confdefs.h. */
15178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15180 #define $ac_func innocuous_$ac_func
15182 /* System header to define __stub macros and hopefully few prototypes,
15183 which can conflict with char $ac_func (); below.
15184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15185 <limits.h> exists even on freestanding compilers. */
15187 #ifdef __STDC__
15188 # include <limits.h>
15189 #else
15190 # include <assert.h>
15191 #endif
15193 #undef $ac_func
15195 /* Override any gcc2 internal prototype to avoid an error. */
15196 #ifdef __cplusplus
15197 extern "C"
15199 #endif
15200 /* We use char because int might match the return type of a gcc2
15201 builtin and then its argument prototype would still apply. */
15202 char $ac_func ();
15203 /* The GNU C library defines this for functions which it implements
15204 to always fail with ENOSYS. Some functions are actually named
15205 something starting with __ and the normal name is an alias. */
15206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15207 choke me
15208 #else
15209 char (*f) () = $ac_func;
15210 #endif
15211 #ifdef __cplusplus
15213 #endif
15216 main ()
15218 return f != $ac_func;
15220 return 0;
15222 _ACEOF
15223 rm -f conftest.$ac_objext conftest$ac_exeext
15224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15225 (eval $ac_link) 2>conftest.er1
15226 ac_status=$?
15227 grep -v '^ *+' conftest.er1 >conftest.err
15228 rm -f conftest.er1
15229 cat conftest.err >&5
15230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15231 (exit $ac_status); } &&
15232 { ac_try='test -z "$ac_c_werror_flag"
15233 || test ! -s conftest.err'
15234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15235 (eval $ac_try) 2>&5
15236 ac_status=$?
15237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15238 (exit $ac_status); }; } &&
15239 { ac_try='test -s conftest$ac_exeext'
15240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15241 (eval $ac_try) 2>&5
15242 ac_status=$?
15243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15244 (exit $ac_status); }; }; then
15245 eval "$as_ac_var=yes"
15246 else
15247 echo "$as_me: failed program was:" >&5
15248 sed 's/^/| /' conftest.$ac_ext >&5
15250 eval "$as_ac_var=no"
15252 rm -f conftest.err conftest.$ac_objext \
15253 conftest$ac_exeext conftest.$ac_ext
15255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15257 if test `eval echo '${'$as_ac_var'}'` = yes; then
15258 cat >>confdefs.h <<_ACEOF
15259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15260 _ACEOF
15263 done
15265 else
15267 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15268 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15269 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15270 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15271 echo $ECHO_N "(cached) $ECHO_C" >&6
15272 else
15276 ac_ext=cc
15277 ac_cpp='$CXXCPP $CPPFLAGS'
15278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15282 cat >conftest.$ac_ext <<_ACEOF
15283 /* confdefs.h. */
15284 _ACEOF
15285 cat confdefs.h >>conftest.$ac_ext
15286 cat >>conftest.$ac_ext <<_ACEOF
15287 /* end confdefs.h. */
15288 #include <math.h>
15289 #ifdef HAVE_IEEEFP_H
15290 #include <ieeefp.h>
15291 #endif
15294 main ()
15296 _logf(0);
15298 return 0;
15300 _ACEOF
15301 rm -f conftest.$ac_objext
15302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15303 (eval $ac_compile) 2>conftest.er1
15304 ac_status=$?
15305 grep -v '^ *+' conftest.er1 >conftest.err
15306 rm -f conftest.er1
15307 cat conftest.err >&5
15308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15309 (exit $ac_status); } &&
15310 { ac_try='test -z "$ac_cxx_werror_flag"
15311 || test ! -s conftest.err'
15312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15313 (eval $ac_try) 2>&5
15314 ac_status=$?
15315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15316 (exit $ac_status); }; } &&
15317 { ac_try='test -s conftest.$ac_objext'
15318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15319 (eval $ac_try) 2>&5
15320 ac_status=$?
15321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15322 (exit $ac_status); }; }; then
15323 glibcxx_cv_func__logf_use=yes
15324 else
15325 echo "$as_me: failed program was:" >&5
15326 sed 's/^/| /' conftest.$ac_ext >&5
15328 glibcxx_cv_func__logf_use=no
15330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15331 ac_ext=c
15332 ac_cpp='$CPP $CPPFLAGS'
15333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15341 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15342 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15344 if test x$glibcxx_cv_func__logf_use = x"yes"; then
15346 for ac_func in _logf
15348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15349 echo "$as_me:$LINENO: checking for $ac_func" >&5
15350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15351 if eval "test \"\${$as_ac_var+set}\" = set"; then
15352 echo $ECHO_N "(cached) $ECHO_C" >&6
15353 else
15354 if test x$gcc_no_link = xyes; then
15355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15357 { (exit 1); exit 1; }; }
15359 cat >conftest.$ac_ext <<_ACEOF
15360 /* confdefs.h. */
15361 _ACEOF
15362 cat confdefs.h >>conftest.$ac_ext
15363 cat >>conftest.$ac_ext <<_ACEOF
15364 /* end confdefs.h. */
15365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15367 #define $ac_func innocuous_$ac_func
15369 /* System header to define __stub macros and hopefully few prototypes,
15370 which can conflict with char $ac_func (); below.
15371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15372 <limits.h> exists even on freestanding compilers. */
15374 #ifdef __STDC__
15375 # include <limits.h>
15376 #else
15377 # include <assert.h>
15378 #endif
15380 #undef $ac_func
15382 /* Override any gcc2 internal prototype to avoid an error. */
15383 #ifdef __cplusplus
15384 extern "C"
15386 #endif
15387 /* We use char because int might match the return type of a gcc2
15388 builtin and then its argument prototype would still apply. */
15389 char $ac_func ();
15390 /* The GNU C library defines this for functions which it implements
15391 to always fail with ENOSYS. Some functions are actually named
15392 something starting with __ and the normal name is an alias. */
15393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15394 choke me
15395 #else
15396 char (*f) () = $ac_func;
15397 #endif
15398 #ifdef __cplusplus
15400 #endif
15403 main ()
15405 return f != $ac_func;
15407 return 0;
15409 _ACEOF
15410 rm -f conftest.$ac_objext conftest$ac_exeext
15411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15412 (eval $ac_link) 2>conftest.er1
15413 ac_status=$?
15414 grep -v '^ *+' conftest.er1 >conftest.err
15415 rm -f conftest.er1
15416 cat conftest.err >&5
15417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15418 (exit $ac_status); } &&
15419 { ac_try='test -z "$ac_c_werror_flag"
15420 || test ! -s conftest.err'
15421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15422 (eval $ac_try) 2>&5
15423 ac_status=$?
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); }; } &&
15426 { ac_try='test -s conftest$ac_exeext'
15427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15428 (eval $ac_try) 2>&5
15429 ac_status=$?
15430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15431 (exit $ac_status); }; }; then
15432 eval "$as_ac_var=yes"
15433 else
15434 echo "$as_me: failed program was:" >&5
15435 sed 's/^/| /' conftest.$ac_ext >&5
15437 eval "$as_ac_var=no"
15439 rm -f conftest.err conftest.$ac_objext \
15440 conftest$ac_exeext conftest.$ac_ext
15442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15444 if test `eval echo '${'$as_ac_var'}'` = yes; then
15445 cat >>confdefs.h <<_ACEOF
15446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15447 _ACEOF
15450 done
15457 echo "$as_me:$LINENO: checking for log10f declaration" >&5
15458 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15459 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15460 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15461 echo $ECHO_N "(cached) $ECHO_C" >&6
15462 else
15466 ac_ext=cc
15467 ac_cpp='$CXXCPP $CPPFLAGS'
15468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15472 cat >conftest.$ac_ext <<_ACEOF
15473 /* confdefs.h. */
15474 _ACEOF
15475 cat confdefs.h >>conftest.$ac_ext
15476 cat >>conftest.$ac_ext <<_ACEOF
15477 /* end confdefs.h. */
15478 #include <math.h>
15479 #ifdef HAVE_IEEEFP_H
15480 #include <ieeefp.h>
15481 #endif
15484 main ()
15486 log10f(0);
15488 return 0;
15490 _ACEOF
15491 rm -f conftest.$ac_objext
15492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15493 (eval $ac_compile) 2>conftest.er1
15494 ac_status=$?
15495 grep -v '^ *+' conftest.er1 >conftest.err
15496 rm -f conftest.er1
15497 cat conftest.err >&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); } &&
15500 { ac_try='test -z "$ac_cxx_werror_flag"
15501 || test ! -s conftest.err'
15502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15503 (eval $ac_try) 2>&5
15504 ac_status=$?
15505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15506 (exit $ac_status); }; } &&
15507 { ac_try='test -s conftest.$ac_objext'
15508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15509 (eval $ac_try) 2>&5
15510 ac_status=$?
15511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15512 (exit $ac_status); }; }; then
15513 glibcxx_cv_func_log10f_use=yes
15514 else
15515 echo "$as_me: failed program was:" >&5
15516 sed 's/^/| /' conftest.$ac_ext >&5
15518 glibcxx_cv_func_log10f_use=no
15520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15521 ac_ext=c
15522 ac_cpp='$CPP $CPPFLAGS'
15523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15531 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15532 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15534 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15536 for ac_func in log10f
15538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15539 echo "$as_me:$LINENO: checking for $ac_func" >&5
15540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15541 if eval "test \"\${$as_ac_var+set}\" = set"; then
15542 echo $ECHO_N "(cached) $ECHO_C" >&6
15543 else
15544 if test x$gcc_no_link = xyes; then
15545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15547 { (exit 1); exit 1; }; }
15549 cat >conftest.$ac_ext <<_ACEOF
15550 /* confdefs.h. */
15551 _ACEOF
15552 cat confdefs.h >>conftest.$ac_ext
15553 cat >>conftest.$ac_ext <<_ACEOF
15554 /* end confdefs.h. */
15555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15557 #define $ac_func innocuous_$ac_func
15559 /* System header to define __stub macros and hopefully few prototypes,
15560 which can conflict with char $ac_func (); below.
15561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15562 <limits.h> exists even on freestanding compilers. */
15564 #ifdef __STDC__
15565 # include <limits.h>
15566 #else
15567 # include <assert.h>
15568 #endif
15570 #undef $ac_func
15572 /* Override any gcc2 internal prototype to avoid an error. */
15573 #ifdef __cplusplus
15574 extern "C"
15576 #endif
15577 /* We use char because int might match the return type of a gcc2
15578 builtin and then its argument prototype would still apply. */
15579 char $ac_func ();
15580 /* The GNU C library defines this for functions which it implements
15581 to always fail with ENOSYS. Some functions are actually named
15582 something starting with __ and the normal name is an alias. */
15583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15584 choke me
15585 #else
15586 char (*f) () = $ac_func;
15587 #endif
15588 #ifdef __cplusplus
15590 #endif
15593 main ()
15595 return f != $ac_func;
15597 return 0;
15599 _ACEOF
15600 rm -f conftest.$ac_objext conftest$ac_exeext
15601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15602 (eval $ac_link) 2>conftest.er1
15603 ac_status=$?
15604 grep -v '^ *+' conftest.er1 >conftest.err
15605 rm -f conftest.er1
15606 cat conftest.err >&5
15607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15608 (exit $ac_status); } &&
15609 { ac_try='test -z "$ac_c_werror_flag"
15610 || test ! -s conftest.err'
15611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15612 (eval $ac_try) 2>&5
15613 ac_status=$?
15614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15615 (exit $ac_status); }; } &&
15616 { ac_try='test -s conftest$ac_exeext'
15617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15618 (eval $ac_try) 2>&5
15619 ac_status=$?
15620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15621 (exit $ac_status); }; }; then
15622 eval "$as_ac_var=yes"
15623 else
15624 echo "$as_me: failed program was:" >&5
15625 sed 's/^/| /' conftest.$ac_ext >&5
15627 eval "$as_ac_var=no"
15629 rm -f conftest.err conftest.$ac_objext \
15630 conftest$ac_exeext conftest.$ac_ext
15632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15634 if test `eval echo '${'$as_ac_var'}'` = yes; then
15635 cat >>confdefs.h <<_ACEOF
15636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15637 _ACEOF
15640 done
15642 else
15644 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
15645 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
15646 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
15647 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
15648 echo $ECHO_N "(cached) $ECHO_C" >&6
15649 else
15653 ac_ext=cc
15654 ac_cpp='$CXXCPP $CPPFLAGS'
15655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15659 cat >conftest.$ac_ext <<_ACEOF
15660 /* confdefs.h. */
15661 _ACEOF
15662 cat confdefs.h >>conftest.$ac_ext
15663 cat >>conftest.$ac_ext <<_ACEOF
15664 /* end confdefs.h. */
15665 #include <math.h>
15666 #ifdef HAVE_IEEEFP_H
15667 #include <ieeefp.h>
15668 #endif
15671 main ()
15673 _log10f(0);
15675 return 0;
15677 _ACEOF
15678 rm -f conftest.$ac_objext
15679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15680 (eval $ac_compile) 2>conftest.er1
15681 ac_status=$?
15682 grep -v '^ *+' conftest.er1 >conftest.err
15683 rm -f conftest.er1
15684 cat conftest.err >&5
15685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15686 (exit $ac_status); } &&
15687 { ac_try='test -z "$ac_cxx_werror_flag"
15688 || test ! -s conftest.err'
15689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15690 (eval $ac_try) 2>&5
15691 ac_status=$?
15692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15693 (exit $ac_status); }; } &&
15694 { ac_try='test -s conftest.$ac_objext'
15695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15696 (eval $ac_try) 2>&5
15697 ac_status=$?
15698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15699 (exit $ac_status); }; }; then
15700 glibcxx_cv_func__log10f_use=yes
15701 else
15702 echo "$as_me: failed program was:" >&5
15703 sed 's/^/| /' conftest.$ac_ext >&5
15705 glibcxx_cv_func__log10f_use=no
15707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15708 ac_ext=c
15709 ac_cpp='$CPP $CPPFLAGS'
15710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15718 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
15719 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
15721 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
15723 for ac_func in _log10f
15725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15726 echo "$as_me:$LINENO: checking for $ac_func" >&5
15727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15728 if eval "test \"\${$as_ac_var+set}\" = set"; then
15729 echo $ECHO_N "(cached) $ECHO_C" >&6
15730 else
15731 if test x$gcc_no_link = xyes; then
15732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15734 { (exit 1); exit 1; }; }
15736 cat >conftest.$ac_ext <<_ACEOF
15737 /* confdefs.h. */
15738 _ACEOF
15739 cat confdefs.h >>conftest.$ac_ext
15740 cat >>conftest.$ac_ext <<_ACEOF
15741 /* end confdefs.h. */
15742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15744 #define $ac_func innocuous_$ac_func
15746 /* System header to define __stub macros and hopefully few prototypes,
15747 which can conflict with char $ac_func (); below.
15748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15749 <limits.h> exists even on freestanding compilers. */
15751 #ifdef __STDC__
15752 # include <limits.h>
15753 #else
15754 # include <assert.h>
15755 #endif
15757 #undef $ac_func
15759 /* Override any gcc2 internal prototype to avoid an error. */
15760 #ifdef __cplusplus
15761 extern "C"
15763 #endif
15764 /* We use char because int might match the return type of a gcc2
15765 builtin and then its argument prototype would still apply. */
15766 char $ac_func ();
15767 /* The GNU C library defines this for functions which it implements
15768 to always fail with ENOSYS. Some functions are actually named
15769 something starting with __ and the normal name is an alias. */
15770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15771 choke me
15772 #else
15773 char (*f) () = $ac_func;
15774 #endif
15775 #ifdef __cplusplus
15777 #endif
15780 main ()
15782 return f != $ac_func;
15784 return 0;
15786 _ACEOF
15787 rm -f conftest.$ac_objext conftest$ac_exeext
15788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15789 (eval $ac_link) 2>conftest.er1
15790 ac_status=$?
15791 grep -v '^ *+' conftest.er1 >conftest.err
15792 rm -f conftest.er1
15793 cat conftest.err >&5
15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); } &&
15796 { ac_try='test -z "$ac_c_werror_flag"
15797 || test ! -s conftest.err'
15798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15799 (eval $ac_try) 2>&5
15800 ac_status=$?
15801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15802 (exit $ac_status); }; } &&
15803 { ac_try='test -s conftest$ac_exeext'
15804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15805 (eval $ac_try) 2>&5
15806 ac_status=$?
15807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15808 (exit $ac_status); }; }; then
15809 eval "$as_ac_var=yes"
15810 else
15811 echo "$as_me: failed program was:" >&5
15812 sed 's/^/| /' conftest.$ac_ext >&5
15814 eval "$as_ac_var=no"
15816 rm -f conftest.err conftest.$ac_objext \
15817 conftest$ac_exeext conftest.$ac_ext
15819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15821 if test `eval echo '${'$as_ac_var'}'` = yes; then
15822 cat >>confdefs.h <<_ACEOF
15823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15824 _ACEOF
15827 done
15834 echo "$as_me:$LINENO: checking for modff declaration" >&5
15835 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
15836 if test x${glibcxx_cv_func_modff_use+set} != xset; then
15837 if test "${glibcxx_cv_func_modff_use+set}" = set; then
15838 echo $ECHO_N "(cached) $ECHO_C" >&6
15839 else
15843 ac_ext=cc
15844 ac_cpp='$CXXCPP $CPPFLAGS'
15845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15849 cat >conftest.$ac_ext <<_ACEOF
15850 /* confdefs.h. */
15851 _ACEOF
15852 cat confdefs.h >>conftest.$ac_ext
15853 cat >>conftest.$ac_ext <<_ACEOF
15854 /* end confdefs.h. */
15855 #include <math.h>
15857 main ()
15859 modff(0, 0);
15861 return 0;
15863 _ACEOF
15864 rm -f conftest.$ac_objext
15865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15866 (eval $ac_compile) 2>conftest.er1
15867 ac_status=$?
15868 grep -v '^ *+' conftest.er1 >conftest.err
15869 rm -f conftest.er1
15870 cat conftest.err >&5
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); } &&
15873 { ac_try='test -z "$ac_cxx_werror_flag"
15874 || test ! -s conftest.err'
15875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15876 (eval $ac_try) 2>&5
15877 ac_status=$?
15878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15879 (exit $ac_status); }; } &&
15880 { ac_try='test -s conftest.$ac_objext'
15881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15882 (eval $ac_try) 2>&5
15883 ac_status=$?
15884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15885 (exit $ac_status); }; }; then
15886 glibcxx_cv_func_modff_use=yes
15887 else
15888 echo "$as_me: failed program was:" >&5
15889 sed 's/^/| /' conftest.$ac_ext >&5
15891 glibcxx_cv_func_modff_use=no
15893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15894 ac_ext=c
15895 ac_cpp='$CPP $CPPFLAGS'
15896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15904 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
15905 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
15907 if test x$glibcxx_cv_func_modff_use = x"yes"; then
15909 for ac_func in modff
15911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15912 echo "$as_me:$LINENO: checking for $ac_func" >&5
15913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15914 if eval "test \"\${$as_ac_var+set}\" = set"; then
15915 echo $ECHO_N "(cached) $ECHO_C" >&6
15916 else
15917 if test x$gcc_no_link = xyes; then
15918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15920 { (exit 1); exit 1; }; }
15922 cat >conftest.$ac_ext <<_ACEOF
15923 /* confdefs.h. */
15924 _ACEOF
15925 cat confdefs.h >>conftest.$ac_ext
15926 cat >>conftest.$ac_ext <<_ACEOF
15927 /* end confdefs.h. */
15928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15930 #define $ac_func innocuous_$ac_func
15932 /* System header to define __stub macros and hopefully few prototypes,
15933 which can conflict with char $ac_func (); below.
15934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15935 <limits.h> exists even on freestanding compilers. */
15937 #ifdef __STDC__
15938 # include <limits.h>
15939 #else
15940 # include <assert.h>
15941 #endif
15943 #undef $ac_func
15945 /* Override any gcc2 internal prototype to avoid an error. */
15946 #ifdef __cplusplus
15947 extern "C"
15949 #endif
15950 /* We use char because int might match the return type of a gcc2
15951 builtin and then its argument prototype would still apply. */
15952 char $ac_func ();
15953 /* The GNU C library defines this for functions which it implements
15954 to always fail with ENOSYS. Some functions are actually named
15955 something starting with __ and the normal name is an alias. */
15956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15957 choke me
15958 #else
15959 char (*f) () = $ac_func;
15960 #endif
15961 #ifdef __cplusplus
15963 #endif
15966 main ()
15968 return f != $ac_func;
15970 return 0;
15972 _ACEOF
15973 rm -f conftest.$ac_objext conftest$ac_exeext
15974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15975 (eval $ac_link) 2>conftest.er1
15976 ac_status=$?
15977 grep -v '^ *+' conftest.er1 >conftest.err
15978 rm -f conftest.er1
15979 cat conftest.err >&5
15980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15981 (exit $ac_status); } &&
15982 { ac_try='test -z "$ac_c_werror_flag"
15983 || test ! -s conftest.err'
15984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15985 (eval $ac_try) 2>&5
15986 ac_status=$?
15987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988 (exit $ac_status); }; } &&
15989 { ac_try='test -s conftest$ac_exeext'
15990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15991 (eval $ac_try) 2>&5
15992 ac_status=$?
15993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15994 (exit $ac_status); }; }; then
15995 eval "$as_ac_var=yes"
15996 else
15997 echo "$as_me: failed program was:" >&5
15998 sed 's/^/| /' conftest.$ac_ext >&5
16000 eval "$as_ac_var=no"
16002 rm -f conftest.err conftest.$ac_objext \
16003 conftest$ac_exeext conftest.$ac_ext
16005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16007 if test `eval echo '${'$as_ac_var'}'` = yes; then
16008 cat >>confdefs.h <<_ACEOF
16009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16010 _ACEOF
16013 done
16015 else
16017 echo "$as_me:$LINENO: checking for _modff declaration" >&5
16018 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16019 if test x${glibcxx_cv_func__modff_use+set} != xset; then
16020 if test "${glibcxx_cv_func__modff_use+set}" = set; then
16021 echo $ECHO_N "(cached) $ECHO_C" >&6
16022 else
16026 ac_ext=cc
16027 ac_cpp='$CXXCPP $CPPFLAGS'
16028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16032 cat >conftest.$ac_ext <<_ACEOF
16033 /* confdefs.h. */
16034 _ACEOF
16035 cat confdefs.h >>conftest.$ac_ext
16036 cat >>conftest.$ac_ext <<_ACEOF
16037 /* end confdefs.h. */
16038 #include <math.h>
16040 main ()
16042 _modff(0, 0);
16044 return 0;
16046 _ACEOF
16047 rm -f conftest.$ac_objext
16048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16049 (eval $ac_compile) 2>conftest.er1
16050 ac_status=$?
16051 grep -v '^ *+' conftest.er1 >conftest.err
16052 rm -f conftest.er1
16053 cat conftest.err >&5
16054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16055 (exit $ac_status); } &&
16056 { ac_try='test -z "$ac_cxx_werror_flag"
16057 || test ! -s conftest.err'
16058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16059 (eval $ac_try) 2>&5
16060 ac_status=$?
16061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16062 (exit $ac_status); }; } &&
16063 { ac_try='test -s conftest.$ac_objext'
16064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16065 (eval $ac_try) 2>&5
16066 ac_status=$?
16067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16068 (exit $ac_status); }; }; then
16069 glibcxx_cv_func__modff_use=yes
16070 else
16071 echo "$as_me: failed program was:" >&5
16072 sed 's/^/| /' conftest.$ac_ext >&5
16074 glibcxx_cv_func__modff_use=no
16076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16077 ac_ext=c
16078 ac_cpp='$CPP $CPPFLAGS'
16079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16087 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16088 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16090 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16092 for ac_func in _modff
16094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16095 echo "$as_me:$LINENO: checking for $ac_func" >&5
16096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16097 if eval "test \"\${$as_ac_var+set}\" = set"; then
16098 echo $ECHO_N "(cached) $ECHO_C" >&6
16099 else
16100 if test x$gcc_no_link = xyes; then
16101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16103 { (exit 1); exit 1; }; }
16105 cat >conftest.$ac_ext <<_ACEOF
16106 /* confdefs.h. */
16107 _ACEOF
16108 cat confdefs.h >>conftest.$ac_ext
16109 cat >>conftest.$ac_ext <<_ACEOF
16110 /* end confdefs.h. */
16111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16113 #define $ac_func innocuous_$ac_func
16115 /* System header to define __stub macros and hopefully few prototypes,
16116 which can conflict with char $ac_func (); below.
16117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16118 <limits.h> exists even on freestanding compilers. */
16120 #ifdef __STDC__
16121 # include <limits.h>
16122 #else
16123 # include <assert.h>
16124 #endif
16126 #undef $ac_func
16128 /* Override any gcc2 internal prototype to avoid an error. */
16129 #ifdef __cplusplus
16130 extern "C"
16132 #endif
16133 /* We use char because int might match the return type of a gcc2
16134 builtin and then its argument prototype would still apply. */
16135 char $ac_func ();
16136 /* The GNU C library defines this for functions which it implements
16137 to always fail with ENOSYS. Some functions are actually named
16138 something starting with __ and the normal name is an alias. */
16139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16140 choke me
16141 #else
16142 char (*f) () = $ac_func;
16143 #endif
16144 #ifdef __cplusplus
16146 #endif
16149 main ()
16151 return f != $ac_func;
16153 return 0;
16155 _ACEOF
16156 rm -f conftest.$ac_objext conftest$ac_exeext
16157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16158 (eval $ac_link) 2>conftest.er1
16159 ac_status=$?
16160 grep -v '^ *+' conftest.er1 >conftest.err
16161 rm -f conftest.er1
16162 cat conftest.err >&5
16163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16164 (exit $ac_status); } &&
16165 { ac_try='test -z "$ac_c_werror_flag"
16166 || test ! -s conftest.err'
16167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16168 (eval $ac_try) 2>&5
16169 ac_status=$?
16170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16171 (exit $ac_status); }; } &&
16172 { ac_try='test -s conftest$ac_exeext'
16173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16174 (eval $ac_try) 2>&5
16175 ac_status=$?
16176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16177 (exit $ac_status); }; }; then
16178 eval "$as_ac_var=yes"
16179 else
16180 echo "$as_me: failed program was:" >&5
16181 sed 's/^/| /' conftest.$ac_ext >&5
16183 eval "$as_ac_var=no"
16185 rm -f conftest.err conftest.$ac_objext \
16186 conftest$ac_exeext conftest.$ac_ext
16188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16190 if test `eval echo '${'$as_ac_var'}'` = yes; then
16191 cat >>confdefs.h <<_ACEOF
16192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16193 _ACEOF
16196 done
16203 echo "$as_me:$LINENO: checking for powf declaration" >&5
16204 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
16205 if test x${glibcxx_cv_func_powf_use+set} != xset; then
16206 if test "${glibcxx_cv_func_powf_use+set}" = set; then
16207 echo $ECHO_N "(cached) $ECHO_C" >&6
16208 else
16212 ac_ext=cc
16213 ac_cpp='$CXXCPP $CPPFLAGS'
16214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16218 cat >conftest.$ac_ext <<_ACEOF
16219 /* confdefs.h. */
16220 _ACEOF
16221 cat confdefs.h >>conftest.$ac_ext
16222 cat >>conftest.$ac_ext <<_ACEOF
16223 /* end confdefs.h. */
16224 #include <math.h>
16226 main ()
16228 powf(0, 0);
16230 return 0;
16232 _ACEOF
16233 rm -f conftest.$ac_objext
16234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16235 (eval $ac_compile) 2>conftest.er1
16236 ac_status=$?
16237 grep -v '^ *+' conftest.er1 >conftest.err
16238 rm -f conftest.er1
16239 cat conftest.err >&5
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); } &&
16242 { ac_try='test -z "$ac_cxx_werror_flag"
16243 || test ! -s conftest.err'
16244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16245 (eval $ac_try) 2>&5
16246 ac_status=$?
16247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16248 (exit $ac_status); }; } &&
16249 { ac_try='test -s conftest.$ac_objext'
16250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16251 (eval $ac_try) 2>&5
16252 ac_status=$?
16253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254 (exit $ac_status); }; }; then
16255 glibcxx_cv_func_powf_use=yes
16256 else
16257 echo "$as_me: failed program was:" >&5
16258 sed 's/^/| /' conftest.$ac_ext >&5
16260 glibcxx_cv_func_powf_use=no
16262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16263 ac_ext=c
16264 ac_cpp='$CPP $CPPFLAGS'
16265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16273 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
16274 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
16276 if test x$glibcxx_cv_func_powf_use = x"yes"; then
16278 for ac_func in powf
16280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16281 echo "$as_me:$LINENO: checking for $ac_func" >&5
16282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16283 if eval "test \"\${$as_ac_var+set}\" = set"; then
16284 echo $ECHO_N "(cached) $ECHO_C" >&6
16285 else
16286 if test x$gcc_no_link = xyes; then
16287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16289 { (exit 1); exit 1; }; }
16291 cat >conftest.$ac_ext <<_ACEOF
16292 /* confdefs.h. */
16293 _ACEOF
16294 cat confdefs.h >>conftest.$ac_ext
16295 cat >>conftest.$ac_ext <<_ACEOF
16296 /* end confdefs.h. */
16297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16299 #define $ac_func innocuous_$ac_func
16301 /* System header to define __stub macros and hopefully few prototypes,
16302 which can conflict with char $ac_func (); below.
16303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16304 <limits.h> exists even on freestanding compilers. */
16306 #ifdef __STDC__
16307 # include <limits.h>
16308 #else
16309 # include <assert.h>
16310 #endif
16312 #undef $ac_func
16314 /* Override any gcc2 internal prototype to avoid an error. */
16315 #ifdef __cplusplus
16316 extern "C"
16318 #endif
16319 /* We use char because int might match the return type of a gcc2
16320 builtin and then its argument prototype would still apply. */
16321 char $ac_func ();
16322 /* The GNU C library defines this for functions which it implements
16323 to always fail with ENOSYS. Some functions are actually named
16324 something starting with __ and the normal name is an alias. */
16325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16326 choke me
16327 #else
16328 char (*f) () = $ac_func;
16329 #endif
16330 #ifdef __cplusplus
16332 #endif
16335 main ()
16337 return f != $ac_func;
16339 return 0;
16341 _ACEOF
16342 rm -f conftest.$ac_objext conftest$ac_exeext
16343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16344 (eval $ac_link) 2>conftest.er1
16345 ac_status=$?
16346 grep -v '^ *+' conftest.er1 >conftest.err
16347 rm -f conftest.er1
16348 cat conftest.err >&5
16349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350 (exit $ac_status); } &&
16351 { ac_try='test -z "$ac_c_werror_flag"
16352 || test ! -s conftest.err'
16353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16354 (eval $ac_try) 2>&5
16355 ac_status=$?
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); }; } &&
16358 { ac_try='test -s conftest$ac_exeext'
16359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16360 (eval $ac_try) 2>&5
16361 ac_status=$?
16362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363 (exit $ac_status); }; }; then
16364 eval "$as_ac_var=yes"
16365 else
16366 echo "$as_me: failed program was:" >&5
16367 sed 's/^/| /' conftest.$ac_ext >&5
16369 eval "$as_ac_var=no"
16371 rm -f conftest.err conftest.$ac_objext \
16372 conftest$ac_exeext conftest.$ac_ext
16374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16376 if test `eval echo '${'$as_ac_var'}'` = yes; then
16377 cat >>confdefs.h <<_ACEOF
16378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16379 _ACEOF
16382 done
16384 else
16386 echo "$as_me:$LINENO: checking for _powf declaration" >&5
16387 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
16388 if test x${glibcxx_cv_func__powf_use+set} != xset; then
16389 if test "${glibcxx_cv_func__powf_use+set}" = set; then
16390 echo $ECHO_N "(cached) $ECHO_C" >&6
16391 else
16395 ac_ext=cc
16396 ac_cpp='$CXXCPP $CPPFLAGS'
16397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16401 cat >conftest.$ac_ext <<_ACEOF
16402 /* confdefs.h. */
16403 _ACEOF
16404 cat confdefs.h >>conftest.$ac_ext
16405 cat >>conftest.$ac_ext <<_ACEOF
16406 /* end confdefs.h. */
16407 #include <math.h>
16409 main ()
16411 _powf(0, 0);
16413 return 0;
16415 _ACEOF
16416 rm -f conftest.$ac_objext
16417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16418 (eval $ac_compile) 2>conftest.er1
16419 ac_status=$?
16420 grep -v '^ *+' conftest.er1 >conftest.err
16421 rm -f conftest.er1
16422 cat conftest.err >&5
16423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424 (exit $ac_status); } &&
16425 { ac_try='test -z "$ac_cxx_werror_flag"
16426 || test ! -s conftest.err'
16427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16428 (eval $ac_try) 2>&5
16429 ac_status=$?
16430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16431 (exit $ac_status); }; } &&
16432 { ac_try='test -s conftest.$ac_objext'
16433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16434 (eval $ac_try) 2>&5
16435 ac_status=$?
16436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16437 (exit $ac_status); }; }; then
16438 glibcxx_cv_func__powf_use=yes
16439 else
16440 echo "$as_me: failed program was:" >&5
16441 sed 's/^/| /' conftest.$ac_ext >&5
16443 glibcxx_cv_func__powf_use=no
16445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16446 ac_ext=c
16447 ac_cpp='$CPP $CPPFLAGS'
16448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16456 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
16457 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
16459 if test x$glibcxx_cv_func__powf_use = x"yes"; then
16461 for ac_func in _powf
16463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16464 echo "$as_me:$LINENO: checking for $ac_func" >&5
16465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16466 if eval "test \"\${$as_ac_var+set}\" = set"; then
16467 echo $ECHO_N "(cached) $ECHO_C" >&6
16468 else
16469 if test x$gcc_no_link = xyes; then
16470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16472 { (exit 1); exit 1; }; }
16474 cat >conftest.$ac_ext <<_ACEOF
16475 /* confdefs.h. */
16476 _ACEOF
16477 cat confdefs.h >>conftest.$ac_ext
16478 cat >>conftest.$ac_ext <<_ACEOF
16479 /* end confdefs.h. */
16480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16482 #define $ac_func innocuous_$ac_func
16484 /* System header to define __stub macros and hopefully few prototypes,
16485 which can conflict with char $ac_func (); below.
16486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16487 <limits.h> exists even on freestanding compilers. */
16489 #ifdef __STDC__
16490 # include <limits.h>
16491 #else
16492 # include <assert.h>
16493 #endif
16495 #undef $ac_func
16497 /* Override any gcc2 internal prototype to avoid an error. */
16498 #ifdef __cplusplus
16499 extern "C"
16501 #endif
16502 /* We use char because int might match the return type of a gcc2
16503 builtin and then its argument prototype would still apply. */
16504 char $ac_func ();
16505 /* The GNU C library defines this for functions which it implements
16506 to always fail with ENOSYS. Some functions are actually named
16507 something starting with __ and the normal name is an alias. */
16508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16509 choke me
16510 #else
16511 char (*f) () = $ac_func;
16512 #endif
16513 #ifdef __cplusplus
16515 #endif
16518 main ()
16520 return f != $ac_func;
16522 return 0;
16524 _ACEOF
16525 rm -f conftest.$ac_objext conftest$ac_exeext
16526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16527 (eval $ac_link) 2>conftest.er1
16528 ac_status=$?
16529 grep -v '^ *+' conftest.er1 >conftest.err
16530 rm -f conftest.er1
16531 cat conftest.err >&5
16532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16533 (exit $ac_status); } &&
16534 { ac_try='test -z "$ac_c_werror_flag"
16535 || test ! -s conftest.err'
16536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16537 (eval $ac_try) 2>&5
16538 ac_status=$?
16539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540 (exit $ac_status); }; } &&
16541 { ac_try='test -s conftest$ac_exeext'
16542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16543 (eval $ac_try) 2>&5
16544 ac_status=$?
16545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16546 (exit $ac_status); }; }; then
16547 eval "$as_ac_var=yes"
16548 else
16549 echo "$as_me: failed program was:" >&5
16550 sed 's/^/| /' conftest.$ac_ext >&5
16552 eval "$as_ac_var=no"
16554 rm -f conftest.err conftest.$ac_objext \
16555 conftest$ac_exeext conftest.$ac_ext
16557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16559 if test `eval echo '${'$as_ac_var'}'` = yes; then
16560 cat >>confdefs.h <<_ACEOF
16561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16562 _ACEOF
16565 done
16572 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
16573 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
16574 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
16575 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
16576 echo $ECHO_N "(cached) $ECHO_C" >&6
16577 else
16581 ac_ext=cc
16582 ac_cpp='$CXXCPP $CPPFLAGS'
16583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16587 cat >conftest.$ac_ext <<_ACEOF
16588 /* confdefs.h. */
16589 _ACEOF
16590 cat confdefs.h >>conftest.$ac_ext
16591 cat >>conftest.$ac_ext <<_ACEOF
16592 /* end confdefs.h. */
16593 #include <math.h>
16594 #ifdef HAVE_IEEEFP_H
16595 #include <ieeefp.h>
16596 #endif
16599 main ()
16601 sqrtf(0);
16603 return 0;
16605 _ACEOF
16606 rm -f conftest.$ac_objext
16607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16608 (eval $ac_compile) 2>conftest.er1
16609 ac_status=$?
16610 grep -v '^ *+' conftest.er1 >conftest.err
16611 rm -f conftest.er1
16612 cat conftest.err >&5
16613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614 (exit $ac_status); } &&
16615 { ac_try='test -z "$ac_cxx_werror_flag"
16616 || test ! -s conftest.err'
16617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16618 (eval $ac_try) 2>&5
16619 ac_status=$?
16620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621 (exit $ac_status); }; } &&
16622 { ac_try='test -s conftest.$ac_objext'
16623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16624 (eval $ac_try) 2>&5
16625 ac_status=$?
16626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16627 (exit $ac_status); }; }; then
16628 glibcxx_cv_func_sqrtf_use=yes
16629 else
16630 echo "$as_me: failed program was:" >&5
16631 sed 's/^/| /' conftest.$ac_ext >&5
16633 glibcxx_cv_func_sqrtf_use=no
16635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16636 ac_ext=c
16637 ac_cpp='$CPP $CPPFLAGS'
16638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16646 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
16647 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
16649 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
16651 for ac_func in sqrtf
16653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16654 echo "$as_me:$LINENO: checking for $ac_func" >&5
16655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16656 if eval "test \"\${$as_ac_var+set}\" = set"; then
16657 echo $ECHO_N "(cached) $ECHO_C" >&6
16658 else
16659 if test x$gcc_no_link = xyes; then
16660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16662 { (exit 1); exit 1; }; }
16664 cat >conftest.$ac_ext <<_ACEOF
16665 /* confdefs.h. */
16666 _ACEOF
16667 cat confdefs.h >>conftest.$ac_ext
16668 cat >>conftest.$ac_ext <<_ACEOF
16669 /* end confdefs.h. */
16670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16672 #define $ac_func innocuous_$ac_func
16674 /* System header to define __stub macros and hopefully few prototypes,
16675 which can conflict with char $ac_func (); below.
16676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16677 <limits.h> exists even on freestanding compilers. */
16679 #ifdef __STDC__
16680 # include <limits.h>
16681 #else
16682 # include <assert.h>
16683 #endif
16685 #undef $ac_func
16687 /* Override any gcc2 internal prototype to avoid an error. */
16688 #ifdef __cplusplus
16689 extern "C"
16691 #endif
16692 /* We use char because int might match the return type of a gcc2
16693 builtin and then its argument prototype would still apply. */
16694 char $ac_func ();
16695 /* The GNU C library defines this for functions which it implements
16696 to always fail with ENOSYS. Some functions are actually named
16697 something starting with __ and the normal name is an alias. */
16698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16699 choke me
16700 #else
16701 char (*f) () = $ac_func;
16702 #endif
16703 #ifdef __cplusplus
16705 #endif
16708 main ()
16710 return f != $ac_func;
16712 return 0;
16714 _ACEOF
16715 rm -f conftest.$ac_objext conftest$ac_exeext
16716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16717 (eval $ac_link) 2>conftest.er1
16718 ac_status=$?
16719 grep -v '^ *+' conftest.er1 >conftest.err
16720 rm -f conftest.er1
16721 cat conftest.err >&5
16722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723 (exit $ac_status); } &&
16724 { ac_try='test -z "$ac_c_werror_flag"
16725 || test ! -s conftest.err'
16726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16727 (eval $ac_try) 2>&5
16728 ac_status=$?
16729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16730 (exit $ac_status); }; } &&
16731 { ac_try='test -s conftest$ac_exeext'
16732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16733 (eval $ac_try) 2>&5
16734 ac_status=$?
16735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16736 (exit $ac_status); }; }; then
16737 eval "$as_ac_var=yes"
16738 else
16739 echo "$as_me: failed program was:" >&5
16740 sed 's/^/| /' conftest.$ac_ext >&5
16742 eval "$as_ac_var=no"
16744 rm -f conftest.err conftest.$ac_objext \
16745 conftest$ac_exeext conftest.$ac_ext
16747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16749 if test `eval echo '${'$as_ac_var'}'` = yes; then
16750 cat >>confdefs.h <<_ACEOF
16751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16752 _ACEOF
16755 done
16757 else
16759 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
16760 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
16761 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
16762 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
16763 echo $ECHO_N "(cached) $ECHO_C" >&6
16764 else
16768 ac_ext=cc
16769 ac_cpp='$CXXCPP $CPPFLAGS'
16770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16774 cat >conftest.$ac_ext <<_ACEOF
16775 /* confdefs.h. */
16776 _ACEOF
16777 cat confdefs.h >>conftest.$ac_ext
16778 cat >>conftest.$ac_ext <<_ACEOF
16779 /* end confdefs.h. */
16780 #include <math.h>
16781 #ifdef HAVE_IEEEFP_H
16782 #include <ieeefp.h>
16783 #endif
16786 main ()
16788 _sqrtf(0);
16790 return 0;
16792 _ACEOF
16793 rm -f conftest.$ac_objext
16794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16795 (eval $ac_compile) 2>conftest.er1
16796 ac_status=$?
16797 grep -v '^ *+' conftest.er1 >conftest.err
16798 rm -f conftest.er1
16799 cat conftest.err >&5
16800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16801 (exit $ac_status); } &&
16802 { ac_try='test -z "$ac_cxx_werror_flag"
16803 || test ! -s conftest.err'
16804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16805 (eval $ac_try) 2>&5
16806 ac_status=$?
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); }; } &&
16809 { ac_try='test -s conftest.$ac_objext'
16810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16811 (eval $ac_try) 2>&5
16812 ac_status=$?
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); }; }; then
16815 glibcxx_cv_func__sqrtf_use=yes
16816 else
16817 echo "$as_me: failed program was:" >&5
16818 sed 's/^/| /' conftest.$ac_ext >&5
16820 glibcxx_cv_func__sqrtf_use=no
16822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16823 ac_ext=c
16824 ac_cpp='$CPP $CPPFLAGS'
16825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16833 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
16834 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
16836 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
16838 for ac_func in _sqrtf
16840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16841 echo "$as_me:$LINENO: checking for $ac_func" >&5
16842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16843 if eval "test \"\${$as_ac_var+set}\" = set"; then
16844 echo $ECHO_N "(cached) $ECHO_C" >&6
16845 else
16846 if test x$gcc_no_link = xyes; then
16847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16849 { (exit 1); exit 1; }; }
16851 cat >conftest.$ac_ext <<_ACEOF
16852 /* confdefs.h. */
16853 _ACEOF
16854 cat confdefs.h >>conftest.$ac_ext
16855 cat >>conftest.$ac_ext <<_ACEOF
16856 /* end confdefs.h. */
16857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16859 #define $ac_func innocuous_$ac_func
16861 /* System header to define __stub macros and hopefully few prototypes,
16862 which can conflict with char $ac_func (); below.
16863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16864 <limits.h> exists even on freestanding compilers. */
16866 #ifdef __STDC__
16867 # include <limits.h>
16868 #else
16869 # include <assert.h>
16870 #endif
16872 #undef $ac_func
16874 /* Override any gcc2 internal prototype to avoid an error. */
16875 #ifdef __cplusplus
16876 extern "C"
16878 #endif
16879 /* We use char because int might match the return type of a gcc2
16880 builtin and then its argument prototype would still apply. */
16881 char $ac_func ();
16882 /* The GNU C library defines this for functions which it implements
16883 to always fail with ENOSYS. Some functions are actually named
16884 something starting with __ and the normal name is an alias. */
16885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16886 choke me
16887 #else
16888 char (*f) () = $ac_func;
16889 #endif
16890 #ifdef __cplusplus
16892 #endif
16895 main ()
16897 return f != $ac_func;
16899 return 0;
16901 _ACEOF
16902 rm -f conftest.$ac_objext conftest$ac_exeext
16903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16904 (eval $ac_link) 2>conftest.er1
16905 ac_status=$?
16906 grep -v '^ *+' conftest.er1 >conftest.err
16907 rm -f conftest.er1
16908 cat conftest.err >&5
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); } &&
16911 { ac_try='test -z "$ac_c_werror_flag"
16912 || test ! -s conftest.err'
16913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16914 (eval $ac_try) 2>&5
16915 ac_status=$?
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); }; } &&
16918 { ac_try='test -s conftest$ac_exeext'
16919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16920 (eval $ac_try) 2>&5
16921 ac_status=$?
16922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16923 (exit $ac_status); }; }; then
16924 eval "$as_ac_var=yes"
16925 else
16926 echo "$as_me: failed program was:" >&5
16927 sed 's/^/| /' conftest.$ac_ext >&5
16929 eval "$as_ac_var=no"
16931 rm -f conftest.err conftest.$ac_objext \
16932 conftest$ac_exeext conftest.$ac_ext
16934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16936 if test `eval echo '${'$as_ac_var'}'` = yes; then
16937 cat >>confdefs.h <<_ACEOF
16938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16939 _ACEOF
16942 done
16949 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
16950 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
16951 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
16952 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
16953 echo $ECHO_N "(cached) $ECHO_C" >&6
16954 else
16958 ac_ext=cc
16959 ac_cpp='$CXXCPP $CPPFLAGS'
16960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16964 cat >conftest.$ac_ext <<_ACEOF
16965 /* confdefs.h. */
16966 _ACEOF
16967 cat confdefs.h >>conftest.$ac_ext
16968 cat >>conftest.$ac_ext <<_ACEOF
16969 /* end confdefs.h. */
16970 #include <math.h>
16972 main ()
16974 sincosf(0, 0, 0);
16976 return 0;
16978 _ACEOF
16979 rm -f conftest.$ac_objext
16980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16981 (eval $ac_compile) 2>conftest.er1
16982 ac_status=$?
16983 grep -v '^ *+' conftest.er1 >conftest.err
16984 rm -f conftest.er1
16985 cat conftest.err >&5
16986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16987 (exit $ac_status); } &&
16988 { ac_try='test -z "$ac_cxx_werror_flag"
16989 || test ! -s conftest.err'
16990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16991 (eval $ac_try) 2>&5
16992 ac_status=$?
16993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16994 (exit $ac_status); }; } &&
16995 { ac_try='test -s conftest.$ac_objext'
16996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16997 (eval $ac_try) 2>&5
16998 ac_status=$?
16999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000 (exit $ac_status); }; }; then
17001 glibcxx_cv_func_sincosf_use=yes
17002 else
17003 echo "$as_me: failed program was:" >&5
17004 sed 's/^/| /' conftest.$ac_ext >&5
17006 glibcxx_cv_func_sincosf_use=no
17008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17009 ac_ext=c
17010 ac_cpp='$CPP $CPPFLAGS'
17011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17019 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
17020 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17022 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17024 for ac_func in sincosf
17026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17027 echo "$as_me:$LINENO: checking for $ac_func" >&5
17028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17029 if eval "test \"\${$as_ac_var+set}\" = set"; then
17030 echo $ECHO_N "(cached) $ECHO_C" >&6
17031 else
17032 if test x$gcc_no_link = xyes; then
17033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17035 { (exit 1); exit 1; }; }
17037 cat >conftest.$ac_ext <<_ACEOF
17038 /* confdefs.h. */
17039 _ACEOF
17040 cat confdefs.h >>conftest.$ac_ext
17041 cat >>conftest.$ac_ext <<_ACEOF
17042 /* end confdefs.h. */
17043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17045 #define $ac_func innocuous_$ac_func
17047 /* System header to define __stub macros and hopefully few prototypes,
17048 which can conflict with char $ac_func (); below.
17049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17050 <limits.h> exists even on freestanding compilers. */
17052 #ifdef __STDC__
17053 # include <limits.h>
17054 #else
17055 # include <assert.h>
17056 #endif
17058 #undef $ac_func
17060 /* Override any gcc2 internal prototype to avoid an error. */
17061 #ifdef __cplusplus
17062 extern "C"
17064 #endif
17065 /* We use char because int might match the return type of a gcc2
17066 builtin and then its argument prototype would still apply. */
17067 char $ac_func ();
17068 /* The GNU C library defines this for functions which it implements
17069 to always fail with ENOSYS. Some functions are actually named
17070 something starting with __ and the normal name is an alias. */
17071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17072 choke me
17073 #else
17074 char (*f) () = $ac_func;
17075 #endif
17076 #ifdef __cplusplus
17078 #endif
17081 main ()
17083 return f != $ac_func;
17085 return 0;
17087 _ACEOF
17088 rm -f conftest.$ac_objext conftest$ac_exeext
17089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17090 (eval $ac_link) 2>conftest.er1
17091 ac_status=$?
17092 grep -v '^ *+' conftest.er1 >conftest.err
17093 rm -f conftest.er1
17094 cat conftest.err >&5
17095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17096 (exit $ac_status); } &&
17097 { ac_try='test -z "$ac_c_werror_flag"
17098 || test ! -s conftest.err'
17099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17100 (eval $ac_try) 2>&5
17101 ac_status=$?
17102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103 (exit $ac_status); }; } &&
17104 { ac_try='test -s conftest$ac_exeext'
17105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17106 (eval $ac_try) 2>&5
17107 ac_status=$?
17108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17109 (exit $ac_status); }; }; then
17110 eval "$as_ac_var=yes"
17111 else
17112 echo "$as_me: failed program was:" >&5
17113 sed 's/^/| /' conftest.$ac_ext >&5
17115 eval "$as_ac_var=no"
17117 rm -f conftest.err conftest.$ac_objext \
17118 conftest$ac_exeext conftest.$ac_ext
17120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17122 if test `eval echo '${'$as_ac_var'}'` = yes; then
17123 cat >>confdefs.h <<_ACEOF
17124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17125 _ACEOF
17128 done
17130 else
17132 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17133 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17134 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17135 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17136 echo $ECHO_N "(cached) $ECHO_C" >&6
17137 else
17141 ac_ext=cc
17142 ac_cpp='$CXXCPP $CPPFLAGS'
17143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17147 cat >conftest.$ac_ext <<_ACEOF
17148 /* confdefs.h. */
17149 _ACEOF
17150 cat confdefs.h >>conftest.$ac_ext
17151 cat >>conftest.$ac_ext <<_ACEOF
17152 /* end confdefs.h. */
17153 #include <math.h>
17155 main ()
17157 _sincosf(0, 0, 0);
17159 return 0;
17161 _ACEOF
17162 rm -f conftest.$ac_objext
17163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17164 (eval $ac_compile) 2>conftest.er1
17165 ac_status=$?
17166 grep -v '^ *+' conftest.er1 >conftest.err
17167 rm -f conftest.er1
17168 cat conftest.err >&5
17169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17170 (exit $ac_status); } &&
17171 { ac_try='test -z "$ac_cxx_werror_flag"
17172 || test ! -s conftest.err'
17173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17174 (eval $ac_try) 2>&5
17175 ac_status=$?
17176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17177 (exit $ac_status); }; } &&
17178 { ac_try='test -s conftest.$ac_objext'
17179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17180 (eval $ac_try) 2>&5
17181 ac_status=$?
17182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17183 (exit $ac_status); }; }; then
17184 glibcxx_cv_func__sincosf_use=yes
17185 else
17186 echo "$as_me: failed program was:" >&5
17187 sed 's/^/| /' conftest.$ac_ext >&5
17189 glibcxx_cv_func__sincosf_use=no
17191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17192 ac_ext=c
17193 ac_cpp='$CPP $CPPFLAGS'
17194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17202 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
17203 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
17205 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
17207 for ac_func in _sincosf
17209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17210 echo "$as_me:$LINENO: checking for $ac_func" >&5
17211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17212 if eval "test \"\${$as_ac_var+set}\" = set"; then
17213 echo $ECHO_N "(cached) $ECHO_C" >&6
17214 else
17215 if test x$gcc_no_link = xyes; then
17216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17218 { (exit 1); exit 1; }; }
17220 cat >conftest.$ac_ext <<_ACEOF
17221 /* confdefs.h. */
17222 _ACEOF
17223 cat confdefs.h >>conftest.$ac_ext
17224 cat >>conftest.$ac_ext <<_ACEOF
17225 /* end confdefs.h. */
17226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17228 #define $ac_func innocuous_$ac_func
17230 /* System header to define __stub macros and hopefully few prototypes,
17231 which can conflict with char $ac_func (); below.
17232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17233 <limits.h> exists even on freestanding compilers. */
17235 #ifdef __STDC__
17236 # include <limits.h>
17237 #else
17238 # include <assert.h>
17239 #endif
17241 #undef $ac_func
17243 /* Override any gcc2 internal prototype to avoid an error. */
17244 #ifdef __cplusplus
17245 extern "C"
17247 #endif
17248 /* We use char because int might match the return type of a gcc2
17249 builtin and then its argument prototype would still apply. */
17250 char $ac_func ();
17251 /* The GNU C library defines this for functions which it implements
17252 to always fail with ENOSYS. Some functions are actually named
17253 something starting with __ and the normal name is an alias. */
17254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17255 choke me
17256 #else
17257 char (*f) () = $ac_func;
17258 #endif
17259 #ifdef __cplusplus
17261 #endif
17264 main ()
17266 return f != $ac_func;
17268 return 0;
17270 _ACEOF
17271 rm -f conftest.$ac_objext conftest$ac_exeext
17272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17273 (eval $ac_link) 2>conftest.er1
17274 ac_status=$?
17275 grep -v '^ *+' conftest.er1 >conftest.err
17276 rm -f conftest.er1
17277 cat conftest.err >&5
17278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17279 (exit $ac_status); } &&
17280 { ac_try='test -z "$ac_c_werror_flag"
17281 || test ! -s conftest.err'
17282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17283 (eval $ac_try) 2>&5
17284 ac_status=$?
17285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17286 (exit $ac_status); }; } &&
17287 { ac_try='test -s conftest$ac_exeext'
17288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17289 (eval $ac_try) 2>&5
17290 ac_status=$?
17291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17292 (exit $ac_status); }; }; then
17293 eval "$as_ac_var=yes"
17294 else
17295 echo "$as_me: failed program was:" >&5
17296 sed 's/^/| /' conftest.$ac_ext >&5
17298 eval "$as_ac_var=no"
17300 rm -f conftest.err conftest.$ac_objext \
17301 conftest$ac_exeext conftest.$ac_ext
17303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17305 if test `eval echo '${'$as_ac_var'}'` = yes; then
17306 cat >>confdefs.h <<_ACEOF
17307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17308 _ACEOF
17311 done
17318 echo "$as_me:$LINENO: checking for finitef declaration" >&5
17319 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
17320 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
17321 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
17322 echo $ECHO_N "(cached) $ECHO_C" >&6
17323 else
17327 ac_ext=cc
17328 ac_cpp='$CXXCPP $CPPFLAGS'
17329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17333 cat >conftest.$ac_ext <<_ACEOF
17334 /* confdefs.h. */
17335 _ACEOF
17336 cat confdefs.h >>conftest.$ac_ext
17337 cat >>conftest.$ac_ext <<_ACEOF
17338 /* end confdefs.h. */
17339 #include <math.h>
17340 #ifdef HAVE_IEEEFP_H
17341 #include <ieeefp.h>
17342 #endif
17345 main ()
17347 finitef(0);
17349 return 0;
17351 _ACEOF
17352 rm -f conftest.$ac_objext
17353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17354 (eval $ac_compile) 2>conftest.er1
17355 ac_status=$?
17356 grep -v '^ *+' conftest.er1 >conftest.err
17357 rm -f conftest.er1
17358 cat conftest.err >&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); } &&
17361 { ac_try='test -z "$ac_cxx_werror_flag"
17362 || test ! -s conftest.err'
17363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17364 (eval $ac_try) 2>&5
17365 ac_status=$?
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); }; } &&
17368 { ac_try='test -s conftest.$ac_objext'
17369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17370 (eval $ac_try) 2>&5
17371 ac_status=$?
17372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373 (exit $ac_status); }; }; then
17374 glibcxx_cv_func_finitef_use=yes
17375 else
17376 echo "$as_me: failed program was:" >&5
17377 sed 's/^/| /' conftest.$ac_ext >&5
17379 glibcxx_cv_func_finitef_use=no
17381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17382 ac_ext=c
17383 ac_cpp='$CPP $CPPFLAGS'
17384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17392 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
17393 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
17395 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
17397 for ac_func in finitef
17399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17400 echo "$as_me:$LINENO: checking for $ac_func" >&5
17401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17402 if eval "test \"\${$as_ac_var+set}\" = set"; then
17403 echo $ECHO_N "(cached) $ECHO_C" >&6
17404 else
17405 if test x$gcc_no_link = xyes; then
17406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17408 { (exit 1); exit 1; }; }
17410 cat >conftest.$ac_ext <<_ACEOF
17411 /* confdefs.h. */
17412 _ACEOF
17413 cat confdefs.h >>conftest.$ac_ext
17414 cat >>conftest.$ac_ext <<_ACEOF
17415 /* end confdefs.h. */
17416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17418 #define $ac_func innocuous_$ac_func
17420 /* System header to define __stub macros and hopefully few prototypes,
17421 which can conflict with char $ac_func (); below.
17422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17423 <limits.h> exists even on freestanding compilers. */
17425 #ifdef __STDC__
17426 # include <limits.h>
17427 #else
17428 # include <assert.h>
17429 #endif
17431 #undef $ac_func
17433 /* Override any gcc2 internal prototype to avoid an error. */
17434 #ifdef __cplusplus
17435 extern "C"
17437 #endif
17438 /* We use char because int might match the return type of a gcc2
17439 builtin and then its argument prototype would still apply. */
17440 char $ac_func ();
17441 /* The GNU C library defines this for functions which it implements
17442 to always fail with ENOSYS. Some functions are actually named
17443 something starting with __ and the normal name is an alias. */
17444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17445 choke me
17446 #else
17447 char (*f) () = $ac_func;
17448 #endif
17449 #ifdef __cplusplus
17451 #endif
17454 main ()
17456 return f != $ac_func;
17458 return 0;
17460 _ACEOF
17461 rm -f conftest.$ac_objext conftest$ac_exeext
17462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17463 (eval $ac_link) 2>conftest.er1
17464 ac_status=$?
17465 grep -v '^ *+' conftest.er1 >conftest.err
17466 rm -f conftest.er1
17467 cat conftest.err >&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); } &&
17470 { ac_try='test -z "$ac_c_werror_flag"
17471 || test ! -s conftest.err'
17472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17473 (eval $ac_try) 2>&5
17474 ac_status=$?
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); }; } &&
17477 { ac_try='test -s conftest$ac_exeext'
17478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17479 (eval $ac_try) 2>&5
17480 ac_status=$?
17481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482 (exit $ac_status); }; }; then
17483 eval "$as_ac_var=yes"
17484 else
17485 echo "$as_me: failed program was:" >&5
17486 sed 's/^/| /' conftest.$ac_ext >&5
17488 eval "$as_ac_var=no"
17490 rm -f conftest.err conftest.$ac_objext \
17491 conftest$ac_exeext conftest.$ac_ext
17493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17495 if test `eval echo '${'$as_ac_var'}'` = yes; then
17496 cat >>confdefs.h <<_ACEOF
17497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17498 _ACEOF
17501 done
17503 else
17505 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
17506 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
17507 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
17508 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
17509 echo $ECHO_N "(cached) $ECHO_C" >&6
17510 else
17514 ac_ext=cc
17515 ac_cpp='$CXXCPP $CPPFLAGS'
17516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17520 cat >conftest.$ac_ext <<_ACEOF
17521 /* confdefs.h. */
17522 _ACEOF
17523 cat confdefs.h >>conftest.$ac_ext
17524 cat >>conftest.$ac_ext <<_ACEOF
17525 /* end confdefs.h. */
17526 #include <math.h>
17527 #ifdef HAVE_IEEEFP_H
17528 #include <ieeefp.h>
17529 #endif
17532 main ()
17534 _finitef(0);
17536 return 0;
17538 _ACEOF
17539 rm -f conftest.$ac_objext
17540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17541 (eval $ac_compile) 2>conftest.er1
17542 ac_status=$?
17543 grep -v '^ *+' conftest.er1 >conftest.err
17544 rm -f conftest.er1
17545 cat conftest.err >&5
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); } &&
17548 { ac_try='test -z "$ac_cxx_werror_flag"
17549 || test ! -s conftest.err'
17550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17551 (eval $ac_try) 2>&5
17552 ac_status=$?
17553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17554 (exit $ac_status); }; } &&
17555 { ac_try='test -s conftest.$ac_objext'
17556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17557 (eval $ac_try) 2>&5
17558 ac_status=$?
17559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560 (exit $ac_status); }; }; then
17561 glibcxx_cv_func__finitef_use=yes
17562 else
17563 echo "$as_me: failed program was:" >&5
17564 sed 's/^/| /' conftest.$ac_ext >&5
17566 glibcxx_cv_func__finitef_use=no
17568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17569 ac_ext=c
17570 ac_cpp='$CPP $CPPFLAGS'
17571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17579 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
17580 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
17582 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
17584 for ac_func in _finitef
17586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17587 echo "$as_me:$LINENO: checking for $ac_func" >&5
17588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17589 if eval "test \"\${$as_ac_var+set}\" = set"; then
17590 echo $ECHO_N "(cached) $ECHO_C" >&6
17591 else
17592 if test x$gcc_no_link = xyes; then
17593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17595 { (exit 1); exit 1; }; }
17597 cat >conftest.$ac_ext <<_ACEOF
17598 /* confdefs.h. */
17599 _ACEOF
17600 cat confdefs.h >>conftest.$ac_ext
17601 cat >>conftest.$ac_ext <<_ACEOF
17602 /* end confdefs.h. */
17603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17605 #define $ac_func innocuous_$ac_func
17607 /* System header to define __stub macros and hopefully few prototypes,
17608 which can conflict with char $ac_func (); below.
17609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17610 <limits.h> exists even on freestanding compilers. */
17612 #ifdef __STDC__
17613 # include <limits.h>
17614 #else
17615 # include <assert.h>
17616 #endif
17618 #undef $ac_func
17620 /* Override any gcc2 internal prototype to avoid an error. */
17621 #ifdef __cplusplus
17622 extern "C"
17624 #endif
17625 /* We use char because int might match the return type of a gcc2
17626 builtin and then its argument prototype would still apply. */
17627 char $ac_func ();
17628 /* The GNU C library defines this for functions which it implements
17629 to always fail with ENOSYS. Some functions are actually named
17630 something starting with __ and the normal name is an alias. */
17631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17632 choke me
17633 #else
17634 char (*f) () = $ac_func;
17635 #endif
17636 #ifdef __cplusplus
17638 #endif
17641 main ()
17643 return f != $ac_func;
17645 return 0;
17647 _ACEOF
17648 rm -f conftest.$ac_objext conftest$ac_exeext
17649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17650 (eval $ac_link) 2>conftest.er1
17651 ac_status=$?
17652 grep -v '^ *+' conftest.er1 >conftest.err
17653 rm -f conftest.er1
17654 cat conftest.err >&5
17655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17656 (exit $ac_status); } &&
17657 { ac_try='test -z "$ac_c_werror_flag"
17658 || test ! -s conftest.err'
17659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17660 (eval $ac_try) 2>&5
17661 ac_status=$?
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; } &&
17664 { ac_try='test -s conftest$ac_exeext'
17665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17666 (eval $ac_try) 2>&5
17667 ac_status=$?
17668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17669 (exit $ac_status); }; }; then
17670 eval "$as_ac_var=yes"
17671 else
17672 echo "$as_me: failed program was:" >&5
17673 sed 's/^/| /' conftest.$ac_ext >&5
17675 eval "$as_ac_var=no"
17677 rm -f conftest.err conftest.$ac_objext \
17678 conftest$ac_exeext conftest.$ac_ext
17680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17682 if test `eval echo '${'$as_ac_var'}'` = yes; then
17683 cat >>confdefs.h <<_ACEOF
17684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17685 _ACEOF
17688 done
17695 echo "$as_me:$LINENO: checking for long double trig functions" >&5
17696 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
17697 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
17698 echo $ECHO_N "(cached) $ECHO_C" >&6
17699 else
17703 ac_ext=cc
17704 ac_cpp='$CXXCPP $CPPFLAGS'
17705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17709 cat >conftest.$ac_ext <<_ACEOF
17710 /* confdefs.h. */
17711 _ACEOF
17712 cat confdefs.h >>conftest.$ac_ext
17713 cat >>conftest.$ac_ext <<_ACEOF
17714 /* end confdefs.h. */
17715 #include <math.h>
17717 main ()
17719 `for x in acosl asinl atanl \
17720 cosl sinl tanl \
17721 coshl sinhl tanhl; do echo "$x (0);"; done`
17723 return 0;
17725 _ACEOF
17726 rm -f conftest.$ac_objext
17727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17728 (eval $ac_compile) 2>conftest.er1
17729 ac_status=$?
17730 grep -v '^ *+' conftest.er1 >conftest.err
17731 rm -f conftest.er1
17732 cat conftest.err >&5
17733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17734 (exit $ac_status); } &&
17735 { ac_try='test -z "$ac_cxx_werror_flag"
17736 || test ! -s conftest.err'
17737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17738 (eval $ac_try) 2>&5
17739 ac_status=$?
17740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17741 (exit $ac_status); }; } &&
17742 { ac_try='test -s conftest.$ac_objext'
17743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17744 (eval $ac_try) 2>&5
17745 ac_status=$?
17746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17747 (exit $ac_status); }; }; then
17748 glibcxx_cv_func_long_double_trig_use=yes
17749 else
17750 echo "$as_me: failed program was:" >&5
17751 sed 's/^/| /' conftest.$ac_ext >&5
17753 glibcxx_cv_func_long_double_trig_use=no
17755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17756 ac_ext=c
17757 ac_cpp='$CPP $CPPFLAGS'
17758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17764 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
17765 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
17766 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
17776 for ac_func in acosl asinl atanl \
17777 cosl sinl tanl \
17778 coshl sinhl tanhl
17780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17781 echo "$as_me:$LINENO: checking for $ac_func" >&5
17782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17783 if eval "test \"\${$as_ac_var+set}\" = set"; then
17784 echo $ECHO_N "(cached) $ECHO_C" >&6
17785 else
17786 if test x$gcc_no_link = xyes; then
17787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17789 { (exit 1); exit 1; }; }
17791 cat >conftest.$ac_ext <<_ACEOF
17792 /* confdefs.h. */
17793 _ACEOF
17794 cat confdefs.h >>conftest.$ac_ext
17795 cat >>conftest.$ac_ext <<_ACEOF
17796 /* end confdefs.h. */
17797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17799 #define $ac_func innocuous_$ac_func
17801 /* System header to define __stub macros and hopefully few prototypes,
17802 which can conflict with char $ac_func (); below.
17803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17804 <limits.h> exists even on freestanding compilers. */
17806 #ifdef __STDC__
17807 # include <limits.h>
17808 #else
17809 # include <assert.h>
17810 #endif
17812 #undef $ac_func
17814 /* Override any gcc2 internal prototype to avoid an error. */
17815 #ifdef __cplusplus
17816 extern "C"
17818 #endif
17819 /* We use char because int might match the return type of a gcc2
17820 builtin and then its argument prototype would still apply. */
17821 char $ac_func ();
17822 /* The GNU C library defines this for functions which it implements
17823 to always fail with ENOSYS. Some functions are actually named
17824 something starting with __ and the normal name is an alias. */
17825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17826 choke me
17827 #else
17828 char (*f) () = $ac_func;
17829 #endif
17830 #ifdef __cplusplus
17832 #endif
17835 main ()
17837 return f != $ac_func;
17839 return 0;
17841 _ACEOF
17842 rm -f conftest.$ac_objext conftest$ac_exeext
17843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17844 (eval $ac_link) 2>conftest.er1
17845 ac_status=$?
17846 grep -v '^ *+' conftest.er1 >conftest.err
17847 rm -f conftest.er1
17848 cat conftest.err >&5
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); } &&
17851 { ac_try='test -z "$ac_c_werror_flag"
17852 || test ! -s conftest.err'
17853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17854 (eval $ac_try) 2>&5
17855 ac_status=$?
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); }; } &&
17858 { ac_try='test -s conftest$ac_exeext'
17859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17860 (eval $ac_try) 2>&5
17861 ac_status=$?
17862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17863 (exit $ac_status); }; }; then
17864 eval "$as_ac_var=yes"
17865 else
17866 echo "$as_me: failed program was:" >&5
17867 sed 's/^/| /' conftest.$ac_ext >&5
17869 eval "$as_ac_var=no"
17871 rm -f conftest.err conftest.$ac_objext \
17872 conftest$ac_exeext conftest.$ac_ext
17874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17876 if test `eval echo '${'$as_ac_var'}'` = yes; then
17877 cat >>confdefs.h <<_ACEOF
17878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17879 _ACEOF
17882 done
17887 echo "$as_me:$LINENO: checking for long double round functions" >&5
17888 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
17889 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
17890 echo $ECHO_N "(cached) $ECHO_C" >&6
17891 else
17895 ac_ext=cc
17896 ac_cpp='$CXXCPP $CPPFLAGS'
17897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17901 cat >conftest.$ac_ext <<_ACEOF
17902 /* confdefs.h. */
17903 _ACEOF
17904 cat confdefs.h >>conftest.$ac_ext
17905 cat >>conftest.$ac_ext <<_ACEOF
17906 /* end confdefs.h. */
17907 #include <math.h>
17909 main ()
17911 `for x in ceill floorl; do echo "$x (0);"; done`
17913 return 0;
17915 _ACEOF
17916 rm -f conftest.$ac_objext
17917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17918 (eval $ac_compile) 2>conftest.er1
17919 ac_status=$?
17920 grep -v '^ *+' conftest.er1 >conftest.err
17921 rm -f conftest.er1
17922 cat conftest.err >&5
17923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17924 (exit $ac_status); } &&
17925 { ac_try='test -z "$ac_cxx_werror_flag"
17926 || test ! -s conftest.err'
17927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17928 (eval $ac_try) 2>&5
17929 ac_status=$?
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); }; } &&
17932 { ac_try='test -s conftest.$ac_objext'
17933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17934 (eval $ac_try) 2>&5
17935 ac_status=$?
17936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937 (exit $ac_status); }; }; then
17938 glibcxx_cv_func_long_double_round_use=yes
17939 else
17940 echo "$as_me: failed program was:" >&5
17941 sed 's/^/| /' conftest.$ac_ext >&5
17943 glibcxx_cv_func_long_double_round_use=no
17945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17946 ac_ext=c
17947 ac_cpp='$CPP $CPPFLAGS'
17948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17954 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
17955 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
17956 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
17959 for ac_func in ceill floorl
17961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17962 echo "$as_me:$LINENO: checking for $ac_func" >&5
17963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17964 if eval "test \"\${$as_ac_var+set}\" = set"; then
17965 echo $ECHO_N "(cached) $ECHO_C" >&6
17966 else
17967 if test x$gcc_no_link = xyes; then
17968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17970 { (exit 1); exit 1; }; }
17972 cat >conftest.$ac_ext <<_ACEOF
17973 /* confdefs.h. */
17974 _ACEOF
17975 cat confdefs.h >>conftest.$ac_ext
17976 cat >>conftest.$ac_ext <<_ACEOF
17977 /* end confdefs.h. */
17978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17980 #define $ac_func innocuous_$ac_func
17982 /* System header to define __stub macros and hopefully few prototypes,
17983 which can conflict with char $ac_func (); below.
17984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17985 <limits.h> exists even on freestanding compilers. */
17987 #ifdef __STDC__
17988 # include <limits.h>
17989 #else
17990 # include <assert.h>
17991 #endif
17993 #undef $ac_func
17995 /* Override any gcc2 internal prototype to avoid an error. */
17996 #ifdef __cplusplus
17997 extern "C"
17999 #endif
18000 /* We use char because int might match the return type of a gcc2
18001 builtin and then its argument prototype would still apply. */
18002 char $ac_func ();
18003 /* The GNU C library defines this for functions which it implements
18004 to always fail with ENOSYS. Some functions are actually named
18005 something starting with __ and the normal name is an alias. */
18006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18007 choke me
18008 #else
18009 char (*f) () = $ac_func;
18010 #endif
18011 #ifdef __cplusplus
18013 #endif
18016 main ()
18018 return f != $ac_func;
18020 return 0;
18022 _ACEOF
18023 rm -f conftest.$ac_objext conftest$ac_exeext
18024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18025 (eval $ac_link) 2>conftest.er1
18026 ac_status=$?
18027 grep -v '^ *+' conftest.er1 >conftest.err
18028 rm -f conftest.er1
18029 cat conftest.err >&5
18030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18031 (exit $ac_status); } &&
18032 { ac_try='test -z "$ac_c_werror_flag"
18033 || test ! -s conftest.err'
18034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18035 (eval $ac_try) 2>&5
18036 ac_status=$?
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); }; } &&
18039 { ac_try='test -s conftest$ac_exeext'
18040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18041 (eval $ac_try) 2>&5
18042 ac_status=$?
18043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18044 (exit $ac_status); }; }; then
18045 eval "$as_ac_var=yes"
18046 else
18047 echo "$as_me: failed program was:" >&5
18048 sed 's/^/| /' conftest.$ac_ext >&5
18050 eval "$as_ac_var=no"
18052 rm -f conftest.err conftest.$ac_objext \
18053 conftest$ac_exeext conftest.$ac_ext
18055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18057 if test `eval echo '${'$as_ac_var'}'` = yes; then
18058 cat >>confdefs.h <<_ACEOF
18059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18060 _ACEOF
18063 done
18069 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
18070 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
18071 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
18072 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
18073 echo $ECHO_N "(cached) $ECHO_C" >&6
18074 else
18078 ac_ext=cc
18079 ac_cpp='$CXXCPP $CPPFLAGS'
18080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18084 cat >conftest.$ac_ext <<_ACEOF
18085 /* confdefs.h. */
18086 _ACEOF
18087 cat confdefs.h >>conftest.$ac_ext
18088 cat >>conftest.$ac_ext <<_ACEOF
18089 /* end confdefs.h. */
18090 #include <math.h>
18091 #ifdef HAVE_IEEEFP_H
18092 #include <ieeefp.h>
18093 #endif
18096 main ()
18098 isnanl(0);
18100 return 0;
18102 _ACEOF
18103 rm -f conftest.$ac_objext
18104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18105 (eval $ac_compile) 2>conftest.er1
18106 ac_status=$?
18107 grep -v '^ *+' conftest.er1 >conftest.err
18108 rm -f conftest.er1
18109 cat conftest.err >&5
18110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18111 (exit $ac_status); } &&
18112 { ac_try='test -z "$ac_cxx_werror_flag"
18113 || test ! -s conftest.err'
18114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18115 (eval $ac_try) 2>&5
18116 ac_status=$?
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); }; } &&
18119 { ac_try='test -s conftest.$ac_objext'
18120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18121 (eval $ac_try) 2>&5
18122 ac_status=$?
18123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124 (exit $ac_status); }; }; then
18125 glibcxx_cv_func_isnanl_use=yes
18126 else
18127 echo "$as_me: failed program was:" >&5
18128 sed 's/^/| /' conftest.$ac_ext >&5
18130 glibcxx_cv_func_isnanl_use=no
18132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18133 ac_ext=c
18134 ac_cpp='$CPP $CPPFLAGS'
18135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18143 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
18144 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
18146 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
18148 for ac_func in isnanl
18150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18151 echo "$as_me:$LINENO: checking for $ac_func" >&5
18152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18153 if eval "test \"\${$as_ac_var+set}\" = set"; then
18154 echo $ECHO_N "(cached) $ECHO_C" >&6
18155 else
18156 if test x$gcc_no_link = xyes; then
18157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18159 { (exit 1); exit 1; }; }
18161 cat >conftest.$ac_ext <<_ACEOF
18162 /* confdefs.h. */
18163 _ACEOF
18164 cat confdefs.h >>conftest.$ac_ext
18165 cat >>conftest.$ac_ext <<_ACEOF
18166 /* end confdefs.h. */
18167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18169 #define $ac_func innocuous_$ac_func
18171 /* System header to define __stub macros and hopefully few prototypes,
18172 which can conflict with char $ac_func (); below.
18173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18174 <limits.h> exists even on freestanding compilers. */
18176 #ifdef __STDC__
18177 # include <limits.h>
18178 #else
18179 # include <assert.h>
18180 #endif
18182 #undef $ac_func
18184 /* Override any gcc2 internal prototype to avoid an error. */
18185 #ifdef __cplusplus
18186 extern "C"
18188 #endif
18189 /* We use char because int might match the return type of a gcc2
18190 builtin and then its argument prototype would still apply. */
18191 char $ac_func ();
18192 /* The GNU C library defines this for functions which it implements
18193 to always fail with ENOSYS. Some functions are actually named
18194 something starting with __ and the normal name is an alias. */
18195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18196 choke me
18197 #else
18198 char (*f) () = $ac_func;
18199 #endif
18200 #ifdef __cplusplus
18202 #endif
18205 main ()
18207 return f != $ac_func;
18209 return 0;
18211 _ACEOF
18212 rm -f conftest.$ac_objext conftest$ac_exeext
18213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18214 (eval $ac_link) 2>conftest.er1
18215 ac_status=$?
18216 grep -v '^ *+' conftest.er1 >conftest.err
18217 rm -f conftest.er1
18218 cat conftest.err >&5
18219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220 (exit $ac_status); } &&
18221 { ac_try='test -z "$ac_c_werror_flag"
18222 || test ! -s conftest.err'
18223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18224 (eval $ac_try) 2>&5
18225 ac_status=$?
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); }; } &&
18228 { ac_try='test -s conftest$ac_exeext'
18229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18230 (eval $ac_try) 2>&5
18231 ac_status=$?
18232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18233 (exit $ac_status); }; }; then
18234 eval "$as_ac_var=yes"
18235 else
18236 echo "$as_me: failed program was:" >&5
18237 sed 's/^/| /' conftest.$ac_ext >&5
18239 eval "$as_ac_var=no"
18241 rm -f conftest.err conftest.$ac_objext \
18242 conftest$ac_exeext conftest.$ac_ext
18244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18246 if test `eval echo '${'$as_ac_var'}'` = yes; then
18247 cat >>confdefs.h <<_ACEOF
18248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18249 _ACEOF
18252 done
18254 else
18256 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
18257 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
18258 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
18259 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
18260 echo $ECHO_N "(cached) $ECHO_C" >&6
18261 else
18265 ac_ext=cc
18266 ac_cpp='$CXXCPP $CPPFLAGS'
18267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18271 cat >conftest.$ac_ext <<_ACEOF
18272 /* confdefs.h. */
18273 _ACEOF
18274 cat confdefs.h >>conftest.$ac_ext
18275 cat >>conftest.$ac_ext <<_ACEOF
18276 /* end confdefs.h. */
18277 #include <math.h>
18278 #ifdef HAVE_IEEEFP_H
18279 #include <ieeefp.h>
18280 #endif
18283 main ()
18285 _isnanl(0);
18287 return 0;
18289 _ACEOF
18290 rm -f conftest.$ac_objext
18291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18292 (eval $ac_compile) 2>conftest.er1
18293 ac_status=$?
18294 grep -v '^ *+' conftest.er1 >conftest.err
18295 rm -f conftest.er1
18296 cat conftest.err >&5
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); } &&
18299 { ac_try='test -z "$ac_cxx_werror_flag"
18300 || test ! -s conftest.err'
18301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18302 (eval $ac_try) 2>&5
18303 ac_status=$?
18304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18305 (exit $ac_status); }; } &&
18306 { ac_try='test -s conftest.$ac_objext'
18307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18308 (eval $ac_try) 2>&5
18309 ac_status=$?
18310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18311 (exit $ac_status); }; }; then
18312 glibcxx_cv_func__isnanl_use=yes
18313 else
18314 echo "$as_me: failed program was:" >&5
18315 sed 's/^/| /' conftest.$ac_ext >&5
18317 glibcxx_cv_func__isnanl_use=no
18319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18320 ac_ext=c
18321 ac_cpp='$CPP $CPPFLAGS'
18322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18330 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
18331 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
18333 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
18335 for ac_func in _isnanl
18337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18338 echo "$as_me:$LINENO: checking for $ac_func" >&5
18339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18340 if eval "test \"\${$as_ac_var+set}\" = set"; then
18341 echo $ECHO_N "(cached) $ECHO_C" >&6
18342 else
18343 if test x$gcc_no_link = xyes; then
18344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18346 { (exit 1); exit 1; }; }
18348 cat >conftest.$ac_ext <<_ACEOF
18349 /* confdefs.h. */
18350 _ACEOF
18351 cat confdefs.h >>conftest.$ac_ext
18352 cat >>conftest.$ac_ext <<_ACEOF
18353 /* end confdefs.h. */
18354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18356 #define $ac_func innocuous_$ac_func
18358 /* System header to define __stub macros and hopefully few prototypes,
18359 which can conflict with char $ac_func (); below.
18360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18361 <limits.h> exists even on freestanding compilers. */
18363 #ifdef __STDC__
18364 # include <limits.h>
18365 #else
18366 # include <assert.h>
18367 #endif
18369 #undef $ac_func
18371 /* Override any gcc2 internal prototype to avoid an error. */
18372 #ifdef __cplusplus
18373 extern "C"
18375 #endif
18376 /* We use char because int might match the return type of a gcc2
18377 builtin and then its argument prototype would still apply. */
18378 char $ac_func ();
18379 /* The GNU C library defines this for functions which it implements
18380 to always fail with ENOSYS. Some functions are actually named
18381 something starting with __ and the normal name is an alias. */
18382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18383 choke me
18384 #else
18385 char (*f) () = $ac_func;
18386 #endif
18387 #ifdef __cplusplus
18389 #endif
18392 main ()
18394 return f != $ac_func;
18396 return 0;
18398 _ACEOF
18399 rm -f conftest.$ac_objext conftest$ac_exeext
18400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18401 (eval $ac_link) 2>conftest.er1
18402 ac_status=$?
18403 grep -v '^ *+' conftest.er1 >conftest.err
18404 rm -f conftest.er1
18405 cat conftest.err >&5
18406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18407 (exit $ac_status); } &&
18408 { ac_try='test -z "$ac_c_werror_flag"
18409 || test ! -s conftest.err'
18410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18411 (eval $ac_try) 2>&5
18412 ac_status=$?
18413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414 (exit $ac_status); }; } &&
18415 { ac_try='test -s conftest$ac_exeext'
18416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18417 (eval $ac_try) 2>&5
18418 ac_status=$?
18419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18420 (exit $ac_status); }; }; then
18421 eval "$as_ac_var=yes"
18422 else
18423 echo "$as_me: failed program was:" >&5
18424 sed 's/^/| /' conftest.$ac_ext >&5
18426 eval "$as_ac_var=no"
18428 rm -f conftest.err conftest.$ac_objext \
18429 conftest$ac_exeext conftest.$ac_ext
18431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18433 if test `eval echo '${'$as_ac_var'}'` = yes; then
18434 cat >>confdefs.h <<_ACEOF
18435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18436 _ACEOF
18439 done
18446 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
18447 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
18448 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
18449 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
18450 echo $ECHO_N "(cached) $ECHO_C" >&6
18451 else
18455 ac_ext=cc
18456 ac_cpp='$CXXCPP $CPPFLAGS'
18457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18461 cat >conftest.$ac_ext <<_ACEOF
18462 /* confdefs.h. */
18463 _ACEOF
18464 cat confdefs.h >>conftest.$ac_ext
18465 cat >>conftest.$ac_ext <<_ACEOF
18466 /* end confdefs.h. */
18467 #include <math.h>
18468 #ifdef HAVE_IEEEFP_H
18469 #include <ieeefp.h>
18470 #endif
18473 main ()
18475 isinfl(0);
18477 return 0;
18479 _ACEOF
18480 rm -f conftest.$ac_objext
18481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18482 (eval $ac_compile) 2>conftest.er1
18483 ac_status=$?
18484 grep -v '^ *+' conftest.er1 >conftest.err
18485 rm -f conftest.er1
18486 cat conftest.err >&5
18487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488 (exit $ac_status); } &&
18489 { ac_try='test -z "$ac_cxx_werror_flag"
18490 || test ! -s conftest.err'
18491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18492 (eval $ac_try) 2>&5
18493 ac_status=$?
18494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495 (exit $ac_status); }; } &&
18496 { ac_try='test -s conftest.$ac_objext'
18497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18498 (eval $ac_try) 2>&5
18499 ac_status=$?
18500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18501 (exit $ac_status); }; }; then
18502 glibcxx_cv_func_isinfl_use=yes
18503 else
18504 echo "$as_me: failed program was:" >&5
18505 sed 's/^/| /' conftest.$ac_ext >&5
18507 glibcxx_cv_func_isinfl_use=no
18509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18510 ac_ext=c
18511 ac_cpp='$CPP $CPPFLAGS'
18512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18520 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
18521 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
18523 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
18525 for ac_func in isinfl
18527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18528 echo "$as_me:$LINENO: checking for $ac_func" >&5
18529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18530 if eval "test \"\${$as_ac_var+set}\" = set"; then
18531 echo $ECHO_N "(cached) $ECHO_C" >&6
18532 else
18533 if test x$gcc_no_link = xyes; then
18534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18536 { (exit 1); exit 1; }; }
18538 cat >conftest.$ac_ext <<_ACEOF
18539 /* confdefs.h. */
18540 _ACEOF
18541 cat confdefs.h >>conftest.$ac_ext
18542 cat >>conftest.$ac_ext <<_ACEOF
18543 /* end confdefs.h. */
18544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18546 #define $ac_func innocuous_$ac_func
18548 /* System header to define __stub macros and hopefully few prototypes,
18549 which can conflict with char $ac_func (); below.
18550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18551 <limits.h> exists even on freestanding compilers. */
18553 #ifdef __STDC__
18554 # include <limits.h>
18555 #else
18556 # include <assert.h>
18557 #endif
18559 #undef $ac_func
18561 /* Override any gcc2 internal prototype to avoid an error. */
18562 #ifdef __cplusplus
18563 extern "C"
18565 #endif
18566 /* We use char because int might match the return type of a gcc2
18567 builtin and then its argument prototype would still apply. */
18568 char $ac_func ();
18569 /* The GNU C library defines this for functions which it implements
18570 to always fail with ENOSYS. Some functions are actually named
18571 something starting with __ and the normal name is an alias. */
18572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18573 choke me
18574 #else
18575 char (*f) () = $ac_func;
18576 #endif
18577 #ifdef __cplusplus
18579 #endif
18582 main ()
18584 return f != $ac_func;
18586 return 0;
18588 _ACEOF
18589 rm -f conftest.$ac_objext conftest$ac_exeext
18590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18591 (eval $ac_link) 2>conftest.er1
18592 ac_status=$?
18593 grep -v '^ *+' conftest.er1 >conftest.err
18594 rm -f conftest.er1
18595 cat conftest.err >&5
18596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18597 (exit $ac_status); } &&
18598 { ac_try='test -z "$ac_c_werror_flag"
18599 || test ! -s conftest.err'
18600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18601 (eval $ac_try) 2>&5
18602 ac_status=$?
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); }; } &&
18605 { ac_try='test -s conftest$ac_exeext'
18606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18607 (eval $ac_try) 2>&5
18608 ac_status=$?
18609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18610 (exit $ac_status); }; }; then
18611 eval "$as_ac_var=yes"
18612 else
18613 echo "$as_me: failed program was:" >&5
18614 sed 's/^/| /' conftest.$ac_ext >&5
18616 eval "$as_ac_var=no"
18618 rm -f conftest.err conftest.$ac_objext \
18619 conftest$ac_exeext conftest.$ac_ext
18621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18623 if test `eval echo '${'$as_ac_var'}'` = yes; then
18624 cat >>confdefs.h <<_ACEOF
18625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18626 _ACEOF
18629 done
18631 else
18633 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
18634 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
18635 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
18636 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
18637 echo $ECHO_N "(cached) $ECHO_C" >&6
18638 else
18642 ac_ext=cc
18643 ac_cpp='$CXXCPP $CPPFLAGS'
18644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18648 cat >conftest.$ac_ext <<_ACEOF
18649 /* confdefs.h. */
18650 _ACEOF
18651 cat confdefs.h >>conftest.$ac_ext
18652 cat >>conftest.$ac_ext <<_ACEOF
18653 /* end confdefs.h. */
18654 #include <math.h>
18655 #ifdef HAVE_IEEEFP_H
18656 #include <ieeefp.h>
18657 #endif
18660 main ()
18662 _isinfl(0);
18664 return 0;
18666 _ACEOF
18667 rm -f conftest.$ac_objext
18668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18669 (eval $ac_compile) 2>conftest.er1
18670 ac_status=$?
18671 grep -v '^ *+' conftest.er1 >conftest.err
18672 rm -f conftest.er1
18673 cat conftest.err >&5
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); } &&
18676 { ac_try='test -z "$ac_cxx_werror_flag"
18677 || test ! -s conftest.err'
18678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18679 (eval $ac_try) 2>&5
18680 ac_status=$?
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); }; } &&
18683 { ac_try='test -s conftest.$ac_objext'
18684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18685 (eval $ac_try) 2>&5
18686 ac_status=$?
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); }; }; then
18689 glibcxx_cv_func__isinfl_use=yes
18690 else
18691 echo "$as_me: failed program was:" >&5
18692 sed 's/^/| /' conftest.$ac_ext >&5
18694 glibcxx_cv_func__isinfl_use=no
18696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18697 ac_ext=c
18698 ac_cpp='$CPP $CPPFLAGS'
18699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18707 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
18708 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
18710 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
18712 for ac_func in _isinfl
18714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18715 echo "$as_me:$LINENO: checking for $ac_func" >&5
18716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18717 if eval "test \"\${$as_ac_var+set}\" = set"; then
18718 echo $ECHO_N "(cached) $ECHO_C" >&6
18719 else
18720 if test x$gcc_no_link = xyes; then
18721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18723 { (exit 1); exit 1; }; }
18725 cat >conftest.$ac_ext <<_ACEOF
18726 /* confdefs.h. */
18727 _ACEOF
18728 cat confdefs.h >>conftest.$ac_ext
18729 cat >>conftest.$ac_ext <<_ACEOF
18730 /* end confdefs.h. */
18731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18733 #define $ac_func innocuous_$ac_func
18735 /* System header to define __stub macros and hopefully few prototypes,
18736 which can conflict with char $ac_func (); below.
18737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18738 <limits.h> exists even on freestanding compilers. */
18740 #ifdef __STDC__
18741 # include <limits.h>
18742 #else
18743 # include <assert.h>
18744 #endif
18746 #undef $ac_func
18748 /* Override any gcc2 internal prototype to avoid an error. */
18749 #ifdef __cplusplus
18750 extern "C"
18752 #endif
18753 /* We use char because int might match the return type of a gcc2
18754 builtin and then its argument prototype would still apply. */
18755 char $ac_func ();
18756 /* The GNU C library defines this for functions which it implements
18757 to always fail with ENOSYS. Some functions are actually named
18758 something starting with __ and the normal name is an alias. */
18759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18760 choke me
18761 #else
18762 char (*f) () = $ac_func;
18763 #endif
18764 #ifdef __cplusplus
18766 #endif
18769 main ()
18771 return f != $ac_func;
18773 return 0;
18775 _ACEOF
18776 rm -f conftest.$ac_objext conftest$ac_exeext
18777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18778 (eval $ac_link) 2>conftest.er1
18779 ac_status=$?
18780 grep -v '^ *+' conftest.er1 >conftest.err
18781 rm -f conftest.er1
18782 cat conftest.err >&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); } &&
18785 { ac_try='test -z "$ac_c_werror_flag"
18786 || test ! -s conftest.err'
18787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18788 (eval $ac_try) 2>&5
18789 ac_status=$?
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); }; } &&
18792 { ac_try='test -s conftest$ac_exeext'
18793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18794 (eval $ac_try) 2>&5
18795 ac_status=$?
18796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797 (exit $ac_status); }; }; then
18798 eval "$as_ac_var=yes"
18799 else
18800 echo "$as_me: failed program was:" >&5
18801 sed 's/^/| /' conftest.$ac_ext >&5
18803 eval "$as_ac_var=no"
18805 rm -f conftest.err conftest.$ac_objext \
18806 conftest$ac_exeext conftest.$ac_ext
18808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18810 if test `eval echo '${'$as_ac_var'}'` = yes; then
18811 cat >>confdefs.h <<_ACEOF
18812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18813 _ACEOF
18816 done
18823 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
18824 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
18825 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
18826 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
18827 echo $ECHO_N "(cached) $ECHO_C" >&6
18828 else
18832 ac_ext=cc
18833 ac_cpp='$CXXCPP $CPPFLAGS'
18834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18838 cat >conftest.$ac_ext <<_ACEOF
18839 /* confdefs.h. */
18840 _ACEOF
18841 cat confdefs.h >>conftest.$ac_ext
18842 cat >>conftest.$ac_ext <<_ACEOF
18843 /* end confdefs.h. */
18844 #include <math.h>
18846 main ()
18848 copysignl(0, 0);
18850 return 0;
18852 _ACEOF
18853 rm -f conftest.$ac_objext
18854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18855 (eval $ac_compile) 2>conftest.er1
18856 ac_status=$?
18857 grep -v '^ *+' conftest.er1 >conftest.err
18858 rm -f conftest.er1
18859 cat conftest.err >&5
18860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18861 (exit $ac_status); } &&
18862 { ac_try='test -z "$ac_cxx_werror_flag"
18863 || test ! -s conftest.err'
18864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18865 (eval $ac_try) 2>&5
18866 ac_status=$?
18867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18868 (exit $ac_status); }; } &&
18869 { ac_try='test -s conftest.$ac_objext'
18870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18871 (eval $ac_try) 2>&5
18872 ac_status=$?
18873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18874 (exit $ac_status); }; }; then
18875 glibcxx_cv_func_copysignl_use=yes
18876 else
18877 echo "$as_me: failed program was:" >&5
18878 sed 's/^/| /' conftest.$ac_ext >&5
18880 glibcxx_cv_func_copysignl_use=no
18882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18883 ac_ext=c
18884 ac_cpp='$CPP $CPPFLAGS'
18885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18893 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
18894 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
18896 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
18898 for ac_func in copysignl
18900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18901 echo "$as_me:$LINENO: checking for $ac_func" >&5
18902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18903 if eval "test \"\${$as_ac_var+set}\" = set"; then
18904 echo $ECHO_N "(cached) $ECHO_C" >&6
18905 else
18906 if test x$gcc_no_link = xyes; then
18907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18909 { (exit 1); exit 1; }; }
18911 cat >conftest.$ac_ext <<_ACEOF
18912 /* confdefs.h. */
18913 _ACEOF
18914 cat confdefs.h >>conftest.$ac_ext
18915 cat >>conftest.$ac_ext <<_ACEOF
18916 /* end confdefs.h. */
18917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18919 #define $ac_func innocuous_$ac_func
18921 /* System header to define __stub macros and hopefully few prototypes,
18922 which can conflict with char $ac_func (); below.
18923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18924 <limits.h> exists even on freestanding compilers. */
18926 #ifdef __STDC__
18927 # include <limits.h>
18928 #else
18929 # include <assert.h>
18930 #endif
18932 #undef $ac_func
18934 /* Override any gcc2 internal prototype to avoid an error. */
18935 #ifdef __cplusplus
18936 extern "C"
18938 #endif
18939 /* We use char because int might match the return type of a gcc2
18940 builtin and then its argument prototype would still apply. */
18941 char $ac_func ();
18942 /* The GNU C library defines this for functions which it implements
18943 to always fail with ENOSYS. Some functions are actually named
18944 something starting with __ and the normal name is an alias. */
18945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18946 choke me
18947 #else
18948 char (*f) () = $ac_func;
18949 #endif
18950 #ifdef __cplusplus
18952 #endif
18955 main ()
18957 return f != $ac_func;
18959 return 0;
18961 _ACEOF
18962 rm -f conftest.$ac_objext conftest$ac_exeext
18963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18964 (eval $ac_link) 2>conftest.er1
18965 ac_status=$?
18966 grep -v '^ *+' conftest.er1 >conftest.err
18967 rm -f conftest.er1
18968 cat conftest.err >&5
18969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970 (exit $ac_status); } &&
18971 { ac_try='test -z "$ac_c_werror_flag"
18972 || test ! -s conftest.err'
18973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18974 (eval $ac_try) 2>&5
18975 ac_status=$?
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); }; } &&
18978 { ac_try='test -s conftest$ac_exeext'
18979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18980 (eval $ac_try) 2>&5
18981 ac_status=$?
18982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18983 (exit $ac_status); }; }; then
18984 eval "$as_ac_var=yes"
18985 else
18986 echo "$as_me: failed program was:" >&5
18987 sed 's/^/| /' conftest.$ac_ext >&5
18989 eval "$as_ac_var=no"
18991 rm -f conftest.err conftest.$ac_objext \
18992 conftest$ac_exeext conftest.$ac_ext
18994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18996 if test `eval echo '${'$as_ac_var'}'` = yes; then
18997 cat >>confdefs.h <<_ACEOF
18998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18999 _ACEOF
19002 done
19004 else
19006 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
19007 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
19008 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
19009 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
19010 echo $ECHO_N "(cached) $ECHO_C" >&6
19011 else
19015 ac_ext=cc
19016 ac_cpp='$CXXCPP $CPPFLAGS'
19017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19021 cat >conftest.$ac_ext <<_ACEOF
19022 /* confdefs.h. */
19023 _ACEOF
19024 cat confdefs.h >>conftest.$ac_ext
19025 cat >>conftest.$ac_ext <<_ACEOF
19026 /* end confdefs.h. */
19027 #include <math.h>
19029 main ()
19031 _copysignl(0, 0);
19033 return 0;
19035 _ACEOF
19036 rm -f conftest.$ac_objext
19037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19038 (eval $ac_compile) 2>conftest.er1
19039 ac_status=$?
19040 grep -v '^ *+' conftest.er1 >conftest.err
19041 rm -f conftest.er1
19042 cat conftest.err >&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); } &&
19045 { ac_try='test -z "$ac_cxx_werror_flag"
19046 || test ! -s conftest.err'
19047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19048 (eval $ac_try) 2>&5
19049 ac_status=$?
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); }; } &&
19052 { ac_try='test -s conftest.$ac_objext'
19053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19054 (eval $ac_try) 2>&5
19055 ac_status=$?
19056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19057 (exit $ac_status); }; }; then
19058 glibcxx_cv_func__copysignl_use=yes
19059 else
19060 echo "$as_me: failed program was:" >&5
19061 sed 's/^/| /' conftest.$ac_ext >&5
19063 glibcxx_cv_func__copysignl_use=no
19065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19066 ac_ext=c
19067 ac_cpp='$CPP $CPPFLAGS'
19068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19076 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
19077 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
19079 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
19081 for ac_func in _copysignl
19083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19084 echo "$as_me:$LINENO: checking for $ac_func" >&5
19085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19086 if eval "test \"\${$as_ac_var+set}\" = set"; then
19087 echo $ECHO_N "(cached) $ECHO_C" >&6
19088 else
19089 if test x$gcc_no_link = xyes; then
19090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19092 { (exit 1); exit 1; }; }
19094 cat >conftest.$ac_ext <<_ACEOF
19095 /* confdefs.h. */
19096 _ACEOF
19097 cat confdefs.h >>conftest.$ac_ext
19098 cat >>conftest.$ac_ext <<_ACEOF
19099 /* end confdefs.h. */
19100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19102 #define $ac_func innocuous_$ac_func
19104 /* System header to define __stub macros and hopefully few prototypes,
19105 which can conflict with char $ac_func (); below.
19106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19107 <limits.h> exists even on freestanding compilers. */
19109 #ifdef __STDC__
19110 # include <limits.h>
19111 #else
19112 # include <assert.h>
19113 #endif
19115 #undef $ac_func
19117 /* Override any gcc2 internal prototype to avoid an error. */
19118 #ifdef __cplusplus
19119 extern "C"
19121 #endif
19122 /* We use char because int might match the return type of a gcc2
19123 builtin and then its argument prototype would still apply. */
19124 char $ac_func ();
19125 /* The GNU C library defines this for functions which it implements
19126 to always fail with ENOSYS. Some functions are actually named
19127 something starting with __ and the normal name is an alias. */
19128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19129 choke me
19130 #else
19131 char (*f) () = $ac_func;
19132 #endif
19133 #ifdef __cplusplus
19135 #endif
19138 main ()
19140 return f != $ac_func;
19142 return 0;
19144 _ACEOF
19145 rm -f conftest.$ac_objext conftest$ac_exeext
19146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19147 (eval $ac_link) 2>conftest.er1
19148 ac_status=$?
19149 grep -v '^ *+' conftest.er1 >conftest.err
19150 rm -f conftest.er1
19151 cat conftest.err >&5
19152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19153 (exit $ac_status); } &&
19154 { ac_try='test -z "$ac_c_werror_flag"
19155 || test ! -s conftest.err'
19156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19157 (eval $ac_try) 2>&5
19158 ac_status=$?
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); }; } &&
19161 { ac_try='test -s conftest$ac_exeext'
19162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19163 (eval $ac_try) 2>&5
19164 ac_status=$?
19165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19166 (exit $ac_status); }; }; then
19167 eval "$as_ac_var=yes"
19168 else
19169 echo "$as_me: failed program was:" >&5
19170 sed 's/^/| /' conftest.$ac_ext >&5
19172 eval "$as_ac_var=no"
19174 rm -f conftest.err conftest.$ac_objext \
19175 conftest$ac_exeext conftest.$ac_ext
19177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19179 if test `eval echo '${'$as_ac_var'}'` = yes; then
19180 cat >>confdefs.h <<_ACEOF
19181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19182 _ACEOF
19185 done
19192 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
19193 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
19194 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
19195 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
19196 echo $ECHO_N "(cached) $ECHO_C" >&6
19197 else
19201 ac_ext=cc
19202 ac_cpp='$CXXCPP $CPPFLAGS'
19203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19207 cat >conftest.$ac_ext <<_ACEOF
19208 /* confdefs.h. */
19209 _ACEOF
19210 cat confdefs.h >>conftest.$ac_ext
19211 cat >>conftest.$ac_ext <<_ACEOF
19212 /* end confdefs.h. */
19213 #include <math.h>
19215 main ()
19217 atan2l(0, 0);
19219 return 0;
19221 _ACEOF
19222 rm -f conftest.$ac_objext
19223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19224 (eval $ac_compile) 2>conftest.er1
19225 ac_status=$?
19226 grep -v '^ *+' conftest.er1 >conftest.err
19227 rm -f conftest.er1
19228 cat conftest.err >&5
19229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19230 (exit $ac_status); } &&
19231 { ac_try='test -z "$ac_cxx_werror_flag"
19232 || test ! -s conftest.err'
19233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19234 (eval $ac_try) 2>&5
19235 ac_status=$?
19236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19237 (exit $ac_status); }; } &&
19238 { ac_try='test -s conftest.$ac_objext'
19239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19240 (eval $ac_try) 2>&5
19241 ac_status=$?
19242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19243 (exit $ac_status); }; }; then
19244 glibcxx_cv_func_atan2l_use=yes
19245 else
19246 echo "$as_me: failed program was:" >&5
19247 sed 's/^/| /' conftest.$ac_ext >&5
19249 glibcxx_cv_func_atan2l_use=no
19251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19252 ac_ext=c
19253 ac_cpp='$CPP $CPPFLAGS'
19254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19262 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
19263 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
19265 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
19267 for ac_func in atan2l
19269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19270 echo "$as_me:$LINENO: checking for $ac_func" >&5
19271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19272 if eval "test \"\${$as_ac_var+set}\" = set"; then
19273 echo $ECHO_N "(cached) $ECHO_C" >&6
19274 else
19275 if test x$gcc_no_link = xyes; then
19276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19278 { (exit 1); exit 1; }; }
19280 cat >conftest.$ac_ext <<_ACEOF
19281 /* confdefs.h. */
19282 _ACEOF
19283 cat confdefs.h >>conftest.$ac_ext
19284 cat >>conftest.$ac_ext <<_ACEOF
19285 /* end confdefs.h. */
19286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19288 #define $ac_func innocuous_$ac_func
19290 /* System header to define __stub macros and hopefully few prototypes,
19291 which can conflict with char $ac_func (); below.
19292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19293 <limits.h> exists even on freestanding compilers. */
19295 #ifdef __STDC__
19296 # include <limits.h>
19297 #else
19298 # include <assert.h>
19299 #endif
19301 #undef $ac_func
19303 /* Override any gcc2 internal prototype to avoid an error. */
19304 #ifdef __cplusplus
19305 extern "C"
19307 #endif
19308 /* We use char because int might match the return type of a gcc2
19309 builtin and then its argument prototype would still apply. */
19310 char $ac_func ();
19311 /* The GNU C library defines this for functions which it implements
19312 to always fail with ENOSYS. Some functions are actually named
19313 something starting with __ and the normal name is an alias. */
19314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19315 choke me
19316 #else
19317 char (*f) () = $ac_func;
19318 #endif
19319 #ifdef __cplusplus
19321 #endif
19324 main ()
19326 return f != $ac_func;
19328 return 0;
19330 _ACEOF
19331 rm -f conftest.$ac_objext conftest$ac_exeext
19332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19333 (eval $ac_link) 2>conftest.er1
19334 ac_status=$?
19335 grep -v '^ *+' conftest.er1 >conftest.err
19336 rm -f conftest.er1
19337 cat conftest.err >&5
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); } &&
19340 { ac_try='test -z "$ac_c_werror_flag"
19341 || test ! -s conftest.err'
19342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19343 (eval $ac_try) 2>&5
19344 ac_status=$?
19345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19346 (exit $ac_status); }; } &&
19347 { ac_try='test -s conftest$ac_exeext'
19348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19349 (eval $ac_try) 2>&5
19350 ac_status=$?
19351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352 (exit $ac_status); }; }; then
19353 eval "$as_ac_var=yes"
19354 else
19355 echo "$as_me: failed program was:" >&5
19356 sed 's/^/| /' conftest.$ac_ext >&5
19358 eval "$as_ac_var=no"
19360 rm -f conftest.err conftest.$ac_objext \
19361 conftest$ac_exeext conftest.$ac_ext
19363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19365 if test `eval echo '${'$as_ac_var'}'` = yes; then
19366 cat >>confdefs.h <<_ACEOF
19367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19368 _ACEOF
19371 done
19373 else
19375 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
19376 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
19377 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
19378 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
19379 echo $ECHO_N "(cached) $ECHO_C" >&6
19380 else
19384 ac_ext=cc
19385 ac_cpp='$CXXCPP $CPPFLAGS'
19386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19390 cat >conftest.$ac_ext <<_ACEOF
19391 /* confdefs.h. */
19392 _ACEOF
19393 cat confdefs.h >>conftest.$ac_ext
19394 cat >>conftest.$ac_ext <<_ACEOF
19395 /* end confdefs.h. */
19396 #include <math.h>
19398 main ()
19400 _atan2l(0, 0);
19402 return 0;
19404 _ACEOF
19405 rm -f conftest.$ac_objext
19406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19407 (eval $ac_compile) 2>conftest.er1
19408 ac_status=$?
19409 grep -v '^ *+' conftest.er1 >conftest.err
19410 rm -f conftest.er1
19411 cat conftest.err >&5
19412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19413 (exit $ac_status); } &&
19414 { ac_try='test -z "$ac_cxx_werror_flag"
19415 || test ! -s conftest.err'
19416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19417 (eval $ac_try) 2>&5
19418 ac_status=$?
19419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19420 (exit $ac_status); }; } &&
19421 { ac_try='test -s conftest.$ac_objext'
19422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19423 (eval $ac_try) 2>&5
19424 ac_status=$?
19425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19426 (exit $ac_status); }; }; then
19427 glibcxx_cv_func__atan2l_use=yes
19428 else
19429 echo "$as_me: failed program was:" >&5
19430 sed 's/^/| /' conftest.$ac_ext >&5
19432 glibcxx_cv_func__atan2l_use=no
19434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19435 ac_ext=c
19436 ac_cpp='$CPP $CPPFLAGS'
19437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19445 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
19446 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
19448 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
19450 for ac_func in _atan2l
19452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19453 echo "$as_me:$LINENO: checking for $ac_func" >&5
19454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19455 if eval "test \"\${$as_ac_var+set}\" = set"; then
19456 echo $ECHO_N "(cached) $ECHO_C" >&6
19457 else
19458 if test x$gcc_no_link = xyes; then
19459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19461 { (exit 1); exit 1; }; }
19463 cat >conftest.$ac_ext <<_ACEOF
19464 /* confdefs.h. */
19465 _ACEOF
19466 cat confdefs.h >>conftest.$ac_ext
19467 cat >>conftest.$ac_ext <<_ACEOF
19468 /* end confdefs.h. */
19469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19471 #define $ac_func innocuous_$ac_func
19473 /* System header to define __stub macros and hopefully few prototypes,
19474 which can conflict with char $ac_func (); below.
19475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19476 <limits.h> exists even on freestanding compilers. */
19478 #ifdef __STDC__
19479 # include <limits.h>
19480 #else
19481 # include <assert.h>
19482 #endif
19484 #undef $ac_func
19486 /* Override any gcc2 internal prototype to avoid an error. */
19487 #ifdef __cplusplus
19488 extern "C"
19490 #endif
19491 /* We use char because int might match the return type of a gcc2
19492 builtin and then its argument prototype would still apply. */
19493 char $ac_func ();
19494 /* The GNU C library defines this for functions which it implements
19495 to always fail with ENOSYS. Some functions are actually named
19496 something starting with __ and the normal name is an alias. */
19497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19498 choke me
19499 #else
19500 char (*f) () = $ac_func;
19501 #endif
19502 #ifdef __cplusplus
19504 #endif
19507 main ()
19509 return f != $ac_func;
19511 return 0;
19513 _ACEOF
19514 rm -f conftest.$ac_objext conftest$ac_exeext
19515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19516 (eval $ac_link) 2>conftest.er1
19517 ac_status=$?
19518 grep -v '^ *+' conftest.er1 >conftest.err
19519 rm -f conftest.er1
19520 cat conftest.err >&5
19521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19522 (exit $ac_status); } &&
19523 { ac_try='test -z "$ac_c_werror_flag"
19524 || test ! -s conftest.err'
19525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19526 (eval $ac_try) 2>&5
19527 ac_status=$?
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); }; } &&
19530 { ac_try='test -s conftest$ac_exeext'
19531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19532 (eval $ac_try) 2>&5
19533 ac_status=$?
19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535 (exit $ac_status); }; }; then
19536 eval "$as_ac_var=yes"
19537 else
19538 echo "$as_me: failed program was:" >&5
19539 sed 's/^/| /' conftest.$ac_ext >&5
19541 eval "$as_ac_var=no"
19543 rm -f conftest.err conftest.$ac_objext \
19544 conftest$ac_exeext conftest.$ac_ext
19546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19548 if test `eval echo '${'$as_ac_var'}'` = yes; then
19549 cat >>confdefs.h <<_ACEOF
19550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19551 _ACEOF
19554 done
19561 echo "$as_me:$LINENO: checking for expl declaration" >&5
19562 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
19563 if test x${glibcxx_cv_func_expl_use+set} != xset; then
19564 if test "${glibcxx_cv_func_expl_use+set}" = set; then
19565 echo $ECHO_N "(cached) $ECHO_C" >&6
19566 else
19570 ac_ext=cc
19571 ac_cpp='$CXXCPP $CPPFLAGS'
19572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19576 cat >conftest.$ac_ext <<_ACEOF
19577 /* confdefs.h. */
19578 _ACEOF
19579 cat confdefs.h >>conftest.$ac_ext
19580 cat >>conftest.$ac_ext <<_ACEOF
19581 /* end confdefs.h. */
19582 #include <math.h>
19583 #ifdef HAVE_IEEEFP_H
19584 #include <ieeefp.h>
19585 #endif
19588 main ()
19590 expl(0);
19592 return 0;
19594 _ACEOF
19595 rm -f conftest.$ac_objext
19596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19597 (eval $ac_compile) 2>conftest.er1
19598 ac_status=$?
19599 grep -v '^ *+' conftest.er1 >conftest.err
19600 rm -f conftest.er1
19601 cat conftest.err >&5
19602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19603 (exit $ac_status); } &&
19604 { ac_try='test -z "$ac_cxx_werror_flag"
19605 || test ! -s conftest.err'
19606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19607 (eval $ac_try) 2>&5
19608 ac_status=$?
19609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19610 (exit $ac_status); }; } &&
19611 { ac_try='test -s conftest.$ac_objext'
19612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19613 (eval $ac_try) 2>&5
19614 ac_status=$?
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); }; }; then
19617 glibcxx_cv_func_expl_use=yes
19618 else
19619 echo "$as_me: failed program was:" >&5
19620 sed 's/^/| /' conftest.$ac_ext >&5
19622 glibcxx_cv_func_expl_use=no
19624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19625 ac_ext=c
19626 ac_cpp='$CPP $CPPFLAGS'
19627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19635 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
19636 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
19638 if test x$glibcxx_cv_func_expl_use = x"yes"; then
19640 for ac_func in expl
19642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19643 echo "$as_me:$LINENO: checking for $ac_func" >&5
19644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19645 if eval "test \"\${$as_ac_var+set}\" = set"; then
19646 echo $ECHO_N "(cached) $ECHO_C" >&6
19647 else
19648 if test x$gcc_no_link = xyes; then
19649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19651 { (exit 1); exit 1; }; }
19653 cat >conftest.$ac_ext <<_ACEOF
19654 /* confdefs.h. */
19655 _ACEOF
19656 cat confdefs.h >>conftest.$ac_ext
19657 cat >>conftest.$ac_ext <<_ACEOF
19658 /* end confdefs.h. */
19659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19661 #define $ac_func innocuous_$ac_func
19663 /* System header to define __stub macros and hopefully few prototypes,
19664 which can conflict with char $ac_func (); below.
19665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19666 <limits.h> exists even on freestanding compilers. */
19668 #ifdef __STDC__
19669 # include <limits.h>
19670 #else
19671 # include <assert.h>
19672 #endif
19674 #undef $ac_func
19676 /* Override any gcc2 internal prototype to avoid an error. */
19677 #ifdef __cplusplus
19678 extern "C"
19680 #endif
19681 /* We use char because int might match the return type of a gcc2
19682 builtin and then its argument prototype would still apply. */
19683 char $ac_func ();
19684 /* The GNU C library defines this for functions which it implements
19685 to always fail with ENOSYS. Some functions are actually named
19686 something starting with __ and the normal name is an alias. */
19687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19688 choke me
19689 #else
19690 char (*f) () = $ac_func;
19691 #endif
19692 #ifdef __cplusplus
19694 #endif
19697 main ()
19699 return f != $ac_func;
19701 return 0;
19703 _ACEOF
19704 rm -f conftest.$ac_objext conftest$ac_exeext
19705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19706 (eval $ac_link) 2>conftest.er1
19707 ac_status=$?
19708 grep -v '^ *+' conftest.er1 >conftest.err
19709 rm -f conftest.er1
19710 cat conftest.err >&5
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); } &&
19713 { ac_try='test -z "$ac_c_werror_flag"
19714 || test ! -s conftest.err'
19715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19716 (eval $ac_try) 2>&5
19717 ac_status=$?
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); }; } &&
19720 { ac_try='test -s conftest$ac_exeext'
19721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19722 (eval $ac_try) 2>&5
19723 ac_status=$?
19724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725 (exit $ac_status); }; }; then
19726 eval "$as_ac_var=yes"
19727 else
19728 echo "$as_me: failed program was:" >&5
19729 sed 's/^/| /' conftest.$ac_ext >&5
19731 eval "$as_ac_var=no"
19733 rm -f conftest.err conftest.$ac_objext \
19734 conftest$ac_exeext conftest.$ac_ext
19736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19738 if test `eval echo '${'$as_ac_var'}'` = yes; then
19739 cat >>confdefs.h <<_ACEOF
19740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19741 _ACEOF
19744 done
19746 else
19748 echo "$as_me:$LINENO: checking for _expl declaration" >&5
19749 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
19750 if test x${glibcxx_cv_func__expl_use+set} != xset; then
19751 if test "${glibcxx_cv_func__expl_use+set}" = set; then
19752 echo $ECHO_N "(cached) $ECHO_C" >&6
19753 else
19757 ac_ext=cc
19758 ac_cpp='$CXXCPP $CPPFLAGS'
19759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19763 cat >conftest.$ac_ext <<_ACEOF
19764 /* confdefs.h. */
19765 _ACEOF
19766 cat confdefs.h >>conftest.$ac_ext
19767 cat >>conftest.$ac_ext <<_ACEOF
19768 /* end confdefs.h. */
19769 #include <math.h>
19770 #ifdef HAVE_IEEEFP_H
19771 #include <ieeefp.h>
19772 #endif
19775 main ()
19777 _expl(0);
19779 return 0;
19781 _ACEOF
19782 rm -f conftest.$ac_objext
19783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19784 (eval $ac_compile) 2>conftest.er1
19785 ac_status=$?
19786 grep -v '^ *+' conftest.er1 >conftest.err
19787 rm -f conftest.er1
19788 cat conftest.err >&5
19789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19790 (exit $ac_status); } &&
19791 { ac_try='test -z "$ac_cxx_werror_flag"
19792 || test ! -s conftest.err'
19793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19794 (eval $ac_try) 2>&5
19795 ac_status=$?
19796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19797 (exit $ac_status); }; } &&
19798 { ac_try='test -s conftest.$ac_objext'
19799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19800 (eval $ac_try) 2>&5
19801 ac_status=$?
19802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19803 (exit $ac_status); }; }; then
19804 glibcxx_cv_func__expl_use=yes
19805 else
19806 echo "$as_me: failed program was:" >&5
19807 sed 's/^/| /' conftest.$ac_ext >&5
19809 glibcxx_cv_func__expl_use=no
19811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19812 ac_ext=c
19813 ac_cpp='$CPP $CPPFLAGS'
19814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19822 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
19823 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
19825 if test x$glibcxx_cv_func__expl_use = x"yes"; then
19827 for ac_func in _expl
19829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19830 echo "$as_me:$LINENO: checking for $ac_func" >&5
19831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19832 if eval "test \"\${$as_ac_var+set}\" = set"; then
19833 echo $ECHO_N "(cached) $ECHO_C" >&6
19834 else
19835 if test x$gcc_no_link = xyes; then
19836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19838 { (exit 1); exit 1; }; }
19840 cat >conftest.$ac_ext <<_ACEOF
19841 /* confdefs.h. */
19842 _ACEOF
19843 cat confdefs.h >>conftest.$ac_ext
19844 cat >>conftest.$ac_ext <<_ACEOF
19845 /* end confdefs.h. */
19846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19848 #define $ac_func innocuous_$ac_func
19850 /* System header to define __stub macros and hopefully few prototypes,
19851 which can conflict with char $ac_func (); below.
19852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19853 <limits.h> exists even on freestanding compilers. */
19855 #ifdef __STDC__
19856 # include <limits.h>
19857 #else
19858 # include <assert.h>
19859 #endif
19861 #undef $ac_func
19863 /* Override any gcc2 internal prototype to avoid an error. */
19864 #ifdef __cplusplus
19865 extern "C"
19867 #endif
19868 /* We use char because int might match the return type of a gcc2
19869 builtin and then its argument prototype would still apply. */
19870 char $ac_func ();
19871 /* The GNU C library defines this for functions which it implements
19872 to always fail with ENOSYS. Some functions are actually named
19873 something starting with __ and the normal name is an alias. */
19874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19875 choke me
19876 #else
19877 char (*f) () = $ac_func;
19878 #endif
19879 #ifdef __cplusplus
19881 #endif
19884 main ()
19886 return f != $ac_func;
19888 return 0;
19890 _ACEOF
19891 rm -f conftest.$ac_objext conftest$ac_exeext
19892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19893 (eval $ac_link) 2>conftest.er1
19894 ac_status=$?
19895 grep -v '^ *+' conftest.er1 >conftest.err
19896 rm -f conftest.er1
19897 cat conftest.err >&5
19898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19899 (exit $ac_status); } &&
19900 { ac_try='test -z "$ac_c_werror_flag"
19901 || test ! -s conftest.err'
19902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19903 (eval $ac_try) 2>&5
19904 ac_status=$?
19905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19906 (exit $ac_status); }; } &&
19907 { ac_try='test -s conftest$ac_exeext'
19908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19909 (eval $ac_try) 2>&5
19910 ac_status=$?
19911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19912 (exit $ac_status); }; }; then
19913 eval "$as_ac_var=yes"
19914 else
19915 echo "$as_me: failed program was:" >&5
19916 sed 's/^/| /' conftest.$ac_ext >&5
19918 eval "$as_ac_var=no"
19920 rm -f conftest.err conftest.$ac_objext \
19921 conftest$ac_exeext conftest.$ac_ext
19923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19925 if test `eval echo '${'$as_ac_var'}'` = yes; then
19926 cat >>confdefs.h <<_ACEOF
19927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19928 _ACEOF
19931 done
19938 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
19939 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
19940 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
19941 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
19942 echo $ECHO_N "(cached) $ECHO_C" >&6
19943 else
19947 ac_ext=cc
19948 ac_cpp='$CXXCPP $CPPFLAGS'
19949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19953 cat >conftest.$ac_ext <<_ACEOF
19954 /* confdefs.h. */
19955 _ACEOF
19956 cat confdefs.h >>conftest.$ac_ext
19957 cat >>conftest.$ac_ext <<_ACEOF
19958 /* end confdefs.h. */
19959 #include <math.h>
19960 #ifdef HAVE_IEEEFP_H
19961 #include <ieeefp.h>
19962 #endif
19965 main ()
19967 fabsl(0);
19969 return 0;
19971 _ACEOF
19972 rm -f conftest.$ac_objext
19973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19974 (eval $ac_compile) 2>conftest.er1
19975 ac_status=$?
19976 grep -v '^ *+' conftest.er1 >conftest.err
19977 rm -f conftest.er1
19978 cat conftest.err >&5
19979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19980 (exit $ac_status); } &&
19981 { ac_try='test -z "$ac_cxx_werror_flag"
19982 || test ! -s conftest.err'
19983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19984 (eval $ac_try) 2>&5
19985 ac_status=$?
19986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987 (exit $ac_status); }; } &&
19988 { ac_try='test -s conftest.$ac_objext'
19989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19990 (eval $ac_try) 2>&5
19991 ac_status=$?
19992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993 (exit $ac_status); }; }; then
19994 glibcxx_cv_func_fabsl_use=yes
19995 else
19996 echo "$as_me: failed program was:" >&5
19997 sed 's/^/| /' conftest.$ac_ext >&5
19999 glibcxx_cv_func_fabsl_use=no
20001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20002 ac_ext=c
20003 ac_cpp='$CPP $CPPFLAGS'
20004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20012 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
20013 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
20015 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
20017 for ac_func in fabsl
20019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20020 echo "$as_me:$LINENO: checking for $ac_func" >&5
20021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20022 if eval "test \"\${$as_ac_var+set}\" = set"; then
20023 echo $ECHO_N "(cached) $ECHO_C" >&6
20024 else
20025 if test x$gcc_no_link = xyes; then
20026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20028 { (exit 1); exit 1; }; }
20030 cat >conftest.$ac_ext <<_ACEOF
20031 /* confdefs.h. */
20032 _ACEOF
20033 cat confdefs.h >>conftest.$ac_ext
20034 cat >>conftest.$ac_ext <<_ACEOF
20035 /* end confdefs.h. */
20036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20038 #define $ac_func innocuous_$ac_func
20040 /* System header to define __stub macros and hopefully few prototypes,
20041 which can conflict with char $ac_func (); below.
20042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20043 <limits.h> exists even on freestanding compilers. */
20045 #ifdef __STDC__
20046 # include <limits.h>
20047 #else
20048 # include <assert.h>
20049 #endif
20051 #undef $ac_func
20053 /* Override any gcc2 internal prototype to avoid an error. */
20054 #ifdef __cplusplus
20055 extern "C"
20057 #endif
20058 /* We use char because int might match the return type of a gcc2
20059 builtin and then its argument prototype would still apply. */
20060 char $ac_func ();
20061 /* The GNU C library defines this for functions which it implements
20062 to always fail with ENOSYS. Some functions are actually named
20063 something starting with __ and the normal name is an alias. */
20064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20065 choke me
20066 #else
20067 char (*f) () = $ac_func;
20068 #endif
20069 #ifdef __cplusplus
20071 #endif
20074 main ()
20076 return f != $ac_func;
20078 return 0;
20080 _ACEOF
20081 rm -f conftest.$ac_objext conftest$ac_exeext
20082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20083 (eval $ac_link) 2>conftest.er1
20084 ac_status=$?
20085 grep -v '^ *+' conftest.er1 >conftest.err
20086 rm -f conftest.er1
20087 cat conftest.err >&5
20088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089 (exit $ac_status); } &&
20090 { ac_try='test -z "$ac_c_werror_flag"
20091 || test ! -s conftest.err'
20092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20093 (eval $ac_try) 2>&5
20094 ac_status=$?
20095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20096 (exit $ac_status); }; } &&
20097 { ac_try='test -s conftest$ac_exeext'
20098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20099 (eval $ac_try) 2>&5
20100 ac_status=$?
20101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20102 (exit $ac_status); }; }; then
20103 eval "$as_ac_var=yes"
20104 else
20105 echo "$as_me: failed program was:" >&5
20106 sed 's/^/| /' conftest.$ac_ext >&5
20108 eval "$as_ac_var=no"
20110 rm -f conftest.err conftest.$ac_objext \
20111 conftest$ac_exeext conftest.$ac_ext
20113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20115 if test `eval echo '${'$as_ac_var'}'` = yes; then
20116 cat >>confdefs.h <<_ACEOF
20117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20118 _ACEOF
20121 done
20123 else
20125 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
20126 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
20127 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
20128 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
20129 echo $ECHO_N "(cached) $ECHO_C" >&6
20130 else
20134 ac_ext=cc
20135 ac_cpp='$CXXCPP $CPPFLAGS'
20136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20140 cat >conftest.$ac_ext <<_ACEOF
20141 /* confdefs.h. */
20142 _ACEOF
20143 cat confdefs.h >>conftest.$ac_ext
20144 cat >>conftest.$ac_ext <<_ACEOF
20145 /* end confdefs.h. */
20146 #include <math.h>
20147 #ifdef HAVE_IEEEFP_H
20148 #include <ieeefp.h>
20149 #endif
20152 main ()
20154 _fabsl(0);
20156 return 0;
20158 _ACEOF
20159 rm -f conftest.$ac_objext
20160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20161 (eval $ac_compile) 2>conftest.er1
20162 ac_status=$?
20163 grep -v '^ *+' conftest.er1 >conftest.err
20164 rm -f conftest.er1
20165 cat conftest.err >&5
20166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167 (exit $ac_status); } &&
20168 { ac_try='test -z "$ac_cxx_werror_flag"
20169 || test ! -s conftest.err'
20170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20171 (eval $ac_try) 2>&5
20172 ac_status=$?
20173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20174 (exit $ac_status); }; } &&
20175 { ac_try='test -s conftest.$ac_objext'
20176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20177 (eval $ac_try) 2>&5
20178 ac_status=$?
20179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20180 (exit $ac_status); }; }; then
20181 glibcxx_cv_func__fabsl_use=yes
20182 else
20183 echo "$as_me: failed program was:" >&5
20184 sed 's/^/| /' conftest.$ac_ext >&5
20186 glibcxx_cv_func__fabsl_use=no
20188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20189 ac_ext=c
20190 ac_cpp='$CPP $CPPFLAGS'
20191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20199 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
20200 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
20202 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
20204 for ac_func in _fabsl
20206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20207 echo "$as_me:$LINENO: checking for $ac_func" >&5
20208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20209 if eval "test \"\${$as_ac_var+set}\" = set"; then
20210 echo $ECHO_N "(cached) $ECHO_C" >&6
20211 else
20212 if test x$gcc_no_link = xyes; then
20213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20215 { (exit 1); exit 1; }; }
20217 cat >conftest.$ac_ext <<_ACEOF
20218 /* confdefs.h. */
20219 _ACEOF
20220 cat confdefs.h >>conftest.$ac_ext
20221 cat >>conftest.$ac_ext <<_ACEOF
20222 /* end confdefs.h. */
20223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20225 #define $ac_func innocuous_$ac_func
20227 /* System header to define __stub macros and hopefully few prototypes,
20228 which can conflict with char $ac_func (); below.
20229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20230 <limits.h> exists even on freestanding compilers. */
20232 #ifdef __STDC__
20233 # include <limits.h>
20234 #else
20235 # include <assert.h>
20236 #endif
20238 #undef $ac_func
20240 /* Override any gcc2 internal prototype to avoid an error. */
20241 #ifdef __cplusplus
20242 extern "C"
20244 #endif
20245 /* We use char because int might match the return type of a gcc2
20246 builtin and then its argument prototype would still apply. */
20247 char $ac_func ();
20248 /* The GNU C library defines this for functions which it implements
20249 to always fail with ENOSYS. Some functions are actually named
20250 something starting with __ and the normal name is an alias. */
20251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20252 choke me
20253 #else
20254 char (*f) () = $ac_func;
20255 #endif
20256 #ifdef __cplusplus
20258 #endif
20261 main ()
20263 return f != $ac_func;
20265 return 0;
20267 _ACEOF
20268 rm -f conftest.$ac_objext conftest$ac_exeext
20269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20270 (eval $ac_link) 2>conftest.er1
20271 ac_status=$?
20272 grep -v '^ *+' conftest.er1 >conftest.err
20273 rm -f conftest.er1
20274 cat conftest.err >&5
20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276 (exit $ac_status); } &&
20277 { ac_try='test -z "$ac_c_werror_flag"
20278 || test ! -s conftest.err'
20279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20280 (eval $ac_try) 2>&5
20281 ac_status=$?
20282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20283 (exit $ac_status); }; } &&
20284 { ac_try='test -s conftest$ac_exeext'
20285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20286 (eval $ac_try) 2>&5
20287 ac_status=$?
20288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289 (exit $ac_status); }; }; then
20290 eval "$as_ac_var=yes"
20291 else
20292 echo "$as_me: failed program was:" >&5
20293 sed 's/^/| /' conftest.$ac_ext >&5
20295 eval "$as_ac_var=no"
20297 rm -f conftest.err conftest.$ac_objext \
20298 conftest$ac_exeext conftest.$ac_ext
20300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20302 if test `eval echo '${'$as_ac_var'}'` = yes; then
20303 cat >>confdefs.h <<_ACEOF
20304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20305 _ACEOF
20308 done
20315 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
20316 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
20317 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
20318 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
20319 echo $ECHO_N "(cached) $ECHO_C" >&6
20320 else
20324 ac_ext=cc
20325 ac_cpp='$CXXCPP $CPPFLAGS'
20326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20330 cat >conftest.$ac_ext <<_ACEOF
20331 /* confdefs.h. */
20332 _ACEOF
20333 cat confdefs.h >>conftest.$ac_ext
20334 cat >>conftest.$ac_ext <<_ACEOF
20335 /* end confdefs.h. */
20336 #include <math.h>
20338 main ()
20340 fmodl(0, 0);
20342 return 0;
20344 _ACEOF
20345 rm -f conftest.$ac_objext
20346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20347 (eval $ac_compile) 2>conftest.er1
20348 ac_status=$?
20349 grep -v '^ *+' conftest.er1 >conftest.err
20350 rm -f conftest.er1
20351 cat conftest.err >&5
20352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20353 (exit $ac_status); } &&
20354 { ac_try='test -z "$ac_cxx_werror_flag"
20355 || test ! -s conftest.err'
20356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20357 (eval $ac_try) 2>&5
20358 ac_status=$?
20359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20360 (exit $ac_status); }; } &&
20361 { ac_try='test -s conftest.$ac_objext'
20362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20363 (eval $ac_try) 2>&5
20364 ac_status=$?
20365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20366 (exit $ac_status); }; }; then
20367 glibcxx_cv_func_fmodl_use=yes
20368 else
20369 echo "$as_me: failed program was:" >&5
20370 sed 's/^/| /' conftest.$ac_ext >&5
20372 glibcxx_cv_func_fmodl_use=no
20374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20375 ac_ext=c
20376 ac_cpp='$CPP $CPPFLAGS'
20377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20385 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
20386 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
20388 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
20390 for ac_func in fmodl
20392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20393 echo "$as_me:$LINENO: checking for $ac_func" >&5
20394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20395 if eval "test \"\${$as_ac_var+set}\" = set"; then
20396 echo $ECHO_N "(cached) $ECHO_C" >&6
20397 else
20398 if test x$gcc_no_link = xyes; then
20399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20401 { (exit 1); exit 1; }; }
20403 cat >conftest.$ac_ext <<_ACEOF
20404 /* confdefs.h. */
20405 _ACEOF
20406 cat confdefs.h >>conftest.$ac_ext
20407 cat >>conftest.$ac_ext <<_ACEOF
20408 /* end confdefs.h. */
20409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20411 #define $ac_func innocuous_$ac_func
20413 /* System header to define __stub macros and hopefully few prototypes,
20414 which can conflict with char $ac_func (); below.
20415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20416 <limits.h> exists even on freestanding compilers. */
20418 #ifdef __STDC__
20419 # include <limits.h>
20420 #else
20421 # include <assert.h>
20422 #endif
20424 #undef $ac_func
20426 /* Override any gcc2 internal prototype to avoid an error. */
20427 #ifdef __cplusplus
20428 extern "C"
20430 #endif
20431 /* We use char because int might match the return type of a gcc2
20432 builtin and then its argument prototype would still apply. */
20433 char $ac_func ();
20434 /* The GNU C library defines this for functions which it implements
20435 to always fail with ENOSYS. Some functions are actually named
20436 something starting with __ and the normal name is an alias. */
20437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20438 choke me
20439 #else
20440 char (*f) () = $ac_func;
20441 #endif
20442 #ifdef __cplusplus
20444 #endif
20447 main ()
20449 return f != $ac_func;
20451 return 0;
20453 _ACEOF
20454 rm -f conftest.$ac_objext conftest$ac_exeext
20455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20456 (eval $ac_link) 2>conftest.er1
20457 ac_status=$?
20458 grep -v '^ *+' conftest.er1 >conftest.err
20459 rm -f conftest.er1
20460 cat conftest.err >&5
20461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462 (exit $ac_status); } &&
20463 { ac_try='test -z "$ac_c_werror_flag"
20464 || test ! -s conftest.err'
20465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20466 (eval $ac_try) 2>&5
20467 ac_status=$?
20468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469 (exit $ac_status); }; } &&
20470 { ac_try='test -s conftest$ac_exeext'
20471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20472 (eval $ac_try) 2>&5
20473 ac_status=$?
20474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20475 (exit $ac_status); }; }; then
20476 eval "$as_ac_var=yes"
20477 else
20478 echo "$as_me: failed program was:" >&5
20479 sed 's/^/| /' conftest.$ac_ext >&5
20481 eval "$as_ac_var=no"
20483 rm -f conftest.err conftest.$ac_objext \
20484 conftest$ac_exeext conftest.$ac_ext
20486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20488 if test `eval echo '${'$as_ac_var'}'` = yes; then
20489 cat >>confdefs.h <<_ACEOF
20490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20491 _ACEOF
20494 done
20496 else
20498 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
20499 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
20500 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
20501 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
20502 echo $ECHO_N "(cached) $ECHO_C" >&6
20503 else
20507 ac_ext=cc
20508 ac_cpp='$CXXCPP $CPPFLAGS'
20509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20513 cat >conftest.$ac_ext <<_ACEOF
20514 /* confdefs.h. */
20515 _ACEOF
20516 cat confdefs.h >>conftest.$ac_ext
20517 cat >>conftest.$ac_ext <<_ACEOF
20518 /* end confdefs.h. */
20519 #include <math.h>
20521 main ()
20523 _fmodl(0, 0);
20525 return 0;
20527 _ACEOF
20528 rm -f conftest.$ac_objext
20529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20530 (eval $ac_compile) 2>conftest.er1
20531 ac_status=$?
20532 grep -v '^ *+' conftest.er1 >conftest.err
20533 rm -f conftest.er1
20534 cat conftest.err >&5
20535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20536 (exit $ac_status); } &&
20537 { ac_try='test -z "$ac_cxx_werror_flag"
20538 || test ! -s conftest.err'
20539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20540 (eval $ac_try) 2>&5
20541 ac_status=$?
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); }; } &&
20544 { ac_try='test -s conftest.$ac_objext'
20545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20546 (eval $ac_try) 2>&5
20547 ac_status=$?
20548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20549 (exit $ac_status); }; }; then
20550 glibcxx_cv_func__fmodl_use=yes
20551 else
20552 echo "$as_me: failed program was:" >&5
20553 sed 's/^/| /' conftest.$ac_ext >&5
20555 glibcxx_cv_func__fmodl_use=no
20557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20558 ac_ext=c
20559 ac_cpp='$CPP $CPPFLAGS'
20560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20568 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
20569 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
20571 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
20573 for ac_func in _fmodl
20575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20576 echo "$as_me:$LINENO: checking for $ac_func" >&5
20577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20578 if eval "test \"\${$as_ac_var+set}\" = set"; then
20579 echo $ECHO_N "(cached) $ECHO_C" >&6
20580 else
20581 if test x$gcc_no_link = xyes; then
20582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20584 { (exit 1); exit 1; }; }
20586 cat >conftest.$ac_ext <<_ACEOF
20587 /* confdefs.h. */
20588 _ACEOF
20589 cat confdefs.h >>conftest.$ac_ext
20590 cat >>conftest.$ac_ext <<_ACEOF
20591 /* end confdefs.h. */
20592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20594 #define $ac_func innocuous_$ac_func
20596 /* System header to define __stub macros and hopefully few prototypes,
20597 which can conflict with char $ac_func (); below.
20598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20599 <limits.h> exists even on freestanding compilers. */
20601 #ifdef __STDC__
20602 # include <limits.h>
20603 #else
20604 # include <assert.h>
20605 #endif
20607 #undef $ac_func
20609 /* Override any gcc2 internal prototype to avoid an error. */
20610 #ifdef __cplusplus
20611 extern "C"
20613 #endif
20614 /* We use char because int might match the return type of a gcc2
20615 builtin and then its argument prototype would still apply. */
20616 char $ac_func ();
20617 /* The GNU C library defines this for functions which it implements
20618 to always fail with ENOSYS. Some functions are actually named
20619 something starting with __ and the normal name is an alias. */
20620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20621 choke me
20622 #else
20623 char (*f) () = $ac_func;
20624 #endif
20625 #ifdef __cplusplus
20627 #endif
20630 main ()
20632 return f != $ac_func;
20634 return 0;
20636 _ACEOF
20637 rm -f conftest.$ac_objext conftest$ac_exeext
20638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20639 (eval $ac_link) 2>conftest.er1
20640 ac_status=$?
20641 grep -v '^ *+' conftest.er1 >conftest.err
20642 rm -f conftest.er1
20643 cat conftest.err >&5
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); } &&
20646 { ac_try='test -z "$ac_c_werror_flag"
20647 || test ! -s conftest.err'
20648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20649 (eval $ac_try) 2>&5
20650 ac_status=$?
20651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20652 (exit $ac_status); }; } &&
20653 { ac_try='test -s conftest$ac_exeext'
20654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20655 (eval $ac_try) 2>&5
20656 ac_status=$?
20657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20658 (exit $ac_status); }; }; then
20659 eval "$as_ac_var=yes"
20660 else
20661 echo "$as_me: failed program was:" >&5
20662 sed 's/^/| /' conftest.$ac_ext >&5
20664 eval "$as_ac_var=no"
20666 rm -f conftest.err conftest.$ac_objext \
20667 conftest$ac_exeext conftest.$ac_ext
20669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20671 if test `eval echo '${'$as_ac_var'}'` = yes; then
20672 cat >>confdefs.h <<_ACEOF
20673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20674 _ACEOF
20677 done
20684 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
20685 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
20686 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
20687 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
20688 echo $ECHO_N "(cached) $ECHO_C" >&6
20689 else
20693 ac_ext=cc
20694 ac_cpp='$CXXCPP $CPPFLAGS'
20695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20699 cat >conftest.$ac_ext <<_ACEOF
20700 /* confdefs.h. */
20701 _ACEOF
20702 cat confdefs.h >>conftest.$ac_ext
20703 cat >>conftest.$ac_ext <<_ACEOF
20704 /* end confdefs.h. */
20705 #include <math.h>
20707 main ()
20709 frexpl(0, 0);
20711 return 0;
20713 _ACEOF
20714 rm -f conftest.$ac_objext
20715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20716 (eval $ac_compile) 2>conftest.er1
20717 ac_status=$?
20718 grep -v '^ *+' conftest.er1 >conftest.err
20719 rm -f conftest.er1
20720 cat conftest.err >&5
20721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20722 (exit $ac_status); } &&
20723 { ac_try='test -z "$ac_cxx_werror_flag"
20724 || test ! -s conftest.err'
20725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20726 (eval $ac_try) 2>&5
20727 ac_status=$?
20728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20729 (exit $ac_status); }; } &&
20730 { ac_try='test -s conftest.$ac_objext'
20731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20732 (eval $ac_try) 2>&5
20733 ac_status=$?
20734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735 (exit $ac_status); }; }; then
20736 glibcxx_cv_func_frexpl_use=yes
20737 else
20738 echo "$as_me: failed program was:" >&5
20739 sed 's/^/| /' conftest.$ac_ext >&5
20741 glibcxx_cv_func_frexpl_use=no
20743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20744 ac_ext=c
20745 ac_cpp='$CPP $CPPFLAGS'
20746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20754 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
20755 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
20757 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
20759 for ac_func in frexpl
20761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20762 echo "$as_me:$LINENO: checking for $ac_func" >&5
20763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20764 if eval "test \"\${$as_ac_var+set}\" = set"; then
20765 echo $ECHO_N "(cached) $ECHO_C" >&6
20766 else
20767 if test x$gcc_no_link = xyes; then
20768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20770 { (exit 1); exit 1; }; }
20772 cat >conftest.$ac_ext <<_ACEOF
20773 /* confdefs.h. */
20774 _ACEOF
20775 cat confdefs.h >>conftest.$ac_ext
20776 cat >>conftest.$ac_ext <<_ACEOF
20777 /* end confdefs.h. */
20778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20780 #define $ac_func innocuous_$ac_func
20782 /* System header to define __stub macros and hopefully few prototypes,
20783 which can conflict with char $ac_func (); below.
20784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20785 <limits.h> exists even on freestanding compilers. */
20787 #ifdef __STDC__
20788 # include <limits.h>
20789 #else
20790 # include <assert.h>
20791 #endif
20793 #undef $ac_func
20795 /* Override any gcc2 internal prototype to avoid an error. */
20796 #ifdef __cplusplus
20797 extern "C"
20799 #endif
20800 /* We use char because int might match the return type of a gcc2
20801 builtin and then its argument prototype would still apply. */
20802 char $ac_func ();
20803 /* The GNU C library defines this for functions which it implements
20804 to always fail with ENOSYS. Some functions are actually named
20805 something starting with __ and the normal name is an alias. */
20806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20807 choke me
20808 #else
20809 char (*f) () = $ac_func;
20810 #endif
20811 #ifdef __cplusplus
20813 #endif
20816 main ()
20818 return f != $ac_func;
20820 return 0;
20822 _ACEOF
20823 rm -f conftest.$ac_objext conftest$ac_exeext
20824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20825 (eval $ac_link) 2>conftest.er1
20826 ac_status=$?
20827 grep -v '^ *+' conftest.er1 >conftest.err
20828 rm -f conftest.er1
20829 cat conftest.err >&5
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); } &&
20832 { ac_try='test -z "$ac_c_werror_flag"
20833 || test ! -s conftest.err'
20834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20835 (eval $ac_try) 2>&5
20836 ac_status=$?
20837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20838 (exit $ac_status); }; } &&
20839 { ac_try='test -s conftest$ac_exeext'
20840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20841 (eval $ac_try) 2>&5
20842 ac_status=$?
20843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20844 (exit $ac_status); }; }; then
20845 eval "$as_ac_var=yes"
20846 else
20847 echo "$as_me: failed program was:" >&5
20848 sed 's/^/| /' conftest.$ac_ext >&5
20850 eval "$as_ac_var=no"
20852 rm -f conftest.err conftest.$ac_objext \
20853 conftest$ac_exeext conftest.$ac_ext
20855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20857 if test `eval echo '${'$as_ac_var'}'` = yes; then
20858 cat >>confdefs.h <<_ACEOF
20859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20860 _ACEOF
20863 done
20865 else
20867 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
20868 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
20869 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
20870 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
20871 echo $ECHO_N "(cached) $ECHO_C" >&6
20872 else
20876 ac_ext=cc
20877 ac_cpp='$CXXCPP $CPPFLAGS'
20878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20882 cat >conftest.$ac_ext <<_ACEOF
20883 /* confdefs.h. */
20884 _ACEOF
20885 cat confdefs.h >>conftest.$ac_ext
20886 cat >>conftest.$ac_ext <<_ACEOF
20887 /* end confdefs.h. */
20888 #include <math.h>
20890 main ()
20892 _frexpl(0, 0);
20894 return 0;
20896 _ACEOF
20897 rm -f conftest.$ac_objext
20898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20899 (eval $ac_compile) 2>conftest.er1
20900 ac_status=$?
20901 grep -v '^ *+' conftest.er1 >conftest.err
20902 rm -f conftest.er1
20903 cat conftest.err >&5
20904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20905 (exit $ac_status); } &&
20906 { ac_try='test -z "$ac_cxx_werror_flag"
20907 || test ! -s conftest.err'
20908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20909 (eval $ac_try) 2>&5
20910 ac_status=$?
20911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20912 (exit $ac_status); }; } &&
20913 { ac_try='test -s conftest.$ac_objext'
20914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20915 (eval $ac_try) 2>&5
20916 ac_status=$?
20917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20918 (exit $ac_status); }; }; then
20919 glibcxx_cv_func__frexpl_use=yes
20920 else
20921 echo "$as_me: failed program was:" >&5
20922 sed 's/^/| /' conftest.$ac_ext >&5
20924 glibcxx_cv_func__frexpl_use=no
20926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20927 ac_ext=c
20928 ac_cpp='$CPP $CPPFLAGS'
20929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20937 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
20938 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
20940 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
20942 for ac_func in _frexpl
20944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20945 echo "$as_me:$LINENO: checking for $ac_func" >&5
20946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20947 if eval "test \"\${$as_ac_var+set}\" = set"; then
20948 echo $ECHO_N "(cached) $ECHO_C" >&6
20949 else
20950 if test x$gcc_no_link = xyes; then
20951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20953 { (exit 1); exit 1; }; }
20955 cat >conftest.$ac_ext <<_ACEOF
20956 /* confdefs.h. */
20957 _ACEOF
20958 cat confdefs.h >>conftest.$ac_ext
20959 cat >>conftest.$ac_ext <<_ACEOF
20960 /* end confdefs.h. */
20961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20963 #define $ac_func innocuous_$ac_func
20965 /* System header to define __stub macros and hopefully few prototypes,
20966 which can conflict with char $ac_func (); below.
20967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20968 <limits.h> exists even on freestanding compilers. */
20970 #ifdef __STDC__
20971 # include <limits.h>
20972 #else
20973 # include <assert.h>
20974 #endif
20976 #undef $ac_func
20978 /* Override any gcc2 internal prototype to avoid an error. */
20979 #ifdef __cplusplus
20980 extern "C"
20982 #endif
20983 /* We use char because int might match the return type of a gcc2
20984 builtin and then its argument prototype would still apply. */
20985 char $ac_func ();
20986 /* The GNU C library defines this for functions which it implements
20987 to always fail with ENOSYS. Some functions are actually named
20988 something starting with __ and the normal name is an alias. */
20989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20990 choke me
20991 #else
20992 char (*f) () = $ac_func;
20993 #endif
20994 #ifdef __cplusplus
20996 #endif
20999 main ()
21001 return f != $ac_func;
21003 return 0;
21005 _ACEOF
21006 rm -f conftest.$ac_objext conftest$ac_exeext
21007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21008 (eval $ac_link) 2>conftest.er1
21009 ac_status=$?
21010 grep -v '^ *+' conftest.er1 >conftest.err
21011 rm -f conftest.er1
21012 cat conftest.err >&5
21013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21014 (exit $ac_status); } &&
21015 { ac_try='test -z "$ac_c_werror_flag"
21016 || test ! -s conftest.err'
21017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21018 (eval $ac_try) 2>&5
21019 ac_status=$?
21020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21021 (exit $ac_status); }; } &&
21022 { ac_try='test -s conftest$ac_exeext'
21023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21024 (eval $ac_try) 2>&5
21025 ac_status=$?
21026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027 (exit $ac_status); }; }; then
21028 eval "$as_ac_var=yes"
21029 else
21030 echo "$as_me: failed program was:" >&5
21031 sed 's/^/| /' conftest.$ac_ext >&5
21033 eval "$as_ac_var=no"
21035 rm -f conftest.err conftest.$ac_objext \
21036 conftest$ac_exeext conftest.$ac_ext
21038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21040 if test `eval echo '${'$as_ac_var'}'` = yes; then
21041 cat >>confdefs.h <<_ACEOF
21042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21043 _ACEOF
21046 done
21053 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
21054 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
21055 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
21056 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
21057 echo $ECHO_N "(cached) $ECHO_C" >&6
21058 else
21062 ac_ext=cc
21063 ac_cpp='$CXXCPP $CPPFLAGS'
21064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21068 cat >conftest.$ac_ext <<_ACEOF
21069 /* confdefs.h. */
21070 _ACEOF
21071 cat confdefs.h >>conftest.$ac_ext
21072 cat >>conftest.$ac_ext <<_ACEOF
21073 /* end confdefs.h. */
21074 #include <math.h>
21076 main ()
21078 hypotl(0, 0);
21080 return 0;
21082 _ACEOF
21083 rm -f conftest.$ac_objext
21084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21085 (eval $ac_compile) 2>conftest.er1
21086 ac_status=$?
21087 grep -v '^ *+' conftest.er1 >conftest.err
21088 rm -f conftest.er1
21089 cat conftest.err >&5
21090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21091 (exit $ac_status); } &&
21092 { ac_try='test -z "$ac_cxx_werror_flag"
21093 || test ! -s conftest.err'
21094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21095 (eval $ac_try) 2>&5
21096 ac_status=$?
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); }; } &&
21099 { ac_try='test -s conftest.$ac_objext'
21100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21101 (eval $ac_try) 2>&5
21102 ac_status=$?
21103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21104 (exit $ac_status); }; }; then
21105 glibcxx_cv_func_hypotl_use=yes
21106 else
21107 echo "$as_me: failed program was:" >&5
21108 sed 's/^/| /' conftest.$ac_ext >&5
21110 glibcxx_cv_func_hypotl_use=no
21112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21113 ac_ext=c
21114 ac_cpp='$CPP $CPPFLAGS'
21115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21123 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
21124 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
21126 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
21128 for ac_func in hypotl
21130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21131 echo "$as_me:$LINENO: checking for $ac_func" >&5
21132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21133 if eval "test \"\${$as_ac_var+set}\" = set"; then
21134 echo $ECHO_N "(cached) $ECHO_C" >&6
21135 else
21136 if test x$gcc_no_link = xyes; then
21137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21139 { (exit 1); exit 1; }; }
21141 cat >conftest.$ac_ext <<_ACEOF
21142 /* confdefs.h. */
21143 _ACEOF
21144 cat confdefs.h >>conftest.$ac_ext
21145 cat >>conftest.$ac_ext <<_ACEOF
21146 /* end confdefs.h. */
21147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21149 #define $ac_func innocuous_$ac_func
21151 /* System header to define __stub macros and hopefully few prototypes,
21152 which can conflict with char $ac_func (); below.
21153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21154 <limits.h> exists even on freestanding compilers. */
21156 #ifdef __STDC__
21157 # include <limits.h>
21158 #else
21159 # include <assert.h>
21160 #endif
21162 #undef $ac_func
21164 /* Override any gcc2 internal prototype to avoid an error. */
21165 #ifdef __cplusplus
21166 extern "C"
21168 #endif
21169 /* We use char because int might match the return type of a gcc2
21170 builtin and then its argument prototype would still apply. */
21171 char $ac_func ();
21172 /* The GNU C library defines this for functions which it implements
21173 to always fail with ENOSYS. Some functions are actually named
21174 something starting with __ and the normal name is an alias. */
21175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21176 choke me
21177 #else
21178 char (*f) () = $ac_func;
21179 #endif
21180 #ifdef __cplusplus
21182 #endif
21185 main ()
21187 return f != $ac_func;
21189 return 0;
21191 _ACEOF
21192 rm -f conftest.$ac_objext conftest$ac_exeext
21193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21194 (eval $ac_link) 2>conftest.er1
21195 ac_status=$?
21196 grep -v '^ *+' conftest.er1 >conftest.err
21197 rm -f conftest.er1
21198 cat conftest.err >&5
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); } &&
21201 { ac_try='test -z "$ac_c_werror_flag"
21202 || test ! -s conftest.err'
21203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21204 (eval $ac_try) 2>&5
21205 ac_status=$?
21206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21207 (exit $ac_status); }; } &&
21208 { ac_try='test -s conftest$ac_exeext'
21209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21210 (eval $ac_try) 2>&5
21211 ac_status=$?
21212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21213 (exit $ac_status); }; }; then
21214 eval "$as_ac_var=yes"
21215 else
21216 echo "$as_me: failed program was:" >&5
21217 sed 's/^/| /' conftest.$ac_ext >&5
21219 eval "$as_ac_var=no"
21221 rm -f conftest.err conftest.$ac_objext \
21222 conftest$ac_exeext conftest.$ac_ext
21224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21226 if test `eval echo '${'$as_ac_var'}'` = yes; then
21227 cat >>confdefs.h <<_ACEOF
21228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21229 _ACEOF
21232 done
21234 else
21236 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
21237 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
21238 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
21239 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
21240 echo $ECHO_N "(cached) $ECHO_C" >&6
21241 else
21245 ac_ext=cc
21246 ac_cpp='$CXXCPP $CPPFLAGS'
21247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21251 cat >conftest.$ac_ext <<_ACEOF
21252 /* confdefs.h. */
21253 _ACEOF
21254 cat confdefs.h >>conftest.$ac_ext
21255 cat >>conftest.$ac_ext <<_ACEOF
21256 /* end confdefs.h. */
21257 #include <math.h>
21259 main ()
21261 _hypotl(0, 0);
21263 return 0;
21265 _ACEOF
21266 rm -f conftest.$ac_objext
21267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21268 (eval $ac_compile) 2>conftest.er1
21269 ac_status=$?
21270 grep -v '^ *+' conftest.er1 >conftest.err
21271 rm -f conftest.er1
21272 cat conftest.err >&5
21273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21274 (exit $ac_status); } &&
21275 { ac_try='test -z "$ac_cxx_werror_flag"
21276 || test ! -s conftest.err'
21277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21278 (eval $ac_try) 2>&5
21279 ac_status=$?
21280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21281 (exit $ac_status); }; } &&
21282 { ac_try='test -s conftest.$ac_objext'
21283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21284 (eval $ac_try) 2>&5
21285 ac_status=$?
21286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21287 (exit $ac_status); }; }; then
21288 glibcxx_cv_func__hypotl_use=yes
21289 else
21290 echo "$as_me: failed program was:" >&5
21291 sed 's/^/| /' conftest.$ac_ext >&5
21293 glibcxx_cv_func__hypotl_use=no
21295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21296 ac_ext=c
21297 ac_cpp='$CPP $CPPFLAGS'
21298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21306 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
21307 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
21309 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
21311 for ac_func in _hypotl
21313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21314 echo "$as_me:$LINENO: checking for $ac_func" >&5
21315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21316 if eval "test \"\${$as_ac_var+set}\" = set"; then
21317 echo $ECHO_N "(cached) $ECHO_C" >&6
21318 else
21319 if test x$gcc_no_link = xyes; then
21320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21322 { (exit 1); exit 1; }; }
21324 cat >conftest.$ac_ext <<_ACEOF
21325 /* confdefs.h. */
21326 _ACEOF
21327 cat confdefs.h >>conftest.$ac_ext
21328 cat >>conftest.$ac_ext <<_ACEOF
21329 /* end confdefs.h. */
21330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21332 #define $ac_func innocuous_$ac_func
21334 /* System header to define __stub macros and hopefully few prototypes,
21335 which can conflict with char $ac_func (); below.
21336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21337 <limits.h> exists even on freestanding compilers. */
21339 #ifdef __STDC__
21340 # include <limits.h>
21341 #else
21342 # include <assert.h>
21343 #endif
21345 #undef $ac_func
21347 /* Override any gcc2 internal prototype to avoid an error. */
21348 #ifdef __cplusplus
21349 extern "C"
21351 #endif
21352 /* We use char because int might match the return type of a gcc2
21353 builtin and then its argument prototype would still apply. */
21354 char $ac_func ();
21355 /* The GNU C library defines this for functions which it implements
21356 to always fail with ENOSYS. Some functions are actually named
21357 something starting with __ and the normal name is an alias. */
21358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21359 choke me
21360 #else
21361 char (*f) () = $ac_func;
21362 #endif
21363 #ifdef __cplusplus
21365 #endif
21368 main ()
21370 return f != $ac_func;
21372 return 0;
21374 _ACEOF
21375 rm -f conftest.$ac_objext conftest$ac_exeext
21376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21377 (eval $ac_link) 2>conftest.er1
21378 ac_status=$?
21379 grep -v '^ *+' conftest.er1 >conftest.err
21380 rm -f conftest.er1
21381 cat conftest.err >&5
21382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21383 (exit $ac_status); } &&
21384 { ac_try='test -z "$ac_c_werror_flag"
21385 || test ! -s conftest.err'
21386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21387 (eval $ac_try) 2>&5
21388 ac_status=$?
21389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21390 (exit $ac_status); }; } &&
21391 { ac_try='test -s conftest$ac_exeext'
21392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21393 (eval $ac_try) 2>&5
21394 ac_status=$?
21395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21396 (exit $ac_status); }; }; then
21397 eval "$as_ac_var=yes"
21398 else
21399 echo "$as_me: failed program was:" >&5
21400 sed 's/^/| /' conftest.$ac_ext >&5
21402 eval "$as_ac_var=no"
21404 rm -f conftest.err conftest.$ac_objext \
21405 conftest$ac_exeext conftest.$ac_ext
21407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21409 if test `eval echo '${'$as_ac_var'}'` = yes; then
21410 cat >>confdefs.h <<_ACEOF
21411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21412 _ACEOF
21415 done
21422 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
21423 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
21424 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
21425 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
21426 echo $ECHO_N "(cached) $ECHO_C" >&6
21427 else
21431 ac_ext=cc
21432 ac_cpp='$CXXCPP $CPPFLAGS'
21433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21437 cat >conftest.$ac_ext <<_ACEOF
21438 /* confdefs.h. */
21439 _ACEOF
21440 cat confdefs.h >>conftest.$ac_ext
21441 cat >>conftest.$ac_ext <<_ACEOF
21442 /* end confdefs.h. */
21443 #include <math.h>
21445 main ()
21447 ldexpl(0, 0);
21449 return 0;
21451 _ACEOF
21452 rm -f conftest.$ac_objext
21453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21454 (eval $ac_compile) 2>conftest.er1
21455 ac_status=$?
21456 grep -v '^ *+' conftest.er1 >conftest.err
21457 rm -f conftest.er1
21458 cat conftest.err >&5
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 (exit $ac_status); } &&
21461 { ac_try='test -z "$ac_cxx_werror_flag"
21462 || test ! -s conftest.err'
21463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21464 (eval $ac_try) 2>&5
21465 ac_status=$?
21466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21467 (exit $ac_status); }; } &&
21468 { ac_try='test -s conftest.$ac_objext'
21469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21470 (eval $ac_try) 2>&5
21471 ac_status=$?
21472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21473 (exit $ac_status); }; }; then
21474 glibcxx_cv_func_ldexpl_use=yes
21475 else
21476 echo "$as_me: failed program was:" >&5
21477 sed 's/^/| /' conftest.$ac_ext >&5
21479 glibcxx_cv_func_ldexpl_use=no
21481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21482 ac_ext=c
21483 ac_cpp='$CPP $CPPFLAGS'
21484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21492 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
21493 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
21495 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
21497 for ac_func in ldexpl
21499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21500 echo "$as_me:$LINENO: checking for $ac_func" >&5
21501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21502 if eval "test \"\${$as_ac_var+set}\" = set"; then
21503 echo $ECHO_N "(cached) $ECHO_C" >&6
21504 else
21505 if test x$gcc_no_link = xyes; then
21506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21508 { (exit 1); exit 1; }; }
21510 cat >conftest.$ac_ext <<_ACEOF
21511 /* confdefs.h. */
21512 _ACEOF
21513 cat confdefs.h >>conftest.$ac_ext
21514 cat >>conftest.$ac_ext <<_ACEOF
21515 /* end confdefs.h. */
21516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21518 #define $ac_func innocuous_$ac_func
21520 /* System header to define __stub macros and hopefully few prototypes,
21521 which can conflict with char $ac_func (); below.
21522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21523 <limits.h> exists even on freestanding compilers. */
21525 #ifdef __STDC__
21526 # include <limits.h>
21527 #else
21528 # include <assert.h>
21529 #endif
21531 #undef $ac_func
21533 /* Override any gcc2 internal prototype to avoid an error. */
21534 #ifdef __cplusplus
21535 extern "C"
21537 #endif
21538 /* We use char because int might match the return type of a gcc2
21539 builtin and then its argument prototype would still apply. */
21540 char $ac_func ();
21541 /* The GNU C library defines this for functions which it implements
21542 to always fail with ENOSYS. Some functions are actually named
21543 something starting with __ and the normal name is an alias. */
21544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21545 choke me
21546 #else
21547 char (*f) () = $ac_func;
21548 #endif
21549 #ifdef __cplusplus
21551 #endif
21554 main ()
21556 return f != $ac_func;
21558 return 0;
21560 _ACEOF
21561 rm -f conftest.$ac_objext conftest$ac_exeext
21562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21563 (eval $ac_link) 2>conftest.er1
21564 ac_status=$?
21565 grep -v '^ *+' conftest.er1 >conftest.err
21566 rm -f conftest.er1
21567 cat conftest.err >&5
21568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21569 (exit $ac_status); } &&
21570 { ac_try='test -z "$ac_c_werror_flag"
21571 || test ! -s conftest.err'
21572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21573 (eval $ac_try) 2>&5
21574 ac_status=$?
21575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21576 (exit $ac_status); }; } &&
21577 { ac_try='test -s conftest$ac_exeext'
21578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21579 (eval $ac_try) 2>&5
21580 ac_status=$?
21581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21582 (exit $ac_status); }; }; then
21583 eval "$as_ac_var=yes"
21584 else
21585 echo "$as_me: failed program was:" >&5
21586 sed 's/^/| /' conftest.$ac_ext >&5
21588 eval "$as_ac_var=no"
21590 rm -f conftest.err conftest.$ac_objext \
21591 conftest$ac_exeext conftest.$ac_ext
21593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21595 if test `eval echo '${'$as_ac_var'}'` = yes; then
21596 cat >>confdefs.h <<_ACEOF
21597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21598 _ACEOF
21601 done
21603 else
21605 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
21606 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
21607 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
21608 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
21609 echo $ECHO_N "(cached) $ECHO_C" >&6
21610 else
21614 ac_ext=cc
21615 ac_cpp='$CXXCPP $CPPFLAGS'
21616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21620 cat >conftest.$ac_ext <<_ACEOF
21621 /* confdefs.h. */
21622 _ACEOF
21623 cat confdefs.h >>conftest.$ac_ext
21624 cat >>conftest.$ac_ext <<_ACEOF
21625 /* end confdefs.h. */
21626 #include <math.h>
21628 main ()
21630 _ldexpl(0, 0);
21632 return 0;
21634 _ACEOF
21635 rm -f conftest.$ac_objext
21636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21637 (eval $ac_compile) 2>conftest.er1
21638 ac_status=$?
21639 grep -v '^ *+' conftest.er1 >conftest.err
21640 rm -f conftest.er1
21641 cat conftest.err >&5
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); } &&
21644 { ac_try='test -z "$ac_cxx_werror_flag"
21645 || test ! -s conftest.err'
21646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21647 (eval $ac_try) 2>&5
21648 ac_status=$?
21649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21650 (exit $ac_status); }; } &&
21651 { ac_try='test -s conftest.$ac_objext'
21652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21653 (eval $ac_try) 2>&5
21654 ac_status=$?
21655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21656 (exit $ac_status); }; }; then
21657 glibcxx_cv_func__ldexpl_use=yes
21658 else
21659 echo "$as_me: failed program was:" >&5
21660 sed 's/^/| /' conftest.$ac_ext >&5
21662 glibcxx_cv_func__ldexpl_use=no
21664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21665 ac_ext=c
21666 ac_cpp='$CPP $CPPFLAGS'
21667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21675 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
21676 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
21678 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
21680 for ac_func in _ldexpl
21682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21683 echo "$as_me:$LINENO: checking for $ac_func" >&5
21684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21685 if eval "test \"\${$as_ac_var+set}\" = set"; then
21686 echo $ECHO_N "(cached) $ECHO_C" >&6
21687 else
21688 if test x$gcc_no_link = xyes; then
21689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21691 { (exit 1); exit 1; }; }
21693 cat >conftest.$ac_ext <<_ACEOF
21694 /* confdefs.h. */
21695 _ACEOF
21696 cat confdefs.h >>conftest.$ac_ext
21697 cat >>conftest.$ac_ext <<_ACEOF
21698 /* end confdefs.h. */
21699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21701 #define $ac_func innocuous_$ac_func
21703 /* System header to define __stub macros and hopefully few prototypes,
21704 which can conflict with char $ac_func (); below.
21705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21706 <limits.h> exists even on freestanding compilers. */
21708 #ifdef __STDC__
21709 # include <limits.h>
21710 #else
21711 # include <assert.h>
21712 #endif
21714 #undef $ac_func
21716 /* Override any gcc2 internal prototype to avoid an error. */
21717 #ifdef __cplusplus
21718 extern "C"
21720 #endif
21721 /* We use char because int might match the return type of a gcc2
21722 builtin and then its argument prototype would still apply. */
21723 char $ac_func ();
21724 /* The GNU C library defines this for functions which it implements
21725 to always fail with ENOSYS. Some functions are actually named
21726 something starting with __ and the normal name is an alias. */
21727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21728 choke me
21729 #else
21730 char (*f) () = $ac_func;
21731 #endif
21732 #ifdef __cplusplus
21734 #endif
21737 main ()
21739 return f != $ac_func;
21741 return 0;
21743 _ACEOF
21744 rm -f conftest.$ac_objext conftest$ac_exeext
21745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21746 (eval $ac_link) 2>conftest.er1
21747 ac_status=$?
21748 grep -v '^ *+' conftest.er1 >conftest.err
21749 rm -f conftest.er1
21750 cat conftest.err >&5
21751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21752 (exit $ac_status); } &&
21753 { ac_try='test -z "$ac_c_werror_flag"
21754 || test ! -s conftest.err'
21755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21756 (eval $ac_try) 2>&5
21757 ac_status=$?
21758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21759 (exit $ac_status); }; } &&
21760 { ac_try='test -s conftest$ac_exeext'
21761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21762 (eval $ac_try) 2>&5
21763 ac_status=$?
21764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21765 (exit $ac_status); }; }; then
21766 eval "$as_ac_var=yes"
21767 else
21768 echo "$as_me: failed program was:" >&5
21769 sed 's/^/| /' conftest.$ac_ext >&5
21771 eval "$as_ac_var=no"
21773 rm -f conftest.err conftest.$ac_objext \
21774 conftest$ac_exeext conftest.$ac_ext
21776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21778 if test `eval echo '${'$as_ac_var'}'` = yes; then
21779 cat >>confdefs.h <<_ACEOF
21780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21781 _ACEOF
21784 done
21791 echo "$as_me:$LINENO: checking for logl declaration" >&5
21792 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
21793 if test x${glibcxx_cv_func_logl_use+set} != xset; then
21794 if test "${glibcxx_cv_func_logl_use+set}" = set; then
21795 echo $ECHO_N "(cached) $ECHO_C" >&6
21796 else
21800 ac_ext=cc
21801 ac_cpp='$CXXCPP $CPPFLAGS'
21802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21806 cat >conftest.$ac_ext <<_ACEOF
21807 /* confdefs.h. */
21808 _ACEOF
21809 cat confdefs.h >>conftest.$ac_ext
21810 cat >>conftest.$ac_ext <<_ACEOF
21811 /* end confdefs.h. */
21812 #include <math.h>
21813 #ifdef HAVE_IEEEFP_H
21814 #include <ieeefp.h>
21815 #endif
21818 main ()
21820 logl(0);
21822 return 0;
21824 _ACEOF
21825 rm -f conftest.$ac_objext
21826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21827 (eval $ac_compile) 2>conftest.er1
21828 ac_status=$?
21829 grep -v '^ *+' conftest.er1 >conftest.err
21830 rm -f conftest.er1
21831 cat conftest.err >&5
21832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21833 (exit $ac_status); } &&
21834 { ac_try='test -z "$ac_cxx_werror_flag"
21835 || test ! -s conftest.err'
21836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21837 (eval $ac_try) 2>&5
21838 ac_status=$?
21839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21840 (exit $ac_status); }; } &&
21841 { ac_try='test -s conftest.$ac_objext'
21842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21843 (eval $ac_try) 2>&5
21844 ac_status=$?
21845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21846 (exit $ac_status); }; }; then
21847 glibcxx_cv_func_logl_use=yes
21848 else
21849 echo "$as_me: failed program was:" >&5
21850 sed 's/^/| /' conftest.$ac_ext >&5
21852 glibcxx_cv_func_logl_use=no
21854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21855 ac_ext=c
21856 ac_cpp='$CPP $CPPFLAGS'
21857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21865 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
21866 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
21868 if test x$glibcxx_cv_func_logl_use = x"yes"; then
21870 for ac_func in logl
21872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21873 echo "$as_me:$LINENO: checking for $ac_func" >&5
21874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21875 if eval "test \"\${$as_ac_var+set}\" = set"; then
21876 echo $ECHO_N "(cached) $ECHO_C" >&6
21877 else
21878 if test x$gcc_no_link = xyes; then
21879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21881 { (exit 1); exit 1; }; }
21883 cat >conftest.$ac_ext <<_ACEOF
21884 /* confdefs.h. */
21885 _ACEOF
21886 cat confdefs.h >>conftest.$ac_ext
21887 cat >>conftest.$ac_ext <<_ACEOF
21888 /* end confdefs.h. */
21889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21891 #define $ac_func innocuous_$ac_func
21893 /* System header to define __stub macros and hopefully few prototypes,
21894 which can conflict with char $ac_func (); below.
21895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21896 <limits.h> exists even on freestanding compilers. */
21898 #ifdef __STDC__
21899 # include <limits.h>
21900 #else
21901 # include <assert.h>
21902 #endif
21904 #undef $ac_func
21906 /* Override any gcc2 internal prototype to avoid an error. */
21907 #ifdef __cplusplus
21908 extern "C"
21910 #endif
21911 /* We use char because int might match the return type of a gcc2
21912 builtin and then its argument prototype would still apply. */
21913 char $ac_func ();
21914 /* The GNU C library defines this for functions which it implements
21915 to always fail with ENOSYS. Some functions are actually named
21916 something starting with __ and the normal name is an alias. */
21917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21918 choke me
21919 #else
21920 char (*f) () = $ac_func;
21921 #endif
21922 #ifdef __cplusplus
21924 #endif
21927 main ()
21929 return f != $ac_func;
21931 return 0;
21933 _ACEOF
21934 rm -f conftest.$ac_objext conftest$ac_exeext
21935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21936 (eval $ac_link) 2>conftest.er1
21937 ac_status=$?
21938 grep -v '^ *+' conftest.er1 >conftest.err
21939 rm -f conftest.er1
21940 cat conftest.err >&5
21941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21942 (exit $ac_status); } &&
21943 { ac_try='test -z "$ac_c_werror_flag"
21944 || test ! -s conftest.err'
21945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21946 (eval $ac_try) 2>&5
21947 ac_status=$?
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); }; } &&
21950 { ac_try='test -s conftest$ac_exeext'
21951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21952 (eval $ac_try) 2>&5
21953 ac_status=$?
21954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21955 (exit $ac_status); }; }; then
21956 eval "$as_ac_var=yes"
21957 else
21958 echo "$as_me: failed program was:" >&5
21959 sed 's/^/| /' conftest.$ac_ext >&5
21961 eval "$as_ac_var=no"
21963 rm -f conftest.err conftest.$ac_objext \
21964 conftest$ac_exeext conftest.$ac_ext
21966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21968 if test `eval echo '${'$as_ac_var'}'` = yes; then
21969 cat >>confdefs.h <<_ACEOF
21970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21971 _ACEOF
21974 done
21976 else
21978 echo "$as_me:$LINENO: checking for _logl declaration" >&5
21979 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
21980 if test x${glibcxx_cv_func__logl_use+set} != xset; then
21981 if test "${glibcxx_cv_func__logl_use+set}" = set; then
21982 echo $ECHO_N "(cached) $ECHO_C" >&6
21983 else
21987 ac_ext=cc
21988 ac_cpp='$CXXCPP $CPPFLAGS'
21989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21993 cat >conftest.$ac_ext <<_ACEOF
21994 /* confdefs.h. */
21995 _ACEOF
21996 cat confdefs.h >>conftest.$ac_ext
21997 cat >>conftest.$ac_ext <<_ACEOF
21998 /* end confdefs.h. */
21999 #include <math.h>
22000 #ifdef HAVE_IEEEFP_H
22001 #include <ieeefp.h>
22002 #endif
22005 main ()
22007 _logl(0);
22009 return 0;
22011 _ACEOF
22012 rm -f conftest.$ac_objext
22013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22014 (eval $ac_compile) 2>conftest.er1
22015 ac_status=$?
22016 grep -v '^ *+' conftest.er1 >conftest.err
22017 rm -f conftest.er1
22018 cat conftest.err >&5
22019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22020 (exit $ac_status); } &&
22021 { ac_try='test -z "$ac_cxx_werror_flag"
22022 || test ! -s conftest.err'
22023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22024 (eval $ac_try) 2>&5
22025 ac_status=$?
22026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22027 (exit $ac_status); }; } &&
22028 { ac_try='test -s conftest.$ac_objext'
22029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22030 (eval $ac_try) 2>&5
22031 ac_status=$?
22032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22033 (exit $ac_status); }; }; then
22034 glibcxx_cv_func__logl_use=yes
22035 else
22036 echo "$as_me: failed program was:" >&5
22037 sed 's/^/| /' conftest.$ac_ext >&5
22039 glibcxx_cv_func__logl_use=no
22041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22042 ac_ext=c
22043 ac_cpp='$CPP $CPPFLAGS'
22044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22052 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
22053 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
22055 if test x$glibcxx_cv_func__logl_use = x"yes"; then
22057 for ac_func in _logl
22059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22060 echo "$as_me:$LINENO: checking for $ac_func" >&5
22061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22062 if eval "test \"\${$as_ac_var+set}\" = set"; then
22063 echo $ECHO_N "(cached) $ECHO_C" >&6
22064 else
22065 if test x$gcc_no_link = xyes; then
22066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22068 { (exit 1); exit 1; }; }
22070 cat >conftest.$ac_ext <<_ACEOF
22071 /* confdefs.h. */
22072 _ACEOF
22073 cat confdefs.h >>conftest.$ac_ext
22074 cat >>conftest.$ac_ext <<_ACEOF
22075 /* end confdefs.h. */
22076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22078 #define $ac_func innocuous_$ac_func
22080 /* System header to define __stub macros and hopefully few prototypes,
22081 which can conflict with char $ac_func (); below.
22082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22083 <limits.h> exists even on freestanding compilers. */
22085 #ifdef __STDC__
22086 # include <limits.h>
22087 #else
22088 # include <assert.h>
22089 #endif
22091 #undef $ac_func
22093 /* Override any gcc2 internal prototype to avoid an error. */
22094 #ifdef __cplusplus
22095 extern "C"
22097 #endif
22098 /* We use char because int might match the return type of a gcc2
22099 builtin and then its argument prototype would still apply. */
22100 char $ac_func ();
22101 /* The GNU C library defines this for functions which it implements
22102 to always fail with ENOSYS. Some functions are actually named
22103 something starting with __ and the normal name is an alias. */
22104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22105 choke me
22106 #else
22107 char (*f) () = $ac_func;
22108 #endif
22109 #ifdef __cplusplus
22111 #endif
22114 main ()
22116 return f != $ac_func;
22118 return 0;
22120 _ACEOF
22121 rm -f conftest.$ac_objext conftest$ac_exeext
22122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22123 (eval $ac_link) 2>conftest.er1
22124 ac_status=$?
22125 grep -v '^ *+' conftest.er1 >conftest.err
22126 rm -f conftest.er1
22127 cat conftest.err >&5
22128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22129 (exit $ac_status); } &&
22130 { ac_try='test -z "$ac_c_werror_flag"
22131 || test ! -s conftest.err'
22132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22133 (eval $ac_try) 2>&5
22134 ac_status=$?
22135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136 (exit $ac_status); }; } &&
22137 { ac_try='test -s conftest$ac_exeext'
22138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22139 (eval $ac_try) 2>&5
22140 ac_status=$?
22141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22142 (exit $ac_status); }; }; then
22143 eval "$as_ac_var=yes"
22144 else
22145 echo "$as_me: failed program was:" >&5
22146 sed 's/^/| /' conftest.$ac_ext >&5
22148 eval "$as_ac_var=no"
22150 rm -f conftest.err conftest.$ac_objext \
22151 conftest$ac_exeext conftest.$ac_ext
22153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22155 if test `eval echo '${'$as_ac_var'}'` = yes; then
22156 cat >>confdefs.h <<_ACEOF
22157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22158 _ACEOF
22161 done
22168 echo "$as_me:$LINENO: checking for log10l declaration" >&5
22169 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
22170 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
22171 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
22172 echo $ECHO_N "(cached) $ECHO_C" >&6
22173 else
22177 ac_ext=cc
22178 ac_cpp='$CXXCPP $CPPFLAGS'
22179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22183 cat >conftest.$ac_ext <<_ACEOF
22184 /* confdefs.h. */
22185 _ACEOF
22186 cat confdefs.h >>conftest.$ac_ext
22187 cat >>conftest.$ac_ext <<_ACEOF
22188 /* end confdefs.h. */
22189 #include <math.h>
22190 #ifdef HAVE_IEEEFP_H
22191 #include <ieeefp.h>
22192 #endif
22195 main ()
22197 log10l(0);
22199 return 0;
22201 _ACEOF
22202 rm -f conftest.$ac_objext
22203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22204 (eval $ac_compile) 2>conftest.er1
22205 ac_status=$?
22206 grep -v '^ *+' conftest.er1 >conftest.err
22207 rm -f conftest.er1
22208 cat conftest.err >&5
22209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22210 (exit $ac_status); } &&
22211 { ac_try='test -z "$ac_cxx_werror_flag"
22212 || test ! -s conftest.err'
22213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22214 (eval $ac_try) 2>&5
22215 ac_status=$?
22216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22217 (exit $ac_status); }; } &&
22218 { ac_try='test -s conftest.$ac_objext'
22219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22220 (eval $ac_try) 2>&5
22221 ac_status=$?
22222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22223 (exit $ac_status); }; }; then
22224 glibcxx_cv_func_log10l_use=yes
22225 else
22226 echo "$as_me: failed program was:" >&5
22227 sed 's/^/| /' conftest.$ac_ext >&5
22229 glibcxx_cv_func_log10l_use=no
22231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22232 ac_ext=c
22233 ac_cpp='$CPP $CPPFLAGS'
22234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22242 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
22243 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
22245 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
22247 for ac_func in log10l
22249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22250 echo "$as_me:$LINENO: checking for $ac_func" >&5
22251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22252 if eval "test \"\${$as_ac_var+set}\" = set"; then
22253 echo $ECHO_N "(cached) $ECHO_C" >&6
22254 else
22255 if test x$gcc_no_link = xyes; then
22256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22258 { (exit 1); exit 1; }; }
22260 cat >conftest.$ac_ext <<_ACEOF
22261 /* confdefs.h. */
22262 _ACEOF
22263 cat confdefs.h >>conftest.$ac_ext
22264 cat >>conftest.$ac_ext <<_ACEOF
22265 /* end confdefs.h. */
22266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22268 #define $ac_func innocuous_$ac_func
22270 /* System header to define __stub macros and hopefully few prototypes,
22271 which can conflict with char $ac_func (); below.
22272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22273 <limits.h> exists even on freestanding compilers. */
22275 #ifdef __STDC__
22276 # include <limits.h>
22277 #else
22278 # include <assert.h>
22279 #endif
22281 #undef $ac_func
22283 /* Override any gcc2 internal prototype to avoid an error. */
22284 #ifdef __cplusplus
22285 extern "C"
22287 #endif
22288 /* We use char because int might match the return type of a gcc2
22289 builtin and then its argument prototype would still apply. */
22290 char $ac_func ();
22291 /* The GNU C library defines this for functions which it implements
22292 to always fail with ENOSYS. Some functions are actually named
22293 something starting with __ and the normal name is an alias. */
22294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22295 choke me
22296 #else
22297 char (*f) () = $ac_func;
22298 #endif
22299 #ifdef __cplusplus
22301 #endif
22304 main ()
22306 return f != $ac_func;
22308 return 0;
22310 _ACEOF
22311 rm -f conftest.$ac_objext conftest$ac_exeext
22312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22313 (eval $ac_link) 2>conftest.er1
22314 ac_status=$?
22315 grep -v '^ *+' conftest.er1 >conftest.err
22316 rm -f conftest.er1
22317 cat conftest.err >&5
22318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319 (exit $ac_status); } &&
22320 { ac_try='test -z "$ac_c_werror_flag"
22321 || test ! -s conftest.err'
22322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22323 (eval $ac_try) 2>&5
22324 ac_status=$?
22325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326 (exit $ac_status); }; } &&
22327 { ac_try='test -s conftest$ac_exeext'
22328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22329 (eval $ac_try) 2>&5
22330 ac_status=$?
22331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332 (exit $ac_status); }; }; then
22333 eval "$as_ac_var=yes"
22334 else
22335 echo "$as_me: failed program was:" >&5
22336 sed 's/^/| /' conftest.$ac_ext >&5
22338 eval "$as_ac_var=no"
22340 rm -f conftest.err conftest.$ac_objext \
22341 conftest$ac_exeext conftest.$ac_ext
22343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22345 if test `eval echo '${'$as_ac_var'}'` = yes; then
22346 cat >>confdefs.h <<_ACEOF
22347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22348 _ACEOF
22351 done
22353 else
22355 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
22356 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
22357 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
22358 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
22359 echo $ECHO_N "(cached) $ECHO_C" >&6
22360 else
22364 ac_ext=cc
22365 ac_cpp='$CXXCPP $CPPFLAGS'
22366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22370 cat >conftest.$ac_ext <<_ACEOF
22371 /* confdefs.h. */
22372 _ACEOF
22373 cat confdefs.h >>conftest.$ac_ext
22374 cat >>conftest.$ac_ext <<_ACEOF
22375 /* end confdefs.h. */
22376 #include <math.h>
22377 #ifdef HAVE_IEEEFP_H
22378 #include <ieeefp.h>
22379 #endif
22382 main ()
22384 _log10l(0);
22386 return 0;
22388 _ACEOF
22389 rm -f conftest.$ac_objext
22390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22391 (eval $ac_compile) 2>conftest.er1
22392 ac_status=$?
22393 grep -v '^ *+' conftest.er1 >conftest.err
22394 rm -f conftest.er1
22395 cat conftest.err >&5
22396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22397 (exit $ac_status); } &&
22398 { ac_try='test -z "$ac_cxx_werror_flag"
22399 || test ! -s conftest.err'
22400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22401 (eval $ac_try) 2>&5
22402 ac_status=$?
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); }; } &&
22405 { ac_try='test -s conftest.$ac_objext'
22406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22407 (eval $ac_try) 2>&5
22408 ac_status=$?
22409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22410 (exit $ac_status); }; }; then
22411 glibcxx_cv_func__log10l_use=yes
22412 else
22413 echo "$as_me: failed program was:" >&5
22414 sed 's/^/| /' conftest.$ac_ext >&5
22416 glibcxx_cv_func__log10l_use=no
22418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22419 ac_ext=c
22420 ac_cpp='$CPP $CPPFLAGS'
22421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22429 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
22430 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
22432 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
22434 for ac_func in _log10l
22436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22437 echo "$as_me:$LINENO: checking for $ac_func" >&5
22438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22439 if eval "test \"\${$as_ac_var+set}\" = set"; then
22440 echo $ECHO_N "(cached) $ECHO_C" >&6
22441 else
22442 if test x$gcc_no_link = xyes; then
22443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22445 { (exit 1); exit 1; }; }
22447 cat >conftest.$ac_ext <<_ACEOF
22448 /* confdefs.h. */
22449 _ACEOF
22450 cat confdefs.h >>conftest.$ac_ext
22451 cat >>conftest.$ac_ext <<_ACEOF
22452 /* end confdefs.h. */
22453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22455 #define $ac_func innocuous_$ac_func
22457 /* System header to define __stub macros and hopefully few prototypes,
22458 which can conflict with char $ac_func (); below.
22459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22460 <limits.h> exists even on freestanding compilers. */
22462 #ifdef __STDC__
22463 # include <limits.h>
22464 #else
22465 # include <assert.h>
22466 #endif
22468 #undef $ac_func
22470 /* Override any gcc2 internal prototype to avoid an error. */
22471 #ifdef __cplusplus
22472 extern "C"
22474 #endif
22475 /* We use char because int might match the return type of a gcc2
22476 builtin and then its argument prototype would still apply. */
22477 char $ac_func ();
22478 /* The GNU C library defines this for functions which it implements
22479 to always fail with ENOSYS. Some functions are actually named
22480 something starting with __ and the normal name is an alias. */
22481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22482 choke me
22483 #else
22484 char (*f) () = $ac_func;
22485 #endif
22486 #ifdef __cplusplus
22488 #endif
22491 main ()
22493 return f != $ac_func;
22495 return 0;
22497 _ACEOF
22498 rm -f conftest.$ac_objext conftest$ac_exeext
22499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22500 (eval $ac_link) 2>conftest.er1
22501 ac_status=$?
22502 grep -v '^ *+' conftest.er1 >conftest.err
22503 rm -f conftest.er1
22504 cat conftest.err >&5
22505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22506 (exit $ac_status); } &&
22507 { ac_try='test -z "$ac_c_werror_flag"
22508 || test ! -s conftest.err'
22509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22510 (eval $ac_try) 2>&5
22511 ac_status=$?
22512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22513 (exit $ac_status); }; } &&
22514 { ac_try='test -s conftest$ac_exeext'
22515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22516 (eval $ac_try) 2>&5
22517 ac_status=$?
22518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22519 (exit $ac_status); }; }; then
22520 eval "$as_ac_var=yes"
22521 else
22522 echo "$as_me: failed program was:" >&5
22523 sed 's/^/| /' conftest.$ac_ext >&5
22525 eval "$as_ac_var=no"
22527 rm -f conftest.err conftest.$ac_objext \
22528 conftest$ac_exeext conftest.$ac_ext
22530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22532 if test `eval echo '${'$as_ac_var'}'` = yes; then
22533 cat >>confdefs.h <<_ACEOF
22534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22535 _ACEOF
22538 done
22545 echo "$as_me:$LINENO: checking for modfl declaration" >&5
22546 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
22547 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
22548 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
22549 echo $ECHO_N "(cached) $ECHO_C" >&6
22550 else
22554 ac_ext=cc
22555 ac_cpp='$CXXCPP $CPPFLAGS'
22556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22560 cat >conftest.$ac_ext <<_ACEOF
22561 /* confdefs.h. */
22562 _ACEOF
22563 cat confdefs.h >>conftest.$ac_ext
22564 cat >>conftest.$ac_ext <<_ACEOF
22565 /* end confdefs.h. */
22566 #include <math.h>
22568 main ()
22570 modfl(0, 0);
22572 return 0;
22574 _ACEOF
22575 rm -f conftest.$ac_objext
22576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22577 (eval $ac_compile) 2>conftest.er1
22578 ac_status=$?
22579 grep -v '^ *+' conftest.er1 >conftest.err
22580 rm -f conftest.er1
22581 cat conftest.err >&5
22582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22583 (exit $ac_status); } &&
22584 { ac_try='test -z "$ac_cxx_werror_flag"
22585 || test ! -s conftest.err'
22586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22587 (eval $ac_try) 2>&5
22588 ac_status=$?
22589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22590 (exit $ac_status); }; } &&
22591 { ac_try='test -s conftest.$ac_objext'
22592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22593 (eval $ac_try) 2>&5
22594 ac_status=$?
22595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22596 (exit $ac_status); }; }; then
22597 glibcxx_cv_func_modfl_use=yes
22598 else
22599 echo "$as_me: failed program was:" >&5
22600 sed 's/^/| /' conftest.$ac_ext >&5
22602 glibcxx_cv_func_modfl_use=no
22604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22605 ac_ext=c
22606 ac_cpp='$CPP $CPPFLAGS'
22607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22615 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
22616 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
22618 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
22620 for ac_func in modfl
22622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22623 echo "$as_me:$LINENO: checking for $ac_func" >&5
22624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22625 if eval "test \"\${$as_ac_var+set}\" = set"; then
22626 echo $ECHO_N "(cached) $ECHO_C" >&6
22627 else
22628 if test x$gcc_no_link = xyes; then
22629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22631 { (exit 1); exit 1; }; }
22633 cat >conftest.$ac_ext <<_ACEOF
22634 /* confdefs.h. */
22635 _ACEOF
22636 cat confdefs.h >>conftest.$ac_ext
22637 cat >>conftest.$ac_ext <<_ACEOF
22638 /* end confdefs.h. */
22639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22641 #define $ac_func innocuous_$ac_func
22643 /* System header to define __stub macros and hopefully few prototypes,
22644 which can conflict with char $ac_func (); below.
22645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22646 <limits.h> exists even on freestanding compilers. */
22648 #ifdef __STDC__
22649 # include <limits.h>
22650 #else
22651 # include <assert.h>
22652 #endif
22654 #undef $ac_func
22656 /* Override any gcc2 internal prototype to avoid an error. */
22657 #ifdef __cplusplus
22658 extern "C"
22660 #endif
22661 /* We use char because int might match the return type of a gcc2
22662 builtin and then its argument prototype would still apply. */
22663 char $ac_func ();
22664 /* The GNU C library defines this for functions which it implements
22665 to always fail with ENOSYS. Some functions are actually named
22666 something starting with __ and the normal name is an alias. */
22667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22668 choke me
22669 #else
22670 char (*f) () = $ac_func;
22671 #endif
22672 #ifdef __cplusplus
22674 #endif
22677 main ()
22679 return f != $ac_func;
22681 return 0;
22683 _ACEOF
22684 rm -f conftest.$ac_objext conftest$ac_exeext
22685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22686 (eval $ac_link) 2>conftest.er1
22687 ac_status=$?
22688 grep -v '^ *+' conftest.er1 >conftest.err
22689 rm -f conftest.er1
22690 cat conftest.err >&5
22691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22692 (exit $ac_status); } &&
22693 { ac_try='test -z "$ac_c_werror_flag"
22694 || test ! -s conftest.err'
22695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22696 (eval $ac_try) 2>&5
22697 ac_status=$?
22698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22699 (exit $ac_status); }; } &&
22700 { ac_try='test -s conftest$ac_exeext'
22701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22702 (eval $ac_try) 2>&5
22703 ac_status=$?
22704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705 (exit $ac_status); }; }; then
22706 eval "$as_ac_var=yes"
22707 else
22708 echo "$as_me: failed program was:" >&5
22709 sed 's/^/| /' conftest.$ac_ext >&5
22711 eval "$as_ac_var=no"
22713 rm -f conftest.err conftest.$ac_objext \
22714 conftest$ac_exeext conftest.$ac_ext
22716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22718 if test `eval echo '${'$as_ac_var'}'` = yes; then
22719 cat >>confdefs.h <<_ACEOF
22720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22721 _ACEOF
22724 done
22726 else
22728 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
22729 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
22730 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
22731 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
22732 echo $ECHO_N "(cached) $ECHO_C" >&6
22733 else
22737 ac_ext=cc
22738 ac_cpp='$CXXCPP $CPPFLAGS'
22739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22743 cat >conftest.$ac_ext <<_ACEOF
22744 /* confdefs.h. */
22745 _ACEOF
22746 cat confdefs.h >>conftest.$ac_ext
22747 cat >>conftest.$ac_ext <<_ACEOF
22748 /* end confdefs.h. */
22749 #include <math.h>
22751 main ()
22753 _modfl(0, 0);
22755 return 0;
22757 _ACEOF
22758 rm -f conftest.$ac_objext
22759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22760 (eval $ac_compile) 2>conftest.er1
22761 ac_status=$?
22762 grep -v '^ *+' conftest.er1 >conftest.err
22763 rm -f conftest.er1
22764 cat conftest.err >&5
22765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22766 (exit $ac_status); } &&
22767 { ac_try='test -z "$ac_cxx_werror_flag"
22768 || test ! -s conftest.err'
22769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22770 (eval $ac_try) 2>&5
22771 ac_status=$?
22772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22773 (exit $ac_status); }; } &&
22774 { ac_try='test -s conftest.$ac_objext'
22775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22776 (eval $ac_try) 2>&5
22777 ac_status=$?
22778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22779 (exit $ac_status); }; }; then
22780 glibcxx_cv_func__modfl_use=yes
22781 else
22782 echo "$as_me: failed program was:" >&5
22783 sed 's/^/| /' conftest.$ac_ext >&5
22785 glibcxx_cv_func__modfl_use=no
22787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22788 ac_ext=c
22789 ac_cpp='$CPP $CPPFLAGS'
22790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22798 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
22799 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
22801 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
22803 for ac_func in _modfl
22805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22806 echo "$as_me:$LINENO: checking for $ac_func" >&5
22807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22808 if eval "test \"\${$as_ac_var+set}\" = set"; then
22809 echo $ECHO_N "(cached) $ECHO_C" >&6
22810 else
22811 if test x$gcc_no_link = xyes; then
22812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22814 { (exit 1); exit 1; }; }
22816 cat >conftest.$ac_ext <<_ACEOF
22817 /* confdefs.h. */
22818 _ACEOF
22819 cat confdefs.h >>conftest.$ac_ext
22820 cat >>conftest.$ac_ext <<_ACEOF
22821 /* end confdefs.h. */
22822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22824 #define $ac_func innocuous_$ac_func
22826 /* System header to define __stub macros and hopefully few prototypes,
22827 which can conflict with char $ac_func (); below.
22828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22829 <limits.h> exists even on freestanding compilers. */
22831 #ifdef __STDC__
22832 # include <limits.h>
22833 #else
22834 # include <assert.h>
22835 #endif
22837 #undef $ac_func
22839 /* Override any gcc2 internal prototype to avoid an error. */
22840 #ifdef __cplusplus
22841 extern "C"
22843 #endif
22844 /* We use char because int might match the return type of a gcc2
22845 builtin and then its argument prototype would still apply. */
22846 char $ac_func ();
22847 /* The GNU C library defines this for functions which it implements
22848 to always fail with ENOSYS. Some functions are actually named
22849 something starting with __ and the normal name is an alias. */
22850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22851 choke me
22852 #else
22853 char (*f) () = $ac_func;
22854 #endif
22855 #ifdef __cplusplus
22857 #endif
22860 main ()
22862 return f != $ac_func;
22864 return 0;
22866 _ACEOF
22867 rm -f conftest.$ac_objext conftest$ac_exeext
22868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22869 (eval $ac_link) 2>conftest.er1
22870 ac_status=$?
22871 grep -v '^ *+' conftest.er1 >conftest.err
22872 rm -f conftest.er1
22873 cat conftest.err >&5
22874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875 (exit $ac_status); } &&
22876 { ac_try='test -z "$ac_c_werror_flag"
22877 || test ! -s conftest.err'
22878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22879 (eval $ac_try) 2>&5
22880 ac_status=$?
22881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22882 (exit $ac_status); }; } &&
22883 { ac_try='test -s conftest$ac_exeext'
22884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22885 (eval $ac_try) 2>&5
22886 ac_status=$?
22887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22888 (exit $ac_status); }; }; then
22889 eval "$as_ac_var=yes"
22890 else
22891 echo "$as_me: failed program was:" >&5
22892 sed 's/^/| /' conftest.$ac_ext >&5
22894 eval "$as_ac_var=no"
22896 rm -f conftest.err conftest.$ac_objext \
22897 conftest$ac_exeext conftest.$ac_ext
22899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22901 if test `eval echo '${'$as_ac_var'}'` = yes; then
22902 cat >>confdefs.h <<_ACEOF
22903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22904 _ACEOF
22907 done
22914 echo "$as_me:$LINENO: checking for powl declaration" >&5
22915 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
22916 if test x${glibcxx_cv_func_powl_use+set} != xset; then
22917 if test "${glibcxx_cv_func_powl_use+set}" = set; then
22918 echo $ECHO_N "(cached) $ECHO_C" >&6
22919 else
22923 ac_ext=cc
22924 ac_cpp='$CXXCPP $CPPFLAGS'
22925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22929 cat >conftest.$ac_ext <<_ACEOF
22930 /* confdefs.h. */
22931 _ACEOF
22932 cat confdefs.h >>conftest.$ac_ext
22933 cat >>conftest.$ac_ext <<_ACEOF
22934 /* end confdefs.h. */
22935 #include <math.h>
22937 main ()
22939 powl(0, 0);
22941 return 0;
22943 _ACEOF
22944 rm -f conftest.$ac_objext
22945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22946 (eval $ac_compile) 2>conftest.er1
22947 ac_status=$?
22948 grep -v '^ *+' conftest.er1 >conftest.err
22949 rm -f conftest.er1
22950 cat conftest.err >&5
22951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22952 (exit $ac_status); } &&
22953 { ac_try='test -z "$ac_cxx_werror_flag"
22954 || test ! -s conftest.err'
22955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22956 (eval $ac_try) 2>&5
22957 ac_status=$?
22958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959 (exit $ac_status); }; } &&
22960 { ac_try='test -s conftest.$ac_objext'
22961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22962 (eval $ac_try) 2>&5
22963 ac_status=$?
22964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22965 (exit $ac_status); }; }; then
22966 glibcxx_cv_func_powl_use=yes
22967 else
22968 echo "$as_me: failed program was:" >&5
22969 sed 's/^/| /' conftest.$ac_ext >&5
22971 glibcxx_cv_func_powl_use=no
22973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22974 ac_ext=c
22975 ac_cpp='$CPP $CPPFLAGS'
22976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22984 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
22985 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
22987 if test x$glibcxx_cv_func_powl_use = x"yes"; then
22989 for ac_func in powl
22991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22992 echo "$as_me:$LINENO: checking for $ac_func" >&5
22993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22994 if eval "test \"\${$as_ac_var+set}\" = set"; then
22995 echo $ECHO_N "(cached) $ECHO_C" >&6
22996 else
22997 if test x$gcc_no_link = xyes; then
22998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23000 { (exit 1); exit 1; }; }
23002 cat >conftest.$ac_ext <<_ACEOF
23003 /* confdefs.h. */
23004 _ACEOF
23005 cat confdefs.h >>conftest.$ac_ext
23006 cat >>conftest.$ac_ext <<_ACEOF
23007 /* end confdefs.h. */
23008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23010 #define $ac_func innocuous_$ac_func
23012 /* System header to define __stub macros and hopefully few prototypes,
23013 which can conflict with char $ac_func (); below.
23014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23015 <limits.h> exists even on freestanding compilers. */
23017 #ifdef __STDC__
23018 # include <limits.h>
23019 #else
23020 # include <assert.h>
23021 #endif
23023 #undef $ac_func
23025 /* Override any gcc2 internal prototype to avoid an error. */
23026 #ifdef __cplusplus
23027 extern "C"
23029 #endif
23030 /* We use char because int might match the return type of a gcc2
23031 builtin and then its argument prototype would still apply. */
23032 char $ac_func ();
23033 /* The GNU C library defines this for functions which it implements
23034 to always fail with ENOSYS. Some functions are actually named
23035 something starting with __ and the normal name is an alias. */
23036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23037 choke me
23038 #else
23039 char (*f) () = $ac_func;
23040 #endif
23041 #ifdef __cplusplus
23043 #endif
23046 main ()
23048 return f != $ac_func;
23050 return 0;
23052 _ACEOF
23053 rm -f conftest.$ac_objext conftest$ac_exeext
23054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23055 (eval $ac_link) 2>conftest.er1
23056 ac_status=$?
23057 grep -v '^ *+' conftest.er1 >conftest.err
23058 rm -f conftest.er1
23059 cat conftest.err >&5
23060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23061 (exit $ac_status); } &&
23062 { ac_try='test -z "$ac_c_werror_flag"
23063 || test ! -s conftest.err'
23064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23065 (eval $ac_try) 2>&5
23066 ac_status=$?
23067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23068 (exit $ac_status); }; } &&
23069 { ac_try='test -s conftest$ac_exeext'
23070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23071 (eval $ac_try) 2>&5
23072 ac_status=$?
23073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23074 (exit $ac_status); }; }; then
23075 eval "$as_ac_var=yes"
23076 else
23077 echo "$as_me: failed program was:" >&5
23078 sed 's/^/| /' conftest.$ac_ext >&5
23080 eval "$as_ac_var=no"
23082 rm -f conftest.err conftest.$ac_objext \
23083 conftest$ac_exeext conftest.$ac_ext
23085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23087 if test `eval echo '${'$as_ac_var'}'` = yes; then
23088 cat >>confdefs.h <<_ACEOF
23089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23090 _ACEOF
23093 done
23095 else
23097 echo "$as_me:$LINENO: checking for _powl declaration" >&5
23098 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
23099 if test x${glibcxx_cv_func__powl_use+set} != xset; then
23100 if test "${glibcxx_cv_func__powl_use+set}" = set; then
23101 echo $ECHO_N "(cached) $ECHO_C" >&6
23102 else
23106 ac_ext=cc
23107 ac_cpp='$CXXCPP $CPPFLAGS'
23108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23112 cat >conftest.$ac_ext <<_ACEOF
23113 /* confdefs.h. */
23114 _ACEOF
23115 cat confdefs.h >>conftest.$ac_ext
23116 cat >>conftest.$ac_ext <<_ACEOF
23117 /* end confdefs.h. */
23118 #include <math.h>
23120 main ()
23122 _powl(0, 0);
23124 return 0;
23126 _ACEOF
23127 rm -f conftest.$ac_objext
23128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23129 (eval $ac_compile) 2>conftest.er1
23130 ac_status=$?
23131 grep -v '^ *+' conftest.er1 >conftest.err
23132 rm -f conftest.er1
23133 cat conftest.err >&5
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); } &&
23136 { ac_try='test -z "$ac_cxx_werror_flag"
23137 || test ! -s conftest.err'
23138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23139 (eval $ac_try) 2>&5
23140 ac_status=$?
23141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23142 (exit $ac_status); }; } &&
23143 { ac_try='test -s conftest.$ac_objext'
23144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23145 (eval $ac_try) 2>&5
23146 ac_status=$?
23147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23148 (exit $ac_status); }; }; then
23149 glibcxx_cv_func__powl_use=yes
23150 else
23151 echo "$as_me: failed program was:" >&5
23152 sed 's/^/| /' conftest.$ac_ext >&5
23154 glibcxx_cv_func__powl_use=no
23156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23157 ac_ext=c
23158 ac_cpp='$CPP $CPPFLAGS'
23159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23167 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
23168 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
23170 if test x$glibcxx_cv_func__powl_use = x"yes"; then
23172 for ac_func in _powl
23174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23175 echo "$as_me:$LINENO: checking for $ac_func" >&5
23176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23177 if eval "test \"\${$as_ac_var+set}\" = set"; then
23178 echo $ECHO_N "(cached) $ECHO_C" >&6
23179 else
23180 if test x$gcc_no_link = xyes; then
23181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23183 { (exit 1); exit 1; }; }
23185 cat >conftest.$ac_ext <<_ACEOF
23186 /* confdefs.h. */
23187 _ACEOF
23188 cat confdefs.h >>conftest.$ac_ext
23189 cat >>conftest.$ac_ext <<_ACEOF
23190 /* end confdefs.h. */
23191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23193 #define $ac_func innocuous_$ac_func
23195 /* System header to define __stub macros and hopefully few prototypes,
23196 which can conflict with char $ac_func (); below.
23197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23198 <limits.h> exists even on freestanding compilers. */
23200 #ifdef __STDC__
23201 # include <limits.h>
23202 #else
23203 # include <assert.h>
23204 #endif
23206 #undef $ac_func
23208 /* Override any gcc2 internal prototype to avoid an error. */
23209 #ifdef __cplusplus
23210 extern "C"
23212 #endif
23213 /* We use char because int might match the return type of a gcc2
23214 builtin and then its argument prototype would still apply. */
23215 char $ac_func ();
23216 /* The GNU C library defines this for functions which it implements
23217 to always fail with ENOSYS. Some functions are actually named
23218 something starting with __ and the normal name is an alias. */
23219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23220 choke me
23221 #else
23222 char (*f) () = $ac_func;
23223 #endif
23224 #ifdef __cplusplus
23226 #endif
23229 main ()
23231 return f != $ac_func;
23233 return 0;
23235 _ACEOF
23236 rm -f conftest.$ac_objext conftest$ac_exeext
23237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23238 (eval $ac_link) 2>conftest.er1
23239 ac_status=$?
23240 grep -v '^ *+' conftest.er1 >conftest.err
23241 rm -f conftest.er1
23242 cat conftest.err >&5
23243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23244 (exit $ac_status); } &&
23245 { ac_try='test -z "$ac_c_werror_flag"
23246 || test ! -s conftest.err'
23247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23248 (eval $ac_try) 2>&5
23249 ac_status=$?
23250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23251 (exit $ac_status); }; } &&
23252 { ac_try='test -s conftest$ac_exeext'
23253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23254 (eval $ac_try) 2>&5
23255 ac_status=$?
23256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23257 (exit $ac_status); }; }; then
23258 eval "$as_ac_var=yes"
23259 else
23260 echo "$as_me: failed program was:" >&5
23261 sed 's/^/| /' conftest.$ac_ext >&5
23263 eval "$as_ac_var=no"
23265 rm -f conftest.err conftest.$ac_objext \
23266 conftest$ac_exeext conftest.$ac_ext
23268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23270 if test `eval echo '${'$as_ac_var'}'` = yes; then
23271 cat >>confdefs.h <<_ACEOF
23272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23273 _ACEOF
23276 done
23283 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
23284 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
23285 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
23286 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
23287 echo $ECHO_N "(cached) $ECHO_C" >&6
23288 else
23292 ac_ext=cc
23293 ac_cpp='$CXXCPP $CPPFLAGS'
23294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23298 cat >conftest.$ac_ext <<_ACEOF
23299 /* confdefs.h. */
23300 _ACEOF
23301 cat confdefs.h >>conftest.$ac_ext
23302 cat >>conftest.$ac_ext <<_ACEOF
23303 /* end confdefs.h. */
23304 #include <math.h>
23305 #ifdef HAVE_IEEEFP_H
23306 #include <ieeefp.h>
23307 #endif
23310 main ()
23312 sqrtl(0);
23314 return 0;
23316 _ACEOF
23317 rm -f conftest.$ac_objext
23318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23319 (eval $ac_compile) 2>conftest.er1
23320 ac_status=$?
23321 grep -v '^ *+' conftest.er1 >conftest.err
23322 rm -f conftest.er1
23323 cat conftest.err >&5
23324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23325 (exit $ac_status); } &&
23326 { ac_try='test -z "$ac_cxx_werror_flag"
23327 || test ! -s conftest.err'
23328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23329 (eval $ac_try) 2>&5
23330 ac_status=$?
23331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23332 (exit $ac_status); }; } &&
23333 { ac_try='test -s conftest.$ac_objext'
23334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23335 (eval $ac_try) 2>&5
23336 ac_status=$?
23337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23338 (exit $ac_status); }; }; then
23339 glibcxx_cv_func_sqrtl_use=yes
23340 else
23341 echo "$as_me: failed program was:" >&5
23342 sed 's/^/| /' conftest.$ac_ext >&5
23344 glibcxx_cv_func_sqrtl_use=no
23346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23347 ac_ext=c
23348 ac_cpp='$CPP $CPPFLAGS'
23349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23357 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
23358 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
23360 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
23362 for ac_func in sqrtl
23364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23365 echo "$as_me:$LINENO: checking for $ac_func" >&5
23366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23367 if eval "test \"\${$as_ac_var+set}\" = set"; then
23368 echo $ECHO_N "(cached) $ECHO_C" >&6
23369 else
23370 if test x$gcc_no_link = xyes; then
23371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23373 { (exit 1); exit 1; }; }
23375 cat >conftest.$ac_ext <<_ACEOF
23376 /* confdefs.h. */
23377 _ACEOF
23378 cat confdefs.h >>conftest.$ac_ext
23379 cat >>conftest.$ac_ext <<_ACEOF
23380 /* end confdefs.h. */
23381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23383 #define $ac_func innocuous_$ac_func
23385 /* System header to define __stub macros and hopefully few prototypes,
23386 which can conflict with char $ac_func (); below.
23387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23388 <limits.h> exists even on freestanding compilers. */
23390 #ifdef __STDC__
23391 # include <limits.h>
23392 #else
23393 # include <assert.h>
23394 #endif
23396 #undef $ac_func
23398 /* Override any gcc2 internal prototype to avoid an error. */
23399 #ifdef __cplusplus
23400 extern "C"
23402 #endif
23403 /* We use char because int might match the return type of a gcc2
23404 builtin and then its argument prototype would still apply. */
23405 char $ac_func ();
23406 /* The GNU C library defines this for functions which it implements
23407 to always fail with ENOSYS. Some functions are actually named
23408 something starting with __ and the normal name is an alias. */
23409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23410 choke me
23411 #else
23412 char (*f) () = $ac_func;
23413 #endif
23414 #ifdef __cplusplus
23416 #endif
23419 main ()
23421 return f != $ac_func;
23423 return 0;
23425 _ACEOF
23426 rm -f conftest.$ac_objext conftest$ac_exeext
23427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23428 (eval $ac_link) 2>conftest.er1
23429 ac_status=$?
23430 grep -v '^ *+' conftest.er1 >conftest.err
23431 rm -f conftest.er1
23432 cat conftest.err >&5
23433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23434 (exit $ac_status); } &&
23435 { ac_try='test -z "$ac_c_werror_flag"
23436 || test ! -s conftest.err'
23437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23438 (eval $ac_try) 2>&5
23439 ac_status=$?
23440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23441 (exit $ac_status); }; } &&
23442 { ac_try='test -s conftest$ac_exeext'
23443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23444 (eval $ac_try) 2>&5
23445 ac_status=$?
23446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23447 (exit $ac_status); }; }; then
23448 eval "$as_ac_var=yes"
23449 else
23450 echo "$as_me: failed program was:" >&5
23451 sed 's/^/| /' conftest.$ac_ext >&5
23453 eval "$as_ac_var=no"
23455 rm -f conftest.err conftest.$ac_objext \
23456 conftest$ac_exeext conftest.$ac_ext
23458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23460 if test `eval echo '${'$as_ac_var'}'` = yes; then
23461 cat >>confdefs.h <<_ACEOF
23462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23463 _ACEOF
23466 done
23468 else
23470 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
23471 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
23472 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
23473 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
23474 echo $ECHO_N "(cached) $ECHO_C" >&6
23475 else
23479 ac_ext=cc
23480 ac_cpp='$CXXCPP $CPPFLAGS'
23481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23485 cat >conftest.$ac_ext <<_ACEOF
23486 /* confdefs.h. */
23487 _ACEOF
23488 cat confdefs.h >>conftest.$ac_ext
23489 cat >>conftest.$ac_ext <<_ACEOF
23490 /* end confdefs.h. */
23491 #include <math.h>
23492 #ifdef HAVE_IEEEFP_H
23493 #include <ieeefp.h>
23494 #endif
23497 main ()
23499 _sqrtl(0);
23501 return 0;
23503 _ACEOF
23504 rm -f conftest.$ac_objext
23505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23506 (eval $ac_compile) 2>conftest.er1
23507 ac_status=$?
23508 grep -v '^ *+' conftest.er1 >conftest.err
23509 rm -f conftest.er1
23510 cat conftest.err >&5
23511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23512 (exit $ac_status); } &&
23513 { ac_try='test -z "$ac_cxx_werror_flag"
23514 || test ! -s conftest.err'
23515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23516 (eval $ac_try) 2>&5
23517 ac_status=$?
23518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23519 (exit $ac_status); }; } &&
23520 { ac_try='test -s conftest.$ac_objext'
23521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23522 (eval $ac_try) 2>&5
23523 ac_status=$?
23524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525 (exit $ac_status); }; }; then
23526 glibcxx_cv_func__sqrtl_use=yes
23527 else
23528 echo "$as_me: failed program was:" >&5
23529 sed 's/^/| /' conftest.$ac_ext >&5
23531 glibcxx_cv_func__sqrtl_use=no
23533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23534 ac_ext=c
23535 ac_cpp='$CPP $CPPFLAGS'
23536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23544 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
23545 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
23547 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
23549 for ac_func in _sqrtl
23551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23552 echo "$as_me:$LINENO: checking for $ac_func" >&5
23553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23554 if eval "test \"\${$as_ac_var+set}\" = set"; then
23555 echo $ECHO_N "(cached) $ECHO_C" >&6
23556 else
23557 if test x$gcc_no_link = xyes; then
23558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23560 { (exit 1); exit 1; }; }
23562 cat >conftest.$ac_ext <<_ACEOF
23563 /* confdefs.h. */
23564 _ACEOF
23565 cat confdefs.h >>conftest.$ac_ext
23566 cat >>conftest.$ac_ext <<_ACEOF
23567 /* end confdefs.h. */
23568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23570 #define $ac_func innocuous_$ac_func
23572 /* System header to define __stub macros and hopefully few prototypes,
23573 which can conflict with char $ac_func (); below.
23574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23575 <limits.h> exists even on freestanding compilers. */
23577 #ifdef __STDC__
23578 # include <limits.h>
23579 #else
23580 # include <assert.h>
23581 #endif
23583 #undef $ac_func
23585 /* Override any gcc2 internal prototype to avoid an error. */
23586 #ifdef __cplusplus
23587 extern "C"
23589 #endif
23590 /* We use char because int might match the return type of a gcc2
23591 builtin and then its argument prototype would still apply. */
23592 char $ac_func ();
23593 /* The GNU C library defines this for functions which it implements
23594 to always fail with ENOSYS. Some functions are actually named
23595 something starting with __ and the normal name is an alias. */
23596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23597 choke me
23598 #else
23599 char (*f) () = $ac_func;
23600 #endif
23601 #ifdef __cplusplus
23603 #endif
23606 main ()
23608 return f != $ac_func;
23610 return 0;
23612 _ACEOF
23613 rm -f conftest.$ac_objext conftest$ac_exeext
23614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23615 (eval $ac_link) 2>conftest.er1
23616 ac_status=$?
23617 grep -v '^ *+' conftest.er1 >conftest.err
23618 rm -f conftest.er1
23619 cat conftest.err >&5
23620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23621 (exit $ac_status); } &&
23622 { ac_try='test -z "$ac_c_werror_flag"
23623 || test ! -s conftest.err'
23624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23625 (eval $ac_try) 2>&5
23626 ac_status=$?
23627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23628 (exit $ac_status); }; } &&
23629 { ac_try='test -s conftest$ac_exeext'
23630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23631 (eval $ac_try) 2>&5
23632 ac_status=$?
23633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23634 (exit $ac_status); }; }; then
23635 eval "$as_ac_var=yes"
23636 else
23637 echo "$as_me: failed program was:" >&5
23638 sed 's/^/| /' conftest.$ac_ext >&5
23640 eval "$as_ac_var=no"
23642 rm -f conftest.err conftest.$ac_objext \
23643 conftest$ac_exeext conftest.$ac_ext
23645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23647 if test `eval echo '${'$as_ac_var'}'` = yes; then
23648 cat >>confdefs.h <<_ACEOF
23649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23650 _ACEOF
23653 done
23660 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
23661 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
23662 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
23663 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
23664 echo $ECHO_N "(cached) $ECHO_C" >&6
23665 else
23669 ac_ext=cc
23670 ac_cpp='$CXXCPP $CPPFLAGS'
23671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23675 cat >conftest.$ac_ext <<_ACEOF
23676 /* confdefs.h. */
23677 _ACEOF
23678 cat confdefs.h >>conftest.$ac_ext
23679 cat >>conftest.$ac_ext <<_ACEOF
23680 /* end confdefs.h. */
23681 #include <math.h>
23683 main ()
23685 sincosl(0, 0, 0);
23687 return 0;
23689 _ACEOF
23690 rm -f conftest.$ac_objext
23691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23692 (eval $ac_compile) 2>conftest.er1
23693 ac_status=$?
23694 grep -v '^ *+' conftest.er1 >conftest.err
23695 rm -f conftest.er1
23696 cat conftest.err >&5
23697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23698 (exit $ac_status); } &&
23699 { ac_try='test -z "$ac_cxx_werror_flag"
23700 || test ! -s conftest.err'
23701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23702 (eval $ac_try) 2>&5
23703 ac_status=$?
23704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23705 (exit $ac_status); }; } &&
23706 { ac_try='test -s conftest.$ac_objext'
23707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23708 (eval $ac_try) 2>&5
23709 ac_status=$?
23710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23711 (exit $ac_status); }; }; then
23712 glibcxx_cv_func_sincosl_use=yes
23713 else
23714 echo "$as_me: failed program was:" >&5
23715 sed 's/^/| /' conftest.$ac_ext >&5
23717 glibcxx_cv_func_sincosl_use=no
23719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23720 ac_ext=c
23721 ac_cpp='$CPP $CPPFLAGS'
23722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23730 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
23731 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
23733 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
23735 for ac_func in sincosl
23737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23738 echo "$as_me:$LINENO: checking for $ac_func" >&5
23739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23740 if eval "test \"\${$as_ac_var+set}\" = set"; then
23741 echo $ECHO_N "(cached) $ECHO_C" >&6
23742 else
23743 if test x$gcc_no_link = xyes; then
23744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23746 { (exit 1); exit 1; }; }
23748 cat >conftest.$ac_ext <<_ACEOF
23749 /* confdefs.h. */
23750 _ACEOF
23751 cat confdefs.h >>conftest.$ac_ext
23752 cat >>conftest.$ac_ext <<_ACEOF
23753 /* end confdefs.h. */
23754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23756 #define $ac_func innocuous_$ac_func
23758 /* System header to define __stub macros and hopefully few prototypes,
23759 which can conflict with char $ac_func (); below.
23760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23761 <limits.h> exists even on freestanding compilers. */
23763 #ifdef __STDC__
23764 # include <limits.h>
23765 #else
23766 # include <assert.h>
23767 #endif
23769 #undef $ac_func
23771 /* Override any gcc2 internal prototype to avoid an error. */
23772 #ifdef __cplusplus
23773 extern "C"
23775 #endif
23776 /* We use char because int might match the return type of a gcc2
23777 builtin and then its argument prototype would still apply. */
23778 char $ac_func ();
23779 /* The GNU C library defines this for functions which it implements
23780 to always fail with ENOSYS. Some functions are actually named
23781 something starting with __ and the normal name is an alias. */
23782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23783 choke me
23784 #else
23785 char (*f) () = $ac_func;
23786 #endif
23787 #ifdef __cplusplus
23789 #endif
23792 main ()
23794 return f != $ac_func;
23796 return 0;
23798 _ACEOF
23799 rm -f conftest.$ac_objext conftest$ac_exeext
23800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23801 (eval $ac_link) 2>conftest.er1
23802 ac_status=$?
23803 grep -v '^ *+' conftest.er1 >conftest.err
23804 rm -f conftest.er1
23805 cat conftest.err >&5
23806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23807 (exit $ac_status); } &&
23808 { ac_try='test -z "$ac_c_werror_flag"
23809 || test ! -s conftest.err'
23810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23811 (eval $ac_try) 2>&5
23812 ac_status=$?
23813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23814 (exit $ac_status); }; } &&
23815 { ac_try='test -s conftest$ac_exeext'
23816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23817 (eval $ac_try) 2>&5
23818 ac_status=$?
23819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23820 (exit $ac_status); }; }; then
23821 eval "$as_ac_var=yes"
23822 else
23823 echo "$as_me: failed program was:" >&5
23824 sed 's/^/| /' conftest.$ac_ext >&5
23826 eval "$as_ac_var=no"
23828 rm -f conftest.err conftest.$ac_objext \
23829 conftest$ac_exeext conftest.$ac_ext
23831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23833 if test `eval echo '${'$as_ac_var'}'` = yes; then
23834 cat >>confdefs.h <<_ACEOF
23835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23836 _ACEOF
23839 done
23841 else
23843 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
23844 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
23845 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
23846 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
23847 echo $ECHO_N "(cached) $ECHO_C" >&6
23848 else
23852 ac_ext=cc
23853 ac_cpp='$CXXCPP $CPPFLAGS'
23854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23858 cat >conftest.$ac_ext <<_ACEOF
23859 /* confdefs.h. */
23860 _ACEOF
23861 cat confdefs.h >>conftest.$ac_ext
23862 cat >>conftest.$ac_ext <<_ACEOF
23863 /* end confdefs.h. */
23864 #include <math.h>
23866 main ()
23868 _sincosl(0, 0, 0);
23870 return 0;
23872 _ACEOF
23873 rm -f conftest.$ac_objext
23874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23875 (eval $ac_compile) 2>conftest.er1
23876 ac_status=$?
23877 grep -v '^ *+' conftest.er1 >conftest.err
23878 rm -f conftest.er1
23879 cat conftest.err >&5
23880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23881 (exit $ac_status); } &&
23882 { ac_try='test -z "$ac_cxx_werror_flag"
23883 || test ! -s conftest.err'
23884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23885 (eval $ac_try) 2>&5
23886 ac_status=$?
23887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23888 (exit $ac_status); }; } &&
23889 { ac_try='test -s conftest.$ac_objext'
23890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23891 (eval $ac_try) 2>&5
23892 ac_status=$?
23893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23894 (exit $ac_status); }; }; then
23895 glibcxx_cv_func__sincosl_use=yes
23896 else
23897 echo "$as_me: failed program was:" >&5
23898 sed 's/^/| /' conftest.$ac_ext >&5
23900 glibcxx_cv_func__sincosl_use=no
23902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23903 ac_ext=c
23904 ac_cpp='$CPP $CPPFLAGS'
23905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23913 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
23914 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
23916 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
23918 for ac_func in _sincosl
23920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23921 echo "$as_me:$LINENO: checking for $ac_func" >&5
23922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23923 if eval "test \"\${$as_ac_var+set}\" = set"; then
23924 echo $ECHO_N "(cached) $ECHO_C" >&6
23925 else
23926 if test x$gcc_no_link = xyes; then
23927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23929 { (exit 1); exit 1; }; }
23931 cat >conftest.$ac_ext <<_ACEOF
23932 /* confdefs.h. */
23933 _ACEOF
23934 cat confdefs.h >>conftest.$ac_ext
23935 cat >>conftest.$ac_ext <<_ACEOF
23936 /* end confdefs.h. */
23937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23939 #define $ac_func innocuous_$ac_func
23941 /* System header to define __stub macros and hopefully few prototypes,
23942 which can conflict with char $ac_func (); below.
23943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23944 <limits.h> exists even on freestanding compilers. */
23946 #ifdef __STDC__
23947 # include <limits.h>
23948 #else
23949 # include <assert.h>
23950 #endif
23952 #undef $ac_func
23954 /* Override any gcc2 internal prototype to avoid an error. */
23955 #ifdef __cplusplus
23956 extern "C"
23958 #endif
23959 /* We use char because int might match the return type of a gcc2
23960 builtin and then its argument prototype would still apply. */
23961 char $ac_func ();
23962 /* The GNU C library defines this for functions which it implements
23963 to always fail with ENOSYS. Some functions are actually named
23964 something starting with __ and the normal name is an alias. */
23965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23966 choke me
23967 #else
23968 char (*f) () = $ac_func;
23969 #endif
23970 #ifdef __cplusplus
23972 #endif
23975 main ()
23977 return f != $ac_func;
23979 return 0;
23981 _ACEOF
23982 rm -f conftest.$ac_objext conftest$ac_exeext
23983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23984 (eval $ac_link) 2>conftest.er1
23985 ac_status=$?
23986 grep -v '^ *+' conftest.er1 >conftest.err
23987 rm -f conftest.er1
23988 cat conftest.err >&5
23989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23990 (exit $ac_status); } &&
23991 { ac_try='test -z "$ac_c_werror_flag"
23992 || test ! -s conftest.err'
23993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23994 (eval $ac_try) 2>&5
23995 ac_status=$?
23996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23997 (exit $ac_status); }; } &&
23998 { ac_try='test -s conftest$ac_exeext'
23999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24000 (eval $ac_try) 2>&5
24001 ac_status=$?
24002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24003 (exit $ac_status); }; }; then
24004 eval "$as_ac_var=yes"
24005 else
24006 echo "$as_me: failed program was:" >&5
24007 sed 's/^/| /' conftest.$ac_ext >&5
24009 eval "$as_ac_var=no"
24011 rm -f conftest.err conftest.$ac_objext \
24012 conftest$ac_exeext conftest.$ac_ext
24014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24016 if test `eval echo '${'$as_ac_var'}'` = yes; then
24017 cat >>confdefs.h <<_ACEOF
24018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24019 _ACEOF
24022 done
24029 echo "$as_me:$LINENO: checking for finitel declaration" >&5
24030 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
24031 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
24032 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
24033 echo $ECHO_N "(cached) $ECHO_C" >&6
24034 else
24038 ac_ext=cc
24039 ac_cpp='$CXXCPP $CPPFLAGS'
24040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24044 cat >conftest.$ac_ext <<_ACEOF
24045 /* confdefs.h. */
24046 _ACEOF
24047 cat confdefs.h >>conftest.$ac_ext
24048 cat >>conftest.$ac_ext <<_ACEOF
24049 /* end confdefs.h. */
24050 #include <math.h>
24051 #ifdef HAVE_IEEEFP_H
24052 #include <ieeefp.h>
24053 #endif
24056 main ()
24058 finitel(0);
24060 return 0;
24062 _ACEOF
24063 rm -f conftest.$ac_objext
24064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24065 (eval $ac_compile) 2>conftest.er1
24066 ac_status=$?
24067 grep -v '^ *+' conftest.er1 >conftest.err
24068 rm -f conftest.er1
24069 cat conftest.err >&5
24070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24071 (exit $ac_status); } &&
24072 { ac_try='test -z "$ac_cxx_werror_flag"
24073 || test ! -s conftest.err'
24074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24075 (eval $ac_try) 2>&5
24076 ac_status=$?
24077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24078 (exit $ac_status); }; } &&
24079 { ac_try='test -s conftest.$ac_objext'
24080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24081 (eval $ac_try) 2>&5
24082 ac_status=$?
24083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24084 (exit $ac_status); }; }; then
24085 glibcxx_cv_func_finitel_use=yes
24086 else
24087 echo "$as_me: failed program was:" >&5
24088 sed 's/^/| /' conftest.$ac_ext >&5
24090 glibcxx_cv_func_finitel_use=no
24092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24093 ac_ext=c
24094 ac_cpp='$CPP $CPPFLAGS'
24095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24103 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
24104 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
24106 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
24108 for ac_func in finitel
24110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24111 echo "$as_me:$LINENO: checking for $ac_func" >&5
24112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24113 if eval "test \"\${$as_ac_var+set}\" = set"; then
24114 echo $ECHO_N "(cached) $ECHO_C" >&6
24115 else
24116 if test x$gcc_no_link = xyes; then
24117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24119 { (exit 1); exit 1; }; }
24121 cat >conftest.$ac_ext <<_ACEOF
24122 /* confdefs.h. */
24123 _ACEOF
24124 cat confdefs.h >>conftest.$ac_ext
24125 cat >>conftest.$ac_ext <<_ACEOF
24126 /* end confdefs.h. */
24127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24129 #define $ac_func innocuous_$ac_func
24131 /* System header to define __stub macros and hopefully few prototypes,
24132 which can conflict with char $ac_func (); below.
24133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24134 <limits.h> exists even on freestanding compilers. */
24136 #ifdef __STDC__
24137 # include <limits.h>
24138 #else
24139 # include <assert.h>
24140 #endif
24142 #undef $ac_func
24144 /* Override any gcc2 internal prototype to avoid an error. */
24145 #ifdef __cplusplus
24146 extern "C"
24148 #endif
24149 /* We use char because int might match the return type of a gcc2
24150 builtin and then its argument prototype would still apply. */
24151 char $ac_func ();
24152 /* The GNU C library defines this for functions which it implements
24153 to always fail with ENOSYS. Some functions are actually named
24154 something starting with __ and the normal name is an alias. */
24155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24156 choke me
24157 #else
24158 char (*f) () = $ac_func;
24159 #endif
24160 #ifdef __cplusplus
24162 #endif
24165 main ()
24167 return f != $ac_func;
24169 return 0;
24171 _ACEOF
24172 rm -f conftest.$ac_objext conftest$ac_exeext
24173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24174 (eval $ac_link) 2>conftest.er1
24175 ac_status=$?
24176 grep -v '^ *+' conftest.er1 >conftest.err
24177 rm -f conftest.er1
24178 cat conftest.err >&5
24179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24180 (exit $ac_status); } &&
24181 { ac_try='test -z "$ac_c_werror_flag"
24182 || test ! -s conftest.err'
24183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24184 (eval $ac_try) 2>&5
24185 ac_status=$?
24186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24187 (exit $ac_status); }; } &&
24188 { ac_try='test -s conftest$ac_exeext'
24189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24190 (eval $ac_try) 2>&5
24191 ac_status=$?
24192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24193 (exit $ac_status); }; }; then
24194 eval "$as_ac_var=yes"
24195 else
24196 echo "$as_me: failed program was:" >&5
24197 sed 's/^/| /' conftest.$ac_ext >&5
24199 eval "$as_ac_var=no"
24201 rm -f conftest.err conftest.$ac_objext \
24202 conftest$ac_exeext conftest.$ac_ext
24204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24206 if test `eval echo '${'$as_ac_var'}'` = yes; then
24207 cat >>confdefs.h <<_ACEOF
24208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24209 _ACEOF
24212 done
24214 else
24216 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
24217 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
24218 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
24219 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
24220 echo $ECHO_N "(cached) $ECHO_C" >&6
24221 else
24225 ac_ext=cc
24226 ac_cpp='$CXXCPP $CPPFLAGS'
24227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24231 cat >conftest.$ac_ext <<_ACEOF
24232 /* confdefs.h. */
24233 _ACEOF
24234 cat confdefs.h >>conftest.$ac_ext
24235 cat >>conftest.$ac_ext <<_ACEOF
24236 /* end confdefs.h. */
24237 #include <math.h>
24238 #ifdef HAVE_IEEEFP_H
24239 #include <ieeefp.h>
24240 #endif
24243 main ()
24245 _finitel(0);
24247 return 0;
24249 _ACEOF
24250 rm -f conftest.$ac_objext
24251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24252 (eval $ac_compile) 2>conftest.er1
24253 ac_status=$?
24254 grep -v '^ *+' conftest.er1 >conftest.err
24255 rm -f conftest.er1
24256 cat conftest.err >&5
24257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24258 (exit $ac_status); } &&
24259 { ac_try='test -z "$ac_cxx_werror_flag"
24260 || test ! -s conftest.err'
24261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24262 (eval $ac_try) 2>&5
24263 ac_status=$?
24264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24265 (exit $ac_status); }; } &&
24266 { ac_try='test -s conftest.$ac_objext'
24267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24268 (eval $ac_try) 2>&5
24269 ac_status=$?
24270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24271 (exit $ac_status); }; }; then
24272 glibcxx_cv_func__finitel_use=yes
24273 else
24274 echo "$as_me: failed program was:" >&5
24275 sed 's/^/| /' conftest.$ac_ext >&5
24277 glibcxx_cv_func__finitel_use=no
24279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24280 ac_ext=c
24281 ac_cpp='$CPP $CPPFLAGS'
24282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24290 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
24291 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
24293 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
24295 for ac_func in _finitel
24297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24298 echo "$as_me:$LINENO: checking for $ac_func" >&5
24299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24300 if eval "test \"\${$as_ac_var+set}\" = set"; then
24301 echo $ECHO_N "(cached) $ECHO_C" >&6
24302 else
24303 if test x$gcc_no_link = xyes; then
24304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24306 { (exit 1); exit 1; }; }
24308 cat >conftest.$ac_ext <<_ACEOF
24309 /* confdefs.h. */
24310 _ACEOF
24311 cat confdefs.h >>conftest.$ac_ext
24312 cat >>conftest.$ac_ext <<_ACEOF
24313 /* end confdefs.h. */
24314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24316 #define $ac_func innocuous_$ac_func
24318 /* System header to define __stub macros and hopefully few prototypes,
24319 which can conflict with char $ac_func (); below.
24320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24321 <limits.h> exists even on freestanding compilers. */
24323 #ifdef __STDC__
24324 # include <limits.h>
24325 #else
24326 # include <assert.h>
24327 #endif
24329 #undef $ac_func
24331 /* Override any gcc2 internal prototype to avoid an error. */
24332 #ifdef __cplusplus
24333 extern "C"
24335 #endif
24336 /* We use char because int might match the return type of a gcc2
24337 builtin and then its argument prototype would still apply. */
24338 char $ac_func ();
24339 /* The GNU C library defines this for functions which it implements
24340 to always fail with ENOSYS. Some functions are actually named
24341 something starting with __ and the normal name is an alias. */
24342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24343 choke me
24344 #else
24345 char (*f) () = $ac_func;
24346 #endif
24347 #ifdef __cplusplus
24349 #endif
24352 main ()
24354 return f != $ac_func;
24356 return 0;
24358 _ACEOF
24359 rm -f conftest.$ac_objext conftest$ac_exeext
24360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24361 (eval $ac_link) 2>conftest.er1
24362 ac_status=$?
24363 grep -v '^ *+' conftest.er1 >conftest.err
24364 rm -f conftest.er1
24365 cat conftest.err >&5
24366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24367 (exit $ac_status); } &&
24368 { ac_try='test -z "$ac_c_werror_flag"
24369 || test ! -s conftest.err'
24370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24371 (eval $ac_try) 2>&5
24372 ac_status=$?
24373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24374 (exit $ac_status); }; } &&
24375 { ac_try='test -s conftest$ac_exeext'
24376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24377 (eval $ac_try) 2>&5
24378 ac_status=$?
24379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24380 (exit $ac_status); }; }; then
24381 eval "$as_ac_var=yes"
24382 else
24383 echo "$as_me: failed program was:" >&5
24384 sed 's/^/| /' conftest.$ac_ext >&5
24386 eval "$as_ac_var=no"
24388 rm -f conftest.err conftest.$ac_objext \
24389 conftest$ac_exeext conftest.$ac_ext
24391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24393 if test `eval echo '${'$as_ac_var'}'` = yes; then
24394 cat >>confdefs.h <<_ACEOF
24395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24396 _ACEOF
24399 done
24407 echo "$as_me:$LINENO: checking for _float trig functions" >&5
24408 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
24409 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
24410 echo $ECHO_N "(cached) $ECHO_C" >&6
24411 else
24415 ac_ext=cc
24416 ac_cpp='$CXXCPP $CPPFLAGS'
24417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24421 cat >conftest.$ac_ext <<_ACEOF
24422 /* confdefs.h. */
24423 _ACEOF
24424 cat confdefs.h >>conftest.$ac_ext
24425 cat >>conftest.$ac_ext <<_ACEOF
24426 /* end confdefs.h. */
24427 #include <math.h>
24429 main ()
24431 `for x in _acosf _asinf _atanf \
24432 _cosf _sinf _tanf \
24433 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
24435 return 0;
24437 _ACEOF
24438 rm -f conftest.$ac_objext
24439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24440 (eval $ac_compile) 2>conftest.er1
24441 ac_status=$?
24442 grep -v '^ *+' conftest.er1 >conftest.err
24443 rm -f conftest.er1
24444 cat conftest.err >&5
24445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24446 (exit $ac_status); } &&
24447 { ac_try='test -z "$ac_cxx_werror_flag"
24448 || test ! -s conftest.err'
24449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24450 (eval $ac_try) 2>&5
24451 ac_status=$?
24452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24453 (exit $ac_status); }; } &&
24454 { ac_try='test -s conftest.$ac_objext'
24455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24456 (eval $ac_try) 2>&5
24457 ac_status=$?
24458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24459 (exit $ac_status); }; }; then
24460 glibcxx_cv_func__float_trig_use=yes
24461 else
24462 echo "$as_me: failed program was:" >&5
24463 sed 's/^/| /' conftest.$ac_ext >&5
24465 glibcxx_cv_func__float_trig_use=no
24467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24468 ac_ext=c
24469 ac_cpp='$CPP $CPPFLAGS'
24470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24476 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
24477 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
24478 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
24488 for ac_func in _acosf _asinf _atanf \
24489 _cosf _sinf _tanf \
24490 _coshf _sinhf _tanhf
24492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24493 echo "$as_me:$LINENO: checking for $ac_func" >&5
24494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24495 if eval "test \"\${$as_ac_var+set}\" = set"; then
24496 echo $ECHO_N "(cached) $ECHO_C" >&6
24497 else
24498 if test x$gcc_no_link = xyes; then
24499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24501 { (exit 1); exit 1; }; }
24503 cat >conftest.$ac_ext <<_ACEOF
24504 /* confdefs.h. */
24505 _ACEOF
24506 cat confdefs.h >>conftest.$ac_ext
24507 cat >>conftest.$ac_ext <<_ACEOF
24508 /* end confdefs.h. */
24509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24511 #define $ac_func innocuous_$ac_func
24513 /* System header to define __stub macros and hopefully few prototypes,
24514 which can conflict with char $ac_func (); below.
24515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24516 <limits.h> exists even on freestanding compilers. */
24518 #ifdef __STDC__
24519 # include <limits.h>
24520 #else
24521 # include <assert.h>
24522 #endif
24524 #undef $ac_func
24526 /* Override any gcc2 internal prototype to avoid an error. */
24527 #ifdef __cplusplus
24528 extern "C"
24530 #endif
24531 /* We use char because int might match the return type of a gcc2
24532 builtin and then its argument prototype would still apply. */
24533 char $ac_func ();
24534 /* The GNU C library defines this for functions which it implements
24535 to always fail with ENOSYS. Some functions are actually named
24536 something starting with __ and the normal name is an alias. */
24537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24538 choke me
24539 #else
24540 char (*f) () = $ac_func;
24541 #endif
24542 #ifdef __cplusplus
24544 #endif
24547 main ()
24549 return f != $ac_func;
24551 return 0;
24553 _ACEOF
24554 rm -f conftest.$ac_objext conftest$ac_exeext
24555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24556 (eval $ac_link) 2>conftest.er1
24557 ac_status=$?
24558 grep -v '^ *+' conftest.er1 >conftest.err
24559 rm -f conftest.er1
24560 cat conftest.err >&5
24561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24562 (exit $ac_status); } &&
24563 { ac_try='test -z "$ac_c_werror_flag"
24564 || test ! -s conftest.err'
24565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24566 (eval $ac_try) 2>&5
24567 ac_status=$?
24568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24569 (exit $ac_status); }; } &&
24570 { ac_try='test -s conftest$ac_exeext'
24571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24572 (eval $ac_try) 2>&5
24573 ac_status=$?
24574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24575 (exit $ac_status); }; }; then
24576 eval "$as_ac_var=yes"
24577 else
24578 echo "$as_me: failed program was:" >&5
24579 sed 's/^/| /' conftest.$ac_ext >&5
24581 eval "$as_ac_var=no"
24583 rm -f conftest.err conftest.$ac_objext \
24584 conftest$ac_exeext conftest.$ac_ext
24586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24588 if test `eval echo '${'$as_ac_var'}'` = yes; then
24589 cat >>confdefs.h <<_ACEOF
24590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24591 _ACEOF
24594 done
24599 echo "$as_me:$LINENO: checking for _float round functions" >&5
24600 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
24601 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
24602 echo $ECHO_N "(cached) $ECHO_C" >&6
24603 else
24607 ac_ext=cc
24608 ac_cpp='$CXXCPP $CPPFLAGS'
24609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24613 cat >conftest.$ac_ext <<_ACEOF
24614 /* confdefs.h. */
24615 _ACEOF
24616 cat confdefs.h >>conftest.$ac_ext
24617 cat >>conftest.$ac_ext <<_ACEOF
24618 /* end confdefs.h. */
24619 #include <math.h>
24621 main ()
24623 `for x in _ceilf _floorf; do echo "$x (0);"; done`
24625 return 0;
24627 _ACEOF
24628 rm -f conftest.$ac_objext
24629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24630 (eval $ac_compile) 2>conftest.er1
24631 ac_status=$?
24632 grep -v '^ *+' conftest.er1 >conftest.err
24633 rm -f conftest.er1
24634 cat conftest.err >&5
24635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24636 (exit $ac_status); } &&
24637 { ac_try='test -z "$ac_cxx_werror_flag"
24638 || test ! -s conftest.err'
24639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24640 (eval $ac_try) 2>&5
24641 ac_status=$?
24642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24643 (exit $ac_status); }; } &&
24644 { ac_try='test -s conftest.$ac_objext'
24645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24646 (eval $ac_try) 2>&5
24647 ac_status=$?
24648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649 (exit $ac_status); }; }; then
24650 glibcxx_cv_func__float_round_use=yes
24651 else
24652 echo "$as_me: failed program was:" >&5
24653 sed 's/^/| /' conftest.$ac_ext >&5
24655 glibcxx_cv_func__float_round_use=no
24657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24658 ac_ext=c
24659 ac_cpp='$CPP $CPPFLAGS'
24660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24666 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
24667 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
24668 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24671 for ac_func in _ceilf _floorf
24673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24674 echo "$as_me:$LINENO: checking for $ac_func" >&5
24675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24676 if eval "test \"\${$as_ac_var+set}\" = set"; then
24677 echo $ECHO_N "(cached) $ECHO_C" >&6
24678 else
24679 if test x$gcc_no_link = xyes; then
24680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24682 { (exit 1); exit 1; }; }
24684 cat >conftest.$ac_ext <<_ACEOF
24685 /* confdefs.h. */
24686 _ACEOF
24687 cat confdefs.h >>conftest.$ac_ext
24688 cat >>conftest.$ac_ext <<_ACEOF
24689 /* end confdefs.h. */
24690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24692 #define $ac_func innocuous_$ac_func
24694 /* System header to define __stub macros and hopefully few prototypes,
24695 which can conflict with char $ac_func (); below.
24696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24697 <limits.h> exists even on freestanding compilers. */
24699 #ifdef __STDC__
24700 # include <limits.h>
24701 #else
24702 # include <assert.h>
24703 #endif
24705 #undef $ac_func
24707 /* Override any gcc2 internal prototype to avoid an error. */
24708 #ifdef __cplusplus
24709 extern "C"
24711 #endif
24712 /* We use char because int might match the return type of a gcc2
24713 builtin and then its argument prototype would still apply. */
24714 char $ac_func ();
24715 /* The GNU C library defines this for functions which it implements
24716 to always fail with ENOSYS. Some functions are actually named
24717 something starting with __ and the normal name is an alias. */
24718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24719 choke me
24720 #else
24721 char (*f) () = $ac_func;
24722 #endif
24723 #ifdef __cplusplus
24725 #endif
24728 main ()
24730 return f != $ac_func;
24732 return 0;
24734 _ACEOF
24735 rm -f conftest.$ac_objext conftest$ac_exeext
24736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24737 (eval $ac_link) 2>conftest.er1
24738 ac_status=$?
24739 grep -v '^ *+' conftest.er1 >conftest.err
24740 rm -f conftest.er1
24741 cat conftest.err >&5
24742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24743 (exit $ac_status); } &&
24744 { ac_try='test -z "$ac_c_werror_flag"
24745 || test ! -s conftest.err'
24746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24747 (eval $ac_try) 2>&5
24748 ac_status=$?
24749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24750 (exit $ac_status); }; } &&
24751 { ac_try='test -s conftest$ac_exeext'
24752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24753 (eval $ac_try) 2>&5
24754 ac_status=$?
24755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24756 (exit $ac_status); }; }; then
24757 eval "$as_ac_var=yes"
24758 else
24759 echo "$as_me: failed program was:" >&5
24760 sed 's/^/| /' conftest.$ac_ext >&5
24762 eval "$as_ac_var=no"
24764 rm -f conftest.err conftest.$ac_objext \
24765 conftest$ac_exeext conftest.$ac_ext
24767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24769 if test `eval echo '${'$as_ac_var'}'` = yes; then
24770 cat >>confdefs.h <<_ACEOF
24771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24772 _ACEOF
24775 done
24781 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
24782 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
24783 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
24784 echo $ECHO_N "(cached) $ECHO_C" >&6
24785 else
24789 ac_ext=cc
24790 ac_cpp='$CXXCPP $CPPFLAGS'
24791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24795 cat >conftest.$ac_ext <<_ACEOF
24796 /* confdefs.h. */
24797 _ACEOF
24798 cat confdefs.h >>conftest.$ac_ext
24799 cat >>conftest.$ac_ext <<_ACEOF
24800 /* end confdefs.h. */
24801 #include <math.h>
24803 main ()
24805 `for x in _acosl _asinl _atanl \
24806 _cosl _sinl _tanl \
24807 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
24809 return 0;
24811 _ACEOF
24812 rm -f conftest.$ac_objext
24813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24814 (eval $ac_compile) 2>conftest.er1
24815 ac_status=$?
24816 grep -v '^ *+' conftest.er1 >conftest.err
24817 rm -f conftest.er1
24818 cat conftest.err >&5
24819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24820 (exit $ac_status); } &&
24821 { ac_try='test -z "$ac_cxx_werror_flag"
24822 || test ! -s conftest.err'
24823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24824 (eval $ac_try) 2>&5
24825 ac_status=$?
24826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24827 (exit $ac_status); }; } &&
24828 { ac_try='test -s conftest.$ac_objext'
24829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24830 (eval $ac_try) 2>&5
24831 ac_status=$?
24832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24833 (exit $ac_status); }; }; then
24834 glibcxx_cv_func__long_double_trig_use=yes
24835 else
24836 echo "$as_me: failed program was:" >&5
24837 sed 's/^/| /' conftest.$ac_ext >&5
24839 glibcxx_cv_func__long_double_trig_use=no
24841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24842 ac_ext=c
24843 ac_cpp='$CPP $CPPFLAGS'
24844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24850 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
24851 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
24852 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24862 for ac_func in _acosl _asinl _atanl \
24863 _cosl _sinl _tanl \
24864 _coshl _sinhl _tanhl
24866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24867 echo "$as_me:$LINENO: checking for $ac_func" >&5
24868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24869 if eval "test \"\${$as_ac_var+set}\" = set"; then
24870 echo $ECHO_N "(cached) $ECHO_C" >&6
24871 else
24872 if test x$gcc_no_link = xyes; then
24873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24875 { (exit 1); exit 1; }; }
24877 cat >conftest.$ac_ext <<_ACEOF
24878 /* confdefs.h. */
24879 _ACEOF
24880 cat confdefs.h >>conftest.$ac_ext
24881 cat >>conftest.$ac_ext <<_ACEOF
24882 /* end confdefs.h. */
24883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24885 #define $ac_func innocuous_$ac_func
24887 /* System header to define __stub macros and hopefully few prototypes,
24888 which can conflict with char $ac_func (); below.
24889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24890 <limits.h> exists even on freestanding compilers. */
24892 #ifdef __STDC__
24893 # include <limits.h>
24894 #else
24895 # include <assert.h>
24896 #endif
24898 #undef $ac_func
24900 /* Override any gcc2 internal prototype to avoid an error. */
24901 #ifdef __cplusplus
24902 extern "C"
24904 #endif
24905 /* We use char because int might match the return type of a gcc2
24906 builtin and then its argument prototype would still apply. */
24907 char $ac_func ();
24908 /* The GNU C library defines this for functions which it implements
24909 to always fail with ENOSYS. Some functions are actually named
24910 something starting with __ and the normal name is an alias. */
24911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24912 choke me
24913 #else
24914 char (*f) () = $ac_func;
24915 #endif
24916 #ifdef __cplusplus
24918 #endif
24921 main ()
24923 return f != $ac_func;
24925 return 0;
24927 _ACEOF
24928 rm -f conftest.$ac_objext conftest$ac_exeext
24929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24930 (eval $ac_link) 2>conftest.er1
24931 ac_status=$?
24932 grep -v '^ *+' conftest.er1 >conftest.err
24933 rm -f conftest.er1
24934 cat conftest.err >&5
24935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24936 (exit $ac_status); } &&
24937 { ac_try='test -z "$ac_c_werror_flag"
24938 || test ! -s conftest.err'
24939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24940 (eval $ac_try) 2>&5
24941 ac_status=$?
24942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24943 (exit $ac_status); }; } &&
24944 { ac_try='test -s conftest$ac_exeext'
24945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24946 (eval $ac_try) 2>&5
24947 ac_status=$?
24948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24949 (exit $ac_status); }; }; then
24950 eval "$as_ac_var=yes"
24951 else
24952 echo "$as_me: failed program was:" >&5
24953 sed 's/^/| /' conftest.$ac_ext >&5
24955 eval "$as_ac_var=no"
24957 rm -f conftest.err conftest.$ac_objext \
24958 conftest$ac_exeext conftest.$ac_ext
24960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24962 if test `eval echo '${'$as_ac_var'}'` = yes; then
24963 cat >>confdefs.h <<_ACEOF
24964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24965 _ACEOF
24968 done
24973 echo "$as_me:$LINENO: checking for _long double round functions" >&5
24974 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
24975 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
24976 echo $ECHO_N "(cached) $ECHO_C" >&6
24977 else
24981 ac_ext=cc
24982 ac_cpp='$CXXCPP $CPPFLAGS'
24983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24987 cat >conftest.$ac_ext <<_ACEOF
24988 /* confdefs.h. */
24989 _ACEOF
24990 cat confdefs.h >>conftest.$ac_ext
24991 cat >>conftest.$ac_ext <<_ACEOF
24992 /* end confdefs.h. */
24993 #include <math.h>
24995 main ()
24997 `for x in _ceill _floorl; do echo "$x (0);"; done`
24999 return 0;
25001 _ACEOF
25002 rm -f conftest.$ac_objext
25003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25004 (eval $ac_compile) 2>conftest.er1
25005 ac_status=$?
25006 grep -v '^ *+' conftest.er1 >conftest.err
25007 rm -f conftest.er1
25008 cat conftest.err >&5
25009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25010 (exit $ac_status); } &&
25011 { ac_try='test -z "$ac_cxx_werror_flag"
25012 || test ! -s conftest.err'
25013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25014 (eval $ac_try) 2>&5
25015 ac_status=$?
25016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25017 (exit $ac_status); }; } &&
25018 { ac_try='test -s conftest.$ac_objext'
25019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25020 (eval $ac_try) 2>&5
25021 ac_status=$?
25022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25023 (exit $ac_status); }; }; then
25024 glibcxx_cv_func__long_double_round_use=yes
25025 else
25026 echo "$as_me: failed program was:" >&5
25027 sed 's/^/| /' conftest.$ac_ext >&5
25029 glibcxx_cv_func__long_double_round_use=no
25031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25032 ac_ext=c
25033 ac_cpp='$CPP $CPPFLAGS'
25034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25040 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
25041 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
25042 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25045 for ac_func in _ceill _floorl
25047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25048 echo "$as_me:$LINENO: checking for $ac_func" >&5
25049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25050 if eval "test \"\${$as_ac_var+set}\" = set"; then
25051 echo $ECHO_N "(cached) $ECHO_C" >&6
25052 else
25053 if test x$gcc_no_link = xyes; then
25054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25056 { (exit 1); exit 1; }; }
25058 cat >conftest.$ac_ext <<_ACEOF
25059 /* confdefs.h. */
25060 _ACEOF
25061 cat confdefs.h >>conftest.$ac_ext
25062 cat >>conftest.$ac_ext <<_ACEOF
25063 /* end confdefs.h. */
25064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25066 #define $ac_func innocuous_$ac_func
25068 /* System header to define __stub macros and hopefully few prototypes,
25069 which can conflict with char $ac_func (); below.
25070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25071 <limits.h> exists even on freestanding compilers. */
25073 #ifdef __STDC__
25074 # include <limits.h>
25075 #else
25076 # include <assert.h>
25077 #endif
25079 #undef $ac_func
25081 /* Override any gcc2 internal prototype to avoid an error. */
25082 #ifdef __cplusplus
25083 extern "C"
25085 #endif
25086 /* We use char because int might match the return type of a gcc2
25087 builtin and then its argument prototype would still apply. */
25088 char $ac_func ();
25089 /* The GNU C library defines this for functions which it implements
25090 to always fail with ENOSYS. Some functions are actually named
25091 something starting with __ and the normal name is an alias. */
25092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25093 choke me
25094 #else
25095 char (*f) () = $ac_func;
25096 #endif
25097 #ifdef __cplusplus
25099 #endif
25102 main ()
25104 return f != $ac_func;
25106 return 0;
25108 _ACEOF
25109 rm -f conftest.$ac_objext conftest$ac_exeext
25110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25111 (eval $ac_link) 2>conftest.er1
25112 ac_status=$?
25113 grep -v '^ *+' conftest.er1 >conftest.err
25114 rm -f conftest.er1
25115 cat conftest.err >&5
25116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25117 (exit $ac_status); } &&
25118 { ac_try='test -z "$ac_c_werror_flag"
25119 || test ! -s conftest.err'
25120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25121 (eval $ac_try) 2>&5
25122 ac_status=$?
25123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25124 (exit $ac_status); }; } &&
25125 { ac_try='test -s conftest$ac_exeext'
25126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25127 (eval $ac_try) 2>&5
25128 ac_status=$?
25129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25130 (exit $ac_status); }; }; then
25131 eval "$as_ac_var=yes"
25132 else
25133 echo "$as_me: failed program was:" >&5
25134 sed 's/^/| /' conftest.$ac_ext >&5
25136 eval "$as_ac_var=no"
25138 rm -f conftest.err conftest.$ac_objext \
25139 conftest$ac_exeext conftest.$ac_ext
25141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25143 if test `eval echo '${'$as_ac_var'}'` = yes; then
25144 cat >>confdefs.h <<_ACEOF
25145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25146 _ACEOF
25149 done
25154 LIBS="$ac_save_LIBS"
25155 CXXFLAGS="$ac_save_CXXFLAGS"
25159 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25160 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25161 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25162 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25163 echo $ECHO_N "(cached) $ECHO_C" >&6
25164 else
25168 ac_ext=cc
25169 ac_cpp='$CXXCPP $CPPFLAGS'
25170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25174 cat >conftest.$ac_ext <<_ACEOF
25175 /* confdefs.h. */
25176 _ACEOF
25177 cat confdefs.h >>conftest.$ac_ext
25178 cat >>conftest.$ac_ext <<_ACEOF
25179 /* end confdefs.h. */
25180 #include <math.h>
25182 main ()
25184 __builtin_abs(0);
25186 return 0;
25188 _ACEOF
25189 rm -f conftest.$ac_objext
25190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25191 (eval $ac_compile) 2>conftest.er1
25192 ac_status=$?
25193 grep -v '^ *+' conftest.er1 >conftest.err
25194 rm -f conftest.er1
25195 cat conftest.err >&5
25196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25197 (exit $ac_status); } &&
25198 { ac_try='test -z "$ac_cxx_werror_flag"
25199 || test ! -s conftest.err'
25200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25201 (eval $ac_try) 2>&5
25202 ac_status=$?
25203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25204 (exit $ac_status); }; } &&
25205 { ac_try='test -s conftest.$ac_objext'
25206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25207 (eval $ac_try) 2>&5
25208 ac_status=$?
25209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25210 (exit $ac_status); }; }; then
25211 glibcxx_cv_func___builtin_abs_use=yes
25212 else
25213 echo "$as_me: failed program was:" >&5
25214 sed 's/^/| /' conftest.$ac_ext >&5
25216 glibcxx_cv_func___builtin_abs_use=no
25218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25219 ac_ext=c
25220 ac_cpp='$CPP $CPPFLAGS'
25221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25229 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25230 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25231 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25232 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25233 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25234 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25235 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25236 echo $ECHO_N "(cached) $ECHO_C" >&6
25237 else
25239 if test x$gcc_no_link = xyes; then
25240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25242 { (exit 1); exit 1; }; }
25244 cat >conftest.$ac_ext <<_ACEOF
25245 /* confdefs.h. */
25246 _ACEOF
25247 cat confdefs.h >>conftest.$ac_ext
25248 cat >>conftest.$ac_ext <<_ACEOF
25249 /* end confdefs.h. */
25250 #include <math.h>
25252 main ()
25254 __builtin_abs(0);
25256 return 0;
25258 _ACEOF
25259 rm -f conftest.$ac_objext conftest$ac_exeext
25260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25261 (eval $ac_link) 2>conftest.er1
25262 ac_status=$?
25263 grep -v '^ *+' conftest.er1 >conftest.err
25264 rm -f conftest.er1
25265 cat conftest.err >&5
25266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25267 (exit $ac_status); } &&
25268 { ac_try='test -z "$ac_c_werror_flag"
25269 || test ! -s conftest.err'
25270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25271 (eval $ac_try) 2>&5
25272 ac_status=$?
25273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25274 (exit $ac_status); }; } &&
25275 { ac_try='test -s conftest$ac_exeext'
25276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25277 (eval $ac_try) 2>&5
25278 ac_status=$?
25279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25280 (exit $ac_status); }; }; then
25281 glibcxx_cv_func___builtin_abs_link=yes
25282 else
25283 echo "$as_me: failed program was:" >&5
25284 sed 's/^/| /' conftest.$ac_ext >&5
25286 glibcxx_cv_func___builtin_abs_link=no
25288 rm -f conftest.err conftest.$ac_objext \
25289 conftest$ac_exeext conftest.$ac_ext
25294 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25295 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25296 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25297 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25298 cat >>confdefs.h <<_ACEOF
25299 #define ${ac_tr_func} 1
25300 _ACEOF
25306 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25307 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25308 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25309 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25310 echo $ECHO_N "(cached) $ECHO_C" >&6
25311 else
25315 ac_ext=cc
25316 ac_cpp='$CXXCPP $CPPFLAGS'
25317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25321 cat >conftest.$ac_ext <<_ACEOF
25322 /* confdefs.h. */
25323 _ACEOF
25324 cat confdefs.h >>conftest.$ac_ext
25325 cat >>conftest.$ac_ext <<_ACEOF
25326 /* end confdefs.h. */
25327 #include <math.h>
25329 main ()
25331 __builtin_fabsf(0);
25333 return 0;
25335 _ACEOF
25336 rm -f conftest.$ac_objext
25337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25338 (eval $ac_compile) 2>conftest.er1
25339 ac_status=$?
25340 grep -v '^ *+' conftest.er1 >conftest.err
25341 rm -f conftest.er1
25342 cat conftest.err >&5
25343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25344 (exit $ac_status); } &&
25345 { ac_try='test -z "$ac_cxx_werror_flag"
25346 || test ! -s conftest.err'
25347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25348 (eval $ac_try) 2>&5
25349 ac_status=$?
25350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25351 (exit $ac_status); }; } &&
25352 { ac_try='test -s conftest.$ac_objext'
25353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25354 (eval $ac_try) 2>&5
25355 ac_status=$?
25356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25357 (exit $ac_status); }; }; then
25358 glibcxx_cv_func___builtin_fabsf_use=yes
25359 else
25360 echo "$as_me: failed program was:" >&5
25361 sed 's/^/| /' conftest.$ac_ext >&5
25363 glibcxx_cv_func___builtin_fabsf_use=no
25365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25366 ac_ext=c
25367 ac_cpp='$CPP $CPPFLAGS'
25368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25376 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25377 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25378 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25379 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25380 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25381 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25382 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25383 echo $ECHO_N "(cached) $ECHO_C" >&6
25384 else
25386 if test x$gcc_no_link = xyes; then
25387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25389 { (exit 1); exit 1; }; }
25391 cat >conftest.$ac_ext <<_ACEOF
25392 /* confdefs.h. */
25393 _ACEOF
25394 cat confdefs.h >>conftest.$ac_ext
25395 cat >>conftest.$ac_ext <<_ACEOF
25396 /* end confdefs.h. */
25397 #include <math.h>
25399 main ()
25401 __builtin_fabsf(0);
25403 return 0;
25405 _ACEOF
25406 rm -f conftest.$ac_objext conftest$ac_exeext
25407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25408 (eval $ac_link) 2>conftest.er1
25409 ac_status=$?
25410 grep -v '^ *+' conftest.er1 >conftest.err
25411 rm -f conftest.er1
25412 cat conftest.err >&5
25413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25414 (exit $ac_status); } &&
25415 { ac_try='test -z "$ac_c_werror_flag"
25416 || test ! -s conftest.err'
25417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25418 (eval $ac_try) 2>&5
25419 ac_status=$?
25420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25421 (exit $ac_status); }; } &&
25422 { ac_try='test -s conftest$ac_exeext'
25423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25424 (eval $ac_try) 2>&5
25425 ac_status=$?
25426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25427 (exit $ac_status); }; }; then
25428 glibcxx_cv_func___builtin_fabsf_link=yes
25429 else
25430 echo "$as_me: failed program was:" >&5
25431 sed 's/^/| /' conftest.$ac_ext >&5
25433 glibcxx_cv_func___builtin_fabsf_link=no
25435 rm -f conftest.err conftest.$ac_objext \
25436 conftest$ac_exeext conftest.$ac_ext
25441 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25442 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25443 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25444 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25445 cat >>confdefs.h <<_ACEOF
25446 #define ${ac_tr_func} 1
25447 _ACEOF
25453 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25454 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25455 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25456 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25457 echo $ECHO_N "(cached) $ECHO_C" >&6
25458 else
25462 ac_ext=cc
25463 ac_cpp='$CXXCPP $CPPFLAGS'
25464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25468 cat >conftest.$ac_ext <<_ACEOF
25469 /* confdefs.h. */
25470 _ACEOF
25471 cat confdefs.h >>conftest.$ac_ext
25472 cat >>conftest.$ac_ext <<_ACEOF
25473 /* end confdefs.h. */
25474 #include <math.h>
25476 main ()
25478 __builtin_fabs(0);
25480 return 0;
25482 _ACEOF
25483 rm -f conftest.$ac_objext
25484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25485 (eval $ac_compile) 2>conftest.er1
25486 ac_status=$?
25487 grep -v '^ *+' conftest.er1 >conftest.err
25488 rm -f conftest.er1
25489 cat conftest.err >&5
25490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25491 (exit $ac_status); } &&
25492 { ac_try='test -z "$ac_cxx_werror_flag"
25493 || test ! -s conftest.err'
25494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25495 (eval $ac_try) 2>&5
25496 ac_status=$?
25497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25498 (exit $ac_status); }; } &&
25499 { ac_try='test -s conftest.$ac_objext'
25500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25501 (eval $ac_try) 2>&5
25502 ac_status=$?
25503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25504 (exit $ac_status); }; }; then
25505 glibcxx_cv_func___builtin_fabs_use=yes
25506 else
25507 echo "$as_me: failed program was:" >&5
25508 sed 's/^/| /' conftest.$ac_ext >&5
25510 glibcxx_cv_func___builtin_fabs_use=no
25512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25513 ac_ext=c
25514 ac_cpp='$CPP $CPPFLAGS'
25515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25523 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
25524 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
25525 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
25526 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
25527 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
25528 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
25529 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
25530 echo $ECHO_N "(cached) $ECHO_C" >&6
25531 else
25533 if test x$gcc_no_link = xyes; then
25534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25536 { (exit 1); exit 1; }; }
25538 cat >conftest.$ac_ext <<_ACEOF
25539 /* confdefs.h. */
25540 _ACEOF
25541 cat confdefs.h >>conftest.$ac_ext
25542 cat >>conftest.$ac_ext <<_ACEOF
25543 /* end confdefs.h. */
25544 #include <math.h>
25546 main ()
25548 __builtin_fabs(0);
25550 return 0;
25552 _ACEOF
25553 rm -f conftest.$ac_objext conftest$ac_exeext
25554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25555 (eval $ac_link) 2>conftest.er1
25556 ac_status=$?
25557 grep -v '^ *+' conftest.er1 >conftest.err
25558 rm -f conftest.er1
25559 cat conftest.err >&5
25560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25561 (exit $ac_status); } &&
25562 { ac_try='test -z "$ac_c_werror_flag"
25563 || test ! -s conftest.err'
25564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25565 (eval $ac_try) 2>&5
25566 ac_status=$?
25567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25568 (exit $ac_status); }; } &&
25569 { ac_try='test -s conftest$ac_exeext'
25570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25571 (eval $ac_try) 2>&5
25572 ac_status=$?
25573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25574 (exit $ac_status); }; }; then
25575 glibcxx_cv_func___builtin_fabs_link=yes
25576 else
25577 echo "$as_me: failed program was:" >&5
25578 sed 's/^/| /' conftest.$ac_ext >&5
25580 glibcxx_cv_func___builtin_fabs_link=no
25582 rm -f conftest.err conftest.$ac_objext \
25583 conftest$ac_exeext conftest.$ac_ext
25588 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
25589 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
25590 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
25591 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25592 cat >>confdefs.h <<_ACEOF
25593 #define ${ac_tr_func} 1
25594 _ACEOF
25600 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
25601 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
25602 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
25603 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
25604 echo $ECHO_N "(cached) $ECHO_C" >&6
25605 else
25609 ac_ext=cc
25610 ac_cpp='$CXXCPP $CPPFLAGS'
25611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25615 cat >conftest.$ac_ext <<_ACEOF
25616 /* confdefs.h. */
25617 _ACEOF
25618 cat confdefs.h >>conftest.$ac_ext
25619 cat >>conftest.$ac_ext <<_ACEOF
25620 /* end confdefs.h. */
25621 #include <math.h>
25623 main ()
25625 __builtin_fabsl(0);
25627 return 0;
25629 _ACEOF
25630 rm -f conftest.$ac_objext
25631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25632 (eval $ac_compile) 2>conftest.er1
25633 ac_status=$?
25634 grep -v '^ *+' conftest.er1 >conftest.err
25635 rm -f conftest.er1
25636 cat conftest.err >&5
25637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25638 (exit $ac_status); } &&
25639 { ac_try='test -z "$ac_cxx_werror_flag"
25640 || test ! -s conftest.err'
25641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25642 (eval $ac_try) 2>&5
25643 ac_status=$?
25644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25645 (exit $ac_status); }; } &&
25646 { ac_try='test -s conftest.$ac_objext'
25647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25648 (eval $ac_try) 2>&5
25649 ac_status=$?
25650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25651 (exit $ac_status); }; }; then
25652 glibcxx_cv_func___builtin_fabsl_use=yes
25653 else
25654 echo "$as_me: failed program was:" >&5
25655 sed 's/^/| /' conftest.$ac_ext >&5
25657 glibcxx_cv_func___builtin_fabsl_use=no
25659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25660 ac_ext=c
25661 ac_cpp='$CPP $CPPFLAGS'
25662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25670 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
25671 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
25672 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
25673 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
25674 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
25675 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
25676 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
25677 echo $ECHO_N "(cached) $ECHO_C" >&6
25678 else
25680 if test x$gcc_no_link = xyes; then
25681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25683 { (exit 1); exit 1; }; }
25685 cat >conftest.$ac_ext <<_ACEOF
25686 /* confdefs.h. */
25687 _ACEOF
25688 cat confdefs.h >>conftest.$ac_ext
25689 cat >>conftest.$ac_ext <<_ACEOF
25690 /* end confdefs.h. */
25691 #include <math.h>
25693 main ()
25695 __builtin_fabsl(0);
25697 return 0;
25699 _ACEOF
25700 rm -f conftest.$ac_objext conftest$ac_exeext
25701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25702 (eval $ac_link) 2>conftest.er1
25703 ac_status=$?
25704 grep -v '^ *+' conftest.er1 >conftest.err
25705 rm -f conftest.er1
25706 cat conftest.err >&5
25707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25708 (exit $ac_status); } &&
25709 { ac_try='test -z "$ac_c_werror_flag"
25710 || test ! -s conftest.err'
25711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25712 (eval $ac_try) 2>&5
25713 ac_status=$?
25714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25715 (exit $ac_status); }; } &&
25716 { ac_try='test -s conftest$ac_exeext'
25717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25718 (eval $ac_try) 2>&5
25719 ac_status=$?
25720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25721 (exit $ac_status); }; }; then
25722 glibcxx_cv_func___builtin_fabsl_link=yes
25723 else
25724 echo "$as_me: failed program was:" >&5
25725 sed 's/^/| /' conftest.$ac_ext >&5
25727 glibcxx_cv_func___builtin_fabsl_link=no
25729 rm -f conftest.err conftest.$ac_objext \
25730 conftest$ac_exeext conftest.$ac_ext
25735 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
25736 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
25737 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
25738 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25739 cat >>confdefs.h <<_ACEOF
25740 #define ${ac_tr_func} 1
25741 _ACEOF
25747 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
25748 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
25749 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
25750 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
25751 echo $ECHO_N "(cached) $ECHO_C" >&6
25752 else
25756 ac_ext=cc
25757 ac_cpp='$CXXCPP $CPPFLAGS'
25758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25762 cat >conftest.$ac_ext <<_ACEOF
25763 /* confdefs.h. */
25764 _ACEOF
25765 cat confdefs.h >>conftest.$ac_ext
25766 cat >>conftest.$ac_ext <<_ACEOF
25767 /* end confdefs.h. */
25768 #include <math.h>
25770 main ()
25772 __builtin_labs(0);
25774 return 0;
25776 _ACEOF
25777 rm -f conftest.$ac_objext
25778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25779 (eval $ac_compile) 2>conftest.er1
25780 ac_status=$?
25781 grep -v '^ *+' conftest.er1 >conftest.err
25782 rm -f conftest.er1
25783 cat conftest.err >&5
25784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25785 (exit $ac_status); } &&
25786 { ac_try='test -z "$ac_cxx_werror_flag"
25787 || test ! -s conftest.err'
25788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25789 (eval $ac_try) 2>&5
25790 ac_status=$?
25791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25792 (exit $ac_status); }; } &&
25793 { ac_try='test -s conftest.$ac_objext'
25794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25795 (eval $ac_try) 2>&5
25796 ac_status=$?
25797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25798 (exit $ac_status); }; }; then
25799 glibcxx_cv_func___builtin_labs_use=yes
25800 else
25801 echo "$as_me: failed program was:" >&5
25802 sed 's/^/| /' conftest.$ac_ext >&5
25804 glibcxx_cv_func___builtin_labs_use=no
25806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25807 ac_ext=c
25808 ac_cpp='$CPP $CPPFLAGS'
25809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25817 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
25818 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
25819 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
25820 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
25821 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
25822 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
25823 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
25824 echo $ECHO_N "(cached) $ECHO_C" >&6
25825 else
25827 if test x$gcc_no_link = xyes; then
25828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25830 { (exit 1); exit 1; }; }
25832 cat >conftest.$ac_ext <<_ACEOF
25833 /* confdefs.h. */
25834 _ACEOF
25835 cat confdefs.h >>conftest.$ac_ext
25836 cat >>conftest.$ac_ext <<_ACEOF
25837 /* end confdefs.h. */
25838 #include <math.h>
25840 main ()
25842 __builtin_labs(0);
25844 return 0;
25846 _ACEOF
25847 rm -f conftest.$ac_objext conftest$ac_exeext
25848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25849 (eval $ac_link) 2>conftest.er1
25850 ac_status=$?
25851 grep -v '^ *+' conftest.er1 >conftest.err
25852 rm -f conftest.er1
25853 cat conftest.err >&5
25854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25855 (exit $ac_status); } &&
25856 { ac_try='test -z "$ac_c_werror_flag"
25857 || test ! -s conftest.err'
25858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25859 (eval $ac_try) 2>&5
25860 ac_status=$?
25861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25862 (exit $ac_status); }; } &&
25863 { ac_try='test -s conftest$ac_exeext'
25864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25865 (eval $ac_try) 2>&5
25866 ac_status=$?
25867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25868 (exit $ac_status); }; }; then
25869 glibcxx_cv_func___builtin_labs_link=yes
25870 else
25871 echo "$as_me: failed program was:" >&5
25872 sed 's/^/| /' conftest.$ac_ext >&5
25874 glibcxx_cv_func___builtin_labs_link=no
25876 rm -f conftest.err conftest.$ac_objext \
25877 conftest$ac_exeext conftest.$ac_ext
25882 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
25883 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
25884 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
25885 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25886 cat >>confdefs.h <<_ACEOF
25887 #define ${ac_tr_func} 1
25888 _ACEOF
25895 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
25896 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
25897 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
25898 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
25899 echo $ECHO_N "(cached) $ECHO_C" >&6
25900 else
25904 ac_ext=cc
25905 ac_cpp='$CXXCPP $CPPFLAGS'
25906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25910 cat >conftest.$ac_ext <<_ACEOF
25911 /* confdefs.h. */
25912 _ACEOF
25913 cat confdefs.h >>conftest.$ac_ext
25914 cat >>conftest.$ac_ext <<_ACEOF
25915 /* end confdefs.h. */
25916 #include <math.h>
25918 main ()
25920 __builtin_sqrtf(0);
25922 return 0;
25924 _ACEOF
25925 rm -f conftest.$ac_objext
25926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25927 (eval $ac_compile) 2>conftest.er1
25928 ac_status=$?
25929 grep -v '^ *+' conftest.er1 >conftest.err
25930 rm -f conftest.er1
25931 cat conftest.err >&5
25932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25933 (exit $ac_status); } &&
25934 { ac_try='test -z "$ac_cxx_werror_flag"
25935 || test ! -s conftest.err'
25936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25937 (eval $ac_try) 2>&5
25938 ac_status=$?
25939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940 (exit $ac_status); }; } &&
25941 { ac_try='test -s conftest.$ac_objext'
25942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25943 (eval $ac_try) 2>&5
25944 ac_status=$?
25945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25946 (exit $ac_status); }; }; then
25947 glibcxx_cv_func___builtin_sqrtf_use=yes
25948 else
25949 echo "$as_me: failed program was:" >&5
25950 sed 's/^/| /' conftest.$ac_ext >&5
25952 glibcxx_cv_func___builtin_sqrtf_use=no
25954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25955 ac_ext=c
25956 ac_cpp='$CPP $CPPFLAGS'
25957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25965 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
25966 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
25967 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
25968 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
25969 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
25970 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
25971 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
25972 echo $ECHO_N "(cached) $ECHO_C" >&6
25973 else
25975 if test x$gcc_no_link = xyes; then
25976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25978 { (exit 1); exit 1; }; }
25980 cat >conftest.$ac_ext <<_ACEOF
25981 /* confdefs.h. */
25982 _ACEOF
25983 cat confdefs.h >>conftest.$ac_ext
25984 cat >>conftest.$ac_ext <<_ACEOF
25985 /* end confdefs.h. */
25986 #include <math.h>
25988 main ()
25990 __builtin_sqrtf(0);
25992 return 0;
25994 _ACEOF
25995 rm -f conftest.$ac_objext conftest$ac_exeext
25996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25997 (eval $ac_link) 2>conftest.er1
25998 ac_status=$?
25999 grep -v '^ *+' conftest.er1 >conftest.err
26000 rm -f conftest.er1
26001 cat conftest.err >&5
26002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26003 (exit $ac_status); } &&
26004 { ac_try='test -z "$ac_c_werror_flag"
26005 || test ! -s conftest.err'
26006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26007 (eval $ac_try) 2>&5
26008 ac_status=$?
26009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26010 (exit $ac_status); }; } &&
26011 { ac_try='test -s conftest$ac_exeext'
26012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26013 (eval $ac_try) 2>&5
26014 ac_status=$?
26015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26016 (exit $ac_status); }; }; then
26017 glibcxx_cv_func___builtin_sqrtf_link=yes
26018 else
26019 echo "$as_me: failed program was:" >&5
26020 sed 's/^/| /' conftest.$ac_ext >&5
26022 glibcxx_cv_func___builtin_sqrtf_link=no
26024 rm -f conftest.err conftest.$ac_objext \
26025 conftest$ac_exeext conftest.$ac_ext
26030 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26031 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26032 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26033 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26034 cat >>confdefs.h <<_ACEOF
26035 #define ${ac_tr_func} 1
26036 _ACEOF
26042 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26043 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26044 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26045 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26046 echo $ECHO_N "(cached) $ECHO_C" >&6
26047 else
26051 ac_ext=cc
26052 ac_cpp='$CXXCPP $CPPFLAGS'
26053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26057 cat >conftest.$ac_ext <<_ACEOF
26058 /* confdefs.h. */
26059 _ACEOF
26060 cat confdefs.h >>conftest.$ac_ext
26061 cat >>conftest.$ac_ext <<_ACEOF
26062 /* end confdefs.h. */
26063 #include <math.h>
26065 main ()
26067 __builtin_sqrt(0);
26069 return 0;
26071 _ACEOF
26072 rm -f conftest.$ac_objext
26073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26074 (eval $ac_compile) 2>conftest.er1
26075 ac_status=$?
26076 grep -v '^ *+' conftest.er1 >conftest.err
26077 rm -f conftest.er1
26078 cat conftest.err >&5
26079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26080 (exit $ac_status); } &&
26081 { ac_try='test -z "$ac_cxx_werror_flag"
26082 || test ! -s conftest.err'
26083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26084 (eval $ac_try) 2>&5
26085 ac_status=$?
26086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26087 (exit $ac_status); }; } &&
26088 { ac_try='test -s conftest.$ac_objext'
26089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26090 (eval $ac_try) 2>&5
26091 ac_status=$?
26092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26093 (exit $ac_status); }; }; then
26094 glibcxx_cv_func___builtin_sqrt_use=yes
26095 else
26096 echo "$as_me: failed program was:" >&5
26097 sed 's/^/| /' conftest.$ac_ext >&5
26099 glibcxx_cv_func___builtin_sqrt_use=no
26101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26102 ac_ext=c
26103 ac_cpp='$CPP $CPPFLAGS'
26104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26112 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26113 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26114 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26115 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26116 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26117 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26118 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26119 echo $ECHO_N "(cached) $ECHO_C" >&6
26120 else
26122 if test x$gcc_no_link = xyes; then
26123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26125 { (exit 1); exit 1; }; }
26127 cat >conftest.$ac_ext <<_ACEOF
26128 /* confdefs.h. */
26129 _ACEOF
26130 cat confdefs.h >>conftest.$ac_ext
26131 cat >>conftest.$ac_ext <<_ACEOF
26132 /* end confdefs.h. */
26133 #include <math.h>
26135 main ()
26137 __builtin_sqrt(0);
26139 return 0;
26141 _ACEOF
26142 rm -f conftest.$ac_objext conftest$ac_exeext
26143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26144 (eval $ac_link) 2>conftest.er1
26145 ac_status=$?
26146 grep -v '^ *+' conftest.er1 >conftest.err
26147 rm -f conftest.er1
26148 cat conftest.err >&5
26149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150 (exit $ac_status); } &&
26151 { ac_try='test -z "$ac_c_werror_flag"
26152 || test ! -s conftest.err'
26153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26154 (eval $ac_try) 2>&5
26155 ac_status=$?
26156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157 (exit $ac_status); }; } &&
26158 { ac_try='test -s conftest$ac_exeext'
26159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26160 (eval $ac_try) 2>&5
26161 ac_status=$?
26162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26163 (exit $ac_status); }; }; then
26164 glibcxx_cv_func___builtin_sqrt_link=yes
26165 else
26166 echo "$as_me: failed program was:" >&5
26167 sed 's/^/| /' conftest.$ac_ext >&5
26169 glibcxx_cv_func___builtin_sqrt_link=no
26171 rm -f conftest.err conftest.$ac_objext \
26172 conftest$ac_exeext conftest.$ac_ext
26177 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26178 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26179 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26180 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26181 cat >>confdefs.h <<_ACEOF
26182 #define ${ac_tr_func} 1
26183 _ACEOF
26189 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26190 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26191 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26192 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26193 echo $ECHO_N "(cached) $ECHO_C" >&6
26194 else
26198 ac_ext=cc
26199 ac_cpp='$CXXCPP $CPPFLAGS'
26200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26204 cat >conftest.$ac_ext <<_ACEOF
26205 /* confdefs.h. */
26206 _ACEOF
26207 cat confdefs.h >>conftest.$ac_ext
26208 cat >>conftest.$ac_ext <<_ACEOF
26209 /* end confdefs.h. */
26210 #include <math.h>
26212 main ()
26214 __builtin_sqrtl(0);
26216 return 0;
26218 _ACEOF
26219 rm -f conftest.$ac_objext
26220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26221 (eval $ac_compile) 2>conftest.er1
26222 ac_status=$?
26223 grep -v '^ *+' conftest.er1 >conftest.err
26224 rm -f conftest.er1
26225 cat conftest.err >&5
26226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26227 (exit $ac_status); } &&
26228 { ac_try='test -z "$ac_cxx_werror_flag"
26229 || test ! -s conftest.err'
26230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26231 (eval $ac_try) 2>&5
26232 ac_status=$?
26233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26234 (exit $ac_status); }; } &&
26235 { ac_try='test -s conftest.$ac_objext'
26236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26237 (eval $ac_try) 2>&5
26238 ac_status=$?
26239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26240 (exit $ac_status); }; }; then
26241 glibcxx_cv_func___builtin_sqrtl_use=yes
26242 else
26243 echo "$as_me: failed program was:" >&5
26244 sed 's/^/| /' conftest.$ac_ext >&5
26246 glibcxx_cv_func___builtin_sqrtl_use=no
26248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26249 ac_ext=c
26250 ac_cpp='$CPP $CPPFLAGS'
26251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26259 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26260 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26261 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26262 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26263 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26264 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26265 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26266 echo $ECHO_N "(cached) $ECHO_C" >&6
26267 else
26269 if test x$gcc_no_link = xyes; then
26270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26272 { (exit 1); exit 1; }; }
26274 cat >conftest.$ac_ext <<_ACEOF
26275 /* confdefs.h. */
26276 _ACEOF
26277 cat confdefs.h >>conftest.$ac_ext
26278 cat >>conftest.$ac_ext <<_ACEOF
26279 /* end confdefs.h. */
26280 #include <math.h>
26282 main ()
26284 __builtin_sqrtl(0);
26286 return 0;
26288 _ACEOF
26289 rm -f conftest.$ac_objext conftest$ac_exeext
26290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26291 (eval $ac_link) 2>conftest.er1
26292 ac_status=$?
26293 grep -v '^ *+' conftest.er1 >conftest.err
26294 rm -f conftest.er1
26295 cat conftest.err >&5
26296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26297 (exit $ac_status); } &&
26298 { ac_try='test -z "$ac_c_werror_flag"
26299 || test ! -s conftest.err'
26300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26301 (eval $ac_try) 2>&5
26302 ac_status=$?
26303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26304 (exit $ac_status); }; } &&
26305 { ac_try='test -s conftest$ac_exeext'
26306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26307 (eval $ac_try) 2>&5
26308 ac_status=$?
26309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26310 (exit $ac_status); }; }; then
26311 glibcxx_cv_func___builtin_sqrtl_link=yes
26312 else
26313 echo "$as_me: failed program was:" >&5
26314 sed 's/^/| /' conftest.$ac_ext >&5
26316 glibcxx_cv_func___builtin_sqrtl_link=no
26318 rm -f conftest.err conftest.$ac_objext \
26319 conftest$ac_exeext conftest.$ac_ext
26324 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26325 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26326 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26327 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26328 cat >>confdefs.h <<_ACEOF
26329 #define ${ac_tr_func} 1
26330 _ACEOF
26337 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26338 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26339 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26340 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26341 echo $ECHO_N "(cached) $ECHO_C" >&6
26342 else
26346 ac_ext=cc
26347 ac_cpp='$CXXCPP $CPPFLAGS'
26348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26352 cat >conftest.$ac_ext <<_ACEOF
26353 /* confdefs.h. */
26354 _ACEOF
26355 cat confdefs.h >>conftest.$ac_ext
26356 cat >>conftest.$ac_ext <<_ACEOF
26357 /* end confdefs.h. */
26358 #include <math.h>
26360 main ()
26362 __builtin_sinf(0);
26364 return 0;
26366 _ACEOF
26367 rm -f conftest.$ac_objext
26368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26369 (eval $ac_compile) 2>conftest.er1
26370 ac_status=$?
26371 grep -v '^ *+' conftest.er1 >conftest.err
26372 rm -f conftest.er1
26373 cat conftest.err >&5
26374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26375 (exit $ac_status); } &&
26376 { ac_try='test -z "$ac_cxx_werror_flag"
26377 || test ! -s conftest.err'
26378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26379 (eval $ac_try) 2>&5
26380 ac_status=$?
26381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26382 (exit $ac_status); }; } &&
26383 { ac_try='test -s conftest.$ac_objext'
26384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26385 (eval $ac_try) 2>&5
26386 ac_status=$?
26387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26388 (exit $ac_status); }; }; then
26389 glibcxx_cv_func___builtin_sinf_use=yes
26390 else
26391 echo "$as_me: failed program was:" >&5
26392 sed 's/^/| /' conftest.$ac_ext >&5
26394 glibcxx_cv_func___builtin_sinf_use=no
26396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26397 ac_ext=c
26398 ac_cpp='$CPP $CPPFLAGS'
26399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26407 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26408 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26409 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26410 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26411 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26412 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26413 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26414 echo $ECHO_N "(cached) $ECHO_C" >&6
26415 else
26417 if test x$gcc_no_link = xyes; then
26418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26420 { (exit 1); exit 1; }; }
26422 cat >conftest.$ac_ext <<_ACEOF
26423 /* confdefs.h. */
26424 _ACEOF
26425 cat confdefs.h >>conftest.$ac_ext
26426 cat >>conftest.$ac_ext <<_ACEOF
26427 /* end confdefs.h. */
26428 #include <math.h>
26430 main ()
26432 __builtin_sinf(0);
26434 return 0;
26436 _ACEOF
26437 rm -f conftest.$ac_objext conftest$ac_exeext
26438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26439 (eval $ac_link) 2>conftest.er1
26440 ac_status=$?
26441 grep -v '^ *+' conftest.er1 >conftest.err
26442 rm -f conftest.er1
26443 cat conftest.err >&5
26444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26445 (exit $ac_status); } &&
26446 { ac_try='test -z "$ac_c_werror_flag"
26447 || test ! -s conftest.err'
26448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26449 (eval $ac_try) 2>&5
26450 ac_status=$?
26451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26452 (exit $ac_status); }; } &&
26453 { ac_try='test -s conftest$ac_exeext'
26454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26455 (eval $ac_try) 2>&5
26456 ac_status=$?
26457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26458 (exit $ac_status); }; }; then
26459 glibcxx_cv_func___builtin_sinf_link=yes
26460 else
26461 echo "$as_me: failed program was:" >&5
26462 sed 's/^/| /' conftest.$ac_ext >&5
26464 glibcxx_cv_func___builtin_sinf_link=no
26466 rm -f conftest.err conftest.$ac_objext \
26467 conftest$ac_exeext conftest.$ac_ext
26472 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
26473 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
26474 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
26475 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26476 cat >>confdefs.h <<_ACEOF
26477 #define ${ac_tr_func} 1
26478 _ACEOF
26484 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
26485 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
26486 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
26487 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
26488 echo $ECHO_N "(cached) $ECHO_C" >&6
26489 else
26493 ac_ext=cc
26494 ac_cpp='$CXXCPP $CPPFLAGS'
26495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26499 cat >conftest.$ac_ext <<_ACEOF
26500 /* confdefs.h. */
26501 _ACEOF
26502 cat confdefs.h >>conftest.$ac_ext
26503 cat >>conftest.$ac_ext <<_ACEOF
26504 /* end confdefs.h. */
26505 #include <math.h>
26507 main ()
26509 __builtin_sin(0);
26511 return 0;
26513 _ACEOF
26514 rm -f conftest.$ac_objext
26515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26516 (eval $ac_compile) 2>conftest.er1
26517 ac_status=$?
26518 grep -v '^ *+' conftest.er1 >conftest.err
26519 rm -f conftest.er1
26520 cat conftest.err >&5
26521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26522 (exit $ac_status); } &&
26523 { ac_try='test -z "$ac_cxx_werror_flag"
26524 || test ! -s conftest.err'
26525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26526 (eval $ac_try) 2>&5
26527 ac_status=$?
26528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26529 (exit $ac_status); }; } &&
26530 { ac_try='test -s conftest.$ac_objext'
26531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26532 (eval $ac_try) 2>&5
26533 ac_status=$?
26534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26535 (exit $ac_status); }; }; then
26536 glibcxx_cv_func___builtin_sin_use=yes
26537 else
26538 echo "$as_me: failed program was:" >&5
26539 sed 's/^/| /' conftest.$ac_ext >&5
26541 glibcxx_cv_func___builtin_sin_use=no
26543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26544 ac_ext=c
26545 ac_cpp='$CPP $CPPFLAGS'
26546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26554 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
26555 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
26556 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
26557 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
26558 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
26559 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
26560 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
26561 echo $ECHO_N "(cached) $ECHO_C" >&6
26562 else
26564 if test x$gcc_no_link = xyes; then
26565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26567 { (exit 1); exit 1; }; }
26569 cat >conftest.$ac_ext <<_ACEOF
26570 /* confdefs.h. */
26571 _ACEOF
26572 cat confdefs.h >>conftest.$ac_ext
26573 cat >>conftest.$ac_ext <<_ACEOF
26574 /* end confdefs.h. */
26575 #include <math.h>
26577 main ()
26579 __builtin_sin(0);
26581 return 0;
26583 _ACEOF
26584 rm -f conftest.$ac_objext conftest$ac_exeext
26585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26586 (eval $ac_link) 2>conftest.er1
26587 ac_status=$?
26588 grep -v '^ *+' conftest.er1 >conftest.err
26589 rm -f conftest.er1
26590 cat conftest.err >&5
26591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26592 (exit $ac_status); } &&
26593 { ac_try='test -z "$ac_c_werror_flag"
26594 || test ! -s conftest.err'
26595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26596 (eval $ac_try) 2>&5
26597 ac_status=$?
26598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26599 (exit $ac_status); }; } &&
26600 { ac_try='test -s conftest$ac_exeext'
26601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26602 (eval $ac_try) 2>&5
26603 ac_status=$?
26604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26605 (exit $ac_status); }; }; then
26606 glibcxx_cv_func___builtin_sin_link=yes
26607 else
26608 echo "$as_me: failed program was:" >&5
26609 sed 's/^/| /' conftest.$ac_ext >&5
26611 glibcxx_cv_func___builtin_sin_link=no
26613 rm -f conftest.err conftest.$ac_objext \
26614 conftest$ac_exeext conftest.$ac_ext
26619 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
26620 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
26621 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
26622 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26623 cat >>confdefs.h <<_ACEOF
26624 #define ${ac_tr_func} 1
26625 _ACEOF
26631 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
26632 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
26633 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
26634 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
26635 echo $ECHO_N "(cached) $ECHO_C" >&6
26636 else
26640 ac_ext=cc
26641 ac_cpp='$CXXCPP $CPPFLAGS'
26642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26646 cat >conftest.$ac_ext <<_ACEOF
26647 /* confdefs.h. */
26648 _ACEOF
26649 cat confdefs.h >>conftest.$ac_ext
26650 cat >>conftest.$ac_ext <<_ACEOF
26651 /* end confdefs.h. */
26652 #include <math.h>
26654 main ()
26656 __builtin_sinl(0);
26658 return 0;
26660 _ACEOF
26661 rm -f conftest.$ac_objext
26662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26663 (eval $ac_compile) 2>conftest.er1
26664 ac_status=$?
26665 grep -v '^ *+' conftest.er1 >conftest.err
26666 rm -f conftest.er1
26667 cat conftest.err >&5
26668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26669 (exit $ac_status); } &&
26670 { ac_try='test -z "$ac_cxx_werror_flag"
26671 || test ! -s conftest.err'
26672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26673 (eval $ac_try) 2>&5
26674 ac_status=$?
26675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26676 (exit $ac_status); }; } &&
26677 { ac_try='test -s conftest.$ac_objext'
26678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26679 (eval $ac_try) 2>&5
26680 ac_status=$?
26681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682 (exit $ac_status); }; }; then
26683 glibcxx_cv_func___builtin_sinl_use=yes
26684 else
26685 echo "$as_me: failed program was:" >&5
26686 sed 's/^/| /' conftest.$ac_ext >&5
26688 glibcxx_cv_func___builtin_sinl_use=no
26690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26691 ac_ext=c
26692 ac_cpp='$CPP $CPPFLAGS'
26693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26701 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
26702 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
26703 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
26704 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
26705 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
26706 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
26707 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
26708 echo $ECHO_N "(cached) $ECHO_C" >&6
26709 else
26711 if test x$gcc_no_link = xyes; then
26712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26714 { (exit 1); exit 1; }; }
26716 cat >conftest.$ac_ext <<_ACEOF
26717 /* confdefs.h. */
26718 _ACEOF
26719 cat confdefs.h >>conftest.$ac_ext
26720 cat >>conftest.$ac_ext <<_ACEOF
26721 /* end confdefs.h. */
26722 #include <math.h>
26724 main ()
26726 __builtin_sinl(0);
26728 return 0;
26730 _ACEOF
26731 rm -f conftest.$ac_objext conftest$ac_exeext
26732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26733 (eval $ac_link) 2>conftest.er1
26734 ac_status=$?
26735 grep -v '^ *+' conftest.er1 >conftest.err
26736 rm -f conftest.er1
26737 cat conftest.err >&5
26738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26739 (exit $ac_status); } &&
26740 { ac_try='test -z "$ac_c_werror_flag"
26741 || test ! -s conftest.err'
26742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26743 (eval $ac_try) 2>&5
26744 ac_status=$?
26745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26746 (exit $ac_status); }; } &&
26747 { ac_try='test -s conftest$ac_exeext'
26748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26749 (eval $ac_try) 2>&5
26750 ac_status=$?
26751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26752 (exit $ac_status); }; }; then
26753 glibcxx_cv_func___builtin_sinl_link=yes
26754 else
26755 echo "$as_me: failed program was:" >&5
26756 sed 's/^/| /' conftest.$ac_ext >&5
26758 glibcxx_cv_func___builtin_sinl_link=no
26760 rm -f conftest.err conftest.$ac_objext \
26761 conftest$ac_exeext conftest.$ac_ext
26766 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
26767 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
26768 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
26769 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26770 cat >>confdefs.h <<_ACEOF
26771 #define ${ac_tr_func} 1
26772 _ACEOF
26779 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
26780 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
26781 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
26782 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
26783 echo $ECHO_N "(cached) $ECHO_C" >&6
26784 else
26788 ac_ext=cc
26789 ac_cpp='$CXXCPP $CPPFLAGS'
26790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26794 cat >conftest.$ac_ext <<_ACEOF
26795 /* confdefs.h. */
26796 _ACEOF
26797 cat confdefs.h >>conftest.$ac_ext
26798 cat >>conftest.$ac_ext <<_ACEOF
26799 /* end confdefs.h. */
26800 #include <math.h>
26802 main ()
26804 __builtin_cosf(0);
26806 return 0;
26808 _ACEOF
26809 rm -f conftest.$ac_objext
26810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26811 (eval $ac_compile) 2>conftest.er1
26812 ac_status=$?
26813 grep -v '^ *+' conftest.er1 >conftest.err
26814 rm -f conftest.er1
26815 cat conftest.err >&5
26816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817 (exit $ac_status); } &&
26818 { ac_try='test -z "$ac_cxx_werror_flag"
26819 || test ! -s conftest.err'
26820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26821 (eval $ac_try) 2>&5
26822 ac_status=$?
26823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26824 (exit $ac_status); }; } &&
26825 { ac_try='test -s conftest.$ac_objext'
26826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26827 (eval $ac_try) 2>&5
26828 ac_status=$?
26829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26830 (exit $ac_status); }; }; then
26831 glibcxx_cv_func___builtin_cosf_use=yes
26832 else
26833 echo "$as_me: failed program was:" >&5
26834 sed 's/^/| /' conftest.$ac_ext >&5
26836 glibcxx_cv_func___builtin_cosf_use=no
26838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26839 ac_ext=c
26840 ac_cpp='$CPP $CPPFLAGS'
26841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26849 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
26850 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
26851 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
26852 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
26853 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
26854 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
26855 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
26856 echo $ECHO_N "(cached) $ECHO_C" >&6
26857 else
26859 if test x$gcc_no_link = xyes; then
26860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26862 { (exit 1); exit 1; }; }
26864 cat >conftest.$ac_ext <<_ACEOF
26865 /* confdefs.h. */
26866 _ACEOF
26867 cat confdefs.h >>conftest.$ac_ext
26868 cat >>conftest.$ac_ext <<_ACEOF
26869 /* end confdefs.h. */
26870 #include <math.h>
26872 main ()
26874 __builtin_cosf(0);
26876 return 0;
26878 _ACEOF
26879 rm -f conftest.$ac_objext conftest$ac_exeext
26880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26881 (eval $ac_link) 2>conftest.er1
26882 ac_status=$?
26883 grep -v '^ *+' conftest.er1 >conftest.err
26884 rm -f conftest.er1
26885 cat conftest.err >&5
26886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26887 (exit $ac_status); } &&
26888 { ac_try='test -z "$ac_c_werror_flag"
26889 || test ! -s conftest.err'
26890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26891 (eval $ac_try) 2>&5
26892 ac_status=$?
26893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26894 (exit $ac_status); }; } &&
26895 { ac_try='test -s conftest$ac_exeext'
26896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26897 (eval $ac_try) 2>&5
26898 ac_status=$?
26899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26900 (exit $ac_status); }; }; then
26901 glibcxx_cv_func___builtin_cosf_link=yes
26902 else
26903 echo "$as_me: failed program was:" >&5
26904 sed 's/^/| /' conftest.$ac_ext >&5
26906 glibcxx_cv_func___builtin_cosf_link=no
26908 rm -f conftest.err conftest.$ac_objext \
26909 conftest$ac_exeext conftest.$ac_ext
26914 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
26915 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
26916 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
26917 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26918 cat >>confdefs.h <<_ACEOF
26919 #define ${ac_tr_func} 1
26920 _ACEOF
26926 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
26927 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
26928 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
26929 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
26930 echo $ECHO_N "(cached) $ECHO_C" >&6
26931 else
26935 ac_ext=cc
26936 ac_cpp='$CXXCPP $CPPFLAGS'
26937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26941 cat >conftest.$ac_ext <<_ACEOF
26942 /* confdefs.h. */
26943 _ACEOF
26944 cat confdefs.h >>conftest.$ac_ext
26945 cat >>conftest.$ac_ext <<_ACEOF
26946 /* end confdefs.h. */
26947 #include <math.h>
26949 main ()
26951 __builtin_cos(0);
26953 return 0;
26955 _ACEOF
26956 rm -f conftest.$ac_objext
26957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26958 (eval $ac_compile) 2>conftest.er1
26959 ac_status=$?
26960 grep -v '^ *+' conftest.er1 >conftest.err
26961 rm -f conftest.er1
26962 cat conftest.err >&5
26963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26964 (exit $ac_status); } &&
26965 { ac_try='test -z "$ac_cxx_werror_flag"
26966 || test ! -s conftest.err'
26967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26968 (eval $ac_try) 2>&5
26969 ac_status=$?
26970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26971 (exit $ac_status); }; } &&
26972 { ac_try='test -s conftest.$ac_objext'
26973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26974 (eval $ac_try) 2>&5
26975 ac_status=$?
26976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26977 (exit $ac_status); }; }; then
26978 glibcxx_cv_func___builtin_cos_use=yes
26979 else
26980 echo "$as_me: failed program was:" >&5
26981 sed 's/^/| /' conftest.$ac_ext >&5
26983 glibcxx_cv_func___builtin_cos_use=no
26985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26986 ac_ext=c
26987 ac_cpp='$CPP $CPPFLAGS'
26988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26996 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
26997 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
26998 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
26999 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27000 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27001 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27002 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27003 echo $ECHO_N "(cached) $ECHO_C" >&6
27004 else
27006 if test x$gcc_no_link = xyes; then
27007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27009 { (exit 1); exit 1; }; }
27011 cat >conftest.$ac_ext <<_ACEOF
27012 /* confdefs.h. */
27013 _ACEOF
27014 cat confdefs.h >>conftest.$ac_ext
27015 cat >>conftest.$ac_ext <<_ACEOF
27016 /* end confdefs.h. */
27017 #include <math.h>
27019 main ()
27021 __builtin_cos(0);
27023 return 0;
27025 _ACEOF
27026 rm -f conftest.$ac_objext conftest$ac_exeext
27027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27028 (eval $ac_link) 2>conftest.er1
27029 ac_status=$?
27030 grep -v '^ *+' conftest.er1 >conftest.err
27031 rm -f conftest.er1
27032 cat conftest.err >&5
27033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27034 (exit $ac_status); } &&
27035 { ac_try='test -z "$ac_c_werror_flag"
27036 || test ! -s conftest.err'
27037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27038 (eval $ac_try) 2>&5
27039 ac_status=$?
27040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27041 (exit $ac_status); }; } &&
27042 { ac_try='test -s conftest$ac_exeext'
27043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27044 (eval $ac_try) 2>&5
27045 ac_status=$?
27046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27047 (exit $ac_status); }; }; then
27048 glibcxx_cv_func___builtin_cos_link=yes
27049 else
27050 echo "$as_me: failed program was:" >&5
27051 sed 's/^/| /' conftest.$ac_ext >&5
27053 glibcxx_cv_func___builtin_cos_link=no
27055 rm -f conftest.err conftest.$ac_objext \
27056 conftest$ac_exeext conftest.$ac_ext
27061 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27062 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27063 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27064 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27065 cat >>confdefs.h <<_ACEOF
27066 #define ${ac_tr_func} 1
27067 _ACEOF
27073 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27074 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27075 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27076 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27077 echo $ECHO_N "(cached) $ECHO_C" >&6
27078 else
27082 ac_ext=cc
27083 ac_cpp='$CXXCPP $CPPFLAGS'
27084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27088 cat >conftest.$ac_ext <<_ACEOF
27089 /* confdefs.h. */
27090 _ACEOF
27091 cat confdefs.h >>conftest.$ac_ext
27092 cat >>conftest.$ac_ext <<_ACEOF
27093 /* end confdefs.h. */
27094 #include <math.h>
27096 main ()
27098 __builtin_cosl(0);
27100 return 0;
27102 _ACEOF
27103 rm -f conftest.$ac_objext
27104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27105 (eval $ac_compile) 2>conftest.er1
27106 ac_status=$?
27107 grep -v '^ *+' conftest.er1 >conftest.err
27108 rm -f conftest.er1
27109 cat conftest.err >&5
27110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27111 (exit $ac_status); } &&
27112 { ac_try='test -z "$ac_cxx_werror_flag"
27113 || test ! -s conftest.err'
27114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27115 (eval $ac_try) 2>&5
27116 ac_status=$?
27117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27118 (exit $ac_status); }; } &&
27119 { ac_try='test -s conftest.$ac_objext'
27120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27121 (eval $ac_try) 2>&5
27122 ac_status=$?
27123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27124 (exit $ac_status); }; }; then
27125 glibcxx_cv_func___builtin_cosl_use=yes
27126 else
27127 echo "$as_me: failed program was:" >&5
27128 sed 's/^/| /' conftest.$ac_ext >&5
27130 glibcxx_cv_func___builtin_cosl_use=no
27132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27133 ac_ext=c
27134 ac_cpp='$CPP $CPPFLAGS'
27135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27143 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27144 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27145 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27146 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27147 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27148 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27149 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27150 echo $ECHO_N "(cached) $ECHO_C" >&6
27151 else
27153 if test x$gcc_no_link = xyes; then
27154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27156 { (exit 1); exit 1; }; }
27158 cat >conftest.$ac_ext <<_ACEOF
27159 /* confdefs.h. */
27160 _ACEOF
27161 cat confdefs.h >>conftest.$ac_ext
27162 cat >>conftest.$ac_ext <<_ACEOF
27163 /* end confdefs.h. */
27164 #include <math.h>
27166 main ()
27168 __builtin_cosl(0);
27170 return 0;
27172 _ACEOF
27173 rm -f conftest.$ac_objext conftest$ac_exeext
27174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27175 (eval $ac_link) 2>conftest.er1
27176 ac_status=$?
27177 grep -v '^ *+' conftest.er1 >conftest.err
27178 rm -f conftest.er1
27179 cat conftest.err >&5
27180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27181 (exit $ac_status); } &&
27182 { ac_try='test -z "$ac_c_werror_flag"
27183 || test ! -s conftest.err'
27184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27185 (eval $ac_try) 2>&5
27186 ac_status=$?
27187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27188 (exit $ac_status); }; } &&
27189 { ac_try='test -s conftest$ac_exeext'
27190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27191 (eval $ac_try) 2>&5
27192 ac_status=$?
27193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27194 (exit $ac_status); }; }; then
27195 glibcxx_cv_func___builtin_cosl_link=yes
27196 else
27197 echo "$as_me: failed program was:" >&5
27198 sed 's/^/| /' conftest.$ac_ext >&5
27200 glibcxx_cv_func___builtin_cosl_link=no
27202 rm -f conftest.err conftest.$ac_objext \
27203 conftest$ac_exeext conftest.$ac_ext
27208 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27209 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27210 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27211 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27212 cat >>confdefs.h <<_ACEOF
27213 #define ${ac_tr_func} 1
27214 _ACEOF
27220 dummyvar=no
27221 if test x$dummyvar = x"yes"; then
27222 cat >>confdefs.h <<\_ACEOF
27223 #define HAVE___BUILTIN_ABS 1
27224 _ACEOF
27226 cat >>confdefs.h <<\_ACEOF
27227 #define HAVE___BUILTIN_LABS 1
27228 _ACEOF
27230 cat >>confdefs.h <<\_ACEOF
27231 #define HAVE___BUILTIN_COS 1
27232 _ACEOF
27234 cat >>confdefs.h <<\_ACEOF
27235 #define HAVE___BUILTIN_COSF 1
27236 _ACEOF
27238 cat >>confdefs.h <<\_ACEOF
27239 #define HAVE___BUILTIN_COSL 1
27240 _ACEOF
27242 cat >>confdefs.h <<\_ACEOF
27243 #define HAVE___BUILTIN_FABS 1
27244 _ACEOF
27246 cat >>confdefs.h <<\_ACEOF
27247 #define HAVE___BUILTIN_FABSF 1
27248 _ACEOF
27250 cat >>confdefs.h <<\_ACEOF
27251 #define HAVE___BUILTIN_FABSL 1
27252 _ACEOF
27254 cat >>confdefs.h <<\_ACEOF
27255 #define HAVE___BUILTIN_SIN 1
27256 _ACEOF
27258 cat >>confdefs.h <<\_ACEOF
27259 #define HAVE___BUILTIN_SINF 1
27260 _ACEOF
27262 cat >>confdefs.h <<\_ACEOF
27263 #define HAVE___BUILTIN_SINL 1
27264 _ACEOF
27266 cat >>confdefs.h <<\_ACEOF
27267 #define HAVE___BUILTIN_SQRT 1
27268 _ACEOF
27270 cat >>confdefs.h <<\_ACEOF
27271 #define HAVE___BUILTIN_SQRTF 1
27272 _ACEOF
27274 cat >>confdefs.h <<\_ACEOF
27275 #define HAVE___BUILTIN_SQRTL 1
27276 _ACEOF
27282 echo "$as_me:$LINENO: checking for main in -lm" >&5
27283 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27284 if test "${ac_cv_lib_m_main+set}" = set; then
27285 echo $ECHO_N "(cached) $ECHO_C" >&6
27286 else
27287 ac_check_lib_save_LIBS=$LIBS
27288 LIBS="-lm $LIBS"
27289 if test x$gcc_no_link = xyes; then
27290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27292 { (exit 1); exit 1; }; }
27294 cat >conftest.$ac_ext <<_ACEOF
27295 /* confdefs.h. */
27296 _ACEOF
27297 cat confdefs.h >>conftest.$ac_ext
27298 cat >>conftest.$ac_ext <<_ACEOF
27299 /* end confdefs.h. */
27303 main ()
27305 main ();
27307 return 0;
27309 _ACEOF
27310 rm -f conftest.$ac_objext conftest$ac_exeext
27311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27312 (eval $ac_link) 2>conftest.er1
27313 ac_status=$?
27314 grep -v '^ *+' conftest.er1 >conftest.err
27315 rm -f conftest.er1
27316 cat conftest.err >&5
27317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27318 (exit $ac_status); } &&
27319 { ac_try='test -z "$ac_c_werror_flag"
27320 || test ! -s conftest.err'
27321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27322 (eval $ac_try) 2>&5
27323 ac_status=$?
27324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27325 (exit $ac_status); }; } &&
27326 { ac_try='test -s conftest$ac_exeext'
27327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27328 (eval $ac_try) 2>&5
27329 ac_status=$?
27330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27331 (exit $ac_status); }; }; then
27332 ac_cv_lib_m_main=yes
27333 else
27334 echo "$as_me: failed program was:" >&5
27335 sed 's/^/| /' conftest.$ac_ext >&5
27337 ac_cv_lib_m_main=no
27339 rm -f conftest.err conftest.$ac_objext \
27340 conftest$ac_exeext conftest.$ac_ext
27341 LIBS=$ac_check_lib_save_LIBS
27343 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27344 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27345 if test $ac_cv_lib_m_main = yes; then
27346 cat >>confdefs.h <<_ACEOF
27347 #define HAVE_LIBM 1
27348 _ACEOF
27350 LIBS="-lm $LIBS"
27356 for ac_func in nan copysignf
27358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27359 echo "$as_me:$LINENO: checking for $ac_func" >&5
27360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27361 if eval "test \"\${$as_ac_var+set}\" = set"; then
27362 echo $ECHO_N "(cached) $ECHO_C" >&6
27363 else
27364 if test x$gcc_no_link = xyes; then
27365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27367 { (exit 1); exit 1; }; }
27369 cat >conftest.$ac_ext <<_ACEOF
27370 /* confdefs.h. */
27371 _ACEOF
27372 cat confdefs.h >>conftest.$ac_ext
27373 cat >>conftest.$ac_ext <<_ACEOF
27374 /* end confdefs.h. */
27375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27377 #define $ac_func innocuous_$ac_func
27379 /* System header to define __stub macros and hopefully few prototypes,
27380 which can conflict with char $ac_func (); below.
27381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27382 <limits.h> exists even on freestanding compilers. */
27384 #ifdef __STDC__
27385 # include <limits.h>
27386 #else
27387 # include <assert.h>
27388 #endif
27390 #undef $ac_func
27392 /* Override any gcc2 internal prototype to avoid an error. */
27393 #ifdef __cplusplus
27394 extern "C"
27396 #endif
27397 /* We use char because int might match the return type of a gcc2
27398 builtin and then its argument prototype would still apply. */
27399 char $ac_func ();
27400 /* The GNU C library defines this for functions which it implements
27401 to always fail with ENOSYS. Some functions are actually named
27402 something starting with __ and the normal name is an alias. */
27403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27404 choke me
27405 #else
27406 char (*f) () = $ac_func;
27407 #endif
27408 #ifdef __cplusplus
27410 #endif
27413 main ()
27415 return f != $ac_func;
27417 return 0;
27419 _ACEOF
27420 rm -f conftest.$ac_objext conftest$ac_exeext
27421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27422 (eval $ac_link) 2>conftest.er1
27423 ac_status=$?
27424 grep -v '^ *+' conftest.er1 >conftest.err
27425 rm -f conftest.er1
27426 cat conftest.err >&5
27427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27428 (exit $ac_status); } &&
27429 { ac_try='test -z "$ac_c_werror_flag"
27430 || test ! -s conftest.err'
27431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27432 (eval $ac_try) 2>&5
27433 ac_status=$?
27434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27435 (exit $ac_status); }; } &&
27436 { ac_try='test -s conftest$ac_exeext'
27437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27438 (eval $ac_try) 2>&5
27439 ac_status=$?
27440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27441 (exit $ac_status); }; }; then
27442 eval "$as_ac_var=yes"
27443 else
27444 echo "$as_me: failed program was:" >&5
27445 sed 's/^/| /' conftest.$ac_ext >&5
27447 eval "$as_ac_var=no"
27449 rm -f conftest.err conftest.$ac_objext \
27450 conftest$ac_exeext conftest.$ac_ext
27452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27454 if test `eval echo '${'$as_ac_var'}'` = yes; then
27455 cat >>confdefs.h <<_ACEOF
27456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27457 _ACEOF
27459 else
27460 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27462 done
27466 for ac_func in __signbit
27468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27469 echo "$as_me:$LINENO: checking for $ac_func" >&5
27470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27471 if eval "test \"\${$as_ac_var+set}\" = set"; then
27472 echo $ECHO_N "(cached) $ECHO_C" >&6
27473 else
27474 if test x$gcc_no_link = xyes; then
27475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27477 { (exit 1); exit 1; }; }
27479 cat >conftest.$ac_ext <<_ACEOF
27480 /* confdefs.h. */
27481 _ACEOF
27482 cat confdefs.h >>conftest.$ac_ext
27483 cat >>conftest.$ac_ext <<_ACEOF
27484 /* end confdefs.h. */
27485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27487 #define $ac_func innocuous_$ac_func
27489 /* System header to define __stub macros and hopefully few prototypes,
27490 which can conflict with char $ac_func (); below.
27491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27492 <limits.h> exists even on freestanding compilers. */
27494 #ifdef __STDC__
27495 # include <limits.h>
27496 #else
27497 # include <assert.h>
27498 #endif
27500 #undef $ac_func
27502 /* Override any gcc2 internal prototype to avoid an error. */
27503 #ifdef __cplusplus
27504 extern "C"
27506 #endif
27507 /* We use char because int might match the return type of a gcc2
27508 builtin and then its argument prototype would still apply. */
27509 char $ac_func ();
27510 /* The GNU C library defines this for functions which it implements
27511 to always fail with ENOSYS. Some functions are actually named
27512 something starting with __ and the normal name is an alias. */
27513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27514 choke me
27515 #else
27516 char (*f) () = $ac_func;
27517 #endif
27518 #ifdef __cplusplus
27520 #endif
27523 main ()
27525 return f != $ac_func;
27527 return 0;
27529 _ACEOF
27530 rm -f conftest.$ac_objext conftest$ac_exeext
27531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27532 (eval $ac_link) 2>conftest.er1
27533 ac_status=$?
27534 grep -v '^ *+' conftest.er1 >conftest.err
27535 rm -f conftest.er1
27536 cat conftest.err >&5
27537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27538 (exit $ac_status); } &&
27539 { ac_try='test -z "$ac_c_werror_flag"
27540 || test ! -s conftest.err'
27541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27542 (eval $ac_try) 2>&5
27543 ac_status=$?
27544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27545 (exit $ac_status); }; } &&
27546 { ac_try='test -s conftest$ac_exeext'
27547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27548 (eval $ac_try) 2>&5
27549 ac_status=$?
27550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27551 (exit $ac_status); }; }; then
27552 eval "$as_ac_var=yes"
27553 else
27554 echo "$as_me: failed program was:" >&5
27555 sed 's/^/| /' conftest.$ac_ext >&5
27557 eval "$as_ac_var=no"
27559 rm -f conftest.err conftest.$ac_objext \
27560 conftest$ac_exeext conftest.$ac_ext
27562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27564 if test `eval echo '${'$as_ac_var'}'` = yes; then
27565 cat >>confdefs.h <<_ACEOF
27566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27567 _ACEOF
27569 else
27570 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
27572 done
27575 for ac_func in __signbitf
27577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27578 echo "$as_me:$LINENO: checking for $ac_func" >&5
27579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27580 if eval "test \"\${$as_ac_var+set}\" = set"; then
27581 echo $ECHO_N "(cached) $ECHO_C" >&6
27582 else
27583 if test x$gcc_no_link = xyes; then
27584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27586 { (exit 1); exit 1; }; }
27588 cat >conftest.$ac_ext <<_ACEOF
27589 /* confdefs.h. */
27590 _ACEOF
27591 cat confdefs.h >>conftest.$ac_ext
27592 cat >>conftest.$ac_ext <<_ACEOF
27593 /* end confdefs.h. */
27594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27596 #define $ac_func innocuous_$ac_func
27598 /* System header to define __stub macros and hopefully few prototypes,
27599 which can conflict with char $ac_func (); below.
27600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27601 <limits.h> exists even on freestanding compilers. */
27603 #ifdef __STDC__
27604 # include <limits.h>
27605 #else
27606 # include <assert.h>
27607 #endif
27609 #undef $ac_func
27611 /* Override any gcc2 internal prototype to avoid an error. */
27612 #ifdef __cplusplus
27613 extern "C"
27615 #endif
27616 /* We use char because int might match the return type of a gcc2
27617 builtin and then its argument prototype would still apply. */
27618 char $ac_func ();
27619 /* The GNU C library defines this for functions which it implements
27620 to always fail with ENOSYS. Some functions are actually named
27621 something starting with __ and the normal name is an alias. */
27622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27623 choke me
27624 #else
27625 char (*f) () = $ac_func;
27626 #endif
27627 #ifdef __cplusplus
27629 #endif
27632 main ()
27634 return f != $ac_func;
27636 return 0;
27638 _ACEOF
27639 rm -f conftest.$ac_objext conftest$ac_exeext
27640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27641 (eval $ac_link) 2>conftest.er1
27642 ac_status=$?
27643 grep -v '^ *+' conftest.er1 >conftest.err
27644 rm -f conftest.er1
27645 cat conftest.err >&5
27646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27647 (exit $ac_status); } &&
27648 { ac_try='test -z "$ac_c_werror_flag"
27649 || test ! -s conftest.err'
27650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27651 (eval $ac_try) 2>&5
27652 ac_status=$?
27653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27654 (exit $ac_status); }; } &&
27655 { ac_try='test -s conftest$ac_exeext'
27656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27657 (eval $ac_try) 2>&5
27658 ac_status=$?
27659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27660 (exit $ac_status); }; }; then
27661 eval "$as_ac_var=yes"
27662 else
27663 echo "$as_me: failed program was:" >&5
27664 sed 's/^/| /' conftest.$ac_ext >&5
27666 eval "$as_ac_var=no"
27668 rm -f conftest.err conftest.$ac_objext \
27669 conftest$ac_exeext conftest.$ac_ext
27671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27673 if test `eval echo '${'$as_ac_var'}'` = yes; then
27674 cat >>confdefs.h <<_ACEOF
27675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27676 _ACEOF
27678 else
27679 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
27681 done
27684 if test x$ac_cv_func_copysignl = x"yes"; then
27686 for ac_func in __signbitl
27688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27689 echo "$as_me:$LINENO: checking for $ac_func" >&5
27690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27691 if eval "test \"\${$as_ac_var+set}\" = set"; then
27692 echo $ECHO_N "(cached) $ECHO_C" >&6
27693 else
27694 if test x$gcc_no_link = xyes; then
27695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27697 { (exit 1); exit 1; }; }
27699 cat >conftest.$ac_ext <<_ACEOF
27700 /* confdefs.h. */
27701 _ACEOF
27702 cat confdefs.h >>conftest.$ac_ext
27703 cat >>conftest.$ac_ext <<_ACEOF
27704 /* end confdefs.h. */
27705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27707 #define $ac_func innocuous_$ac_func
27709 /* System header to define __stub macros and hopefully few prototypes,
27710 which can conflict with char $ac_func (); below.
27711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27712 <limits.h> exists even on freestanding compilers. */
27714 #ifdef __STDC__
27715 # include <limits.h>
27716 #else
27717 # include <assert.h>
27718 #endif
27720 #undef $ac_func
27722 /* Override any gcc2 internal prototype to avoid an error. */
27723 #ifdef __cplusplus
27724 extern "C"
27726 #endif
27727 /* We use char because int might match the return type of a gcc2
27728 builtin and then its argument prototype would still apply. */
27729 char $ac_func ();
27730 /* The GNU C library defines this for functions which it implements
27731 to always fail with ENOSYS. Some functions are actually named
27732 something starting with __ and the normal name is an alias. */
27733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27734 choke me
27735 #else
27736 char (*f) () = $ac_func;
27737 #endif
27738 #ifdef __cplusplus
27740 #endif
27743 main ()
27745 return f != $ac_func;
27747 return 0;
27749 _ACEOF
27750 rm -f conftest.$ac_objext conftest$ac_exeext
27751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27752 (eval $ac_link) 2>conftest.er1
27753 ac_status=$?
27754 grep -v '^ *+' conftest.er1 >conftest.err
27755 rm -f conftest.er1
27756 cat conftest.err >&5
27757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27758 (exit $ac_status); } &&
27759 { ac_try='test -z "$ac_c_werror_flag"
27760 || test ! -s conftest.err'
27761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27762 (eval $ac_try) 2>&5
27763 ac_status=$?
27764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27765 (exit $ac_status); }; } &&
27766 { ac_try='test -s conftest$ac_exeext'
27767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27768 (eval $ac_try) 2>&5
27769 ac_status=$?
27770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27771 (exit $ac_status); }; }; then
27772 eval "$as_ac_var=yes"
27773 else
27774 echo "$as_me: failed program was:" >&5
27775 sed 's/^/| /' conftest.$ac_ext >&5
27777 eval "$as_ac_var=no"
27779 rm -f conftest.err conftest.$ac_objext \
27780 conftest$ac_exeext conftest.$ac_ext
27782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27784 if test `eval echo '${'$as_ac_var'}'` = yes; then
27785 cat >>confdefs.h <<_ACEOF
27786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27787 _ACEOF
27789 else
27790 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
27792 done
27796 # XXX Review this. Nothing uses it.
27797 if test -n "$LIBMATHOBJS"; then
27798 need_libmath=yes
27803 # Test wchar.h for mbstate_t, which is needed for char_traits and
27804 # others even if wchar_t support is not on.
27805 echo "$as_me:$LINENO: checking for mbstate_t" >&5
27806 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
27807 cat >conftest.$ac_ext <<_ACEOF
27808 /* confdefs.h. */
27809 _ACEOF
27810 cat confdefs.h >>conftest.$ac_ext
27811 cat >>conftest.$ac_ext <<_ACEOF
27812 /* end confdefs.h. */
27813 #include <wchar.h>
27815 main ()
27817 mbstate_t teststate;
27819 return 0;
27821 _ACEOF
27822 rm -f conftest.$ac_objext
27823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27824 (eval $ac_compile) 2>conftest.er1
27825 ac_status=$?
27826 grep -v '^ *+' conftest.er1 >conftest.err
27827 rm -f conftest.er1
27828 cat conftest.err >&5
27829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27830 (exit $ac_status); } &&
27831 { ac_try='test -z "$ac_c_werror_flag"
27832 || test ! -s conftest.err'
27833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27834 (eval $ac_try) 2>&5
27835 ac_status=$?
27836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27837 (exit $ac_status); }; } &&
27838 { ac_try='test -s conftest.$ac_objext'
27839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27840 (eval $ac_try) 2>&5
27841 ac_status=$?
27842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27843 (exit $ac_status); }; }; then
27844 have_mbstate_t=yes
27845 else
27846 echo "$as_me: failed program was:" >&5
27847 sed 's/^/| /' conftest.$ac_ext >&5
27849 have_mbstate_t=no
27851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27852 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
27853 echo "${ECHO_T}$have_mbstate_t" >&6
27854 if test x"$have_mbstate_t" = xyes; then
27855 cat >>confdefs.h <<\_ACEOF
27856 #define HAVE_MBSTATE_T 1
27857 _ACEOF
27861 # Sanity check for existence of ISO C99 headers for extended encoding.
27863 for ac_header in wchar.h
27865 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27867 echo "$as_me:$LINENO: checking for $ac_header" >&5
27868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27870 echo $ECHO_N "(cached) $ECHO_C" >&6
27872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27874 else
27875 # Is the header compilable?
27876 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27877 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27878 cat >conftest.$ac_ext <<_ACEOF
27879 /* confdefs.h. */
27880 _ACEOF
27881 cat confdefs.h >>conftest.$ac_ext
27882 cat >>conftest.$ac_ext <<_ACEOF
27883 /* end confdefs.h. */
27884 $ac_includes_default
27885 #include <$ac_header>
27886 _ACEOF
27887 rm -f conftest.$ac_objext
27888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27889 (eval $ac_compile) 2>conftest.er1
27890 ac_status=$?
27891 grep -v '^ *+' conftest.er1 >conftest.err
27892 rm -f conftest.er1
27893 cat conftest.err >&5
27894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27895 (exit $ac_status); } &&
27896 { ac_try='test -z "$ac_c_werror_flag"
27897 || test ! -s conftest.err'
27898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27899 (eval $ac_try) 2>&5
27900 ac_status=$?
27901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27902 (exit $ac_status); }; } &&
27903 { ac_try='test -s conftest.$ac_objext'
27904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27905 (eval $ac_try) 2>&5
27906 ac_status=$?
27907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27908 (exit $ac_status); }; }; then
27909 ac_header_compiler=yes
27910 else
27911 echo "$as_me: failed program was:" >&5
27912 sed 's/^/| /' conftest.$ac_ext >&5
27914 ac_header_compiler=no
27916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27917 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27918 echo "${ECHO_T}$ac_header_compiler" >&6
27920 # Is the header present?
27921 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27922 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27923 cat >conftest.$ac_ext <<_ACEOF
27924 /* confdefs.h. */
27925 _ACEOF
27926 cat confdefs.h >>conftest.$ac_ext
27927 cat >>conftest.$ac_ext <<_ACEOF
27928 /* end confdefs.h. */
27929 #include <$ac_header>
27930 _ACEOF
27931 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27932 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27933 ac_status=$?
27934 grep -v '^ *+' conftest.er1 >conftest.err
27935 rm -f conftest.er1
27936 cat conftest.err >&5
27937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27938 (exit $ac_status); } >/dev/null; then
27939 if test -s conftest.err; then
27940 ac_cpp_err=$ac_c_preproc_warn_flag
27941 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27942 else
27943 ac_cpp_err=
27945 else
27946 ac_cpp_err=yes
27948 if test -z "$ac_cpp_err"; then
27949 ac_header_preproc=yes
27950 else
27951 echo "$as_me: failed program was:" >&5
27952 sed 's/^/| /' conftest.$ac_ext >&5
27954 ac_header_preproc=no
27956 rm -f conftest.err conftest.$ac_ext
27957 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27958 echo "${ECHO_T}$ac_header_preproc" >&6
27960 # So? What about this header?
27961 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27962 yes:no: )
27963 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27964 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27965 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27966 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27967 ac_header_preproc=yes
27969 no:yes:* )
27970 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27971 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27972 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27973 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27974 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27975 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27976 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27977 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27978 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27979 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27980 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27981 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27983 cat <<\_ASBOX
27984 ## ----------------------------------------- ##
27985 ## Report this to the package-unused lists. ##
27986 ## ----------------------------------------- ##
27987 _ASBOX
27989 sed "s/^/$as_me: WARNING: /" >&2
27991 esac
27992 echo "$as_me:$LINENO: checking for $ac_header" >&5
27993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27995 echo $ECHO_N "(cached) $ECHO_C" >&6
27996 else
27997 eval "$as_ac_Header=\$ac_header_preproc"
27999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28000 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28003 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28004 cat >>confdefs.h <<_ACEOF
28005 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28006 _ACEOF
28007 ac_has_wchar_h=yes
28008 else
28009 ac_has_wchar_h=no
28012 done
28015 for ac_header in wctype.h
28017 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28018 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28019 echo "$as_me:$LINENO: checking for $ac_header" >&5
28020 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28021 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28022 echo $ECHO_N "(cached) $ECHO_C" >&6
28024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28025 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28026 else
28027 # Is the header compilable?
28028 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28029 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28030 cat >conftest.$ac_ext <<_ACEOF
28031 /* confdefs.h. */
28032 _ACEOF
28033 cat confdefs.h >>conftest.$ac_ext
28034 cat >>conftest.$ac_ext <<_ACEOF
28035 /* end confdefs.h. */
28036 $ac_includes_default
28037 #include <$ac_header>
28038 _ACEOF
28039 rm -f conftest.$ac_objext
28040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28041 (eval $ac_compile) 2>conftest.er1
28042 ac_status=$?
28043 grep -v '^ *+' conftest.er1 >conftest.err
28044 rm -f conftest.er1
28045 cat conftest.err >&5
28046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28047 (exit $ac_status); } &&
28048 { ac_try='test -z "$ac_c_werror_flag"
28049 || test ! -s conftest.err'
28050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28051 (eval $ac_try) 2>&5
28052 ac_status=$?
28053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28054 (exit $ac_status); }; } &&
28055 { ac_try='test -s conftest.$ac_objext'
28056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28057 (eval $ac_try) 2>&5
28058 ac_status=$?
28059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28060 (exit $ac_status); }; }; then
28061 ac_header_compiler=yes
28062 else
28063 echo "$as_me: failed program was:" >&5
28064 sed 's/^/| /' conftest.$ac_ext >&5
28066 ac_header_compiler=no
28068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28069 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28070 echo "${ECHO_T}$ac_header_compiler" >&6
28072 # Is the header present?
28073 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28074 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28075 cat >conftest.$ac_ext <<_ACEOF
28076 /* confdefs.h. */
28077 _ACEOF
28078 cat confdefs.h >>conftest.$ac_ext
28079 cat >>conftest.$ac_ext <<_ACEOF
28080 /* end confdefs.h. */
28081 #include <$ac_header>
28082 _ACEOF
28083 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28084 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28085 ac_status=$?
28086 grep -v '^ *+' conftest.er1 >conftest.err
28087 rm -f conftest.er1
28088 cat conftest.err >&5
28089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28090 (exit $ac_status); } >/dev/null; then
28091 if test -s conftest.err; then
28092 ac_cpp_err=$ac_c_preproc_warn_flag
28093 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28094 else
28095 ac_cpp_err=
28097 else
28098 ac_cpp_err=yes
28100 if test -z "$ac_cpp_err"; then
28101 ac_header_preproc=yes
28102 else
28103 echo "$as_me: failed program was:" >&5
28104 sed 's/^/| /' conftest.$ac_ext >&5
28106 ac_header_preproc=no
28108 rm -f conftest.err conftest.$ac_ext
28109 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28110 echo "${ECHO_T}$ac_header_preproc" >&6
28112 # So? What about this header?
28113 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28114 yes:no: )
28115 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28116 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28117 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28118 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28119 ac_header_preproc=yes
28121 no:yes:* )
28122 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28123 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28124 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28125 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28126 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28127 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28128 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28129 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28130 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28131 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28132 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28133 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28135 cat <<\_ASBOX
28136 ## ----------------------------------------- ##
28137 ## Report this to the package-unused lists. ##
28138 ## ----------------------------------------- ##
28139 _ASBOX
28141 sed "s/^/$as_me: WARNING: /" >&2
28143 esac
28144 echo "$as_me:$LINENO: checking for $ac_header" >&5
28145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28147 echo $ECHO_N "(cached) $ECHO_C" >&6
28148 else
28149 eval "$as_ac_Header=\$ac_header_preproc"
28151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28152 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28155 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28156 cat >>confdefs.h <<_ACEOF
28157 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28158 _ACEOF
28159 ac_has_wctype_h=yes
28160 else
28161 ac_has_wctype_h=no
28164 done
28167 # Only continue checking if the ISO C99 headers exist and support is on.
28168 if test x"$ac_has_wchar_h" = xyes &&
28169 test x"$ac_has_wctype_h" = xyes &&
28170 test x"$enable_c_mbchar" != xno; then
28172 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
28173 # numeric_limits can instantiate type_traits<wchar_t>
28174 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
28175 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
28176 cat >conftest.$ac_ext <<_ACEOF
28177 /* confdefs.h. */
28178 _ACEOF
28179 cat confdefs.h >>conftest.$ac_ext
28180 cat >>conftest.$ac_ext <<_ACEOF
28181 /* end confdefs.h. */
28182 #include <wchar.h>
28184 main ()
28186 int i = WCHAR_MIN; int j = WCHAR_MAX;
28188 return 0;
28190 _ACEOF
28191 rm -f conftest.$ac_objext
28192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28193 (eval $ac_compile) 2>conftest.er1
28194 ac_status=$?
28195 grep -v '^ *+' conftest.er1 >conftest.err
28196 rm -f conftest.er1
28197 cat conftest.err >&5
28198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28199 (exit $ac_status); } &&
28200 { ac_try='test -z "$ac_c_werror_flag"
28201 || test ! -s conftest.err'
28202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28203 (eval $ac_try) 2>&5
28204 ac_status=$?
28205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28206 (exit $ac_status); }; } &&
28207 { ac_try='test -s conftest.$ac_objext'
28208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28209 (eval $ac_try) 2>&5
28210 ac_status=$?
28211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28212 (exit $ac_status); }; }; then
28213 has_wchar_minmax=yes
28214 else
28215 echo "$as_me: failed program was:" >&5
28216 sed 's/^/| /' conftest.$ac_ext >&5
28218 has_wchar_minmax=no
28220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28221 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
28222 echo "${ECHO_T}$has_wchar_minmax" >&6
28224 # Test wchar.h for WEOF, which is what we use to determine whether
28225 # to specialize for char_traits<wchar_t> or not.
28226 echo "$as_me:$LINENO: checking for WEOF" >&5
28227 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
28228 cat >conftest.$ac_ext <<_ACEOF
28229 /* confdefs.h. */
28230 _ACEOF
28231 cat confdefs.h >>conftest.$ac_ext
28232 cat >>conftest.$ac_ext <<_ACEOF
28233 /* end confdefs.h. */
28235 #include <wchar.h>
28236 #include <stddef.h>
28238 main ()
28240 wint_t i = WEOF;
28242 return 0;
28244 _ACEOF
28245 rm -f conftest.$ac_objext
28246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28247 (eval $ac_compile) 2>conftest.er1
28248 ac_status=$?
28249 grep -v '^ *+' conftest.er1 >conftest.err
28250 rm -f conftest.er1
28251 cat conftest.err >&5
28252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28253 (exit $ac_status); } &&
28254 { ac_try='test -z "$ac_c_werror_flag"
28255 || test ! -s conftest.err'
28256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28257 (eval $ac_try) 2>&5
28258 ac_status=$?
28259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28260 (exit $ac_status); }; } &&
28261 { ac_try='test -s conftest.$ac_objext'
28262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28263 (eval $ac_try) 2>&5
28264 ac_status=$?
28265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28266 (exit $ac_status); }; }; then
28267 has_weof=yes
28268 else
28269 echo "$as_me: failed program was:" >&5
28270 sed 's/^/| /' conftest.$ac_ext >&5
28272 has_weof=no
28274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28275 echo "$as_me:$LINENO: result: $has_weof" >&5
28276 echo "${ECHO_T}$has_weof" >&6
28278 # Tests for wide character functions used in char_traits<wchar_t>.
28279 ac_wfuncs=yes
28286 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
28288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28289 echo "$as_me:$LINENO: checking for $ac_func" >&5
28290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28291 if eval "test \"\${$as_ac_var+set}\" = set"; then
28292 echo $ECHO_N "(cached) $ECHO_C" >&6
28293 else
28294 if test x$gcc_no_link = xyes; then
28295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28297 { (exit 1); exit 1; }; }
28299 cat >conftest.$ac_ext <<_ACEOF
28300 /* confdefs.h. */
28301 _ACEOF
28302 cat confdefs.h >>conftest.$ac_ext
28303 cat >>conftest.$ac_ext <<_ACEOF
28304 /* end confdefs.h. */
28305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28307 #define $ac_func innocuous_$ac_func
28309 /* System header to define __stub macros and hopefully few prototypes,
28310 which can conflict with char $ac_func (); below.
28311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28312 <limits.h> exists even on freestanding compilers. */
28314 #ifdef __STDC__
28315 # include <limits.h>
28316 #else
28317 # include <assert.h>
28318 #endif
28320 #undef $ac_func
28322 /* Override any gcc2 internal prototype to avoid an error. */
28323 #ifdef __cplusplus
28324 extern "C"
28326 #endif
28327 /* We use char because int might match the return type of a gcc2
28328 builtin and then its argument prototype would still apply. */
28329 char $ac_func ();
28330 /* The GNU C library defines this for functions which it implements
28331 to always fail with ENOSYS. Some functions are actually named
28332 something starting with __ and the normal name is an alias. */
28333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28334 choke me
28335 #else
28336 char (*f) () = $ac_func;
28337 #endif
28338 #ifdef __cplusplus
28340 #endif
28343 main ()
28345 return f != $ac_func;
28347 return 0;
28349 _ACEOF
28350 rm -f conftest.$ac_objext conftest$ac_exeext
28351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28352 (eval $ac_link) 2>conftest.er1
28353 ac_status=$?
28354 grep -v '^ *+' conftest.er1 >conftest.err
28355 rm -f conftest.er1
28356 cat conftest.err >&5
28357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28358 (exit $ac_status); } &&
28359 { ac_try='test -z "$ac_c_werror_flag"
28360 || test ! -s conftest.err'
28361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28362 (eval $ac_try) 2>&5
28363 ac_status=$?
28364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28365 (exit $ac_status); }; } &&
28366 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
28372 eval "$as_ac_var=yes"
28373 else
28374 echo "$as_me: failed program was:" >&5
28375 sed 's/^/| /' conftest.$ac_ext >&5
28377 eval "$as_ac_var=no"
28379 rm -f conftest.err conftest.$ac_objext \
28380 conftest$ac_exeext conftest.$ac_ext
28382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28384 if test `eval echo '${'$as_ac_var'}'` = yes; then
28385 cat >>confdefs.h <<_ACEOF
28386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28387 _ACEOF
28389 else
28390 ac_wfuncs=no
28392 done
28395 # Checks for names injected into std:: by the c_std headers.
28442 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
28443 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
28444 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
28445 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
28446 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
28447 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
28449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28450 echo "$as_me:$LINENO: checking for $ac_func" >&5
28451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28452 if eval "test \"\${$as_ac_var+set}\" = set"; then
28453 echo $ECHO_N "(cached) $ECHO_C" >&6
28454 else
28455 if test x$gcc_no_link = xyes; then
28456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28458 { (exit 1); exit 1; }; }
28460 cat >conftest.$ac_ext <<_ACEOF
28461 /* confdefs.h. */
28462 _ACEOF
28463 cat confdefs.h >>conftest.$ac_ext
28464 cat >>conftest.$ac_ext <<_ACEOF
28465 /* end confdefs.h. */
28466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28468 #define $ac_func innocuous_$ac_func
28470 /* System header to define __stub macros and hopefully few prototypes,
28471 which can conflict with char $ac_func (); below.
28472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28473 <limits.h> exists even on freestanding compilers. */
28475 #ifdef __STDC__
28476 # include <limits.h>
28477 #else
28478 # include <assert.h>
28479 #endif
28481 #undef $ac_func
28483 /* Override any gcc2 internal prototype to avoid an error. */
28484 #ifdef __cplusplus
28485 extern "C"
28487 #endif
28488 /* We use char because int might match the return type of a gcc2
28489 builtin and then its argument prototype would still apply. */
28490 char $ac_func ();
28491 /* The GNU C library defines this for functions which it implements
28492 to always fail with ENOSYS. Some functions are actually named
28493 something starting with __ and the normal name is an alias. */
28494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28495 choke me
28496 #else
28497 char (*f) () = $ac_func;
28498 #endif
28499 #ifdef __cplusplus
28501 #endif
28504 main ()
28506 return f != $ac_func;
28508 return 0;
28510 _ACEOF
28511 rm -f conftest.$ac_objext conftest$ac_exeext
28512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28513 (eval $ac_link) 2>conftest.er1
28514 ac_status=$?
28515 grep -v '^ *+' conftest.er1 >conftest.err
28516 rm -f conftest.er1
28517 cat conftest.err >&5
28518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28519 (exit $ac_status); } &&
28520 { ac_try='test -z "$ac_c_werror_flag"
28521 || test ! -s conftest.err'
28522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28523 (eval $ac_try) 2>&5
28524 ac_status=$?
28525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28526 (exit $ac_status); }; } &&
28527 { ac_try='test -s conftest$ac_exeext'
28528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28529 (eval $ac_try) 2>&5
28530 ac_status=$?
28531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28532 (exit $ac_status); }; }; then
28533 eval "$as_ac_var=yes"
28534 else
28535 echo "$as_me: failed program was:" >&5
28536 sed 's/^/| /' conftest.$ac_ext >&5
28538 eval "$as_ac_var=no"
28540 rm -f conftest.err conftest.$ac_objext \
28541 conftest$ac_exeext conftest.$ac_ext
28543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28545 if test `eval echo '${'$as_ac_var'}'` = yes; then
28546 cat >>confdefs.h <<_ACEOF
28547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28548 _ACEOF
28550 else
28551 ac_wfuncs=no
28553 done
28556 # Checks for wide character functions that are not required
28557 # for basic wchar_t support. Don't disable support if they are missing.
28558 # Injection of these is wrapped with guard macros.
28564 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
28566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28567 echo "$as_me:$LINENO: checking for $ac_func" >&5
28568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28569 if eval "test \"\${$as_ac_var+set}\" = set"; then
28570 echo $ECHO_N "(cached) $ECHO_C" >&6
28571 else
28572 if test x$gcc_no_link = xyes; then
28573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28575 { (exit 1); exit 1; }; }
28577 cat >conftest.$ac_ext <<_ACEOF
28578 /* confdefs.h. */
28579 _ACEOF
28580 cat confdefs.h >>conftest.$ac_ext
28581 cat >>conftest.$ac_ext <<_ACEOF
28582 /* end confdefs.h. */
28583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28585 #define $ac_func innocuous_$ac_func
28587 /* System header to define __stub macros and hopefully few prototypes,
28588 which can conflict with char $ac_func (); below.
28589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28590 <limits.h> exists even on freestanding compilers. */
28592 #ifdef __STDC__
28593 # include <limits.h>
28594 #else
28595 # include <assert.h>
28596 #endif
28598 #undef $ac_func
28600 /* Override any gcc2 internal prototype to avoid an error. */
28601 #ifdef __cplusplus
28602 extern "C"
28604 #endif
28605 /* We use char because int might match the return type of a gcc2
28606 builtin and then its argument prototype would still apply. */
28607 char $ac_func ();
28608 /* The GNU C library defines this for functions which it implements
28609 to always fail with ENOSYS. Some functions are actually named
28610 something starting with __ and the normal name is an alias. */
28611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28612 choke me
28613 #else
28614 char (*f) () = $ac_func;
28615 #endif
28616 #ifdef __cplusplus
28618 #endif
28621 main ()
28623 return f != $ac_func;
28625 return 0;
28627 _ACEOF
28628 rm -f conftest.$ac_objext conftest$ac_exeext
28629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28630 (eval $ac_link) 2>conftest.er1
28631 ac_status=$?
28632 grep -v '^ *+' conftest.er1 >conftest.err
28633 rm -f conftest.er1
28634 cat conftest.err >&5
28635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28636 (exit $ac_status); } &&
28637 { ac_try='test -z "$ac_c_werror_flag"
28638 || test ! -s conftest.err'
28639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28640 (eval $ac_try) 2>&5
28641 ac_status=$?
28642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28643 (exit $ac_status); }; } &&
28644 { ac_try='test -s conftest$ac_exeext'
28645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28646 (eval $ac_try) 2>&5
28647 ac_status=$?
28648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28649 (exit $ac_status); }; }; then
28650 eval "$as_ac_var=yes"
28651 else
28652 echo "$as_me: failed program was:" >&5
28653 sed 's/^/| /' conftest.$ac_ext >&5
28655 eval "$as_ac_var=no"
28657 rm -f conftest.err conftest.$ac_objext \
28658 conftest$ac_exeext conftest.$ac_ext
28660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28662 if test `eval echo '${'$as_ac_var'}'` = yes; then
28663 cat >>confdefs.h <<_ACEOF
28664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28665 _ACEOF
28668 done
28671 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
28672 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
28673 if test x"$has_weof" = xyes &&
28674 test x"$has_wchar_minmax" = xyes &&
28675 test x"$ac_wfuncs" = xyes;
28676 then
28677 ac_isoC99_wchar_t=yes
28678 else
28679 ac_isoC99_wchar_t=no
28681 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
28682 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
28684 # Use iconv for wchar_t to char conversions. As such, check for
28685 # X/Open Portability Guide, version 2 features (XPG2).
28686 if test "${ac_cv_header_iconv_h+set}" = set; then
28687 echo "$as_me:$LINENO: checking for iconv.h" >&5
28688 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28689 if test "${ac_cv_header_iconv_h+set}" = set; then
28690 echo $ECHO_N "(cached) $ECHO_C" >&6
28692 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28693 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28694 else
28695 # Is the header compilable?
28696 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28697 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28698 cat >conftest.$ac_ext <<_ACEOF
28699 /* confdefs.h. */
28700 _ACEOF
28701 cat confdefs.h >>conftest.$ac_ext
28702 cat >>conftest.$ac_ext <<_ACEOF
28703 /* end confdefs.h. */
28704 $ac_includes_default
28705 #include <iconv.h>
28706 _ACEOF
28707 rm -f conftest.$ac_objext
28708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28709 (eval $ac_compile) 2>conftest.er1
28710 ac_status=$?
28711 grep -v '^ *+' conftest.er1 >conftest.err
28712 rm -f conftest.er1
28713 cat conftest.err >&5
28714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28715 (exit $ac_status); } &&
28716 { ac_try='test -z "$ac_c_werror_flag"
28717 || test ! -s conftest.err'
28718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28719 (eval $ac_try) 2>&5
28720 ac_status=$?
28721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28722 (exit $ac_status); }; } &&
28723 { ac_try='test -s conftest.$ac_objext'
28724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28725 (eval $ac_try) 2>&5
28726 ac_status=$?
28727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28728 (exit $ac_status); }; }; then
28729 ac_header_compiler=yes
28730 else
28731 echo "$as_me: failed program was:" >&5
28732 sed 's/^/| /' conftest.$ac_ext >&5
28734 ac_header_compiler=no
28736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28737 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28738 echo "${ECHO_T}$ac_header_compiler" >&6
28740 # Is the header present?
28741 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28742 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28743 cat >conftest.$ac_ext <<_ACEOF
28744 /* confdefs.h. */
28745 _ACEOF
28746 cat confdefs.h >>conftest.$ac_ext
28747 cat >>conftest.$ac_ext <<_ACEOF
28748 /* end confdefs.h. */
28749 #include <iconv.h>
28750 _ACEOF
28751 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28752 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28753 ac_status=$?
28754 grep -v '^ *+' conftest.er1 >conftest.err
28755 rm -f conftest.er1
28756 cat conftest.err >&5
28757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28758 (exit $ac_status); } >/dev/null; then
28759 if test -s conftest.err; then
28760 ac_cpp_err=$ac_c_preproc_warn_flag
28761 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28762 else
28763 ac_cpp_err=
28765 else
28766 ac_cpp_err=yes
28768 if test -z "$ac_cpp_err"; then
28769 ac_header_preproc=yes
28770 else
28771 echo "$as_me: failed program was:" >&5
28772 sed 's/^/| /' conftest.$ac_ext >&5
28774 ac_header_preproc=no
28776 rm -f conftest.err conftest.$ac_ext
28777 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28778 echo "${ECHO_T}$ac_header_preproc" >&6
28780 # So? What about this header?
28781 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28782 yes:no: )
28783 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28784 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28785 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28786 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28787 ac_header_preproc=yes
28789 no:yes:* )
28790 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28791 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28792 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28793 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28794 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28795 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28796 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
28797 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
28798 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28799 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28800 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28801 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28803 cat <<\_ASBOX
28804 ## ----------------------------------------- ##
28805 ## Report this to the package-unused lists. ##
28806 ## ----------------------------------------- ##
28807 _ASBOX
28809 sed "s/^/$as_me: WARNING: /" >&2
28811 esac
28812 echo "$as_me:$LINENO: checking for iconv.h" >&5
28813 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28814 if test "${ac_cv_header_iconv_h+set}" = set; then
28815 echo $ECHO_N "(cached) $ECHO_C" >&6
28816 else
28817 ac_cv_header_iconv_h=$ac_header_preproc
28819 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28820 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28823 if test $ac_cv_header_iconv_h = yes; then
28824 ac_has_iconv_h=yes
28825 else
28826 ac_has_iconv_h=no
28830 if test "${ac_cv_header_langinfo_h+set}" = set; then
28831 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28832 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28833 if test "${ac_cv_header_langinfo_h+set}" = set; then
28834 echo $ECHO_N "(cached) $ECHO_C" >&6
28836 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28837 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28838 else
28839 # Is the header compilable?
28840 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28841 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28842 cat >conftest.$ac_ext <<_ACEOF
28843 /* confdefs.h. */
28844 _ACEOF
28845 cat confdefs.h >>conftest.$ac_ext
28846 cat >>conftest.$ac_ext <<_ACEOF
28847 /* end confdefs.h. */
28848 $ac_includes_default
28849 #include <langinfo.h>
28850 _ACEOF
28851 rm -f conftest.$ac_objext
28852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28853 (eval $ac_compile) 2>conftest.er1
28854 ac_status=$?
28855 grep -v '^ *+' conftest.er1 >conftest.err
28856 rm -f conftest.er1
28857 cat conftest.err >&5
28858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28859 (exit $ac_status); } &&
28860 { ac_try='test -z "$ac_c_werror_flag"
28861 || test ! -s conftest.err'
28862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28863 (eval $ac_try) 2>&5
28864 ac_status=$?
28865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28866 (exit $ac_status); }; } &&
28867 { ac_try='test -s conftest.$ac_objext'
28868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28869 (eval $ac_try) 2>&5
28870 ac_status=$?
28871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28872 (exit $ac_status); }; }; then
28873 ac_header_compiler=yes
28874 else
28875 echo "$as_me: failed program was:" >&5
28876 sed 's/^/| /' conftest.$ac_ext >&5
28878 ac_header_compiler=no
28880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28881 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28882 echo "${ECHO_T}$ac_header_compiler" >&6
28884 # Is the header present?
28885 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28886 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28887 cat >conftest.$ac_ext <<_ACEOF
28888 /* confdefs.h. */
28889 _ACEOF
28890 cat confdefs.h >>conftest.$ac_ext
28891 cat >>conftest.$ac_ext <<_ACEOF
28892 /* end confdefs.h. */
28893 #include <langinfo.h>
28894 _ACEOF
28895 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28896 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28897 ac_status=$?
28898 grep -v '^ *+' conftest.er1 >conftest.err
28899 rm -f conftest.er1
28900 cat conftest.err >&5
28901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28902 (exit $ac_status); } >/dev/null; then
28903 if test -s conftest.err; then
28904 ac_cpp_err=$ac_c_preproc_warn_flag
28905 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28906 else
28907 ac_cpp_err=
28909 else
28910 ac_cpp_err=yes
28912 if test -z "$ac_cpp_err"; then
28913 ac_header_preproc=yes
28914 else
28915 echo "$as_me: failed program was:" >&5
28916 sed 's/^/| /' conftest.$ac_ext >&5
28918 ac_header_preproc=no
28920 rm -f conftest.err conftest.$ac_ext
28921 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28922 echo "${ECHO_T}$ac_header_preproc" >&6
28924 # So? What about this header?
28925 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28926 yes:no: )
28927 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28928 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28929 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28930 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28931 ac_header_preproc=yes
28933 no:yes:* )
28934 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28935 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28936 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
28937 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
28938 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28939 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28940 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
28941 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
28942 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28943 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28944 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28945 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28947 cat <<\_ASBOX
28948 ## ----------------------------------------- ##
28949 ## Report this to the package-unused lists. ##
28950 ## ----------------------------------------- ##
28951 _ASBOX
28953 sed "s/^/$as_me: WARNING: /" >&2
28955 esac
28956 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28957 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28958 if test "${ac_cv_header_langinfo_h+set}" = set; then
28959 echo $ECHO_N "(cached) $ECHO_C" >&6
28960 else
28961 ac_cv_header_langinfo_h=$ac_header_preproc
28963 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28964 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28967 if test $ac_cv_header_langinfo_h = yes; then
28968 ac_has_langinfo_h=yes
28969 else
28970 ac_has_langinfo_h=no
28975 # Check for existence of libiconv.a providing XPG2 wchar_t support.
28976 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28977 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28978 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28979 echo $ECHO_N "(cached) $ECHO_C" >&6
28980 else
28981 ac_check_lib_save_LIBS=$LIBS
28982 LIBS="-liconv $LIBS"
28983 if test x$gcc_no_link = xyes; then
28984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28986 { (exit 1); exit 1; }; }
28988 cat >conftest.$ac_ext <<_ACEOF
28989 /* confdefs.h. */
28990 _ACEOF
28991 cat confdefs.h >>conftest.$ac_ext
28992 cat >>conftest.$ac_ext <<_ACEOF
28993 /* end confdefs.h. */
28995 /* Override any gcc2 internal prototype to avoid an error. */
28996 #ifdef __cplusplus
28997 extern "C"
28998 #endif
28999 /* We use char because int might match the return type of a gcc2
29000 builtin and then its argument prototype would still apply. */
29001 char iconv ();
29003 main ()
29005 iconv ();
29007 return 0;
29009 _ACEOF
29010 rm -f conftest.$ac_objext conftest$ac_exeext
29011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29012 (eval $ac_link) 2>conftest.er1
29013 ac_status=$?
29014 grep -v '^ *+' conftest.er1 >conftest.err
29015 rm -f conftest.er1
29016 cat conftest.err >&5
29017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29018 (exit $ac_status); } &&
29019 { ac_try='test -z "$ac_c_werror_flag"
29020 || test ! -s conftest.err'
29021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29022 (eval $ac_try) 2>&5
29023 ac_status=$?
29024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29025 (exit $ac_status); }; } &&
29026 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
29032 ac_cv_lib_iconv_iconv=yes
29033 else
29034 echo "$as_me: failed program was:" >&5
29035 sed 's/^/| /' conftest.$ac_ext >&5
29037 ac_cv_lib_iconv_iconv=no
29039 rm -f conftest.err conftest.$ac_objext \
29040 conftest$ac_exeext conftest.$ac_ext
29041 LIBS=$ac_check_lib_save_LIBS
29043 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
29044 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
29045 if test $ac_cv_lib_iconv_iconv = yes; then
29046 libiconv="-liconv"
29049 ac_save_LIBS="$LIBS"
29050 LIBS="$LIBS $libiconv"
29056 for ac_func in iconv_open iconv_close iconv nl_langinfo
29058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29059 echo "$as_me:$LINENO: checking for $ac_func" >&5
29060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29061 if eval "test \"\${$as_ac_var+set}\" = set"; then
29062 echo $ECHO_N "(cached) $ECHO_C" >&6
29063 else
29064 if test x$gcc_no_link = xyes; then
29065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29067 { (exit 1); exit 1; }; }
29069 cat >conftest.$ac_ext <<_ACEOF
29070 /* confdefs.h. */
29071 _ACEOF
29072 cat confdefs.h >>conftest.$ac_ext
29073 cat >>conftest.$ac_ext <<_ACEOF
29074 /* end confdefs.h. */
29075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29077 #define $ac_func innocuous_$ac_func
29079 /* System header to define __stub macros and hopefully few prototypes,
29080 which can conflict with char $ac_func (); below.
29081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29082 <limits.h> exists even on freestanding compilers. */
29084 #ifdef __STDC__
29085 # include <limits.h>
29086 #else
29087 # include <assert.h>
29088 #endif
29090 #undef $ac_func
29092 /* Override any gcc2 internal prototype to avoid an error. */
29093 #ifdef __cplusplus
29094 extern "C"
29096 #endif
29097 /* We use char because int might match the return type of a gcc2
29098 builtin and then its argument prototype would still apply. */
29099 char $ac_func ();
29100 /* The GNU C library defines this for functions which it implements
29101 to always fail with ENOSYS. Some functions are actually named
29102 something starting with __ and the normal name is an alias. */
29103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29104 choke me
29105 #else
29106 char (*f) () = $ac_func;
29107 #endif
29108 #ifdef __cplusplus
29110 #endif
29113 main ()
29115 return f != $ac_func;
29117 return 0;
29119 _ACEOF
29120 rm -f conftest.$ac_objext conftest$ac_exeext
29121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29122 (eval $ac_link) 2>conftest.er1
29123 ac_status=$?
29124 grep -v '^ *+' conftest.er1 >conftest.err
29125 rm -f conftest.er1
29126 cat conftest.err >&5
29127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29128 (exit $ac_status); } &&
29129 { ac_try='test -z "$ac_c_werror_flag"
29130 || test ! -s conftest.err'
29131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29132 (eval $ac_try) 2>&5
29133 ac_status=$?
29134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29135 (exit $ac_status); }; } &&
29136 { ac_try='test -s conftest$ac_exeext'
29137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29138 (eval $ac_try) 2>&5
29139 ac_status=$?
29140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29141 (exit $ac_status); }; }; then
29142 eval "$as_ac_var=yes"
29143 else
29144 echo "$as_me: failed program was:" >&5
29145 sed 's/^/| /' conftest.$ac_ext >&5
29147 eval "$as_ac_var=no"
29149 rm -f conftest.err conftest.$ac_objext \
29150 conftest$ac_exeext conftest.$ac_ext
29152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29154 if test `eval echo '${'$as_ac_var'}'` = yes; then
29155 cat >>confdefs.h <<_ACEOF
29156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29157 _ACEOF
29158 ac_XPG2funcs=yes
29159 else
29160 ac_XPG2funcs=no
29162 done
29165 LIBS="$ac_save_LIBS"
29167 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
29168 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
29169 if test x"$ac_has_iconv_h" = xyes &&
29170 test x"$ac_has_langinfo_h" = xyes &&
29171 test x"$ac_XPG2funcs" = xyes;
29172 then
29173 ac_XPG2_wchar_t=yes
29174 else
29175 ac_XPG2_wchar_t=no
29177 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
29178 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
29180 # At the moment, only enable wchar_t specializations if all the
29181 # above support is present.
29182 if test x"$ac_isoC99_wchar_t" = xyes &&
29183 test x"$ac_XPG2_wchar_t" = xyes;
29184 then
29185 cat >>confdefs.h <<\_ACEOF
29186 #define _GLIBCXX_USE_WCHAR_T 1
29187 _ACEOF
29189 enable_wchar_t=yes
29192 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
29193 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
29194 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
29195 echo "${ECHO_T}$enable_wchar_t" >&6
29198 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29199 ac_save_CXXFLAGS="$CXXFLAGS"
29200 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29203 echo "$as_me:$LINENO: checking for strtold declaration" >&5
29204 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
29205 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
29206 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
29207 echo $ECHO_N "(cached) $ECHO_C" >&6
29208 else
29212 ac_ext=cc
29213 ac_cpp='$CXXCPP $CPPFLAGS'
29214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29218 cat >conftest.$ac_ext <<_ACEOF
29219 /* confdefs.h. */
29220 _ACEOF
29221 cat confdefs.h >>conftest.$ac_ext
29222 cat >>conftest.$ac_ext <<_ACEOF
29223 /* end confdefs.h. */
29224 #include <stdlib.h>
29226 main ()
29228 strtold(0, 0);
29230 return 0;
29232 _ACEOF
29233 rm -f conftest.$ac_objext
29234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29235 (eval $ac_compile) 2>conftest.er1
29236 ac_status=$?
29237 grep -v '^ *+' conftest.er1 >conftest.err
29238 rm -f conftest.er1
29239 cat conftest.err >&5
29240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29241 (exit $ac_status); } &&
29242 { ac_try='test -z "$ac_cxx_werror_flag"
29243 || test ! -s conftest.err'
29244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29245 (eval $ac_try) 2>&5
29246 ac_status=$?
29247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29248 (exit $ac_status); }; } &&
29249 { ac_try='test -s conftest.$ac_objext'
29250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29251 (eval $ac_try) 2>&5
29252 ac_status=$?
29253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29254 (exit $ac_status); }; }; then
29255 glibcxx_cv_func_strtold_use=yes
29256 else
29257 echo "$as_me: failed program was:" >&5
29258 sed 's/^/| /' conftest.$ac_ext >&5
29260 glibcxx_cv_func_strtold_use=no
29262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29263 ac_ext=c
29264 ac_cpp='$CPP $CPPFLAGS'
29265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29273 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
29274 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
29275 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
29277 for ac_func in strtold
29279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29280 echo "$as_me:$LINENO: checking for $ac_func" >&5
29281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29282 if eval "test \"\${$as_ac_var+set}\" = set"; then
29283 echo $ECHO_N "(cached) $ECHO_C" >&6
29284 else
29285 if test x$gcc_no_link = xyes; then
29286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29288 { (exit 1); exit 1; }; }
29290 cat >conftest.$ac_ext <<_ACEOF
29291 /* confdefs.h. */
29292 _ACEOF
29293 cat confdefs.h >>conftest.$ac_ext
29294 cat >>conftest.$ac_ext <<_ACEOF
29295 /* end confdefs.h. */
29296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29298 #define $ac_func innocuous_$ac_func
29300 /* System header to define __stub macros and hopefully few prototypes,
29301 which can conflict with char $ac_func (); below.
29302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29303 <limits.h> exists even on freestanding compilers. */
29305 #ifdef __STDC__
29306 # include <limits.h>
29307 #else
29308 # include <assert.h>
29309 #endif
29311 #undef $ac_func
29313 /* Override any gcc2 internal prototype to avoid an error. */
29314 #ifdef __cplusplus
29315 extern "C"
29317 #endif
29318 /* We use char because int might match the return type of a gcc2
29319 builtin and then its argument prototype would still apply. */
29320 char $ac_func ();
29321 /* The GNU C library defines this for functions which it implements
29322 to always fail with ENOSYS. Some functions are actually named
29323 something starting with __ and the normal name is an alias. */
29324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29325 choke me
29326 #else
29327 char (*f) () = $ac_func;
29328 #endif
29329 #ifdef __cplusplus
29331 #endif
29334 main ()
29336 return f != $ac_func;
29338 return 0;
29340 _ACEOF
29341 rm -f conftest.$ac_objext conftest$ac_exeext
29342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29343 (eval $ac_link) 2>conftest.er1
29344 ac_status=$?
29345 grep -v '^ *+' conftest.er1 >conftest.err
29346 rm -f conftest.er1
29347 cat conftest.err >&5
29348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29349 (exit $ac_status); } &&
29350 { ac_try='test -z "$ac_c_werror_flag"
29351 || test ! -s conftest.err'
29352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29353 (eval $ac_try) 2>&5
29354 ac_status=$?
29355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29356 (exit $ac_status); }; } &&
29357 { ac_try='test -s conftest$ac_exeext'
29358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29359 (eval $ac_try) 2>&5
29360 ac_status=$?
29361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29362 (exit $ac_status); }; }; then
29363 eval "$as_ac_var=yes"
29364 else
29365 echo "$as_me: failed program was:" >&5
29366 sed 's/^/| /' conftest.$ac_ext >&5
29368 eval "$as_ac_var=no"
29370 rm -f conftest.err conftest.$ac_objext \
29371 conftest$ac_exeext conftest.$ac_ext
29373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29375 if test `eval echo '${'$as_ac_var'}'` = yes; then
29376 cat >>confdefs.h <<_ACEOF
29377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29378 _ACEOF
29381 done
29386 echo "$as_me:$LINENO: checking for strtof declaration" >&5
29387 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29388 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29389 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29390 echo $ECHO_N "(cached) $ECHO_C" >&6
29391 else
29395 ac_ext=cc
29396 ac_cpp='$CXXCPP $CPPFLAGS'
29397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29401 cat >conftest.$ac_ext <<_ACEOF
29402 /* confdefs.h. */
29403 _ACEOF
29404 cat confdefs.h >>conftest.$ac_ext
29405 cat >>conftest.$ac_ext <<_ACEOF
29406 /* end confdefs.h. */
29407 #include <stdlib.h>
29409 main ()
29411 strtof(0, 0);
29413 return 0;
29415 _ACEOF
29416 rm -f conftest.$ac_objext
29417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29418 (eval $ac_compile) 2>conftest.er1
29419 ac_status=$?
29420 grep -v '^ *+' conftest.er1 >conftest.err
29421 rm -f conftest.er1
29422 cat conftest.err >&5
29423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29424 (exit $ac_status); } &&
29425 { ac_try='test -z "$ac_cxx_werror_flag"
29426 || test ! -s conftest.err'
29427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29428 (eval $ac_try) 2>&5
29429 ac_status=$?
29430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29431 (exit $ac_status); }; } &&
29432 { ac_try='test -s conftest.$ac_objext'
29433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29434 (eval $ac_try) 2>&5
29435 ac_status=$?
29436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29437 (exit $ac_status); }; }; then
29438 glibcxx_cv_func_strtof_use=yes
29439 else
29440 echo "$as_me: failed program was:" >&5
29441 sed 's/^/| /' conftest.$ac_ext >&5
29443 glibcxx_cv_func_strtof_use=no
29445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29446 ac_ext=c
29447 ac_cpp='$CPP $CPPFLAGS'
29448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29456 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29457 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29458 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29460 for ac_func in strtof
29462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29463 echo "$as_me:$LINENO: checking for $ac_func" >&5
29464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29465 if eval "test \"\${$as_ac_var+set}\" = set"; then
29466 echo $ECHO_N "(cached) $ECHO_C" >&6
29467 else
29468 if test x$gcc_no_link = xyes; then
29469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29471 { (exit 1); exit 1; }; }
29473 cat >conftest.$ac_ext <<_ACEOF
29474 /* confdefs.h. */
29475 _ACEOF
29476 cat confdefs.h >>conftest.$ac_ext
29477 cat >>conftest.$ac_ext <<_ACEOF
29478 /* end confdefs.h. */
29479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29481 #define $ac_func innocuous_$ac_func
29483 /* System header to define __stub macros and hopefully few prototypes,
29484 which can conflict with char $ac_func (); below.
29485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29486 <limits.h> exists even on freestanding compilers. */
29488 #ifdef __STDC__
29489 # include <limits.h>
29490 #else
29491 # include <assert.h>
29492 #endif
29494 #undef $ac_func
29496 /* Override any gcc2 internal prototype to avoid an error. */
29497 #ifdef __cplusplus
29498 extern "C"
29500 #endif
29501 /* We use char because int might match the return type of a gcc2
29502 builtin and then its argument prototype would still apply. */
29503 char $ac_func ();
29504 /* The GNU C library defines this for functions which it implements
29505 to always fail with ENOSYS. Some functions are actually named
29506 something starting with __ and the normal name is an alias. */
29507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29508 choke me
29509 #else
29510 char (*f) () = $ac_func;
29511 #endif
29512 #ifdef __cplusplus
29514 #endif
29517 main ()
29519 return f != $ac_func;
29521 return 0;
29523 _ACEOF
29524 rm -f conftest.$ac_objext conftest$ac_exeext
29525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29526 (eval $ac_link) 2>conftest.er1
29527 ac_status=$?
29528 grep -v '^ *+' conftest.er1 >conftest.err
29529 rm -f conftest.er1
29530 cat conftest.err >&5
29531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29532 (exit $ac_status); } &&
29533 { ac_try='test -z "$ac_c_werror_flag"
29534 || test ! -s conftest.err'
29535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29536 (eval $ac_try) 2>&5
29537 ac_status=$?
29538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29539 (exit $ac_status); }; } &&
29540 { ac_try='test -s conftest$ac_exeext'
29541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29542 (eval $ac_try) 2>&5
29543 ac_status=$?
29544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29545 (exit $ac_status); }; }; then
29546 eval "$as_ac_var=yes"
29547 else
29548 echo "$as_me: failed program was:" >&5
29549 sed 's/^/| /' conftest.$ac_ext >&5
29551 eval "$as_ac_var=no"
29553 rm -f conftest.err conftest.$ac_objext \
29554 conftest$ac_exeext conftest.$ac_ext
29556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29558 if test `eval echo '${'$as_ac_var'}'` = yes; then
29559 cat >>confdefs.h <<_ACEOF
29560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29561 _ACEOF
29564 done
29569 CXXFLAGS="$ac_save_CXXFLAGS"
29572 # For showmanyc_helper().
29575 for ac_header in sys/ioctl.h sys/filio.h
29577 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29579 echo "$as_me:$LINENO: checking for $ac_header" >&5
29580 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29581 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29582 echo $ECHO_N "(cached) $ECHO_C" >&6
29584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29585 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29586 else
29587 # Is the header compilable?
29588 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29589 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29590 cat >conftest.$ac_ext <<_ACEOF
29591 /* confdefs.h. */
29592 _ACEOF
29593 cat confdefs.h >>conftest.$ac_ext
29594 cat >>conftest.$ac_ext <<_ACEOF
29595 /* end confdefs.h. */
29596 $ac_includes_default
29597 #include <$ac_header>
29598 _ACEOF
29599 rm -f conftest.$ac_objext
29600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29601 (eval $ac_compile) 2>conftest.er1
29602 ac_status=$?
29603 grep -v '^ *+' conftest.er1 >conftest.err
29604 rm -f conftest.er1
29605 cat conftest.err >&5
29606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29607 (exit $ac_status); } &&
29608 { ac_try='test -z "$ac_c_werror_flag"
29609 || test ! -s conftest.err'
29610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29611 (eval $ac_try) 2>&5
29612 ac_status=$?
29613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29614 (exit $ac_status); }; } &&
29615 { ac_try='test -s conftest.$ac_objext'
29616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29617 (eval $ac_try) 2>&5
29618 ac_status=$?
29619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29620 (exit $ac_status); }; }; then
29621 ac_header_compiler=yes
29622 else
29623 echo "$as_me: failed program was:" >&5
29624 sed 's/^/| /' conftest.$ac_ext >&5
29626 ac_header_compiler=no
29628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29629 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29630 echo "${ECHO_T}$ac_header_compiler" >&6
29632 # Is the header present?
29633 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29634 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29635 cat >conftest.$ac_ext <<_ACEOF
29636 /* confdefs.h. */
29637 _ACEOF
29638 cat confdefs.h >>conftest.$ac_ext
29639 cat >>conftest.$ac_ext <<_ACEOF
29640 /* end confdefs.h. */
29641 #include <$ac_header>
29642 _ACEOF
29643 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29644 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29645 ac_status=$?
29646 grep -v '^ *+' conftest.er1 >conftest.err
29647 rm -f conftest.er1
29648 cat conftest.err >&5
29649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29650 (exit $ac_status); } >/dev/null; then
29651 if test -s conftest.err; then
29652 ac_cpp_err=$ac_c_preproc_warn_flag
29653 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29654 else
29655 ac_cpp_err=
29657 else
29658 ac_cpp_err=yes
29660 if test -z "$ac_cpp_err"; then
29661 ac_header_preproc=yes
29662 else
29663 echo "$as_me: failed program was:" >&5
29664 sed 's/^/| /' conftest.$ac_ext >&5
29666 ac_header_preproc=no
29668 rm -f conftest.err conftest.$ac_ext
29669 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29670 echo "${ECHO_T}$ac_header_preproc" >&6
29672 # So? What about this header?
29673 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29674 yes:no: )
29675 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29676 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29677 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29678 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29679 ac_header_preproc=yes
29681 no:yes:* )
29682 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29683 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29684 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29685 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29686 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29687 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29688 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29689 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29690 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29691 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29692 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29693 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29695 cat <<\_ASBOX
29696 ## ----------------------------------------- ##
29697 ## Report this to the package-unused lists. ##
29698 ## ----------------------------------------- ##
29699 _ASBOX
29701 sed "s/^/$as_me: WARNING: /" >&2
29703 esac
29704 echo "$as_me:$LINENO: checking for $ac_header" >&5
29705 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29706 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29707 echo $ECHO_N "(cached) $ECHO_C" >&6
29708 else
29709 eval "$as_ac_Header=\$ac_header_preproc"
29711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29712 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29715 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29716 cat >>confdefs.h <<_ACEOF
29717 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29718 _ACEOF
29722 done
29725 if test "${glibcxx_cv_POLL+set}" = set; then
29726 echo $ECHO_N "(cached) $ECHO_C" >&6
29727 else
29729 if test x$gcc_no_link = xyes; then
29730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29732 { (exit 1); exit 1; }; }
29734 cat >conftest.$ac_ext <<_ACEOF
29735 /* confdefs.h. */
29736 _ACEOF
29737 cat confdefs.h >>conftest.$ac_ext
29738 cat >>conftest.$ac_ext <<_ACEOF
29739 /* end confdefs.h. */
29740 #include <poll.h>
29742 main ()
29744 struct pollfd pfd[1];
29745 pfd[0].events = POLLIN;
29746 poll(pfd, 1, 0);
29748 return 0;
29750 _ACEOF
29751 rm -f conftest.$ac_objext conftest$ac_exeext
29752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29753 (eval $ac_link) 2>conftest.er1
29754 ac_status=$?
29755 grep -v '^ *+' conftest.er1 >conftest.err
29756 rm -f conftest.er1
29757 cat conftest.err >&5
29758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29759 (exit $ac_status); } &&
29760 { ac_try='test -z "$ac_c_werror_flag"
29761 || test ! -s conftest.err'
29762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29763 (eval $ac_try) 2>&5
29764 ac_status=$?
29765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29766 (exit $ac_status); }; } &&
29767 { ac_try='test -s conftest$ac_exeext'
29768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29769 (eval $ac_try) 2>&5
29770 ac_status=$?
29771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29772 (exit $ac_status); }; }; then
29773 glibcxx_cv_POLL=yes
29774 else
29775 echo "$as_me: failed program was:" >&5
29776 sed 's/^/| /' conftest.$ac_ext >&5
29778 glibcxx_cv_POLL=no
29780 rm -f conftest.err conftest.$ac_objext \
29781 conftest$ac_exeext conftest.$ac_ext
29785 if test $glibcxx_cv_POLL = yes; then
29786 cat >>confdefs.h <<\_ACEOF
29787 #define HAVE_POLL 1
29788 _ACEOF
29793 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29794 echo $ECHO_N "(cached) $ECHO_C" >&6
29795 else
29797 if test x$gcc_no_link = xyes; then
29798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29800 { (exit 1); exit 1; }; }
29802 cat >conftest.$ac_ext <<_ACEOF
29803 /* confdefs.h. */
29804 _ACEOF
29805 cat confdefs.h >>conftest.$ac_ext
29806 cat >>conftest.$ac_ext <<_ACEOF
29807 /* end confdefs.h. */
29808 #include <sys/stat.h>
29810 main ()
29812 struct stat buffer;
29813 fstat(0, &buffer);
29814 S_ISREG(buffer.st_mode);
29816 return 0;
29818 _ACEOF
29819 rm -f conftest.$ac_objext conftest$ac_exeext
29820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29821 (eval $ac_link) 2>conftest.er1
29822 ac_status=$?
29823 grep -v '^ *+' conftest.er1 >conftest.err
29824 rm -f conftest.er1
29825 cat conftest.err >&5
29826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29827 (exit $ac_status); } &&
29828 { ac_try='test -z "$ac_c_werror_flag"
29829 || test ! -s conftest.err'
29830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29831 (eval $ac_try) 2>&5
29832 ac_status=$?
29833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29834 (exit $ac_status); }; } &&
29835 { ac_try='test -s conftest$ac_exeext'
29836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29837 (eval $ac_try) 2>&5
29838 ac_status=$?
29839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29840 (exit $ac_status); }; }; then
29841 glibcxx_cv_S_ISREG=yes
29842 else
29843 echo "$as_me: failed program was:" >&5
29844 sed 's/^/| /' conftest.$ac_ext >&5
29846 glibcxx_cv_S_ISREG=no
29848 rm -f conftest.err conftest.$ac_objext \
29849 conftest$ac_exeext conftest.$ac_ext
29853 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29854 echo $ECHO_N "(cached) $ECHO_C" >&6
29855 else
29857 if test x$gcc_no_link = xyes; then
29858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29860 { (exit 1); exit 1; }; }
29862 cat >conftest.$ac_ext <<_ACEOF
29863 /* confdefs.h. */
29864 _ACEOF
29865 cat confdefs.h >>conftest.$ac_ext
29866 cat >>conftest.$ac_ext <<_ACEOF
29867 /* end confdefs.h. */
29868 #include <sys/stat.h>
29870 main ()
29872 struct stat buffer;
29873 fstat(0, &buffer);
29874 S_IFREG & buffer.st_mode;
29876 return 0;
29878 _ACEOF
29879 rm -f conftest.$ac_objext conftest$ac_exeext
29880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29881 (eval $ac_link) 2>conftest.er1
29882 ac_status=$?
29883 grep -v '^ *+' conftest.er1 >conftest.err
29884 rm -f conftest.er1
29885 cat conftest.err >&5
29886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29887 (exit $ac_status); } &&
29888 { ac_try='test -z "$ac_c_werror_flag"
29889 || test ! -s conftest.err'
29890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29891 (eval $ac_try) 2>&5
29892 ac_status=$?
29893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29894 (exit $ac_status); }; } &&
29895 { ac_try='test -s conftest$ac_exeext'
29896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29897 (eval $ac_try) 2>&5
29898 ac_status=$?
29899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29900 (exit $ac_status); }; }; then
29901 glibcxx_cv_S_IFREG=yes
29902 else
29903 echo "$as_me: failed program was:" >&5
29904 sed 's/^/| /' conftest.$ac_ext >&5
29906 glibcxx_cv_S_IFREG=no
29908 rm -f conftest.err conftest.$ac_objext \
29909 conftest$ac_exeext conftest.$ac_ext
29913 if test $glibcxx_cv_S_ISREG = yes; then
29914 cat >>confdefs.h <<\_ACEOF
29915 #define HAVE_S_ISREG 1
29916 _ACEOF
29918 elif test $glibcxx_cv_S_IFREG = yes; then
29919 cat >>confdefs.h <<\_ACEOF
29920 #define HAVE_S_IFREG 1
29921 _ACEOF
29926 # For xsputn_2().
29928 for ac_header in sys/uio.h
29930 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29932 echo "$as_me:$LINENO: checking for $ac_header" >&5
29933 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29934 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29935 echo $ECHO_N "(cached) $ECHO_C" >&6
29937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29938 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29939 else
29940 # Is the header compilable?
29941 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29942 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29943 cat >conftest.$ac_ext <<_ACEOF
29944 /* confdefs.h. */
29945 _ACEOF
29946 cat confdefs.h >>conftest.$ac_ext
29947 cat >>conftest.$ac_ext <<_ACEOF
29948 /* end confdefs.h. */
29949 $ac_includes_default
29950 #include <$ac_header>
29951 _ACEOF
29952 rm -f conftest.$ac_objext
29953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29954 (eval $ac_compile) 2>conftest.er1
29955 ac_status=$?
29956 grep -v '^ *+' conftest.er1 >conftest.err
29957 rm -f conftest.er1
29958 cat conftest.err >&5
29959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29960 (exit $ac_status); } &&
29961 { ac_try='test -z "$ac_c_werror_flag"
29962 || test ! -s conftest.err'
29963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29964 (eval $ac_try) 2>&5
29965 ac_status=$?
29966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29967 (exit $ac_status); }; } &&
29968 { ac_try='test -s conftest.$ac_objext'
29969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29970 (eval $ac_try) 2>&5
29971 ac_status=$?
29972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29973 (exit $ac_status); }; }; then
29974 ac_header_compiler=yes
29975 else
29976 echo "$as_me: failed program was:" >&5
29977 sed 's/^/| /' conftest.$ac_ext >&5
29979 ac_header_compiler=no
29981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29982 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29983 echo "${ECHO_T}$ac_header_compiler" >&6
29985 # Is the header present?
29986 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29987 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29988 cat >conftest.$ac_ext <<_ACEOF
29989 /* confdefs.h. */
29990 _ACEOF
29991 cat confdefs.h >>conftest.$ac_ext
29992 cat >>conftest.$ac_ext <<_ACEOF
29993 /* end confdefs.h. */
29994 #include <$ac_header>
29995 _ACEOF
29996 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29997 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29998 ac_status=$?
29999 grep -v '^ *+' conftest.er1 >conftest.err
30000 rm -f conftest.er1
30001 cat conftest.err >&5
30002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30003 (exit $ac_status); } >/dev/null; then
30004 if test -s conftest.err; then
30005 ac_cpp_err=$ac_c_preproc_warn_flag
30006 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30007 else
30008 ac_cpp_err=
30010 else
30011 ac_cpp_err=yes
30013 if test -z "$ac_cpp_err"; then
30014 ac_header_preproc=yes
30015 else
30016 echo "$as_me: failed program was:" >&5
30017 sed 's/^/| /' conftest.$ac_ext >&5
30019 ac_header_preproc=no
30021 rm -f conftest.err conftest.$ac_ext
30022 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30023 echo "${ECHO_T}$ac_header_preproc" >&6
30025 # So? What about this header?
30026 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30027 yes:no: )
30028 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30029 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30030 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30031 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30032 ac_header_preproc=yes
30034 no:yes:* )
30035 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30036 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30037 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30038 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30039 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30040 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30041 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30042 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30043 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30044 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30045 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30046 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30048 cat <<\_ASBOX
30049 ## ----------------------------------------- ##
30050 ## Report this to the package-unused lists. ##
30051 ## ----------------------------------------- ##
30052 _ASBOX
30054 sed "s/^/$as_me: WARNING: /" >&2
30056 esac
30057 echo "$as_me:$LINENO: checking for $ac_header" >&5
30058 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30059 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30060 echo $ECHO_N "(cached) $ECHO_C" >&6
30061 else
30062 eval "$as_ac_Header=\$ac_header_preproc"
30064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30065 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30068 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30069 cat >>confdefs.h <<_ACEOF
30070 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30071 _ACEOF
30075 done
30078 if test "${glibcxx_cv_WRITEV+set}" = set; then
30079 echo $ECHO_N "(cached) $ECHO_C" >&6
30080 else
30082 if test x$gcc_no_link = xyes; then
30083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30085 { (exit 1); exit 1; }; }
30087 cat >conftest.$ac_ext <<_ACEOF
30088 /* confdefs.h. */
30089 _ACEOF
30090 cat confdefs.h >>conftest.$ac_ext
30091 cat >>conftest.$ac_ext <<_ACEOF
30092 /* end confdefs.h. */
30093 #include <sys/uio.h>
30095 main ()
30097 struct iovec iov[2];
30098 writev(0, iov, 0);
30100 return 0;
30102 _ACEOF
30103 rm -f conftest.$ac_objext conftest$ac_exeext
30104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30105 (eval $ac_link) 2>conftest.er1
30106 ac_status=$?
30107 grep -v '^ *+' conftest.er1 >conftest.err
30108 rm -f conftest.er1
30109 cat conftest.err >&5
30110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30111 (exit $ac_status); } &&
30112 { ac_try='test -z "$ac_c_werror_flag"
30113 || test ! -s conftest.err'
30114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30115 (eval $ac_try) 2>&5
30116 ac_status=$?
30117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30118 (exit $ac_status); }; } &&
30119 { ac_try='test -s conftest$ac_exeext'
30120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30121 (eval $ac_try) 2>&5
30122 ac_status=$?
30123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30124 (exit $ac_status); }; }; then
30125 glibcxx_cv_WRITEV=yes
30126 else
30127 echo "$as_me: failed program was:" >&5
30128 sed 's/^/| /' conftest.$ac_ext >&5
30130 glibcxx_cv_WRITEV=no
30132 rm -f conftest.err conftest.$ac_objext \
30133 conftest$ac_exeext conftest.$ac_ext
30137 if test $glibcxx_cv_WRITEV = yes; then
30138 cat >>confdefs.h <<\_ACEOF
30139 #define HAVE_WRITEV 1
30140 _ACEOF
30145 # For the __streamoff_base_type typedef.
30147 if test "${glibcxx_cv_INT64_T+set}" = set; then
30148 echo $ECHO_N "(cached) $ECHO_C" >&6
30149 else
30151 cat >conftest.$ac_ext <<_ACEOF
30152 /* confdefs.h. */
30153 _ACEOF
30154 cat confdefs.h >>conftest.$ac_ext
30155 cat >>conftest.$ac_ext <<_ACEOF
30156 /* end confdefs.h. */
30157 #include <stdint.h>
30159 main ()
30161 int64_t var;
30163 return 0;
30165 _ACEOF
30166 rm -f conftest.$ac_objext
30167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30168 (eval $ac_compile) 2>conftest.er1
30169 ac_status=$?
30170 grep -v '^ *+' conftest.er1 >conftest.err
30171 rm -f conftest.er1
30172 cat conftest.err >&5
30173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30174 (exit $ac_status); } &&
30175 { ac_try='test -z "$ac_c_werror_flag"
30176 || test ! -s conftest.err'
30177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30178 (eval $ac_try) 2>&5
30179 ac_status=$?
30180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30181 (exit $ac_status); }; } &&
30182 { ac_try='test -s conftest.$ac_objext'
30183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30184 (eval $ac_try) 2>&5
30185 ac_status=$?
30186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30187 (exit $ac_status); }; }; then
30188 glibcxx_cv_INT64_T=yes
30189 else
30190 echo "$as_me: failed program was:" >&5
30191 sed 's/^/| /' conftest.$ac_ext >&5
30193 glibcxx_cv_INT64_T=no
30195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30199 if test $glibcxx_cv_INT64_T = yes; then
30200 cat >>confdefs.h <<\_ACEOF
30201 #define HAVE_INT64_T 1
30202 _ACEOF
30207 # For LFS support.
30211 ac_ext=cc
30212 ac_cpp='$CXXCPP $CPPFLAGS'
30213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30217 ac_save_CXXFLAGS="$CXXFLAGS"
30218 CXXFLAGS="$CXXFLAGS -fno-exceptions"
30219 if test "${glibcxx_cv_LFS+set}" = set; then
30220 echo $ECHO_N "(cached) $ECHO_C" >&6
30221 else
30223 if test x$gcc_no_link = xyes; then
30224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30226 { (exit 1); exit 1; }; }
30228 cat >conftest.$ac_ext <<_ACEOF
30229 /* confdefs.h. */
30230 _ACEOF
30231 cat confdefs.h >>conftest.$ac_ext
30232 cat >>conftest.$ac_ext <<_ACEOF
30233 /* end confdefs.h. */
30234 #include <unistd.h>
30235 #include <stdio.h>
30238 main ()
30240 FILE* fp;
30241 fopen64("t", "w");
30242 fseeko64(fp, 0, SEEK_CUR);
30243 ftello64(fp);
30244 lseek64(1, 0, SEEK_CUR);
30246 return 0;
30248 _ACEOF
30249 rm -f conftest.$ac_objext conftest$ac_exeext
30250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30251 (eval $ac_link) 2>conftest.er1
30252 ac_status=$?
30253 grep -v '^ *+' conftest.er1 >conftest.err
30254 rm -f conftest.er1
30255 cat conftest.err >&5
30256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30257 (exit $ac_status); } &&
30258 { ac_try='test -z "$ac_cxx_werror_flag"
30259 || test ! -s conftest.err'
30260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30261 (eval $ac_try) 2>&5
30262 ac_status=$?
30263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30264 (exit $ac_status); }; } &&
30265 { ac_try='test -s conftest$ac_exeext'
30266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30267 (eval $ac_try) 2>&5
30268 ac_status=$?
30269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30270 (exit $ac_status); }; }; then
30271 glibcxx_cv_LFS=yes
30272 else
30273 echo "$as_me: failed program was:" >&5
30274 sed 's/^/| /' conftest.$ac_ext >&5
30276 glibcxx_cv_LFS=no
30278 rm -f conftest.err conftest.$ac_objext \
30279 conftest$ac_exeext conftest.$ac_ext
30283 if test $glibcxx_cv_LFS = yes; then
30284 cat >>confdefs.h <<\_ACEOF
30285 #define _GLIBCXX_USE_LFS 1
30286 _ACEOF
30289 CXXFLAGS="$ac_save_CXXFLAGS"
30290 ac_ext=c
30291 ac_cpp='$CPP $CPPFLAGS'
30292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30299 if test "${ac_cv_header_locale_h+set}" = set; then
30300 echo "$as_me:$LINENO: checking for locale.h" >&5
30301 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30302 if test "${ac_cv_header_locale_h+set}" = set; then
30303 echo $ECHO_N "(cached) $ECHO_C" >&6
30305 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30306 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30307 else
30308 # Is the header compilable?
30309 echo "$as_me:$LINENO: checking locale.h usability" >&5
30310 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
30311 cat >conftest.$ac_ext <<_ACEOF
30312 /* confdefs.h. */
30313 _ACEOF
30314 cat confdefs.h >>conftest.$ac_ext
30315 cat >>conftest.$ac_ext <<_ACEOF
30316 /* end confdefs.h. */
30317 $ac_includes_default
30318 #include <locale.h>
30319 _ACEOF
30320 rm -f conftest.$ac_objext
30321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30322 (eval $ac_compile) 2>conftest.er1
30323 ac_status=$?
30324 grep -v '^ *+' conftest.er1 >conftest.err
30325 rm -f conftest.er1
30326 cat conftest.err >&5
30327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30328 (exit $ac_status); } &&
30329 { ac_try='test -z "$ac_c_werror_flag"
30330 || test ! -s conftest.err'
30331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30332 (eval $ac_try) 2>&5
30333 ac_status=$?
30334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30335 (exit $ac_status); }; } &&
30336 { ac_try='test -s conftest.$ac_objext'
30337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30338 (eval $ac_try) 2>&5
30339 ac_status=$?
30340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30341 (exit $ac_status); }; }; then
30342 ac_header_compiler=yes
30343 else
30344 echo "$as_me: failed program was:" >&5
30345 sed 's/^/| /' conftest.$ac_ext >&5
30347 ac_header_compiler=no
30349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30350 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30351 echo "${ECHO_T}$ac_header_compiler" >&6
30353 # Is the header present?
30354 echo "$as_me:$LINENO: checking locale.h presence" >&5
30355 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
30356 cat >conftest.$ac_ext <<_ACEOF
30357 /* confdefs.h. */
30358 _ACEOF
30359 cat confdefs.h >>conftest.$ac_ext
30360 cat >>conftest.$ac_ext <<_ACEOF
30361 /* end confdefs.h. */
30362 #include <locale.h>
30363 _ACEOF
30364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30365 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30366 ac_status=$?
30367 grep -v '^ *+' conftest.er1 >conftest.err
30368 rm -f conftest.er1
30369 cat conftest.err >&5
30370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30371 (exit $ac_status); } >/dev/null; then
30372 if test -s conftest.err; then
30373 ac_cpp_err=$ac_c_preproc_warn_flag
30374 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30375 else
30376 ac_cpp_err=
30378 else
30379 ac_cpp_err=yes
30381 if test -z "$ac_cpp_err"; then
30382 ac_header_preproc=yes
30383 else
30384 echo "$as_me: failed program was:" >&5
30385 sed 's/^/| /' conftest.$ac_ext >&5
30387 ac_header_preproc=no
30389 rm -f conftest.err conftest.$ac_ext
30390 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30391 echo "${ECHO_T}$ac_header_preproc" >&6
30393 # So? What about this header?
30394 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30395 yes:no: )
30396 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
30397 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30398 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
30399 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
30400 ac_header_preproc=yes
30402 no:yes:* )
30403 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
30404 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
30405 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
30406 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
30407 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30408 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30409 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
30410 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
30411 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30412 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30413 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30414 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30416 cat <<\_ASBOX
30417 ## ----------------------------------------- ##
30418 ## Report this to the package-unused lists. ##
30419 ## ----------------------------------------- ##
30420 _ASBOX
30422 sed "s/^/$as_me: WARNING: /" >&2
30424 esac
30425 echo "$as_me:$LINENO: checking for locale.h" >&5
30426 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30427 if test "${ac_cv_header_locale_h+set}" = set; then
30428 echo $ECHO_N "(cached) $ECHO_C" >&6
30429 else
30430 ac_cv_header_locale_h=$ac_header_preproc
30432 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30433 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30436 if test $ac_cv_header_locale_h = yes; then
30438 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30439 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30440 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30441 echo $ECHO_N "(cached) $ECHO_C" >&6
30442 else
30443 if test x$gcc_no_link = xyes; then
30444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30446 { (exit 1); exit 1; }; }
30448 cat >conftest.$ac_ext <<_ACEOF
30449 /* confdefs.h. */
30450 _ACEOF
30451 cat confdefs.h >>conftest.$ac_ext
30452 cat >>conftest.$ac_ext <<_ACEOF
30453 /* end confdefs.h. */
30454 #include <locale.h>
30456 main ()
30458 return LC_MESSAGES
30460 return 0;
30462 _ACEOF
30463 rm -f conftest.$ac_objext conftest$ac_exeext
30464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30465 (eval $ac_link) 2>conftest.er1
30466 ac_status=$?
30467 grep -v '^ *+' conftest.er1 >conftest.err
30468 rm -f conftest.er1
30469 cat conftest.err >&5
30470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30471 (exit $ac_status); } &&
30472 { ac_try='test -z "$ac_c_werror_flag"
30473 || test ! -s conftest.err'
30474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30475 (eval $ac_try) 2>&5
30476 ac_status=$?
30477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30478 (exit $ac_status); }; } &&
30479 { ac_try='test -s conftest$ac_exeext'
30480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30481 (eval $ac_try) 2>&5
30482 ac_status=$?
30483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30484 (exit $ac_status); }; }; then
30485 ac_cv_val_LC_MESSAGES=yes
30486 else
30487 echo "$as_me: failed program was:" >&5
30488 sed 's/^/| /' conftest.$ac_ext >&5
30490 ac_cv_val_LC_MESSAGES=no
30492 rm -f conftest.err conftest.$ac_objext \
30493 conftest$ac_exeext conftest.$ac_ext
30495 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
30496 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
30497 if test $ac_cv_val_LC_MESSAGES = yes; then
30498 cat >>confdefs.h <<\_ACEOF
30499 #define HAVE_LC_MESSAGES 1
30500 _ACEOF
30509 cat >conftest.$ac_ext <<_ACEOF
30510 /* confdefs.h. */
30511 _ACEOF
30512 cat confdefs.h >>conftest.$ac_ext
30513 cat >>conftest.$ac_ext <<_ACEOF
30514 /* end confdefs.h. */
30515 #include <setjmp.h>
30517 main ()
30519 sigjmp_buf env;
30520 while (! sigsetjmp (env, 1))
30521 siglongjmp (env, 1);
30524 return 0;
30526 _ACEOF
30527 rm -f conftest.$ac_objext
30528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30529 (eval $ac_compile) 2>conftest.er1
30530 ac_status=$?
30531 grep -v '^ *+' conftest.er1 >conftest.err
30532 rm -f conftest.er1
30533 cat conftest.err >&5
30534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30535 (exit $ac_status); } &&
30536 { ac_try='test -z "$ac_c_werror_flag"
30537 || test ! -s conftest.err'
30538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30539 (eval $ac_try) 2>&5
30540 ac_status=$?
30541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30542 (exit $ac_status); }; } &&
30543 { ac_try='test -s conftest.$ac_objext'
30544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30545 (eval $ac_try) 2>&5
30546 ac_status=$?
30547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30548 (exit $ac_status); }; }; then
30550 cat >>confdefs.h <<\_ACEOF
30551 #define HAVE_SIGSETJMP 1
30552 _ACEOF
30554 else
30555 echo "$as_me: failed program was:" >&5
30556 sed 's/^/| /' conftest.$ac_ext >&5
30559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30561 if test x$gcc_no_link = xyes; then
30562 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30563 ac_cv_func_mmap_fixed_mapped=no
30566 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30569 for ac_header in stdlib.h unistd.h
30571 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30573 echo "$as_me:$LINENO: checking for $ac_header" >&5
30574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30576 echo $ECHO_N "(cached) $ECHO_C" >&6
30578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30580 else
30581 # Is the header compilable?
30582 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30583 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30584 cat >conftest.$ac_ext <<_ACEOF
30585 /* confdefs.h. */
30586 _ACEOF
30587 cat confdefs.h >>conftest.$ac_ext
30588 cat >>conftest.$ac_ext <<_ACEOF
30589 /* end confdefs.h. */
30590 $ac_includes_default
30591 #include <$ac_header>
30592 _ACEOF
30593 rm -f conftest.$ac_objext
30594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30595 (eval $ac_compile) 2>conftest.er1
30596 ac_status=$?
30597 grep -v '^ *+' conftest.er1 >conftest.err
30598 rm -f conftest.er1
30599 cat conftest.err >&5
30600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30601 (exit $ac_status); } &&
30602 { ac_try='test -z "$ac_c_werror_flag"
30603 || test ! -s conftest.err'
30604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30605 (eval $ac_try) 2>&5
30606 ac_status=$?
30607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30608 (exit $ac_status); }; } &&
30609 { ac_try='test -s conftest.$ac_objext'
30610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30611 (eval $ac_try) 2>&5
30612 ac_status=$?
30613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30614 (exit $ac_status); }; }; then
30615 ac_header_compiler=yes
30616 else
30617 echo "$as_me: failed program was:" >&5
30618 sed 's/^/| /' conftest.$ac_ext >&5
30620 ac_header_compiler=no
30622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30623 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30624 echo "${ECHO_T}$ac_header_compiler" >&6
30626 # Is the header present?
30627 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30628 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30629 cat >conftest.$ac_ext <<_ACEOF
30630 /* confdefs.h. */
30631 _ACEOF
30632 cat confdefs.h >>conftest.$ac_ext
30633 cat >>conftest.$ac_ext <<_ACEOF
30634 /* end confdefs.h. */
30635 #include <$ac_header>
30636 _ACEOF
30637 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30638 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30639 ac_status=$?
30640 grep -v '^ *+' conftest.er1 >conftest.err
30641 rm -f conftest.er1
30642 cat conftest.err >&5
30643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30644 (exit $ac_status); } >/dev/null; then
30645 if test -s conftest.err; then
30646 ac_cpp_err=$ac_c_preproc_warn_flag
30647 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30648 else
30649 ac_cpp_err=
30651 else
30652 ac_cpp_err=yes
30654 if test -z "$ac_cpp_err"; then
30655 ac_header_preproc=yes
30656 else
30657 echo "$as_me: failed program was:" >&5
30658 sed 's/^/| /' conftest.$ac_ext >&5
30660 ac_header_preproc=no
30662 rm -f conftest.err conftest.$ac_ext
30663 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30664 echo "${ECHO_T}$ac_header_preproc" >&6
30666 # So? What about this header?
30667 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30668 yes:no: )
30669 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30670 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30671 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30672 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30673 ac_header_preproc=yes
30675 no:yes:* )
30676 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30677 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30678 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30679 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30680 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30681 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30682 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30683 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30684 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30685 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30686 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30687 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30689 cat <<\_ASBOX
30690 ## ----------------------------------------- ##
30691 ## Report this to the package-unused lists. ##
30692 ## ----------------------------------------- ##
30693 _ASBOX
30695 sed "s/^/$as_me: WARNING: /" >&2
30697 esac
30698 echo "$as_me:$LINENO: checking for $ac_header" >&5
30699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30701 echo $ECHO_N "(cached) $ECHO_C" >&6
30702 else
30703 eval "$as_ac_Header=\$ac_header_preproc"
30705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30706 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30709 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30710 cat >>confdefs.h <<_ACEOF
30711 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30712 _ACEOF
30716 done
30719 for ac_func in getpagesize
30721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30722 echo "$as_me:$LINENO: checking for $ac_func" >&5
30723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30724 if eval "test \"\${$as_ac_var+set}\" = set"; then
30725 echo $ECHO_N "(cached) $ECHO_C" >&6
30726 else
30727 if test x$gcc_no_link = xyes; then
30728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30730 { (exit 1); exit 1; }; }
30732 cat >conftest.$ac_ext <<_ACEOF
30733 /* confdefs.h. */
30734 _ACEOF
30735 cat confdefs.h >>conftest.$ac_ext
30736 cat >>conftest.$ac_ext <<_ACEOF
30737 /* end confdefs.h. */
30738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30740 #define $ac_func innocuous_$ac_func
30742 /* System header to define __stub macros and hopefully few prototypes,
30743 which can conflict with char $ac_func (); below.
30744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30745 <limits.h> exists even on freestanding compilers. */
30747 #ifdef __STDC__
30748 # include <limits.h>
30749 #else
30750 # include <assert.h>
30751 #endif
30753 #undef $ac_func
30755 /* Override any gcc2 internal prototype to avoid an error. */
30756 #ifdef __cplusplus
30757 extern "C"
30759 #endif
30760 /* We use char because int might match the return type of a gcc2
30761 builtin and then its argument prototype would still apply. */
30762 char $ac_func ();
30763 /* The GNU C library defines this for functions which it implements
30764 to always fail with ENOSYS. Some functions are actually named
30765 something starting with __ and the normal name is an alias. */
30766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30767 choke me
30768 #else
30769 char (*f) () = $ac_func;
30770 #endif
30771 #ifdef __cplusplus
30773 #endif
30776 main ()
30778 return f != $ac_func;
30780 return 0;
30782 _ACEOF
30783 rm -f conftest.$ac_objext conftest$ac_exeext
30784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30785 (eval $ac_link) 2>conftest.er1
30786 ac_status=$?
30787 grep -v '^ *+' conftest.er1 >conftest.err
30788 rm -f conftest.er1
30789 cat conftest.err >&5
30790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30791 (exit $ac_status); } &&
30792 { ac_try='test -z "$ac_c_werror_flag"
30793 || test ! -s conftest.err'
30794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30795 (eval $ac_try) 2>&5
30796 ac_status=$?
30797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30798 (exit $ac_status); }; } &&
30799 { ac_try='test -s conftest$ac_exeext'
30800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30801 (eval $ac_try) 2>&5
30802 ac_status=$?
30803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30804 (exit $ac_status); }; }; then
30805 eval "$as_ac_var=yes"
30806 else
30807 echo "$as_me: failed program was:" >&5
30808 sed 's/^/| /' conftest.$ac_ext >&5
30810 eval "$as_ac_var=no"
30812 rm -f conftest.err conftest.$ac_objext \
30813 conftest$ac_exeext conftest.$ac_ext
30815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30817 if test `eval echo '${'$as_ac_var'}'` = yes; then
30818 cat >>confdefs.h <<_ACEOF
30819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30820 _ACEOF
30823 done
30825 echo "$as_me:$LINENO: checking for working mmap" >&5
30826 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30827 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30828 echo $ECHO_N "(cached) $ECHO_C" >&6
30829 else
30830 if test "$cross_compiling" = yes; then
30831 ac_cv_func_mmap_fixed_mapped=no
30832 else
30833 cat >conftest.$ac_ext <<_ACEOF
30834 /* confdefs.h. */
30835 _ACEOF
30836 cat confdefs.h >>conftest.$ac_ext
30837 cat >>conftest.$ac_ext <<_ACEOF
30838 /* end confdefs.h. */
30839 $ac_includes_default
30840 /* malloc might have been renamed as rpl_malloc. */
30841 #undef malloc
30843 /* Thanks to Mike Haertel and Jim Avera for this test.
30844 Here is a matrix of mmap possibilities:
30845 mmap private not fixed
30846 mmap private fixed at somewhere currently unmapped
30847 mmap private fixed at somewhere already mapped
30848 mmap shared not fixed
30849 mmap shared fixed at somewhere currently unmapped
30850 mmap shared fixed at somewhere already mapped
30851 For private mappings, we should verify that changes cannot be read()
30852 back from the file, nor mmap's back from the file at a different
30853 address. (There have been systems where private was not correctly
30854 implemented like the infamous i386 svr4.0, and systems where the
30855 VM page cache was not coherent with the file system buffer cache
30856 like early versions of FreeBSD and possibly contemporary NetBSD.)
30857 For shared mappings, we should conversely verify that changes get
30858 propagated back to all the places they're supposed to be.
30860 Grep wants private fixed already mapped.
30861 The main things grep needs to know about mmap are:
30862 * does it exist and is it safe to write into the mmap'd area
30863 * how to use it (BSD variants) */
30865 #include <fcntl.h>
30866 #include <sys/mman.h>
30868 #if !STDC_HEADERS && !HAVE_STDLIB_H
30869 char *malloc ();
30870 #endif
30872 /* This mess was copied from the GNU getpagesize.h. */
30873 #if !HAVE_GETPAGESIZE
30874 /* Assume that all systems that can run configure have sys/param.h. */
30875 # if !HAVE_SYS_PARAM_H
30876 # define HAVE_SYS_PARAM_H 1
30877 # endif
30879 # ifdef _SC_PAGESIZE
30880 # define getpagesize() sysconf(_SC_PAGESIZE)
30881 # else /* no _SC_PAGESIZE */
30882 # if HAVE_SYS_PARAM_H
30883 # include <sys/param.h>
30884 # ifdef EXEC_PAGESIZE
30885 # define getpagesize() EXEC_PAGESIZE
30886 # else /* no EXEC_PAGESIZE */
30887 # ifdef NBPG
30888 # define getpagesize() NBPG * CLSIZE
30889 # ifndef CLSIZE
30890 # define CLSIZE 1
30891 # endif /* no CLSIZE */
30892 # else /* no NBPG */
30893 # ifdef NBPC
30894 # define getpagesize() NBPC
30895 # else /* no NBPC */
30896 # ifdef PAGESIZE
30897 # define getpagesize() PAGESIZE
30898 # endif /* PAGESIZE */
30899 # endif /* no NBPC */
30900 # endif /* no NBPG */
30901 # endif /* no EXEC_PAGESIZE */
30902 # else /* no HAVE_SYS_PARAM_H */
30903 # define getpagesize() 8192 /* punt totally */
30904 # endif /* no HAVE_SYS_PARAM_H */
30905 # endif /* no _SC_PAGESIZE */
30907 #endif /* no HAVE_GETPAGESIZE */
30910 main ()
30912 char *data, *data2, *data3;
30913 int i, pagesize;
30914 int fd;
30916 pagesize = getpagesize ();
30918 /* First, make a file with some known garbage in it. */
30919 data = (char *) malloc (pagesize);
30920 if (!data)
30921 exit (1);
30922 for (i = 0; i < pagesize; ++i)
30923 *(data + i) = rand ();
30924 umask (0);
30925 fd = creat ("conftest.mmap", 0600);
30926 if (fd < 0)
30927 exit (1);
30928 if (write (fd, data, pagesize) != pagesize)
30929 exit (1);
30930 close (fd);
30932 /* Next, try to mmap the file at a fixed address which already has
30933 something else allocated at it. If we can, also make sure that
30934 we see the same garbage. */
30935 fd = open ("conftest.mmap", O_RDWR);
30936 if (fd < 0)
30937 exit (1);
30938 data2 = (char *) malloc (2 * pagesize);
30939 if (!data2)
30940 exit (1);
30941 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
30942 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
30943 MAP_PRIVATE | MAP_FIXED, fd, 0L))
30944 exit (1);
30945 for (i = 0; i < pagesize; ++i)
30946 if (*(data + i) != *(data2 + i))
30947 exit (1);
30949 /* Finally, make sure that changes to the mapped area do not
30950 percolate back to the file as seen by read(). (This is a bug on
30951 some variants of i386 svr4.0.) */
30952 for (i = 0; i < pagesize; ++i)
30953 *(data2 + i) = *(data2 + i) + 1;
30954 data3 = (char *) malloc (pagesize);
30955 if (!data3)
30956 exit (1);
30957 if (read (fd, data3, pagesize) != pagesize)
30958 exit (1);
30959 for (i = 0; i < pagesize; ++i)
30960 if (*(data + i) != *(data3 + i))
30961 exit (1);
30962 close (fd);
30963 exit (0);
30965 _ACEOF
30966 rm -f conftest$ac_exeext
30967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30968 (eval $ac_link) 2>&5
30969 ac_status=$?
30970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30971 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30973 (eval $ac_try) 2>&5
30974 ac_status=$?
30975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30976 (exit $ac_status); }; }; then
30977 ac_cv_func_mmap_fixed_mapped=yes
30978 else
30979 echo "$as_me: program exited with status $ac_status" >&5
30980 echo "$as_me: failed program was:" >&5
30981 sed 's/^/| /' conftest.$ac_ext >&5
30983 ( exit $ac_status )
30984 ac_cv_func_mmap_fixed_mapped=no
30986 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30989 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
30990 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
30991 if test $ac_cv_func_mmap_fixed_mapped = yes; then
30993 cat >>confdefs.h <<\_ACEOF
30994 #define HAVE_MMAP 1
30995 _ACEOF
30998 rm -f conftest.mmap
31002 else
31004 # This lets us hard-code the functionality we know we'll have in the cross
31005 # target environment. "Let" is a sugar-coated word placed on an especially
31006 # dull and tedious hack, actually.
31008 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
31009 # that involve linking, can't be used:
31010 # "cannot open sim-crt0.o"
31011 # "cannot open crt0.o"
31012 # etc. All this is because there currently exists no unified, consistent
31013 # way for top level CC information to be passed down to target directories:
31014 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
31015 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
31016 # crosses can be removed.
31018 # If Canadian cross, then don't pick up tools from the build directory.
31019 # Used only in GLIBCXX_EXPORT_INCLUDES.
31020 if test -n "$with_cross_host" &&
31021 test x"$build_alias" != x"$with_cross_host" &&
31022 test x"$build" != x"$target";
31023 then
31024 CANADIAN=yes
31025 else
31026 CANADIAN=no
31029 # Construct crosses by hand, eliminating bits that need ld...
31030 # GLIBCXX_CHECK_COMPILER_FEATURES
31031 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
31032 # GLIBCXX_CHECK_MATH_SUPPORT
31034 # First, test for "known" system libraries. We may be using newlib even
31035 # on a hosted environment.
31036 if test "x${with_newlib}" = "xyes"; then
31037 os_include_dir="os/newlib"
31038 cat >>confdefs.h <<\_ACEOF
31039 #define HAVE_HYPOT 1
31040 _ACEOF
31043 # GLIBCXX_CHECK_STDLIB_SUPPORT
31044 cat >>confdefs.h <<\_ACEOF
31045 #define HAVE_STRTOF 1
31046 _ACEOF
31048 cat >>confdefs.h <<\_ACEOF
31049 #define HAVE_STRTOLD 1
31050 _ACEOF
31052 # AC_FUNC_MMAP
31053 cat >>confdefs.h <<\_ACEOF
31054 #define HAVE_MMAP 1
31055 _ACEOF
31058 cat >>confdefs.h <<\_ACEOF
31059 #define HAVE_ACOSF 1
31060 _ACEOF
31062 cat >>confdefs.h <<\_ACEOF
31063 #define HAVE_ASINF 1
31064 _ACEOF
31066 cat >>confdefs.h <<\_ACEOF
31067 #define HAVE_ATAN2F 1
31068 _ACEOF
31070 cat >>confdefs.h <<\_ACEOF
31071 #define HAVE_ATANF 1
31072 _ACEOF
31074 cat >>confdefs.h <<\_ACEOF
31075 #define HAVE_CEILF 1
31076 _ACEOF
31078 cat >>confdefs.h <<\_ACEOF
31079 #define HAVE_COPYSIGN 1
31080 _ACEOF
31082 cat >>confdefs.h <<\_ACEOF
31083 #define HAVE_COPYSIGNF 1
31084 _ACEOF
31086 cat >>confdefs.h <<\_ACEOF
31087 #define HAVE_COSF 1
31088 _ACEOF
31090 cat >>confdefs.h <<\_ACEOF
31091 #define HAVE_COSHF 1
31092 _ACEOF
31094 cat >>confdefs.h <<\_ACEOF
31095 #define HAVE_EXPF 1
31096 _ACEOF
31098 cat >>confdefs.h <<\_ACEOF
31099 #define HAVE_FABSF 1
31100 _ACEOF
31102 cat >>confdefs.h <<\_ACEOF
31103 #define HAVE_FLOORF 1
31104 _ACEOF
31106 cat >>confdefs.h <<\_ACEOF
31107 #define HAVE_FMODF 1
31108 _ACEOF
31110 cat >>confdefs.h <<\_ACEOF
31111 #define HAVE_FREXPF 1
31112 _ACEOF
31114 cat >>confdefs.h <<\_ACEOF
31115 #define HAVE_LDEXPF 1
31116 _ACEOF
31118 cat >>confdefs.h <<\_ACEOF
31119 #define HAVE_LOG10F 1
31120 _ACEOF
31122 cat >>confdefs.h <<\_ACEOF
31123 #define HAVE_LOGF 1
31124 _ACEOF
31126 cat >>confdefs.h <<\_ACEOF
31127 #define HAVE_MODFF 1
31128 _ACEOF
31130 cat >>confdefs.h <<\_ACEOF
31131 #define HAVE_POWF 1
31132 _ACEOF
31134 cat >>confdefs.h <<\_ACEOF
31135 #define HAVE_SINF 1
31136 _ACEOF
31138 cat >>confdefs.h <<\_ACEOF
31139 #define HAVE_SINHF 1
31140 _ACEOF
31142 cat >>confdefs.h <<\_ACEOF
31143 #define HAVE_SQRTF 1
31144 _ACEOF
31146 cat >>confdefs.h <<\_ACEOF
31147 #define HAVE_TANF 1
31148 _ACEOF
31150 cat >>confdefs.h <<\_ACEOF
31151 #define HAVE_TANHF 1
31152 _ACEOF
31155 cat >>confdefs.h <<\_ACEOF
31156 #define HAVE_S_ISREG 1
31157 _ACEOF
31159 cat >>confdefs.h <<\_ACEOF
31160 #define HAVE_S_IFREG 1
31161 _ACEOF
31163 else
31165 # Base decisions on target environment.
31166 case "${host}" in
31167 *-darwin*)
31168 # Darwin versions vary, but the linker should work in a cross environment,
31169 # so we just check for all the features here.
31170 # Check for available headers.
31184 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
31185 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
31186 sys/types.h
31188 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31189 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31190 echo "$as_me:$LINENO: checking for $ac_header" >&5
31191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31193 echo $ECHO_N "(cached) $ECHO_C" >&6
31195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31196 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31197 else
31198 # Is the header compilable?
31199 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31200 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31201 cat >conftest.$ac_ext <<_ACEOF
31202 /* confdefs.h. */
31203 _ACEOF
31204 cat confdefs.h >>conftest.$ac_ext
31205 cat >>conftest.$ac_ext <<_ACEOF
31206 /* end confdefs.h. */
31207 $ac_includes_default
31208 #include <$ac_header>
31209 _ACEOF
31210 rm -f conftest.$ac_objext
31211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31212 (eval $ac_compile) 2>conftest.er1
31213 ac_status=$?
31214 grep -v '^ *+' conftest.er1 >conftest.err
31215 rm -f conftest.er1
31216 cat conftest.err >&5
31217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31218 (exit $ac_status); } &&
31219 { ac_try='test -z "$ac_c_werror_flag"
31220 || test ! -s conftest.err'
31221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31222 (eval $ac_try) 2>&5
31223 ac_status=$?
31224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31225 (exit $ac_status); }; } &&
31226 { ac_try='test -s conftest.$ac_objext'
31227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31228 (eval $ac_try) 2>&5
31229 ac_status=$?
31230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31231 (exit $ac_status); }; }; then
31232 ac_header_compiler=yes
31233 else
31234 echo "$as_me: failed program was:" >&5
31235 sed 's/^/| /' conftest.$ac_ext >&5
31237 ac_header_compiler=no
31239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31240 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31241 echo "${ECHO_T}$ac_header_compiler" >&6
31243 # Is the header present?
31244 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31245 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31246 cat >conftest.$ac_ext <<_ACEOF
31247 /* confdefs.h. */
31248 _ACEOF
31249 cat confdefs.h >>conftest.$ac_ext
31250 cat >>conftest.$ac_ext <<_ACEOF
31251 /* end confdefs.h. */
31252 #include <$ac_header>
31253 _ACEOF
31254 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31255 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31256 ac_status=$?
31257 grep -v '^ *+' conftest.er1 >conftest.err
31258 rm -f conftest.er1
31259 cat conftest.err >&5
31260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31261 (exit $ac_status); } >/dev/null; then
31262 if test -s conftest.err; then
31263 ac_cpp_err=$ac_c_preproc_warn_flag
31264 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31265 else
31266 ac_cpp_err=
31268 else
31269 ac_cpp_err=yes
31271 if test -z "$ac_cpp_err"; then
31272 ac_header_preproc=yes
31273 else
31274 echo "$as_me: failed program was:" >&5
31275 sed 's/^/| /' conftest.$ac_ext >&5
31277 ac_header_preproc=no
31279 rm -f conftest.err conftest.$ac_ext
31280 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31281 echo "${ECHO_T}$ac_header_preproc" >&6
31283 # So? What about this header?
31284 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31285 yes:no: )
31286 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31287 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31289 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31290 ac_header_preproc=yes
31292 no:yes:* )
31293 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31294 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31295 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31296 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31297 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31298 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31299 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31300 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31301 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31302 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31303 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31304 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31306 cat <<\_ASBOX
31307 ## ----------------------------------------- ##
31308 ## Report this to the package-unused lists. ##
31309 ## ----------------------------------------- ##
31310 _ASBOX
31312 sed "s/^/$as_me: WARNING: /" >&2
31314 esac
31315 echo "$as_me:$LINENO: checking for $ac_header" >&5
31316 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31318 echo $ECHO_N "(cached) $ECHO_C" >&6
31319 else
31320 eval "$as_ac_Header=\$ac_header_preproc"
31322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31323 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31326 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31327 cat >>confdefs.h <<_ACEOF
31328 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31329 _ACEOF
31333 done
31337 # All these tests are for C++; save the language and the compiler flags.
31338 # The CXXFLAGS thing is suspicious, but based on similar bits previously
31339 # found in GLIBCXX_CONFIGURE.
31342 ac_ext=cc
31343 ac_cpp='$CXXCPP $CPPFLAGS'
31344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31348 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31349 ac_save_CXXFLAGS="$CXXFLAGS"
31351 # Check for maintainer-mode bits.
31352 if test x"$USE_MAINTAINER_MODE" = xno; then
31353 WERROR=''
31354 else
31355 WERROR='-Werror'
31358 # Check for -ffunction-sections -fdata-sections
31359 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
31360 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
31361 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
31362 cat >conftest.$ac_ext <<_ACEOF
31363 /* confdefs.h. */
31364 _ACEOF
31365 cat confdefs.h >>conftest.$ac_ext
31366 cat >>conftest.$ac_ext <<_ACEOF
31367 /* end confdefs.h. */
31370 main ()
31372 int foo;
31374 return 0;
31376 _ACEOF
31377 rm -f conftest.$ac_objext
31378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31379 (eval $ac_compile) 2>conftest.er1
31380 ac_status=$?
31381 grep -v '^ *+' conftest.er1 >conftest.err
31382 rm -f conftest.er1
31383 cat conftest.err >&5
31384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31385 (exit $ac_status); } &&
31386 { ac_try='test -z "$ac_cxx_werror_flag"
31387 || test ! -s conftest.err'
31388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31389 (eval $ac_try) 2>&5
31390 ac_status=$?
31391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31392 (exit $ac_status); }; } &&
31393 { ac_try='test -s conftest.$ac_objext'
31394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31395 (eval $ac_try) 2>&5
31396 ac_status=$?
31397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31398 (exit $ac_status); }; }; then
31399 ac_fdsections=yes
31400 else
31401 echo "$as_me: failed program was:" >&5
31402 sed 's/^/| /' conftest.$ac_ext >&5
31404 ac_fdsections=no
31406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31407 if test "$ac_test_CXXFLAGS" = set; then
31408 CXXFLAGS="$ac_save_CXXFLAGS"
31409 else
31410 # this is the suspicious part
31411 CXXFLAGS=''
31413 if test x"$ac_fdsections" = x"yes"; then
31414 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31416 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31417 echo "${ECHO_T}$ac_fdsections" >&6
31419 ac_ext=c
31420 ac_cpp='$CPP $CPPFLAGS'
31421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31428 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31430 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31431 ac_save_CXXFLAGS="$CXXFLAGS"
31432 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31434 echo "$as_me:$LINENO: checking for sin in -lm" >&5
31435 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31436 if test "${ac_cv_lib_m_sin+set}" = set; then
31437 echo $ECHO_N "(cached) $ECHO_C" >&6
31438 else
31439 ac_check_lib_save_LIBS=$LIBS
31440 LIBS="-lm $LIBS"
31441 if test x$gcc_no_link = xyes; then
31442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31444 { (exit 1); exit 1; }; }
31446 cat >conftest.$ac_ext <<_ACEOF
31447 /* confdefs.h. */
31448 _ACEOF
31449 cat confdefs.h >>conftest.$ac_ext
31450 cat >>conftest.$ac_ext <<_ACEOF
31451 /* end confdefs.h. */
31453 /* Override any gcc2 internal prototype to avoid an error. */
31454 #ifdef __cplusplus
31455 extern "C"
31456 #endif
31457 /* We use char because int might match the return type of a gcc2
31458 builtin and then its argument prototype would still apply. */
31459 char sin ();
31461 main ()
31463 sin ();
31465 return 0;
31467 _ACEOF
31468 rm -f conftest.$ac_objext conftest$ac_exeext
31469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31470 (eval $ac_link) 2>conftest.er1
31471 ac_status=$?
31472 grep -v '^ *+' conftest.er1 >conftest.err
31473 rm -f conftest.er1
31474 cat conftest.err >&5
31475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31476 (exit $ac_status); } &&
31477 { ac_try='test -z "$ac_c_werror_flag"
31478 || test ! -s conftest.err'
31479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31480 (eval $ac_try) 2>&5
31481 ac_status=$?
31482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31483 (exit $ac_status); }; } &&
31484 { ac_try='test -s conftest$ac_exeext'
31485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31486 (eval $ac_try) 2>&5
31487 ac_status=$?
31488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31489 (exit $ac_status); }; }; then
31490 ac_cv_lib_m_sin=yes
31491 else
31492 echo "$as_me: failed program was:" >&5
31493 sed 's/^/| /' conftest.$ac_ext >&5
31495 ac_cv_lib_m_sin=no
31497 rm -f conftest.err conftest.$ac_objext \
31498 conftest$ac_exeext conftest.$ac_ext
31499 LIBS=$ac_check_lib_save_LIBS
31501 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
31502 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
31503 if test $ac_cv_lib_m_sin = yes; then
31504 libm="-lm"
31507 ac_save_LIBS="$LIBS"
31508 LIBS="$LIBS $libm"
31512 echo "$as_me:$LINENO: checking for isinf declaration" >&5
31513 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
31514 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31515 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
31516 echo $ECHO_N "(cached) $ECHO_C" >&6
31517 else
31521 ac_ext=cc
31522 ac_cpp='$CXXCPP $CPPFLAGS'
31523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31527 cat >conftest.$ac_ext <<_ACEOF
31528 /* confdefs.h. */
31529 _ACEOF
31530 cat confdefs.h >>conftest.$ac_ext
31531 cat >>conftest.$ac_ext <<_ACEOF
31532 /* end confdefs.h. */
31533 #include <math.h>
31534 #ifdef HAVE_IEEEFP_H
31535 #include <ieeefp.h>
31536 #endif
31539 main ()
31541 isinf(0);
31543 return 0;
31545 _ACEOF
31546 rm -f conftest.$ac_objext
31547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31548 (eval $ac_compile) 2>conftest.er1
31549 ac_status=$?
31550 grep -v '^ *+' conftest.er1 >conftest.err
31551 rm -f conftest.er1
31552 cat conftest.err >&5
31553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554 (exit $ac_status); } &&
31555 { ac_try='test -z "$ac_cxx_werror_flag"
31556 || test ! -s conftest.err'
31557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31558 (eval $ac_try) 2>&5
31559 ac_status=$?
31560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561 (exit $ac_status); }; } &&
31562 { ac_try='test -s conftest.$ac_objext'
31563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31564 (eval $ac_try) 2>&5
31565 ac_status=$?
31566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31567 (exit $ac_status); }; }; then
31568 glibcxx_cv_func_isinf_use=yes
31569 else
31570 echo "$as_me: failed program was:" >&5
31571 sed 's/^/| /' conftest.$ac_ext >&5
31573 glibcxx_cv_func_isinf_use=no
31575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31576 ac_ext=c
31577 ac_cpp='$CPP $CPPFLAGS'
31578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31586 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
31587 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
31589 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31591 for ac_func in isinf
31593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31594 echo "$as_me:$LINENO: checking for $ac_func" >&5
31595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31596 if eval "test \"\${$as_ac_var+set}\" = set"; then
31597 echo $ECHO_N "(cached) $ECHO_C" >&6
31598 else
31599 if test x$gcc_no_link = xyes; then
31600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31602 { (exit 1); exit 1; }; }
31604 cat >conftest.$ac_ext <<_ACEOF
31605 /* confdefs.h. */
31606 _ACEOF
31607 cat confdefs.h >>conftest.$ac_ext
31608 cat >>conftest.$ac_ext <<_ACEOF
31609 /* end confdefs.h. */
31610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31612 #define $ac_func innocuous_$ac_func
31614 /* System header to define __stub macros and hopefully few prototypes,
31615 which can conflict with char $ac_func (); below.
31616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31617 <limits.h> exists even on freestanding compilers. */
31619 #ifdef __STDC__
31620 # include <limits.h>
31621 #else
31622 # include <assert.h>
31623 #endif
31625 #undef $ac_func
31627 /* Override any gcc2 internal prototype to avoid an error. */
31628 #ifdef __cplusplus
31629 extern "C"
31631 #endif
31632 /* We use char because int might match the return type of a gcc2
31633 builtin and then its argument prototype would still apply. */
31634 char $ac_func ();
31635 /* The GNU C library defines this for functions which it implements
31636 to always fail with ENOSYS. Some functions are actually named
31637 something starting with __ and the normal name is an alias. */
31638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31639 choke me
31640 #else
31641 char (*f) () = $ac_func;
31642 #endif
31643 #ifdef __cplusplus
31645 #endif
31648 main ()
31650 return f != $ac_func;
31652 return 0;
31654 _ACEOF
31655 rm -f conftest.$ac_objext conftest$ac_exeext
31656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31657 (eval $ac_link) 2>conftest.er1
31658 ac_status=$?
31659 grep -v '^ *+' conftest.er1 >conftest.err
31660 rm -f conftest.er1
31661 cat conftest.err >&5
31662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31663 (exit $ac_status); } &&
31664 { ac_try='test -z "$ac_c_werror_flag"
31665 || test ! -s conftest.err'
31666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31667 (eval $ac_try) 2>&5
31668 ac_status=$?
31669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31670 (exit $ac_status); }; } &&
31671 { ac_try='test -s conftest$ac_exeext'
31672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31673 (eval $ac_try) 2>&5
31674 ac_status=$?
31675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31676 (exit $ac_status); }; }; then
31677 eval "$as_ac_var=yes"
31678 else
31679 echo "$as_me: failed program was:" >&5
31680 sed 's/^/| /' conftest.$ac_ext >&5
31682 eval "$as_ac_var=no"
31684 rm -f conftest.err conftest.$ac_objext \
31685 conftest$ac_exeext conftest.$ac_ext
31687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31689 if test `eval echo '${'$as_ac_var'}'` = yes; then
31690 cat >>confdefs.h <<_ACEOF
31691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31692 _ACEOF
31695 done
31697 else
31699 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31700 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31701 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31702 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31703 echo $ECHO_N "(cached) $ECHO_C" >&6
31704 else
31708 ac_ext=cc
31709 ac_cpp='$CXXCPP $CPPFLAGS'
31710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31714 cat >conftest.$ac_ext <<_ACEOF
31715 /* confdefs.h. */
31716 _ACEOF
31717 cat confdefs.h >>conftest.$ac_ext
31718 cat >>conftest.$ac_ext <<_ACEOF
31719 /* end confdefs.h. */
31720 #include <math.h>
31721 #ifdef HAVE_IEEEFP_H
31722 #include <ieeefp.h>
31723 #endif
31726 main ()
31728 _isinf(0);
31730 return 0;
31732 _ACEOF
31733 rm -f conftest.$ac_objext
31734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31735 (eval $ac_compile) 2>conftest.er1
31736 ac_status=$?
31737 grep -v '^ *+' conftest.er1 >conftest.err
31738 rm -f conftest.er1
31739 cat conftest.err >&5
31740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31741 (exit $ac_status); } &&
31742 { ac_try='test -z "$ac_cxx_werror_flag"
31743 || test ! -s conftest.err'
31744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31745 (eval $ac_try) 2>&5
31746 ac_status=$?
31747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31748 (exit $ac_status); }; } &&
31749 { ac_try='test -s conftest.$ac_objext'
31750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31751 (eval $ac_try) 2>&5
31752 ac_status=$?
31753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31754 (exit $ac_status); }; }; then
31755 glibcxx_cv_func__isinf_use=yes
31756 else
31757 echo "$as_me: failed program was:" >&5
31758 sed 's/^/| /' conftest.$ac_ext >&5
31760 glibcxx_cv_func__isinf_use=no
31762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31763 ac_ext=c
31764 ac_cpp='$CPP $CPPFLAGS'
31765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31773 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
31774 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
31776 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31778 for ac_func in _isinf
31780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31781 echo "$as_me:$LINENO: checking for $ac_func" >&5
31782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31783 if eval "test \"\${$as_ac_var+set}\" = set"; then
31784 echo $ECHO_N "(cached) $ECHO_C" >&6
31785 else
31786 if test x$gcc_no_link = xyes; then
31787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31789 { (exit 1); exit 1; }; }
31791 cat >conftest.$ac_ext <<_ACEOF
31792 /* confdefs.h. */
31793 _ACEOF
31794 cat confdefs.h >>conftest.$ac_ext
31795 cat >>conftest.$ac_ext <<_ACEOF
31796 /* end confdefs.h. */
31797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31799 #define $ac_func innocuous_$ac_func
31801 /* System header to define __stub macros and hopefully few prototypes,
31802 which can conflict with char $ac_func (); below.
31803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31804 <limits.h> exists even on freestanding compilers. */
31806 #ifdef __STDC__
31807 # include <limits.h>
31808 #else
31809 # include <assert.h>
31810 #endif
31812 #undef $ac_func
31814 /* Override any gcc2 internal prototype to avoid an error. */
31815 #ifdef __cplusplus
31816 extern "C"
31818 #endif
31819 /* We use char because int might match the return type of a gcc2
31820 builtin and then its argument prototype would still apply. */
31821 char $ac_func ();
31822 /* The GNU C library defines this for functions which it implements
31823 to always fail with ENOSYS. Some functions are actually named
31824 something starting with __ and the normal name is an alias. */
31825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31826 choke me
31827 #else
31828 char (*f) () = $ac_func;
31829 #endif
31830 #ifdef __cplusplus
31832 #endif
31835 main ()
31837 return f != $ac_func;
31839 return 0;
31841 _ACEOF
31842 rm -f conftest.$ac_objext conftest$ac_exeext
31843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31844 (eval $ac_link) 2>conftest.er1
31845 ac_status=$?
31846 grep -v '^ *+' conftest.er1 >conftest.err
31847 rm -f conftest.er1
31848 cat conftest.err >&5
31849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31850 (exit $ac_status); } &&
31851 { ac_try='test -z "$ac_c_werror_flag"
31852 || test ! -s conftest.err'
31853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31854 (eval $ac_try) 2>&5
31855 ac_status=$?
31856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31857 (exit $ac_status); }; } &&
31858 { ac_try='test -s conftest$ac_exeext'
31859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31860 (eval $ac_try) 2>&5
31861 ac_status=$?
31862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31863 (exit $ac_status); }; }; then
31864 eval "$as_ac_var=yes"
31865 else
31866 echo "$as_me: failed program was:" >&5
31867 sed 's/^/| /' conftest.$ac_ext >&5
31869 eval "$as_ac_var=no"
31871 rm -f conftest.err conftest.$ac_objext \
31872 conftest$ac_exeext conftest.$ac_ext
31874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31876 if test `eval echo '${'$as_ac_var'}'` = yes; then
31877 cat >>confdefs.h <<_ACEOF
31878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31879 _ACEOF
31882 done
31889 echo "$as_me:$LINENO: checking for isnan declaration" >&5
31890 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
31891 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31892 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
31893 echo $ECHO_N "(cached) $ECHO_C" >&6
31894 else
31898 ac_ext=cc
31899 ac_cpp='$CXXCPP $CPPFLAGS'
31900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31904 cat >conftest.$ac_ext <<_ACEOF
31905 /* confdefs.h. */
31906 _ACEOF
31907 cat confdefs.h >>conftest.$ac_ext
31908 cat >>conftest.$ac_ext <<_ACEOF
31909 /* end confdefs.h. */
31910 #include <math.h>
31911 #ifdef HAVE_IEEEFP_H
31912 #include <ieeefp.h>
31913 #endif
31916 main ()
31918 isnan(0);
31920 return 0;
31922 _ACEOF
31923 rm -f conftest.$ac_objext
31924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31925 (eval $ac_compile) 2>conftest.er1
31926 ac_status=$?
31927 grep -v '^ *+' conftest.er1 >conftest.err
31928 rm -f conftest.er1
31929 cat conftest.err >&5
31930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31931 (exit $ac_status); } &&
31932 { ac_try='test -z "$ac_cxx_werror_flag"
31933 || test ! -s conftest.err'
31934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31935 (eval $ac_try) 2>&5
31936 ac_status=$?
31937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31938 (exit $ac_status); }; } &&
31939 { ac_try='test -s conftest.$ac_objext'
31940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31941 (eval $ac_try) 2>&5
31942 ac_status=$?
31943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31944 (exit $ac_status); }; }; then
31945 glibcxx_cv_func_isnan_use=yes
31946 else
31947 echo "$as_me: failed program was:" >&5
31948 sed 's/^/| /' conftest.$ac_ext >&5
31950 glibcxx_cv_func_isnan_use=no
31952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31953 ac_ext=c
31954 ac_cpp='$CPP $CPPFLAGS'
31955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31963 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
31964 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
31966 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31968 for ac_func in isnan
31970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31971 echo "$as_me:$LINENO: checking for $ac_func" >&5
31972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31973 if eval "test \"\${$as_ac_var+set}\" = set"; then
31974 echo $ECHO_N "(cached) $ECHO_C" >&6
31975 else
31976 if test x$gcc_no_link = xyes; then
31977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31979 { (exit 1); exit 1; }; }
31981 cat >conftest.$ac_ext <<_ACEOF
31982 /* confdefs.h. */
31983 _ACEOF
31984 cat confdefs.h >>conftest.$ac_ext
31985 cat >>conftest.$ac_ext <<_ACEOF
31986 /* end confdefs.h. */
31987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31989 #define $ac_func innocuous_$ac_func
31991 /* System header to define __stub macros and hopefully few prototypes,
31992 which can conflict with char $ac_func (); below.
31993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31994 <limits.h> exists even on freestanding compilers. */
31996 #ifdef __STDC__
31997 # include <limits.h>
31998 #else
31999 # include <assert.h>
32000 #endif
32002 #undef $ac_func
32004 /* Override any gcc2 internal prototype to avoid an error. */
32005 #ifdef __cplusplus
32006 extern "C"
32008 #endif
32009 /* We use char because int might match the return type of a gcc2
32010 builtin and then its argument prototype would still apply. */
32011 char $ac_func ();
32012 /* The GNU C library defines this for functions which it implements
32013 to always fail with ENOSYS. Some functions are actually named
32014 something starting with __ and the normal name is an alias. */
32015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32016 choke me
32017 #else
32018 char (*f) () = $ac_func;
32019 #endif
32020 #ifdef __cplusplus
32022 #endif
32025 main ()
32027 return f != $ac_func;
32029 return 0;
32031 _ACEOF
32032 rm -f conftest.$ac_objext conftest$ac_exeext
32033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32034 (eval $ac_link) 2>conftest.er1
32035 ac_status=$?
32036 grep -v '^ *+' conftest.er1 >conftest.err
32037 rm -f conftest.er1
32038 cat conftest.err >&5
32039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32040 (exit $ac_status); } &&
32041 { ac_try='test -z "$ac_c_werror_flag"
32042 || test ! -s conftest.err'
32043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32044 (eval $ac_try) 2>&5
32045 ac_status=$?
32046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32047 (exit $ac_status); }; } &&
32048 { ac_try='test -s conftest$ac_exeext'
32049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32050 (eval $ac_try) 2>&5
32051 ac_status=$?
32052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32053 (exit $ac_status); }; }; then
32054 eval "$as_ac_var=yes"
32055 else
32056 echo "$as_me: failed program was:" >&5
32057 sed 's/^/| /' conftest.$ac_ext >&5
32059 eval "$as_ac_var=no"
32061 rm -f conftest.err conftest.$ac_objext \
32062 conftest$ac_exeext conftest.$ac_ext
32064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32066 if test `eval echo '${'$as_ac_var'}'` = yes; then
32067 cat >>confdefs.h <<_ACEOF
32068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32069 _ACEOF
32072 done
32074 else
32076 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
32077 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
32078 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32079 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
32080 echo $ECHO_N "(cached) $ECHO_C" >&6
32081 else
32085 ac_ext=cc
32086 ac_cpp='$CXXCPP $CPPFLAGS'
32087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32091 cat >conftest.$ac_ext <<_ACEOF
32092 /* confdefs.h. */
32093 _ACEOF
32094 cat confdefs.h >>conftest.$ac_ext
32095 cat >>conftest.$ac_ext <<_ACEOF
32096 /* end confdefs.h. */
32097 #include <math.h>
32098 #ifdef HAVE_IEEEFP_H
32099 #include <ieeefp.h>
32100 #endif
32103 main ()
32105 _isnan(0);
32107 return 0;
32109 _ACEOF
32110 rm -f conftest.$ac_objext
32111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32112 (eval $ac_compile) 2>conftest.er1
32113 ac_status=$?
32114 grep -v '^ *+' conftest.er1 >conftest.err
32115 rm -f conftest.er1
32116 cat conftest.err >&5
32117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32118 (exit $ac_status); } &&
32119 { ac_try='test -z "$ac_cxx_werror_flag"
32120 || test ! -s conftest.err'
32121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32122 (eval $ac_try) 2>&5
32123 ac_status=$?
32124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32125 (exit $ac_status); }; } &&
32126 { ac_try='test -s conftest.$ac_objext'
32127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32128 (eval $ac_try) 2>&5
32129 ac_status=$?
32130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32131 (exit $ac_status); }; }; then
32132 glibcxx_cv_func__isnan_use=yes
32133 else
32134 echo "$as_me: failed program was:" >&5
32135 sed 's/^/| /' conftest.$ac_ext >&5
32137 glibcxx_cv_func__isnan_use=no
32139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32140 ac_ext=c
32141 ac_cpp='$CPP $CPPFLAGS'
32142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32150 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
32151 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
32153 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32155 for ac_func in _isnan
32157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32158 echo "$as_me:$LINENO: checking for $ac_func" >&5
32159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32160 if eval "test \"\${$as_ac_var+set}\" = set"; then
32161 echo $ECHO_N "(cached) $ECHO_C" >&6
32162 else
32163 if test x$gcc_no_link = xyes; then
32164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32166 { (exit 1); exit 1; }; }
32168 cat >conftest.$ac_ext <<_ACEOF
32169 /* confdefs.h. */
32170 _ACEOF
32171 cat confdefs.h >>conftest.$ac_ext
32172 cat >>conftest.$ac_ext <<_ACEOF
32173 /* end confdefs.h. */
32174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32176 #define $ac_func innocuous_$ac_func
32178 /* System header to define __stub macros and hopefully few prototypes,
32179 which can conflict with char $ac_func (); below.
32180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32181 <limits.h> exists even on freestanding compilers. */
32183 #ifdef __STDC__
32184 # include <limits.h>
32185 #else
32186 # include <assert.h>
32187 #endif
32189 #undef $ac_func
32191 /* Override any gcc2 internal prototype to avoid an error. */
32192 #ifdef __cplusplus
32193 extern "C"
32195 #endif
32196 /* We use char because int might match the return type of a gcc2
32197 builtin and then its argument prototype would still apply. */
32198 char $ac_func ();
32199 /* The GNU C library defines this for functions which it implements
32200 to always fail with ENOSYS. Some functions are actually named
32201 something starting with __ and the normal name is an alias. */
32202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32203 choke me
32204 #else
32205 char (*f) () = $ac_func;
32206 #endif
32207 #ifdef __cplusplus
32209 #endif
32212 main ()
32214 return f != $ac_func;
32216 return 0;
32218 _ACEOF
32219 rm -f conftest.$ac_objext conftest$ac_exeext
32220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32221 (eval $ac_link) 2>conftest.er1
32222 ac_status=$?
32223 grep -v '^ *+' conftest.er1 >conftest.err
32224 rm -f conftest.er1
32225 cat conftest.err >&5
32226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32227 (exit $ac_status); } &&
32228 { ac_try='test -z "$ac_c_werror_flag"
32229 || test ! -s conftest.err'
32230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32231 (eval $ac_try) 2>&5
32232 ac_status=$?
32233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32234 (exit $ac_status); }; } &&
32235 { ac_try='test -s conftest$ac_exeext'
32236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32237 (eval $ac_try) 2>&5
32238 ac_status=$?
32239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32240 (exit $ac_status); }; }; then
32241 eval "$as_ac_var=yes"
32242 else
32243 echo "$as_me: failed program was:" >&5
32244 sed 's/^/| /' conftest.$ac_ext >&5
32246 eval "$as_ac_var=no"
32248 rm -f conftest.err conftest.$ac_objext \
32249 conftest$ac_exeext conftest.$ac_ext
32251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32253 if test `eval echo '${'$as_ac_var'}'` = yes; then
32254 cat >>confdefs.h <<_ACEOF
32255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32256 _ACEOF
32259 done
32266 echo "$as_me:$LINENO: checking for finite declaration" >&5
32267 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
32268 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32269 if test "${glibcxx_cv_func_finite_use+set}" = set; then
32270 echo $ECHO_N "(cached) $ECHO_C" >&6
32271 else
32275 ac_ext=cc
32276 ac_cpp='$CXXCPP $CPPFLAGS'
32277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32281 cat >conftest.$ac_ext <<_ACEOF
32282 /* confdefs.h. */
32283 _ACEOF
32284 cat confdefs.h >>conftest.$ac_ext
32285 cat >>conftest.$ac_ext <<_ACEOF
32286 /* end confdefs.h. */
32287 #include <math.h>
32288 #ifdef HAVE_IEEEFP_H
32289 #include <ieeefp.h>
32290 #endif
32293 main ()
32295 finite(0);
32297 return 0;
32299 _ACEOF
32300 rm -f conftest.$ac_objext
32301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32302 (eval $ac_compile) 2>conftest.er1
32303 ac_status=$?
32304 grep -v '^ *+' conftest.er1 >conftest.err
32305 rm -f conftest.er1
32306 cat conftest.err >&5
32307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32308 (exit $ac_status); } &&
32309 { ac_try='test -z "$ac_cxx_werror_flag"
32310 || test ! -s conftest.err'
32311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32312 (eval $ac_try) 2>&5
32313 ac_status=$?
32314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32315 (exit $ac_status); }; } &&
32316 { ac_try='test -s conftest.$ac_objext'
32317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32318 (eval $ac_try) 2>&5
32319 ac_status=$?
32320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32321 (exit $ac_status); }; }; then
32322 glibcxx_cv_func_finite_use=yes
32323 else
32324 echo "$as_me: failed program was:" >&5
32325 sed 's/^/| /' conftest.$ac_ext >&5
32327 glibcxx_cv_func_finite_use=no
32329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32330 ac_ext=c
32331 ac_cpp='$CPP $CPPFLAGS'
32332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32340 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
32341 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
32343 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32345 for ac_func in finite
32347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32348 echo "$as_me:$LINENO: checking for $ac_func" >&5
32349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32350 if eval "test \"\${$as_ac_var+set}\" = set"; then
32351 echo $ECHO_N "(cached) $ECHO_C" >&6
32352 else
32353 if test x$gcc_no_link = xyes; then
32354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32356 { (exit 1); exit 1; }; }
32358 cat >conftest.$ac_ext <<_ACEOF
32359 /* confdefs.h. */
32360 _ACEOF
32361 cat confdefs.h >>conftest.$ac_ext
32362 cat >>conftest.$ac_ext <<_ACEOF
32363 /* end confdefs.h. */
32364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32366 #define $ac_func innocuous_$ac_func
32368 /* System header to define __stub macros and hopefully few prototypes,
32369 which can conflict with char $ac_func (); below.
32370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32371 <limits.h> exists even on freestanding compilers. */
32373 #ifdef __STDC__
32374 # include <limits.h>
32375 #else
32376 # include <assert.h>
32377 #endif
32379 #undef $ac_func
32381 /* Override any gcc2 internal prototype to avoid an error. */
32382 #ifdef __cplusplus
32383 extern "C"
32385 #endif
32386 /* We use char because int might match the return type of a gcc2
32387 builtin and then its argument prototype would still apply. */
32388 char $ac_func ();
32389 /* The GNU C library defines this for functions which it implements
32390 to always fail with ENOSYS. Some functions are actually named
32391 something starting with __ and the normal name is an alias. */
32392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32393 choke me
32394 #else
32395 char (*f) () = $ac_func;
32396 #endif
32397 #ifdef __cplusplus
32399 #endif
32402 main ()
32404 return f != $ac_func;
32406 return 0;
32408 _ACEOF
32409 rm -f conftest.$ac_objext conftest$ac_exeext
32410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32411 (eval $ac_link) 2>conftest.er1
32412 ac_status=$?
32413 grep -v '^ *+' conftest.er1 >conftest.err
32414 rm -f conftest.er1
32415 cat conftest.err >&5
32416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32417 (exit $ac_status); } &&
32418 { ac_try='test -z "$ac_c_werror_flag"
32419 || test ! -s conftest.err'
32420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32421 (eval $ac_try) 2>&5
32422 ac_status=$?
32423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32424 (exit $ac_status); }; } &&
32425 { ac_try='test -s conftest$ac_exeext'
32426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32427 (eval $ac_try) 2>&5
32428 ac_status=$?
32429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32430 (exit $ac_status); }; }; then
32431 eval "$as_ac_var=yes"
32432 else
32433 echo "$as_me: failed program was:" >&5
32434 sed 's/^/| /' conftest.$ac_ext >&5
32436 eval "$as_ac_var=no"
32438 rm -f conftest.err conftest.$ac_objext \
32439 conftest$ac_exeext conftest.$ac_ext
32441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32443 if test `eval echo '${'$as_ac_var'}'` = yes; then
32444 cat >>confdefs.h <<_ACEOF
32445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32446 _ACEOF
32449 done
32451 else
32453 echo "$as_me:$LINENO: checking for _finite declaration" >&5
32454 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32455 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32456 if test "${glibcxx_cv_func__finite_use+set}" = set; then
32457 echo $ECHO_N "(cached) $ECHO_C" >&6
32458 else
32462 ac_ext=cc
32463 ac_cpp='$CXXCPP $CPPFLAGS'
32464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32468 cat >conftest.$ac_ext <<_ACEOF
32469 /* confdefs.h. */
32470 _ACEOF
32471 cat confdefs.h >>conftest.$ac_ext
32472 cat >>conftest.$ac_ext <<_ACEOF
32473 /* end confdefs.h. */
32474 #include <math.h>
32475 #ifdef HAVE_IEEEFP_H
32476 #include <ieeefp.h>
32477 #endif
32480 main ()
32482 _finite(0);
32484 return 0;
32486 _ACEOF
32487 rm -f conftest.$ac_objext
32488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32489 (eval $ac_compile) 2>conftest.er1
32490 ac_status=$?
32491 grep -v '^ *+' conftest.er1 >conftest.err
32492 rm -f conftest.er1
32493 cat conftest.err >&5
32494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32495 (exit $ac_status); } &&
32496 { ac_try='test -z "$ac_cxx_werror_flag"
32497 || test ! -s conftest.err'
32498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32499 (eval $ac_try) 2>&5
32500 ac_status=$?
32501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32502 (exit $ac_status); }; } &&
32503 { ac_try='test -s conftest.$ac_objext'
32504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32505 (eval $ac_try) 2>&5
32506 ac_status=$?
32507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32508 (exit $ac_status); }; }; then
32509 glibcxx_cv_func__finite_use=yes
32510 else
32511 echo "$as_me: failed program was:" >&5
32512 sed 's/^/| /' conftest.$ac_ext >&5
32514 glibcxx_cv_func__finite_use=no
32516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32517 ac_ext=c
32518 ac_cpp='$CPP $CPPFLAGS'
32519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32527 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
32528 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
32530 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32532 for ac_func in _finite
32534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32535 echo "$as_me:$LINENO: checking for $ac_func" >&5
32536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32537 if eval "test \"\${$as_ac_var+set}\" = set"; then
32538 echo $ECHO_N "(cached) $ECHO_C" >&6
32539 else
32540 if test x$gcc_no_link = xyes; then
32541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32543 { (exit 1); exit 1; }; }
32545 cat >conftest.$ac_ext <<_ACEOF
32546 /* confdefs.h. */
32547 _ACEOF
32548 cat confdefs.h >>conftest.$ac_ext
32549 cat >>conftest.$ac_ext <<_ACEOF
32550 /* end confdefs.h. */
32551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32553 #define $ac_func innocuous_$ac_func
32555 /* System header to define __stub macros and hopefully few prototypes,
32556 which can conflict with char $ac_func (); below.
32557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32558 <limits.h> exists even on freestanding compilers. */
32560 #ifdef __STDC__
32561 # include <limits.h>
32562 #else
32563 # include <assert.h>
32564 #endif
32566 #undef $ac_func
32568 /* Override any gcc2 internal prototype to avoid an error. */
32569 #ifdef __cplusplus
32570 extern "C"
32572 #endif
32573 /* We use char because int might match the return type of a gcc2
32574 builtin and then its argument prototype would still apply. */
32575 char $ac_func ();
32576 /* The GNU C library defines this for functions which it implements
32577 to always fail with ENOSYS. Some functions are actually named
32578 something starting with __ and the normal name is an alias. */
32579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32580 choke me
32581 #else
32582 char (*f) () = $ac_func;
32583 #endif
32584 #ifdef __cplusplus
32586 #endif
32589 main ()
32591 return f != $ac_func;
32593 return 0;
32595 _ACEOF
32596 rm -f conftest.$ac_objext conftest$ac_exeext
32597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32598 (eval $ac_link) 2>conftest.er1
32599 ac_status=$?
32600 grep -v '^ *+' conftest.er1 >conftest.err
32601 rm -f conftest.er1
32602 cat conftest.err >&5
32603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32604 (exit $ac_status); } &&
32605 { ac_try='test -z "$ac_c_werror_flag"
32606 || test ! -s conftest.err'
32607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32608 (eval $ac_try) 2>&5
32609 ac_status=$?
32610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32611 (exit $ac_status); }; } &&
32612 { ac_try='test -s conftest$ac_exeext'
32613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32614 (eval $ac_try) 2>&5
32615 ac_status=$?
32616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32617 (exit $ac_status); }; }; then
32618 eval "$as_ac_var=yes"
32619 else
32620 echo "$as_me: failed program was:" >&5
32621 sed 's/^/| /' conftest.$ac_ext >&5
32623 eval "$as_ac_var=no"
32625 rm -f conftest.err conftest.$ac_objext \
32626 conftest$ac_exeext conftest.$ac_ext
32628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32630 if test `eval echo '${'$as_ac_var'}'` = yes; then
32631 cat >>confdefs.h <<_ACEOF
32632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32633 _ACEOF
32636 done
32643 echo "$as_me:$LINENO: checking for copysign declaration" >&5
32644 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32645 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32646 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32647 echo $ECHO_N "(cached) $ECHO_C" >&6
32648 else
32652 ac_ext=cc
32653 ac_cpp='$CXXCPP $CPPFLAGS'
32654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32658 cat >conftest.$ac_ext <<_ACEOF
32659 /* confdefs.h. */
32660 _ACEOF
32661 cat confdefs.h >>conftest.$ac_ext
32662 cat >>conftest.$ac_ext <<_ACEOF
32663 /* end confdefs.h. */
32664 #include <math.h>
32666 main ()
32668 copysign(0, 0);
32670 return 0;
32672 _ACEOF
32673 rm -f conftest.$ac_objext
32674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32675 (eval $ac_compile) 2>conftest.er1
32676 ac_status=$?
32677 grep -v '^ *+' conftest.er1 >conftest.err
32678 rm -f conftest.er1
32679 cat conftest.err >&5
32680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32681 (exit $ac_status); } &&
32682 { ac_try='test -z "$ac_cxx_werror_flag"
32683 || test ! -s conftest.err'
32684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32685 (eval $ac_try) 2>&5
32686 ac_status=$?
32687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32688 (exit $ac_status); }; } &&
32689 { ac_try='test -s conftest.$ac_objext'
32690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32691 (eval $ac_try) 2>&5
32692 ac_status=$?
32693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32694 (exit $ac_status); }; }; then
32695 glibcxx_cv_func_copysign_use=yes
32696 else
32697 echo "$as_me: failed program was:" >&5
32698 sed 's/^/| /' conftest.$ac_ext >&5
32700 glibcxx_cv_func_copysign_use=no
32702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32703 ac_ext=c
32704 ac_cpp='$CPP $CPPFLAGS'
32705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32713 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32714 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32716 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32718 for ac_func in copysign
32720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32721 echo "$as_me:$LINENO: checking for $ac_func" >&5
32722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32723 if eval "test \"\${$as_ac_var+set}\" = set"; then
32724 echo $ECHO_N "(cached) $ECHO_C" >&6
32725 else
32726 if test x$gcc_no_link = xyes; then
32727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32729 { (exit 1); exit 1; }; }
32731 cat >conftest.$ac_ext <<_ACEOF
32732 /* confdefs.h. */
32733 _ACEOF
32734 cat confdefs.h >>conftest.$ac_ext
32735 cat >>conftest.$ac_ext <<_ACEOF
32736 /* end confdefs.h. */
32737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32739 #define $ac_func innocuous_$ac_func
32741 /* System header to define __stub macros and hopefully few prototypes,
32742 which can conflict with char $ac_func (); below.
32743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32744 <limits.h> exists even on freestanding compilers. */
32746 #ifdef __STDC__
32747 # include <limits.h>
32748 #else
32749 # include <assert.h>
32750 #endif
32752 #undef $ac_func
32754 /* Override any gcc2 internal prototype to avoid an error. */
32755 #ifdef __cplusplus
32756 extern "C"
32758 #endif
32759 /* We use char because int might match the return type of a gcc2
32760 builtin and then its argument prototype would still apply. */
32761 char $ac_func ();
32762 /* The GNU C library defines this for functions which it implements
32763 to always fail with ENOSYS. Some functions are actually named
32764 something starting with __ and the normal name is an alias. */
32765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32766 choke me
32767 #else
32768 char (*f) () = $ac_func;
32769 #endif
32770 #ifdef __cplusplus
32772 #endif
32775 main ()
32777 return f != $ac_func;
32779 return 0;
32781 _ACEOF
32782 rm -f conftest.$ac_objext conftest$ac_exeext
32783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32784 (eval $ac_link) 2>conftest.er1
32785 ac_status=$?
32786 grep -v '^ *+' conftest.er1 >conftest.err
32787 rm -f conftest.er1
32788 cat conftest.err >&5
32789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32790 (exit $ac_status); } &&
32791 { ac_try='test -z "$ac_c_werror_flag"
32792 || test ! -s conftest.err'
32793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32794 (eval $ac_try) 2>&5
32795 ac_status=$?
32796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32797 (exit $ac_status); }; } &&
32798 { ac_try='test -s conftest$ac_exeext'
32799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32800 (eval $ac_try) 2>&5
32801 ac_status=$?
32802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32803 (exit $ac_status); }; }; then
32804 eval "$as_ac_var=yes"
32805 else
32806 echo "$as_me: failed program was:" >&5
32807 sed 's/^/| /' conftest.$ac_ext >&5
32809 eval "$as_ac_var=no"
32811 rm -f conftest.err conftest.$ac_objext \
32812 conftest$ac_exeext conftest.$ac_ext
32814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32816 if test `eval echo '${'$as_ac_var'}'` = yes; then
32817 cat >>confdefs.h <<_ACEOF
32818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32819 _ACEOF
32822 done
32824 else
32826 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
32827 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
32828 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
32829 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
32830 echo $ECHO_N "(cached) $ECHO_C" >&6
32831 else
32835 ac_ext=cc
32836 ac_cpp='$CXXCPP $CPPFLAGS'
32837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32841 cat >conftest.$ac_ext <<_ACEOF
32842 /* confdefs.h. */
32843 _ACEOF
32844 cat confdefs.h >>conftest.$ac_ext
32845 cat >>conftest.$ac_ext <<_ACEOF
32846 /* end confdefs.h. */
32847 #include <math.h>
32849 main ()
32851 _copysign(0, 0);
32853 return 0;
32855 _ACEOF
32856 rm -f conftest.$ac_objext
32857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32858 (eval $ac_compile) 2>conftest.er1
32859 ac_status=$?
32860 grep -v '^ *+' conftest.er1 >conftest.err
32861 rm -f conftest.er1
32862 cat conftest.err >&5
32863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32864 (exit $ac_status); } &&
32865 { ac_try='test -z "$ac_cxx_werror_flag"
32866 || test ! -s conftest.err'
32867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32868 (eval $ac_try) 2>&5
32869 ac_status=$?
32870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32871 (exit $ac_status); }; } &&
32872 { ac_try='test -s conftest.$ac_objext'
32873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32874 (eval $ac_try) 2>&5
32875 ac_status=$?
32876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32877 (exit $ac_status); }; }; then
32878 glibcxx_cv_func__copysign_use=yes
32879 else
32880 echo "$as_me: failed program was:" >&5
32881 sed 's/^/| /' conftest.$ac_ext >&5
32883 glibcxx_cv_func__copysign_use=no
32885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32886 ac_ext=c
32887 ac_cpp='$CPP $CPPFLAGS'
32888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32896 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
32897 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
32899 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
32901 for ac_func in _copysign
32903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32904 echo "$as_me:$LINENO: checking for $ac_func" >&5
32905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32906 if eval "test \"\${$as_ac_var+set}\" = set"; then
32907 echo $ECHO_N "(cached) $ECHO_C" >&6
32908 else
32909 if test x$gcc_no_link = xyes; then
32910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32912 { (exit 1); exit 1; }; }
32914 cat >conftest.$ac_ext <<_ACEOF
32915 /* confdefs.h. */
32916 _ACEOF
32917 cat confdefs.h >>conftest.$ac_ext
32918 cat >>conftest.$ac_ext <<_ACEOF
32919 /* end confdefs.h. */
32920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32922 #define $ac_func innocuous_$ac_func
32924 /* System header to define __stub macros and hopefully few prototypes,
32925 which can conflict with char $ac_func (); below.
32926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32927 <limits.h> exists even on freestanding compilers. */
32929 #ifdef __STDC__
32930 # include <limits.h>
32931 #else
32932 # include <assert.h>
32933 #endif
32935 #undef $ac_func
32937 /* Override any gcc2 internal prototype to avoid an error. */
32938 #ifdef __cplusplus
32939 extern "C"
32941 #endif
32942 /* We use char because int might match the return type of a gcc2
32943 builtin and then its argument prototype would still apply. */
32944 char $ac_func ();
32945 /* The GNU C library defines this for functions which it implements
32946 to always fail with ENOSYS. Some functions are actually named
32947 something starting with __ and the normal name is an alias. */
32948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32949 choke me
32950 #else
32951 char (*f) () = $ac_func;
32952 #endif
32953 #ifdef __cplusplus
32955 #endif
32958 main ()
32960 return f != $ac_func;
32962 return 0;
32964 _ACEOF
32965 rm -f conftest.$ac_objext conftest$ac_exeext
32966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32967 (eval $ac_link) 2>conftest.er1
32968 ac_status=$?
32969 grep -v '^ *+' conftest.er1 >conftest.err
32970 rm -f conftest.er1
32971 cat conftest.err >&5
32972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32973 (exit $ac_status); } &&
32974 { ac_try='test -z "$ac_c_werror_flag"
32975 || test ! -s conftest.err'
32976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32977 (eval $ac_try) 2>&5
32978 ac_status=$?
32979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32980 (exit $ac_status); }; } &&
32981 { ac_try='test -s conftest$ac_exeext'
32982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32983 (eval $ac_try) 2>&5
32984 ac_status=$?
32985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32986 (exit $ac_status); }; }; then
32987 eval "$as_ac_var=yes"
32988 else
32989 echo "$as_me: failed program was:" >&5
32990 sed 's/^/| /' conftest.$ac_ext >&5
32992 eval "$as_ac_var=no"
32994 rm -f conftest.err conftest.$ac_objext \
32995 conftest$ac_exeext conftest.$ac_ext
32997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32999 if test `eval echo '${'$as_ac_var'}'` = yes; then
33000 cat >>confdefs.h <<_ACEOF
33001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33002 _ACEOF
33005 done
33012 echo "$as_me:$LINENO: checking for sincos declaration" >&5
33013 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
33014 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33015 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
33016 echo $ECHO_N "(cached) $ECHO_C" >&6
33017 else
33021 ac_ext=cc
33022 ac_cpp='$CXXCPP $CPPFLAGS'
33023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33027 cat >conftest.$ac_ext <<_ACEOF
33028 /* confdefs.h. */
33029 _ACEOF
33030 cat confdefs.h >>conftest.$ac_ext
33031 cat >>conftest.$ac_ext <<_ACEOF
33032 /* end confdefs.h. */
33033 #include <math.h>
33035 main ()
33037 sincos(0, 0, 0);
33039 return 0;
33041 _ACEOF
33042 rm -f conftest.$ac_objext
33043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33044 (eval $ac_compile) 2>conftest.er1
33045 ac_status=$?
33046 grep -v '^ *+' conftest.er1 >conftest.err
33047 rm -f conftest.er1
33048 cat conftest.err >&5
33049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33050 (exit $ac_status); } &&
33051 { ac_try='test -z "$ac_cxx_werror_flag"
33052 || test ! -s conftest.err'
33053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33054 (eval $ac_try) 2>&5
33055 ac_status=$?
33056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33057 (exit $ac_status); }; } &&
33058 { ac_try='test -s conftest.$ac_objext'
33059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33060 (eval $ac_try) 2>&5
33061 ac_status=$?
33062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33063 (exit $ac_status); }; }; then
33064 glibcxx_cv_func_sincos_use=yes
33065 else
33066 echo "$as_me: failed program was:" >&5
33067 sed 's/^/| /' conftest.$ac_ext >&5
33069 glibcxx_cv_func_sincos_use=no
33071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33072 ac_ext=c
33073 ac_cpp='$CPP $CPPFLAGS'
33074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33082 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
33083 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
33085 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33087 for ac_func in sincos
33089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33090 echo "$as_me:$LINENO: checking for $ac_func" >&5
33091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33092 if eval "test \"\${$as_ac_var+set}\" = set"; then
33093 echo $ECHO_N "(cached) $ECHO_C" >&6
33094 else
33095 if test x$gcc_no_link = xyes; then
33096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33098 { (exit 1); exit 1; }; }
33100 cat >conftest.$ac_ext <<_ACEOF
33101 /* confdefs.h. */
33102 _ACEOF
33103 cat confdefs.h >>conftest.$ac_ext
33104 cat >>conftest.$ac_ext <<_ACEOF
33105 /* end confdefs.h. */
33106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33108 #define $ac_func innocuous_$ac_func
33110 /* System header to define __stub macros and hopefully few prototypes,
33111 which can conflict with char $ac_func (); below.
33112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33113 <limits.h> exists even on freestanding compilers. */
33115 #ifdef __STDC__
33116 # include <limits.h>
33117 #else
33118 # include <assert.h>
33119 #endif
33121 #undef $ac_func
33123 /* Override any gcc2 internal prototype to avoid an error. */
33124 #ifdef __cplusplus
33125 extern "C"
33127 #endif
33128 /* We use char because int might match the return type of a gcc2
33129 builtin and then its argument prototype would still apply. */
33130 char $ac_func ();
33131 /* The GNU C library defines this for functions which it implements
33132 to always fail with ENOSYS. Some functions are actually named
33133 something starting with __ and the normal name is an alias. */
33134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33135 choke me
33136 #else
33137 char (*f) () = $ac_func;
33138 #endif
33139 #ifdef __cplusplus
33141 #endif
33144 main ()
33146 return f != $ac_func;
33148 return 0;
33150 _ACEOF
33151 rm -f conftest.$ac_objext conftest$ac_exeext
33152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33153 (eval $ac_link) 2>conftest.er1
33154 ac_status=$?
33155 grep -v '^ *+' conftest.er1 >conftest.err
33156 rm -f conftest.er1
33157 cat conftest.err >&5
33158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33159 (exit $ac_status); } &&
33160 { ac_try='test -z "$ac_c_werror_flag"
33161 || test ! -s conftest.err'
33162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33163 (eval $ac_try) 2>&5
33164 ac_status=$?
33165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33166 (exit $ac_status); }; } &&
33167 { ac_try='test -s conftest$ac_exeext'
33168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33169 (eval $ac_try) 2>&5
33170 ac_status=$?
33171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33172 (exit $ac_status); }; }; then
33173 eval "$as_ac_var=yes"
33174 else
33175 echo "$as_me: failed program was:" >&5
33176 sed 's/^/| /' conftest.$ac_ext >&5
33178 eval "$as_ac_var=no"
33180 rm -f conftest.err conftest.$ac_objext \
33181 conftest$ac_exeext conftest.$ac_ext
33183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33185 if test `eval echo '${'$as_ac_var'}'` = yes; then
33186 cat >>confdefs.h <<_ACEOF
33187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33188 _ACEOF
33191 done
33193 else
33195 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
33196 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
33197 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33198 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
33199 echo $ECHO_N "(cached) $ECHO_C" >&6
33200 else
33204 ac_ext=cc
33205 ac_cpp='$CXXCPP $CPPFLAGS'
33206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33210 cat >conftest.$ac_ext <<_ACEOF
33211 /* confdefs.h. */
33212 _ACEOF
33213 cat confdefs.h >>conftest.$ac_ext
33214 cat >>conftest.$ac_ext <<_ACEOF
33215 /* end confdefs.h. */
33216 #include <math.h>
33218 main ()
33220 _sincos(0, 0, 0);
33222 return 0;
33224 _ACEOF
33225 rm -f conftest.$ac_objext
33226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33227 (eval $ac_compile) 2>conftest.er1
33228 ac_status=$?
33229 grep -v '^ *+' conftest.er1 >conftest.err
33230 rm -f conftest.er1
33231 cat conftest.err >&5
33232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33233 (exit $ac_status); } &&
33234 { ac_try='test -z "$ac_cxx_werror_flag"
33235 || test ! -s conftest.err'
33236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33237 (eval $ac_try) 2>&5
33238 ac_status=$?
33239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33240 (exit $ac_status); }; } &&
33241 { ac_try='test -s conftest.$ac_objext'
33242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33243 (eval $ac_try) 2>&5
33244 ac_status=$?
33245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33246 (exit $ac_status); }; }; then
33247 glibcxx_cv_func__sincos_use=yes
33248 else
33249 echo "$as_me: failed program was:" >&5
33250 sed 's/^/| /' conftest.$ac_ext >&5
33252 glibcxx_cv_func__sincos_use=no
33254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33255 ac_ext=c
33256 ac_cpp='$CPP $CPPFLAGS'
33257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33265 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
33266 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
33268 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33270 for ac_func in _sincos
33272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33273 echo "$as_me:$LINENO: checking for $ac_func" >&5
33274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33275 if eval "test \"\${$as_ac_var+set}\" = set"; then
33276 echo $ECHO_N "(cached) $ECHO_C" >&6
33277 else
33278 if test x$gcc_no_link = xyes; then
33279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33281 { (exit 1); exit 1; }; }
33283 cat >conftest.$ac_ext <<_ACEOF
33284 /* confdefs.h. */
33285 _ACEOF
33286 cat confdefs.h >>conftest.$ac_ext
33287 cat >>conftest.$ac_ext <<_ACEOF
33288 /* end confdefs.h. */
33289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33291 #define $ac_func innocuous_$ac_func
33293 /* System header to define __stub macros and hopefully few prototypes,
33294 which can conflict with char $ac_func (); below.
33295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33296 <limits.h> exists even on freestanding compilers. */
33298 #ifdef __STDC__
33299 # include <limits.h>
33300 #else
33301 # include <assert.h>
33302 #endif
33304 #undef $ac_func
33306 /* Override any gcc2 internal prototype to avoid an error. */
33307 #ifdef __cplusplus
33308 extern "C"
33310 #endif
33311 /* We use char because int might match the return type of a gcc2
33312 builtin and then its argument prototype would still apply. */
33313 char $ac_func ();
33314 /* The GNU C library defines this for functions which it implements
33315 to always fail with ENOSYS. Some functions are actually named
33316 something starting with __ and the normal name is an alias. */
33317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33318 choke me
33319 #else
33320 char (*f) () = $ac_func;
33321 #endif
33322 #ifdef __cplusplus
33324 #endif
33327 main ()
33329 return f != $ac_func;
33331 return 0;
33333 _ACEOF
33334 rm -f conftest.$ac_objext conftest$ac_exeext
33335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33336 (eval $ac_link) 2>conftest.er1
33337 ac_status=$?
33338 grep -v '^ *+' conftest.er1 >conftest.err
33339 rm -f conftest.er1
33340 cat conftest.err >&5
33341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33342 (exit $ac_status); } &&
33343 { ac_try='test -z "$ac_c_werror_flag"
33344 || test ! -s conftest.err'
33345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33346 (eval $ac_try) 2>&5
33347 ac_status=$?
33348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33349 (exit $ac_status); }; } &&
33350 { ac_try='test -s conftest$ac_exeext'
33351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33352 (eval $ac_try) 2>&5
33353 ac_status=$?
33354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33355 (exit $ac_status); }; }; then
33356 eval "$as_ac_var=yes"
33357 else
33358 echo "$as_me: failed program was:" >&5
33359 sed 's/^/| /' conftest.$ac_ext >&5
33361 eval "$as_ac_var=no"
33363 rm -f conftest.err conftest.$ac_objext \
33364 conftest$ac_exeext conftest.$ac_ext
33366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33368 if test `eval echo '${'$as_ac_var'}'` = yes; then
33369 cat >>confdefs.h <<_ACEOF
33370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33371 _ACEOF
33374 done
33381 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
33382 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
33383 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33384 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
33385 echo $ECHO_N "(cached) $ECHO_C" >&6
33386 else
33390 ac_ext=cc
33391 ac_cpp='$CXXCPP $CPPFLAGS'
33392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33396 cat >conftest.$ac_ext <<_ACEOF
33397 /* confdefs.h. */
33398 _ACEOF
33399 cat confdefs.h >>conftest.$ac_ext
33400 cat >>conftest.$ac_ext <<_ACEOF
33401 /* end confdefs.h. */
33402 #include <math.h>
33403 #ifdef HAVE_IEEEFP_H
33404 #include <ieeefp.h>
33405 #endif
33408 main ()
33410 fpclass(0);
33412 return 0;
33414 _ACEOF
33415 rm -f conftest.$ac_objext
33416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33417 (eval $ac_compile) 2>conftest.er1
33418 ac_status=$?
33419 grep -v '^ *+' conftest.er1 >conftest.err
33420 rm -f conftest.er1
33421 cat conftest.err >&5
33422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33423 (exit $ac_status); } &&
33424 { ac_try='test -z "$ac_cxx_werror_flag"
33425 || test ! -s conftest.err'
33426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33427 (eval $ac_try) 2>&5
33428 ac_status=$?
33429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33430 (exit $ac_status); }; } &&
33431 { ac_try='test -s conftest.$ac_objext'
33432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33433 (eval $ac_try) 2>&5
33434 ac_status=$?
33435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33436 (exit $ac_status); }; }; then
33437 glibcxx_cv_func_fpclass_use=yes
33438 else
33439 echo "$as_me: failed program was:" >&5
33440 sed 's/^/| /' conftest.$ac_ext >&5
33442 glibcxx_cv_func_fpclass_use=no
33444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33445 ac_ext=c
33446 ac_cpp='$CPP $CPPFLAGS'
33447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33455 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
33456 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33458 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33460 for ac_func in fpclass
33462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33463 echo "$as_me:$LINENO: checking for $ac_func" >&5
33464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33465 if eval "test \"\${$as_ac_var+set}\" = set"; then
33466 echo $ECHO_N "(cached) $ECHO_C" >&6
33467 else
33468 if test x$gcc_no_link = xyes; then
33469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33471 { (exit 1); exit 1; }; }
33473 cat >conftest.$ac_ext <<_ACEOF
33474 /* confdefs.h. */
33475 _ACEOF
33476 cat confdefs.h >>conftest.$ac_ext
33477 cat >>conftest.$ac_ext <<_ACEOF
33478 /* end confdefs.h. */
33479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33481 #define $ac_func innocuous_$ac_func
33483 /* System header to define __stub macros and hopefully few prototypes,
33484 which can conflict with char $ac_func (); below.
33485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33486 <limits.h> exists even on freestanding compilers. */
33488 #ifdef __STDC__
33489 # include <limits.h>
33490 #else
33491 # include <assert.h>
33492 #endif
33494 #undef $ac_func
33496 /* Override any gcc2 internal prototype to avoid an error. */
33497 #ifdef __cplusplus
33498 extern "C"
33500 #endif
33501 /* We use char because int might match the return type of a gcc2
33502 builtin and then its argument prototype would still apply. */
33503 char $ac_func ();
33504 /* The GNU C library defines this for functions which it implements
33505 to always fail with ENOSYS. Some functions are actually named
33506 something starting with __ and the normal name is an alias. */
33507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33508 choke me
33509 #else
33510 char (*f) () = $ac_func;
33511 #endif
33512 #ifdef __cplusplus
33514 #endif
33517 main ()
33519 return f != $ac_func;
33521 return 0;
33523 _ACEOF
33524 rm -f conftest.$ac_objext conftest$ac_exeext
33525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33526 (eval $ac_link) 2>conftest.er1
33527 ac_status=$?
33528 grep -v '^ *+' conftest.er1 >conftest.err
33529 rm -f conftest.er1
33530 cat conftest.err >&5
33531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33532 (exit $ac_status); } &&
33533 { ac_try='test -z "$ac_c_werror_flag"
33534 || test ! -s conftest.err'
33535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33536 (eval $ac_try) 2>&5
33537 ac_status=$?
33538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33539 (exit $ac_status); }; } &&
33540 { ac_try='test -s conftest$ac_exeext'
33541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33542 (eval $ac_try) 2>&5
33543 ac_status=$?
33544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33545 (exit $ac_status); }; }; then
33546 eval "$as_ac_var=yes"
33547 else
33548 echo "$as_me: failed program was:" >&5
33549 sed 's/^/| /' conftest.$ac_ext >&5
33551 eval "$as_ac_var=no"
33553 rm -f conftest.err conftest.$ac_objext \
33554 conftest$ac_exeext conftest.$ac_ext
33556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33558 if test `eval echo '${'$as_ac_var'}'` = yes; then
33559 cat >>confdefs.h <<_ACEOF
33560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33561 _ACEOF
33564 done
33566 else
33568 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
33569 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
33570 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33571 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
33572 echo $ECHO_N "(cached) $ECHO_C" >&6
33573 else
33577 ac_ext=cc
33578 ac_cpp='$CXXCPP $CPPFLAGS'
33579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33583 cat >conftest.$ac_ext <<_ACEOF
33584 /* confdefs.h. */
33585 _ACEOF
33586 cat confdefs.h >>conftest.$ac_ext
33587 cat >>conftest.$ac_ext <<_ACEOF
33588 /* end confdefs.h. */
33589 #include <math.h>
33590 #ifdef HAVE_IEEEFP_H
33591 #include <ieeefp.h>
33592 #endif
33595 main ()
33597 _fpclass(0);
33599 return 0;
33601 _ACEOF
33602 rm -f conftest.$ac_objext
33603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33604 (eval $ac_compile) 2>conftest.er1
33605 ac_status=$?
33606 grep -v '^ *+' conftest.er1 >conftest.err
33607 rm -f conftest.er1
33608 cat conftest.err >&5
33609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33610 (exit $ac_status); } &&
33611 { ac_try='test -z "$ac_cxx_werror_flag"
33612 || test ! -s conftest.err'
33613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33614 (eval $ac_try) 2>&5
33615 ac_status=$?
33616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33617 (exit $ac_status); }; } &&
33618 { ac_try='test -s conftest.$ac_objext'
33619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33620 (eval $ac_try) 2>&5
33621 ac_status=$?
33622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33623 (exit $ac_status); }; }; then
33624 glibcxx_cv_func__fpclass_use=yes
33625 else
33626 echo "$as_me: failed program was:" >&5
33627 sed 's/^/| /' conftest.$ac_ext >&5
33629 glibcxx_cv_func__fpclass_use=no
33631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33632 ac_ext=c
33633 ac_cpp='$CPP $CPPFLAGS'
33634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33642 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33643 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33645 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33647 for ac_func in _fpclass
33649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33650 echo "$as_me:$LINENO: checking for $ac_func" >&5
33651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33652 if eval "test \"\${$as_ac_var+set}\" = set"; then
33653 echo $ECHO_N "(cached) $ECHO_C" >&6
33654 else
33655 if test x$gcc_no_link = xyes; then
33656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33658 { (exit 1); exit 1; }; }
33660 cat >conftest.$ac_ext <<_ACEOF
33661 /* confdefs.h. */
33662 _ACEOF
33663 cat confdefs.h >>conftest.$ac_ext
33664 cat >>conftest.$ac_ext <<_ACEOF
33665 /* end confdefs.h. */
33666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33668 #define $ac_func innocuous_$ac_func
33670 /* System header to define __stub macros and hopefully few prototypes,
33671 which can conflict with char $ac_func (); below.
33672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33673 <limits.h> exists even on freestanding compilers. */
33675 #ifdef __STDC__
33676 # include <limits.h>
33677 #else
33678 # include <assert.h>
33679 #endif
33681 #undef $ac_func
33683 /* Override any gcc2 internal prototype to avoid an error. */
33684 #ifdef __cplusplus
33685 extern "C"
33687 #endif
33688 /* We use char because int might match the return type of a gcc2
33689 builtin and then its argument prototype would still apply. */
33690 char $ac_func ();
33691 /* The GNU C library defines this for functions which it implements
33692 to always fail with ENOSYS. Some functions are actually named
33693 something starting with __ and the normal name is an alias. */
33694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33695 choke me
33696 #else
33697 char (*f) () = $ac_func;
33698 #endif
33699 #ifdef __cplusplus
33701 #endif
33704 main ()
33706 return f != $ac_func;
33708 return 0;
33710 _ACEOF
33711 rm -f conftest.$ac_objext conftest$ac_exeext
33712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33713 (eval $ac_link) 2>conftest.er1
33714 ac_status=$?
33715 grep -v '^ *+' conftest.er1 >conftest.err
33716 rm -f conftest.er1
33717 cat conftest.err >&5
33718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33719 (exit $ac_status); } &&
33720 { ac_try='test -z "$ac_c_werror_flag"
33721 || test ! -s conftest.err'
33722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33723 (eval $ac_try) 2>&5
33724 ac_status=$?
33725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33726 (exit $ac_status); }; } &&
33727 { ac_try='test -s conftest$ac_exeext'
33728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33729 (eval $ac_try) 2>&5
33730 ac_status=$?
33731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33732 (exit $ac_status); }; }; then
33733 eval "$as_ac_var=yes"
33734 else
33735 echo "$as_me: failed program was:" >&5
33736 sed 's/^/| /' conftest.$ac_ext >&5
33738 eval "$as_ac_var=no"
33740 rm -f conftest.err conftest.$ac_objext \
33741 conftest$ac_exeext conftest.$ac_ext
33743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33745 if test `eval echo '${'$as_ac_var'}'` = yes; then
33746 cat >>confdefs.h <<_ACEOF
33747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33748 _ACEOF
33751 done
33758 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
33759 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
33760 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33761 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
33762 echo $ECHO_N "(cached) $ECHO_C" >&6
33763 else
33767 ac_ext=cc
33768 ac_cpp='$CXXCPP $CPPFLAGS'
33769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33773 cat >conftest.$ac_ext <<_ACEOF
33774 /* confdefs.h. */
33775 _ACEOF
33776 cat confdefs.h >>conftest.$ac_ext
33777 cat >>conftest.$ac_ext <<_ACEOF
33778 /* end confdefs.h. */
33779 #include <math.h>
33780 #ifdef HAVE_IEEEFP_H
33781 #include <ieeefp.h>
33782 #endif
33785 main ()
33787 qfpclass(0);
33789 return 0;
33791 _ACEOF
33792 rm -f conftest.$ac_objext
33793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33794 (eval $ac_compile) 2>conftest.er1
33795 ac_status=$?
33796 grep -v '^ *+' conftest.er1 >conftest.err
33797 rm -f conftest.er1
33798 cat conftest.err >&5
33799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33800 (exit $ac_status); } &&
33801 { ac_try='test -z "$ac_cxx_werror_flag"
33802 || test ! -s conftest.err'
33803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33804 (eval $ac_try) 2>&5
33805 ac_status=$?
33806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33807 (exit $ac_status); }; } &&
33808 { ac_try='test -s conftest.$ac_objext'
33809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33810 (eval $ac_try) 2>&5
33811 ac_status=$?
33812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33813 (exit $ac_status); }; }; then
33814 glibcxx_cv_func_qfpclass_use=yes
33815 else
33816 echo "$as_me: failed program was:" >&5
33817 sed 's/^/| /' conftest.$ac_ext >&5
33819 glibcxx_cv_func_qfpclass_use=no
33821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33822 ac_ext=c
33823 ac_cpp='$CPP $CPPFLAGS'
33824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33832 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
33833 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
33835 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33837 for ac_func in qfpclass
33839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33840 echo "$as_me:$LINENO: checking for $ac_func" >&5
33841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33842 if eval "test \"\${$as_ac_var+set}\" = set"; then
33843 echo $ECHO_N "(cached) $ECHO_C" >&6
33844 else
33845 if test x$gcc_no_link = xyes; then
33846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33848 { (exit 1); exit 1; }; }
33850 cat >conftest.$ac_ext <<_ACEOF
33851 /* confdefs.h. */
33852 _ACEOF
33853 cat confdefs.h >>conftest.$ac_ext
33854 cat >>conftest.$ac_ext <<_ACEOF
33855 /* end confdefs.h. */
33856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33858 #define $ac_func innocuous_$ac_func
33860 /* System header to define __stub macros and hopefully few prototypes,
33861 which can conflict with char $ac_func (); below.
33862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33863 <limits.h> exists even on freestanding compilers. */
33865 #ifdef __STDC__
33866 # include <limits.h>
33867 #else
33868 # include <assert.h>
33869 #endif
33871 #undef $ac_func
33873 /* Override any gcc2 internal prototype to avoid an error. */
33874 #ifdef __cplusplus
33875 extern "C"
33877 #endif
33878 /* We use char because int might match the return type of a gcc2
33879 builtin and then its argument prototype would still apply. */
33880 char $ac_func ();
33881 /* The GNU C library defines this for functions which it implements
33882 to always fail with ENOSYS. Some functions are actually named
33883 something starting with __ and the normal name is an alias. */
33884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33885 choke me
33886 #else
33887 char (*f) () = $ac_func;
33888 #endif
33889 #ifdef __cplusplus
33891 #endif
33894 main ()
33896 return f != $ac_func;
33898 return 0;
33900 _ACEOF
33901 rm -f conftest.$ac_objext conftest$ac_exeext
33902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33903 (eval $ac_link) 2>conftest.er1
33904 ac_status=$?
33905 grep -v '^ *+' conftest.er1 >conftest.err
33906 rm -f conftest.er1
33907 cat conftest.err >&5
33908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33909 (exit $ac_status); } &&
33910 { ac_try='test -z "$ac_c_werror_flag"
33911 || test ! -s conftest.err'
33912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33913 (eval $ac_try) 2>&5
33914 ac_status=$?
33915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33916 (exit $ac_status); }; } &&
33917 { ac_try='test -s conftest$ac_exeext'
33918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33919 (eval $ac_try) 2>&5
33920 ac_status=$?
33921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33922 (exit $ac_status); }; }; then
33923 eval "$as_ac_var=yes"
33924 else
33925 echo "$as_me: failed program was:" >&5
33926 sed 's/^/| /' conftest.$ac_ext >&5
33928 eval "$as_ac_var=no"
33930 rm -f conftest.err conftest.$ac_objext \
33931 conftest$ac_exeext conftest.$ac_ext
33933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33935 if test `eval echo '${'$as_ac_var'}'` = yes; then
33936 cat >>confdefs.h <<_ACEOF
33937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33938 _ACEOF
33941 done
33943 else
33945 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
33946 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
33947 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33948 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
33949 echo $ECHO_N "(cached) $ECHO_C" >&6
33950 else
33954 ac_ext=cc
33955 ac_cpp='$CXXCPP $CPPFLAGS'
33956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33960 cat >conftest.$ac_ext <<_ACEOF
33961 /* confdefs.h. */
33962 _ACEOF
33963 cat confdefs.h >>conftest.$ac_ext
33964 cat >>conftest.$ac_ext <<_ACEOF
33965 /* end confdefs.h. */
33966 #include <math.h>
33967 #ifdef HAVE_IEEEFP_H
33968 #include <ieeefp.h>
33969 #endif
33972 main ()
33974 _qfpclass(0);
33976 return 0;
33978 _ACEOF
33979 rm -f conftest.$ac_objext
33980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33981 (eval $ac_compile) 2>conftest.er1
33982 ac_status=$?
33983 grep -v '^ *+' conftest.er1 >conftest.err
33984 rm -f conftest.er1
33985 cat conftest.err >&5
33986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33987 (exit $ac_status); } &&
33988 { ac_try='test -z "$ac_cxx_werror_flag"
33989 || test ! -s conftest.err'
33990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33991 (eval $ac_try) 2>&5
33992 ac_status=$?
33993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33994 (exit $ac_status); }; } &&
33995 { ac_try='test -s conftest.$ac_objext'
33996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33997 (eval $ac_try) 2>&5
33998 ac_status=$?
33999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34000 (exit $ac_status); }; }; then
34001 glibcxx_cv_func__qfpclass_use=yes
34002 else
34003 echo "$as_me: failed program was:" >&5
34004 sed 's/^/| /' conftest.$ac_ext >&5
34006 glibcxx_cv_func__qfpclass_use=no
34008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34009 ac_ext=c
34010 ac_cpp='$CPP $CPPFLAGS'
34011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34019 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
34020 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
34022 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34024 for ac_func in _qfpclass
34026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34027 echo "$as_me:$LINENO: checking for $ac_func" >&5
34028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34029 if eval "test \"\${$as_ac_var+set}\" = set"; then
34030 echo $ECHO_N "(cached) $ECHO_C" >&6
34031 else
34032 if test x$gcc_no_link = xyes; then
34033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34035 { (exit 1); exit 1; }; }
34037 cat >conftest.$ac_ext <<_ACEOF
34038 /* confdefs.h. */
34039 _ACEOF
34040 cat confdefs.h >>conftest.$ac_ext
34041 cat >>conftest.$ac_ext <<_ACEOF
34042 /* end confdefs.h. */
34043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34045 #define $ac_func innocuous_$ac_func
34047 /* System header to define __stub macros and hopefully few prototypes,
34048 which can conflict with char $ac_func (); below.
34049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34050 <limits.h> exists even on freestanding compilers. */
34052 #ifdef __STDC__
34053 # include <limits.h>
34054 #else
34055 # include <assert.h>
34056 #endif
34058 #undef $ac_func
34060 /* Override any gcc2 internal prototype to avoid an error. */
34061 #ifdef __cplusplus
34062 extern "C"
34064 #endif
34065 /* We use char because int might match the return type of a gcc2
34066 builtin and then its argument prototype would still apply. */
34067 char $ac_func ();
34068 /* The GNU C library defines this for functions which it implements
34069 to always fail with ENOSYS. Some functions are actually named
34070 something starting with __ and the normal name is an alias. */
34071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34072 choke me
34073 #else
34074 char (*f) () = $ac_func;
34075 #endif
34076 #ifdef __cplusplus
34078 #endif
34081 main ()
34083 return f != $ac_func;
34085 return 0;
34087 _ACEOF
34088 rm -f conftest.$ac_objext conftest$ac_exeext
34089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34090 (eval $ac_link) 2>conftest.er1
34091 ac_status=$?
34092 grep -v '^ *+' conftest.er1 >conftest.err
34093 rm -f conftest.er1
34094 cat conftest.err >&5
34095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34096 (exit $ac_status); } &&
34097 { ac_try='test -z "$ac_c_werror_flag"
34098 || test ! -s conftest.err'
34099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34100 (eval $ac_try) 2>&5
34101 ac_status=$?
34102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34103 (exit $ac_status); }; } &&
34104 { ac_try='test -s conftest$ac_exeext'
34105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34106 (eval $ac_try) 2>&5
34107 ac_status=$?
34108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34109 (exit $ac_status); }; }; then
34110 eval "$as_ac_var=yes"
34111 else
34112 echo "$as_me: failed program was:" >&5
34113 sed 's/^/| /' conftest.$ac_ext >&5
34115 eval "$as_ac_var=no"
34117 rm -f conftest.err conftest.$ac_objext \
34118 conftest$ac_exeext conftest.$ac_ext
34120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34122 if test `eval echo '${'$as_ac_var'}'` = yes; then
34123 cat >>confdefs.h <<_ACEOF
34124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34125 _ACEOF
34128 done
34135 echo "$as_me:$LINENO: checking for hypot declaration" >&5
34136 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
34137 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34138 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
34139 echo $ECHO_N "(cached) $ECHO_C" >&6
34140 else
34144 ac_ext=cc
34145 ac_cpp='$CXXCPP $CPPFLAGS'
34146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34150 cat >conftest.$ac_ext <<_ACEOF
34151 /* confdefs.h. */
34152 _ACEOF
34153 cat confdefs.h >>conftest.$ac_ext
34154 cat >>conftest.$ac_ext <<_ACEOF
34155 /* end confdefs.h. */
34156 #include <math.h>
34158 main ()
34160 hypot(0, 0);
34162 return 0;
34164 _ACEOF
34165 rm -f conftest.$ac_objext
34166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34167 (eval $ac_compile) 2>conftest.er1
34168 ac_status=$?
34169 grep -v '^ *+' conftest.er1 >conftest.err
34170 rm -f conftest.er1
34171 cat conftest.err >&5
34172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34173 (exit $ac_status); } &&
34174 { ac_try='test -z "$ac_cxx_werror_flag"
34175 || test ! -s conftest.err'
34176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34177 (eval $ac_try) 2>&5
34178 ac_status=$?
34179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34180 (exit $ac_status); }; } &&
34181 { ac_try='test -s conftest.$ac_objext'
34182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34183 (eval $ac_try) 2>&5
34184 ac_status=$?
34185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34186 (exit $ac_status); }; }; then
34187 glibcxx_cv_func_hypot_use=yes
34188 else
34189 echo "$as_me: failed program was:" >&5
34190 sed 's/^/| /' conftest.$ac_ext >&5
34192 glibcxx_cv_func_hypot_use=no
34194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34195 ac_ext=c
34196 ac_cpp='$CPP $CPPFLAGS'
34197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34205 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
34206 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
34208 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34210 for ac_func in hypot
34212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34213 echo "$as_me:$LINENO: checking for $ac_func" >&5
34214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34215 if eval "test \"\${$as_ac_var+set}\" = set"; then
34216 echo $ECHO_N "(cached) $ECHO_C" >&6
34217 else
34218 if test x$gcc_no_link = xyes; then
34219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34221 { (exit 1); exit 1; }; }
34223 cat >conftest.$ac_ext <<_ACEOF
34224 /* confdefs.h. */
34225 _ACEOF
34226 cat confdefs.h >>conftest.$ac_ext
34227 cat >>conftest.$ac_ext <<_ACEOF
34228 /* end confdefs.h. */
34229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34231 #define $ac_func innocuous_$ac_func
34233 /* System header to define __stub macros and hopefully few prototypes,
34234 which can conflict with char $ac_func (); below.
34235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34236 <limits.h> exists even on freestanding compilers. */
34238 #ifdef __STDC__
34239 # include <limits.h>
34240 #else
34241 # include <assert.h>
34242 #endif
34244 #undef $ac_func
34246 /* Override any gcc2 internal prototype to avoid an error. */
34247 #ifdef __cplusplus
34248 extern "C"
34250 #endif
34251 /* We use char because int might match the return type of a gcc2
34252 builtin and then its argument prototype would still apply. */
34253 char $ac_func ();
34254 /* The GNU C library defines this for functions which it implements
34255 to always fail with ENOSYS. Some functions are actually named
34256 something starting with __ and the normal name is an alias. */
34257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34258 choke me
34259 #else
34260 char (*f) () = $ac_func;
34261 #endif
34262 #ifdef __cplusplus
34264 #endif
34267 main ()
34269 return f != $ac_func;
34271 return 0;
34273 _ACEOF
34274 rm -f conftest.$ac_objext conftest$ac_exeext
34275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34276 (eval $ac_link) 2>conftest.er1
34277 ac_status=$?
34278 grep -v '^ *+' conftest.er1 >conftest.err
34279 rm -f conftest.er1
34280 cat conftest.err >&5
34281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34282 (exit $ac_status); } &&
34283 { ac_try='test -z "$ac_c_werror_flag"
34284 || test ! -s conftest.err'
34285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34286 (eval $ac_try) 2>&5
34287 ac_status=$?
34288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34289 (exit $ac_status); }; } &&
34290 { ac_try='test -s conftest$ac_exeext'
34291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34292 (eval $ac_try) 2>&5
34293 ac_status=$?
34294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34295 (exit $ac_status); }; }; then
34296 eval "$as_ac_var=yes"
34297 else
34298 echo "$as_me: failed program was:" >&5
34299 sed 's/^/| /' conftest.$ac_ext >&5
34301 eval "$as_ac_var=no"
34303 rm -f conftest.err conftest.$ac_objext \
34304 conftest$ac_exeext conftest.$ac_ext
34306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34308 if test `eval echo '${'$as_ac_var'}'` = yes; then
34309 cat >>confdefs.h <<_ACEOF
34310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34311 _ACEOF
34314 done
34316 else
34318 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
34319 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
34320 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34321 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
34322 echo $ECHO_N "(cached) $ECHO_C" >&6
34323 else
34327 ac_ext=cc
34328 ac_cpp='$CXXCPP $CPPFLAGS'
34329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34333 cat >conftest.$ac_ext <<_ACEOF
34334 /* confdefs.h. */
34335 _ACEOF
34336 cat confdefs.h >>conftest.$ac_ext
34337 cat >>conftest.$ac_ext <<_ACEOF
34338 /* end confdefs.h. */
34339 #include <math.h>
34341 main ()
34343 _hypot(0, 0);
34345 return 0;
34347 _ACEOF
34348 rm -f conftest.$ac_objext
34349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34350 (eval $ac_compile) 2>conftest.er1
34351 ac_status=$?
34352 grep -v '^ *+' conftest.er1 >conftest.err
34353 rm -f conftest.er1
34354 cat conftest.err >&5
34355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34356 (exit $ac_status); } &&
34357 { ac_try='test -z "$ac_cxx_werror_flag"
34358 || test ! -s conftest.err'
34359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34360 (eval $ac_try) 2>&5
34361 ac_status=$?
34362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34363 (exit $ac_status); }; } &&
34364 { ac_try='test -s conftest.$ac_objext'
34365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34366 (eval $ac_try) 2>&5
34367 ac_status=$?
34368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34369 (exit $ac_status); }; }; then
34370 glibcxx_cv_func__hypot_use=yes
34371 else
34372 echo "$as_me: failed program was:" >&5
34373 sed 's/^/| /' conftest.$ac_ext >&5
34375 glibcxx_cv_func__hypot_use=no
34377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34378 ac_ext=c
34379 ac_cpp='$CPP $CPPFLAGS'
34380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34388 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
34389 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
34391 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34393 for ac_func in _hypot
34395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34396 echo "$as_me:$LINENO: checking for $ac_func" >&5
34397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34398 if eval "test \"\${$as_ac_var+set}\" = set"; then
34399 echo $ECHO_N "(cached) $ECHO_C" >&6
34400 else
34401 if test x$gcc_no_link = xyes; then
34402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34404 { (exit 1); exit 1; }; }
34406 cat >conftest.$ac_ext <<_ACEOF
34407 /* confdefs.h. */
34408 _ACEOF
34409 cat confdefs.h >>conftest.$ac_ext
34410 cat >>conftest.$ac_ext <<_ACEOF
34411 /* end confdefs.h. */
34412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34414 #define $ac_func innocuous_$ac_func
34416 /* System header to define __stub macros and hopefully few prototypes,
34417 which can conflict with char $ac_func (); below.
34418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34419 <limits.h> exists even on freestanding compilers. */
34421 #ifdef __STDC__
34422 # include <limits.h>
34423 #else
34424 # include <assert.h>
34425 #endif
34427 #undef $ac_func
34429 /* Override any gcc2 internal prototype to avoid an error. */
34430 #ifdef __cplusplus
34431 extern "C"
34433 #endif
34434 /* We use char because int might match the return type of a gcc2
34435 builtin and then its argument prototype would still apply. */
34436 char $ac_func ();
34437 /* The GNU C library defines this for functions which it implements
34438 to always fail with ENOSYS. Some functions are actually named
34439 something starting with __ and the normal name is an alias. */
34440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34441 choke me
34442 #else
34443 char (*f) () = $ac_func;
34444 #endif
34445 #ifdef __cplusplus
34447 #endif
34450 main ()
34452 return f != $ac_func;
34454 return 0;
34456 _ACEOF
34457 rm -f conftest.$ac_objext conftest$ac_exeext
34458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34459 (eval $ac_link) 2>conftest.er1
34460 ac_status=$?
34461 grep -v '^ *+' conftest.er1 >conftest.err
34462 rm -f conftest.er1
34463 cat conftest.err >&5
34464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34465 (exit $ac_status); } &&
34466 { ac_try='test -z "$ac_c_werror_flag"
34467 || test ! -s conftest.err'
34468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34469 (eval $ac_try) 2>&5
34470 ac_status=$?
34471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34472 (exit $ac_status); }; } &&
34473 { ac_try='test -s conftest$ac_exeext'
34474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34475 (eval $ac_try) 2>&5
34476 ac_status=$?
34477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34478 (exit $ac_status); }; }; then
34479 eval "$as_ac_var=yes"
34480 else
34481 echo "$as_me: failed program was:" >&5
34482 sed 's/^/| /' conftest.$ac_ext >&5
34484 eval "$as_ac_var=no"
34486 rm -f conftest.err conftest.$ac_objext \
34487 conftest$ac_exeext conftest.$ac_ext
34489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34491 if test `eval echo '${'$as_ac_var'}'` = yes; then
34492 cat >>confdefs.h <<_ACEOF
34493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34494 _ACEOF
34497 done
34504 echo "$as_me:$LINENO: checking for float trig functions" >&5
34505 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
34506 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
34507 echo $ECHO_N "(cached) $ECHO_C" >&6
34508 else
34512 ac_ext=cc
34513 ac_cpp='$CXXCPP $CPPFLAGS'
34514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34518 cat >conftest.$ac_ext <<_ACEOF
34519 /* confdefs.h. */
34520 _ACEOF
34521 cat confdefs.h >>conftest.$ac_ext
34522 cat >>conftest.$ac_ext <<_ACEOF
34523 /* end confdefs.h. */
34524 #include <math.h>
34526 main ()
34528 `for x in acosf asinf atanf \
34529 cosf sinf tanf \
34530 coshf sinhf tanhf; do echo "$x (0);"; done`
34532 return 0;
34534 _ACEOF
34535 rm -f conftest.$ac_objext
34536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34537 (eval $ac_compile) 2>conftest.er1
34538 ac_status=$?
34539 grep -v '^ *+' conftest.er1 >conftest.err
34540 rm -f conftest.er1
34541 cat conftest.err >&5
34542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34543 (exit $ac_status); } &&
34544 { ac_try='test -z "$ac_cxx_werror_flag"
34545 || test ! -s conftest.err'
34546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34547 (eval $ac_try) 2>&5
34548 ac_status=$?
34549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34550 (exit $ac_status); }; } &&
34551 { ac_try='test -s conftest.$ac_objext'
34552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34553 (eval $ac_try) 2>&5
34554 ac_status=$?
34555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34556 (exit $ac_status); }; }; then
34557 glibcxx_cv_func_float_trig_use=yes
34558 else
34559 echo "$as_me: failed program was:" >&5
34560 sed 's/^/| /' conftest.$ac_ext >&5
34562 glibcxx_cv_func_float_trig_use=no
34564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34565 ac_ext=c
34566 ac_cpp='$CPP $CPPFLAGS'
34567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34573 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
34574 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
34575 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34585 for ac_func in acosf asinf atanf \
34586 cosf sinf tanf \
34587 coshf sinhf tanhf
34589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34590 echo "$as_me:$LINENO: checking for $ac_func" >&5
34591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34592 if eval "test \"\${$as_ac_var+set}\" = set"; then
34593 echo $ECHO_N "(cached) $ECHO_C" >&6
34594 else
34595 if test x$gcc_no_link = xyes; then
34596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34598 { (exit 1); exit 1; }; }
34600 cat >conftest.$ac_ext <<_ACEOF
34601 /* confdefs.h. */
34602 _ACEOF
34603 cat confdefs.h >>conftest.$ac_ext
34604 cat >>conftest.$ac_ext <<_ACEOF
34605 /* end confdefs.h. */
34606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34608 #define $ac_func innocuous_$ac_func
34610 /* System header to define __stub macros and hopefully few prototypes,
34611 which can conflict with char $ac_func (); below.
34612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34613 <limits.h> exists even on freestanding compilers. */
34615 #ifdef __STDC__
34616 # include <limits.h>
34617 #else
34618 # include <assert.h>
34619 #endif
34621 #undef $ac_func
34623 /* Override any gcc2 internal prototype to avoid an error. */
34624 #ifdef __cplusplus
34625 extern "C"
34627 #endif
34628 /* We use char because int might match the return type of a gcc2
34629 builtin and then its argument prototype would still apply. */
34630 char $ac_func ();
34631 /* The GNU C library defines this for functions which it implements
34632 to always fail with ENOSYS. Some functions are actually named
34633 something starting with __ and the normal name is an alias. */
34634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34635 choke me
34636 #else
34637 char (*f) () = $ac_func;
34638 #endif
34639 #ifdef __cplusplus
34641 #endif
34644 main ()
34646 return f != $ac_func;
34648 return 0;
34650 _ACEOF
34651 rm -f conftest.$ac_objext conftest$ac_exeext
34652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34653 (eval $ac_link) 2>conftest.er1
34654 ac_status=$?
34655 grep -v '^ *+' conftest.er1 >conftest.err
34656 rm -f conftest.er1
34657 cat conftest.err >&5
34658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34659 (exit $ac_status); } &&
34660 { ac_try='test -z "$ac_c_werror_flag"
34661 || test ! -s conftest.err'
34662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34663 (eval $ac_try) 2>&5
34664 ac_status=$?
34665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34666 (exit $ac_status); }; } &&
34667 { ac_try='test -s conftest$ac_exeext'
34668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34669 (eval $ac_try) 2>&5
34670 ac_status=$?
34671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34672 (exit $ac_status); }; }; then
34673 eval "$as_ac_var=yes"
34674 else
34675 echo "$as_me: failed program was:" >&5
34676 sed 's/^/| /' conftest.$ac_ext >&5
34678 eval "$as_ac_var=no"
34680 rm -f conftest.err conftest.$ac_objext \
34681 conftest$ac_exeext conftest.$ac_ext
34683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34685 if test `eval echo '${'$as_ac_var'}'` = yes; then
34686 cat >>confdefs.h <<_ACEOF
34687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34688 _ACEOF
34691 done
34696 echo "$as_me:$LINENO: checking for float round functions" >&5
34697 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34698 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34699 echo $ECHO_N "(cached) $ECHO_C" >&6
34700 else
34704 ac_ext=cc
34705 ac_cpp='$CXXCPP $CPPFLAGS'
34706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34710 cat >conftest.$ac_ext <<_ACEOF
34711 /* confdefs.h. */
34712 _ACEOF
34713 cat confdefs.h >>conftest.$ac_ext
34714 cat >>conftest.$ac_ext <<_ACEOF
34715 /* end confdefs.h. */
34716 #include <math.h>
34718 main ()
34720 `for x in ceilf floorf; do echo "$x (0);"; done`
34722 return 0;
34724 _ACEOF
34725 rm -f conftest.$ac_objext
34726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34727 (eval $ac_compile) 2>conftest.er1
34728 ac_status=$?
34729 grep -v '^ *+' conftest.er1 >conftest.err
34730 rm -f conftest.er1
34731 cat conftest.err >&5
34732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34733 (exit $ac_status); } &&
34734 { ac_try='test -z "$ac_cxx_werror_flag"
34735 || test ! -s conftest.err'
34736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34737 (eval $ac_try) 2>&5
34738 ac_status=$?
34739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34740 (exit $ac_status); }; } &&
34741 { ac_try='test -s conftest.$ac_objext'
34742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34743 (eval $ac_try) 2>&5
34744 ac_status=$?
34745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34746 (exit $ac_status); }; }; then
34747 glibcxx_cv_func_float_round_use=yes
34748 else
34749 echo "$as_me: failed program was:" >&5
34750 sed 's/^/| /' conftest.$ac_ext >&5
34752 glibcxx_cv_func_float_round_use=no
34754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34755 ac_ext=c
34756 ac_cpp='$CPP $CPPFLAGS'
34757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34763 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
34764 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
34765 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34768 for ac_func in ceilf floorf
34770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34771 echo "$as_me:$LINENO: checking for $ac_func" >&5
34772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34773 if eval "test \"\${$as_ac_var+set}\" = set"; then
34774 echo $ECHO_N "(cached) $ECHO_C" >&6
34775 else
34776 if test x$gcc_no_link = xyes; then
34777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34779 { (exit 1); exit 1; }; }
34781 cat >conftest.$ac_ext <<_ACEOF
34782 /* confdefs.h. */
34783 _ACEOF
34784 cat confdefs.h >>conftest.$ac_ext
34785 cat >>conftest.$ac_ext <<_ACEOF
34786 /* end confdefs.h. */
34787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34789 #define $ac_func innocuous_$ac_func
34791 /* System header to define __stub macros and hopefully few prototypes,
34792 which can conflict with char $ac_func (); below.
34793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34794 <limits.h> exists even on freestanding compilers. */
34796 #ifdef __STDC__
34797 # include <limits.h>
34798 #else
34799 # include <assert.h>
34800 #endif
34802 #undef $ac_func
34804 /* Override any gcc2 internal prototype to avoid an error. */
34805 #ifdef __cplusplus
34806 extern "C"
34808 #endif
34809 /* We use char because int might match the return type of a gcc2
34810 builtin and then its argument prototype would still apply. */
34811 char $ac_func ();
34812 /* The GNU C library defines this for functions which it implements
34813 to always fail with ENOSYS. Some functions are actually named
34814 something starting with __ and the normal name is an alias. */
34815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34816 choke me
34817 #else
34818 char (*f) () = $ac_func;
34819 #endif
34820 #ifdef __cplusplus
34822 #endif
34825 main ()
34827 return f != $ac_func;
34829 return 0;
34831 _ACEOF
34832 rm -f conftest.$ac_objext conftest$ac_exeext
34833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34834 (eval $ac_link) 2>conftest.er1
34835 ac_status=$?
34836 grep -v '^ *+' conftest.er1 >conftest.err
34837 rm -f conftest.er1
34838 cat conftest.err >&5
34839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34840 (exit $ac_status); } &&
34841 { ac_try='test -z "$ac_c_werror_flag"
34842 || test ! -s conftest.err'
34843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34844 (eval $ac_try) 2>&5
34845 ac_status=$?
34846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34847 (exit $ac_status); }; } &&
34848 { ac_try='test -s conftest$ac_exeext'
34849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34850 (eval $ac_try) 2>&5
34851 ac_status=$?
34852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34853 (exit $ac_status); }; }; then
34854 eval "$as_ac_var=yes"
34855 else
34856 echo "$as_me: failed program was:" >&5
34857 sed 's/^/| /' conftest.$ac_ext >&5
34859 eval "$as_ac_var=no"
34861 rm -f conftest.err conftest.$ac_objext \
34862 conftest$ac_exeext conftest.$ac_ext
34864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34866 if test `eval echo '${'$as_ac_var'}'` = yes; then
34867 cat >>confdefs.h <<_ACEOF
34868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34869 _ACEOF
34872 done
34878 echo "$as_me:$LINENO: checking for expf declaration" >&5
34879 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
34880 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34881 if test "${glibcxx_cv_func_expf_use+set}" = set; then
34882 echo $ECHO_N "(cached) $ECHO_C" >&6
34883 else
34887 ac_ext=cc
34888 ac_cpp='$CXXCPP $CPPFLAGS'
34889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34893 cat >conftest.$ac_ext <<_ACEOF
34894 /* confdefs.h. */
34895 _ACEOF
34896 cat confdefs.h >>conftest.$ac_ext
34897 cat >>conftest.$ac_ext <<_ACEOF
34898 /* end confdefs.h. */
34899 #include <math.h>
34900 #ifdef HAVE_IEEEFP_H
34901 #include <ieeefp.h>
34902 #endif
34905 main ()
34907 expf(0);
34909 return 0;
34911 _ACEOF
34912 rm -f conftest.$ac_objext
34913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34914 (eval $ac_compile) 2>conftest.er1
34915 ac_status=$?
34916 grep -v '^ *+' conftest.er1 >conftest.err
34917 rm -f conftest.er1
34918 cat conftest.err >&5
34919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34920 (exit $ac_status); } &&
34921 { ac_try='test -z "$ac_cxx_werror_flag"
34922 || test ! -s conftest.err'
34923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34924 (eval $ac_try) 2>&5
34925 ac_status=$?
34926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34927 (exit $ac_status); }; } &&
34928 { ac_try='test -s conftest.$ac_objext'
34929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34930 (eval $ac_try) 2>&5
34931 ac_status=$?
34932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34933 (exit $ac_status); }; }; then
34934 glibcxx_cv_func_expf_use=yes
34935 else
34936 echo "$as_me: failed program was:" >&5
34937 sed 's/^/| /' conftest.$ac_ext >&5
34939 glibcxx_cv_func_expf_use=no
34941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34942 ac_ext=c
34943 ac_cpp='$CPP $CPPFLAGS'
34944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34952 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
34953 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
34955 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34957 for ac_func in expf
34959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34960 echo "$as_me:$LINENO: checking for $ac_func" >&5
34961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34962 if eval "test \"\${$as_ac_var+set}\" = set"; then
34963 echo $ECHO_N "(cached) $ECHO_C" >&6
34964 else
34965 if test x$gcc_no_link = xyes; then
34966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34968 { (exit 1); exit 1; }; }
34970 cat >conftest.$ac_ext <<_ACEOF
34971 /* confdefs.h. */
34972 _ACEOF
34973 cat confdefs.h >>conftest.$ac_ext
34974 cat >>conftest.$ac_ext <<_ACEOF
34975 /* end confdefs.h. */
34976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34978 #define $ac_func innocuous_$ac_func
34980 /* System header to define __stub macros and hopefully few prototypes,
34981 which can conflict with char $ac_func (); below.
34982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34983 <limits.h> exists even on freestanding compilers. */
34985 #ifdef __STDC__
34986 # include <limits.h>
34987 #else
34988 # include <assert.h>
34989 #endif
34991 #undef $ac_func
34993 /* Override any gcc2 internal prototype to avoid an error. */
34994 #ifdef __cplusplus
34995 extern "C"
34997 #endif
34998 /* We use char because int might match the return type of a gcc2
34999 builtin and then its argument prototype would still apply. */
35000 char $ac_func ();
35001 /* The GNU C library defines this for functions which it implements
35002 to always fail with ENOSYS. Some functions are actually named
35003 something starting with __ and the normal name is an alias. */
35004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35005 choke me
35006 #else
35007 char (*f) () = $ac_func;
35008 #endif
35009 #ifdef __cplusplus
35011 #endif
35014 main ()
35016 return f != $ac_func;
35018 return 0;
35020 _ACEOF
35021 rm -f conftest.$ac_objext conftest$ac_exeext
35022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35023 (eval $ac_link) 2>conftest.er1
35024 ac_status=$?
35025 grep -v '^ *+' conftest.er1 >conftest.err
35026 rm -f conftest.er1
35027 cat conftest.err >&5
35028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35029 (exit $ac_status); } &&
35030 { ac_try='test -z "$ac_c_werror_flag"
35031 || test ! -s conftest.err'
35032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35033 (eval $ac_try) 2>&5
35034 ac_status=$?
35035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35036 (exit $ac_status); }; } &&
35037 { ac_try='test -s conftest$ac_exeext'
35038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35039 (eval $ac_try) 2>&5
35040 ac_status=$?
35041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35042 (exit $ac_status); }; }; then
35043 eval "$as_ac_var=yes"
35044 else
35045 echo "$as_me: failed program was:" >&5
35046 sed 's/^/| /' conftest.$ac_ext >&5
35048 eval "$as_ac_var=no"
35050 rm -f conftest.err conftest.$ac_objext \
35051 conftest$ac_exeext conftest.$ac_ext
35053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35055 if test `eval echo '${'$as_ac_var'}'` = yes; then
35056 cat >>confdefs.h <<_ACEOF
35057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35058 _ACEOF
35061 done
35063 else
35065 echo "$as_me:$LINENO: checking for _expf declaration" >&5
35066 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
35067 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35068 if test "${glibcxx_cv_func__expf_use+set}" = set; then
35069 echo $ECHO_N "(cached) $ECHO_C" >&6
35070 else
35074 ac_ext=cc
35075 ac_cpp='$CXXCPP $CPPFLAGS'
35076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35080 cat >conftest.$ac_ext <<_ACEOF
35081 /* confdefs.h. */
35082 _ACEOF
35083 cat confdefs.h >>conftest.$ac_ext
35084 cat >>conftest.$ac_ext <<_ACEOF
35085 /* end confdefs.h. */
35086 #include <math.h>
35087 #ifdef HAVE_IEEEFP_H
35088 #include <ieeefp.h>
35089 #endif
35092 main ()
35094 _expf(0);
35096 return 0;
35098 _ACEOF
35099 rm -f conftest.$ac_objext
35100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35101 (eval $ac_compile) 2>conftest.er1
35102 ac_status=$?
35103 grep -v '^ *+' conftest.er1 >conftest.err
35104 rm -f conftest.er1
35105 cat conftest.err >&5
35106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35107 (exit $ac_status); } &&
35108 { ac_try='test -z "$ac_cxx_werror_flag"
35109 || test ! -s conftest.err'
35110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35111 (eval $ac_try) 2>&5
35112 ac_status=$?
35113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35114 (exit $ac_status); }; } &&
35115 { ac_try='test -s conftest.$ac_objext'
35116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35117 (eval $ac_try) 2>&5
35118 ac_status=$?
35119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35120 (exit $ac_status); }; }; then
35121 glibcxx_cv_func__expf_use=yes
35122 else
35123 echo "$as_me: failed program was:" >&5
35124 sed 's/^/| /' conftest.$ac_ext >&5
35126 glibcxx_cv_func__expf_use=no
35128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35129 ac_ext=c
35130 ac_cpp='$CPP $CPPFLAGS'
35131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35139 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
35140 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
35142 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35144 for ac_func in _expf
35146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35147 echo "$as_me:$LINENO: checking for $ac_func" >&5
35148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35149 if eval "test \"\${$as_ac_var+set}\" = set"; then
35150 echo $ECHO_N "(cached) $ECHO_C" >&6
35151 else
35152 if test x$gcc_no_link = xyes; then
35153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35155 { (exit 1); exit 1; }; }
35157 cat >conftest.$ac_ext <<_ACEOF
35158 /* confdefs.h. */
35159 _ACEOF
35160 cat confdefs.h >>conftest.$ac_ext
35161 cat >>conftest.$ac_ext <<_ACEOF
35162 /* end confdefs.h. */
35163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35165 #define $ac_func innocuous_$ac_func
35167 /* System header to define __stub macros and hopefully few prototypes,
35168 which can conflict with char $ac_func (); below.
35169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35170 <limits.h> exists even on freestanding compilers. */
35172 #ifdef __STDC__
35173 # include <limits.h>
35174 #else
35175 # include <assert.h>
35176 #endif
35178 #undef $ac_func
35180 /* Override any gcc2 internal prototype to avoid an error. */
35181 #ifdef __cplusplus
35182 extern "C"
35184 #endif
35185 /* We use char because int might match the return type of a gcc2
35186 builtin and then its argument prototype would still apply. */
35187 char $ac_func ();
35188 /* The GNU C library defines this for functions which it implements
35189 to always fail with ENOSYS. Some functions are actually named
35190 something starting with __ and the normal name is an alias. */
35191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35192 choke me
35193 #else
35194 char (*f) () = $ac_func;
35195 #endif
35196 #ifdef __cplusplus
35198 #endif
35201 main ()
35203 return f != $ac_func;
35205 return 0;
35207 _ACEOF
35208 rm -f conftest.$ac_objext conftest$ac_exeext
35209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35210 (eval $ac_link) 2>conftest.er1
35211 ac_status=$?
35212 grep -v '^ *+' conftest.er1 >conftest.err
35213 rm -f conftest.er1
35214 cat conftest.err >&5
35215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35216 (exit $ac_status); } &&
35217 { ac_try='test -z "$ac_c_werror_flag"
35218 || test ! -s conftest.err'
35219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35220 (eval $ac_try) 2>&5
35221 ac_status=$?
35222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35223 (exit $ac_status); }; } &&
35224 { ac_try='test -s conftest$ac_exeext'
35225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35226 (eval $ac_try) 2>&5
35227 ac_status=$?
35228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35229 (exit $ac_status); }; }; then
35230 eval "$as_ac_var=yes"
35231 else
35232 echo "$as_me: failed program was:" >&5
35233 sed 's/^/| /' conftest.$ac_ext >&5
35235 eval "$as_ac_var=no"
35237 rm -f conftest.err conftest.$ac_objext \
35238 conftest$ac_exeext conftest.$ac_ext
35240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35242 if test `eval echo '${'$as_ac_var'}'` = yes; then
35243 cat >>confdefs.h <<_ACEOF
35244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35245 _ACEOF
35248 done
35255 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
35256 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
35257 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35258 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
35259 echo $ECHO_N "(cached) $ECHO_C" >&6
35260 else
35264 ac_ext=cc
35265 ac_cpp='$CXXCPP $CPPFLAGS'
35266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35270 cat >conftest.$ac_ext <<_ACEOF
35271 /* confdefs.h. */
35272 _ACEOF
35273 cat confdefs.h >>conftest.$ac_ext
35274 cat >>conftest.$ac_ext <<_ACEOF
35275 /* end confdefs.h. */
35276 #include <math.h>
35277 #ifdef HAVE_IEEEFP_H
35278 #include <ieeefp.h>
35279 #endif
35282 main ()
35284 isnanf(0);
35286 return 0;
35288 _ACEOF
35289 rm -f conftest.$ac_objext
35290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35291 (eval $ac_compile) 2>conftest.er1
35292 ac_status=$?
35293 grep -v '^ *+' conftest.er1 >conftest.err
35294 rm -f conftest.er1
35295 cat conftest.err >&5
35296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35297 (exit $ac_status); } &&
35298 { ac_try='test -z "$ac_cxx_werror_flag"
35299 || test ! -s conftest.err'
35300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35301 (eval $ac_try) 2>&5
35302 ac_status=$?
35303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35304 (exit $ac_status); }; } &&
35305 { ac_try='test -s conftest.$ac_objext'
35306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35307 (eval $ac_try) 2>&5
35308 ac_status=$?
35309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35310 (exit $ac_status); }; }; then
35311 glibcxx_cv_func_isnanf_use=yes
35312 else
35313 echo "$as_me: failed program was:" >&5
35314 sed 's/^/| /' conftest.$ac_ext >&5
35316 glibcxx_cv_func_isnanf_use=no
35318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35319 ac_ext=c
35320 ac_cpp='$CPP $CPPFLAGS'
35321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35329 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
35330 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
35332 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35334 for ac_func in isnanf
35336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35337 echo "$as_me:$LINENO: checking for $ac_func" >&5
35338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35339 if eval "test \"\${$as_ac_var+set}\" = set"; then
35340 echo $ECHO_N "(cached) $ECHO_C" >&6
35341 else
35342 if test x$gcc_no_link = xyes; then
35343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35345 { (exit 1); exit 1; }; }
35347 cat >conftest.$ac_ext <<_ACEOF
35348 /* confdefs.h. */
35349 _ACEOF
35350 cat confdefs.h >>conftest.$ac_ext
35351 cat >>conftest.$ac_ext <<_ACEOF
35352 /* end confdefs.h. */
35353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35355 #define $ac_func innocuous_$ac_func
35357 /* System header to define __stub macros and hopefully few prototypes,
35358 which can conflict with char $ac_func (); below.
35359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35360 <limits.h> exists even on freestanding compilers. */
35362 #ifdef __STDC__
35363 # include <limits.h>
35364 #else
35365 # include <assert.h>
35366 #endif
35368 #undef $ac_func
35370 /* Override any gcc2 internal prototype to avoid an error. */
35371 #ifdef __cplusplus
35372 extern "C"
35374 #endif
35375 /* We use char because int might match the return type of a gcc2
35376 builtin and then its argument prototype would still apply. */
35377 char $ac_func ();
35378 /* The GNU C library defines this for functions which it implements
35379 to always fail with ENOSYS. Some functions are actually named
35380 something starting with __ and the normal name is an alias. */
35381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35382 choke me
35383 #else
35384 char (*f) () = $ac_func;
35385 #endif
35386 #ifdef __cplusplus
35388 #endif
35391 main ()
35393 return f != $ac_func;
35395 return 0;
35397 _ACEOF
35398 rm -f conftest.$ac_objext conftest$ac_exeext
35399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35400 (eval $ac_link) 2>conftest.er1
35401 ac_status=$?
35402 grep -v '^ *+' conftest.er1 >conftest.err
35403 rm -f conftest.er1
35404 cat conftest.err >&5
35405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35406 (exit $ac_status); } &&
35407 { ac_try='test -z "$ac_c_werror_flag"
35408 || test ! -s conftest.err'
35409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35410 (eval $ac_try) 2>&5
35411 ac_status=$?
35412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35413 (exit $ac_status); }; } &&
35414 { ac_try='test -s conftest$ac_exeext'
35415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35416 (eval $ac_try) 2>&5
35417 ac_status=$?
35418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35419 (exit $ac_status); }; }; then
35420 eval "$as_ac_var=yes"
35421 else
35422 echo "$as_me: failed program was:" >&5
35423 sed 's/^/| /' conftest.$ac_ext >&5
35425 eval "$as_ac_var=no"
35427 rm -f conftest.err conftest.$ac_objext \
35428 conftest$ac_exeext conftest.$ac_ext
35430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35432 if test `eval echo '${'$as_ac_var'}'` = yes; then
35433 cat >>confdefs.h <<_ACEOF
35434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35435 _ACEOF
35438 done
35440 else
35442 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
35443 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
35444 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35445 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
35446 echo $ECHO_N "(cached) $ECHO_C" >&6
35447 else
35451 ac_ext=cc
35452 ac_cpp='$CXXCPP $CPPFLAGS'
35453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35457 cat >conftest.$ac_ext <<_ACEOF
35458 /* confdefs.h. */
35459 _ACEOF
35460 cat confdefs.h >>conftest.$ac_ext
35461 cat >>conftest.$ac_ext <<_ACEOF
35462 /* end confdefs.h. */
35463 #include <math.h>
35464 #ifdef HAVE_IEEEFP_H
35465 #include <ieeefp.h>
35466 #endif
35469 main ()
35471 _isnanf(0);
35473 return 0;
35475 _ACEOF
35476 rm -f conftest.$ac_objext
35477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35478 (eval $ac_compile) 2>conftest.er1
35479 ac_status=$?
35480 grep -v '^ *+' conftest.er1 >conftest.err
35481 rm -f conftest.er1
35482 cat conftest.err >&5
35483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35484 (exit $ac_status); } &&
35485 { ac_try='test -z "$ac_cxx_werror_flag"
35486 || test ! -s conftest.err'
35487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35488 (eval $ac_try) 2>&5
35489 ac_status=$?
35490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35491 (exit $ac_status); }; } &&
35492 { ac_try='test -s conftest.$ac_objext'
35493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35494 (eval $ac_try) 2>&5
35495 ac_status=$?
35496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35497 (exit $ac_status); }; }; then
35498 glibcxx_cv_func__isnanf_use=yes
35499 else
35500 echo "$as_me: failed program was:" >&5
35501 sed 's/^/| /' conftest.$ac_ext >&5
35503 glibcxx_cv_func__isnanf_use=no
35505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35506 ac_ext=c
35507 ac_cpp='$CPP $CPPFLAGS'
35508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35516 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
35517 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
35519 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35521 for ac_func in _isnanf
35523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35524 echo "$as_me:$LINENO: checking for $ac_func" >&5
35525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35526 if eval "test \"\${$as_ac_var+set}\" = set"; then
35527 echo $ECHO_N "(cached) $ECHO_C" >&6
35528 else
35529 if test x$gcc_no_link = xyes; then
35530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35532 { (exit 1); exit 1; }; }
35534 cat >conftest.$ac_ext <<_ACEOF
35535 /* confdefs.h. */
35536 _ACEOF
35537 cat confdefs.h >>conftest.$ac_ext
35538 cat >>conftest.$ac_ext <<_ACEOF
35539 /* end confdefs.h. */
35540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35542 #define $ac_func innocuous_$ac_func
35544 /* System header to define __stub macros and hopefully few prototypes,
35545 which can conflict with char $ac_func (); below.
35546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35547 <limits.h> exists even on freestanding compilers. */
35549 #ifdef __STDC__
35550 # include <limits.h>
35551 #else
35552 # include <assert.h>
35553 #endif
35555 #undef $ac_func
35557 /* Override any gcc2 internal prototype to avoid an error. */
35558 #ifdef __cplusplus
35559 extern "C"
35561 #endif
35562 /* We use char because int might match the return type of a gcc2
35563 builtin and then its argument prototype would still apply. */
35564 char $ac_func ();
35565 /* The GNU C library defines this for functions which it implements
35566 to always fail with ENOSYS. Some functions are actually named
35567 something starting with __ and the normal name is an alias. */
35568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35569 choke me
35570 #else
35571 char (*f) () = $ac_func;
35572 #endif
35573 #ifdef __cplusplus
35575 #endif
35578 main ()
35580 return f != $ac_func;
35582 return 0;
35584 _ACEOF
35585 rm -f conftest.$ac_objext conftest$ac_exeext
35586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35587 (eval $ac_link) 2>conftest.er1
35588 ac_status=$?
35589 grep -v '^ *+' conftest.er1 >conftest.err
35590 rm -f conftest.er1
35591 cat conftest.err >&5
35592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35593 (exit $ac_status); } &&
35594 { ac_try='test -z "$ac_c_werror_flag"
35595 || test ! -s conftest.err'
35596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35597 (eval $ac_try) 2>&5
35598 ac_status=$?
35599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35600 (exit $ac_status); }; } &&
35601 { ac_try='test -s conftest$ac_exeext'
35602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35603 (eval $ac_try) 2>&5
35604 ac_status=$?
35605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35606 (exit $ac_status); }; }; then
35607 eval "$as_ac_var=yes"
35608 else
35609 echo "$as_me: failed program was:" >&5
35610 sed 's/^/| /' conftest.$ac_ext >&5
35612 eval "$as_ac_var=no"
35614 rm -f conftest.err conftest.$ac_objext \
35615 conftest$ac_exeext conftest.$ac_ext
35617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35619 if test `eval echo '${'$as_ac_var'}'` = yes; then
35620 cat >>confdefs.h <<_ACEOF
35621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35622 _ACEOF
35625 done
35632 echo "$as_me:$LINENO: checking for isinff declaration" >&5
35633 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35634 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35635 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35636 echo $ECHO_N "(cached) $ECHO_C" >&6
35637 else
35641 ac_ext=cc
35642 ac_cpp='$CXXCPP $CPPFLAGS'
35643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35647 cat >conftest.$ac_ext <<_ACEOF
35648 /* confdefs.h. */
35649 _ACEOF
35650 cat confdefs.h >>conftest.$ac_ext
35651 cat >>conftest.$ac_ext <<_ACEOF
35652 /* end confdefs.h. */
35653 #include <math.h>
35654 #ifdef HAVE_IEEEFP_H
35655 #include <ieeefp.h>
35656 #endif
35659 main ()
35661 isinff(0);
35663 return 0;
35665 _ACEOF
35666 rm -f conftest.$ac_objext
35667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35668 (eval $ac_compile) 2>conftest.er1
35669 ac_status=$?
35670 grep -v '^ *+' conftest.er1 >conftest.err
35671 rm -f conftest.er1
35672 cat conftest.err >&5
35673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35674 (exit $ac_status); } &&
35675 { ac_try='test -z "$ac_cxx_werror_flag"
35676 || test ! -s conftest.err'
35677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35678 (eval $ac_try) 2>&5
35679 ac_status=$?
35680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35681 (exit $ac_status); }; } &&
35682 { ac_try='test -s conftest.$ac_objext'
35683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35684 (eval $ac_try) 2>&5
35685 ac_status=$?
35686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35687 (exit $ac_status); }; }; then
35688 glibcxx_cv_func_isinff_use=yes
35689 else
35690 echo "$as_me: failed program was:" >&5
35691 sed 's/^/| /' conftest.$ac_ext >&5
35693 glibcxx_cv_func_isinff_use=no
35695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35696 ac_ext=c
35697 ac_cpp='$CPP $CPPFLAGS'
35698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35706 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35707 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35709 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35711 for ac_func in isinff
35713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35714 echo "$as_me:$LINENO: checking for $ac_func" >&5
35715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35716 if eval "test \"\${$as_ac_var+set}\" = set"; then
35717 echo $ECHO_N "(cached) $ECHO_C" >&6
35718 else
35719 if test x$gcc_no_link = xyes; then
35720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35722 { (exit 1); exit 1; }; }
35724 cat >conftest.$ac_ext <<_ACEOF
35725 /* confdefs.h. */
35726 _ACEOF
35727 cat confdefs.h >>conftest.$ac_ext
35728 cat >>conftest.$ac_ext <<_ACEOF
35729 /* end confdefs.h. */
35730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35732 #define $ac_func innocuous_$ac_func
35734 /* System header to define __stub macros and hopefully few prototypes,
35735 which can conflict with char $ac_func (); below.
35736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35737 <limits.h> exists even on freestanding compilers. */
35739 #ifdef __STDC__
35740 # include <limits.h>
35741 #else
35742 # include <assert.h>
35743 #endif
35745 #undef $ac_func
35747 /* Override any gcc2 internal prototype to avoid an error. */
35748 #ifdef __cplusplus
35749 extern "C"
35751 #endif
35752 /* We use char because int might match the return type of a gcc2
35753 builtin and then its argument prototype would still apply. */
35754 char $ac_func ();
35755 /* The GNU C library defines this for functions which it implements
35756 to always fail with ENOSYS. Some functions are actually named
35757 something starting with __ and the normal name is an alias. */
35758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35759 choke me
35760 #else
35761 char (*f) () = $ac_func;
35762 #endif
35763 #ifdef __cplusplus
35765 #endif
35768 main ()
35770 return f != $ac_func;
35772 return 0;
35774 _ACEOF
35775 rm -f conftest.$ac_objext conftest$ac_exeext
35776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35777 (eval $ac_link) 2>conftest.er1
35778 ac_status=$?
35779 grep -v '^ *+' conftest.er1 >conftest.err
35780 rm -f conftest.er1
35781 cat conftest.err >&5
35782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35783 (exit $ac_status); } &&
35784 { ac_try='test -z "$ac_c_werror_flag"
35785 || test ! -s conftest.err'
35786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35787 (eval $ac_try) 2>&5
35788 ac_status=$?
35789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35790 (exit $ac_status); }; } &&
35791 { ac_try='test -s conftest$ac_exeext'
35792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35793 (eval $ac_try) 2>&5
35794 ac_status=$?
35795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35796 (exit $ac_status); }; }; then
35797 eval "$as_ac_var=yes"
35798 else
35799 echo "$as_me: failed program was:" >&5
35800 sed 's/^/| /' conftest.$ac_ext >&5
35802 eval "$as_ac_var=no"
35804 rm -f conftest.err conftest.$ac_objext \
35805 conftest$ac_exeext conftest.$ac_ext
35807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35809 if test `eval echo '${'$as_ac_var'}'` = yes; then
35810 cat >>confdefs.h <<_ACEOF
35811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35812 _ACEOF
35815 done
35817 else
35819 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
35820 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
35821 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35822 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
35823 echo $ECHO_N "(cached) $ECHO_C" >&6
35824 else
35828 ac_ext=cc
35829 ac_cpp='$CXXCPP $CPPFLAGS'
35830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35834 cat >conftest.$ac_ext <<_ACEOF
35835 /* confdefs.h. */
35836 _ACEOF
35837 cat confdefs.h >>conftest.$ac_ext
35838 cat >>conftest.$ac_ext <<_ACEOF
35839 /* end confdefs.h. */
35840 #include <math.h>
35841 #ifdef HAVE_IEEEFP_H
35842 #include <ieeefp.h>
35843 #endif
35846 main ()
35848 _isinff(0);
35850 return 0;
35852 _ACEOF
35853 rm -f conftest.$ac_objext
35854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35855 (eval $ac_compile) 2>conftest.er1
35856 ac_status=$?
35857 grep -v '^ *+' conftest.er1 >conftest.err
35858 rm -f conftest.er1
35859 cat conftest.err >&5
35860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35861 (exit $ac_status); } &&
35862 { ac_try='test -z "$ac_cxx_werror_flag"
35863 || test ! -s conftest.err'
35864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35865 (eval $ac_try) 2>&5
35866 ac_status=$?
35867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35868 (exit $ac_status); }; } &&
35869 { ac_try='test -s conftest.$ac_objext'
35870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35871 (eval $ac_try) 2>&5
35872 ac_status=$?
35873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35874 (exit $ac_status); }; }; then
35875 glibcxx_cv_func__isinff_use=yes
35876 else
35877 echo "$as_me: failed program was:" >&5
35878 sed 's/^/| /' conftest.$ac_ext >&5
35880 glibcxx_cv_func__isinff_use=no
35882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35883 ac_ext=c
35884 ac_cpp='$CPP $CPPFLAGS'
35885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35893 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
35894 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
35896 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35898 for ac_func in _isinff
35900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35901 echo "$as_me:$LINENO: checking for $ac_func" >&5
35902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35903 if eval "test \"\${$as_ac_var+set}\" = set"; then
35904 echo $ECHO_N "(cached) $ECHO_C" >&6
35905 else
35906 if test x$gcc_no_link = xyes; then
35907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35909 { (exit 1); exit 1; }; }
35911 cat >conftest.$ac_ext <<_ACEOF
35912 /* confdefs.h. */
35913 _ACEOF
35914 cat confdefs.h >>conftest.$ac_ext
35915 cat >>conftest.$ac_ext <<_ACEOF
35916 /* end confdefs.h. */
35917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35919 #define $ac_func innocuous_$ac_func
35921 /* System header to define __stub macros and hopefully few prototypes,
35922 which can conflict with char $ac_func (); below.
35923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35924 <limits.h> exists even on freestanding compilers. */
35926 #ifdef __STDC__
35927 # include <limits.h>
35928 #else
35929 # include <assert.h>
35930 #endif
35932 #undef $ac_func
35934 /* Override any gcc2 internal prototype to avoid an error. */
35935 #ifdef __cplusplus
35936 extern "C"
35938 #endif
35939 /* We use char because int might match the return type of a gcc2
35940 builtin and then its argument prototype would still apply. */
35941 char $ac_func ();
35942 /* The GNU C library defines this for functions which it implements
35943 to always fail with ENOSYS. Some functions are actually named
35944 something starting with __ and the normal name is an alias. */
35945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35946 choke me
35947 #else
35948 char (*f) () = $ac_func;
35949 #endif
35950 #ifdef __cplusplus
35952 #endif
35955 main ()
35957 return f != $ac_func;
35959 return 0;
35961 _ACEOF
35962 rm -f conftest.$ac_objext conftest$ac_exeext
35963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35964 (eval $ac_link) 2>conftest.er1
35965 ac_status=$?
35966 grep -v '^ *+' conftest.er1 >conftest.err
35967 rm -f conftest.er1
35968 cat conftest.err >&5
35969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35970 (exit $ac_status); } &&
35971 { ac_try='test -z "$ac_c_werror_flag"
35972 || test ! -s conftest.err'
35973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35974 (eval $ac_try) 2>&5
35975 ac_status=$?
35976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35977 (exit $ac_status); }; } &&
35978 { ac_try='test -s conftest$ac_exeext'
35979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35980 (eval $ac_try) 2>&5
35981 ac_status=$?
35982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35983 (exit $ac_status); }; }; then
35984 eval "$as_ac_var=yes"
35985 else
35986 echo "$as_me: failed program was:" >&5
35987 sed 's/^/| /' conftest.$ac_ext >&5
35989 eval "$as_ac_var=no"
35991 rm -f conftest.err conftest.$ac_objext \
35992 conftest$ac_exeext conftest.$ac_ext
35994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35996 if test `eval echo '${'$as_ac_var'}'` = yes; then
35997 cat >>confdefs.h <<_ACEOF
35998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35999 _ACEOF
36002 done
36009 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
36010 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
36011 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36012 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
36013 echo $ECHO_N "(cached) $ECHO_C" >&6
36014 else
36018 ac_ext=cc
36019 ac_cpp='$CXXCPP $CPPFLAGS'
36020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36024 cat >conftest.$ac_ext <<_ACEOF
36025 /* confdefs.h. */
36026 _ACEOF
36027 cat confdefs.h >>conftest.$ac_ext
36028 cat >>conftest.$ac_ext <<_ACEOF
36029 /* end confdefs.h. */
36030 #include <math.h>
36032 main ()
36034 atan2f(0, 0);
36036 return 0;
36038 _ACEOF
36039 rm -f conftest.$ac_objext
36040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36041 (eval $ac_compile) 2>conftest.er1
36042 ac_status=$?
36043 grep -v '^ *+' conftest.er1 >conftest.err
36044 rm -f conftest.er1
36045 cat conftest.err >&5
36046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36047 (exit $ac_status); } &&
36048 { ac_try='test -z "$ac_cxx_werror_flag"
36049 || test ! -s conftest.err'
36050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36051 (eval $ac_try) 2>&5
36052 ac_status=$?
36053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36054 (exit $ac_status); }; } &&
36055 { ac_try='test -s conftest.$ac_objext'
36056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36057 (eval $ac_try) 2>&5
36058 ac_status=$?
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); }; }; then
36061 glibcxx_cv_func_atan2f_use=yes
36062 else
36063 echo "$as_me: failed program was:" >&5
36064 sed 's/^/| /' conftest.$ac_ext >&5
36066 glibcxx_cv_func_atan2f_use=no
36068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36069 ac_ext=c
36070 ac_cpp='$CPP $CPPFLAGS'
36071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36079 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
36080 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
36082 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36084 for ac_func in atan2f
36086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36087 echo "$as_me:$LINENO: checking for $ac_func" >&5
36088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36089 if eval "test \"\${$as_ac_var+set}\" = set"; then
36090 echo $ECHO_N "(cached) $ECHO_C" >&6
36091 else
36092 if test x$gcc_no_link = xyes; then
36093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36095 { (exit 1); exit 1; }; }
36097 cat >conftest.$ac_ext <<_ACEOF
36098 /* confdefs.h. */
36099 _ACEOF
36100 cat confdefs.h >>conftest.$ac_ext
36101 cat >>conftest.$ac_ext <<_ACEOF
36102 /* end confdefs.h. */
36103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36105 #define $ac_func innocuous_$ac_func
36107 /* System header to define __stub macros and hopefully few prototypes,
36108 which can conflict with char $ac_func (); below.
36109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36110 <limits.h> exists even on freestanding compilers. */
36112 #ifdef __STDC__
36113 # include <limits.h>
36114 #else
36115 # include <assert.h>
36116 #endif
36118 #undef $ac_func
36120 /* Override any gcc2 internal prototype to avoid an error. */
36121 #ifdef __cplusplus
36122 extern "C"
36124 #endif
36125 /* We use char because int might match the return type of a gcc2
36126 builtin and then its argument prototype would still apply. */
36127 char $ac_func ();
36128 /* The GNU C library defines this for functions which it implements
36129 to always fail with ENOSYS. Some functions are actually named
36130 something starting with __ and the normal name is an alias. */
36131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36132 choke me
36133 #else
36134 char (*f) () = $ac_func;
36135 #endif
36136 #ifdef __cplusplus
36138 #endif
36141 main ()
36143 return f != $ac_func;
36145 return 0;
36147 _ACEOF
36148 rm -f conftest.$ac_objext conftest$ac_exeext
36149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36150 (eval $ac_link) 2>conftest.er1
36151 ac_status=$?
36152 grep -v '^ *+' conftest.er1 >conftest.err
36153 rm -f conftest.er1
36154 cat conftest.err >&5
36155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36156 (exit $ac_status); } &&
36157 { ac_try='test -z "$ac_c_werror_flag"
36158 || test ! -s conftest.err'
36159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36160 (eval $ac_try) 2>&5
36161 ac_status=$?
36162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36163 (exit $ac_status); }; } &&
36164 { ac_try='test -s conftest$ac_exeext'
36165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36166 (eval $ac_try) 2>&5
36167 ac_status=$?
36168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36169 (exit $ac_status); }; }; then
36170 eval "$as_ac_var=yes"
36171 else
36172 echo "$as_me: failed program was:" >&5
36173 sed 's/^/| /' conftest.$ac_ext >&5
36175 eval "$as_ac_var=no"
36177 rm -f conftest.err conftest.$ac_objext \
36178 conftest$ac_exeext conftest.$ac_ext
36180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36182 if test `eval echo '${'$as_ac_var'}'` = yes; then
36183 cat >>confdefs.h <<_ACEOF
36184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36185 _ACEOF
36188 done
36190 else
36192 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
36193 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
36194 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36195 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
36196 echo $ECHO_N "(cached) $ECHO_C" >&6
36197 else
36201 ac_ext=cc
36202 ac_cpp='$CXXCPP $CPPFLAGS'
36203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36207 cat >conftest.$ac_ext <<_ACEOF
36208 /* confdefs.h. */
36209 _ACEOF
36210 cat confdefs.h >>conftest.$ac_ext
36211 cat >>conftest.$ac_ext <<_ACEOF
36212 /* end confdefs.h. */
36213 #include <math.h>
36215 main ()
36217 _atan2f(0, 0);
36219 return 0;
36221 _ACEOF
36222 rm -f conftest.$ac_objext
36223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36224 (eval $ac_compile) 2>conftest.er1
36225 ac_status=$?
36226 grep -v '^ *+' conftest.er1 >conftest.err
36227 rm -f conftest.er1
36228 cat conftest.err >&5
36229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36230 (exit $ac_status); } &&
36231 { ac_try='test -z "$ac_cxx_werror_flag"
36232 || test ! -s conftest.err'
36233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36234 (eval $ac_try) 2>&5
36235 ac_status=$?
36236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36237 (exit $ac_status); }; } &&
36238 { ac_try='test -s conftest.$ac_objext'
36239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36240 (eval $ac_try) 2>&5
36241 ac_status=$?
36242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36243 (exit $ac_status); }; }; then
36244 glibcxx_cv_func__atan2f_use=yes
36245 else
36246 echo "$as_me: failed program was:" >&5
36247 sed 's/^/| /' conftest.$ac_ext >&5
36249 glibcxx_cv_func__atan2f_use=no
36251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36252 ac_ext=c
36253 ac_cpp='$CPP $CPPFLAGS'
36254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36262 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
36263 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
36265 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36267 for ac_func in _atan2f
36269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36270 echo "$as_me:$LINENO: checking for $ac_func" >&5
36271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36272 if eval "test \"\${$as_ac_var+set}\" = set"; then
36273 echo $ECHO_N "(cached) $ECHO_C" >&6
36274 else
36275 if test x$gcc_no_link = xyes; then
36276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36278 { (exit 1); exit 1; }; }
36280 cat >conftest.$ac_ext <<_ACEOF
36281 /* confdefs.h. */
36282 _ACEOF
36283 cat confdefs.h >>conftest.$ac_ext
36284 cat >>conftest.$ac_ext <<_ACEOF
36285 /* end confdefs.h. */
36286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36288 #define $ac_func innocuous_$ac_func
36290 /* System header to define __stub macros and hopefully few prototypes,
36291 which can conflict with char $ac_func (); below.
36292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36293 <limits.h> exists even on freestanding compilers. */
36295 #ifdef __STDC__
36296 # include <limits.h>
36297 #else
36298 # include <assert.h>
36299 #endif
36301 #undef $ac_func
36303 /* Override any gcc2 internal prototype to avoid an error. */
36304 #ifdef __cplusplus
36305 extern "C"
36307 #endif
36308 /* We use char because int might match the return type of a gcc2
36309 builtin and then its argument prototype would still apply. */
36310 char $ac_func ();
36311 /* The GNU C library defines this for functions which it implements
36312 to always fail with ENOSYS. Some functions are actually named
36313 something starting with __ and the normal name is an alias. */
36314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36315 choke me
36316 #else
36317 char (*f) () = $ac_func;
36318 #endif
36319 #ifdef __cplusplus
36321 #endif
36324 main ()
36326 return f != $ac_func;
36328 return 0;
36330 _ACEOF
36331 rm -f conftest.$ac_objext conftest$ac_exeext
36332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36333 (eval $ac_link) 2>conftest.er1
36334 ac_status=$?
36335 grep -v '^ *+' conftest.er1 >conftest.err
36336 rm -f conftest.er1
36337 cat conftest.err >&5
36338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36339 (exit $ac_status); } &&
36340 { ac_try='test -z "$ac_c_werror_flag"
36341 || test ! -s conftest.err'
36342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36343 (eval $ac_try) 2>&5
36344 ac_status=$?
36345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36346 (exit $ac_status); }; } &&
36347 { ac_try='test -s conftest$ac_exeext'
36348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36349 (eval $ac_try) 2>&5
36350 ac_status=$?
36351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36352 (exit $ac_status); }; }; then
36353 eval "$as_ac_var=yes"
36354 else
36355 echo "$as_me: failed program was:" >&5
36356 sed 's/^/| /' conftest.$ac_ext >&5
36358 eval "$as_ac_var=no"
36360 rm -f conftest.err conftest.$ac_objext \
36361 conftest$ac_exeext conftest.$ac_ext
36363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36365 if test `eval echo '${'$as_ac_var'}'` = yes; then
36366 cat >>confdefs.h <<_ACEOF
36367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36368 _ACEOF
36371 done
36378 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
36379 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
36380 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36381 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
36382 echo $ECHO_N "(cached) $ECHO_C" >&6
36383 else
36387 ac_ext=cc
36388 ac_cpp='$CXXCPP $CPPFLAGS'
36389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36393 cat >conftest.$ac_ext <<_ACEOF
36394 /* confdefs.h. */
36395 _ACEOF
36396 cat confdefs.h >>conftest.$ac_ext
36397 cat >>conftest.$ac_ext <<_ACEOF
36398 /* end confdefs.h. */
36399 #include <math.h>
36400 #ifdef HAVE_IEEEFP_H
36401 #include <ieeefp.h>
36402 #endif
36405 main ()
36407 fabsf(0);
36409 return 0;
36411 _ACEOF
36412 rm -f conftest.$ac_objext
36413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36414 (eval $ac_compile) 2>conftest.er1
36415 ac_status=$?
36416 grep -v '^ *+' conftest.er1 >conftest.err
36417 rm -f conftest.er1
36418 cat conftest.err >&5
36419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36420 (exit $ac_status); } &&
36421 { ac_try='test -z "$ac_cxx_werror_flag"
36422 || test ! -s conftest.err'
36423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36424 (eval $ac_try) 2>&5
36425 ac_status=$?
36426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36427 (exit $ac_status); }; } &&
36428 { ac_try='test -s conftest.$ac_objext'
36429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36430 (eval $ac_try) 2>&5
36431 ac_status=$?
36432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36433 (exit $ac_status); }; }; then
36434 glibcxx_cv_func_fabsf_use=yes
36435 else
36436 echo "$as_me: failed program was:" >&5
36437 sed 's/^/| /' conftest.$ac_ext >&5
36439 glibcxx_cv_func_fabsf_use=no
36441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36442 ac_ext=c
36443 ac_cpp='$CPP $CPPFLAGS'
36444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36452 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
36453 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
36455 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36457 for ac_func in fabsf
36459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36460 echo "$as_me:$LINENO: checking for $ac_func" >&5
36461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36462 if eval "test \"\${$as_ac_var+set}\" = set"; then
36463 echo $ECHO_N "(cached) $ECHO_C" >&6
36464 else
36465 if test x$gcc_no_link = xyes; then
36466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36468 { (exit 1); exit 1; }; }
36470 cat >conftest.$ac_ext <<_ACEOF
36471 /* confdefs.h. */
36472 _ACEOF
36473 cat confdefs.h >>conftest.$ac_ext
36474 cat >>conftest.$ac_ext <<_ACEOF
36475 /* end confdefs.h. */
36476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36478 #define $ac_func innocuous_$ac_func
36480 /* System header to define __stub macros and hopefully few prototypes,
36481 which can conflict with char $ac_func (); below.
36482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36483 <limits.h> exists even on freestanding compilers. */
36485 #ifdef __STDC__
36486 # include <limits.h>
36487 #else
36488 # include <assert.h>
36489 #endif
36491 #undef $ac_func
36493 /* Override any gcc2 internal prototype to avoid an error. */
36494 #ifdef __cplusplus
36495 extern "C"
36497 #endif
36498 /* We use char because int might match the return type of a gcc2
36499 builtin and then its argument prototype would still apply. */
36500 char $ac_func ();
36501 /* The GNU C library defines this for functions which it implements
36502 to always fail with ENOSYS. Some functions are actually named
36503 something starting with __ and the normal name is an alias. */
36504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36505 choke me
36506 #else
36507 char (*f) () = $ac_func;
36508 #endif
36509 #ifdef __cplusplus
36511 #endif
36514 main ()
36516 return f != $ac_func;
36518 return 0;
36520 _ACEOF
36521 rm -f conftest.$ac_objext conftest$ac_exeext
36522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36523 (eval $ac_link) 2>conftest.er1
36524 ac_status=$?
36525 grep -v '^ *+' conftest.er1 >conftest.err
36526 rm -f conftest.er1
36527 cat conftest.err >&5
36528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36529 (exit $ac_status); } &&
36530 { ac_try='test -z "$ac_c_werror_flag"
36531 || test ! -s conftest.err'
36532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36533 (eval $ac_try) 2>&5
36534 ac_status=$?
36535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36536 (exit $ac_status); }; } &&
36537 { ac_try='test -s conftest$ac_exeext'
36538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36539 (eval $ac_try) 2>&5
36540 ac_status=$?
36541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36542 (exit $ac_status); }; }; then
36543 eval "$as_ac_var=yes"
36544 else
36545 echo "$as_me: failed program was:" >&5
36546 sed 's/^/| /' conftest.$ac_ext >&5
36548 eval "$as_ac_var=no"
36550 rm -f conftest.err conftest.$ac_objext \
36551 conftest$ac_exeext conftest.$ac_ext
36553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36555 if test `eval echo '${'$as_ac_var'}'` = yes; then
36556 cat >>confdefs.h <<_ACEOF
36557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36558 _ACEOF
36561 done
36563 else
36565 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
36566 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
36567 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36568 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
36569 echo $ECHO_N "(cached) $ECHO_C" >&6
36570 else
36574 ac_ext=cc
36575 ac_cpp='$CXXCPP $CPPFLAGS'
36576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36580 cat >conftest.$ac_ext <<_ACEOF
36581 /* confdefs.h. */
36582 _ACEOF
36583 cat confdefs.h >>conftest.$ac_ext
36584 cat >>conftest.$ac_ext <<_ACEOF
36585 /* end confdefs.h. */
36586 #include <math.h>
36587 #ifdef HAVE_IEEEFP_H
36588 #include <ieeefp.h>
36589 #endif
36592 main ()
36594 _fabsf(0);
36596 return 0;
36598 _ACEOF
36599 rm -f conftest.$ac_objext
36600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36601 (eval $ac_compile) 2>conftest.er1
36602 ac_status=$?
36603 grep -v '^ *+' conftest.er1 >conftest.err
36604 rm -f conftest.er1
36605 cat conftest.err >&5
36606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36607 (exit $ac_status); } &&
36608 { ac_try='test -z "$ac_cxx_werror_flag"
36609 || test ! -s conftest.err'
36610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36611 (eval $ac_try) 2>&5
36612 ac_status=$?
36613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36614 (exit $ac_status); }; } &&
36615 { ac_try='test -s conftest.$ac_objext'
36616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36617 (eval $ac_try) 2>&5
36618 ac_status=$?
36619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36620 (exit $ac_status); }; }; then
36621 glibcxx_cv_func__fabsf_use=yes
36622 else
36623 echo "$as_me: failed program was:" >&5
36624 sed 's/^/| /' conftest.$ac_ext >&5
36626 glibcxx_cv_func__fabsf_use=no
36628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36629 ac_ext=c
36630 ac_cpp='$CPP $CPPFLAGS'
36631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36639 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36640 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36642 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36644 for ac_func in _fabsf
36646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36647 echo "$as_me:$LINENO: checking for $ac_func" >&5
36648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36649 if eval "test \"\${$as_ac_var+set}\" = set"; then
36650 echo $ECHO_N "(cached) $ECHO_C" >&6
36651 else
36652 if test x$gcc_no_link = xyes; then
36653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36655 { (exit 1); exit 1; }; }
36657 cat >conftest.$ac_ext <<_ACEOF
36658 /* confdefs.h. */
36659 _ACEOF
36660 cat confdefs.h >>conftest.$ac_ext
36661 cat >>conftest.$ac_ext <<_ACEOF
36662 /* end confdefs.h. */
36663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36665 #define $ac_func innocuous_$ac_func
36667 /* System header to define __stub macros and hopefully few prototypes,
36668 which can conflict with char $ac_func (); below.
36669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36670 <limits.h> exists even on freestanding compilers. */
36672 #ifdef __STDC__
36673 # include <limits.h>
36674 #else
36675 # include <assert.h>
36676 #endif
36678 #undef $ac_func
36680 /* Override any gcc2 internal prototype to avoid an error. */
36681 #ifdef __cplusplus
36682 extern "C"
36684 #endif
36685 /* We use char because int might match the return type of a gcc2
36686 builtin and then its argument prototype would still apply. */
36687 char $ac_func ();
36688 /* The GNU C library defines this for functions which it implements
36689 to always fail with ENOSYS. Some functions are actually named
36690 something starting with __ and the normal name is an alias. */
36691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36692 choke me
36693 #else
36694 char (*f) () = $ac_func;
36695 #endif
36696 #ifdef __cplusplus
36698 #endif
36701 main ()
36703 return f != $ac_func;
36705 return 0;
36707 _ACEOF
36708 rm -f conftest.$ac_objext conftest$ac_exeext
36709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36710 (eval $ac_link) 2>conftest.er1
36711 ac_status=$?
36712 grep -v '^ *+' conftest.er1 >conftest.err
36713 rm -f conftest.er1
36714 cat conftest.err >&5
36715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36716 (exit $ac_status); } &&
36717 { ac_try='test -z "$ac_c_werror_flag"
36718 || test ! -s conftest.err'
36719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36720 (eval $ac_try) 2>&5
36721 ac_status=$?
36722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36723 (exit $ac_status); }; } &&
36724 { ac_try='test -s conftest$ac_exeext'
36725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36726 (eval $ac_try) 2>&5
36727 ac_status=$?
36728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36729 (exit $ac_status); }; }; then
36730 eval "$as_ac_var=yes"
36731 else
36732 echo "$as_me: failed program was:" >&5
36733 sed 's/^/| /' conftest.$ac_ext >&5
36735 eval "$as_ac_var=no"
36737 rm -f conftest.err conftest.$ac_objext \
36738 conftest$ac_exeext conftest.$ac_ext
36740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36742 if test `eval echo '${'$as_ac_var'}'` = yes; then
36743 cat >>confdefs.h <<_ACEOF
36744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36745 _ACEOF
36748 done
36755 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36756 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36757 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36758 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
36759 echo $ECHO_N "(cached) $ECHO_C" >&6
36760 else
36764 ac_ext=cc
36765 ac_cpp='$CXXCPP $CPPFLAGS'
36766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36770 cat >conftest.$ac_ext <<_ACEOF
36771 /* confdefs.h. */
36772 _ACEOF
36773 cat confdefs.h >>conftest.$ac_ext
36774 cat >>conftest.$ac_ext <<_ACEOF
36775 /* end confdefs.h. */
36776 #include <math.h>
36778 main ()
36780 fmodf(0, 0);
36782 return 0;
36784 _ACEOF
36785 rm -f conftest.$ac_objext
36786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36787 (eval $ac_compile) 2>conftest.er1
36788 ac_status=$?
36789 grep -v '^ *+' conftest.er1 >conftest.err
36790 rm -f conftest.er1
36791 cat conftest.err >&5
36792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36793 (exit $ac_status); } &&
36794 { ac_try='test -z "$ac_cxx_werror_flag"
36795 || test ! -s conftest.err'
36796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36797 (eval $ac_try) 2>&5
36798 ac_status=$?
36799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36800 (exit $ac_status); }; } &&
36801 { ac_try='test -s conftest.$ac_objext'
36802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36803 (eval $ac_try) 2>&5
36804 ac_status=$?
36805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36806 (exit $ac_status); }; }; then
36807 glibcxx_cv_func_fmodf_use=yes
36808 else
36809 echo "$as_me: failed program was:" >&5
36810 sed 's/^/| /' conftest.$ac_ext >&5
36812 glibcxx_cv_func_fmodf_use=no
36814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36815 ac_ext=c
36816 ac_cpp='$CPP $CPPFLAGS'
36817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36825 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
36826 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
36828 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36830 for ac_func in fmodf
36832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36833 echo "$as_me:$LINENO: checking for $ac_func" >&5
36834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36835 if eval "test \"\${$as_ac_var+set}\" = set"; then
36836 echo $ECHO_N "(cached) $ECHO_C" >&6
36837 else
36838 if test x$gcc_no_link = xyes; then
36839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36841 { (exit 1); exit 1; }; }
36843 cat >conftest.$ac_ext <<_ACEOF
36844 /* confdefs.h. */
36845 _ACEOF
36846 cat confdefs.h >>conftest.$ac_ext
36847 cat >>conftest.$ac_ext <<_ACEOF
36848 /* end confdefs.h. */
36849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36851 #define $ac_func innocuous_$ac_func
36853 /* System header to define __stub macros and hopefully few prototypes,
36854 which can conflict with char $ac_func (); below.
36855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36856 <limits.h> exists even on freestanding compilers. */
36858 #ifdef __STDC__
36859 # include <limits.h>
36860 #else
36861 # include <assert.h>
36862 #endif
36864 #undef $ac_func
36866 /* Override any gcc2 internal prototype to avoid an error. */
36867 #ifdef __cplusplus
36868 extern "C"
36870 #endif
36871 /* We use char because int might match the return type of a gcc2
36872 builtin and then its argument prototype would still apply. */
36873 char $ac_func ();
36874 /* The GNU C library defines this for functions which it implements
36875 to always fail with ENOSYS. Some functions are actually named
36876 something starting with __ and the normal name is an alias. */
36877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36878 choke me
36879 #else
36880 char (*f) () = $ac_func;
36881 #endif
36882 #ifdef __cplusplus
36884 #endif
36887 main ()
36889 return f != $ac_func;
36891 return 0;
36893 _ACEOF
36894 rm -f conftest.$ac_objext conftest$ac_exeext
36895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36896 (eval $ac_link) 2>conftest.er1
36897 ac_status=$?
36898 grep -v '^ *+' conftest.er1 >conftest.err
36899 rm -f conftest.er1
36900 cat conftest.err >&5
36901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36902 (exit $ac_status); } &&
36903 { ac_try='test -z "$ac_c_werror_flag"
36904 || test ! -s conftest.err'
36905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36906 (eval $ac_try) 2>&5
36907 ac_status=$?
36908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36909 (exit $ac_status); }; } &&
36910 { ac_try='test -s conftest$ac_exeext'
36911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36912 (eval $ac_try) 2>&5
36913 ac_status=$?
36914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36915 (exit $ac_status); }; }; then
36916 eval "$as_ac_var=yes"
36917 else
36918 echo "$as_me: failed program was:" >&5
36919 sed 's/^/| /' conftest.$ac_ext >&5
36921 eval "$as_ac_var=no"
36923 rm -f conftest.err conftest.$ac_objext \
36924 conftest$ac_exeext conftest.$ac_ext
36926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36928 if test `eval echo '${'$as_ac_var'}'` = yes; then
36929 cat >>confdefs.h <<_ACEOF
36930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36931 _ACEOF
36934 done
36936 else
36938 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
36939 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
36940 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36941 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
36942 echo $ECHO_N "(cached) $ECHO_C" >&6
36943 else
36947 ac_ext=cc
36948 ac_cpp='$CXXCPP $CPPFLAGS'
36949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36953 cat >conftest.$ac_ext <<_ACEOF
36954 /* confdefs.h. */
36955 _ACEOF
36956 cat confdefs.h >>conftest.$ac_ext
36957 cat >>conftest.$ac_ext <<_ACEOF
36958 /* end confdefs.h. */
36959 #include <math.h>
36961 main ()
36963 _fmodf(0, 0);
36965 return 0;
36967 _ACEOF
36968 rm -f conftest.$ac_objext
36969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36970 (eval $ac_compile) 2>conftest.er1
36971 ac_status=$?
36972 grep -v '^ *+' conftest.er1 >conftest.err
36973 rm -f conftest.er1
36974 cat conftest.err >&5
36975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36976 (exit $ac_status); } &&
36977 { ac_try='test -z "$ac_cxx_werror_flag"
36978 || test ! -s conftest.err'
36979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36980 (eval $ac_try) 2>&5
36981 ac_status=$?
36982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36983 (exit $ac_status); }; } &&
36984 { ac_try='test -s conftest.$ac_objext'
36985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36986 (eval $ac_try) 2>&5
36987 ac_status=$?
36988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36989 (exit $ac_status); }; }; then
36990 glibcxx_cv_func__fmodf_use=yes
36991 else
36992 echo "$as_me: failed program was:" >&5
36993 sed 's/^/| /' conftest.$ac_ext >&5
36995 glibcxx_cv_func__fmodf_use=no
36997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36998 ac_ext=c
36999 ac_cpp='$CPP $CPPFLAGS'
37000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37008 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
37009 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
37011 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37013 for ac_func in _fmodf
37015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37016 echo "$as_me:$LINENO: checking for $ac_func" >&5
37017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37018 if eval "test \"\${$as_ac_var+set}\" = set"; then
37019 echo $ECHO_N "(cached) $ECHO_C" >&6
37020 else
37021 if test x$gcc_no_link = xyes; then
37022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37024 { (exit 1); exit 1; }; }
37026 cat >conftest.$ac_ext <<_ACEOF
37027 /* confdefs.h. */
37028 _ACEOF
37029 cat confdefs.h >>conftest.$ac_ext
37030 cat >>conftest.$ac_ext <<_ACEOF
37031 /* end confdefs.h. */
37032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37034 #define $ac_func innocuous_$ac_func
37036 /* System header to define __stub macros and hopefully few prototypes,
37037 which can conflict with char $ac_func (); below.
37038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37039 <limits.h> exists even on freestanding compilers. */
37041 #ifdef __STDC__
37042 # include <limits.h>
37043 #else
37044 # include <assert.h>
37045 #endif
37047 #undef $ac_func
37049 /* Override any gcc2 internal prototype to avoid an error. */
37050 #ifdef __cplusplus
37051 extern "C"
37053 #endif
37054 /* We use char because int might match the return type of a gcc2
37055 builtin and then its argument prototype would still apply. */
37056 char $ac_func ();
37057 /* The GNU C library defines this for functions which it implements
37058 to always fail with ENOSYS. Some functions are actually named
37059 something starting with __ and the normal name is an alias. */
37060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37061 choke me
37062 #else
37063 char (*f) () = $ac_func;
37064 #endif
37065 #ifdef __cplusplus
37067 #endif
37070 main ()
37072 return f != $ac_func;
37074 return 0;
37076 _ACEOF
37077 rm -f conftest.$ac_objext conftest$ac_exeext
37078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37079 (eval $ac_link) 2>conftest.er1
37080 ac_status=$?
37081 grep -v '^ *+' conftest.er1 >conftest.err
37082 rm -f conftest.er1
37083 cat conftest.err >&5
37084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37085 (exit $ac_status); } &&
37086 { ac_try='test -z "$ac_c_werror_flag"
37087 || test ! -s conftest.err'
37088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37089 (eval $ac_try) 2>&5
37090 ac_status=$?
37091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37092 (exit $ac_status); }; } &&
37093 { ac_try='test -s conftest$ac_exeext'
37094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37095 (eval $ac_try) 2>&5
37096 ac_status=$?
37097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37098 (exit $ac_status); }; }; then
37099 eval "$as_ac_var=yes"
37100 else
37101 echo "$as_me: failed program was:" >&5
37102 sed 's/^/| /' conftest.$ac_ext >&5
37104 eval "$as_ac_var=no"
37106 rm -f conftest.err conftest.$ac_objext \
37107 conftest$ac_exeext conftest.$ac_ext
37109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37111 if test `eval echo '${'$as_ac_var'}'` = yes; then
37112 cat >>confdefs.h <<_ACEOF
37113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37114 _ACEOF
37117 done
37124 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
37125 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
37126 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37127 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
37128 echo $ECHO_N "(cached) $ECHO_C" >&6
37129 else
37133 ac_ext=cc
37134 ac_cpp='$CXXCPP $CPPFLAGS'
37135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37139 cat >conftest.$ac_ext <<_ACEOF
37140 /* confdefs.h. */
37141 _ACEOF
37142 cat confdefs.h >>conftest.$ac_ext
37143 cat >>conftest.$ac_ext <<_ACEOF
37144 /* end confdefs.h. */
37145 #include <math.h>
37147 main ()
37149 frexpf(0, 0);
37151 return 0;
37153 _ACEOF
37154 rm -f conftest.$ac_objext
37155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37156 (eval $ac_compile) 2>conftest.er1
37157 ac_status=$?
37158 grep -v '^ *+' conftest.er1 >conftest.err
37159 rm -f conftest.er1
37160 cat conftest.err >&5
37161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37162 (exit $ac_status); } &&
37163 { ac_try='test -z "$ac_cxx_werror_flag"
37164 || test ! -s conftest.err'
37165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37166 (eval $ac_try) 2>&5
37167 ac_status=$?
37168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37169 (exit $ac_status); }; } &&
37170 { ac_try='test -s conftest.$ac_objext'
37171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37172 (eval $ac_try) 2>&5
37173 ac_status=$?
37174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37175 (exit $ac_status); }; }; then
37176 glibcxx_cv_func_frexpf_use=yes
37177 else
37178 echo "$as_me: failed program was:" >&5
37179 sed 's/^/| /' conftest.$ac_ext >&5
37181 glibcxx_cv_func_frexpf_use=no
37183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37184 ac_ext=c
37185 ac_cpp='$CPP $CPPFLAGS'
37186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37194 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
37195 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
37197 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37199 for ac_func in frexpf
37201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37202 echo "$as_me:$LINENO: checking for $ac_func" >&5
37203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37204 if eval "test \"\${$as_ac_var+set}\" = set"; then
37205 echo $ECHO_N "(cached) $ECHO_C" >&6
37206 else
37207 if test x$gcc_no_link = xyes; then
37208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37210 { (exit 1); exit 1; }; }
37212 cat >conftest.$ac_ext <<_ACEOF
37213 /* confdefs.h. */
37214 _ACEOF
37215 cat confdefs.h >>conftest.$ac_ext
37216 cat >>conftest.$ac_ext <<_ACEOF
37217 /* end confdefs.h. */
37218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37220 #define $ac_func innocuous_$ac_func
37222 /* System header to define __stub macros and hopefully few prototypes,
37223 which can conflict with char $ac_func (); below.
37224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37225 <limits.h> exists even on freestanding compilers. */
37227 #ifdef __STDC__
37228 # include <limits.h>
37229 #else
37230 # include <assert.h>
37231 #endif
37233 #undef $ac_func
37235 /* Override any gcc2 internal prototype to avoid an error. */
37236 #ifdef __cplusplus
37237 extern "C"
37239 #endif
37240 /* We use char because int might match the return type of a gcc2
37241 builtin and then its argument prototype would still apply. */
37242 char $ac_func ();
37243 /* The GNU C library defines this for functions which it implements
37244 to always fail with ENOSYS. Some functions are actually named
37245 something starting with __ and the normal name is an alias. */
37246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37247 choke me
37248 #else
37249 char (*f) () = $ac_func;
37250 #endif
37251 #ifdef __cplusplus
37253 #endif
37256 main ()
37258 return f != $ac_func;
37260 return 0;
37262 _ACEOF
37263 rm -f conftest.$ac_objext conftest$ac_exeext
37264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37265 (eval $ac_link) 2>conftest.er1
37266 ac_status=$?
37267 grep -v '^ *+' conftest.er1 >conftest.err
37268 rm -f conftest.er1
37269 cat conftest.err >&5
37270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37271 (exit $ac_status); } &&
37272 { ac_try='test -z "$ac_c_werror_flag"
37273 || test ! -s conftest.err'
37274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37275 (eval $ac_try) 2>&5
37276 ac_status=$?
37277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37278 (exit $ac_status); }; } &&
37279 { ac_try='test -s conftest$ac_exeext'
37280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37281 (eval $ac_try) 2>&5
37282 ac_status=$?
37283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37284 (exit $ac_status); }; }; then
37285 eval "$as_ac_var=yes"
37286 else
37287 echo "$as_me: failed program was:" >&5
37288 sed 's/^/| /' conftest.$ac_ext >&5
37290 eval "$as_ac_var=no"
37292 rm -f conftest.err conftest.$ac_objext \
37293 conftest$ac_exeext conftest.$ac_ext
37295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37297 if test `eval echo '${'$as_ac_var'}'` = yes; then
37298 cat >>confdefs.h <<_ACEOF
37299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37300 _ACEOF
37303 done
37305 else
37307 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
37308 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
37309 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37310 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
37311 echo $ECHO_N "(cached) $ECHO_C" >&6
37312 else
37316 ac_ext=cc
37317 ac_cpp='$CXXCPP $CPPFLAGS'
37318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37322 cat >conftest.$ac_ext <<_ACEOF
37323 /* confdefs.h. */
37324 _ACEOF
37325 cat confdefs.h >>conftest.$ac_ext
37326 cat >>conftest.$ac_ext <<_ACEOF
37327 /* end confdefs.h. */
37328 #include <math.h>
37330 main ()
37332 _frexpf(0, 0);
37334 return 0;
37336 _ACEOF
37337 rm -f conftest.$ac_objext
37338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37339 (eval $ac_compile) 2>conftest.er1
37340 ac_status=$?
37341 grep -v '^ *+' conftest.er1 >conftest.err
37342 rm -f conftest.er1
37343 cat conftest.err >&5
37344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37345 (exit $ac_status); } &&
37346 { ac_try='test -z "$ac_cxx_werror_flag"
37347 || test ! -s conftest.err'
37348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37349 (eval $ac_try) 2>&5
37350 ac_status=$?
37351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37352 (exit $ac_status); }; } &&
37353 { ac_try='test -s conftest.$ac_objext'
37354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37355 (eval $ac_try) 2>&5
37356 ac_status=$?
37357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37358 (exit $ac_status); }; }; then
37359 glibcxx_cv_func__frexpf_use=yes
37360 else
37361 echo "$as_me: failed program was:" >&5
37362 sed 's/^/| /' conftest.$ac_ext >&5
37364 glibcxx_cv_func__frexpf_use=no
37366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37367 ac_ext=c
37368 ac_cpp='$CPP $CPPFLAGS'
37369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37377 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
37378 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
37380 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37382 for ac_func in _frexpf
37384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37385 echo "$as_me:$LINENO: checking for $ac_func" >&5
37386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37387 if eval "test \"\${$as_ac_var+set}\" = set"; then
37388 echo $ECHO_N "(cached) $ECHO_C" >&6
37389 else
37390 if test x$gcc_no_link = xyes; then
37391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37393 { (exit 1); exit 1; }; }
37395 cat >conftest.$ac_ext <<_ACEOF
37396 /* confdefs.h. */
37397 _ACEOF
37398 cat confdefs.h >>conftest.$ac_ext
37399 cat >>conftest.$ac_ext <<_ACEOF
37400 /* end confdefs.h. */
37401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37403 #define $ac_func innocuous_$ac_func
37405 /* System header to define __stub macros and hopefully few prototypes,
37406 which can conflict with char $ac_func (); below.
37407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37408 <limits.h> exists even on freestanding compilers. */
37410 #ifdef __STDC__
37411 # include <limits.h>
37412 #else
37413 # include <assert.h>
37414 #endif
37416 #undef $ac_func
37418 /* Override any gcc2 internal prototype to avoid an error. */
37419 #ifdef __cplusplus
37420 extern "C"
37422 #endif
37423 /* We use char because int might match the return type of a gcc2
37424 builtin and then its argument prototype would still apply. */
37425 char $ac_func ();
37426 /* The GNU C library defines this for functions which it implements
37427 to always fail with ENOSYS. Some functions are actually named
37428 something starting with __ and the normal name is an alias. */
37429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37430 choke me
37431 #else
37432 char (*f) () = $ac_func;
37433 #endif
37434 #ifdef __cplusplus
37436 #endif
37439 main ()
37441 return f != $ac_func;
37443 return 0;
37445 _ACEOF
37446 rm -f conftest.$ac_objext conftest$ac_exeext
37447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37448 (eval $ac_link) 2>conftest.er1
37449 ac_status=$?
37450 grep -v '^ *+' conftest.er1 >conftest.err
37451 rm -f conftest.er1
37452 cat conftest.err >&5
37453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37454 (exit $ac_status); } &&
37455 { ac_try='test -z "$ac_c_werror_flag"
37456 || test ! -s conftest.err'
37457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37458 (eval $ac_try) 2>&5
37459 ac_status=$?
37460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37461 (exit $ac_status); }; } &&
37462 { ac_try='test -s conftest$ac_exeext'
37463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37464 (eval $ac_try) 2>&5
37465 ac_status=$?
37466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37467 (exit $ac_status); }; }; then
37468 eval "$as_ac_var=yes"
37469 else
37470 echo "$as_me: failed program was:" >&5
37471 sed 's/^/| /' conftest.$ac_ext >&5
37473 eval "$as_ac_var=no"
37475 rm -f conftest.err conftest.$ac_objext \
37476 conftest$ac_exeext conftest.$ac_ext
37478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37480 if test `eval echo '${'$as_ac_var'}'` = yes; then
37481 cat >>confdefs.h <<_ACEOF
37482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37483 _ACEOF
37486 done
37493 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
37494 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
37495 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37496 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
37497 echo $ECHO_N "(cached) $ECHO_C" >&6
37498 else
37502 ac_ext=cc
37503 ac_cpp='$CXXCPP $CPPFLAGS'
37504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37508 cat >conftest.$ac_ext <<_ACEOF
37509 /* confdefs.h. */
37510 _ACEOF
37511 cat confdefs.h >>conftest.$ac_ext
37512 cat >>conftest.$ac_ext <<_ACEOF
37513 /* end confdefs.h. */
37514 #include <math.h>
37516 main ()
37518 hypotf(0, 0);
37520 return 0;
37522 _ACEOF
37523 rm -f conftest.$ac_objext
37524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37525 (eval $ac_compile) 2>conftest.er1
37526 ac_status=$?
37527 grep -v '^ *+' conftest.er1 >conftest.err
37528 rm -f conftest.er1
37529 cat conftest.err >&5
37530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37531 (exit $ac_status); } &&
37532 { ac_try='test -z "$ac_cxx_werror_flag"
37533 || test ! -s conftest.err'
37534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37535 (eval $ac_try) 2>&5
37536 ac_status=$?
37537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37538 (exit $ac_status); }; } &&
37539 { ac_try='test -s conftest.$ac_objext'
37540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37541 (eval $ac_try) 2>&5
37542 ac_status=$?
37543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37544 (exit $ac_status); }; }; then
37545 glibcxx_cv_func_hypotf_use=yes
37546 else
37547 echo "$as_me: failed program was:" >&5
37548 sed 's/^/| /' conftest.$ac_ext >&5
37550 glibcxx_cv_func_hypotf_use=no
37552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37553 ac_ext=c
37554 ac_cpp='$CPP $CPPFLAGS'
37555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37563 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
37564 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
37566 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37568 for ac_func in hypotf
37570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37571 echo "$as_me:$LINENO: checking for $ac_func" >&5
37572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37573 if eval "test \"\${$as_ac_var+set}\" = set"; then
37574 echo $ECHO_N "(cached) $ECHO_C" >&6
37575 else
37576 if test x$gcc_no_link = xyes; then
37577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37579 { (exit 1); exit 1; }; }
37581 cat >conftest.$ac_ext <<_ACEOF
37582 /* confdefs.h. */
37583 _ACEOF
37584 cat confdefs.h >>conftest.$ac_ext
37585 cat >>conftest.$ac_ext <<_ACEOF
37586 /* end confdefs.h. */
37587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37589 #define $ac_func innocuous_$ac_func
37591 /* System header to define __stub macros and hopefully few prototypes,
37592 which can conflict with char $ac_func (); below.
37593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37594 <limits.h> exists even on freestanding compilers. */
37596 #ifdef __STDC__
37597 # include <limits.h>
37598 #else
37599 # include <assert.h>
37600 #endif
37602 #undef $ac_func
37604 /* Override any gcc2 internal prototype to avoid an error. */
37605 #ifdef __cplusplus
37606 extern "C"
37608 #endif
37609 /* We use char because int might match the return type of a gcc2
37610 builtin and then its argument prototype would still apply. */
37611 char $ac_func ();
37612 /* The GNU C library defines this for functions which it implements
37613 to always fail with ENOSYS. Some functions are actually named
37614 something starting with __ and the normal name is an alias. */
37615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37616 choke me
37617 #else
37618 char (*f) () = $ac_func;
37619 #endif
37620 #ifdef __cplusplus
37622 #endif
37625 main ()
37627 return f != $ac_func;
37629 return 0;
37631 _ACEOF
37632 rm -f conftest.$ac_objext conftest$ac_exeext
37633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37634 (eval $ac_link) 2>conftest.er1
37635 ac_status=$?
37636 grep -v '^ *+' conftest.er1 >conftest.err
37637 rm -f conftest.er1
37638 cat conftest.err >&5
37639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37640 (exit $ac_status); } &&
37641 { ac_try='test -z "$ac_c_werror_flag"
37642 || test ! -s conftest.err'
37643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37644 (eval $ac_try) 2>&5
37645 ac_status=$?
37646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37647 (exit $ac_status); }; } &&
37648 { ac_try='test -s conftest$ac_exeext'
37649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37650 (eval $ac_try) 2>&5
37651 ac_status=$?
37652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37653 (exit $ac_status); }; }; then
37654 eval "$as_ac_var=yes"
37655 else
37656 echo "$as_me: failed program was:" >&5
37657 sed 's/^/| /' conftest.$ac_ext >&5
37659 eval "$as_ac_var=no"
37661 rm -f conftest.err conftest.$ac_objext \
37662 conftest$ac_exeext conftest.$ac_ext
37664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37666 if test `eval echo '${'$as_ac_var'}'` = yes; then
37667 cat >>confdefs.h <<_ACEOF
37668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37669 _ACEOF
37672 done
37674 else
37676 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37677 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37678 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37679 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37680 echo $ECHO_N "(cached) $ECHO_C" >&6
37681 else
37685 ac_ext=cc
37686 ac_cpp='$CXXCPP $CPPFLAGS'
37687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37691 cat >conftest.$ac_ext <<_ACEOF
37692 /* confdefs.h. */
37693 _ACEOF
37694 cat confdefs.h >>conftest.$ac_ext
37695 cat >>conftest.$ac_ext <<_ACEOF
37696 /* end confdefs.h. */
37697 #include <math.h>
37699 main ()
37701 _hypotf(0, 0);
37703 return 0;
37705 _ACEOF
37706 rm -f conftest.$ac_objext
37707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37708 (eval $ac_compile) 2>conftest.er1
37709 ac_status=$?
37710 grep -v '^ *+' conftest.er1 >conftest.err
37711 rm -f conftest.er1
37712 cat conftest.err >&5
37713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37714 (exit $ac_status); } &&
37715 { ac_try='test -z "$ac_cxx_werror_flag"
37716 || test ! -s conftest.err'
37717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37718 (eval $ac_try) 2>&5
37719 ac_status=$?
37720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37721 (exit $ac_status); }; } &&
37722 { ac_try='test -s conftest.$ac_objext'
37723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37724 (eval $ac_try) 2>&5
37725 ac_status=$?
37726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37727 (exit $ac_status); }; }; then
37728 glibcxx_cv_func__hypotf_use=yes
37729 else
37730 echo "$as_me: failed program was:" >&5
37731 sed 's/^/| /' conftest.$ac_ext >&5
37733 glibcxx_cv_func__hypotf_use=no
37735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37736 ac_ext=c
37737 ac_cpp='$CPP $CPPFLAGS'
37738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37746 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37747 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37749 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37751 for ac_func in _hypotf
37753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37754 echo "$as_me:$LINENO: checking for $ac_func" >&5
37755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37756 if eval "test \"\${$as_ac_var+set}\" = set"; then
37757 echo $ECHO_N "(cached) $ECHO_C" >&6
37758 else
37759 if test x$gcc_no_link = xyes; then
37760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37762 { (exit 1); exit 1; }; }
37764 cat >conftest.$ac_ext <<_ACEOF
37765 /* confdefs.h. */
37766 _ACEOF
37767 cat confdefs.h >>conftest.$ac_ext
37768 cat >>conftest.$ac_ext <<_ACEOF
37769 /* end confdefs.h. */
37770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37772 #define $ac_func innocuous_$ac_func
37774 /* System header to define __stub macros and hopefully few prototypes,
37775 which can conflict with char $ac_func (); below.
37776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37777 <limits.h> exists even on freestanding compilers. */
37779 #ifdef __STDC__
37780 # include <limits.h>
37781 #else
37782 # include <assert.h>
37783 #endif
37785 #undef $ac_func
37787 /* Override any gcc2 internal prototype to avoid an error. */
37788 #ifdef __cplusplus
37789 extern "C"
37791 #endif
37792 /* We use char because int might match the return type of a gcc2
37793 builtin and then its argument prototype would still apply. */
37794 char $ac_func ();
37795 /* The GNU C library defines this for functions which it implements
37796 to always fail with ENOSYS. Some functions are actually named
37797 something starting with __ and the normal name is an alias. */
37798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37799 choke me
37800 #else
37801 char (*f) () = $ac_func;
37802 #endif
37803 #ifdef __cplusplus
37805 #endif
37808 main ()
37810 return f != $ac_func;
37812 return 0;
37814 _ACEOF
37815 rm -f conftest.$ac_objext conftest$ac_exeext
37816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37817 (eval $ac_link) 2>conftest.er1
37818 ac_status=$?
37819 grep -v '^ *+' conftest.er1 >conftest.err
37820 rm -f conftest.er1
37821 cat conftest.err >&5
37822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37823 (exit $ac_status); } &&
37824 { ac_try='test -z "$ac_c_werror_flag"
37825 || test ! -s conftest.err'
37826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37827 (eval $ac_try) 2>&5
37828 ac_status=$?
37829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37830 (exit $ac_status); }; } &&
37831 { ac_try='test -s conftest$ac_exeext'
37832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37833 (eval $ac_try) 2>&5
37834 ac_status=$?
37835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37836 (exit $ac_status); }; }; then
37837 eval "$as_ac_var=yes"
37838 else
37839 echo "$as_me: failed program was:" >&5
37840 sed 's/^/| /' conftest.$ac_ext >&5
37842 eval "$as_ac_var=no"
37844 rm -f conftest.err conftest.$ac_objext \
37845 conftest$ac_exeext conftest.$ac_ext
37847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37849 if test `eval echo '${'$as_ac_var'}'` = yes; then
37850 cat >>confdefs.h <<_ACEOF
37851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37852 _ACEOF
37855 done
37862 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
37863 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
37864 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37865 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
37866 echo $ECHO_N "(cached) $ECHO_C" >&6
37867 else
37871 ac_ext=cc
37872 ac_cpp='$CXXCPP $CPPFLAGS'
37873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37877 cat >conftest.$ac_ext <<_ACEOF
37878 /* confdefs.h. */
37879 _ACEOF
37880 cat confdefs.h >>conftest.$ac_ext
37881 cat >>conftest.$ac_ext <<_ACEOF
37882 /* end confdefs.h. */
37883 #include <math.h>
37885 main ()
37887 ldexpf(0, 0);
37889 return 0;
37891 _ACEOF
37892 rm -f conftest.$ac_objext
37893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37894 (eval $ac_compile) 2>conftest.er1
37895 ac_status=$?
37896 grep -v '^ *+' conftest.er1 >conftest.err
37897 rm -f conftest.er1
37898 cat conftest.err >&5
37899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37900 (exit $ac_status); } &&
37901 { ac_try='test -z "$ac_cxx_werror_flag"
37902 || test ! -s conftest.err'
37903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37904 (eval $ac_try) 2>&5
37905 ac_status=$?
37906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37907 (exit $ac_status); }; } &&
37908 { ac_try='test -s conftest.$ac_objext'
37909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37910 (eval $ac_try) 2>&5
37911 ac_status=$?
37912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37913 (exit $ac_status); }; }; then
37914 glibcxx_cv_func_ldexpf_use=yes
37915 else
37916 echo "$as_me: failed program was:" >&5
37917 sed 's/^/| /' conftest.$ac_ext >&5
37919 glibcxx_cv_func_ldexpf_use=no
37921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37922 ac_ext=c
37923 ac_cpp='$CPP $CPPFLAGS'
37924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37932 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
37933 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
37935 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37937 for ac_func in ldexpf
37939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37940 echo "$as_me:$LINENO: checking for $ac_func" >&5
37941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37942 if eval "test \"\${$as_ac_var+set}\" = set"; then
37943 echo $ECHO_N "(cached) $ECHO_C" >&6
37944 else
37945 if test x$gcc_no_link = xyes; then
37946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37948 { (exit 1); exit 1; }; }
37950 cat >conftest.$ac_ext <<_ACEOF
37951 /* confdefs.h. */
37952 _ACEOF
37953 cat confdefs.h >>conftest.$ac_ext
37954 cat >>conftest.$ac_ext <<_ACEOF
37955 /* end confdefs.h. */
37956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37958 #define $ac_func innocuous_$ac_func
37960 /* System header to define __stub macros and hopefully few prototypes,
37961 which can conflict with char $ac_func (); below.
37962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37963 <limits.h> exists even on freestanding compilers. */
37965 #ifdef __STDC__
37966 # include <limits.h>
37967 #else
37968 # include <assert.h>
37969 #endif
37971 #undef $ac_func
37973 /* Override any gcc2 internal prototype to avoid an error. */
37974 #ifdef __cplusplus
37975 extern "C"
37977 #endif
37978 /* We use char because int might match the return type of a gcc2
37979 builtin and then its argument prototype would still apply. */
37980 char $ac_func ();
37981 /* The GNU C library defines this for functions which it implements
37982 to always fail with ENOSYS. Some functions are actually named
37983 something starting with __ and the normal name is an alias. */
37984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37985 choke me
37986 #else
37987 char (*f) () = $ac_func;
37988 #endif
37989 #ifdef __cplusplus
37991 #endif
37994 main ()
37996 return f != $ac_func;
37998 return 0;
38000 _ACEOF
38001 rm -f conftest.$ac_objext conftest$ac_exeext
38002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38003 (eval $ac_link) 2>conftest.er1
38004 ac_status=$?
38005 grep -v '^ *+' conftest.er1 >conftest.err
38006 rm -f conftest.er1
38007 cat conftest.err >&5
38008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38009 (exit $ac_status); } &&
38010 { ac_try='test -z "$ac_c_werror_flag"
38011 || test ! -s conftest.err'
38012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38013 (eval $ac_try) 2>&5
38014 ac_status=$?
38015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38016 (exit $ac_status); }; } &&
38017 { ac_try='test -s conftest$ac_exeext'
38018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38019 (eval $ac_try) 2>&5
38020 ac_status=$?
38021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38022 (exit $ac_status); }; }; then
38023 eval "$as_ac_var=yes"
38024 else
38025 echo "$as_me: failed program was:" >&5
38026 sed 's/^/| /' conftest.$ac_ext >&5
38028 eval "$as_ac_var=no"
38030 rm -f conftest.err conftest.$ac_objext \
38031 conftest$ac_exeext conftest.$ac_ext
38033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38035 if test `eval echo '${'$as_ac_var'}'` = yes; then
38036 cat >>confdefs.h <<_ACEOF
38037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38038 _ACEOF
38041 done
38043 else
38045 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
38046 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
38047 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38048 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
38049 echo $ECHO_N "(cached) $ECHO_C" >&6
38050 else
38054 ac_ext=cc
38055 ac_cpp='$CXXCPP $CPPFLAGS'
38056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38060 cat >conftest.$ac_ext <<_ACEOF
38061 /* confdefs.h. */
38062 _ACEOF
38063 cat confdefs.h >>conftest.$ac_ext
38064 cat >>conftest.$ac_ext <<_ACEOF
38065 /* end confdefs.h. */
38066 #include <math.h>
38068 main ()
38070 _ldexpf(0, 0);
38072 return 0;
38074 _ACEOF
38075 rm -f conftest.$ac_objext
38076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38077 (eval $ac_compile) 2>conftest.er1
38078 ac_status=$?
38079 grep -v '^ *+' conftest.er1 >conftest.err
38080 rm -f conftest.er1
38081 cat conftest.err >&5
38082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38083 (exit $ac_status); } &&
38084 { ac_try='test -z "$ac_cxx_werror_flag"
38085 || test ! -s conftest.err'
38086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38087 (eval $ac_try) 2>&5
38088 ac_status=$?
38089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38090 (exit $ac_status); }; } &&
38091 { ac_try='test -s conftest.$ac_objext'
38092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38093 (eval $ac_try) 2>&5
38094 ac_status=$?
38095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38096 (exit $ac_status); }; }; then
38097 glibcxx_cv_func__ldexpf_use=yes
38098 else
38099 echo "$as_me: failed program was:" >&5
38100 sed 's/^/| /' conftest.$ac_ext >&5
38102 glibcxx_cv_func__ldexpf_use=no
38104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38105 ac_ext=c
38106 ac_cpp='$CPP $CPPFLAGS'
38107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38115 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
38116 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
38118 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38120 for ac_func in _ldexpf
38122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38123 echo "$as_me:$LINENO: checking for $ac_func" >&5
38124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38125 if eval "test \"\${$as_ac_var+set}\" = set"; then
38126 echo $ECHO_N "(cached) $ECHO_C" >&6
38127 else
38128 if test x$gcc_no_link = xyes; then
38129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38131 { (exit 1); exit 1; }; }
38133 cat >conftest.$ac_ext <<_ACEOF
38134 /* confdefs.h. */
38135 _ACEOF
38136 cat confdefs.h >>conftest.$ac_ext
38137 cat >>conftest.$ac_ext <<_ACEOF
38138 /* end confdefs.h. */
38139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38141 #define $ac_func innocuous_$ac_func
38143 /* System header to define __stub macros and hopefully few prototypes,
38144 which can conflict with char $ac_func (); below.
38145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38146 <limits.h> exists even on freestanding compilers. */
38148 #ifdef __STDC__
38149 # include <limits.h>
38150 #else
38151 # include <assert.h>
38152 #endif
38154 #undef $ac_func
38156 /* Override any gcc2 internal prototype to avoid an error. */
38157 #ifdef __cplusplus
38158 extern "C"
38160 #endif
38161 /* We use char because int might match the return type of a gcc2
38162 builtin and then its argument prototype would still apply. */
38163 char $ac_func ();
38164 /* The GNU C library defines this for functions which it implements
38165 to always fail with ENOSYS. Some functions are actually named
38166 something starting with __ and the normal name is an alias. */
38167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38168 choke me
38169 #else
38170 char (*f) () = $ac_func;
38171 #endif
38172 #ifdef __cplusplus
38174 #endif
38177 main ()
38179 return f != $ac_func;
38181 return 0;
38183 _ACEOF
38184 rm -f conftest.$ac_objext conftest$ac_exeext
38185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38186 (eval $ac_link) 2>conftest.er1
38187 ac_status=$?
38188 grep -v '^ *+' conftest.er1 >conftest.err
38189 rm -f conftest.er1
38190 cat conftest.err >&5
38191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38192 (exit $ac_status); } &&
38193 { ac_try='test -z "$ac_c_werror_flag"
38194 || test ! -s conftest.err'
38195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38196 (eval $ac_try) 2>&5
38197 ac_status=$?
38198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38199 (exit $ac_status); }; } &&
38200 { ac_try='test -s conftest$ac_exeext'
38201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38202 (eval $ac_try) 2>&5
38203 ac_status=$?
38204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38205 (exit $ac_status); }; }; then
38206 eval "$as_ac_var=yes"
38207 else
38208 echo "$as_me: failed program was:" >&5
38209 sed 's/^/| /' conftest.$ac_ext >&5
38211 eval "$as_ac_var=no"
38213 rm -f conftest.err conftest.$ac_objext \
38214 conftest$ac_exeext conftest.$ac_ext
38216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38218 if test `eval echo '${'$as_ac_var'}'` = yes; then
38219 cat >>confdefs.h <<_ACEOF
38220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38221 _ACEOF
38224 done
38231 echo "$as_me:$LINENO: checking for logf declaration" >&5
38232 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
38233 if test x${glibcxx_cv_func_logf_use+set} != xset; then
38234 if test "${glibcxx_cv_func_logf_use+set}" = set; then
38235 echo $ECHO_N "(cached) $ECHO_C" >&6
38236 else
38240 ac_ext=cc
38241 ac_cpp='$CXXCPP $CPPFLAGS'
38242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38246 cat >conftest.$ac_ext <<_ACEOF
38247 /* confdefs.h. */
38248 _ACEOF
38249 cat confdefs.h >>conftest.$ac_ext
38250 cat >>conftest.$ac_ext <<_ACEOF
38251 /* end confdefs.h. */
38252 #include <math.h>
38253 #ifdef HAVE_IEEEFP_H
38254 #include <ieeefp.h>
38255 #endif
38258 main ()
38260 logf(0);
38262 return 0;
38264 _ACEOF
38265 rm -f conftest.$ac_objext
38266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38267 (eval $ac_compile) 2>conftest.er1
38268 ac_status=$?
38269 grep -v '^ *+' conftest.er1 >conftest.err
38270 rm -f conftest.er1
38271 cat conftest.err >&5
38272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38273 (exit $ac_status); } &&
38274 { ac_try='test -z "$ac_cxx_werror_flag"
38275 || test ! -s conftest.err'
38276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38277 (eval $ac_try) 2>&5
38278 ac_status=$?
38279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38280 (exit $ac_status); }; } &&
38281 { ac_try='test -s conftest.$ac_objext'
38282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38283 (eval $ac_try) 2>&5
38284 ac_status=$?
38285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38286 (exit $ac_status); }; }; then
38287 glibcxx_cv_func_logf_use=yes
38288 else
38289 echo "$as_me: failed program was:" >&5
38290 sed 's/^/| /' conftest.$ac_ext >&5
38292 glibcxx_cv_func_logf_use=no
38294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38295 ac_ext=c
38296 ac_cpp='$CPP $CPPFLAGS'
38297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38305 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
38306 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
38308 if test x$glibcxx_cv_func_logf_use = x"yes"; then
38310 for ac_func in logf
38312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38313 echo "$as_me:$LINENO: checking for $ac_func" >&5
38314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38315 if eval "test \"\${$as_ac_var+set}\" = set"; then
38316 echo $ECHO_N "(cached) $ECHO_C" >&6
38317 else
38318 if test x$gcc_no_link = xyes; then
38319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38321 { (exit 1); exit 1; }; }
38323 cat >conftest.$ac_ext <<_ACEOF
38324 /* confdefs.h. */
38325 _ACEOF
38326 cat confdefs.h >>conftest.$ac_ext
38327 cat >>conftest.$ac_ext <<_ACEOF
38328 /* end confdefs.h. */
38329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38331 #define $ac_func innocuous_$ac_func
38333 /* System header to define __stub macros and hopefully few prototypes,
38334 which can conflict with char $ac_func (); below.
38335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38336 <limits.h> exists even on freestanding compilers. */
38338 #ifdef __STDC__
38339 # include <limits.h>
38340 #else
38341 # include <assert.h>
38342 #endif
38344 #undef $ac_func
38346 /* Override any gcc2 internal prototype to avoid an error. */
38347 #ifdef __cplusplus
38348 extern "C"
38350 #endif
38351 /* We use char because int might match the return type of a gcc2
38352 builtin and then its argument prototype would still apply. */
38353 char $ac_func ();
38354 /* The GNU C library defines this for functions which it implements
38355 to always fail with ENOSYS. Some functions are actually named
38356 something starting with __ and the normal name is an alias. */
38357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38358 choke me
38359 #else
38360 char (*f) () = $ac_func;
38361 #endif
38362 #ifdef __cplusplus
38364 #endif
38367 main ()
38369 return f != $ac_func;
38371 return 0;
38373 _ACEOF
38374 rm -f conftest.$ac_objext conftest$ac_exeext
38375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38376 (eval $ac_link) 2>conftest.er1
38377 ac_status=$?
38378 grep -v '^ *+' conftest.er1 >conftest.err
38379 rm -f conftest.er1
38380 cat conftest.err >&5
38381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38382 (exit $ac_status); } &&
38383 { ac_try='test -z "$ac_c_werror_flag"
38384 || test ! -s conftest.err'
38385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38386 (eval $ac_try) 2>&5
38387 ac_status=$?
38388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38389 (exit $ac_status); }; } &&
38390 { ac_try='test -s conftest$ac_exeext'
38391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38392 (eval $ac_try) 2>&5
38393 ac_status=$?
38394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38395 (exit $ac_status); }; }; then
38396 eval "$as_ac_var=yes"
38397 else
38398 echo "$as_me: failed program was:" >&5
38399 sed 's/^/| /' conftest.$ac_ext >&5
38401 eval "$as_ac_var=no"
38403 rm -f conftest.err conftest.$ac_objext \
38404 conftest$ac_exeext conftest.$ac_ext
38406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38408 if test `eval echo '${'$as_ac_var'}'` = yes; then
38409 cat >>confdefs.h <<_ACEOF
38410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38411 _ACEOF
38414 done
38416 else
38418 echo "$as_me:$LINENO: checking for _logf declaration" >&5
38419 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
38420 if test x${glibcxx_cv_func__logf_use+set} != xset; then
38421 if test "${glibcxx_cv_func__logf_use+set}" = set; then
38422 echo $ECHO_N "(cached) $ECHO_C" >&6
38423 else
38427 ac_ext=cc
38428 ac_cpp='$CXXCPP $CPPFLAGS'
38429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38433 cat >conftest.$ac_ext <<_ACEOF
38434 /* confdefs.h. */
38435 _ACEOF
38436 cat confdefs.h >>conftest.$ac_ext
38437 cat >>conftest.$ac_ext <<_ACEOF
38438 /* end confdefs.h. */
38439 #include <math.h>
38440 #ifdef HAVE_IEEEFP_H
38441 #include <ieeefp.h>
38442 #endif
38445 main ()
38447 _logf(0);
38449 return 0;
38451 _ACEOF
38452 rm -f conftest.$ac_objext
38453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38454 (eval $ac_compile) 2>conftest.er1
38455 ac_status=$?
38456 grep -v '^ *+' conftest.er1 >conftest.err
38457 rm -f conftest.er1
38458 cat conftest.err >&5
38459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38460 (exit $ac_status); } &&
38461 { ac_try='test -z "$ac_cxx_werror_flag"
38462 || test ! -s conftest.err'
38463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38464 (eval $ac_try) 2>&5
38465 ac_status=$?
38466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38467 (exit $ac_status); }; } &&
38468 { ac_try='test -s conftest.$ac_objext'
38469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38470 (eval $ac_try) 2>&5
38471 ac_status=$?
38472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38473 (exit $ac_status); }; }; then
38474 glibcxx_cv_func__logf_use=yes
38475 else
38476 echo "$as_me: failed program was:" >&5
38477 sed 's/^/| /' conftest.$ac_ext >&5
38479 glibcxx_cv_func__logf_use=no
38481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38482 ac_ext=c
38483 ac_cpp='$CPP $CPPFLAGS'
38484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38492 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
38493 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
38495 if test x$glibcxx_cv_func__logf_use = x"yes"; then
38497 for ac_func in _logf
38499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38500 echo "$as_me:$LINENO: checking for $ac_func" >&5
38501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38502 if eval "test \"\${$as_ac_var+set}\" = set"; then
38503 echo $ECHO_N "(cached) $ECHO_C" >&6
38504 else
38505 if test x$gcc_no_link = xyes; then
38506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38508 { (exit 1); exit 1; }; }
38510 cat >conftest.$ac_ext <<_ACEOF
38511 /* confdefs.h. */
38512 _ACEOF
38513 cat confdefs.h >>conftest.$ac_ext
38514 cat >>conftest.$ac_ext <<_ACEOF
38515 /* end confdefs.h. */
38516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38518 #define $ac_func innocuous_$ac_func
38520 /* System header to define __stub macros and hopefully few prototypes,
38521 which can conflict with char $ac_func (); below.
38522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38523 <limits.h> exists even on freestanding compilers. */
38525 #ifdef __STDC__
38526 # include <limits.h>
38527 #else
38528 # include <assert.h>
38529 #endif
38531 #undef $ac_func
38533 /* Override any gcc2 internal prototype to avoid an error. */
38534 #ifdef __cplusplus
38535 extern "C"
38537 #endif
38538 /* We use char because int might match the return type of a gcc2
38539 builtin and then its argument prototype would still apply. */
38540 char $ac_func ();
38541 /* The GNU C library defines this for functions which it implements
38542 to always fail with ENOSYS. Some functions are actually named
38543 something starting with __ and the normal name is an alias. */
38544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38545 choke me
38546 #else
38547 char (*f) () = $ac_func;
38548 #endif
38549 #ifdef __cplusplus
38551 #endif
38554 main ()
38556 return f != $ac_func;
38558 return 0;
38560 _ACEOF
38561 rm -f conftest.$ac_objext conftest$ac_exeext
38562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38563 (eval $ac_link) 2>conftest.er1
38564 ac_status=$?
38565 grep -v '^ *+' conftest.er1 >conftest.err
38566 rm -f conftest.er1
38567 cat conftest.err >&5
38568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38569 (exit $ac_status); } &&
38570 { ac_try='test -z "$ac_c_werror_flag"
38571 || test ! -s conftest.err'
38572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38573 (eval $ac_try) 2>&5
38574 ac_status=$?
38575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38576 (exit $ac_status); }; } &&
38577 { ac_try='test -s conftest$ac_exeext'
38578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38579 (eval $ac_try) 2>&5
38580 ac_status=$?
38581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38582 (exit $ac_status); }; }; then
38583 eval "$as_ac_var=yes"
38584 else
38585 echo "$as_me: failed program was:" >&5
38586 sed 's/^/| /' conftest.$ac_ext >&5
38588 eval "$as_ac_var=no"
38590 rm -f conftest.err conftest.$ac_objext \
38591 conftest$ac_exeext conftest.$ac_ext
38593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38595 if test `eval echo '${'$as_ac_var'}'` = yes; then
38596 cat >>confdefs.h <<_ACEOF
38597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38598 _ACEOF
38601 done
38608 echo "$as_me:$LINENO: checking for log10f declaration" >&5
38609 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
38610 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38611 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
38612 echo $ECHO_N "(cached) $ECHO_C" >&6
38613 else
38617 ac_ext=cc
38618 ac_cpp='$CXXCPP $CPPFLAGS'
38619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38623 cat >conftest.$ac_ext <<_ACEOF
38624 /* confdefs.h. */
38625 _ACEOF
38626 cat confdefs.h >>conftest.$ac_ext
38627 cat >>conftest.$ac_ext <<_ACEOF
38628 /* end confdefs.h. */
38629 #include <math.h>
38630 #ifdef HAVE_IEEEFP_H
38631 #include <ieeefp.h>
38632 #endif
38635 main ()
38637 log10f(0);
38639 return 0;
38641 _ACEOF
38642 rm -f conftest.$ac_objext
38643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38644 (eval $ac_compile) 2>conftest.er1
38645 ac_status=$?
38646 grep -v '^ *+' conftest.er1 >conftest.err
38647 rm -f conftest.er1
38648 cat conftest.err >&5
38649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38650 (exit $ac_status); } &&
38651 { ac_try='test -z "$ac_cxx_werror_flag"
38652 || test ! -s conftest.err'
38653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38654 (eval $ac_try) 2>&5
38655 ac_status=$?
38656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38657 (exit $ac_status); }; } &&
38658 { ac_try='test -s conftest.$ac_objext'
38659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38660 (eval $ac_try) 2>&5
38661 ac_status=$?
38662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38663 (exit $ac_status); }; }; then
38664 glibcxx_cv_func_log10f_use=yes
38665 else
38666 echo "$as_me: failed program was:" >&5
38667 sed 's/^/| /' conftest.$ac_ext >&5
38669 glibcxx_cv_func_log10f_use=no
38671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38672 ac_ext=c
38673 ac_cpp='$CPP $CPPFLAGS'
38674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38682 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38683 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38685 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38687 for ac_func in log10f
38689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38690 echo "$as_me:$LINENO: checking for $ac_func" >&5
38691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38692 if eval "test \"\${$as_ac_var+set}\" = set"; then
38693 echo $ECHO_N "(cached) $ECHO_C" >&6
38694 else
38695 if test x$gcc_no_link = xyes; then
38696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38698 { (exit 1); exit 1; }; }
38700 cat >conftest.$ac_ext <<_ACEOF
38701 /* confdefs.h. */
38702 _ACEOF
38703 cat confdefs.h >>conftest.$ac_ext
38704 cat >>conftest.$ac_ext <<_ACEOF
38705 /* end confdefs.h. */
38706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38708 #define $ac_func innocuous_$ac_func
38710 /* System header to define __stub macros and hopefully few prototypes,
38711 which can conflict with char $ac_func (); below.
38712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38713 <limits.h> exists even on freestanding compilers. */
38715 #ifdef __STDC__
38716 # include <limits.h>
38717 #else
38718 # include <assert.h>
38719 #endif
38721 #undef $ac_func
38723 /* Override any gcc2 internal prototype to avoid an error. */
38724 #ifdef __cplusplus
38725 extern "C"
38727 #endif
38728 /* We use char because int might match the return type of a gcc2
38729 builtin and then its argument prototype would still apply. */
38730 char $ac_func ();
38731 /* The GNU C library defines this for functions which it implements
38732 to always fail with ENOSYS. Some functions are actually named
38733 something starting with __ and the normal name is an alias. */
38734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38735 choke me
38736 #else
38737 char (*f) () = $ac_func;
38738 #endif
38739 #ifdef __cplusplus
38741 #endif
38744 main ()
38746 return f != $ac_func;
38748 return 0;
38750 _ACEOF
38751 rm -f conftest.$ac_objext conftest$ac_exeext
38752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38753 (eval $ac_link) 2>conftest.er1
38754 ac_status=$?
38755 grep -v '^ *+' conftest.er1 >conftest.err
38756 rm -f conftest.er1
38757 cat conftest.err >&5
38758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38759 (exit $ac_status); } &&
38760 { ac_try='test -z "$ac_c_werror_flag"
38761 || test ! -s conftest.err'
38762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38763 (eval $ac_try) 2>&5
38764 ac_status=$?
38765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38766 (exit $ac_status); }; } &&
38767 { ac_try='test -s conftest$ac_exeext'
38768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38769 (eval $ac_try) 2>&5
38770 ac_status=$?
38771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38772 (exit $ac_status); }; }; then
38773 eval "$as_ac_var=yes"
38774 else
38775 echo "$as_me: failed program was:" >&5
38776 sed 's/^/| /' conftest.$ac_ext >&5
38778 eval "$as_ac_var=no"
38780 rm -f conftest.err conftest.$ac_objext \
38781 conftest$ac_exeext conftest.$ac_ext
38783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38785 if test `eval echo '${'$as_ac_var'}'` = yes; then
38786 cat >>confdefs.h <<_ACEOF
38787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38788 _ACEOF
38791 done
38793 else
38795 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
38796 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
38797 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38798 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
38799 echo $ECHO_N "(cached) $ECHO_C" >&6
38800 else
38804 ac_ext=cc
38805 ac_cpp='$CXXCPP $CPPFLAGS'
38806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38810 cat >conftest.$ac_ext <<_ACEOF
38811 /* confdefs.h. */
38812 _ACEOF
38813 cat confdefs.h >>conftest.$ac_ext
38814 cat >>conftest.$ac_ext <<_ACEOF
38815 /* end confdefs.h. */
38816 #include <math.h>
38817 #ifdef HAVE_IEEEFP_H
38818 #include <ieeefp.h>
38819 #endif
38822 main ()
38824 _log10f(0);
38826 return 0;
38828 _ACEOF
38829 rm -f conftest.$ac_objext
38830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38831 (eval $ac_compile) 2>conftest.er1
38832 ac_status=$?
38833 grep -v '^ *+' conftest.er1 >conftest.err
38834 rm -f conftest.er1
38835 cat conftest.err >&5
38836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38837 (exit $ac_status); } &&
38838 { ac_try='test -z "$ac_cxx_werror_flag"
38839 || test ! -s conftest.err'
38840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38841 (eval $ac_try) 2>&5
38842 ac_status=$?
38843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38844 (exit $ac_status); }; } &&
38845 { ac_try='test -s conftest.$ac_objext'
38846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38847 (eval $ac_try) 2>&5
38848 ac_status=$?
38849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38850 (exit $ac_status); }; }; then
38851 glibcxx_cv_func__log10f_use=yes
38852 else
38853 echo "$as_me: failed program was:" >&5
38854 sed 's/^/| /' conftest.$ac_ext >&5
38856 glibcxx_cv_func__log10f_use=no
38858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38859 ac_ext=c
38860 ac_cpp='$CPP $CPPFLAGS'
38861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38869 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
38870 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
38872 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38874 for ac_func in _log10f
38876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38877 echo "$as_me:$LINENO: checking for $ac_func" >&5
38878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38879 if eval "test \"\${$as_ac_var+set}\" = set"; then
38880 echo $ECHO_N "(cached) $ECHO_C" >&6
38881 else
38882 if test x$gcc_no_link = xyes; then
38883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38885 { (exit 1); exit 1; }; }
38887 cat >conftest.$ac_ext <<_ACEOF
38888 /* confdefs.h. */
38889 _ACEOF
38890 cat confdefs.h >>conftest.$ac_ext
38891 cat >>conftest.$ac_ext <<_ACEOF
38892 /* end confdefs.h. */
38893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38895 #define $ac_func innocuous_$ac_func
38897 /* System header to define __stub macros and hopefully few prototypes,
38898 which can conflict with char $ac_func (); below.
38899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38900 <limits.h> exists even on freestanding compilers. */
38902 #ifdef __STDC__
38903 # include <limits.h>
38904 #else
38905 # include <assert.h>
38906 #endif
38908 #undef $ac_func
38910 /* Override any gcc2 internal prototype to avoid an error. */
38911 #ifdef __cplusplus
38912 extern "C"
38914 #endif
38915 /* We use char because int might match the return type of a gcc2
38916 builtin and then its argument prototype would still apply. */
38917 char $ac_func ();
38918 /* The GNU C library defines this for functions which it implements
38919 to always fail with ENOSYS. Some functions are actually named
38920 something starting with __ and the normal name is an alias. */
38921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38922 choke me
38923 #else
38924 char (*f) () = $ac_func;
38925 #endif
38926 #ifdef __cplusplus
38928 #endif
38931 main ()
38933 return f != $ac_func;
38935 return 0;
38937 _ACEOF
38938 rm -f conftest.$ac_objext conftest$ac_exeext
38939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38940 (eval $ac_link) 2>conftest.er1
38941 ac_status=$?
38942 grep -v '^ *+' conftest.er1 >conftest.err
38943 rm -f conftest.er1
38944 cat conftest.err >&5
38945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38946 (exit $ac_status); } &&
38947 { ac_try='test -z "$ac_c_werror_flag"
38948 || test ! -s conftest.err'
38949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38950 (eval $ac_try) 2>&5
38951 ac_status=$?
38952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38953 (exit $ac_status); }; } &&
38954 { ac_try='test -s conftest$ac_exeext'
38955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38956 (eval $ac_try) 2>&5
38957 ac_status=$?
38958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38959 (exit $ac_status); }; }; then
38960 eval "$as_ac_var=yes"
38961 else
38962 echo "$as_me: failed program was:" >&5
38963 sed 's/^/| /' conftest.$ac_ext >&5
38965 eval "$as_ac_var=no"
38967 rm -f conftest.err conftest.$ac_objext \
38968 conftest$ac_exeext conftest.$ac_ext
38970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38972 if test `eval echo '${'$as_ac_var'}'` = yes; then
38973 cat >>confdefs.h <<_ACEOF
38974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38975 _ACEOF
38978 done
38985 echo "$as_me:$LINENO: checking for modff declaration" >&5
38986 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
38987 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38988 if test "${glibcxx_cv_func_modff_use+set}" = set; then
38989 echo $ECHO_N "(cached) $ECHO_C" >&6
38990 else
38994 ac_ext=cc
38995 ac_cpp='$CXXCPP $CPPFLAGS'
38996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39000 cat >conftest.$ac_ext <<_ACEOF
39001 /* confdefs.h. */
39002 _ACEOF
39003 cat confdefs.h >>conftest.$ac_ext
39004 cat >>conftest.$ac_ext <<_ACEOF
39005 /* end confdefs.h. */
39006 #include <math.h>
39008 main ()
39010 modff(0, 0);
39012 return 0;
39014 _ACEOF
39015 rm -f conftest.$ac_objext
39016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39017 (eval $ac_compile) 2>conftest.er1
39018 ac_status=$?
39019 grep -v '^ *+' conftest.er1 >conftest.err
39020 rm -f conftest.er1
39021 cat conftest.err >&5
39022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39023 (exit $ac_status); } &&
39024 { ac_try='test -z "$ac_cxx_werror_flag"
39025 || test ! -s conftest.err'
39026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39027 (eval $ac_try) 2>&5
39028 ac_status=$?
39029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39030 (exit $ac_status); }; } &&
39031 { ac_try='test -s conftest.$ac_objext'
39032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39033 (eval $ac_try) 2>&5
39034 ac_status=$?
39035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39036 (exit $ac_status); }; }; then
39037 glibcxx_cv_func_modff_use=yes
39038 else
39039 echo "$as_me: failed program was:" >&5
39040 sed 's/^/| /' conftest.$ac_ext >&5
39042 glibcxx_cv_func_modff_use=no
39044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39045 ac_ext=c
39046 ac_cpp='$CPP $CPPFLAGS'
39047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39055 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
39056 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
39058 if test x$glibcxx_cv_func_modff_use = x"yes"; then
39060 for ac_func in modff
39062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39063 echo "$as_me:$LINENO: checking for $ac_func" >&5
39064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39065 if eval "test \"\${$as_ac_var+set}\" = set"; then
39066 echo $ECHO_N "(cached) $ECHO_C" >&6
39067 else
39068 if test x$gcc_no_link = xyes; then
39069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39071 { (exit 1); exit 1; }; }
39073 cat >conftest.$ac_ext <<_ACEOF
39074 /* confdefs.h. */
39075 _ACEOF
39076 cat confdefs.h >>conftest.$ac_ext
39077 cat >>conftest.$ac_ext <<_ACEOF
39078 /* end confdefs.h. */
39079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39081 #define $ac_func innocuous_$ac_func
39083 /* System header to define __stub macros and hopefully few prototypes,
39084 which can conflict with char $ac_func (); below.
39085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39086 <limits.h> exists even on freestanding compilers. */
39088 #ifdef __STDC__
39089 # include <limits.h>
39090 #else
39091 # include <assert.h>
39092 #endif
39094 #undef $ac_func
39096 /* Override any gcc2 internal prototype to avoid an error. */
39097 #ifdef __cplusplus
39098 extern "C"
39100 #endif
39101 /* We use char because int might match the return type of a gcc2
39102 builtin and then its argument prototype would still apply. */
39103 char $ac_func ();
39104 /* The GNU C library defines this for functions which it implements
39105 to always fail with ENOSYS. Some functions are actually named
39106 something starting with __ and the normal name is an alias. */
39107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39108 choke me
39109 #else
39110 char (*f) () = $ac_func;
39111 #endif
39112 #ifdef __cplusplus
39114 #endif
39117 main ()
39119 return f != $ac_func;
39121 return 0;
39123 _ACEOF
39124 rm -f conftest.$ac_objext conftest$ac_exeext
39125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39126 (eval $ac_link) 2>conftest.er1
39127 ac_status=$?
39128 grep -v '^ *+' conftest.er1 >conftest.err
39129 rm -f conftest.er1
39130 cat conftest.err >&5
39131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39132 (exit $ac_status); } &&
39133 { ac_try='test -z "$ac_c_werror_flag"
39134 || test ! -s conftest.err'
39135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39136 (eval $ac_try) 2>&5
39137 ac_status=$?
39138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39139 (exit $ac_status); }; } &&
39140 { ac_try='test -s conftest$ac_exeext'
39141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39142 (eval $ac_try) 2>&5
39143 ac_status=$?
39144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39145 (exit $ac_status); }; }; then
39146 eval "$as_ac_var=yes"
39147 else
39148 echo "$as_me: failed program was:" >&5
39149 sed 's/^/| /' conftest.$ac_ext >&5
39151 eval "$as_ac_var=no"
39153 rm -f conftest.err conftest.$ac_objext \
39154 conftest$ac_exeext conftest.$ac_ext
39156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39158 if test `eval echo '${'$as_ac_var'}'` = yes; then
39159 cat >>confdefs.h <<_ACEOF
39160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39161 _ACEOF
39164 done
39166 else
39168 echo "$as_me:$LINENO: checking for _modff declaration" >&5
39169 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
39170 if test x${glibcxx_cv_func__modff_use+set} != xset; then
39171 if test "${glibcxx_cv_func__modff_use+set}" = set; then
39172 echo $ECHO_N "(cached) $ECHO_C" >&6
39173 else
39177 ac_ext=cc
39178 ac_cpp='$CXXCPP $CPPFLAGS'
39179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39183 cat >conftest.$ac_ext <<_ACEOF
39184 /* confdefs.h. */
39185 _ACEOF
39186 cat confdefs.h >>conftest.$ac_ext
39187 cat >>conftest.$ac_ext <<_ACEOF
39188 /* end confdefs.h. */
39189 #include <math.h>
39191 main ()
39193 _modff(0, 0);
39195 return 0;
39197 _ACEOF
39198 rm -f conftest.$ac_objext
39199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39200 (eval $ac_compile) 2>conftest.er1
39201 ac_status=$?
39202 grep -v '^ *+' conftest.er1 >conftest.err
39203 rm -f conftest.er1
39204 cat conftest.err >&5
39205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39206 (exit $ac_status); } &&
39207 { ac_try='test -z "$ac_cxx_werror_flag"
39208 || test ! -s conftest.err'
39209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39210 (eval $ac_try) 2>&5
39211 ac_status=$?
39212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39213 (exit $ac_status); }; } &&
39214 { ac_try='test -s conftest.$ac_objext'
39215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39216 (eval $ac_try) 2>&5
39217 ac_status=$?
39218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39219 (exit $ac_status); }; }; then
39220 glibcxx_cv_func__modff_use=yes
39221 else
39222 echo "$as_me: failed program was:" >&5
39223 sed 's/^/| /' conftest.$ac_ext >&5
39225 glibcxx_cv_func__modff_use=no
39227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39228 ac_ext=c
39229 ac_cpp='$CPP $CPPFLAGS'
39230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39238 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
39239 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
39241 if test x$glibcxx_cv_func__modff_use = x"yes"; then
39243 for ac_func in _modff
39245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39246 echo "$as_me:$LINENO: checking for $ac_func" >&5
39247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39248 if eval "test \"\${$as_ac_var+set}\" = set"; then
39249 echo $ECHO_N "(cached) $ECHO_C" >&6
39250 else
39251 if test x$gcc_no_link = xyes; then
39252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39254 { (exit 1); exit 1; }; }
39256 cat >conftest.$ac_ext <<_ACEOF
39257 /* confdefs.h. */
39258 _ACEOF
39259 cat confdefs.h >>conftest.$ac_ext
39260 cat >>conftest.$ac_ext <<_ACEOF
39261 /* end confdefs.h. */
39262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39264 #define $ac_func innocuous_$ac_func
39266 /* System header to define __stub macros and hopefully few prototypes,
39267 which can conflict with char $ac_func (); below.
39268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39269 <limits.h> exists even on freestanding compilers. */
39271 #ifdef __STDC__
39272 # include <limits.h>
39273 #else
39274 # include <assert.h>
39275 #endif
39277 #undef $ac_func
39279 /* Override any gcc2 internal prototype to avoid an error. */
39280 #ifdef __cplusplus
39281 extern "C"
39283 #endif
39284 /* We use char because int might match the return type of a gcc2
39285 builtin and then its argument prototype would still apply. */
39286 char $ac_func ();
39287 /* The GNU C library defines this for functions which it implements
39288 to always fail with ENOSYS. Some functions are actually named
39289 something starting with __ and the normal name is an alias. */
39290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39291 choke me
39292 #else
39293 char (*f) () = $ac_func;
39294 #endif
39295 #ifdef __cplusplus
39297 #endif
39300 main ()
39302 return f != $ac_func;
39304 return 0;
39306 _ACEOF
39307 rm -f conftest.$ac_objext conftest$ac_exeext
39308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39309 (eval $ac_link) 2>conftest.er1
39310 ac_status=$?
39311 grep -v '^ *+' conftest.er1 >conftest.err
39312 rm -f conftest.er1
39313 cat conftest.err >&5
39314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39315 (exit $ac_status); } &&
39316 { ac_try='test -z "$ac_c_werror_flag"
39317 || test ! -s conftest.err'
39318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39319 (eval $ac_try) 2>&5
39320 ac_status=$?
39321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39322 (exit $ac_status); }; } &&
39323 { ac_try='test -s conftest$ac_exeext'
39324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39325 (eval $ac_try) 2>&5
39326 ac_status=$?
39327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39328 (exit $ac_status); }; }; then
39329 eval "$as_ac_var=yes"
39330 else
39331 echo "$as_me: failed program was:" >&5
39332 sed 's/^/| /' conftest.$ac_ext >&5
39334 eval "$as_ac_var=no"
39336 rm -f conftest.err conftest.$ac_objext \
39337 conftest$ac_exeext conftest.$ac_ext
39339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39341 if test `eval echo '${'$as_ac_var'}'` = yes; then
39342 cat >>confdefs.h <<_ACEOF
39343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39344 _ACEOF
39347 done
39354 echo "$as_me:$LINENO: checking for powf declaration" >&5
39355 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
39356 if test x${glibcxx_cv_func_powf_use+set} != xset; then
39357 if test "${glibcxx_cv_func_powf_use+set}" = set; then
39358 echo $ECHO_N "(cached) $ECHO_C" >&6
39359 else
39363 ac_ext=cc
39364 ac_cpp='$CXXCPP $CPPFLAGS'
39365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39369 cat >conftest.$ac_ext <<_ACEOF
39370 /* confdefs.h. */
39371 _ACEOF
39372 cat confdefs.h >>conftest.$ac_ext
39373 cat >>conftest.$ac_ext <<_ACEOF
39374 /* end confdefs.h. */
39375 #include <math.h>
39377 main ()
39379 powf(0, 0);
39381 return 0;
39383 _ACEOF
39384 rm -f conftest.$ac_objext
39385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39386 (eval $ac_compile) 2>conftest.er1
39387 ac_status=$?
39388 grep -v '^ *+' conftest.er1 >conftest.err
39389 rm -f conftest.er1
39390 cat conftest.err >&5
39391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39392 (exit $ac_status); } &&
39393 { ac_try='test -z "$ac_cxx_werror_flag"
39394 || test ! -s conftest.err'
39395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39396 (eval $ac_try) 2>&5
39397 ac_status=$?
39398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39399 (exit $ac_status); }; } &&
39400 { ac_try='test -s conftest.$ac_objext'
39401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39402 (eval $ac_try) 2>&5
39403 ac_status=$?
39404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39405 (exit $ac_status); }; }; then
39406 glibcxx_cv_func_powf_use=yes
39407 else
39408 echo "$as_me: failed program was:" >&5
39409 sed 's/^/| /' conftest.$ac_ext >&5
39411 glibcxx_cv_func_powf_use=no
39413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39414 ac_ext=c
39415 ac_cpp='$CPP $CPPFLAGS'
39416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39424 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
39425 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
39427 if test x$glibcxx_cv_func_powf_use = x"yes"; then
39429 for ac_func in powf
39431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39432 echo "$as_me:$LINENO: checking for $ac_func" >&5
39433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39434 if eval "test \"\${$as_ac_var+set}\" = set"; then
39435 echo $ECHO_N "(cached) $ECHO_C" >&6
39436 else
39437 if test x$gcc_no_link = xyes; then
39438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39440 { (exit 1); exit 1; }; }
39442 cat >conftest.$ac_ext <<_ACEOF
39443 /* confdefs.h. */
39444 _ACEOF
39445 cat confdefs.h >>conftest.$ac_ext
39446 cat >>conftest.$ac_ext <<_ACEOF
39447 /* end confdefs.h. */
39448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39450 #define $ac_func innocuous_$ac_func
39452 /* System header to define __stub macros and hopefully few prototypes,
39453 which can conflict with char $ac_func (); below.
39454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39455 <limits.h> exists even on freestanding compilers. */
39457 #ifdef __STDC__
39458 # include <limits.h>
39459 #else
39460 # include <assert.h>
39461 #endif
39463 #undef $ac_func
39465 /* Override any gcc2 internal prototype to avoid an error. */
39466 #ifdef __cplusplus
39467 extern "C"
39469 #endif
39470 /* We use char because int might match the return type of a gcc2
39471 builtin and then its argument prototype would still apply. */
39472 char $ac_func ();
39473 /* The GNU C library defines this for functions which it implements
39474 to always fail with ENOSYS. Some functions are actually named
39475 something starting with __ and the normal name is an alias. */
39476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39477 choke me
39478 #else
39479 char (*f) () = $ac_func;
39480 #endif
39481 #ifdef __cplusplus
39483 #endif
39486 main ()
39488 return f != $ac_func;
39490 return 0;
39492 _ACEOF
39493 rm -f conftest.$ac_objext conftest$ac_exeext
39494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39495 (eval $ac_link) 2>conftest.er1
39496 ac_status=$?
39497 grep -v '^ *+' conftest.er1 >conftest.err
39498 rm -f conftest.er1
39499 cat conftest.err >&5
39500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39501 (exit $ac_status); } &&
39502 { ac_try='test -z "$ac_c_werror_flag"
39503 || test ! -s conftest.err'
39504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39505 (eval $ac_try) 2>&5
39506 ac_status=$?
39507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39508 (exit $ac_status); }; } &&
39509 { ac_try='test -s conftest$ac_exeext'
39510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39511 (eval $ac_try) 2>&5
39512 ac_status=$?
39513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39514 (exit $ac_status); }; }; then
39515 eval "$as_ac_var=yes"
39516 else
39517 echo "$as_me: failed program was:" >&5
39518 sed 's/^/| /' conftest.$ac_ext >&5
39520 eval "$as_ac_var=no"
39522 rm -f conftest.err conftest.$ac_objext \
39523 conftest$ac_exeext conftest.$ac_ext
39525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39527 if test `eval echo '${'$as_ac_var'}'` = yes; then
39528 cat >>confdefs.h <<_ACEOF
39529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39530 _ACEOF
39533 done
39535 else
39537 echo "$as_me:$LINENO: checking for _powf declaration" >&5
39538 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
39539 if test x${glibcxx_cv_func__powf_use+set} != xset; then
39540 if test "${glibcxx_cv_func__powf_use+set}" = set; then
39541 echo $ECHO_N "(cached) $ECHO_C" >&6
39542 else
39546 ac_ext=cc
39547 ac_cpp='$CXXCPP $CPPFLAGS'
39548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39552 cat >conftest.$ac_ext <<_ACEOF
39553 /* confdefs.h. */
39554 _ACEOF
39555 cat confdefs.h >>conftest.$ac_ext
39556 cat >>conftest.$ac_ext <<_ACEOF
39557 /* end confdefs.h. */
39558 #include <math.h>
39560 main ()
39562 _powf(0, 0);
39564 return 0;
39566 _ACEOF
39567 rm -f conftest.$ac_objext
39568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39569 (eval $ac_compile) 2>conftest.er1
39570 ac_status=$?
39571 grep -v '^ *+' conftest.er1 >conftest.err
39572 rm -f conftest.er1
39573 cat conftest.err >&5
39574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39575 (exit $ac_status); } &&
39576 { ac_try='test -z "$ac_cxx_werror_flag"
39577 || test ! -s conftest.err'
39578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39579 (eval $ac_try) 2>&5
39580 ac_status=$?
39581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39582 (exit $ac_status); }; } &&
39583 { ac_try='test -s conftest.$ac_objext'
39584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39585 (eval $ac_try) 2>&5
39586 ac_status=$?
39587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39588 (exit $ac_status); }; }; then
39589 glibcxx_cv_func__powf_use=yes
39590 else
39591 echo "$as_me: failed program was:" >&5
39592 sed 's/^/| /' conftest.$ac_ext >&5
39594 glibcxx_cv_func__powf_use=no
39596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39597 ac_ext=c
39598 ac_cpp='$CPP $CPPFLAGS'
39599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39607 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
39608 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
39610 if test x$glibcxx_cv_func__powf_use = x"yes"; then
39612 for ac_func in _powf
39614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39615 echo "$as_me:$LINENO: checking for $ac_func" >&5
39616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39617 if eval "test \"\${$as_ac_var+set}\" = set"; then
39618 echo $ECHO_N "(cached) $ECHO_C" >&6
39619 else
39620 if test x$gcc_no_link = xyes; then
39621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39623 { (exit 1); exit 1; }; }
39625 cat >conftest.$ac_ext <<_ACEOF
39626 /* confdefs.h. */
39627 _ACEOF
39628 cat confdefs.h >>conftest.$ac_ext
39629 cat >>conftest.$ac_ext <<_ACEOF
39630 /* end confdefs.h. */
39631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39633 #define $ac_func innocuous_$ac_func
39635 /* System header to define __stub macros and hopefully few prototypes,
39636 which can conflict with char $ac_func (); below.
39637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39638 <limits.h> exists even on freestanding compilers. */
39640 #ifdef __STDC__
39641 # include <limits.h>
39642 #else
39643 # include <assert.h>
39644 #endif
39646 #undef $ac_func
39648 /* Override any gcc2 internal prototype to avoid an error. */
39649 #ifdef __cplusplus
39650 extern "C"
39652 #endif
39653 /* We use char because int might match the return type of a gcc2
39654 builtin and then its argument prototype would still apply. */
39655 char $ac_func ();
39656 /* The GNU C library defines this for functions which it implements
39657 to always fail with ENOSYS. Some functions are actually named
39658 something starting with __ and the normal name is an alias. */
39659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39660 choke me
39661 #else
39662 char (*f) () = $ac_func;
39663 #endif
39664 #ifdef __cplusplus
39666 #endif
39669 main ()
39671 return f != $ac_func;
39673 return 0;
39675 _ACEOF
39676 rm -f conftest.$ac_objext conftest$ac_exeext
39677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39678 (eval $ac_link) 2>conftest.er1
39679 ac_status=$?
39680 grep -v '^ *+' conftest.er1 >conftest.err
39681 rm -f conftest.er1
39682 cat conftest.err >&5
39683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39684 (exit $ac_status); } &&
39685 { ac_try='test -z "$ac_c_werror_flag"
39686 || test ! -s conftest.err'
39687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39688 (eval $ac_try) 2>&5
39689 ac_status=$?
39690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39691 (exit $ac_status); }; } &&
39692 { ac_try='test -s conftest$ac_exeext'
39693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39694 (eval $ac_try) 2>&5
39695 ac_status=$?
39696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39697 (exit $ac_status); }; }; then
39698 eval "$as_ac_var=yes"
39699 else
39700 echo "$as_me: failed program was:" >&5
39701 sed 's/^/| /' conftest.$ac_ext >&5
39703 eval "$as_ac_var=no"
39705 rm -f conftest.err conftest.$ac_objext \
39706 conftest$ac_exeext conftest.$ac_ext
39708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39710 if test `eval echo '${'$as_ac_var'}'` = yes; then
39711 cat >>confdefs.h <<_ACEOF
39712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39713 _ACEOF
39716 done
39723 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
39724 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
39725 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
39726 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
39727 echo $ECHO_N "(cached) $ECHO_C" >&6
39728 else
39732 ac_ext=cc
39733 ac_cpp='$CXXCPP $CPPFLAGS'
39734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39738 cat >conftest.$ac_ext <<_ACEOF
39739 /* confdefs.h. */
39740 _ACEOF
39741 cat confdefs.h >>conftest.$ac_ext
39742 cat >>conftest.$ac_ext <<_ACEOF
39743 /* end confdefs.h. */
39744 #include <math.h>
39745 #ifdef HAVE_IEEEFP_H
39746 #include <ieeefp.h>
39747 #endif
39750 main ()
39752 sqrtf(0);
39754 return 0;
39756 _ACEOF
39757 rm -f conftest.$ac_objext
39758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39759 (eval $ac_compile) 2>conftest.er1
39760 ac_status=$?
39761 grep -v '^ *+' conftest.er1 >conftest.err
39762 rm -f conftest.er1
39763 cat conftest.err >&5
39764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39765 (exit $ac_status); } &&
39766 { ac_try='test -z "$ac_cxx_werror_flag"
39767 || test ! -s conftest.err'
39768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39769 (eval $ac_try) 2>&5
39770 ac_status=$?
39771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39772 (exit $ac_status); }; } &&
39773 { ac_try='test -s conftest.$ac_objext'
39774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39775 (eval $ac_try) 2>&5
39776 ac_status=$?
39777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39778 (exit $ac_status); }; }; then
39779 glibcxx_cv_func_sqrtf_use=yes
39780 else
39781 echo "$as_me: failed program was:" >&5
39782 sed 's/^/| /' conftest.$ac_ext >&5
39784 glibcxx_cv_func_sqrtf_use=no
39786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39787 ac_ext=c
39788 ac_cpp='$CPP $CPPFLAGS'
39789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39797 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
39798 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
39800 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
39802 for ac_func in sqrtf
39804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39805 echo "$as_me:$LINENO: checking for $ac_func" >&5
39806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39807 if eval "test \"\${$as_ac_var+set}\" = set"; then
39808 echo $ECHO_N "(cached) $ECHO_C" >&6
39809 else
39810 if test x$gcc_no_link = xyes; then
39811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39813 { (exit 1); exit 1; }; }
39815 cat >conftest.$ac_ext <<_ACEOF
39816 /* confdefs.h. */
39817 _ACEOF
39818 cat confdefs.h >>conftest.$ac_ext
39819 cat >>conftest.$ac_ext <<_ACEOF
39820 /* end confdefs.h. */
39821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39823 #define $ac_func innocuous_$ac_func
39825 /* System header to define __stub macros and hopefully few prototypes,
39826 which can conflict with char $ac_func (); below.
39827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39828 <limits.h> exists even on freestanding compilers. */
39830 #ifdef __STDC__
39831 # include <limits.h>
39832 #else
39833 # include <assert.h>
39834 #endif
39836 #undef $ac_func
39838 /* Override any gcc2 internal prototype to avoid an error. */
39839 #ifdef __cplusplus
39840 extern "C"
39842 #endif
39843 /* We use char because int might match the return type of a gcc2
39844 builtin and then its argument prototype would still apply. */
39845 char $ac_func ();
39846 /* The GNU C library defines this for functions which it implements
39847 to always fail with ENOSYS. Some functions are actually named
39848 something starting with __ and the normal name is an alias. */
39849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39850 choke me
39851 #else
39852 char (*f) () = $ac_func;
39853 #endif
39854 #ifdef __cplusplus
39856 #endif
39859 main ()
39861 return f != $ac_func;
39863 return 0;
39865 _ACEOF
39866 rm -f conftest.$ac_objext conftest$ac_exeext
39867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39868 (eval $ac_link) 2>conftest.er1
39869 ac_status=$?
39870 grep -v '^ *+' conftest.er1 >conftest.err
39871 rm -f conftest.er1
39872 cat conftest.err >&5
39873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39874 (exit $ac_status); } &&
39875 { ac_try='test -z "$ac_c_werror_flag"
39876 || test ! -s conftest.err'
39877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39878 (eval $ac_try) 2>&5
39879 ac_status=$?
39880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39881 (exit $ac_status); }; } &&
39882 { ac_try='test -s conftest$ac_exeext'
39883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39884 (eval $ac_try) 2>&5
39885 ac_status=$?
39886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39887 (exit $ac_status); }; }; then
39888 eval "$as_ac_var=yes"
39889 else
39890 echo "$as_me: failed program was:" >&5
39891 sed 's/^/| /' conftest.$ac_ext >&5
39893 eval "$as_ac_var=no"
39895 rm -f conftest.err conftest.$ac_objext \
39896 conftest$ac_exeext conftest.$ac_ext
39898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39900 if test `eval echo '${'$as_ac_var'}'` = yes; then
39901 cat >>confdefs.h <<_ACEOF
39902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39903 _ACEOF
39906 done
39908 else
39910 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
39911 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
39912 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
39913 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
39914 echo $ECHO_N "(cached) $ECHO_C" >&6
39915 else
39919 ac_ext=cc
39920 ac_cpp='$CXXCPP $CPPFLAGS'
39921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39925 cat >conftest.$ac_ext <<_ACEOF
39926 /* confdefs.h. */
39927 _ACEOF
39928 cat confdefs.h >>conftest.$ac_ext
39929 cat >>conftest.$ac_ext <<_ACEOF
39930 /* end confdefs.h. */
39931 #include <math.h>
39932 #ifdef HAVE_IEEEFP_H
39933 #include <ieeefp.h>
39934 #endif
39937 main ()
39939 _sqrtf(0);
39941 return 0;
39943 _ACEOF
39944 rm -f conftest.$ac_objext
39945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39946 (eval $ac_compile) 2>conftest.er1
39947 ac_status=$?
39948 grep -v '^ *+' conftest.er1 >conftest.err
39949 rm -f conftest.er1
39950 cat conftest.err >&5
39951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39952 (exit $ac_status); } &&
39953 { ac_try='test -z "$ac_cxx_werror_flag"
39954 || test ! -s conftest.err'
39955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39956 (eval $ac_try) 2>&5
39957 ac_status=$?
39958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39959 (exit $ac_status); }; } &&
39960 { ac_try='test -s conftest.$ac_objext'
39961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39962 (eval $ac_try) 2>&5
39963 ac_status=$?
39964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39965 (exit $ac_status); }; }; then
39966 glibcxx_cv_func__sqrtf_use=yes
39967 else
39968 echo "$as_me: failed program was:" >&5
39969 sed 's/^/| /' conftest.$ac_ext >&5
39971 glibcxx_cv_func__sqrtf_use=no
39973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39974 ac_ext=c
39975 ac_cpp='$CPP $CPPFLAGS'
39976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39984 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
39985 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
39987 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
39989 for ac_func in _sqrtf
39991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39992 echo "$as_me:$LINENO: checking for $ac_func" >&5
39993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39994 if eval "test \"\${$as_ac_var+set}\" = set"; then
39995 echo $ECHO_N "(cached) $ECHO_C" >&6
39996 else
39997 if test x$gcc_no_link = xyes; then
39998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40000 { (exit 1); exit 1; }; }
40002 cat >conftest.$ac_ext <<_ACEOF
40003 /* confdefs.h. */
40004 _ACEOF
40005 cat confdefs.h >>conftest.$ac_ext
40006 cat >>conftest.$ac_ext <<_ACEOF
40007 /* end confdefs.h. */
40008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40010 #define $ac_func innocuous_$ac_func
40012 /* System header to define __stub macros and hopefully few prototypes,
40013 which can conflict with char $ac_func (); below.
40014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40015 <limits.h> exists even on freestanding compilers. */
40017 #ifdef __STDC__
40018 # include <limits.h>
40019 #else
40020 # include <assert.h>
40021 #endif
40023 #undef $ac_func
40025 /* Override any gcc2 internal prototype to avoid an error. */
40026 #ifdef __cplusplus
40027 extern "C"
40029 #endif
40030 /* We use char because int might match the return type of a gcc2
40031 builtin and then its argument prototype would still apply. */
40032 char $ac_func ();
40033 /* The GNU C library defines this for functions which it implements
40034 to always fail with ENOSYS. Some functions are actually named
40035 something starting with __ and the normal name is an alias. */
40036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40037 choke me
40038 #else
40039 char (*f) () = $ac_func;
40040 #endif
40041 #ifdef __cplusplus
40043 #endif
40046 main ()
40048 return f != $ac_func;
40050 return 0;
40052 _ACEOF
40053 rm -f conftest.$ac_objext conftest$ac_exeext
40054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40055 (eval $ac_link) 2>conftest.er1
40056 ac_status=$?
40057 grep -v '^ *+' conftest.er1 >conftest.err
40058 rm -f conftest.er1
40059 cat conftest.err >&5
40060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40061 (exit $ac_status); } &&
40062 { ac_try='test -z "$ac_c_werror_flag"
40063 || test ! -s conftest.err'
40064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40065 (eval $ac_try) 2>&5
40066 ac_status=$?
40067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40068 (exit $ac_status); }; } &&
40069 { ac_try='test -s conftest$ac_exeext'
40070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40071 (eval $ac_try) 2>&5
40072 ac_status=$?
40073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40074 (exit $ac_status); }; }; then
40075 eval "$as_ac_var=yes"
40076 else
40077 echo "$as_me: failed program was:" >&5
40078 sed 's/^/| /' conftest.$ac_ext >&5
40080 eval "$as_ac_var=no"
40082 rm -f conftest.err conftest.$ac_objext \
40083 conftest$ac_exeext conftest.$ac_ext
40085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40087 if test `eval echo '${'$as_ac_var'}'` = yes; then
40088 cat >>confdefs.h <<_ACEOF
40089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40090 _ACEOF
40093 done
40100 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
40101 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
40102 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40103 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
40104 echo $ECHO_N "(cached) $ECHO_C" >&6
40105 else
40109 ac_ext=cc
40110 ac_cpp='$CXXCPP $CPPFLAGS'
40111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40115 cat >conftest.$ac_ext <<_ACEOF
40116 /* confdefs.h. */
40117 _ACEOF
40118 cat confdefs.h >>conftest.$ac_ext
40119 cat >>conftest.$ac_ext <<_ACEOF
40120 /* end confdefs.h. */
40121 #include <math.h>
40123 main ()
40125 sincosf(0, 0, 0);
40127 return 0;
40129 _ACEOF
40130 rm -f conftest.$ac_objext
40131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40132 (eval $ac_compile) 2>conftest.er1
40133 ac_status=$?
40134 grep -v '^ *+' conftest.er1 >conftest.err
40135 rm -f conftest.er1
40136 cat conftest.err >&5
40137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40138 (exit $ac_status); } &&
40139 { ac_try='test -z "$ac_cxx_werror_flag"
40140 || test ! -s conftest.err'
40141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40142 (eval $ac_try) 2>&5
40143 ac_status=$?
40144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40145 (exit $ac_status); }; } &&
40146 { ac_try='test -s conftest.$ac_objext'
40147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40148 (eval $ac_try) 2>&5
40149 ac_status=$?
40150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40151 (exit $ac_status); }; }; then
40152 glibcxx_cv_func_sincosf_use=yes
40153 else
40154 echo "$as_me: failed program was:" >&5
40155 sed 's/^/| /' conftest.$ac_ext >&5
40157 glibcxx_cv_func_sincosf_use=no
40159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40160 ac_ext=c
40161 ac_cpp='$CPP $CPPFLAGS'
40162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40170 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
40171 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
40173 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40175 for ac_func in sincosf
40177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40178 echo "$as_me:$LINENO: checking for $ac_func" >&5
40179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40180 if eval "test \"\${$as_ac_var+set}\" = set"; then
40181 echo $ECHO_N "(cached) $ECHO_C" >&6
40182 else
40183 if test x$gcc_no_link = xyes; then
40184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40186 { (exit 1); exit 1; }; }
40188 cat >conftest.$ac_ext <<_ACEOF
40189 /* confdefs.h. */
40190 _ACEOF
40191 cat confdefs.h >>conftest.$ac_ext
40192 cat >>conftest.$ac_ext <<_ACEOF
40193 /* end confdefs.h. */
40194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40196 #define $ac_func innocuous_$ac_func
40198 /* System header to define __stub macros and hopefully few prototypes,
40199 which can conflict with char $ac_func (); below.
40200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40201 <limits.h> exists even on freestanding compilers. */
40203 #ifdef __STDC__
40204 # include <limits.h>
40205 #else
40206 # include <assert.h>
40207 #endif
40209 #undef $ac_func
40211 /* Override any gcc2 internal prototype to avoid an error. */
40212 #ifdef __cplusplus
40213 extern "C"
40215 #endif
40216 /* We use char because int might match the return type of a gcc2
40217 builtin and then its argument prototype would still apply. */
40218 char $ac_func ();
40219 /* The GNU C library defines this for functions which it implements
40220 to always fail with ENOSYS. Some functions are actually named
40221 something starting with __ and the normal name is an alias. */
40222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40223 choke me
40224 #else
40225 char (*f) () = $ac_func;
40226 #endif
40227 #ifdef __cplusplus
40229 #endif
40232 main ()
40234 return f != $ac_func;
40236 return 0;
40238 _ACEOF
40239 rm -f conftest.$ac_objext conftest$ac_exeext
40240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40241 (eval $ac_link) 2>conftest.er1
40242 ac_status=$?
40243 grep -v '^ *+' conftest.er1 >conftest.err
40244 rm -f conftest.er1
40245 cat conftest.err >&5
40246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40247 (exit $ac_status); } &&
40248 { ac_try='test -z "$ac_c_werror_flag"
40249 || test ! -s conftest.err'
40250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40251 (eval $ac_try) 2>&5
40252 ac_status=$?
40253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40254 (exit $ac_status); }; } &&
40255 { ac_try='test -s conftest$ac_exeext'
40256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40257 (eval $ac_try) 2>&5
40258 ac_status=$?
40259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40260 (exit $ac_status); }; }; then
40261 eval "$as_ac_var=yes"
40262 else
40263 echo "$as_me: failed program was:" >&5
40264 sed 's/^/| /' conftest.$ac_ext >&5
40266 eval "$as_ac_var=no"
40268 rm -f conftest.err conftest.$ac_objext \
40269 conftest$ac_exeext conftest.$ac_ext
40271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40273 if test `eval echo '${'$as_ac_var'}'` = yes; then
40274 cat >>confdefs.h <<_ACEOF
40275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40276 _ACEOF
40279 done
40281 else
40283 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
40284 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
40285 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40286 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
40287 echo $ECHO_N "(cached) $ECHO_C" >&6
40288 else
40292 ac_ext=cc
40293 ac_cpp='$CXXCPP $CPPFLAGS'
40294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40298 cat >conftest.$ac_ext <<_ACEOF
40299 /* confdefs.h. */
40300 _ACEOF
40301 cat confdefs.h >>conftest.$ac_ext
40302 cat >>conftest.$ac_ext <<_ACEOF
40303 /* end confdefs.h. */
40304 #include <math.h>
40306 main ()
40308 _sincosf(0, 0, 0);
40310 return 0;
40312 _ACEOF
40313 rm -f conftest.$ac_objext
40314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40315 (eval $ac_compile) 2>conftest.er1
40316 ac_status=$?
40317 grep -v '^ *+' conftest.er1 >conftest.err
40318 rm -f conftest.er1
40319 cat conftest.err >&5
40320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40321 (exit $ac_status); } &&
40322 { ac_try='test -z "$ac_cxx_werror_flag"
40323 || test ! -s conftest.err'
40324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40325 (eval $ac_try) 2>&5
40326 ac_status=$?
40327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40328 (exit $ac_status); }; } &&
40329 { ac_try='test -s conftest.$ac_objext'
40330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40331 (eval $ac_try) 2>&5
40332 ac_status=$?
40333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40334 (exit $ac_status); }; }; then
40335 glibcxx_cv_func__sincosf_use=yes
40336 else
40337 echo "$as_me: failed program was:" >&5
40338 sed 's/^/| /' conftest.$ac_ext >&5
40340 glibcxx_cv_func__sincosf_use=no
40342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40343 ac_ext=c
40344 ac_cpp='$CPP $CPPFLAGS'
40345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40353 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
40354 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
40356 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40358 for ac_func in _sincosf
40360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40361 echo "$as_me:$LINENO: checking for $ac_func" >&5
40362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40363 if eval "test \"\${$as_ac_var+set}\" = set"; then
40364 echo $ECHO_N "(cached) $ECHO_C" >&6
40365 else
40366 if test x$gcc_no_link = xyes; then
40367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40369 { (exit 1); exit 1; }; }
40371 cat >conftest.$ac_ext <<_ACEOF
40372 /* confdefs.h. */
40373 _ACEOF
40374 cat confdefs.h >>conftest.$ac_ext
40375 cat >>conftest.$ac_ext <<_ACEOF
40376 /* end confdefs.h. */
40377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40379 #define $ac_func innocuous_$ac_func
40381 /* System header to define __stub macros and hopefully few prototypes,
40382 which can conflict with char $ac_func (); below.
40383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40384 <limits.h> exists even on freestanding compilers. */
40386 #ifdef __STDC__
40387 # include <limits.h>
40388 #else
40389 # include <assert.h>
40390 #endif
40392 #undef $ac_func
40394 /* Override any gcc2 internal prototype to avoid an error. */
40395 #ifdef __cplusplus
40396 extern "C"
40398 #endif
40399 /* We use char because int might match the return type of a gcc2
40400 builtin and then its argument prototype would still apply. */
40401 char $ac_func ();
40402 /* The GNU C library defines this for functions which it implements
40403 to always fail with ENOSYS. Some functions are actually named
40404 something starting with __ and the normal name is an alias. */
40405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40406 choke me
40407 #else
40408 char (*f) () = $ac_func;
40409 #endif
40410 #ifdef __cplusplus
40412 #endif
40415 main ()
40417 return f != $ac_func;
40419 return 0;
40421 _ACEOF
40422 rm -f conftest.$ac_objext conftest$ac_exeext
40423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40424 (eval $ac_link) 2>conftest.er1
40425 ac_status=$?
40426 grep -v '^ *+' conftest.er1 >conftest.err
40427 rm -f conftest.er1
40428 cat conftest.err >&5
40429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40430 (exit $ac_status); } &&
40431 { ac_try='test -z "$ac_c_werror_flag"
40432 || test ! -s conftest.err'
40433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40434 (eval $ac_try) 2>&5
40435 ac_status=$?
40436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40437 (exit $ac_status); }; } &&
40438 { ac_try='test -s conftest$ac_exeext'
40439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40440 (eval $ac_try) 2>&5
40441 ac_status=$?
40442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40443 (exit $ac_status); }; }; then
40444 eval "$as_ac_var=yes"
40445 else
40446 echo "$as_me: failed program was:" >&5
40447 sed 's/^/| /' conftest.$ac_ext >&5
40449 eval "$as_ac_var=no"
40451 rm -f conftest.err conftest.$ac_objext \
40452 conftest$ac_exeext conftest.$ac_ext
40454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40456 if test `eval echo '${'$as_ac_var'}'` = yes; then
40457 cat >>confdefs.h <<_ACEOF
40458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40459 _ACEOF
40462 done
40469 echo "$as_me:$LINENO: checking for finitef declaration" >&5
40470 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
40471 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
40472 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
40473 echo $ECHO_N "(cached) $ECHO_C" >&6
40474 else
40478 ac_ext=cc
40479 ac_cpp='$CXXCPP $CPPFLAGS'
40480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40484 cat >conftest.$ac_ext <<_ACEOF
40485 /* confdefs.h. */
40486 _ACEOF
40487 cat confdefs.h >>conftest.$ac_ext
40488 cat >>conftest.$ac_ext <<_ACEOF
40489 /* end confdefs.h. */
40490 #include <math.h>
40491 #ifdef HAVE_IEEEFP_H
40492 #include <ieeefp.h>
40493 #endif
40496 main ()
40498 finitef(0);
40500 return 0;
40502 _ACEOF
40503 rm -f conftest.$ac_objext
40504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40505 (eval $ac_compile) 2>conftest.er1
40506 ac_status=$?
40507 grep -v '^ *+' conftest.er1 >conftest.err
40508 rm -f conftest.er1
40509 cat conftest.err >&5
40510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40511 (exit $ac_status); } &&
40512 { ac_try='test -z "$ac_cxx_werror_flag"
40513 || test ! -s conftest.err'
40514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40515 (eval $ac_try) 2>&5
40516 ac_status=$?
40517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40518 (exit $ac_status); }; } &&
40519 { ac_try='test -s conftest.$ac_objext'
40520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40521 (eval $ac_try) 2>&5
40522 ac_status=$?
40523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40524 (exit $ac_status); }; }; then
40525 glibcxx_cv_func_finitef_use=yes
40526 else
40527 echo "$as_me: failed program was:" >&5
40528 sed 's/^/| /' conftest.$ac_ext >&5
40530 glibcxx_cv_func_finitef_use=no
40532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40533 ac_ext=c
40534 ac_cpp='$CPP $CPPFLAGS'
40535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40543 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
40544 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
40546 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
40548 for ac_func in finitef
40550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40551 echo "$as_me:$LINENO: checking for $ac_func" >&5
40552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40553 if eval "test \"\${$as_ac_var+set}\" = set"; then
40554 echo $ECHO_N "(cached) $ECHO_C" >&6
40555 else
40556 if test x$gcc_no_link = xyes; then
40557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40559 { (exit 1); exit 1; }; }
40561 cat >conftest.$ac_ext <<_ACEOF
40562 /* confdefs.h. */
40563 _ACEOF
40564 cat confdefs.h >>conftest.$ac_ext
40565 cat >>conftest.$ac_ext <<_ACEOF
40566 /* end confdefs.h. */
40567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40569 #define $ac_func innocuous_$ac_func
40571 /* System header to define __stub macros and hopefully few prototypes,
40572 which can conflict with char $ac_func (); below.
40573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40574 <limits.h> exists even on freestanding compilers. */
40576 #ifdef __STDC__
40577 # include <limits.h>
40578 #else
40579 # include <assert.h>
40580 #endif
40582 #undef $ac_func
40584 /* Override any gcc2 internal prototype to avoid an error. */
40585 #ifdef __cplusplus
40586 extern "C"
40588 #endif
40589 /* We use char because int might match the return type of a gcc2
40590 builtin and then its argument prototype would still apply. */
40591 char $ac_func ();
40592 /* The GNU C library defines this for functions which it implements
40593 to always fail with ENOSYS. Some functions are actually named
40594 something starting with __ and the normal name is an alias. */
40595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40596 choke me
40597 #else
40598 char (*f) () = $ac_func;
40599 #endif
40600 #ifdef __cplusplus
40602 #endif
40605 main ()
40607 return f != $ac_func;
40609 return 0;
40611 _ACEOF
40612 rm -f conftest.$ac_objext conftest$ac_exeext
40613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40614 (eval $ac_link) 2>conftest.er1
40615 ac_status=$?
40616 grep -v '^ *+' conftest.er1 >conftest.err
40617 rm -f conftest.er1
40618 cat conftest.err >&5
40619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40620 (exit $ac_status); } &&
40621 { ac_try='test -z "$ac_c_werror_flag"
40622 || test ! -s conftest.err'
40623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40624 (eval $ac_try) 2>&5
40625 ac_status=$?
40626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40627 (exit $ac_status); }; } &&
40628 { ac_try='test -s conftest$ac_exeext'
40629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40630 (eval $ac_try) 2>&5
40631 ac_status=$?
40632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40633 (exit $ac_status); }; }; then
40634 eval "$as_ac_var=yes"
40635 else
40636 echo "$as_me: failed program was:" >&5
40637 sed 's/^/| /' conftest.$ac_ext >&5
40639 eval "$as_ac_var=no"
40641 rm -f conftest.err conftest.$ac_objext \
40642 conftest$ac_exeext conftest.$ac_ext
40644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40646 if test `eval echo '${'$as_ac_var'}'` = yes; then
40647 cat >>confdefs.h <<_ACEOF
40648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40649 _ACEOF
40652 done
40654 else
40656 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
40657 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
40658 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
40659 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
40660 echo $ECHO_N "(cached) $ECHO_C" >&6
40661 else
40665 ac_ext=cc
40666 ac_cpp='$CXXCPP $CPPFLAGS'
40667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40671 cat >conftest.$ac_ext <<_ACEOF
40672 /* confdefs.h. */
40673 _ACEOF
40674 cat confdefs.h >>conftest.$ac_ext
40675 cat >>conftest.$ac_ext <<_ACEOF
40676 /* end confdefs.h. */
40677 #include <math.h>
40678 #ifdef HAVE_IEEEFP_H
40679 #include <ieeefp.h>
40680 #endif
40683 main ()
40685 _finitef(0);
40687 return 0;
40689 _ACEOF
40690 rm -f conftest.$ac_objext
40691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40692 (eval $ac_compile) 2>conftest.er1
40693 ac_status=$?
40694 grep -v '^ *+' conftest.er1 >conftest.err
40695 rm -f conftest.er1
40696 cat conftest.err >&5
40697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40698 (exit $ac_status); } &&
40699 { ac_try='test -z "$ac_cxx_werror_flag"
40700 || test ! -s conftest.err'
40701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40702 (eval $ac_try) 2>&5
40703 ac_status=$?
40704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40705 (exit $ac_status); }; } &&
40706 { ac_try='test -s conftest.$ac_objext'
40707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40708 (eval $ac_try) 2>&5
40709 ac_status=$?
40710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40711 (exit $ac_status); }; }; then
40712 glibcxx_cv_func__finitef_use=yes
40713 else
40714 echo "$as_me: failed program was:" >&5
40715 sed 's/^/| /' conftest.$ac_ext >&5
40717 glibcxx_cv_func__finitef_use=no
40719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40720 ac_ext=c
40721 ac_cpp='$CPP $CPPFLAGS'
40722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40730 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
40731 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
40733 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
40735 for ac_func in _finitef
40737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40738 echo "$as_me:$LINENO: checking for $ac_func" >&5
40739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40740 if eval "test \"\${$as_ac_var+set}\" = set"; then
40741 echo $ECHO_N "(cached) $ECHO_C" >&6
40742 else
40743 if test x$gcc_no_link = xyes; then
40744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40746 { (exit 1); exit 1; }; }
40748 cat >conftest.$ac_ext <<_ACEOF
40749 /* confdefs.h. */
40750 _ACEOF
40751 cat confdefs.h >>conftest.$ac_ext
40752 cat >>conftest.$ac_ext <<_ACEOF
40753 /* end confdefs.h. */
40754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40756 #define $ac_func innocuous_$ac_func
40758 /* System header to define __stub macros and hopefully few prototypes,
40759 which can conflict with char $ac_func (); below.
40760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40761 <limits.h> exists even on freestanding compilers. */
40763 #ifdef __STDC__
40764 # include <limits.h>
40765 #else
40766 # include <assert.h>
40767 #endif
40769 #undef $ac_func
40771 /* Override any gcc2 internal prototype to avoid an error. */
40772 #ifdef __cplusplus
40773 extern "C"
40775 #endif
40776 /* We use char because int might match the return type of a gcc2
40777 builtin and then its argument prototype would still apply. */
40778 char $ac_func ();
40779 /* The GNU C library defines this for functions which it implements
40780 to always fail with ENOSYS. Some functions are actually named
40781 something starting with __ and the normal name is an alias. */
40782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40783 choke me
40784 #else
40785 char (*f) () = $ac_func;
40786 #endif
40787 #ifdef __cplusplus
40789 #endif
40792 main ()
40794 return f != $ac_func;
40796 return 0;
40798 _ACEOF
40799 rm -f conftest.$ac_objext conftest$ac_exeext
40800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40801 (eval $ac_link) 2>conftest.er1
40802 ac_status=$?
40803 grep -v '^ *+' conftest.er1 >conftest.err
40804 rm -f conftest.er1
40805 cat conftest.err >&5
40806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40807 (exit $ac_status); } &&
40808 { ac_try='test -z "$ac_c_werror_flag"
40809 || test ! -s conftest.err'
40810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40811 (eval $ac_try) 2>&5
40812 ac_status=$?
40813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40814 (exit $ac_status); }; } &&
40815 { ac_try='test -s conftest$ac_exeext'
40816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40817 (eval $ac_try) 2>&5
40818 ac_status=$?
40819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40820 (exit $ac_status); }; }; then
40821 eval "$as_ac_var=yes"
40822 else
40823 echo "$as_me: failed program was:" >&5
40824 sed 's/^/| /' conftest.$ac_ext >&5
40826 eval "$as_ac_var=no"
40828 rm -f conftest.err conftest.$ac_objext \
40829 conftest$ac_exeext conftest.$ac_ext
40831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40833 if test `eval echo '${'$as_ac_var'}'` = yes; then
40834 cat >>confdefs.h <<_ACEOF
40835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40836 _ACEOF
40839 done
40846 echo "$as_me:$LINENO: checking for long double trig functions" >&5
40847 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
40848 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
40849 echo $ECHO_N "(cached) $ECHO_C" >&6
40850 else
40854 ac_ext=cc
40855 ac_cpp='$CXXCPP $CPPFLAGS'
40856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40860 cat >conftest.$ac_ext <<_ACEOF
40861 /* confdefs.h. */
40862 _ACEOF
40863 cat confdefs.h >>conftest.$ac_ext
40864 cat >>conftest.$ac_ext <<_ACEOF
40865 /* end confdefs.h. */
40866 #include <math.h>
40868 main ()
40870 `for x in acosl asinl atanl \
40871 cosl sinl tanl \
40872 coshl sinhl tanhl; do echo "$x (0);"; done`
40874 return 0;
40876 _ACEOF
40877 rm -f conftest.$ac_objext
40878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40879 (eval $ac_compile) 2>conftest.er1
40880 ac_status=$?
40881 grep -v '^ *+' conftest.er1 >conftest.err
40882 rm -f conftest.er1
40883 cat conftest.err >&5
40884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40885 (exit $ac_status); } &&
40886 { ac_try='test -z "$ac_cxx_werror_flag"
40887 || test ! -s conftest.err'
40888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40889 (eval $ac_try) 2>&5
40890 ac_status=$?
40891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40892 (exit $ac_status); }; } &&
40893 { ac_try='test -s conftest.$ac_objext'
40894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40895 (eval $ac_try) 2>&5
40896 ac_status=$?
40897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40898 (exit $ac_status); }; }; then
40899 glibcxx_cv_func_long_double_trig_use=yes
40900 else
40901 echo "$as_me: failed program was:" >&5
40902 sed 's/^/| /' conftest.$ac_ext >&5
40904 glibcxx_cv_func_long_double_trig_use=no
40906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40907 ac_ext=c
40908 ac_cpp='$CPP $CPPFLAGS'
40909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40915 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
40916 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
40917 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
40927 for ac_func in acosl asinl atanl \
40928 cosl sinl tanl \
40929 coshl sinhl tanhl
40931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40932 echo "$as_me:$LINENO: checking for $ac_func" >&5
40933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40934 if eval "test \"\${$as_ac_var+set}\" = set"; then
40935 echo $ECHO_N "(cached) $ECHO_C" >&6
40936 else
40937 if test x$gcc_no_link = xyes; then
40938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40940 { (exit 1); exit 1; }; }
40942 cat >conftest.$ac_ext <<_ACEOF
40943 /* confdefs.h. */
40944 _ACEOF
40945 cat confdefs.h >>conftest.$ac_ext
40946 cat >>conftest.$ac_ext <<_ACEOF
40947 /* end confdefs.h. */
40948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40950 #define $ac_func innocuous_$ac_func
40952 /* System header to define __stub macros and hopefully few prototypes,
40953 which can conflict with char $ac_func (); below.
40954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40955 <limits.h> exists even on freestanding compilers. */
40957 #ifdef __STDC__
40958 # include <limits.h>
40959 #else
40960 # include <assert.h>
40961 #endif
40963 #undef $ac_func
40965 /* Override any gcc2 internal prototype to avoid an error. */
40966 #ifdef __cplusplus
40967 extern "C"
40969 #endif
40970 /* We use char because int might match the return type of a gcc2
40971 builtin and then its argument prototype would still apply. */
40972 char $ac_func ();
40973 /* The GNU C library defines this for functions which it implements
40974 to always fail with ENOSYS. Some functions are actually named
40975 something starting with __ and the normal name is an alias. */
40976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40977 choke me
40978 #else
40979 char (*f) () = $ac_func;
40980 #endif
40981 #ifdef __cplusplus
40983 #endif
40986 main ()
40988 return f != $ac_func;
40990 return 0;
40992 _ACEOF
40993 rm -f conftest.$ac_objext conftest$ac_exeext
40994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40995 (eval $ac_link) 2>conftest.er1
40996 ac_status=$?
40997 grep -v '^ *+' conftest.er1 >conftest.err
40998 rm -f conftest.er1
40999 cat conftest.err >&5
41000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41001 (exit $ac_status); } &&
41002 { ac_try='test -z "$ac_c_werror_flag"
41003 || test ! -s conftest.err'
41004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41005 (eval $ac_try) 2>&5
41006 ac_status=$?
41007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41008 (exit $ac_status); }; } &&
41009 { ac_try='test -s conftest$ac_exeext'
41010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41011 (eval $ac_try) 2>&5
41012 ac_status=$?
41013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41014 (exit $ac_status); }; }; then
41015 eval "$as_ac_var=yes"
41016 else
41017 echo "$as_me: failed program was:" >&5
41018 sed 's/^/| /' conftest.$ac_ext >&5
41020 eval "$as_ac_var=no"
41022 rm -f conftest.err conftest.$ac_objext \
41023 conftest$ac_exeext conftest.$ac_ext
41025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41027 if test `eval echo '${'$as_ac_var'}'` = yes; then
41028 cat >>confdefs.h <<_ACEOF
41029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41030 _ACEOF
41033 done
41038 echo "$as_me:$LINENO: checking for long double round functions" >&5
41039 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
41040 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
41041 echo $ECHO_N "(cached) $ECHO_C" >&6
41042 else
41046 ac_ext=cc
41047 ac_cpp='$CXXCPP $CPPFLAGS'
41048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41052 cat >conftest.$ac_ext <<_ACEOF
41053 /* confdefs.h. */
41054 _ACEOF
41055 cat confdefs.h >>conftest.$ac_ext
41056 cat >>conftest.$ac_ext <<_ACEOF
41057 /* end confdefs.h. */
41058 #include <math.h>
41060 main ()
41062 `for x in ceill floorl; do echo "$x (0);"; done`
41064 return 0;
41066 _ACEOF
41067 rm -f conftest.$ac_objext
41068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41069 (eval $ac_compile) 2>conftest.er1
41070 ac_status=$?
41071 grep -v '^ *+' conftest.er1 >conftest.err
41072 rm -f conftest.er1
41073 cat conftest.err >&5
41074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41075 (exit $ac_status); } &&
41076 { ac_try='test -z "$ac_cxx_werror_flag"
41077 || test ! -s conftest.err'
41078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41079 (eval $ac_try) 2>&5
41080 ac_status=$?
41081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41082 (exit $ac_status); }; } &&
41083 { ac_try='test -s conftest.$ac_objext'
41084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41085 (eval $ac_try) 2>&5
41086 ac_status=$?
41087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41088 (exit $ac_status); }; }; then
41089 glibcxx_cv_func_long_double_round_use=yes
41090 else
41091 echo "$as_me: failed program was:" >&5
41092 sed 's/^/| /' conftest.$ac_ext >&5
41094 glibcxx_cv_func_long_double_round_use=no
41096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41097 ac_ext=c
41098 ac_cpp='$CPP $CPPFLAGS'
41099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41105 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
41106 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
41107 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41110 for ac_func in ceill floorl
41112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41113 echo "$as_me:$LINENO: checking for $ac_func" >&5
41114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41115 if eval "test \"\${$as_ac_var+set}\" = set"; then
41116 echo $ECHO_N "(cached) $ECHO_C" >&6
41117 else
41118 if test x$gcc_no_link = xyes; then
41119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41121 { (exit 1); exit 1; }; }
41123 cat >conftest.$ac_ext <<_ACEOF
41124 /* confdefs.h. */
41125 _ACEOF
41126 cat confdefs.h >>conftest.$ac_ext
41127 cat >>conftest.$ac_ext <<_ACEOF
41128 /* end confdefs.h. */
41129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41131 #define $ac_func innocuous_$ac_func
41133 /* System header to define __stub macros and hopefully few prototypes,
41134 which can conflict with char $ac_func (); below.
41135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41136 <limits.h> exists even on freestanding compilers. */
41138 #ifdef __STDC__
41139 # include <limits.h>
41140 #else
41141 # include <assert.h>
41142 #endif
41144 #undef $ac_func
41146 /* Override any gcc2 internal prototype to avoid an error. */
41147 #ifdef __cplusplus
41148 extern "C"
41150 #endif
41151 /* We use char because int might match the return type of a gcc2
41152 builtin and then its argument prototype would still apply. */
41153 char $ac_func ();
41154 /* The GNU C library defines this for functions which it implements
41155 to always fail with ENOSYS. Some functions are actually named
41156 something starting with __ and the normal name is an alias. */
41157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41158 choke me
41159 #else
41160 char (*f) () = $ac_func;
41161 #endif
41162 #ifdef __cplusplus
41164 #endif
41167 main ()
41169 return f != $ac_func;
41171 return 0;
41173 _ACEOF
41174 rm -f conftest.$ac_objext conftest$ac_exeext
41175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41176 (eval $ac_link) 2>conftest.er1
41177 ac_status=$?
41178 grep -v '^ *+' conftest.er1 >conftest.err
41179 rm -f conftest.er1
41180 cat conftest.err >&5
41181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41182 (exit $ac_status); } &&
41183 { ac_try='test -z "$ac_c_werror_flag"
41184 || test ! -s conftest.err'
41185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41186 (eval $ac_try) 2>&5
41187 ac_status=$?
41188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41189 (exit $ac_status); }; } &&
41190 { ac_try='test -s conftest$ac_exeext'
41191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41192 (eval $ac_try) 2>&5
41193 ac_status=$?
41194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41195 (exit $ac_status); }; }; then
41196 eval "$as_ac_var=yes"
41197 else
41198 echo "$as_me: failed program was:" >&5
41199 sed 's/^/| /' conftest.$ac_ext >&5
41201 eval "$as_ac_var=no"
41203 rm -f conftest.err conftest.$ac_objext \
41204 conftest$ac_exeext conftest.$ac_ext
41206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41208 if test `eval echo '${'$as_ac_var'}'` = yes; then
41209 cat >>confdefs.h <<_ACEOF
41210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41211 _ACEOF
41214 done
41220 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
41221 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
41222 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41223 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
41224 echo $ECHO_N "(cached) $ECHO_C" >&6
41225 else
41229 ac_ext=cc
41230 ac_cpp='$CXXCPP $CPPFLAGS'
41231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41235 cat >conftest.$ac_ext <<_ACEOF
41236 /* confdefs.h. */
41237 _ACEOF
41238 cat confdefs.h >>conftest.$ac_ext
41239 cat >>conftest.$ac_ext <<_ACEOF
41240 /* end confdefs.h. */
41241 #include <math.h>
41242 #ifdef HAVE_IEEEFP_H
41243 #include <ieeefp.h>
41244 #endif
41247 main ()
41249 isnanl(0);
41251 return 0;
41253 _ACEOF
41254 rm -f conftest.$ac_objext
41255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41256 (eval $ac_compile) 2>conftest.er1
41257 ac_status=$?
41258 grep -v '^ *+' conftest.er1 >conftest.err
41259 rm -f conftest.er1
41260 cat conftest.err >&5
41261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41262 (exit $ac_status); } &&
41263 { ac_try='test -z "$ac_cxx_werror_flag"
41264 || test ! -s conftest.err'
41265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41266 (eval $ac_try) 2>&5
41267 ac_status=$?
41268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41269 (exit $ac_status); }; } &&
41270 { ac_try='test -s conftest.$ac_objext'
41271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41272 (eval $ac_try) 2>&5
41273 ac_status=$?
41274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41275 (exit $ac_status); }; }; then
41276 glibcxx_cv_func_isnanl_use=yes
41277 else
41278 echo "$as_me: failed program was:" >&5
41279 sed 's/^/| /' conftest.$ac_ext >&5
41281 glibcxx_cv_func_isnanl_use=no
41283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41284 ac_ext=c
41285 ac_cpp='$CPP $CPPFLAGS'
41286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41294 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
41295 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
41297 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41299 for ac_func in isnanl
41301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41302 echo "$as_me:$LINENO: checking for $ac_func" >&5
41303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41304 if eval "test \"\${$as_ac_var+set}\" = set"; then
41305 echo $ECHO_N "(cached) $ECHO_C" >&6
41306 else
41307 if test x$gcc_no_link = xyes; then
41308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41310 { (exit 1); exit 1; }; }
41312 cat >conftest.$ac_ext <<_ACEOF
41313 /* confdefs.h. */
41314 _ACEOF
41315 cat confdefs.h >>conftest.$ac_ext
41316 cat >>conftest.$ac_ext <<_ACEOF
41317 /* end confdefs.h. */
41318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41320 #define $ac_func innocuous_$ac_func
41322 /* System header to define __stub macros and hopefully few prototypes,
41323 which can conflict with char $ac_func (); below.
41324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41325 <limits.h> exists even on freestanding compilers. */
41327 #ifdef __STDC__
41328 # include <limits.h>
41329 #else
41330 # include <assert.h>
41331 #endif
41333 #undef $ac_func
41335 /* Override any gcc2 internal prototype to avoid an error. */
41336 #ifdef __cplusplus
41337 extern "C"
41339 #endif
41340 /* We use char because int might match the return type of a gcc2
41341 builtin and then its argument prototype would still apply. */
41342 char $ac_func ();
41343 /* The GNU C library defines this for functions which it implements
41344 to always fail with ENOSYS. Some functions are actually named
41345 something starting with __ and the normal name is an alias. */
41346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41347 choke me
41348 #else
41349 char (*f) () = $ac_func;
41350 #endif
41351 #ifdef __cplusplus
41353 #endif
41356 main ()
41358 return f != $ac_func;
41360 return 0;
41362 _ACEOF
41363 rm -f conftest.$ac_objext conftest$ac_exeext
41364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41365 (eval $ac_link) 2>conftest.er1
41366 ac_status=$?
41367 grep -v '^ *+' conftest.er1 >conftest.err
41368 rm -f conftest.er1
41369 cat conftest.err >&5
41370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41371 (exit $ac_status); } &&
41372 { ac_try='test -z "$ac_c_werror_flag"
41373 || test ! -s conftest.err'
41374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41375 (eval $ac_try) 2>&5
41376 ac_status=$?
41377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41378 (exit $ac_status); }; } &&
41379 { ac_try='test -s conftest$ac_exeext'
41380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41381 (eval $ac_try) 2>&5
41382 ac_status=$?
41383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41384 (exit $ac_status); }; }; then
41385 eval "$as_ac_var=yes"
41386 else
41387 echo "$as_me: failed program was:" >&5
41388 sed 's/^/| /' conftest.$ac_ext >&5
41390 eval "$as_ac_var=no"
41392 rm -f conftest.err conftest.$ac_objext \
41393 conftest$ac_exeext conftest.$ac_ext
41395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41397 if test `eval echo '${'$as_ac_var'}'` = yes; then
41398 cat >>confdefs.h <<_ACEOF
41399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41400 _ACEOF
41403 done
41405 else
41407 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
41408 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
41409 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41410 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
41411 echo $ECHO_N "(cached) $ECHO_C" >&6
41412 else
41416 ac_ext=cc
41417 ac_cpp='$CXXCPP $CPPFLAGS'
41418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41422 cat >conftest.$ac_ext <<_ACEOF
41423 /* confdefs.h. */
41424 _ACEOF
41425 cat confdefs.h >>conftest.$ac_ext
41426 cat >>conftest.$ac_ext <<_ACEOF
41427 /* end confdefs.h. */
41428 #include <math.h>
41429 #ifdef HAVE_IEEEFP_H
41430 #include <ieeefp.h>
41431 #endif
41434 main ()
41436 _isnanl(0);
41438 return 0;
41440 _ACEOF
41441 rm -f conftest.$ac_objext
41442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41443 (eval $ac_compile) 2>conftest.er1
41444 ac_status=$?
41445 grep -v '^ *+' conftest.er1 >conftest.err
41446 rm -f conftest.er1
41447 cat conftest.err >&5
41448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41449 (exit $ac_status); } &&
41450 { ac_try='test -z "$ac_cxx_werror_flag"
41451 || test ! -s conftest.err'
41452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41453 (eval $ac_try) 2>&5
41454 ac_status=$?
41455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41456 (exit $ac_status); }; } &&
41457 { ac_try='test -s conftest.$ac_objext'
41458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41459 (eval $ac_try) 2>&5
41460 ac_status=$?
41461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41462 (exit $ac_status); }; }; then
41463 glibcxx_cv_func__isnanl_use=yes
41464 else
41465 echo "$as_me: failed program was:" >&5
41466 sed 's/^/| /' conftest.$ac_ext >&5
41468 glibcxx_cv_func__isnanl_use=no
41470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41471 ac_ext=c
41472 ac_cpp='$CPP $CPPFLAGS'
41473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41481 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
41482 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
41484 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41486 for ac_func in _isnanl
41488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41489 echo "$as_me:$LINENO: checking for $ac_func" >&5
41490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41491 if eval "test \"\${$as_ac_var+set}\" = set"; then
41492 echo $ECHO_N "(cached) $ECHO_C" >&6
41493 else
41494 if test x$gcc_no_link = xyes; then
41495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41497 { (exit 1); exit 1; }; }
41499 cat >conftest.$ac_ext <<_ACEOF
41500 /* confdefs.h. */
41501 _ACEOF
41502 cat confdefs.h >>conftest.$ac_ext
41503 cat >>conftest.$ac_ext <<_ACEOF
41504 /* end confdefs.h. */
41505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41507 #define $ac_func innocuous_$ac_func
41509 /* System header to define __stub macros and hopefully few prototypes,
41510 which can conflict with char $ac_func (); below.
41511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41512 <limits.h> exists even on freestanding compilers. */
41514 #ifdef __STDC__
41515 # include <limits.h>
41516 #else
41517 # include <assert.h>
41518 #endif
41520 #undef $ac_func
41522 /* Override any gcc2 internal prototype to avoid an error. */
41523 #ifdef __cplusplus
41524 extern "C"
41526 #endif
41527 /* We use char because int might match the return type of a gcc2
41528 builtin and then its argument prototype would still apply. */
41529 char $ac_func ();
41530 /* The GNU C library defines this for functions which it implements
41531 to always fail with ENOSYS. Some functions are actually named
41532 something starting with __ and the normal name is an alias. */
41533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41534 choke me
41535 #else
41536 char (*f) () = $ac_func;
41537 #endif
41538 #ifdef __cplusplus
41540 #endif
41543 main ()
41545 return f != $ac_func;
41547 return 0;
41549 _ACEOF
41550 rm -f conftest.$ac_objext conftest$ac_exeext
41551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41552 (eval $ac_link) 2>conftest.er1
41553 ac_status=$?
41554 grep -v '^ *+' conftest.er1 >conftest.err
41555 rm -f conftest.er1
41556 cat conftest.err >&5
41557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41558 (exit $ac_status); } &&
41559 { ac_try='test -z "$ac_c_werror_flag"
41560 || test ! -s conftest.err'
41561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41562 (eval $ac_try) 2>&5
41563 ac_status=$?
41564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41565 (exit $ac_status); }; } &&
41566 { ac_try='test -s conftest$ac_exeext'
41567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41568 (eval $ac_try) 2>&5
41569 ac_status=$?
41570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41571 (exit $ac_status); }; }; then
41572 eval "$as_ac_var=yes"
41573 else
41574 echo "$as_me: failed program was:" >&5
41575 sed 's/^/| /' conftest.$ac_ext >&5
41577 eval "$as_ac_var=no"
41579 rm -f conftest.err conftest.$ac_objext \
41580 conftest$ac_exeext conftest.$ac_ext
41582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41584 if test `eval echo '${'$as_ac_var'}'` = yes; then
41585 cat >>confdefs.h <<_ACEOF
41586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41587 _ACEOF
41590 done
41597 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
41598 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
41599 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41600 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
41601 echo $ECHO_N "(cached) $ECHO_C" >&6
41602 else
41606 ac_ext=cc
41607 ac_cpp='$CXXCPP $CPPFLAGS'
41608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41612 cat >conftest.$ac_ext <<_ACEOF
41613 /* confdefs.h. */
41614 _ACEOF
41615 cat confdefs.h >>conftest.$ac_ext
41616 cat >>conftest.$ac_ext <<_ACEOF
41617 /* end confdefs.h. */
41618 #include <math.h>
41619 #ifdef HAVE_IEEEFP_H
41620 #include <ieeefp.h>
41621 #endif
41624 main ()
41626 isinfl(0);
41628 return 0;
41630 _ACEOF
41631 rm -f conftest.$ac_objext
41632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41633 (eval $ac_compile) 2>conftest.er1
41634 ac_status=$?
41635 grep -v '^ *+' conftest.er1 >conftest.err
41636 rm -f conftest.er1
41637 cat conftest.err >&5
41638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41639 (exit $ac_status); } &&
41640 { ac_try='test -z "$ac_cxx_werror_flag"
41641 || test ! -s conftest.err'
41642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41643 (eval $ac_try) 2>&5
41644 ac_status=$?
41645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41646 (exit $ac_status); }; } &&
41647 { ac_try='test -s conftest.$ac_objext'
41648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41649 (eval $ac_try) 2>&5
41650 ac_status=$?
41651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41652 (exit $ac_status); }; }; then
41653 glibcxx_cv_func_isinfl_use=yes
41654 else
41655 echo "$as_me: failed program was:" >&5
41656 sed 's/^/| /' conftest.$ac_ext >&5
41658 glibcxx_cv_func_isinfl_use=no
41660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41661 ac_ext=c
41662 ac_cpp='$CPP $CPPFLAGS'
41663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41671 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
41672 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
41674 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41676 for ac_func in isinfl
41678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41679 echo "$as_me:$LINENO: checking for $ac_func" >&5
41680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41681 if eval "test \"\${$as_ac_var+set}\" = set"; then
41682 echo $ECHO_N "(cached) $ECHO_C" >&6
41683 else
41684 if test x$gcc_no_link = xyes; then
41685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41687 { (exit 1); exit 1; }; }
41689 cat >conftest.$ac_ext <<_ACEOF
41690 /* confdefs.h. */
41691 _ACEOF
41692 cat confdefs.h >>conftest.$ac_ext
41693 cat >>conftest.$ac_ext <<_ACEOF
41694 /* end confdefs.h. */
41695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41697 #define $ac_func innocuous_$ac_func
41699 /* System header to define __stub macros and hopefully few prototypes,
41700 which can conflict with char $ac_func (); below.
41701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41702 <limits.h> exists even on freestanding compilers. */
41704 #ifdef __STDC__
41705 # include <limits.h>
41706 #else
41707 # include <assert.h>
41708 #endif
41710 #undef $ac_func
41712 /* Override any gcc2 internal prototype to avoid an error. */
41713 #ifdef __cplusplus
41714 extern "C"
41716 #endif
41717 /* We use char because int might match the return type of a gcc2
41718 builtin and then its argument prototype would still apply. */
41719 char $ac_func ();
41720 /* The GNU C library defines this for functions which it implements
41721 to always fail with ENOSYS. Some functions are actually named
41722 something starting with __ and the normal name is an alias. */
41723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41724 choke me
41725 #else
41726 char (*f) () = $ac_func;
41727 #endif
41728 #ifdef __cplusplus
41730 #endif
41733 main ()
41735 return f != $ac_func;
41737 return 0;
41739 _ACEOF
41740 rm -f conftest.$ac_objext conftest$ac_exeext
41741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41742 (eval $ac_link) 2>conftest.er1
41743 ac_status=$?
41744 grep -v '^ *+' conftest.er1 >conftest.err
41745 rm -f conftest.er1
41746 cat conftest.err >&5
41747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41748 (exit $ac_status); } &&
41749 { ac_try='test -z "$ac_c_werror_flag"
41750 || test ! -s conftest.err'
41751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41752 (eval $ac_try) 2>&5
41753 ac_status=$?
41754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41755 (exit $ac_status); }; } &&
41756 { ac_try='test -s conftest$ac_exeext'
41757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41758 (eval $ac_try) 2>&5
41759 ac_status=$?
41760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41761 (exit $ac_status); }; }; then
41762 eval "$as_ac_var=yes"
41763 else
41764 echo "$as_me: failed program was:" >&5
41765 sed 's/^/| /' conftest.$ac_ext >&5
41767 eval "$as_ac_var=no"
41769 rm -f conftest.err conftest.$ac_objext \
41770 conftest$ac_exeext conftest.$ac_ext
41772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41774 if test `eval echo '${'$as_ac_var'}'` = yes; then
41775 cat >>confdefs.h <<_ACEOF
41776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41777 _ACEOF
41780 done
41782 else
41784 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
41785 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
41786 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41787 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
41788 echo $ECHO_N "(cached) $ECHO_C" >&6
41789 else
41793 ac_ext=cc
41794 ac_cpp='$CXXCPP $CPPFLAGS'
41795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41799 cat >conftest.$ac_ext <<_ACEOF
41800 /* confdefs.h. */
41801 _ACEOF
41802 cat confdefs.h >>conftest.$ac_ext
41803 cat >>conftest.$ac_ext <<_ACEOF
41804 /* end confdefs.h. */
41805 #include <math.h>
41806 #ifdef HAVE_IEEEFP_H
41807 #include <ieeefp.h>
41808 #endif
41811 main ()
41813 _isinfl(0);
41815 return 0;
41817 _ACEOF
41818 rm -f conftest.$ac_objext
41819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41820 (eval $ac_compile) 2>conftest.er1
41821 ac_status=$?
41822 grep -v '^ *+' conftest.er1 >conftest.err
41823 rm -f conftest.er1
41824 cat conftest.err >&5
41825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41826 (exit $ac_status); } &&
41827 { ac_try='test -z "$ac_cxx_werror_flag"
41828 || test ! -s conftest.err'
41829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41830 (eval $ac_try) 2>&5
41831 ac_status=$?
41832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41833 (exit $ac_status); }; } &&
41834 { ac_try='test -s conftest.$ac_objext'
41835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41836 (eval $ac_try) 2>&5
41837 ac_status=$?
41838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41839 (exit $ac_status); }; }; then
41840 glibcxx_cv_func__isinfl_use=yes
41841 else
41842 echo "$as_me: failed program was:" >&5
41843 sed 's/^/| /' conftest.$ac_ext >&5
41845 glibcxx_cv_func__isinfl_use=no
41847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41848 ac_ext=c
41849 ac_cpp='$CPP $CPPFLAGS'
41850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41858 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
41859 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
41861 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
41863 for ac_func in _isinfl
41865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41866 echo "$as_me:$LINENO: checking for $ac_func" >&5
41867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41868 if eval "test \"\${$as_ac_var+set}\" = set"; then
41869 echo $ECHO_N "(cached) $ECHO_C" >&6
41870 else
41871 if test x$gcc_no_link = xyes; then
41872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41874 { (exit 1); exit 1; }; }
41876 cat >conftest.$ac_ext <<_ACEOF
41877 /* confdefs.h. */
41878 _ACEOF
41879 cat confdefs.h >>conftest.$ac_ext
41880 cat >>conftest.$ac_ext <<_ACEOF
41881 /* end confdefs.h. */
41882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41884 #define $ac_func innocuous_$ac_func
41886 /* System header to define __stub macros and hopefully few prototypes,
41887 which can conflict with char $ac_func (); below.
41888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41889 <limits.h> exists even on freestanding compilers. */
41891 #ifdef __STDC__
41892 # include <limits.h>
41893 #else
41894 # include <assert.h>
41895 #endif
41897 #undef $ac_func
41899 /* Override any gcc2 internal prototype to avoid an error. */
41900 #ifdef __cplusplus
41901 extern "C"
41903 #endif
41904 /* We use char because int might match the return type of a gcc2
41905 builtin and then its argument prototype would still apply. */
41906 char $ac_func ();
41907 /* The GNU C library defines this for functions which it implements
41908 to always fail with ENOSYS. Some functions are actually named
41909 something starting with __ and the normal name is an alias. */
41910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41911 choke me
41912 #else
41913 char (*f) () = $ac_func;
41914 #endif
41915 #ifdef __cplusplus
41917 #endif
41920 main ()
41922 return f != $ac_func;
41924 return 0;
41926 _ACEOF
41927 rm -f conftest.$ac_objext conftest$ac_exeext
41928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41929 (eval $ac_link) 2>conftest.er1
41930 ac_status=$?
41931 grep -v '^ *+' conftest.er1 >conftest.err
41932 rm -f conftest.er1
41933 cat conftest.err >&5
41934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41935 (exit $ac_status); } &&
41936 { ac_try='test -z "$ac_c_werror_flag"
41937 || test ! -s conftest.err'
41938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41939 (eval $ac_try) 2>&5
41940 ac_status=$?
41941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41942 (exit $ac_status); }; } &&
41943 { ac_try='test -s conftest$ac_exeext'
41944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41945 (eval $ac_try) 2>&5
41946 ac_status=$?
41947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41948 (exit $ac_status); }; }; then
41949 eval "$as_ac_var=yes"
41950 else
41951 echo "$as_me: failed program was:" >&5
41952 sed 's/^/| /' conftest.$ac_ext >&5
41954 eval "$as_ac_var=no"
41956 rm -f conftest.err conftest.$ac_objext \
41957 conftest$ac_exeext conftest.$ac_ext
41959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41961 if test `eval echo '${'$as_ac_var'}'` = yes; then
41962 cat >>confdefs.h <<_ACEOF
41963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41964 _ACEOF
41967 done
41974 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
41975 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
41976 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
41977 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
41978 echo $ECHO_N "(cached) $ECHO_C" >&6
41979 else
41983 ac_ext=cc
41984 ac_cpp='$CXXCPP $CPPFLAGS'
41985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41989 cat >conftest.$ac_ext <<_ACEOF
41990 /* confdefs.h. */
41991 _ACEOF
41992 cat confdefs.h >>conftest.$ac_ext
41993 cat >>conftest.$ac_ext <<_ACEOF
41994 /* end confdefs.h. */
41995 #include <math.h>
41997 main ()
41999 copysignl(0, 0);
42001 return 0;
42003 _ACEOF
42004 rm -f conftest.$ac_objext
42005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42006 (eval $ac_compile) 2>conftest.er1
42007 ac_status=$?
42008 grep -v '^ *+' conftest.er1 >conftest.err
42009 rm -f conftest.er1
42010 cat conftest.err >&5
42011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42012 (exit $ac_status); } &&
42013 { ac_try='test -z "$ac_cxx_werror_flag"
42014 || test ! -s conftest.err'
42015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42016 (eval $ac_try) 2>&5
42017 ac_status=$?
42018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42019 (exit $ac_status); }; } &&
42020 { ac_try='test -s conftest.$ac_objext'
42021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42022 (eval $ac_try) 2>&5
42023 ac_status=$?
42024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42025 (exit $ac_status); }; }; then
42026 glibcxx_cv_func_copysignl_use=yes
42027 else
42028 echo "$as_me: failed program was:" >&5
42029 sed 's/^/| /' conftest.$ac_ext >&5
42031 glibcxx_cv_func_copysignl_use=no
42033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42034 ac_ext=c
42035 ac_cpp='$CPP $CPPFLAGS'
42036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42044 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
42045 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
42047 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
42049 for ac_func in copysignl
42051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42052 echo "$as_me:$LINENO: checking for $ac_func" >&5
42053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42054 if eval "test \"\${$as_ac_var+set}\" = set"; then
42055 echo $ECHO_N "(cached) $ECHO_C" >&6
42056 else
42057 if test x$gcc_no_link = xyes; then
42058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42060 { (exit 1); exit 1; }; }
42062 cat >conftest.$ac_ext <<_ACEOF
42063 /* confdefs.h. */
42064 _ACEOF
42065 cat confdefs.h >>conftest.$ac_ext
42066 cat >>conftest.$ac_ext <<_ACEOF
42067 /* end confdefs.h. */
42068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42070 #define $ac_func innocuous_$ac_func
42072 /* System header to define __stub macros and hopefully few prototypes,
42073 which can conflict with char $ac_func (); below.
42074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42075 <limits.h> exists even on freestanding compilers. */
42077 #ifdef __STDC__
42078 # include <limits.h>
42079 #else
42080 # include <assert.h>
42081 #endif
42083 #undef $ac_func
42085 /* Override any gcc2 internal prototype to avoid an error. */
42086 #ifdef __cplusplus
42087 extern "C"
42089 #endif
42090 /* We use char because int might match the return type of a gcc2
42091 builtin and then its argument prototype would still apply. */
42092 char $ac_func ();
42093 /* The GNU C library defines this for functions which it implements
42094 to always fail with ENOSYS. Some functions are actually named
42095 something starting with __ and the normal name is an alias. */
42096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42097 choke me
42098 #else
42099 char (*f) () = $ac_func;
42100 #endif
42101 #ifdef __cplusplus
42103 #endif
42106 main ()
42108 return f != $ac_func;
42110 return 0;
42112 _ACEOF
42113 rm -f conftest.$ac_objext conftest$ac_exeext
42114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42115 (eval $ac_link) 2>conftest.er1
42116 ac_status=$?
42117 grep -v '^ *+' conftest.er1 >conftest.err
42118 rm -f conftest.er1
42119 cat conftest.err >&5
42120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42121 (exit $ac_status); } &&
42122 { ac_try='test -z "$ac_c_werror_flag"
42123 || test ! -s conftest.err'
42124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42125 (eval $ac_try) 2>&5
42126 ac_status=$?
42127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42128 (exit $ac_status); }; } &&
42129 { ac_try='test -s conftest$ac_exeext'
42130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42131 (eval $ac_try) 2>&5
42132 ac_status=$?
42133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42134 (exit $ac_status); }; }; then
42135 eval "$as_ac_var=yes"
42136 else
42137 echo "$as_me: failed program was:" >&5
42138 sed 's/^/| /' conftest.$ac_ext >&5
42140 eval "$as_ac_var=no"
42142 rm -f conftest.err conftest.$ac_objext \
42143 conftest$ac_exeext conftest.$ac_ext
42145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42147 if test `eval echo '${'$as_ac_var'}'` = yes; then
42148 cat >>confdefs.h <<_ACEOF
42149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42150 _ACEOF
42153 done
42155 else
42157 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
42158 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
42159 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
42160 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
42161 echo $ECHO_N "(cached) $ECHO_C" >&6
42162 else
42166 ac_ext=cc
42167 ac_cpp='$CXXCPP $CPPFLAGS'
42168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42172 cat >conftest.$ac_ext <<_ACEOF
42173 /* confdefs.h. */
42174 _ACEOF
42175 cat confdefs.h >>conftest.$ac_ext
42176 cat >>conftest.$ac_ext <<_ACEOF
42177 /* end confdefs.h. */
42178 #include <math.h>
42180 main ()
42182 _copysignl(0, 0);
42184 return 0;
42186 _ACEOF
42187 rm -f conftest.$ac_objext
42188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42189 (eval $ac_compile) 2>conftest.er1
42190 ac_status=$?
42191 grep -v '^ *+' conftest.er1 >conftest.err
42192 rm -f conftest.er1
42193 cat conftest.err >&5
42194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42195 (exit $ac_status); } &&
42196 { ac_try='test -z "$ac_cxx_werror_flag"
42197 || test ! -s conftest.err'
42198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42199 (eval $ac_try) 2>&5
42200 ac_status=$?
42201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42202 (exit $ac_status); }; } &&
42203 { ac_try='test -s conftest.$ac_objext'
42204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42205 (eval $ac_try) 2>&5
42206 ac_status=$?
42207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42208 (exit $ac_status); }; }; then
42209 glibcxx_cv_func__copysignl_use=yes
42210 else
42211 echo "$as_me: failed program was:" >&5
42212 sed 's/^/| /' conftest.$ac_ext >&5
42214 glibcxx_cv_func__copysignl_use=no
42216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42217 ac_ext=c
42218 ac_cpp='$CPP $CPPFLAGS'
42219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42227 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
42228 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
42230 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
42232 for ac_func in _copysignl
42234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42235 echo "$as_me:$LINENO: checking for $ac_func" >&5
42236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42237 if eval "test \"\${$as_ac_var+set}\" = set"; then
42238 echo $ECHO_N "(cached) $ECHO_C" >&6
42239 else
42240 if test x$gcc_no_link = xyes; then
42241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42243 { (exit 1); exit 1; }; }
42245 cat >conftest.$ac_ext <<_ACEOF
42246 /* confdefs.h. */
42247 _ACEOF
42248 cat confdefs.h >>conftest.$ac_ext
42249 cat >>conftest.$ac_ext <<_ACEOF
42250 /* end confdefs.h. */
42251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42253 #define $ac_func innocuous_$ac_func
42255 /* System header to define __stub macros and hopefully few prototypes,
42256 which can conflict with char $ac_func (); below.
42257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42258 <limits.h> exists even on freestanding compilers. */
42260 #ifdef __STDC__
42261 # include <limits.h>
42262 #else
42263 # include <assert.h>
42264 #endif
42266 #undef $ac_func
42268 /* Override any gcc2 internal prototype to avoid an error. */
42269 #ifdef __cplusplus
42270 extern "C"
42272 #endif
42273 /* We use char because int might match the return type of a gcc2
42274 builtin and then its argument prototype would still apply. */
42275 char $ac_func ();
42276 /* The GNU C library defines this for functions which it implements
42277 to always fail with ENOSYS. Some functions are actually named
42278 something starting with __ and the normal name is an alias. */
42279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42280 choke me
42281 #else
42282 char (*f) () = $ac_func;
42283 #endif
42284 #ifdef __cplusplus
42286 #endif
42289 main ()
42291 return f != $ac_func;
42293 return 0;
42295 _ACEOF
42296 rm -f conftest.$ac_objext conftest$ac_exeext
42297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42298 (eval $ac_link) 2>conftest.er1
42299 ac_status=$?
42300 grep -v '^ *+' conftest.er1 >conftest.err
42301 rm -f conftest.er1
42302 cat conftest.err >&5
42303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42304 (exit $ac_status); } &&
42305 { ac_try='test -z "$ac_c_werror_flag"
42306 || test ! -s conftest.err'
42307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42308 (eval $ac_try) 2>&5
42309 ac_status=$?
42310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42311 (exit $ac_status); }; } &&
42312 { ac_try='test -s conftest$ac_exeext'
42313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42314 (eval $ac_try) 2>&5
42315 ac_status=$?
42316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42317 (exit $ac_status); }; }; then
42318 eval "$as_ac_var=yes"
42319 else
42320 echo "$as_me: failed program was:" >&5
42321 sed 's/^/| /' conftest.$ac_ext >&5
42323 eval "$as_ac_var=no"
42325 rm -f conftest.err conftest.$ac_objext \
42326 conftest$ac_exeext conftest.$ac_ext
42328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42330 if test `eval echo '${'$as_ac_var'}'` = yes; then
42331 cat >>confdefs.h <<_ACEOF
42332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42333 _ACEOF
42336 done
42343 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
42344 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
42345 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42346 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
42347 echo $ECHO_N "(cached) $ECHO_C" >&6
42348 else
42352 ac_ext=cc
42353 ac_cpp='$CXXCPP $CPPFLAGS'
42354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42358 cat >conftest.$ac_ext <<_ACEOF
42359 /* confdefs.h. */
42360 _ACEOF
42361 cat confdefs.h >>conftest.$ac_ext
42362 cat >>conftest.$ac_ext <<_ACEOF
42363 /* end confdefs.h. */
42364 #include <math.h>
42366 main ()
42368 atan2l(0, 0);
42370 return 0;
42372 _ACEOF
42373 rm -f conftest.$ac_objext
42374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42375 (eval $ac_compile) 2>conftest.er1
42376 ac_status=$?
42377 grep -v '^ *+' conftest.er1 >conftest.err
42378 rm -f conftest.er1
42379 cat conftest.err >&5
42380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42381 (exit $ac_status); } &&
42382 { ac_try='test -z "$ac_cxx_werror_flag"
42383 || test ! -s conftest.err'
42384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42385 (eval $ac_try) 2>&5
42386 ac_status=$?
42387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42388 (exit $ac_status); }; } &&
42389 { ac_try='test -s conftest.$ac_objext'
42390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42391 (eval $ac_try) 2>&5
42392 ac_status=$?
42393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42394 (exit $ac_status); }; }; then
42395 glibcxx_cv_func_atan2l_use=yes
42396 else
42397 echo "$as_me: failed program was:" >&5
42398 sed 's/^/| /' conftest.$ac_ext >&5
42400 glibcxx_cv_func_atan2l_use=no
42402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42403 ac_ext=c
42404 ac_cpp='$CPP $CPPFLAGS'
42405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42413 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
42414 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
42416 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42418 for ac_func in atan2l
42420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42421 echo "$as_me:$LINENO: checking for $ac_func" >&5
42422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42423 if eval "test \"\${$as_ac_var+set}\" = set"; then
42424 echo $ECHO_N "(cached) $ECHO_C" >&6
42425 else
42426 if test x$gcc_no_link = xyes; then
42427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42429 { (exit 1); exit 1; }; }
42431 cat >conftest.$ac_ext <<_ACEOF
42432 /* confdefs.h. */
42433 _ACEOF
42434 cat confdefs.h >>conftest.$ac_ext
42435 cat >>conftest.$ac_ext <<_ACEOF
42436 /* end confdefs.h. */
42437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42439 #define $ac_func innocuous_$ac_func
42441 /* System header to define __stub macros and hopefully few prototypes,
42442 which can conflict with char $ac_func (); below.
42443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42444 <limits.h> exists even on freestanding compilers. */
42446 #ifdef __STDC__
42447 # include <limits.h>
42448 #else
42449 # include <assert.h>
42450 #endif
42452 #undef $ac_func
42454 /* Override any gcc2 internal prototype to avoid an error. */
42455 #ifdef __cplusplus
42456 extern "C"
42458 #endif
42459 /* We use char because int might match the return type of a gcc2
42460 builtin and then its argument prototype would still apply. */
42461 char $ac_func ();
42462 /* The GNU C library defines this for functions which it implements
42463 to always fail with ENOSYS. Some functions are actually named
42464 something starting with __ and the normal name is an alias. */
42465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42466 choke me
42467 #else
42468 char (*f) () = $ac_func;
42469 #endif
42470 #ifdef __cplusplus
42472 #endif
42475 main ()
42477 return f != $ac_func;
42479 return 0;
42481 _ACEOF
42482 rm -f conftest.$ac_objext conftest$ac_exeext
42483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42484 (eval $ac_link) 2>conftest.er1
42485 ac_status=$?
42486 grep -v '^ *+' conftest.er1 >conftest.err
42487 rm -f conftest.er1
42488 cat conftest.err >&5
42489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42490 (exit $ac_status); } &&
42491 { ac_try='test -z "$ac_c_werror_flag"
42492 || test ! -s conftest.err'
42493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42494 (eval $ac_try) 2>&5
42495 ac_status=$?
42496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42497 (exit $ac_status); }; } &&
42498 { ac_try='test -s conftest$ac_exeext'
42499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42500 (eval $ac_try) 2>&5
42501 ac_status=$?
42502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42503 (exit $ac_status); }; }; then
42504 eval "$as_ac_var=yes"
42505 else
42506 echo "$as_me: failed program was:" >&5
42507 sed 's/^/| /' conftest.$ac_ext >&5
42509 eval "$as_ac_var=no"
42511 rm -f conftest.err conftest.$ac_objext \
42512 conftest$ac_exeext conftest.$ac_ext
42514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42516 if test `eval echo '${'$as_ac_var'}'` = yes; then
42517 cat >>confdefs.h <<_ACEOF
42518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42519 _ACEOF
42522 done
42524 else
42526 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
42527 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
42528 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42529 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
42530 echo $ECHO_N "(cached) $ECHO_C" >&6
42531 else
42535 ac_ext=cc
42536 ac_cpp='$CXXCPP $CPPFLAGS'
42537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42541 cat >conftest.$ac_ext <<_ACEOF
42542 /* confdefs.h. */
42543 _ACEOF
42544 cat confdefs.h >>conftest.$ac_ext
42545 cat >>conftest.$ac_ext <<_ACEOF
42546 /* end confdefs.h. */
42547 #include <math.h>
42549 main ()
42551 _atan2l(0, 0);
42553 return 0;
42555 _ACEOF
42556 rm -f conftest.$ac_objext
42557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42558 (eval $ac_compile) 2>conftest.er1
42559 ac_status=$?
42560 grep -v '^ *+' conftest.er1 >conftest.err
42561 rm -f conftest.er1
42562 cat conftest.err >&5
42563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42564 (exit $ac_status); } &&
42565 { ac_try='test -z "$ac_cxx_werror_flag"
42566 || test ! -s conftest.err'
42567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42568 (eval $ac_try) 2>&5
42569 ac_status=$?
42570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42571 (exit $ac_status); }; } &&
42572 { ac_try='test -s conftest.$ac_objext'
42573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42574 (eval $ac_try) 2>&5
42575 ac_status=$?
42576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42577 (exit $ac_status); }; }; then
42578 glibcxx_cv_func__atan2l_use=yes
42579 else
42580 echo "$as_me: failed program was:" >&5
42581 sed 's/^/| /' conftest.$ac_ext >&5
42583 glibcxx_cv_func__atan2l_use=no
42585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42586 ac_ext=c
42587 ac_cpp='$CPP $CPPFLAGS'
42588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42596 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
42597 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
42599 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42601 for ac_func in _atan2l
42603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42604 echo "$as_me:$LINENO: checking for $ac_func" >&5
42605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42606 if eval "test \"\${$as_ac_var+set}\" = set"; then
42607 echo $ECHO_N "(cached) $ECHO_C" >&6
42608 else
42609 if test x$gcc_no_link = xyes; then
42610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42612 { (exit 1); exit 1; }; }
42614 cat >conftest.$ac_ext <<_ACEOF
42615 /* confdefs.h. */
42616 _ACEOF
42617 cat confdefs.h >>conftest.$ac_ext
42618 cat >>conftest.$ac_ext <<_ACEOF
42619 /* end confdefs.h. */
42620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42622 #define $ac_func innocuous_$ac_func
42624 /* System header to define __stub macros and hopefully few prototypes,
42625 which can conflict with char $ac_func (); below.
42626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42627 <limits.h> exists even on freestanding compilers. */
42629 #ifdef __STDC__
42630 # include <limits.h>
42631 #else
42632 # include <assert.h>
42633 #endif
42635 #undef $ac_func
42637 /* Override any gcc2 internal prototype to avoid an error. */
42638 #ifdef __cplusplus
42639 extern "C"
42641 #endif
42642 /* We use char because int might match the return type of a gcc2
42643 builtin and then its argument prototype would still apply. */
42644 char $ac_func ();
42645 /* The GNU C library defines this for functions which it implements
42646 to always fail with ENOSYS. Some functions are actually named
42647 something starting with __ and the normal name is an alias. */
42648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42649 choke me
42650 #else
42651 char (*f) () = $ac_func;
42652 #endif
42653 #ifdef __cplusplus
42655 #endif
42658 main ()
42660 return f != $ac_func;
42662 return 0;
42664 _ACEOF
42665 rm -f conftest.$ac_objext conftest$ac_exeext
42666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42667 (eval $ac_link) 2>conftest.er1
42668 ac_status=$?
42669 grep -v '^ *+' conftest.er1 >conftest.err
42670 rm -f conftest.er1
42671 cat conftest.err >&5
42672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42673 (exit $ac_status); } &&
42674 { ac_try='test -z "$ac_c_werror_flag"
42675 || test ! -s conftest.err'
42676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42677 (eval $ac_try) 2>&5
42678 ac_status=$?
42679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42680 (exit $ac_status); }; } &&
42681 { ac_try='test -s conftest$ac_exeext'
42682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42683 (eval $ac_try) 2>&5
42684 ac_status=$?
42685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42686 (exit $ac_status); }; }; then
42687 eval "$as_ac_var=yes"
42688 else
42689 echo "$as_me: failed program was:" >&5
42690 sed 's/^/| /' conftest.$ac_ext >&5
42692 eval "$as_ac_var=no"
42694 rm -f conftest.err conftest.$ac_objext \
42695 conftest$ac_exeext conftest.$ac_ext
42697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42698 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42699 if test `eval echo '${'$as_ac_var'}'` = yes; then
42700 cat >>confdefs.h <<_ACEOF
42701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42702 _ACEOF
42705 done
42712 echo "$as_me:$LINENO: checking for expl declaration" >&5
42713 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
42714 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42715 if test "${glibcxx_cv_func_expl_use+set}" = set; then
42716 echo $ECHO_N "(cached) $ECHO_C" >&6
42717 else
42721 ac_ext=cc
42722 ac_cpp='$CXXCPP $CPPFLAGS'
42723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42727 cat >conftest.$ac_ext <<_ACEOF
42728 /* confdefs.h. */
42729 _ACEOF
42730 cat confdefs.h >>conftest.$ac_ext
42731 cat >>conftest.$ac_ext <<_ACEOF
42732 /* end confdefs.h. */
42733 #include <math.h>
42734 #ifdef HAVE_IEEEFP_H
42735 #include <ieeefp.h>
42736 #endif
42739 main ()
42741 expl(0);
42743 return 0;
42745 _ACEOF
42746 rm -f conftest.$ac_objext
42747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42748 (eval $ac_compile) 2>conftest.er1
42749 ac_status=$?
42750 grep -v '^ *+' conftest.er1 >conftest.err
42751 rm -f conftest.er1
42752 cat conftest.err >&5
42753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42754 (exit $ac_status); } &&
42755 { ac_try='test -z "$ac_cxx_werror_flag"
42756 || test ! -s conftest.err'
42757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42758 (eval $ac_try) 2>&5
42759 ac_status=$?
42760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42761 (exit $ac_status); }; } &&
42762 { ac_try='test -s conftest.$ac_objext'
42763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42764 (eval $ac_try) 2>&5
42765 ac_status=$?
42766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42767 (exit $ac_status); }; }; then
42768 glibcxx_cv_func_expl_use=yes
42769 else
42770 echo "$as_me: failed program was:" >&5
42771 sed 's/^/| /' conftest.$ac_ext >&5
42773 glibcxx_cv_func_expl_use=no
42775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42776 ac_ext=c
42777 ac_cpp='$CPP $CPPFLAGS'
42778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42786 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
42787 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
42789 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42791 for ac_func in expl
42793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42794 echo "$as_me:$LINENO: checking for $ac_func" >&5
42795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42796 if eval "test \"\${$as_ac_var+set}\" = set"; then
42797 echo $ECHO_N "(cached) $ECHO_C" >&6
42798 else
42799 if test x$gcc_no_link = xyes; then
42800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42802 { (exit 1); exit 1; }; }
42804 cat >conftest.$ac_ext <<_ACEOF
42805 /* confdefs.h. */
42806 _ACEOF
42807 cat confdefs.h >>conftest.$ac_ext
42808 cat >>conftest.$ac_ext <<_ACEOF
42809 /* end confdefs.h. */
42810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42812 #define $ac_func innocuous_$ac_func
42814 /* System header to define __stub macros and hopefully few prototypes,
42815 which can conflict with char $ac_func (); below.
42816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42817 <limits.h> exists even on freestanding compilers. */
42819 #ifdef __STDC__
42820 # include <limits.h>
42821 #else
42822 # include <assert.h>
42823 #endif
42825 #undef $ac_func
42827 /* Override any gcc2 internal prototype to avoid an error. */
42828 #ifdef __cplusplus
42829 extern "C"
42831 #endif
42832 /* We use char because int might match the return type of a gcc2
42833 builtin and then its argument prototype would still apply. */
42834 char $ac_func ();
42835 /* The GNU C library defines this for functions which it implements
42836 to always fail with ENOSYS. Some functions are actually named
42837 something starting with __ and the normal name is an alias. */
42838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42839 choke me
42840 #else
42841 char (*f) () = $ac_func;
42842 #endif
42843 #ifdef __cplusplus
42845 #endif
42848 main ()
42850 return f != $ac_func;
42852 return 0;
42854 _ACEOF
42855 rm -f conftest.$ac_objext conftest$ac_exeext
42856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42857 (eval $ac_link) 2>conftest.er1
42858 ac_status=$?
42859 grep -v '^ *+' conftest.er1 >conftest.err
42860 rm -f conftest.er1
42861 cat conftest.err >&5
42862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42863 (exit $ac_status); } &&
42864 { ac_try='test -z "$ac_c_werror_flag"
42865 || test ! -s conftest.err'
42866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42867 (eval $ac_try) 2>&5
42868 ac_status=$?
42869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42870 (exit $ac_status); }; } &&
42871 { ac_try='test -s conftest$ac_exeext'
42872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42873 (eval $ac_try) 2>&5
42874 ac_status=$?
42875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42876 (exit $ac_status); }; }; then
42877 eval "$as_ac_var=yes"
42878 else
42879 echo "$as_me: failed program was:" >&5
42880 sed 's/^/| /' conftest.$ac_ext >&5
42882 eval "$as_ac_var=no"
42884 rm -f conftest.err conftest.$ac_objext \
42885 conftest$ac_exeext conftest.$ac_ext
42887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42889 if test `eval echo '${'$as_ac_var'}'` = yes; then
42890 cat >>confdefs.h <<_ACEOF
42891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42892 _ACEOF
42895 done
42897 else
42899 echo "$as_me:$LINENO: checking for _expl declaration" >&5
42900 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
42901 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42902 if test "${glibcxx_cv_func__expl_use+set}" = set; then
42903 echo $ECHO_N "(cached) $ECHO_C" >&6
42904 else
42908 ac_ext=cc
42909 ac_cpp='$CXXCPP $CPPFLAGS'
42910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42914 cat >conftest.$ac_ext <<_ACEOF
42915 /* confdefs.h. */
42916 _ACEOF
42917 cat confdefs.h >>conftest.$ac_ext
42918 cat >>conftest.$ac_ext <<_ACEOF
42919 /* end confdefs.h. */
42920 #include <math.h>
42921 #ifdef HAVE_IEEEFP_H
42922 #include <ieeefp.h>
42923 #endif
42926 main ()
42928 _expl(0);
42930 return 0;
42932 _ACEOF
42933 rm -f conftest.$ac_objext
42934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42935 (eval $ac_compile) 2>conftest.er1
42936 ac_status=$?
42937 grep -v '^ *+' conftest.er1 >conftest.err
42938 rm -f conftest.er1
42939 cat conftest.err >&5
42940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42941 (exit $ac_status); } &&
42942 { ac_try='test -z "$ac_cxx_werror_flag"
42943 || test ! -s conftest.err'
42944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42945 (eval $ac_try) 2>&5
42946 ac_status=$?
42947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42948 (exit $ac_status); }; } &&
42949 { ac_try='test -s conftest.$ac_objext'
42950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42951 (eval $ac_try) 2>&5
42952 ac_status=$?
42953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42954 (exit $ac_status); }; }; then
42955 glibcxx_cv_func__expl_use=yes
42956 else
42957 echo "$as_me: failed program was:" >&5
42958 sed 's/^/| /' conftest.$ac_ext >&5
42960 glibcxx_cv_func__expl_use=no
42962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42963 ac_ext=c
42964 ac_cpp='$CPP $CPPFLAGS'
42965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42973 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
42974 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
42976 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42978 for ac_func in _expl
42980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42981 echo "$as_me:$LINENO: checking for $ac_func" >&5
42982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42983 if eval "test \"\${$as_ac_var+set}\" = set"; then
42984 echo $ECHO_N "(cached) $ECHO_C" >&6
42985 else
42986 if test x$gcc_no_link = xyes; then
42987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42989 { (exit 1); exit 1; }; }
42991 cat >conftest.$ac_ext <<_ACEOF
42992 /* confdefs.h. */
42993 _ACEOF
42994 cat confdefs.h >>conftest.$ac_ext
42995 cat >>conftest.$ac_ext <<_ACEOF
42996 /* end confdefs.h. */
42997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42999 #define $ac_func innocuous_$ac_func
43001 /* System header to define __stub macros and hopefully few prototypes,
43002 which can conflict with char $ac_func (); below.
43003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43004 <limits.h> exists even on freestanding compilers. */
43006 #ifdef __STDC__
43007 # include <limits.h>
43008 #else
43009 # include <assert.h>
43010 #endif
43012 #undef $ac_func
43014 /* Override any gcc2 internal prototype to avoid an error. */
43015 #ifdef __cplusplus
43016 extern "C"
43018 #endif
43019 /* We use char because int might match the return type of a gcc2
43020 builtin and then its argument prototype would still apply. */
43021 char $ac_func ();
43022 /* The GNU C library defines this for functions which it implements
43023 to always fail with ENOSYS. Some functions are actually named
43024 something starting with __ and the normal name is an alias. */
43025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43026 choke me
43027 #else
43028 char (*f) () = $ac_func;
43029 #endif
43030 #ifdef __cplusplus
43032 #endif
43035 main ()
43037 return f != $ac_func;
43039 return 0;
43041 _ACEOF
43042 rm -f conftest.$ac_objext conftest$ac_exeext
43043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43044 (eval $ac_link) 2>conftest.er1
43045 ac_status=$?
43046 grep -v '^ *+' conftest.er1 >conftest.err
43047 rm -f conftest.er1
43048 cat conftest.err >&5
43049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43050 (exit $ac_status); } &&
43051 { ac_try='test -z "$ac_c_werror_flag"
43052 || test ! -s conftest.err'
43053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43054 (eval $ac_try) 2>&5
43055 ac_status=$?
43056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43057 (exit $ac_status); }; } &&
43058 { ac_try='test -s conftest$ac_exeext'
43059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43060 (eval $ac_try) 2>&5
43061 ac_status=$?
43062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43063 (exit $ac_status); }; }; then
43064 eval "$as_ac_var=yes"
43065 else
43066 echo "$as_me: failed program was:" >&5
43067 sed 's/^/| /' conftest.$ac_ext >&5
43069 eval "$as_ac_var=no"
43071 rm -f conftest.err conftest.$ac_objext \
43072 conftest$ac_exeext conftest.$ac_ext
43074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43076 if test `eval echo '${'$as_ac_var'}'` = yes; then
43077 cat >>confdefs.h <<_ACEOF
43078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43079 _ACEOF
43082 done
43089 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
43090 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
43091 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43092 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
43093 echo $ECHO_N "(cached) $ECHO_C" >&6
43094 else
43098 ac_ext=cc
43099 ac_cpp='$CXXCPP $CPPFLAGS'
43100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43104 cat >conftest.$ac_ext <<_ACEOF
43105 /* confdefs.h. */
43106 _ACEOF
43107 cat confdefs.h >>conftest.$ac_ext
43108 cat >>conftest.$ac_ext <<_ACEOF
43109 /* end confdefs.h. */
43110 #include <math.h>
43111 #ifdef HAVE_IEEEFP_H
43112 #include <ieeefp.h>
43113 #endif
43116 main ()
43118 fabsl(0);
43120 return 0;
43122 _ACEOF
43123 rm -f conftest.$ac_objext
43124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43125 (eval $ac_compile) 2>conftest.er1
43126 ac_status=$?
43127 grep -v '^ *+' conftest.er1 >conftest.err
43128 rm -f conftest.er1
43129 cat conftest.err >&5
43130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43131 (exit $ac_status); } &&
43132 { ac_try='test -z "$ac_cxx_werror_flag"
43133 || test ! -s conftest.err'
43134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43135 (eval $ac_try) 2>&5
43136 ac_status=$?
43137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43138 (exit $ac_status); }; } &&
43139 { ac_try='test -s conftest.$ac_objext'
43140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43141 (eval $ac_try) 2>&5
43142 ac_status=$?
43143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43144 (exit $ac_status); }; }; then
43145 glibcxx_cv_func_fabsl_use=yes
43146 else
43147 echo "$as_me: failed program was:" >&5
43148 sed 's/^/| /' conftest.$ac_ext >&5
43150 glibcxx_cv_func_fabsl_use=no
43152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43153 ac_ext=c
43154 ac_cpp='$CPP $CPPFLAGS'
43155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43163 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
43164 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
43166 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43168 for ac_func in fabsl
43170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43171 echo "$as_me:$LINENO: checking for $ac_func" >&5
43172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43173 if eval "test \"\${$as_ac_var+set}\" = set"; then
43174 echo $ECHO_N "(cached) $ECHO_C" >&6
43175 else
43176 if test x$gcc_no_link = xyes; then
43177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43179 { (exit 1); exit 1; }; }
43181 cat >conftest.$ac_ext <<_ACEOF
43182 /* confdefs.h. */
43183 _ACEOF
43184 cat confdefs.h >>conftest.$ac_ext
43185 cat >>conftest.$ac_ext <<_ACEOF
43186 /* end confdefs.h. */
43187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43189 #define $ac_func innocuous_$ac_func
43191 /* System header to define __stub macros and hopefully few prototypes,
43192 which can conflict with char $ac_func (); below.
43193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43194 <limits.h> exists even on freestanding compilers. */
43196 #ifdef __STDC__
43197 # include <limits.h>
43198 #else
43199 # include <assert.h>
43200 #endif
43202 #undef $ac_func
43204 /* Override any gcc2 internal prototype to avoid an error. */
43205 #ifdef __cplusplus
43206 extern "C"
43208 #endif
43209 /* We use char because int might match the return type of a gcc2
43210 builtin and then its argument prototype would still apply. */
43211 char $ac_func ();
43212 /* The GNU C library defines this for functions which it implements
43213 to always fail with ENOSYS. Some functions are actually named
43214 something starting with __ and the normal name is an alias. */
43215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43216 choke me
43217 #else
43218 char (*f) () = $ac_func;
43219 #endif
43220 #ifdef __cplusplus
43222 #endif
43225 main ()
43227 return f != $ac_func;
43229 return 0;
43231 _ACEOF
43232 rm -f conftest.$ac_objext conftest$ac_exeext
43233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43234 (eval $ac_link) 2>conftest.er1
43235 ac_status=$?
43236 grep -v '^ *+' conftest.er1 >conftest.err
43237 rm -f conftest.er1
43238 cat conftest.err >&5
43239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43240 (exit $ac_status); } &&
43241 { ac_try='test -z "$ac_c_werror_flag"
43242 || test ! -s conftest.err'
43243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43244 (eval $ac_try) 2>&5
43245 ac_status=$?
43246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43247 (exit $ac_status); }; } &&
43248 { ac_try='test -s conftest$ac_exeext'
43249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43250 (eval $ac_try) 2>&5
43251 ac_status=$?
43252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43253 (exit $ac_status); }; }; then
43254 eval "$as_ac_var=yes"
43255 else
43256 echo "$as_me: failed program was:" >&5
43257 sed 's/^/| /' conftest.$ac_ext >&5
43259 eval "$as_ac_var=no"
43261 rm -f conftest.err conftest.$ac_objext \
43262 conftest$ac_exeext conftest.$ac_ext
43264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43266 if test `eval echo '${'$as_ac_var'}'` = yes; then
43267 cat >>confdefs.h <<_ACEOF
43268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43269 _ACEOF
43272 done
43274 else
43276 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
43277 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
43278 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43279 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
43280 echo $ECHO_N "(cached) $ECHO_C" >&6
43281 else
43285 ac_ext=cc
43286 ac_cpp='$CXXCPP $CPPFLAGS'
43287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43291 cat >conftest.$ac_ext <<_ACEOF
43292 /* confdefs.h. */
43293 _ACEOF
43294 cat confdefs.h >>conftest.$ac_ext
43295 cat >>conftest.$ac_ext <<_ACEOF
43296 /* end confdefs.h. */
43297 #include <math.h>
43298 #ifdef HAVE_IEEEFP_H
43299 #include <ieeefp.h>
43300 #endif
43303 main ()
43305 _fabsl(0);
43307 return 0;
43309 _ACEOF
43310 rm -f conftest.$ac_objext
43311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43312 (eval $ac_compile) 2>conftest.er1
43313 ac_status=$?
43314 grep -v '^ *+' conftest.er1 >conftest.err
43315 rm -f conftest.er1
43316 cat conftest.err >&5
43317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43318 (exit $ac_status); } &&
43319 { ac_try='test -z "$ac_cxx_werror_flag"
43320 || test ! -s conftest.err'
43321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43322 (eval $ac_try) 2>&5
43323 ac_status=$?
43324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43325 (exit $ac_status); }; } &&
43326 { ac_try='test -s conftest.$ac_objext'
43327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43328 (eval $ac_try) 2>&5
43329 ac_status=$?
43330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43331 (exit $ac_status); }; }; then
43332 glibcxx_cv_func__fabsl_use=yes
43333 else
43334 echo "$as_me: failed program was:" >&5
43335 sed 's/^/| /' conftest.$ac_ext >&5
43337 glibcxx_cv_func__fabsl_use=no
43339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43340 ac_ext=c
43341 ac_cpp='$CPP $CPPFLAGS'
43342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43350 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
43351 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
43353 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43355 for ac_func in _fabsl
43357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43358 echo "$as_me:$LINENO: checking for $ac_func" >&5
43359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43360 if eval "test \"\${$as_ac_var+set}\" = set"; then
43361 echo $ECHO_N "(cached) $ECHO_C" >&6
43362 else
43363 if test x$gcc_no_link = xyes; then
43364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43366 { (exit 1); exit 1; }; }
43368 cat >conftest.$ac_ext <<_ACEOF
43369 /* confdefs.h. */
43370 _ACEOF
43371 cat confdefs.h >>conftest.$ac_ext
43372 cat >>conftest.$ac_ext <<_ACEOF
43373 /* end confdefs.h. */
43374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43376 #define $ac_func innocuous_$ac_func
43378 /* System header to define __stub macros and hopefully few prototypes,
43379 which can conflict with char $ac_func (); below.
43380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43381 <limits.h> exists even on freestanding compilers. */
43383 #ifdef __STDC__
43384 # include <limits.h>
43385 #else
43386 # include <assert.h>
43387 #endif
43389 #undef $ac_func
43391 /* Override any gcc2 internal prototype to avoid an error. */
43392 #ifdef __cplusplus
43393 extern "C"
43395 #endif
43396 /* We use char because int might match the return type of a gcc2
43397 builtin and then its argument prototype would still apply. */
43398 char $ac_func ();
43399 /* The GNU C library defines this for functions which it implements
43400 to always fail with ENOSYS. Some functions are actually named
43401 something starting with __ and the normal name is an alias. */
43402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43403 choke me
43404 #else
43405 char (*f) () = $ac_func;
43406 #endif
43407 #ifdef __cplusplus
43409 #endif
43412 main ()
43414 return f != $ac_func;
43416 return 0;
43418 _ACEOF
43419 rm -f conftest.$ac_objext conftest$ac_exeext
43420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43421 (eval $ac_link) 2>conftest.er1
43422 ac_status=$?
43423 grep -v '^ *+' conftest.er1 >conftest.err
43424 rm -f conftest.er1
43425 cat conftest.err >&5
43426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43427 (exit $ac_status); } &&
43428 { ac_try='test -z "$ac_c_werror_flag"
43429 || test ! -s conftest.err'
43430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43431 (eval $ac_try) 2>&5
43432 ac_status=$?
43433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43434 (exit $ac_status); }; } &&
43435 { ac_try='test -s conftest$ac_exeext'
43436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43437 (eval $ac_try) 2>&5
43438 ac_status=$?
43439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43440 (exit $ac_status); }; }; then
43441 eval "$as_ac_var=yes"
43442 else
43443 echo "$as_me: failed program was:" >&5
43444 sed 's/^/| /' conftest.$ac_ext >&5
43446 eval "$as_ac_var=no"
43448 rm -f conftest.err conftest.$ac_objext \
43449 conftest$ac_exeext conftest.$ac_ext
43451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43453 if test `eval echo '${'$as_ac_var'}'` = yes; then
43454 cat >>confdefs.h <<_ACEOF
43455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43456 _ACEOF
43459 done
43466 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
43467 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
43468 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43469 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
43470 echo $ECHO_N "(cached) $ECHO_C" >&6
43471 else
43475 ac_ext=cc
43476 ac_cpp='$CXXCPP $CPPFLAGS'
43477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43481 cat >conftest.$ac_ext <<_ACEOF
43482 /* confdefs.h. */
43483 _ACEOF
43484 cat confdefs.h >>conftest.$ac_ext
43485 cat >>conftest.$ac_ext <<_ACEOF
43486 /* end confdefs.h. */
43487 #include <math.h>
43489 main ()
43491 fmodl(0, 0);
43493 return 0;
43495 _ACEOF
43496 rm -f conftest.$ac_objext
43497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43498 (eval $ac_compile) 2>conftest.er1
43499 ac_status=$?
43500 grep -v '^ *+' conftest.er1 >conftest.err
43501 rm -f conftest.er1
43502 cat conftest.err >&5
43503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43504 (exit $ac_status); } &&
43505 { ac_try='test -z "$ac_cxx_werror_flag"
43506 || test ! -s conftest.err'
43507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43508 (eval $ac_try) 2>&5
43509 ac_status=$?
43510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43511 (exit $ac_status); }; } &&
43512 { ac_try='test -s conftest.$ac_objext'
43513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43514 (eval $ac_try) 2>&5
43515 ac_status=$?
43516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43517 (exit $ac_status); }; }; then
43518 glibcxx_cv_func_fmodl_use=yes
43519 else
43520 echo "$as_me: failed program was:" >&5
43521 sed 's/^/| /' conftest.$ac_ext >&5
43523 glibcxx_cv_func_fmodl_use=no
43525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43526 ac_ext=c
43527 ac_cpp='$CPP $CPPFLAGS'
43528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43536 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
43537 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
43539 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43541 for ac_func in fmodl
43543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43544 echo "$as_me:$LINENO: checking for $ac_func" >&5
43545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43546 if eval "test \"\${$as_ac_var+set}\" = set"; then
43547 echo $ECHO_N "(cached) $ECHO_C" >&6
43548 else
43549 if test x$gcc_no_link = xyes; then
43550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43552 { (exit 1); exit 1; }; }
43554 cat >conftest.$ac_ext <<_ACEOF
43555 /* confdefs.h. */
43556 _ACEOF
43557 cat confdefs.h >>conftest.$ac_ext
43558 cat >>conftest.$ac_ext <<_ACEOF
43559 /* end confdefs.h. */
43560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43562 #define $ac_func innocuous_$ac_func
43564 /* System header to define __stub macros and hopefully few prototypes,
43565 which can conflict with char $ac_func (); below.
43566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43567 <limits.h> exists even on freestanding compilers. */
43569 #ifdef __STDC__
43570 # include <limits.h>
43571 #else
43572 # include <assert.h>
43573 #endif
43575 #undef $ac_func
43577 /* Override any gcc2 internal prototype to avoid an error. */
43578 #ifdef __cplusplus
43579 extern "C"
43581 #endif
43582 /* We use char because int might match the return type of a gcc2
43583 builtin and then its argument prototype would still apply. */
43584 char $ac_func ();
43585 /* The GNU C library defines this for functions which it implements
43586 to always fail with ENOSYS. Some functions are actually named
43587 something starting with __ and the normal name is an alias. */
43588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43589 choke me
43590 #else
43591 char (*f) () = $ac_func;
43592 #endif
43593 #ifdef __cplusplus
43595 #endif
43598 main ()
43600 return f != $ac_func;
43602 return 0;
43604 _ACEOF
43605 rm -f conftest.$ac_objext conftest$ac_exeext
43606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43607 (eval $ac_link) 2>conftest.er1
43608 ac_status=$?
43609 grep -v '^ *+' conftest.er1 >conftest.err
43610 rm -f conftest.er1
43611 cat conftest.err >&5
43612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43613 (exit $ac_status); } &&
43614 { ac_try='test -z "$ac_c_werror_flag"
43615 || test ! -s conftest.err'
43616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43617 (eval $ac_try) 2>&5
43618 ac_status=$?
43619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43620 (exit $ac_status); }; } &&
43621 { ac_try='test -s conftest$ac_exeext'
43622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43623 (eval $ac_try) 2>&5
43624 ac_status=$?
43625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43626 (exit $ac_status); }; }; then
43627 eval "$as_ac_var=yes"
43628 else
43629 echo "$as_me: failed program was:" >&5
43630 sed 's/^/| /' conftest.$ac_ext >&5
43632 eval "$as_ac_var=no"
43634 rm -f conftest.err conftest.$ac_objext \
43635 conftest$ac_exeext conftest.$ac_ext
43637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43639 if test `eval echo '${'$as_ac_var'}'` = yes; then
43640 cat >>confdefs.h <<_ACEOF
43641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43642 _ACEOF
43645 done
43647 else
43649 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
43650 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
43651 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43652 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
43653 echo $ECHO_N "(cached) $ECHO_C" >&6
43654 else
43658 ac_ext=cc
43659 ac_cpp='$CXXCPP $CPPFLAGS'
43660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43664 cat >conftest.$ac_ext <<_ACEOF
43665 /* confdefs.h. */
43666 _ACEOF
43667 cat confdefs.h >>conftest.$ac_ext
43668 cat >>conftest.$ac_ext <<_ACEOF
43669 /* end confdefs.h. */
43670 #include <math.h>
43672 main ()
43674 _fmodl(0, 0);
43676 return 0;
43678 _ACEOF
43679 rm -f conftest.$ac_objext
43680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43681 (eval $ac_compile) 2>conftest.er1
43682 ac_status=$?
43683 grep -v '^ *+' conftest.er1 >conftest.err
43684 rm -f conftest.er1
43685 cat conftest.err >&5
43686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43687 (exit $ac_status); } &&
43688 { ac_try='test -z "$ac_cxx_werror_flag"
43689 || test ! -s conftest.err'
43690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43691 (eval $ac_try) 2>&5
43692 ac_status=$?
43693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43694 (exit $ac_status); }; } &&
43695 { ac_try='test -s conftest.$ac_objext'
43696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43697 (eval $ac_try) 2>&5
43698 ac_status=$?
43699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43700 (exit $ac_status); }; }; then
43701 glibcxx_cv_func__fmodl_use=yes
43702 else
43703 echo "$as_me: failed program was:" >&5
43704 sed 's/^/| /' conftest.$ac_ext >&5
43706 glibcxx_cv_func__fmodl_use=no
43708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43709 ac_ext=c
43710 ac_cpp='$CPP $CPPFLAGS'
43711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43719 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
43720 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
43722 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43724 for ac_func in _fmodl
43726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43727 echo "$as_me:$LINENO: checking for $ac_func" >&5
43728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43729 if eval "test \"\${$as_ac_var+set}\" = set"; then
43730 echo $ECHO_N "(cached) $ECHO_C" >&6
43731 else
43732 if test x$gcc_no_link = xyes; then
43733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43735 { (exit 1); exit 1; }; }
43737 cat >conftest.$ac_ext <<_ACEOF
43738 /* confdefs.h. */
43739 _ACEOF
43740 cat confdefs.h >>conftest.$ac_ext
43741 cat >>conftest.$ac_ext <<_ACEOF
43742 /* end confdefs.h. */
43743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43745 #define $ac_func innocuous_$ac_func
43747 /* System header to define __stub macros and hopefully few prototypes,
43748 which can conflict with char $ac_func (); below.
43749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43750 <limits.h> exists even on freestanding compilers. */
43752 #ifdef __STDC__
43753 # include <limits.h>
43754 #else
43755 # include <assert.h>
43756 #endif
43758 #undef $ac_func
43760 /* Override any gcc2 internal prototype to avoid an error. */
43761 #ifdef __cplusplus
43762 extern "C"
43764 #endif
43765 /* We use char because int might match the return type of a gcc2
43766 builtin and then its argument prototype would still apply. */
43767 char $ac_func ();
43768 /* The GNU C library defines this for functions which it implements
43769 to always fail with ENOSYS. Some functions are actually named
43770 something starting with __ and the normal name is an alias. */
43771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43772 choke me
43773 #else
43774 char (*f) () = $ac_func;
43775 #endif
43776 #ifdef __cplusplus
43778 #endif
43781 main ()
43783 return f != $ac_func;
43785 return 0;
43787 _ACEOF
43788 rm -f conftest.$ac_objext conftest$ac_exeext
43789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43790 (eval $ac_link) 2>conftest.er1
43791 ac_status=$?
43792 grep -v '^ *+' conftest.er1 >conftest.err
43793 rm -f conftest.er1
43794 cat conftest.err >&5
43795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43796 (exit $ac_status); } &&
43797 { ac_try='test -z "$ac_c_werror_flag"
43798 || test ! -s conftest.err'
43799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43800 (eval $ac_try) 2>&5
43801 ac_status=$?
43802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43803 (exit $ac_status); }; } &&
43804 { ac_try='test -s conftest$ac_exeext'
43805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43806 (eval $ac_try) 2>&5
43807 ac_status=$?
43808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43809 (exit $ac_status); }; }; then
43810 eval "$as_ac_var=yes"
43811 else
43812 echo "$as_me: failed program was:" >&5
43813 sed 's/^/| /' conftest.$ac_ext >&5
43815 eval "$as_ac_var=no"
43817 rm -f conftest.err conftest.$ac_objext \
43818 conftest$ac_exeext conftest.$ac_ext
43820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43822 if test `eval echo '${'$as_ac_var'}'` = yes; then
43823 cat >>confdefs.h <<_ACEOF
43824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43825 _ACEOF
43828 done
43835 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
43836 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
43837 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43838 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
43839 echo $ECHO_N "(cached) $ECHO_C" >&6
43840 else
43844 ac_ext=cc
43845 ac_cpp='$CXXCPP $CPPFLAGS'
43846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43850 cat >conftest.$ac_ext <<_ACEOF
43851 /* confdefs.h. */
43852 _ACEOF
43853 cat confdefs.h >>conftest.$ac_ext
43854 cat >>conftest.$ac_ext <<_ACEOF
43855 /* end confdefs.h. */
43856 #include <math.h>
43858 main ()
43860 frexpl(0, 0);
43862 return 0;
43864 _ACEOF
43865 rm -f conftest.$ac_objext
43866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43867 (eval $ac_compile) 2>conftest.er1
43868 ac_status=$?
43869 grep -v '^ *+' conftest.er1 >conftest.err
43870 rm -f conftest.er1
43871 cat conftest.err >&5
43872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43873 (exit $ac_status); } &&
43874 { ac_try='test -z "$ac_cxx_werror_flag"
43875 || test ! -s conftest.err'
43876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43877 (eval $ac_try) 2>&5
43878 ac_status=$?
43879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43880 (exit $ac_status); }; } &&
43881 { ac_try='test -s conftest.$ac_objext'
43882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43883 (eval $ac_try) 2>&5
43884 ac_status=$?
43885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43886 (exit $ac_status); }; }; then
43887 glibcxx_cv_func_frexpl_use=yes
43888 else
43889 echo "$as_me: failed program was:" >&5
43890 sed 's/^/| /' conftest.$ac_ext >&5
43892 glibcxx_cv_func_frexpl_use=no
43894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43895 ac_ext=c
43896 ac_cpp='$CPP $CPPFLAGS'
43897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43905 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
43906 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
43908 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43910 for ac_func in frexpl
43912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43913 echo "$as_me:$LINENO: checking for $ac_func" >&5
43914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43915 if eval "test \"\${$as_ac_var+set}\" = set"; then
43916 echo $ECHO_N "(cached) $ECHO_C" >&6
43917 else
43918 if test x$gcc_no_link = xyes; then
43919 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43921 { (exit 1); exit 1; }; }
43923 cat >conftest.$ac_ext <<_ACEOF
43924 /* confdefs.h. */
43925 _ACEOF
43926 cat confdefs.h >>conftest.$ac_ext
43927 cat >>conftest.$ac_ext <<_ACEOF
43928 /* end confdefs.h. */
43929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43931 #define $ac_func innocuous_$ac_func
43933 /* System header to define __stub macros and hopefully few prototypes,
43934 which can conflict with char $ac_func (); below.
43935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43936 <limits.h> exists even on freestanding compilers. */
43938 #ifdef __STDC__
43939 # include <limits.h>
43940 #else
43941 # include <assert.h>
43942 #endif
43944 #undef $ac_func
43946 /* Override any gcc2 internal prototype to avoid an error. */
43947 #ifdef __cplusplus
43948 extern "C"
43950 #endif
43951 /* We use char because int might match the return type of a gcc2
43952 builtin and then its argument prototype would still apply. */
43953 char $ac_func ();
43954 /* The GNU C library defines this for functions which it implements
43955 to always fail with ENOSYS. Some functions are actually named
43956 something starting with __ and the normal name is an alias. */
43957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43958 choke me
43959 #else
43960 char (*f) () = $ac_func;
43961 #endif
43962 #ifdef __cplusplus
43964 #endif
43967 main ()
43969 return f != $ac_func;
43971 return 0;
43973 _ACEOF
43974 rm -f conftest.$ac_objext conftest$ac_exeext
43975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43976 (eval $ac_link) 2>conftest.er1
43977 ac_status=$?
43978 grep -v '^ *+' conftest.er1 >conftest.err
43979 rm -f conftest.er1
43980 cat conftest.err >&5
43981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43982 (exit $ac_status); } &&
43983 { ac_try='test -z "$ac_c_werror_flag"
43984 || test ! -s conftest.err'
43985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43986 (eval $ac_try) 2>&5
43987 ac_status=$?
43988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43989 (exit $ac_status); }; } &&
43990 { ac_try='test -s conftest$ac_exeext'
43991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43992 (eval $ac_try) 2>&5
43993 ac_status=$?
43994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43995 (exit $ac_status); }; }; then
43996 eval "$as_ac_var=yes"
43997 else
43998 echo "$as_me: failed program was:" >&5
43999 sed 's/^/| /' conftest.$ac_ext >&5
44001 eval "$as_ac_var=no"
44003 rm -f conftest.err conftest.$ac_objext \
44004 conftest$ac_exeext conftest.$ac_ext
44006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44008 if test `eval echo '${'$as_ac_var'}'` = yes; then
44009 cat >>confdefs.h <<_ACEOF
44010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44011 _ACEOF
44014 done
44016 else
44018 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
44019 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
44020 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44021 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
44022 echo $ECHO_N "(cached) $ECHO_C" >&6
44023 else
44027 ac_ext=cc
44028 ac_cpp='$CXXCPP $CPPFLAGS'
44029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44033 cat >conftest.$ac_ext <<_ACEOF
44034 /* confdefs.h. */
44035 _ACEOF
44036 cat confdefs.h >>conftest.$ac_ext
44037 cat >>conftest.$ac_ext <<_ACEOF
44038 /* end confdefs.h. */
44039 #include <math.h>
44041 main ()
44043 _frexpl(0, 0);
44045 return 0;
44047 _ACEOF
44048 rm -f conftest.$ac_objext
44049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44050 (eval $ac_compile) 2>conftest.er1
44051 ac_status=$?
44052 grep -v '^ *+' conftest.er1 >conftest.err
44053 rm -f conftest.er1
44054 cat conftest.err >&5
44055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44056 (exit $ac_status); } &&
44057 { ac_try='test -z "$ac_cxx_werror_flag"
44058 || test ! -s conftest.err'
44059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44060 (eval $ac_try) 2>&5
44061 ac_status=$?
44062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44063 (exit $ac_status); }; } &&
44064 { ac_try='test -s conftest.$ac_objext'
44065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44066 (eval $ac_try) 2>&5
44067 ac_status=$?
44068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44069 (exit $ac_status); }; }; then
44070 glibcxx_cv_func__frexpl_use=yes
44071 else
44072 echo "$as_me: failed program was:" >&5
44073 sed 's/^/| /' conftest.$ac_ext >&5
44075 glibcxx_cv_func__frexpl_use=no
44077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44078 ac_ext=c
44079 ac_cpp='$CPP $CPPFLAGS'
44080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44088 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
44089 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
44091 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44093 for ac_func in _frexpl
44095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44096 echo "$as_me:$LINENO: checking for $ac_func" >&5
44097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44098 if eval "test \"\${$as_ac_var+set}\" = set"; then
44099 echo $ECHO_N "(cached) $ECHO_C" >&6
44100 else
44101 if test x$gcc_no_link = xyes; then
44102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44104 { (exit 1); exit 1; }; }
44106 cat >conftest.$ac_ext <<_ACEOF
44107 /* confdefs.h. */
44108 _ACEOF
44109 cat confdefs.h >>conftest.$ac_ext
44110 cat >>conftest.$ac_ext <<_ACEOF
44111 /* end confdefs.h. */
44112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44114 #define $ac_func innocuous_$ac_func
44116 /* System header to define __stub macros and hopefully few prototypes,
44117 which can conflict with char $ac_func (); below.
44118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44119 <limits.h> exists even on freestanding compilers. */
44121 #ifdef __STDC__
44122 # include <limits.h>
44123 #else
44124 # include <assert.h>
44125 #endif
44127 #undef $ac_func
44129 /* Override any gcc2 internal prototype to avoid an error. */
44130 #ifdef __cplusplus
44131 extern "C"
44133 #endif
44134 /* We use char because int might match the return type of a gcc2
44135 builtin and then its argument prototype would still apply. */
44136 char $ac_func ();
44137 /* The GNU C library defines this for functions which it implements
44138 to always fail with ENOSYS. Some functions are actually named
44139 something starting with __ and the normal name is an alias. */
44140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44141 choke me
44142 #else
44143 char (*f) () = $ac_func;
44144 #endif
44145 #ifdef __cplusplus
44147 #endif
44150 main ()
44152 return f != $ac_func;
44154 return 0;
44156 _ACEOF
44157 rm -f conftest.$ac_objext conftest$ac_exeext
44158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44159 (eval $ac_link) 2>conftest.er1
44160 ac_status=$?
44161 grep -v '^ *+' conftest.er1 >conftest.err
44162 rm -f conftest.er1
44163 cat conftest.err >&5
44164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44165 (exit $ac_status); } &&
44166 { ac_try='test -z "$ac_c_werror_flag"
44167 || test ! -s conftest.err'
44168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44169 (eval $ac_try) 2>&5
44170 ac_status=$?
44171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44172 (exit $ac_status); }; } &&
44173 { ac_try='test -s conftest$ac_exeext'
44174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44175 (eval $ac_try) 2>&5
44176 ac_status=$?
44177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44178 (exit $ac_status); }; }; then
44179 eval "$as_ac_var=yes"
44180 else
44181 echo "$as_me: failed program was:" >&5
44182 sed 's/^/| /' conftest.$ac_ext >&5
44184 eval "$as_ac_var=no"
44186 rm -f conftest.err conftest.$ac_objext \
44187 conftest$ac_exeext conftest.$ac_ext
44189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44191 if test `eval echo '${'$as_ac_var'}'` = yes; then
44192 cat >>confdefs.h <<_ACEOF
44193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44194 _ACEOF
44197 done
44204 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
44205 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
44206 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44207 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
44208 echo $ECHO_N "(cached) $ECHO_C" >&6
44209 else
44213 ac_ext=cc
44214 ac_cpp='$CXXCPP $CPPFLAGS'
44215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44219 cat >conftest.$ac_ext <<_ACEOF
44220 /* confdefs.h. */
44221 _ACEOF
44222 cat confdefs.h >>conftest.$ac_ext
44223 cat >>conftest.$ac_ext <<_ACEOF
44224 /* end confdefs.h. */
44225 #include <math.h>
44227 main ()
44229 hypotl(0, 0);
44231 return 0;
44233 _ACEOF
44234 rm -f conftest.$ac_objext
44235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44236 (eval $ac_compile) 2>conftest.er1
44237 ac_status=$?
44238 grep -v '^ *+' conftest.er1 >conftest.err
44239 rm -f conftest.er1
44240 cat conftest.err >&5
44241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44242 (exit $ac_status); } &&
44243 { ac_try='test -z "$ac_cxx_werror_flag"
44244 || test ! -s conftest.err'
44245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44246 (eval $ac_try) 2>&5
44247 ac_status=$?
44248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44249 (exit $ac_status); }; } &&
44250 { ac_try='test -s conftest.$ac_objext'
44251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44252 (eval $ac_try) 2>&5
44253 ac_status=$?
44254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44255 (exit $ac_status); }; }; then
44256 glibcxx_cv_func_hypotl_use=yes
44257 else
44258 echo "$as_me: failed program was:" >&5
44259 sed 's/^/| /' conftest.$ac_ext >&5
44261 glibcxx_cv_func_hypotl_use=no
44263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44264 ac_ext=c
44265 ac_cpp='$CPP $CPPFLAGS'
44266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44274 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
44275 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
44277 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44279 for ac_func in hypotl
44281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44282 echo "$as_me:$LINENO: checking for $ac_func" >&5
44283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44284 if eval "test \"\${$as_ac_var+set}\" = set"; then
44285 echo $ECHO_N "(cached) $ECHO_C" >&6
44286 else
44287 if test x$gcc_no_link = xyes; then
44288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44290 { (exit 1); exit 1; }; }
44292 cat >conftest.$ac_ext <<_ACEOF
44293 /* confdefs.h. */
44294 _ACEOF
44295 cat confdefs.h >>conftest.$ac_ext
44296 cat >>conftest.$ac_ext <<_ACEOF
44297 /* end confdefs.h. */
44298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44300 #define $ac_func innocuous_$ac_func
44302 /* System header to define __stub macros and hopefully few prototypes,
44303 which can conflict with char $ac_func (); below.
44304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44305 <limits.h> exists even on freestanding compilers. */
44307 #ifdef __STDC__
44308 # include <limits.h>
44309 #else
44310 # include <assert.h>
44311 #endif
44313 #undef $ac_func
44315 /* Override any gcc2 internal prototype to avoid an error. */
44316 #ifdef __cplusplus
44317 extern "C"
44319 #endif
44320 /* We use char because int might match the return type of a gcc2
44321 builtin and then its argument prototype would still apply. */
44322 char $ac_func ();
44323 /* The GNU C library defines this for functions which it implements
44324 to always fail with ENOSYS. Some functions are actually named
44325 something starting with __ and the normal name is an alias. */
44326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44327 choke me
44328 #else
44329 char (*f) () = $ac_func;
44330 #endif
44331 #ifdef __cplusplus
44333 #endif
44336 main ()
44338 return f != $ac_func;
44340 return 0;
44342 _ACEOF
44343 rm -f conftest.$ac_objext conftest$ac_exeext
44344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44345 (eval $ac_link) 2>conftest.er1
44346 ac_status=$?
44347 grep -v '^ *+' conftest.er1 >conftest.err
44348 rm -f conftest.er1
44349 cat conftest.err >&5
44350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44351 (exit $ac_status); } &&
44352 { ac_try='test -z "$ac_c_werror_flag"
44353 || test ! -s conftest.err'
44354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44355 (eval $ac_try) 2>&5
44356 ac_status=$?
44357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44358 (exit $ac_status); }; } &&
44359 { ac_try='test -s conftest$ac_exeext'
44360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44361 (eval $ac_try) 2>&5
44362 ac_status=$?
44363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44364 (exit $ac_status); }; }; then
44365 eval "$as_ac_var=yes"
44366 else
44367 echo "$as_me: failed program was:" >&5
44368 sed 's/^/| /' conftest.$ac_ext >&5
44370 eval "$as_ac_var=no"
44372 rm -f conftest.err conftest.$ac_objext \
44373 conftest$ac_exeext conftest.$ac_ext
44375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44377 if test `eval echo '${'$as_ac_var'}'` = yes; then
44378 cat >>confdefs.h <<_ACEOF
44379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44380 _ACEOF
44383 done
44385 else
44387 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
44388 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
44389 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44390 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
44391 echo $ECHO_N "(cached) $ECHO_C" >&6
44392 else
44396 ac_ext=cc
44397 ac_cpp='$CXXCPP $CPPFLAGS'
44398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44402 cat >conftest.$ac_ext <<_ACEOF
44403 /* confdefs.h. */
44404 _ACEOF
44405 cat confdefs.h >>conftest.$ac_ext
44406 cat >>conftest.$ac_ext <<_ACEOF
44407 /* end confdefs.h. */
44408 #include <math.h>
44410 main ()
44412 _hypotl(0, 0);
44414 return 0;
44416 _ACEOF
44417 rm -f conftest.$ac_objext
44418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44419 (eval $ac_compile) 2>conftest.er1
44420 ac_status=$?
44421 grep -v '^ *+' conftest.er1 >conftest.err
44422 rm -f conftest.er1
44423 cat conftest.err >&5
44424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44425 (exit $ac_status); } &&
44426 { ac_try='test -z "$ac_cxx_werror_flag"
44427 || test ! -s conftest.err'
44428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44429 (eval $ac_try) 2>&5
44430 ac_status=$?
44431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44432 (exit $ac_status); }; } &&
44433 { ac_try='test -s conftest.$ac_objext'
44434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44435 (eval $ac_try) 2>&5
44436 ac_status=$?
44437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44438 (exit $ac_status); }; }; then
44439 glibcxx_cv_func__hypotl_use=yes
44440 else
44441 echo "$as_me: failed program was:" >&5
44442 sed 's/^/| /' conftest.$ac_ext >&5
44444 glibcxx_cv_func__hypotl_use=no
44446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44447 ac_ext=c
44448 ac_cpp='$CPP $CPPFLAGS'
44449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44457 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
44458 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
44460 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44462 for ac_func in _hypotl
44464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44465 echo "$as_me:$LINENO: checking for $ac_func" >&5
44466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44467 if eval "test \"\${$as_ac_var+set}\" = set"; then
44468 echo $ECHO_N "(cached) $ECHO_C" >&6
44469 else
44470 if test x$gcc_no_link = xyes; then
44471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44473 { (exit 1); exit 1; }; }
44475 cat >conftest.$ac_ext <<_ACEOF
44476 /* confdefs.h. */
44477 _ACEOF
44478 cat confdefs.h >>conftest.$ac_ext
44479 cat >>conftest.$ac_ext <<_ACEOF
44480 /* end confdefs.h. */
44481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44483 #define $ac_func innocuous_$ac_func
44485 /* System header to define __stub macros and hopefully few prototypes,
44486 which can conflict with char $ac_func (); below.
44487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44488 <limits.h> exists even on freestanding compilers. */
44490 #ifdef __STDC__
44491 # include <limits.h>
44492 #else
44493 # include <assert.h>
44494 #endif
44496 #undef $ac_func
44498 /* Override any gcc2 internal prototype to avoid an error. */
44499 #ifdef __cplusplus
44500 extern "C"
44502 #endif
44503 /* We use char because int might match the return type of a gcc2
44504 builtin and then its argument prototype would still apply. */
44505 char $ac_func ();
44506 /* The GNU C library defines this for functions which it implements
44507 to always fail with ENOSYS. Some functions are actually named
44508 something starting with __ and the normal name is an alias. */
44509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44510 choke me
44511 #else
44512 char (*f) () = $ac_func;
44513 #endif
44514 #ifdef __cplusplus
44516 #endif
44519 main ()
44521 return f != $ac_func;
44523 return 0;
44525 _ACEOF
44526 rm -f conftest.$ac_objext conftest$ac_exeext
44527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44528 (eval $ac_link) 2>conftest.er1
44529 ac_status=$?
44530 grep -v '^ *+' conftest.er1 >conftest.err
44531 rm -f conftest.er1
44532 cat conftest.err >&5
44533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44534 (exit $ac_status); } &&
44535 { ac_try='test -z "$ac_c_werror_flag"
44536 || test ! -s conftest.err'
44537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44538 (eval $ac_try) 2>&5
44539 ac_status=$?
44540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44541 (exit $ac_status); }; } &&
44542 { ac_try='test -s conftest$ac_exeext'
44543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44544 (eval $ac_try) 2>&5
44545 ac_status=$?
44546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44547 (exit $ac_status); }; }; then
44548 eval "$as_ac_var=yes"
44549 else
44550 echo "$as_me: failed program was:" >&5
44551 sed 's/^/| /' conftest.$ac_ext >&5
44553 eval "$as_ac_var=no"
44555 rm -f conftest.err conftest.$ac_objext \
44556 conftest$ac_exeext conftest.$ac_ext
44558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44560 if test `eval echo '${'$as_ac_var'}'` = yes; then
44561 cat >>confdefs.h <<_ACEOF
44562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44563 _ACEOF
44566 done
44573 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
44574 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
44575 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44576 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
44577 echo $ECHO_N "(cached) $ECHO_C" >&6
44578 else
44582 ac_ext=cc
44583 ac_cpp='$CXXCPP $CPPFLAGS'
44584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44588 cat >conftest.$ac_ext <<_ACEOF
44589 /* confdefs.h. */
44590 _ACEOF
44591 cat confdefs.h >>conftest.$ac_ext
44592 cat >>conftest.$ac_ext <<_ACEOF
44593 /* end confdefs.h. */
44594 #include <math.h>
44596 main ()
44598 ldexpl(0, 0);
44600 return 0;
44602 _ACEOF
44603 rm -f conftest.$ac_objext
44604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44605 (eval $ac_compile) 2>conftest.er1
44606 ac_status=$?
44607 grep -v '^ *+' conftest.er1 >conftest.err
44608 rm -f conftest.er1
44609 cat conftest.err >&5
44610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44611 (exit $ac_status); } &&
44612 { ac_try='test -z "$ac_cxx_werror_flag"
44613 || test ! -s conftest.err'
44614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44615 (eval $ac_try) 2>&5
44616 ac_status=$?
44617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44618 (exit $ac_status); }; } &&
44619 { ac_try='test -s conftest.$ac_objext'
44620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44621 (eval $ac_try) 2>&5
44622 ac_status=$?
44623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44624 (exit $ac_status); }; }; then
44625 glibcxx_cv_func_ldexpl_use=yes
44626 else
44627 echo "$as_me: failed program was:" >&5
44628 sed 's/^/| /' conftest.$ac_ext >&5
44630 glibcxx_cv_func_ldexpl_use=no
44632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44633 ac_ext=c
44634 ac_cpp='$CPP $CPPFLAGS'
44635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44643 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
44644 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
44646 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44648 for ac_func in ldexpl
44650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44651 echo "$as_me:$LINENO: checking for $ac_func" >&5
44652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44653 if eval "test \"\${$as_ac_var+set}\" = set"; then
44654 echo $ECHO_N "(cached) $ECHO_C" >&6
44655 else
44656 if test x$gcc_no_link = xyes; then
44657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44659 { (exit 1); exit 1; }; }
44661 cat >conftest.$ac_ext <<_ACEOF
44662 /* confdefs.h. */
44663 _ACEOF
44664 cat confdefs.h >>conftest.$ac_ext
44665 cat >>conftest.$ac_ext <<_ACEOF
44666 /* end confdefs.h. */
44667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44669 #define $ac_func innocuous_$ac_func
44671 /* System header to define __stub macros and hopefully few prototypes,
44672 which can conflict with char $ac_func (); below.
44673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44674 <limits.h> exists even on freestanding compilers. */
44676 #ifdef __STDC__
44677 # include <limits.h>
44678 #else
44679 # include <assert.h>
44680 #endif
44682 #undef $ac_func
44684 /* Override any gcc2 internal prototype to avoid an error. */
44685 #ifdef __cplusplus
44686 extern "C"
44688 #endif
44689 /* We use char because int might match the return type of a gcc2
44690 builtin and then its argument prototype would still apply. */
44691 char $ac_func ();
44692 /* The GNU C library defines this for functions which it implements
44693 to always fail with ENOSYS. Some functions are actually named
44694 something starting with __ and the normal name is an alias. */
44695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44696 choke me
44697 #else
44698 char (*f) () = $ac_func;
44699 #endif
44700 #ifdef __cplusplus
44702 #endif
44705 main ()
44707 return f != $ac_func;
44709 return 0;
44711 _ACEOF
44712 rm -f conftest.$ac_objext conftest$ac_exeext
44713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44714 (eval $ac_link) 2>conftest.er1
44715 ac_status=$?
44716 grep -v '^ *+' conftest.er1 >conftest.err
44717 rm -f conftest.er1
44718 cat conftest.err >&5
44719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44720 (exit $ac_status); } &&
44721 { ac_try='test -z "$ac_c_werror_flag"
44722 || test ! -s conftest.err'
44723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44724 (eval $ac_try) 2>&5
44725 ac_status=$?
44726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44727 (exit $ac_status); }; } &&
44728 { ac_try='test -s conftest$ac_exeext'
44729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44730 (eval $ac_try) 2>&5
44731 ac_status=$?
44732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44733 (exit $ac_status); }; }; then
44734 eval "$as_ac_var=yes"
44735 else
44736 echo "$as_me: failed program was:" >&5
44737 sed 's/^/| /' conftest.$ac_ext >&5
44739 eval "$as_ac_var=no"
44741 rm -f conftest.err conftest.$ac_objext \
44742 conftest$ac_exeext conftest.$ac_ext
44744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44746 if test `eval echo '${'$as_ac_var'}'` = yes; then
44747 cat >>confdefs.h <<_ACEOF
44748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44749 _ACEOF
44752 done
44754 else
44756 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
44757 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
44758 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44759 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
44760 echo $ECHO_N "(cached) $ECHO_C" >&6
44761 else
44765 ac_ext=cc
44766 ac_cpp='$CXXCPP $CPPFLAGS'
44767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44771 cat >conftest.$ac_ext <<_ACEOF
44772 /* confdefs.h. */
44773 _ACEOF
44774 cat confdefs.h >>conftest.$ac_ext
44775 cat >>conftest.$ac_ext <<_ACEOF
44776 /* end confdefs.h. */
44777 #include <math.h>
44779 main ()
44781 _ldexpl(0, 0);
44783 return 0;
44785 _ACEOF
44786 rm -f conftest.$ac_objext
44787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44788 (eval $ac_compile) 2>conftest.er1
44789 ac_status=$?
44790 grep -v '^ *+' conftest.er1 >conftest.err
44791 rm -f conftest.er1
44792 cat conftest.err >&5
44793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44794 (exit $ac_status); } &&
44795 { ac_try='test -z "$ac_cxx_werror_flag"
44796 || test ! -s conftest.err'
44797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44798 (eval $ac_try) 2>&5
44799 ac_status=$?
44800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44801 (exit $ac_status); }; } &&
44802 { ac_try='test -s conftest.$ac_objext'
44803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44804 (eval $ac_try) 2>&5
44805 ac_status=$?
44806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44807 (exit $ac_status); }; }; then
44808 glibcxx_cv_func__ldexpl_use=yes
44809 else
44810 echo "$as_me: failed program was:" >&5
44811 sed 's/^/| /' conftest.$ac_ext >&5
44813 glibcxx_cv_func__ldexpl_use=no
44815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44816 ac_ext=c
44817 ac_cpp='$CPP $CPPFLAGS'
44818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44826 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
44827 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
44829 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44831 for ac_func in _ldexpl
44833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44834 echo "$as_me:$LINENO: checking for $ac_func" >&5
44835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44836 if eval "test \"\${$as_ac_var+set}\" = set"; then
44837 echo $ECHO_N "(cached) $ECHO_C" >&6
44838 else
44839 if test x$gcc_no_link = xyes; then
44840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44842 { (exit 1); exit 1; }; }
44844 cat >conftest.$ac_ext <<_ACEOF
44845 /* confdefs.h. */
44846 _ACEOF
44847 cat confdefs.h >>conftest.$ac_ext
44848 cat >>conftest.$ac_ext <<_ACEOF
44849 /* end confdefs.h. */
44850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44852 #define $ac_func innocuous_$ac_func
44854 /* System header to define __stub macros and hopefully few prototypes,
44855 which can conflict with char $ac_func (); below.
44856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44857 <limits.h> exists even on freestanding compilers. */
44859 #ifdef __STDC__
44860 # include <limits.h>
44861 #else
44862 # include <assert.h>
44863 #endif
44865 #undef $ac_func
44867 /* Override any gcc2 internal prototype to avoid an error. */
44868 #ifdef __cplusplus
44869 extern "C"
44871 #endif
44872 /* We use char because int might match the return type of a gcc2
44873 builtin and then its argument prototype would still apply. */
44874 char $ac_func ();
44875 /* The GNU C library defines this for functions which it implements
44876 to always fail with ENOSYS. Some functions are actually named
44877 something starting with __ and the normal name is an alias. */
44878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44879 choke me
44880 #else
44881 char (*f) () = $ac_func;
44882 #endif
44883 #ifdef __cplusplus
44885 #endif
44888 main ()
44890 return f != $ac_func;
44892 return 0;
44894 _ACEOF
44895 rm -f conftest.$ac_objext conftest$ac_exeext
44896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44897 (eval $ac_link) 2>conftest.er1
44898 ac_status=$?
44899 grep -v '^ *+' conftest.er1 >conftest.err
44900 rm -f conftest.er1
44901 cat conftest.err >&5
44902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44903 (exit $ac_status); } &&
44904 { ac_try='test -z "$ac_c_werror_flag"
44905 || test ! -s conftest.err'
44906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44907 (eval $ac_try) 2>&5
44908 ac_status=$?
44909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44910 (exit $ac_status); }; } &&
44911 { ac_try='test -s conftest$ac_exeext'
44912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44913 (eval $ac_try) 2>&5
44914 ac_status=$?
44915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44916 (exit $ac_status); }; }; then
44917 eval "$as_ac_var=yes"
44918 else
44919 echo "$as_me: failed program was:" >&5
44920 sed 's/^/| /' conftest.$ac_ext >&5
44922 eval "$as_ac_var=no"
44924 rm -f conftest.err conftest.$ac_objext \
44925 conftest$ac_exeext conftest.$ac_ext
44927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44929 if test `eval echo '${'$as_ac_var'}'` = yes; then
44930 cat >>confdefs.h <<_ACEOF
44931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44932 _ACEOF
44935 done
44942 echo "$as_me:$LINENO: checking for logl declaration" >&5
44943 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
44944 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44945 if test "${glibcxx_cv_func_logl_use+set}" = set; then
44946 echo $ECHO_N "(cached) $ECHO_C" >&6
44947 else
44951 ac_ext=cc
44952 ac_cpp='$CXXCPP $CPPFLAGS'
44953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44957 cat >conftest.$ac_ext <<_ACEOF
44958 /* confdefs.h. */
44959 _ACEOF
44960 cat confdefs.h >>conftest.$ac_ext
44961 cat >>conftest.$ac_ext <<_ACEOF
44962 /* end confdefs.h. */
44963 #include <math.h>
44964 #ifdef HAVE_IEEEFP_H
44965 #include <ieeefp.h>
44966 #endif
44969 main ()
44971 logl(0);
44973 return 0;
44975 _ACEOF
44976 rm -f conftest.$ac_objext
44977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44978 (eval $ac_compile) 2>conftest.er1
44979 ac_status=$?
44980 grep -v '^ *+' conftest.er1 >conftest.err
44981 rm -f conftest.er1
44982 cat conftest.err >&5
44983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44984 (exit $ac_status); } &&
44985 { ac_try='test -z "$ac_cxx_werror_flag"
44986 || test ! -s conftest.err'
44987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44988 (eval $ac_try) 2>&5
44989 ac_status=$?
44990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44991 (exit $ac_status); }; } &&
44992 { ac_try='test -s conftest.$ac_objext'
44993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44994 (eval $ac_try) 2>&5
44995 ac_status=$?
44996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44997 (exit $ac_status); }; }; then
44998 glibcxx_cv_func_logl_use=yes
44999 else
45000 echo "$as_me: failed program was:" >&5
45001 sed 's/^/| /' conftest.$ac_ext >&5
45003 glibcxx_cv_func_logl_use=no
45005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45006 ac_ext=c
45007 ac_cpp='$CPP $CPPFLAGS'
45008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45016 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
45017 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
45019 if test x$glibcxx_cv_func_logl_use = x"yes"; then
45021 for ac_func in logl
45023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45024 echo "$as_me:$LINENO: checking for $ac_func" >&5
45025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45026 if eval "test \"\${$as_ac_var+set}\" = set"; then
45027 echo $ECHO_N "(cached) $ECHO_C" >&6
45028 else
45029 if test x$gcc_no_link = xyes; then
45030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45032 { (exit 1); exit 1; }; }
45034 cat >conftest.$ac_ext <<_ACEOF
45035 /* confdefs.h. */
45036 _ACEOF
45037 cat confdefs.h >>conftest.$ac_ext
45038 cat >>conftest.$ac_ext <<_ACEOF
45039 /* end confdefs.h. */
45040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45042 #define $ac_func innocuous_$ac_func
45044 /* System header to define __stub macros and hopefully few prototypes,
45045 which can conflict with char $ac_func (); below.
45046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45047 <limits.h> exists even on freestanding compilers. */
45049 #ifdef __STDC__
45050 # include <limits.h>
45051 #else
45052 # include <assert.h>
45053 #endif
45055 #undef $ac_func
45057 /* Override any gcc2 internal prototype to avoid an error. */
45058 #ifdef __cplusplus
45059 extern "C"
45061 #endif
45062 /* We use char because int might match the return type of a gcc2
45063 builtin and then its argument prototype would still apply. */
45064 char $ac_func ();
45065 /* The GNU C library defines this for functions which it implements
45066 to always fail with ENOSYS. Some functions are actually named
45067 something starting with __ and the normal name is an alias. */
45068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45069 choke me
45070 #else
45071 char (*f) () = $ac_func;
45072 #endif
45073 #ifdef __cplusplus
45075 #endif
45078 main ()
45080 return f != $ac_func;
45082 return 0;
45084 _ACEOF
45085 rm -f conftest.$ac_objext conftest$ac_exeext
45086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45087 (eval $ac_link) 2>conftest.er1
45088 ac_status=$?
45089 grep -v '^ *+' conftest.er1 >conftest.err
45090 rm -f conftest.er1
45091 cat conftest.err >&5
45092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45093 (exit $ac_status); } &&
45094 { ac_try='test -z "$ac_c_werror_flag"
45095 || test ! -s conftest.err'
45096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45097 (eval $ac_try) 2>&5
45098 ac_status=$?
45099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45100 (exit $ac_status); }; } &&
45101 { ac_try='test -s conftest$ac_exeext'
45102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45103 (eval $ac_try) 2>&5
45104 ac_status=$?
45105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45106 (exit $ac_status); }; }; then
45107 eval "$as_ac_var=yes"
45108 else
45109 echo "$as_me: failed program was:" >&5
45110 sed 's/^/| /' conftest.$ac_ext >&5
45112 eval "$as_ac_var=no"
45114 rm -f conftest.err conftest.$ac_objext \
45115 conftest$ac_exeext conftest.$ac_ext
45117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45119 if test `eval echo '${'$as_ac_var'}'` = yes; then
45120 cat >>confdefs.h <<_ACEOF
45121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45122 _ACEOF
45125 done
45127 else
45129 echo "$as_me:$LINENO: checking for _logl declaration" >&5
45130 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
45131 if test x${glibcxx_cv_func__logl_use+set} != xset; then
45132 if test "${glibcxx_cv_func__logl_use+set}" = set; then
45133 echo $ECHO_N "(cached) $ECHO_C" >&6
45134 else
45138 ac_ext=cc
45139 ac_cpp='$CXXCPP $CPPFLAGS'
45140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45144 cat >conftest.$ac_ext <<_ACEOF
45145 /* confdefs.h. */
45146 _ACEOF
45147 cat confdefs.h >>conftest.$ac_ext
45148 cat >>conftest.$ac_ext <<_ACEOF
45149 /* end confdefs.h. */
45150 #include <math.h>
45151 #ifdef HAVE_IEEEFP_H
45152 #include <ieeefp.h>
45153 #endif
45156 main ()
45158 _logl(0);
45160 return 0;
45162 _ACEOF
45163 rm -f conftest.$ac_objext
45164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45165 (eval $ac_compile) 2>conftest.er1
45166 ac_status=$?
45167 grep -v '^ *+' conftest.er1 >conftest.err
45168 rm -f conftest.er1
45169 cat conftest.err >&5
45170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45171 (exit $ac_status); } &&
45172 { ac_try='test -z "$ac_cxx_werror_flag"
45173 || test ! -s conftest.err'
45174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45175 (eval $ac_try) 2>&5
45176 ac_status=$?
45177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45178 (exit $ac_status); }; } &&
45179 { ac_try='test -s conftest.$ac_objext'
45180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45181 (eval $ac_try) 2>&5
45182 ac_status=$?
45183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45184 (exit $ac_status); }; }; then
45185 glibcxx_cv_func__logl_use=yes
45186 else
45187 echo "$as_me: failed program was:" >&5
45188 sed 's/^/| /' conftest.$ac_ext >&5
45190 glibcxx_cv_func__logl_use=no
45192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45193 ac_ext=c
45194 ac_cpp='$CPP $CPPFLAGS'
45195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45203 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
45204 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
45206 if test x$glibcxx_cv_func__logl_use = x"yes"; then
45208 for ac_func in _logl
45210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45211 echo "$as_me:$LINENO: checking for $ac_func" >&5
45212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45213 if eval "test \"\${$as_ac_var+set}\" = set"; then
45214 echo $ECHO_N "(cached) $ECHO_C" >&6
45215 else
45216 if test x$gcc_no_link = xyes; then
45217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45219 { (exit 1); exit 1; }; }
45221 cat >conftest.$ac_ext <<_ACEOF
45222 /* confdefs.h. */
45223 _ACEOF
45224 cat confdefs.h >>conftest.$ac_ext
45225 cat >>conftest.$ac_ext <<_ACEOF
45226 /* end confdefs.h. */
45227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45229 #define $ac_func innocuous_$ac_func
45231 /* System header to define __stub macros and hopefully few prototypes,
45232 which can conflict with char $ac_func (); below.
45233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45234 <limits.h> exists even on freestanding compilers. */
45236 #ifdef __STDC__
45237 # include <limits.h>
45238 #else
45239 # include <assert.h>
45240 #endif
45242 #undef $ac_func
45244 /* Override any gcc2 internal prototype to avoid an error. */
45245 #ifdef __cplusplus
45246 extern "C"
45248 #endif
45249 /* We use char because int might match the return type of a gcc2
45250 builtin and then its argument prototype would still apply. */
45251 char $ac_func ();
45252 /* The GNU C library defines this for functions which it implements
45253 to always fail with ENOSYS. Some functions are actually named
45254 something starting with __ and the normal name is an alias. */
45255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45256 choke me
45257 #else
45258 char (*f) () = $ac_func;
45259 #endif
45260 #ifdef __cplusplus
45262 #endif
45265 main ()
45267 return f != $ac_func;
45269 return 0;
45271 _ACEOF
45272 rm -f conftest.$ac_objext conftest$ac_exeext
45273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45274 (eval $ac_link) 2>conftest.er1
45275 ac_status=$?
45276 grep -v '^ *+' conftest.er1 >conftest.err
45277 rm -f conftest.er1
45278 cat conftest.err >&5
45279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45280 (exit $ac_status); } &&
45281 { ac_try='test -z "$ac_c_werror_flag"
45282 || test ! -s conftest.err'
45283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45284 (eval $ac_try) 2>&5
45285 ac_status=$?
45286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45287 (exit $ac_status); }; } &&
45288 { ac_try='test -s conftest$ac_exeext'
45289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45290 (eval $ac_try) 2>&5
45291 ac_status=$?
45292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45293 (exit $ac_status); }; }; then
45294 eval "$as_ac_var=yes"
45295 else
45296 echo "$as_me: failed program was:" >&5
45297 sed 's/^/| /' conftest.$ac_ext >&5
45299 eval "$as_ac_var=no"
45301 rm -f conftest.err conftest.$ac_objext \
45302 conftest$ac_exeext conftest.$ac_ext
45304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45306 if test `eval echo '${'$as_ac_var'}'` = yes; then
45307 cat >>confdefs.h <<_ACEOF
45308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45309 _ACEOF
45312 done
45319 echo "$as_me:$LINENO: checking for log10l declaration" >&5
45320 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
45321 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45322 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
45323 echo $ECHO_N "(cached) $ECHO_C" >&6
45324 else
45328 ac_ext=cc
45329 ac_cpp='$CXXCPP $CPPFLAGS'
45330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45334 cat >conftest.$ac_ext <<_ACEOF
45335 /* confdefs.h. */
45336 _ACEOF
45337 cat confdefs.h >>conftest.$ac_ext
45338 cat >>conftest.$ac_ext <<_ACEOF
45339 /* end confdefs.h. */
45340 #include <math.h>
45341 #ifdef HAVE_IEEEFP_H
45342 #include <ieeefp.h>
45343 #endif
45346 main ()
45348 log10l(0);
45350 return 0;
45352 _ACEOF
45353 rm -f conftest.$ac_objext
45354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45355 (eval $ac_compile) 2>conftest.er1
45356 ac_status=$?
45357 grep -v '^ *+' conftest.er1 >conftest.err
45358 rm -f conftest.er1
45359 cat conftest.err >&5
45360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45361 (exit $ac_status); } &&
45362 { ac_try='test -z "$ac_cxx_werror_flag"
45363 || test ! -s conftest.err'
45364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45365 (eval $ac_try) 2>&5
45366 ac_status=$?
45367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45368 (exit $ac_status); }; } &&
45369 { ac_try='test -s conftest.$ac_objext'
45370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45371 (eval $ac_try) 2>&5
45372 ac_status=$?
45373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45374 (exit $ac_status); }; }; then
45375 glibcxx_cv_func_log10l_use=yes
45376 else
45377 echo "$as_me: failed program was:" >&5
45378 sed 's/^/| /' conftest.$ac_ext >&5
45380 glibcxx_cv_func_log10l_use=no
45382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45383 ac_ext=c
45384 ac_cpp='$CPP $CPPFLAGS'
45385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45393 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
45394 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
45396 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45398 for ac_func in log10l
45400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45401 echo "$as_me:$LINENO: checking for $ac_func" >&5
45402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45403 if eval "test \"\${$as_ac_var+set}\" = set"; then
45404 echo $ECHO_N "(cached) $ECHO_C" >&6
45405 else
45406 if test x$gcc_no_link = xyes; then
45407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45409 { (exit 1); exit 1; }; }
45411 cat >conftest.$ac_ext <<_ACEOF
45412 /* confdefs.h. */
45413 _ACEOF
45414 cat confdefs.h >>conftest.$ac_ext
45415 cat >>conftest.$ac_ext <<_ACEOF
45416 /* end confdefs.h. */
45417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45419 #define $ac_func innocuous_$ac_func
45421 /* System header to define __stub macros and hopefully few prototypes,
45422 which can conflict with char $ac_func (); below.
45423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45424 <limits.h> exists even on freestanding compilers. */
45426 #ifdef __STDC__
45427 # include <limits.h>
45428 #else
45429 # include <assert.h>
45430 #endif
45432 #undef $ac_func
45434 /* Override any gcc2 internal prototype to avoid an error. */
45435 #ifdef __cplusplus
45436 extern "C"
45438 #endif
45439 /* We use char because int might match the return type of a gcc2
45440 builtin and then its argument prototype would still apply. */
45441 char $ac_func ();
45442 /* The GNU C library defines this for functions which it implements
45443 to always fail with ENOSYS. Some functions are actually named
45444 something starting with __ and the normal name is an alias. */
45445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45446 choke me
45447 #else
45448 char (*f) () = $ac_func;
45449 #endif
45450 #ifdef __cplusplus
45452 #endif
45455 main ()
45457 return f != $ac_func;
45459 return 0;
45461 _ACEOF
45462 rm -f conftest.$ac_objext conftest$ac_exeext
45463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45464 (eval $ac_link) 2>conftest.er1
45465 ac_status=$?
45466 grep -v '^ *+' conftest.er1 >conftest.err
45467 rm -f conftest.er1
45468 cat conftest.err >&5
45469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45470 (exit $ac_status); } &&
45471 { ac_try='test -z "$ac_c_werror_flag"
45472 || test ! -s conftest.err'
45473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45474 (eval $ac_try) 2>&5
45475 ac_status=$?
45476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45477 (exit $ac_status); }; } &&
45478 { ac_try='test -s conftest$ac_exeext'
45479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45480 (eval $ac_try) 2>&5
45481 ac_status=$?
45482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45483 (exit $ac_status); }; }; then
45484 eval "$as_ac_var=yes"
45485 else
45486 echo "$as_me: failed program was:" >&5
45487 sed 's/^/| /' conftest.$ac_ext >&5
45489 eval "$as_ac_var=no"
45491 rm -f conftest.err conftest.$ac_objext \
45492 conftest$ac_exeext conftest.$ac_ext
45494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45496 if test `eval echo '${'$as_ac_var'}'` = yes; then
45497 cat >>confdefs.h <<_ACEOF
45498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45499 _ACEOF
45502 done
45504 else
45506 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
45507 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
45508 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45509 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
45510 echo $ECHO_N "(cached) $ECHO_C" >&6
45511 else
45515 ac_ext=cc
45516 ac_cpp='$CXXCPP $CPPFLAGS'
45517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45521 cat >conftest.$ac_ext <<_ACEOF
45522 /* confdefs.h. */
45523 _ACEOF
45524 cat confdefs.h >>conftest.$ac_ext
45525 cat >>conftest.$ac_ext <<_ACEOF
45526 /* end confdefs.h. */
45527 #include <math.h>
45528 #ifdef HAVE_IEEEFP_H
45529 #include <ieeefp.h>
45530 #endif
45533 main ()
45535 _log10l(0);
45537 return 0;
45539 _ACEOF
45540 rm -f conftest.$ac_objext
45541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45542 (eval $ac_compile) 2>conftest.er1
45543 ac_status=$?
45544 grep -v '^ *+' conftest.er1 >conftest.err
45545 rm -f conftest.er1
45546 cat conftest.err >&5
45547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45548 (exit $ac_status); } &&
45549 { ac_try='test -z "$ac_cxx_werror_flag"
45550 || test ! -s conftest.err'
45551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45552 (eval $ac_try) 2>&5
45553 ac_status=$?
45554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45555 (exit $ac_status); }; } &&
45556 { ac_try='test -s conftest.$ac_objext'
45557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45558 (eval $ac_try) 2>&5
45559 ac_status=$?
45560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45561 (exit $ac_status); }; }; then
45562 glibcxx_cv_func__log10l_use=yes
45563 else
45564 echo "$as_me: failed program was:" >&5
45565 sed 's/^/| /' conftest.$ac_ext >&5
45567 glibcxx_cv_func__log10l_use=no
45569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45570 ac_ext=c
45571 ac_cpp='$CPP $CPPFLAGS'
45572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45580 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
45581 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
45583 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45585 for ac_func in _log10l
45587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45588 echo "$as_me:$LINENO: checking for $ac_func" >&5
45589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45590 if eval "test \"\${$as_ac_var+set}\" = set"; then
45591 echo $ECHO_N "(cached) $ECHO_C" >&6
45592 else
45593 if test x$gcc_no_link = xyes; then
45594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45596 { (exit 1); exit 1; }; }
45598 cat >conftest.$ac_ext <<_ACEOF
45599 /* confdefs.h. */
45600 _ACEOF
45601 cat confdefs.h >>conftest.$ac_ext
45602 cat >>conftest.$ac_ext <<_ACEOF
45603 /* end confdefs.h. */
45604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45606 #define $ac_func innocuous_$ac_func
45608 /* System header to define __stub macros and hopefully few prototypes,
45609 which can conflict with char $ac_func (); below.
45610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45611 <limits.h> exists even on freestanding compilers. */
45613 #ifdef __STDC__
45614 # include <limits.h>
45615 #else
45616 # include <assert.h>
45617 #endif
45619 #undef $ac_func
45621 /* Override any gcc2 internal prototype to avoid an error. */
45622 #ifdef __cplusplus
45623 extern "C"
45625 #endif
45626 /* We use char because int might match the return type of a gcc2
45627 builtin and then its argument prototype would still apply. */
45628 char $ac_func ();
45629 /* The GNU C library defines this for functions which it implements
45630 to always fail with ENOSYS. Some functions are actually named
45631 something starting with __ and the normal name is an alias. */
45632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45633 choke me
45634 #else
45635 char (*f) () = $ac_func;
45636 #endif
45637 #ifdef __cplusplus
45639 #endif
45642 main ()
45644 return f != $ac_func;
45646 return 0;
45648 _ACEOF
45649 rm -f conftest.$ac_objext conftest$ac_exeext
45650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45651 (eval $ac_link) 2>conftest.er1
45652 ac_status=$?
45653 grep -v '^ *+' conftest.er1 >conftest.err
45654 rm -f conftest.er1
45655 cat conftest.err >&5
45656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45657 (exit $ac_status); } &&
45658 { ac_try='test -z "$ac_c_werror_flag"
45659 || test ! -s conftest.err'
45660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45661 (eval $ac_try) 2>&5
45662 ac_status=$?
45663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45664 (exit $ac_status); }; } &&
45665 { ac_try='test -s conftest$ac_exeext'
45666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45667 (eval $ac_try) 2>&5
45668 ac_status=$?
45669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45670 (exit $ac_status); }; }; then
45671 eval "$as_ac_var=yes"
45672 else
45673 echo "$as_me: failed program was:" >&5
45674 sed 's/^/| /' conftest.$ac_ext >&5
45676 eval "$as_ac_var=no"
45678 rm -f conftest.err conftest.$ac_objext \
45679 conftest$ac_exeext conftest.$ac_ext
45681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45683 if test `eval echo '${'$as_ac_var'}'` = yes; then
45684 cat >>confdefs.h <<_ACEOF
45685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45686 _ACEOF
45689 done
45696 echo "$as_me:$LINENO: checking for modfl declaration" >&5
45697 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
45698 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45699 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
45700 echo $ECHO_N "(cached) $ECHO_C" >&6
45701 else
45705 ac_ext=cc
45706 ac_cpp='$CXXCPP $CPPFLAGS'
45707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45711 cat >conftest.$ac_ext <<_ACEOF
45712 /* confdefs.h. */
45713 _ACEOF
45714 cat confdefs.h >>conftest.$ac_ext
45715 cat >>conftest.$ac_ext <<_ACEOF
45716 /* end confdefs.h. */
45717 #include <math.h>
45719 main ()
45721 modfl(0, 0);
45723 return 0;
45725 _ACEOF
45726 rm -f conftest.$ac_objext
45727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45728 (eval $ac_compile) 2>conftest.er1
45729 ac_status=$?
45730 grep -v '^ *+' conftest.er1 >conftest.err
45731 rm -f conftest.er1
45732 cat conftest.err >&5
45733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45734 (exit $ac_status); } &&
45735 { ac_try='test -z "$ac_cxx_werror_flag"
45736 || test ! -s conftest.err'
45737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45738 (eval $ac_try) 2>&5
45739 ac_status=$?
45740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45741 (exit $ac_status); }; } &&
45742 { ac_try='test -s conftest.$ac_objext'
45743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45744 (eval $ac_try) 2>&5
45745 ac_status=$?
45746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45747 (exit $ac_status); }; }; then
45748 glibcxx_cv_func_modfl_use=yes
45749 else
45750 echo "$as_me: failed program was:" >&5
45751 sed 's/^/| /' conftest.$ac_ext >&5
45753 glibcxx_cv_func_modfl_use=no
45755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45756 ac_ext=c
45757 ac_cpp='$CPP $CPPFLAGS'
45758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45766 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
45767 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
45769 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45771 for ac_func in modfl
45773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45774 echo "$as_me:$LINENO: checking for $ac_func" >&5
45775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45776 if eval "test \"\${$as_ac_var+set}\" = set"; then
45777 echo $ECHO_N "(cached) $ECHO_C" >&6
45778 else
45779 if test x$gcc_no_link = xyes; then
45780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45782 { (exit 1); exit 1; }; }
45784 cat >conftest.$ac_ext <<_ACEOF
45785 /* confdefs.h. */
45786 _ACEOF
45787 cat confdefs.h >>conftest.$ac_ext
45788 cat >>conftest.$ac_ext <<_ACEOF
45789 /* end confdefs.h. */
45790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45792 #define $ac_func innocuous_$ac_func
45794 /* System header to define __stub macros and hopefully few prototypes,
45795 which can conflict with char $ac_func (); below.
45796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45797 <limits.h> exists even on freestanding compilers. */
45799 #ifdef __STDC__
45800 # include <limits.h>
45801 #else
45802 # include <assert.h>
45803 #endif
45805 #undef $ac_func
45807 /* Override any gcc2 internal prototype to avoid an error. */
45808 #ifdef __cplusplus
45809 extern "C"
45811 #endif
45812 /* We use char because int might match the return type of a gcc2
45813 builtin and then its argument prototype would still apply. */
45814 char $ac_func ();
45815 /* The GNU C library defines this for functions which it implements
45816 to always fail with ENOSYS. Some functions are actually named
45817 something starting with __ and the normal name is an alias. */
45818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45819 choke me
45820 #else
45821 char (*f) () = $ac_func;
45822 #endif
45823 #ifdef __cplusplus
45825 #endif
45828 main ()
45830 return f != $ac_func;
45832 return 0;
45834 _ACEOF
45835 rm -f conftest.$ac_objext conftest$ac_exeext
45836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45837 (eval $ac_link) 2>conftest.er1
45838 ac_status=$?
45839 grep -v '^ *+' conftest.er1 >conftest.err
45840 rm -f conftest.er1
45841 cat conftest.err >&5
45842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45843 (exit $ac_status); } &&
45844 { ac_try='test -z "$ac_c_werror_flag"
45845 || test ! -s conftest.err'
45846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45847 (eval $ac_try) 2>&5
45848 ac_status=$?
45849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45850 (exit $ac_status); }; } &&
45851 { ac_try='test -s conftest$ac_exeext'
45852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45853 (eval $ac_try) 2>&5
45854 ac_status=$?
45855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45856 (exit $ac_status); }; }; then
45857 eval "$as_ac_var=yes"
45858 else
45859 echo "$as_me: failed program was:" >&5
45860 sed 's/^/| /' conftest.$ac_ext >&5
45862 eval "$as_ac_var=no"
45864 rm -f conftest.err conftest.$ac_objext \
45865 conftest$ac_exeext conftest.$ac_ext
45867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45869 if test `eval echo '${'$as_ac_var'}'` = yes; then
45870 cat >>confdefs.h <<_ACEOF
45871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45872 _ACEOF
45875 done
45877 else
45879 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
45880 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
45881 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45882 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
45883 echo $ECHO_N "(cached) $ECHO_C" >&6
45884 else
45888 ac_ext=cc
45889 ac_cpp='$CXXCPP $CPPFLAGS'
45890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45894 cat >conftest.$ac_ext <<_ACEOF
45895 /* confdefs.h. */
45896 _ACEOF
45897 cat confdefs.h >>conftest.$ac_ext
45898 cat >>conftest.$ac_ext <<_ACEOF
45899 /* end confdefs.h. */
45900 #include <math.h>
45902 main ()
45904 _modfl(0, 0);
45906 return 0;
45908 _ACEOF
45909 rm -f conftest.$ac_objext
45910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45911 (eval $ac_compile) 2>conftest.er1
45912 ac_status=$?
45913 grep -v '^ *+' conftest.er1 >conftest.err
45914 rm -f conftest.er1
45915 cat conftest.err >&5
45916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45917 (exit $ac_status); } &&
45918 { ac_try='test -z "$ac_cxx_werror_flag"
45919 || test ! -s conftest.err'
45920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45921 (eval $ac_try) 2>&5
45922 ac_status=$?
45923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45924 (exit $ac_status); }; } &&
45925 { ac_try='test -s conftest.$ac_objext'
45926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45927 (eval $ac_try) 2>&5
45928 ac_status=$?
45929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45930 (exit $ac_status); }; }; then
45931 glibcxx_cv_func__modfl_use=yes
45932 else
45933 echo "$as_me: failed program was:" >&5
45934 sed 's/^/| /' conftest.$ac_ext >&5
45936 glibcxx_cv_func__modfl_use=no
45938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45939 ac_ext=c
45940 ac_cpp='$CPP $CPPFLAGS'
45941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45949 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
45950 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
45952 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45954 for ac_func in _modfl
45956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45957 echo "$as_me:$LINENO: checking for $ac_func" >&5
45958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45959 if eval "test \"\${$as_ac_var+set}\" = set"; then
45960 echo $ECHO_N "(cached) $ECHO_C" >&6
45961 else
45962 if test x$gcc_no_link = xyes; then
45963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45965 { (exit 1); exit 1; }; }
45967 cat >conftest.$ac_ext <<_ACEOF
45968 /* confdefs.h. */
45969 _ACEOF
45970 cat confdefs.h >>conftest.$ac_ext
45971 cat >>conftest.$ac_ext <<_ACEOF
45972 /* end confdefs.h. */
45973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45975 #define $ac_func innocuous_$ac_func
45977 /* System header to define __stub macros and hopefully few prototypes,
45978 which can conflict with char $ac_func (); below.
45979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45980 <limits.h> exists even on freestanding compilers. */
45982 #ifdef __STDC__
45983 # include <limits.h>
45984 #else
45985 # include <assert.h>
45986 #endif
45988 #undef $ac_func
45990 /* Override any gcc2 internal prototype to avoid an error. */
45991 #ifdef __cplusplus
45992 extern "C"
45994 #endif
45995 /* We use char because int might match the return type of a gcc2
45996 builtin and then its argument prototype would still apply. */
45997 char $ac_func ();
45998 /* The GNU C library defines this for functions which it implements
45999 to always fail with ENOSYS. Some functions are actually named
46000 something starting with __ and the normal name is an alias. */
46001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46002 choke me
46003 #else
46004 char (*f) () = $ac_func;
46005 #endif
46006 #ifdef __cplusplus
46008 #endif
46011 main ()
46013 return f != $ac_func;
46015 return 0;
46017 _ACEOF
46018 rm -f conftest.$ac_objext conftest$ac_exeext
46019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46020 (eval $ac_link) 2>conftest.er1
46021 ac_status=$?
46022 grep -v '^ *+' conftest.er1 >conftest.err
46023 rm -f conftest.er1
46024 cat conftest.err >&5
46025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46026 (exit $ac_status); } &&
46027 { ac_try='test -z "$ac_c_werror_flag"
46028 || test ! -s conftest.err'
46029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46030 (eval $ac_try) 2>&5
46031 ac_status=$?
46032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46033 (exit $ac_status); }; } &&
46034 { ac_try='test -s conftest$ac_exeext'
46035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46036 (eval $ac_try) 2>&5
46037 ac_status=$?
46038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46039 (exit $ac_status); }; }; then
46040 eval "$as_ac_var=yes"
46041 else
46042 echo "$as_me: failed program was:" >&5
46043 sed 's/^/| /' conftest.$ac_ext >&5
46045 eval "$as_ac_var=no"
46047 rm -f conftest.err conftest.$ac_objext \
46048 conftest$ac_exeext conftest.$ac_ext
46050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46052 if test `eval echo '${'$as_ac_var'}'` = yes; then
46053 cat >>confdefs.h <<_ACEOF
46054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46055 _ACEOF
46058 done
46065 echo "$as_me:$LINENO: checking for powl declaration" >&5
46066 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
46067 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46068 if test "${glibcxx_cv_func_powl_use+set}" = set; then
46069 echo $ECHO_N "(cached) $ECHO_C" >&6
46070 else
46074 ac_ext=cc
46075 ac_cpp='$CXXCPP $CPPFLAGS'
46076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46080 cat >conftest.$ac_ext <<_ACEOF
46081 /* confdefs.h. */
46082 _ACEOF
46083 cat confdefs.h >>conftest.$ac_ext
46084 cat >>conftest.$ac_ext <<_ACEOF
46085 /* end confdefs.h. */
46086 #include <math.h>
46088 main ()
46090 powl(0, 0);
46092 return 0;
46094 _ACEOF
46095 rm -f conftest.$ac_objext
46096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46097 (eval $ac_compile) 2>conftest.er1
46098 ac_status=$?
46099 grep -v '^ *+' conftest.er1 >conftest.err
46100 rm -f conftest.er1
46101 cat conftest.err >&5
46102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46103 (exit $ac_status); } &&
46104 { ac_try='test -z "$ac_cxx_werror_flag"
46105 || test ! -s conftest.err'
46106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46107 (eval $ac_try) 2>&5
46108 ac_status=$?
46109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46110 (exit $ac_status); }; } &&
46111 { ac_try='test -s conftest.$ac_objext'
46112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46113 (eval $ac_try) 2>&5
46114 ac_status=$?
46115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46116 (exit $ac_status); }; }; then
46117 glibcxx_cv_func_powl_use=yes
46118 else
46119 echo "$as_me: failed program was:" >&5
46120 sed 's/^/| /' conftest.$ac_ext >&5
46122 glibcxx_cv_func_powl_use=no
46124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46125 ac_ext=c
46126 ac_cpp='$CPP $CPPFLAGS'
46127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46135 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
46136 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
46138 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46140 for ac_func in powl
46142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46143 echo "$as_me:$LINENO: checking for $ac_func" >&5
46144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46145 if eval "test \"\${$as_ac_var+set}\" = set"; then
46146 echo $ECHO_N "(cached) $ECHO_C" >&6
46147 else
46148 if test x$gcc_no_link = xyes; then
46149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46151 { (exit 1); exit 1; }; }
46153 cat >conftest.$ac_ext <<_ACEOF
46154 /* confdefs.h. */
46155 _ACEOF
46156 cat confdefs.h >>conftest.$ac_ext
46157 cat >>conftest.$ac_ext <<_ACEOF
46158 /* end confdefs.h. */
46159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46161 #define $ac_func innocuous_$ac_func
46163 /* System header to define __stub macros and hopefully few prototypes,
46164 which can conflict with char $ac_func (); below.
46165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46166 <limits.h> exists even on freestanding compilers. */
46168 #ifdef __STDC__
46169 # include <limits.h>
46170 #else
46171 # include <assert.h>
46172 #endif
46174 #undef $ac_func
46176 /* Override any gcc2 internal prototype to avoid an error. */
46177 #ifdef __cplusplus
46178 extern "C"
46180 #endif
46181 /* We use char because int might match the return type of a gcc2
46182 builtin and then its argument prototype would still apply. */
46183 char $ac_func ();
46184 /* The GNU C library defines this for functions which it implements
46185 to always fail with ENOSYS. Some functions are actually named
46186 something starting with __ and the normal name is an alias. */
46187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46188 choke me
46189 #else
46190 char (*f) () = $ac_func;
46191 #endif
46192 #ifdef __cplusplus
46194 #endif
46197 main ()
46199 return f != $ac_func;
46201 return 0;
46203 _ACEOF
46204 rm -f conftest.$ac_objext conftest$ac_exeext
46205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46206 (eval $ac_link) 2>conftest.er1
46207 ac_status=$?
46208 grep -v '^ *+' conftest.er1 >conftest.err
46209 rm -f conftest.er1
46210 cat conftest.err >&5
46211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46212 (exit $ac_status); } &&
46213 { ac_try='test -z "$ac_c_werror_flag"
46214 || test ! -s conftest.err'
46215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46216 (eval $ac_try) 2>&5
46217 ac_status=$?
46218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46219 (exit $ac_status); }; } &&
46220 { ac_try='test -s conftest$ac_exeext'
46221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46222 (eval $ac_try) 2>&5
46223 ac_status=$?
46224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46225 (exit $ac_status); }; }; then
46226 eval "$as_ac_var=yes"
46227 else
46228 echo "$as_me: failed program was:" >&5
46229 sed 's/^/| /' conftest.$ac_ext >&5
46231 eval "$as_ac_var=no"
46233 rm -f conftest.err conftest.$ac_objext \
46234 conftest$ac_exeext conftest.$ac_ext
46236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46238 if test `eval echo '${'$as_ac_var'}'` = yes; then
46239 cat >>confdefs.h <<_ACEOF
46240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46241 _ACEOF
46244 done
46246 else
46248 echo "$as_me:$LINENO: checking for _powl declaration" >&5
46249 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
46250 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46251 if test "${glibcxx_cv_func__powl_use+set}" = set; then
46252 echo $ECHO_N "(cached) $ECHO_C" >&6
46253 else
46257 ac_ext=cc
46258 ac_cpp='$CXXCPP $CPPFLAGS'
46259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46263 cat >conftest.$ac_ext <<_ACEOF
46264 /* confdefs.h. */
46265 _ACEOF
46266 cat confdefs.h >>conftest.$ac_ext
46267 cat >>conftest.$ac_ext <<_ACEOF
46268 /* end confdefs.h. */
46269 #include <math.h>
46271 main ()
46273 _powl(0, 0);
46275 return 0;
46277 _ACEOF
46278 rm -f conftest.$ac_objext
46279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46280 (eval $ac_compile) 2>conftest.er1
46281 ac_status=$?
46282 grep -v '^ *+' conftest.er1 >conftest.err
46283 rm -f conftest.er1
46284 cat conftest.err >&5
46285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46286 (exit $ac_status); } &&
46287 { ac_try='test -z "$ac_cxx_werror_flag"
46288 || test ! -s conftest.err'
46289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46290 (eval $ac_try) 2>&5
46291 ac_status=$?
46292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46293 (exit $ac_status); }; } &&
46294 { ac_try='test -s conftest.$ac_objext'
46295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46296 (eval $ac_try) 2>&5
46297 ac_status=$?
46298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46299 (exit $ac_status); }; }; then
46300 glibcxx_cv_func__powl_use=yes
46301 else
46302 echo "$as_me: failed program was:" >&5
46303 sed 's/^/| /' conftest.$ac_ext >&5
46305 glibcxx_cv_func__powl_use=no
46307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46308 ac_ext=c
46309 ac_cpp='$CPP $CPPFLAGS'
46310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46318 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
46319 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
46321 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46323 for ac_func in _powl
46325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46326 echo "$as_me:$LINENO: checking for $ac_func" >&5
46327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46328 if eval "test \"\${$as_ac_var+set}\" = set"; then
46329 echo $ECHO_N "(cached) $ECHO_C" >&6
46330 else
46331 if test x$gcc_no_link = xyes; then
46332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46334 { (exit 1); exit 1; }; }
46336 cat >conftest.$ac_ext <<_ACEOF
46337 /* confdefs.h. */
46338 _ACEOF
46339 cat confdefs.h >>conftest.$ac_ext
46340 cat >>conftest.$ac_ext <<_ACEOF
46341 /* end confdefs.h. */
46342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46344 #define $ac_func innocuous_$ac_func
46346 /* System header to define __stub macros and hopefully few prototypes,
46347 which can conflict with char $ac_func (); below.
46348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46349 <limits.h> exists even on freestanding compilers. */
46351 #ifdef __STDC__
46352 # include <limits.h>
46353 #else
46354 # include <assert.h>
46355 #endif
46357 #undef $ac_func
46359 /* Override any gcc2 internal prototype to avoid an error. */
46360 #ifdef __cplusplus
46361 extern "C"
46363 #endif
46364 /* We use char because int might match the return type of a gcc2
46365 builtin and then its argument prototype would still apply. */
46366 char $ac_func ();
46367 /* The GNU C library defines this for functions which it implements
46368 to always fail with ENOSYS. Some functions are actually named
46369 something starting with __ and the normal name is an alias. */
46370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46371 choke me
46372 #else
46373 char (*f) () = $ac_func;
46374 #endif
46375 #ifdef __cplusplus
46377 #endif
46380 main ()
46382 return f != $ac_func;
46384 return 0;
46386 _ACEOF
46387 rm -f conftest.$ac_objext conftest$ac_exeext
46388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46389 (eval $ac_link) 2>conftest.er1
46390 ac_status=$?
46391 grep -v '^ *+' conftest.er1 >conftest.err
46392 rm -f conftest.er1
46393 cat conftest.err >&5
46394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46395 (exit $ac_status); } &&
46396 { ac_try='test -z "$ac_c_werror_flag"
46397 || test ! -s conftest.err'
46398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46399 (eval $ac_try) 2>&5
46400 ac_status=$?
46401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46402 (exit $ac_status); }; } &&
46403 { ac_try='test -s conftest$ac_exeext'
46404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46405 (eval $ac_try) 2>&5
46406 ac_status=$?
46407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46408 (exit $ac_status); }; }; then
46409 eval "$as_ac_var=yes"
46410 else
46411 echo "$as_me: failed program was:" >&5
46412 sed 's/^/| /' conftest.$ac_ext >&5
46414 eval "$as_ac_var=no"
46416 rm -f conftest.err conftest.$ac_objext \
46417 conftest$ac_exeext conftest.$ac_ext
46419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46421 if test `eval echo '${'$as_ac_var'}'` = yes; then
46422 cat >>confdefs.h <<_ACEOF
46423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46424 _ACEOF
46427 done
46434 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
46435 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
46436 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46437 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
46438 echo $ECHO_N "(cached) $ECHO_C" >&6
46439 else
46443 ac_ext=cc
46444 ac_cpp='$CXXCPP $CPPFLAGS'
46445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46449 cat >conftest.$ac_ext <<_ACEOF
46450 /* confdefs.h. */
46451 _ACEOF
46452 cat confdefs.h >>conftest.$ac_ext
46453 cat >>conftest.$ac_ext <<_ACEOF
46454 /* end confdefs.h. */
46455 #include <math.h>
46456 #ifdef HAVE_IEEEFP_H
46457 #include <ieeefp.h>
46458 #endif
46461 main ()
46463 sqrtl(0);
46465 return 0;
46467 _ACEOF
46468 rm -f conftest.$ac_objext
46469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46470 (eval $ac_compile) 2>conftest.er1
46471 ac_status=$?
46472 grep -v '^ *+' conftest.er1 >conftest.err
46473 rm -f conftest.er1
46474 cat conftest.err >&5
46475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46476 (exit $ac_status); } &&
46477 { ac_try='test -z "$ac_cxx_werror_flag"
46478 || test ! -s conftest.err'
46479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46480 (eval $ac_try) 2>&5
46481 ac_status=$?
46482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46483 (exit $ac_status); }; } &&
46484 { ac_try='test -s conftest.$ac_objext'
46485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46486 (eval $ac_try) 2>&5
46487 ac_status=$?
46488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46489 (exit $ac_status); }; }; then
46490 glibcxx_cv_func_sqrtl_use=yes
46491 else
46492 echo "$as_me: failed program was:" >&5
46493 sed 's/^/| /' conftest.$ac_ext >&5
46495 glibcxx_cv_func_sqrtl_use=no
46497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46498 ac_ext=c
46499 ac_cpp='$CPP $CPPFLAGS'
46500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46508 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
46509 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
46511 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46513 for ac_func in sqrtl
46515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46516 echo "$as_me:$LINENO: checking for $ac_func" >&5
46517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46518 if eval "test \"\${$as_ac_var+set}\" = set"; then
46519 echo $ECHO_N "(cached) $ECHO_C" >&6
46520 else
46521 if test x$gcc_no_link = xyes; then
46522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46524 { (exit 1); exit 1; }; }
46526 cat >conftest.$ac_ext <<_ACEOF
46527 /* confdefs.h. */
46528 _ACEOF
46529 cat confdefs.h >>conftest.$ac_ext
46530 cat >>conftest.$ac_ext <<_ACEOF
46531 /* end confdefs.h. */
46532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46534 #define $ac_func innocuous_$ac_func
46536 /* System header to define __stub macros and hopefully few prototypes,
46537 which can conflict with char $ac_func (); below.
46538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46539 <limits.h> exists even on freestanding compilers. */
46541 #ifdef __STDC__
46542 # include <limits.h>
46543 #else
46544 # include <assert.h>
46545 #endif
46547 #undef $ac_func
46549 /* Override any gcc2 internal prototype to avoid an error. */
46550 #ifdef __cplusplus
46551 extern "C"
46553 #endif
46554 /* We use char because int might match the return type of a gcc2
46555 builtin and then its argument prototype would still apply. */
46556 char $ac_func ();
46557 /* The GNU C library defines this for functions which it implements
46558 to always fail with ENOSYS. Some functions are actually named
46559 something starting with __ and the normal name is an alias. */
46560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46561 choke me
46562 #else
46563 char (*f) () = $ac_func;
46564 #endif
46565 #ifdef __cplusplus
46567 #endif
46570 main ()
46572 return f != $ac_func;
46574 return 0;
46576 _ACEOF
46577 rm -f conftest.$ac_objext conftest$ac_exeext
46578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46579 (eval $ac_link) 2>conftest.er1
46580 ac_status=$?
46581 grep -v '^ *+' conftest.er1 >conftest.err
46582 rm -f conftest.er1
46583 cat conftest.err >&5
46584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46585 (exit $ac_status); } &&
46586 { ac_try='test -z "$ac_c_werror_flag"
46587 || test ! -s conftest.err'
46588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46589 (eval $ac_try) 2>&5
46590 ac_status=$?
46591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46592 (exit $ac_status); }; } &&
46593 { ac_try='test -s conftest$ac_exeext'
46594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46595 (eval $ac_try) 2>&5
46596 ac_status=$?
46597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46598 (exit $ac_status); }; }; then
46599 eval "$as_ac_var=yes"
46600 else
46601 echo "$as_me: failed program was:" >&5
46602 sed 's/^/| /' conftest.$ac_ext >&5
46604 eval "$as_ac_var=no"
46606 rm -f conftest.err conftest.$ac_objext \
46607 conftest$ac_exeext conftest.$ac_ext
46609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46611 if test `eval echo '${'$as_ac_var'}'` = yes; then
46612 cat >>confdefs.h <<_ACEOF
46613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46614 _ACEOF
46617 done
46619 else
46621 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
46622 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
46623 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46624 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
46625 echo $ECHO_N "(cached) $ECHO_C" >&6
46626 else
46630 ac_ext=cc
46631 ac_cpp='$CXXCPP $CPPFLAGS'
46632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46636 cat >conftest.$ac_ext <<_ACEOF
46637 /* confdefs.h. */
46638 _ACEOF
46639 cat confdefs.h >>conftest.$ac_ext
46640 cat >>conftest.$ac_ext <<_ACEOF
46641 /* end confdefs.h. */
46642 #include <math.h>
46643 #ifdef HAVE_IEEEFP_H
46644 #include <ieeefp.h>
46645 #endif
46648 main ()
46650 _sqrtl(0);
46652 return 0;
46654 _ACEOF
46655 rm -f conftest.$ac_objext
46656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46657 (eval $ac_compile) 2>conftest.er1
46658 ac_status=$?
46659 grep -v '^ *+' conftest.er1 >conftest.err
46660 rm -f conftest.er1
46661 cat conftest.err >&5
46662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46663 (exit $ac_status); } &&
46664 { ac_try='test -z "$ac_cxx_werror_flag"
46665 || test ! -s conftest.err'
46666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46667 (eval $ac_try) 2>&5
46668 ac_status=$?
46669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46670 (exit $ac_status); }; } &&
46671 { ac_try='test -s conftest.$ac_objext'
46672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46673 (eval $ac_try) 2>&5
46674 ac_status=$?
46675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46676 (exit $ac_status); }; }; then
46677 glibcxx_cv_func__sqrtl_use=yes
46678 else
46679 echo "$as_me: failed program was:" >&5
46680 sed 's/^/| /' conftest.$ac_ext >&5
46682 glibcxx_cv_func__sqrtl_use=no
46684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46685 ac_ext=c
46686 ac_cpp='$CPP $CPPFLAGS'
46687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46695 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
46696 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
46698 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46700 for ac_func in _sqrtl
46702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46703 echo "$as_me:$LINENO: checking for $ac_func" >&5
46704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46705 if eval "test \"\${$as_ac_var+set}\" = set"; then
46706 echo $ECHO_N "(cached) $ECHO_C" >&6
46707 else
46708 if test x$gcc_no_link = xyes; then
46709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46711 { (exit 1); exit 1; }; }
46713 cat >conftest.$ac_ext <<_ACEOF
46714 /* confdefs.h. */
46715 _ACEOF
46716 cat confdefs.h >>conftest.$ac_ext
46717 cat >>conftest.$ac_ext <<_ACEOF
46718 /* end confdefs.h. */
46719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46721 #define $ac_func innocuous_$ac_func
46723 /* System header to define __stub macros and hopefully few prototypes,
46724 which can conflict with char $ac_func (); below.
46725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46726 <limits.h> exists even on freestanding compilers. */
46728 #ifdef __STDC__
46729 # include <limits.h>
46730 #else
46731 # include <assert.h>
46732 #endif
46734 #undef $ac_func
46736 /* Override any gcc2 internal prototype to avoid an error. */
46737 #ifdef __cplusplus
46738 extern "C"
46740 #endif
46741 /* We use char because int might match the return type of a gcc2
46742 builtin and then its argument prototype would still apply. */
46743 char $ac_func ();
46744 /* The GNU C library defines this for functions which it implements
46745 to always fail with ENOSYS. Some functions are actually named
46746 something starting with __ and the normal name is an alias. */
46747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46748 choke me
46749 #else
46750 char (*f) () = $ac_func;
46751 #endif
46752 #ifdef __cplusplus
46754 #endif
46757 main ()
46759 return f != $ac_func;
46761 return 0;
46763 _ACEOF
46764 rm -f conftest.$ac_objext conftest$ac_exeext
46765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46766 (eval $ac_link) 2>conftest.er1
46767 ac_status=$?
46768 grep -v '^ *+' conftest.er1 >conftest.err
46769 rm -f conftest.er1
46770 cat conftest.err >&5
46771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46772 (exit $ac_status); } &&
46773 { ac_try='test -z "$ac_c_werror_flag"
46774 || test ! -s conftest.err'
46775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46776 (eval $ac_try) 2>&5
46777 ac_status=$?
46778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46779 (exit $ac_status); }; } &&
46780 { ac_try='test -s conftest$ac_exeext'
46781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46782 (eval $ac_try) 2>&5
46783 ac_status=$?
46784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46785 (exit $ac_status); }; }; then
46786 eval "$as_ac_var=yes"
46787 else
46788 echo "$as_me: failed program was:" >&5
46789 sed 's/^/| /' conftest.$ac_ext >&5
46791 eval "$as_ac_var=no"
46793 rm -f conftest.err conftest.$ac_objext \
46794 conftest$ac_exeext conftest.$ac_ext
46796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46798 if test `eval echo '${'$as_ac_var'}'` = yes; then
46799 cat >>confdefs.h <<_ACEOF
46800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46801 _ACEOF
46804 done
46811 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
46812 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
46813 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46814 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
46815 echo $ECHO_N "(cached) $ECHO_C" >&6
46816 else
46820 ac_ext=cc
46821 ac_cpp='$CXXCPP $CPPFLAGS'
46822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46826 cat >conftest.$ac_ext <<_ACEOF
46827 /* confdefs.h. */
46828 _ACEOF
46829 cat confdefs.h >>conftest.$ac_ext
46830 cat >>conftest.$ac_ext <<_ACEOF
46831 /* end confdefs.h. */
46832 #include <math.h>
46834 main ()
46836 sincosl(0, 0, 0);
46838 return 0;
46840 _ACEOF
46841 rm -f conftest.$ac_objext
46842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46843 (eval $ac_compile) 2>conftest.er1
46844 ac_status=$?
46845 grep -v '^ *+' conftest.er1 >conftest.err
46846 rm -f conftest.er1
46847 cat conftest.err >&5
46848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46849 (exit $ac_status); } &&
46850 { ac_try='test -z "$ac_cxx_werror_flag"
46851 || test ! -s conftest.err'
46852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46853 (eval $ac_try) 2>&5
46854 ac_status=$?
46855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46856 (exit $ac_status); }; } &&
46857 { ac_try='test -s conftest.$ac_objext'
46858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46859 (eval $ac_try) 2>&5
46860 ac_status=$?
46861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46862 (exit $ac_status); }; }; then
46863 glibcxx_cv_func_sincosl_use=yes
46864 else
46865 echo "$as_me: failed program was:" >&5
46866 sed 's/^/| /' conftest.$ac_ext >&5
46868 glibcxx_cv_func_sincosl_use=no
46870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46871 ac_ext=c
46872 ac_cpp='$CPP $CPPFLAGS'
46873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46881 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
46882 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
46884 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46886 for ac_func in sincosl
46888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46889 echo "$as_me:$LINENO: checking for $ac_func" >&5
46890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46891 if eval "test \"\${$as_ac_var+set}\" = set"; then
46892 echo $ECHO_N "(cached) $ECHO_C" >&6
46893 else
46894 if test x$gcc_no_link = xyes; then
46895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46897 { (exit 1); exit 1; }; }
46899 cat >conftest.$ac_ext <<_ACEOF
46900 /* confdefs.h. */
46901 _ACEOF
46902 cat confdefs.h >>conftest.$ac_ext
46903 cat >>conftest.$ac_ext <<_ACEOF
46904 /* end confdefs.h. */
46905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46907 #define $ac_func innocuous_$ac_func
46909 /* System header to define __stub macros and hopefully few prototypes,
46910 which can conflict with char $ac_func (); below.
46911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46912 <limits.h> exists even on freestanding compilers. */
46914 #ifdef __STDC__
46915 # include <limits.h>
46916 #else
46917 # include <assert.h>
46918 #endif
46920 #undef $ac_func
46922 /* Override any gcc2 internal prototype to avoid an error. */
46923 #ifdef __cplusplus
46924 extern "C"
46926 #endif
46927 /* We use char because int might match the return type of a gcc2
46928 builtin and then its argument prototype would still apply. */
46929 char $ac_func ();
46930 /* The GNU C library defines this for functions which it implements
46931 to always fail with ENOSYS. Some functions are actually named
46932 something starting with __ and the normal name is an alias. */
46933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46934 choke me
46935 #else
46936 char (*f) () = $ac_func;
46937 #endif
46938 #ifdef __cplusplus
46940 #endif
46943 main ()
46945 return f != $ac_func;
46947 return 0;
46949 _ACEOF
46950 rm -f conftest.$ac_objext conftest$ac_exeext
46951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46952 (eval $ac_link) 2>conftest.er1
46953 ac_status=$?
46954 grep -v '^ *+' conftest.er1 >conftest.err
46955 rm -f conftest.er1
46956 cat conftest.err >&5
46957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46958 (exit $ac_status); } &&
46959 { ac_try='test -z "$ac_c_werror_flag"
46960 || test ! -s conftest.err'
46961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46962 (eval $ac_try) 2>&5
46963 ac_status=$?
46964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46965 (exit $ac_status); }; } &&
46966 { ac_try='test -s conftest$ac_exeext'
46967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46968 (eval $ac_try) 2>&5
46969 ac_status=$?
46970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46971 (exit $ac_status); }; }; then
46972 eval "$as_ac_var=yes"
46973 else
46974 echo "$as_me: failed program was:" >&5
46975 sed 's/^/| /' conftest.$ac_ext >&5
46977 eval "$as_ac_var=no"
46979 rm -f conftest.err conftest.$ac_objext \
46980 conftest$ac_exeext conftest.$ac_ext
46982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46984 if test `eval echo '${'$as_ac_var'}'` = yes; then
46985 cat >>confdefs.h <<_ACEOF
46986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46987 _ACEOF
46990 done
46992 else
46994 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
46995 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
46996 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46997 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
46998 echo $ECHO_N "(cached) $ECHO_C" >&6
46999 else
47003 ac_ext=cc
47004 ac_cpp='$CXXCPP $CPPFLAGS'
47005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47009 cat >conftest.$ac_ext <<_ACEOF
47010 /* confdefs.h. */
47011 _ACEOF
47012 cat confdefs.h >>conftest.$ac_ext
47013 cat >>conftest.$ac_ext <<_ACEOF
47014 /* end confdefs.h. */
47015 #include <math.h>
47017 main ()
47019 _sincosl(0, 0, 0);
47021 return 0;
47023 _ACEOF
47024 rm -f conftest.$ac_objext
47025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47026 (eval $ac_compile) 2>conftest.er1
47027 ac_status=$?
47028 grep -v '^ *+' conftest.er1 >conftest.err
47029 rm -f conftest.er1
47030 cat conftest.err >&5
47031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47032 (exit $ac_status); } &&
47033 { ac_try='test -z "$ac_cxx_werror_flag"
47034 || test ! -s conftest.err'
47035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47036 (eval $ac_try) 2>&5
47037 ac_status=$?
47038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47039 (exit $ac_status); }; } &&
47040 { ac_try='test -s conftest.$ac_objext'
47041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47042 (eval $ac_try) 2>&5
47043 ac_status=$?
47044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47045 (exit $ac_status); }; }; then
47046 glibcxx_cv_func__sincosl_use=yes
47047 else
47048 echo "$as_me: failed program was:" >&5
47049 sed 's/^/| /' conftest.$ac_ext >&5
47051 glibcxx_cv_func__sincosl_use=no
47053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47054 ac_ext=c
47055 ac_cpp='$CPP $CPPFLAGS'
47056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47064 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
47065 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
47067 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47069 for ac_func in _sincosl
47071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47072 echo "$as_me:$LINENO: checking for $ac_func" >&5
47073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47074 if eval "test \"\${$as_ac_var+set}\" = set"; then
47075 echo $ECHO_N "(cached) $ECHO_C" >&6
47076 else
47077 if test x$gcc_no_link = xyes; then
47078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47080 { (exit 1); exit 1; }; }
47082 cat >conftest.$ac_ext <<_ACEOF
47083 /* confdefs.h. */
47084 _ACEOF
47085 cat confdefs.h >>conftest.$ac_ext
47086 cat >>conftest.$ac_ext <<_ACEOF
47087 /* end confdefs.h. */
47088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47090 #define $ac_func innocuous_$ac_func
47092 /* System header to define __stub macros and hopefully few prototypes,
47093 which can conflict with char $ac_func (); below.
47094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47095 <limits.h> exists even on freestanding compilers. */
47097 #ifdef __STDC__
47098 # include <limits.h>
47099 #else
47100 # include <assert.h>
47101 #endif
47103 #undef $ac_func
47105 /* Override any gcc2 internal prototype to avoid an error. */
47106 #ifdef __cplusplus
47107 extern "C"
47109 #endif
47110 /* We use char because int might match the return type of a gcc2
47111 builtin and then its argument prototype would still apply. */
47112 char $ac_func ();
47113 /* The GNU C library defines this for functions which it implements
47114 to always fail with ENOSYS. Some functions are actually named
47115 something starting with __ and the normal name is an alias. */
47116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47117 choke me
47118 #else
47119 char (*f) () = $ac_func;
47120 #endif
47121 #ifdef __cplusplus
47123 #endif
47126 main ()
47128 return f != $ac_func;
47130 return 0;
47132 _ACEOF
47133 rm -f conftest.$ac_objext conftest$ac_exeext
47134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47135 (eval $ac_link) 2>conftest.er1
47136 ac_status=$?
47137 grep -v '^ *+' conftest.er1 >conftest.err
47138 rm -f conftest.er1
47139 cat conftest.err >&5
47140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47141 (exit $ac_status); } &&
47142 { ac_try='test -z "$ac_c_werror_flag"
47143 || test ! -s conftest.err'
47144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47145 (eval $ac_try) 2>&5
47146 ac_status=$?
47147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47148 (exit $ac_status); }; } &&
47149 { ac_try='test -s conftest$ac_exeext'
47150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47151 (eval $ac_try) 2>&5
47152 ac_status=$?
47153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47154 (exit $ac_status); }; }; then
47155 eval "$as_ac_var=yes"
47156 else
47157 echo "$as_me: failed program was:" >&5
47158 sed 's/^/| /' conftest.$ac_ext >&5
47160 eval "$as_ac_var=no"
47162 rm -f conftest.err conftest.$ac_objext \
47163 conftest$ac_exeext conftest.$ac_ext
47165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47167 if test `eval echo '${'$as_ac_var'}'` = yes; then
47168 cat >>confdefs.h <<_ACEOF
47169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47170 _ACEOF
47173 done
47180 echo "$as_me:$LINENO: checking for finitel declaration" >&5
47181 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
47182 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47183 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
47184 echo $ECHO_N "(cached) $ECHO_C" >&6
47185 else
47189 ac_ext=cc
47190 ac_cpp='$CXXCPP $CPPFLAGS'
47191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47195 cat >conftest.$ac_ext <<_ACEOF
47196 /* confdefs.h. */
47197 _ACEOF
47198 cat confdefs.h >>conftest.$ac_ext
47199 cat >>conftest.$ac_ext <<_ACEOF
47200 /* end confdefs.h. */
47201 #include <math.h>
47202 #ifdef HAVE_IEEEFP_H
47203 #include <ieeefp.h>
47204 #endif
47207 main ()
47209 finitel(0);
47211 return 0;
47213 _ACEOF
47214 rm -f conftest.$ac_objext
47215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47216 (eval $ac_compile) 2>conftest.er1
47217 ac_status=$?
47218 grep -v '^ *+' conftest.er1 >conftest.err
47219 rm -f conftest.er1
47220 cat conftest.err >&5
47221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47222 (exit $ac_status); } &&
47223 { ac_try='test -z "$ac_cxx_werror_flag"
47224 || test ! -s conftest.err'
47225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47226 (eval $ac_try) 2>&5
47227 ac_status=$?
47228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47229 (exit $ac_status); }; } &&
47230 { ac_try='test -s conftest.$ac_objext'
47231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47232 (eval $ac_try) 2>&5
47233 ac_status=$?
47234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47235 (exit $ac_status); }; }; then
47236 glibcxx_cv_func_finitel_use=yes
47237 else
47238 echo "$as_me: failed program was:" >&5
47239 sed 's/^/| /' conftest.$ac_ext >&5
47241 glibcxx_cv_func_finitel_use=no
47243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47244 ac_ext=c
47245 ac_cpp='$CPP $CPPFLAGS'
47246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47254 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
47255 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
47257 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47259 for ac_func in finitel
47261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47262 echo "$as_me:$LINENO: checking for $ac_func" >&5
47263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47264 if eval "test \"\${$as_ac_var+set}\" = set"; then
47265 echo $ECHO_N "(cached) $ECHO_C" >&6
47266 else
47267 if test x$gcc_no_link = xyes; then
47268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47270 { (exit 1); exit 1; }; }
47272 cat >conftest.$ac_ext <<_ACEOF
47273 /* confdefs.h. */
47274 _ACEOF
47275 cat confdefs.h >>conftest.$ac_ext
47276 cat >>conftest.$ac_ext <<_ACEOF
47277 /* end confdefs.h. */
47278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47280 #define $ac_func innocuous_$ac_func
47282 /* System header to define __stub macros and hopefully few prototypes,
47283 which can conflict with char $ac_func (); below.
47284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47285 <limits.h> exists even on freestanding compilers. */
47287 #ifdef __STDC__
47288 # include <limits.h>
47289 #else
47290 # include <assert.h>
47291 #endif
47293 #undef $ac_func
47295 /* Override any gcc2 internal prototype to avoid an error. */
47296 #ifdef __cplusplus
47297 extern "C"
47299 #endif
47300 /* We use char because int might match the return type of a gcc2
47301 builtin and then its argument prototype would still apply. */
47302 char $ac_func ();
47303 /* The GNU C library defines this for functions which it implements
47304 to always fail with ENOSYS. Some functions are actually named
47305 something starting with __ and the normal name is an alias. */
47306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47307 choke me
47308 #else
47309 char (*f) () = $ac_func;
47310 #endif
47311 #ifdef __cplusplus
47313 #endif
47316 main ()
47318 return f != $ac_func;
47320 return 0;
47322 _ACEOF
47323 rm -f conftest.$ac_objext conftest$ac_exeext
47324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47325 (eval $ac_link) 2>conftest.er1
47326 ac_status=$?
47327 grep -v '^ *+' conftest.er1 >conftest.err
47328 rm -f conftest.er1
47329 cat conftest.err >&5
47330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47331 (exit $ac_status); } &&
47332 { ac_try='test -z "$ac_c_werror_flag"
47333 || test ! -s conftest.err'
47334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47335 (eval $ac_try) 2>&5
47336 ac_status=$?
47337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47338 (exit $ac_status); }; } &&
47339 { ac_try='test -s conftest$ac_exeext'
47340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47341 (eval $ac_try) 2>&5
47342 ac_status=$?
47343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47344 (exit $ac_status); }; }; then
47345 eval "$as_ac_var=yes"
47346 else
47347 echo "$as_me: failed program was:" >&5
47348 sed 's/^/| /' conftest.$ac_ext >&5
47350 eval "$as_ac_var=no"
47352 rm -f conftest.err conftest.$ac_objext \
47353 conftest$ac_exeext conftest.$ac_ext
47355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47357 if test `eval echo '${'$as_ac_var'}'` = yes; then
47358 cat >>confdefs.h <<_ACEOF
47359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47360 _ACEOF
47363 done
47365 else
47367 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
47368 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
47369 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47370 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
47371 echo $ECHO_N "(cached) $ECHO_C" >&6
47372 else
47376 ac_ext=cc
47377 ac_cpp='$CXXCPP $CPPFLAGS'
47378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47382 cat >conftest.$ac_ext <<_ACEOF
47383 /* confdefs.h. */
47384 _ACEOF
47385 cat confdefs.h >>conftest.$ac_ext
47386 cat >>conftest.$ac_ext <<_ACEOF
47387 /* end confdefs.h. */
47388 #include <math.h>
47389 #ifdef HAVE_IEEEFP_H
47390 #include <ieeefp.h>
47391 #endif
47394 main ()
47396 _finitel(0);
47398 return 0;
47400 _ACEOF
47401 rm -f conftest.$ac_objext
47402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47403 (eval $ac_compile) 2>conftest.er1
47404 ac_status=$?
47405 grep -v '^ *+' conftest.er1 >conftest.err
47406 rm -f conftest.er1
47407 cat conftest.err >&5
47408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47409 (exit $ac_status); } &&
47410 { ac_try='test -z "$ac_cxx_werror_flag"
47411 || test ! -s conftest.err'
47412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47413 (eval $ac_try) 2>&5
47414 ac_status=$?
47415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47416 (exit $ac_status); }; } &&
47417 { ac_try='test -s conftest.$ac_objext'
47418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47419 (eval $ac_try) 2>&5
47420 ac_status=$?
47421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47422 (exit $ac_status); }; }; then
47423 glibcxx_cv_func__finitel_use=yes
47424 else
47425 echo "$as_me: failed program was:" >&5
47426 sed 's/^/| /' conftest.$ac_ext >&5
47428 glibcxx_cv_func__finitel_use=no
47430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47431 ac_ext=c
47432 ac_cpp='$CPP $CPPFLAGS'
47433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47441 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
47442 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
47444 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47446 for ac_func in _finitel
47448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47449 echo "$as_me:$LINENO: checking for $ac_func" >&5
47450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47451 if eval "test \"\${$as_ac_var+set}\" = set"; then
47452 echo $ECHO_N "(cached) $ECHO_C" >&6
47453 else
47454 if test x$gcc_no_link = xyes; then
47455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47457 { (exit 1); exit 1; }; }
47459 cat >conftest.$ac_ext <<_ACEOF
47460 /* confdefs.h. */
47461 _ACEOF
47462 cat confdefs.h >>conftest.$ac_ext
47463 cat >>conftest.$ac_ext <<_ACEOF
47464 /* end confdefs.h. */
47465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47467 #define $ac_func innocuous_$ac_func
47469 /* System header to define __stub macros and hopefully few prototypes,
47470 which can conflict with char $ac_func (); below.
47471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47472 <limits.h> exists even on freestanding compilers. */
47474 #ifdef __STDC__
47475 # include <limits.h>
47476 #else
47477 # include <assert.h>
47478 #endif
47480 #undef $ac_func
47482 /* Override any gcc2 internal prototype to avoid an error. */
47483 #ifdef __cplusplus
47484 extern "C"
47486 #endif
47487 /* We use char because int might match the return type of a gcc2
47488 builtin and then its argument prototype would still apply. */
47489 char $ac_func ();
47490 /* The GNU C library defines this for functions which it implements
47491 to always fail with ENOSYS. Some functions are actually named
47492 something starting with __ and the normal name is an alias. */
47493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47494 choke me
47495 #else
47496 char (*f) () = $ac_func;
47497 #endif
47498 #ifdef __cplusplus
47500 #endif
47503 main ()
47505 return f != $ac_func;
47507 return 0;
47509 _ACEOF
47510 rm -f conftest.$ac_objext conftest$ac_exeext
47511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47512 (eval $ac_link) 2>conftest.er1
47513 ac_status=$?
47514 grep -v '^ *+' conftest.er1 >conftest.err
47515 rm -f conftest.er1
47516 cat conftest.err >&5
47517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47518 (exit $ac_status); } &&
47519 { ac_try='test -z "$ac_c_werror_flag"
47520 || test ! -s conftest.err'
47521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47522 (eval $ac_try) 2>&5
47523 ac_status=$?
47524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47525 (exit $ac_status); }; } &&
47526 { ac_try='test -s conftest$ac_exeext'
47527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47528 (eval $ac_try) 2>&5
47529 ac_status=$?
47530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47531 (exit $ac_status); }; }; then
47532 eval "$as_ac_var=yes"
47533 else
47534 echo "$as_me: failed program was:" >&5
47535 sed 's/^/| /' conftest.$ac_ext >&5
47537 eval "$as_ac_var=no"
47539 rm -f conftest.err conftest.$ac_objext \
47540 conftest$ac_exeext conftest.$ac_ext
47542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47544 if test `eval echo '${'$as_ac_var'}'` = yes; then
47545 cat >>confdefs.h <<_ACEOF
47546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47547 _ACEOF
47550 done
47558 echo "$as_me:$LINENO: checking for _float trig functions" >&5
47559 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
47560 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
47561 echo $ECHO_N "(cached) $ECHO_C" >&6
47562 else
47566 ac_ext=cc
47567 ac_cpp='$CXXCPP $CPPFLAGS'
47568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47572 cat >conftest.$ac_ext <<_ACEOF
47573 /* confdefs.h. */
47574 _ACEOF
47575 cat confdefs.h >>conftest.$ac_ext
47576 cat >>conftest.$ac_ext <<_ACEOF
47577 /* end confdefs.h. */
47578 #include <math.h>
47580 main ()
47582 `for x in _acosf _asinf _atanf \
47583 _cosf _sinf _tanf \
47584 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
47586 return 0;
47588 _ACEOF
47589 rm -f conftest.$ac_objext
47590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47591 (eval $ac_compile) 2>conftest.er1
47592 ac_status=$?
47593 grep -v '^ *+' conftest.er1 >conftest.err
47594 rm -f conftest.er1
47595 cat conftest.err >&5
47596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47597 (exit $ac_status); } &&
47598 { ac_try='test -z "$ac_cxx_werror_flag"
47599 || test ! -s conftest.err'
47600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47601 (eval $ac_try) 2>&5
47602 ac_status=$?
47603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47604 (exit $ac_status); }; } &&
47605 { ac_try='test -s conftest.$ac_objext'
47606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47607 (eval $ac_try) 2>&5
47608 ac_status=$?
47609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47610 (exit $ac_status); }; }; then
47611 glibcxx_cv_func__float_trig_use=yes
47612 else
47613 echo "$as_me: failed program was:" >&5
47614 sed 's/^/| /' conftest.$ac_ext >&5
47616 glibcxx_cv_func__float_trig_use=no
47618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47619 ac_ext=c
47620 ac_cpp='$CPP $CPPFLAGS'
47621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47627 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
47628 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
47629 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47639 for ac_func in _acosf _asinf _atanf \
47640 _cosf _sinf _tanf \
47641 _coshf _sinhf _tanhf
47643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47644 echo "$as_me:$LINENO: checking for $ac_func" >&5
47645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47646 if eval "test \"\${$as_ac_var+set}\" = set"; then
47647 echo $ECHO_N "(cached) $ECHO_C" >&6
47648 else
47649 if test x$gcc_no_link = xyes; then
47650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47652 { (exit 1); exit 1; }; }
47654 cat >conftest.$ac_ext <<_ACEOF
47655 /* confdefs.h. */
47656 _ACEOF
47657 cat confdefs.h >>conftest.$ac_ext
47658 cat >>conftest.$ac_ext <<_ACEOF
47659 /* end confdefs.h. */
47660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47662 #define $ac_func innocuous_$ac_func
47664 /* System header to define __stub macros and hopefully few prototypes,
47665 which can conflict with char $ac_func (); below.
47666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47667 <limits.h> exists even on freestanding compilers. */
47669 #ifdef __STDC__
47670 # include <limits.h>
47671 #else
47672 # include <assert.h>
47673 #endif
47675 #undef $ac_func
47677 /* Override any gcc2 internal prototype to avoid an error. */
47678 #ifdef __cplusplus
47679 extern "C"
47681 #endif
47682 /* We use char because int might match the return type of a gcc2
47683 builtin and then its argument prototype would still apply. */
47684 char $ac_func ();
47685 /* The GNU C library defines this for functions which it implements
47686 to always fail with ENOSYS. Some functions are actually named
47687 something starting with __ and the normal name is an alias. */
47688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47689 choke me
47690 #else
47691 char (*f) () = $ac_func;
47692 #endif
47693 #ifdef __cplusplus
47695 #endif
47698 main ()
47700 return f != $ac_func;
47702 return 0;
47704 _ACEOF
47705 rm -f conftest.$ac_objext conftest$ac_exeext
47706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47707 (eval $ac_link) 2>conftest.er1
47708 ac_status=$?
47709 grep -v '^ *+' conftest.er1 >conftest.err
47710 rm -f conftest.er1
47711 cat conftest.err >&5
47712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47713 (exit $ac_status); } &&
47714 { ac_try='test -z "$ac_c_werror_flag"
47715 || test ! -s conftest.err'
47716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47717 (eval $ac_try) 2>&5
47718 ac_status=$?
47719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47720 (exit $ac_status); }; } &&
47721 { ac_try='test -s conftest$ac_exeext'
47722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47723 (eval $ac_try) 2>&5
47724 ac_status=$?
47725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47726 (exit $ac_status); }; }; then
47727 eval "$as_ac_var=yes"
47728 else
47729 echo "$as_me: failed program was:" >&5
47730 sed 's/^/| /' conftest.$ac_ext >&5
47732 eval "$as_ac_var=no"
47734 rm -f conftest.err conftest.$ac_objext \
47735 conftest$ac_exeext conftest.$ac_ext
47737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47739 if test `eval echo '${'$as_ac_var'}'` = yes; then
47740 cat >>confdefs.h <<_ACEOF
47741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47742 _ACEOF
47745 done
47750 echo "$as_me:$LINENO: checking for _float round functions" >&5
47751 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47752 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47753 echo $ECHO_N "(cached) $ECHO_C" >&6
47754 else
47758 ac_ext=cc
47759 ac_cpp='$CXXCPP $CPPFLAGS'
47760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47764 cat >conftest.$ac_ext <<_ACEOF
47765 /* confdefs.h. */
47766 _ACEOF
47767 cat confdefs.h >>conftest.$ac_ext
47768 cat >>conftest.$ac_ext <<_ACEOF
47769 /* end confdefs.h. */
47770 #include <math.h>
47772 main ()
47774 `for x in _ceilf _floorf; do echo "$x (0);"; done`
47776 return 0;
47778 _ACEOF
47779 rm -f conftest.$ac_objext
47780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47781 (eval $ac_compile) 2>conftest.er1
47782 ac_status=$?
47783 grep -v '^ *+' conftest.er1 >conftest.err
47784 rm -f conftest.er1
47785 cat conftest.err >&5
47786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47787 (exit $ac_status); } &&
47788 { ac_try='test -z "$ac_cxx_werror_flag"
47789 || test ! -s conftest.err'
47790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47791 (eval $ac_try) 2>&5
47792 ac_status=$?
47793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47794 (exit $ac_status); }; } &&
47795 { ac_try='test -s conftest.$ac_objext'
47796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47797 (eval $ac_try) 2>&5
47798 ac_status=$?
47799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47800 (exit $ac_status); }; }; then
47801 glibcxx_cv_func__float_round_use=yes
47802 else
47803 echo "$as_me: failed program was:" >&5
47804 sed 's/^/| /' conftest.$ac_ext >&5
47806 glibcxx_cv_func__float_round_use=no
47808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47809 ac_ext=c
47810 ac_cpp='$CPP $CPPFLAGS'
47811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47817 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47818 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47819 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47822 for ac_func in _ceilf _floorf
47824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47825 echo "$as_me:$LINENO: checking for $ac_func" >&5
47826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47827 if eval "test \"\${$as_ac_var+set}\" = set"; then
47828 echo $ECHO_N "(cached) $ECHO_C" >&6
47829 else
47830 if test x$gcc_no_link = xyes; then
47831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47833 { (exit 1); exit 1; }; }
47835 cat >conftest.$ac_ext <<_ACEOF
47836 /* confdefs.h. */
47837 _ACEOF
47838 cat confdefs.h >>conftest.$ac_ext
47839 cat >>conftest.$ac_ext <<_ACEOF
47840 /* end confdefs.h. */
47841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47843 #define $ac_func innocuous_$ac_func
47845 /* System header to define __stub macros and hopefully few prototypes,
47846 which can conflict with char $ac_func (); below.
47847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47848 <limits.h> exists even on freestanding compilers. */
47850 #ifdef __STDC__
47851 # include <limits.h>
47852 #else
47853 # include <assert.h>
47854 #endif
47856 #undef $ac_func
47858 /* Override any gcc2 internal prototype to avoid an error. */
47859 #ifdef __cplusplus
47860 extern "C"
47862 #endif
47863 /* We use char because int might match the return type of a gcc2
47864 builtin and then its argument prototype would still apply. */
47865 char $ac_func ();
47866 /* The GNU C library defines this for functions which it implements
47867 to always fail with ENOSYS. Some functions are actually named
47868 something starting with __ and the normal name is an alias. */
47869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47870 choke me
47871 #else
47872 char (*f) () = $ac_func;
47873 #endif
47874 #ifdef __cplusplus
47876 #endif
47879 main ()
47881 return f != $ac_func;
47883 return 0;
47885 _ACEOF
47886 rm -f conftest.$ac_objext conftest$ac_exeext
47887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47888 (eval $ac_link) 2>conftest.er1
47889 ac_status=$?
47890 grep -v '^ *+' conftest.er1 >conftest.err
47891 rm -f conftest.er1
47892 cat conftest.err >&5
47893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47894 (exit $ac_status); } &&
47895 { ac_try='test -z "$ac_c_werror_flag"
47896 || test ! -s conftest.err'
47897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47898 (eval $ac_try) 2>&5
47899 ac_status=$?
47900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47901 (exit $ac_status); }; } &&
47902 { ac_try='test -s conftest$ac_exeext'
47903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47904 (eval $ac_try) 2>&5
47905 ac_status=$?
47906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47907 (exit $ac_status); }; }; then
47908 eval "$as_ac_var=yes"
47909 else
47910 echo "$as_me: failed program was:" >&5
47911 sed 's/^/| /' conftest.$ac_ext >&5
47913 eval "$as_ac_var=no"
47915 rm -f conftest.err conftest.$ac_objext \
47916 conftest$ac_exeext conftest.$ac_ext
47918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47920 if test `eval echo '${'$as_ac_var'}'` = yes; then
47921 cat >>confdefs.h <<_ACEOF
47922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47923 _ACEOF
47926 done
47932 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
47933 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
47934 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
47935 echo $ECHO_N "(cached) $ECHO_C" >&6
47936 else
47940 ac_ext=cc
47941 ac_cpp='$CXXCPP $CPPFLAGS'
47942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47946 cat >conftest.$ac_ext <<_ACEOF
47947 /* confdefs.h. */
47948 _ACEOF
47949 cat confdefs.h >>conftest.$ac_ext
47950 cat >>conftest.$ac_ext <<_ACEOF
47951 /* end confdefs.h. */
47952 #include <math.h>
47954 main ()
47956 `for x in _acosl _asinl _atanl \
47957 _cosl _sinl _tanl \
47958 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
47960 return 0;
47962 _ACEOF
47963 rm -f conftest.$ac_objext
47964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47965 (eval $ac_compile) 2>conftest.er1
47966 ac_status=$?
47967 grep -v '^ *+' conftest.er1 >conftest.err
47968 rm -f conftest.er1
47969 cat conftest.err >&5
47970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47971 (exit $ac_status); } &&
47972 { ac_try='test -z "$ac_cxx_werror_flag"
47973 || test ! -s conftest.err'
47974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47975 (eval $ac_try) 2>&5
47976 ac_status=$?
47977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47978 (exit $ac_status); }; } &&
47979 { ac_try='test -s conftest.$ac_objext'
47980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47981 (eval $ac_try) 2>&5
47982 ac_status=$?
47983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47984 (exit $ac_status); }; }; then
47985 glibcxx_cv_func__long_double_trig_use=yes
47986 else
47987 echo "$as_me: failed program was:" >&5
47988 sed 's/^/| /' conftest.$ac_ext >&5
47990 glibcxx_cv_func__long_double_trig_use=no
47992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47993 ac_ext=c
47994 ac_cpp='$CPP $CPPFLAGS'
47995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48001 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
48002 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
48003 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48013 for ac_func in _acosl _asinl _atanl \
48014 _cosl _sinl _tanl \
48015 _coshl _sinhl _tanhl
48017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48018 echo "$as_me:$LINENO: checking for $ac_func" >&5
48019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48020 if eval "test \"\${$as_ac_var+set}\" = set"; then
48021 echo $ECHO_N "(cached) $ECHO_C" >&6
48022 else
48023 if test x$gcc_no_link = xyes; then
48024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48026 { (exit 1); exit 1; }; }
48028 cat >conftest.$ac_ext <<_ACEOF
48029 /* confdefs.h. */
48030 _ACEOF
48031 cat confdefs.h >>conftest.$ac_ext
48032 cat >>conftest.$ac_ext <<_ACEOF
48033 /* end confdefs.h. */
48034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48036 #define $ac_func innocuous_$ac_func
48038 /* System header to define __stub macros and hopefully few prototypes,
48039 which can conflict with char $ac_func (); below.
48040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48041 <limits.h> exists even on freestanding compilers. */
48043 #ifdef __STDC__
48044 # include <limits.h>
48045 #else
48046 # include <assert.h>
48047 #endif
48049 #undef $ac_func
48051 /* Override any gcc2 internal prototype to avoid an error. */
48052 #ifdef __cplusplus
48053 extern "C"
48055 #endif
48056 /* We use char because int might match the return type of a gcc2
48057 builtin and then its argument prototype would still apply. */
48058 char $ac_func ();
48059 /* The GNU C library defines this for functions which it implements
48060 to always fail with ENOSYS. Some functions are actually named
48061 something starting with __ and the normal name is an alias. */
48062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48063 choke me
48064 #else
48065 char (*f) () = $ac_func;
48066 #endif
48067 #ifdef __cplusplus
48069 #endif
48072 main ()
48074 return f != $ac_func;
48076 return 0;
48078 _ACEOF
48079 rm -f conftest.$ac_objext conftest$ac_exeext
48080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48081 (eval $ac_link) 2>conftest.er1
48082 ac_status=$?
48083 grep -v '^ *+' conftest.er1 >conftest.err
48084 rm -f conftest.er1
48085 cat conftest.err >&5
48086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48087 (exit $ac_status); } &&
48088 { ac_try='test -z "$ac_c_werror_flag"
48089 || test ! -s conftest.err'
48090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48091 (eval $ac_try) 2>&5
48092 ac_status=$?
48093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48094 (exit $ac_status); }; } &&
48095 { ac_try='test -s conftest$ac_exeext'
48096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48097 (eval $ac_try) 2>&5
48098 ac_status=$?
48099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48100 (exit $ac_status); }; }; then
48101 eval "$as_ac_var=yes"
48102 else
48103 echo "$as_me: failed program was:" >&5
48104 sed 's/^/| /' conftest.$ac_ext >&5
48106 eval "$as_ac_var=no"
48108 rm -f conftest.err conftest.$ac_objext \
48109 conftest$ac_exeext conftest.$ac_ext
48111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48113 if test `eval echo '${'$as_ac_var'}'` = yes; then
48114 cat >>confdefs.h <<_ACEOF
48115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48116 _ACEOF
48119 done
48124 echo "$as_me:$LINENO: checking for _long double round functions" >&5
48125 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
48126 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
48127 echo $ECHO_N "(cached) $ECHO_C" >&6
48128 else
48132 ac_ext=cc
48133 ac_cpp='$CXXCPP $CPPFLAGS'
48134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48138 cat >conftest.$ac_ext <<_ACEOF
48139 /* confdefs.h. */
48140 _ACEOF
48141 cat confdefs.h >>conftest.$ac_ext
48142 cat >>conftest.$ac_ext <<_ACEOF
48143 /* end confdefs.h. */
48144 #include <math.h>
48146 main ()
48148 `for x in _ceill _floorl; do echo "$x (0);"; done`
48150 return 0;
48152 _ACEOF
48153 rm -f conftest.$ac_objext
48154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48155 (eval $ac_compile) 2>conftest.er1
48156 ac_status=$?
48157 grep -v '^ *+' conftest.er1 >conftest.err
48158 rm -f conftest.er1
48159 cat conftest.err >&5
48160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48161 (exit $ac_status); } &&
48162 { ac_try='test -z "$ac_cxx_werror_flag"
48163 || test ! -s conftest.err'
48164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48165 (eval $ac_try) 2>&5
48166 ac_status=$?
48167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48168 (exit $ac_status); }; } &&
48169 { ac_try='test -s conftest.$ac_objext'
48170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48171 (eval $ac_try) 2>&5
48172 ac_status=$?
48173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48174 (exit $ac_status); }; }; then
48175 glibcxx_cv_func__long_double_round_use=yes
48176 else
48177 echo "$as_me: failed program was:" >&5
48178 sed 's/^/| /' conftest.$ac_ext >&5
48180 glibcxx_cv_func__long_double_round_use=no
48182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48183 ac_ext=c
48184 ac_cpp='$CPP $CPPFLAGS'
48185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48191 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
48192 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
48193 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48196 for ac_func in _ceill _floorl
48198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48199 echo "$as_me:$LINENO: checking for $ac_func" >&5
48200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48201 if eval "test \"\${$as_ac_var+set}\" = set"; then
48202 echo $ECHO_N "(cached) $ECHO_C" >&6
48203 else
48204 if test x$gcc_no_link = xyes; then
48205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48207 { (exit 1); exit 1; }; }
48209 cat >conftest.$ac_ext <<_ACEOF
48210 /* confdefs.h. */
48211 _ACEOF
48212 cat confdefs.h >>conftest.$ac_ext
48213 cat >>conftest.$ac_ext <<_ACEOF
48214 /* end confdefs.h. */
48215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48217 #define $ac_func innocuous_$ac_func
48219 /* System header to define __stub macros and hopefully few prototypes,
48220 which can conflict with char $ac_func (); below.
48221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48222 <limits.h> exists even on freestanding compilers. */
48224 #ifdef __STDC__
48225 # include <limits.h>
48226 #else
48227 # include <assert.h>
48228 #endif
48230 #undef $ac_func
48232 /* Override any gcc2 internal prototype to avoid an error. */
48233 #ifdef __cplusplus
48234 extern "C"
48236 #endif
48237 /* We use char because int might match the return type of a gcc2
48238 builtin and then its argument prototype would still apply. */
48239 char $ac_func ();
48240 /* The GNU C library defines this for functions which it implements
48241 to always fail with ENOSYS. Some functions are actually named
48242 something starting with __ and the normal name is an alias. */
48243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48244 choke me
48245 #else
48246 char (*f) () = $ac_func;
48247 #endif
48248 #ifdef __cplusplus
48250 #endif
48253 main ()
48255 return f != $ac_func;
48257 return 0;
48259 _ACEOF
48260 rm -f conftest.$ac_objext conftest$ac_exeext
48261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48262 (eval $ac_link) 2>conftest.er1
48263 ac_status=$?
48264 grep -v '^ *+' conftest.er1 >conftest.err
48265 rm -f conftest.er1
48266 cat conftest.err >&5
48267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48268 (exit $ac_status); } &&
48269 { ac_try='test -z "$ac_c_werror_flag"
48270 || test ! -s conftest.err'
48271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48272 (eval $ac_try) 2>&5
48273 ac_status=$?
48274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48275 (exit $ac_status); }; } &&
48276 { ac_try='test -s conftest$ac_exeext'
48277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48278 (eval $ac_try) 2>&5
48279 ac_status=$?
48280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48281 (exit $ac_status); }; }; then
48282 eval "$as_ac_var=yes"
48283 else
48284 echo "$as_me: failed program was:" >&5
48285 sed 's/^/| /' conftest.$ac_ext >&5
48287 eval "$as_ac_var=no"
48289 rm -f conftest.err conftest.$ac_objext \
48290 conftest$ac_exeext conftest.$ac_ext
48292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48294 if test `eval echo '${'$as_ac_var'}'` = yes; then
48295 cat >>confdefs.h <<_ACEOF
48296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48297 _ACEOF
48300 done
48305 LIBS="$ac_save_LIBS"
48306 CXXFLAGS="$ac_save_CXXFLAGS"
48310 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
48311 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
48312 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
48313 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
48314 echo $ECHO_N "(cached) $ECHO_C" >&6
48315 else
48319 ac_ext=cc
48320 ac_cpp='$CXXCPP $CPPFLAGS'
48321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48325 cat >conftest.$ac_ext <<_ACEOF
48326 /* confdefs.h. */
48327 _ACEOF
48328 cat confdefs.h >>conftest.$ac_ext
48329 cat >>conftest.$ac_ext <<_ACEOF
48330 /* end confdefs.h. */
48331 #include <math.h>
48333 main ()
48335 __builtin_abs(0);
48337 return 0;
48339 _ACEOF
48340 rm -f conftest.$ac_objext
48341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48342 (eval $ac_compile) 2>conftest.er1
48343 ac_status=$?
48344 grep -v '^ *+' conftest.er1 >conftest.err
48345 rm -f conftest.er1
48346 cat conftest.err >&5
48347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48348 (exit $ac_status); } &&
48349 { ac_try='test -z "$ac_cxx_werror_flag"
48350 || test ! -s conftest.err'
48351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48352 (eval $ac_try) 2>&5
48353 ac_status=$?
48354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48355 (exit $ac_status); }; } &&
48356 { ac_try='test -s conftest.$ac_objext'
48357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48358 (eval $ac_try) 2>&5
48359 ac_status=$?
48360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48361 (exit $ac_status); }; }; then
48362 glibcxx_cv_func___builtin_abs_use=yes
48363 else
48364 echo "$as_me: failed program was:" >&5
48365 sed 's/^/| /' conftest.$ac_ext >&5
48367 glibcxx_cv_func___builtin_abs_use=no
48369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48370 ac_ext=c
48371 ac_cpp='$CPP $CPPFLAGS'
48372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48380 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
48381 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
48382 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
48383 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
48384 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
48385 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
48386 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
48387 echo $ECHO_N "(cached) $ECHO_C" >&6
48388 else
48390 if test x$gcc_no_link = xyes; then
48391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48393 { (exit 1); exit 1; }; }
48395 cat >conftest.$ac_ext <<_ACEOF
48396 /* confdefs.h. */
48397 _ACEOF
48398 cat confdefs.h >>conftest.$ac_ext
48399 cat >>conftest.$ac_ext <<_ACEOF
48400 /* end confdefs.h. */
48401 #include <math.h>
48403 main ()
48405 __builtin_abs(0);
48407 return 0;
48409 _ACEOF
48410 rm -f conftest.$ac_objext conftest$ac_exeext
48411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48412 (eval $ac_link) 2>conftest.er1
48413 ac_status=$?
48414 grep -v '^ *+' conftest.er1 >conftest.err
48415 rm -f conftest.er1
48416 cat conftest.err >&5
48417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48418 (exit $ac_status); } &&
48419 { ac_try='test -z "$ac_c_werror_flag"
48420 || test ! -s conftest.err'
48421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48422 (eval $ac_try) 2>&5
48423 ac_status=$?
48424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48425 (exit $ac_status); }; } &&
48426 { ac_try='test -s conftest$ac_exeext'
48427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48428 (eval $ac_try) 2>&5
48429 ac_status=$?
48430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48431 (exit $ac_status); }; }; then
48432 glibcxx_cv_func___builtin_abs_link=yes
48433 else
48434 echo "$as_me: failed program was:" >&5
48435 sed 's/^/| /' conftest.$ac_ext >&5
48437 glibcxx_cv_func___builtin_abs_link=no
48439 rm -f conftest.err conftest.$ac_objext \
48440 conftest$ac_exeext conftest.$ac_ext
48445 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
48446 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
48447 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
48448 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48449 cat >>confdefs.h <<_ACEOF
48450 #define ${ac_tr_func} 1
48451 _ACEOF
48457 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
48458 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
48459 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
48460 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
48461 echo $ECHO_N "(cached) $ECHO_C" >&6
48462 else
48466 ac_ext=cc
48467 ac_cpp='$CXXCPP $CPPFLAGS'
48468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48472 cat >conftest.$ac_ext <<_ACEOF
48473 /* confdefs.h. */
48474 _ACEOF
48475 cat confdefs.h >>conftest.$ac_ext
48476 cat >>conftest.$ac_ext <<_ACEOF
48477 /* end confdefs.h. */
48478 #include <math.h>
48480 main ()
48482 __builtin_fabsf(0);
48484 return 0;
48486 _ACEOF
48487 rm -f conftest.$ac_objext
48488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48489 (eval $ac_compile) 2>conftest.er1
48490 ac_status=$?
48491 grep -v '^ *+' conftest.er1 >conftest.err
48492 rm -f conftest.er1
48493 cat conftest.err >&5
48494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48495 (exit $ac_status); } &&
48496 { ac_try='test -z "$ac_cxx_werror_flag"
48497 || test ! -s conftest.err'
48498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48499 (eval $ac_try) 2>&5
48500 ac_status=$?
48501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48502 (exit $ac_status); }; } &&
48503 { ac_try='test -s conftest.$ac_objext'
48504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48505 (eval $ac_try) 2>&5
48506 ac_status=$?
48507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48508 (exit $ac_status); }; }; then
48509 glibcxx_cv_func___builtin_fabsf_use=yes
48510 else
48511 echo "$as_me: failed program was:" >&5
48512 sed 's/^/| /' conftest.$ac_ext >&5
48514 glibcxx_cv_func___builtin_fabsf_use=no
48516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48517 ac_ext=c
48518 ac_cpp='$CPP $CPPFLAGS'
48519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48527 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
48528 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
48529 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
48530 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
48531 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
48532 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
48533 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
48534 echo $ECHO_N "(cached) $ECHO_C" >&6
48535 else
48537 if test x$gcc_no_link = xyes; then
48538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48540 { (exit 1); exit 1; }; }
48542 cat >conftest.$ac_ext <<_ACEOF
48543 /* confdefs.h. */
48544 _ACEOF
48545 cat confdefs.h >>conftest.$ac_ext
48546 cat >>conftest.$ac_ext <<_ACEOF
48547 /* end confdefs.h. */
48548 #include <math.h>
48550 main ()
48552 __builtin_fabsf(0);
48554 return 0;
48556 _ACEOF
48557 rm -f conftest.$ac_objext conftest$ac_exeext
48558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48559 (eval $ac_link) 2>conftest.er1
48560 ac_status=$?
48561 grep -v '^ *+' conftest.er1 >conftest.err
48562 rm -f conftest.er1
48563 cat conftest.err >&5
48564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48565 (exit $ac_status); } &&
48566 { ac_try='test -z "$ac_c_werror_flag"
48567 || test ! -s conftest.err'
48568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48569 (eval $ac_try) 2>&5
48570 ac_status=$?
48571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48572 (exit $ac_status); }; } &&
48573 { ac_try='test -s conftest$ac_exeext'
48574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48575 (eval $ac_try) 2>&5
48576 ac_status=$?
48577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48578 (exit $ac_status); }; }; then
48579 glibcxx_cv_func___builtin_fabsf_link=yes
48580 else
48581 echo "$as_me: failed program was:" >&5
48582 sed 's/^/| /' conftest.$ac_ext >&5
48584 glibcxx_cv_func___builtin_fabsf_link=no
48586 rm -f conftest.err conftest.$ac_objext \
48587 conftest$ac_exeext conftest.$ac_ext
48592 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48593 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48594 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48595 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48596 cat >>confdefs.h <<_ACEOF
48597 #define ${ac_tr_func} 1
48598 _ACEOF
48604 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48605 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48606 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48607 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48608 echo $ECHO_N "(cached) $ECHO_C" >&6
48609 else
48613 ac_ext=cc
48614 ac_cpp='$CXXCPP $CPPFLAGS'
48615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48619 cat >conftest.$ac_ext <<_ACEOF
48620 /* confdefs.h. */
48621 _ACEOF
48622 cat confdefs.h >>conftest.$ac_ext
48623 cat >>conftest.$ac_ext <<_ACEOF
48624 /* end confdefs.h. */
48625 #include <math.h>
48627 main ()
48629 __builtin_fabs(0);
48631 return 0;
48633 _ACEOF
48634 rm -f conftest.$ac_objext
48635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48636 (eval $ac_compile) 2>conftest.er1
48637 ac_status=$?
48638 grep -v '^ *+' conftest.er1 >conftest.err
48639 rm -f conftest.er1
48640 cat conftest.err >&5
48641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48642 (exit $ac_status); } &&
48643 { ac_try='test -z "$ac_cxx_werror_flag"
48644 || test ! -s conftest.err'
48645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48646 (eval $ac_try) 2>&5
48647 ac_status=$?
48648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48649 (exit $ac_status); }; } &&
48650 { ac_try='test -s conftest.$ac_objext'
48651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48652 (eval $ac_try) 2>&5
48653 ac_status=$?
48654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48655 (exit $ac_status); }; }; then
48656 glibcxx_cv_func___builtin_fabs_use=yes
48657 else
48658 echo "$as_me: failed program was:" >&5
48659 sed 's/^/| /' conftest.$ac_ext >&5
48661 glibcxx_cv_func___builtin_fabs_use=no
48663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48664 ac_ext=c
48665 ac_cpp='$CPP $CPPFLAGS'
48666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48674 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48675 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48676 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48677 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48678 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48679 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48680 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48681 echo $ECHO_N "(cached) $ECHO_C" >&6
48682 else
48684 if test x$gcc_no_link = xyes; then
48685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48687 { (exit 1); exit 1; }; }
48689 cat >conftest.$ac_ext <<_ACEOF
48690 /* confdefs.h. */
48691 _ACEOF
48692 cat confdefs.h >>conftest.$ac_ext
48693 cat >>conftest.$ac_ext <<_ACEOF
48694 /* end confdefs.h. */
48695 #include <math.h>
48697 main ()
48699 __builtin_fabs(0);
48701 return 0;
48703 _ACEOF
48704 rm -f conftest.$ac_objext conftest$ac_exeext
48705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48706 (eval $ac_link) 2>conftest.er1
48707 ac_status=$?
48708 grep -v '^ *+' conftest.er1 >conftest.err
48709 rm -f conftest.er1
48710 cat conftest.err >&5
48711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48712 (exit $ac_status); } &&
48713 { ac_try='test -z "$ac_c_werror_flag"
48714 || test ! -s conftest.err'
48715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48716 (eval $ac_try) 2>&5
48717 ac_status=$?
48718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48719 (exit $ac_status); }; } &&
48720 { ac_try='test -s conftest$ac_exeext'
48721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48722 (eval $ac_try) 2>&5
48723 ac_status=$?
48724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48725 (exit $ac_status); }; }; then
48726 glibcxx_cv_func___builtin_fabs_link=yes
48727 else
48728 echo "$as_me: failed program was:" >&5
48729 sed 's/^/| /' conftest.$ac_ext >&5
48731 glibcxx_cv_func___builtin_fabs_link=no
48733 rm -f conftest.err conftest.$ac_objext \
48734 conftest$ac_exeext conftest.$ac_ext
48739 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
48740 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
48741 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
48742 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48743 cat >>confdefs.h <<_ACEOF
48744 #define ${ac_tr_func} 1
48745 _ACEOF
48751 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
48752 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
48753 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
48754 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
48755 echo $ECHO_N "(cached) $ECHO_C" >&6
48756 else
48760 ac_ext=cc
48761 ac_cpp='$CXXCPP $CPPFLAGS'
48762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48766 cat >conftest.$ac_ext <<_ACEOF
48767 /* confdefs.h. */
48768 _ACEOF
48769 cat confdefs.h >>conftest.$ac_ext
48770 cat >>conftest.$ac_ext <<_ACEOF
48771 /* end confdefs.h. */
48772 #include <math.h>
48774 main ()
48776 __builtin_fabsl(0);
48778 return 0;
48780 _ACEOF
48781 rm -f conftest.$ac_objext
48782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48783 (eval $ac_compile) 2>conftest.er1
48784 ac_status=$?
48785 grep -v '^ *+' conftest.er1 >conftest.err
48786 rm -f conftest.er1
48787 cat conftest.err >&5
48788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48789 (exit $ac_status); } &&
48790 { ac_try='test -z "$ac_cxx_werror_flag"
48791 || test ! -s conftest.err'
48792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48793 (eval $ac_try) 2>&5
48794 ac_status=$?
48795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48796 (exit $ac_status); }; } &&
48797 { ac_try='test -s conftest.$ac_objext'
48798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48799 (eval $ac_try) 2>&5
48800 ac_status=$?
48801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48802 (exit $ac_status); }; }; then
48803 glibcxx_cv_func___builtin_fabsl_use=yes
48804 else
48805 echo "$as_me: failed program was:" >&5
48806 sed 's/^/| /' conftest.$ac_ext >&5
48808 glibcxx_cv_func___builtin_fabsl_use=no
48810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48811 ac_ext=c
48812 ac_cpp='$CPP $CPPFLAGS'
48813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48821 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
48822 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
48823 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
48824 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
48825 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
48826 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
48827 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
48828 echo $ECHO_N "(cached) $ECHO_C" >&6
48829 else
48831 if test x$gcc_no_link = xyes; then
48832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48834 { (exit 1); exit 1; }; }
48836 cat >conftest.$ac_ext <<_ACEOF
48837 /* confdefs.h. */
48838 _ACEOF
48839 cat confdefs.h >>conftest.$ac_ext
48840 cat >>conftest.$ac_ext <<_ACEOF
48841 /* end confdefs.h. */
48842 #include <math.h>
48844 main ()
48846 __builtin_fabsl(0);
48848 return 0;
48850 _ACEOF
48851 rm -f conftest.$ac_objext conftest$ac_exeext
48852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48853 (eval $ac_link) 2>conftest.er1
48854 ac_status=$?
48855 grep -v '^ *+' conftest.er1 >conftest.err
48856 rm -f conftest.er1
48857 cat conftest.err >&5
48858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48859 (exit $ac_status); } &&
48860 { ac_try='test -z "$ac_c_werror_flag"
48861 || test ! -s conftest.err'
48862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48863 (eval $ac_try) 2>&5
48864 ac_status=$?
48865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48866 (exit $ac_status); }; } &&
48867 { ac_try='test -s conftest$ac_exeext'
48868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48869 (eval $ac_try) 2>&5
48870 ac_status=$?
48871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48872 (exit $ac_status); }; }; then
48873 glibcxx_cv_func___builtin_fabsl_link=yes
48874 else
48875 echo "$as_me: failed program was:" >&5
48876 sed 's/^/| /' conftest.$ac_ext >&5
48878 glibcxx_cv_func___builtin_fabsl_link=no
48880 rm -f conftest.err conftest.$ac_objext \
48881 conftest$ac_exeext conftest.$ac_ext
48886 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
48887 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
48888 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
48889 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48890 cat >>confdefs.h <<_ACEOF
48891 #define ${ac_tr_func} 1
48892 _ACEOF
48898 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
48899 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
48900 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
48901 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
48902 echo $ECHO_N "(cached) $ECHO_C" >&6
48903 else
48907 ac_ext=cc
48908 ac_cpp='$CXXCPP $CPPFLAGS'
48909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48913 cat >conftest.$ac_ext <<_ACEOF
48914 /* confdefs.h. */
48915 _ACEOF
48916 cat confdefs.h >>conftest.$ac_ext
48917 cat >>conftest.$ac_ext <<_ACEOF
48918 /* end confdefs.h. */
48919 #include <math.h>
48921 main ()
48923 __builtin_labs(0);
48925 return 0;
48927 _ACEOF
48928 rm -f conftest.$ac_objext
48929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48930 (eval $ac_compile) 2>conftest.er1
48931 ac_status=$?
48932 grep -v '^ *+' conftest.er1 >conftest.err
48933 rm -f conftest.er1
48934 cat conftest.err >&5
48935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48936 (exit $ac_status); } &&
48937 { ac_try='test -z "$ac_cxx_werror_flag"
48938 || test ! -s conftest.err'
48939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48940 (eval $ac_try) 2>&5
48941 ac_status=$?
48942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48943 (exit $ac_status); }; } &&
48944 { ac_try='test -s conftest.$ac_objext'
48945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48946 (eval $ac_try) 2>&5
48947 ac_status=$?
48948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48949 (exit $ac_status); }; }; then
48950 glibcxx_cv_func___builtin_labs_use=yes
48951 else
48952 echo "$as_me: failed program was:" >&5
48953 sed 's/^/| /' conftest.$ac_ext >&5
48955 glibcxx_cv_func___builtin_labs_use=no
48957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48958 ac_ext=c
48959 ac_cpp='$CPP $CPPFLAGS'
48960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48968 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
48969 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
48970 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
48971 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
48972 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
48973 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
48974 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
48975 echo $ECHO_N "(cached) $ECHO_C" >&6
48976 else
48978 if test x$gcc_no_link = xyes; then
48979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48981 { (exit 1); exit 1; }; }
48983 cat >conftest.$ac_ext <<_ACEOF
48984 /* confdefs.h. */
48985 _ACEOF
48986 cat confdefs.h >>conftest.$ac_ext
48987 cat >>conftest.$ac_ext <<_ACEOF
48988 /* end confdefs.h. */
48989 #include <math.h>
48991 main ()
48993 __builtin_labs(0);
48995 return 0;
48997 _ACEOF
48998 rm -f conftest.$ac_objext conftest$ac_exeext
48999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49000 (eval $ac_link) 2>conftest.er1
49001 ac_status=$?
49002 grep -v '^ *+' conftest.er1 >conftest.err
49003 rm -f conftest.er1
49004 cat conftest.err >&5
49005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49006 (exit $ac_status); } &&
49007 { ac_try='test -z "$ac_c_werror_flag"
49008 || test ! -s conftest.err'
49009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49010 (eval $ac_try) 2>&5
49011 ac_status=$?
49012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49013 (exit $ac_status); }; } &&
49014 { ac_try='test -s conftest$ac_exeext'
49015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49016 (eval $ac_try) 2>&5
49017 ac_status=$?
49018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49019 (exit $ac_status); }; }; then
49020 glibcxx_cv_func___builtin_labs_link=yes
49021 else
49022 echo "$as_me: failed program was:" >&5
49023 sed 's/^/| /' conftest.$ac_ext >&5
49025 glibcxx_cv_func___builtin_labs_link=no
49027 rm -f conftest.err conftest.$ac_objext \
49028 conftest$ac_exeext conftest.$ac_ext
49033 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
49034 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
49035 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
49036 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49037 cat >>confdefs.h <<_ACEOF
49038 #define ${ac_tr_func} 1
49039 _ACEOF
49046 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
49047 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
49048 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
49049 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
49050 echo $ECHO_N "(cached) $ECHO_C" >&6
49051 else
49055 ac_ext=cc
49056 ac_cpp='$CXXCPP $CPPFLAGS'
49057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49061 cat >conftest.$ac_ext <<_ACEOF
49062 /* confdefs.h. */
49063 _ACEOF
49064 cat confdefs.h >>conftest.$ac_ext
49065 cat >>conftest.$ac_ext <<_ACEOF
49066 /* end confdefs.h. */
49067 #include <math.h>
49069 main ()
49071 __builtin_sqrtf(0);
49073 return 0;
49075 _ACEOF
49076 rm -f conftest.$ac_objext
49077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49078 (eval $ac_compile) 2>conftest.er1
49079 ac_status=$?
49080 grep -v '^ *+' conftest.er1 >conftest.err
49081 rm -f conftest.er1
49082 cat conftest.err >&5
49083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49084 (exit $ac_status); } &&
49085 { ac_try='test -z "$ac_cxx_werror_flag"
49086 || test ! -s conftest.err'
49087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49088 (eval $ac_try) 2>&5
49089 ac_status=$?
49090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49091 (exit $ac_status); }; } &&
49092 { ac_try='test -s conftest.$ac_objext'
49093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49094 (eval $ac_try) 2>&5
49095 ac_status=$?
49096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49097 (exit $ac_status); }; }; then
49098 glibcxx_cv_func___builtin_sqrtf_use=yes
49099 else
49100 echo "$as_me: failed program was:" >&5
49101 sed 's/^/| /' conftest.$ac_ext >&5
49103 glibcxx_cv_func___builtin_sqrtf_use=no
49105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49106 ac_ext=c
49107 ac_cpp='$CPP $CPPFLAGS'
49108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49116 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
49117 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
49118 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
49119 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
49120 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
49121 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
49122 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
49123 echo $ECHO_N "(cached) $ECHO_C" >&6
49124 else
49126 if test x$gcc_no_link = xyes; then
49127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49129 { (exit 1); exit 1; }; }
49131 cat >conftest.$ac_ext <<_ACEOF
49132 /* confdefs.h. */
49133 _ACEOF
49134 cat confdefs.h >>conftest.$ac_ext
49135 cat >>conftest.$ac_ext <<_ACEOF
49136 /* end confdefs.h. */
49137 #include <math.h>
49139 main ()
49141 __builtin_sqrtf(0);
49143 return 0;
49145 _ACEOF
49146 rm -f conftest.$ac_objext conftest$ac_exeext
49147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49148 (eval $ac_link) 2>conftest.er1
49149 ac_status=$?
49150 grep -v '^ *+' conftest.er1 >conftest.err
49151 rm -f conftest.er1
49152 cat conftest.err >&5
49153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49154 (exit $ac_status); } &&
49155 { ac_try='test -z "$ac_c_werror_flag"
49156 || test ! -s conftest.err'
49157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49158 (eval $ac_try) 2>&5
49159 ac_status=$?
49160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49161 (exit $ac_status); }; } &&
49162 { ac_try='test -s conftest$ac_exeext'
49163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49164 (eval $ac_try) 2>&5
49165 ac_status=$?
49166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49167 (exit $ac_status); }; }; then
49168 glibcxx_cv_func___builtin_sqrtf_link=yes
49169 else
49170 echo "$as_me: failed program was:" >&5
49171 sed 's/^/| /' conftest.$ac_ext >&5
49173 glibcxx_cv_func___builtin_sqrtf_link=no
49175 rm -f conftest.err conftest.$ac_objext \
49176 conftest$ac_exeext conftest.$ac_ext
49181 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
49182 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
49183 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
49184 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49185 cat >>confdefs.h <<_ACEOF
49186 #define ${ac_tr_func} 1
49187 _ACEOF
49193 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
49194 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
49195 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
49196 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
49197 echo $ECHO_N "(cached) $ECHO_C" >&6
49198 else
49202 ac_ext=cc
49203 ac_cpp='$CXXCPP $CPPFLAGS'
49204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49208 cat >conftest.$ac_ext <<_ACEOF
49209 /* confdefs.h. */
49210 _ACEOF
49211 cat confdefs.h >>conftest.$ac_ext
49212 cat >>conftest.$ac_ext <<_ACEOF
49213 /* end confdefs.h. */
49214 #include <math.h>
49216 main ()
49218 __builtin_sqrt(0);
49220 return 0;
49222 _ACEOF
49223 rm -f conftest.$ac_objext
49224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49225 (eval $ac_compile) 2>conftest.er1
49226 ac_status=$?
49227 grep -v '^ *+' conftest.er1 >conftest.err
49228 rm -f conftest.er1
49229 cat conftest.err >&5
49230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49231 (exit $ac_status); } &&
49232 { ac_try='test -z "$ac_cxx_werror_flag"
49233 || test ! -s conftest.err'
49234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49235 (eval $ac_try) 2>&5
49236 ac_status=$?
49237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49238 (exit $ac_status); }; } &&
49239 { ac_try='test -s conftest.$ac_objext'
49240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49241 (eval $ac_try) 2>&5
49242 ac_status=$?
49243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49244 (exit $ac_status); }; }; then
49245 glibcxx_cv_func___builtin_sqrt_use=yes
49246 else
49247 echo "$as_me: failed program was:" >&5
49248 sed 's/^/| /' conftest.$ac_ext >&5
49250 glibcxx_cv_func___builtin_sqrt_use=no
49252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49253 ac_ext=c
49254 ac_cpp='$CPP $CPPFLAGS'
49255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49263 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
49264 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
49265 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
49266 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
49267 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
49268 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
49269 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
49270 echo $ECHO_N "(cached) $ECHO_C" >&6
49271 else
49273 if test x$gcc_no_link = xyes; then
49274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49276 { (exit 1); exit 1; }; }
49278 cat >conftest.$ac_ext <<_ACEOF
49279 /* confdefs.h. */
49280 _ACEOF
49281 cat confdefs.h >>conftest.$ac_ext
49282 cat >>conftest.$ac_ext <<_ACEOF
49283 /* end confdefs.h. */
49284 #include <math.h>
49286 main ()
49288 __builtin_sqrt(0);
49290 return 0;
49292 _ACEOF
49293 rm -f conftest.$ac_objext conftest$ac_exeext
49294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49295 (eval $ac_link) 2>conftest.er1
49296 ac_status=$?
49297 grep -v '^ *+' conftest.er1 >conftest.err
49298 rm -f conftest.er1
49299 cat conftest.err >&5
49300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49301 (exit $ac_status); } &&
49302 { ac_try='test -z "$ac_c_werror_flag"
49303 || test ! -s conftest.err'
49304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49305 (eval $ac_try) 2>&5
49306 ac_status=$?
49307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49308 (exit $ac_status); }; } &&
49309 { ac_try='test -s conftest$ac_exeext'
49310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49311 (eval $ac_try) 2>&5
49312 ac_status=$?
49313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49314 (exit $ac_status); }; }; then
49315 glibcxx_cv_func___builtin_sqrt_link=yes
49316 else
49317 echo "$as_me: failed program was:" >&5
49318 sed 's/^/| /' conftest.$ac_ext >&5
49320 glibcxx_cv_func___builtin_sqrt_link=no
49322 rm -f conftest.err conftest.$ac_objext \
49323 conftest$ac_exeext conftest.$ac_ext
49328 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
49329 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
49330 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
49331 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49332 cat >>confdefs.h <<_ACEOF
49333 #define ${ac_tr_func} 1
49334 _ACEOF
49340 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
49341 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
49342 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
49343 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
49344 echo $ECHO_N "(cached) $ECHO_C" >&6
49345 else
49349 ac_ext=cc
49350 ac_cpp='$CXXCPP $CPPFLAGS'
49351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49355 cat >conftest.$ac_ext <<_ACEOF
49356 /* confdefs.h. */
49357 _ACEOF
49358 cat confdefs.h >>conftest.$ac_ext
49359 cat >>conftest.$ac_ext <<_ACEOF
49360 /* end confdefs.h. */
49361 #include <math.h>
49363 main ()
49365 __builtin_sqrtl(0);
49367 return 0;
49369 _ACEOF
49370 rm -f conftest.$ac_objext
49371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49372 (eval $ac_compile) 2>conftest.er1
49373 ac_status=$?
49374 grep -v '^ *+' conftest.er1 >conftest.err
49375 rm -f conftest.er1
49376 cat conftest.err >&5
49377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49378 (exit $ac_status); } &&
49379 { ac_try='test -z "$ac_cxx_werror_flag"
49380 || test ! -s conftest.err'
49381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49382 (eval $ac_try) 2>&5
49383 ac_status=$?
49384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49385 (exit $ac_status); }; } &&
49386 { ac_try='test -s conftest.$ac_objext'
49387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49388 (eval $ac_try) 2>&5
49389 ac_status=$?
49390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49391 (exit $ac_status); }; }; then
49392 glibcxx_cv_func___builtin_sqrtl_use=yes
49393 else
49394 echo "$as_me: failed program was:" >&5
49395 sed 's/^/| /' conftest.$ac_ext >&5
49397 glibcxx_cv_func___builtin_sqrtl_use=no
49399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49400 ac_ext=c
49401 ac_cpp='$CPP $CPPFLAGS'
49402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49410 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
49411 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
49412 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
49413 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
49414 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
49415 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
49416 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
49417 echo $ECHO_N "(cached) $ECHO_C" >&6
49418 else
49420 if test x$gcc_no_link = xyes; then
49421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49423 { (exit 1); exit 1; }; }
49425 cat >conftest.$ac_ext <<_ACEOF
49426 /* confdefs.h. */
49427 _ACEOF
49428 cat confdefs.h >>conftest.$ac_ext
49429 cat >>conftest.$ac_ext <<_ACEOF
49430 /* end confdefs.h. */
49431 #include <math.h>
49433 main ()
49435 __builtin_sqrtl(0);
49437 return 0;
49439 _ACEOF
49440 rm -f conftest.$ac_objext conftest$ac_exeext
49441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49442 (eval $ac_link) 2>conftest.er1
49443 ac_status=$?
49444 grep -v '^ *+' conftest.er1 >conftest.err
49445 rm -f conftest.er1
49446 cat conftest.err >&5
49447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49448 (exit $ac_status); } &&
49449 { ac_try='test -z "$ac_c_werror_flag"
49450 || test ! -s conftest.err'
49451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49452 (eval $ac_try) 2>&5
49453 ac_status=$?
49454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49455 (exit $ac_status); }; } &&
49456 { ac_try='test -s conftest$ac_exeext'
49457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49458 (eval $ac_try) 2>&5
49459 ac_status=$?
49460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49461 (exit $ac_status); }; }; then
49462 glibcxx_cv_func___builtin_sqrtl_link=yes
49463 else
49464 echo "$as_me: failed program was:" >&5
49465 sed 's/^/| /' conftest.$ac_ext >&5
49467 glibcxx_cv_func___builtin_sqrtl_link=no
49469 rm -f conftest.err conftest.$ac_objext \
49470 conftest$ac_exeext conftest.$ac_ext
49475 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
49476 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
49477 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
49478 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49479 cat >>confdefs.h <<_ACEOF
49480 #define ${ac_tr_func} 1
49481 _ACEOF
49488 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
49489 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
49490 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
49491 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
49492 echo $ECHO_N "(cached) $ECHO_C" >&6
49493 else
49497 ac_ext=cc
49498 ac_cpp='$CXXCPP $CPPFLAGS'
49499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49503 cat >conftest.$ac_ext <<_ACEOF
49504 /* confdefs.h. */
49505 _ACEOF
49506 cat confdefs.h >>conftest.$ac_ext
49507 cat >>conftest.$ac_ext <<_ACEOF
49508 /* end confdefs.h. */
49509 #include <math.h>
49511 main ()
49513 __builtin_sinf(0);
49515 return 0;
49517 _ACEOF
49518 rm -f conftest.$ac_objext
49519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49520 (eval $ac_compile) 2>conftest.er1
49521 ac_status=$?
49522 grep -v '^ *+' conftest.er1 >conftest.err
49523 rm -f conftest.er1
49524 cat conftest.err >&5
49525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49526 (exit $ac_status); } &&
49527 { ac_try='test -z "$ac_cxx_werror_flag"
49528 || test ! -s conftest.err'
49529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49530 (eval $ac_try) 2>&5
49531 ac_status=$?
49532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49533 (exit $ac_status); }; } &&
49534 { ac_try='test -s conftest.$ac_objext'
49535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49536 (eval $ac_try) 2>&5
49537 ac_status=$?
49538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49539 (exit $ac_status); }; }; then
49540 glibcxx_cv_func___builtin_sinf_use=yes
49541 else
49542 echo "$as_me: failed program was:" >&5
49543 sed 's/^/| /' conftest.$ac_ext >&5
49545 glibcxx_cv_func___builtin_sinf_use=no
49547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49548 ac_ext=c
49549 ac_cpp='$CPP $CPPFLAGS'
49550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49558 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
49559 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
49560 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
49561 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
49562 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
49563 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
49564 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
49565 echo $ECHO_N "(cached) $ECHO_C" >&6
49566 else
49568 if test x$gcc_no_link = xyes; then
49569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49571 { (exit 1); exit 1; }; }
49573 cat >conftest.$ac_ext <<_ACEOF
49574 /* confdefs.h. */
49575 _ACEOF
49576 cat confdefs.h >>conftest.$ac_ext
49577 cat >>conftest.$ac_ext <<_ACEOF
49578 /* end confdefs.h. */
49579 #include <math.h>
49581 main ()
49583 __builtin_sinf(0);
49585 return 0;
49587 _ACEOF
49588 rm -f conftest.$ac_objext conftest$ac_exeext
49589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49590 (eval $ac_link) 2>conftest.er1
49591 ac_status=$?
49592 grep -v '^ *+' conftest.er1 >conftest.err
49593 rm -f conftest.er1
49594 cat conftest.err >&5
49595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49596 (exit $ac_status); } &&
49597 { ac_try='test -z "$ac_c_werror_flag"
49598 || test ! -s conftest.err'
49599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49600 (eval $ac_try) 2>&5
49601 ac_status=$?
49602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49603 (exit $ac_status); }; } &&
49604 { ac_try='test -s conftest$ac_exeext'
49605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49606 (eval $ac_try) 2>&5
49607 ac_status=$?
49608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49609 (exit $ac_status); }; }; then
49610 glibcxx_cv_func___builtin_sinf_link=yes
49611 else
49612 echo "$as_me: failed program was:" >&5
49613 sed 's/^/| /' conftest.$ac_ext >&5
49615 glibcxx_cv_func___builtin_sinf_link=no
49617 rm -f conftest.err conftest.$ac_objext \
49618 conftest$ac_exeext conftest.$ac_ext
49623 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49624 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49625 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49626 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49627 cat >>confdefs.h <<_ACEOF
49628 #define ${ac_tr_func} 1
49629 _ACEOF
49635 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49636 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49637 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49638 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
49639 echo $ECHO_N "(cached) $ECHO_C" >&6
49640 else
49644 ac_ext=cc
49645 ac_cpp='$CXXCPP $CPPFLAGS'
49646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49650 cat >conftest.$ac_ext <<_ACEOF
49651 /* confdefs.h. */
49652 _ACEOF
49653 cat confdefs.h >>conftest.$ac_ext
49654 cat >>conftest.$ac_ext <<_ACEOF
49655 /* end confdefs.h. */
49656 #include <math.h>
49658 main ()
49660 __builtin_sin(0);
49662 return 0;
49664 _ACEOF
49665 rm -f conftest.$ac_objext
49666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49667 (eval $ac_compile) 2>conftest.er1
49668 ac_status=$?
49669 grep -v '^ *+' conftest.er1 >conftest.err
49670 rm -f conftest.er1
49671 cat conftest.err >&5
49672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49673 (exit $ac_status); } &&
49674 { ac_try='test -z "$ac_cxx_werror_flag"
49675 || test ! -s conftest.err'
49676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49677 (eval $ac_try) 2>&5
49678 ac_status=$?
49679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49680 (exit $ac_status); }; } &&
49681 { ac_try='test -s conftest.$ac_objext'
49682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49683 (eval $ac_try) 2>&5
49684 ac_status=$?
49685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49686 (exit $ac_status); }; }; then
49687 glibcxx_cv_func___builtin_sin_use=yes
49688 else
49689 echo "$as_me: failed program was:" >&5
49690 sed 's/^/| /' conftest.$ac_ext >&5
49692 glibcxx_cv_func___builtin_sin_use=no
49694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49695 ac_ext=c
49696 ac_cpp='$CPP $CPPFLAGS'
49697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49705 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
49706 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
49707 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
49708 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
49709 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
49710 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
49711 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
49712 echo $ECHO_N "(cached) $ECHO_C" >&6
49713 else
49715 if test x$gcc_no_link = xyes; then
49716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49718 { (exit 1); exit 1; }; }
49720 cat >conftest.$ac_ext <<_ACEOF
49721 /* confdefs.h. */
49722 _ACEOF
49723 cat confdefs.h >>conftest.$ac_ext
49724 cat >>conftest.$ac_ext <<_ACEOF
49725 /* end confdefs.h. */
49726 #include <math.h>
49728 main ()
49730 __builtin_sin(0);
49732 return 0;
49734 _ACEOF
49735 rm -f conftest.$ac_objext conftest$ac_exeext
49736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49737 (eval $ac_link) 2>conftest.er1
49738 ac_status=$?
49739 grep -v '^ *+' conftest.er1 >conftest.err
49740 rm -f conftest.er1
49741 cat conftest.err >&5
49742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49743 (exit $ac_status); } &&
49744 { ac_try='test -z "$ac_c_werror_flag"
49745 || test ! -s conftest.err'
49746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49747 (eval $ac_try) 2>&5
49748 ac_status=$?
49749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49750 (exit $ac_status); }; } &&
49751 { ac_try='test -s conftest$ac_exeext'
49752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49753 (eval $ac_try) 2>&5
49754 ac_status=$?
49755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49756 (exit $ac_status); }; }; then
49757 glibcxx_cv_func___builtin_sin_link=yes
49758 else
49759 echo "$as_me: failed program was:" >&5
49760 sed 's/^/| /' conftest.$ac_ext >&5
49762 glibcxx_cv_func___builtin_sin_link=no
49764 rm -f conftest.err conftest.$ac_objext \
49765 conftest$ac_exeext conftest.$ac_ext
49770 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
49771 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
49772 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
49773 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49774 cat >>confdefs.h <<_ACEOF
49775 #define ${ac_tr_func} 1
49776 _ACEOF
49782 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
49783 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
49784 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
49785 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
49786 echo $ECHO_N "(cached) $ECHO_C" >&6
49787 else
49791 ac_ext=cc
49792 ac_cpp='$CXXCPP $CPPFLAGS'
49793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49797 cat >conftest.$ac_ext <<_ACEOF
49798 /* confdefs.h. */
49799 _ACEOF
49800 cat confdefs.h >>conftest.$ac_ext
49801 cat >>conftest.$ac_ext <<_ACEOF
49802 /* end confdefs.h. */
49803 #include <math.h>
49805 main ()
49807 __builtin_sinl(0);
49809 return 0;
49811 _ACEOF
49812 rm -f conftest.$ac_objext
49813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49814 (eval $ac_compile) 2>conftest.er1
49815 ac_status=$?
49816 grep -v '^ *+' conftest.er1 >conftest.err
49817 rm -f conftest.er1
49818 cat conftest.err >&5
49819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49820 (exit $ac_status); } &&
49821 { ac_try='test -z "$ac_cxx_werror_flag"
49822 || test ! -s conftest.err'
49823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49824 (eval $ac_try) 2>&5
49825 ac_status=$?
49826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49827 (exit $ac_status); }; } &&
49828 { ac_try='test -s conftest.$ac_objext'
49829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49830 (eval $ac_try) 2>&5
49831 ac_status=$?
49832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49833 (exit $ac_status); }; }; then
49834 glibcxx_cv_func___builtin_sinl_use=yes
49835 else
49836 echo "$as_me: failed program was:" >&5
49837 sed 's/^/| /' conftest.$ac_ext >&5
49839 glibcxx_cv_func___builtin_sinl_use=no
49841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49842 ac_ext=c
49843 ac_cpp='$CPP $CPPFLAGS'
49844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49852 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
49853 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
49854 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
49855 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
49856 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
49857 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
49858 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
49859 echo $ECHO_N "(cached) $ECHO_C" >&6
49860 else
49862 if test x$gcc_no_link = xyes; then
49863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49865 { (exit 1); exit 1; }; }
49867 cat >conftest.$ac_ext <<_ACEOF
49868 /* confdefs.h. */
49869 _ACEOF
49870 cat confdefs.h >>conftest.$ac_ext
49871 cat >>conftest.$ac_ext <<_ACEOF
49872 /* end confdefs.h. */
49873 #include <math.h>
49875 main ()
49877 __builtin_sinl(0);
49879 return 0;
49881 _ACEOF
49882 rm -f conftest.$ac_objext conftest$ac_exeext
49883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49884 (eval $ac_link) 2>conftest.er1
49885 ac_status=$?
49886 grep -v '^ *+' conftest.er1 >conftest.err
49887 rm -f conftest.er1
49888 cat conftest.err >&5
49889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49890 (exit $ac_status); } &&
49891 { ac_try='test -z "$ac_c_werror_flag"
49892 || test ! -s conftest.err'
49893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49894 (eval $ac_try) 2>&5
49895 ac_status=$?
49896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49897 (exit $ac_status); }; } &&
49898 { ac_try='test -s conftest$ac_exeext'
49899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49900 (eval $ac_try) 2>&5
49901 ac_status=$?
49902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49903 (exit $ac_status); }; }; then
49904 glibcxx_cv_func___builtin_sinl_link=yes
49905 else
49906 echo "$as_me: failed program was:" >&5
49907 sed 's/^/| /' conftest.$ac_ext >&5
49909 glibcxx_cv_func___builtin_sinl_link=no
49911 rm -f conftest.err conftest.$ac_objext \
49912 conftest$ac_exeext conftest.$ac_ext
49917 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
49918 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
49919 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
49920 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49921 cat >>confdefs.h <<_ACEOF
49922 #define ${ac_tr_func} 1
49923 _ACEOF
49930 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
49931 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
49932 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
49933 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
49934 echo $ECHO_N "(cached) $ECHO_C" >&6
49935 else
49939 ac_ext=cc
49940 ac_cpp='$CXXCPP $CPPFLAGS'
49941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49945 cat >conftest.$ac_ext <<_ACEOF
49946 /* confdefs.h. */
49947 _ACEOF
49948 cat confdefs.h >>conftest.$ac_ext
49949 cat >>conftest.$ac_ext <<_ACEOF
49950 /* end confdefs.h. */
49951 #include <math.h>
49953 main ()
49955 __builtin_cosf(0);
49957 return 0;
49959 _ACEOF
49960 rm -f conftest.$ac_objext
49961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49962 (eval $ac_compile) 2>conftest.er1
49963 ac_status=$?
49964 grep -v '^ *+' conftest.er1 >conftest.err
49965 rm -f conftest.er1
49966 cat conftest.err >&5
49967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49968 (exit $ac_status); } &&
49969 { ac_try='test -z "$ac_cxx_werror_flag"
49970 || test ! -s conftest.err'
49971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49972 (eval $ac_try) 2>&5
49973 ac_status=$?
49974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49975 (exit $ac_status); }; } &&
49976 { ac_try='test -s conftest.$ac_objext'
49977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49978 (eval $ac_try) 2>&5
49979 ac_status=$?
49980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49981 (exit $ac_status); }; }; then
49982 glibcxx_cv_func___builtin_cosf_use=yes
49983 else
49984 echo "$as_me: failed program was:" >&5
49985 sed 's/^/| /' conftest.$ac_ext >&5
49987 glibcxx_cv_func___builtin_cosf_use=no
49989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49990 ac_ext=c
49991 ac_cpp='$CPP $CPPFLAGS'
49992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50000 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
50001 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
50002 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
50003 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
50004 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
50005 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
50006 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
50007 echo $ECHO_N "(cached) $ECHO_C" >&6
50008 else
50010 if test x$gcc_no_link = xyes; then
50011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50013 { (exit 1); exit 1; }; }
50015 cat >conftest.$ac_ext <<_ACEOF
50016 /* confdefs.h. */
50017 _ACEOF
50018 cat confdefs.h >>conftest.$ac_ext
50019 cat >>conftest.$ac_ext <<_ACEOF
50020 /* end confdefs.h. */
50021 #include <math.h>
50023 main ()
50025 __builtin_cosf(0);
50027 return 0;
50029 _ACEOF
50030 rm -f conftest.$ac_objext conftest$ac_exeext
50031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50032 (eval $ac_link) 2>conftest.er1
50033 ac_status=$?
50034 grep -v '^ *+' conftest.er1 >conftest.err
50035 rm -f conftest.er1
50036 cat conftest.err >&5
50037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50038 (exit $ac_status); } &&
50039 { ac_try='test -z "$ac_c_werror_flag"
50040 || test ! -s conftest.err'
50041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50042 (eval $ac_try) 2>&5
50043 ac_status=$?
50044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50045 (exit $ac_status); }; } &&
50046 { ac_try='test -s conftest$ac_exeext'
50047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50048 (eval $ac_try) 2>&5
50049 ac_status=$?
50050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50051 (exit $ac_status); }; }; then
50052 glibcxx_cv_func___builtin_cosf_link=yes
50053 else
50054 echo "$as_me: failed program was:" >&5
50055 sed 's/^/| /' conftest.$ac_ext >&5
50057 glibcxx_cv_func___builtin_cosf_link=no
50059 rm -f conftest.err conftest.$ac_objext \
50060 conftest$ac_exeext conftest.$ac_ext
50065 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
50066 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
50067 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
50068 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50069 cat >>confdefs.h <<_ACEOF
50070 #define ${ac_tr_func} 1
50071 _ACEOF
50077 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
50078 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
50079 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
50080 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
50081 echo $ECHO_N "(cached) $ECHO_C" >&6
50082 else
50086 ac_ext=cc
50087 ac_cpp='$CXXCPP $CPPFLAGS'
50088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50092 cat >conftest.$ac_ext <<_ACEOF
50093 /* confdefs.h. */
50094 _ACEOF
50095 cat confdefs.h >>conftest.$ac_ext
50096 cat >>conftest.$ac_ext <<_ACEOF
50097 /* end confdefs.h. */
50098 #include <math.h>
50100 main ()
50102 __builtin_cos(0);
50104 return 0;
50106 _ACEOF
50107 rm -f conftest.$ac_objext
50108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50109 (eval $ac_compile) 2>conftest.er1
50110 ac_status=$?
50111 grep -v '^ *+' conftest.er1 >conftest.err
50112 rm -f conftest.er1
50113 cat conftest.err >&5
50114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50115 (exit $ac_status); } &&
50116 { ac_try='test -z "$ac_cxx_werror_flag"
50117 || test ! -s conftest.err'
50118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50119 (eval $ac_try) 2>&5
50120 ac_status=$?
50121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50122 (exit $ac_status); }; } &&
50123 { ac_try='test -s conftest.$ac_objext'
50124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50125 (eval $ac_try) 2>&5
50126 ac_status=$?
50127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50128 (exit $ac_status); }; }; then
50129 glibcxx_cv_func___builtin_cos_use=yes
50130 else
50131 echo "$as_me: failed program was:" >&5
50132 sed 's/^/| /' conftest.$ac_ext >&5
50134 glibcxx_cv_func___builtin_cos_use=no
50136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50137 ac_ext=c
50138 ac_cpp='$CPP $CPPFLAGS'
50139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50147 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
50148 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
50149 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
50150 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
50151 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
50152 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
50153 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
50154 echo $ECHO_N "(cached) $ECHO_C" >&6
50155 else
50157 if test x$gcc_no_link = xyes; then
50158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50160 { (exit 1); exit 1; }; }
50162 cat >conftest.$ac_ext <<_ACEOF
50163 /* confdefs.h. */
50164 _ACEOF
50165 cat confdefs.h >>conftest.$ac_ext
50166 cat >>conftest.$ac_ext <<_ACEOF
50167 /* end confdefs.h. */
50168 #include <math.h>
50170 main ()
50172 __builtin_cos(0);
50174 return 0;
50176 _ACEOF
50177 rm -f conftest.$ac_objext conftest$ac_exeext
50178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50179 (eval $ac_link) 2>conftest.er1
50180 ac_status=$?
50181 grep -v '^ *+' conftest.er1 >conftest.err
50182 rm -f conftest.er1
50183 cat conftest.err >&5
50184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50185 (exit $ac_status); } &&
50186 { ac_try='test -z "$ac_c_werror_flag"
50187 || test ! -s conftest.err'
50188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50189 (eval $ac_try) 2>&5
50190 ac_status=$?
50191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50192 (exit $ac_status); }; } &&
50193 { ac_try='test -s conftest$ac_exeext'
50194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50195 (eval $ac_try) 2>&5
50196 ac_status=$?
50197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50198 (exit $ac_status); }; }; then
50199 glibcxx_cv_func___builtin_cos_link=yes
50200 else
50201 echo "$as_me: failed program was:" >&5
50202 sed 's/^/| /' conftest.$ac_ext >&5
50204 glibcxx_cv_func___builtin_cos_link=no
50206 rm -f conftest.err conftest.$ac_objext \
50207 conftest$ac_exeext conftest.$ac_ext
50212 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
50213 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
50214 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
50215 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50216 cat >>confdefs.h <<_ACEOF
50217 #define ${ac_tr_func} 1
50218 _ACEOF
50224 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
50225 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
50226 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
50227 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
50228 echo $ECHO_N "(cached) $ECHO_C" >&6
50229 else
50233 ac_ext=cc
50234 ac_cpp='$CXXCPP $CPPFLAGS'
50235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50239 cat >conftest.$ac_ext <<_ACEOF
50240 /* confdefs.h. */
50241 _ACEOF
50242 cat confdefs.h >>conftest.$ac_ext
50243 cat >>conftest.$ac_ext <<_ACEOF
50244 /* end confdefs.h. */
50245 #include <math.h>
50247 main ()
50249 __builtin_cosl(0);
50251 return 0;
50253 _ACEOF
50254 rm -f conftest.$ac_objext
50255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50256 (eval $ac_compile) 2>conftest.er1
50257 ac_status=$?
50258 grep -v '^ *+' conftest.er1 >conftest.err
50259 rm -f conftest.er1
50260 cat conftest.err >&5
50261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50262 (exit $ac_status); } &&
50263 { ac_try='test -z "$ac_cxx_werror_flag"
50264 || test ! -s conftest.err'
50265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50266 (eval $ac_try) 2>&5
50267 ac_status=$?
50268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50269 (exit $ac_status); }; } &&
50270 { ac_try='test -s conftest.$ac_objext'
50271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50272 (eval $ac_try) 2>&5
50273 ac_status=$?
50274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50275 (exit $ac_status); }; }; then
50276 glibcxx_cv_func___builtin_cosl_use=yes
50277 else
50278 echo "$as_me: failed program was:" >&5
50279 sed 's/^/| /' conftest.$ac_ext >&5
50281 glibcxx_cv_func___builtin_cosl_use=no
50283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50284 ac_ext=c
50285 ac_cpp='$CPP $CPPFLAGS'
50286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50294 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
50295 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
50296 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
50297 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
50298 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
50299 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
50300 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
50301 echo $ECHO_N "(cached) $ECHO_C" >&6
50302 else
50304 if test x$gcc_no_link = xyes; then
50305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50307 { (exit 1); exit 1; }; }
50309 cat >conftest.$ac_ext <<_ACEOF
50310 /* confdefs.h. */
50311 _ACEOF
50312 cat confdefs.h >>conftest.$ac_ext
50313 cat >>conftest.$ac_ext <<_ACEOF
50314 /* end confdefs.h. */
50315 #include <math.h>
50317 main ()
50319 __builtin_cosl(0);
50321 return 0;
50323 _ACEOF
50324 rm -f conftest.$ac_objext conftest$ac_exeext
50325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50326 (eval $ac_link) 2>conftest.er1
50327 ac_status=$?
50328 grep -v '^ *+' conftest.er1 >conftest.err
50329 rm -f conftest.er1
50330 cat conftest.err >&5
50331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50332 (exit $ac_status); } &&
50333 { ac_try='test -z "$ac_c_werror_flag"
50334 || test ! -s conftest.err'
50335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50336 (eval $ac_try) 2>&5
50337 ac_status=$?
50338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50339 (exit $ac_status); }; } &&
50340 { ac_try='test -s conftest$ac_exeext'
50341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50342 (eval $ac_try) 2>&5
50343 ac_status=$?
50344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50345 (exit $ac_status); }; }; then
50346 glibcxx_cv_func___builtin_cosl_link=yes
50347 else
50348 echo "$as_me: failed program was:" >&5
50349 sed 's/^/| /' conftest.$ac_ext >&5
50351 glibcxx_cv_func___builtin_cosl_link=no
50353 rm -f conftest.err conftest.$ac_objext \
50354 conftest$ac_exeext conftest.$ac_ext
50359 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
50360 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
50361 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
50362 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50363 cat >>confdefs.h <<_ACEOF
50364 #define ${ac_tr_func} 1
50365 _ACEOF
50371 dummyvar=no
50372 if test x$dummyvar = x"yes"; then
50373 cat >>confdefs.h <<\_ACEOF
50374 #define HAVE___BUILTIN_ABS 1
50375 _ACEOF
50377 cat >>confdefs.h <<\_ACEOF
50378 #define HAVE___BUILTIN_LABS 1
50379 _ACEOF
50381 cat >>confdefs.h <<\_ACEOF
50382 #define HAVE___BUILTIN_COS 1
50383 _ACEOF
50385 cat >>confdefs.h <<\_ACEOF
50386 #define HAVE___BUILTIN_COSF 1
50387 _ACEOF
50389 cat >>confdefs.h <<\_ACEOF
50390 #define HAVE___BUILTIN_COSL 1
50391 _ACEOF
50393 cat >>confdefs.h <<\_ACEOF
50394 #define HAVE___BUILTIN_FABS 1
50395 _ACEOF
50397 cat >>confdefs.h <<\_ACEOF
50398 #define HAVE___BUILTIN_FABSF 1
50399 _ACEOF
50401 cat >>confdefs.h <<\_ACEOF
50402 #define HAVE___BUILTIN_FABSL 1
50403 _ACEOF
50405 cat >>confdefs.h <<\_ACEOF
50406 #define HAVE___BUILTIN_SIN 1
50407 _ACEOF
50409 cat >>confdefs.h <<\_ACEOF
50410 #define HAVE___BUILTIN_SINF 1
50411 _ACEOF
50413 cat >>confdefs.h <<\_ACEOF
50414 #define HAVE___BUILTIN_SINL 1
50415 _ACEOF
50417 cat >>confdefs.h <<\_ACEOF
50418 #define HAVE___BUILTIN_SQRT 1
50419 _ACEOF
50421 cat >>confdefs.h <<\_ACEOF
50422 #define HAVE___BUILTIN_SQRTF 1
50423 _ACEOF
50425 cat >>confdefs.h <<\_ACEOF
50426 #define HAVE___BUILTIN_SQRTL 1
50427 _ACEOF
50433 echo "$as_me:$LINENO: checking for main in -lm" >&5
50434 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50435 if test "${ac_cv_lib_m_main+set}" = set; then
50436 echo $ECHO_N "(cached) $ECHO_C" >&6
50437 else
50438 ac_check_lib_save_LIBS=$LIBS
50439 LIBS="-lm $LIBS"
50440 if test x$gcc_no_link = xyes; then
50441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50443 { (exit 1); exit 1; }; }
50445 cat >conftest.$ac_ext <<_ACEOF
50446 /* confdefs.h. */
50447 _ACEOF
50448 cat confdefs.h >>conftest.$ac_ext
50449 cat >>conftest.$ac_ext <<_ACEOF
50450 /* end confdefs.h. */
50454 main ()
50456 main ();
50458 return 0;
50460 _ACEOF
50461 rm -f conftest.$ac_objext conftest$ac_exeext
50462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50463 (eval $ac_link) 2>conftest.er1
50464 ac_status=$?
50465 grep -v '^ *+' conftest.er1 >conftest.err
50466 rm -f conftest.er1
50467 cat conftest.err >&5
50468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50469 (exit $ac_status); } &&
50470 { ac_try='test -z "$ac_c_werror_flag"
50471 || test ! -s conftest.err'
50472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50473 (eval $ac_try) 2>&5
50474 ac_status=$?
50475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50476 (exit $ac_status); }; } &&
50477 { ac_try='test -s conftest$ac_exeext'
50478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50479 (eval $ac_try) 2>&5
50480 ac_status=$?
50481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50482 (exit $ac_status); }; }; then
50483 ac_cv_lib_m_main=yes
50484 else
50485 echo "$as_me: failed program was:" >&5
50486 sed 's/^/| /' conftest.$ac_ext >&5
50488 ac_cv_lib_m_main=no
50490 rm -f conftest.err conftest.$ac_objext \
50491 conftest$ac_exeext conftest.$ac_ext
50492 LIBS=$ac_check_lib_save_LIBS
50494 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50495 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50496 if test $ac_cv_lib_m_main = yes; then
50497 cat >>confdefs.h <<_ACEOF
50498 #define HAVE_LIBM 1
50499 _ACEOF
50501 LIBS="-lm $LIBS"
50507 for ac_func in nan copysignf
50509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50510 echo "$as_me:$LINENO: checking for $ac_func" >&5
50511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50512 if eval "test \"\${$as_ac_var+set}\" = set"; then
50513 echo $ECHO_N "(cached) $ECHO_C" >&6
50514 else
50515 if test x$gcc_no_link = xyes; then
50516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50518 { (exit 1); exit 1; }; }
50520 cat >conftest.$ac_ext <<_ACEOF
50521 /* confdefs.h. */
50522 _ACEOF
50523 cat confdefs.h >>conftest.$ac_ext
50524 cat >>conftest.$ac_ext <<_ACEOF
50525 /* end confdefs.h. */
50526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50528 #define $ac_func innocuous_$ac_func
50530 /* System header to define __stub macros and hopefully few prototypes,
50531 which can conflict with char $ac_func (); below.
50532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50533 <limits.h> exists even on freestanding compilers. */
50535 #ifdef __STDC__
50536 # include <limits.h>
50537 #else
50538 # include <assert.h>
50539 #endif
50541 #undef $ac_func
50543 /* Override any gcc2 internal prototype to avoid an error. */
50544 #ifdef __cplusplus
50545 extern "C"
50547 #endif
50548 /* We use char because int might match the return type of a gcc2
50549 builtin and then its argument prototype would still apply. */
50550 char $ac_func ();
50551 /* The GNU C library defines this for functions which it implements
50552 to always fail with ENOSYS. Some functions are actually named
50553 something starting with __ and the normal name is an alias. */
50554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50555 choke me
50556 #else
50557 char (*f) () = $ac_func;
50558 #endif
50559 #ifdef __cplusplus
50561 #endif
50564 main ()
50566 return f != $ac_func;
50568 return 0;
50570 _ACEOF
50571 rm -f conftest.$ac_objext conftest$ac_exeext
50572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50573 (eval $ac_link) 2>conftest.er1
50574 ac_status=$?
50575 grep -v '^ *+' conftest.er1 >conftest.err
50576 rm -f conftest.er1
50577 cat conftest.err >&5
50578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50579 (exit $ac_status); } &&
50580 { ac_try='test -z "$ac_c_werror_flag"
50581 || test ! -s conftest.err'
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); }; } &&
50587 { ac_try='test -s conftest$ac_exeext'
50588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50589 (eval $ac_try) 2>&5
50590 ac_status=$?
50591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50592 (exit $ac_status); }; }; then
50593 eval "$as_ac_var=yes"
50594 else
50595 echo "$as_me: failed program was:" >&5
50596 sed 's/^/| /' conftest.$ac_ext >&5
50598 eval "$as_ac_var=no"
50600 rm -f conftest.err conftest.$ac_objext \
50601 conftest$ac_exeext conftest.$ac_ext
50603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50605 if test `eval echo '${'$as_ac_var'}'` = yes; then
50606 cat >>confdefs.h <<_ACEOF
50607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50608 _ACEOF
50610 else
50611 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50613 done
50617 for ac_func in __signbit
50619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50620 echo "$as_me:$LINENO: checking for $ac_func" >&5
50621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50622 if eval "test \"\${$as_ac_var+set}\" = set"; then
50623 echo $ECHO_N "(cached) $ECHO_C" >&6
50624 else
50625 if test x$gcc_no_link = xyes; then
50626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50628 { (exit 1); exit 1; }; }
50630 cat >conftest.$ac_ext <<_ACEOF
50631 /* confdefs.h. */
50632 _ACEOF
50633 cat confdefs.h >>conftest.$ac_ext
50634 cat >>conftest.$ac_ext <<_ACEOF
50635 /* end confdefs.h. */
50636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50638 #define $ac_func innocuous_$ac_func
50640 /* System header to define __stub macros and hopefully few prototypes,
50641 which can conflict with char $ac_func (); below.
50642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50643 <limits.h> exists even on freestanding compilers. */
50645 #ifdef __STDC__
50646 # include <limits.h>
50647 #else
50648 # include <assert.h>
50649 #endif
50651 #undef $ac_func
50653 /* Override any gcc2 internal prototype to avoid an error. */
50654 #ifdef __cplusplus
50655 extern "C"
50657 #endif
50658 /* We use char because int might match the return type of a gcc2
50659 builtin and then its argument prototype would still apply. */
50660 char $ac_func ();
50661 /* The GNU C library defines this for functions which it implements
50662 to always fail with ENOSYS. Some functions are actually named
50663 something starting with __ and the normal name is an alias. */
50664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50665 choke me
50666 #else
50667 char (*f) () = $ac_func;
50668 #endif
50669 #ifdef __cplusplus
50671 #endif
50674 main ()
50676 return f != $ac_func;
50678 return 0;
50680 _ACEOF
50681 rm -f conftest.$ac_objext conftest$ac_exeext
50682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50683 (eval $ac_link) 2>conftest.er1
50684 ac_status=$?
50685 grep -v '^ *+' conftest.er1 >conftest.err
50686 rm -f conftest.er1
50687 cat conftest.err >&5
50688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50689 (exit $ac_status); } &&
50690 { ac_try='test -z "$ac_c_werror_flag"
50691 || test ! -s conftest.err'
50692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50693 (eval $ac_try) 2>&5
50694 ac_status=$?
50695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50696 (exit $ac_status); }; } &&
50697 { ac_try='test -s conftest$ac_exeext'
50698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50699 (eval $ac_try) 2>&5
50700 ac_status=$?
50701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50702 (exit $ac_status); }; }; then
50703 eval "$as_ac_var=yes"
50704 else
50705 echo "$as_me: failed program was:" >&5
50706 sed 's/^/| /' conftest.$ac_ext >&5
50708 eval "$as_ac_var=no"
50710 rm -f conftest.err conftest.$ac_objext \
50711 conftest$ac_exeext conftest.$ac_ext
50713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50715 if test `eval echo '${'$as_ac_var'}'` = yes; then
50716 cat >>confdefs.h <<_ACEOF
50717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50718 _ACEOF
50720 else
50721 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50723 done
50726 for ac_func in __signbitf
50728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50729 echo "$as_me:$LINENO: checking for $ac_func" >&5
50730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50731 if eval "test \"\${$as_ac_var+set}\" = set"; then
50732 echo $ECHO_N "(cached) $ECHO_C" >&6
50733 else
50734 if test x$gcc_no_link = xyes; then
50735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50737 { (exit 1); exit 1; }; }
50739 cat >conftest.$ac_ext <<_ACEOF
50740 /* confdefs.h. */
50741 _ACEOF
50742 cat confdefs.h >>conftest.$ac_ext
50743 cat >>conftest.$ac_ext <<_ACEOF
50744 /* end confdefs.h. */
50745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50747 #define $ac_func innocuous_$ac_func
50749 /* System header to define __stub macros and hopefully few prototypes,
50750 which can conflict with char $ac_func (); below.
50751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50752 <limits.h> exists even on freestanding compilers. */
50754 #ifdef __STDC__
50755 # include <limits.h>
50756 #else
50757 # include <assert.h>
50758 #endif
50760 #undef $ac_func
50762 /* Override any gcc2 internal prototype to avoid an error. */
50763 #ifdef __cplusplus
50764 extern "C"
50766 #endif
50767 /* We use char because int might match the return type of a gcc2
50768 builtin and then its argument prototype would still apply. */
50769 char $ac_func ();
50770 /* The GNU C library defines this for functions which it implements
50771 to always fail with ENOSYS. Some functions are actually named
50772 something starting with __ and the normal name is an alias. */
50773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50774 choke me
50775 #else
50776 char (*f) () = $ac_func;
50777 #endif
50778 #ifdef __cplusplus
50780 #endif
50783 main ()
50785 return f != $ac_func;
50787 return 0;
50789 _ACEOF
50790 rm -f conftest.$ac_objext conftest$ac_exeext
50791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50792 (eval $ac_link) 2>conftest.er1
50793 ac_status=$?
50794 grep -v '^ *+' conftest.er1 >conftest.err
50795 rm -f conftest.er1
50796 cat conftest.err >&5
50797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50798 (exit $ac_status); } &&
50799 { ac_try='test -z "$ac_c_werror_flag"
50800 || test ! -s conftest.err'
50801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50802 (eval $ac_try) 2>&5
50803 ac_status=$?
50804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50805 (exit $ac_status); }; } &&
50806 { ac_try='test -s conftest$ac_exeext'
50807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50808 (eval $ac_try) 2>&5
50809 ac_status=$?
50810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50811 (exit $ac_status); }; }; then
50812 eval "$as_ac_var=yes"
50813 else
50814 echo "$as_me: failed program was:" >&5
50815 sed 's/^/| /' conftest.$ac_ext >&5
50817 eval "$as_ac_var=no"
50819 rm -f conftest.err conftest.$ac_objext \
50820 conftest$ac_exeext conftest.$ac_ext
50822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50824 if test `eval echo '${'$as_ac_var'}'` = yes; then
50825 cat >>confdefs.h <<_ACEOF
50826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50827 _ACEOF
50829 else
50830 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
50832 done
50835 if test x$ac_cv_func_copysignl = x"yes"; then
50837 for ac_func in __signbitl
50839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50840 echo "$as_me:$LINENO: checking for $ac_func" >&5
50841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50842 if eval "test \"\${$as_ac_var+set}\" = set"; then
50843 echo $ECHO_N "(cached) $ECHO_C" >&6
50844 else
50845 if test x$gcc_no_link = xyes; then
50846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50848 { (exit 1); exit 1; }; }
50850 cat >conftest.$ac_ext <<_ACEOF
50851 /* confdefs.h. */
50852 _ACEOF
50853 cat confdefs.h >>conftest.$ac_ext
50854 cat >>conftest.$ac_ext <<_ACEOF
50855 /* end confdefs.h. */
50856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50858 #define $ac_func innocuous_$ac_func
50860 /* System header to define __stub macros and hopefully few prototypes,
50861 which can conflict with char $ac_func (); below.
50862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50863 <limits.h> exists even on freestanding compilers. */
50865 #ifdef __STDC__
50866 # include <limits.h>
50867 #else
50868 # include <assert.h>
50869 #endif
50871 #undef $ac_func
50873 /* Override any gcc2 internal prototype to avoid an error. */
50874 #ifdef __cplusplus
50875 extern "C"
50877 #endif
50878 /* We use char because int might match the return type of a gcc2
50879 builtin and then its argument prototype would still apply. */
50880 char $ac_func ();
50881 /* The GNU C library defines this for functions which it implements
50882 to always fail with ENOSYS. Some functions are actually named
50883 something starting with __ and the normal name is an alias. */
50884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50885 choke me
50886 #else
50887 char (*f) () = $ac_func;
50888 #endif
50889 #ifdef __cplusplus
50891 #endif
50894 main ()
50896 return f != $ac_func;
50898 return 0;
50900 _ACEOF
50901 rm -f conftest.$ac_objext conftest$ac_exeext
50902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50903 (eval $ac_link) 2>conftest.er1
50904 ac_status=$?
50905 grep -v '^ *+' conftest.er1 >conftest.err
50906 rm -f conftest.er1
50907 cat conftest.err >&5
50908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50909 (exit $ac_status); } &&
50910 { ac_try='test -z "$ac_c_werror_flag"
50911 || test ! -s conftest.err'
50912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50913 (eval $ac_try) 2>&5
50914 ac_status=$?
50915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50916 (exit $ac_status); }; } &&
50917 { ac_try='test -s conftest$ac_exeext'
50918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50919 (eval $ac_try) 2>&5
50920 ac_status=$?
50921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50922 (exit $ac_status); }; }; then
50923 eval "$as_ac_var=yes"
50924 else
50925 echo "$as_me: failed program was:" >&5
50926 sed 's/^/| /' conftest.$ac_ext >&5
50928 eval "$as_ac_var=no"
50930 rm -f conftest.err conftest.$ac_objext \
50931 conftest$ac_exeext conftest.$ac_ext
50933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50935 if test `eval echo '${'$as_ac_var'}'` = yes; then
50936 cat >>confdefs.h <<_ACEOF
50937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50938 _ACEOF
50940 else
50941 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
50943 done
50947 # XXX Review this. Nothing uses it.
50948 if test -n "$LIBMATHOBJS"; then
50949 need_libmath=yes
50954 # Test wchar.h for mbstate_t, which is needed for char_traits and
50955 # others even if wchar_t support is not on.
50956 echo "$as_me:$LINENO: checking for mbstate_t" >&5
50957 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
50958 cat >conftest.$ac_ext <<_ACEOF
50959 /* confdefs.h. */
50960 _ACEOF
50961 cat confdefs.h >>conftest.$ac_ext
50962 cat >>conftest.$ac_ext <<_ACEOF
50963 /* end confdefs.h. */
50964 #include <wchar.h>
50966 main ()
50968 mbstate_t teststate;
50970 return 0;
50972 _ACEOF
50973 rm -f conftest.$ac_objext
50974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50975 (eval $ac_compile) 2>conftest.er1
50976 ac_status=$?
50977 grep -v '^ *+' conftest.er1 >conftest.err
50978 rm -f conftest.er1
50979 cat conftest.err >&5
50980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50981 (exit $ac_status); } &&
50982 { ac_try='test -z "$ac_c_werror_flag"
50983 || test ! -s conftest.err'
50984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50985 (eval $ac_try) 2>&5
50986 ac_status=$?
50987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50988 (exit $ac_status); }; } &&
50989 { ac_try='test -s conftest.$ac_objext'
50990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50991 (eval $ac_try) 2>&5
50992 ac_status=$?
50993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50994 (exit $ac_status); }; }; then
50995 have_mbstate_t=yes
50996 else
50997 echo "$as_me: failed program was:" >&5
50998 sed 's/^/| /' conftest.$ac_ext >&5
51000 have_mbstate_t=no
51002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51003 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
51004 echo "${ECHO_T}$have_mbstate_t" >&6
51005 if test x"$have_mbstate_t" = xyes; then
51006 cat >>confdefs.h <<\_ACEOF
51007 #define HAVE_MBSTATE_T 1
51008 _ACEOF
51012 # Sanity check for existence of ISO C99 headers for extended encoding.
51014 for ac_header in wchar.h
51016 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51017 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51018 echo "$as_me:$LINENO: checking for $ac_header" >&5
51019 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51020 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51021 echo $ECHO_N "(cached) $ECHO_C" >&6
51023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51024 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51025 else
51026 # Is the header compilable?
51027 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51028 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51029 cat >conftest.$ac_ext <<_ACEOF
51030 /* confdefs.h. */
51031 _ACEOF
51032 cat confdefs.h >>conftest.$ac_ext
51033 cat >>conftest.$ac_ext <<_ACEOF
51034 /* end confdefs.h. */
51035 $ac_includes_default
51036 #include <$ac_header>
51037 _ACEOF
51038 rm -f conftest.$ac_objext
51039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51040 (eval $ac_compile) 2>conftest.er1
51041 ac_status=$?
51042 grep -v '^ *+' conftest.er1 >conftest.err
51043 rm -f conftest.er1
51044 cat conftest.err >&5
51045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51046 (exit $ac_status); } &&
51047 { ac_try='test -z "$ac_c_werror_flag"
51048 || test ! -s conftest.err'
51049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51050 (eval $ac_try) 2>&5
51051 ac_status=$?
51052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51053 (exit $ac_status); }; } &&
51054 { ac_try='test -s conftest.$ac_objext'
51055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51056 (eval $ac_try) 2>&5
51057 ac_status=$?
51058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51059 (exit $ac_status); }; }; then
51060 ac_header_compiler=yes
51061 else
51062 echo "$as_me: failed program was:" >&5
51063 sed 's/^/| /' conftest.$ac_ext >&5
51065 ac_header_compiler=no
51067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51068 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51069 echo "${ECHO_T}$ac_header_compiler" >&6
51071 # Is the header present?
51072 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51073 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51074 cat >conftest.$ac_ext <<_ACEOF
51075 /* confdefs.h. */
51076 _ACEOF
51077 cat confdefs.h >>conftest.$ac_ext
51078 cat >>conftest.$ac_ext <<_ACEOF
51079 /* end confdefs.h. */
51080 #include <$ac_header>
51081 _ACEOF
51082 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51083 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51084 ac_status=$?
51085 grep -v '^ *+' conftest.er1 >conftest.err
51086 rm -f conftest.er1
51087 cat conftest.err >&5
51088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51089 (exit $ac_status); } >/dev/null; then
51090 if test -s conftest.err; then
51091 ac_cpp_err=$ac_c_preproc_warn_flag
51092 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51093 else
51094 ac_cpp_err=
51096 else
51097 ac_cpp_err=yes
51099 if test -z "$ac_cpp_err"; then
51100 ac_header_preproc=yes
51101 else
51102 echo "$as_me: failed program was:" >&5
51103 sed 's/^/| /' conftest.$ac_ext >&5
51105 ac_header_preproc=no
51107 rm -f conftest.err conftest.$ac_ext
51108 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51109 echo "${ECHO_T}$ac_header_preproc" >&6
51111 # So? What about this header?
51112 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51113 yes:no: )
51114 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51115 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51116 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51117 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51118 ac_header_preproc=yes
51120 no:yes:* )
51121 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51122 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51123 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51124 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51125 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51126 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51127 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
51128 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
51129 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51130 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51131 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51132 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51134 cat <<\_ASBOX
51135 ## ----------------------------------------- ##
51136 ## Report this to the package-unused lists. ##
51137 ## ----------------------------------------- ##
51138 _ASBOX
51140 sed "s/^/$as_me: WARNING: /" >&2
51142 esac
51143 echo "$as_me:$LINENO: checking for $ac_header" >&5
51144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51145 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51146 echo $ECHO_N "(cached) $ECHO_C" >&6
51147 else
51148 eval "$as_ac_Header=\$ac_header_preproc"
51150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51151 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51154 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51155 cat >>confdefs.h <<_ACEOF
51156 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51157 _ACEOF
51158 ac_has_wchar_h=yes
51159 else
51160 ac_has_wchar_h=no
51163 done
51166 for ac_header in wctype.h
51168 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51170 echo "$as_me:$LINENO: checking for $ac_header" >&5
51171 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51172 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51173 echo $ECHO_N "(cached) $ECHO_C" >&6
51175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51177 else
51178 # Is the header compilable?
51179 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51180 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51181 cat >conftest.$ac_ext <<_ACEOF
51182 /* confdefs.h. */
51183 _ACEOF
51184 cat confdefs.h >>conftest.$ac_ext
51185 cat >>conftest.$ac_ext <<_ACEOF
51186 /* end confdefs.h. */
51187 $ac_includes_default
51188 #include <$ac_header>
51189 _ACEOF
51190 rm -f conftest.$ac_objext
51191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51192 (eval $ac_compile) 2>conftest.er1
51193 ac_status=$?
51194 grep -v '^ *+' conftest.er1 >conftest.err
51195 rm -f conftest.er1
51196 cat conftest.err >&5
51197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51198 (exit $ac_status); } &&
51199 { ac_try='test -z "$ac_c_werror_flag"
51200 || test ! -s conftest.err'
51201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51202 (eval $ac_try) 2>&5
51203 ac_status=$?
51204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51205 (exit $ac_status); }; } &&
51206 { ac_try='test -s conftest.$ac_objext'
51207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51208 (eval $ac_try) 2>&5
51209 ac_status=$?
51210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51211 (exit $ac_status); }; }; then
51212 ac_header_compiler=yes
51213 else
51214 echo "$as_me: failed program was:" >&5
51215 sed 's/^/| /' conftest.$ac_ext >&5
51217 ac_header_compiler=no
51219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51220 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51221 echo "${ECHO_T}$ac_header_compiler" >&6
51223 # Is the header present?
51224 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51225 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51226 cat >conftest.$ac_ext <<_ACEOF
51227 /* confdefs.h. */
51228 _ACEOF
51229 cat confdefs.h >>conftest.$ac_ext
51230 cat >>conftest.$ac_ext <<_ACEOF
51231 /* end confdefs.h. */
51232 #include <$ac_header>
51233 _ACEOF
51234 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51235 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51236 ac_status=$?
51237 grep -v '^ *+' conftest.er1 >conftest.err
51238 rm -f conftest.er1
51239 cat conftest.err >&5
51240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51241 (exit $ac_status); } >/dev/null; then
51242 if test -s conftest.err; then
51243 ac_cpp_err=$ac_c_preproc_warn_flag
51244 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51245 else
51246 ac_cpp_err=
51248 else
51249 ac_cpp_err=yes
51251 if test -z "$ac_cpp_err"; then
51252 ac_header_preproc=yes
51253 else
51254 echo "$as_me: failed program was:" >&5
51255 sed 's/^/| /' conftest.$ac_ext >&5
51257 ac_header_preproc=no
51259 rm -f conftest.err conftest.$ac_ext
51260 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51261 echo "${ECHO_T}$ac_header_preproc" >&6
51263 # So? What about this header?
51264 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51265 yes:no: )
51266 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51267 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51268 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51269 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51270 ac_header_preproc=yes
51272 no:yes:* )
51273 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51274 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51275 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51276 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51277 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51278 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51279 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
51280 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
51281 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51282 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51283 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51284 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51286 cat <<\_ASBOX
51287 ## ----------------------------------------- ##
51288 ## Report this to the package-unused lists. ##
51289 ## ----------------------------------------- ##
51290 _ASBOX
51292 sed "s/^/$as_me: WARNING: /" >&2
51294 esac
51295 echo "$as_me:$LINENO: checking for $ac_header" >&5
51296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51298 echo $ECHO_N "(cached) $ECHO_C" >&6
51299 else
51300 eval "$as_ac_Header=\$ac_header_preproc"
51302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51303 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51306 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51307 cat >>confdefs.h <<_ACEOF
51308 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51309 _ACEOF
51310 ac_has_wctype_h=yes
51311 else
51312 ac_has_wctype_h=no
51315 done
51318 # Only continue checking if the ISO C99 headers exist and support is on.
51319 if test x"$ac_has_wchar_h" = xyes &&
51320 test x"$ac_has_wctype_h" = xyes &&
51321 test x"$enable_c_mbchar" != xno; then
51323 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
51324 # numeric_limits can instantiate type_traits<wchar_t>
51325 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
51326 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
51327 cat >conftest.$ac_ext <<_ACEOF
51328 /* confdefs.h. */
51329 _ACEOF
51330 cat confdefs.h >>conftest.$ac_ext
51331 cat >>conftest.$ac_ext <<_ACEOF
51332 /* end confdefs.h. */
51333 #include <wchar.h>
51335 main ()
51337 int i = WCHAR_MIN; int j = WCHAR_MAX;
51339 return 0;
51341 _ACEOF
51342 rm -f conftest.$ac_objext
51343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51344 (eval $ac_compile) 2>conftest.er1
51345 ac_status=$?
51346 grep -v '^ *+' conftest.er1 >conftest.err
51347 rm -f conftest.er1
51348 cat conftest.err >&5
51349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51350 (exit $ac_status); } &&
51351 { ac_try='test -z "$ac_c_werror_flag"
51352 || test ! -s conftest.err'
51353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51354 (eval $ac_try) 2>&5
51355 ac_status=$?
51356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51357 (exit $ac_status); }; } &&
51358 { ac_try='test -s conftest.$ac_objext'
51359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51360 (eval $ac_try) 2>&5
51361 ac_status=$?
51362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51363 (exit $ac_status); }; }; then
51364 has_wchar_minmax=yes
51365 else
51366 echo "$as_me: failed program was:" >&5
51367 sed 's/^/| /' conftest.$ac_ext >&5
51369 has_wchar_minmax=no
51371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51372 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
51373 echo "${ECHO_T}$has_wchar_minmax" >&6
51375 # Test wchar.h for WEOF, which is what we use to determine whether
51376 # to specialize for char_traits<wchar_t> or not.
51377 echo "$as_me:$LINENO: checking for WEOF" >&5
51378 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
51379 cat >conftest.$ac_ext <<_ACEOF
51380 /* confdefs.h. */
51381 _ACEOF
51382 cat confdefs.h >>conftest.$ac_ext
51383 cat >>conftest.$ac_ext <<_ACEOF
51384 /* end confdefs.h. */
51386 #include <wchar.h>
51387 #include <stddef.h>
51389 main ()
51391 wint_t i = WEOF;
51393 return 0;
51395 _ACEOF
51396 rm -f conftest.$ac_objext
51397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51398 (eval $ac_compile) 2>conftest.er1
51399 ac_status=$?
51400 grep -v '^ *+' conftest.er1 >conftest.err
51401 rm -f conftest.er1
51402 cat conftest.err >&5
51403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51404 (exit $ac_status); } &&
51405 { ac_try='test -z "$ac_c_werror_flag"
51406 || test ! -s conftest.err'
51407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51408 (eval $ac_try) 2>&5
51409 ac_status=$?
51410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51411 (exit $ac_status); }; } &&
51412 { ac_try='test -s conftest.$ac_objext'
51413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51414 (eval $ac_try) 2>&5
51415 ac_status=$?
51416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51417 (exit $ac_status); }; }; then
51418 has_weof=yes
51419 else
51420 echo "$as_me: failed program was:" >&5
51421 sed 's/^/| /' conftest.$ac_ext >&5
51423 has_weof=no
51425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51426 echo "$as_me:$LINENO: result: $has_weof" >&5
51427 echo "${ECHO_T}$has_weof" >&6
51429 # Tests for wide character functions used in char_traits<wchar_t>.
51430 ac_wfuncs=yes
51437 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
51439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51440 echo "$as_me:$LINENO: checking for $ac_func" >&5
51441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51442 if eval "test \"\${$as_ac_var+set}\" = set"; then
51443 echo $ECHO_N "(cached) $ECHO_C" >&6
51444 else
51445 if test x$gcc_no_link = xyes; then
51446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51448 { (exit 1); exit 1; }; }
51450 cat >conftest.$ac_ext <<_ACEOF
51451 /* confdefs.h. */
51452 _ACEOF
51453 cat confdefs.h >>conftest.$ac_ext
51454 cat >>conftest.$ac_ext <<_ACEOF
51455 /* end confdefs.h. */
51456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51458 #define $ac_func innocuous_$ac_func
51460 /* System header to define __stub macros and hopefully few prototypes,
51461 which can conflict with char $ac_func (); below.
51462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51463 <limits.h> exists even on freestanding compilers. */
51465 #ifdef __STDC__
51466 # include <limits.h>
51467 #else
51468 # include <assert.h>
51469 #endif
51471 #undef $ac_func
51473 /* Override any gcc2 internal prototype to avoid an error. */
51474 #ifdef __cplusplus
51475 extern "C"
51477 #endif
51478 /* We use char because int might match the return type of a gcc2
51479 builtin and then its argument prototype would still apply. */
51480 char $ac_func ();
51481 /* The GNU C library defines this for functions which it implements
51482 to always fail with ENOSYS. Some functions are actually named
51483 something starting with __ and the normal name is an alias. */
51484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51485 choke me
51486 #else
51487 char (*f) () = $ac_func;
51488 #endif
51489 #ifdef __cplusplus
51491 #endif
51494 main ()
51496 return f != $ac_func;
51498 return 0;
51500 _ACEOF
51501 rm -f conftest.$ac_objext conftest$ac_exeext
51502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51503 (eval $ac_link) 2>conftest.er1
51504 ac_status=$?
51505 grep -v '^ *+' conftest.er1 >conftest.err
51506 rm -f conftest.er1
51507 cat conftest.err >&5
51508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51509 (exit $ac_status); } &&
51510 { ac_try='test -z "$ac_c_werror_flag"
51511 || test ! -s conftest.err'
51512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51513 (eval $ac_try) 2>&5
51514 ac_status=$?
51515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51516 (exit $ac_status); }; } &&
51517 { ac_try='test -s conftest$ac_exeext'
51518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51519 (eval $ac_try) 2>&5
51520 ac_status=$?
51521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51522 (exit $ac_status); }; }; then
51523 eval "$as_ac_var=yes"
51524 else
51525 echo "$as_me: failed program was:" >&5
51526 sed 's/^/| /' conftest.$ac_ext >&5
51528 eval "$as_ac_var=no"
51530 rm -f conftest.err conftest.$ac_objext \
51531 conftest$ac_exeext conftest.$ac_ext
51533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51535 if test `eval echo '${'$as_ac_var'}'` = yes; then
51536 cat >>confdefs.h <<_ACEOF
51537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51538 _ACEOF
51540 else
51541 ac_wfuncs=no
51543 done
51546 # Checks for names injected into std:: by the c_std headers.
51593 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
51594 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
51595 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
51596 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
51597 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
51598 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
51600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51601 echo "$as_me:$LINENO: checking for $ac_func" >&5
51602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51603 if eval "test \"\${$as_ac_var+set}\" = set"; then
51604 echo $ECHO_N "(cached) $ECHO_C" >&6
51605 else
51606 if test x$gcc_no_link = xyes; then
51607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51609 { (exit 1); exit 1; }; }
51611 cat >conftest.$ac_ext <<_ACEOF
51612 /* confdefs.h. */
51613 _ACEOF
51614 cat confdefs.h >>conftest.$ac_ext
51615 cat >>conftest.$ac_ext <<_ACEOF
51616 /* end confdefs.h. */
51617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51619 #define $ac_func innocuous_$ac_func
51621 /* System header to define __stub macros and hopefully few prototypes,
51622 which can conflict with char $ac_func (); below.
51623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51624 <limits.h> exists even on freestanding compilers. */
51626 #ifdef __STDC__
51627 # include <limits.h>
51628 #else
51629 # include <assert.h>
51630 #endif
51632 #undef $ac_func
51634 /* Override any gcc2 internal prototype to avoid an error. */
51635 #ifdef __cplusplus
51636 extern "C"
51638 #endif
51639 /* We use char because int might match the return type of a gcc2
51640 builtin and then its argument prototype would still apply. */
51641 char $ac_func ();
51642 /* The GNU C library defines this for functions which it implements
51643 to always fail with ENOSYS. Some functions are actually named
51644 something starting with __ and the normal name is an alias. */
51645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51646 choke me
51647 #else
51648 char (*f) () = $ac_func;
51649 #endif
51650 #ifdef __cplusplus
51652 #endif
51655 main ()
51657 return f != $ac_func;
51659 return 0;
51661 _ACEOF
51662 rm -f conftest.$ac_objext conftest$ac_exeext
51663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51664 (eval $ac_link) 2>conftest.er1
51665 ac_status=$?
51666 grep -v '^ *+' conftest.er1 >conftest.err
51667 rm -f conftest.er1
51668 cat conftest.err >&5
51669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51670 (exit $ac_status); } &&
51671 { ac_try='test -z "$ac_c_werror_flag"
51672 || test ! -s conftest.err'
51673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51674 (eval $ac_try) 2>&5
51675 ac_status=$?
51676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51677 (exit $ac_status); }; } &&
51678 { ac_try='test -s conftest$ac_exeext'
51679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51680 (eval $ac_try) 2>&5
51681 ac_status=$?
51682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51683 (exit $ac_status); }; }; then
51684 eval "$as_ac_var=yes"
51685 else
51686 echo "$as_me: failed program was:" >&5
51687 sed 's/^/| /' conftest.$ac_ext >&5
51689 eval "$as_ac_var=no"
51691 rm -f conftest.err conftest.$ac_objext \
51692 conftest$ac_exeext conftest.$ac_ext
51694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51696 if test `eval echo '${'$as_ac_var'}'` = yes; then
51697 cat >>confdefs.h <<_ACEOF
51698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51699 _ACEOF
51701 else
51702 ac_wfuncs=no
51704 done
51707 # Checks for wide character functions that are not required
51708 # for basic wchar_t support. Don't disable support if they are missing.
51709 # Injection of these is wrapped with guard macros.
51715 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
51717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51718 echo "$as_me:$LINENO: checking for $ac_func" >&5
51719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51720 if eval "test \"\${$as_ac_var+set}\" = set"; then
51721 echo $ECHO_N "(cached) $ECHO_C" >&6
51722 else
51723 if test x$gcc_no_link = xyes; then
51724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51726 { (exit 1); exit 1; }; }
51728 cat >conftest.$ac_ext <<_ACEOF
51729 /* confdefs.h. */
51730 _ACEOF
51731 cat confdefs.h >>conftest.$ac_ext
51732 cat >>conftest.$ac_ext <<_ACEOF
51733 /* end confdefs.h. */
51734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51736 #define $ac_func innocuous_$ac_func
51738 /* System header to define __stub macros and hopefully few prototypes,
51739 which can conflict with char $ac_func (); below.
51740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51741 <limits.h> exists even on freestanding compilers. */
51743 #ifdef __STDC__
51744 # include <limits.h>
51745 #else
51746 # include <assert.h>
51747 #endif
51749 #undef $ac_func
51751 /* Override any gcc2 internal prototype to avoid an error. */
51752 #ifdef __cplusplus
51753 extern "C"
51755 #endif
51756 /* We use char because int might match the return type of a gcc2
51757 builtin and then its argument prototype would still apply. */
51758 char $ac_func ();
51759 /* The GNU C library defines this for functions which it implements
51760 to always fail with ENOSYS. Some functions are actually named
51761 something starting with __ and the normal name is an alias. */
51762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51763 choke me
51764 #else
51765 char (*f) () = $ac_func;
51766 #endif
51767 #ifdef __cplusplus
51769 #endif
51772 main ()
51774 return f != $ac_func;
51776 return 0;
51778 _ACEOF
51779 rm -f conftest.$ac_objext conftest$ac_exeext
51780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51781 (eval $ac_link) 2>conftest.er1
51782 ac_status=$?
51783 grep -v '^ *+' conftest.er1 >conftest.err
51784 rm -f conftest.er1
51785 cat conftest.err >&5
51786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51787 (exit $ac_status); } &&
51788 { ac_try='test -z "$ac_c_werror_flag"
51789 || test ! -s conftest.err'
51790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51791 (eval $ac_try) 2>&5
51792 ac_status=$?
51793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51794 (exit $ac_status); }; } &&
51795 { ac_try='test -s conftest$ac_exeext'
51796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51797 (eval $ac_try) 2>&5
51798 ac_status=$?
51799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51800 (exit $ac_status); }; }; then
51801 eval "$as_ac_var=yes"
51802 else
51803 echo "$as_me: failed program was:" >&5
51804 sed 's/^/| /' conftest.$ac_ext >&5
51806 eval "$as_ac_var=no"
51808 rm -f conftest.err conftest.$ac_objext \
51809 conftest$ac_exeext conftest.$ac_ext
51811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51813 if test `eval echo '${'$as_ac_var'}'` = yes; then
51814 cat >>confdefs.h <<_ACEOF
51815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51816 _ACEOF
51819 done
51822 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
51823 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
51824 if test x"$has_weof" = xyes &&
51825 test x"$has_wchar_minmax" = xyes &&
51826 test x"$ac_wfuncs" = xyes;
51827 then
51828 ac_isoC99_wchar_t=yes
51829 else
51830 ac_isoC99_wchar_t=no
51832 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
51833 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
51835 # Use iconv for wchar_t to char conversions. As such, check for
51836 # X/Open Portability Guide, version 2 features (XPG2).
51837 if test "${ac_cv_header_iconv_h+set}" = set; then
51838 echo "$as_me:$LINENO: checking for iconv.h" >&5
51839 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51840 if test "${ac_cv_header_iconv_h+set}" = set; then
51841 echo $ECHO_N "(cached) $ECHO_C" >&6
51843 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51844 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51845 else
51846 # Is the header compilable?
51847 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51848 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51849 cat >conftest.$ac_ext <<_ACEOF
51850 /* confdefs.h. */
51851 _ACEOF
51852 cat confdefs.h >>conftest.$ac_ext
51853 cat >>conftest.$ac_ext <<_ACEOF
51854 /* end confdefs.h. */
51855 $ac_includes_default
51856 #include <iconv.h>
51857 _ACEOF
51858 rm -f conftest.$ac_objext
51859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51860 (eval $ac_compile) 2>conftest.er1
51861 ac_status=$?
51862 grep -v '^ *+' conftest.er1 >conftest.err
51863 rm -f conftest.er1
51864 cat conftest.err >&5
51865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51866 (exit $ac_status); } &&
51867 { ac_try='test -z "$ac_c_werror_flag"
51868 || test ! -s conftest.err'
51869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51870 (eval $ac_try) 2>&5
51871 ac_status=$?
51872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51873 (exit $ac_status); }; } &&
51874 { ac_try='test -s conftest.$ac_objext'
51875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51876 (eval $ac_try) 2>&5
51877 ac_status=$?
51878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51879 (exit $ac_status); }; }; then
51880 ac_header_compiler=yes
51881 else
51882 echo "$as_me: failed program was:" >&5
51883 sed 's/^/| /' conftest.$ac_ext >&5
51885 ac_header_compiler=no
51887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51888 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51889 echo "${ECHO_T}$ac_header_compiler" >&6
51891 # Is the header present?
51892 echo "$as_me:$LINENO: checking iconv.h presence" >&5
51893 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
51894 cat >conftest.$ac_ext <<_ACEOF
51895 /* confdefs.h. */
51896 _ACEOF
51897 cat confdefs.h >>conftest.$ac_ext
51898 cat >>conftest.$ac_ext <<_ACEOF
51899 /* end confdefs.h. */
51900 #include <iconv.h>
51901 _ACEOF
51902 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51903 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51904 ac_status=$?
51905 grep -v '^ *+' conftest.er1 >conftest.err
51906 rm -f conftest.er1
51907 cat conftest.err >&5
51908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51909 (exit $ac_status); } >/dev/null; then
51910 if test -s conftest.err; then
51911 ac_cpp_err=$ac_c_preproc_warn_flag
51912 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51913 else
51914 ac_cpp_err=
51916 else
51917 ac_cpp_err=yes
51919 if test -z "$ac_cpp_err"; then
51920 ac_header_preproc=yes
51921 else
51922 echo "$as_me: failed program was:" >&5
51923 sed 's/^/| /' conftest.$ac_ext >&5
51925 ac_header_preproc=no
51927 rm -f conftest.err conftest.$ac_ext
51928 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51929 echo "${ECHO_T}$ac_header_preproc" >&6
51931 # So? What about this header?
51932 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51933 yes:no: )
51934 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
51935 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51936 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
51937 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
51938 ac_header_preproc=yes
51940 no:yes:* )
51941 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
51942 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
51943 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
51944 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
51945 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
51946 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
51947 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
51948 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
51949 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
51950 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
51951 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
51952 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
51954 cat <<\_ASBOX
51955 ## ----------------------------------------- ##
51956 ## Report this to the package-unused lists. ##
51957 ## ----------------------------------------- ##
51958 _ASBOX
51960 sed "s/^/$as_me: WARNING: /" >&2
51962 esac
51963 echo "$as_me:$LINENO: checking for iconv.h" >&5
51964 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51965 if test "${ac_cv_header_iconv_h+set}" = set; then
51966 echo $ECHO_N "(cached) $ECHO_C" >&6
51967 else
51968 ac_cv_header_iconv_h=$ac_header_preproc
51970 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51971 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51974 if test $ac_cv_header_iconv_h = yes; then
51975 ac_has_iconv_h=yes
51976 else
51977 ac_has_iconv_h=no
51981 if test "${ac_cv_header_langinfo_h+set}" = set; then
51982 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51983 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51984 if test "${ac_cv_header_langinfo_h+set}" = set; then
51985 echo $ECHO_N "(cached) $ECHO_C" >&6
51987 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51988 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51989 else
51990 # Is the header compilable?
51991 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
51992 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
51993 cat >conftest.$ac_ext <<_ACEOF
51994 /* confdefs.h. */
51995 _ACEOF
51996 cat confdefs.h >>conftest.$ac_ext
51997 cat >>conftest.$ac_ext <<_ACEOF
51998 /* end confdefs.h. */
51999 $ac_includes_default
52000 #include <langinfo.h>
52001 _ACEOF
52002 rm -f conftest.$ac_objext
52003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52004 (eval $ac_compile) 2>conftest.er1
52005 ac_status=$?
52006 grep -v '^ *+' conftest.er1 >conftest.err
52007 rm -f conftest.er1
52008 cat conftest.err >&5
52009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52010 (exit $ac_status); } &&
52011 { ac_try='test -z "$ac_c_werror_flag"
52012 || test ! -s conftest.err'
52013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52014 (eval $ac_try) 2>&5
52015 ac_status=$?
52016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52017 (exit $ac_status); }; } &&
52018 { ac_try='test -s conftest.$ac_objext'
52019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52020 (eval $ac_try) 2>&5
52021 ac_status=$?
52022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52023 (exit $ac_status); }; }; then
52024 ac_header_compiler=yes
52025 else
52026 echo "$as_me: failed program was:" >&5
52027 sed 's/^/| /' conftest.$ac_ext >&5
52029 ac_header_compiler=no
52031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52032 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52033 echo "${ECHO_T}$ac_header_compiler" >&6
52035 # Is the header present?
52036 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
52037 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
52038 cat >conftest.$ac_ext <<_ACEOF
52039 /* confdefs.h. */
52040 _ACEOF
52041 cat confdefs.h >>conftest.$ac_ext
52042 cat >>conftest.$ac_ext <<_ACEOF
52043 /* end confdefs.h. */
52044 #include <langinfo.h>
52045 _ACEOF
52046 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52047 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52048 ac_status=$?
52049 grep -v '^ *+' conftest.er1 >conftest.err
52050 rm -f conftest.er1
52051 cat conftest.err >&5
52052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52053 (exit $ac_status); } >/dev/null; then
52054 if test -s conftest.err; then
52055 ac_cpp_err=$ac_c_preproc_warn_flag
52056 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52057 else
52058 ac_cpp_err=
52060 else
52061 ac_cpp_err=yes
52063 if test -z "$ac_cpp_err"; then
52064 ac_header_preproc=yes
52065 else
52066 echo "$as_me: failed program was:" >&5
52067 sed 's/^/| /' conftest.$ac_ext >&5
52069 ac_header_preproc=no
52071 rm -f conftest.err conftest.$ac_ext
52072 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52073 echo "${ECHO_T}$ac_header_preproc" >&6
52075 # So? What about this header?
52076 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52077 yes:no: )
52078 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
52079 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52080 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
52081 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
52082 ac_header_preproc=yes
52084 no:yes:* )
52085 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
52086 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
52087 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
52088 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
52089 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
52090 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
52091 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
52092 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
52093 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52094 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52095 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
52096 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
52098 cat <<\_ASBOX
52099 ## ----------------------------------------- ##
52100 ## Report this to the package-unused lists. ##
52101 ## ----------------------------------------- ##
52102 _ASBOX
52104 sed "s/^/$as_me: WARNING: /" >&2
52106 esac
52107 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52108 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52109 if test "${ac_cv_header_langinfo_h+set}" = set; then
52110 echo $ECHO_N "(cached) $ECHO_C" >&6
52111 else
52112 ac_cv_header_langinfo_h=$ac_header_preproc
52114 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52115 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52118 if test $ac_cv_header_langinfo_h = yes; then
52119 ac_has_langinfo_h=yes
52120 else
52121 ac_has_langinfo_h=no
52126 # Check for existence of libiconv.a providing XPG2 wchar_t support.
52127 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52128 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52129 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52130 echo $ECHO_N "(cached) $ECHO_C" >&6
52131 else
52132 ac_check_lib_save_LIBS=$LIBS
52133 LIBS="-liconv $LIBS"
52134 if test x$gcc_no_link = xyes; then
52135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52137 { (exit 1); exit 1; }; }
52139 cat >conftest.$ac_ext <<_ACEOF
52140 /* confdefs.h. */
52141 _ACEOF
52142 cat confdefs.h >>conftest.$ac_ext
52143 cat >>conftest.$ac_ext <<_ACEOF
52144 /* end confdefs.h. */
52146 /* Override any gcc2 internal prototype to avoid an error. */
52147 #ifdef __cplusplus
52148 extern "C"
52149 #endif
52150 /* We use char because int might match the return type of a gcc2
52151 builtin and then its argument prototype would still apply. */
52152 char iconv ();
52154 main ()
52156 iconv ();
52158 return 0;
52160 _ACEOF
52161 rm -f conftest.$ac_objext conftest$ac_exeext
52162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52163 (eval $ac_link) 2>conftest.er1
52164 ac_status=$?
52165 grep -v '^ *+' conftest.er1 >conftest.err
52166 rm -f conftest.er1
52167 cat conftest.err >&5
52168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52169 (exit $ac_status); } &&
52170 { ac_try='test -z "$ac_c_werror_flag"
52171 || test ! -s conftest.err'
52172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52173 (eval $ac_try) 2>&5
52174 ac_status=$?
52175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52176 (exit $ac_status); }; } &&
52177 { ac_try='test -s conftest$ac_exeext'
52178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52179 (eval $ac_try) 2>&5
52180 ac_status=$?
52181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52182 (exit $ac_status); }; }; then
52183 ac_cv_lib_iconv_iconv=yes
52184 else
52185 echo "$as_me: failed program was:" >&5
52186 sed 's/^/| /' conftest.$ac_ext >&5
52188 ac_cv_lib_iconv_iconv=no
52190 rm -f conftest.err conftest.$ac_objext \
52191 conftest$ac_exeext conftest.$ac_ext
52192 LIBS=$ac_check_lib_save_LIBS
52194 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52195 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52196 if test $ac_cv_lib_iconv_iconv = yes; then
52197 libiconv="-liconv"
52200 ac_save_LIBS="$LIBS"
52201 LIBS="$LIBS $libiconv"
52207 for ac_func in iconv_open iconv_close iconv nl_langinfo
52209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52210 echo "$as_me:$LINENO: checking for $ac_func" >&5
52211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52212 if eval "test \"\${$as_ac_var+set}\" = set"; then
52213 echo $ECHO_N "(cached) $ECHO_C" >&6
52214 else
52215 if test x$gcc_no_link = xyes; then
52216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52218 { (exit 1); exit 1; }; }
52220 cat >conftest.$ac_ext <<_ACEOF
52221 /* confdefs.h. */
52222 _ACEOF
52223 cat confdefs.h >>conftest.$ac_ext
52224 cat >>conftest.$ac_ext <<_ACEOF
52225 /* end confdefs.h. */
52226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52228 #define $ac_func innocuous_$ac_func
52230 /* System header to define __stub macros and hopefully few prototypes,
52231 which can conflict with char $ac_func (); below.
52232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52233 <limits.h> exists even on freestanding compilers. */
52235 #ifdef __STDC__
52236 # include <limits.h>
52237 #else
52238 # include <assert.h>
52239 #endif
52241 #undef $ac_func
52243 /* Override any gcc2 internal prototype to avoid an error. */
52244 #ifdef __cplusplus
52245 extern "C"
52247 #endif
52248 /* We use char because int might match the return type of a gcc2
52249 builtin and then its argument prototype would still apply. */
52250 char $ac_func ();
52251 /* The GNU C library defines this for functions which it implements
52252 to always fail with ENOSYS. Some functions are actually named
52253 something starting with __ and the normal name is an alias. */
52254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52255 choke me
52256 #else
52257 char (*f) () = $ac_func;
52258 #endif
52259 #ifdef __cplusplus
52261 #endif
52264 main ()
52266 return f != $ac_func;
52268 return 0;
52270 _ACEOF
52271 rm -f conftest.$ac_objext conftest$ac_exeext
52272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52273 (eval $ac_link) 2>conftest.er1
52274 ac_status=$?
52275 grep -v '^ *+' conftest.er1 >conftest.err
52276 rm -f conftest.er1
52277 cat conftest.err >&5
52278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52279 (exit $ac_status); } &&
52280 { ac_try='test -z "$ac_c_werror_flag"
52281 || test ! -s conftest.err'
52282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52283 (eval $ac_try) 2>&5
52284 ac_status=$?
52285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52286 (exit $ac_status); }; } &&
52287 { ac_try='test -s conftest$ac_exeext'
52288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52289 (eval $ac_try) 2>&5
52290 ac_status=$?
52291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52292 (exit $ac_status); }; }; then
52293 eval "$as_ac_var=yes"
52294 else
52295 echo "$as_me: failed program was:" >&5
52296 sed 's/^/| /' conftest.$ac_ext >&5
52298 eval "$as_ac_var=no"
52300 rm -f conftest.err conftest.$ac_objext \
52301 conftest$ac_exeext conftest.$ac_ext
52303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52305 if test `eval echo '${'$as_ac_var'}'` = yes; then
52306 cat >>confdefs.h <<_ACEOF
52307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52308 _ACEOF
52309 ac_XPG2funcs=yes
52310 else
52311 ac_XPG2funcs=no
52313 done
52316 LIBS="$ac_save_LIBS"
52318 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
52319 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
52320 if test x"$ac_has_iconv_h" = xyes &&
52321 test x"$ac_has_langinfo_h" = xyes &&
52322 test x"$ac_XPG2funcs" = xyes;
52323 then
52324 ac_XPG2_wchar_t=yes
52325 else
52326 ac_XPG2_wchar_t=no
52328 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
52329 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
52331 # At the moment, only enable wchar_t specializations if all the
52332 # above support is present.
52333 if test x"$ac_isoC99_wchar_t" = xyes &&
52334 test x"$ac_XPG2_wchar_t" = xyes;
52335 then
52336 cat >>confdefs.h <<\_ACEOF
52337 #define _GLIBCXX_USE_WCHAR_T 1
52338 _ACEOF
52340 enable_wchar_t=yes
52343 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
52344 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
52345 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
52346 echo "${ECHO_T}$enable_wchar_t" >&6
52349 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52350 ac_save_CXXFLAGS="$CXXFLAGS"
52351 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52354 echo "$as_me:$LINENO: checking for strtold declaration" >&5
52355 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
52356 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52357 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
52358 echo $ECHO_N "(cached) $ECHO_C" >&6
52359 else
52363 ac_ext=cc
52364 ac_cpp='$CXXCPP $CPPFLAGS'
52365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52369 cat >conftest.$ac_ext <<_ACEOF
52370 /* confdefs.h. */
52371 _ACEOF
52372 cat confdefs.h >>conftest.$ac_ext
52373 cat >>conftest.$ac_ext <<_ACEOF
52374 /* end confdefs.h. */
52375 #include <stdlib.h>
52377 main ()
52379 strtold(0, 0);
52381 return 0;
52383 _ACEOF
52384 rm -f conftest.$ac_objext
52385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52386 (eval $ac_compile) 2>conftest.er1
52387 ac_status=$?
52388 grep -v '^ *+' conftest.er1 >conftest.err
52389 rm -f conftest.er1
52390 cat conftest.err >&5
52391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52392 (exit $ac_status); } &&
52393 { ac_try='test -z "$ac_cxx_werror_flag"
52394 || test ! -s conftest.err'
52395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52396 (eval $ac_try) 2>&5
52397 ac_status=$?
52398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52399 (exit $ac_status); }; } &&
52400 { ac_try='test -s conftest.$ac_objext'
52401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52402 (eval $ac_try) 2>&5
52403 ac_status=$?
52404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52405 (exit $ac_status); }; }; then
52406 glibcxx_cv_func_strtold_use=yes
52407 else
52408 echo "$as_me: failed program was:" >&5
52409 sed 's/^/| /' conftest.$ac_ext >&5
52411 glibcxx_cv_func_strtold_use=no
52413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52414 ac_ext=c
52415 ac_cpp='$CPP $CPPFLAGS'
52416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52424 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
52425 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
52426 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52428 for ac_func in strtold
52430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52431 echo "$as_me:$LINENO: checking for $ac_func" >&5
52432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52433 if eval "test \"\${$as_ac_var+set}\" = set"; then
52434 echo $ECHO_N "(cached) $ECHO_C" >&6
52435 else
52436 if test x$gcc_no_link = xyes; then
52437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52439 { (exit 1); exit 1; }; }
52441 cat >conftest.$ac_ext <<_ACEOF
52442 /* confdefs.h. */
52443 _ACEOF
52444 cat confdefs.h >>conftest.$ac_ext
52445 cat >>conftest.$ac_ext <<_ACEOF
52446 /* end confdefs.h. */
52447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52449 #define $ac_func innocuous_$ac_func
52451 /* System header to define __stub macros and hopefully few prototypes,
52452 which can conflict with char $ac_func (); below.
52453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52454 <limits.h> exists even on freestanding compilers. */
52456 #ifdef __STDC__
52457 # include <limits.h>
52458 #else
52459 # include <assert.h>
52460 #endif
52462 #undef $ac_func
52464 /* Override any gcc2 internal prototype to avoid an error. */
52465 #ifdef __cplusplus
52466 extern "C"
52468 #endif
52469 /* We use char because int might match the return type of a gcc2
52470 builtin and then its argument prototype would still apply. */
52471 char $ac_func ();
52472 /* The GNU C library defines this for functions which it implements
52473 to always fail with ENOSYS. Some functions are actually named
52474 something starting with __ and the normal name is an alias. */
52475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52476 choke me
52477 #else
52478 char (*f) () = $ac_func;
52479 #endif
52480 #ifdef __cplusplus
52482 #endif
52485 main ()
52487 return f != $ac_func;
52489 return 0;
52491 _ACEOF
52492 rm -f conftest.$ac_objext conftest$ac_exeext
52493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52494 (eval $ac_link) 2>conftest.er1
52495 ac_status=$?
52496 grep -v '^ *+' conftest.er1 >conftest.err
52497 rm -f conftest.er1
52498 cat conftest.err >&5
52499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52500 (exit $ac_status); } &&
52501 { ac_try='test -z "$ac_c_werror_flag"
52502 || test ! -s conftest.err'
52503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52504 (eval $ac_try) 2>&5
52505 ac_status=$?
52506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52507 (exit $ac_status); }; } &&
52508 { ac_try='test -s conftest$ac_exeext'
52509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52510 (eval $ac_try) 2>&5
52511 ac_status=$?
52512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52513 (exit $ac_status); }; }; then
52514 eval "$as_ac_var=yes"
52515 else
52516 echo "$as_me: failed program was:" >&5
52517 sed 's/^/| /' conftest.$ac_ext >&5
52519 eval "$as_ac_var=no"
52521 rm -f conftest.err conftest.$ac_objext \
52522 conftest$ac_exeext conftest.$ac_ext
52524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52526 if test `eval echo '${'$as_ac_var'}'` = yes; then
52527 cat >>confdefs.h <<_ACEOF
52528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52529 _ACEOF
52532 done
52537 echo "$as_me:$LINENO: checking for strtof declaration" >&5
52538 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
52539 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52540 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
52541 echo $ECHO_N "(cached) $ECHO_C" >&6
52542 else
52546 ac_ext=cc
52547 ac_cpp='$CXXCPP $CPPFLAGS'
52548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52552 cat >conftest.$ac_ext <<_ACEOF
52553 /* confdefs.h. */
52554 _ACEOF
52555 cat confdefs.h >>conftest.$ac_ext
52556 cat >>conftest.$ac_ext <<_ACEOF
52557 /* end confdefs.h. */
52558 #include <stdlib.h>
52560 main ()
52562 strtof(0, 0);
52564 return 0;
52566 _ACEOF
52567 rm -f conftest.$ac_objext
52568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52569 (eval $ac_compile) 2>conftest.er1
52570 ac_status=$?
52571 grep -v '^ *+' conftest.er1 >conftest.err
52572 rm -f conftest.er1
52573 cat conftest.err >&5
52574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52575 (exit $ac_status); } &&
52576 { ac_try='test -z "$ac_cxx_werror_flag"
52577 || test ! -s conftest.err'
52578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52579 (eval $ac_try) 2>&5
52580 ac_status=$?
52581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52582 (exit $ac_status); }; } &&
52583 { ac_try='test -s conftest.$ac_objext'
52584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52585 (eval $ac_try) 2>&5
52586 ac_status=$?
52587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52588 (exit $ac_status); }; }; then
52589 glibcxx_cv_func_strtof_use=yes
52590 else
52591 echo "$as_me: failed program was:" >&5
52592 sed 's/^/| /' conftest.$ac_ext >&5
52594 glibcxx_cv_func_strtof_use=no
52596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52597 ac_ext=c
52598 ac_cpp='$CPP $CPPFLAGS'
52599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52607 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
52608 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
52609 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52611 for ac_func in strtof
52613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52614 echo "$as_me:$LINENO: checking for $ac_func" >&5
52615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52616 if eval "test \"\${$as_ac_var+set}\" = set"; then
52617 echo $ECHO_N "(cached) $ECHO_C" >&6
52618 else
52619 if test x$gcc_no_link = xyes; then
52620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52622 { (exit 1); exit 1; }; }
52624 cat >conftest.$ac_ext <<_ACEOF
52625 /* confdefs.h. */
52626 _ACEOF
52627 cat confdefs.h >>conftest.$ac_ext
52628 cat >>conftest.$ac_ext <<_ACEOF
52629 /* end confdefs.h. */
52630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52632 #define $ac_func innocuous_$ac_func
52634 /* System header to define __stub macros and hopefully few prototypes,
52635 which can conflict with char $ac_func (); below.
52636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52637 <limits.h> exists even on freestanding compilers. */
52639 #ifdef __STDC__
52640 # include <limits.h>
52641 #else
52642 # include <assert.h>
52643 #endif
52645 #undef $ac_func
52647 /* Override any gcc2 internal prototype to avoid an error. */
52648 #ifdef __cplusplus
52649 extern "C"
52651 #endif
52652 /* We use char because int might match the return type of a gcc2
52653 builtin and then its argument prototype would still apply. */
52654 char $ac_func ();
52655 /* The GNU C library defines this for functions which it implements
52656 to always fail with ENOSYS. Some functions are actually named
52657 something starting with __ and the normal name is an alias. */
52658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52659 choke me
52660 #else
52661 char (*f) () = $ac_func;
52662 #endif
52663 #ifdef __cplusplus
52665 #endif
52668 main ()
52670 return f != $ac_func;
52672 return 0;
52674 _ACEOF
52675 rm -f conftest.$ac_objext conftest$ac_exeext
52676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52677 (eval $ac_link) 2>conftest.er1
52678 ac_status=$?
52679 grep -v '^ *+' conftest.er1 >conftest.err
52680 rm -f conftest.er1
52681 cat conftest.err >&5
52682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52683 (exit $ac_status); } &&
52684 { ac_try='test -z "$ac_c_werror_flag"
52685 || test ! -s conftest.err'
52686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52687 (eval $ac_try) 2>&5
52688 ac_status=$?
52689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52690 (exit $ac_status); }; } &&
52691 { ac_try='test -s conftest$ac_exeext'
52692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52693 (eval $ac_try) 2>&5
52694 ac_status=$?
52695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52696 (exit $ac_status); }; }; then
52697 eval "$as_ac_var=yes"
52698 else
52699 echo "$as_me: failed program was:" >&5
52700 sed 's/^/| /' conftest.$ac_ext >&5
52702 eval "$as_ac_var=no"
52704 rm -f conftest.err conftest.$ac_objext \
52705 conftest$ac_exeext conftest.$ac_ext
52707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52709 if test `eval echo '${'$as_ac_var'}'` = yes; then
52710 cat >>confdefs.h <<_ACEOF
52711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52712 _ACEOF
52715 done
52720 CXXFLAGS="$ac_save_CXXFLAGS"
52723 # For showmanyc_helper().
52726 for ac_header in sys/ioctl.h sys/filio.h
52728 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52730 echo "$as_me:$LINENO: checking for $ac_header" >&5
52731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52733 echo $ECHO_N "(cached) $ECHO_C" >&6
52735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52736 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52737 else
52738 # Is the header compilable?
52739 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52740 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52741 cat >conftest.$ac_ext <<_ACEOF
52742 /* confdefs.h. */
52743 _ACEOF
52744 cat confdefs.h >>conftest.$ac_ext
52745 cat >>conftest.$ac_ext <<_ACEOF
52746 /* end confdefs.h. */
52747 $ac_includes_default
52748 #include <$ac_header>
52749 _ACEOF
52750 rm -f conftest.$ac_objext
52751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52752 (eval $ac_compile) 2>conftest.er1
52753 ac_status=$?
52754 grep -v '^ *+' conftest.er1 >conftest.err
52755 rm -f conftest.er1
52756 cat conftest.err >&5
52757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52758 (exit $ac_status); } &&
52759 { ac_try='test -z "$ac_c_werror_flag"
52760 || test ! -s conftest.err'
52761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52762 (eval $ac_try) 2>&5
52763 ac_status=$?
52764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52765 (exit $ac_status); }; } &&
52766 { ac_try='test -s conftest.$ac_objext'
52767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52768 (eval $ac_try) 2>&5
52769 ac_status=$?
52770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52771 (exit $ac_status); }; }; then
52772 ac_header_compiler=yes
52773 else
52774 echo "$as_me: failed program was:" >&5
52775 sed 's/^/| /' conftest.$ac_ext >&5
52777 ac_header_compiler=no
52779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52780 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52781 echo "${ECHO_T}$ac_header_compiler" >&6
52783 # Is the header present?
52784 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52785 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52786 cat >conftest.$ac_ext <<_ACEOF
52787 /* confdefs.h. */
52788 _ACEOF
52789 cat confdefs.h >>conftest.$ac_ext
52790 cat >>conftest.$ac_ext <<_ACEOF
52791 /* end confdefs.h. */
52792 #include <$ac_header>
52793 _ACEOF
52794 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52795 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52796 ac_status=$?
52797 grep -v '^ *+' conftest.er1 >conftest.err
52798 rm -f conftest.er1
52799 cat conftest.err >&5
52800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52801 (exit $ac_status); } >/dev/null; then
52802 if test -s conftest.err; then
52803 ac_cpp_err=$ac_c_preproc_warn_flag
52804 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52805 else
52806 ac_cpp_err=
52808 else
52809 ac_cpp_err=yes
52811 if test -z "$ac_cpp_err"; then
52812 ac_header_preproc=yes
52813 else
52814 echo "$as_me: failed program was:" >&5
52815 sed 's/^/| /' conftest.$ac_ext >&5
52817 ac_header_preproc=no
52819 rm -f conftest.err conftest.$ac_ext
52820 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52821 echo "${ECHO_T}$ac_header_preproc" >&6
52823 # So? What about this header?
52824 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52825 yes:no: )
52826 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52827 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52829 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52830 ac_header_preproc=yes
52832 no:yes:* )
52833 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52834 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52835 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52836 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52837 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52838 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52839 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52840 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52842 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52843 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52844 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52846 cat <<\_ASBOX
52847 ## ----------------------------------------- ##
52848 ## Report this to the package-unused lists. ##
52849 ## ----------------------------------------- ##
52850 _ASBOX
52852 sed "s/^/$as_me: WARNING: /" >&2
52854 esac
52855 echo "$as_me:$LINENO: checking for $ac_header" >&5
52856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52858 echo $ECHO_N "(cached) $ECHO_C" >&6
52859 else
52860 eval "$as_ac_Header=\$ac_header_preproc"
52862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52863 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52866 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52867 cat >>confdefs.h <<_ACEOF
52868 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52869 _ACEOF
52873 done
52876 if test "${glibcxx_cv_POLL+set}" = set; then
52877 echo $ECHO_N "(cached) $ECHO_C" >&6
52878 else
52880 if test x$gcc_no_link = xyes; then
52881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52883 { (exit 1); exit 1; }; }
52885 cat >conftest.$ac_ext <<_ACEOF
52886 /* confdefs.h. */
52887 _ACEOF
52888 cat confdefs.h >>conftest.$ac_ext
52889 cat >>conftest.$ac_ext <<_ACEOF
52890 /* end confdefs.h. */
52891 #include <poll.h>
52893 main ()
52895 struct pollfd pfd[1];
52896 pfd[0].events = POLLIN;
52897 poll(pfd, 1, 0);
52899 return 0;
52901 _ACEOF
52902 rm -f conftest.$ac_objext conftest$ac_exeext
52903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52904 (eval $ac_link) 2>conftest.er1
52905 ac_status=$?
52906 grep -v '^ *+' conftest.er1 >conftest.err
52907 rm -f conftest.er1
52908 cat conftest.err >&5
52909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52910 (exit $ac_status); } &&
52911 { ac_try='test -z "$ac_c_werror_flag"
52912 || test ! -s conftest.err'
52913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52914 (eval $ac_try) 2>&5
52915 ac_status=$?
52916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52917 (exit $ac_status); }; } &&
52918 { ac_try='test -s conftest$ac_exeext'
52919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52920 (eval $ac_try) 2>&5
52921 ac_status=$?
52922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52923 (exit $ac_status); }; }; then
52924 glibcxx_cv_POLL=yes
52925 else
52926 echo "$as_me: failed program was:" >&5
52927 sed 's/^/| /' conftest.$ac_ext >&5
52929 glibcxx_cv_POLL=no
52931 rm -f conftest.err conftest.$ac_objext \
52932 conftest$ac_exeext conftest.$ac_ext
52936 if test $glibcxx_cv_POLL = yes; then
52937 cat >>confdefs.h <<\_ACEOF
52938 #define HAVE_POLL 1
52939 _ACEOF
52944 if test "${glibcxx_cv_S_ISREG+set}" = set; then
52945 echo $ECHO_N "(cached) $ECHO_C" >&6
52946 else
52948 if test x$gcc_no_link = xyes; then
52949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52951 { (exit 1); exit 1; }; }
52953 cat >conftest.$ac_ext <<_ACEOF
52954 /* confdefs.h. */
52955 _ACEOF
52956 cat confdefs.h >>conftest.$ac_ext
52957 cat >>conftest.$ac_ext <<_ACEOF
52958 /* end confdefs.h. */
52959 #include <sys/stat.h>
52961 main ()
52963 struct stat buffer;
52964 fstat(0, &buffer);
52965 S_ISREG(buffer.st_mode);
52967 return 0;
52969 _ACEOF
52970 rm -f conftest.$ac_objext conftest$ac_exeext
52971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52972 (eval $ac_link) 2>conftest.er1
52973 ac_status=$?
52974 grep -v '^ *+' conftest.er1 >conftest.err
52975 rm -f conftest.er1
52976 cat conftest.err >&5
52977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52978 (exit $ac_status); } &&
52979 { ac_try='test -z "$ac_c_werror_flag"
52980 || test ! -s conftest.err'
52981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52982 (eval $ac_try) 2>&5
52983 ac_status=$?
52984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52985 (exit $ac_status); }; } &&
52986 { ac_try='test -s conftest$ac_exeext'
52987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52988 (eval $ac_try) 2>&5
52989 ac_status=$?
52990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52991 (exit $ac_status); }; }; then
52992 glibcxx_cv_S_ISREG=yes
52993 else
52994 echo "$as_me: failed program was:" >&5
52995 sed 's/^/| /' conftest.$ac_ext >&5
52997 glibcxx_cv_S_ISREG=no
52999 rm -f conftest.err conftest.$ac_objext \
53000 conftest$ac_exeext conftest.$ac_ext
53004 if test "${glibcxx_cv_S_IFREG+set}" = set; then
53005 echo $ECHO_N "(cached) $ECHO_C" >&6
53006 else
53008 if test x$gcc_no_link = xyes; then
53009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53011 { (exit 1); exit 1; }; }
53013 cat >conftest.$ac_ext <<_ACEOF
53014 /* confdefs.h. */
53015 _ACEOF
53016 cat confdefs.h >>conftest.$ac_ext
53017 cat >>conftest.$ac_ext <<_ACEOF
53018 /* end confdefs.h. */
53019 #include <sys/stat.h>
53021 main ()
53023 struct stat buffer;
53024 fstat(0, &buffer);
53025 S_IFREG & buffer.st_mode;
53027 return 0;
53029 _ACEOF
53030 rm -f conftest.$ac_objext conftest$ac_exeext
53031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53032 (eval $ac_link) 2>conftest.er1
53033 ac_status=$?
53034 grep -v '^ *+' conftest.er1 >conftest.err
53035 rm -f conftest.er1
53036 cat conftest.err >&5
53037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53038 (exit $ac_status); } &&
53039 { ac_try='test -z "$ac_c_werror_flag"
53040 || test ! -s conftest.err'
53041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53042 (eval $ac_try) 2>&5
53043 ac_status=$?
53044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53045 (exit $ac_status); }; } &&
53046 { ac_try='test -s conftest$ac_exeext'
53047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53048 (eval $ac_try) 2>&5
53049 ac_status=$?
53050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53051 (exit $ac_status); }; }; then
53052 glibcxx_cv_S_IFREG=yes
53053 else
53054 echo "$as_me: failed program was:" >&5
53055 sed 's/^/| /' conftest.$ac_ext >&5
53057 glibcxx_cv_S_IFREG=no
53059 rm -f conftest.err conftest.$ac_objext \
53060 conftest$ac_exeext conftest.$ac_ext
53064 if test $glibcxx_cv_S_ISREG = yes; then
53065 cat >>confdefs.h <<\_ACEOF
53066 #define HAVE_S_ISREG 1
53067 _ACEOF
53069 elif test $glibcxx_cv_S_IFREG = yes; then
53070 cat >>confdefs.h <<\_ACEOF
53071 #define HAVE_S_IFREG 1
53072 _ACEOF
53077 # For xsputn_2().
53079 for ac_header in sys/uio.h
53081 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53083 echo "$as_me:$LINENO: checking for $ac_header" >&5
53084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53086 echo $ECHO_N "(cached) $ECHO_C" >&6
53088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53090 else
53091 # Is the header compilable?
53092 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53093 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53094 cat >conftest.$ac_ext <<_ACEOF
53095 /* confdefs.h. */
53096 _ACEOF
53097 cat confdefs.h >>conftest.$ac_ext
53098 cat >>conftest.$ac_ext <<_ACEOF
53099 /* end confdefs.h. */
53100 $ac_includes_default
53101 #include <$ac_header>
53102 _ACEOF
53103 rm -f conftest.$ac_objext
53104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53105 (eval $ac_compile) 2>conftest.er1
53106 ac_status=$?
53107 grep -v '^ *+' conftest.er1 >conftest.err
53108 rm -f conftest.er1
53109 cat conftest.err >&5
53110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53111 (exit $ac_status); } &&
53112 { ac_try='test -z "$ac_c_werror_flag"
53113 || test ! -s conftest.err'
53114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53115 (eval $ac_try) 2>&5
53116 ac_status=$?
53117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53118 (exit $ac_status); }; } &&
53119 { ac_try='test -s conftest.$ac_objext'
53120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53121 (eval $ac_try) 2>&5
53122 ac_status=$?
53123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53124 (exit $ac_status); }; }; then
53125 ac_header_compiler=yes
53126 else
53127 echo "$as_me: failed program was:" >&5
53128 sed 's/^/| /' conftest.$ac_ext >&5
53130 ac_header_compiler=no
53132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53133 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53134 echo "${ECHO_T}$ac_header_compiler" >&6
53136 # Is the header present?
53137 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53138 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53139 cat >conftest.$ac_ext <<_ACEOF
53140 /* confdefs.h. */
53141 _ACEOF
53142 cat confdefs.h >>conftest.$ac_ext
53143 cat >>conftest.$ac_ext <<_ACEOF
53144 /* end confdefs.h. */
53145 #include <$ac_header>
53146 _ACEOF
53147 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53148 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53149 ac_status=$?
53150 grep -v '^ *+' conftest.er1 >conftest.err
53151 rm -f conftest.er1
53152 cat conftest.err >&5
53153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53154 (exit $ac_status); } >/dev/null; then
53155 if test -s conftest.err; then
53156 ac_cpp_err=$ac_c_preproc_warn_flag
53157 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53158 else
53159 ac_cpp_err=
53161 else
53162 ac_cpp_err=yes
53164 if test -z "$ac_cpp_err"; then
53165 ac_header_preproc=yes
53166 else
53167 echo "$as_me: failed program was:" >&5
53168 sed 's/^/| /' conftest.$ac_ext >&5
53170 ac_header_preproc=no
53172 rm -f conftest.err conftest.$ac_ext
53173 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53174 echo "${ECHO_T}$ac_header_preproc" >&6
53176 # So? What about this header?
53177 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53178 yes:no: )
53179 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53180 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53182 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53183 ac_header_preproc=yes
53185 no:yes:* )
53186 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53187 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53188 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53189 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53190 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53191 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53192 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53193 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53195 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53196 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53197 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53199 cat <<\_ASBOX
53200 ## ----------------------------------------- ##
53201 ## Report this to the package-unused lists. ##
53202 ## ----------------------------------------- ##
53203 _ASBOX
53205 sed "s/^/$as_me: WARNING: /" >&2
53207 esac
53208 echo "$as_me:$LINENO: checking for $ac_header" >&5
53209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53211 echo $ECHO_N "(cached) $ECHO_C" >&6
53212 else
53213 eval "$as_ac_Header=\$ac_header_preproc"
53215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53220 cat >>confdefs.h <<_ACEOF
53221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53222 _ACEOF
53226 done
53229 if test "${glibcxx_cv_WRITEV+set}" = set; then
53230 echo $ECHO_N "(cached) $ECHO_C" >&6
53231 else
53233 if test x$gcc_no_link = xyes; then
53234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53236 { (exit 1); exit 1; }; }
53238 cat >conftest.$ac_ext <<_ACEOF
53239 /* confdefs.h. */
53240 _ACEOF
53241 cat confdefs.h >>conftest.$ac_ext
53242 cat >>conftest.$ac_ext <<_ACEOF
53243 /* end confdefs.h. */
53244 #include <sys/uio.h>
53246 main ()
53248 struct iovec iov[2];
53249 writev(0, iov, 0);
53251 return 0;
53253 _ACEOF
53254 rm -f conftest.$ac_objext conftest$ac_exeext
53255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53256 (eval $ac_link) 2>conftest.er1
53257 ac_status=$?
53258 grep -v '^ *+' conftest.er1 >conftest.err
53259 rm -f conftest.er1
53260 cat conftest.err >&5
53261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53262 (exit $ac_status); } &&
53263 { ac_try='test -z "$ac_c_werror_flag"
53264 || test ! -s conftest.err'
53265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53266 (eval $ac_try) 2>&5
53267 ac_status=$?
53268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53269 (exit $ac_status); }; } &&
53270 { ac_try='test -s conftest$ac_exeext'
53271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53272 (eval $ac_try) 2>&5
53273 ac_status=$?
53274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53275 (exit $ac_status); }; }; then
53276 glibcxx_cv_WRITEV=yes
53277 else
53278 echo "$as_me: failed program was:" >&5
53279 sed 's/^/| /' conftest.$ac_ext >&5
53281 glibcxx_cv_WRITEV=no
53283 rm -f conftest.err conftest.$ac_objext \
53284 conftest$ac_exeext conftest.$ac_ext
53288 if test $glibcxx_cv_WRITEV = yes; then
53289 cat >>confdefs.h <<\_ACEOF
53290 #define HAVE_WRITEV 1
53291 _ACEOF
53296 cat >>confdefs.h <<\_ACEOF
53297 #define HAVE_LC_MESSAGES 1
53298 _ACEOF
53301 cat >conftest.$ac_ext <<_ACEOF
53302 /* confdefs.h. */
53303 _ACEOF
53304 cat confdefs.h >>conftest.$ac_ext
53305 cat >>conftest.$ac_ext <<_ACEOF
53306 /* end confdefs.h. */
53307 #include <setjmp.h>
53309 main ()
53311 sigjmp_buf env;
53312 while (! sigsetjmp (env, 1))
53313 siglongjmp (env, 1);
53316 return 0;
53318 _ACEOF
53319 rm -f conftest.$ac_objext
53320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53321 (eval $ac_compile) 2>conftest.er1
53322 ac_status=$?
53323 grep -v '^ *+' conftest.er1 >conftest.err
53324 rm -f conftest.er1
53325 cat conftest.err >&5
53326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53327 (exit $ac_status); } &&
53328 { ac_try='test -z "$ac_c_werror_flag"
53329 || test ! -s conftest.err'
53330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53331 (eval $ac_try) 2>&5
53332 ac_status=$?
53333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53334 (exit $ac_status); }; } &&
53335 { ac_try='test -s conftest.$ac_objext'
53336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53337 (eval $ac_try) 2>&5
53338 ac_status=$?
53339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53340 (exit $ac_status); }; }; then
53342 cat >>confdefs.h <<\_ACEOF
53343 #define HAVE_SIGSETJMP 1
53344 _ACEOF
53346 else
53347 echo "$as_me: failed program was:" >&5
53348 sed 's/^/| /' conftest.$ac_ext >&5
53351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53353 cat >>confdefs.h <<\_ACEOF
53354 #define HAVE_MMAP 1
53355 _ACEOF
53359 *-freebsd*)
53376 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
53377 machine/endian.h machine/param.h sys/machine.h sys/types.h \
53378 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
53379 sys/time.h unistd.h
53381 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53382 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53383 echo "$as_me:$LINENO: checking for $ac_header" >&5
53384 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53385 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53386 echo $ECHO_N "(cached) $ECHO_C" >&6
53388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53389 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53390 else
53391 # Is the header compilable?
53392 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53393 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53394 cat >conftest.$ac_ext <<_ACEOF
53395 /* confdefs.h. */
53396 _ACEOF
53397 cat confdefs.h >>conftest.$ac_ext
53398 cat >>conftest.$ac_ext <<_ACEOF
53399 /* end confdefs.h. */
53400 $ac_includes_default
53401 #include <$ac_header>
53402 _ACEOF
53403 rm -f conftest.$ac_objext
53404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53405 (eval $ac_compile) 2>conftest.er1
53406 ac_status=$?
53407 grep -v '^ *+' conftest.er1 >conftest.err
53408 rm -f conftest.er1
53409 cat conftest.err >&5
53410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53411 (exit $ac_status); } &&
53412 { ac_try='test -z "$ac_c_werror_flag"
53413 || test ! -s conftest.err'
53414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53415 (eval $ac_try) 2>&5
53416 ac_status=$?
53417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53418 (exit $ac_status); }; } &&
53419 { ac_try='test -s conftest.$ac_objext'
53420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53421 (eval $ac_try) 2>&5
53422 ac_status=$?
53423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53424 (exit $ac_status); }; }; then
53425 ac_header_compiler=yes
53426 else
53427 echo "$as_me: failed program was:" >&5
53428 sed 's/^/| /' conftest.$ac_ext >&5
53430 ac_header_compiler=no
53432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53433 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53434 echo "${ECHO_T}$ac_header_compiler" >&6
53436 # Is the header present?
53437 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53438 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53439 cat >conftest.$ac_ext <<_ACEOF
53440 /* confdefs.h. */
53441 _ACEOF
53442 cat confdefs.h >>conftest.$ac_ext
53443 cat >>conftest.$ac_ext <<_ACEOF
53444 /* end confdefs.h. */
53445 #include <$ac_header>
53446 _ACEOF
53447 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53448 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53449 ac_status=$?
53450 grep -v '^ *+' conftest.er1 >conftest.err
53451 rm -f conftest.er1
53452 cat conftest.err >&5
53453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53454 (exit $ac_status); } >/dev/null; then
53455 if test -s conftest.err; then
53456 ac_cpp_err=$ac_c_preproc_warn_flag
53457 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53458 else
53459 ac_cpp_err=
53461 else
53462 ac_cpp_err=yes
53464 if test -z "$ac_cpp_err"; then
53465 ac_header_preproc=yes
53466 else
53467 echo "$as_me: failed program was:" >&5
53468 sed 's/^/| /' conftest.$ac_ext >&5
53470 ac_header_preproc=no
53472 rm -f conftest.err conftest.$ac_ext
53473 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53474 echo "${ECHO_T}$ac_header_preproc" >&6
53476 # So? What about this header?
53477 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53478 yes:no: )
53479 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53480 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53482 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53483 ac_header_preproc=yes
53485 no:yes:* )
53486 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53487 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53488 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53489 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53490 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53491 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53492 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53493 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53495 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53496 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53497 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53499 cat <<\_ASBOX
53500 ## ----------------------------------------- ##
53501 ## Report this to the package-unused lists. ##
53502 ## ----------------------------------------- ##
53503 _ASBOX
53505 sed "s/^/$as_me: WARNING: /" >&2
53507 esac
53508 echo "$as_me:$LINENO: checking for $ac_header" >&5
53509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53511 echo $ECHO_N "(cached) $ECHO_C" >&6
53512 else
53513 eval "$as_ac_Header=\$ac_header_preproc"
53515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53516 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53519 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53520 cat >>confdefs.h <<_ACEOF
53521 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53522 _ACEOF
53526 done
53528 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53531 # If we're not using GNU ld, then there's no point in even trying these
53532 # tests. Check for that first. We should have already tested for gld
53533 # by now (in libtool), but require it now just to be safe...
53534 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53535 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53539 # The name set by libtool depends on the version of libtool. Shame on us
53540 # for depending on an impl detail, but c'est la vie. Older versions used
53541 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53542 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53543 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53544 # set (hence we're using an older libtool), then set it.
53545 if test x${with_gnu_ld+set} != xset; then
53546 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53547 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53548 with_gnu_ld=no
53549 else
53550 with_gnu_ld=$ac_cv_prog_gnu_ld
53554 # Start by getting the version number. I think the libtool test already
53555 # does some of this, but throws away the result.
53557 ldver=`$LD --version 2>/dev/null | head -1 | \
53558 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53560 glibcxx_gnu_ld_version=`echo $ldver | \
53561 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53563 # Set --gc-sections.
53564 if test "$with_gnu_ld" = "notbroken"; then
53565 # GNU ld it is! Joy and bunny rabbits!
53567 # All these tests are for C++; save the language and the compiler flags.
53568 # Need to do this so that g++ won't try to link in libstdc++
53569 ac_test_CFLAGS="${CFLAGS+set}"
53570 ac_save_CFLAGS="$CFLAGS"
53571 CFLAGS='-x c++ -Wl,--gc-sections'
53573 # Check for -Wl,--gc-sections
53574 # XXX This test is broken at the moment, as symbols required for linking
53575 # are now in libsupc++ (not built yet). In addition, this test has
53576 # cored on solaris in the past. In addition, --gc-sections doesn't
53577 # really work at the moment (keeps on discarding used sections, first
53578 # .eh_frame and now some of the glibc sections for iconv).
53579 # Bzzzzt. Thanks for playing, maybe next time.
53580 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53581 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53582 if test "$cross_compiling" = yes; then
53583 ac_sectionLDflags=yes
53584 else
53585 cat >conftest.$ac_ext <<_ACEOF
53586 /* confdefs.h. */
53587 _ACEOF
53588 cat confdefs.h >>conftest.$ac_ext
53589 cat >>conftest.$ac_ext <<_ACEOF
53590 /* end confdefs.h. */
53592 int main(void)
53594 try { throw 1; }
53595 catch (...) { };
53596 return 0;
53599 _ACEOF
53600 rm -f conftest$ac_exeext
53601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53602 (eval $ac_link) 2>&5
53603 ac_status=$?
53604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53605 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
53606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53607 (eval $ac_try) 2>&5
53608 ac_status=$?
53609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53610 (exit $ac_status); }; }; then
53611 ac_sectionLDflags=yes
53612 else
53613 echo "$as_me: program exited with status $ac_status" >&5
53614 echo "$as_me: failed program was:" >&5
53615 sed 's/^/| /' conftest.$ac_ext >&5
53617 ( exit $ac_status )
53618 ac_sectionLDflags=no
53620 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
53622 if test "$ac_test_CFLAGS" = set; then
53623 CFLAGS="$ac_save_CFLAGS"
53624 else
53625 # this is the suspicious part
53626 CFLAGS=''
53628 if test "$ac_sectionLDflags" = "yes"; then
53629 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53631 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
53632 echo "${ECHO_T}$ac_sectionLDflags" >&6
53635 # Set linker optimization flags.
53636 if test x"$with_gnu_ld" = x"yes"; then
53637 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53645 echo "$as_me:$LINENO: checking for main in -lm" >&5
53646 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
53647 if test "${ac_cv_lib_m_main+set}" = set; then
53648 echo $ECHO_N "(cached) $ECHO_C" >&6
53649 else
53650 ac_check_lib_save_LIBS=$LIBS
53651 LIBS="-lm $LIBS"
53652 if test x$gcc_no_link = xyes; then
53653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53655 { (exit 1); exit 1; }; }
53657 cat >conftest.$ac_ext <<_ACEOF
53658 /* confdefs.h. */
53659 _ACEOF
53660 cat confdefs.h >>conftest.$ac_ext
53661 cat >>conftest.$ac_ext <<_ACEOF
53662 /* end confdefs.h. */
53666 main ()
53668 main ();
53670 return 0;
53672 _ACEOF
53673 rm -f conftest.$ac_objext conftest$ac_exeext
53674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53675 (eval $ac_link) 2>conftest.er1
53676 ac_status=$?
53677 grep -v '^ *+' conftest.er1 >conftest.err
53678 rm -f conftest.er1
53679 cat conftest.err >&5
53680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53681 (exit $ac_status); } &&
53682 { ac_try='test -z "$ac_c_werror_flag"
53683 || test ! -s conftest.err'
53684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53685 (eval $ac_try) 2>&5
53686 ac_status=$?
53687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53688 (exit $ac_status); }; } &&
53689 { ac_try='test -s conftest$ac_exeext'
53690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53691 (eval $ac_try) 2>&5
53692 ac_status=$?
53693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53694 (exit $ac_status); }; }; then
53695 ac_cv_lib_m_main=yes
53696 else
53697 echo "$as_me: failed program was:" >&5
53698 sed 's/^/| /' conftest.$ac_ext >&5
53700 ac_cv_lib_m_main=no
53702 rm -f conftest.err conftest.$ac_objext \
53703 conftest$ac_exeext conftest.$ac_ext
53704 LIBS=$ac_check_lib_save_LIBS
53706 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
53707 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
53708 if test $ac_cv_lib_m_main = yes; then
53709 cat >>confdefs.h <<_ACEOF
53710 #define HAVE_LIBM 1
53711 _ACEOF
53713 LIBS="-lm $LIBS"
53719 for ac_func in nan copysignf
53721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53722 echo "$as_me:$LINENO: checking for $ac_func" >&5
53723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53724 if eval "test \"\${$as_ac_var+set}\" = set"; then
53725 echo $ECHO_N "(cached) $ECHO_C" >&6
53726 else
53727 if test x$gcc_no_link = xyes; then
53728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53730 { (exit 1); exit 1; }; }
53732 cat >conftest.$ac_ext <<_ACEOF
53733 /* confdefs.h. */
53734 _ACEOF
53735 cat confdefs.h >>conftest.$ac_ext
53736 cat >>conftest.$ac_ext <<_ACEOF
53737 /* end confdefs.h. */
53738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53740 #define $ac_func innocuous_$ac_func
53742 /* System header to define __stub macros and hopefully few prototypes,
53743 which can conflict with char $ac_func (); below.
53744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53745 <limits.h> exists even on freestanding compilers. */
53747 #ifdef __STDC__
53748 # include <limits.h>
53749 #else
53750 # include <assert.h>
53751 #endif
53753 #undef $ac_func
53755 /* Override any gcc2 internal prototype to avoid an error. */
53756 #ifdef __cplusplus
53757 extern "C"
53759 #endif
53760 /* We use char because int might match the return type of a gcc2
53761 builtin and then its argument prototype would still apply. */
53762 char $ac_func ();
53763 /* The GNU C library defines this for functions which it implements
53764 to always fail with ENOSYS. Some functions are actually named
53765 something starting with __ and the normal name is an alias. */
53766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53767 choke me
53768 #else
53769 char (*f) () = $ac_func;
53770 #endif
53771 #ifdef __cplusplus
53773 #endif
53776 main ()
53778 return f != $ac_func;
53780 return 0;
53782 _ACEOF
53783 rm -f conftest.$ac_objext conftest$ac_exeext
53784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53785 (eval $ac_link) 2>conftest.er1
53786 ac_status=$?
53787 grep -v '^ *+' conftest.er1 >conftest.err
53788 rm -f conftest.er1
53789 cat conftest.err >&5
53790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53791 (exit $ac_status); } &&
53792 { ac_try='test -z "$ac_c_werror_flag"
53793 || test ! -s conftest.err'
53794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53795 (eval $ac_try) 2>&5
53796 ac_status=$?
53797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53798 (exit $ac_status); }; } &&
53799 { ac_try='test -s conftest$ac_exeext'
53800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53801 (eval $ac_try) 2>&5
53802 ac_status=$?
53803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53804 (exit $ac_status); }; }; then
53805 eval "$as_ac_var=yes"
53806 else
53807 echo "$as_me: failed program was:" >&5
53808 sed 's/^/| /' conftest.$ac_ext >&5
53810 eval "$as_ac_var=no"
53812 rm -f conftest.err conftest.$ac_objext \
53813 conftest$ac_exeext conftest.$ac_ext
53815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53817 if test `eval echo '${'$as_ac_var'}'` = yes; then
53818 cat >>confdefs.h <<_ACEOF
53819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53820 _ACEOF
53822 else
53823 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
53825 done
53829 for ac_func in __signbit
53831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53832 echo "$as_me:$LINENO: checking for $ac_func" >&5
53833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53834 if eval "test \"\${$as_ac_var+set}\" = set"; then
53835 echo $ECHO_N "(cached) $ECHO_C" >&6
53836 else
53837 if test x$gcc_no_link = xyes; then
53838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53840 { (exit 1); exit 1; }; }
53842 cat >conftest.$ac_ext <<_ACEOF
53843 /* confdefs.h. */
53844 _ACEOF
53845 cat confdefs.h >>conftest.$ac_ext
53846 cat >>conftest.$ac_ext <<_ACEOF
53847 /* end confdefs.h. */
53848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53850 #define $ac_func innocuous_$ac_func
53852 /* System header to define __stub macros and hopefully few prototypes,
53853 which can conflict with char $ac_func (); below.
53854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53855 <limits.h> exists even on freestanding compilers. */
53857 #ifdef __STDC__
53858 # include <limits.h>
53859 #else
53860 # include <assert.h>
53861 #endif
53863 #undef $ac_func
53865 /* Override any gcc2 internal prototype to avoid an error. */
53866 #ifdef __cplusplus
53867 extern "C"
53869 #endif
53870 /* We use char because int might match the return type of a gcc2
53871 builtin and then its argument prototype would still apply. */
53872 char $ac_func ();
53873 /* The GNU C library defines this for functions which it implements
53874 to always fail with ENOSYS. Some functions are actually named
53875 something starting with __ and the normal name is an alias. */
53876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53877 choke me
53878 #else
53879 char (*f) () = $ac_func;
53880 #endif
53881 #ifdef __cplusplus
53883 #endif
53886 main ()
53888 return f != $ac_func;
53890 return 0;
53892 _ACEOF
53893 rm -f conftest.$ac_objext conftest$ac_exeext
53894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53895 (eval $ac_link) 2>conftest.er1
53896 ac_status=$?
53897 grep -v '^ *+' conftest.er1 >conftest.err
53898 rm -f conftest.er1
53899 cat conftest.err >&5
53900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53901 (exit $ac_status); } &&
53902 { ac_try='test -z "$ac_c_werror_flag"
53903 || test ! -s conftest.err'
53904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53905 (eval $ac_try) 2>&5
53906 ac_status=$?
53907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53908 (exit $ac_status); }; } &&
53909 { ac_try='test -s conftest$ac_exeext'
53910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53911 (eval $ac_try) 2>&5
53912 ac_status=$?
53913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53914 (exit $ac_status); }; }; then
53915 eval "$as_ac_var=yes"
53916 else
53917 echo "$as_me: failed program was:" >&5
53918 sed 's/^/| /' conftest.$ac_ext >&5
53920 eval "$as_ac_var=no"
53922 rm -f conftest.err conftest.$ac_objext \
53923 conftest$ac_exeext conftest.$ac_ext
53925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53927 if test `eval echo '${'$as_ac_var'}'` = yes; then
53928 cat >>confdefs.h <<_ACEOF
53929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53930 _ACEOF
53932 else
53933 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
53935 done
53938 for ac_func in __signbitf
53940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53941 echo "$as_me:$LINENO: checking for $ac_func" >&5
53942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53943 if eval "test \"\${$as_ac_var+set}\" = set"; then
53944 echo $ECHO_N "(cached) $ECHO_C" >&6
53945 else
53946 if test x$gcc_no_link = xyes; then
53947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53949 { (exit 1); exit 1; }; }
53951 cat >conftest.$ac_ext <<_ACEOF
53952 /* confdefs.h. */
53953 _ACEOF
53954 cat confdefs.h >>conftest.$ac_ext
53955 cat >>conftest.$ac_ext <<_ACEOF
53956 /* end confdefs.h. */
53957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53959 #define $ac_func innocuous_$ac_func
53961 /* System header to define __stub macros and hopefully few prototypes,
53962 which can conflict with char $ac_func (); below.
53963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53964 <limits.h> exists even on freestanding compilers. */
53966 #ifdef __STDC__
53967 # include <limits.h>
53968 #else
53969 # include <assert.h>
53970 #endif
53972 #undef $ac_func
53974 /* Override any gcc2 internal prototype to avoid an error. */
53975 #ifdef __cplusplus
53976 extern "C"
53978 #endif
53979 /* We use char because int might match the return type of a gcc2
53980 builtin and then its argument prototype would still apply. */
53981 char $ac_func ();
53982 /* The GNU C library defines this for functions which it implements
53983 to always fail with ENOSYS. Some functions are actually named
53984 something starting with __ and the normal name is an alias. */
53985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53986 choke me
53987 #else
53988 char (*f) () = $ac_func;
53989 #endif
53990 #ifdef __cplusplus
53992 #endif
53995 main ()
53997 return f != $ac_func;
53999 return 0;
54001 _ACEOF
54002 rm -f conftest.$ac_objext conftest$ac_exeext
54003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54004 (eval $ac_link) 2>conftest.er1
54005 ac_status=$?
54006 grep -v '^ *+' conftest.er1 >conftest.err
54007 rm -f conftest.er1
54008 cat conftest.err >&5
54009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54010 (exit $ac_status); } &&
54011 { ac_try='test -z "$ac_c_werror_flag"
54012 || test ! -s conftest.err'
54013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54014 (eval $ac_try) 2>&5
54015 ac_status=$?
54016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54017 (exit $ac_status); }; } &&
54018 { ac_try='test -s conftest$ac_exeext'
54019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54020 (eval $ac_try) 2>&5
54021 ac_status=$?
54022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54023 (exit $ac_status); }; }; then
54024 eval "$as_ac_var=yes"
54025 else
54026 echo "$as_me: failed program was:" >&5
54027 sed 's/^/| /' conftest.$ac_ext >&5
54029 eval "$as_ac_var=no"
54031 rm -f conftest.err conftest.$ac_objext \
54032 conftest$ac_exeext conftest.$ac_ext
54034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54036 if test `eval echo '${'$as_ac_var'}'` = yes; then
54037 cat >>confdefs.h <<_ACEOF
54038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54039 _ACEOF
54041 else
54042 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
54044 done
54047 if test x$ac_cv_func_copysignl = x"yes"; then
54049 for ac_func in __signbitl
54051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54052 echo "$as_me:$LINENO: checking for $ac_func" >&5
54053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54054 if eval "test \"\${$as_ac_var+set}\" = set"; then
54055 echo $ECHO_N "(cached) $ECHO_C" >&6
54056 else
54057 if test x$gcc_no_link = xyes; then
54058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54060 { (exit 1); exit 1; }; }
54062 cat >conftest.$ac_ext <<_ACEOF
54063 /* confdefs.h. */
54064 _ACEOF
54065 cat confdefs.h >>conftest.$ac_ext
54066 cat >>conftest.$ac_ext <<_ACEOF
54067 /* end confdefs.h. */
54068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54070 #define $ac_func innocuous_$ac_func
54072 /* System header to define __stub macros and hopefully few prototypes,
54073 which can conflict with char $ac_func (); below.
54074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54075 <limits.h> exists even on freestanding compilers. */
54077 #ifdef __STDC__
54078 # include <limits.h>
54079 #else
54080 # include <assert.h>
54081 #endif
54083 #undef $ac_func
54085 /* Override any gcc2 internal prototype to avoid an error. */
54086 #ifdef __cplusplus
54087 extern "C"
54089 #endif
54090 /* We use char because int might match the return type of a gcc2
54091 builtin and then its argument prototype would still apply. */
54092 char $ac_func ();
54093 /* The GNU C library defines this for functions which it implements
54094 to always fail with ENOSYS. Some functions are actually named
54095 something starting with __ and the normal name is an alias. */
54096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54097 choke me
54098 #else
54099 char (*f) () = $ac_func;
54100 #endif
54101 #ifdef __cplusplus
54103 #endif
54106 main ()
54108 return f != $ac_func;
54110 return 0;
54112 _ACEOF
54113 rm -f conftest.$ac_objext conftest$ac_exeext
54114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54115 (eval $ac_link) 2>conftest.er1
54116 ac_status=$?
54117 grep -v '^ *+' conftest.er1 >conftest.err
54118 rm -f conftest.er1
54119 cat conftest.err >&5
54120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54121 (exit $ac_status); } &&
54122 { ac_try='test -z "$ac_c_werror_flag"
54123 || test ! -s conftest.err'
54124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54125 (eval $ac_try) 2>&5
54126 ac_status=$?
54127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54128 (exit $ac_status); }; } &&
54129 { ac_try='test -s conftest$ac_exeext'
54130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54131 (eval $ac_try) 2>&5
54132 ac_status=$?
54133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54134 (exit $ac_status); }; }; then
54135 eval "$as_ac_var=yes"
54136 else
54137 echo "$as_me: failed program was:" >&5
54138 sed 's/^/| /' conftest.$ac_ext >&5
54140 eval "$as_ac_var=no"
54142 rm -f conftest.err conftest.$ac_objext \
54143 conftest$ac_exeext conftest.$ac_ext
54145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54147 if test `eval echo '${'$as_ac_var'}'` = yes; then
54148 cat >>confdefs.h <<_ACEOF
54149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54150 _ACEOF
54152 else
54153 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
54155 done
54159 # XXX Review this. Nothing uses it.
54160 if test -n "$LIBMATHOBJS"; then
54161 need_libmath=yes
54166 # Test wchar.h for mbstate_t, which is needed for char_traits and
54167 # others even if wchar_t support is not on.
54168 echo "$as_me:$LINENO: checking for mbstate_t" >&5
54169 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
54170 cat >conftest.$ac_ext <<_ACEOF
54171 /* confdefs.h. */
54172 _ACEOF
54173 cat confdefs.h >>conftest.$ac_ext
54174 cat >>conftest.$ac_ext <<_ACEOF
54175 /* end confdefs.h. */
54176 #include <wchar.h>
54178 main ()
54180 mbstate_t teststate;
54182 return 0;
54184 _ACEOF
54185 rm -f conftest.$ac_objext
54186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54187 (eval $ac_compile) 2>conftest.er1
54188 ac_status=$?
54189 grep -v '^ *+' conftest.er1 >conftest.err
54190 rm -f conftest.er1
54191 cat conftest.err >&5
54192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54193 (exit $ac_status); } &&
54194 { ac_try='test -z "$ac_c_werror_flag"
54195 || test ! -s conftest.err'
54196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54197 (eval $ac_try) 2>&5
54198 ac_status=$?
54199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54200 (exit $ac_status); }; } &&
54201 { ac_try='test -s conftest.$ac_objext'
54202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54203 (eval $ac_try) 2>&5
54204 ac_status=$?
54205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54206 (exit $ac_status); }; }; then
54207 have_mbstate_t=yes
54208 else
54209 echo "$as_me: failed program was:" >&5
54210 sed 's/^/| /' conftest.$ac_ext >&5
54212 have_mbstate_t=no
54214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54215 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
54216 echo "${ECHO_T}$have_mbstate_t" >&6
54217 if test x"$have_mbstate_t" = xyes; then
54218 cat >>confdefs.h <<\_ACEOF
54219 #define HAVE_MBSTATE_T 1
54220 _ACEOF
54224 # Sanity check for existence of ISO C99 headers for extended encoding.
54226 for ac_header in wchar.h
54228 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54230 echo "$as_me:$LINENO: checking for $ac_header" >&5
54231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54232 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54233 echo $ECHO_N "(cached) $ECHO_C" >&6
54235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54236 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54237 else
54238 # Is the header compilable?
54239 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54240 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54241 cat >conftest.$ac_ext <<_ACEOF
54242 /* confdefs.h. */
54243 _ACEOF
54244 cat confdefs.h >>conftest.$ac_ext
54245 cat >>conftest.$ac_ext <<_ACEOF
54246 /* end confdefs.h. */
54247 $ac_includes_default
54248 #include <$ac_header>
54249 _ACEOF
54250 rm -f conftest.$ac_objext
54251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54252 (eval $ac_compile) 2>conftest.er1
54253 ac_status=$?
54254 grep -v '^ *+' conftest.er1 >conftest.err
54255 rm -f conftest.er1
54256 cat conftest.err >&5
54257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54258 (exit $ac_status); } &&
54259 { ac_try='test -z "$ac_c_werror_flag"
54260 || test ! -s conftest.err'
54261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54262 (eval $ac_try) 2>&5
54263 ac_status=$?
54264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54265 (exit $ac_status); }; } &&
54266 { ac_try='test -s conftest.$ac_objext'
54267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54268 (eval $ac_try) 2>&5
54269 ac_status=$?
54270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54271 (exit $ac_status); }; }; then
54272 ac_header_compiler=yes
54273 else
54274 echo "$as_me: failed program was:" >&5
54275 sed 's/^/| /' conftest.$ac_ext >&5
54277 ac_header_compiler=no
54279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54280 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54281 echo "${ECHO_T}$ac_header_compiler" >&6
54283 # Is the header present?
54284 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54285 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54286 cat >conftest.$ac_ext <<_ACEOF
54287 /* confdefs.h. */
54288 _ACEOF
54289 cat confdefs.h >>conftest.$ac_ext
54290 cat >>conftest.$ac_ext <<_ACEOF
54291 /* end confdefs.h. */
54292 #include <$ac_header>
54293 _ACEOF
54294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54295 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54296 ac_status=$?
54297 grep -v '^ *+' conftest.er1 >conftest.err
54298 rm -f conftest.er1
54299 cat conftest.err >&5
54300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54301 (exit $ac_status); } >/dev/null; then
54302 if test -s conftest.err; then
54303 ac_cpp_err=$ac_c_preproc_warn_flag
54304 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
54305 else
54306 ac_cpp_err=
54308 else
54309 ac_cpp_err=yes
54311 if test -z "$ac_cpp_err"; then
54312 ac_header_preproc=yes
54313 else
54314 echo "$as_me: failed program was:" >&5
54315 sed 's/^/| /' conftest.$ac_ext >&5
54317 ac_header_preproc=no
54319 rm -f conftest.err conftest.$ac_ext
54320 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54321 echo "${ECHO_T}$ac_header_preproc" >&6
54323 # So? What about this header?
54324 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54325 yes:no: )
54326 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54327 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54328 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54329 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54330 ac_header_preproc=yes
54332 no:yes:* )
54333 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54334 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54335 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54336 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54337 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54338 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54339 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
54340 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
54341 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54342 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54343 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54344 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54346 cat <<\_ASBOX
54347 ## ----------------------------------------- ##
54348 ## Report this to the package-unused lists. ##
54349 ## ----------------------------------------- ##
54350 _ASBOX
54352 sed "s/^/$as_me: WARNING: /" >&2
54354 esac
54355 echo "$as_me:$LINENO: checking for $ac_header" >&5
54356 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54358 echo $ECHO_N "(cached) $ECHO_C" >&6
54359 else
54360 eval "$as_ac_Header=\$ac_header_preproc"
54362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54363 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54367 cat >>confdefs.h <<_ACEOF
54368 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54369 _ACEOF
54370 ac_has_wchar_h=yes
54371 else
54372 ac_has_wchar_h=no
54375 done
54378 for ac_header in wctype.h
54380 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54382 echo "$as_me:$LINENO: checking for $ac_header" >&5
54383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54385 echo $ECHO_N "(cached) $ECHO_C" >&6
54387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54388 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54389 else
54390 # Is the header compilable?
54391 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54392 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54393 cat >conftest.$ac_ext <<_ACEOF
54394 /* confdefs.h. */
54395 _ACEOF
54396 cat confdefs.h >>conftest.$ac_ext
54397 cat >>conftest.$ac_ext <<_ACEOF
54398 /* end confdefs.h. */
54399 $ac_includes_default
54400 #include <$ac_header>
54401 _ACEOF
54402 rm -f conftest.$ac_objext
54403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54404 (eval $ac_compile) 2>conftest.er1
54405 ac_status=$?
54406 grep -v '^ *+' conftest.er1 >conftest.err
54407 rm -f conftest.er1
54408 cat conftest.err >&5
54409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54410 (exit $ac_status); } &&
54411 { ac_try='test -z "$ac_c_werror_flag"
54412 || test ! -s conftest.err'
54413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54414 (eval $ac_try) 2>&5
54415 ac_status=$?
54416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54417 (exit $ac_status); }; } &&
54418 { ac_try='test -s conftest.$ac_objext'
54419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54420 (eval $ac_try) 2>&5
54421 ac_status=$?
54422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54423 (exit $ac_status); }; }; then
54424 ac_header_compiler=yes
54425 else
54426 echo "$as_me: failed program was:" >&5
54427 sed 's/^/| /' conftest.$ac_ext >&5
54429 ac_header_compiler=no
54431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54432 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54433 echo "${ECHO_T}$ac_header_compiler" >&6
54435 # Is the header present?
54436 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54437 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54438 cat >conftest.$ac_ext <<_ACEOF
54439 /* confdefs.h. */
54440 _ACEOF
54441 cat confdefs.h >>conftest.$ac_ext
54442 cat >>conftest.$ac_ext <<_ACEOF
54443 /* end confdefs.h. */
54444 #include <$ac_header>
54445 _ACEOF
54446 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54447 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54448 ac_status=$?
54449 grep -v '^ *+' conftest.er1 >conftest.err
54450 rm -f conftest.er1
54451 cat conftest.err >&5
54452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54453 (exit $ac_status); } >/dev/null; then
54454 if test -s conftest.err; then
54455 ac_cpp_err=$ac_c_preproc_warn_flag
54456 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
54457 else
54458 ac_cpp_err=
54460 else
54461 ac_cpp_err=yes
54463 if test -z "$ac_cpp_err"; then
54464 ac_header_preproc=yes
54465 else
54466 echo "$as_me: failed program was:" >&5
54467 sed 's/^/| /' conftest.$ac_ext >&5
54469 ac_header_preproc=no
54471 rm -f conftest.err conftest.$ac_ext
54472 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54473 echo "${ECHO_T}$ac_header_preproc" >&6
54475 # So? What about this header?
54476 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54477 yes:no: )
54478 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54479 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54480 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54481 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54482 ac_header_preproc=yes
54484 no:yes:* )
54485 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54486 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54487 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54488 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54489 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54490 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54491 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
54492 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
54493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54494 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54495 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54496 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54498 cat <<\_ASBOX
54499 ## ----------------------------------------- ##
54500 ## Report this to the package-unused lists. ##
54501 ## ----------------------------------------- ##
54502 _ASBOX
54504 sed "s/^/$as_me: WARNING: /" >&2
54506 esac
54507 echo "$as_me:$LINENO: checking for $ac_header" >&5
54508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54509 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54510 echo $ECHO_N "(cached) $ECHO_C" >&6
54511 else
54512 eval "$as_ac_Header=\$ac_header_preproc"
54514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54515 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54518 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54519 cat >>confdefs.h <<_ACEOF
54520 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54521 _ACEOF
54522 ac_has_wctype_h=yes
54523 else
54524 ac_has_wctype_h=no
54527 done
54530 # Only continue checking if the ISO C99 headers exist and support is on.
54531 if test x"$ac_has_wchar_h" = xyes &&
54532 test x"$ac_has_wctype_h" = xyes &&
54533 test x"$enable_c_mbchar" != xno; then
54535 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
54536 # numeric_limits can instantiate type_traits<wchar_t>
54537 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
54538 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
54539 cat >conftest.$ac_ext <<_ACEOF
54540 /* confdefs.h. */
54541 _ACEOF
54542 cat confdefs.h >>conftest.$ac_ext
54543 cat >>conftest.$ac_ext <<_ACEOF
54544 /* end confdefs.h. */
54545 #include <wchar.h>
54547 main ()
54549 int i = WCHAR_MIN; int j = WCHAR_MAX;
54551 return 0;
54553 _ACEOF
54554 rm -f conftest.$ac_objext
54555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54556 (eval $ac_compile) 2>conftest.er1
54557 ac_status=$?
54558 grep -v '^ *+' conftest.er1 >conftest.err
54559 rm -f conftest.er1
54560 cat conftest.err >&5
54561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54562 (exit $ac_status); } &&
54563 { ac_try='test -z "$ac_c_werror_flag"
54564 || test ! -s conftest.err'
54565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54566 (eval $ac_try) 2>&5
54567 ac_status=$?
54568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54569 (exit $ac_status); }; } &&
54570 { ac_try='test -s conftest.$ac_objext'
54571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54572 (eval $ac_try) 2>&5
54573 ac_status=$?
54574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54575 (exit $ac_status); }; }; then
54576 has_wchar_minmax=yes
54577 else
54578 echo "$as_me: failed program was:" >&5
54579 sed 's/^/| /' conftest.$ac_ext >&5
54581 has_wchar_minmax=no
54583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54584 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
54585 echo "${ECHO_T}$has_wchar_minmax" >&6
54587 # Test wchar.h for WEOF, which is what we use to determine whether
54588 # to specialize for char_traits<wchar_t> or not.
54589 echo "$as_me:$LINENO: checking for WEOF" >&5
54590 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
54591 cat >conftest.$ac_ext <<_ACEOF
54592 /* confdefs.h. */
54593 _ACEOF
54594 cat confdefs.h >>conftest.$ac_ext
54595 cat >>conftest.$ac_ext <<_ACEOF
54596 /* end confdefs.h. */
54598 #include <wchar.h>
54599 #include <stddef.h>
54601 main ()
54603 wint_t i = WEOF;
54605 return 0;
54607 _ACEOF
54608 rm -f conftest.$ac_objext
54609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54610 (eval $ac_compile) 2>conftest.er1
54611 ac_status=$?
54612 grep -v '^ *+' conftest.er1 >conftest.err
54613 rm -f conftest.er1
54614 cat conftest.err >&5
54615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54616 (exit $ac_status); } &&
54617 { ac_try='test -z "$ac_c_werror_flag"
54618 || test ! -s conftest.err'
54619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54620 (eval $ac_try) 2>&5
54621 ac_status=$?
54622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54623 (exit $ac_status); }; } &&
54624 { ac_try='test -s conftest.$ac_objext'
54625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54626 (eval $ac_try) 2>&5
54627 ac_status=$?
54628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54629 (exit $ac_status); }; }; then
54630 has_weof=yes
54631 else
54632 echo "$as_me: failed program was:" >&5
54633 sed 's/^/| /' conftest.$ac_ext >&5
54635 has_weof=no
54637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54638 echo "$as_me:$LINENO: result: $has_weof" >&5
54639 echo "${ECHO_T}$has_weof" >&6
54641 # Tests for wide character functions used in char_traits<wchar_t>.
54642 ac_wfuncs=yes
54649 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
54651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54652 echo "$as_me:$LINENO: checking for $ac_func" >&5
54653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54654 if eval "test \"\${$as_ac_var+set}\" = set"; then
54655 echo $ECHO_N "(cached) $ECHO_C" >&6
54656 else
54657 if test x$gcc_no_link = xyes; then
54658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54660 { (exit 1); exit 1; }; }
54662 cat >conftest.$ac_ext <<_ACEOF
54663 /* confdefs.h. */
54664 _ACEOF
54665 cat confdefs.h >>conftest.$ac_ext
54666 cat >>conftest.$ac_ext <<_ACEOF
54667 /* end confdefs.h. */
54668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54670 #define $ac_func innocuous_$ac_func
54672 /* System header to define __stub macros and hopefully few prototypes,
54673 which can conflict with char $ac_func (); below.
54674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54675 <limits.h> exists even on freestanding compilers. */
54677 #ifdef __STDC__
54678 # include <limits.h>
54679 #else
54680 # include <assert.h>
54681 #endif
54683 #undef $ac_func
54685 /* Override any gcc2 internal prototype to avoid an error. */
54686 #ifdef __cplusplus
54687 extern "C"
54689 #endif
54690 /* We use char because int might match the return type of a gcc2
54691 builtin and then its argument prototype would still apply. */
54692 char $ac_func ();
54693 /* The GNU C library defines this for functions which it implements
54694 to always fail with ENOSYS. Some functions are actually named
54695 something starting with __ and the normal name is an alias. */
54696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54697 choke me
54698 #else
54699 char (*f) () = $ac_func;
54700 #endif
54701 #ifdef __cplusplus
54703 #endif
54706 main ()
54708 return f != $ac_func;
54710 return 0;
54712 _ACEOF
54713 rm -f conftest.$ac_objext conftest$ac_exeext
54714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54715 (eval $ac_link) 2>conftest.er1
54716 ac_status=$?
54717 grep -v '^ *+' conftest.er1 >conftest.err
54718 rm -f conftest.er1
54719 cat conftest.err >&5
54720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54721 (exit $ac_status); } &&
54722 { ac_try='test -z "$ac_c_werror_flag"
54723 || test ! -s conftest.err'
54724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54725 (eval $ac_try) 2>&5
54726 ac_status=$?
54727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54728 (exit $ac_status); }; } &&
54729 { ac_try='test -s conftest$ac_exeext'
54730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54731 (eval $ac_try) 2>&5
54732 ac_status=$?
54733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54734 (exit $ac_status); }; }; then
54735 eval "$as_ac_var=yes"
54736 else
54737 echo "$as_me: failed program was:" >&5
54738 sed 's/^/| /' conftest.$ac_ext >&5
54740 eval "$as_ac_var=no"
54742 rm -f conftest.err conftest.$ac_objext \
54743 conftest$ac_exeext conftest.$ac_ext
54745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54747 if test `eval echo '${'$as_ac_var'}'` = yes; then
54748 cat >>confdefs.h <<_ACEOF
54749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54750 _ACEOF
54752 else
54753 ac_wfuncs=no
54755 done
54758 # Checks for names injected into std:: by the c_std headers.
54805 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
54806 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
54807 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
54808 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
54809 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
54810 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
54812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54813 echo "$as_me:$LINENO: checking for $ac_func" >&5
54814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54815 if eval "test \"\${$as_ac_var+set}\" = set"; then
54816 echo $ECHO_N "(cached) $ECHO_C" >&6
54817 else
54818 if test x$gcc_no_link = xyes; then
54819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54821 { (exit 1); exit 1; }; }
54823 cat >conftest.$ac_ext <<_ACEOF
54824 /* confdefs.h. */
54825 _ACEOF
54826 cat confdefs.h >>conftest.$ac_ext
54827 cat >>conftest.$ac_ext <<_ACEOF
54828 /* end confdefs.h. */
54829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54831 #define $ac_func innocuous_$ac_func
54833 /* System header to define __stub macros and hopefully few prototypes,
54834 which can conflict with char $ac_func (); below.
54835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54836 <limits.h> exists even on freestanding compilers. */
54838 #ifdef __STDC__
54839 # include <limits.h>
54840 #else
54841 # include <assert.h>
54842 #endif
54844 #undef $ac_func
54846 /* Override any gcc2 internal prototype to avoid an error. */
54847 #ifdef __cplusplus
54848 extern "C"
54850 #endif
54851 /* We use char because int might match the return type of a gcc2
54852 builtin and then its argument prototype would still apply. */
54853 char $ac_func ();
54854 /* The GNU C library defines this for functions which it implements
54855 to always fail with ENOSYS. Some functions are actually named
54856 something starting with __ and the normal name is an alias. */
54857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54858 choke me
54859 #else
54860 char (*f) () = $ac_func;
54861 #endif
54862 #ifdef __cplusplus
54864 #endif
54867 main ()
54869 return f != $ac_func;
54871 return 0;
54873 _ACEOF
54874 rm -f conftest.$ac_objext conftest$ac_exeext
54875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54876 (eval $ac_link) 2>conftest.er1
54877 ac_status=$?
54878 grep -v '^ *+' conftest.er1 >conftest.err
54879 rm -f conftest.er1
54880 cat conftest.err >&5
54881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54882 (exit $ac_status); } &&
54883 { ac_try='test -z "$ac_c_werror_flag"
54884 || test ! -s conftest.err'
54885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54886 (eval $ac_try) 2>&5
54887 ac_status=$?
54888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54889 (exit $ac_status); }; } &&
54890 { ac_try='test -s conftest$ac_exeext'
54891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54892 (eval $ac_try) 2>&5
54893 ac_status=$?
54894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54895 (exit $ac_status); }; }; then
54896 eval "$as_ac_var=yes"
54897 else
54898 echo "$as_me: failed program was:" >&5
54899 sed 's/^/| /' conftest.$ac_ext >&5
54901 eval "$as_ac_var=no"
54903 rm -f conftest.err conftest.$ac_objext \
54904 conftest$ac_exeext conftest.$ac_ext
54906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54908 if test `eval echo '${'$as_ac_var'}'` = yes; then
54909 cat >>confdefs.h <<_ACEOF
54910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54911 _ACEOF
54913 else
54914 ac_wfuncs=no
54916 done
54919 # Checks for wide character functions that are not required
54920 # for basic wchar_t support. Don't disable support if they are missing.
54921 # Injection of these is wrapped with guard macros.
54927 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
54929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54930 echo "$as_me:$LINENO: checking for $ac_func" >&5
54931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54932 if eval "test \"\${$as_ac_var+set}\" = set"; then
54933 echo $ECHO_N "(cached) $ECHO_C" >&6
54934 else
54935 if test x$gcc_no_link = xyes; then
54936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54938 { (exit 1); exit 1; }; }
54940 cat >conftest.$ac_ext <<_ACEOF
54941 /* confdefs.h. */
54942 _ACEOF
54943 cat confdefs.h >>conftest.$ac_ext
54944 cat >>conftest.$ac_ext <<_ACEOF
54945 /* end confdefs.h. */
54946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54948 #define $ac_func innocuous_$ac_func
54950 /* System header to define __stub macros and hopefully few prototypes,
54951 which can conflict with char $ac_func (); below.
54952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54953 <limits.h> exists even on freestanding compilers. */
54955 #ifdef __STDC__
54956 # include <limits.h>
54957 #else
54958 # include <assert.h>
54959 #endif
54961 #undef $ac_func
54963 /* Override any gcc2 internal prototype to avoid an error. */
54964 #ifdef __cplusplus
54965 extern "C"
54967 #endif
54968 /* We use char because int might match the return type of a gcc2
54969 builtin and then its argument prototype would still apply. */
54970 char $ac_func ();
54971 /* The GNU C library defines this for functions which it implements
54972 to always fail with ENOSYS. Some functions are actually named
54973 something starting with __ and the normal name is an alias. */
54974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54975 choke me
54976 #else
54977 char (*f) () = $ac_func;
54978 #endif
54979 #ifdef __cplusplus
54981 #endif
54984 main ()
54986 return f != $ac_func;
54988 return 0;
54990 _ACEOF
54991 rm -f conftest.$ac_objext conftest$ac_exeext
54992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54993 (eval $ac_link) 2>conftest.er1
54994 ac_status=$?
54995 grep -v '^ *+' conftest.er1 >conftest.err
54996 rm -f conftest.er1
54997 cat conftest.err >&5
54998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54999 (exit $ac_status); } &&
55000 { ac_try='test -z "$ac_c_werror_flag"
55001 || test ! -s conftest.err'
55002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55003 (eval $ac_try) 2>&5
55004 ac_status=$?
55005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55006 (exit $ac_status); }; } &&
55007 { ac_try='test -s conftest$ac_exeext'
55008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55009 (eval $ac_try) 2>&5
55010 ac_status=$?
55011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55012 (exit $ac_status); }; }; then
55013 eval "$as_ac_var=yes"
55014 else
55015 echo "$as_me: failed program was:" >&5
55016 sed 's/^/| /' conftest.$ac_ext >&5
55018 eval "$as_ac_var=no"
55020 rm -f conftest.err conftest.$ac_objext \
55021 conftest$ac_exeext conftest.$ac_ext
55023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55025 if test `eval echo '${'$as_ac_var'}'` = yes; then
55026 cat >>confdefs.h <<_ACEOF
55027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55028 _ACEOF
55031 done
55034 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
55035 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
55036 if test x"$has_weof" = xyes &&
55037 test x"$has_wchar_minmax" = xyes &&
55038 test x"$ac_wfuncs" = xyes;
55039 then
55040 ac_isoC99_wchar_t=yes
55041 else
55042 ac_isoC99_wchar_t=no
55044 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
55045 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
55047 # Use iconv for wchar_t to char conversions. As such, check for
55048 # X/Open Portability Guide, version 2 features (XPG2).
55049 if test "${ac_cv_header_iconv_h+set}" = set; then
55050 echo "$as_me:$LINENO: checking for iconv.h" >&5
55051 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
55052 if test "${ac_cv_header_iconv_h+set}" = set; then
55053 echo $ECHO_N "(cached) $ECHO_C" >&6
55055 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
55056 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
55057 else
55058 # Is the header compilable?
55059 echo "$as_me:$LINENO: checking iconv.h usability" >&5
55060 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
55061 cat >conftest.$ac_ext <<_ACEOF
55062 /* confdefs.h. */
55063 _ACEOF
55064 cat confdefs.h >>conftest.$ac_ext
55065 cat >>conftest.$ac_ext <<_ACEOF
55066 /* end confdefs.h. */
55067 $ac_includes_default
55068 #include <iconv.h>
55069 _ACEOF
55070 rm -f conftest.$ac_objext
55071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55072 (eval $ac_compile) 2>conftest.er1
55073 ac_status=$?
55074 grep -v '^ *+' conftest.er1 >conftest.err
55075 rm -f conftest.er1
55076 cat conftest.err >&5
55077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55078 (exit $ac_status); } &&
55079 { ac_try='test -z "$ac_c_werror_flag"
55080 || test ! -s conftest.err'
55081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55082 (eval $ac_try) 2>&5
55083 ac_status=$?
55084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55085 (exit $ac_status); }; } &&
55086 { ac_try='test -s conftest.$ac_objext'
55087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55088 (eval $ac_try) 2>&5
55089 ac_status=$?
55090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55091 (exit $ac_status); }; }; then
55092 ac_header_compiler=yes
55093 else
55094 echo "$as_me: failed program was:" >&5
55095 sed 's/^/| /' conftest.$ac_ext >&5
55097 ac_header_compiler=no
55099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55100 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55101 echo "${ECHO_T}$ac_header_compiler" >&6
55103 # Is the header present?
55104 echo "$as_me:$LINENO: checking iconv.h presence" >&5
55105 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
55106 cat >conftest.$ac_ext <<_ACEOF
55107 /* confdefs.h. */
55108 _ACEOF
55109 cat confdefs.h >>conftest.$ac_ext
55110 cat >>conftest.$ac_ext <<_ACEOF
55111 /* end confdefs.h. */
55112 #include <iconv.h>
55113 _ACEOF
55114 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55115 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55116 ac_status=$?
55117 grep -v '^ *+' conftest.er1 >conftest.err
55118 rm -f conftest.er1
55119 cat conftest.err >&5
55120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55121 (exit $ac_status); } >/dev/null; then
55122 if test -s conftest.err; then
55123 ac_cpp_err=$ac_c_preproc_warn_flag
55124 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
55125 else
55126 ac_cpp_err=
55128 else
55129 ac_cpp_err=yes
55131 if test -z "$ac_cpp_err"; then
55132 ac_header_preproc=yes
55133 else
55134 echo "$as_me: failed program was:" >&5
55135 sed 's/^/| /' conftest.$ac_ext >&5
55137 ac_header_preproc=no
55139 rm -f conftest.err conftest.$ac_ext
55140 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55141 echo "${ECHO_T}$ac_header_preproc" >&6
55143 # So? What about this header?
55144 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
55145 yes:no: )
55146 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
55147 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
55148 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
55149 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
55150 ac_header_preproc=yes
55152 no:yes:* )
55153 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
55154 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
55155 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
55156 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
55157 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
55158 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
55159 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
55160 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
55161 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
55162 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
55163 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
55164 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
55166 cat <<\_ASBOX
55167 ## ----------------------------------------- ##
55168 ## Report this to the package-unused lists. ##
55169 ## ----------------------------------------- ##
55170 _ASBOX
55172 sed "s/^/$as_me: WARNING: /" >&2
55174 esac
55175 echo "$as_me:$LINENO: checking for iconv.h" >&5
55176 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
55177 if test "${ac_cv_header_iconv_h+set}" = set; then
55178 echo $ECHO_N "(cached) $ECHO_C" >&6
55179 else
55180 ac_cv_header_iconv_h=$ac_header_preproc
55182 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
55183 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
55186 if test $ac_cv_header_iconv_h = yes; then
55187 ac_has_iconv_h=yes
55188 else
55189 ac_has_iconv_h=no
55193 if test "${ac_cv_header_langinfo_h+set}" = set; then
55194 echo "$as_me:$LINENO: checking for langinfo.h" >&5
55195 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
55196 if test "${ac_cv_header_langinfo_h+set}" = set; then
55197 echo $ECHO_N "(cached) $ECHO_C" >&6
55199 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
55200 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
55201 else
55202 # Is the header compilable?
55203 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
55204 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
55205 cat >conftest.$ac_ext <<_ACEOF
55206 /* confdefs.h. */
55207 _ACEOF
55208 cat confdefs.h >>conftest.$ac_ext
55209 cat >>conftest.$ac_ext <<_ACEOF
55210 /* end confdefs.h. */
55211 $ac_includes_default
55212 #include <langinfo.h>
55213 _ACEOF
55214 rm -f conftest.$ac_objext
55215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55216 (eval $ac_compile) 2>conftest.er1
55217 ac_status=$?
55218 grep -v '^ *+' conftest.er1 >conftest.err
55219 rm -f conftest.er1
55220 cat conftest.err >&5
55221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55222 (exit $ac_status); } &&
55223 { ac_try='test -z "$ac_c_werror_flag"
55224 || test ! -s conftest.err'
55225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55226 (eval $ac_try) 2>&5
55227 ac_status=$?
55228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55229 (exit $ac_status); }; } &&
55230 { ac_try='test -s conftest.$ac_objext'
55231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55232 (eval $ac_try) 2>&5
55233 ac_status=$?
55234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55235 (exit $ac_status); }; }; then
55236 ac_header_compiler=yes
55237 else
55238 echo "$as_me: failed program was:" >&5
55239 sed 's/^/| /' conftest.$ac_ext >&5
55241 ac_header_compiler=no
55243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55244 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55245 echo "${ECHO_T}$ac_header_compiler" >&6
55247 # Is the header present?
55248 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
55249 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
55250 cat >conftest.$ac_ext <<_ACEOF
55251 /* confdefs.h. */
55252 _ACEOF
55253 cat confdefs.h >>conftest.$ac_ext
55254 cat >>conftest.$ac_ext <<_ACEOF
55255 /* end confdefs.h. */
55256 #include <langinfo.h>
55257 _ACEOF
55258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55259 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55260 ac_status=$?
55261 grep -v '^ *+' conftest.er1 >conftest.err
55262 rm -f conftest.er1
55263 cat conftest.err >&5
55264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55265 (exit $ac_status); } >/dev/null; then
55266 if test -s conftest.err; then
55267 ac_cpp_err=$ac_c_preproc_warn_flag
55268 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
55269 else
55270 ac_cpp_err=
55272 else
55273 ac_cpp_err=yes
55275 if test -z "$ac_cpp_err"; then
55276 ac_header_preproc=yes
55277 else
55278 echo "$as_me: failed program was:" >&5
55279 sed 's/^/| /' conftest.$ac_ext >&5
55281 ac_header_preproc=no
55283 rm -f conftest.err conftest.$ac_ext
55284 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55285 echo "${ECHO_T}$ac_header_preproc" >&6
55287 # So? What about this header?
55288 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
55289 yes:no: )
55290 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
55291 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
55292 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
55293 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
55294 ac_header_preproc=yes
55296 no:yes:* )
55297 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
55298 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
55299 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
55300 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
55301 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
55302 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
55303 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
55304 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
55305 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
55306 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
55307 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
55308 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
55310 cat <<\_ASBOX
55311 ## ----------------------------------------- ##
55312 ## Report this to the package-unused lists. ##
55313 ## ----------------------------------------- ##
55314 _ASBOX
55316 sed "s/^/$as_me: WARNING: /" >&2
55318 esac
55319 echo "$as_me:$LINENO: checking for langinfo.h" >&5
55320 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
55321 if test "${ac_cv_header_langinfo_h+set}" = set; then
55322 echo $ECHO_N "(cached) $ECHO_C" >&6
55323 else
55324 ac_cv_header_langinfo_h=$ac_header_preproc
55326 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
55327 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
55330 if test $ac_cv_header_langinfo_h = yes; then
55331 ac_has_langinfo_h=yes
55332 else
55333 ac_has_langinfo_h=no
55338 # Check for existence of libiconv.a providing XPG2 wchar_t support.
55339 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
55340 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
55341 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
55342 echo $ECHO_N "(cached) $ECHO_C" >&6
55343 else
55344 ac_check_lib_save_LIBS=$LIBS
55345 LIBS="-liconv $LIBS"
55346 if test x$gcc_no_link = xyes; then
55347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55349 { (exit 1); exit 1; }; }
55351 cat >conftest.$ac_ext <<_ACEOF
55352 /* confdefs.h. */
55353 _ACEOF
55354 cat confdefs.h >>conftest.$ac_ext
55355 cat >>conftest.$ac_ext <<_ACEOF
55356 /* end confdefs.h. */
55358 /* Override any gcc2 internal prototype to avoid an error. */
55359 #ifdef __cplusplus
55360 extern "C"
55361 #endif
55362 /* We use char because int might match the return type of a gcc2
55363 builtin and then its argument prototype would still apply. */
55364 char iconv ();
55366 main ()
55368 iconv ();
55370 return 0;
55372 _ACEOF
55373 rm -f conftest.$ac_objext conftest$ac_exeext
55374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55375 (eval $ac_link) 2>conftest.er1
55376 ac_status=$?
55377 grep -v '^ *+' conftest.er1 >conftest.err
55378 rm -f conftest.er1
55379 cat conftest.err >&5
55380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55381 (exit $ac_status); } &&
55382 { ac_try='test -z "$ac_c_werror_flag"
55383 || test ! -s conftest.err'
55384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55385 (eval $ac_try) 2>&5
55386 ac_status=$?
55387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55388 (exit $ac_status); }; } &&
55389 { ac_try='test -s conftest$ac_exeext'
55390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55391 (eval $ac_try) 2>&5
55392 ac_status=$?
55393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55394 (exit $ac_status); }; }; then
55395 ac_cv_lib_iconv_iconv=yes
55396 else
55397 echo "$as_me: failed program was:" >&5
55398 sed 's/^/| /' conftest.$ac_ext >&5
55400 ac_cv_lib_iconv_iconv=no
55402 rm -f conftest.err conftest.$ac_objext \
55403 conftest$ac_exeext conftest.$ac_ext
55404 LIBS=$ac_check_lib_save_LIBS
55406 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
55407 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
55408 if test $ac_cv_lib_iconv_iconv = yes; then
55409 libiconv="-liconv"
55412 ac_save_LIBS="$LIBS"
55413 LIBS="$LIBS $libiconv"
55419 for ac_func in iconv_open iconv_close iconv nl_langinfo
55421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55422 echo "$as_me:$LINENO: checking for $ac_func" >&5
55423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55424 if eval "test \"\${$as_ac_var+set}\" = set"; then
55425 echo $ECHO_N "(cached) $ECHO_C" >&6
55426 else
55427 if test x$gcc_no_link = xyes; then
55428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55430 { (exit 1); exit 1; }; }
55432 cat >conftest.$ac_ext <<_ACEOF
55433 /* confdefs.h. */
55434 _ACEOF
55435 cat confdefs.h >>conftest.$ac_ext
55436 cat >>conftest.$ac_ext <<_ACEOF
55437 /* end confdefs.h. */
55438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55440 #define $ac_func innocuous_$ac_func
55442 /* System header to define __stub macros and hopefully few prototypes,
55443 which can conflict with char $ac_func (); below.
55444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55445 <limits.h> exists even on freestanding compilers. */
55447 #ifdef __STDC__
55448 # include <limits.h>
55449 #else
55450 # include <assert.h>
55451 #endif
55453 #undef $ac_func
55455 /* Override any gcc2 internal prototype to avoid an error. */
55456 #ifdef __cplusplus
55457 extern "C"
55459 #endif
55460 /* We use char because int might match the return type of a gcc2
55461 builtin and then its argument prototype would still apply. */
55462 char $ac_func ();
55463 /* The GNU C library defines this for functions which it implements
55464 to always fail with ENOSYS. Some functions are actually named
55465 something starting with __ and the normal name is an alias. */
55466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55467 choke me
55468 #else
55469 char (*f) () = $ac_func;
55470 #endif
55471 #ifdef __cplusplus
55473 #endif
55476 main ()
55478 return f != $ac_func;
55480 return 0;
55482 _ACEOF
55483 rm -f conftest.$ac_objext conftest$ac_exeext
55484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55485 (eval $ac_link) 2>conftest.er1
55486 ac_status=$?
55487 grep -v '^ *+' conftest.er1 >conftest.err
55488 rm -f conftest.er1
55489 cat conftest.err >&5
55490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55491 (exit $ac_status); } &&
55492 { ac_try='test -z "$ac_c_werror_flag"
55493 || test ! -s conftest.err'
55494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55495 (eval $ac_try) 2>&5
55496 ac_status=$?
55497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55498 (exit $ac_status); }; } &&
55499 { ac_try='test -s conftest$ac_exeext'
55500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55501 (eval $ac_try) 2>&5
55502 ac_status=$?
55503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55504 (exit $ac_status); }; }; then
55505 eval "$as_ac_var=yes"
55506 else
55507 echo "$as_me: failed program was:" >&5
55508 sed 's/^/| /' conftest.$ac_ext >&5
55510 eval "$as_ac_var=no"
55512 rm -f conftest.err conftest.$ac_objext \
55513 conftest$ac_exeext conftest.$ac_ext
55515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55517 if test `eval echo '${'$as_ac_var'}'` = yes; then
55518 cat >>confdefs.h <<_ACEOF
55519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55520 _ACEOF
55521 ac_XPG2funcs=yes
55522 else
55523 ac_XPG2funcs=no
55525 done
55528 LIBS="$ac_save_LIBS"
55530 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
55531 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
55532 if test x"$ac_has_iconv_h" = xyes &&
55533 test x"$ac_has_langinfo_h" = xyes &&
55534 test x"$ac_XPG2funcs" = xyes;
55535 then
55536 ac_XPG2_wchar_t=yes
55537 else
55538 ac_XPG2_wchar_t=no
55540 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
55541 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
55543 # At the moment, only enable wchar_t specializations if all the
55544 # above support is present.
55545 if test x"$ac_isoC99_wchar_t" = xyes &&
55546 test x"$ac_XPG2_wchar_t" = xyes;
55547 then
55548 cat >>confdefs.h <<\_ACEOF
55549 #define _GLIBCXX_USE_WCHAR_T 1
55550 _ACEOF
55552 enable_wchar_t=yes
55555 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
55556 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
55557 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
55558 echo "${ECHO_T}$enable_wchar_t" >&6
55560 cat >>confdefs.h <<\_ACEOF
55561 #define HAVE_LC_MESSAGES 1
55562 _ACEOF
55564 cat >>confdefs.h <<\_ACEOF
55565 #define HAVE_GETPAGESIZE 1
55566 _ACEOF
55568 cat >>confdefs.h <<\_ACEOF
55569 #define HAVE_SETENV 1
55570 _ACEOF
55572 cat >>confdefs.h <<\_ACEOF
55573 #define HAVE_SIGSETJMP 1
55574 _ACEOF
55576 cat >>confdefs.h <<\_ACEOF
55577 #define HAVE_COPYSIGN 1
55578 _ACEOF
55580 cat >>confdefs.h <<\_ACEOF
55581 #define HAVE_COPYSIGNF 1
55582 _ACEOF
55584 cat >>confdefs.h <<\_ACEOF
55585 #define HAVE_FINITEF 1
55586 _ACEOF
55588 cat >>confdefs.h <<\_ACEOF
55589 #define HAVE_FINITE 1
55590 _ACEOF
55592 cat >>confdefs.h <<\_ACEOF
55593 #define HAVE_FREXPF 1
55594 _ACEOF
55596 cat >>confdefs.h <<\_ACEOF
55597 #define HAVE_HYPOT 1
55598 _ACEOF
55600 cat >>confdefs.h <<\_ACEOF
55601 #define HAVE_HYPOTF 1
55602 _ACEOF
55604 cat >>confdefs.h <<\_ACEOF
55605 #define HAVE_ISINF 1
55606 _ACEOF
55608 cat >>confdefs.h <<\_ACEOF
55609 #define HAVE_ISNAN 1
55610 _ACEOF
55612 cat >>confdefs.h <<\_ACEOF
55613 #define HAVE_ISNANF 1
55614 _ACEOF
55617 cat >>confdefs.h <<\_ACEOF
55618 #define HAVE_MMAP 1
55619 _ACEOF
55621 cat >>confdefs.h <<\_ACEOF
55622 #define HAVE_ACOSF 1
55623 _ACEOF
55625 cat >>confdefs.h <<\_ACEOF
55626 #define HAVE_ASINF 1
55627 _ACEOF
55629 cat >>confdefs.h <<\_ACEOF
55630 #define HAVE_ATAN2F 1
55631 _ACEOF
55633 cat >>confdefs.h <<\_ACEOF
55634 #define HAVE_ATANF 1
55635 _ACEOF
55637 cat >>confdefs.h <<\_ACEOF
55638 #define HAVE_CEILF 1
55639 _ACEOF
55641 cat >>confdefs.h <<\_ACEOF
55642 #define HAVE_COPYSIGN 1
55643 _ACEOF
55645 cat >>confdefs.h <<\_ACEOF
55646 #define HAVE_COPYSIGNF 1
55647 _ACEOF
55649 cat >>confdefs.h <<\_ACEOF
55650 #define HAVE_COSF 1
55651 _ACEOF
55653 cat >>confdefs.h <<\_ACEOF
55654 #define HAVE_COSHF 1
55655 _ACEOF
55657 cat >>confdefs.h <<\_ACEOF
55658 #define HAVE_EXPF 1
55659 _ACEOF
55661 cat >>confdefs.h <<\_ACEOF
55662 #define HAVE_FABSF 1
55663 _ACEOF
55665 cat >>confdefs.h <<\_ACEOF
55666 #define HAVE_FLOORF 1
55667 _ACEOF
55669 cat >>confdefs.h <<\_ACEOF
55670 #define HAVE_FMODF 1
55671 _ACEOF
55673 cat >>confdefs.h <<\_ACEOF
55674 #define HAVE_FREXPF 1
55675 _ACEOF
55677 cat >>confdefs.h <<\_ACEOF
55678 #define HAVE_LDEXPF 1
55679 _ACEOF
55681 cat >>confdefs.h <<\_ACEOF
55682 #define HAVE_LOG10F 1
55683 _ACEOF
55685 cat >>confdefs.h <<\_ACEOF
55686 #define HAVE_LOGF 1
55687 _ACEOF
55689 cat >>confdefs.h <<\_ACEOF
55690 #define HAVE_MODFF 1
55691 _ACEOF
55693 cat >>confdefs.h <<\_ACEOF
55694 #define HAVE_POWF 1
55695 _ACEOF
55697 cat >>confdefs.h <<\_ACEOF
55698 #define HAVE_SINF 1
55699 _ACEOF
55701 cat >>confdefs.h <<\_ACEOF
55702 #define HAVE_SINHF 1
55703 _ACEOF
55705 cat >>confdefs.h <<\_ACEOF
55706 #define HAVE_SQRTF 1
55707 _ACEOF
55709 cat >>confdefs.h <<\_ACEOF
55710 #define HAVE_TANF 1
55711 _ACEOF
55713 cat >>confdefs.h <<\_ACEOF
55714 #define HAVE_TANHF 1
55715 _ACEOF
55717 if test x"long_double_math_on_this_cpu" = x"yes"; then
55718 cat >>confdefs.h <<\_ACEOF
55719 #define HAVE_FINITEL 1
55720 _ACEOF
55722 cat >>confdefs.h <<\_ACEOF
55723 #define HAVE_ISINFL 1
55724 _ACEOF
55726 cat >>confdefs.h <<\_ACEOF
55727 #define HAVE_ISNANL 1
55728 _ACEOF
55732 *-hpux*)
55745 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
55746 machine/endian.h machine/param.h sys/machine.h sys/types.h \
55747 fp.h locale.h float.h inttypes.h
55749 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
55750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55751 echo "$as_me:$LINENO: checking for $ac_header" >&5
55752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55754 echo $ECHO_N "(cached) $ECHO_C" >&6
55756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55757 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55758 else
55759 # Is the header compilable?
55760 echo "$as_me:$LINENO: checking $ac_header usability" >&5
55761 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
55762 cat >conftest.$ac_ext <<_ACEOF
55763 /* confdefs.h. */
55764 _ACEOF
55765 cat confdefs.h >>conftest.$ac_ext
55766 cat >>conftest.$ac_ext <<_ACEOF
55767 /* end confdefs.h. */
55768 $ac_includes_default
55769 #include <$ac_header>
55770 _ACEOF
55771 rm -f conftest.$ac_objext
55772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55773 (eval $ac_compile) 2>conftest.er1
55774 ac_status=$?
55775 grep -v '^ *+' conftest.er1 >conftest.err
55776 rm -f conftest.er1
55777 cat conftest.err >&5
55778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55779 (exit $ac_status); } &&
55780 { ac_try='test -z "$ac_c_werror_flag"
55781 || test ! -s conftest.err'
55782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55783 (eval $ac_try) 2>&5
55784 ac_status=$?
55785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55786 (exit $ac_status); }; } &&
55787 { ac_try='test -s conftest.$ac_objext'
55788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55789 (eval $ac_try) 2>&5
55790 ac_status=$?
55791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55792 (exit $ac_status); }; }; then
55793 ac_header_compiler=yes
55794 else
55795 echo "$as_me: failed program was:" >&5
55796 sed 's/^/| /' conftest.$ac_ext >&5
55798 ac_header_compiler=no
55800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55801 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55802 echo "${ECHO_T}$ac_header_compiler" >&6
55804 # Is the header present?
55805 echo "$as_me:$LINENO: checking $ac_header presence" >&5
55806 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
55807 cat >conftest.$ac_ext <<_ACEOF
55808 /* confdefs.h. */
55809 _ACEOF
55810 cat confdefs.h >>conftest.$ac_ext
55811 cat >>conftest.$ac_ext <<_ACEOF
55812 /* end confdefs.h. */
55813 #include <$ac_header>
55814 _ACEOF
55815 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55816 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55817 ac_status=$?
55818 grep -v '^ *+' conftest.er1 >conftest.err
55819 rm -f conftest.er1
55820 cat conftest.err >&5
55821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55822 (exit $ac_status); } >/dev/null; then
55823 if test -s conftest.err; then
55824 ac_cpp_err=$ac_c_preproc_warn_flag
55825 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
55826 else
55827 ac_cpp_err=
55829 else
55830 ac_cpp_err=yes
55832 if test -z "$ac_cpp_err"; then
55833 ac_header_preproc=yes
55834 else
55835 echo "$as_me: failed program was:" >&5
55836 sed 's/^/| /' conftest.$ac_ext >&5
55838 ac_header_preproc=no
55840 rm -f conftest.err conftest.$ac_ext
55841 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55842 echo "${ECHO_T}$ac_header_preproc" >&6
55844 # So? What about this header?
55845 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
55846 yes:no: )
55847 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
55848 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
55849 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
55850 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
55851 ac_header_preproc=yes
55853 no:yes:* )
55854 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
55855 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
55856 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
55857 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
55858 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
55859 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
55860 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
55861 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
55862 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55863 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55864 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
55865 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
55867 cat <<\_ASBOX
55868 ## ----------------------------------------- ##
55869 ## Report this to the package-unused lists. ##
55870 ## ----------------------------------------- ##
55871 _ASBOX
55873 sed "s/^/$as_me: WARNING: /" >&2
55875 esac
55876 echo "$as_me:$LINENO: checking for $ac_header" >&5
55877 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55879 echo $ECHO_N "(cached) $ECHO_C" >&6
55880 else
55881 eval "$as_ac_Header=\$ac_header_preproc"
55883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55884 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55887 if test `eval echo '${'$as_ac_Header'}'` = yes; then
55888 cat >>confdefs.h <<_ACEOF
55889 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
55890 _ACEOF
55894 done
55896 SECTION_FLAGS='-ffunction-sections -fdata-sections'
55899 # If we're not using GNU ld, then there's no point in even trying these
55900 # tests. Check for that first. We should have already tested for gld
55901 # by now (in libtool), but require it now just to be safe...
55902 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
55903 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
55907 # The name set by libtool depends on the version of libtool. Shame on us
55908 # for depending on an impl detail, but c'est la vie. Older versions used
55909 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
55910 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
55911 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
55912 # set (hence we're using an older libtool), then set it.
55913 if test x${with_gnu_ld+set} != xset; then
55914 if test x${ac_cv_prog_gnu_ld+set} != xset; then
55915 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
55916 with_gnu_ld=no
55917 else
55918 with_gnu_ld=$ac_cv_prog_gnu_ld
55922 # Start by getting the version number. I think the libtool test already
55923 # does some of this, but throws away the result.
55925 ldver=`$LD --version 2>/dev/null | head -1 | \
55926 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
55928 glibcxx_gnu_ld_version=`echo $ldver | \
55929 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
55931 # Set --gc-sections.
55932 if test "$with_gnu_ld" = "notbroken"; then
55933 # GNU ld it is! Joy and bunny rabbits!
55935 # All these tests are for C++; save the language and the compiler flags.
55936 # Need to do this so that g++ won't try to link in libstdc++
55937 ac_test_CFLAGS="${CFLAGS+set}"
55938 ac_save_CFLAGS="$CFLAGS"
55939 CFLAGS='-x c++ -Wl,--gc-sections'
55941 # Check for -Wl,--gc-sections
55942 # XXX This test is broken at the moment, as symbols required for linking
55943 # are now in libsupc++ (not built yet). In addition, this test has
55944 # cored on solaris in the past. In addition, --gc-sections doesn't
55945 # really work at the moment (keeps on discarding used sections, first
55946 # .eh_frame and now some of the glibc sections for iconv).
55947 # Bzzzzt. Thanks for playing, maybe next time.
55948 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
55949 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
55950 if test "$cross_compiling" = yes; then
55951 ac_sectionLDflags=yes
55952 else
55953 cat >conftest.$ac_ext <<_ACEOF
55954 /* confdefs.h. */
55955 _ACEOF
55956 cat confdefs.h >>conftest.$ac_ext
55957 cat >>conftest.$ac_ext <<_ACEOF
55958 /* end confdefs.h. */
55960 int main(void)
55962 try { throw 1; }
55963 catch (...) { };
55964 return 0;
55967 _ACEOF
55968 rm -f conftest$ac_exeext
55969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55970 (eval $ac_link) 2>&5
55971 ac_status=$?
55972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55973 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
55974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55975 (eval $ac_try) 2>&5
55976 ac_status=$?
55977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55978 (exit $ac_status); }; }; then
55979 ac_sectionLDflags=yes
55980 else
55981 echo "$as_me: program exited with status $ac_status" >&5
55982 echo "$as_me: failed program was:" >&5
55983 sed 's/^/| /' conftest.$ac_ext >&5
55985 ( exit $ac_status )
55986 ac_sectionLDflags=no
55988 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
55990 if test "$ac_test_CFLAGS" = set; then
55991 CFLAGS="$ac_save_CFLAGS"
55992 else
55993 # this is the suspicious part
55994 CFLAGS=''
55996 if test "$ac_sectionLDflags" = "yes"; then
55997 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
55999 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
56000 echo "${ECHO_T}$ac_sectionLDflags" >&6
56003 # Set linker optimization flags.
56004 if test x"$with_gnu_ld" = x"yes"; then
56005 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56013 echo "$as_me:$LINENO: checking for main in -lm" >&5
56014 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
56015 if test "${ac_cv_lib_m_main+set}" = set; then
56016 echo $ECHO_N "(cached) $ECHO_C" >&6
56017 else
56018 ac_check_lib_save_LIBS=$LIBS
56019 LIBS="-lm $LIBS"
56020 if test x$gcc_no_link = xyes; then
56021 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56023 { (exit 1); exit 1; }; }
56025 cat >conftest.$ac_ext <<_ACEOF
56026 /* confdefs.h. */
56027 _ACEOF
56028 cat confdefs.h >>conftest.$ac_ext
56029 cat >>conftest.$ac_ext <<_ACEOF
56030 /* end confdefs.h. */
56034 main ()
56036 main ();
56038 return 0;
56040 _ACEOF
56041 rm -f conftest.$ac_objext conftest$ac_exeext
56042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56043 (eval $ac_link) 2>conftest.er1
56044 ac_status=$?
56045 grep -v '^ *+' conftest.er1 >conftest.err
56046 rm -f conftest.er1
56047 cat conftest.err >&5
56048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56049 (exit $ac_status); } &&
56050 { ac_try='test -z "$ac_c_werror_flag"
56051 || test ! -s conftest.err'
56052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56053 (eval $ac_try) 2>&5
56054 ac_status=$?
56055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56056 (exit $ac_status); }; } &&
56057 { ac_try='test -s conftest$ac_exeext'
56058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56059 (eval $ac_try) 2>&5
56060 ac_status=$?
56061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56062 (exit $ac_status); }; }; then
56063 ac_cv_lib_m_main=yes
56064 else
56065 echo "$as_me: failed program was:" >&5
56066 sed 's/^/| /' conftest.$ac_ext >&5
56068 ac_cv_lib_m_main=no
56070 rm -f conftest.err conftest.$ac_objext \
56071 conftest$ac_exeext conftest.$ac_ext
56072 LIBS=$ac_check_lib_save_LIBS
56074 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
56075 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
56076 if test $ac_cv_lib_m_main = yes; then
56077 cat >>confdefs.h <<_ACEOF
56078 #define HAVE_LIBM 1
56079 _ACEOF
56081 LIBS="-lm $LIBS"
56087 for ac_func in nan copysignf
56089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56090 echo "$as_me:$LINENO: checking for $ac_func" >&5
56091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56092 if eval "test \"\${$as_ac_var+set}\" = set"; then
56093 echo $ECHO_N "(cached) $ECHO_C" >&6
56094 else
56095 if test x$gcc_no_link = xyes; then
56096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56098 { (exit 1); exit 1; }; }
56100 cat >conftest.$ac_ext <<_ACEOF
56101 /* confdefs.h. */
56102 _ACEOF
56103 cat confdefs.h >>conftest.$ac_ext
56104 cat >>conftest.$ac_ext <<_ACEOF
56105 /* end confdefs.h. */
56106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56108 #define $ac_func innocuous_$ac_func
56110 /* System header to define __stub macros and hopefully few prototypes,
56111 which can conflict with char $ac_func (); below.
56112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56113 <limits.h> exists even on freestanding compilers. */
56115 #ifdef __STDC__
56116 # include <limits.h>
56117 #else
56118 # include <assert.h>
56119 #endif
56121 #undef $ac_func
56123 /* Override any gcc2 internal prototype to avoid an error. */
56124 #ifdef __cplusplus
56125 extern "C"
56127 #endif
56128 /* We use char because int might match the return type of a gcc2
56129 builtin and then its argument prototype would still apply. */
56130 char $ac_func ();
56131 /* The GNU C library defines this for functions which it implements
56132 to always fail with ENOSYS. Some functions are actually named
56133 something starting with __ and the normal name is an alias. */
56134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56135 choke me
56136 #else
56137 char (*f) () = $ac_func;
56138 #endif
56139 #ifdef __cplusplus
56141 #endif
56144 main ()
56146 return f != $ac_func;
56148 return 0;
56150 _ACEOF
56151 rm -f conftest.$ac_objext conftest$ac_exeext
56152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56153 (eval $ac_link) 2>conftest.er1
56154 ac_status=$?
56155 grep -v '^ *+' conftest.er1 >conftest.err
56156 rm -f conftest.er1
56157 cat conftest.err >&5
56158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56159 (exit $ac_status); } &&
56160 { ac_try='test -z "$ac_c_werror_flag"
56161 || test ! -s conftest.err'
56162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56163 (eval $ac_try) 2>&5
56164 ac_status=$?
56165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56166 (exit $ac_status); }; } &&
56167 { ac_try='test -s conftest$ac_exeext'
56168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56169 (eval $ac_try) 2>&5
56170 ac_status=$?
56171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56172 (exit $ac_status); }; }; then
56173 eval "$as_ac_var=yes"
56174 else
56175 echo "$as_me: failed program was:" >&5
56176 sed 's/^/| /' conftest.$ac_ext >&5
56178 eval "$as_ac_var=no"
56180 rm -f conftest.err conftest.$ac_objext \
56181 conftest$ac_exeext conftest.$ac_ext
56183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56185 if test `eval echo '${'$as_ac_var'}'` = yes; then
56186 cat >>confdefs.h <<_ACEOF
56187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56188 _ACEOF
56190 else
56191 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
56193 done
56197 for ac_func in __signbit
56199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56200 echo "$as_me:$LINENO: checking for $ac_func" >&5
56201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56202 if eval "test \"\${$as_ac_var+set}\" = set"; then
56203 echo $ECHO_N "(cached) $ECHO_C" >&6
56204 else
56205 if test x$gcc_no_link = xyes; then
56206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56208 { (exit 1); exit 1; }; }
56210 cat >conftest.$ac_ext <<_ACEOF
56211 /* confdefs.h. */
56212 _ACEOF
56213 cat confdefs.h >>conftest.$ac_ext
56214 cat >>conftest.$ac_ext <<_ACEOF
56215 /* end confdefs.h. */
56216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56218 #define $ac_func innocuous_$ac_func
56220 /* System header to define __stub macros and hopefully few prototypes,
56221 which can conflict with char $ac_func (); below.
56222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56223 <limits.h> exists even on freestanding compilers. */
56225 #ifdef __STDC__
56226 # include <limits.h>
56227 #else
56228 # include <assert.h>
56229 #endif
56231 #undef $ac_func
56233 /* Override any gcc2 internal prototype to avoid an error. */
56234 #ifdef __cplusplus
56235 extern "C"
56237 #endif
56238 /* We use char because int might match the return type of a gcc2
56239 builtin and then its argument prototype would still apply. */
56240 char $ac_func ();
56241 /* The GNU C library defines this for functions which it implements
56242 to always fail with ENOSYS. Some functions are actually named
56243 something starting with __ and the normal name is an alias. */
56244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56245 choke me
56246 #else
56247 char (*f) () = $ac_func;
56248 #endif
56249 #ifdef __cplusplus
56251 #endif
56254 main ()
56256 return f != $ac_func;
56258 return 0;
56260 _ACEOF
56261 rm -f conftest.$ac_objext conftest$ac_exeext
56262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56263 (eval $ac_link) 2>conftest.er1
56264 ac_status=$?
56265 grep -v '^ *+' conftest.er1 >conftest.err
56266 rm -f conftest.er1
56267 cat conftest.err >&5
56268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56269 (exit $ac_status); } &&
56270 { ac_try='test -z "$ac_c_werror_flag"
56271 || test ! -s conftest.err'
56272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56273 (eval $ac_try) 2>&5
56274 ac_status=$?
56275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56276 (exit $ac_status); }; } &&
56277 { ac_try='test -s conftest$ac_exeext'
56278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56279 (eval $ac_try) 2>&5
56280 ac_status=$?
56281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56282 (exit $ac_status); }; }; then
56283 eval "$as_ac_var=yes"
56284 else
56285 echo "$as_me: failed program was:" >&5
56286 sed 's/^/| /' conftest.$ac_ext >&5
56288 eval "$as_ac_var=no"
56290 rm -f conftest.err conftest.$ac_objext \
56291 conftest$ac_exeext conftest.$ac_ext
56293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56295 if test `eval echo '${'$as_ac_var'}'` = yes; then
56296 cat >>confdefs.h <<_ACEOF
56297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56298 _ACEOF
56300 else
56301 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
56303 done
56306 for ac_func in __signbitf
56308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56309 echo "$as_me:$LINENO: checking for $ac_func" >&5
56310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56311 if eval "test \"\${$as_ac_var+set}\" = set"; then
56312 echo $ECHO_N "(cached) $ECHO_C" >&6
56313 else
56314 if test x$gcc_no_link = xyes; then
56315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56317 { (exit 1); exit 1; }; }
56319 cat >conftest.$ac_ext <<_ACEOF
56320 /* confdefs.h. */
56321 _ACEOF
56322 cat confdefs.h >>conftest.$ac_ext
56323 cat >>conftest.$ac_ext <<_ACEOF
56324 /* end confdefs.h. */
56325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56327 #define $ac_func innocuous_$ac_func
56329 /* System header to define __stub macros and hopefully few prototypes,
56330 which can conflict with char $ac_func (); below.
56331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56332 <limits.h> exists even on freestanding compilers. */
56334 #ifdef __STDC__
56335 # include <limits.h>
56336 #else
56337 # include <assert.h>
56338 #endif
56340 #undef $ac_func
56342 /* Override any gcc2 internal prototype to avoid an error. */
56343 #ifdef __cplusplus
56344 extern "C"
56346 #endif
56347 /* We use char because int might match the return type of a gcc2
56348 builtin and then its argument prototype would still apply. */
56349 char $ac_func ();
56350 /* The GNU C library defines this for functions which it implements
56351 to always fail with ENOSYS. Some functions are actually named
56352 something starting with __ and the normal name is an alias. */
56353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56354 choke me
56355 #else
56356 char (*f) () = $ac_func;
56357 #endif
56358 #ifdef __cplusplus
56360 #endif
56363 main ()
56365 return f != $ac_func;
56367 return 0;
56369 _ACEOF
56370 rm -f conftest.$ac_objext conftest$ac_exeext
56371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56372 (eval $ac_link) 2>conftest.er1
56373 ac_status=$?
56374 grep -v '^ *+' conftest.er1 >conftest.err
56375 rm -f conftest.er1
56376 cat conftest.err >&5
56377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56378 (exit $ac_status); } &&
56379 { ac_try='test -z "$ac_c_werror_flag"
56380 || test ! -s conftest.err'
56381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56382 (eval $ac_try) 2>&5
56383 ac_status=$?
56384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56385 (exit $ac_status); }; } &&
56386 { ac_try='test -s conftest$ac_exeext'
56387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56388 (eval $ac_try) 2>&5
56389 ac_status=$?
56390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56391 (exit $ac_status); }; }; then
56392 eval "$as_ac_var=yes"
56393 else
56394 echo "$as_me: failed program was:" >&5
56395 sed 's/^/| /' conftest.$ac_ext >&5
56397 eval "$as_ac_var=no"
56399 rm -f conftest.err conftest.$ac_objext \
56400 conftest$ac_exeext conftest.$ac_ext
56402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56404 if test `eval echo '${'$as_ac_var'}'` = yes; then
56405 cat >>confdefs.h <<_ACEOF
56406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56407 _ACEOF
56409 else
56410 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
56412 done
56415 if test x$ac_cv_func_copysignl = x"yes"; then
56417 for ac_func in __signbitl
56419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56420 echo "$as_me:$LINENO: checking for $ac_func" >&5
56421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56422 if eval "test \"\${$as_ac_var+set}\" = set"; then
56423 echo $ECHO_N "(cached) $ECHO_C" >&6
56424 else
56425 if test x$gcc_no_link = xyes; then
56426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56428 { (exit 1); exit 1; }; }
56430 cat >conftest.$ac_ext <<_ACEOF
56431 /* confdefs.h. */
56432 _ACEOF
56433 cat confdefs.h >>conftest.$ac_ext
56434 cat >>conftest.$ac_ext <<_ACEOF
56435 /* end confdefs.h. */
56436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56438 #define $ac_func innocuous_$ac_func
56440 /* System header to define __stub macros and hopefully few prototypes,
56441 which can conflict with char $ac_func (); below.
56442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56443 <limits.h> exists even on freestanding compilers. */
56445 #ifdef __STDC__
56446 # include <limits.h>
56447 #else
56448 # include <assert.h>
56449 #endif
56451 #undef $ac_func
56453 /* Override any gcc2 internal prototype to avoid an error. */
56454 #ifdef __cplusplus
56455 extern "C"
56457 #endif
56458 /* We use char because int might match the return type of a gcc2
56459 builtin and then its argument prototype would still apply. */
56460 char $ac_func ();
56461 /* The GNU C library defines this for functions which it implements
56462 to always fail with ENOSYS. Some functions are actually named
56463 something starting with __ and the normal name is an alias. */
56464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56465 choke me
56466 #else
56467 char (*f) () = $ac_func;
56468 #endif
56469 #ifdef __cplusplus
56471 #endif
56474 main ()
56476 return f != $ac_func;
56478 return 0;
56480 _ACEOF
56481 rm -f conftest.$ac_objext conftest$ac_exeext
56482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56483 (eval $ac_link) 2>conftest.er1
56484 ac_status=$?
56485 grep -v '^ *+' conftest.er1 >conftest.err
56486 rm -f conftest.er1
56487 cat conftest.err >&5
56488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56489 (exit $ac_status); } &&
56490 { ac_try='test -z "$ac_c_werror_flag"
56491 || test ! -s conftest.err'
56492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56493 (eval $ac_try) 2>&5
56494 ac_status=$?
56495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56496 (exit $ac_status); }; } &&
56497 { ac_try='test -s conftest$ac_exeext'
56498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56499 (eval $ac_try) 2>&5
56500 ac_status=$?
56501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56502 (exit $ac_status); }; }; then
56503 eval "$as_ac_var=yes"
56504 else
56505 echo "$as_me: failed program was:" >&5
56506 sed 's/^/| /' conftest.$ac_ext >&5
56508 eval "$as_ac_var=no"
56510 rm -f conftest.err conftest.$ac_objext \
56511 conftest$ac_exeext conftest.$ac_ext
56513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56515 if test `eval echo '${'$as_ac_var'}'` = yes; then
56516 cat >>confdefs.h <<_ACEOF
56517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56518 _ACEOF
56520 else
56521 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
56523 done
56527 # XXX Review this. Nothing uses it.
56528 if test -n "$LIBMATHOBJS"; then
56529 need_libmath=yes
56534 # Test wchar.h for mbstate_t, which is needed for char_traits and
56535 # others even if wchar_t support is not on.
56536 echo "$as_me:$LINENO: checking for mbstate_t" >&5
56537 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
56538 cat >conftest.$ac_ext <<_ACEOF
56539 /* confdefs.h. */
56540 _ACEOF
56541 cat confdefs.h >>conftest.$ac_ext
56542 cat >>conftest.$ac_ext <<_ACEOF
56543 /* end confdefs.h. */
56544 #include <wchar.h>
56546 main ()
56548 mbstate_t teststate;
56550 return 0;
56552 _ACEOF
56553 rm -f conftest.$ac_objext
56554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56555 (eval $ac_compile) 2>conftest.er1
56556 ac_status=$?
56557 grep -v '^ *+' conftest.er1 >conftest.err
56558 rm -f conftest.er1
56559 cat conftest.err >&5
56560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56561 (exit $ac_status); } &&
56562 { ac_try='test -z "$ac_c_werror_flag"
56563 || test ! -s conftest.err'
56564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56565 (eval $ac_try) 2>&5
56566 ac_status=$?
56567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56568 (exit $ac_status); }; } &&
56569 { ac_try='test -s conftest.$ac_objext'
56570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56571 (eval $ac_try) 2>&5
56572 ac_status=$?
56573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56574 (exit $ac_status); }; }; then
56575 have_mbstate_t=yes
56576 else
56577 echo "$as_me: failed program was:" >&5
56578 sed 's/^/| /' conftest.$ac_ext >&5
56580 have_mbstate_t=no
56582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56583 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
56584 echo "${ECHO_T}$have_mbstate_t" >&6
56585 if test x"$have_mbstate_t" = xyes; then
56586 cat >>confdefs.h <<\_ACEOF
56587 #define HAVE_MBSTATE_T 1
56588 _ACEOF
56592 # Sanity check for existence of ISO C99 headers for extended encoding.
56594 for ac_header in wchar.h
56596 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
56597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56598 echo "$as_me:$LINENO: checking for $ac_header" >&5
56599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56601 echo $ECHO_N "(cached) $ECHO_C" >&6
56603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56604 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56605 else
56606 # Is the header compilable?
56607 echo "$as_me:$LINENO: checking $ac_header usability" >&5
56608 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
56609 cat >conftest.$ac_ext <<_ACEOF
56610 /* confdefs.h. */
56611 _ACEOF
56612 cat confdefs.h >>conftest.$ac_ext
56613 cat >>conftest.$ac_ext <<_ACEOF
56614 /* end confdefs.h. */
56615 $ac_includes_default
56616 #include <$ac_header>
56617 _ACEOF
56618 rm -f conftest.$ac_objext
56619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56620 (eval $ac_compile) 2>conftest.er1
56621 ac_status=$?
56622 grep -v '^ *+' conftest.er1 >conftest.err
56623 rm -f conftest.er1
56624 cat conftest.err >&5
56625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56626 (exit $ac_status); } &&
56627 { ac_try='test -z "$ac_c_werror_flag"
56628 || test ! -s conftest.err'
56629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56630 (eval $ac_try) 2>&5
56631 ac_status=$?
56632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56633 (exit $ac_status); }; } &&
56634 { ac_try='test -s conftest.$ac_objext'
56635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56636 (eval $ac_try) 2>&5
56637 ac_status=$?
56638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56639 (exit $ac_status); }; }; then
56640 ac_header_compiler=yes
56641 else
56642 echo "$as_me: failed program was:" >&5
56643 sed 's/^/| /' conftest.$ac_ext >&5
56645 ac_header_compiler=no
56647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56648 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56649 echo "${ECHO_T}$ac_header_compiler" >&6
56651 # Is the header present?
56652 echo "$as_me:$LINENO: checking $ac_header presence" >&5
56653 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
56654 cat >conftest.$ac_ext <<_ACEOF
56655 /* confdefs.h. */
56656 _ACEOF
56657 cat confdefs.h >>conftest.$ac_ext
56658 cat >>conftest.$ac_ext <<_ACEOF
56659 /* end confdefs.h. */
56660 #include <$ac_header>
56661 _ACEOF
56662 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56663 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56664 ac_status=$?
56665 grep -v '^ *+' conftest.er1 >conftest.err
56666 rm -f conftest.er1
56667 cat conftest.err >&5
56668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56669 (exit $ac_status); } >/dev/null; then
56670 if test -s conftest.err; then
56671 ac_cpp_err=$ac_c_preproc_warn_flag
56672 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
56673 else
56674 ac_cpp_err=
56676 else
56677 ac_cpp_err=yes
56679 if test -z "$ac_cpp_err"; then
56680 ac_header_preproc=yes
56681 else
56682 echo "$as_me: failed program was:" >&5
56683 sed 's/^/| /' conftest.$ac_ext >&5
56685 ac_header_preproc=no
56687 rm -f conftest.err conftest.$ac_ext
56688 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56689 echo "${ECHO_T}$ac_header_preproc" >&6
56691 # So? What about this header?
56692 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
56693 yes:no: )
56694 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
56695 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
56696 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
56697 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
56698 ac_header_preproc=yes
56700 no:yes:* )
56701 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
56702 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
56703 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
56704 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
56705 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
56706 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
56707 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
56708 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
56709 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56710 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56711 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
56712 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
56714 cat <<\_ASBOX
56715 ## ----------------------------------------- ##
56716 ## Report this to the package-unused lists. ##
56717 ## ----------------------------------------- ##
56718 _ASBOX
56720 sed "s/^/$as_me: WARNING: /" >&2
56722 esac
56723 echo "$as_me:$LINENO: checking for $ac_header" >&5
56724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56726 echo $ECHO_N "(cached) $ECHO_C" >&6
56727 else
56728 eval "$as_ac_Header=\$ac_header_preproc"
56730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56731 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56734 if test `eval echo '${'$as_ac_Header'}'` = yes; then
56735 cat >>confdefs.h <<_ACEOF
56736 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
56737 _ACEOF
56738 ac_has_wchar_h=yes
56739 else
56740 ac_has_wchar_h=no
56743 done
56746 for ac_header in wctype.h
56748 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
56749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56750 echo "$as_me:$LINENO: checking for $ac_header" >&5
56751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56753 echo $ECHO_N "(cached) $ECHO_C" >&6
56755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56757 else
56758 # Is the header compilable?
56759 echo "$as_me:$LINENO: checking $ac_header usability" >&5
56760 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
56761 cat >conftest.$ac_ext <<_ACEOF
56762 /* confdefs.h. */
56763 _ACEOF
56764 cat confdefs.h >>conftest.$ac_ext
56765 cat >>conftest.$ac_ext <<_ACEOF
56766 /* end confdefs.h. */
56767 $ac_includes_default
56768 #include <$ac_header>
56769 _ACEOF
56770 rm -f conftest.$ac_objext
56771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56772 (eval $ac_compile) 2>conftest.er1
56773 ac_status=$?
56774 grep -v '^ *+' conftest.er1 >conftest.err
56775 rm -f conftest.er1
56776 cat conftest.err >&5
56777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56778 (exit $ac_status); } &&
56779 { ac_try='test -z "$ac_c_werror_flag"
56780 || test ! -s conftest.err'
56781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56782 (eval $ac_try) 2>&5
56783 ac_status=$?
56784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56785 (exit $ac_status); }; } &&
56786 { ac_try='test -s conftest.$ac_objext'
56787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56788 (eval $ac_try) 2>&5
56789 ac_status=$?
56790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56791 (exit $ac_status); }; }; then
56792 ac_header_compiler=yes
56793 else
56794 echo "$as_me: failed program was:" >&5
56795 sed 's/^/| /' conftest.$ac_ext >&5
56797 ac_header_compiler=no
56799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56800 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56801 echo "${ECHO_T}$ac_header_compiler" >&6
56803 # Is the header present?
56804 echo "$as_me:$LINENO: checking $ac_header presence" >&5
56805 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
56806 cat >conftest.$ac_ext <<_ACEOF
56807 /* confdefs.h. */
56808 _ACEOF
56809 cat confdefs.h >>conftest.$ac_ext
56810 cat >>conftest.$ac_ext <<_ACEOF
56811 /* end confdefs.h. */
56812 #include <$ac_header>
56813 _ACEOF
56814 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56815 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56816 ac_status=$?
56817 grep -v '^ *+' conftest.er1 >conftest.err
56818 rm -f conftest.er1
56819 cat conftest.err >&5
56820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56821 (exit $ac_status); } >/dev/null; then
56822 if test -s conftest.err; then
56823 ac_cpp_err=$ac_c_preproc_warn_flag
56824 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
56825 else
56826 ac_cpp_err=
56828 else
56829 ac_cpp_err=yes
56831 if test -z "$ac_cpp_err"; then
56832 ac_header_preproc=yes
56833 else
56834 echo "$as_me: failed program was:" >&5
56835 sed 's/^/| /' conftest.$ac_ext >&5
56837 ac_header_preproc=no
56839 rm -f conftest.err conftest.$ac_ext
56840 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56841 echo "${ECHO_T}$ac_header_preproc" >&6
56843 # So? What about this header?
56844 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
56845 yes:no: )
56846 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
56847 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
56848 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
56849 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
56850 ac_header_preproc=yes
56852 no:yes:* )
56853 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
56854 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
56855 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
56856 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
56857 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
56858 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
56859 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
56860 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
56861 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56862 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56863 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
56864 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
56866 cat <<\_ASBOX
56867 ## ----------------------------------------- ##
56868 ## Report this to the package-unused lists. ##
56869 ## ----------------------------------------- ##
56870 _ASBOX
56872 sed "s/^/$as_me: WARNING: /" >&2
56874 esac
56875 echo "$as_me:$LINENO: checking for $ac_header" >&5
56876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56878 echo $ECHO_N "(cached) $ECHO_C" >&6
56879 else
56880 eval "$as_ac_Header=\$ac_header_preproc"
56882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56886 if test `eval echo '${'$as_ac_Header'}'` = yes; then
56887 cat >>confdefs.h <<_ACEOF
56888 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
56889 _ACEOF
56890 ac_has_wctype_h=yes
56891 else
56892 ac_has_wctype_h=no
56895 done
56898 # Only continue checking if the ISO C99 headers exist and support is on.
56899 if test x"$ac_has_wchar_h" = xyes &&
56900 test x"$ac_has_wctype_h" = xyes &&
56901 test x"$enable_c_mbchar" != xno; then
56903 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
56904 # numeric_limits can instantiate type_traits<wchar_t>
56905 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
56906 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
56907 cat >conftest.$ac_ext <<_ACEOF
56908 /* confdefs.h. */
56909 _ACEOF
56910 cat confdefs.h >>conftest.$ac_ext
56911 cat >>conftest.$ac_ext <<_ACEOF
56912 /* end confdefs.h. */
56913 #include <wchar.h>
56915 main ()
56917 int i = WCHAR_MIN; int j = WCHAR_MAX;
56919 return 0;
56921 _ACEOF
56922 rm -f conftest.$ac_objext
56923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56924 (eval $ac_compile) 2>conftest.er1
56925 ac_status=$?
56926 grep -v '^ *+' conftest.er1 >conftest.err
56927 rm -f conftest.er1
56928 cat conftest.err >&5
56929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56930 (exit $ac_status); } &&
56931 { ac_try='test -z "$ac_c_werror_flag"
56932 || test ! -s conftest.err'
56933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56934 (eval $ac_try) 2>&5
56935 ac_status=$?
56936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56937 (exit $ac_status); }; } &&
56938 { ac_try='test -s conftest.$ac_objext'
56939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56940 (eval $ac_try) 2>&5
56941 ac_status=$?
56942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56943 (exit $ac_status); }; }; then
56944 has_wchar_minmax=yes
56945 else
56946 echo "$as_me: failed program was:" >&5
56947 sed 's/^/| /' conftest.$ac_ext >&5
56949 has_wchar_minmax=no
56951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56952 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
56953 echo "${ECHO_T}$has_wchar_minmax" >&6
56955 # Test wchar.h for WEOF, which is what we use to determine whether
56956 # to specialize for char_traits<wchar_t> or not.
56957 echo "$as_me:$LINENO: checking for WEOF" >&5
56958 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
56959 cat >conftest.$ac_ext <<_ACEOF
56960 /* confdefs.h. */
56961 _ACEOF
56962 cat confdefs.h >>conftest.$ac_ext
56963 cat >>conftest.$ac_ext <<_ACEOF
56964 /* end confdefs.h. */
56966 #include <wchar.h>
56967 #include <stddef.h>
56969 main ()
56971 wint_t i = WEOF;
56973 return 0;
56975 _ACEOF
56976 rm -f conftest.$ac_objext
56977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56978 (eval $ac_compile) 2>conftest.er1
56979 ac_status=$?
56980 grep -v '^ *+' conftest.er1 >conftest.err
56981 rm -f conftest.er1
56982 cat conftest.err >&5
56983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56984 (exit $ac_status); } &&
56985 { ac_try='test -z "$ac_c_werror_flag"
56986 || test ! -s conftest.err'
56987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56988 (eval $ac_try) 2>&5
56989 ac_status=$?
56990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56991 (exit $ac_status); }; } &&
56992 { ac_try='test -s conftest.$ac_objext'
56993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56994 (eval $ac_try) 2>&5
56995 ac_status=$?
56996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56997 (exit $ac_status); }; }; then
56998 has_weof=yes
56999 else
57000 echo "$as_me: failed program was:" >&5
57001 sed 's/^/| /' conftest.$ac_ext >&5
57003 has_weof=no
57005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57006 echo "$as_me:$LINENO: result: $has_weof" >&5
57007 echo "${ECHO_T}$has_weof" >&6
57009 # Tests for wide character functions used in char_traits<wchar_t>.
57010 ac_wfuncs=yes
57017 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
57019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57020 echo "$as_me:$LINENO: checking for $ac_func" >&5
57021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57022 if eval "test \"\${$as_ac_var+set}\" = set"; then
57023 echo $ECHO_N "(cached) $ECHO_C" >&6
57024 else
57025 if test x$gcc_no_link = xyes; then
57026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57028 { (exit 1); exit 1; }; }
57030 cat >conftest.$ac_ext <<_ACEOF
57031 /* confdefs.h. */
57032 _ACEOF
57033 cat confdefs.h >>conftest.$ac_ext
57034 cat >>conftest.$ac_ext <<_ACEOF
57035 /* end confdefs.h. */
57036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57038 #define $ac_func innocuous_$ac_func
57040 /* System header to define __stub macros and hopefully few prototypes,
57041 which can conflict with char $ac_func (); below.
57042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57043 <limits.h> exists even on freestanding compilers. */
57045 #ifdef __STDC__
57046 # include <limits.h>
57047 #else
57048 # include <assert.h>
57049 #endif
57051 #undef $ac_func
57053 /* Override any gcc2 internal prototype to avoid an error. */
57054 #ifdef __cplusplus
57055 extern "C"
57057 #endif
57058 /* We use char because int might match the return type of a gcc2
57059 builtin and then its argument prototype would still apply. */
57060 char $ac_func ();
57061 /* The GNU C library defines this for functions which it implements
57062 to always fail with ENOSYS. Some functions are actually named
57063 something starting with __ and the normal name is an alias. */
57064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57065 choke me
57066 #else
57067 char (*f) () = $ac_func;
57068 #endif
57069 #ifdef __cplusplus
57071 #endif
57074 main ()
57076 return f != $ac_func;
57078 return 0;
57080 _ACEOF
57081 rm -f conftest.$ac_objext conftest$ac_exeext
57082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57083 (eval $ac_link) 2>conftest.er1
57084 ac_status=$?
57085 grep -v '^ *+' conftest.er1 >conftest.err
57086 rm -f conftest.er1
57087 cat conftest.err >&5
57088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57089 (exit $ac_status); } &&
57090 { ac_try='test -z "$ac_c_werror_flag"
57091 || test ! -s conftest.err'
57092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57093 (eval $ac_try) 2>&5
57094 ac_status=$?
57095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57096 (exit $ac_status); }; } &&
57097 { ac_try='test -s conftest$ac_exeext'
57098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57099 (eval $ac_try) 2>&5
57100 ac_status=$?
57101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57102 (exit $ac_status); }; }; then
57103 eval "$as_ac_var=yes"
57104 else
57105 echo "$as_me: failed program was:" >&5
57106 sed 's/^/| /' conftest.$ac_ext >&5
57108 eval "$as_ac_var=no"
57110 rm -f conftest.err conftest.$ac_objext \
57111 conftest$ac_exeext conftest.$ac_ext
57113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57115 if test `eval echo '${'$as_ac_var'}'` = yes; then
57116 cat >>confdefs.h <<_ACEOF
57117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57118 _ACEOF
57120 else
57121 ac_wfuncs=no
57123 done
57126 # Checks for names injected into std:: by the c_std headers.
57173 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
57174 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
57175 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
57176 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
57177 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
57178 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
57180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57181 echo "$as_me:$LINENO: checking for $ac_func" >&5
57182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57183 if eval "test \"\${$as_ac_var+set}\" = set"; then
57184 echo $ECHO_N "(cached) $ECHO_C" >&6
57185 else
57186 if test x$gcc_no_link = xyes; then
57187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57189 { (exit 1); exit 1; }; }
57191 cat >conftest.$ac_ext <<_ACEOF
57192 /* confdefs.h. */
57193 _ACEOF
57194 cat confdefs.h >>conftest.$ac_ext
57195 cat >>conftest.$ac_ext <<_ACEOF
57196 /* end confdefs.h. */
57197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57199 #define $ac_func innocuous_$ac_func
57201 /* System header to define __stub macros and hopefully few prototypes,
57202 which can conflict with char $ac_func (); below.
57203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57204 <limits.h> exists even on freestanding compilers. */
57206 #ifdef __STDC__
57207 # include <limits.h>
57208 #else
57209 # include <assert.h>
57210 #endif
57212 #undef $ac_func
57214 /* Override any gcc2 internal prototype to avoid an error. */
57215 #ifdef __cplusplus
57216 extern "C"
57218 #endif
57219 /* We use char because int might match the return type of a gcc2
57220 builtin and then its argument prototype would still apply. */
57221 char $ac_func ();
57222 /* The GNU C library defines this for functions which it implements
57223 to always fail with ENOSYS. Some functions are actually named
57224 something starting with __ and the normal name is an alias. */
57225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57226 choke me
57227 #else
57228 char (*f) () = $ac_func;
57229 #endif
57230 #ifdef __cplusplus
57232 #endif
57235 main ()
57237 return f != $ac_func;
57239 return 0;
57241 _ACEOF
57242 rm -f conftest.$ac_objext conftest$ac_exeext
57243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57244 (eval $ac_link) 2>conftest.er1
57245 ac_status=$?
57246 grep -v '^ *+' conftest.er1 >conftest.err
57247 rm -f conftest.er1
57248 cat conftest.err >&5
57249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57250 (exit $ac_status); } &&
57251 { ac_try='test -z "$ac_c_werror_flag"
57252 || test ! -s conftest.err'
57253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57254 (eval $ac_try) 2>&5
57255 ac_status=$?
57256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57257 (exit $ac_status); }; } &&
57258 { ac_try='test -s conftest$ac_exeext'
57259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57260 (eval $ac_try) 2>&5
57261 ac_status=$?
57262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57263 (exit $ac_status); }; }; then
57264 eval "$as_ac_var=yes"
57265 else
57266 echo "$as_me: failed program was:" >&5
57267 sed 's/^/| /' conftest.$ac_ext >&5
57269 eval "$as_ac_var=no"
57271 rm -f conftest.err conftest.$ac_objext \
57272 conftest$ac_exeext conftest.$ac_ext
57274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57276 if test `eval echo '${'$as_ac_var'}'` = yes; then
57277 cat >>confdefs.h <<_ACEOF
57278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57279 _ACEOF
57281 else
57282 ac_wfuncs=no
57284 done
57287 # Checks for wide character functions that are not required
57288 # for basic wchar_t support. Don't disable support if they are missing.
57289 # Injection of these is wrapped with guard macros.
57295 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
57297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57298 echo "$as_me:$LINENO: checking for $ac_func" >&5
57299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57300 if eval "test \"\${$as_ac_var+set}\" = set"; then
57301 echo $ECHO_N "(cached) $ECHO_C" >&6
57302 else
57303 if test x$gcc_no_link = xyes; then
57304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57306 { (exit 1); exit 1; }; }
57308 cat >conftest.$ac_ext <<_ACEOF
57309 /* confdefs.h. */
57310 _ACEOF
57311 cat confdefs.h >>conftest.$ac_ext
57312 cat >>conftest.$ac_ext <<_ACEOF
57313 /* end confdefs.h. */
57314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57316 #define $ac_func innocuous_$ac_func
57318 /* System header to define __stub macros and hopefully few prototypes,
57319 which can conflict with char $ac_func (); below.
57320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57321 <limits.h> exists even on freestanding compilers. */
57323 #ifdef __STDC__
57324 # include <limits.h>
57325 #else
57326 # include <assert.h>
57327 #endif
57329 #undef $ac_func
57331 /* Override any gcc2 internal prototype to avoid an error. */
57332 #ifdef __cplusplus
57333 extern "C"
57335 #endif
57336 /* We use char because int might match the return type of a gcc2
57337 builtin and then its argument prototype would still apply. */
57338 char $ac_func ();
57339 /* The GNU C library defines this for functions which it implements
57340 to always fail with ENOSYS. Some functions are actually named
57341 something starting with __ and the normal name is an alias. */
57342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57343 choke me
57344 #else
57345 char (*f) () = $ac_func;
57346 #endif
57347 #ifdef __cplusplus
57349 #endif
57352 main ()
57354 return f != $ac_func;
57356 return 0;
57358 _ACEOF
57359 rm -f conftest.$ac_objext conftest$ac_exeext
57360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57361 (eval $ac_link) 2>conftest.er1
57362 ac_status=$?
57363 grep -v '^ *+' conftest.er1 >conftest.err
57364 rm -f conftest.er1
57365 cat conftest.err >&5
57366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57367 (exit $ac_status); } &&
57368 { ac_try='test -z "$ac_c_werror_flag"
57369 || test ! -s conftest.err'
57370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57371 (eval $ac_try) 2>&5
57372 ac_status=$?
57373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57374 (exit $ac_status); }; } &&
57375 { ac_try='test -s conftest$ac_exeext'
57376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57377 (eval $ac_try) 2>&5
57378 ac_status=$?
57379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57380 (exit $ac_status); }; }; then
57381 eval "$as_ac_var=yes"
57382 else
57383 echo "$as_me: failed program was:" >&5
57384 sed 's/^/| /' conftest.$ac_ext >&5
57386 eval "$as_ac_var=no"
57388 rm -f conftest.err conftest.$ac_objext \
57389 conftest$ac_exeext conftest.$ac_ext
57391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57393 if test `eval echo '${'$as_ac_var'}'` = yes; then
57394 cat >>confdefs.h <<_ACEOF
57395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57396 _ACEOF
57399 done
57402 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
57403 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
57404 if test x"$has_weof" = xyes &&
57405 test x"$has_wchar_minmax" = xyes &&
57406 test x"$ac_wfuncs" = xyes;
57407 then
57408 ac_isoC99_wchar_t=yes
57409 else
57410 ac_isoC99_wchar_t=no
57412 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
57413 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
57415 # Use iconv for wchar_t to char conversions. As such, check for
57416 # X/Open Portability Guide, version 2 features (XPG2).
57417 if test "${ac_cv_header_iconv_h+set}" = set; then
57418 echo "$as_me:$LINENO: checking for iconv.h" >&5
57419 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
57420 if test "${ac_cv_header_iconv_h+set}" = set; then
57421 echo $ECHO_N "(cached) $ECHO_C" >&6
57423 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
57424 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
57425 else
57426 # Is the header compilable?
57427 echo "$as_me:$LINENO: checking iconv.h usability" >&5
57428 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
57429 cat >conftest.$ac_ext <<_ACEOF
57430 /* confdefs.h. */
57431 _ACEOF
57432 cat confdefs.h >>conftest.$ac_ext
57433 cat >>conftest.$ac_ext <<_ACEOF
57434 /* end confdefs.h. */
57435 $ac_includes_default
57436 #include <iconv.h>
57437 _ACEOF
57438 rm -f conftest.$ac_objext
57439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57440 (eval $ac_compile) 2>conftest.er1
57441 ac_status=$?
57442 grep -v '^ *+' conftest.er1 >conftest.err
57443 rm -f conftest.er1
57444 cat conftest.err >&5
57445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57446 (exit $ac_status); } &&
57447 { ac_try='test -z "$ac_c_werror_flag"
57448 || test ! -s conftest.err'
57449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57450 (eval $ac_try) 2>&5
57451 ac_status=$?
57452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57453 (exit $ac_status); }; } &&
57454 { ac_try='test -s conftest.$ac_objext'
57455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57456 (eval $ac_try) 2>&5
57457 ac_status=$?
57458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57459 (exit $ac_status); }; }; then
57460 ac_header_compiler=yes
57461 else
57462 echo "$as_me: failed program was:" >&5
57463 sed 's/^/| /' conftest.$ac_ext >&5
57465 ac_header_compiler=no
57467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57468 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
57469 echo "${ECHO_T}$ac_header_compiler" >&6
57471 # Is the header present?
57472 echo "$as_me:$LINENO: checking iconv.h presence" >&5
57473 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
57474 cat >conftest.$ac_ext <<_ACEOF
57475 /* confdefs.h. */
57476 _ACEOF
57477 cat confdefs.h >>conftest.$ac_ext
57478 cat >>conftest.$ac_ext <<_ACEOF
57479 /* end confdefs.h. */
57480 #include <iconv.h>
57481 _ACEOF
57482 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
57483 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
57484 ac_status=$?
57485 grep -v '^ *+' conftest.er1 >conftest.err
57486 rm -f conftest.er1
57487 cat conftest.err >&5
57488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57489 (exit $ac_status); } >/dev/null; then
57490 if test -s conftest.err; then
57491 ac_cpp_err=$ac_c_preproc_warn_flag
57492 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
57493 else
57494 ac_cpp_err=
57496 else
57497 ac_cpp_err=yes
57499 if test -z "$ac_cpp_err"; then
57500 ac_header_preproc=yes
57501 else
57502 echo "$as_me: failed program was:" >&5
57503 sed 's/^/| /' conftest.$ac_ext >&5
57505 ac_header_preproc=no
57507 rm -f conftest.err conftest.$ac_ext
57508 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
57509 echo "${ECHO_T}$ac_header_preproc" >&6
57511 # So? What about this header?
57512 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
57513 yes:no: )
57514 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
57515 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
57516 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
57517 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
57518 ac_header_preproc=yes
57520 no:yes:* )
57521 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
57522 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
57523 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
57524 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
57525 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
57526 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
57527 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
57528 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
57529 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
57530 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
57531 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
57532 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
57534 cat <<\_ASBOX
57535 ## ----------------------------------------- ##
57536 ## Report this to the package-unused lists. ##
57537 ## ----------------------------------------- ##
57538 _ASBOX
57540 sed "s/^/$as_me: WARNING: /" >&2
57542 esac
57543 echo "$as_me:$LINENO: checking for iconv.h" >&5
57544 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
57545 if test "${ac_cv_header_iconv_h+set}" = set; then
57546 echo $ECHO_N "(cached) $ECHO_C" >&6
57547 else
57548 ac_cv_header_iconv_h=$ac_header_preproc
57550 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
57551 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
57554 if test $ac_cv_header_iconv_h = yes; then
57555 ac_has_iconv_h=yes
57556 else
57557 ac_has_iconv_h=no
57561 if test "${ac_cv_header_langinfo_h+set}" = set; then
57562 echo "$as_me:$LINENO: checking for langinfo.h" >&5
57563 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
57564 if test "${ac_cv_header_langinfo_h+set}" = set; then
57565 echo $ECHO_N "(cached) $ECHO_C" >&6
57567 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
57568 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
57569 else
57570 # Is the header compilable?
57571 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
57572 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
57573 cat >conftest.$ac_ext <<_ACEOF
57574 /* confdefs.h. */
57575 _ACEOF
57576 cat confdefs.h >>conftest.$ac_ext
57577 cat >>conftest.$ac_ext <<_ACEOF
57578 /* end confdefs.h. */
57579 $ac_includes_default
57580 #include <langinfo.h>
57581 _ACEOF
57582 rm -f conftest.$ac_objext
57583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57584 (eval $ac_compile) 2>conftest.er1
57585 ac_status=$?
57586 grep -v '^ *+' conftest.er1 >conftest.err
57587 rm -f conftest.er1
57588 cat conftest.err >&5
57589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57590 (exit $ac_status); } &&
57591 { ac_try='test -z "$ac_c_werror_flag"
57592 || test ! -s conftest.err'
57593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57594 (eval $ac_try) 2>&5
57595 ac_status=$?
57596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57597 (exit $ac_status); }; } &&
57598 { ac_try='test -s conftest.$ac_objext'
57599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57600 (eval $ac_try) 2>&5
57601 ac_status=$?
57602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57603 (exit $ac_status); }; }; then
57604 ac_header_compiler=yes
57605 else
57606 echo "$as_me: failed program was:" >&5
57607 sed 's/^/| /' conftest.$ac_ext >&5
57609 ac_header_compiler=no
57611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57612 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
57613 echo "${ECHO_T}$ac_header_compiler" >&6
57615 # Is the header present?
57616 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
57617 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
57618 cat >conftest.$ac_ext <<_ACEOF
57619 /* confdefs.h. */
57620 _ACEOF
57621 cat confdefs.h >>conftest.$ac_ext
57622 cat >>conftest.$ac_ext <<_ACEOF
57623 /* end confdefs.h. */
57624 #include <langinfo.h>
57625 _ACEOF
57626 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
57627 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
57628 ac_status=$?
57629 grep -v '^ *+' conftest.er1 >conftest.err
57630 rm -f conftest.er1
57631 cat conftest.err >&5
57632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57633 (exit $ac_status); } >/dev/null; then
57634 if test -s conftest.err; then
57635 ac_cpp_err=$ac_c_preproc_warn_flag
57636 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
57637 else
57638 ac_cpp_err=
57640 else
57641 ac_cpp_err=yes
57643 if test -z "$ac_cpp_err"; then
57644 ac_header_preproc=yes
57645 else
57646 echo "$as_me: failed program was:" >&5
57647 sed 's/^/| /' conftest.$ac_ext >&5
57649 ac_header_preproc=no
57651 rm -f conftest.err conftest.$ac_ext
57652 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
57653 echo "${ECHO_T}$ac_header_preproc" >&6
57655 # So? What about this header?
57656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
57657 yes:no: )
57658 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
57659 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
57660 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
57661 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
57662 ac_header_preproc=yes
57664 no:yes:* )
57665 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
57666 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
57667 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
57668 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
57669 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
57670 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
57671 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
57672 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
57673 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
57674 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
57675 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
57676 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
57678 cat <<\_ASBOX
57679 ## ----------------------------------------- ##
57680 ## Report this to the package-unused lists. ##
57681 ## ----------------------------------------- ##
57682 _ASBOX
57684 sed "s/^/$as_me: WARNING: /" >&2
57686 esac
57687 echo "$as_me:$LINENO: checking for langinfo.h" >&5
57688 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
57689 if test "${ac_cv_header_langinfo_h+set}" = set; then
57690 echo $ECHO_N "(cached) $ECHO_C" >&6
57691 else
57692 ac_cv_header_langinfo_h=$ac_header_preproc
57694 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
57695 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
57698 if test $ac_cv_header_langinfo_h = yes; then
57699 ac_has_langinfo_h=yes
57700 else
57701 ac_has_langinfo_h=no
57706 # Check for existence of libiconv.a providing XPG2 wchar_t support.
57707 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
57708 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
57709 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
57710 echo $ECHO_N "(cached) $ECHO_C" >&6
57711 else
57712 ac_check_lib_save_LIBS=$LIBS
57713 LIBS="-liconv $LIBS"
57714 if test x$gcc_no_link = xyes; then
57715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57717 { (exit 1); exit 1; }; }
57719 cat >conftest.$ac_ext <<_ACEOF
57720 /* confdefs.h. */
57721 _ACEOF
57722 cat confdefs.h >>conftest.$ac_ext
57723 cat >>conftest.$ac_ext <<_ACEOF
57724 /* end confdefs.h. */
57726 /* Override any gcc2 internal prototype to avoid an error. */
57727 #ifdef __cplusplus
57728 extern "C"
57729 #endif
57730 /* We use char because int might match the return type of a gcc2
57731 builtin and then its argument prototype would still apply. */
57732 char iconv ();
57734 main ()
57736 iconv ();
57738 return 0;
57740 _ACEOF
57741 rm -f conftest.$ac_objext conftest$ac_exeext
57742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57743 (eval $ac_link) 2>conftest.er1
57744 ac_status=$?
57745 grep -v '^ *+' conftest.er1 >conftest.err
57746 rm -f conftest.er1
57747 cat conftest.err >&5
57748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57749 (exit $ac_status); } &&
57750 { ac_try='test -z "$ac_c_werror_flag"
57751 || test ! -s conftest.err'
57752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57753 (eval $ac_try) 2>&5
57754 ac_status=$?
57755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57756 (exit $ac_status); }; } &&
57757 { ac_try='test -s conftest$ac_exeext'
57758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57759 (eval $ac_try) 2>&5
57760 ac_status=$?
57761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57762 (exit $ac_status); }; }; then
57763 ac_cv_lib_iconv_iconv=yes
57764 else
57765 echo "$as_me: failed program was:" >&5
57766 sed 's/^/| /' conftest.$ac_ext >&5
57768 ac_cv_lib_iconv_iconv=no
57770 rm -f conftest.err conftest.$ac_objext \
57771 conftest$ac_exeext conftest.$ac_ext
57772 LIBS=$ac_check_lib_save_LIBS
57774 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
57775 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
57776 if test $ac_cv_lib_iconv_iconv = yes; then
57777 libiconv="-liconv"
57780 ac_save_LIBS="$LIBS"
57781 LIBS="$LIBS $libiconv"
57787 for ac_func in iconv_open iconv_close iconv nl_langinfo
57789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57790 echo "$as_me:$LINENO: checking for $ac_func" >&5
57791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57792 if eval "test \"\${$as_ac_var+set}\" = set"; then
57793 echo $ECHO_N "(cached) $ECHO_C" >&6
57794 else
57795 if test x$gcc_no_link = xyes; then
57796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57798 { (exit 1); exit 1; }; }
57800 cat >conftest.$ac_ext <<_ACEOF
57801 /* confdefs.h. */
57802 _ACEOF
57803 cat confdefs.h >>conftest.$ac_ext
57804 cat >>conftest.$ac_ext <<_ACEOF
57805 /* end confdefs.h. */
57806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57808 #define $ac_func innocuous_$ac_func
57810 /* System header to define __stub macros and hopefully few prototypes,
57811 which can conflict with char $ac_func (); below.
57812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57813 <limits.h> exists even on freestanding compilers. */
57815 #ifdef __STDC__
57816 # include <limits.h>
57817 #else
57818 # include <assert.h>
57819 #endif
57821 #undef $ac_func
57823 /* Override any gcc2 internal prototype to avoid an error. */
57824 #ifdef __cplusplus
57825 extern "C"
57827 #endif
57828 /* We use char because int might match the return type of a gcc2
57829 builtin and then its argument prototype would still apply. */
57830 char $ac_func ();
57831 /* The GNU C library defines this for functions which it implements
57832 to always fail with ENOSYS. Some functions are actually named
57833 something starting with __ and the normal name is an alias. */
57834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57835 choke me
57836 #else
57837 char (*f) () = $ac_func;
57838 #endif
57839 #ifdef __cplusplus
57841 #endif
57844 main ()
57846 return f != $ac_func;
57848 return 0;
57850 _ACEOF
57851 rm -f conftest.$ac_objext conftest$ac_exeext
57852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57853 (eval $ac_link) 2>conftest.er1
57854 ac_status=$?
57855 grep -v '^ *+' conftest.er1 >conftest.err
57856 rm -f conftest.er1
57857 cat conftest.err >&5
57858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57859 (exit $ac_status); } &&
57860 { ac_try='test -z "$ac_c_werror_flag"
57861 || test ! -s conftest.err'
57862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57863 (eval $ac_try) 2>&5
57864 ac_status=$?
57865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57866 (exit $ac_status); }; } &&
57867 { ac_try='test -s conftest$ac_exeext'
57868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57869 (eval $ac_try) 2>&5
57870 ac_status=$?
57871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57872 (exit $ac_status); }; }; then
57873 eval "$as_ac_var=yes"
57874 else
57875 echo "$as_me: failed program was:" >&5
57876 sed 's/^/| /' conftest.$ac_ext >&5
57878 eval "$as_ac_var=no"
57880 rm -f conftest.err conftest.$ac_objext \
57881 conftest$ac_exeext conftest.$ac_ext
57883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57885 if test `eval echo '${'$as_ac_var'}'` = yes; then
57886 cat >>confdefs.h <<_ACEOF
57887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57888 _ACEOF
57889 ac_XPG2funcs=yes
57890 else
57891 ac_XPG2funcs=no
57893 done
57896 LIBS="$ac_save_LIBS"
57898 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
57899 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
57900 if test x"$ac_has_iconv_h" = xyes &&
57901 test x"$ac_has_langinfo_h" = xyes &&
57902 test x"$ac_XPG2funcs" = xyes;
57903 then
57904 ac_XPG2_wchar_t=yes
57905 else
57906 ac_XPG2_wchar_t=no
57908 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
57909 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
57911 # At the moment, only enable wchar_t specializations if all the
57912 # above support is present.
57913 if test x"$ac_isoC99_wchar_t" = xyes &&
57914 test x"$ac_XPG2_wchar_t" = xyes;
57915 then
57916 cat >>confdefs.h <<\_ACEOF
57917 #define _GLIBCXX_USE_WCHAR_T 1
57918 _ACEOF
57920 enable_wchar_t=yes
57923 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
57924 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
57925 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
57926 echo "${ECHO_T}$enable_wchar_t" >&6
57928 cat >>confdefs.h <<\_ACEOF
57929 #define HAVE_COPYSIGN 1
57930 _ACEOF
57932 cat >>confdefs.h <<\_ACEOF
57933 #define HAVE_COPYSIGNF 1
57934 _ACEOF
57936 cat >>confdefs.h <<\_ACEOF
57937 #define HAVE_FREXPF 1
57938 _ACEOF
57940 cat >>confdefs.h <<\_ACEOF
57941 #define HAVE_HYPOT 1
57942 _ACEOF
57944 case "$target" in
57945 *-hpux10*)
57946 cat >>confdefs.h <<\_ACEOF
57947 #define HAVE_FINITE 1
57948 _ACEOF
57950 cat >>confdefs.h <<\_ACEOF
57951 #define HAVE_FINITEF 1
57952 _ACEOF
57954 cat >>confdefs.h <<\_ACEOF
57955 #define HAVE_ISINF 1
57956 _ACEOF
57958 cat >>confdefs.h <<\_ACEOF
57959 #define HAVE_ISINFF 1
57960 _ACEOF
57962 cat >>confdefs.h <<\_ACEOF
57963 #define HAVE_ISNAN 1
57964 _ACEOF
57966 cat >>confdefs.h <<\_ACEOF
57967 #define HAVE_ISNANF 1
57968 _ACEOF
57971 esac
57973 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
57986 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
57987 machine/endian.h machine/param.h sys/machine.h sys/types.h \
57988 fp.h locale.h float.h inttypes.h
57990 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
57991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57992 echo "$as_me:$LINENO: checking for $ac_header" >&5
57993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
57994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57995 echo $ECHO_N "(cached) $ECHO_C" >&6
57997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
57998 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
57999 else
58000 # Is the header compilable?
58001 echo "$as_me:$LINENO: checking $ac_header usability" >&5
58002 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
58003 cat >conftest.$ac_ext <<_ACEOF
58004 /* confdefs.h. */
58005 _ACEOF
58006 cat confdefs.h >>conftest.$ac_ext
58007 cat >>conftest.$ac_ext <<_ACEOF
58008 /* end confdefs.h. */
58009 $ac_includes_default
58010 #include <$ac_header>
58011 _ACEOF
58012 rm -f conftest.$ac_objext
58013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58014 (eval $ac_compile) 2>conftest.er1
58015 ac_status=$?
58016 grep -v '^ *+' conftest.er1 >conftest.err
58017 rm -f conftest.er1
58018 cat conftest.err >&5
58019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58020 (exit $ac_status); } &&
58021 { ac_try='test -z "$ac_c_werror_flag"
58022 || test ! -s conftest.err'
58023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58024 (eval $ac_try) 2>&5
58025 ac_status=$?
58026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58027 (exit $ac_status); }; } &&
58028 { ac_try='test -s conftest.$ac_objext'
58029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58030 (eval $ac_try) 2>&5
58031 ac_status=$?
58032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58033 (exit $ac_status); }; }; then
58034 ac_header_compiler=yes
58035 else
58036 echo "$as_me: failed program was:" >&5
58037 sed 's/^/| /' conftest.$ac_ext >&5
58039 ac_header_compiler=no
58041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58042 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
58043 echo "${ECHO_T}$ac_header_compiler" >&6
58045 # Is the header present?
58046 echo "$as_me:$LINENO: checking $ac_header presence" >&5
58047 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
58048 cat >conftest.$ac_ext <<_ACEOF
58049 /* confdefs.h. */
58050 _ACEOF
58051 cat confdefs.h >>conftest.$ac_ext
58052 cat >>conftest.$ac_ext <<_ACEOF
58053 /* end confdefs.h. */
58054 #include <$ac_header>
58055 _ACEOF
58056 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
58057 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
58058 ac_status=$?
58059 grep -v '^ *+' conftest.er1 >conftest.err
58060 rm -f conftest.er1
58061 cat conftest.err >&5
58062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58063 (exit $ac_status); } >/dev/null; then
58064 if test -s conftest.err; then
58065 ac_cpp_err=$ac_c_preproc_warn_flag
58066 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
58067 else
58068 ac_cpp_err=
58070 else
58071 ac_cpp_err=yes
58073 if test -z "$ac_cpp_err"; then
58074 ac_header_preproc=yes
58075 else
58076 echo "$as_me: failed program was:" >&5
58077 sed 's/^/| /' conftest.$ac_ext >&5
58079 ac_header_preproc=no
58081 rm -f conftest.err conftest.$ac_ext
58082 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
58083 echo "${ECHO_T}$ac_header_preproc" >&6
58085 # So? What about this header?
58086 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
58087 yes:no: )
58088 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
58089 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
58090 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
58091 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
58092 ac_header_preproc=yes
58094 no:yes:* )
58095 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
58096 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
58097 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
58098 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
58099 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
58100 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
58101 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
58102 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
58103 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
58104 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
58105 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
58106 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
58108 cat <<\_ASBOX
58109 ## ----------------------------------------- ##
58110 ## Report this to the package-unused lists. ##
58111 ## ----------------------------------------- ##
58112 _ASBOX
58114 sed "s/^/$as_me: WARNING: /" >&2
58116 esac
58117 echo "$as_me:$LINENO: checking for $ac_header" >&5
58118 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
58119 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58120 echo $ECHO_N "(cached) $ECHO_C" >&6
58121 else
58122 eval "$as_ac_Header=\$ac_header_preproc"
58124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
58125 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
58128 if test `eval echo '${'$as_ac_Header'}'` = yes; then
58129 cat >>confdefs.h <<_ACEOF
58130 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
58131 _ACEOF
58135 done
58137 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58140 # If we're not using GNU ld, then there's no point in even trying these
58141 # tests. Check for that first. We should have already tested for gld
58142 # by now (in libtool), but require it now just to be safe...
58143 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58144 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58148 # The name set by libtool depends on the version of libtool. Shame on us
58149 # for depending on an impl detail, but c'est la vie. Older versions used
58150 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58151 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58152 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58153 # set (hence we're using an older libtool), then set it.
58154 if test x${with_gnu_ld+set} != xset; then
58155 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58156 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58157 with_gnu_ld=no
58158 else
58159 with_gnu_ld=$ac_cv_prog_gnu_ld
58163 # Start by getting the version number. I think the libtool test already
58164 # does some of this, but throws away the result.
58166 ldver=`$LD --version 2>/dev/null | head -1 | \
58167 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
58169 glibcxx_gnu_ld_version=`echo $ldver | \
58170 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58172 # Set --gc-sections.
58173 if test "$with_gnu_ld" = "notbroken"; then
58174 # GNU ld it is! Joy and bunny rabbits!
58176 # All these tests are for C++; save the language and the compiler flags.
58177 # Need to do this so that g++ won't try to link in libstdc++
58178 ac_test_CFLAGS="${CFLAGS+set}"
58179 ac_save_CFLAGS="$CFLAGS"
58180 CFLAGS='-x c++ -Wl,--gc-sections'
58182 # Check for -Wl,--gc-sections
58183 # XXX This test is broken at the moment, as symbols required for linking
58184 # are now in libsupc++ (not built yet). In addition, this test has
58185 # cored on solaris in the past. In addition, --gc-sections doesn't
58186 # really work at the moment (keeps on discarding used sections, first
58187 # .eh_frame and now some of the glibc sections for iconv).
58188 # Bzzzzt. Thanks for playing, maybe next time.
58189 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
58190 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
58191 if test "$cross_compiling" = yes; then
58192 ac_sectionLDflags=yes
58193 else
58194 cat >conftest.$ac_ext <<_ACEOF
58195 /* confdefs.h. */
58196 _ACEOF
58197 cat confdefs.h >>conftest.$ac_ext
58198 cat >>conftest.$ac_ext <<_ACEOF
58199 /* end confdefs.h. */
58201 int main(void)
58203 try { throw 1; }
58204 catch (...) { };
58205 return 0;
58208 _ACEOF
58209 rm -f conftest$ac_exeext
58210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58211 (eval $ac_link) 2>&5
58212 ac_status=$?
58213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58214 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
58215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58216 (eval $ac_try) 2>&5
58217 ac_status=$?
58218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58219 (exit $ac_status); }; }; then
58220 ac_sectionLDflags=yes
58221 else
58222 echo "$as_me: program exited with status $ac_status" >&5
58223 echo "$as_me: failed program was:" >&5
58224 sed 's/^/| /' conftest.$ac_ext >&5
58226 ( exit $ac_status )
58227 ac_sectionLDflags=no
58229 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
58231 if test "$ac_test_CFLAGS" = set; then
58232 CFLAGS="$ac_save_CFLAGS"
58233 else
58234 # this is the suspicious part
58235 CFLAGS=''
58237 if test "$ac_sectionLDflags" = "yes"; then
58238 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58240 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
58241 echo "${ECHO_T}$ac_sectionLDflags" >&6
58244 # Set linker optimization flags.
58245 if test x"$with_gnu_ld" = x"yes"; then
58246 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58254 echo "$as_me:$LINENO: checking for main in -lm" >&5
58255 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
58256 if test "${ac_cv_lib_m_main+set}" = set; then
58257 echo $ECHO_N "(cached) $ECHO_C" >&6
58258 else
58259 ac_check_lib_save_LIBS=$LIBS
58260 LIBS="-lm $LIBS"
58261 if test x$gcc_no_link = xyes; then
58262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58264 { (exit 1); exit 1; }; }
58266 cat >conftest.$ac_ext <<_ACEOF
58267 /* confdefs.h. */
58268 _ACEOF
58269 cat confdefs.h >>conftest.$ac_ext
58270 cat >>conftest.$ac_ext <<_ACEOF
58271 /* end confdefs.h. */
58275 main ()
58277 main ();
58279 return 0;
58281 _ACEOF
58282 rm -f conftest.$ac_objext conftest$ac_exeext
58283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58284 (eval $ac_link) 2>conftest.er1
58285 ac_status=$?
58286 grep -v '^ *+' conftest.er1 >conftest.err
58287 rm -f conftest.er1
58288 cat conftest.err >&5
58289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58290 (exit $ac_status); } &&
58291 { ac_try='test -z "$ac_c_werror_flag"
58292 || test ! -s conftest.err'
58293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58294 (eval $ac_try) 2>&5
58295 ac_status=$?
58296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58297 (exit $ac_status); }; } &&
58298 { ac_try='test -s conftest$ac_exeext'
58299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58300 (eval $ac_try) 2>&5
58301 ac_status=$?
58302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58303 (exit $ac_status); }; }; then
58304 ac_cv_lib_m_main=yes
58305 else
58306 echo "$as_me: failed program was:" >&5
58307 sed 's/^/| /' conftest.$ac_ext >&5
58309 ac_cv_lib_m_main=no
58311 rm -f conftest.err conftest.$ac_objext \
58312 conftest$ac_exeext conftest.$ac_ext
58313 LIBS=$ac_check_lib_save_LIBS
58315 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
58316 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
58317 if test $ac_cv_lib_m_main = yes; then
58318 cat >>confdefs.h <<_ACEOF
58319 #define HAVE_LIBM 1
58320 _ACEOF
58322 LIBS="-lm $LIBS"
58328 for ac_func in nan copysignf
58330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58331 echo "$as_me:$LINENO: checking for $ac_func" >&5
58332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58333 if eval "test \"\${$as_ac_var+set}\" = set"; then
58334 echo $ECHO_N "(cached) $ECHO_C" >&6
58335 else
58336 if test x$gcc_no_link = xyes; then
58337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58339 { (exit 1); exit 1; }; }
58341 cat >conftest.$ac_ext <<_ACEOF
58342 /* confdefs.h. */
58343 _ACEOF
58344 cat confdefs.h >>conftest.$ac_ext
58345 cat >>conftest.$ac_ext <<_ACEOF
58346 /* end confdefs.h. */
58347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58349 #define $ac_func innocuous_$ac_func
58351 /* System header to define __stub macros and hopefully few prototypes,
58352 which can conflict with char $ac_func (); below.
58353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58354 <limits.h> exists even on freestanding compilers. */
58356 #ifdef __STDC__
58357 # include <limits.h>
58358 #else
58359 # include <assert.h>
58360 #endif
58362 #undef $ac_func
58364 /* Override any gcc2 internal prototype to avoid an error. */
58365 #ifdef __cplusplus
58366 extern "C"
58368 #endif
58369 /* We use char because int might match the return type of a gcc2
58370 builtin and then its argument prototype would still apply. */
58371 char $ac_func ();
58372 /* The GNU C library defines this for functions which it implements
58373 to always fail with ENOSYS. Some functions are actually named
58374 something starting with __ and the normal name is an alias. */
58375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58376 choke me
58377 #else
58378 char (*f) () = $ac_func;
58379 #endif
58380 #ifdef __cplusplus
58382 #endif
58385 main ()
58387 return f != $ac_func;
58389 return 0;
58391 _ACEOF
58392 rm -f conftest.$ac_objext conftest$ac_exeext
58393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58394 (eval $ac_link) 2>conftest.er1
58395 ac_status=$?
58396 grep -v '^ *+' conftest.er1 >conftest.err
58397 rm -f conftest.er1
58398 cat conftest.err >&5
58399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58400 (exit $ac_status); } &&
58401 { ac_try='test -z "$ac_c_werror_flag"
58402 || test ! -s conftest.err'
58403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58404 (eval $ac_try) 2>&5
58405 ac_status=$?
58406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58407 (exit $ac_status); }; } &&
58408 { ac_try='test -s conftest$ac_exeext'
58409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58410 (eval $ac_try) 2>&5
58411 ac_status=$?
58412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58413 (exit $ac_status); }; }; then
58414 eval "$as_ac_var=yes"
58415 else
58416 echo "$as_me: failed program was:" >&5
58417 sed 's/^/| /' conftest.$ac_ext >&5
58419 eval "$as_ac_var=no"
58421 rm -f conftest.err conftest.$ac_objext \
58422 conftest$ac_exeext conftest.$ac_ext
58424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58426 if test `eval echo '${'$as_ac_var'}'` = yes; then
58427 cat >>confdefs.h <<_ACEOF
58428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58429 _ACEOF
58431 else
58432 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
58434 done
58438 for ac_func in __signbit
58440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58441 echo "$as_me:$LINENO: checking for $ac_func" >&5
58442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58443 if eval "test \"\${$as_ac_var+set}\" = set"; then
58444 echo $ECHO_N "(cached) $ECHO_C" >&6
58445 else
58446 if test x$gcc_no_link = xyes; then
58447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58449 { (exit 1); exit 1; }; }
58451 cat >conftest.$ac_ext <<_ACEOF
58452 /* confdefs.h. */
58453 _ACEOF
58454 cat confdefs.h >>conftest.$ac_ext
58455 cat >>conftest.$ac_ext <<_ACEOF
58456 /* end confdefs.h. */
58457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58459 #define $ac_func innocuous_$ac_func
58461 /* System header to define __stub macros and hopefully few prototypes,
58462 which can conflict with char $ac_func (); below.
58463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58464 <limits.h> exists even on freestanding compilers. */
58466 #ifdef __STDC__
58467 # include <limits.h>
58468 #else
58469 # include <assert.h>
58470 #endif
58472 #undef $ac_func
58474 /* Override any gcc2 internal prototype to avoid an error. */
58475 #ifdef __cplusplus
58476 extern "C"
58478 #endif
58479 /* We use char because int might match the return type of a gcc2
58480 builtin and then its argument prototype would still apply. */
58481 char $ac_func ();
58482 /* The GNU C library defines this for functions which it implements
58483 to always fail with ENOSYS. Some functions are actually named
58484 something starting with __ and the normal name is an alias. */
58485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58486 choke me
58487 #else
58488 char (*f) () = $ac_func;
58489 #endif
58490 #ifdef __cplusplus
58492 #endif
58495 main ()
58497 return f != $ac_func;
58499 return 0;
58501 _ACEOF
58502 rm -f conftest.$ac_objext conftest$ac_exeext
58503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58504 (eval $ac_link) 2>conftest.er1
58505 ac_status=$?
58506 grep -v '^ *+' conftest.er1 >conftest.err
58507 rm -f conftest.er1
58508 cat conftest.err >&5
58509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58510 (exit $ac_status); } &&
58511 { ac_try='test -z "$ac_c_werror_flag"
58512 || test ! -s conftest.err'
58513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58514 (eval $ac_try) 2>&5
58515 ac_status=$?
58516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58517 (exit $ac_status); }; } &&
58518 { ac_try='test -s conftest$ac_exeext'
58519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58520 (eval $ac_try) 2>&5
58521 ac_status=$?
58522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58523 (exit $ac_status); }; }; then
58524 eval "$as_ac_var=yes"
58525 else
58526 echo "$as_me: failed program was:" >&5
58527 sed 's/^/| /' conftest.$ac_ext >&5
58529 eval "$as_ac_var=no"
58531 rm -f conftest.err conftest.$ac_objext \
58532 conftest$ac_exeext conftest.$ac_ext
58534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58536 if test `eval echo '${'$as_ac_var'}'` = yes; then
58537 cat >>confdefs.h <<_ACEOF
58538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58539 _ACEOF
58541 else
58542 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
58544 done
58547 for ac_func in __signbitf
58549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58550 echo "$as_me:$LINENO: checking for $ac_func" >&5
58551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58552 if eval "test \"\${$as_ac_var+set}\" = set"; then
58553 echo $ECHO_N "(cached) $ECHO_C" >&6
58554 else
58555 if test x$gcc_no_link = xyes; then
58556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58558 { (exit 1); exit 1; }; }
58560 cat >conftest.$ac_ext <<_ACEOF
58561 /* confdefs.h. */
58562 _ACEOF
58563 cat confdefs.h >>conftest.$ac_ext
58564 cat >>conftest.$ac_ext <<_ACEOF
58565 /* end confdefs.h. */
58566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58568 #define $ac_func innocuous_$ac_func
58570 /* System header to define __stub macros and hopefully few prototypes,
58571 which can conflict with char $ac_func (); below.
58572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58573 <limits.h> exists even on freestanding compilers. */
58575 #ifdef __STDC__
58576 # include <limits.h>
58577 #else
58578 # include <assert.h>
58579 #endif
58581 #undef $ac_func
58583 /* Override any gcc2 internal prototype to avoid an error. */
58584 #ifdef __cplusplus
58585 extern "C"
58587 #endif
58588 /* We use char because int might match the return type of a gcc2
58589 builtin and then its argument prototype would still apply. */
58590 char $ac_func ();
58591 /* The GNU C library defines this for functions which it implements
58592 to always fail with ENOSYS. Some functions are actually named
58593 something starting with __ and the normal name is an alias. */
58594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58595 choke me
58596 #else
58597 char (*f) () = $ac_func;
58598 #endif
58599 #ifdef __cplusplus
58601 #endif
58604 main ()
58606 return f != $ac_func;
58608 return 0;
58610 _ACEOF
58611 rm -f conftest.$ac_objext conftest$ac_exeext
58612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58613 (eval $ac_link) 2>conftest.er1
58614 ac_status=$?
58615 grep -v '^ *+' conftest.er1 >conftest.err
58616 rm -f conftest.er1
58617 cat conftest.err >&5
58618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58619 (exit $ac_status); } &&
58620 { ac_try='test -z "$ac_c_werror_flag"
58621 || test ! -s conftest.err'
58622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58623 (eval $ac_try) 2>&5
58624 ac_status=$?
58625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58626 (exit $ac_status); }; } &&
58627 { ac_try='test -s conftest$ac_exeext'
58628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58629 (eval $ac_try) 2>&5
58630 ac_status=$?
58631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58632 (exit $ac_status); }; }; then
58633 eval "$as_ac_var=yes"
58634 else
58635 echo "$as_me: failed program was:" >&5
58636 sed 's/^/| /' conftest.$ac_ext >&5
58638 eval "$as_ac_var=no"
58640 rm -f conftest.err conftest.$ac_objext \
58641 conftest$ac_exeext conftest.$ac_ext
58643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58645 if test `eval echo '${'$as_ac_var'}'` = yes; then
58646 cat >>confdefs.h <<_ACEOF
58647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58648 _ACEOF
58650 else
58651 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
58653 done
58656 if test x$ac_cv_func_copysignl = x"yes"; then
58658 for ac_func in __signbitl
58660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58661 echo "$as_me:$LINENO: checking for $ac_func" >&5
58662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58663 if eval "test \"\${$as_ac_var+set}\" = set"; then
58664 echo $ECHO_N "(cached) $ECHO_C" >&6
58665 else
58666 if test x$gcc_no_link = xyes; then
58667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58669 { (exit 1); exit 1; }; }
58671 cat >conftest.$ac_ext <<_ACEOF
58672 /* confdefs.h. */
58673 _ACEOF
58674 cat confdefs.h >>conftest.$ac_ext
58675 cat >>conftest.$ac_ext <<_ACEOF
58676 /* end confdefs.h. */
58677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58679 #define $ac_func innocuous_$ac_func
58681 /* System header to define __stub macros and hopefully few prototypes,
58682 which can conflict with char $ac_func (); below.
58683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58684 <limits.h> exists even on freestanding compilers. */
58686 #ifdef __STDC__
58687 # include <limits.h>
58688 #else
58689 # include <assert.h>
58690 #endif
58692 #undef $ac_func
58694 /* Override any gcc2 internal prototype to avoid an error. */
58695 #ifdef __cplusplus
58696 extern "C"
58698 #endif
58699 /* We use char because int might match the return type of a gcc2
58700 builtin and then its argument prototype would still apply. */
58701 char $ac_func ();
58702 /* The GNU C library defines this for functions which it implements
58703 to always fail with ENOSYS. Some functions are actually named
58704 something starting with __ and the normal name is an alias. */
58705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58706 choke me
58707 #else
58708 char (*f) () = $ac_func;
58709 #endif
58710 #ifdef __cplusplus
58712 #endif
58715 main ()
58717 return f != $ac_func;
58719 return 0;
58721 _ACEOF
58722 rm -f conftest.$ac_objext conftest$ac_exeext
58723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58724 (eval $ac_link) 2>conftest.er1
58725 ac_status=$?
58726 grep -v '^ *+' conftest.er1 >conftest.err
58727 rm -f conftest.er1
58728 cat conftest.err >&5
58729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58730 (exit $ac_status); } &&
58731 { ac_try='test -z "$ac_c_werror_flag"
58732 || test ! -s conftest.err'
58733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58734 (eval $ac_try) 2>&5
58735 ac_status=$?
58736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58737 (exit $ac_status); }; } &&
58738 { ac_try='test -s conftest$ac_exeext'
58739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58740 (eval $ac_try) 2>&5
58741 ac_status=$?
58742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58743 (exit $ac_status); }; }; then
58744 eval "$as_ac_var=yes"
58745 else
58746 echo "$as_me: failed program was:" >&5
58747 sed 's/^/| /' conftest.$ac_ext >&5
58749 eval "$as_ac_var=no"
58751 rm -f conftest.err conftest.$ac_objext \
58752 conftest$ac_exeext conftest.$ac_ext
58754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58756 if test `eval echo '${'$as_ac_var'}'` = yes; then
58757 cat >>confdefs.h <<_ACEOF
58758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58759 _ACEOF
58761 else
58762 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
58764 done
58768 # XXX Review this. Nothing uses it.
58769 if test -n "$LIBMATHOBJS"; then
58770 need_libmath=yes
58775 # Test wchar.h for mbstate_t, which is needed for char_traits and
58776 # others even if wchar_t support is not on.
58777 echo "$as_me:$LINENO: checking for mbstate_t" >&5
58778 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
58779 cat >conftest.$ac_ext <<_ACEOF
58780 /* confdefs.h. */
58781 _ACEOF
58782 cat confdefs.h >>conftest.$ac_ext
58783 cat >>conftest.$ac_ext <<_ACEOF
58784 /* end confdefs.h. */
58785 #include <wchar.h>
58787 main ()
58789 mbstate_t teststate;
58791 return 0;
58793 _ACEOF
58794 rm -f conftest.$ac_objext
58795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58796 (eval $ac_compile) 2>conftest.er1
58797 ac_status=$?
58798 grep -v '^ *+' conftest.er1 >conftest.err
58799 rm -f conftest.er1
58800 cat conftest.err >&5
58801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58802 (exit $ac_status); } &&
58803 { ac_try='test -z "$ac_c_werror_flag"
58804 || test ! -s conftest.err'
58805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58806 (eval $ac_try) 2>&5
58807 ac_status=$?
58808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58809 (exit $ac_status); }; } &&
58810 { ac_try='test -s conftest.$ac_objext'
58811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58812 (eval $ac_try) 2>&5
58813 ac_status=$?
58814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58815 (exit $ac_status); }; }; then
58816 have_mbstate_t=yes
58817 else
58818 echo "$as_me: failed program was:" >&5
58819 sed 's/^/| /' conftest.$ac_ext >&5
58821 have_mbstate_t=no
58823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58824 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
58825 echo "${ECHO_T}$have_mbstate_t" >&6
58826 if test x"$have_mbstate_t" = xyes; then
58827 cat >>confdefs.h <<\_ACEOF
58828 #define HAVE_MBSTATE_T 1
58829 _ACEOF
58833 # Sanity check for existence of ISO C99 headers for extended encoding.
58835 for ac_header in wchar.h
58837 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
58838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58839 echo "$as_me:$LINENO: checking for $ac_header" >&5
58840 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
58841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58842 echo $ECHO_N "(cached) $ECHO_C" >&6
58844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
58845 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
58846 else
58847 # Is the header compilable?
58848 echo "$as_me:$LINENO: checking $ac_header usability" >&5
58849 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
58850 cat >conftest.$ac_ext <<_ACEOF
58851 /* confdefs.h. */
58852 _ACEOF
58853 cat confdefs.h >>conftest.$ac_ext
58854 cat >>conftest.$ac_ext <<_ACEOF
58855 /* end confdefs.h. */
58856 $ac_includes_default
58857 #include <$ac_header>
58858 _ACEOF
58859 rm -f conftest.$ac_objext
58860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58861 (eval $ac_compile) 2>conftest.er1
58862 ac_status=$?
58863 grep -v '^ *+' conftest.er1 >conftest.err
58864 rm -f conftest.er1
58865 cat conftest.err >&5
58866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58867 (exit $ac_status); } &&
58868 { ac_try='test -z "$ac_c_werror_flag"
58869 || test ! -s conftest.err'
58870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58871 (eval $ac_try) 2>&5
58872 ac_status=$?
58873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58874 (exit $ac_status); }; } &&
58875 { ac_try='test -s conftest.$ac_objext'
58876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58877 (eval $ac_try) 2>&5
58878 ac_status=$?
58879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58880 (exit $ac_status); }; }; then
58881 ac_header_compiler=yes
58882 else
58883 echo "$as_me: failed program was:" >&5
58884 sed 's/^/| /' conftest.$ac_ext >&5
58886 ac_header_compiler=no
58888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58889 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
58890 echo "${ECHO_T}$ac_header_compiler" >&6
58892 # Is the header present?
58893 echo "$as_me:$LINENO: checking $ac_header presence" >&5
58894 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
58895 cat >conftest.$ac_ext <<_ACEOF
58896 /* confdefs.h. */
58897 _ACEOF
58898 cat confdefs.h >>conftest.$ac_ext
58899 cat >>conftest.$ac_ext <<_ACEOF
58900 /* end confdefs.h. */
58901 #include <$ac_header>
58902 _ACEOF
58903 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
58904 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
58905 ac_status=$?
58906 grep -v '^ *+' conftest.er1 >conftest.err
58907 rm -f conftest.er1
58908 cat conftest.err >&5
58909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58910 (exit $ac_status); } >/dev/null; then
58911 if test -s conftest.err; then
58912 ac_cpp_err=$ac_c_preproc_warn_flag
58913 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
58914 else
58915 ac_cpp_err=
58917 else
58918 ac_cpp_err=yes
58920 if test -z "$ac_cpp_err"; then
58921 ac_header_preproc=yes
58922 else
58923 echo "$as_me: failed program was:" >&5
58924 sed 's/^/| /' conftest.$ac_ext >&5
58926 ac_header_preproc=no
58928 rm -f conftest.err conftest.$ac_ext
58929 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
58930 echo "${ECHO_T}$ac_header_preproc" >&6
58932 # So? What about this header?
58933 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
58934 yes:no: )
58935 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
58936 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
58937 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
58938 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
58939 ac_header_preproc=yes
58941 no:yes:* )
58942 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
58943 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
58944 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
58945 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
58946 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
58947 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
58948 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
58949 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
58950 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
58951 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
58952 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
58953 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
58955 cat <<\_ASBOX
58956 ## ----------------------------------------- ##
58957 ## Report this to the package-unused lists. ##
58958 ## ----------------------------------------- ##
58959 _ASBOX
58961 sed "s/^/$as_me: WARNING: /" >&2
58963 esac
58964 echo "$as_me:$LINENO: checking for $ac_header" >&5
58965 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
58966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58967 echo $ECHO_N "(cached) $ECHO_C" >&6
58968 else
58969 eval "$as_ac_Header=\$ac_header_preproc"
58971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
58972 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
58975 if test `eval echo '${'$as_ac_Header'}'` = yes; then
58976 cat >>confdefs.h <<_ACEOF
58977 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
58978 _ACEOF
58979 ac_has_wchar_h=yes
58980 else
58981 ac_has_wchar_h=no
58984 done
58987 for ac_header in wctype.h
58989 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
58990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58991 echo "$as_me:$LINENO: checking for $ac_header" >&5
58992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
58993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58994 echo $ECHO_N "(cached) $ECHO_C" >&6
58996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
58997 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
58998 else
58999 # Is the header compilable?
59000 echo "$as_me:$LINENO: checking $ac_header usability" >&5
59001 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
59002 cat >conftest.$ac_ext <<_ACEOF
59003 /* confdefs.h. */
59004 _ACEOF
59005 cat confdefs.h >>conftest.$ac_ext
59006 cat >>conftest.$ac_ext <<_ACEOF
59007 /* end confdefs.h. */
59008 $ac_includes_default
59009 #include <$ac_header>
59010 _ACEOF
59011 rm -f conftest.$ac_objext
59012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59013 (eval $ac_compile) 2>conftest.er1
59014 ac_status=$?
59015 grep -v '^ *+' conftest.er1 >conftest.err
59016 rm -f conftest.er1
59017 cat conftest.err >&5
59018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59019 (exit $ac_status); } &&
59020 { ac_try='test -z "$ac_c_werror_flag"
59021 || test ! -s conftest.err'
59022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59023 (eval $ac_try) 2>&5
59024 ac_status=$?
59025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59026 (exit $ac_status); }; } &&
59027 { ac_try='test -s conftest.$ac_objext'
59028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59029 (eval $ac_try) 2>&5
59030 ac_status=$?
59031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59032 (exit $ac_status); }; }; then
59033 ac_header_compiler=yes
59034 else
59035 echo "$as_me: failed program was:" >&5
59036 sed 's/^/| /' conftest.$ac_ext >&5
59038 ac_header_compiler=no
59040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59041 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
59042 echo "${ECHO_T}$ac_header_compiler" >&6
59044 # Is the header present?
59045 echo "$as_me:$LINENO: checking $ac_header presence" >&5
59046 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
59047 cat >conftest.$ac_ext <<_ACEOF
59048 /* confdefs.h. */
59049 _ACEOF
59050 cat confdefs.h >>conftest.$ac_ext
59051 cat >>conftest.$ac_ext <<_ACEOF
59052 /* end confdefs.h. */
59053 #include <$ac_header>
59054 _ACEOF
59055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
59056 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
59057 ac_status=$?
59058 grep -v '^ *+' conftest.er1 >conftest.err
59059 rm -f conftest.er1
59060 cat conftest.err >&5
59061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59062 (exit $ac_status); } >/dev/null; then
59063 if test -s conftest.err; then
59064 ac_cpp_err=$ac_c_preproc_warn_flag
59065 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
59066 else
59067 ac_cpp_err=
59069 else
59070 ac_cpp_err=yes
59072 if test -z "$ac_cpp_err"; then
59073 ac_header_preproc=yes
59074 else
59075 echo "$as_me: failed program was:" >&5
59076 sed 's/^/| /' conftest.$ac_ext >&5
59078 ac_header_preproc=no
59080 rm -f conftest.err conftest.$ac_ext
59081 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
59082 echo "${ECHO_T}$ac_header_preproc" >&6
59084 # So? What about this header?
59085 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
59086 yes:no: )
59087 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
59088 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
59089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
59090 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
59091 ac_header_preproc=yes
59093 no:yes:* )
59094 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
59095 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
59096 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
59097 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
59098 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
59099 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
59100 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
59101 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
59102 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
59103 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
59104 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
59105 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
59107 cat <<\_ASBOX
59108 ## ----------------------------------------- ##
59109 ## Report this to the package-unused lists. ##
59110 ## ----------------------------------------- ##
59111 _ASBOX
59113 sed "s/^/$as_me: WARNING: /" >&2
59115 esac
59116 echo "$as_me:$LINENO: checking for $ac_header" >&5
59117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59119 echo $ECHO_N "(cached) $ECHO_C" >&6
59120 else
59121 eval "$as_ac_Header=\$ac_header_preproc"
59123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
59128 cat >>confdefs.h <<_ACEOF
59129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
59130 _ACEOF
59131 ac_has_wctype_h=yes
59132 else
59133 ac_has_wctype_h=no
59136 done
59139 # Only continue checking if the ISO C99 headers exist and support is on.
59140 if test x"$ac_has_wchar_h" = xyes &&
59141 test x"$ac_has_wctype_h" = xyes &&
59142 test x"$enable_c_mbchar" != xno; then
59144 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
59145 # numeric_limits can instantiate type_traits<wchar_t>
59146 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
59147 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
59148 cat >conftest.$ac_ext <<_ACEOF
59149 /* confdefs.h. */
59150 _ACEOF
59151 cat confdefs.h >>conftest.$ac_ext
59152 cat >>conftest.$ac_ext <<_ACEOF
59153 /* end confdefs.h. */
59154 #include <wchar.h>
59156 main ()
59158 int i = WCHAR_MIN; int j = WCHAR_MAX;
59160 return 0;
59162 _ACEOF
59163 rm -f conftest.$ac_objext
59164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59165 (eval $ac_compile) 2>conftest.er1
59166 ac_status=$?
59167 grep -v '^ *+' conftest.er1 >conftest.err
59168 rm -f conftest.er1
59169 cat conftest.err >&5
59170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59171 (exit $ac_status); } &&
59172 { ac_try='test -z "$ac_c_werror_flag"
59173 || test ! -s conftest.err'
59174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59175 (eval $ac_try) 2>&5
59176 ac_status=$?
59177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59178 (exit $ac_status); }; } &&
59179 { ac_try='test -s conftest.$ac_objext'
59180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59181 (eval $ac_try) 2>&5
59182 ac_status=$?
59183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59184 (exit $ac_status); }; }; then
59185 has_wchar_minmax=yes
59186 else
59187 echo "$as_me: failed program was:" >&5
59188 sed 's/^/| /' conftest.$ac_ext >&5
59190 has_wchar_minmax=no
59192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59193 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
59194 echo "${ECHO_T}$has_wchar_minmax" >&6
59196 # Test wchar.h for WEOF, which is what we use to determine whether
59197 # to specialize for char_traits<wchar_t> or not.
59198 echo "$as_me:$LINENO: checking for WEOF" >&5
59199 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
59200 cat >conftest.$ac_ext <<_ACEOF
59201 /* confdefs.h. */
59202 _ACEOF
59203 cat confdefs.h >>conftest.$ac_ext
59204 cat >>conftest.$ac_ext <<_ACEOF
59205 /* end confdefs.h. */
59207 #include <wchar.h>
59208 #include <stddef.h>
59210 main ()
59212 wint_t i = WEOF;
59214 return 0;
59216 _ACEOF
59217 rm -f conftest.$ac_objext
59218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59219 (eval $ac_compile) 2>conftest.er1
59220 ac_status=$?
59221 grep -v '^ *+' conftest.er1 >conftest.err
59222 rm -f conftest.er1
59223 cat conftest.err >&5
59224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59225 (exit $ac_status); } &&
59226 { ac_try='test -z "$ac_c_werror_flag"
59227 || test ! -s conftest.err'
59228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59229 (eval $ac_try) 2>&5
59230 ac_status=$?
59231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59232 (exit $ac_status); }; } &&
59233 { ac_try='test -s conftest.$ac_objext'
59234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59235 (eval $ac_try) 2>&5
59236 ac_status=$?
59237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59238 (exit $ac_status); }; }; then
59239 has_weof=yes
59240 else
59241 echo "$as_me: failed program was:" >&5
59242 sed 's/^/| /' conftest.$ac_ext >&5
59244 has_weof=no
59246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59247 echo "$as_me:$LINENO: result: $has_weof" >&5
59248 echo "${ECHO_T}$has_weof" >&6
59250 # Tests for wide character functions used in char_traits<wchar_t>.
59251 ac_wfuncs=yes
59258 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
59260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59261 echo "$as_me:$LINENO: checking for $ac_func" >&5
59262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59263 if eval "test \"\${$as_ac_var+set}\" = set"; then
59264 echo $ECHO_N "(cached) $ECHO_C" >&6
59265 else
59266 if test x$gcc_no_link = xyes; then
59267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59269 { (exit 1); exit 1; }; }
59271 cat >conftest.$ac_ext <<_ACEOF
59272 /* confdefs.h. */
59273 _ACEOF
59274 cat confdefs.h >>conftest.$ac_ext
59275 cat >>conftest.$ac_ext <<_ACEOF
59276 /* end confdefs.h. */
59277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59279 #define $ac_func innocuous_$ac_func
59281 /* System header to define __stub macros and hopefully few prototypes,
59282 which can conflict with char $ac_func (); below.
59283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59284 <limits.h> exists even on freestanding compilers. */
59286 #ifdef __STDC__
59287 # include <limits.h>
59288 #else
59289 # include <assert.h>
59290 #endif
59292 #undef $ac_func
59294 /* Override any gcc2 internal prototype to avoid an error. */
59295 #ifdef __cplusplus
59296 extern "C"
59298 #endif
59299 /* We use char because int might match the return type of a gcc2
59300 builtin and then its argument prototype would still apply. */
59301 char $ac_func ();
59302 /* The GNU C library defines this for functions which it implements
59303 to always fail with ENOSYS. Some functions are actually named
59304 something starting with __ and the normal name is an alias. */
59305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59306 choke me
59307 #else
59308 char (*f) () = $ac_func;
59309 #endif
59310 #ifdef __cplusplus
59312 #endif
59315 main ()
59317 return f != $ac_func;
59319 return 0;
59321 _ACEOF
59322 rm -f conftest.$ac_objext conftest$ac_exeext
59323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59324 (eval $ac_link) 2>conftest.er1
59325 ac_status=$?
59326 grep -v '^ *+' conftest.er1 >conftest.err
59327 rm -f conftest.er1
59328 cat conftest.err >&5
59329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59330 (exit $ac_status); } &&
59331 { ac_try='test -z "$ac_c_werror_flag"
59332 || test ! -s conftest.err'
59333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59334 (eval $ac_try) 2>&5
59335 ac_status=$?
59336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59337 (exit $ac_status); }; } &&
59338 { ac_try='test -s conftest$ac_exeext'
59339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59340 (eval $ac_try) 2>&5
59341 ac_status=$?
59342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59343 (exit $ac_status); }; }; then
59344 eval "$as_ac_var=yes"
59345 else
59346 echo "$as_me: failed program was:" >&5
59347 sed 's/^/| /' conftest.$ac_ext >&5
59349 eval "$as_ac_var=no"
59351 rm -f conftest.err conftest.$ac_objext \
59352 conftest$ac_exeext conftest.$ac_ext
59354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59356 if test `eval echo '${'$as_ac_var'}'` = yes; then
59357 cat >>confdefs.h <<_ACEOF
59358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59359 _ACEOF
59361 else
59362 ac_wfuncs=no
59364 done
59367 # Checks for names injected into std:: by the c_std headers.
59414 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
59415 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
59416 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
59417 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
59418 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
59419 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
59421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59422 echo "$as_me:$LINENO: checking for $ac_func" >&5
59423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59424 if eval "test \"\${$as_ac_var+set}\" = set"; then
59425 echo $ECHO_N "(cached) $ECHO_C" >&6
59426 else
59427 if test x$gcc_no_link = xyes; then
59428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59430 { (exit 1); exit 1; }; }
59432 cat >conftest.$ac_ext <<_ACEOF
59433 /* confdefs.h. */
59434 _ACEOF
59435 cat confdefs.h >>conftest.$ac_ext
59436 cat >>conftest.$ac_ext <<_ACEOF
59437 /* end confdefs.h. */
59438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59440 #define $ac_func innocuous_$ac_func
59442 /* System header to define __stub macros and hopefully few prototypes,
59443 which can conflict with char $ac_func (); below.
59444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59445 <limits.h> exists even on freestanding compilers. */
59447 #ifdef __STDC__
59448 # include <limits.h>
59449 #else
59450 # include <assert.h>
59451 #endif
59453 #undef $ac_func
59455 /* Override any gcc2 internal prototype to avoid an error. */
59456 #ifdef __cplusplus
59457 extern "C"
59459 #endif
59460 /* We use char because int might match the return type of a gcc2
59461 builtin and then its argument prototype would still apply. */
59462 char $ac_func ();
59463 /* The GNU C library defines this for functions which it implements
59464 to always fail with ENOSYS. Some functions are actually named
59465 something starting with __ and the normal name is an alias. */
59466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59467 choke me
59468 #else
59469 char (*f) () = $ac_func;
59470 #endif
59471 #ifdef __cplusplus
59473 #endif
59476 main ()
59478 return f != $ac_func;
59480 return 0;
59482 _ACEOF
59483 rm -f conftest.$ac_objext conftest$ac_exeext
59484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59485 (eval $ac_link) 2>conftest.er1
59486 ac_status=$?
59487 grep -v '^ *+' conftest.er1 >conftest.err
59488 rm -f conftest.er1
59489 cat conftest.err >&5
59490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59491 (exit $ac_status); } &&
59492 { ac_try='test -z "$ac_c_werror_flag"
59493 || test ! -s conftest.err'
59494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59495 (eval $ac_try) 2>&5
59496 ac_status=$?
59497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59498 (exit $ac_status); }; } &&
59499 { ac_try='test -s conftest$ac_exeext'
59500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59501 (eval $ac_try) 2>&5
59502 ac_status=$?
59503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59504 (exit $ac_status); }; }; then
59505 eval "$as_ac_var=yes"
59506 else
59507 echo "$as_me: failed program was:" >&5
59508 sed 's/^/| /' conftest.$ac_ext >&5
59510 eval "$as_ac_var=no"
59512 rm -f conftest.err conftest.$ac_objext \
59513 conftest$ac_exeext conftest.$ac_ext
59515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59517 if test `eval echo '${'$as_ac_var'}'` = yes; then
59518 cat >>confdefs.h <<_ACEOF
59519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59520 _ACEOF
59522 else
59523 ac_wfuncs=no
59525 done
59528 # Checks for wide character functions that are not required
59529 # for basic wchar_t support. Don't disable support if they are missing.
59530 # Injection of these is wrapped with guard macros.
59536 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
59538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59539 echo "$as_me:$LINENO: checking for $ac_func" >&5
59540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59541 if eval "test \"\${$as_ac_var+set}\" = set"; then
59542 echo $ECHO_N "(cached) $ECHO_C" >&6
59543 else
59544 if test x$gcc_no_link = xyes; then
59545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59547 { (exit 1); exit 1; }; }
59549 cat >conftest.$ac_ext <<_ACEOF
59550 /* confdefs.h. */
59551 _ACEOF
59552 cat confdefs.h >>conftest.$ac_ext
59553 cat >>conftest.$ac_ext <<_ACEOF
59554 /* end confdefs.h. */
59555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59557 #define $ac_func innocuous_$ac_func
59559 /* System header to define __stub macros and hopefully few prototypes,
59560 which can conflict with char $ac_func (); below.
59561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59562 <limits.h> exists even on freestanding compilers. */
59564 #ifdef __STDC__
59565 # include <limits.h>
59566 #else
59567 # include <assert.h>
59568 #endif
59570 #undef $ac_func
59572 /* Override any gcc2 internal prototype to avoid an error. */
59573 #ifdef __cplusplus
59574 extern "C"
59576 #endif
59577 /* We use char because int might match the return type of a gcc2
59578 builtin and then its argument prototype would still apply. */
59579 char $ac_func ();
59580 /* The GNU C library defines this for functions which it implements
59581 to always fail with ENOSYS. Some functions are actually named
59582 something starting with __ and the normal name is an alias. */
59583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59584 choke me
59585 #else
59586 char (*f) () = $ac_func;
59587 #endif
59588 #ifdef __cplusplus
59590 #endif
59593 main ()
59595 return f != $ac_func;
59597 return 0;
59599 _ACEOF
59600 rm -f conftest.$ac_objext conftest$ac_exeext
59601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59602 (eval $ac_link) 2>conftest.er1
59603 ac_status=$?
59604 grep -v '^ *+' conftest.er1 >conftest.err
59605 rm -f conftest.er1
59606 cat conftest.err >&5
59607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59608 (exit $ac_status); } &&
59609 { ac_try='test -z "$ac_c_werror_flag"
59610 || test ! -s conftest.err'
59611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59612 (eval $ac_try) 2>&5
59613 ac_status=$?
59614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59615 (exit $ac_status); }; } &&
59616 { ac_try='test -s conftest$ac_exeext'
59617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59618 (eval $ac_try) 2>&5
59619 ac_status=$?
59620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59621 (exit $ac_status); }; }; then
59622 eval "$as_ac_var=yes"
59623 else
59624 echo "$as_me: failed program was:" >&5
59625 sed 's/^/| /' conftest.$ac_ext >&5
59627 eval "$as_ac_var=no"
59629 rm -f conftest.err conftest.$ac_objext \
59630 conftest$ac_exeext conftest.$ac_ext
59632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59634 if test `eval echo '${'$as_ac_var'}'` = yes; then
59635 cat >>confdefs.h <<_ACEOF
59636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59637 _ACEOF
59640 done
59643 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
59644 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
59645 if test x"$has_weof" = xyes &&
59646 test x"$has_wchar_minmax" = xyes &&
59647 test x"$ac_wfuncs" = xyes;
59648 then
59649 ac_isoC99_wchar_t=yes
59650 else
59651 ac_isoC99_wchar_t=no
59653 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
59654 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
59656 # Use iconv for wchar_t to char conversions. As such, check for
59657 # X/Open Portability Guide, version 2 features (XPG2).
59658 if test "${ac_cv_header_iconv_h+set}" = set; then
59659 echo "$as_me:$LINENO: checking for iconv.h" >&5
59660 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
59661 if test "${ac_cv_header_iconv_h+set}" = set; then
59662 echo $ECHO_N "(cached) $ECHO_C" >&6
59664 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
59665 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
59666 else
59667 # Is the header compilable?
59668 echo "$as_me:$LINENO: checking iconv.h usability" >&5
59669 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
59670 cat >conftest.$ac_ext <<_ACEOF
59671 /* confdefs.h. */
59672 _ACEOF
59673 cat confdefs.h >>conftest.$ac_ext
59674 cat >>conftest.$ac_ext <<_ACEOF
59675 /* end confdefs.h. */
59676 $ac_includes_default
59677 #include <iconv.h>
59678 _ACEOF
59679 rm -f conftest.$ac_objext
59680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59681 (eval $ac_compile) 2>conftest.er1
59682 ac_status=$?
59683 grep -v '^ *+' conftest.er1 >conftest.err
59684 rm -f conftest.er1
59685 cat conftest.err >&5
59686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59687 (exit $ac_status); } &&
59688 { ac_try='test -z "$ac_c_werror_flag"
59689 || test ! -s conftest.err'
59690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59691 (eval $ac_try) 2>&5
59692 ac_status=$?
59693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59694 (exit $ac_status); }; } &&
59695 { ac_try='test -s conftest.$ac_objext'
59696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59697 (eval $ac_try) 2>&5
59698 ac_status=$?
59699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59700 (exit $ac_status); }; }; then
59701 ac_header_compiler=yes
59702 else
59703 echo "$as_me: failed program was:" >&5
59704 sed 's/^/| /' conftest.$ac_ext >&5
59706 ac_header_compiler=no
59708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59709 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
59710 echo "${ECHO_T}$ac_header_compiler" >&6
59712 # Is the header present?
59713 echo "$as_me:$LINENO: checking iconv.h presence" >&5
59714 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
59715 cat >conftest.$ac_ext <<_ACEOF
59716 /* confdefs.h. */
59717 _ACEOF
59718 cat confdefs.h >>conftest.$ac_ext
59719 cat >>conftest.$ac_ext <<_ACEOF
59720 /* end confdefs.h. */
59721 #include <iconv.h>
59722 _ACEOF
59723 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
59724 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
59725 ac_status=$?
59726 grep -v '^ *+' conftest.er1 >conftest.err
59727 rm -f conftest.er1
59728 cat conftest.err >&5
59729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59730 (exit $ac_status); } >/dev/null; then
59731 if test -s conftest.err; then
59732 ac_cpp_err=$ac_c_preproc_warn_flag
59733 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
59734 else
59735 ac_cpp_err=
59737 else
59738 ac_cpp_err=yes
59740 if test -z "$ac_cpp_err"; then
59741 ac_header_preproc=yes
59742 else
59743 echo "$as_me: failed program was:" >&5
59744 sed 's/^/| /' conftest.$ac_ext >&5
59746 ac_header_preproc=no
59748 rm -f conftest.err conftest.$ac_ext
59749 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
59750 echo "${ECHO_T}$ac_header_preproc" >&6
59752 # So? What about this header?
59753 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
59754 yes:no: )
59755 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
59756 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
59757 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
59758 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
59759 ac_header_preproc=yes
59761 no:yes:* )
59762 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
59763 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
59764 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
59765 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
59766 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
59767 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
59768 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
59769 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
59770 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
59771 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
59772 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
59773 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
59775 cat <<\_ASBOX
59776 ## ----------------------------------------- ##
59777 ## Report this to the package-unused lists. ##
59778 ## ----------------------------------------- ##
59779 _ASBOX
59781 sed "s/^/$as_me: WARNING: /" >&2
59783 esac
59784 echo "$as_me:$LINENO: checking for iconv.h" >&5
59785 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
59786 if test "${ac_cv_header_iconv_h+set}" = set; then
59787 echo $ECHO_N "(cached) $ECHO_C" >&6
59788 else
59789 ac_cv_header_iconv_h=$ac_header_preproc
59791 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
59792 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
59795 if test $ac_cv_header_iconv_h = yes; then
59796 ac_has_iconv_h=yes
59797 else
59798 ac_has_iconv_h=no
59802 if test "${ac_cv_header_langinfo_h+set}" = set; then
59803 echo "$as_me:$LINENO: checking for langinfo.h" >&5
59804 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
59805 if test "${ac_cv_header_langinfo_h+set}" = set; then
59806 echo $ECHO_N "(cached) $ECHO_C" >&6
59808 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
59809 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
59810 else
59811 # Is the header compilable?
59812 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
59813 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
59814 cat >conftest.$ac_ext <<_ACEOF
59815 /* confdefs.h. */
59816 _ACEOF
59817 cat confdefs.h >>conftest.$ac_ext
59818 cat >>conftest.$ac_ext <<_ACEOF
59819 /* end confdefs.h. */
59820 $ac_includes_default
59821 #include <langinfo.h>
59822 _ACEOF
59823 rm -f conftest.$ac_objext
59824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59825 (eval $ac_compile) 2>conftest.er1
59826 ac_status=$?
59827 grep -v '^ *+' conftest.er1 >conftest.err
59828 rm -f conftest.er1
59829 cat conftest.err >&5
59830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59831 (exit $ac_status); } &&
59832 { ac_try='test -z "$ac_c_werror_flag"
59833 || test ! -s conftest.err'
59834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59835 (eval $ac_try) 2>&5
59836 ac_status=$?
59837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59838 (exit $ac_status); }; } &&
59839 { ac_try='test -s conftest.$ac_objext'
59840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59841 (eval $ac_try) 2>&5
59842 ac_status=$?
59843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59844 (exit $ac_status); }; }; then
59845 ac_header_compiler=yes
59846 else
59847 echo "$as_me: failed program was:" >&5
59848 sed 's/^/| /' conftest.$ac_ext >&5
59850 ac_header_compiler=no
59852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59853 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
59854 echo "${ECHO_T}$ac_header_compiler" >&6
59856 # Is the header present?
59857 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
59858 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
59859 cat >conftest.$ac_ext <<_ACEOF
59860 /* confdefs.h. */
59861 _ACEOF
59862 cat confdefs.h >>conftest.$ac_ext
59863 cat >>conftest.$ac_ext <<_ACEOF
59864 /* end confdefs.h. */
59865 #include <langinfo.h>
59866 _ACEOF
59867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
59868 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
59869 ac_status=$?
59870 grep -v '^ *+' conftest.er1 >conftest.err
59871 rm -f conftest.er1
59872 cat conftest.err >&5
59873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59874 (exit $ac_status); } >/dev/null; then
59875 if test -s conftest.err; then
59876 ac_cpp_err=$ac_c_preproc_warn_flag
59877 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
59878 else
59879 ac_cpp_err=
59881 else
59882 ac_cpp_err=yes
59884 if test -z "$ac_cpp_err"; then
59885 ac_header_preproc=yes
59886 else
59887 echo "$as_me: failed program was:" >&5
59888 sed 's/^/| /' conftest.$ac_ext >&5
59890 ac_header_preproc=no
59892 rm -f conftest.err conftest.$ac_ext
59893 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
59894 echo "${ECHO_T}$ac_header_preproc" >&6
59896 # So? What about this header?
59897 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
59898 yes:no: )
59899 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
59900 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
59901 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
59902 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
59903 ac_header_preproc=yes
59905 no:yes:* )
59906 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
59907 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
59908 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
59909 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
59910 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
59911 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
59912 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
59913 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
59914 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
59915 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
59916 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
59917 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
59919 cat <<\_ASBOX
59920 ## ----------------------------------------- ##
59921 ## Report this to the package-unused lists. ##
59922 ## ----------------------------------------- ##
59923 _ASBOX
59925 sed "s/^/$as_me: WARNING: /" >&2
59927 esac
59928 echo "$as_me:$LINENO: checking for langinfo.h" >&5
59929 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
59930 if test "${ac_cv_header_langinfo_h+set}" = set; then
59931 echo $ECHO_N "(cached) $ECHO_C" >&6
59932 else
59933 ac_cv_header_langinfo_h=$ac_header_preproc
59935 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
59936 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
59939 if test $ac_cv_header_langinfo_h = yes; then
59940 ac_has_langinfo_h=yes
59941 else
59942 ac_has_langinfo_h=no
59947 # Check for existence of libiconv.a providing XPG2 wchar_t support.
59948 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
59949 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
59950 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
59951 echo $ECHO_N "(cached) $ECHO_C" >&6
59952 else
59953 ac_check_lib_save_LIBS=$LIBS
59954 LIBS="-liconv $LIBS"
59955 if test x$gcc_no_link = xyes; then
59956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59958 { (exit 1); exit 1; }; }
59960 cat >conftest.$ac_ext <<_ACEOF
59961 /* confdefs.h. */
59962 _ACEOF
59963 cat confdefs.h >>conftest.$ac_ext
59964 cat >>conftest.$ac_ext <<_ACEOF
59965 /* end confdefs.h. */
59967 /* Override any gcc2 internal prototype to avoid an error. */
59968 #ifdef __cplusplus
59969 extern "C"
59970 #endif
59971 /* We use char because int might match the return type of a gcc2
59972 builtin and then its argument prototype would still apply. */
59973 char iconv ();
59975 main ()
59977 iconv ();
59979 return 0;
59981 _ACEOF
59982 rm -f conftest.$ac_objext conftest$ac_exeext
59983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59984 (eval $ac_link) 2>conftest.er1
59985 ac_status=$?
59986 grep -v '^ *+' conftest.er1 >conftest.err
59987 rm -f conftest.er1
59988 cat conftest.err >&5
59989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59990 (exit $ac_status); } &&
59991 { ac_try='test -z "$ac_c_werror_flag"
59992 || test ! -s conftest.err'
59993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59994 (eval $ac_try) 2>&5
59995 ac_status=$?
59996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59997 (exit $ac_status); }; } &&
59998 { ac_try='test -s conftest$ac_exeext'
59999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60000 (eval $ac_try) 2>&5
60001 ac_status=$?
60002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60003 (exit $ac_status); }; }; then
60004 ac_cv_lib_iconv_iconv=yes
60005 else
60006 echo "$as_me: failed program was:" >&5
60007 sed 's/^/| /' conftest.$ac_ext >&5
60009 ac_cv_lib_iconv_iconv=no
60011 rm -f conftest.err conftest.$ac_objext \
60012 conftest$ac_exeext conftest.$ac_ext
60013 LIBS=$ac_check_lib_save_LIBS
60015 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
60016 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
60017 if test $ac_cv_lib_iconv_iconv = yes; then
60018 libiconv="-liconv"
60021 ac_save_LIBS="$LIBS"
60022 LIBS="$LIBS $libiconv"
60028 for ac_func in iconv_open iconv_close iconv nl_langinfo
60030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60031 echo "$as_me:$LINENO: checking for $ac_func" >&5
60032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60033 if eval "test \"\${$as_ac_var+set}\" = set"; then
60034 echo $ECHO_N "(cached) $ECHO_C" >&6
60035 else
60036 if test x$gcc_no_link = xyes; then
60037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60039 { (exit 1); exit 1; }; }
60041 cat >conftest.$ac_ext <<_ACEOF
60042 /* confdefs.h. */
60043 _ACEOF
60044 cat confdefs.h >>conftest.$ac_ext
60045 cat >>conftest.$ac_ext <<_ACEOF
60046 /* end confdefs.h. */
60047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60049 #define $ac_func innocuous_$ac_func
60051 /* System header to define __stub macros and hopefully few prototypes,
60052 which can conflict with char $ac_func (); below.
60053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60054 <limits.h> exists even on freestanding compilers. */
60056 #ifdef __STDC__
60057 # include <limits.h>
60058 #else
60059 # include <assert.h>
60060 #endif
60062 #undef $ac_func
60064 /* Override any gcc2 internal prototype to avoid an error. */
60065 #ifdef __cplusplus
60066 extern "C"
60068 #endif
60069 /* We use char because int might match the return type of a gcc2
60070 builtin and then its argument prototype would still apply. */
60071 char $ac_func ();
60072 /* The GNU C library defines this for functions which it implements
60073 to always fail with ENOSYS. Some functions are actually named
60074 something starting with __ and the normal name is an alias. */
60075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60076 choke me
60077 #else
60078 char (*f) () = $ac_func;
60079 #endif
60080 #ifdef __cplusplus
60082 #endif
60085 main ()
60087 return f != $ac_func;
60089 return 0;
60091 _ACEOF
60092 rm -f conftest.$ac_objext conftest$ac_exeext
60093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60094 (eval $ac_link) 2>conftest.er1
60095 ac_status=$?
60096 grep -v '^ *+' conftest.er1 >conftest.err
60097 rm -f conftest.er1
60098 cat conftest.err >&5
60099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60100 (exit $ac_status); } &&
60101 { ac_try='test -z "$ac_c_werror_flag"
60102 || test ! -s conftest.err'
60103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60104 (eval $ac_try) 2>&5
60105 ac_status=$?
60106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60107 (exit $ac_status); }; } &&
60108 { ac_try='test -s conftest$ac_exeext'
60109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60110 (eval $ac_try) 2>&5
60111 ac_status=$?
60112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60113 (exit $ac_status); }; }; then
60114 eval "$as_ac_var=yes"
60115 else
60116 echo "$as_me: failed program was:" >&5
60117 sed 's/^/| /' conftest.$ac_ext >&5
60119 eval "$as_ac_var=no"
60121 rm -f conftest.err conftest.$ac_objext \
60122 conftest$ac_exeext conftest.$ac_ext
60124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60126 if test `eval echo '${'$as_ac_var'}'` = yes; then
60127 cat >>confdefs.h <<_ACEOF
60128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60129 _ACEOF
60130 ac_XPG2funcs=yes
60131 else
60132 ac_XPG2funcs=no
60134 done
60137 LIBS="$ac_save_LIBS"
60139 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
60140 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
60141 if test x"$ac_has_iconv_h" = xyes &&
60142 test x"$ac_has_langinfo_h" = xyes &&
60143 test x"$ac_XPG2funcs" = xyes;
60144 then
60145 ac_XPG2_wchar_t=yes
60146 else
60147 ac_XPG2_wchar_t=no
60149 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
60150 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
60152 # At the moment, only enable wchar_t specializations if all the
60153 # above support is present.
60154 if test x"$ac_isoC99_wchar_t" = xyes &&
60155 test x"$ac_XPG2_wchar_t" = xyes;
60156 then
60157 cat >>confdefs.h <<\_ACEOF
60158 #define _GLIBCXX_USE_WCHAR_T 1
60159 _ACEOF
60161 enable_wchar_t=yes
60164 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
60165 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
60166 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
60167 echo "${ECHO_T}$enable_wchar_t" >&6
60169 cat >>confdefs.h <<\_ACEOF
60170 #define HAVE_COPYSIGN 1
60171 _ACEOF
60173 cat >>confdefs.h <<\_ACEOF
60174 #define HAVE_COPYSIGNF 1
60175 _ACEOF
60177 cat >>confdefs.h <<\_ACEOF
60178 #define HAVE_FINITE 1
60179 _ACEOF
60181 cat >>confdefs.h <<\_ACEOF
60182 #define HAVE_FINITEF 1
60183 _ACEOF
60185 cat >>confdefs.h <<\_ACEOF
60186 #define HAVE_FREXPF 1
60187 _ACEOF
60189 cat >>confdefs.h <<\_ACEOF
60190 #define HAVE_HYPOTF 1
60191 _ACEOF
60193 cat >>confdefs.h <<\_ACEOF
60194 #define HAVE_ISINF 1
60195 _ACEOF
60197 cat >>confdefs.h <<\_ACEOF
60198 #define HAVE_ISINFF 1
60199 _ACEOF
60201 cat >>confdefs.h <<\_ACEOF
60202 #define HAVE_ISNAN 1
60203 _ACEOF
60205 cat >>confdefs.h <<\_ACEOF
60206 #define HAVE_ISNANF 1
60207 _ACEOF
60209 cat >>confdefs.h <<\_ACEOF
60210 #define HAVE_SINCOS 1
60211 _ACEOF
60213 cat >>confdefs.h <<\_ACEOF
60214 #define HAVE_SINCOSF 1
60215 _ACEOF
60217 if test x"long_double_math_on_this_cpu" = x"yes"; then
60218 cat >>confdefs.h <<\_ACEOF
60219 #define HAVE_FINITEL 1
60220 _ACEOF
60222 cat >>confdefs.h <<\_ACEOF
60223 #define HAVE_HYPOTL 1
60224 _ACEOF
60226 cat >>confdefs.h <<\_ACEOF
60227 #define HAVE_ISINFL 1
60228 _ACEOF
60230 cat >>confdefs.h <<\_ACEOF
60231 #define HAVE_ISNANL 1
60232 _ACEOF
60236 *-mingw32*)
60240 for ac_header in sys/types.h locale.h float.h
60242 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
60243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
60244 echo "$as_me:$LINENO: checking for $ac_header" >&5
60245 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
60246 if eval "test \"\${$as_ac_Header+set}\" = set"; then
60247 echo $ECHO_N "(cached) $ECHO_C" >&6
60249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
60250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
60251 else
60252 # Is the header compilable?
60253 echo "$as_me:$LINENO: checking $ac_header usability" >&5
60254 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
60255 cat >conftest.$ac_ext <<_ACEOF
60256 /* confdefs.h. */
60257 _ACEOF
60258 cat confdefs.h >>conftest.$ac_ext
60259 cat >>conftest.$ac_ext <<_ACEOF
60260 /* end confdefs.h. */
60261 $ac_includes_default
60262 #include <$ac_header>
60263 _ACEOF
60264 rm -f conftest.$ac_objext
60265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60266 (eval $ac_compile) 2>conftest.er1
60267 ac_status=$?
60268 grep -v '^ *+' conftest.er1 >conftest.err
60269 rm -f conftest.er1
60270 cat conftest.err >&5
60271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60272 (exit $ac_status); } &&
60273 { ac_try='test -z "$ac_c_werror_flag"
60274 || test ! -s conftest.err'
60275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60276 (eval $ac_try) 2>&5
60277 ac_status=$?
60278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60279 (exit $ac_status); }; } &&
60280 { ac_try='test -s conftest.$ac_objext'
60281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60282 (eval $ac_try) 2>&5
60283 ac_status=$?
60284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60285 (exit $ac_status); }; }; then
60286 ac_header_compiler=yes
60287 else
60288 echo "$as_me: failed program was:" >&5
60289 sed 's/^/| /' conftest.$ac_ext >&5
60291 ac_header_compiler=no
60293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60294 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
60295 echo "${ECHO_T}$ac_header_compiler" >&6
60297 # Is the header present?
60298 echo "$as_me:$LINENO: checking $ac_header presence" >&5
60299 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
60300 cat >conftest.$ac_ext <<_ACEOF
60301 /* confdefs.h. */
60302 _ACEOF
60303 cat confdefs.h >>conftest.$ac_ext
60304 cat >>conftest.$ac_ext <<_ACEOF
60305 /* end confdefs.h. */
60306 #include <$ac_header>
60307 _ACEOF
60308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
60309 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
60310 ac_status=$?
60311 grep -v '^ *+' conftest.er1 >conftest.err
60312 rm -f conftest.er1
60313 cat conftest.err >&5
60314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60315 (exit $ac_status); } >/dev/null; then
60316 if test -s conftest.err; then
60317 ac_cpp_err=$ac_c_preproc_warn_flag
60318 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
60319 else
60320 ac_cpp_err=
60322 else
60323 ac_cpp_err=yes
60325 if test -z "$ac_cpp_err"; then
60326 ac_header_preproc=yes
60327 else
60328 echo "$as_me: failed program was:" >&5
60329 sed 's/^/| /' conftest.$ac_ext >&5
60331 ac_header_preproc=no
60333 rm -f conftest.err conftest.$ac_ext
60334 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
60335 echo "${ECHO_T}$ac_header_preproc" >&6
60337 # So? What about this header?
60338 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
60339 yes:no: )
60340 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
60341 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
60342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
60343 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
60344 ac_header_preproc=yes
60346 no:yes:* )
60347 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
60348 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
60349 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
60350 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
60351 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
60352 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
60353 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
60354 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
60355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
60356 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
60357 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
60358 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
60360 cat <<\_ASBOX
60361 ## ----------------------------------------- ##
60362 ## Report this to the package-unused lists. ##
60363 ## ----------------------------------------- ##
60364 _ASBOX
60366 sed "s/^/$as_me: WARNING: /" >&2
60368 esac
60369 echo "$as_me:$LINENO: checking for $ac_header" >&5
60370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
60371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
60372 echo $ECHO_N "(cached) $ECHO_C" >&6
60373 else
60374 eval "$as_ac_Header=\$ac_header_preproc"
60376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
60377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
60380 if test `eval echo '${'$as_ac_Header'}'` = yes; then
60381 cat >>confdefs.h <<_ACEOF
60382 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
60383 _ACEOF
60387 done
60390 # If we're not using GNU ld, then there's no point in even trying these
60391 # tests. Check for that first. We should have already tested for gld
60392 # by now (in libtool), but require it now just to be safe...
60393 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60394 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60398 # The name set by libtool depends on the version of libtool. Shame on us
60399 # for depending on an impl detail, but c'est la vie. Older versions used
60400 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60401 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60402 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60403 # set (hence we're using an older libtool), then set it.
60404 if test x${with_gnu_ld+set} != xset; then
60405 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60406 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60407 with_gnu_ld=no
60408 else
60409 with_gnu_ld=$ac_cv_prog_gnu_ld
60413 # Start by getting the version number. I think the libtool test already
60414 # does some of this, but throws away the result.
60416 ldver=`$LD --version 2>/dev/null | head -1 | \
60417 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
60419 glibcxx_gnu_ld_version=`echo $ldver | \
60420 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60422 # Set --gc-sections.
60423 if test "$with_gnu_ld" = "notbroken"; then
60424 # GNU ld it is! Joy and bunny rabbits!
60426 # All these tests are for C++; save the language and the compiler flags.
60427 # Need to do this so that g++ won't try to link in libstdc++
60428 ac_test_CFLAGS="${CFLAGS+set}"
60429 ac_save_CFLAGS="$CFLAGS"
60430 CFLAGS='-x c++ -Wl,--gc-sections'
60432 # Check for -Wl,--gc-sections
60433 # XXX This test is broken at the moment, as symbols required for linking
60434 # are now in libsupc++ (not built yet). In addition, this test has
60435 # cored on solaris in the past. In addition, --gc-sections doesn't
60436 # really work at the moment (keeps on discarding used sections, first
60437 # .eh_frame and now some of the glibc sections for iconv).
60438 # Bzzzzt. Thanks for playing, maybe next time.
60439 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
60440 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
60441 if test "$cross_compiling" = yes; then
60442 ac_sectionLDflags=yes
60443 else
60444 cat >conftest.$ac_ext <<_ACEOF
60445 /* confdefs.h. */
60446 _ACEOF
60447 cat confdefs.h >>conftest.$ac_ext
60448 cat >>conftest.$ac_ext <<_ACEOF
60449 /* end confdefs.h. */
60451 int main(void)
60453 try { throw 1; }
60454 catch (...) { };
60455 return 0;
60458 _ACEOF
60459 rm -f conftest$ac_exeext
60460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60461 (eval $ac_link) 2>&5
60462 ac_status=$?
60463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60464 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
60470 ac_sectionLDflags=yes
60471 else
60472 echo "$as_me: program exited with status $ac_status" >&5
60473 echo "$as_me: failed program was:" >&5
60474 sed 's/^/| /' conftest.$ac_ext >&5
60476 ( exit $ac_status )
60477 ac_sectionLDflags=no
60479 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
60481 if test "$ac_test_CFLAGS" = set; then
60482 CFLAGS="$ac_save_CFLAGS"
60483 else
60484 # this is the suspicious part
60485 CFLAGS=''
60487 if test "$ac_sectionLDflags" = "yes"; then
60488 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60490 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
60491 echo "${ECHO_T}$ac_sectionLDflags" >&6
60494 # Set linker optimization flags.
60495 if test x"$with_gnu_ld" = x"yes"; then
60496 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60504 echo "$as_me:$LINENO: checking for main in -lm" >&5
60505 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
60506 if test "${ac_cv_lib_m_main+set}" = set; then
60507 echo $ECHO_N "(cached) $ECHO_C" >&6
60508 else
60509 ac_check_lib_save_LIBS=$LIBS
60510 LIBS="-lm $LIBS"
60511 if test x$gcc_no_link = xyes; then
60512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60514 { (exit 1); exit 1; }; }
60516 cat >conftest.$ac_ext <<_ACEOF
60517 /* confdefs.h. */
60518 _ACEOF
60519 cat confdefs.h >>conftest.$ac_ext
60520 cat >>conftest.$ac_ext <<_ACEOF
60521 /* end confdefs.h. */
60525 main ()
60527 main ();
60529 return 0;
60531 _ACEOF
60532 rm -f conftest.$ac_objext conftest$ac_exeext
60533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60534 (eval $ac_link) 2>conftest.er1
60535 ac_status=$?
60536 grep -v '^ *+' conftest.er1 >conftest.err
60537 rm -f conftest.er1
60538 cat conftest.err >&5
60539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60540 (exit $ac_status); } &&
60541 { ac_try='test -z "$ac_c_werror_flag"
60542 || test ! -s conftest.err'
60543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60544 (eval $ac_try) 2>&5
60545 ac_status=$?
60546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60547 (exit $ac_status); }; } &&
60548 { ac_try='test -s conftest$ac_exeext'
60549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60550 (eval $ac_try) 2>&5
60551 ac_status=$?
60552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60553 (exit $ac_status); }; }; then
60554 ac_cv_lib_m_main=yes
60555 else
60556 echo "$as_me: failed program was:" >&5
60557 sed 's/^/| /' conftest.$ac_ext >&5
60559 ac_cv_lib_m_main=no
60561 rm -f conftest.err conftest.$ac_objext \
60562 conftest$ac_exeext conftest.$ac_ext
60563 LIBS=$ac_check_lib_save_LIBS
60565 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
60566 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
60567 if test $ac_cv_lib_m_main = yes; then
60568 cat >>confdefs.h <<_ACEOF
60569 #define HAVE_LIBM 1
60570 _ACEOF
60572 LIBS="-lm $LIBS"
60578 for ac_func in nan copysignf
60580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60581 echo "$as_me:$LINENO: checking for $ac_func" >&5
60582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60583 if eval "test \"\${$as_ac_var+set}\" = set"; then
60584 echo $ECHO_N "(cached) $ECHO_C" >&6
60585 else
60586 if test x$gcc_no_link = xyes; then
60587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60589 { (exit 1); exit 1; }; }
60591 cat >conftest.$ac_ext <<_ACEOF
60592 /* confdefs.h. */
60593 _ACEOF
60594 cat confdefs.h >>conftest.$ac_ext
60595 cat >>conftest.$ac_ext <<_ACEOF
60596 /* end confdefs.h. */
60597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60599 #define $ac_func innocuous_$ac_func
60601 /* System header to define __stub macros and hopefully few prototypes,
60602 which can conflict with char $ac_func (); below.
60603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60604 <limits.h> exists even on freestanding compilers. */
60606 #ifdef __STDC__
60607 # include <limits.h>
60608 #else
60609 # include <assert.h>
60610 #endif
60612 #undef $ac_func
60614 /* Override any gcc2 internal prototype to avoid an error. */
60615 #ifdef __cplusplus
60616 extern "C"
60618 #endif
60619 /* We use char because int might match the return type of a gcc2
60620 builtin and then its argument prototype would still apply. */
60621 char $ac_func ();
60622 /* The GNU C library defines this for functions which it implements
60623 to always fail with ENOSYS. Some functions are actually named
60624 something starting with __ and the normal name is an alias. */
60625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60626 choke me
60627 #else
60628 char (*f) () = $ac_func;
60629 #endif
60630 #ifdef __cplusplus
60632 #endif
60635 main ()
60637 return f != $ac_func;
60639 return 0;
60641 _ACEOF
60642 rm -f conftest.$ac_objext conftest$ac_exeext
60643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60644 (eval $ac_link) 2>conftest.er1
60645 ac_status=$?
60646 grep -v '^ *+' conftest.er1 >conftest.err
60647 rm -f conftest.er1
60648 cat conftest.err >&5
60649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60650 (exit $ac_status); } &&
60651 { ac_try='test -z "$ac_c_werror_flag"
60652 || test ! -s conftest.err'
60653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60654 (eval $ac_try) 2>&5
60655 ac_status=$?
60656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60657 (exit $ac_status); }; } &&
60658 { ac_try='test -s conftest$ac_exeext'
60659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60660 (eval $ac_try) 2>&5
60661 ac_status=$?
60662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60663 (exit $ac_status); }; }; then
60664 eval "$as_ac_var=yes"
60665 else
60666 echo "$as_me: failed program was:" >&5
60667 sed 's/^/| /' conftest.$ac_ext >&5
60669 eval "$as_ac_var=no"
60671 rm -f conftest.err conftest.$ac_objext \
60672 conftest$ac_exeext conftest.$ac_ext
60674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60676 if test `eval echo '${'$as_ac_var'}'` = yes; then
60677 cat >>confdefs.h <<_ACEOF
60678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60679 _ACEOF
60681 else
60682 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
60684 done
60688 for ac_func in __signbit
60690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60691 echo "$as_me:$LINENO: checking for $ac_func" >&5
60692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60693 if eval "test \"\${$as_ac_var+set}\" = set"; then
60694 echo $ECHO_N "(cached) $ECHO_C" >&6
60695 else
60696 if test x$gcc_no_link = xyes; then
60697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60699 { (exit 1); exit 1; }; }
60701 cat >conftest.$ac_ext <<_ACEOF
60702 /* confdefs.h. */
60703 _ACEOF
60704 cat confdefs.h >>conftest.$ac_ext
60705 cat >>conftest.$ac_ext <<_ACEOF
60706 /* end confdefs.h. */
60707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60709 #define $ac_func innocuous_$ac_func
60711 /* System header to define __stub macros and hopefully few prototypes,
60712 which can conflict with char $ac_func (); below.
60713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60714 <limits.h> exists even on freestanding compilers. */
60716 #ifdef __STDC__
60717 # include <limits.h>
60718 #else
60719 # include <assert.h>
60720 #endif
60722 #undef $ac_func
60724 /* Override any gcc2 internal prototype to avoid an error. */
60725 #ifdef __cplusplus
60726 extern "C"
60728 #endif
60729 /* We use char because int might match the return type of a gcc2
60730 builtin and then its argument prototype would still apply. */
60731 char $ac_func ();
60732 /* The GNU C library defines this for functions which it implements
60733 to always fail with ENOSYS. Some functions are actually named
60734 something starting with __ and the normal name is an alias. */
60735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60736 choke me
60737 #else
60738 char (*f) () = $ac_func;
60739 #endif
60740 #ifdef __cplusplus
60742 #endif
60745 main ()
60747 return f != $ac_func;
60749 return 0;
60751 _ACEOF
60752 rm -f conftest.$ac_objext conftest$ac_exeext
60753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60754 (eval $ac_link) 2>conftest.er1
60755 ac_status=$?
60756 grep -v '^ *+' conftest.er1 >conftest.err
60757 rm -f conftest.er1
60758 cat conftest.err >&5
60759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60760 (exit $ac_status); } &&
60761 { ac_try='test -z "$ac_c_werror_flag"
60762 || test ! -s conftest.err'
60763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60764 (eval $ac_try) 2>&5
60765 ac_status=$?
60766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60767 (exit $ac_status); }; } &&
60768 { ac_try='test -s conftest$ac_exeext'
60769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60770 (eval $ac_try) 2>&5
60771 ac_status=$?
60772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60773 (exit $ac_status); }; }; then
60774 eval "$as_ac_var=yes"
60775 else
60776 echo "$as_me: failed program was:" >&5
60777 sed 's/^/| /' conftest.$ac_ext >&5
60779 eval "$as_ac_var=no"
60781 rm -f conftest.err conftest.$ac_objext \
60782 conftest$ac_exeext conftest.$ac_ext
60784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60786 if test `eval echo '${'$as_ac_var'}'` = yes; then
60787 cat >>confdefs.h <<_ACEOF
60788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60789 _ACEOF
60791 else
60792 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
60794 done
60797 for ac_func in __signbitf
60799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60800 echo "$as_me:$LINENO: checking for $ac_func" >&5
60801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60802 if eval "test \"\${$as_ac_var+set}\" = set"; then
60803 echo $ECHO_N "(cached) $ECHO_C" >&6
60804 else
60805 if test x$gcc_no_link = xyes; then
60806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60808 { (exit 1); exit 1; }; }
60810 cat >conftest.$ac_ext <<_ACEOF
60811 /* confdefs.h. */
60812 _ACEOF
60813 cat confdefs.h >>conftest.$ac_ext
60814 cat >>conftest.$ac_ext <<_ACEOF
60815 /* end confdefs.h. */
60816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60818 #define $ac_func innocuous_$ac_func
60820 /* System header to define __stub macros and hopefully few prototypes,
60821 which can conflict with char $ac_func (); below.
60822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60823 <limits.h> exists even on freestanding compilers. */
60825 #ifdef __STDC__
60826 # include <limits.h>
60827 #else
60828 # include <assert.h>
60829 #endif
60831 #undef $ac_func
60833 /* Override any gcc2 internal prototype to avoid an error. */
60834 #ifdef __cplusplus
60835 extern "C"
60837 #endif
60838 /* We use char because int might match the return type of a gcc2
60839 builtin and then its argument prototype would still apply. */
60840 char $ac_func ();
60841 /* The GNU C library defines this for functions which it implements
60842 to always fail with ENOSYS. Some functions are actually named
60843 something starting with __ and the normal name is an alias. */
60844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60845 choke me
60846 #else
60847 char (*f) () = $ac_func;
60848 #endif
60849 #ifdef __cplusplus
60851 #endif
60854 main ()
60856 return f != $ac_func;
60858 return 0;
60860 _ACEOF
60861 rm -f conftest.$ac_objext conftest$ac_exeext
60862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60863 (eval $ac_link) 2>conftest.er1
60864 ac_status=$?
60865 grep -v '^ *+' conftest.er1 >conftest.err
60866 rm -f conftest.er1
60867 cat conftest.err >&5
60868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60869 (exit $ac_status); } &&
60870 { ac_try='test -z "$ac_c_werror_flag"
60871 || test ! -s conftest.err'
60872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60873 (eval $ac_try) 2>&5
60874 ac_status=$?
60875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60876 (exit $ac_status); }; } &&
60877 { ac_try='test -s conftest$ac_exeext'
60878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60879 (eval $ac_try) 2>&5
60880 ac_status=$?
60881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60882 (exit $ac_status); }; }; then
60883 eval "$as_ac_var=yes"
60884 else
60885 echo "$as_me: failed program was:" >&5
60886 sed 's/^/| /' conftest.$ac_ext >&5
60888 eval "$as_ac_var=no"
60890 rm -f conftest.err conftest.$ac_objext \
60891 conftest$ac_exeext conftest.$ac_ext
60893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60895 if test `eval echo '${'$as_ac_var'}'` = yes; then
60896 cat >>confdefs.h <<_ACEOF
60897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60898 _ACEOF
60900 else
60901 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
60903 done
60906 if test x$ac_cv_func_copysignl = x"yes"; then
60908 for ac_func in __signbitl
60910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60911 echo "$as_me:$LINENO: checking for $ac_func" >&5
60912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60913 if eval "test \"\${$as_ac_var+set}\" = set"; then
60914 echo $ECHO_N "(cached) $ECHO_C" >&6
60915 else
60916 if test x$gcc_no_link = xyes; then
60917 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60919 { (exit 1); exit 1; }; }
60921 cat >conftest.$ac_ext <<_ACEOF
60922 /* confdefs.h. */
60923 _ACEOF
60924 cat confdefs.h >>conftest.$ac_ext
60925 cat >>conftest.$ac_ext <<_ACEOF
60926 /* end confdefs.h. */
60927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60929 #define $ac_func innocuous_$ac_func
60931 /* System header to define __stub macros and hopefully few prototypes,
60932 which can conflict with char $ac_func (); below.
60933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60934 <limits.h> exists even on freestanding compilers. */
60936 #ifdef __STDC__
60937 # include <limits.h>
60938 #else
60939 # include <assert.h>
60940 #endif
60942 #undef $ac_func
60944 /* Override any gcc2 internal prototype to avoid an error. */
60945 #ifdef __cplusplus
60946 extern "C"
60948 #endif
60949 /* We use char because int might match the return type of a gcc2
60950 builtin and then its argument prototype would still apply. */
60951 char $ac_func ();
60952 /* The GNU C library defines this for functions which it implements
60953 to always fail with ENOSYS. Some functions are actually named
60954 something starting with __ and the normal name is an alias. */
60955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60956 choke me
60957 #else
60958 char (*f) () = $ac_func;
60959 #endif
60960 #ifdef __cplusplus
60962 #endif
60965 main ()
60967 return f != $ac_func;
60969 return 0;
60971 _ACEOF
60972 rm -f conftest.$ac_objext conftest$ac_exeext
60973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60974 (eval $ac_link) 2>conftest.er1
60975 ac_status=$?
60976 grep -v '^ *+' conftest.er1 >conftest.err
60977 rm -f conftest.er1
60978 cat conftest.err >&5
60979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60980 (exit $ac_status); } &&
60981 { ac_try='test -z "$ac_c_werror_flag"
60982 || test ! -s conftest.err'
60983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60984 (eval $ac_try) 2>&5
60985 ac_status=$?
60986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60987 (exit $ac_status); }; } &&
60988 { ac_try='test -s conftest$ac_exeext'
60989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60990 (eval $ac_try) 2>&5
60991 ac_status=$?
60992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60993 (exit $ac_status); }; }; then
60994 eval "$as_ac_var=yes"
60995 else
60996 echo "$as_me: failed program was:" >&5
60997 sed 's/^/| /' conftest.$ac_ext >&5
60999 eval "$as_ac_var=no"
61001 rm -f conftest.err conftest.$ac_objext \
61002 conftest$ac_exeext conftest.$ac_ext
61004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61006 if test `eval echo '${'$as_ac_var'}'` = yes; then
61007 cat >>confdefs.h <<_ACEOF
61008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61009 _ACEOF
61011 else
61012 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
61014 done
61018 # XXX Review this. Nothing uses it.
61019 if test -n "$LIBMATHOBJS"; then
61020 need_libmath=yes
61025 # Test wchar.h for mbstate_t, which is needed for char_traits and
61026 # others even if wchar_t support is not on.
61027 echo "$as_me:$LINENO: checking for mbstate_t" >&5
61028 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
61029 cat >conftest.$ac_ext <<_ACEOF
61030 /* confdefs.h. */
61031 _ACEOF
61032 cat confdefs.h >>conftest.$ac_ext
61033 cat >>conftest.$ac_ext <<_ACEOF
61034 /* end confdefs.h. */
61035 #include <wchar.h>
61037 main ()
61039 mbstate_t teststate;
61041 return 0;
61043 _ACEOF
61044 rm -f conftest.$ac_objext
61045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61046 (eval $ac_compile) 2>conftest.er1
61047 ac_status=$?
61048 grep -v '^ *+' conftest.er1 >conftest.err
61049 rm -f conftest.er1
61050 cat conftest.err >&5
61051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61052 (exit $ac_status); } &&
61053 { ac_try='test -z "$ac_c_werror_flag"
61054 || test ! -s conftest.err'
61055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61056 (eval $ac_try) 2>&5
61057 ac_status=$?
61058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61059 (exit $ac_status); }; } &&
61060 { ac_try='test -s conftest.$ac_objext'
61061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61062 (eval $ac_try) 2>&5
61063 ac_status=$?
61064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61065 (exit $ac_status); }; }; then
61066 have_mbstate_t=yes
61067 else
61068 echo "$as_me: failed program was:" >&5
61069 sed 's/^/| /' conftest.$ac_ext >&5
61071 have_mbstate_t=no
61073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61074 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
61075 echo "${ECHO_T}$have_mbstate_t" >&6
61076 if test x"$have_mbstate_t" = xyes; then
61077 cat >>confdefs.h <<\_ACEOF
61078 #define HAVE_MBSTATE_T 1
61079 _ACEOF
61083 # Sanity check for existence of ISO C99 headers for extended encoding.
61085 for ac_header in wchar.h
61087 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
61088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61089 echo "$as_me:$LINENO: checking for $ac_header" >&5
61090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
61091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61092 echo $ECHO_N "(cached) $ECHO_C" >&6
61094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
61095 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
61096 else
61097 # Is the header compilable?
61098 echo "$as_me:$LINENO: checking $ac_header usability" >&5
61099 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
61100 cat >conftest.$ac_ext <<_ACEOF
61101 /* confdefs.h. */
61102 _ACEOF
61103 cat confdefs.h >>conftest.$ac_ext
61104 cat >>conftest.$ac_ext <<_ACEOF
61105 /* end confdefs.h. */
61106 $ac_includes_default
61107 #include <$ac_header>
61108 _ACEOF
61109 rm -f conftest.$ac_objext
61110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61111 (eval $ac_compile) 2>conftest.er1
61112 ac_status=$?
61113 grep -v '^ *+' conftest.er1 >conftest.err
61114 rm -f conftest.er1
61115 cat conftest.err >&5
61116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61117 (exit $ac_status); } &&
61118 { ac_try='test -z "$ac_c_werror_flag"
61119 || test ! -s conftest.err'
61120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61121 (eval $ac_try) 2>&5
61122 ac_status=$?
61123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61124 (exit $ac_status); }; } &&
61125 { ac_try='test -s conftest.$ac_objext'
61126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61127 (eval $ac_try) 2>&5
61128 ac_status=$?
61129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61130 (exit $ac_status); }; }; then
61131 ac_header_compiler=yes
61132 else
61133 echo "$as_me: failed program was:" >&5
61134 sed 's/^/| /' conftest.$ac_ext >&5
61136 ac_header_compiler=no
61138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61139 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
61140 echo "${ECHO_T}$ac_header_compiler" >&6
61142 # Is the header present?
61143 echo "$as_me:$LINENO: checking $ac_header presence" >&5
61144 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
61145 cat >conftest.$ac_ext <<_ACEOF
61146 /* confdefs.h. */
61147 _ACEOF
61148 cat confdefs.h >>conftest.$ac_ext
61149 cat >>conftest.$ac_ext <<_ACEOF
61150 /* end confdefs.h. */
61151 #include <$ac_header>
61152 _ACEOF
61153 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
61154 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
61155 ac_status=$?
61156 grep -v '^ *+' conftest.er1 >conftest.err
61157 rm -f conftest.er1
61158 cat conftest.err >&5
61159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61160 (exit $ac_status); } >/dev/null; then
61161 if test -s conftest.err; then
61162 ac_cpp_err=$ac_c_preproc_warn_flag
61163 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
61164 else
61165 ac_cpp_err=
61167 else
61168 ac_cpp_err=yes
61170 if test -z "$ac_cpp_err"; then
61171 ac_header_preproc=yes
61172 else
61173 echo "$as_me: failed program was:" >&5
61174 sed 's/^/| /' conftest.$ac_ext >&5
61176 ac_header_preproc=no
61178 rm -f conftest.err conftest.$ac_ext
61179 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
61180 echo "${ECHO_T}$ac_header_preproc" >&6
61182 # So? What about this header?
61183 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
61184 yes:no: )
61185 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
61186 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
61187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
61188 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
61189 ac_header_preproc=yes
61191 no:yes:* )
61192 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
61193 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
61194 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
61195 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
61196 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
61197 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
61198 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
61199 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
61200 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
61201 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
61202 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
61203 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
61205 cat <<\_ASBOX
61206 ## ----------------------------------------- ##
61207 ## Report this to the package-unused lists. ##
61208 ## ----------------------------------------- ##
61209 _ASBOX
61211 sed "s/^/$as_me: WARNING: /" >&2
61213 esac
61214 echo "$as_me:$LINENO: checking for $ac_header" >&5
61215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
61216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61217 echo $ECHO_N "(cached) $ECHO_C" >&6
61218 else
61219 eval "$as_ac_Header=\$ac_header_preproc"
61221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
61222 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
61225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
61226 cat >>confdefs.h <<_ACEOF
61227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
61228 _ACEOF
61229 ac_has_wchar_h=yes
61230 else
61231 ac_has_wchar_h=no
61234 done
61237 for ac_header in wctype.h
61239 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
61240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61241 echo "$as_me:$LINENO: checking for $ac_header" >&5
61242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
61243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61244 echo $ECHO_N "(cached) $ECHO_C" >&6
61246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
61247 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
61248 else
61249 # Is the header compilable?
61250 echo "$as_me:$LINENO: checking $ac_header usability" >&5
61251 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
61252 cat >conftest.$ac_ext <<_ACEOF
61253 /* confdefs.h. */
61254 _ACEOF
61255 cat confdefs.h >>conftest.$ac_ext
61256 cat >>conftest.$ac_ext <<_ACEOF
61257 /* end confdefs.h. */
61258 $ac_includes_default
61259 #include <$ac_header>
61260 _ACEOF
61261 rm -f conftest.$ac_objext
61262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61263 (eval $ac_compile) 2>conftest.er1
61264 ac_status=$?
61265 grep -v '^ *+' conftest.er1 >conftest.err
61266 rm -f conftest.er1
61267 cat conftest.err >&5
61268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61269 (exit $ac_status); } &&
61270 { ac_try='test -z "$ac_c_werror_flag"
61271 || test ! -s conftest.err'
61272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61273 (eval $ac_try) 2>&5
61274 ac_status=$?
61275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61276 (exit $ac_status); }; } &&
61277 { ac_try='test -s conftest.$ac_objext'
61278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61279 (eval $ac_try) 2>&5
61280 ac_status=$?
61281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61282 (exit $ac_status); }; }; then
61283 ac_header_compiler=yes
61284 else
61285 echo "$as_me: failed program was:" >&5
61286 sed 's/^/| /' conftest.$ac_ext >&5
61288 ac_header_compiler=no
61290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61291 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
61292 echo "${ECHO_T}$ac_header_compiler" >&6
61294 # Is the header present?
61295 echo "$as_me:$LINENO: checking $ac_header presence" >&5
61296 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
61297 cat >conftest.$ac_ext <<_ACEOF
61298 /* confdefs.h. */
61299 _ACEOF
61300 cat confdefs.h >>conftest.$ac_ext
61301 cat >>conftest.$ac_ext <<_ACEOF
61302 /* end confdefs.h. */
61303 #include <$ac_header>
61304 _ACEOF
61305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
61306 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
61307 ac_status=$?
61308 grep -v '^ *+' conftest.er1 >conftest.err
61309 rm -f conftest.er1
61310 cat conftest.err >&5
61311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61312 (exit $ac_status); } >/dev/null; then
61313 if test -s conftest.err; then
61314 ac_cpp_err=$ac_c_preproc_warn_flag
61315 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
61316 else
61317 ac_cpp_err=
61319 else
61320 ac_cpp_err=yes
61322 if test -z "$ac_cpp_err"; then
61323 ac_header_preproc=yes
61324 else
61325 echo "$as_me: failed program was:" >&5
61326 sed 's/^/| /' conftest.$ac_ext >&5
61328 ac_header_preproc=no
61330 rm -f conftest.err conftest.$ac_ext
61331 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
61332 echo "${ECHO_T}$ac_header_preproc" >&6
61334 # So? What about this header?
61335 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
61336 yes:no: )
61337 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
61338 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
61339 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
61340 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
61341 ac_header_preproc=yes
61343 no:yes:* )
61344 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
61345 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
61346 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
61347 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
61348 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
61349 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
61350 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
61351 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
61352 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
61353 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
61354 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
61355 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
61357 cat <<\_ASBOX
61358 ## ----------------------------------------- ##
61359 ## Report this to the package-unused lists. ##
61360 ## ----------------------------------------- ##
61361 _ASBOX
61363 sed "s/^/$as_me: WARNING: /" >&2
61365 esac
61366 echo "$as_me:$LINENO: checking for $ac_header" >&5
61367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
61368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61369 echo $ECHO_N "(cached) $ECHO_C" >&6
61370 else
61371 eval "$as_ac_Header=\$ac_header_preproc"
61373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
61374 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
61377 if test `eval echo '${'$as_ac_Header'}'` = yes; then
61378 cat >>confdefs.h <<_ACEOF
61379 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
61380 _ACEOF
61381 ac_has_wctype_h=yes
61382 else
61383 ac_has_wctype_h=no
61386 done
61389 # Only continue checking if the ISO C99 headers exist and support is on.
61390 if test x"$ac_has_wchar_h" = xyes &&
61391 test x"$ac_has_wctype_h" = xyes &&
61392 test x"$enable_c_mbchar" != xno; then
61394 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
61395 # numeric_limits can instantiate type_traits<wchar_t>
61396 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
61397 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
61398 cat >conftest.$ac_ext <<_ACEOF
61399 /* confdefs.h. */
61400 _ACEOF
61401 cat confdefs.h >>conftest.$ac_ext
61402 cat >>conftest.$ac_ext <<_ACEOF
61403 /* end confdefs.h. */
61404 #include <wchar.h>
61406 main ()
61408 int i = WCHAR_MIN; int j = WCHAR_MAX;
61410 return 0;
61412 _ACEOF
61413 rm -f conftest.$ac_objext
61414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61415 (eval $ac_compile) 2>conftest.er1
61416 ac_status=$?
61417 grep -v '^ *+' conftest.er1 >conftest.err
61418 rm -f conftest.er1
61419 cat conftest.err >&5
61420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61421 (exit $ac_status); } &&
61422 { ac_try='test -z "$ac_c_werror_flag"
61423 || test ! -s conftest.err'
61424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61425 (eval $ac_try) 2>&5
61426 ac_status=$?
61427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61428 (exit $ac_status); }; } &&
61429 { ac_try='test -s conftest.$ac_objext'
61430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61431 (eval $ac_try) 2>&5
61432 ac_status=$?
61433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61434 (exit $ac_status); }; }; then
61435 has_wchar_minmax=yes
61436 else
61437 echo "$as_me: failed program was:" >&5
61438 sed 's/^/| /' conftest.$ac_ext >&5
61440 has_wchar_minmax=no
61442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61443 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
61444 echo "${ECHO_T}$has_wchar_minmax" >&6
61446 # Test wchar.h for WEOF, which is what we use to determine whether
61447 # to specialize for char_traits<wchar_t> or not.
61448 echo "$as_me:$LINENO: checking for WEOF" >&5
61449 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
61450 cat >conftest.$ac_ext <<_ACEOF
61451 /* confdefs.h. */
61452 _ACEOF
61453 cat confdefs.h >>conftest.$ac_ext
61454 cat >>conftest.$ac_ext <<_ACEOF
61455 /* end confdefs.h. */
61457 #include <wchar.h>
61458 #include <stddef.h>
61460 main ()
61462 wint_t i = WEOF;
61464 return 0;
61466 _ACEOF
61467 rm -f conftest.$ac_objext
61468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61469 (eval $ac_compile) 2>conftest.er1
61470 ac_status=$?
61471 grep -v '^ *+' conftest.er1 >conftest.err
61472 rm -f conftest.er1
61473 cat conftest.err >&5
61474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61475 (exit $ac_status); } &&
61476 { ac_try='test -z "$ac_c_werror_flag"
61477 || test ! -s conftest.err'
61478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61479 (eval $ac_try) 2>&5
61480 ac_status=$?
61481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61482 (exit $ac_status); }; } &&
61483 { ac_try='test -s conftest.$ac_objext'
61484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61485 (eval $ac_try) 2>&5
61486 ac_status=$?
61487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61488 (exit $ac_status); }; }; then
61489 has_weof=yes
61490 else
61491 echo "$as_me: failed program was:" >&5
61492 sed 's/^/| /' conftest.$ac_ext >&5
61494 has_weof=no
61496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61497 echo "$as_me:$LINENO: result: $has_weof" >&5
61498 echo "${ECHO_T}$has_weof" >&6
61500 # Tests for wide character functions used in char_traits<wchar_t>.
61501 ac_wfuncs=yes
61508 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
61510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61511 echo "$as_me:$LINENO: checking for $ac_func" >&5
61512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61513 if eval "test \"\${$as_ac_var+set}\" = set"; then
61514 echo $ECHO_N "(cached) $ECHO_C" >&6
61515 else
61516 if test x$gcc_no_link = xyes; then
61517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61519 { (exit 1); exit 1; }; }
61521 cat >conftest.$ac_ext <<_ACEOF
61522 /* confdefs.h. */
61523 _ACEOF
61524 cat confdefs.h >>conftest.$ac_ext
61525 cat >>conftest.$ac_ext <<_ACEOF
61526 /* end confdefs.h. */
61527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61529 #define $ac_func innocuous_$ac_func
61531 /* System header to define __stub macros and hopefully few prototypes,
61532 which can conflict with char $ac_func (); below.
61533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61534 <limits.h> exists even on freestanding compilers. */
61536 #ifdef __STDC__
61537 # include <limits.h>
61538 #else
61539 # include <assert.h>
61540 #endif
61542 #undef $ac_func
61544 /* Override any gcc2 internal prototype to avoid an error. */
61545 #ifdef __cplusplus
61546 extern "C"
61548 #endif
61549 /* We use char because int might match the return type of a gcc2
61550 builtin and then its argument prototype would still apply. */
61551 char $ac_func ();
61552 /* The GNU C library defines this for functions which it implements
61553 to always fail with ENOSYS. Some functions are actually named
61554 something starting with __ and the normal name is an alias. */
61555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61556 choke me
61557 #else
61558 char (*f) () = $ac_func;
61559 #endif
61560 #ifdef __cplusplus
61562 #endif
61565 main ()
61567 return f != $ac_func;
61569 return 0;
61571 _ACEOF
61572 rm -f conftest.$ac_objext conftest$ac_exeext
61573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61574 (eval $ac_link) 2>conftest.er1
61575 ac_status=$?
61576 grep -v '^ *+' conftest.er1 >conftest.err
61577 rm -f conftest.er1
61578 cat conftest.err >&5
61579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61580 (exit $ac_status); } &&
61581 { ac_try='test -z "$ac_c_werror_flag"
61582 || test ! -s conftest.err'
61583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61584 (eval $ac_try) 2>&5
61585 ac_status=$?
61586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61587 (exit $ac_status); }; } &&
61588 { ac_try='test -s conftest$ac_exeext'
61589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61590 (eval $ac_try) 2>&5
61591 ac_status=$?
61592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61593 (exit $ac_status); }; }; then
61594 eval "$as_ac_var=yes"
61595 else
61596 echo "$as_me: failed program was:" >&5
61597 sed 's/^/| /' conftest.$ac_ext >&5
61599 eval "$as_ac_var=no"
61601 rm -f conftest.err conftest.$ac_objext \
61602 conftest$ac_exeext conftest.$ac_ext
61604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61606 if test `eval echo '${'$as_ac_var'}'` = yes; then
61607 cat >>confdefs.h <<_ACEOF
61608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61609 _ACEOF
61611 else
61612 ac_wfuncs=no
61614 done
61617 # Checks for names injected into std:: by the c_std headers.
61664 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
61665 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
61666 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
61667 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
61668 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
61669 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
61671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61672 echo "$as_me:$LINENO: checking for $ac_func" >&5
61673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61674 if eval "test \"\${$as_ac_var+set}\" = set"; then
61675 echo $ECHO_N "(cached) $ECHO_C" >&6
61676 else
61677 if test x$gcc_no_link = xyes; then
61678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61680 { (exit 1); exit 1; }; }
61682 cat >conftest.$ac_ext <<_ACEOF
61683 /* confdefs.h. */
61684 _ACEOF
61685 cat confdefs.h >>conftest.$ac_ext
61686 cat >>conftest.$ac_ext <<_ACEOF
61687 /* end confdefs.h. */
61688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61690 #define $ac_func innocuous_$ac_func
61692 /* System header to define __stub macros and hopefully few prototypes,
61693 which can conflict with char $ac_func (); below.
61694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61695 <limits.h> exists even on freestanding compilers. */
61697 #ifdef __STDC__
61698 # include <limits.h>
61699 #else
61700 # include <assert.h>
61701 #endif
61703 #undef $ac_func
61705 /* Override any gcc2 internal prototype to avoid an error. */
61706 #ifdef __cplusplus
61707 extern "C"
61709 #endif
61710 /* We use char because int might match the return type of a gcc2
61711 builtin and then its argument prototype would still apply. */
61712 char $ac_func ();
61713 /* The GNU C library defines this for functions which it implements
61714 to always fail with ENOSYS. Some functions are actually named
61715 something starting with __ and the normal name is an alias. */
61716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61717 choke me
61718 #else
61719 char (*f) () = $ac_func;
61720 #endif
61721 #ifdef __cplusplus
61723 #endif
61726 main ()
61728 return f != $ac_func;
61730 return 0;
61732 _ACEOF
61733 rm -f conftest.$ac_objext conftest$ac_exeext
61734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61735 (eval $ac_link) 2>conftest.er1
61736 ac_status=$?
61737 grep -v '^ *+' conftest.er1 >conftest.err
61738 rm -f conftest.er1
61739 cat conftest.err >&5
61740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61741 (exit $ac_status); } &&
61742 { ac_try='test -z "$ac_c_werror_flag"
61743 || test ! -s conftest.err'
61744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61745 (eval $ac_try) 2>&5
61746 ac_status=$?
61747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61748 (exit $ac_status); }; } &&
61749 { ac_try='test -s conftest$ac_exeext'
61750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61751 (eval $ac_try) 2>&5
61752 ac_status=$?
61753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61754 (exit $ac_status); }; }; then
61755 eval "$as_ac_var=yes"
61756 else
61757 echo "$as_me: failed program was:" >&5
61758 sed 's/^/| /' conftest.$ac_ext >&5
61760 eval "$as_ac_var=no"
61762 rm -f conftest.err conftest.$ac_objext \
61763 conftest$ac_exeext conftest.$ac_ext
61765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61767 if test `eval echo '${'$as_ac_var'}'` = yes; then
61768 cat >>confdefs.h <<_ACEOF
61769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61770 _ACEOF
61772 else
61773 ac_wfuncs=no
61775 done
61778 # Checks for wide character functions that are not required
61779 # for basic wchar_t support. Don't disable support if they are missing.
61780 # Injection of these is wrapped with guard macros.
61786 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
61788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61789 echo "$as_me:$LINENO: checking for $ac_func" >&5
61790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61791 if eval "test \"\${$as_ac_var+set}\" = set"; then
61792 echo $ECHO_N "(cached) $ECHO_C" >&6
61793 else
61794 if test x$gcc_no_link = xyes; then
61795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61797 { (exit 1); exit 1; }; }
61799 cat >conftest.$ac_ext <<_ACEOF
61800 /* confdefs.h. */
61801 _ACEOF
61802 cat confdefs.h >>conftest.$ac_ext
61803 cat >>conftest.$ac_ext <<_ACEOF
61804 /* end confdefs.h. */
61805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61807 #define $ac_func innocuous_$ac_func
61809 /* System header to define __stub macros and hopefully few prototypes,
61810 which can conflict with char $ac_func (); below.
61811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61812 <limits.h> exists even on freestanding compilers. */
61814 #ifdef __STDC__
61815 # include <limits.h>
61816 #else
61817 # include <assert.h>
61818 #endif
61820 #undef $ac_func
61822 /* Override any gcc2 internal prototype to avoid an error. */
61823 #ifdef __cplusplus
61824 extern "C"
61826 #endif
61827 /* We use char because int might match the return type of a gcc2
61828 builtin and then its argument prototype would still apply. */
61829 char $ac_func ();
61830 /* The GNU C library defines this for functions which it implements
61831 to always fail with ENOSYS. Some functions are actually named
61832 something starting with __ and the normal name is an alias. */
61833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61834 choke me
61835 #else
61836 char (*f) () = $ac_func;
61837 #endif
61838 #ifdef __cplusplus
61840 #endif
61843 main ()
61845 return f != $ac_func;
61847 return 0;
61849 _ACEOF
61850 rm -f conftest.$ac_objext conftest$ac_exeext
61851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61852 (eval $ac_link) 2>conftest.er1
61853 ac_status=$?
61854 grep -v '^ *+' conftest.er1 >conftest.err
61855 rm -f conftest.er1
61856 cat conftest.err >&5
61857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61858 (exit $ac_status); } &&
61859 { ac_try='test -z "$ac_c_werror_flag"
61860 || test ! -s conftest.err'
61861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61862 (eval $ac_try) 2>&5
61863 ac_status=$?
61864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61865 (exit $ac_status); }; } &&
61866 { ac_try='test -s conftest$ac_exeext'
61867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61868 (eval $ac_try) 2>&5
61869 ac_status=$?
61870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61871 (exit $ac_status); }; }; then
61872 eval "$as_ac_var=yes"
61873 else
61874 echo "$as_me: failed program was:" >&5
61875 sed 's/^/| /' conftest.$ac_ext >&5
61877 eval "$as_ac_var=no"
61879 rm -f conftest.err conftest.$ac_objext \
61880 conftest$ac_exeext conftest.$ac_ext
61882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61884 if test `eval echo '${'$as_ac_var'}'` = yes; then
61885 cat >>confdefs.h <<_ACEOF
61886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61887 _ACEOF
61890 done
61893 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
61894 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
61895 if test x"$has_weof" = xyes &&
61896 test x"$has_wchar_minmax" = xyes &&
61897 test x"$ac_wfuncs" = xyes;
61898 then
61899 ac_isoC99_wchar_t=yes
61900 else
61901 ac_isoC99_wchar_t=no
61903 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
61904 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
61906 # Use iconv for wchar_t to char conversions. As such, check for
61907 # X/Open Portability Guide, version 2 features (XPG2).
61908 if test "${ac_cv_header_iconv_h+set}" = set; then
61909 echo "$as_me:$LINENO: checking for iconv.h" >&5
61910 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
61911 if test "${ac_cv_header_iconv_h+set}" = set; then
61912 echo $ECHO_N "(cached) $ECHO_C" >&6
61914 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
61915 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
61916 else
61917 # Is the header compilable?
61918 echo "$as_me:$LINENO: checking iconv.h usability" >&5
61919 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
61920 cat >conftest.$ac_ext <<_ACEOF
61921 /* confdefs.h. */
61922 _ACEOF
61923 cat confdefs.h >>conftest.$ac_ext
61924 cat >>conftest.$ac_ext <<_ACEOF
61925 /* end confdefs.h. */
61926 $ac_includes_default
61927 #include <iconv.h>
61928 _ACEOF
61929 rm -f conftest.$ac_objext
61930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61931 (eval $ac_compile) 2>conftest.er1
61932 ac_status=$?
61933 grep -v '^ *+' conftest.er1 >conftest.err
61934 rm -f conftest.er1
61935 cat conftest.err >&5
61936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61937 (exit $ac_status); } &&
61938 { ac_try='test -z "$ac_c_werror_flag"
61939 || test ! -s conftest.err'
61940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61941 (eval $ac_try) 2>&5
61942 ac_status=$?
61943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61944 (exit $ac_status); }; } &&
61945 { ac_try='test -s conftest.$ac_objext'
61946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61947 (eval $ac_try) 2>&5
61948 ac_status=$?
61949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61950 (exit $ac_status); }; }; then
61951 ac_header_compiler=yes
61952 else
61953 echo "$as_me: failed program was:" >&5
61954 sed 's/^/| /' conftest.$ac_ext >&5
61956 ac_header_compiler=no
61958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61959 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
61960 echo "${ECHO_T}$ac_header_compiler" >&6
61962 # Is the header present?
61963 echo "$as_me:$LINENO: checking iconv.h presence" >&5
61964 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
61965 cat >conftest.$ac_ext <<_ACEOF
61966 /* confdefs.h. */
61967 _ACEOF
61968 cat confdefs.h >>conftest.$ac_ext
61969 cat >>conftest.$ac_ext <<_ACEOF
61970 /* end confdefs.h. */
61971 #include <iconv.h>
61972 _ACEOF
61973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
61974 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
61975 ac_status=$?
61976 grep -v '^ *+' conftest.er1 >conftest.err
61977 rm -f conftest.er1
61978 cat conftest.err >&5
61979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61980 (exit $ac_status); } >/dev/null; then
61981 if test -s conftest.err; then
61982 ac_cpp_err=$ac_c_preproc_warn_flag
61983 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
61984 else
61985 ac_cpp_err=
61987 else
61988 ac_cpp_err=yes
61990 if test -z "$ac_cpp_err"; then
61991 ac_header_preproc=yes
61992 else
61993 echo "$as_me: failed program was:" >&5
61994 sed 's/^/| /' conftest.$ac_ext >&5
61996 ac_header_preproc=no
61998 rm -f conftest.err conftest.$ac_ext
61999 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62000 echo "${ECHO_T}$ac_header_preproc" >&6
62002 # So? What about this header?
62003 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
62004 yes:no: )
62005 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
62006 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
62007 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
62008 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
62009 ac_header_preproc=yes
62011 no:yes:* )
62012 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
62013 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
62014 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
62015 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
62016 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
62017 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
62018 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
62019 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
62020 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
62021 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
62022 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
62023 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
62025 cat <<\_ASBOX
62026 ## ----------------------------------------- ##
62027 ## Report this to the package-unused lists. ##
62028 ## ----------------------------------------- ##
62029 _ASBOX
62031 sed "s/^/$as_me: WARNING: /" >&2
62033 esac
62034 echo "$as_me:$LINENO: checking for iconv.h" >&5
62035 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
62036 if test "${ac_cv_header_iconv_h+set}" = set; then
62037 echo $ECHO_N "(cached) $ECHO_C" >&6
62038 else
62039 ac_cv_header_iconv_h=$ac_header_preproc
62041 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
62042 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
62045 if test $ac_cv_header_iconv_h = yes; then
62046 ac_has_iconv_h=yes
62047 else
62048 ac_has_iconv_h=no
62052 if test "${ac_cv_header_langinfo_h+set}" = set; then
62053 echo "$as_me:$LINENO: checking for langinfo.h" >&5
62054 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
62055 if test "${ac_cv_header_langinfo_h+set}" = set; then
62056 echo $ECHO_N "(cached) $ECHO_C" >&6
62058 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
62059 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
62060 else
62061 # Is the header compilable?
62062 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
62063 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
62064 cat >conftest.$ac_ext <<_ACEOF
62065 /* confdefs.h. */
62066 _ACEOF
62067 cat confdefs.h >>conftest.$ac_ext
62068 cat >>conftest.$ac_ext <<_ACEOF
62069 /* end confdefs.h. */
62070 $ac_includes_default
62071 #include <langinfo.h>
62072 _ACEOF
62073 rm -f conftest.$ac_objext
62074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62075 (eval $ac_compile) 2>conftest.er1
62076 ac_status=$?
62077 grep -v '^ *+' conftest.er1 >conftest.err
62078 rm -f conftest.er1
62079 cat conftest.err >&5
62080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62081 (exit $ac_status); } &&
62082 { ac_try='test -z "$ac_c_werror_flag"
62083 || test ! -s conftest.err'
62084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62085 (eval $ac_try) 2>&5
62086 ac_status=$?
62087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62088 (exit $ac_status); }; } &&
62089 { ac_try='test -s conftest.$ac_objext'
62090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62091 (eval $ac_try) 2>&5
62092 ac_status=$?
62093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62094 (exit $ac_status); }; }; then
62095 ac_header_compiler=yes
62096 else
62097 echo "$as_me: failed program was:" >&5
62098 sed 's/^/| /' conftest.$ac_ext >&5
62100 ac_header_compiler=no
62102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62103 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62104 echo "${ECHO_T}$ac_header_compiler" >&6
62106 # Is the header present?
62107 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
62108 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
62109 cat >conftest.$ac_ext <<_ACEOF
62110 /* confdefs.h. */
62111 _ACEOF
62112 cat confdefs.h >>conftest.$ac_ext
62113 cat >>conftest.$ac_ext <<_ACEOF
62114 /* end confdefs.h. */
62115 #include <langinfo.h>
62116 _ACEOF
62117 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
62118 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
62119 ac_status=$?
62120 grep -v '^ *+' conftest.er1 >conftest.err
62121 rm -f conftest.er1
62122 cat conftest.err >&5
62123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62124 (exit $ac_status); } >/dev/null; then
62125 if test -s conftest.err; then
62126 ac_cpp_err=$ac_c_preproc_warn_flag
62127 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
62128 else
62129 ac_cpp_err=
62131 else
62132 ac_cpp_err=yes
62134 if test -z "$ac_cpp_err"; then
62135 ac_header_preproc=yes
62136 else
62137 echo "$as_me: failed program was:" >&5
62138 sed 's/^/| /' conftest.$ac_ext >&5
62140 ac_header_preproc=no
62142 rm -f conftest.err conftest.$ac_ext
62143 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62144 echo "${ECHO_T}$ac_header_preproc" >&6
62146 # So? What about this header?
62147 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
62148 yes:no: )
62149 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
62150 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
62151 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
62152 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
62153 ac_header_preproc=yes
62155 no:yes:* )
62156 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
62157 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
62158 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
62159 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
62160 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
62161 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
62162 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
62163 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
62164 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
62165 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
62166 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
62167 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
62169 cat <<\_ASBOX
62170 ## ----------------------------------------- ##
62171 ## Report this to the package-unused lists. ##
62172 ## ----------------------------------------- ##
62173 _ASBOX
62175 sed "s/^/$as_me: WARNING: /" >&2
62177 esac
62178 echo "$as_me:$LINENO: checking for langinfo.h" >&5
62179 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
62180 if test "${ac_cv_header_langinfo_h+set}" = set; then
62181 echo $ECHO_N "(cached) $ECHO_C" >&6
62182 else
62183 ac_cv_header_langinfo_h=$ac_header_preproc
62185 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
62186 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
62189 if test $ac_cv_header_langinfo_h = yes; then
62190 ac_has_langinfo_h=yes
62191 else
62192 ac_has_langinfo_h=no
62197 # Check for existence of libiconv.a providing XPG2 wchar_t support.
62198 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
62199 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
62200 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
62201 echo $ECHO_N "(cached) $ECHO_C" >&6
62202 else
62203 ac_check_lib_save_LIBS=$LIBS
62204 LIBS="-liconv $LIBS"
62205 if test x$gcc_no_link = xyes; then
62206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62208 { (exit 1); exit 1; }; }
62210 cat >conftest.$ac_ext <<_ACEOF
62211 /* confdefs.h. */
62212 _ACEOF
62213 cat confdefs.h >>conftest.$ac_ext
62214 cat >>conftest.$ac_ext <<_ACEOF
62215 /* end confdefs.h. */
62217 /* Override any gcc2 internal prototype to avoid an error. */
62218 #ifdef __cplusplus
62219 extern "C"
62220 #endif
62221 /* We use char because int might match the return type of a gcc2
62222 builtin and then its argument prototype would still apply. */
62223 char iconv ();
62225 main ()
62227 iconv ();
62229 return 0;
62231 _ACEOF
62232 rm -f conftest.$ac_objext conftest$ac_exeext
62233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62234 (eval $ac_link) 2>conftest.er1
62235 ac_status=$?
62236 grep -v '^ *+' conftest.er1 >conftest.err
62237 rm -f conftest.er1
62238 cat conftest.err >&5
62239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62240 (exit $ac_status); } &&
62241 { ac_try='test -z "$ac_c_werror_flag"
62242 || test ! -s conftest.err'
62243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62244 (eval $ac_try) 2>&5
62245 ac_status=$?
62246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62247 (exit $ac_status); }; } &&
62248 { ac_try='test -s conftest$ac_exeext'
62249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62250 (eval $ac_try) 2>&5
62251 ac_status=$?
62252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62253 (exit $ac_status); }; }; then
62254 ac_cv_lib_iconv_iconv=yes
62255 else
62256 echo "$as_me: failed program was:" >&5
62257 sed 's/^/| /' conftest.$ac_ext >&5
62259 ac_cv_lib_iconv_iconv=no
62261 rm -f conftest.err conftest.$ac_objext \
62262 conftest$ac_exeext conftest.$ac_ext
62263 LIBS=$ac_check_lib_save_LIBS
62265 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
62266 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
62267 if test $ac_cv_lib_iconv_iconv = yes; then
62268 libiconv="-liconv"
62271 ac_save_LIBS="$LIBS"
62272 LIBS="$LIBS $libiconv"
62278 for ac_func in iconv_open iconv_close iconv nl_langinfo
62280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62281 echo "$as_me:$LINENO: checking for $ac_func" >&5
62282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62283 if eval "test \"\${$as_ac_var+set}\" = set"; then
62284 echo $ECHO_N "(cached) $ECHO_C" >&6
62285 else
62286 if test x$gcc_no_link = xyes; then
62287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62289 { (exit 1); exit 1; }; }
62291 cat >conftest.$ac_ext <<_ACEOF
62292 /* confdefs.h. */
62293 _ACEOF
62294 cat confdefs.h >>conftest.$ac_ext
62295 cat >>conftest.$ac_ext <<_ACEOF
62296 /* end confdefs.h. */
62297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62299 #define $ac_func innocuous_$ac_func
62301 /* System header to define __stub macros and hopefully few prototypes,
62302 which can conflict with char $ac_func (); below.
62303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62304 <limits.h> exists even on freestanding compilers. */
62306 #ifdef __STDC__
62307 # include <limits.h>
62308 #else
62309 # include <assert.h>
62310 #endif
62312 #undef $ac_func
62314 /* Override any gcc2 internal prototype to avoid an error. */
62315 #ifdef __cplusplus
62316 extern "C"
62318 #endif
62319 /* We use char because int might match the return type of a gcc2
62320 builtin and then its argument prototype would still apply. */
62321 char $ac_func ();
62322 /* The GNU C library defines this for functions which it implements
62323 to always fail with ENOSYS. Some functions are actually named
62324 something starting with __ and the normal name is an alias. */
62325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62326 choke me
62327 #else
62328 char (*f) () = $ac_func;
62329 #endif
62330 #ifdef __cplusplus
62332 #endif
62335 main ()
62337 return f != $ac_func;
62339 return 0;
62341 _ACEOF
62342 rm -f conftest.$ac_objext conftest$ac_exeext
62343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62344 (eval $ac_link) 2>conftest.er1
62345 ac_status=$?
62346 grep -v '^ *+' conftest.er1 >conftest.err
62347 rm -f conftest.er1
62348 cat conftest.err >&5
62349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62350 (exit $ac_status); } &&
62351 { ac_try='test -z "$ac_c_werror_flag"
62352 || test ! -s conftest.err'
62353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62354 (eval $ac_try) 2>&5
62355 ac_status=$?
62356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62357 (exit $ac_status); }; } &&
62358 { ac_try='test -s conftest$ac_exeext'
62359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62360 (eval $ac_try) 2>&5
62361 ac_status=$?
62362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62363 (exit $ac_status); }; }; then
62364 eval "$as_ac_var=yes"
62365 else
62366 echo "$as_me: failed program was:" >&5
62367 sed 's/^/| /' conftest.$ac_ext >&5
62369 eval "$as_ac_var=no"
62371 rm -f conftest.err conftest.$ac_objext \
62372 conftest$ac_exeext conftest.$ac_ext
62374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62376 if test `eval echo '${'$as_ac_var'}'` = yes; then
62377 cat >>confdefs.h <<_ACEOF
62378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62379 _ACEOF
62380 ac_XPG2funcs=yes
62381 else
62382 ac_XPG2funcs=no
62384 done
62387 LIBS="$ac_save_LIBS"
62389 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
62390 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
62391 if test x"$ac_has_iconv_h" = xyes &&
62392 test x"$ac_has_langinfo_h" = xyes &&
62393 test x"$ac_XPG2funcs" = xyes;
62394 then
62395 ac_XPG2_wchar_t=yes
62396 else
62397 ac_XPG2_wchar_t=no
62399 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
62400 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
62402 # At the moment, only enable wchar_t specializations if all the
62403 # above support is present.
62404 if test x"$ac_isoC99_wchar_t" = xyes &&
62405 test x"$ac_XPG2_wchar_t" = xyes;
62406 then
62407 cat >>confdefs.h <<\_ACEOF
62408 #define _GLIBCXX_USE_WCHAR_T 1
62409 _ACEOF
62411 enable_wchar_t=yes
62414 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
62415 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
62416 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
62417 echo "${ECHO_T}$enable_wchar_t" >&6
62420 *-netbsd*)
62433 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
62434 machine/endian.h machine/param.h sys/machine.h sys/types.h \
62435 fp.h locale.h float.h inttypes.h
62437 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
62438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62439 echo "$as_me:$LINENO: checking for $ac_header" >&5
62440 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62442 echo $ECHO_N "(cached) $ECHO_C" >&6
62444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62445 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62446 else
62447 # Is the header compilable?
62448 echo "$as_me:$LINENO: checking $ac_header usability" >&5
62449 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
62450 cat >conftest.$ac_ext <<_ACEOF
62451 /* confdefs.h. */
62452 _ACEOF
62453 cat confdefs.h >>conftest.$ac_ext
62454 cat >>conftest.$ac_ext <<_ACEOF
62455 /* end confdefs.h. */
62456 $ac_includes_default
62457 #include <$ac_header>
62458 _ACEOF
62459 rm -f conftest.$ac_objext
62460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62461 (eval $ac_compile) 2>conftest.er1
62462 ac_status=$?
62463 grep -v '^ *+' conftest.er1 >conftest.err
62464 rm -f conftest.er1
62465 cat conftest.err >&5
62466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62467 (exit $ac_status); } &&
62468 { ac_try='test -z "$ac_c_werror_flag"
62469 || test ! -s conftest.err'
62470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62471 (eval $ac_try) 2>&5
62472 ac_status=$?
62473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62474 (exit $ac_status); }; } &&
62475 { ac_try='test -s conftest.$ac_objext'
62476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62477 (eval $ac_try) 2>&5
62478 ac_status=$?
62479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62480 (exit $ac_status); }; }; then
62481 ac_header_compiler=yes
62482 else
62483 echo "$as_me: failed program was:" >&5
62484 sed 's/^/| /' conftest.$ac_ext >&5
62486 ac_header_compiler=no
62488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62489 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62490 echo "${ECHO_T}$ac_header_compiler" >&6
62492 # Is the header present?
62493 echo "$as_me:$LINENO: checking $ac_header presence" >&5
62494 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
62495 cat >conftest.$ac_ext <<_ACEOF
62496 /* confdefs.h. */
62497 _ACEOF
62498 cat confdefs.h >>conftest.$ac_ext
62499 cat >>conftest.$ac_ext <<_ACEOF
62500 /* end confdefs.h. */
62501 #include <$ac_header>
62502 _ACEOF
62503 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
62504 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
62505 ac_status=$?
62506 grep -v '^ *+' conftest.er1 >conftest.err
62507 rm -f conftest.er1
62508 cat conftest.err >&5
62509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62510 (exit $ac_status); } >/dev/null; then
62511 if test -s conftest.err; then
62512 ac_cpp_err=$ac_c_preproc_warn_flag
62513 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
62514 else
62515 ac_cpp_err=
62517 else
62518 ac_cpp_err=yes
62520 if test -z "$ac_cpp_err"; then
62521 ac_header_preproc=yes
62522 else
62523 echo "$as_me: failed program was:" >&5
62524 sed 's/^/| /' conftest.$ac_ext >&5
62526 ac_header_preproc=no
62528 rm -f conftest.err conftest.$ac_ext
62529 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62530 echo "${ECHO_T}$ac_header_preproc" >&6
62532 # So? What about this header?
62533 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
62534 yes:no: )
62535 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
62536 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
62537 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
62538 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
62539 ac_header_preproc=yes
62541 no:yes:* )
62542 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
62543 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
62544 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
62545 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
62546 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
62547 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
62548 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
62549 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
62550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
62551 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
62552 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
62553 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
62555 cat <<\_ASBOX
62556 ## ----------------------------------------- ##
62557 ## Report this to the package-unused lists. ##
62558 ## ----------------------------------------- ##
62559 _ASBOX
62561 sed "s/^/$as_me: WARNING: /" >&2
62563 esac
62564 echo "$as_me:$LINENO: checking for $ac_header" >&5
62565 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62566 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62567 echo $ECHO_N "(cached) $ECHO_C" >&6
62568 else
62569 eval "$as_ac_Header=\$ac_header_preproc"
62571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62572 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62575 if test `eval echo '${'$as_ac_Header'}'` = yes; then
62576 cat >>confdefs.h <<_ACEOF
62577 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
62578 _ACEOF
62582 done
62584 SECTION_FLAGS='-ffunction-sections -fdata-sections'
62587 # If we're not using GNU ld, then there's no point in even trying these
62588 # tests. Check for that first. We should have already tested for gld
62589 # by now (in libtool), but require it now just to be safe...
62590 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
62591 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
62595 # The name set by libtool depends on the version of libtool. Shame on us
62596 # for depending on an impl detail, but c'est la vie. Older versions used
62597 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
62598 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
62599 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
62600 # set (hence we're using an older libtool), then set it.
62601 if test x${with_gnu_ld+set} != xset; then
62602 if test x${ac_cv_prog_gnu_ld+set} != xset; then
62603 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
62604 with_gnu_ld=no
62605 else
62606 with_gnu_ld=$ac_cv_prog_gnu_ld
62610 # Start by getting the version number. I think the libtool test already
62611 # does some of this, but throws away the result.
62613 ldver=`$LD --version 2>/dev/null | head -1 | \
62614 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
62616 glibcxx_gnu_ld_version=`echo $ldver | \
62617 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
62619 # Set --gc-sections.
62620 if test "$with_gnu_ld" = "notbroken"; then
62621 # GNU ld it is! Joy and bunny rabbits!
62623 # All these tests are for C++; save the language and the compiler flags.
62624 # Need to do this so that g++ won't try to link in libstdc++
62625 ac_test_CFLAGS="${CFLAGS+set}"
62626 ac_save_CFLAGS="$CFLAGS"
62627 CFLAGS='-x c++ -Wl,--gc-sections'
62629 # Check for -Wl,--gc-sections
62630 # XXX This test is broken at the moment, as symbols required for linking
62631 # are now in libsupc++ (not built yet). In addition, this test has
62632 # cored on solaris in the past. In addition, --gc-sections doesn't
62633 # really work at the moment (keeps on discarding used sections, first
62634 # .eh_frame and now some of the glibc sections for iconv).
62635 # Bzzzzt. Thanks for playing, maybe next time.
62636 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
62637 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
62638 if test "$cross_compiling" = yes; then
62639 ac_sectionLDflags=yes
62640 else
62641 cat >conftest.$ac_ext <<_ACEOF
62642 /* confdefs.h. */
62643 _ACEOF
62644 cat confdefs.h >>conftest.$ac_ext
62645 cat >>conftest.$ac_ext <<_ACEOF
62646 /* end confdefs.h. */
62648 int main(void)
62650 try { throw 1; }
62651 catch (...) { };
62652 return 0;
62655 _ACEOF
62656 rm -f conftest$ac_exeext
62657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62658 (eval $ac_link) 2>&5
62659 ac_status=$?
62660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62661 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
62662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62663 (eval $ac_try) 2>&5
62664 ac_status=$?
62665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62666 (exit $ac_status); }; }; then
62667 ac_sectionLDflags=yes
62668 else
62669 echo "$as_me: program exited with status $ac_status" >&5
62670 echo "$as_me: failed program was:" >&5
62671 sed 's/^/| /' conftest.$ac_ext >&5
62673 ( exit $ac_status )
62674 ac_sectionLDflags=no
62676 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
62678 if test "$ac_test_CFLAGS" = set; then
62679 CFLAGS="$ac_save_CFLAGS"
62680 else
62681 # this is the suspicious part
62682 CFLAGS=''
62684 if test "$ac_sectionLDflags" = "yes"; then
62685 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
62687 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
62688 echo "${ECHO_T}$ac_sectionLDflags" >&6
62691 # Set linker optimization flags.
62692 if test x"$with_gnu_ld" = x"yes"; then
62693 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
62701 echo "$as_me:$LINENO: checking for main in -lm" >&5
62702 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
62703 if test "${ac_cv_lib_m_main+set}" = set; then
62704 echo $ECHO_N "(cached) $ECHO_C" >&6
62705 else
62706 ac_check_lib_save_LIBS=$LIBS
62707 LIBS="-lm $LIBS"
62708 if test x$gcc_no_link = xyes; then
62709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62711 { (exit 1); exit 1; }; }
62713 cat >conftest.$ac_ext <<_ACEOF
62714 /* confdefs.h. */
62715 _ACEOF
62716 cat confdefs.h >>conftest.$ac_ext
62717 cat >>conftest.$ac_ext <<_ACEOF
62718 /* end confdefs.h. */
62722 main ()
62724 main ();
62726 return 0;
62728 _ACEOF
62729 rm -f conftest.$ac_objext conftest$ac_exeext
62730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62731 (eval $ac_link) 2>conftest.er1
62732 ac_status=$?
62733 grep -v '^ *+' conftest.er1 >conftest.err
62734 rm -f conftest.er1
62735 cat conftest.err >&5
62736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62737 (exit $ac_status); } &&
62738 { ac_try='test -z "$ac_c_werror_flag"
62739 || test ! -s conftest.err'
62740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62741 (eval $ac_try) 2>&5
62742 ac_status=$?
62743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62744 (exit $ac_status); }; } &&
62745 { ac_try='test -s conftest$ac_exeext'
62746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62747 (eval $ac_try) 2>&5
62748 ac_status=$?
62749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62750 (exit $ac_status); }; }; then
62751 ac_cv_lib_m_main=yes
62752 else
62753 echo "$as_me: failed program was:" >&5
62754 sed 's/^/| /' conftest.$ac_ext >&5
62756 ac_cv_lib_m_main=no
62758 rm -f conftest.err conftest.$ac_objext \
62759 conftest$ac_exeext conftest.$ac_ext
62760 LIBS=$ac_check_lib_save_LIBS
62762 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
62763 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
62764 if test $ac_cv_lib_m_main = yes; then
62765 cat >>confdefs.h <<_ACEOF
62766 #define HAVE_LIBM 1
62767 _ACEOF
62769 LIBS="-lm $LIBS"
62775 for ac_func in nan copysignf
62777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62778 echo "$as_me:$LINENO: checking for $ac_func" >&5
62779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62780 if eval "test \"\${$as_ac_var+set}\" = set"; then
62781 echo $ECHO_N "(cached) $ECHO_C" >&6
62782 else
62783 if test x$gcc_no_link = xyes; then
62784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62786 { (exit 1); exit 1; }; }
62788 cat >conftest.$ac_ext <<_ACEOF
62789 /* confdefs.h. */
62790 _ACEOF
62791 cat confdefs.h >>conftest.$ac_ext
62792 cat >>conftest.$ac_ext <<_ACEOF
62793 /* end confdefs.h. */
62794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62796 #define $ac_func innocuous_$ac_func
62798 /* System header to define __stub macros and hopefully few prototypes,
62799 which can conflict with char $ac_func (); below.
62800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62801 <limits.h> exists even on freestanding compilers. */
62803 #ifdef __STDC__
62804 # include <limits.h>
62805 #else
62806 # include <assert.h>
62807 #endif
62809 #undef $ac_func
62811 /* Override any gcc2 internal prototype to avoid an error. */
62812 #ifdef __cplusplus
62813 extern "C"
62815 #endif
62816 /* We use char because int might match the return type of a gcc2
62817 builtin and then its argument prototype would still apply. */
62818 char $ac_func ();
62819 /* The GNU C library defines this for functions which it implements
62820 to always fail with ENOSYS. Some functions are actually named
62821 something starting with __ and the normal name is an alias. */
62822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62823 choke me
62824 #else
62825 char (*f) () = $ac_func;
62826 #endif
62827 #ifdef __cplusplus
62829 #endif
62832 main ()
62834 return f != $ac_func;
62836 return 0;
62838 _ACEOF
62839 rm -f conftest.$ac_objext conftest$ac_exeext
62840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62841 (eval $ac_link) 2>conftest.er1
62842 ac_status=$?
62843 grep -v '^ *+' conftest.er1 >conftest.err
62844 rm -f conftest.er1
62845 cat conftest.err >&5
62846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62847 (exit $ac_status); } &&
62848 { ac_try='test -z "$ac_c_werror_flag"
62849 || test ! -s conftest.err'
62850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62851 (eval $ac_try) 2>&5
62852 ac_status=$?
62853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62854 (exit $ac_status); }; } &&
62855 { ac_try='test -s conftest$ac_exeext'
62856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62857 (eval $ac_try) 2>&5
62858 ac_status=$?
62859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62860 (exit $ac_status); }; }; then
62861 eval "$as_ac_var=yes"
62862 else
62863 echo "$as_me: failed program was:" >&5
62864 sed 's/^/| /' conftest.$ac_ext >&5
62866 eval "$as_ac_var=no"
62868 rm -f conftest.err conftest.$ac_objext \
62869 conftest$ac_exeext conftest.$ac_ext
62871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62873 if test `eval echo '${'$as_ac_var'}'` = yes; then
62874 cat >>confdefs.h <<_ACEOF
62875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62876 _ACEOF
62878 else
62879 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
62881 done
62885 for ac_func in __signbit
62887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62888 echo "$as_me:$LINENO: checking for $ac_func" >&5
62889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62890 if eval "test \"\${$as_ac_var+set}\" = set"; then
62891 echo $ECHO_N "(cached) $ECHO_C" >&6
62892 else
62893 if test x$gcc_no_link = xyes; then
62894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62896 { (exit 1); exit 1; }; }
62898 cat >conftest.$ac_ext <<_ACEOF
62899 /* confdefs.h. */
62900 _ACEOF
62901 cat confdefs.h >>conftest.$ac_ext
62902 cat >>conftest.$ac_ext <<_ACEOF
62903 /* end confdefs.h. */
62904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62906 #define $ac_func innocuous_$ac_func
62908 /* System header to define __stub macros and hopefully few prototypes,
62909 which can conflict with char $ac_func (); below.
62910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62911 <limits.h> exists even on freestanding compilers. */
62913 #ifdef __STDC__
62914 # include <limits.h>
62915 #else
62916 # include <assert.h>
62917 #endif
62919 #undef $ac_func
62921 /* Override any gcc2 internal prototype to avoid an error. */
62922 #ifdef __cplusplus
62923 extern "C"
62925 #endif
62926 /* We use char because int might match the return type of a gcc2
62927 builtin and then its argument prototype would still apply. */
62928 char $ac_func ();
62929 /* The GNU C library defines this for functions which it implements
62930 to always fail with ENOSYS. Some functions are actually named
62931 something starting with __ and the normal name is an alias. */
62932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62933 choke me
62934 #else
62935 char (*f) () = $ac_func;
62936 #endif
62937 #ifdef __cplusplus
62939 #endif
62942 main ()
62944 return f != $ac_func;
62946 return 0;
62948 _ACEOF
62949 rm -f conftest.$ac_objext conftest$ac_exeext
62950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62951 (eval $ac_link) 2>conftest.er1
62952 ac_status=$?
62953 grep -v '^ *+' conftest.er1 >conftest.err
62954 rm -f conftest.er1
62955 cat conftest.err >&5
62956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62957 (exit $ac_status); } &&
62958 { ac_try='test -z "$ac_c_werror_flag"
62959 || test ! -s conftest.err'
62960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62961 (eval $ac_try) 2>&5
62962 ac_status=$?
62963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62964 (exit $ac_status); }; } &&
62965 { ac_try='test -s conftest$ac_exeext'
62966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62967 (eval $ac_try) 2>&5
62968 ac_status=$?
62969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62970 (exit $ac_status); }; }; then
62971 eval "$as_ac_var=yes"
62972 else
62973 echo "$as_me: failed program was:" >&5
62974 sed 's/^/| /' conftest.$ac_ext >&5
62976 eval "$as_ac_var=no"
62978 rm -f conftest.err conftest.$ac_objext \
62979 conftest$ac_exeext conftest.$ac_ext
62981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62983 if test `eval echo '${'$as_ac_var'}'` = yes; then
62984 cat >>confdefs.h <<_ACEOF
62985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62986 _ACEOF
62988 else
62989 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
62991 done
62994 for ac_func in __signbitf
62996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62997 echo "$as_me:$LINENO: checking for $ac_func" >&5
62998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62999 if eval "test \"\${$as_ac_var+set}\" = set"; then
63000 echo $ECHO_N "(cached) $ECHO_C" >&6
63001 else
63002 if test x$gcc_no_link = xyes; then
63003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63005 { (exit 1); exit 1; }; }
63007 cat >conftest.$ac_ext <<_ACEOF
63008 /* confdefs.h. */
63009 _ACEOF
63010 cat confdefs.h >>conftest.$ac_ext
63011 cat >>conftest.$ac_ext <<_ACEOF
63012 /* end confdefs.h. */
63013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63015 #define $ac_func innocuous_$ac_func
63017 /* System header to define __stub macros and hopefully few prototypes,
63018 which can conflict with char $ac_func (); below.
63019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63020 <limits.h> exists even on freestanding compilers. */
63022 #ifdef __STDC__
63023 # include <limits.h>
63024 #else
63025 # include <assert.h>
63026 #endif
63028 #undef $ac_func
63030 /* Override any gcc2 internal prototype to avoid an error. */
63031 #ifdef __cplusplus
63032 extern "C"
63034 #endif
63035 /* We use char because int might match the return type of a gcc2
63036 builtin and then its argument prototype would still apply. */
63037 char $ac_func ();
63038 /* The GNU C library defines this for functions which it implements
63039 to always fail with ENOSYS. Some functions are actually named
63040 something starting with __ and the normal name is an alias. */
63041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63042 choke me
63043 #else
63044 char (*f) () = $ac_func;
63045 #endif
63046 #ifdef __cplusplus
63048 #endif
63051 main ()
63053 return f != $ac_func;
63055 return 0;
63057 _ACEOF
63058 rm -f conftest.$ac_objext conftest$ac_exeext
63059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63060 (eval $ac_link) 2>conftest.er1
63061 ac_status=$?
63062 grep -v '^ *+' conftest.er1 >conftest.err
63063 rm -f conftest.er1
63064 cat conftest.err >&5
63065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63066 (exit $ac_status); } &&
63067 { ac_try='test -z "$ac_c_werror_flag"
63068 || test ! -s conftest.err'
63069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63070 (eval $ac_try) 2>&5
63071 ac_status=$?
63072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63073 (exit $ac_status); }; } &&
63074 { ac_try='test -s conftest$ac_exeext'
63075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63076 (eval $ac_try) 2>&5
63077 ac_status=$?
63078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63079 (exit $ac_status); }; }; then
63080 eval "$as_ac_var=yes"
63081 else
63082 echo "$as_me: failed program was:" >&5
63083 sed 's/^/| /' conftest.$ac_ext >&5
63085 eval "$as_ac_var=no"
63087 rm -f conftest.err conftest.$ac_objext \
63088 conftest$ac_exeext conftest.$ac_ext
63090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63092 if test `eval echo '${'$as_ac_var'}'` = yes; then
63093 cat >>confdefs.h <<_ACEOF
63094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63095 _ACEOF
63097 else
63098 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
63100 done
63103 if test x$ac_cv_func_copysignl = x"yes"; then
63105 for ac_func in __signbitl
63107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63108 echo "$as_me:$LINENO: checking for $ac_func" >&5
63109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63110 if eval "test \"\${$as_ac_var+set}\" = set"; then
63111 echo $ECHO_N "(cached) $ECHO_C" >&6
63112 else
63113 if test x$gcc_no_link = xyes; then
63114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63116 { (exit 1); exit 1; }; }
63118 cat >conftest.$ac_ext <<_ACEOF
63119 /* confdefs.h. */
63120 _ACEOF
63121 cat confdefs.h >>conftest.$ac_ext
63122 cat >>conftest.$ac_ext <<_ACEOF
63123 /* end confdefs.h. */
63124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63126 #define $ac_func innocuous_$ac_func
63128 /* System header to define __stub macros and hopefully few prototypes,
63129 which can conflict with char $ac_func (); below.
63130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63131 <limits.h> exists even on freestanding compilers. */
63133 #ifdef __STDC__
63134 # include <limits.h>
63135 #else
63136 # include <assert.h>
63137 #endif
63139 #undef $ac_func
63141 /* Override any gcc2 internal prototype to avoid an error. */
63142 #ifdef __cplusplus
63143 extern "C"
63145 #endif
63146 /* We use char because int might match the return type of a gcc2
63147 builtin and then its argument prototype would still apply. */
63148 char $ac_func ();
63149 /* The GNU C library defines this for functions which it implements
63150 to always fail with ENOSYS. Some functions are actually named
63151 something starting with __ and the normal name is an alias. */
63152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63153 choke me
63154 #else
63155 char (*f) () = $ac_func;
63156 #endif
63157 #ifdef __cplusplus
63159 #endif
63162 main ()
63164 return f != $ac_func;
63166 return 0;
63168 _ACEOF
63169 rm -f conftest.$ac_objext conftest$ac_exeext
63170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63171 (eval $ac_link) 2>conftest.er1
63172 ac_status=$?
63173 grep -v '^ *+' conftest.er1 >conftest.err
63174 rm -f conftest.er1
63175 cat conftest.err >&5
63176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63177 (exit $ac_status); } &&
63178 { ac_try='test -z "$ac_c_werror_flag"
63179 || test ! -s conftest.err'
63180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63181 (eval $ac_try) 2>&5
63182 ac_status=$?
63183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63184 (exit $ac_status); }; } &&
63185 { ac_try='test -s conftest$ac_exeext'
63186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63187 (eval $ac_try) 2>&5
63188 ac_status=$?
63189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63190 (exit $ac_status); }; }; then
63191 eval "$as_ac_var=yes"
63192 else
63193 echo "$as_me: failed program was:" >&5
63194 sed 's/^/| /' conftest.$ac_ext >&5
63196 eval "$as_ac_var=no"
63198 rm -f conftest.err conftest.$ac_objext \
63199 conftest$ac_exeext conftest.$ac_ext
63201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63203 if test `eval echo '${'$as_ac_var'}'` = yes; then
63204 cat >>confdefs.h <<_ACEOF
63205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63206 _ACEOF
63208 else
63209 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
63211 done
63215 # XXX Review this. Nothing uses it.
63216 if test -n "$LIBMATHOBJS"; then
63217 need_libmath=yes
63222 # Test wchar.h for mbstate_t, which is needed for char_traits and
63223 # others even if wchar_t support is not on.
63224 echo "$as_me:$LINENO: checking for mbstate_t" >&5
63225 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
63226 cat >conftest.$ac_ext <<_ACEOF
63227 /* confdefs.h. */
63228 _ACEOF
63229 cat confdefs.h >>conftest.$ac_ext
63230 cat >>conftest.$ac_ext <<_ACEOF
63231 /* end confdefs.h. */
63232 #include <wchar.h>
63234 main ()
63236 mbstate_t teststate;
63238 return 0;
63240 _ACEOF
63241 rm -f conftest.$ac_objext
63242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63243 (eval $ac_compile) 2>conftest.er1
63244 ac_status=$?
63245 grep -v '^ *+' conftest.er1 >conftest.err
63246 rm -f conftest.er1
63247 cat conftest.err >&5
63248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63249 (exit $ac_status); } &&
63250 { ac_try='test -z "$ac_c_werror_flag"
63251 || test ! -s conftest.err'
63252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63253 (eval $ac_try) 2>&5
63254 ac_status=$?
63255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63256 (exit $ac_status); }; } &&
63257 { ac_try='test -s conftest.$ac_objext'
63258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63259 (eval $ac_try) 2>&5
63260 ac_status=$?
63261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63262 (exit $ac_status); }; }; then
63263 have_mbstate_t=yes
63264 else
63265 echo "$as_me: failed program was:" >&5
63266 sed 's/^/| /' conftest.$ac_ext >&5
63268 have_mbstate_t=no
63270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63271 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
63272 echo "${ECHO_T}$have_mbstate_t" >&6
63273 if test x"$have_mbstate_t" = xyes; then
63274 cat >>confdefs.h <<\_ACEOF
63275 #define HAVE_MBSTATE_T 1
63276 _ACEOF
63280 # Sanity check for existence of ISO C99 headers for extended encoding.
63282 for ac_header in wchar.h
63284 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
63285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63286 echo "$as_me:$LINENO: checking for $ac_header" >&5
63287 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63288 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63289 echo $ECHO_N "(cached) $ECHO_C" >&6
63291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63292 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63293 else
63294 # Is the header compilable?
63295 echo "$as_me:$LINENO: checking $ac_header usability" >&5
63296 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
63297 cat >conftest.$ac_ext <<_ACEOF
63298 /* confdefs.h. */
63299 _ACEOF
63300 cat confdefs.h >>conftest.$ac_ext
63301 cat >>conftest.$ac_ext <<_ACEOF
63302 /* end confdefs.h. */
63303 $ac_includes_default
63304 #include <$ac_header>
63305 _ACEOF
63306 rm -f conftest.$ac_objext
63307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63308 (eval $ac_compile) 2>conftest.er1
63309 ac_status=$?
63310 grep -v '^ *+' conftest.er1 >conftest.err
63311 rm -f conftest.er1
63312 cat conftest.err >&5
63313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63314 (exit $ac_status); } &&
63315 { ac_try='test -z "$ac_c_werror_flag"
63316 || test ! -s conftest.err'
63317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63318 (eval $ac_try) 2>&5
63319 ac_status=$?
63320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63321 (exit $ac_status); }; } &&
63322 { ac_try='test -s conftest.$ac_objext'
63323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63324 (eval $ac_try) 2>&5
63325 ac_status=$?
63326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63327 (exit $ac_status); }; }; then
63328 ac_header_compiler=yes
63329 else
63330 echo "$as_me: failed program was:" >&5
63331 sed 's/^/| /' conftest.$ac_ext >&5
63333 ac_header_compiler=no
63335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63336 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
63337 echo "${ECHO_T}$ac_header_compiler" >&6
63339 # Is the header present?
63340 echo "$as_me:$LINENO: checking $ac_header presence" >&5
63341 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
63342 cat >conftest.$ac_ext <<_ACEOF
63343 /* confdefs.h. */
63344 _ACEOF
63345 cat confdefs.h >>conftest.$ac_ext
63346 cat >>conftest.$ac_ext <<_ACEOF
63347 /* end confdefs.h. */
63348 #include <$ac_header>
63349 _ACEOF
63350 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
63351 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
63352 ac_status=$?
63353 grep -v '^ *+' conftest.er1 >conftest.err
63354 rm -f conftest.er1
63355 cat conftest.err >&5
63356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63357 (exit $ac_status); } >/dev/null; then
63358 if test -s conftest.err; then
63359 ac_cpp_err=$ac_c_preproc_warn_flag
63360 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
63361 else
63362 ac_cpp_err=
63364 else
63365 ac_cpp_err=yes
63367 if test -z "$ac_cpp_err"; then
63368 ac_header_preproc=yes
63369 else
63370 echo "$as_me: failed program was:" >&5
63371 sed 's/^/| /' conftest.$ac_ext >&5
63373 ac_header_preproc=no
63375 rm -f conftest.err conftest.$ac_ext
63376 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63377 echo "${ECHO_T}$ac_header_preproc" >&6
63379 # So? What about this header?
63380 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
63381 yes:no: )
63382 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
63383 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
63384 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
63385 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
63386 ac_header_preproc=yes
63388 no:yes:* )
63389 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
63390 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
63391 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
63392 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
63393 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
63394 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
63395 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
63396 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
63397 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
63398 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
63399 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
63400 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
63402 cat <<\_ASBOX
63403 ## ----------------------------------------- ##
63404 ## Report this to the package-unused lists. ##
63405 ## ----------------------------------------- ##
63406 _ASBOX
63408 sed "s/^/$as_me: WARNING: /" >&2
63410 esac
63411 echo "$as_me:$LINENO: checking for $ac_header" >&5
63412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63413 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63414 echo $ECHO_N "(cached) $ECHO_C" >&6
63415 else
63416 eval "$as_ac_Header=\$ac_header_preproc"
63418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63419 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63422 if test `eval echo '${'$as_ac_Header'}'` = yes; then
63423 cat >>confdefs.h <<_ACEOF
63424 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
63425 _ACEOF
63426 ac_has_wchar_h=yes
63427 else
63428 ac_has_wchar_h=no
63431 done
63434 for ac_header in wctype.h
63436 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
63437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63438 echo "$as_me:$LINENO: checking for $ac_header" >&5
63439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63441 echo $ECHO_N "(cached) $ECHO_C" >&6
63443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63444 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63445 else
63446 # Is the header compilable?
63447 echo "$as_me:$LINENO: checking $ac_header usability" >&5
63448 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
63449 cat >conftest.$ac_ext <<_ACEOF
63450 /* confdefs.h. */
63451 _ACEOF
63452 cat confdefs.h >>conftest.$ac_ext
63453 cat >>conftest.$ac_ext <<_ACEOF
63454 /* end confdefs.h. */
63455 $ac_includes_default
63456 #include <$ac_header>
63457 _ACEOF
63458 rm -f conftest.$ac_objext
63459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63460 (eval $ac_compile) 2>conftest.er1
63461 ac_status=$?
63462 grep -v '^ *+' conftest.er1 >conftest.err
63463 rm -f conftest.er1
63464 cat conftest.err >&5
63465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63466 (exit $ac_status); } &&
63467 { ac_try='test -z "$ac_c_werror_flag"
63468 || test ! -s conftest.err'
63469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63470 (eval $ac_try) 2>&5
63471 ac_status=$?
63472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63473 (exit $ac_status); }; } &&
63474 { ac_try='test -s conftest.$ac_objext'
63475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63476 (eval $ac_try) 2>&5
63477 ac_status=$?
63478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63479 (exit $ac_status); }; }; then
63480 ac_header_compiler=yes
63481 else
63482 echo "$as_me: failed program was:" >&5
63483 sed 's/^/| /' conftest.$ac_ext >&5
63485 ac_header_compiler=no
63487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63488 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
63489 echo "${ECHO_T}$ac_header_compiler" >&6
63491 # Is the header present?
63492 echo "$as_me:$LINENO: checking $ac_header presence" >&5
63493 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
63494 cat >conftest.$ac_ext <<_ACEOF
63495 /* confdefs.h. */
63496 _ACEOF
63497 cat confdefs.h >>conftest.$ac_ext
63498 cat >>conftest.$ac_ext <<_ACEOF
63499 /* end confdefs.h. */
63500 #include <$ac_header>
63501 _ACEOF
63502 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
63503 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
63504 ac_status=$?
63505 grep -v '^ *+' conftest.er1 >conftest.err
63506 rm -f conftest.er1
63507 cat conftest.err >&5
63508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63509 (exit $ac_status); } >/dev/null; then
63510 if test -s conftest.err; then
63511 ac_cpp_err=$ac_c_preproc_warn_flag
63512 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
63513 else
63514 ac_cpp_err=
63516 else
63517 ac_cpp_err=yes
63519 if test -z "$ac_cpp_err"; then
63520 ac_header_preproc=yes
63521 else
63522 echo "$as_me: failed program was:" >&5
63523 sed 's/^/| /' conftest.$ac_ext >&5
63525 ac_header_preproc=no
63527 rm -f conftest.err conftest.$ac_ext
63528 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63529 echo "${ECHO_T}$ac_header_preproc" >&6
63531 # So? What about this header?
63532 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
63533 yes:no: )
63534 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
63535 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
63536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
63537 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
63538 ac_header_preproc=yes
63540 no:yes:* )
63541 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
63542 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
63543 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
63544 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
63545 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
63546 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
63547 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
63548 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
63549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
63550 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
63551 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
63552 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
63554 cat <<\_ASBOX
63555 ## ----------------------------------------- ##
63556 ## Report this to the package-unused lists. ##
63557 ## ----------------------------------------- ##
63558 _ASBOX
63560 sed "s/^/$as_me: WARNING: /" >&2
63562 esac
63563 echo "$as_me:$LINENO: checking for $ac_header" >&5
63564 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63565 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63566 echo $ECHO_N "(cached) $ECHO_C" >&6
63567 else
63568 eval "$as_ac_Header=\$ac_header_preproc"
63570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63571 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63574 if test `eval echo '${'$as_ac_Header'}'` = yes; then
63575 cat >>confdefs.h <<_ACEOF
63576 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
63577 _ACEOF
63578 ac_has_wctype_h=yes
63579 else
63580 ac_has_wctype_h=no
63583 done
63586 # Only continue checking if the ISO C99 headers exist and support is on.
63587 if test x"$ac_has_wchar_h" = xyes &&
63588 test x"$ac_has_wctype_h" = xyes &&
63589 test x"$enable_c_mbchar" != xno; then
63591 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
63592 # numeric_limits can instantiate type_traits<wchar_t>
63593 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
63594 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
63595 cat >conftest.$ac_ext <<_ACEOF
63596 /* confdefs.h. */
63597 _ACEOF
63598 cat confdefs.h >>conftest.$ac_ext
63599 cat >>conftest.$ac_ext <<_ACEOF
63600 /* end confdefs.h. */
63601 #include <wchar.h>
63603 main ()
63605 int i = WCHAR_MIN; int j = WCHAR_MAX;
63607 return 0;
63609 _ACEOF
63610 rm -f conftest.$ac_objext
63611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63612 (eval $ac_compile) 2>conftest.er1
63613 ac_status=$?
63614 grep -v '^ *+' conftest.er1 >conftest.err
63615 rm -f conftest.er1
63616 cat conftest.err >&5
63617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63618 (exit $ac_status); } &&
63619 { ac_try='test -z "$ac_c_werror_flag"
63620 || test ! -s conftest.err'
63621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63622 (eval $ac_try) 2>&5
63623 ac_status=$?
63624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63625 (exit $ac_status); }; } &&
63626 { ac_try='test -s conftest.$ac_objext'
63627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63628 (eval $ac_try) 2>&5
63629 ac_status=$?
63630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63631 (exit $ac_status); }; }; then
63632 has_wchar_minmax=yes
63633 else
63634 echo "$as_me: failed program was:" >&5
63635 sed 's/^/| /' conftest.$ac_ext >&5
63637 has_wchar_minmax=no
63639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63640 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
63641 echo "${ECHO_T}$has_wchar_minmax" >&6
63643 # Test wchar.h for WEOF, which is what we use to determine whether
63644 # to specialize for char_traits<wchar_t> or not.
63645 echo "$as_me:$LINENO: checking for WEOF" >&5
63646 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
63647 cat >conftest.$ac_ext <<_ACEOF
63648 /* confdefs.h. */
63649 _ACEOF
63650 cat confdefs.h >>conftest.$ac_ext
63651 cat >>conftest.$ac_ext <<_ACEOF
63652 /* end confdefs.h. */
63654 #include <wchar.h>
63655 #include <stddef.h>
63657 main ()
63659 wint_t i = WEOF;
63661 return 0;
63663 _ACEOF
63664 rm -f conftest.$ac_objext
63665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63666 (eval $ac_compile) 2>conftest.er1
63667 ac_status=$?
63668 grep -v '^ *+' conftest.er1 >conftest.err
63669 rm -f conftest.er1
63670 cat conftest.err >&5
63671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63672 (exit $ac_status); } &&
63673 { ac_try='test -z "$ac_c_werror_flag"
63674 || test ! -s conftest.err'
63675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63676 (eval $ac_try) 2>&5
63677 ac_status=$?
63678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63679 (exit $ac_status); }; } &&
63680 { ac_try='test -s conftest.$ac_objext'
63681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63682 (eval $ac_try) 2>&5
63683 ac_status=$?
63684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63685 (exit $ac_status); }; }; then
63686 has_weof=yes
63687 else
63688 echo "$as_me: failed program was:" >&5
63689 sed 's/^/| /' conftest.$ac_ext >&5
63691 has_weof=no
63693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63694 echo "$as_me:$LINENO: result: $has_weof" >&5
63695 echo "${ECHO_T}$has_weof" >&6
63697 # Tests for wide character functions used in char_traits<wchar_t>.
63698 ac_wfuncs=yes
63705 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
63707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63708 echo "$as_me:$LINENO: checking for $ac_func" >&5
63709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63710 if eval "test \"\${$as_ac_var+set}\" = set"; then
63711 echo $ECHO_N "(cached) $ECHO_C" >&6
63712 else
63713 if test x$gcc_no_link = xyes; then
63714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63716 { (exit 1); exit 1; }; }
63718 cat >conftest.$ac_ext <<_ACEOF
63719 /* confdefs.h. */
63720 _ACEOF
63721 cat confdefs.h >>conftest.$ac_ext
63722 cat >>conftest.$ac_ext <<_ACEOF
63723 /* end confdefs.h. */
63724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63726 #define $ac_func innocuous_$ac_func
63728 /* System header to define __stub macros and hopefully few prototypes,
63729 which can conflict with char $ac_func (); below.
63730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63731 <limits.h> exists even on freestanding compilers. */
63733 #ifdef __STDC__
63734 # include <limits.h>
63735 #else
63736 # include <assert.h>
63737 #endif
63739 #undef $ac_func
63741 /* Override any gcc2 internal prototype to avoid an error. */
63742 #ifdef __cplusplus
63743 extern "C"
63745 #endif
63746 /* We use char because int might match the return type of a gcc2
63747 builtin and then its argument prototype would still apply. */
63748 char $ac_func ();
63749 /* The GNU C library defines this for functions which it implements
63750 to always fail with ENOSYS. Some functions are actually named
63751 something starting with __ and the normal name is an alias. */
63752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63753 choke me
63754 #else
63755 char (*f) () = $ac_func;
63756 #endif
63757 #ifdef __cplusplus
63759 #endif
63762 main ()
63764 return f != $ac_func;
63766 return 0;
63768 _ACEOF
63769 rm -f conftest.$ac_objext conftest$ac_exeext
63770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63771 (eval $ac_link) 2>conftest.er1
63772 ac_status=$?
63773 grep -v '^ *+' conftest.er1 >conftest.err
63774 rm -f conftest.er1
63775 cat conftest.err >&5
63776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63777 (exit $ac_status); } &&
63778 { ac_try='test -z "$ac_c_werror_flag"
63779 || test ! -s conftest.err'
63780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63781 (eval $ac_try) 2>&5
63782 ac_status=$?
63783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63784 (exit $ac_status); }; } &&
63785 { ac_try='test -s conftest$ac_exeext'
63786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63787 (eval $ac_try) 2>&5
63788 ac_status=$?
63789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63790 (exit $ac_status); }; }; then
63791 eval "$as_ac_var=yes"
63792 else
63793 echo "$as_me: failed program was:" >&5
63794 sed 's/^/| /' conftest.$ac_ext >&5
63796 eval "$as_ac_var=no"
63798 rm -f conftest.err conftest.$ac_objext \
63799 conftest$ac_exeext conftest.$ac_ext
63801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63803 if test `eval echo '${'$as_ac_var'}'` = yes; then
63804 cat >>confdefs.h <<_ACEOF
63805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63806 _ACEOF
63808 else
63809 ac_wfuncs=no
63811 done
63814 # Checks for names injected into std:: by the c_std headers.
63861 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
63862 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
63863 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
63864 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
63865 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
63866 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
63868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63869 echo "$as_me:$LINENO: checking for $ac_func" >&5
63870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63871 if eval "test \"\${$as_ac_var+set}\" = set"; then
63872 echo $ECHO_N "(cached) $ECHO_C" >&6
63873 else
63874 if test x$gcc_no_link = xyes; then
63875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63877 { (exit 1); exit 1; }; }
63879 cat >conftest.$ac_ext <<_ACEOF
63880 /* confdefs.h. */
63881 _ACEOF
63882 cat confdefs.h >>conftest.$ac_ext
63883 cat >>conftest.$ac_ext <<_ACEOF
63884 /* end confdefs.h. */
63885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63887 #define $ac_func innocuous_$ac_func
63889 /* System header to define __stub macros and hopefully few prototypes,
63890 which can conflict with char $ac_func (); below.
63891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63892 <limits.h> exists even on freestanding compilers. */
63894 #ifdef __STDC__
63895 # include <limits.h>
63896 #else
63897 # include <assert.h>
63898 #endif
63900 #undef $ac_func
63902 /* Override any gcc2 internal prototype to avoid an error. */
63903 #ifdef __cplusplus
63904 extern "C"
63906 #endif
63907 /* We use char because int might match the return type of a gcc2
63908 builtin and then its argument prototype would still apply. */
63909 char $ac_func ();
63910 /* The GNU C library defines this for functions which it implements
63911 to always fail with ENOSYS. Some functions are actually named
63912 something starting with __ and the normal name is an alias. */
63913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63914 choke me
63915 #else
63916 char (*f) () = $ac_func;
63917 #endif
63918 #ifdef __cplusplus
63920 #endif
63923 main ()
63925 return f != $ac_func;
63927 return 0;
63929 _ACEOF
63930 rm -f conftest.$ac_objext conftest$ac_exeext
63931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63932 (eval $ac_link) 2>conftest.er1
63933 ac_status=$?
63934 grep -v '^ *+' conftest.er1 >conftest.err
63935 rm -f conftest.er1
63936 cat conftest.err >&5
63937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63938 (exit $ac_status); } &&
63939 { ac_try='test -z "$ac_c_werror_flag"
63940 || test ! -s conftest.err'
63941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63942 (eval $ac_try) 2>&5
63943 ac_status=$?
63944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63945 (exit $ac_status); }; } &&
63946 { ac_try='test -s conftest$ac_exeext'
63947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63948 (eval $ac_try) 2>&5
63949 ac_status=$?
63950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63951 (exit $ac_status); }; }; then
63952 eval "$as_ac_var=yes"
63953 else
63954 echo "$as_me: failed program was:" >&5
63955 sed 's/^/| /' conftest.$ac_ext >&5
63957 eval "$as_ac_var=no"
63959 rm -f conftest.err conftest.$ac_objext \
63960 conftest$ac_exeext conftest.$ac_ext
63962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63964 if test `eval echo '${'$as_ac_var'}'` = yes; then
63965 cat >>confdefs.h <<_ACEOF
63966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63967 _ACEOF
63969 else
63970 ac_wfuncs=no
63972 done
63975 # Checks for wide character functions that are not required
63976 # for basic wchar_t support. Don't disable support if they are missing.
63977 # Injection of these is wrapped with guard macros.
63983 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
63985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63986 echo "$as_me:$LINENO: checking for $ac_func" >&5
63987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63988 if eval "test \"\${$as_ac_var+set}\" = set"; then
63989 echo $ECHO_N "(cached) $ECHO_C" >&6
63990 else
63991 if test x$gcc_no_link = xyes; then
63992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63994 { (exit 1); exit 1; }; }
63996 cat >conftest.$ac_ext <<_ACEOF
63997 /* confdefs.h. */
63998 _ACEOF
63999 cat confdefs.h >>conftest.$ac_ext
64000 cat >>conftest.$ac_ext <<_ACEOF
64001 /* end confdefs.h. */
64002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64004 #define $ac_func innocuous_$ac_func
64006 /* System header to define __stub macros and hopefully few prototypes,
64007 which can conflict with char $ac_func (); below.
64008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64009 <limits.h> exists even on freestanding compilers. */
64011 #ifdef __STDC__
64012 # include <limits.h>
64013 #else
64014 # include <assert.h>
64015 #endif
64017 #undef $ac_func
64019 /* Override any gcc2 internal prototype to avoid an error. */
64020 #ifdef __cplusplus
64021 extern "C"
64023 #endif
64024 /* We use char because int might match the return type of a gcc2
64025 builtin and then its argument prototype would still apply. */
64026 char $ac_func ();
64027 /* The GNU C library defines this for functions which it implements
64028 to always fail with ENOSYS. Some functions are actually named
64029 something starting with __ and the normal name is an alias. */
64030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64031 choke me
64032 #else
64033 char (*f) () = $ac_func;
64034 #endif
64035 #ifdef __cplusplus
64037 #endif
64040 main ()
64042 return f != $ac_func;
64044 return 0;
64046 _ACEOF
64047 rm -f conftest.$ac_objext conftest$ac_exeext
64048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64049 (eval $ac_link) 2>conftest.er1
64050 ac_status=$?
64051 grep -v '^ *+' conftest.er1 >conftest.err
64052 rm -f conftest.er1
64053 cat conftest.err >&5
64054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64055 (exit $ac_status); } &&
64056 { ac_try='test -z "$ac_c_werror_flag"
64057 || test ! -s conftest.err'
64058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64059 (eval $ac_try) 2>&5
64060 ac_status=$?
64061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64062 (exit $ac_status); }; } &&
64063 { ac_try='test -s conftest$ac_exeext'
64064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64065 (eval $ac_try) 2>&5
64066 ac_status=$?
64067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64068 (exit $ac_status); }; }; then
64069 eval "$as_ac_var=yes"
64070 else
64071 echo "$as_me: failed program was:" >&5
64072 sed 's/^/| /' conftest.$ac_ext >&5
64074 eval "$as_ac_var=no"
64076 rm -f conftest.err conftest.$ac_objext \
64077 conftest$ac_exeext conftest.$ac_ext
64079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64081 if test `eval echo '${'$as_ac_var'}'` = yes; then
64082 cat >>confdefs.h <<_ACEOF
64083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64084 _ACEOF
64087 done
64090 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
64091 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
64092 if test x"$has_weof" = xyes &&
64093 test x"$has_wchar_minmax" = xyes &&
64094 test x"$ac_wfuncs" = xyes;
64095 then
64096 ac_isoC99_wchar_t=yes
64097 else
64098 ac_isoC99_wchar_t=no
64100 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
64101 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
64103 # Use iconv for wchar_t to char conversions. As such, check for
64104 # X/Open Portability Guide, version 2 features (XPG2).
64105 if test "${ac_cv_header_iconv_h+set}" = set; then
64106 echo "$as_me:$LINENO: checking for iconv.h" >&5
64107 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
64108 if test "${ac_cv_header_iconv_h+set}" = set; then
64109 echo $ECHO_N "(cached) $ECHO_C" >&6
64111 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
64112 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
64113 else
64114 # Is the header compilable?
64115 echo "$as_me:$LINENO: checking iconv.h usability" >&5
64116 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
64117 cat >conftest.$ac_ext <<_ACEOF
64118 /* confdefs.h. */
64119 _ACEOF
64120 cat confdefs.h >>conftest.$ac_ext
64121 cat >>conftest.$ac_ext <<_ACEOF
64122 /* end confdefs.h. */
64123 $ac_includes_default
64124 #include <iconv.h>
64125 _ACEOF
64126 rm -f conftest.$ac_objext
64127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64128 (eval $ac_compile) 2>conftest.er1
64129 ac_status=$?
64130 grep -v '^ *+' conftest.er1 >conftest.err
64131 rm -f conftest.er1
64132 cat conftest.err >&5
64133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64134 (exit $ac_status); } &&
64135 { ac_try='test -z "$ac_c_werror_flag"
64136 || test ! -s conftest.err'
64137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64138 (eval $ac_try) 2>&5
64139 ac_status=$?
64140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64141 (exit $ac_status); }; } &&
64142 { ac_try='test -s conftest.$ac_objext'
64143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64144 (eval $ac_try) 2>&5
64145 ac_status=$?
64146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64147 (exit $ac_status); }; }; then
64148 ac_header_compiler=yes
64149 else
64150 echo "$as_me: failed program was:" >&5
64151 sed 's/^/| /' conftest.$ac_ext >&5
64153 ac_header_compiler=no
64155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64156 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64157 echo "${ECHO_T}$ac_header_compiler" >&6
64159 # Is the header present?
64160 echo "$as_me:$LINENO: checking iconv.h presence" >&5
64161 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
64162 cat >conftest.$ac_ext <<_ACEOF
64163 /* confdefs.h. */
64164 _ACEOF
64165 cat confdefs.h >>conftest.$ac_ext
64166 cat >>conftest.$ac_ext <<_ACEOF
64167 /* end confdefs.h. */
64168 #include <iconv.h>
64169 _ACEOF
64170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64171 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64172 ac_status=$?
64173 grep -v '^ *+' conftest.er1 >conftest.err
64174 rm -f conftest.er1
64175 cat conftest.err >&5
64176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64177 (exit $ac_status); } >/dev/null; then
64178 if test -s conftest.err; then
64179 ac_cpp_err=$ac_c_preproc_warn_flag
64180 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64181 else
64182 ac_cpp_err=
64184 else
64185 ac_cpp_err=yes
64187 if test -z "$ac_cpp_err"; then
64188 ac_header_preproc=yes
64189 else
64190 echo "$as_me: failed program was:" >&5
64191 sed 's/^/| /' conftest.$ac_ext >&5
64193 ac_header_preproc=no
64195 rm -f conftest.err conftest.$ac_ext
64196 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64197 echo "${ECHO_T}$ac_header_preproc" >&6
64199 # So? What about this header?
64200 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64201 yes:no: )
64202 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
64203 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
64204 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
64205 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
64206 ac_header_preproc=yes
64208 no:yes:* )
64209 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
64210 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
64211 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
64212 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
64213 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
64214 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
64215 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
64216 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
64217 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
64218 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
64219 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
64220 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
64222 cat <<\_ASBOX
64223 ## ----------------------------------------- ##
64224 ## Report this to the package-unused lists. ##
64225 ## ----------------------------------------- ##
64226 _ASBOX
64228 sed "s/^/$as_me: WARNING: /" >&2
64230 esac
64231 echo "$as_me:$LINENO: checking for iconv.h" >&5
64232 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
64233 if test "${ac_cv_header_iconv_h+set}" = set; then
64234 echo $ECHO_N "(cached) $ECHO_C" >&6
64235 else
64236 ac_cv_header_iconv_h=$ac_header_preproc
64238 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
64239 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
64242 if test $ac_cv_header_iconv_h = yes; then
64243 ac_has_iconv_h=yes
64244 else
64245 ac_has_iconv_h=no
64249 if test "${ac_cv_header_langinfo_h+set}" = set; then
64250 echo "$as_me:$LINENO: checking for langinfo.h" >&5
64251 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
64252 if test "${ac_cv_header_langinfo_h+set}" = set; then
64253 echo $ECHO_N "(cached) $ECHO_C" >&6
64255 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
64256 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
64257 else
64258 # Is the header compilable?
64259 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
64260 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
64261 cat >conftest.$ac_ext <<_ACEOF
64262 /* confdefs.h. */
64263 _ACEOF
64264 cat confdefs.h >>conftest.$ac_ext
64265 cat >>conftest.$ac_ext <<_ACEOF
64266 /* end confdefs.h. */
64267 $ac_includes_default
64268 #include <langinfo.h>
64269 _ACEOF
64270 rm -f conftest.$ac_objext
64271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64272 (eval $ac_compile) 2>conftest.er1
64273 ac_status=$?
64274 grep -v '^ *+' conftest.er1 >conftest.err
64275 rm -f conftest.er1
64276 cat conftest.err >&5
64277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64278 (exit $ac_status); } &&
64279 { ac_try='test -z "$ac_c_werror_flag"
64280 || test ! -s conftest.err'
64281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64282 (eval $ac_try) 2>&5
64283 ac_status=$?
64284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64285 (exit $ac_status); }; } &&
64286 { ac_try='test -s conftest.$ac_objext'
64287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64288 (eval $ac_try) 2>&5
64289 ac_status=$?
64290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64291 (exit $ac_status); }; }; then
64292 ac_header_compiler=yes
64293 else
64294 echo "$as_me: failed program was:" >&5
64295 sed 's/^/| /' conftest.$ac_ext >&5
64297 ac_header_compiler=no
64299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64300 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64301 echo "${ECHO_T}$ac_header_compiler" >&6
64303 # Is the header present?
64304 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
64305 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
64306 cat >conftest.$ac_ext <<_ACEOF
64307 /* confdefs.h. */
64308 _ACEOF
64309 cat confdefs.h >>conftest.$ac_ext
64310 cat >>conftest.$ac_ext <<_ACEOF
64311 /* end confdefs.h. */
64312 #include <langinfo.h>
64313 _ACEOF
64314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64315 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64316 ac_status=$?
64317 grep -v '^ *+' conftest.er1 >conftest.err
64318 rm -f conftest.er1
64319 cat conftest.err >&5
64320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64321 (exit $ac_status); } >/dev/null; then
64322 if test -s conftest.err; then
64323 ac_cpp_err=$ac_c_preproc_warn_flag
64324 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64325 else
64326 ac_cpp_err=
64328 else
64329 ac_cpp_err=yes
64331 if test -z "$ac_cpp_err"; then
64332 ac_header_preproc=yes
64333 else
64334 echo "$as_me: failed program was:" >&5
64335 sed 's/^/| /' conftest.$ac_ext >&5
64337 ac_header_preproc=no
64339 rm -f conftest.err conftest.$ac_ext
64340 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64341 echo "${ECHO_T}$ac_header_preproc" >&6
64343 # So? What about this header?
64344 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64345 yes:no: )
64346 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
64347 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
64348 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
64349 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
64350 ac_header_preproc=yes
64352 no:yes:* )
64353 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
64354 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
64355 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
64356 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
64357 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
64358 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
64359 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
64360 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
64361 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
64362 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
64363 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
64364 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
64366 cat <<\_ASBOX
64367 ## ----------------------------------------- ##
64368 ## Report this to the package-unused lists. ##
64369 ## ----------------------------------------- ##
64370 _ASBOX
64372 sed "s/^/$as_me: WARNING: /" >&2
64374 esac
64375 echo "$as_me:$LINENO: checking for langinfo.h" >&5
64376 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
64377 if test "${ac_cv_header_langinfo_h+set}" = set; then
64378 echo $ECHO_N "(cached) $ECHO_C" >&6
64379 else
64380 ac_cv_header_langinfo_h=$ac_header_preproc
64382 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
64383 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
64386 if test $ac_cv_header_langinfo_h = yes; then
64387 ac_has_langinfo_h=yes
64388 else
64389 ac_has_langinfo_h=no
64394 # Check for existence of libiconv.a providing XPG2 wchar_t support.
64395 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
64396 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
64397 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
64398 echo $ECHO_N "(cached) $ECHO_C" >&6
64399 else
64400 ac_check_lib_save_LIBS=$LIBS
64401 LIBS="-liconv $LIBS"
64402 if test x$gcc_no_link = xyes; then
64403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64405 { (exit 1); exit 1; }; }
64407 cat >conftest.$ac_ext <<_ACEOF
64408 /* confdefs.h. */
64409 _ACEOF
64410 cat confdefs.h >>conftest.$ac_ext
64411 cat >>conftest.$ac_ext <<_ACEOF
64412 /* end confdefs.h. */
64414 /* Override any gcc2 internal prototype to avoid an error. */
64415 #ifdef __cplusplus
64416 extern "C"
64417 #endif
64418 /* We use char because int might match the return type of a gcc2
64419 builtin and then its argument prototype would still apply. */
64420 char iconv ();
64422 main ()
64424 iconv ();
64426 return 0;
64428 _ACEOF
64429 rm -f conftest.$ac_objext conftest$ac_exeext
64430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64431 (eval $ac_link) 2>conftest.er1
64432 ac_status=$?
64433 grep -v '^ *+' conftest.er1 >conftest.err
64434 rm -f conftest.er1
64435 cat conftest.err >&5
64436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64437 (exit $ac_status); } &&
64438 { ac_try='test -z "$ac_c_werror_flag"
64439 || test ! -s conftest.err'
64440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64441 (eval $ac_try) 2>&5
64442 ac_status=$?
64443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64444 (exit $ac_status); }; } &&
64445 { ac_try='test -s conftest$ac_exeext'
64446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64447 (eval $ac_try) 2>&5
64448 ac_status=$?
64449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64450 (exit $ac_status); }; }; then
64451 ac_cv_lib_iconv_iconv=yes
64452 else
64453 echo "$as_me: failed program was:" >&5
64454 sed 's/^/| /' conftest.$ac_ext >&5
64456 ac_cv_lib_iconv_iconv=no
64458 rm -f conftest.err conftest.$ac_objext \
64459 conftest$ac_exeext conftest.$ac_ext
64460 LIBS=$ac_check_lib_save_LIBS
64462 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
64463 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
64464 if test $ac_cv_lib_iconv_iconv = yes; then
64465 libiconv="-liconv"
64468 ac_save_LIBS="$LIBS"
64469 LIBS="$LIBS $libiconv"
64475 for ac_func in iconv_open iconv_close iconv nl_langinfo
64477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64478 echo "$as_me:$LINENO: checking for $ac_func" >&5
64479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64480 if eval "test \"\${$as_ac_var+set}\" = set"; then
64481 echo $ECHO_N "(cached) $ECHO_C" >&6
64482 else
64483 if test x$gcc_no_link = xyes; then
64484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64486 { (exit 1); exit 1; }; }
64488 cat >conftest.$ac_ext <<_ACEOF
64489 /* confdefs.h. */
64490 _ACEOF
64491 cat confdefs.h >>conftest.$ac_ext
64492 cat >>conftest.$ac_ext <<_ACEOF
64493 /* end confdefs.h. */
64494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64496 #define $ac_func innocuous_$ac_func
64498 /* System header to define __stub macros and hopefully few prototypes,
64499 which can conflict with char $ac_func (); below.
64500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64501 <limits.h> exists even on freestanding compilers. */
64503 #ifdef __STDC__
64504 # include <limits.h>
64505 #else
64506 # include <assert.h>
64507 #endif
64509 #undef $ac_func
64511 /* Override any gcc2 internal prototype to avoid an error. */
64512 #ifdef __cplusplus
64513 extern "C"
64515 #endif
64516 /* We use char because int might match the return type of a gcc2
64517 builtin and then its argument prototype would still apply. */
64518 char $ac_func ();
64519 /* The GNU C library defines this for functions which it implements
64520 to always fail with ENOSYS. Some functions are actually named
64521 something starting with __ and the normal name is an alias. */
64522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64523 choke me
64524 #else
64525 char (*f) () = $ac_func;
64526 #endif
64527 #ifdef __cplusplus
64529 #endif
64532 main ()
64534 return f != $ac_func;
64536 return 0;
64538 _ACEOF
64539 rm -f conftest.$ac_objext conftest$ac_exeext
64540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64541 (eval $ac_link) 2>conftest.er1
64542 ac_status=$?
64543 grep -v '^ *+' conftest.er1 >conftest.err
64544 rm -f conftest.er1
64545 cat conftest.err >&5
64546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64547 (exit $ac_status); } &&
64548 { ac_try='test -z "$ac_c_werror_flag"
64549 || test ! -s conftest.err'
64550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64551 (eval $ac_try) 2>&5
64552 ac_status=$?
64553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64554 (exit $ac_status); }; } &&
64555 { ac_try='test -s conftest$ac_exeext'
64556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64557 (eval $ac_try) 2>&5
64558 ac_status=$?
64559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64560 (exit $ac_status); }; }; then
64561 eval "$as_ac_var=yes"
64562 else
64563 echo "$as_me: failed program was:" >&5
64564 sed 's/^/| /' conftest.$ac_ext >&5
64566 eval "$as_ac_var=no"
64568 rm -f conftest.err conftest.$ac_objext \
64569 conftest$ac_exeext conftest.$ac_ext
64571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64573 if test `eval echo '${'$as_ac_var'}'` = yes; then
64574 cat >>confdefs.h <<_ACEOF
64575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64576 _ACEOF
64577 ac_XPG2funcs=yes
64578 else
64579 ac_XPG2funcs=no
64581 done
64584 LIBS="$ac_save_LIBS"
64586 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
64587 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
64588 if test x"$ac_has_iconv_h" = xyes &&
64589 test x"$ac_has_langinfo_h" = xyes &&
64590 test x"$ac_XPG2funcs" = xyes;
64591 then
64592 ac_XPG2_wchar_t=yes
64593 else
64594 ac_XPG2_wchar_t=no
64596 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
64597 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
64599 # At the moment, only enable wchar_t specializations if all the
64600 # above support is present.
64601 if test x"$ac_isoC99_wchar_t" = xyes &&
64602 test x"$ac_XPG2_wchar_t" = xyes;
64603 then
64604 cat >>confdefs.h <<\_ACEOF
64605 #define _GLIBCXX_USE_WCHAR_T 1
64606 _ACEOF
64608 enable_wchar_t=yes
64611 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
64612 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
64613 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
64614 echo "${ECHO_T}$enable_wchar_t" >&6
64616 cat >>confdefs.h <<\_ACEOF
64617 #define HAVE_COPYSIGN 1
64618 _ACEOF
64620 cat >>confdefs.h <<\_ACEOF
64621 #define HAVE_COPYSIGNF 1
64622 _ACEOF
64624 cat >>confdefs.h <<\_ACEOF
64625 #define HAVE_FINITEF 1
64626 _ACEOF
64628 cat >>confdefs.h <<\_ACEOF
64629 #define HAVE_FINITE 1
64630 _ACEOF
64632 cat >>confdefs.h <<\_ACEOF
64633 #define HAVE_FREXPF 1
64634 _ACEOF
64636 cat >>confdefs.h <<\_ACEOF
64637 #define HAVE_HYPOTF 1
64638 _ACEOF
64640 cat >>confdefs.h <<\_ACEOF
64641 #define HAVE_ISINF 1
64642 _ACEOF
64644 cat >>confdefs.h <<\_ACEOF
64645 #define HAVE_ISINFF 1
64646 _ACEOF
64648 cat >>confdefs.h <<\_ACEOF
64649 #define HAVE_ISNAN 1
64650 _ACEOF
64652 cat >>confdefs.h <<\_ACEOF
64653 #define HAVE_ISNANF 1
64654 _ACEOF
64656 if test x"long_double_math_on_this_cpu" = x"yes"; then
64657 cat >>confdefs.h <<\_ACEOF
64658 #define HAVE_FINITEL 1
64659 _ACEOF
64661 cat >>confdefs.h <<\_ACEOF
64662 #define HAVE_ISINFL 1
64663 _ACEOF
64665 cat >>confdefs.h <<\_ACEOF
64666 #define HAVE_ISNANL 1
64667 _ACEOF
64671 *-qnx6.1* | *-qnx6.2*)
64672 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64675 # If we're not using GNU ld, then there's no point in even trying these
64676 # tests. Check for that first. We should have already tested for gld
64677 # by now (in libtool), but require it now just to be safe...
64678 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64679 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64683 # The name set by libtool depends on the version of libtool. Shame on us
64684 # for depending on an impl detail, but c'est la vie. Older versions used
64685 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64686 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64687 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64688 # set (hence we're using an older libtool), then set it.
64689 if test x${with_gnu_ld+set} != xset; then
64690 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64691 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64692 with_gnu_ld=no
64693 else
64694 with_gnu_ld=$ac_cv_prog_gnu_ld
64698 # Start by getting the version number. I think the libtool test already
64699 # does some of this, but throws away the result.
64701 ldver=`$LD --version 2>/dev/null | head -1 | \
64702 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
64704 glibcxx_gnu_ld_version=`echo $ldver | \
64705 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64707 # Set --gc-sections.
64708 if test "$with_gnu_ld" = "notbroken"; then
64709 # GNU ld it is! Joy and bunny rabbits!
64711 # All these tests are for C++; save the language and the compiler flags.
64712 # Need to do this so that g++ won't try to link in libstdc++
64713 ac_test_CFLAGS="${CFLAGS+set}"
64714 ac_save_CFLAGS="$CFLAGS"
64715 CFLAGS='-x c++ -Wl,--gc-sections'
64717 # Check for -Wl,--gc-sections
64718 # XXX This test is broken at the moment, as symbols required for linking
64719 # are now in libsupc++ (not built yet). In addition, this test has
64720 # cored on solaris in the past. In addition, --gc-sections doesn't
64721 # really work at the moment (keeps on discarding used sections, first
64722 # .eh_frame and now some of the glibc sections for iconv).
64723 # Bzzzzt. Thanks for playing, maybe next time.
64724 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
64725 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
64726 if test "$cross_compiling" = yes; then
64727 ac_sectionLDflags=yes
64728 else
64729 cat >conftest.$ac_ext <<_ACEOF
64730 /* confdefs.h. */
64731 _ACEOF
64732 cat confdefs.h >>conftest.$ac_ext
64733 cat >>conftest.$ac_ext <<_ACEOF
64734 /* end confdefs.h. */
64736 int main(void)
64738 try { throw 1; }
64739 catch (...) { };
64740 return 0;
64743 _ACEOF
64744 rm -f conftest$ac_exeext
64745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64746 (eval $ac_link) 2>&5
64747 ac_status=$?
64748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64749 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
64750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64751 (eval $ac_try) 2>&5
64752 ac_status=$?
64753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64754 (exit $ac_status); }; }; then
64755 ac_sectionLDflags=yes
64756 else
64757 echo "$as_me: program exited with status $ac_status" >&5
64758 echo "$as_me: failed program was:" >&5
64759 sed 's/^/| /' conftest.$ac_ext >&5
64761 ( exit $ac_status )
64762 ac_sectionLDflags=no
64764 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
64766 if test "$ac_test_CFLAGS" = set; then
64767 CFLAGS="$ac_save_CFLAGS"
64768 else
64769 # this is the suspicious part
64770 CFLAGS=''
64772 if test "$ac_sectionLDflags" = "yes"; then
64773 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64775 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
64776 echo "${ECHO_T}$ac_sectionLDflags" >&6
64779 # Set linker optimization flags.
64780 if test x"$with_gnu_ld" = x"yes"; then
64781 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64789 echo "$as_me:$LINENO: checking for main in -lm" >&5
64790 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
64791 if test "${ac_cv_lib_m_main+set}" = set; then
64792 echo $ECHO_N "(cached) $ECHO_C" >&6
64793 else
64794 ac_check_lib_save_LIBS=$LIBS
64795 LIBS="-lm $LIBS"
64796 if test x$gcc_no_link = xyes; then
64797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64799 { (exit 1); exit 1; }; }
64801 cat >conftest.$ac_ext <<_ACEOF
64802 /* confdefs.h. */
64803 _ACEOF
64804 cat confdefs.h >>conftest.$ac_ext
64805 cat >>conftest.$ac_ext <<_ACEOF
64806 /* end confdefs.h. */
64810 main ()
64812 main ();
64814 return 0;
64816 _ACEOF
64817 rm -f conftest.$ac_objext conftest$ac_exeext
64818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64819 (eval $ac_link) 2>conftest.er1
64820 ac_status=$?
64821 grep -v '^ *+' conftest.er1 >conftest.err
64822 rm -f conftest.er1
64823 cat conftest.err >&5
64824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64825 (exit $ac_status); } &&
64826 { ac_try='test -z "$ac_c_werror_flag"
64827 || test ! -s conftest.err'
64828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64829 (eval $ac_try) 2>&5
64830 ac_status=$?
64831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64832 (exit $ac_status); }; } &&
64833 { ac_try='test -s conftest$ac_exeext'
64834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64835 (eval $ac_try) 2>&5
64836 ac_status=$?
64837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64838 (exit $ac_status); }; }; then
64839 ac_cv_lib_m_main=yes
64840 else
64841 echo "$as_me: failed program was:" >&5
64842 sed 's/^/| /' conftest.$ac_ext >&5
64844 ac_cv_lib_m_main=no
64846 rm -f conftest.err conftest.$ac_objext \
64847 conftest$ac_exeext conftest.$ac_ext
64848 LIBS=$ac_check_lib_save_LIBS
64850 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
64851 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
64852 if test $ac_cv_lib_m_main = yes; then
64853 cat >>confdefs.h <<_ACEOF
64854 #define HAVE_LIBM 1
64855 _ACEOF
64857 LIBS="-lm $LIBS"
64863 for ac_func in nan copysignf
64865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64866 echo "$as_me:$LINENO: checking for $ac_func" >&5
64867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64868 if eval "test \"\${$as_ac_var+set}\" = set"; then
64869 echo $ECHO_N "(cached) $ECHO_C" >&6
64870 else
64871 if test x$gcc_no_link = xyes; then
64872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64874 { (exit 1); exit 1; }; }
64876 cat >conftest.$ac_ext <<_ACEOF
64877 /* confdefs.h. */
64878 _ACEOF
64879 cat confdefs.h >>conftest.$ac_ext
64880 cat >>conftest.$ac_ext <<_ACEOF
64881 /* end confdefs.h. */
64882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64884 #define $ac_func innocuous_$ac_func
64886 /* System header to define __stub macros and hopefully few prototypes,
64887 which can conflict with char $ac_func (); below.
64888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64889 <limits.h> exists even on freestanding compilers. */
64891 #ifdef __STDC__
64892 # include <limits.h>
64893 #else
64894 # include <assert.h>
64895 #endif
64897 #undef $ac_func
64899 /* Override any gcc2 internal prototype to avoid an error. */
64900 #ifdef __cplusplus
64901 extern "C"
64903 #endif
64904 /* We use char because int might match the return type of a gcc2
64905 builtin and then its argument prototype would still apply. */
64906 char $ac_func ();
64907 /* The GNU C library defines this for functions which it implements
64908 to always fail with ENOSYS. Some functions are actually named
64909 something starting with __ and the normal name is an alias. */
64910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64911 choke me
64912 #else
64913 char (*f) () = $ac_func;
64914 #endif
64915 #ifdef __cplusplus
64917 #endif
64920 main ()
64922 return f != $ac_func;
64924 return 0;
64926 _ACEOF
64927 rm -f conftest.$ac_objext conftest$ac_exeext
64928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64929 (eval $ac_link) 2>conftest.er1
64930 ac_status=$?
64931 grep -v '^ *+' conftest.er1 >conftest.err
64932 rm -f conftest.er1
64933 cat conftest.err >&5
64934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64935 (exit $ac_status); } &&
64936 { ac_try='test -z "$ac_c_werror_flag"
64937 || test ! -s conftest.err'
64938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64939 (eval $ac_try) 2>&5
64940 ac_status=$?
64941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64942 (exit $ac_status); }; } &&
64943 { ac_try='test -s conftest$ac_exeext'
64944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64945 (eval $ac_try) 2>&5
64946 ac_status=$?
64947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64948 (exit $ac_status); }; }; then
64949 eval "$as_ac_var=yes"
64950 else
64951 echo "$as_me: failed program was:" >&5
64952 sed 's/^/| /' conftest.$ac_ext >&5
64954 eval "$as_ac_var=no"
64956 rm -f conftest.err conftest.$ac_objext \
64957 conftest$ac_exeext conftest.$ac_ext
64959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64961 if test `eval echo '${'$as_ac_var'}'` = yes; then
64962 cat >>confdefs.h <<_ACEOF
64963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64964 _ACEOF
64966 else
64967 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
64969 done
64973 for ac_func in __signbit
64975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64976 echo "$as_me:$LINENO: checking for $ac_func" >&5
64977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64978 if eval "test \"\${$as_ac_var+set}\" = set"; then
64979 echo $ECHO_N "(cached) $ECHO_C" >&6
64980 else
64981 if test x$gcc_no_link = xyes; then
64982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64984 { (exit 1); exit 1; }; }
64986 cat >conftest.$ac_ext <<_ACEOF
64987 /* confdefs.h. */
64988 _ACEOF
64989 cat confdefs.h >>conftest.$ac_ext
64990 cat >>conftest.$ac_ext <<_ACEOF
64991 /* end confdefs.h. */
64992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64994 #define $ac_func innocuous_$ac_func
64996 /* System header to define __stub macros and hopefully few prototypes,
64997 which can conflict with char $ac_func (); below.
64998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64999 <limits.h> exists even on freestanding compilers. */
65001 #ifdef __STDC__
65002 # include <limits.h>
65003 #else
65004 # include <assert.h>
65005 #endif
65007 #undef $ac_func
65009 /* Override any gcc2 internal prototype to avoid an error. */
65010 #ifdef __cplusplus
65011 extern "C"
65013 #endif
65014 /* We use char because int might match the return type of a gcc2
65015 builtin and then its argument prototype would still apply. */
65016 char $ac_func ();
65017 /* The GNU C library defines this for functions which it implements
65018 to always fail with ENOSYS. Some functions are actually named
65019 something starting with __ and the normal name is an alias. */
65020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65021 choke me
65022 #else
65023 char (*f) () = $ac_func;
65024 #endif
65025 #ifdef __cplusplus
65027 #endif
65030 main ()
65032 return f != $ac_func;
65034 return 0;
65036 _ACEOF
65037 rm -f conftest.$ac_objext conftest$ac_exeext
65038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65039 (eval $ac_link) 2>conftest.er1
65040 ac_status=$?
65041 grep -v '^ *+' conftest.er1 >conftest.err
65042 rm -f conftest.er1
65043 cat conftest.err >&5
65044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65045 (exit $ac_status); } &&
65046 { ac_try='test -z "$ac_c_werror_flag"
65047 || test ! -s conftest.err'
65048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65049 (eval $ac_try) 2>&5
65050 ac_status=$?
65051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65052 (exit $ac_status); }; } &&
65053 { ac_try='test -s conftest$ac_exeext'
65054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65055 (eval $ac_try) 2>&5
65056 ac_status=$?
65057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65058 (exit $ac_status); }; }; then
65059 eval "$as_ac_var=yes"
65060 else
65061 echo "$as_me: failed program was:" >&5
65062 sed 's/^/| /' conftest.$ac_ext >&5
65064 eval "$as_ac_var=no"
65066 rm -f conftest.err conftest.$ac_objext \
65067 conftest$ac_exeext conftest.$ac_ext
65069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65071 if test `eval echo '${'$as_ac_var'}'` = yes; then
65072 cat >>confdefs.h <<_ACEOF
65073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65074 _ACEOF
65076 else
65077 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
65079 done
65082 for ac_func in __signbitf
65084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65085 echo "$as_me:$LINENO: checking for $ac_func" >&5
65086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65087 if eval "test \"\${$as_ac_var+set}\" = set"; then
65088 echo $ECHO_N "(cached) $ECHO_C" >&6
65089 else
65090 if test x$gcc_no_link = xyes; then
65091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65093 { (exit 1); exit 1; }; }
65095 cat >conftest.$ac_ext <<_ACEOF
65096 /* confdefs.h. */
65097 _ACEOF
65098 cat confdefs.h >>conftest.$ac_ext
65099 cat >>conftest.$ac_ext <<_ACEOF
65100 /* end confdefs.h. */
65101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65103 #define $ac_func innocuous_$ac_func
65105 /* System header to define __stub macros and hopefully few prototypes,
65106 which can conflict with char $ac_func (); below.
65107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65108 <limits.h> exists even on freestanding compilers. */
65110 #ifdef __STDC__
65111 # include <limits.h>
65112 #else
65113 # include <assert.h>
65114 #endif
65116 #undef $ac_func
65118 /* Override any gcc2 internal prototype to avoid an error. */
65119 #ifdef __cplusplus
65120 extern "C"
65122 #endif
65123 /* We use char because int might match the return type of a gcc2
65124 builtin and then its argument prototype would still apply. */
65125 char $ac_func ();
65126 /* The GNU C library defines this for functions which it implements
65127 to always fail with ENOSYS. Some functions are actually named
65128 something starting with __ and the normal name is an alias. */
65129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65130 choke me
65131 #else
65132 char (*f) () = $ac_func;
65133 #endif
65134 #ifdef __cplusplus
65136 #endif
65139 main ()
65141 return f != $ac_func;
65143 return 0;
65145 _ACEOF
65146 rm -f conftest.$ac_objext conftest$ac_exeext
65147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65148 (eval $ac_link) 2>conftest.er1
65149 ac_status=$?
65150 grep -v '^ *+' conftest.er1 >conftest.err
65151 rm -f conftest.er1
65152 cat conftest.err >&5
65153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65154 (exit $ac_status); } &&
65155 { ac_try='test -z "$ac_c_werror_flag"
65156 || test ! -s conftest.err'
65157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65158 (eval $ac_try) 2>&5
65159 ac_status=$?
65160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65161 (exit $ac_status); }; } &&
65162 { ac_try='test -s conftest$ac_exeext'
65163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65164 (eval $ac_try) 2>&5
65165 ac_status=$?
65166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65167 (exit $ac_status); }; }; then
65168 eval "$as_ac_var=yes"
65169 else
65170 echo "$as_me: failed program was:" >&5
65171 sed 's/^/| /' conftest.$ac_ext >&5
65173 eval "$as_ac_var=no"
65175 rm -f conftest.err conftest.$ac_objext \
65176 conftest$ac_exeext conftest.$ac_ext
65178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65180 if test `eval echo '${'$as_ac_var'}'` = yes; then
65181 cat >>confdefs.h <<_ACEOF
65182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65183 _ACEOF
65185 else
65186 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
65188 done
65191 if test x$ac_cv_func_copysignl = x"yes"; then
65193 for ac_func in __signbitl
65195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65196 echo "$as_me:$LINENO: checking for $ac_func" >&5
65197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65198 if eval "test \"\${$as_ac_var+set}\" = set"; then
65199 echo $ECHO_N "(cached) $ECHO_C" >&6
65200 else
65201 if test x$gcc_no_link = xyes; then
65202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65204 { (exit 1); exit 1; }; }
65206 cat >conftest.$ac_ext <<_ACEOF
65207 /* confdefs.h. */
65208 _ACEOF
65209 cat confdefs.h >>conftest.$ac_ext
65210 cat >>conftest.$ac_ext <<_ACEOF
65211 /* end confdefs.h. */
65212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65214 #define $ac_func innocuous_$ac_func
65216 /* System header to define __stub macros and hopefully few prototypes,
65217 which can conflict with char $ac_func (); below.
65218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65219 <limits.h> exists even on freestanding compilers. */
65221 #ifdef __STDC__
65222 # include <limits.h>
65223 #else
65224 # include <assert.h>
65225 #endif
65227 #undef $ac_func
65229 /* Override any gcc2 internal prototype to avoid an error. */
65230 #ifdef __cplusplus
65231 extern "C"
65233 #endif
65234 /* We use char because int might match the return type of a gcc2
65235 builtin and then its argument prototype would still apply. */
65236 char $ac_func ();
65237 /* The GNU C library defines this for functions which it implements
65238 to always fail with ENOSYS. Some functions are actually named
65239 something starting with __ and the normal name is an alias. */
65240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65241 choke me
65242 #else
65243 char (*f) () = $ac_func;
65244 #endif
65245 #ifdef __cplusplus
65247 #endif
65250 main ()
65252 return f != $ac_func;
65254 return 0;
65256 _ACEOF
65257 rm -f conftest.$ac_objext conftest$ac_exeext
65258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65259 (eval $ac_link) 2>conftest.er1
65260 ac_status=$?
65261 grep -v '^ *+' conftest.er1 >conftest.err
65262 rm -f conftest.er1
65263 cat conftest.err >&5
65264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65265 (exit $ac_status); } &&
65266 { ac_try='test -z "$ac_c_werror_flag"
65267 || test ! -s conftest.err'
65268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65269 (eval $ac_try) 2>&5
65270 ac_status=$?
65271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65272 (exit $ac_status); }; } &&
65273 { ac_try='test -s conftest$ac_exeext'
65274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65275 (eval $ac_try) 2>&5
65276 ac_status=$?
65277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65278 (exit $ac_status); }; }; then
65279 eval "$as_ac_var=yes"
65280 else
65281 echo "$as_me: failed program was:" >&5
65282 sed 's/^/| /' conftest.$ac_ext >&5
65284 eval "$as_ac_var=no"
65286 rm -f conftest.err conftest.$ac_objext \
65287 conftest$ac_exeext conftest.$ac_ext
65289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65291 if test `eval echo '${'$as_ac_var'}'` = yes; then
65292 cat >>confdefs.h <<_ACEOF
65293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65294 _ACEOF
65296 else
65297 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
65299 done
65303 # XXX Review this. Nothing uses it.
65304 if test -n "$LIBMATHOBJS"; then
65305 need_libmath=yes
65310 # Test wchar.h for mbstate_t, which is needed for char_traits and
65311 # others even if wchar_t support is not on.
65312 echo "$as_me:$LINENO: checking for mbstate_t" >&5
65313 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
65314 cat >conftest.$ac_ext <<_ACEOF
65315 /* confdefs.h. */
65316 _ACEOF
65317 cat confdefs.h >>conftest.$ac_ext
65318 cat >>conftest.$ac_ext <<_ACEOF
65319 /* end confdefs.h. */
65320 #include <wchar.h>
65322 main ()
65324 mbstate_t teststate;
65326 return 0;
65328 _ACEOF
65329 rm -f conftest.$ac_objext
65330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65331 (eval $ac_compile) 2>conftest.er1
65332 ac_status=$?
65333 grep -v '^ *+' conftest.er1 >conftest.err
65334 rm -f conftest.er1
65335 cat conftest.err >&5
65336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65337 (exit $ac_status); } &&
65338 { ac_try='test -z "$ac_c_werror_flag"
65339 || test ! -s conftest.err'
65340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65341 (eval $ac_try) 2>&5
65342 ac_status=$?
65343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65344 (exit $ac_status); }; } &&
65345 { ac_try='test -s conftest.$ac_objext'
65346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65347 (eval $ac_try) 2>&5
65348 ac_status=$?
65349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65350 (exit $ac_status); }; }; then
65351 have_mbstate_t=yes
65352 else
65353 echo "$as_me: failed program was:" >&5
65354 sed 's/^/| /' conftest.$ac_ext >&5
65356 have_mbstate_t=no
65358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65359 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
65360 echo "${ECHO_T}$have_mbstate_t" >&6
65361 if test x"$have_mbstate_t" = xyes; then
65362 cat >>confdefs.h <<\_ACEOF
65363 #define HAVE_MBSTATE_T 1
65364 _ACEOF
65368 # Sanity check for existence of ISO C99 headers for extended encoding.
65370 for ac_header in wchar.h
65372 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
65373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
65374 echo "$as_me:$LINENO: checking for $ac_header" >&5
65375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
65376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
65377 echo $ECHO_N "(cached) $ECHO_C" >&6
65379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
65380 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
65381 else
65382 # Is the header compilable?
65383 echo "$as_me:$LINENO: checking $ac_header usability" >&5
65384 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
65385 cat >conftest.$ac_ext <<_ACEOF
65386 /* confdefs.h. */
65387 _ACEOF
65388 cat confdefs.h >>conftest.$ac_ext
65389 cat >>conftest.$ac_ext <<_ACEOF
65390 /* end confdefs.h. */
65391 $ac_includes_default
65392 #include <$ac_header>
65393 _ACEOF
65394 rm -f conftest.$ac_objext
65395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65396 (eval $ac_compile) 2>conftest.er1
65397 ac_status=$?
65398 grep -v '^ *+' conftest.er1 >conftest.err
65399 rm -f conftest.er1
65400 cat conftest.err >&5
65401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65402 (exit $ac_status); } &&
65403 { ac_try='test -z "$ac_c_werror_flag"
65404 || test ! -s conftest.err'
65405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65406 (eval $ac_try) 2>&5
65407 ac_status=$?
65408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65409 (exit $ac_status); }; } &&
65410 { ac_try='test -s conftest.$ac_objext'
65411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65412 (eval $ac_try) 2>&5
65413 ac_status=$?
65414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65415 (exit $ac_status); }; }; then
65416 ac_header_compiler=yes
65417 else
65418 echo "$as_me: failed program was:" >&5
65419 sed 's/^/| /' conftest.$ac_ext >&5
65421 ac_header_compiler=no
65423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65424 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
65425 echo "${ECHO_T}$ac_header_compiler" >&6
65427 # Is the header present?
65428 echo "$as_me:$LINENO: checking $ac_header presence" >&5
65429 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
65430 cat >conftest.$ac_ext <<_ACEOF
65431 /* confdefs.h. */
65432 _ACEOF
65433 cat confdefs.h >>conftest.$ac_ext
65434 cat >>conftest.$ac_ext <<_ACEOF
65435 /* end confdefs.h. */
65436 #include <$ac_header>
65437 _ACEOF
65438 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
65439 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
65440 ac_status=$?
65441 grep -v '^ *+' conftest.er1 >conftest.err
65442 rm -f conftest.er1
65443 cat conftest.err >&5
65444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65445 (exit $ac_status); } >/dev/null; then
65446 if test -s conftest.err; then
65447 ac_cpp_err=$ac_c_preproc_warn_flag
65448 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
65449 else
65450 ac_cpp_err=
65452 else
65453 ac_cpp_err=yes
65455 if test -z "$ac_cpp_err"; then
65456 ac_header_preproc=yes
65457 else
65458 echo "$as_me: failed program was:" >&5
65459 sed 's/^/| /' conftest.$ac_ext >&5
65461 ac_header_preproc=no
65463 rm -f conftest.err conftest.$ac_ext
65464 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
65465 echo "${ECHO_T}$ac_header_preproc" >&6
65467 # So? What about this header?
65468 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
65469 yes:no: )
65470 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
65471 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
65472 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
65473 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
65474 ac_header_preproc=yes
65476 no:yes:* )
65477 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
65478 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
65479 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
65480 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
65481 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
65482 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
65483 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
65484 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
65485 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
65486 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
65487 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
65488 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
65490 cat <<\_ASBOX
65491 ## ----------------------------------------- ##
65492 ## Report this to the package-unused lists. ##
65493 ## ----------------------------------------- ##
65494 _ASBOX
65496 sed "s/^/$as_me: WARNING: /" >&2
65498 esac
65499 echo "$as_me:$LINENO: checking for $ac_header" >&5
65500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
65501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
65502 echo $ECHO_N "(cached) $ECHO_C" >&6
65503 else
65504 eval "$as_ac_Header=\$ac_header_preproc"
65506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
65507 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
65510 if test `eval echo '${'$as_ac_Header'}'` = yes; then
65511 cat >>confdefs.h <<_ACEOF
65512 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
65513 _ACEOF
65514 ac_has_wchar_h=yes
65515 else
65516 ac_has_wchar_h=no
65519 done
65522 for ac_header in wctype.h
65524 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
65525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
65526 echo "$as_me:$LINENO: checking for $ac_header" >&5
65527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
65528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
65529 echo $ECHO_N "(cached) $ECHO_C" >&6
65531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
65532 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
65533 else
65534 # Is the header compilable?
65535 echo "$as_me:$LINENO: checking $ac_header usability" >&5
65536 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
65537 cat >conftest.$ac_ext <<_ACEOF
65538 /* confdefs.h. */
65539 _ACEOF
65540 cat confdefs.h >>conftest.$ac_ext
65541 cat >>conftest.$ac_ext <<_ACEOF
65542 /* end confdefs.h. */
65543 $ac_includes_default
65544 #include <$ac_header>
65545 _ACEOF
65546 rm -f conftest.$ac_objext
65547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65548 (eval $ac_compile) 2>conftest.er1
65549 ac_status=$?
65550 grep -v '^ *+' conftest.er1 >conftest.err
65551 rm -f conftest.er1
65552 cat conftest.err >&5
65553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65554 (exit $ac_status); } &&
65555 { ac_try='test -z "$ac_c_werror_flag"
65556 || test ! -s conftest.err'
65557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65558 (eval $ac_try) 2>&5
65559 ac_status=$?
65560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65561 (exit $ac_status); }; } &&
65562 { ac_try='test -s conftest.$ac_objext'
65563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65564 (eval $ac_try) 2>&5
65565 ac_status=$?
65566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65567 (exit $ac_status); }; }; then
65568 ac_header_compiler=yes
65569 else
65570 echo "$as_me: failed program was:" >&5
65571 sed 's/^/| /' conftest.$ac_ext >&5
65573 ac_header_compiler=no
65575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65576 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
65577 echo "${ECHO_T}$ac_header_compiler" >&6
65579 # Is the header present?
65580 echo "$as_me:$LINENO: checking $ac_header presence" >&5
65581 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
65582 cat >conftest.$ac_ext <<_ACEOF
65583 /* confdefs.h. */
65584 _ACEOF
65585 cat confdefs.h >>conftest.$ac_ext
65586 cat >>conftest.$ac_ext <<_ACEOF
65587 /* end confdefs.h. */
65588 #include <$ac_header>
65589 _ACEOF
65590 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
65591 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
65592 ac_status=$?
65593 grep -v '^ *+' conftest.er1 >conftest.err
65594 rm -f conftest.er1
65595 cat conftest.err >&5
65596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65597 (exit $ac_status); } >/dev/null; then
65598 if test -s conftest.err; then
65599 ac_cpp_err=$ac_c_preproc_warn_flag
65600 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
65601 else
65602 ac_cpp_err=
65604 else
65605 ac_cpp_err=yes
65607 if test -z "$ac_cpp_err"; then
65608 ac_header_preproc=yes
65609 else
65610 echo "$as_me: failed program was:" >&5
65611 sed 's/^/| /' conftest.$ac_ext >&5
65613 ac_header_preproc=no
65615 rm -f conftest.err conftest.$ac_ext
65616 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
65617 echo "${ECHO_T}$ac_header_preproc" >&6
65619 # So? What about this header?
65620 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
65621 yes:no: )
65622 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
65623 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
65624 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
65625 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
65626 ac_header_preproc=yes
65628 no:yes:* )
65629 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
65630 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
65631 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
65632 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
65633 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
65634 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
65635 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
65636 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
65637 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
65638 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
65639 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
65640 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
65642 cat <<\_ASBOX
65643 ## ----------------------------------------- ##
65644 ## Report this to the package-unused lists. ##
65645 ## ----------------------------------------- ##
65646 _ASBOX
65648 sed "s/^/$as_me: WARNING: /" >&2
65650 esac
65651 echo "$as_me:$LINENO: checking for $ac_header" >&5
65652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
65653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
65654 echo $ECHO_N "(cached) $ECHO_C" >&6
65655 else
65656 eval "$as_ac_Header=\$ac_header_preproc"
65658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
65659 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
65662 if test `eval echo '${'$as_ac_Header'}'` = yes; then
65663 cat >>confdefs.h <<_ACEOF
65664 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
65665 _ACEOF
65666 ac_has_wctype_h=yes
65667 else
65668 ac_has_wctype_h=no
65671 done
65674 # Only continue checking if the ISO C99 headers exist and support is on.
65675 if test x"$ac_has_wchar_h" = xyes &&
65676 test x"$ac_has_wctype_h" = xyes &&
65677 test x"$enable_c_mbchar" != xno; then
65679 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
65680 # numeric_limits can instantiate type_traits<wchar_t>
65681 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
65682 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
65683 cat >conftest.$ac_ext <<_ACEOF
65684 /* confdefs.h. */
65685 _ACEOF
65686 cat confdefs.h >>conftest.$ac_ext
65687 cat >>conftest.$ac_ext <<_ACEOF
65688 /* end confdefs.h. */
65689 #include <wchar.h>
65691 main ()
65693 int i = WCHAR_MIN; int j = WCHAR_MAX;
65695 return 0;
65697 _ACEOF
65698 rm -f conftest.$ac_objext
65699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65700 (eval $ac_compile) 2>conftest.er1
65701 ac_status=$?
65702 grep -v '^ *+' conftest.er1 >conftest.err
65703 rm -f conftest.er1
65704 cat conftest.err >&5
65705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65706 (exit $ac_status); } &&
65707 { ac_try='test -z "$ac_c_werror_flag"
65708 || test ! -s conftest.err'
65709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65710 (eval $ac_try) 2>&5
65711 ac_status=$?
65712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65713 (exit $ac_status); }; } &&
65714 { ac_try='test -s conftest.$ac_objext'
65715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65716 (eval $ac_try) 2>&5
65717 ac_status=$?
65718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65719 (exit $ac_status); }; }; then
65720 has_wchar_minmax=yes
65721 else
65722 echo "$as_me: failed program was:" >&5
65723 sed 's/^/| /' conftest.$ac_ext >&5
65725 has_wchar_minmax=no
65727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65728 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
65729 echo "${ECHO_T}$has_wchar_minmax" >&6
65731 # Test wchar.h for WEOF, which is what we use to determine whether
65732 # to specialize for char_traits<wchar_t> or not.
65733 echo "$as_me:$LINENO: checking for WEOF" >&5
65734 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
65735 cat >conftest.$ac_ext <<_ACEOF
65736 /* confdefs.h. */
65737 _ACEOF
65738 cat confdefs.h >>conftest.$ac_ext
65739 cat >>conftest.$ac_ext <<_ACEOF
65740 /* end confdefs.h. */
65742 #include <wchar.h>
65743 #include <stddef.h>
65745 main ()
65747 wint_t i = WEOF;
65749 return 0;
65751 _ACEOF
65752 rm -f conftest.$ac_objext
65753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65754 (eval $ac_compile) 2>conftest.er1
65755 ac_status=$?
65756 grep -v '^ *+' conftest.er1 >conftest.err
65757 rm -f conftest.er1
65758 cat conftest.err >&5
65759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65760 (exit $ac_status); } &&
65761 { ac_try='test -z "$ac_c_werror_flag"
65762 || test ! -s conftest.err'
65763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65764 (eval $ac_try) 2>&5
65765 ac_status=$?
65766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65767 (exit $ac_status); }; } &&
65768 { ac_try='test -s conftest.$ac_objext'
65769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65770 (eval $ac_try) 2>&5
65771 ac_status=$?
65772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65773 (exit $ac_status); }; }; then
65774 has_weof=yes
65775 else
65776 echo "$as_me: failed program was:" >&5
65777 sed 's/^/| /' conftest.$ac_ext >&5
65779 has_weof=no
65781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65782 echo "$as_me:$LINENO: result: $has_weof" >&5
65783 echo "${ECHO_T}$has_weof" >&6
65785 # Tests for wide character functions used in char_traits<wchar_t>.
65786 ac_wfuncs=yes
65793 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
65795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65796 echo "$as_me:$LINENO: checking for $ac_func" >&5
65797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65798 if eval "test \"\${$as_ac_var+set}\" = set"; then
65799 echo $ECHO_N "(cached) $ECHO_C" >&6
65800 else
65801 if test x$gcc_no_link = xyes; then
65802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65804 { (exit 1); exit 1; }; }
65806 cat >conftest.$ac_ext <<_ACEOF
65807 /* confdefs.h. */
65808 _ACEOF
65809 cat confdefs.h >>conftest.$ac_ext
65810 cat >>conftest.$ac_ext <<_ACEOF
65811 /* end confdefs.h. */
65812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65814 #define $ac_func innocuous_$ac_func
65816 /* System header to define __stub macros and hopefully few prototypes,
65817 which can conflict with char $ac_func (); below.
65818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65819 <limits.h> exists even on freestanding compilers. */
65821 #ifdef __STDC__
65822 # include <limits.h>
65823 #else
65824 # include <assert.h>
65825 #endif
65827 #undef $ac_func
65829 /* Override any gcc2 internal prototype to avoid an error. */
65830 #ifdef __cplusplus
65831 extern "C"
65833 #endif
65834 /* We use char because int might match the return type of a gcc2
65835 builtin and then its argument prototype would still apply. */
65836 char $ac_func ();
65837 /* The GNU C library defines this for functions which it implements
65838 to always fail with ENOSYS. Some functions are actually named
65839 something starting with __ and the normal name is an alias. */
65840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65841 choke me
65842 #else
65843 char (*f) () = $ac_func;
65844 #endif
65845 #ifdef __cplusplus
65847 #endif
65850 main ()
65852 return f != $ac_func;
65854 return 0;
65856 _ACEOF
65857 rm -f conftest.$ac_objext conftest$ac_exeext
65858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65859 (eval $ac_link) 2>conftest.er1
65860 ac_status=$?
65861 grep -v '^ *+' conftest.er1 >conftest.err
65862 rm -f conftest.er1
65863 cat conftest.err >&5
65864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65865 (exit $ac_status); } &&
65866 { ac_try='test -z "$ac_c_werror_flag"
65867 || test ! -s conftest.err'
65868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65869 (eval $ac_try) 2>&5
65870 ac_status=$?
65871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65872 (exit $ac_status); }; } &&
65873 { ac_try='test -s conftest$ac_exeext'
65874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65875 (eval $ac_try) 2>&5
65876 ac_status=$?
65877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65878 (exit $ac_status); }; }; then
65879 eval "$as_ac_var=yes"
65880 else
65881 echo "$as_me: failed program was:" >&5
65882 sed 's/^/| /' conftest.$ac_ext >&5
65884 eval "$as_ac_var=no"
65886 rm -f conftest.err conftest.$ac_objext \
65887 conftest$ac_exeext conftest.$ac_ext
65889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65891 if test `eval echo '${'$as_ac_var'}'` = yes; then
65892 cat >>confdefs.h <<_ACEOF
65893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65894 _ACEOF
65896 else
65897 ac_wfuncs=no
65899 done
65902 # Checks for names injected into std:: by the c_std headers.
65949 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
65950 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
65951 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
65952 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
65953 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
65954 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
65956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65957 echo "$as_me:$LINENO: checking for $ac_func" >&5
65958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65959 if eval "test \"\${$as_ac_var+set}\" = set"; then
65960 echo $ECHO_N "(cached) $ECHO_C" >&6
65961 else
65962 if test x$gcc_no_link = xyes; then
65963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65965 { (exit 1); exit 1; }; }
65967 cat >conftest.$ac_ext <<_ACEOF
65968 /* confdefs.h. */
65969 _ACEOF
65970 cat confdefs.h >>conftest.$ac_ext
65971 cat >>conftest.$ac_ext <<_ACEOF
65972 /* end confdefs.h. */
65973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65975 #define $ac_func innocuous_$ac_func
65977 /* System header to define __stub macros and hopefully few prototypes,
65978 which can conflict with char $ac_func (); below.
65979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65980 <limits.h> exists even on freestanding compilers. */
65982 #ifdef __STDC__
65983 # include <limits.h>
65984 #else
65985 # include <assert.h>
65986 #endif
65988 #undef $ac_func
65990 /* Override any gcc2 internal prototype to avoid an error. */
65991 #ifdef __cplusplus
65992 extern "C"
65994 #endif
65995 /* We use char because int might match the return type of a gcc2
65996 builtin and then its argument prototype would still apply. */
65997 char $ac_func ();
65998 /* The GNU C library defines this for functions which it implements
65999 to always fail with ENOSYS. Some functions are actually named
66000 something starting with __ and the normal name is an alias. */
66001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66002 choke me
66003 #else
66004 char (*f) () = $ac_func;
66005 #endif
66006 #ifdef __cplusplus
66008 #endif
66011 main ()
66013 return f != $ac_func;
66015 return 0;
66017 _ACEOF
66018 rm -f conftest.$ac_objext conftest$ac_exeext
66019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66020 (eval $ac_link) 2>conftest.er1
66021 ac_status=$?
66022 grep -v '^ *+' conftest.er1 >conftest.err
66023 rm -f conftest.er1
66024 cat conftest.err >&5
66025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66026 (exit $ac_status); } &&
66027 { ac_try='test -z "$ac_c_werror_flag"
66028 || test ! -s conftest.err'
66029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66030 (eval $ac_try) 2>&5
66031 ac_status=$?
66032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66033 (exit $ac_status); }; } &&
66034 { ac_try='test -s conftest$ac_exeext'
66035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66036 (eval $ac_try) 2>&5
66037 ac_status=$?
66038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66039 (exit $ac_status); }; }; then
66040 eval "$as_ac_var=yes"
66041 else
66042 echo "$as_me: failed program was:" >&5
66043 sed 's/^/| /' conftest.$ac_ext >&5
66045 eval "$as_ac_var=no"
66047 rm -f conftest.err conftest.$ac_objext \
66048 conftest$ac_exeext conftest.$ac_ext
66050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66052 if test `eval echo '${'$as_ac_var'}'` = yes; then
66053 cat >>confdefs.h <<_ACEOF
66054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66055 _ACEOF
66057 else
66058 ac_wfuncs=no
66060 done
66063 # Checks for wide character functions that are not required
66064 # for basic wchar_t support. Don't disable support if they are missing.
66065 # Injection of these is wrapped with guard macros.
66071 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
66073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66074 echo "$as_me:$LINENO: checking for $ac_func" >&5
66075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66076 if eval "test \"\${$as_ac_var+set}\" = set"; then
66077 echo $ECHO_N "(cached) $ECHO_C" >&6
66078 else
66079 if test x$gcc_no_link = xyes; then
66080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66082 { (exit 1); exit 1; }; }
66084 cat >conftest.$ac_ext <<_ACEOF
66085 /* confdefs.h. */
66086 _ACEOF
66087 cat confdefs.h >>conftest.$ac_ext
66088 cat >>conftest.$ac_ext <<_ACEOF
66089 /* end confdefs.h. */
66090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66092 #define $ac_func innocuous_$ac_func
66094 /* System header to define __stub macros and hopefully few prototypes,
66095 which can conflict with char $ac_func (); below.
66096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66097 <limits.h> exists even on freestanding compilers. */
66099 #ifdef __STDC__
66100 # include <limits.h>
66101 #else
66102 # include <assert.h>
66103 #endif
66105 #undef $ac_func
66107 /* Override any gcc2 internal prototype to avoid an error. */
66108 #ifdef __cplusplus
66109 extern "C"
66111 #endif
66112 /* We use char because int might match the return type of a gcc2
66113 builtin and then its argument prototype would still apply. */
66114 char $ac_func ();
66115 /* The GNU C library defines this for functions which it implements
66116 to always fail with ENOSYS. Some functions are actually named
66117 something starting with __ and the normal name is an alias. */
66118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66119 choke me
66120 #else
66121 char (*f) () = $ac_func;
66122 #endif
66123 #ifdef __cplusplus
66125 #endif
66128 main ()
66130 return f != $ac_func;
66132 return 0;
66134 _ACEOF
66135 rm -f conftest.$ac_objext conftest$ac_exeext
66136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66137 (eval $ac_link) 2>conftest.er1
66138 ac_status=$?
66139 grep -v '^ *+' conftest.er1 >conftest.err
66140 rm -f conftest.er1
66141 cat conftest.err >&5
66142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66143 (exit $ac_status); } &&
66144 { ac_try='test -z "$ac_c_werror_flag"
66145 || test ! -s conftest.err'
66146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66147 (eval $ac_try) 2>&5
66148 ac_status=$?
66149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66150 (exit $ac_status); }; } &&
66151 { ac_try='test -s conftest$ac_exeext'
66152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66153 (eval $ac_try) 2>&5
66154 ac_status=$?
66155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66156 (exit $ac_status); }; }; then
66157 eval "$as_ac_var=yes"
66158 else
66159 echo "$as_me: failed program was:" >&5
66160 sed 's/^/| /' conftest.$ac_ext >&5
66162 eval "$as_ac_var=no"
66164 rm -f conftest.err conftest.$ac_objext \
66165 conftest$ac_exeext conftest.$ac_ext
66167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66169 if test `eval echo '${'$as_ac_var'}'` = yes; then
66170 cat >>confdefs.h <<_ACEOF
66171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66172 _ACEOF
66175 done
66178 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
66179 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
66180 if test x"$has_weof" = xyes &&
66181 test x"$has_wchar_minmax" = xyes &&
66182 test x"$ac_wfuncs" = xyes;
66183 then
66184 ac_isoC99_wchar_t=yes
66185 else
66186 ac_isoC99_wchar_t=no
66188 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
66189 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
66191 # Use iconv for wchar_t to char conversions. As such, check for
66192 # X/Open Portability Guide, version 2 features (XPG2).
66193 if test "${ac_cv_header_iconv_h+set}" = set; then
66194 echo "$as_me:$LINENO: checking for iconv.h" >&5
66195 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
66196 if test "${ac_cv_header_iconv_h+set}" = set; then
66197 echo $ECHO_N "(cached) $ECHO_C" >&6
66199 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
66200 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
66201 else
66202 # Is the header compilable?
66203 echo "$as_me:$LINENO: checking iconv.h usability" >&5
66204 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
66205 cat >conftest.$ac_ext <<_ACEOF
66206 /* confdefs.h. */
66207 _ACEOF
66208 cat confdefs.h >>conftest.$ac_ext
66209 cat >>conftest.$ac_ext <<_ACEOF
66210 /* end confdefs.h. */
66211 $ac_includes_default
66212 #include <iconv.h>
66213 _ACEOF
66214 rm -f conftest.$ac_objext
66215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66216 (eval $ac_compile) 2>conftest.er1
66217 ac_status=$?
66218 grep -v '^ *+' conftest.er1 >conftest.err
66219 rm -f conftest.er1
66220 cat conftest.err >&5
66221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66222 (exit $ac_status); } &&
66223 { ac_try='test -z "$ac_c_werror_flag"
66224 || test ! -s conftest.err'
66225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66226 (eval $ac_try) 2>&5
66227 ac_status=$?
66228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66229 (exit $ac_status); }; } &&
66230 { ac_try='test -s conftest.$ac_objext'
66231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66232 (eval $ac_try) 2>&5
66233 ac_status=$?
66234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66235 (exit $ac_status); }; }; then
66236 ac_header_compiler=yes
66237 else
66238 echo "$as_me: failed program was:" >&5
66239 sed 's/^/| /' conftest.$ac_ext >&5
66241 ac_header_compiler=no
66243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66244 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
66245 echo "${ECHO_T}$ac_header_compiler" >&6
66247 # Is the header present?
66248 echo "$as_me:$LINENO: checking iconv.h presence" >&5
66249 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
66250 cat >conftest.$ac_ext <<_ACEOF
66251 /* confdefs.h. */
66252 _ACEOF
66253 cat confdefs.h >>conftest.$ac_ext
66254 cat >>conftest.$ac_ext <<_ACEOF
66255 /* end confdefs.h. */
66256 #include <iconv.h>
66257 _ACEOF
66258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
66259 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
66260 ac_status=$?
66261 grep -v '^ *+' conftest.er1 >conftest.err
66262 rm -f conftest.er1
66263 cat conftest.err >&5
66264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66265 (exit $ac_status); } >/dev/null; then
66266 if test -s conftest.err; then
66267 ac_cpp_err=$ac_c_preproc_warn_flag
66268 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
66269 else
66270 ac_cpp_err=
66272 else
66273 ac_cpp_err=yes
66275 if test -z "$ac_cpp_err"; then
66276 ac_header_preproc=yes
66277 else
66278 echo "$as_me: failed program was:" >&5
66279 sed 's/^/| /' conftest.$ac_ext >&5
66281 ac_header_preproc=no
66283 rm -f conftest.err conftest.$ac_ext
66284 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
66285 echo "${ECHO_T}$ac_header_preproc" >&6
66287 # So? What about this header?
66288 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
66289 yes:no: )
66290 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
66291 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
66292 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
66293 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
66294 ac_header_preproc=yes
66296 no:yes:* )
66297 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
66298 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
66299 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
66300 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
66301 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
66302 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
66303 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
66304 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
66305 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
66306 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
66307 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
66308 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
66310 cat <<\_ASBOX
66311 ## ----------------------------------------- ##
66312 ## Report this to the package-unused lists. ##
66313 ## ----------------------------------------- ##
66314 _ASBOX
66316 sed "s/^/$as_me: WARNING: /" >&2
66318 esac
66319 echo "$as_me:$LINENO: checking for iconv.h" >&5
66320 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
66321 if test "${ac_cv_header_iconv_h+set}" = set; then
66322 echo $ECHO_N "(cached) $ECHO_C" >&6
66323 else
66324 ac_cv_header_iconv_h=$ac_header_preproc
66326 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
66327 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
66330 if test $ac_cv_header_iconv_h = yes; then
66331 ac_has_iconv_h=yes
66332 else
66333 ac_has_iconv_h=no
66337 if test "${ac_cv_header_langinfo_h+set}" = set; then
66338 echo "$as_me:$LINENO: checking for langinfo.h" >&5
66339 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
66340 if test "${ac_cv_header_langinfo_h+set}" = set; then
66341 echo $ECHO_N "(cached) $ECHO_C" >&6
66343 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
66344 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
66345 else
66346 # Is the header compilable?
66347 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
66348 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
66349 cat >conftest.$ac_ext <<_ACEOF
66350 /* confdefs.h. */
66351 _ACEOF
66352 cat confdefs.h >>conftest.$ac_ext
66353 cat >>conftest.$ac_ext <<_ACEOF
66354 /* end confdefs.h. */
66355 $ac_includes_default
66356 #include <langinfo.h>
66357 _ACEOF
66358 rm -f conftest.$ac_objext
66359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66360 (eval $ac_compile) 2>conftest.er1
66361 ac_status=$?
66362 grep -v '^ *+' conftest.er1 >conftest.err
66363 rm -f conftest.er1
66364 cat conftest.err >&5
66365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66366 (exit $ac_status); } &&
66367 { ac_try='test -z "$ac_c_werror_flag"
66368 || test ! -s conftest.err'
66369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66370 (eval $ac_try) 2>&5
66371 ac_status=$?
66372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66373 (exit $ac_status); }; } &&
66374 { ac_try='test -s conftest.$ac_objext'
66375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66376 (eval $ac_try) 2>&5
66377 ac_status=$?
66378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66379 (exit $ac_status); }; }; then
66380 ac_header_compiler=yes
66381 else
66382 echo "$as_me: failed program was:" >&5
66383 sed 's/^/| /' conftest.$ac_ext >&5
66385 ac_header_compiler=no
66387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66388 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
66389 echo "${ECHO_T}$ac_header_compiler" >&6
66391 # Is the header present?
66392 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
66393 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
66394 cat >conftest.$ac_ext <<_ACEOF
66395 /* confdefs.h. */
66396 _ACEOF
66397 cat confdefs.h >>conftest.$ac_ext
66398 cat >>conftest.$ac_ext <<_ACEOF
66399 /* end confdefs.h. */
66400 #include <langinfo.h>
66401 _ACEOF
66402 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
66403 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
66404 ac_status=$?
66405 grep -v '^ *+' conftest.er1 >conftest.err
66406 rm -f conftest.er1
66407 cat conftest.err >&5
66408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66409 (exit $ac_status); } >/dev/null; then
66410 if test -s conftest.err; then
66411 ac_cpp_err=$ac_c_preproc_warn_flag
66412 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
66413 else
66414 ac_cpp_err=
66416 else
66417 ac_cpp_err=yes
66419 if test -z "$ac_cpp_err"; then
66420 ac_header_preproc=yes
66421 else
66422 echo "$as_me: failed program was:" >&5
66423 sed 's/^/| /' conftest.$ac_ext >&5
66425 ac_header_preproc=no
66427 rm -f conftest.err conftest.$ac_ext
66428 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
66429 echo "${ECHO_T}$ac_header_preproc" >&6
66431 # So? What about this header?
66432 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
66433 yes:no: )
66434 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
66435 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
66436 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
66437 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
66438 ac_header_preproc=yes
66440 no:yes:* )
66441 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
66442 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
66443 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
66444 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
66445 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
66446 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
66447 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
66448 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
66449 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
66450 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
66451 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
66452 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
66454 cat <<\_ASBOX
66455 ## ----------------------------------------- ##
66456 ## Report this to the package-unused lists. ##
66457 ## ----------------------------------------- ##
66458 _ASBOX
66460 sed "s/^/$as_me: WARNING: /" >&2
66462 esac
66463 echo "$as_me:$LINENO: checking for langinfo.h" >&5
66464 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
66465 if test "${ac_cv_header_langinfo_h+set}" = set; then
66466 echo $ECHO_N "(cached) $ECHO_C" >&6
66467 else
66468 ac_cv_header_langinfo_h=$ac_header_preproc
66470 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
66471 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
66474 if test $ac_cv_header_langinfo_h = yes; then
66475 ac_has_langinfo_h=yes
66476 else
66477 ac_has_langinfo_h=no
66482 # Check for existence of libiconv.a providing XPG2 wchar_t support.
66483 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
66484 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
66485 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
66486 echo $ECHO_N "(cached) $ECHO_C" >&6
66487 else
66488 ac_check_lib_save_LIBS=$LIBS
66489 LIBS="-liconv $LIBS"
66490 if test x$gcc_no_link = xyes; then
66491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66493 { (exit 1); exit 1; }; }
66495 cat >conftest.$ac_ext <<_ACEOF
66496 /* confdefs.h. */
66497 _ACEOF
66498 cat confdefs.h >>conftest.$ac_ext
66499 cat >>conftest.$ac_ext <<_ACEOF
66500 /* end confdefs.h. */
66502 /* Override any gcc2 internal prototype to avoid an error. */
66503 #ifdef __cplusplus
66504 extern "C"
66505 #endif
66506 /* We use char because int might match the return type of a gcc2
66507 builtin and then its argument prototype would still apply. */
66508 char iconv ();
66510 main ()
66512 iconv ();
66514 return 0;
66516 _ACEOF
66517 rm -f conftest.$ac_objext conftest$ac_exeext
66518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66519 (eval $ac_link) 2>conftest.er1
66520 ac_status=$?
66521 grep -v '^ *+' conftest.er1 >conftest.err
66522 rm -f conftest.er1
66523 cat conftest.err >&5
66524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66525 (exit $ac_status); } &&
66526 { ac_try='test -z "$ac_c_werror_flag"
66527 || test ! -s conftest.err'
66528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66529 (eval $ac_try) 2>&5
66530 ac_status=$?
66531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66532 (exit $ac_status); }; } &&
66533 { ac_try='test -s conftest$ac_exeext'
66534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66535 (eval $ac_try) 2>&5
66536 ac_status=$?
66537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66538 (exit $ac_status); }; }; then
66539 ac_cv_lib_iconv_iconv=yes
66540 else
66541 echo "$as_me: failed program was:" >&5
66542 sed 's/^/| /' conftest.$ac_ext >&5
66544 ac_cv_lib_iconv_iconv=no
66546 rm -f conftest.err conftest.$ac_objext \
66547 conftest$ac_exeext conftest.$ac_ext
66548 LIBS=$ac_check_lib_save_LIBS
66550 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
66551 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
66552 if test $ac_cv_lib_iconv_iconv = yes; then
66553 libiconv="-liconv"
66556 ac_save_LIBS="$LIBS"
66557 LIBS="$LIBS $libiconv"
66563 for ac_func in iconv_open iconv_close iconv nl_langinfo
66565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66566 echo "$as_me:$LINENO: checking for $ac_func" >&5
66567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66568 if eval "test \"\${$as_ac_var+set}\" = set"; then
66569 echo $ECHO_N "(cached) $ECHO_C" >&6
66570 else
66571 if test x$gcc_no_link = xyes; then
66572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66574 { (exit 1); exit 1; }; }
66576 cat >conftest.$ac_ext <<_ACEOF
66577 /* confdefs.h. */
66578 _ACEOF
66579 cat confdefs.h >>conftest.$ac_ext
66580 cat >>conftest.$ac_ext <<_ACEOF
66581 /* end confdefs.h. */
66582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66584 #define $ac_func innocuous_$ac_func
66586 /* System header to define __stub macros and hopefully few prototypes,
66587 which can conflict with char $ac_func (); below.
66588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66589 <limits.h> exists even on freestanding compilers. */
66591 #ifdef __STDC__
66592 # include <limits.h>
66593 #else
66594 # include <assert.h>
66595 #endif
66597 #undef $ac_func
66599 /* Override any gcc2 internal prototype to avoid an error. */
66600 #ifdef __cplusplus
66601 extern "C"
66603 #endif
66604 /* We use char because int might match the return type of a gcc2
66605 builtin and then its argument prototype would still apply. */
66606 char $ac_func ();
66607 /* The GNU C library defines this for functions which it implements
66608 to always fail with ENOSYS. Some functions are actually named
66609 something starting with __ and the normal name is an alias. */
66610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66611 choke me
66612 #else
66613 char (*f) () = $ac_func;
66614 #endif
66615 #ifdef __cplusplus
66617 #endif
66620 main ()
66622 return f != $ac_func;
66624 return 0;
66626 _ACEOF
66627 rm -f conftest.$ac_objext conftest$ac_exeext
66628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66629 (eval $ac_link) 2>conftest.er1
66630 ac_status=$?
66631 grep -v '^ *+' conftest.er1 >conftest.err
66632 rm -f conftest.er1
66633 cat conftest.err >&5
66634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66635 (exit $ac_status); } &&
66636 { ac_try='test -z "$ac_c_werror_flag"
66637 || test ! -s conftest.err'
66638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66639 (eval $ac_try) 2>&5
66640 ac_status=$?
66641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66642 (exit $ac_status); }; } &&
66643 { ac_try='test -s conftest$ac_exeext'
66644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66645 (eval $ac_try) 2>&5
66646 ac_status=$?
66647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66648 (exit $ac_status); }; }; then
66649 eval "$as_ac_var=yes"
66650 else
66651 echo "$as_me: failed program was:" >&5
66652 sed 's/^/| /' conftest.$ac_ext >&5
66654 eval "$as_ac_var=no"
66656 rm -f conftest.err conftest.$ac_objext \
66657 conftest$ac_exeext conftest.$ac_ext
66659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66661 if test `eval echo '${'$as_ac_var'}'` = yes; then
66662 cat >>confdefs.h <<_ACEOF
66663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66664 _ACEOF
66665 ac_XPG2funcs=yes
66666 else
66667 ac_XPG2funcs=no
66669 done
66672 LIBS="$ac_save_LIBS"
66674 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
66675 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
66676 if test x"$ac_has_iconv_h" = xyes &&
66677 test x"$ac_has_langinfo_h" = xyes &&
66678 test x"$ac_XPG2funcs" = xyes;
66679 then
66680 ac_XPG2_wchar_t=yes
66681 else
66682 ac_XPG2_wchar_t=no
66684 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
66685 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
66687 # At the moment, only enable wchar_t specializations if all the
66688 # above support is present.
66689 if test x"$ac_isoC99_wchar_t" = xyes &&
66690 test x"$ac_XPG2_wchar_t" = xyes;
66691 then
66692 cat >>confdefs.h <<\_ACEOF
66693 #define _GLIBCXX_USE_WCHAR_T 1
66694 _ACEOF
66696 enable_wchar_t=yes
66699 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
66700 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
66701 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
66702 echo "${ECHO_T}$enable_wchar_t" >&6
66704 cat >>confdefs.h <<\_ACEOF
66705 #define HAVE_COSF 1
66706 _ACEOF
66708 cat >>confdefs.h <<\_ACEOF
66709 #define HAVE_COSL 1
66710 _ACEOF
66712 cat >>confdefs.h <<\_ACEOF
66713 #define HAVE_COSHF 1
66714 _ACEOF
66716 cat >>confdefs.h <<\_ACEOF
66717 #define HAVE_COSHL 1
66718 _ACEOF
66720 cat >>confdefs.h <<\_ACEOF
66721 #define HAVE_LOGF 1
66722 _ACEOF
66724 cat >>confdefs.h <<\_ACEOF
66725 #define HAVE_LOGL 1
66726 _ACEOF
66728 cat >>confdefs.h <<\_ACEOF
66729 #define HAVE_LOG10F 1
66730 _ACEOF
66732 cat >>confdefs.h <<\_ACEOF
66733 #define HAVE_LOG10L 1
66734 _ACEOF
66736 cat >>confdefs.h <<\_ACEOF
66737 #define HAVE_SINF 1
66738 _ACEOF
66740 cat >>confdefs.h <<\_ACEOF
66741 #define HAVE_SINL 1
66742 _ACEOF
66744 cat >>confdefs.h <<\_ACEOF
66745 #define HAVE_SINHF 1
66746 _ACEOF
66748 cat >>confdefs.h <<\_ACEOF
66749 #define HAVE_SINHL 1
66750 _ACEOF
66753 *-solaris*)
66754 case "$target" in
66755 # *-solaris2.5)
66756 # os_include_dir="os/solaris/solaris2.5"
66757 # ;;
66758 # *-solaris2.6)
66759 # os_include_dir="os/solaris/solaris2.6"
66760 # ;;
66761 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
66762 cat >>confdefs.h <<\_ACEOF
66763 #define HAVE_GETPAGESIZE 1
66764 _ACEOF
66766 cat >>confdefs.h <<\_ACEOF
66767 #define HAVE_SIGSETJMP 1
66768 _ACEOF
66770 cat >>confdefs.h <<\_ACEOF
66771 #define HAVE_MBSTATE_T 1
66772 _ACEOF
66774 cat >>confdefs.h <<\_ACEOF
66775 #define HAVE_POLL 1
66776 _ACEOF
66778 cat >>confdefs.h <<\_ACEOF
66779 #define HAVE_S_ISREG 1
66780 _ACEOF
66782 cat >>confdefs.h <<\_ACEOF
66783 #define HAVE_LC_MESSAGES 1
66784 _ACEOF
66786 cat >>confdefs.h <<\_ACEOF
66787 #define HAVE_BTOWC 1
66788 _ACEOF
66790 cat >>confdefs.h <<\_ACEOF
66791 #define HAVE_FGETWC 1
66792 _ACEOF
66794 cat >>confdefs.h <<\_ACEOF
66795 #define HAVE_FGETWS 1
66796 _ACEOF
66798 cat >>confdefs.h <<\_ACEOF
66799 #define HAVE_FINITE 1
66800 _ACEOF
66802 cat >>confdefs.h <<\_ACEOF
66803 #define HAVE_FPCLASS 1
66804 _ACEOF
66806 cat >>confdefs.h <<\_ACEOF
66807 #define HAVE_FPUTWC 1
66808 _ACEOF
66810 cat >>confdefs.h <<\_ACEOF
66811 #define HAVE_FPUTWS 1
66812 _ACEOF
66814 cat >>confdefs.h <<\_ACEOF
66815 #define HAVE_FWIDE 1
66816 _ACEOF
66818 cat >>confdefs.h <<\_ACEOF
66819 #define HAVE_FWPRINTF 1
66820 _ACEOF
66822 cat >>confdefs.h <<\_ACEOF
66823 #define HAVE_FWSCANF 1
66824 _ACEOF
66826 cat >>confdefs.h <<\_ACEOF
66827 #define HAVE_GETPAGESIZE 1
66828 _ACEOF
66830 cat >>confdefs.h <<\_ACEOF
66831 #define HAVE_GETWC 1
66832 _ACEOF
66834 cat >>confdefs.h <<\_ACEOF
66835 #define HAVE_GETWCHAR 1
66836 _ACEOF
66838 cat >>confdefs.h <<\_ACEOF
66839 #define HAVE_MBRLEN 1
66840 _ACEOF
66842 cat >>confdefs.h <<\_ACEOF
66843 #define HAVE_MBRTOWC 1
66844 _ACEOF
66846 cat >>confdefs.h <<\_ACEOF
66847 #define HAVE_MBSINIT 1
66848 _ACEOF
66850 cat >>confdefs.h <<\_ACEOF
66851 #define HAVE_MBSRTOWCS 1
66852 _ACEOF
66854 cat >>confdefs.h <<\_ACEOF
66855 #define HAVE_NL_LANGINFO 1
66856 _ACEOF
66858 cat >>confdefs.h <<\_ACEOF
66859 #define HAVE_PUTWC 1
66860 _ACEOF
66862 cat >>confdefs.h <<\_ACEOF
66863 #define HAVE_PUTWCHAR 1
66864 _ACEOF
66866 cat >>confdefs.h <<\_ACEOF
66867 #define HAVE_SWPRINTF 1
66868 _ACEOF
66870 cat >>confdefs.h <<\_ACEOF
66871 #define HAVE_SWSCANF 1
66872 _ACEOF
66874 cat >>confdefs.h <<\_ACEOF
66875 #define HAVE_UNGETWC 1
66876 _ACEOF
66878 cat >>confdefs.h <<\_ACEOF
66879 #define HAVE_VFWPRINTF 1
66880 _ACEOF
66882 cat >>confdefs.h <<\_ACEOF
66883 #define HAVE_VSWPRINTF 1
66884 _ACEOF
66886 cat >>confdefs.h <<\_ACEOF
66887 #define HAVE_VWPRINTF 1
66888 _ACEOF
66890 cat >>confdefs.h <<\_ACEOF
66891 #define HAVE_WCRTOMB 1
66892 _ACEOF
66894 cat >>confdefs.h <<\_ACEOF
66895 #define HAVE_WCSCAT 1
66896 _ACEOF
66898 cat >>confdefs.h <<\_ACEOF
66899 #define HAVE_WCSCHR 1
66900 _ACEOF
66902 cat >>confdefs.h <<\_ACEOF
66903 #define HAVE_WCSCMP 1
66904 _ACEOF
66906 cat >>confdefs.h <<\_ACEOF
66907 #define HAVE_WCSCOLL 1
66908 _ACEOF
66910 cat >>confdefs.h <<\_ACEOF
66911 #define HAVE_WCSCPY 1
66912 _ACEOF
66914 cat >>confdefs.h <<\_ACEOF
66915 #define HAVE_WCSCSPN 1
66916 _ACEOF
66918 cat >>confdefs.h <<\_ACEOF
66919 #define HAVE_WCSFTIME 1
66920 _ACEOF
66922 cat >>confdefs.h <<\_ACEOF
66923 #define HAVE_WCSLEN 1
66924 _ACEOF
66926 cat >>confdefs.h <<\_ACEOF
66927 #define HAVE_WCSNCAT 1
66928 _ACEOF
66930 cat >>confdefs.h <<\_ACEOF
66931 #define HAVE_WCSNCMP 1
66932 _ACEOF
66934 cat >>confdefs.h <<\_ACEOF
66935 #define HAVE_WCSNCPY 1
66936 _ACEOF
66938 cat >>confdefs.h <<\_ACEOF
66939 #define HAVE_WCSPBRK 1
66940 _ACEOF
66942 cat >>confdefs.h <<\_ACEOF
66943 #define HAVE_WCSRCHR 1
66944 _ACEOF
66946 cat >>confdefs.h <<\_ACEOF
66947 #define HAVE_WCSRTOMBS 1
66948 _ACEOF
66950 cat >>confdefs.h <<\_ACEOF
66951 #define HAVE_WCSSPN 1
66952 _ACEOF
66954 cat >>confdefs.h <<\_ACEOF
66955 #define HAVE_WCSSTR 1
66956 _ACEOF
66958 cat >>confdefs.h <<\_ACEOF
66959 #define HAVE_WCSTOD 1
66960 _ACEOF
66962 cat >>confdefs.h <<\_ACEOF
66963 #define HAVE_WCSTOK 1
66964 _ACEOF
66966 cat >>confdefs.h <<\_ACEOF
66967 #define HAVE_WCSTOL 1
66968 _ACEOF
66970 cat >>confdefs.h <<\_ACEOF
66971 #define HAVE_WCSTOUL 1
66972 _ACEOF
66974 cat >>confdefs.h <<\_ACEOF
66975 #define HAVE_WCSXFRM 1
66976 _ACEOF
66978 cat >>confdefs.h <<\_ACEOF
66979 #define HAVE_WCTOB 1
66980 _ACEOF
66982 cat >>confdefs.h <<\_ACEOF
66983 #define HAVE_WMEMCHR 1
66984 _ACEOF
66986 cat >>confdefs.h <<\_ACEOF
66987 #define HAVE_WMEMCMP 1
66988 _ACEOF
66990 cat >>confdefs.h <<\_ACEOF
66991 #define HAVE_WMEMCPY 1
66992 _ACEOF
66994 cat >>confdefs.h <<\_ACEOF
66995 #define HAVE_WMEMMOVE 1
66996 _ACEOF
66998 cat >>confdefs.h <<\_ACEOF
66999 #define HAVE_WMEMSET 1
67000 _ACEOF
67002 cat >>confdefs.h <<\_ACEOF
67003 #define HAVE_WPRINTF 1
67004 _ACEOF
67006 cat >>confdefs.h <<\_ACEOF
67007 #define HAVE_WSCANF 1
67008 _ACEOF
67010 cat >>confdefs.h <<\_ACEOF
67011 #define HAVE_ICONV 1
67012 _ACEOF
67014 cat >>confdefs.h <<\_ACEOF
67015 #define HAVE_ICONV_CLOSE 1
67016 _ACEOF
67018 cat >>confdefs.h <<\_ACEOF
67019 #define HAVE_ICONV_OPEN 1
67020 _ACEOF
67022 # Look for the pieces required for wchar_t support in order to
67023 # get all the right HAVE_* macros defined.
67025 # Test wchar.h for mbstate_t, which is needed for char_traits and
67026 # others even if wchar_t support is not on.
67027 echo "$as_me:$LINENO: checking for mbstate_t" >&5
67028 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
67029 cat >conftest.$ac_ext <<_ACEOF
67030 /* confdefs.h. */
67031 _ACEOF
67032 cat confdefs.h >>conftest.$ac_ext
67033 cat >>conftest.$ac_ext <<_ACEOF
67034 /* end confdefs.h. */
67035 #include <wchar.h>
67037 main ()
67039 mbstate_t teststate;
67041 return 0;
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 have_mbstate_t=yes
67067 else
67068 echo "$as_me: failed program was:" >&5
67069 sed 's/^/| /' conftest.$ac_ext >&5
67071 have_mbstate_t=no
67073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67074 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
67075 echo "${ECHO_T}$have_mbstate_t" >&6
67076 if test x"$have_mbstate_t" = xyes; then
67077 cat >>confdefs.h <<\_ACEOF
67078 #define HAVE_MBSTATE_T 1
67079 _ACEOF
67083 # Sanity check for existence of ISO C99 headers for extended encoding.
67085 for ac_header in wchar.h
67087 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
67088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
67089 echo "$as_me:$LINENO: checking for $ac_header" >&5
67090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
67091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
67092 echo $ECHO_N "(cached) $ECHO_C" >&6
67094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
67095 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
67096 else
67097 # Is the header compilable?
67098 echo "$as_me:$LINENO: checking $ac_header usability" >&5
67099 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
67100 cat >conftest.$ac_ext <<_ACEOF
67101 /* confdefs.h. */
67102 _ACEOF
67103 cat confdefs.h >>conftest.$ac_ext
67104 cat >>conftest.$ac_ext <<_ACEOF
67105 /* end confdefs.h. */
67106 $ac_includes_default
67107 #include <$ac_header>
67108 _ACEOF
67109 rm -f conftest.$ac_objext
67110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67111 (eval $ac_compile) 2>conftest.er1
67112 ac_status=$?
67113 grep -v '^ *+' conftest.er1 >conftest.err
67114 rm -f conftest.er1
67115 cat conftest.err >&5
67116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67117 (exit $ac_status); } &&
67118 { ac_try='test -z "$ac_c_werror_flag"
67119 || test ! -s conftest.err'
67120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67121 (eval $ac_try) 2>&5
67122 ac_status=$?
67123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67124 (exit $ac_status); }; } &&
67125 { ac_try='test -s conftest.$ac_objext'
67126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67127 (eval $ac_try) 2>&5
67128 ac_status=$?
67129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67130 (exit $ac_status); }; }; then
67131 ac_header_compiler=yes
67132 else
67133 echo "$as_me: failed program was:" >&5
67134 sed 's/^/| /' conftest.$ac_ext >&5
67136 ac_header_compiler=no
67138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67139 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
67140 echo "${ECHO_T}$ac_header_compiler" >&6
67142 # Is the header present?
67143 echo "$as_me:$LINENO: checking $ac_header presence" >&5
67144 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
67145 cat >conftest.$ac_ext <<_ACEOF
67146 /* confdefs.h. */
67147 _ACEOF
67148 cat confdefs.h >>conftest.$ac_ext
67149 cat >>conftest.$ac_ext <<_ACEOF
67150 /* end confdefs.h. */
67151 #include <$ac_header>
67152 _ACEOF
67153 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
67154 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
67155 ac_status=$?
67156 grep -v '^ *+' conftest.er1 >conftest.err
67157 rm -f conftest.er1
67158 cat conftest.err >&5
67159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67160 (exit $ac_status); } >/dev/null; then
67161 if test -s conftest.err; then
67162 ac_cpp_err=$ac_c_preproc_warn_flag
67163 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
67164 else
67165 ac_cpp_err=
67167 else
67168 ac_cpp_err=yes
67170 if test -z "$ac_cpp_err"; then
67171 ac_header_preproc=yes
67172 else
67173 echo "$as_me: failed program was:" >&5
67174 sed 's/^/| /' conftest.$ac_ext >&5
67176 ac_header_preproc=no
67178 rm -f conftest.err conftest.$ac_ext
67179 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
67180 echo "${ECHO_T}$ac_header_preproc" >&6
67182 # So? What about this header?
67183 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
67184 yes:no: )
67185 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
67186 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
67187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
67188 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
67189 ac_header_preproc=yes
67191 no:yes:* )
67192 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
67193 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
67194 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
67195 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
67196 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
67197 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
67198 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
67199 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
67200 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
67201 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
67202 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
67203 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
67205 cat <<\_ASBOX
67206 ## ----------------------------------------- ##
67207 ## Report this to the package-unused lists. ##
67208 ## ----------------------------------------- ##
67209 _ASBOX
67211 sed "s/^/$as_me: WARNING: /" >&2
67213 esac
67214 echo "$as_me:$LINENO: checking for $ac_header" >&5
67215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
67216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
67217 echo $ECHO_N "(cached) $ECHO_C" >&6
67218 else
67219 eval "$as_ac_Header=\$ac_header_preproc"
67221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
67222 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
67225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
67226 cat >>confdefs.h <<_ACEOF
67227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
67228 _ACEOF
67229 ac_has_wchar_h=yes
67230 else
67231 ac_has_wchar_h=no
67234 done
67237 for ac_header in wctype.h
67239 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
67240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
67241 echo "$as_me:$LINENO: checking for $ac_header" >&5
67242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
67243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
67244 echo $ECHO_N "(cached) $ECHO_C" >&6
67246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
67247 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
67248 else
67249 # Is the header compilable?
67250 echo "$as_me:$LINENO: checking $ac_header usability" >&5
67251 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
67252 cat >conftest.$ac_ext <<_ACEOF
67253 /* confdefs.h. */
67254 _ACEOF
67255 cat confdefs.h >>conftest.$ac_ext
67256 cat >>conftest.$ac_ext <<_ACEOF
67257 /* end confdefs.h. */
67258 $ac_includes_default
67259 #include <$ac_header>
67260 _ACEOF
67261 rm -f conftest.$ac_objext
67262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67263 (eval $ac_compile) 2>conftest.er1
67264 ac_status=$?
67265 grep -v '^ *+' conftest.er1 >conftest.err
67266 rm -f conftest.er1
67267 cat conftest.err >&5
67268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67269 (exit $ac_status); } &&
67270 { ac_try='test -z "$ac_c_werror_flag"
67271 || test ! -s conftest.err'
67272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67273 (eval $ac_try) 2>&5
67274 ac_status=$?
67275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67276 (exit $ac_status); }; } &&
67277 { ac_try='test -s conftest.$ac_objext'
67278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67279 (eval $ac_try) 2>&5
67280 ac_status=$?
67281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67282 (exit $ac_status); }; }; then
67283 ac_header_compiler=yes
67284 else
67285 echo "$as_me: failed program was:" >&5
67286 sed 's/^/| /' conftest.$ac_ext >&5
67288 ac_header_compiler=no
67290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67291 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
67292 echo "${ECHO_T}$ac_header_compiler" >&6
67294 # Is the header present?
67295 echo "$as_me:$LINENO: checking $ac_header presence" >&5
67296 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
67297 cat >conftest.$ac_ext <<_ACEOF
67298 /* confdefs.h. */
67299 _ACEOF
67300 cat confdefs.h >>conftest.$ac_ext
67301 cat >>conftest.$ac_ext <<_ACEOF
67302 /* end confdefs.h. */
67303 #include <$ac_header>
67304 _ACEOF
67305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
67306 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
67307 ac_status=$?
67308 grep -v '^ *+' conftest.er1 >conftest.err
67309 rm -f conftest.er1
67310 cat conftest.err >&5
67311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67312 (exit $ac_status); } >/dev/null; then
67313 if test -s conftest.err; then
67314 ac_cpp_err=$ac_c_preproc_warn_flag
67315 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
67316 else
67317 ac_cpp_err=
67319 else
67320 ac_cpp_err=yes
67322 if test -z "$ac_cpp_err"; then
67323 ac_header_preproc=yes
67324 else
67325 echo "$as_me: failed program was:" >&5
67326 sed 's/^/| /' conftest.$ac_ext >&5
67328 ac_header_preproc=no
67330 rm -f conftest.err conftest.$ac_ext
67331 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
67332 echo "${ECHO_T}$ac_header_preproc" >&6
67334 # So? What about this header?
67335 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
67336 yes:no: )
67337 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
67338 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
67339 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
67340 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
67341 ac_header_preproc=yes
67343 no:yes:* )
67344 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
67345 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
67346 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
67347 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
67348 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
67349 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
67350 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
67351 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
67352 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
67353 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
67354 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
67355 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
67357 cat <<\_ASBOX
67358 ## ----------------------------------------- ##
67359 ## Report this to the package-unused lists. ##
67360 ## ----------------------------------------- ##
67361 _ASBOX
67363 sed "s/^/$as_me: WARNING: /" >&2
67365 esac
67366 echo "$as_me:$LINENO: checking for $ac_header" >&5
67367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
67368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
67369 echo $ECHO_N "(cached) $ECHO_C" >&6
67370 else
67371 eval "$as_ac_Header=\$ac_header_preproc"
67373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
67374 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
67377 if test `eval echo '${'$as_ac_Header'}'` = yes; then
67378 cat >>confdefs.h <<_ACEOF
67379 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
67380 _ACEOF
67381 ac_has_wctype_h=yes
67382 else
67383 ac_has_wctype_h=no
67386 done
67389 # Only continue checking if the ISO C99 headers exist and support is on.
67390 if test x"$ac_has_wchar_h" = xyes &&
67391 test x"$ac_has_wctype_h" = xyes &&
67392 test x"$enable_c_mbchar" != xno; then
67394 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
67395 # numeric_limits can instantiate type_traits<wchar_t>
67396 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
67397 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
67398 cat >conftest.$ac_ext <<_ACEOF
67399 /* confdefs.h. */
67400 _ACEOF
67401 cat confdefs.h >>conftest.$ac_ext
67402 cat >>conftest.$ac_ext <<_ACEOF
67403 /* end confdefs.h. */
67404 #include <wchar.h>
67406 main ()
67408 int i = WCHAR_MIN; int j = WCHAR_MAX;
67410 return 0;
67412 _ACEOF
67413 rm -f conftest.$ac_objext
67414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67415 (eval $ac_compile) 2>conftest.er1
67416 ac_status=$?
67417 grep -v '^ *+' conftest.er1 >conftest.err
67418 rm -f conftest.er1
67419 cat conftest.err >&5
67420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67421 (exit $ac_status); } &&
67422 { ac_try='test -z "$ac_c_werror_flag"
67423 || test ! -s conftest.err'
67424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67425 (eval $ac_try) 2>&5
67426 ac_status=$?
67427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67428 (exit $ac_status); }; } &&
67429 { ac_try='test -s conftest.$ac_objext'
67430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67431 (eval $ac_try) 2>&5
67432 ac_status=$?
67433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67434 (exit $ac_status); }; }; then
67435 has_wchar_minmax=yes
67436 else
67437 echo "$as_me: failed program was:" >&5
67438 sed 's/^/| /' conftest.$ac_ext >&5
67440 has_wchar_minmax=no
67442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67443 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
67444 echo "${ECHO_T}$has_wchar_minmax" >&6
67446 # Test wchar.h for WEOF, which is what we use to determine whether
67447 # to specialize for char_traits<wchar_t> or not.
67448 echo "$as_me:$LINENO: checking for WEOF" >&5
67449 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
67450 cat >conftest.$ac_ext <<_ACEOF
67451 /* confdefs.h. */
67452 _ACEOF
67453 cat confdefs.h >>conftest.$ac_ext
67454 cat >>conftest.$ac_ext <<_ACEOF
67455 /* end confdefs.h. */
67457 #include <wchar.h>
67458 #include <stddef.h>
67460 main ()
67462 wint_t i = WEOF;
67464 return 0;
67466 _ACEOF
67467 rm -f conftest.$ac_objext
67468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67469 (eval $ac_compile) 2>conftest.er1
67470 ac_status=$?
67471 grep -v '^ *+' conftest.er1 >conftest.err
67472 rm -f conftest.er1
67473 cat conftest.err >&5
67474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67475 (exit $ac_status); } &&
67476 { ac_try='test -z "$ac_c_werror_flag"
67477 || test ! -s conftest.err'
67478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67479 (eval $ac_try) 2>&5
67480 ac_status=$?
67481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67482 (exit $ac_status); }; } &&
67483 { ac_try='test -s conftest.$ac_objext'
67484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67485 (eval $ac_try) 2>&5
67486 ac_status=$?
67487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67488 (exit $ac_status); }; }; then
67489 has_weof=yes
67490 else
67491 echo "$as_me: failed program was:" >&5
67492 sed 's/^/| /' conftest.$ac_ext >&5
67494 has_weof=no
67496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67497 echo "$as_me:$LINENO: result: $has_weof" >&5
67498 echo "${ECHO_T}$has_weof" >&6
67500 # Tests for wide character functions used in char_traits<wchar_t>.
67501 ac_wfuncs=yes
67508 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
67510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67511 echo "$as_me:$LINENO: checking for $ac_func" >&5
67512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67513 if eval "test \"\${$as_ac_var+set}\" = set"; then
67514 echo $ECHO_N "(cached) $ECHO_C" >&6
67515 else
67516 if test x$gcc_no_link = xyes; then
67517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67519 { (exit 1); exit 1; }; }
67521 cat >conftest.$ac_ext <<_ACEOF
67522 /* confdefs.h. */
67523 _ACEOF
67524 cat confdefs.h >>conftest.$ac_ext
67525 cat >>conftest.$ac_ext <<_ACEOF
67526 /* end confdefs.h. */
67527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67529 #define $ac_func innocuous_$ac_func
67531 /* System header to define __stub macros and hopefully few prototypes,
67532 which can conflict with char $ac_func (); below.
67533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67534 <limits.h> exists even on freestanding compilers. */
67536 #ifdef __STDC__
67537 # include <limits.h>
67538 #else
67539 # include <assert.h>
67540 #endif
67542 #undef $ac_func
67544 /* Override any gcc2 internal prototype to avoid an error. */
67545 #ifdef __cplusplus
67546 extern "C"
67548 #endif
67549 /* We use char because int might match the return type of a gcc2
67550 builtin and then its argument prototype would still apply. */
67551 char $ac_func ();
67552 /* The GNU C library defines this for functions which it implements
67553 to always fail with ENOSYS. Some functions are actually named
67554 something starting with __ and the normal name is an alias. */
67555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67556 choke me
67557 #else
67558 char (*f) () = $ac_func;
67559 #endif
67560 #ifdef __cplusplus
67562 #endif
67565 main ()
67567 return f != $ac_func;
67569 return 0;
67571 _ACEOF
67572 rm -f conftest.$ac_objext conftest$ac_exeext
67573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67574 (eval $ac_link) 2>conftest.er1
67575 ac_status=$?
67576 grep -v '^ *+' conftest.er1 >conftest.err
67577 rm -f conftest.er1
67578 cat conftest.err >&5
67579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67580 (exit $ac_status); } &&
67581 { ac_try='test -z "$ac_c_werror_flag"
67582 || test ! -s conftest.err'
67583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67584 (eval $ac_try) 2>&5
67585 ac_status=$?
67586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67587 (exit $ac_status); }; } &&
67588 { ac_try='test -s conftest$ac_exeext'
67589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67590 (eval $ac_try) 2>&5
67591 ac_status=$?
67592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67593 (exit $ac_status); }; }; then
67594 eval "$as_ac_var=yes"
67595 else
67596 echo "$as_me: failed program was:" >&5
67597 sed 's/^/| /' conftest.$ac_ext >&5
67599 eval "$as_ac_var=no"
67601 rm -f conftest.err conftest.$ac_objext \
67602 conftest$ac_exeext conftest.$ac_ext
67604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67606 if test `eval echo '${'$as_ac_var'}'` = yes; then
67607 cat >>confdefs.h <<_ACEOF
67608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67609 _ACEOF
67611 else
67612 ac_wfuncs=no
67614 done
67617 # Checks for names injected into std:: by the c_std headers.
67664 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
67665 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
67666 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
67667 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
67668 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
67669 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
67671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67672 echo "$as_me:$LINENO: checking for $ac_func" >&5
67673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67674 if eval "test \"\${$as_ac_var+set}\" = set"; then
67675 echo $ECHO_N "(cached) $ECHO_C" >&6
67676 else
67677 if test x$gcc_no_link = xyes; then
67678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67680 { (exit 1); exit 1; }; }
67682 cat >conftest.$ac_ext <<_ACEOF
67683 /* confdefs.h. */
67684 _ACEOF
67685 cat confdefs.h >>conftest.$ac_ext
67686 cat >>conftest.$ac_ext <<_ACEOF
67687 /* end confdefs.h. */
67688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67690 #define $ac_func innocuous_$ac_func
67692 /* System header to define __stub macros and hopefully few prototypes,
67693 which can conflict with char $ac_func (); below.
67694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67695 <limits.h> exists even on freestanding compilers. */
67697 #ifdef __STDC__
67698 # include <limits.h>
67699 #else
67700 # include <assert.h>
67701 #endif
67703 #undef $ac_func
67705 /* Override any gcc2 internal prototype to avoid an error. */
67706 #ifdef __cplusplus
67707 extern "C"
67709 #endif
67710 /* We use char because int might match the return type of a gcc2
67711 builtin and then its argument prototype would still apply. */
67712 char $ac_func ();
67713 /* The GNU C library defines this for functions which it implements
67714 to always fail with ENOSYS. Some functions are actually named
67715 something starting with __ and the normal name is an alias. */
67716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67717 choke me
67718 #else
67719 char (*f) () = $ac_func;
67720 #endif
67721 #ifdef __cplusplus
67723 #endif
67726 main ()
67728 return f != $ac_func;
67730 return 0;
67732 _ACEOF
67733 rm -f conftest.$ac_objext conftest$ac_exeext
67734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67735 (eval $ac_link) 2>conftest.er1
67736 ac_status=$?
67737 grep -v '^ *+' conftest.er1 >conftest.err
67738 rm -f conftest.er1
67739 cat conftest.err >&5
67740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67741 (exit $ac_status); } &&
67742 { ac_try='test -z "$ac_c_werror_flag"
67743 || test ! -s conftest.err'
67744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67745 (eval $ac_try) 2>&5
67746 ac_status=$?
67747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67748 (exit $ac_status); }; } &&
67749 { ac_try='test -s conftest$ac_exeext'
67750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67751 (eval $ac_try) 2>&5
67752 ac_status=$?
67753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67754 (exit $ac_status); }; }; then
67755 eval "$as_ac_var=yes"
67756 else
67757 echo "$as_me: failed program was:" >&5
67758 sed 's/^/| /' conftest.$ac_ext >&5
67760 eval "$as_ac_var=no"
67762 rm -f conftest.err conftest.$ac_objext \
67763 conftest$ac_exeext conftest.$ac_ext
67765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67767 if test `eval echo '${'$as_ac_var'}'` = yes; then
67768 cat >>confdefs.h <<_ACEOF
67769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67770 _ACEOF
67772 else
67773 ac_wfuncs=no
67775 done
67778 # Checks for wide character functions that are not required
67779 # for basic wchar_t support. Don't disable support if they are missing.
67780 # Injection of these is wrapped with guard macros.
67786 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
67788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67789 echo "$as_me:$LINENO: checking for $ac_func" >&5
67790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67791 if eval "test \"\${$as_ac_var+set}\" = set"; then
67792 echo $ECHO_N "(cached) $ECHO_C" >&6
67793 else
67794 if test x$gcc_no_link = xyes; then
67795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67797 { (exit 1); exit 1; }; }
67799 cat >conftest.$ac_ext <<_ACEOF
67800 /* confdefs.h. */
67801 _ACEOF
67802 cat confdefs.h >>conftest.$ac_ext
67803 cat >>conftest.$ac_ext <<_ACEOF
67804 /* end confdefs.h. */
67805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67807 #define $ac_func innocuous_$ac_func
67809 /* System header to define __stub macros and hopefully few prototypes,
67810 which can conflict with char $ac_func (); below.
67811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67812 <limits.h> exists even on freestanding compilers. */
67814 #ifdef __STDC__
67815 # include <limits.h>
67816 #else
67817 # include <assert.h>
67818 #endif
67820 #undef $ac_func
67822 /* Override any gcc2 internal prototype to avoid an error. */
67823 #ifdef __cplusplus
67824 extern "C"
67826 #endif
67827 /* We use char because int might match the return type of a gcc2
67828 builtin and then its argument prototype would still apply. */
67829 char $ac_func ();
67830 /* The GNU C library defines this for functions which it implements
67831 to always fail with ENOSYS. Some functions are actually named
67832 something starting with __ and the normal name is an alias. */
67833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67834 choke me
67835 #else
67836 char (*f) () = $ac_func;
67837 #endif
67838 #ifdef __cplusplus
67840 #endif
67843 main ()
67845 return f != $ac_func;
67847 return 0;
67849 _ACEOF
67850 rm -f conftest.$ac_objext conftest$ac_exeext
67851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67852 (eval $ac_link) 2>conftest.er1
67853 ac_status=$?
67854 grep -v '^ *+' conftest.er1 >conftest.err
67855 rm -f conftest.er1
67856 cat conftest.err >&5
67857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67858 (exit $ac_status); } &&
67859 { ac_try='test -z "$ac_c_werror_flag"
67860 || test ! -s conftest.err'
67861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67862 (eval $ac_try) 2>&5
67863 ac_status=$?
67864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67865 (exit $ac_status); }; } &&
67866 { ac_try='test -s conftest$ac_exeext'
67867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67868 (eval $ac_try) 2>&5
67869 ac_status=$?
67870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67871 (exit $ac_status); }; }; then
67872 eval "$as_ac_var=yes"
67873 else
67874 echo "$as_me: failed program was:" >&5
67875 sed 's/^/| /' conftest.$ac_ext >&5
67877 eval "$as_ac_var=no"
67879 rm -f conftest.err conftest.$ac_objext \
67880 conftest$ac_exeext conftest.$ac_ext
67882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67884 if test `eval echo '${'$as_ac_var'}'` = yes; then
67885 cat >>confdefs.h <<_ACEOF
67886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67887 _ACEOF
67890 done
67893 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
67894 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
67895 if test x"$has_weof" = xyes &&
67896 test x"$has_wchar_minmax" = xyes &&
67897 test x"$ac_wfuncs" = xyes;
67898 then
67899 ac_isoC99_wchar_t=yes
67900 else
67901 ac_isoC99_wchar_t=no
67903 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
67904 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
67906 # Use iconv for wchar_t to char conversions. As such, check for
67907 # X/Open Portability Guide, version 2 features (XPG2).
67908 if test "${ac_cv_header_iconv_h+set}" = set; then
67909 echo "$as_me:$LINENO: checking for iconv.h" >&5
67910 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
67911 if test "${ac_cv_header_iconv_h+set}" = set; then
67912 echo $ECHO_N "(cached) $ECHO_C" >&6
67914 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
67915 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
67916 else
67917 # Is the header compilable?
67918 echo "$as_me:$LINENO: checking iconv.h usability" >&5
67919 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
67920 cat >conftest.$ac_ext <<_ACEOF
67921 /* confdefs.h. */
67922 _ACEOF
67923 cat confdefs.h >>conftest.$ac_ext
67924 cat >>conftest.$ac_ext <<_ACEOF
67925 /* end confdefs.h. */
67926 $ac_includes_default
67927 #include <iconv.h>
67928 _ACEOF
67929 rm -f conftest.$ac_objext
67930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67931 (eval $ac_compile) 2>conftest.er1
67932 ac_status=$?
67933 grep -v '^ *+' conftest.er1 >conftest.err
67934 rm -f conftest.er1
67935 cat conftest.err >&5
67936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67937 (exit $ac_status); } &&
67938 { ac_try='test -z "$ac_c_werror_flag"
67939 || test ! -s conftest.err'
67940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67941 (eval $ac_try) 2>&5
67942 ac_status=$?
67943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67944 (exit $ac_status); }; } &&
67945 { ac_try='test -s conftest.$ac_objext'
67946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67947 (eval $ac_try) 2>&5
67948 ac_status=$?
67949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67950 (exit $ac_status); }; }; then
67951 ac_header_compiler=yes
67952 else
67953 echo "$as_me: failed program was:" >&5
67954 sed 's/^/| /' conftest.$ac_ext >&5
67956 ac_header_compiler=no
67958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67959 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
67960 echo "${ECHO_T}$ac_header_compiler" >&6
67962 # Is the header present?
67963 echo "$as_me:$LINENO: checking iconv.h presence" >&5
67964 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
67965 cat >conftest.$ac_ext <<_ACEOF
67966 /* confdefs.h. */
67967 _ACEOF
67968 cat confdefs.h >>conftest.$ac_ext
67969 cat >>conftest.$ac_ext <<_ACEOF
67970 /* end confdefs.h. */
67971 #include <iconv.h>
67972 _ACEOF
67973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
67974 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
67975 ac_status=$?
67976 grep -v '^ *+' conftest.er1 >conftest.err
67977 rm -f conftest.er1
67978 cat conftest.err >&5
67979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67980 (exit $ac_status); } >/dev/null; then
67981 if test -s conftest.err; then
67982 ac_cpp_err=$ac_c_preproc_warn_flag
67983 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
67984 else
67985 ac_cpp_err=
67987 else
67988 ac_cpp_err=yes
67990 if test -z "$ac_cpp_err"; then
67991 ac_header_preproc=yes
67992 else
67993 echo "$as_me: failed program was:" >&5
67994 sed 's/^/| /' conftest.$ac_ext >&5
67996 ac_header_preproc=no
67998 rm -f conftest.err conftest.$ac_ext
67999 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
68000 echo "${ECHO_T}$ac_header_preproc" >&6
68002 # So? What about this header?
68003 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
68004 yes:no: )
68005 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
68006 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
68007 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
68008 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
68009 ac_header_preproc=yes
68011 no:yes:* )
68012 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
68013 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
68014 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
68015 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
68016 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
68017 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
68018 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
68019 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
68020 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
68021 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
68022 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
68023 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
68025 cat <<\_ASBOX
68026 ## ----------------------------------------- ##
68027 ## Report this to the package-unused lists. ##
68028 ## ----------------------------------------- ##
68029 _ASBOX
68031 sed "s/^/$as_me: WARNING: /" >&2
68033 esac
68034 echo "$as_me:$LINENO: checking for iconv.h" >&5
68035 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
68036 if test "${ac_cv_header_iconv_h+set}" = set; then
68037 echo $ECHO_N "(cached) $ECHO_C" >&6
68038 else
68039 ac_cv_header_iconv_h=$ac_header_preproc
68041 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
68042 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
68045 if test $ac_cv_header_iconv_h = yes; then
68046 ac_has_iconv_h=yes
68047 else
68048 ac_has_iconv_h=no
68052 if test "${ac_cv_header_langinfo_h+set}" = set; then
68053 echo "$as_me:$LINENO: checking for langinfo.h" >&5
68054 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
68055 if test "${ac_cv_header_langinfo_h+set}" = set; then
68056 echo $ECHO_N "(cached) $ECHO_C" >&6
68058 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
68059 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
68060 else
68061 # Is the header compilable?
68062 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
68063 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
68064 cat >conftest.$ac_ext <<_ACEOF
68065 /* confdefs.h. */
68066 _ACEOF
68067 cat confdefs.h >>conftest.$ac_ext
68068 cat >>conftest.$ac_ext <<_ACEOF
68069 /* end confdefs.h. */
68070 $ac_includes_default
68071 #include <langinfo.h>
68072 _ACEOF
68073 rm -f conftest.$ac_objext
68074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68075 (eval $ac_compile) 2>conftest.er1
68076 ac_status=$?
68077 grep -v '^ *+' conftest.er1 >conftest.err
68078 rm -f conftest.er1
68079 cat conftest.err >&5
68080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68081 (exit $ac_status); } &&
68082 { ac_try='test -z "$ac_c_werror_flag"
68083 || test ! -s conftest.err'
68084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68085 (eval $ac_try) 2>&5
68086 ac_status=$?
68087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68088 (exit $ac_status); }; } &&
68089 { ac_try='test -s conftest.$ac_objext'
68090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68091 (eval $ac_try) 2>&5
68092 ac_status=$?
68093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68094 (exit $ac_status); }; }; then
68095 ac_header_compiler=yes
68096 else
68097 echo "$as_me: failed program was:" >&5
68098 sed 's/^/| /' conftest.$ac_ext >&5
68100 ac_header_compiler=no
68102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68103 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
68104 echo "${ECHO_T}$ac_header_compiler" >&6
68106 # Is the header present?
68107 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
68108 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
68109 cat >conftest.$ac_ext <<_ACEOF
68110 /* confdefs.h. */
68111 _ACEOF
68112 cat confdefs.h >>conftest.$ac_ext
68113 cat >>conftest.$ac_ext <<_ACEOF
68114 /* end confdefs.h. */
68115 #include <langinfo.h>
68116 _ACEOF
68117 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
68118 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
68119 ac_status=$?
68120 grep -v '^ *+' conftest.er1 >conftest.err
68121 rm -f conftest.er1
68122 cat conftest.err >&5
68123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68124 (exit $ac_status); } >/dev/null; then
68125 if test -s conftest.err; then
68126 ac_cpp_err=$ac_c_preproc_warn_flag
68127 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
68128 else
68129 ac_cpp_err=
68131 else
68132 ac_cpp_err=yes
68134 if test -z "$ac_cpp_err"; then
68135 ac_header_preproc=yes
68136 else
68137 echo "$as_me: failed program was:" >&5
68138 sed 's/^/| /' conftest.$ac_ext >&5
68140 ac_header_preproc=no
68142 rm -f conftest.err conftest.$ac_ext
68143 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
68144 echo "${ECHO_T}$ac_header_preproc" >&6
68146 # So? What about this header?
68147 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
68148 yes:no: )
68149 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
68150 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
68151 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
68152 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
68153 ac_header_preproc=yes
68155 no:yes:* )
68156 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
68157 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
68158 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
68159 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
68160 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
68161 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
68162 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
68163 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
68164 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
68165 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
68166 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
68167 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
68169 cat <<\_ASBOX
68170 ## ----------------------------------------- ##
68171 ## Report this to the package-unused lists. ##
68172 ## ----------------------------------------- ##
68173 _ASBOX
68175 sed "s/^/$as_me: WARNING: /" >&2
68177 esac
68178 echo "$as_me:$LINENO: checking for langinfo.h" >&5
68179 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
68180 if test "${ac_cv_header_langinfo_h+set}" = set; then
68181 echo $ECHO_N "(cached) $ECHO_C" >&6
68182 else
68183 ac_cv_header_langinfo_h=$ac_header_preproc
68185 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
68186 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
68189 if test $ac_cv_header_langinfo_h = yes; then
68190 ac_has_langinfo_h=yes
68191 else
68192 ac_has_langinfo_h=no
68197 # Check for existence of libiconv.a providing XPG2 wchar_t support.
68198 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
68199 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
68200 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
68201 echo $ECHO_N "(cached) $ECHO_C" >&6
68202 else
68203 ac_check_lib_save_LIBS=$LIBS
68204 LIBS="-liconv $LIBS"
68205 if test x$gcc_no_link = xyes; then
68206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68208 { (exit 1); exit 1; }; }
68210 cat >conftest.$ac_ext <<_ACEOF
68211 /* confdefs.h. */
68212 _ACEOF
68213 cat confdefs.h >>conftest.$ac_ext
68214 cat >>conftest.$ac_ext <<_ACEOF
68215 /* end confdefs.h. */
68217 /* Override any gcc2 internal prototype to avoid an error. */
68218 #ifdef __cplusplus
68219 extern "C"
68220 #endif
68221 /* We use char because int might match the return type of a gcc2
68222 builtin and then its argument prototype would still apply. */
68223 char iconv ();
68225 main ()
68227 iconv ();
68229 return 0;
68231 _ACEOF
68232 rm -f conftest.$ac_objext conftest$ac_exeext
68233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68234 (eval $ac_link) 2>conftest.er1
68235 ac_status=$?
68236 grep -v '^ *+' conftest.er1 >conftest.err
68237 rm -f conftest.er1
68238 cat conftest.err >&5
68239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68240 (exit $ac_status); } &&
68241 { ac_try='test -z "$ac_c_werror_flag"
68242 || test ! -s conftest.err'
68243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68244 (eval $ac_try) 2>&5
68245 ac_status=$?
68246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68247 (exit $ac_status); }; } &&
68248 { ac_try='test -s conftest$ac_exeext'
68249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68250 (eval $ac_try) 2>&5
68251 ac_status=$?
68252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68253 (exit $ac_status); }; }; then
68254 ac_cv_lib_iconv_iconv=yes
68255 else
68256 echo "$as_me: failed program was:" >&5
68257 sed 's/^/| /' conftest.$ac_ext >&5
68259 ac_cv_lib_iconv_iconv=no
68261 rm -f conftest.err conftest.$ac_objext \
68262 conftest$ac_exeext conftest.$ac_ext
68263 LIBS=$ac_check_lib_save_LIBS
68265 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
68266 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
68267 if test $ac_cv_lib_iconv_iconv = yes; then
68268 libiconv="-liconv"
68271 ac_save_LIBS="$LIBS"
68272 LIBS="$LIBS $libiconv"
68278 for ac_func in iconv_open iconv_close iconv nl_langinfo
68280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68281 echo "$as_me:$LINENO: checking for $ac_func" >&5
68282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68283 if eval "test \"\${$as_ac_var+set}\" = set"; then
68284 echo $ECHO_N "(cached) $ECHO_C" >&6
68285 else
68286 if test x$gcc_no_link = xyes; then
68287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68289 { (exit 1); exit 1; }; }
68291 cat >conftest.$ac_ext <<_ACEOF
68292 /* confdefs.h. */
68293 _ACEOF
68294 cat confdefs.h >>conftest.$ac_ext
68295 cat >>conftest.$ac_ext <<_ACEOF
68296 /* end confdefs.h. */
68297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68299 #define $ac_func innocuous_$ac_func
68301 /* System header to define __stub macros and hopefully few prototypes,
68302 which can conflict with char $ac_func (); below.
68303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68304 <limits.h> exists even on freestanding compilers. */
68306 #ifdef __STDC__
68307 # include <limits.h>
68308 #else
68309 # include <assert.h>
68310 #endif
68312 #undef $ac_func
68314 /* Override any gcc2 internal prototype to avoid an error. */
68315 #ifdef __cplusplus
68316 extern "C"
68318 #endif
68319 /* We use char because int might match the return type of a gcc2
68320 builtin and then its argument prototype would still apply. */
68321 char $ac_func ();
68322 /* The GNU C library defines this for functions which it implements
68323 to always fail with ENOSYS. Some functions are actually named
68324 something starting with __ and the normal name is an alias. */
68325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68326 choke me
68327 #else
68328 char (*f) () = $ac_func;
68329 #endif
68330 #ifdef __cplusplus
68332 #endif
68335 main ()
68337 return f != $ac_func;
68339 return 0;
68341 _ACEOF
68342 rm -f conftest.$ac_objext conftest$ac_exeext
68343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68344 (eval $ac_link) 2>conftest.er1
68345 ac_status=$?
68346 grep -v '^ *+' conftest.er1 >conftest.err
68347 rm -f conftest.er1
68348 cat conftest.err >&5
68349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68350 (exit $ac_status); } &&
68351 { ac_try='test -z "$ac_c_werror_flag"
68352 || test ! -s conftest.err'
68353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68354 (eval $ac_try) 2>&5
68355 ac_status=$?
68356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68357 (exit $ac_status); }; } &&
68358 { ac_try='test -s conftest$ac_exeext'
68359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68360 (eval $ac_try) 2>&5
68361 ac_status=$?
68362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68363 (exit $ac_status); }; }; then
68364 eval "$as_ac_var=yes"
68365 else
68366 echo "$as_me: failed program was:" >&5
68367 sed 's/^/| /' conftest.$ac_ext >&5
68369 eval "$as_ac_var=no"
68371 rm -f conftest.err conftest.$ac_objext \
68372 conftest$ac_exeext conftest.$ac_ext
68374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68376 if test `eval echo '${'$as_ac_var'}'` = yes; then
68377 cat >>confdefs.h <<_ACEOF
68378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68379 _ACEOF
68380 ac_XPG2funcs=yes
68381 else
68382 ac_XPG2funcs=no
68384 done
68387 LIBS="$ac_save_LIBS"
68389 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
68390 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
68391 if test x"$ac_has_iconv_h" = xyes &&
68392 test x"$ac_has_langinfo_h" = xyes &&
68393 test x"$ac_XPG2funcs" = xyes;
68394 then
68395 ac_XPG2_wchar_t=yes
68396 else
68397 ac_XPG2_wchar_t=no
68399 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
68400 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
68402 # At the moment, only enable wchar_t specializations if all the
68403 # above support is present.
68404 if test x"$ac_isoC99_wchar_t" = xyes &&
68405 test x"$ac_XPG2_wchar_t" = xyes;
68406 then
68407 cat >>confdefs.h <<\_ACEOF
68408 #define _GLIBCXX_USE_WCHAR_T 1
68409 _ACEOF
68411 enable_wchar_t=yes
68414 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
68415 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
68416 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
68417 echo "${ECHO_T}$enable_wchar_t" >&6
68419 # All of the dependencies for wide character support are here, so
68420 # turn it on. This requires some syncronization with the
68421 # GLIBCXX_CHECK_WCHAR_T_SUPPORT in acinclude.m4
68422 cat >>confdefs.h <<\_ACEOF
68423 #define _GLIBCXX_USE_WCHAR_T 1
68424 _ACEOF
68426 # Are these tested for even when cross?
68427 cat >>confdefs.h <<\_ACEOF
68428 #define HAVE_FLOAT_H 1
68429 _ACEOF
68431 cat >>confdefs.h <<\_ACEOF
68432 #define HAVE_IEEEFP_H 1
68433 _ACEOF
68435 cat >>confdefs.h <<\_ACEOF
68436 #define HAVE_INTTYPES_H 1
68437 _ACEOF
68439 cat >>confdefs.h <<\_ACEOF
68440 #define HAVE_LOCALE_H 1
68441 _ACEOF
68443 cat >>confdefs.h <<\_ACEOF
68444 #define HAVE_NAN_H 1
68445 _ACEOF
68447 cat >>confdefs.h <<\_ACEOF
68448 #define HAVE_SYS_FILIO_H 1
68449 _ACEOF
68451 cat >>confdefs.h <<\_ACEOF
68452 #define HAVE_SYS_IOCTL_H 1
68453 _ACEOF
68455 cat >>confdefs.h <<\_ACEOF
68456 #define HAVE_SYS_ISA_DEFS_H 1
68457 _ACEOF
68459 cat >>confdefs.h <<\_ACEOF
68460 #define HAVE_SYS_RESOURCE_H 1
68461 _ACEOF
68463 cat >>confdefs.h <<\_ACEOF
68464 #define HAVE_SYS_TIME_H 1
68465 _ACEOF
68467 cat >>confdefs.h <<\_ACEOF
68468 #define HAVE_SYS_TYPES_H 1
68469 _ACEOF
68471 cat >>confdefs.h <<\_ACEOF
68472 #define HAVE_UNISTD_H 1
68473 _ACEOF
68475 cat >>confdefs.h <<\_ACEOF
68476 #define HAVE_WCHAR_H 1
68477 _ACEOF
68479 cat >>confdefs.h <<\_ACEOF
68480 #define HAVE_WCTYPE_H 1
68481 _ACEOF
68483 cat >>confdefs.h <<\_ACEOF
68484 #define HAVE_LIBM 1
68485 _ACEOF
68488 esac
68489 case "$target" in
68490 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
68491 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
68492 cat >>confdefs.h <<\_ACEOF
68493 #define HAVE___BUILTIN_ABS 1
68494 _ACEOF
68496 cat >>confdefs.h <<\_ACEOF
68497 #define HAVE___BUILTIN_LABS 1
68498 _ACEOF
68500 cat >>confdefs.h <<\_ACEOF
68501 #define HAVE___BUILTIN_FABS 1
68502 _ACEOF
68504 cat >>confdefs.h <<\_ACEOF
68505 #define HAVE___BUILTIN_FABSF 1
68506 _ACEOF
68508 cat >>confdefs.h <<\_ACEOF
68509 #define HAVE___BUILTIN_FABSL 1
68510 _ACEOF
68512 cat >>confdefs.h <<\_ACEOF
68513 #define HAVE___BUILTIN_COS 1
68514 _ACEOF
68516 cat >>confdefs.h <<\_ACEOF
68517 #define HAVE___BUILTIN_COSF 1
68518 _ACEOF
68520 cat >>confdefs.h <<\_ACEOF
68521 #define HAVE___BUILTIN_SIN 1
68522 _ACEOF
68524 cat >>confdefs.h <<\_ACEOF
68525 #define HAVE___BUILTIN_SINF 1
68526 _ACEOF
68529 esac
68530 cat >>confdefs.h <<\_ACEOF
68531 #define HAVE_STRTOF 1
68532 _ACEOF
68534 cat >>confdefs.h <<\_ACEOF
68535 #define HAVE_STRTOLD 1
68536 _ACEOF
68538 cat >>confdefs.h <<\_ACEOF
68539 #define HAVE_MMAP 1
68540 _ACEOF
68542 cat >>confdefs.h <<\_ACEOF
68543 #define HAVE_COPYSIGN 1
68544 _ACEOF
68546 cat >>confdefs.h <<\_ACEOF
68547 #define HAVE_ISNAN 1
68548 _ACEOF
68550 cat >>confdefs.h <<\_ACEOF
68551 #define HAVE_ISNANF 1
68552 _ACEOF
68554 cat >>confdefs.h <<\_ACEOF
68555 #define HAVE_MODFF 1
68556 _ACEOF
68558 cat >>confdefs.h <<\_ACEOF
68559 #define HAVE_HYPOT 1
68560 _ACEOF
68563 *-vxworks)
68564 cat >>confdefs.h <<\_ACEOF
68565 #define HAVE_MMAP 1
68566 _ACEOF
68568 cat >>confdefs.h <<\_ACEOF
68569 #define HAVE_ACOSF 1
68570 _ACEOF
68572 cat >>confdefs.h <<\_ACEOF
68573 #define HAVE_ASINF 1
68574 _ACEOF
68576 cat >>confdefs.h <<\_ACEOF
68577 #define HAVE_ATAN2F 1
68578 _ACEOF
68580 cat >>confdefs.h <<\_ACEOF
68581 #define HAVE_ATANF 1
68582 _ACEOF
68584 cat >>confdefs.h <<\_ACEOF
68585 #define HAVE_CEILF 1
68586 _ACEOF
68588 cat >>confdefs.h <<\_ACEOF
68589 #define HAVE_COSF 1
68590 _ACEOF
68592 cat >>confdefs.h <<\_ACEOF
68593 #define HAVE_COSHF 1
68594 _ACEOF
68596 cat >>confdefs.h <<\_ACEOF
68597 #define HAVE_EXPF 1
68598 _ACEOF
68600 cat >>confdefs.h <<\_ACEOF
68601 #define HAVE_FABSF 1
68602 _ACEOF
68604 cat >>confdefs.h <<\_ACEOF
68605 #define HAVE_FLOORF 1
68606 _ACEOF
68608 cat >>confdefs.h <<\_ACEOF
68609 #define HAVE_FMODF 1
68610 _ACEOF
68612 cat >>confdefs.h <<\_ACEOF
68613 #define HAVE_HYPOT 1
68614 _ACEOF
68616 cat >>confdefs.h <<\_ACEOF
68617 #define HAVE_LOG10F 1
68618 _ACEOF
68620 cat >>confdefs.h <<\_ACEOF
68621 #define HAVE_LOGF 1
68622 _ACEOF
68624 cat >>confdefs.h <<\_ACEOF
68625 #define HAVE_POWF 1
68626 _ACEOF
68628 cat >>confdefs.h <<\_ACEOF
68629 #define HAVE_SINF 1
68630 _ACEOF
68632 cat >>confdefs.h <<\_ACEOF
68633 #define HAVE_SINHF 1
68634 _ACEOF
68636 cat >>confdefs.h <<\_ACEOF
68637 #define HAVE_SQRTF 1
68638 _ACEOF
68640 cat >>confdefs.h <<\_ACEOF
68641 #define HAVE_TANF 1
68642 _ACEOF
68644 cat >>confdefs.h <<\_ACEOF
68645 #define HAVE_TANHF 1
68646 _ACEOF
68649 *-windiss*)
68650 cat >>confdefs.h <<\_ACEOF
68651 #define HAVE_ACOSF 1
68652 _ACEOF
68654 cat >>confdefs.h <<\_ACEOF
68655 #define HAVE_ACOSL 1
68656 _ACEOF
68658 cat >>confdefs.h <<\_ACEOF
68659 #define HAVE_ASINF 1
68660 _ACEOF
68662 cat >>confdefs.h <<\_ACEOF
68663 #define HAVE_ASINL 1
68664 _ACEOF
68666 cat >>confdefs.h <<\_ACEOF
68667 #define HAVE_ATAN2F 1
68668 _ACEOF
68670 cat >>confdefs.h <<\_ACEOF
68671 #define HAVE_ATAN2L 1
68672 _ACEOF
68674 cat >>confdefs.h <<\_ACEOF
68675 #define HAVE_ATANF 1
68676 _ACEOF
68678 cat >>confdefs.h <<\_ACEOF
68679 #define HAVE_ATANL 1
68680 _ACEOF
68682 cat >>confdefs.h <<\_ACEOF
68683 #define HAVE_CEILF 1
68684 _ACEOF
68686 cat >>confdefs.h <<\_ACEOF
68687 #define HAVE_CEILL 1
68688 _ACEOF
68690 cat >>confdefs.h <<\_ACEOF
68691 #define HAVE_COPYSIGN 1
68692 _ACEOF
68694 cat >>confdefs.h <<\_ACEOF
68695 #define HAVE_COPYSIGNF 1
68696 _ACEOF
68698 cat >>confdefs.h <<\_ACEOF
68699 #define HAVE_COSF 1
68700 _ACEOF
68702 cat >>confdefs.h <<\_ACEOF
68703 #define HAVE_COSL 1
68704 _ACEOF
68706 cat >>confdefs.h <<\_ACEOF
68707 #define HAVE_COSHF 1
68708 _ACEOF
68710 cat >>confdefs.h <<\_ACEOF
68711 #define HAVE_COSHL 1
68712 _ACEOF
68714 cat >>confdefs.h <<\_ACEOF
68715 #define HAVE_EXPF 1
68716 _ACEOF
68718 cat >>confdefs.h <<\_ACEOF
68719 #define HAVE_EXPL 1
68720 _ACEOF
68722 cat >>confdefs.h <<\_ACEOF
68723 #define HAVE_FABSF 1
68724 _ACEOF
68726 cat >>confdefs.h <<\_ACEOF
68727 #define HAVE_FABSL 1
68728 _ACEOF
68730 cat >>confdefs.h <<\_ACEOF
68731 #define HAVE_FLOORF 1
68732 _ACEOF
68734 cat >>confdefs.h <<\_ACEOF
68735 #define HAVE_FLOORL 1
68736 _ACEOF
68738 cat >>confdefs.h <<\_ACEOF
68739 #define HAVE_FMODF 1
68740 _ACEOF
68742 cat >>confdefs.h <<\_ACEOF
68743 #define HAVE_FMODL 1
68744 _ACEOF
68746 cat >>confdefs.h <<\_ACEOF
68747 #define HAVE_FREXPF 1
68748 _ACEOF
68750 cat >>confdefs.h <<\_ACEOF
68751 #define HAVE_FREXPL 1
68752 _ACEOF
68754 cat >>confdefs.h <<\_ACEOF
68755 #define HAVE_LDEXPF 1
68756 _ACEOF
68758 cat >>confdefs.h <<\_ACEOF
68759 #define HAVE_LDEXPL 1
68760 _ACEOF
68762 cat >>confdefs.h <<\_ACEOF
68763 #define HAVE_LOG10F 1
68764 _ACEOF
68766 cat >>confdefs.h <<\_ACEOF
68767 #define HAVE_LOG10L 1
68768 _ACEOF
68770 cat >>confdefs.h <<\_ACEOF
68771 #define HAVE_LOGF 1
68772 _ACEOF
68774 cat >>confdefs.h <<\_ACEOF
68775 #define HAVE_MODFF 1
68776 _ACEOF
68778 cat >>confdefs.h <<\_ACEOF
68779 #define HAVE_MODFL 1
68780 _ACEOF
68782 cat >>confdefs.h <<\_ACEOF
68783 #define HAVE_POWF 1
68784 _ACEOF
68786 cat >>confdefs.h <<\_ACEOF
68787 #define HAVE_POWL 1
68788 _ACEOF
68790 cat >>confdefs.h <<\_ACEOF
68791 #define HAVE_SINF 1
68792 _ACEOF
68794 cat >>confdefs.h <<\_ACEOF
68795 #define HAVE_SINL 1
68796 _ACEOF
68798 cat >>confdefs.h <<\_ACEOF
68799 #define HAVE_SINHF 1
68800 _ACEOF
68802 cat >>confdefs.h <<\_ACEOF
68803 #define HAVE_SINHL 1
68804 _ACEOF
68806 cat >>confdefs.h <<\_ACEOF
68807 #define HAVE_SQRTF 1
68808 _ACEOF
68810 cat >>confdefs.h <<\_ACEOF
68811 #define HAVE_SQRTL 1
68812 _ACEOF
68814 cat >>confdefs.h <<\_ACEOF
68815 #define HAVE_TANF 1
68816 _ACEOF
68818 cat >>confdefs.h <<\_ACEOF
68819 #define HAVE_TANL 1
68820 _ACEOF
68822 cat >>confdefs.h <<\_ACEOF
68823 #define HAVE_TANHF 1
68824 _ACEOF
68826 cat >>confdefs.h <<\_ACEOF
68827 #define HAVE_TANHL 1
68828 _ACEOF
68832 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
68833 echo "$as_me: error: No support for this host/target combination." >&2;}
68834 { (exit 1); exit 1; }; }
68836 esac
68841 # At some point, we should differentiate between architectures
68842 # like x86, which have long double versions, and alpha/powerpc/etc.,
68843 # which don't. For the time being, punt.
68844 if test x"long_double_math_on_this_cpu" = x"yes"; then
68845 cat >>confdefs.h <<\_ACEOF
68846 #define HAVE_ACOSL 1
68847 _ACEOF
68849 cat >>confdefs.h <<\_ACEOF
68850 #define HAVE_ASINL 1
68851 _ACEOF
68853 cat >>confdefs.h <<\_ACEOF
68854 #define HAVE_ATAN2L 1
68855 _ACEOF
68857 cat >>confdefs.h <<\_ACEOF
68858 #define HAVE_ATANL 1
68859 _ACEOF
68861 cat >>confdefs.h <<\_ACEOF
68862 #define HAVE_CEILL 1
68863 _ACEOF
68865 cat >>confdefs.h <<\_ACEOF
68866 #define HAVE_COPYSIGNL 1
68867 _ACEOF
68869 cat >>confdefs.h <<\_ACEOF
68870 #define HAVE_COSL 1
68871 _ACEOF
68873 cat >>confdefs.h <<\_ACEOF
68874 #define HAVE_COSHL 1
68875 _ACEOF
68877 cat >>confdefs.h <<\_ACEOF
68878 #define HAVE_EXPL 1
68879 _ACEOF
68881 cat >>confdefs.h <<\_ACEOF
68882 #define HAVE_FABSL 1
68883 _ACEOF
68885 cat >>confdefs.h <<\_ACEOF
68886 #define HAVE_FLOORL 1
68887 _ACEOF
68889 cat >>confdefs.h <<\_ACEOF
68890 #define HAVE_FMODL 1
68891 _ACEOF
68893 cat >>confdefs.h <<\_ACEOF
68894 #define HAVE_FREXPL 1
68895 _ACEOF
68897 cat >>confdefs.h <<\_ACEOF
68898 #define HAVE_LDEXPL 1
68899 _ACEOF
68901 cat >>confdefs.h <<\_ACEOF
68902 #define HAVE_LOG10L 1
68903 _ACEOF
68905 cat >>confdefs.h <<\_ACEOF
68906 #define HAVE_LOGL 1
68907 _ACEOF
68909 cat >>confdefs.h <<\_ACEOF
68910 #define HAVE_MODFL 1
68911 _ACEOF
68913 cat >>confdefs.h <<\_ACEOF
68914 #define HAVE_POWL 1
68915 _ACEOF
68917 cat >>confdefs.h <<\_ACEOF
68918 #define HAVE_SINCOSL 1
68919 _ACEOF
68921 cat >>confdefs.h <<\_ACEOF
68922 #define HAVE_SINL 1
68923 _ACEOF
68925 cat >>confdefs.h <<\_ACEOF
68926 #define HAVE_SINHL 1
68927 _ACEOF
68929 cat >>confdefs.h <<\_ACEOF
68930 #define HAVE_SQRTL 1
68931 _ACEOF
68933 cat >>confdefs.h <<\_ACEOF
68934 #define HAVE_TANL 1
68935 _ACEOF
68937 cat >>confdefs.h <<\_ACEOF
68938 #define HAVE_TANHL 1
68939 _ACEOF
68945 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
68948 # Check whether --enable-symvers or --disable-symvers was given.
68949 if test "${enable_symvers+set}" = set; then
68950 enableval="$enable_symvers"
68952 case "$enableval" in
68953 yes|no|gnu) ;;
68954 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
68955 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
68956 { (exit 1); exit 1; }; } ;;
68957 esac
68959 else
68960 enable_symvers=yes
68964 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
68965 # don't know enough about $LD to do tricks...
68967 # FIXME The following test is too strict, in theory.
68968 if test $enable_shared = no ||
68969 test "x$LD" = x ||
68970 test x$glibcxx_gnu_ld_version = x; then
68971 enable_symvers=no
68974 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
68975 if test $enable_symvers != no; then
68976 echo "$as_me:$LINENO: checking for shared libgcc" >&5
68977 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
68978 ac_save_CFLAGS="$CFLAGS"
68979 CFLAGS=' -lgcc_s'
68980 if test x$gcc_no_link = xyes; then
68981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68983 { (exit 1); exit 1; }; }
68985 cat >conftest.$ac_ext <<_ACEOF
68986 /* confdefs.h. */
68987 _ACEOF
68988 cat confdefs.h >>conftest.$ac_ext
68989 cat >>conftest.$ac_ext <<_ACEOF
68990 /* end confdefs.h. */
68993 main ()
68995 return 0;
68997 return 0;
68999 _ACEOF
69000 rm -f conftest.$ac_objext conftest$ac_exeext
69001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69002 (eval $ac_link) 2>conftest.er1
69003 ac_status=$?
69004 grep -v '^ *+' conftest.er1 >conftest.err
69005 rm -f conftest.er1
69006 cat conftest.err >&5
69007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69008 (exit $ac_status); } &&
69009 { ac_try='test -z "$ac_c_werror_flag"
69010 || test ! -s conftest.err'
69011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69012 (eval $ac_try) 2>&5
69013 ac_status=$?
69014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69015 (exit $ac_status); }; } &&
69016 { ac_try='test -s conftest$ac_exeext'
69017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69018 (eval $ac_try) 2>&5
69019 ac_status=$?
69020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69021 (exit $ac_status); }; }; then
69022 glibcxx_shared_libgcc=yes
69023 else
69024 echo "$as_me: failed program was:" >&5
69025 sed 's/^/| /' conftest.$ac_ext >&5
69027 glibcxx_shared_libgcc=no
69029 rm -f conftest.err conftest.$ac_objext \
69030 conftest$ac_exeext conftest.$ac_ext
69031 CFLAGS="$ac_save_CFLAGS"
69032 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
69033 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
69036 # For GNU ld, we need at least this version. The format is described in
69037 # GLIBCXX_CHECK_LINKER_FEATURES above.
69038 glibcxx_min_gnu_ld_version=21400
69039 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
69041 # Check to see if unspecified "yes" value can win, given results above.
69042 # Change "yes" into either "no" or a style name.
69043 if test $enable_symvers = yes; then
69044 if test $with_gnu_ld = yes &&
69045 test $glibcxx_shared_libgcc = yes;
69046 then
69047 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
69048 enable_symvers=gnu
69049 else
69050 # The right tools, the right setup, but too old. Fallbacks?
69051 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
69052 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
69053 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
69054 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
69055 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
69056 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
69057 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
69058 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
69059 if test $glibcxx_gnu_ld_version -ge 21200 ; then
69060 # Globbing fix is present, proper block support is not.
69061 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
69062 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
69063 enable_symvers=no
69064 else
69065 # 2.11 or older.
69066 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
69067 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
69068 enable_symvers=no
69071 else
69072 # just fail for now
69073 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
69074 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
69075 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
69076 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
69077 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
69078 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
69079 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
69080 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
69081 enable_symvers=no
69085 # Everything parsed; figure out what file to use.
69086 case $enable_symvers in
69088 SYMVER_MAP=config/linker-map.dummy
69090 gnu)
69091 SYMVER_MAP=config/linker-map.gnu
69092 cat >>confdefs.h <<\_ACEOF
69093 #define _GLIBCXX_SYMVER 1
69094 _ACEOF
69097 esac
69102 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
69103 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
69106 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
69108 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
69109 # Do checks for memory limit functions.
69111 setrlimit_have_headers=yes
69115 for ac_header in unistd.h sys/time.h sys/resource.h
69117 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
69118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
69119 echo "$as_me:$LINENO: checking for $ac_header" >&5
69120 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
69121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
69122 echo $ECHO_N "(cached) $ECHO_C" >&6
69124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
69125 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
69126 else
69127 # Is the header compilable?
69128 echo "$as_me:$LINENO: checking $ac_header usability" >&5
69129 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
69130 cat >conftest.$ac_ext <<_ACEOF
69131 /* confdefs.h. */
69132 _ACEOF
69133 cat confdefs.h >>conftest.$ac_ext
69134 cat >>conftest.$ac_ext <<_ACEOF
69135 /* end confdefs.h. */
69136 $ac_includes_default
69137 #include <$ac_header>
69138 _ACEOF
69139 rm -f conftest.$ac_objext
69140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69141 (eval $ac_compile) 2>conftest.er1
69142 ac_status=$?
69143 grep -v '^ *+' conftest.er1 >conftest.err
69144 rm -f conftest.er1
69145 cat conftest.err >&5
69146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69147 (exit $ac_status); } &&
69148 { ac_try='test -z "$ac_c_werror_flag"
69149 || test ! -s conftest.err'
69150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69151 (eval $ac_try) 2>&5
69152 ac_status=$?
69153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69154 (exit $ac_status); }; } &&
69155 { ac_try='test -s conftest.$ac_objext'
69156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69157 (eval $ac_try) 2>&5
69158 ac_status=$?
69159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69160 (exit $ac_status); }; }; then
69161 ac_header_compiler=yes
69162 else
69163 echo "$as_me: failed program was:" >&5
69164 sed 's/^/| /' conftest.$ac_ext >&5
69166 ac_header_compiler=no
69168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69169 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
69170 echo "${ECHO_T}$ac_header_compiler" >&6
69172 # Is the header present?
69173 echo "$as_me:$LINENO: checking $ac_header presence" >&5
69174 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
69175 cat >conftest.$ac_ext <<_ACEOF
69176 /* confdefs.h. */
69177 _ACEOF
69178 cat confdefs.h >>conftest.$ac_ext
69179 cat >>conftest.$ac_ext <<_ACEOF
69180 /* end confdefs.h. */
69181 #include <$ac_header>
69182 _ACEOF
69183 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
69184 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
69185 ac_status=$?
69186 grep -v '^ *+' conftest.er1 >conftest.err
69187 rm -f conftest.er1
69188 cat conftest.err >&5
69189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69190 (exit $ac_status); } >/dev/null; then
69191 if test -s conftest.err; then
69192 ac_cpp_err=$ac_c_preproc_warn_flag
69193 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
69194 else
69195 ac_cpp_err=
69197 else
69198 ac_cpp_err=yes
69200 if test -z "$ac_cpp_err"; then
69201 ac_header_preproc=yes
69202 else
69203 echo "$as_me: failed program was:" >&5
69204 sed 's/^/| /' conftest.$ac_ext >&5
69206 ac_header_preproc=no
69208 rm -f conftest.err conftest.$ac_ext
69209 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
69210 echo "${ECHO_T}$ac_header_preproc" >&6
69212 # So? What about this header?
69213 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
69214 yes:no: )
69215 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
69216 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
69217 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
69218 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
69219 ac_header_preproc=yes
69221 no:yes:* )
69222 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
69223 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
69224 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
69225 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
69226 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
69227 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
69228 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
69229 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
69230 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
69231 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
69232 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
69233 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
69235 cat <<\_ASBOX
69236 ## ----------------------------------------- ##
69237 ## Report this to the package-unused lists. ##
69238 ## ----------------------------------------- ##
69239 _ASBOX
69241 sed "s/^/$as_me: WARNING: /" >&2
69243 esac
69244 echo "$as_me:$LINENO: checking for $ac_header" >&5
69245 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
69246 if eval "test \"\${$as_ac_Header+set}\" = set"; then
69247 echo $ECHO_N "(cached) $ECHO_C" >&6
69248 else
69249 eval "$as_ac_Header=\$ac_header_preproc"
69251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
69252 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
69255 if test `eval echo '${'$as_ac_Header'}'` = yes; then
69256 cat >>confdefs.h <<_ACEOF
69257 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
69258 _ACEOF
69260 else
69261 setrlimit_have_headers=no
69264 done
69266 # If don't have the headers, then we can't run the tests now, and we
69267 # won't be seeing any of these during testsuite compilation.
69268 if test $setrlimit_have_headers = yes; then
69269 # Can't do these in a loop, else the resulting syntax is wrong.
69271 cat >conftest.$ac_ext <<_ACEOF
69272 /* confdefs.h. */
69273 _ACEOF
69274 cat confdefs.h >>conftest.$ac_ext
69275 cat >>conftest.$ac_ext <<_ACEOF
69276 /* end confdefs.h. */
69277 #include <unistd.h>
69278 #include <sys/time.h>
69279 #include <sys/resource.h>
69282 main ()
69284 int f = RLIMIT_DATA ;
69286 return 0;
69288 _ACEOF
69289 rm -f conftest.$ac_objext
69290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69291 (eval $ac_compile) 2>conftest.er1
69292 ac_status=$?
69293 grep -v '^ *+' conftest.er1 >conftest.err
69294 rm -f conftest.er1
69295 cat conftest.err >&5
69296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69297 (exit $ac_status); } &&
69298 { ac_try='test -z "$ac_c_werror_flag"
69299 || test ! -s conftest.err'
69300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69301 (eval $ac_try) 2>&5
69302 ac_status=$?
69303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69304 (exit $ac_status); }; } &&
69305 { ac_try='test -s conftest.$ac_objext'
69306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69307 (eval $ac_try) 2>&5
69308 ac_status=$?
69309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69310 (exit $ac_status); }; }; then
69311 glibcxx_mresult=1
69312 else
69313 echo "$as_me: failed program was:" >&5
69314 sed 's/^/| /' conftest.$ac_ext >&5
69316 glibcxx_mresult=0
69318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69320 cat >>confdefs.h <<_ACEOF
69321 #define HAVE_MEMLIMIT_DATA $glibcxx_mresult
69322 _ACEOF
69326 cat >conftest.$ac_ext <<_ACEOF
69327 /* confdefs.h. */
69328 _ACEOF
69329 cat confdefs.h >>conftest.$ac_ext
69330 cat >>conftest.$ac_ext <<_ACEOF
69331 /* end confdefs.h. */
69332 #include <unistd.h>
69333 #include <sys/time.h>
69334 #include <sys/resource.h>
69337 main ()
69339 int f = RLIMIT_RSS ;
69341 return 0;
69343 _ACEOF
69344 rm -f conftest.$ac_objext
69345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69346 (eval $ac_compile) 2>conftest.er1
69347 ac_status=$?
69348 grep -v '^ *+' conftest.er1 >conftest.err
69349 rm -f conftest.er1
69350 cat conftest.err >&5
69351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69352 (exit $ac_status); } &&
69353 { ac_try='test -z "$ac_c_werror_flag"
69354 || test ! -s conftest.err'
69355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69356 (eval $ac_try) 2>&5
69357 ac_status=$?
69358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69359 (exit $ac_status); }; } &&
69360 { ac_try='test -s conftest.$ac_objext'
69361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69362 (eval $ac_try) 2>&5
69363 ac_status=$?
69364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69365 (exit $ac_status); }; }; then
69366 glibcxx_mresult=1
69367 else
69368 echo "$as_me: failed program was:" >&5
69369 sed 's/^/| /' conftest.$ac_ext >&5
69371 glibcxx_mresult=0
69373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69375 cat >>confdefs.h <<_ACEOF
69376 #define HAVE_MEMLIMIT_RSS $glibcxx_mresult
69377 _ACEOF
69381 cat >conftest.$ac_ext <<_ACEOF
69382 /* confdefs.h. */
69383 _ACEOF
69384 cat confdefs.h >>conftest.$ac_ext
69385 cat >>conftest.$ac_ext <<_ACEOF
69386 /* end confdefs.h. */
69387 #include <unistd.h>
69388 #include <sys/time.h>
69389 #include <sys/resource.h>
69392 main ()
69394 int f = RLIMIT_VMEM ;
69396 return 0;
69398 _ACEOF
69399 rm -f conftest.$ac_objext
69400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69401 (eval $ac_compile) 2>conftest.er1
69402 ac_status=$?
69403 grep -v '^ *+' conftest.er1 >conftest.err
69404 rm -f conftest.er1
69405 cat conftest.err >&5
69406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69407 (exit $ac_status); } &&
69408 { ac_try='test -z "$ac_c_werror_flag"
69409 || test ! -s conftest.err'
69410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69411 (eval $ac_try) 2>&5
69412 ac_status=$?
69413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69414 (exit $ac_status); }; } &&
69415 { ac_try='test -s conftest.$ac_objext'
69416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69417 (eval $ac_try) 2>&5
69418 ac_status=$?
69419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69420 (exit $ac_status); }; }; then
69421 glibcxx_mresult=1
69422 else
69423 echo "$as_me: failed program was:" >&5
69424 sed 's/^/| /' conftest.$ac_ext >&5
69426 glibcxx_mresult=0
69428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69430 cat >>confdefs.h <<_ACEOF
69431 #define HAVE_MEMLIMIT_VMEM $glibcxx_mresult
69432 _ACEOF
69436 cat >conftest.$ac_ext <<_ACEOF
69437 /* confdefs.h. */
69438 _ACEOF
69439 cat confdefs.h >>conftest.$ac_ext
69440 cat >>conftest.$ac_ext <<_ACEOF
69441 /* end confdefs.h. */
69442 #include <unistd.h>
69443 #include <sys/time.h>
69444 #include <sys/resource.h>
69447 main ()
69449 int f = RLIMIT_AS ;
69451 return 0;
69453 _ACEOF
69454 rm -f conftest.$ac_objext
69455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69456 (eval $ac_compile) 2>conftest.er1
69457 ac_status=$?
69458 grep -v '^ *+' conftest.er1 >conftest.err
69459 rm -f conftest.er1
69460 cat conftest.err >&5
69461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69462 (exit $ac_status); } &&
69463 { ac_try='test -z "$ac_c_werror_flag"
69464 || test ! -s conftest.err'
69465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69466 (eval $ac_try) 2>&5
69467 ac_status=$?
69468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69469 (exit $ac_status); }; } &&
69470 { ac_try='test -s conftest.$ac_objext'
69471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69472 (eval $ac_try) 2>&5
69473 ac_status=$?
69474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69475 (exit $ac_status); }; }; then
69476 glibcxx_mresult=1
69477 else
69478 echo "$as_me: failed program was:" >&5
69479 sed 's/^/| /' conftest.$ac_ext >&5
69481 glibcxx_mresult=0
69483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69485 cat >>confdefs.h <<_ACEOF
69486 #define HAVE_MEMLIMIT_AS $glibcxx_mresult
69487 _ACEOF
69491 # Check for rlimit, setrlimit.
69492 if test "${ac_setrlimit+set}" = set; then
69493 echo $ECHO_N "(cached) $ECHO_C" >&6
69494 else
69496 cat >conftest.$ac_ext <<_ACEOF
69497 /* confdefs.h. */
69498 _ACEOF
69499 cat confdefs.h >>conftest.$ac_ext
69500 cat >>conftest.$ac_ext <<_ACEOF
69501 /* end confdefs.h. */
69502 #include <unistd.h>
69503 #include <sys/time.h>
69504 #include <sys/resource.h>
69507 main ()
69509 struct rlimit r;
69510 setrlimit(0, &r);
69512 return 0;
69514 _ACEOF
69515 rm -f conftest.$ac_objext
69516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69517 (eval $ac_compile) 2>conftest.er1
69518 ac_status=$?
69519 grep -v '^ *+' conftest.er1 >conftest.err
69520 rm -f conftest.er1
69521 cat conftest.err >&5
69522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69523 (exit $ac_status); } &&
69524 { ac_try='test -z "$ac_c_werror_flag"
69525 || test ! -s conftest.err'
69526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69527 (eval $ac_try) 2>&5
69528 ac_status=$?
69529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69530 (exit $ac_status); }; } &&
69531 { ac_try='test -s conftest.$ac_objext'
69532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69533 (eval $ac_try) 2>&5
69534 ac_status=$?
69535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69536 (exit $ac_status); }; }; then
69537 ac_setrlimit=yes
69538 else
69539 echo "$as_me: failed program was:" >&5
69540 sed 's/^/| /' conftest.$ac_ext >&5
69542 ac_setrlimit=no
69544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69550 echo "$as_me:$LINENO: checking for testsuite memory limit support" >&5
69551 echo $ECHO_N "checking for testsuite memory limit support... $ECHO_C" >&6
69552 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
69553 ac_mem_limits=yes
69554 cat >>confdefs.h <<\_ACEOF
69555 #define _GLIBCXX_MEM_LIMITS 1
69556 _ACEOF
69558 else
69559 ac_mem_limits=no
69561 echo "$as_me:$LINENO: result: $ac_mem_limits" >&5
69562 echo "${ECHO_T}$ac_mem_limits" >&6
69565 # Look for setenv, so that extended locale tests can be performed.
69567 echo "$as_me:$LINENO: checking for setenv declaration" >&5
69568 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
69569 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
69570 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
69571 echo $ECHO_N "(cached) $ECHO_C" >&6
69572 else
69576 ac_ext=cc
69577 ac_cpp='$CXXCPP $CPPFLAGS'
69578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69582 cat >conftest.$ac_ext <<_ACEOF
69583 /* confdefs.h. */
69584 _ACEOF
69585 cat confdefs.h >>conftest.$ac_ext
69586 cat >>conftest.$ac_ext <<_ACEOF
69587 /* end confdefs.h. */
69588 #include <stdlib.h>
69590 main ()
69592 setenv(0, 0, 0);
69594 return 0;
69596 _ACEOF
69597 rm -f conftest.$ac_objext
69598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69599 (eval $ac_compile) 2>conftest.er1
69600 ac_status=$?
69601 grep -v '^ *+' conftest.er1 >conftest.err
69602 rm -f conftest.er1
69603 cat conftest.err >&5
69604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69605 (exit $ac_status); } &&
69606 { ac_try='test -z "$ac_cxx_werror_flag"
69607 || test ! -s conftest.err'
69608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69609 (eval $ac_try) 2>&5
69610 ac_status=$?
69611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69612 (exit $ac_status); }; } &&
69613 { ac_try='test -s conftest.$ac_objext'
69614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69615 (eval $ac_try) 2>&5
69616 ac_status=$?
69617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69618 (exit $ac_status); }; }; then
69619 glibcxx_cv_func_setenv_use=yes
69620 else
69621 echo "$as_me: failed program was:" >&5
69622 sed 's/^/| /' conftest.$ac_ext >&5
69624 glibcxx_cv_func_setenv_use=no
69626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69627 ac_ext=c
69628 ac_cpp='$CPP $CPPFLAGS'
69629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69637 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
69638 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
69639 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
69641 for ac_func in setenv
69643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69644 echo "$as_me:$LINENO: checking for $ac_func" >&5
69645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69646 if eval "test \"\${$as_ac_var+set}\" = set"; then
69647 echo $ECHO_N "(cached) $ECHO_C" >&6
69648 else
69649 if test x$gcc_no_link = xyes; then
69650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69652 { (exit 1); exit 1; }; }
69654 cat >conftest.$ac_ext <<_ACEOF
69655 /* confdefs.h. */
69656 _ACEOF
69657 cat confdefs.h >>conftest.$ac_ext
69658 cat >>conftest.$ac_ext <<_ACEOF
69659 /* end confdefs.h. */
69660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69662 #define $ac_func innocuous_$ac_func
69664 /* System header to define __stub macros and hopefully few prototypes,
69665 which can conflict with char $ac_func (); below.
69666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69667 <limits.h> exists even on freestanding compilers. */
69669 #ifdef __STDC__
69670 # include <limits.h>
69671 #else
69672 # include <assert.h>
69673 #endif
69675 #undef $ac_func
69677 /* Override any gcc2 internal prototype to avoid an error. */
69678 #ifdef __cplusplus
69679 extern "C"
69681 #endif
69682 /* We use char because int might match the return type of a gcc2
69683 builtin and then its argument prototype would still apply. */
69684 char $ac_func ();
69685 /* The GNU C library defines this for functions which it implements
69686 to always fail with ENOSYS. Some functions are actually named
69687 something starting with __ and the normal name is an alias. */
69688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69689 choke me
69690 #else
69691 char (*f) () = $ac_func;
69692 #endif
69693 #ifdef __cplusplus
69695 #endif
69698 main ()
69700 return f != $ac_func;
69702 return 0;
69704 _ACEOF
69705 rm -f conftest.$ac_objext conftest$ac_exeext
69706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69707 (eval $ac_link) 2>conftest.er1
69708 ac_status=$?
69709 grep -v '^ *+' conftest.er1 >conftest.err
69710 rm -f conftest.er1
69711 cat conftest.err >&5
69712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69713 (exit $ac_status); } &&
69714 { ac_try='test -z "$ac_c_werror_flag"
69715 || test ! -s conftest.err'
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); }; } &&
69721 { ac_try='test -s conftest$ac_exeext'
69722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69723 (eval $ac_try) 2>&5
69724 ac_status=$?
69725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69726 (exit $ac_status); }; }; then
69727 eval "$as_ac_var=yes"
69728 else
69729 echo "$as_me: failed program was:" >&5
69730 sed 's/^/| /' conftest.$ac_ext >&5
69732 eval "$as_ac_var=no"
69734 rm -f conftest.err conftest.$ac_objext \
69735 conftest$ac_exeext conftest.$ac_ext
69737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69739 if test `eval echo '${'$as_ac_var'}'` = yes; then
69740 cat >>confdefs.h <<_ACEOF
69741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69742 _ACEOF
69745 done
69750 if test $enable_symvers = no; then
69751 enable_abi_check=no
69752 else
69753 case "$host" in
69754 *-*-cygwin*)
69755 enable_abi_check=no ;;
69757 enable_abi_check=yes ;;
69758 esac
69760 else
69761 # Only build this as native, since automake does not understand
69762 # CXX_FOR_BUILD.
69763 enable_abi_check=no
69766 # Export file names for ABI checking.
69767 baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
69774 # Propagate the target-specific source directories through the build chain.
69775 # (Nothing currently uses cpu_include_dir directly; only atomicity_include_dir
69776 # uses it, and it only gets used in this file.)
69777 ATOMICITY_INC_SRCDIR=config/${atomicity_include_dir}
69778 OS_INC_SRCDIR=config/${os_include_dir}
69782 # Determine cross-compile flags and AM_CONDITIONALs.
69783 #AC_SUBST(GLIBCXX_IS_NATIVE)
69784 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
69785 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
69786 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
69789 if test $is_hosted = yes; then
69790 GLIBCXX_HOSTED_TRUE=
69791 GLIBCXX_HOSTED_FALSE='#'
69792 else
69793 GLIBCXX_HOSTED_TRUE='#'
69794 GLIBCXX_HOSTED_FALSE=
69800 if test $enable_libstdcxx_pch = yes; then
69801 GLIBCXX_BUILD_PCH_TRUE=
69802 GLIBCXX_BUILD_PCH_FALSE='#'
69803 else
69804 GLIBCXX_BUILD_PCH_TRUE='#'
69805 GLIBCXX_BUILD_PCH_FALSE=
69811 if test $enable_cheaders = c; then
69812 GLIBCXX_C_HEADERS_C_TRUE=
69813 GLIBCXX_C_HEADERS_C_FALSE='#'
69814 else
69815 GLIBCXX_C_HEADERS_C_TRUE='#'
69816 GLIBCXX_C_HEADERS_C_FALSE=
69822 if test $enable_cheaders = c_std; then
69823 GLIBCXX_C_HEADERS_C_STD_TRUE=
69824 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
69825 else
69826 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
69827 GLIBCXX_C_HEADERS_C_STD_FALSE=
69833 if test $c_compatibility = yes; then
69834 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
69835 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
69836 else
69837 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
69838 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
69844 if test $enable_libstdcxx_debug = yes; then
69845 GLIBCXX_BUILD_DEBUG_TRUE=
69846 GLIBCXX_BUILD_DEBUG_FALSE='#'
69847 else
69848 GLIBCXX_BUILD_DEBUG_TRUE='#'
69849 GLIBCXX_BUILD_DEBUG_FALSE=
69855 if test $enable_symvers != no; then
69856 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
69857 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
69858 else
69859 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
69860 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
69866 if test $enable_wchar_t = yes; then
69867 GLIBCXX_TEST_WCHAR_T_TRUE=
69868 GLIBCXX_TEST_WCHAR_T_FALSE='#'
69869 else
69870 GLIBCXX_TEST_WCHAR_T_TRUE='#'
69871 GLIBCXX_TEST_WCHAR_T_FALSE=
69877 if test $enable_abi_check = yes; then
69878 GLIBCXX_TEST_ABI_TRUE=
69879 GLIBCXX_TEST_ABI_FALSE='#'
69880 else
69881 GLIBCXX_TEST_ABI_TRUE='#'
69882 GLIBCXX_TEST_ABI_FALSE=
69888 cat >confcache <<\_ACEOF
69889 # This file is a shell script that caches the results of configure
69890 # tests run on this system so they can be shared between configure
69891 # scripts and configure runs, see configure's option --config-cache.
69892 # It is not useful on other systems. If it contains results you don't
69893 # want to keep, you may remove or edit it.
69895 # config.status only pays attention to the cache file if you give it
69896 # the --recheck option to rerun configure.
69898 # `ac_cv_env_foo' variables (set or unset) will be overridden when
69899 # loading this file, other *unset* `ac_cv_foo' will be assigned the
69900 # following values.
69902 _ACEOF
69904 # The following way of writing the cache mishandles newlines in values,
69905 # but we know of no workaround that is simple, portable, and efficient.
69906 # So, don't put newlines in cache variables' values.
69907 # Ultrix sh set writes to stderr and can't be redirected directly,
69908 # and sets the high bit in the cache file unless we assign to the vars.
69910 (set) 2>&1 |
69911 case `(ac_space=' '; set | grep ac_space) 2>&1` in
69912 *ac_space=\ *)
69913 # `set' does not quote correctly, so add quotes (double-quote
69914 # substitution turns \\\\ into \\, and sed turns \\ into \).
69915 sed -n \
69916 "s/'/'\\\\''/g;
69917 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
69920 # `set' quotes correctly as required by POSIX, so do not add quotes.
69921 sed -n \
69922 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
69924 esac;
69926 sed '
69927 t clear
69928 : clear
69929 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
69930 t end
69931 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
69932 : end' >>confcache
69933 if diff $cache_file confcache >/dev/null 2>&1; then :; else
69934 if test -w $cache_file; then
69935 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
69936 cat confcache >$cache_file
69937 else
69938 echo "not updating unwritable cache $cache_file"
69941 rm -f confcache
69943 if test ${multilib} = yes; then
69944 multilib_arg="--enable-multilib"
69945 else
69946 multilib_arg=
69949 # Export all the install information.
69951 glibcxx_toolexecdir=no
69952 glibcxx_toolexeclibdir=no
69953 glibcxx_prefixdir=$prefix
69955 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
69956 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
69958 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
69959 if test "${with_gxx_include_dir+set}" = set; then
69960 withval="$with_gxx_include_dir"
69961 case "$withval" in
69962 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
69963 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
69964 { (exit 1); exit 1; }; } ;;
69965 no) gxx_include_dir=no ;;
69966 *) gxx_include_dir=$withval ;;
69967 esac
69968 else
69969 gxx_include_dir=no
69971 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
69972 echo "${ECHO_T}$gxx_include_dir" >&6
69974 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
69975 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
69976 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
69977 if test "${enable_version_specific_runtime_libs+set}" = set; then
69978 enableval="$enable_version_specific_runtime_libs"
69979 case "$enableval" in
69980 yes) version_specific_libs=yes ;;
69981 no) version_specific_libs=no ;;
69982 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
69983 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
69984 { (exit 1); exit 1; }; };;
69985 esac
69986 else
69987 version_specific_libs=no
69989 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
69990 echo "${ECHO_T}$version_specific_libs" >&6
69992 # Default case for install directory for include files.
69993 if test $version_specific_libs = no && test $gxx_include_dir = no; then
69994 gxx_include_dir='${prefix}'/include/c++/${gcc_version}
69997 # Version-specific runtime libs processing.
69998 if test $version_specific_libs = yes; then
69999 # Need the gcc compiler version to know where to install libraries
70000 # and header files if --enable-version-specific-runtime-libs option
70001 # is selected.
70002 if test x"$gxx_include_dir" = x"no"; then
70003 gxx_include_dir='${libdir}/gcc-lib/${host_alias}/'$gcc_version/include/c++
70005 glibcxx_toolexecdir='${libdir}/gcc-lib/${host_alias}'
70006 glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
70009 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
70010 # Install a library built with a cross compiler in tooldir, not libdir.
70011 if test x"$glibcxx_toolexecdir" = x"no"; then
70012 if test -n "$with_cross_host" &&
70013 test x"$with_cross_host" != x"no"; then
70014 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
70015 glibcxx_toolexeclibdir='${toolexecdir}/lib'
70016 else
70017 glibcxx_toolexecdir='${libdir}/gcc-lib/${host_alias}'
70018 glibcxx_toolexeclibdir='${libdir}'
70020 multi_os_directory=`$CXX -print-multi-os-directory`
70021 case $multi_os_directory in
70022 .) ;; # Avoid trailing /.
70023 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
70024 esac
70027 echo "$as_me:$LINENO: checking for install location" >&5
70028 echo $ECHO_N "checking for install location... $ECHO_C" >&6
70029 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
70030 echo "${ECHO_T}$gxx_include_dir" >&6
70038 # Export all the include and flag information to Makefiles.
70040 # Used for every C++ compile we perform.
70041 GLIBCXX_INCLUDES="\
70042 -I$glibcxx_builddir/include/$host_alias \
70043 -I$glibcxx_builddir/include \
70044 -I$glibcxx_srcdir/libsupc++"
70046 # For Canadian crosses, pick this up too.
70047 if test $CANADIAN = yes; then
70048 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
70051 # Stuff in the actual top level. Currently only used by libsupc++ to
70052 # get unwind* headers from the gcc dir.
70053 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
70054 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
70056 # Now, export this to all the little Makefiles....
70061 # Optimization flags that are probably a good idea for thrill-seekers. Just
70062 # uncomment the lines below and make, everything else is ready to go...
70063 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
70064 OPTIMIZE_CXXFLAGS=
70067 WARN_FLAGS='-Wall -W -Wwrite-strings -Wcast-qual'
70071 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
70072 grep "enable shared" > /dev/null;
70073 then
70074 LIBSUPCXX_PICFLAGS=-prefer-pic
70075 else
70076 LIBSUPCXX_PICFLAGS=
70080 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
70082 ac_config_files="$ac_config_files scripts/check_survey"
70084 ac_config_files="$ac_config_files scripts/testsuite_flags"
70087 ac_config_commands="$ac_config_commands default"
70090 cat >confcache <<\_ACEOF
70091 # This file is a shell script that caches the results of configure
70092 # tests run on this system so they can be shared between configure
70093 # scripts and configure runs, see configure's option --config-cache.
70094 # It is not useful on other systems. If it contains results you don't
70095 # want to keep, you may remove or edit it.
70097 # config.status only pays attention to the cache file if you give it
70098 # the --recheck option to rerun configure.
70100 # `ac_cv_env_foo' variables (set or unset) will be overridden when
70101 # loading this file, other *unset* `ac_cv_foo' will be assigned the
70102 # following values.
70104 _ACEOF
70106 # The following way of writing the cache mishandles newlines in values,
70107 # but we know of no workaround that is simple, portable, and efficient.
70108 # So, don't put newlines in cache variables' values.
70109 # Ultrix sh set writes to stderr and can't be redirected directly,
70110 # and sets the high bit in the cache file unless we assign to the vars.
70112 (set) 2>&1 |
70113 case `(ac_space=' '; set | grep ac_space) 2>&1` in
70114 *ac_space=\ *)
70115 # `set' does not quote correctly, so add quotes (double-quote
70116 # substitution turns \\\\ into \\, and sed turns \\ into \).
70117 sed -n \
70118 "s/'/'\\\\''/g;
70119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
70122 # `set' quotes correctly as required by POSIX, so do not add quotes.
70123 sed -n \
70124 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
70126 esac;
70128 sed '
70129 t clear
70130 : clear
70131 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
70132 t end
70133 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
70134 : end' >>confcache
70135 if diff $cache_file confcache >/dev/null 2>&1; then :; else
70136 if test -w $cache_file; then
70137 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
70138 cat confcache >$cache_file
70139 else
70140 echo "not updating unwritable cache $cache_file"
70143 rm -f confcache
70145 test "x$prefix" = xNONE && prefix=$ac_default_prefix
70146 # Let make expand exec_prefix.
70147 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
70149 # VPATH may cause trouble with some makes, so we remove $(srcdir),
70150 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
70151 # trailing colons and then remove the whole line if VPATH becomes empty
70152 # (actually we leave an empty line to preserve line numbers).
70153 if test "x$srcdir" = x.; then
70154 ac_vpsub='/^[ ]*VPATH[ ]*=/{
70155 s/:*\$(srcdir):*/:/;
70156 s/:*\${srcdir}:*/:/;
70157 s/:*@srcdir@:*/:/;
70158 s/^\([^=]*=[ ]*\):*/\1/;
70159 s/:*$//;
70160 s/^[^=]*=[ ]*$//;
70164 DEFS=-DHAVE_CONFIG_H
70166 ac_libobjs=
70167 ac_ltlibobjs=
70168 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
70169 # 1. Remove the extension, and $U if already installed.
70170 ac_i=`echo "$ac_i" |
70171 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
70172 # 2. Add them.
70173 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
70174 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
70175 done
70176 LIBOBJS=$ac_libobjs
70178 LTLIBOBJS=$ac_ltlibobjs
70181 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
70182 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
70183 Usually this means the macro was only invoked conditionally." >&5
70184 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
70185 Usually this means the macro was only invoked conditionally." >&2;}
70186 { (exit 1); exit 1; }; }
70188 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
70189 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
70190 Usually this means the macro was only invoked conditionally." >&5
70191 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
70192 Usually this means the macro was only invoked conditionally." >&2;}
70193 { (exit 1); exit 1; }; }
70195 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
70196 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
70197 Usually this means the macro was only invoked conditionally." >&5
70198 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
70199 Usually this means the macro was only invoked conditionally." >&2;}
70200 { (exit 1); exit 1; }; }
70202 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
70203 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
70204 Usually this means the macro was only invoked conditionally." >&5
70205 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
70206 Usually this means the macro was only invoked conditionally." >&2;}
70207 { (exit 1); exit 1; }; }
70209 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
70210 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
70211 Usually this means the macro was only invoked conditionally." >&5
70212 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
70213 Usually this means the macro was only invoked conditionally." >&2;}
70214 { (exit 1); exit 1; }; }
70216 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
70217 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
70218 Usually this means the macro was only invoked conditionally." >&5
70219 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
70220 Usually this means the macro was only invoked conditionally." >&2;}
70221 { (exit 1); exit 1; }; }
70223 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
70224 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
70225 Usually this means the macro was only invoked conditionally." >&5
70226 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
70227 Usually this means the macro was only invoked conditionally." >&2;}
70228 { (exit 1); exit 1; }; }
70230 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
70231 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
70232 Usually this means the macro was only invoked conditionally." >&5
70233 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
70234 Usually this means the macro was only invoked conditionally." >&2;}
70235 { (exit 1); exit 1; }; }
70237 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
70238 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
70239 Usually this means the macro was only invoked conditionally." >&5
70240 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
70241 Usually this means the macro was only invoked conditionally." >&2;}
70242 { (exit 1); exit 1; }; }
70244 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
70245 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
70246 Usually this means the macro was only invoked conditionally." >&5
70247 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
70248 Usually this means the macro was only invoked conditionally." >&2;}
70249 { (exit 1); exit 1; }; }
70252 : ${CONFIG_STATUS=./config.status}
70253 ac_clean_files_save=$ac_clean_files
70254 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
70255 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
70256 echo "$as_me: creating $CONFIG_STATUS" >&6;}
70257 cat >$CONFIG_STATUS <<_ACEOF
70258 #! $SHELL
70259 # Generated by $as_me.
70260 # Run this file to recreate the current configuration.
70261 # Compiler output produced by configure, useful for debugging
70262 # configure, is in config.log if it exists.
70264 debug=false
70265 ac_cs_recheck=false
70266 ac_cs_silent=false
70267 SHELL=\${CONFIG_SHELL-$SHELL}
70268 _ACEOF
70270 cat >>$CONFIG_STATUS <<\_ACEOF
70271 ## --------------------- ##
70272 ## M4sh Initialization. ##
70273 ## --------------------- ##
70275 # Be Bourne compatible
70276 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
70277 emulate sh
70278 NULLCMD=:
70279 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
70280 # is contrary to our usage. Disable this feature.
70281 alias -g '${1+"$@"}'='"$@"'
70282 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
70283 set -o posix
70285 DUALCASE=1; export DUALCASE # for MKS sh
70287 # Support unset when possible.
70288 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
70289 as_unset=unset
70290 else
70291 as_unset=false
70295 # Work around bugs in pre-3.0 UWIN ksh.
70296 $as_unset ENV MAIL MAILPATH
70297 PS1='$ '
70298 PS2='> '
70299 PS4='+ '
70301 # NLS nuisances.
70302 for as_var in \
70303 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
70304 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
70305 LC_TELEPHONE LC_TIME
70307 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
70308 eval $as_var=C; export $as_var
70309 else
70310 $as_unset $as_var
70312 done
70314 # Required to use basename.
70315 if expr a : '\(a\)' >/dev/null 2>&1; then
70316 as_expr=expr
70317 else
70318 as_expr=false
70321 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
70322 as_basename=basename
70323 else
70324 as_basename=false
70328 # Name of the executable.
70329 as_me=`$as_basename "$0" ||
70330 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70331 X"$0" : 'X\(//\)$' \| \
70332 X"$0" : 'X\(/\)$' \| \
70333 . : '\(.\)' 2>/dev/null ||
70334 echo X/"$0" |
70335 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
70336 /^X\/\(\/\/\)$/{ s//\1/; q; }
70337 /^X\/\(\/\).*/{ s//\1/; q; }
70338 s/.*/./; q'`
70341 # PATH needs CR, and LINENO needs CR and PATH.
70342 # Avoid depending upon Character Ranges.
70343 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
70344 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
70345 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
70346 as_cr_digits='0123456789'
70347 as_cr_alnum=$as_cr_Letters$as_cr_digits
70349 # The user is always right.
70350 if test "${PATH_SEPARATOR+set}" != set; then
70351 echo "#! /bin/sh" >conf$$.sh
70352 echo "exit 0" >>conf$$.sh
70353 chmod +x conf$$.sh
70354 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
70355 PATH_SEPARATOR=';'
70356 else
70357 PATH_SEPARATOR=:
70359 rm -f conf$$.sh
70363 as_lineno_1=$LINENO
70364 as_lineno_2=$LINENO
70365 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
70366 test "x$as_lineno_1" != "x$as_lineno_2" &&
70367 test "x$as_lineno_3" = "x$as_lineno_2" || {
70368 # Find who we are. Look in the path if we contain no path at all
70369 # relative or not.
70370 case $0 in
70371 *[\\/]* ) as_myself=$0 ;;
70372 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70373 for as_dir in $PATH
70375 IFS=$as_save_IFS
70376 test -z "$as_dir" && as_dir=.
70377 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
70378 done
70381 esac
70382 # We did not find ourselves, most probably we were run as `sh COMMAND'
70383 # in which case we are not to be found in the path.
70384 if test "x$as_myself" = x; then
70385 as_myself=$0
70387 if test ! -f "$as_myself"; then
70388 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
70389 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
70390 { (exit 1); exit 1; }; }
70392 case $CONFIG_SHELL in
70394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70395 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
70397 IFS=$as_save_IFS
70398 test -z "$as_dir" && as_dir=.
70399 for as_base in sh bash ksh sh5; do
70400 case $as_dir in
70402 if ("$as_dir/$as_base" -c '
70403 as_lineno_1=$LINENO
70404 as_lineno_2=$LINENO
70405 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
70406 test "x$as_lineno_1" != "x$as_lineno_2" &&
70407 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
70408 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
70409 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
70410 CONFIG_SHELL=$as_dir/$as_base
70411 export CONFIG_SHELL
70412 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
70413 fi;;
70414 esac
70415 done
70416 done
70418 esac
70420 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
70421 # uniformly replaced by the line number. The first 'sed' inserts a
70422 # line-number line before each line; the second 'sed' does the real
70423 # work. The second script uses 'N' to pair each line-number line
70424 # with the numbered line, and appends trailing '-' during
70425 # substitution so that $LINENO is not a special case at line end.
70426 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
70427 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
70428 sed '=' <$as_myself |
70429 sed '
70431 s,$,-,
70432 : loop
70433 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
70434 t loop
70435 s,-$,,
70436 s,^['$as_cr_digits']*\n,,
70437 ' >$as_me.lineno &&
70438 chmod +x $as_me.lineno ||
70439 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
70440 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
70441 { (exit 1); exit 1; }; }
70443 # Don't try to exec as it changes $[0], causing all sort of problems
70444 # (the dirname of $[0] is not the place where we might find the
70445 # original and so on. Autoconf is especially sensible to this).
70446 . ./$as_me.lineno
70447 # Exit status is that of the last command.
70448 exit
70452 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
70453 *c*,-n*) ECHO_N= ECHO_C='
70454 ' ECHO_T=' ' ;;
70455 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
70456 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
70457 esac
70459 if expr a : '\(a\)' >/dev/null 2>&1; then
70460 as_expr=expr
70461 else
70462 as_expr=false
70465 rm -f conf$$ conf$$.exe conf$$.file
70466 echo >conf$$.file
70467 if ln -s conf$$.file conf$$ 2>/dev/null; then
70468 # We could just check for DJGPP; but this test a) works b) is more generic
70469 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
70470 if test -f conf$$.exe; then
70471 # Don't use ln at all; we don't have any links
70472 as_ln_s='cp -p'
70473 else
70474 as_ln_s='ln -s'
70476 elif ln conf$$.file conf$$ 2>/dev/null; then
70477 as_ln_s=ln
70478 else
70479 as_ln_s='cp -p'
70481 rm -f conf$$ conf$$.exe conf$$.file
70483 if mkdir -p . 2>/dev/null; then
70484 as_mkdir_p=:
70485 else
70486 test -d ./-p && rmdir ./-p
70487 as_mkdir_p=false
70490 as_executable_p="test -f"
70492 # Sed expression to map a string onto a valid CPP name.
70493 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
70495 # Sed expression to map a string onto a valid variable name.
70496 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
70499 # IFS
70500 # We need space, tab and new line, in precisely that order.
70501 as_nl='
70503 IFS=" $as_nl"
70505 # CDPATH.
70506 $as_unset CDPATH
70508 exec 6>&1
70510 # Open the log real soon, to keep \$[0] and so on meaningful, and to
70511 # report actual input values of CONFIG_FILES etc. instead of their
70512 # values after options handling. Logging --version etc. is OK.
70513 exec 5>>config.log
70515 echo
70516 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
70517 ## Running $as_me. ##
70518 _ASBOX
70519 } >&5
70520 cat >&5 <<_CSEOF
70522 This file was extended by package-unused $as_me version-unused, which was
70523 generated by GNU Autoconf 2.59. Invocation command line was
70525 CONFIG_FILES = $CONFIG_FILES
70526 CONFIG_HEADERS = $CONFIG_HEADERS
70527 CONFIG_LINKS = $CONFIG_LINKS
70528 CONFIG_COMMANDS = $CONFIG_COMMANDS
70529 $ $0 $@
70531 _CSEOF
70532 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
70533 echo >&5
70534 _ACEOF
70536 # Files that config.status was made for.
70537 if test -n "$ac_config_files"; then
70538 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
70541 if test -n "$ac_config_headers"; then
70542 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
70545 if test -n "$ac_config_links"; then
70546 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
70549 if test -n "$ac_config_commands"; then
70550 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
70553 cat >>$CONFIG_STATUS <<\_ACEOF
70555 ac_cs_usage="\
70556 \`$as_me' instantiates files from templates according to the
70557 current configuration.
70559 Usage: $0 [OPTIONS] [FILE]...
70561 -h, --help print this help, then exit
70562 -V, --version print version number, then exit
70563 -q, --quiet do not print progress messages
70564 -d, --debug don't remove temporary files
70565 --recheck update $as_me by reconfiguring in the same conditions
70566 --file=FILE[:TEMPLATE]
70567 instantiate the configuration file FILE
70568 --header=FILE[:TEMPLATE]
70569 instantiate the configuration header FILE
70571 Configuration files:
70572 $config_files
70574 Configuration headers:
70575 $config_headers
70577 Configuration commands:
70578 $config_commands
70580 Report bugs to <bug-autoconf@gnu.org>."
70581 _ACEOF
70583 cat >>$CONFIG_STATUS <<_ACEOF
70584 ac_cs_version="\\
70585 package-unused config.status version-unused
70586 configured by $0, generated by GNU Autoconf 2.59,
70587 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
70589 Copyright (C) 2003 Free Software Foundation, Inc.
70590 This config.status script is free software; the Free Software Foundation
70591 gives unlimited permission to copy, distribute and modify it."
70592 srcdir=$srcdir
70593 INSTALL="$INSTALL"
70594 _ACEOF
70596 cat >>$CONFIG_STATUS <<\_ACEOF
70597 # If no file are specified by the user, then we need to provide default
70598 # value. By we need to know if files were specified by the user.
70599 ac_need_defaults=:
70600 while test $# != 0
70602 case $1 in
70603 --*=*)
70604 ac_option=`expr "x$1" : 'x\([^=]*\)='`
70605 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
70606 ac_shift=:
70609 ac_option=$1
70610 ac_optarg=$2
70611 ac_shift=shift
70613 *) # This is not an option, so the user has probably given explicit
70614 # arguments.
70615 ac_option=$1
70616 ac_need_defaults=false;;
70617 esac
70619 case $ac_option in
70620 # Handling of the options.
70621 _ACEOF
70622 cat >>$CONFIG_STATUS <<\_ACEOF
70623 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
70624 ac_cs_recheck=: ;;
70625 --version | --vers* | -V )
70626 echo "$ac_cs_version"; exit 0 ;;
70627 --he | --h)
70628 # Conflict between --help and --header
70629 { { echo "$as_me:$LINENO: error: ambiguous option: $1
70630 Try \`$0 --help' for more information." >&5
70631 echo "$as_me: error: ambiguous option: $1
70632 Try \`$0 --help' for more information." >&2;}
70633 { (exit 1); exit 1; }; };;
70634 --help | --hel | -h )
70635 echo "$ac_cs_usage"; exit 0 ;;
70636 --debug | --d* | -d )
70637 debug=: ;;
70638 --file | --fil | --fi | --f )
70639 $ac_shift
70640 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
70641 ac_need_defaults=false;;
70642 --header | --heade | --head | --hea )
70643 $ac_shift
70644 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
70645 ac_need_defaults=false;;
70646 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
70647 | -silent | --silent | --silen | --sile | --sil | --si | --s)
70648 ac_cs_silent=: ;;
70650 # This is an error.
70651 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
70652 Try \`$0 --help' for more information." >&5
70653 echo "$as_me: error: unrecognized option: $1
70654 Try \`$0 --help' for more information." >&2;}
70655 { (exit 1); exit 1; }; } ;;
70657 *) ac_config_targets="$ac_config_targets $1" ;;
70659 esac
70660 shift
70661 done
70663 ac_configure_extra_args=
70665 if $ac_cs_silent; then
70666 exec 6>/dev/null
70667 ac_configure_extra_args="$ac_configure_extra_args --silent"
70670 _ACEOF
70671 cat >>$CONFIG_STATUS <<_ACEOF
70672 if \$ac_cs_recheck; then
70673 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
70674 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
70677 _ACEOF
70679 cat >>$CONFIG_STATUS <<_ACEOF
70681 # INIT-COMMANDS section.
70685 srcdir="$srcdir"
70686 host="$host"
70687 target="$target"
70688 with_multisubdir="$with_multisubdir"
70689 with_multisrctop="$with_multisrctop"
70690 with_target_subdir="$with_target_subdir"
70691 ac_configure_args="${multilib_arg} ${ac_configure_args}"
70692 multi_basedir="$multi_basedir"
70693 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
70694 CC="$CC"
70696 # Variables needed in config.status (file generation) which aren't already
70697 # passed by autoconf.
70698 SUBDIRS="$SUBDIRS"
70701 _ACEOF
70705 cat >>$CONFIG_STATUS <<\_ACEOF
70706 for ac_config_target in $ac_config_targets
70708 case "$ac_config_target" in
70709 # Handling of arguments.
70710 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
70711 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
70712 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
70713 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
70714 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
70715 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
70716 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
70717 "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
70718 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
70719 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
70720 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
70721 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
70722 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
70723 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
70724 { (exit 1); exit 1; }; };;
70725 esac
70726 done
70728 # If the user did not use the arguments to specify the items to instantiate,
70729 # then the envvar interface is used. Set only those that are not.
70730 # We use the long form for the default assignment because of an extremely
70731 # bizarre bug on SunOS 4.1.3.
70732 if $ac_need_defaults; then
70733 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
70734 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
70735 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
70738 # Have a temporary directory for convenience. Make it in the build tree
70739 # simply because there is no reason to put it here, and in addition,
70740 # creating and moving files from /tmp can sometimes cause problems.
70741 # Create a temporary directory, and hook for its removal unless debugging.
70742 $debug ||
70744 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
70745 trap '{ (exit 1); exit 1; }' 1 2 13 15
70748 # Create a (secure) tmp directory for tmp files.
70751 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
70752 test -n "$tmp" && test -d "$tmp"
70753 } ||
70755 tmp=./confstat$$-$RANDOM
70756 (umask 077 && mkdir $tmp)
70757 } ||
70759 echo "$me: cannot create a temporary directory in ." >&2
70760 { (exit 1); exit 1; }
70763 _ACEOF
70765 cat >>$CONFIG_STATUS <<_ACEOF
70768 # CONFIG_FILES section.
70771 # No need to generate the scripts if there are no CONFIG_FILES.
70772 # This happens for instance when ./config.status config.h
70773 if test -n "\$CONFIG_FILES"; then
70774 # Protect against being on the right side of a sed subst in config.status.
70775 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
70776 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
70777 s,@SHELL@,$SHELL,;t t
70778 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
70779 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
70780 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
70781 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
70782 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
70783 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
70784 s,@exec_prefix@,$exec_prefix,;t t
70785 s,@prefix@,$prefix,;t t
70786 s,@program_transform_name@,$program_transform_name,;t t
70787 s,@bindir@,$bindir,;t t
70788 s,@sbindir@,$sbindir,;t t
70789 s,@libexecdir@,$libexecdir,;t t
70790 s,@datadir@,$datadir,;t t
70791 s,@sysconfdir@,$sysconfdir,;t t
70792 s,@sharedstatedir@,$sharedstatedir,;t t
70793 s,@localstatedir@,$localstatedir,;t t
70794 s,@libdir@,$libdir,;t t
70795 s,@includedir@,$includedir,;t t
70796 s,@oldincludedir@,$oldincludedir,;t t
70797 s,@infodir@,$infodir,;t t
70798 s,@mandir@,$mandir,;t t
70799 s,@build_alias@,$build_alias,;t t
70800 s,@host_alias@,$host_alias,;t t
70801 s,@target_alias@,$target_alias,;t t
70802 s,@DEFS@,$DEFS,;t t
70803 s,@ECHO_C@,$ECHO_C,;t t
70804 s,@ECHO_N@,$ECHO_N,;t t
70805 s,@ECHO_T@,$ECHO_T,;t t
70806 s,@LIBS@,$LIBS,;t t
70807 s,@libtool_VERSION@,$libtool_VERSION,;t t
70808 s,@multi_basedir@,$multi_basedir,;t t
70809 s,@build@,$build,;t t
70810 s,@build_cpu@,$build_cpu,;t t
70811 s,@build_vendor@,$build_vendor,;t t
70812 s,@build_os@,$build_os,;t t
70813 s,@host@,$host,;t t
70814 s,@host_cpu@,$host_cpu,;t t
70815 s,@host_vendor@,$host_vendor,;t t
70816 s,@host_os@,$host_os,;t t
70817 s,@target@,$target,;t t
70818 s,@target_cpu@,$target_cpu,;t t
70819 s,@target_vendor@,$target_vendor,;t t
70820 s,@target_os@,$target_os,;t t
70821 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
70822 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
70823 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
70824 s,@CYGPATH_W@,$CYGPATH_W,;t t
70825 s,@PACKAGE@,$PACKAGE,;t t
70826 s,@VERSION@,$VERSION,;t t
70827 s,@ACLOCAL@,$ACLOCAL,;t t
70828 s,@AUTOCONF@,$AUTOCONF,;t t
70829 s,@AUTOMAKE@,$AUTOMAKE,;t t
70830 s,@AUTOHEADER@,$AUTOHEADER,;t t
70831 s,@MAKEINFO@,$MAKEINFO,;t t
70832 s,@AMTAR@,$AMTAR,;t t
70833 s,@install_sh@,$install_sh,;t t
70834 s,@STRIP@,$STRIP,;t t
70835 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
70836 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
70837 s,@AWK@,$AWK,;t t
70838 s,@SET_MAKE@,$SET_MAKE,;t t
70839 s,@am__leading_dot@,$am__leading_dot,;t t
70840 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
70841 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
70842 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
70843 s,@CC@,$CC,;t t
70844 s,@ac_ct_CC@,$ac_ct_CC,;t t
70845 s,@EXEEXT@,$EXEEXT,;t t
70846 s,@OBJEXT@,$OBJEXT,;t t
70847 s,@CXX@,$CXX,;t t
70848 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
70849 s,@CFLAGS@,$CFLAGS,;t t
70850 s,@CXXFLAGS@,$CXXFLAGS,;t t
70851 s,@LN_S@,$LN_S,;t t
70852 s,@AS@,$AS,;t t
70853 s,@ac_ct_AS@,$ac_ct_AS,;t t
70854 s,@AR@,$AR,;t t
70855 s,@ac_ct_AR@,$ac_ct_AR,;t t
70856 s,@RANLIB@,$RANLIB,;t t
70857 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
70858 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
70859 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
70860 s,@MAINT@,$MAINT,;t t
70861 s,@LIBTOOL@,$LIBTOOL,;t t
70862 s,@CXXCPP@,$CXXCPP,;t t
70863 s,@CPPFLAGS@,$CPPFLAGS,;t t
70864 s,@enable_shared@,$enable_shared,;t t
70865 s,@enable_static@,$enable_static,;t t
70866 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
70867 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
70868 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
70869 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
70870 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
70871 s,@CSTDIO_H@,$CSTDIO_H,;t t
70872 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
70873 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
70874 s,@CPP@,$CPP,;t t
70875 s,@EGREP@,$EGREP,;t t
70876 s,@check_msgfmt@,$check_msgfmt,;t t
70877 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
70878 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
70879 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
70880 s,@USE_NLS@,$USE_NLS,;t t
70881 s,@CLOCALE_H@,$CLOCALE_H,;t t
70882 s,@CCODECVT_H@,$CCODECVT_H,;t t
70883 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
70884 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
70885 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
70886 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
70887 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
70888 s,@CMONEY_CC@,$CMONEY_CC,;t t
70889 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
70890 s,@CTIME_H@,$CTIME_H,;t t
70891 s,@CTIME_CC@,$CTIME_CC,;t t
70892 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
70893 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
70894 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
70895 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
70896 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
70897 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
70898 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
70899 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
70900 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
70901 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
70902 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
70903 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
70904 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
70905 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
70906 s,@WERROR@,$WERROR,;t t
70907 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
70908 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
70909 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
70910 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
70911 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
70912 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
70913 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
70914 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
70915 s,@baseline_dir@,$baseline_dir,;t t
70916 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
70917 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
70918 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
70919 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
70920 s,@ATOMICITY_INC_SRCDIR@,$ATOMICITY_INC_SRCDIR,;t t
70921 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
70922 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
70923 s,@gxx_include_dir@,$gxx_include_dir,;t t
70924 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
70925 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
70926 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
70927 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
70928 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
70929 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
70930 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
70931 s,@LIBOBJS@,$LIBOBJS,;t t
70932 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
70933 CEOF
70935 _ACEOF
70937 cat >>$CONFIG_STATUS <<\_ACEOF
70938 # Split the substitutions into bite-sized pieces for seds with
70939 # small command number limits, like on Digital OSF/1 and HP-UX.
70940 ac_max_sed_lines=48
70941 ac_sed_frag=1 # Number of current file.
70942 ac_beg=1 # First line for current file.
70943 ac_end=$ac_max_sed_lines # Line after last line for current file.
70944 ac_more_lines=:
70945 ac_sed_cmds=
70946 while $ac_more_lines; do
70947 if test $ac_beg -gt 1; then
70948 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
70949 else
70950 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
70952 if test ! -s $tmp/subs.frag; then
70953 ac_more_lines=false
70954 else
70955 # The purpose of the label and of the branching condition is to
70956 # speed up the sed processing (if there are no `@' at all, there
70957 # is no need to browse any of the substitutions).
70958 # These are the two extra sed commands mentioned above.
70959 (echo ':t
70960 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
70961 if test -z "$ac_sed_cmds"; then
70962 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
70963 else
70964 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
70966 ac_sed_frag=`expr $ac_sed_frag + 1`
70967 ac_beg=$ac_end
70968 ac_end=`expr $ac_end + $ac_max_sed_lines`
70970 done
70971 if test -z "$ac_sed_cmds"; then
70972 ac_sed_cmds=cat
70974 fi # test -n "$CONFIG_FILES"
70976 _ACEOF
70977 cat >>$CONFIG_STATUS <<\_ACEOF
70978 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
70979 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
70980 case $ac_file in
70981 - | *:- | *:-:* ) # input from stdin
70982 cat >$tmp/stdin
70983 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
70984 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
70985 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
70986 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
70987 * ) ac_file_in=$ac_file.in ;;
70988 esac
70990 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
70991 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
70992 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
70993 X"$ac_file" : 'X\(//\)[^/]' \| \
70994 X"$ac_file" : 'X\(//\)$' \| \
70995 X"$ac_file" : 'X\(/\)' \| \
70996 . : '\(.\)' 2>/dev/null ||
70997 echo X"$ac_file" |
70998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
70999 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
71000 /^X\(\/\/\)$/{ s//\1/; q; }
71001 /^X\(\/\).*/{ s//\1/; q; }
71002 s/.*/./; q'`
71003 { if $as_mkdir_p; then
71004 mkdir -p "$ac_dir"
71005 else
71006 as_dir="$ac_dir"
71007 as_dirs=
71008 while test ! -d "$as_dir"; do
71009 as_dirs="$as_dir $as_dirs"
71010 as_dir=`(dirname "$as_dir") 2>/dev/null ||
71011 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
71012 X"$as_dir" : 'X\(//\)[^/]' \| \
71013 X"$as_dir" : 'X\(//\)$' \| \
71014 X"$as_dir" : 'X\(/\)' \| \
71015 . : '\(.\)' 2>/dev/null ||
71016 echo X"$as_dir" |
71017 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
71018 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
71019 /^X\(\/\/\)$/{ s//\1/; q; }
71020 /^X\(\/\).*/{ s//\1/; q; }
71021 s/.*/./; q'`
71022 done
71023 test ! -n "$as_dirs" || mkdir $as_dirs
71024 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
71025 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
71026 { (exit 1); exit 1; }; }; }
71028 ac_builddir=.
71030 if test "$ac_dir" != .; then
71031 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
71032 # A "../" for each directory in $ac_dir_suffix.
71033 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
71034 else
71035 ac_dir_suffix= ac_top_builddir=
71038 case $srcdir in
71039 .) # No --srcdir option. We are building in place.
71040 ac_srcdir=.
71041 if test -z "$ac_top_builddir"; then
71042 ac_top_srcdir=.
71043 else
71044 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
71045 fi ;;
71046 [\\/]* | ?:[\\/]* ) # Absolute path.
71047 ac_srcdir=$srcdir$ac_dir_suffix;
71048 ac_top_srcdir=$srcdir ;;
71049 *) # Relative path.
71050 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
71051 ac_top_srcdir=$ac_top_builddir$srcdir ;;
71052 esac
71054 # Do not use `cd foo && pwd` to compute absolute paths, because
71055 # the directories may not exist.
71056 case `pwd` in
71057 .) ac_abs_builddir="$ac_dir";;
71059 case "$ac_dir" in
71060 .) ac_abs_builddir=`pwd`;;
71061 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
71062 *) ac_abs_builddir=`pwd`/"$ac_dir";;
71063 esac;;
71064 esac
71065 case $ac_abs_builddir in
71066 .) ac_abs_top_builddir=${ac_top_builddir}.;;
71068 case ${ac_top_builddir}. in
71069 .) ac_abs_top_builddir=$ac_abs_builddir;;
71070 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
71071 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
71072 esac;;
71073 esac
71074 case $ac_abs_builddir in
71075 .) ac_abs_srcdir=$ac_srcdir;;
71077 case $ac_srcdir in
71078 .) ac_abs_srcdir=$ac_abs_builddir;;
71079 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
71080 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
71081 esac;;
71082 esac
71083 case $ac_abs_builddir in
71084 .) ac_abs_top_srcdir=$ac_top_srcdir;;
71086 case $ac_top_srcdir in
71087 .) ac_abs_top_srcdir=$ac_abs_builddir;;
71088 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
71089 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
71090 esac;;
71091 esac
71094 case $INSTALL in
71095 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
71096 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
71097 esac
71099 if test x"$ac_file" != x-; then
71100 { echo "$as_me:$LINENO: creating $ac_file" >&5
71101 echo "$as_me: creating $ac_file" >&6;}
71102 rm -f "$ac_file"
71104 # Let's still pretend it is `configure' which instantiates (i.e., don't
71105 # use $as_me), people would be surprised to read:
71106 # /* config.h. Generated by config.status. */
71107 if test x"$ac_file" = x-; then
71108 configure_input=
71109 else
71110 configure_input="$ac_file. "
71112 configure_input=$configure_input"Generated from `echo $ac_file_in |
71113 sed 's,.*/,,'` by configure."
71115 # First look for the input files in the build tree, otherwise in the
71116 # src tree.
71117 ac_file_inputs=`IFS=:
71118 for f in $ac_file_in; do
71119 case $f in
71120 -) echo $tmp/stdin ;;
71121 [\\/$]*)
71122 # Absolute (can't be DOS-style, as IFS=:)
71123 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
71124 echo "$as_me: error: cannot find input file: $f" >&2;}
71125 { (exit 1); exit 1; }; }
71126 echo "$f";;
71127 *) # Relative
71128 if test -f "$f"; then
71129 # Build tree
71130 echo "$f"
71131 elif test -f "$srcdir/$f"; then
71132 # Source tree
71133 echo "$srcdir/$f"
71134 else
71135 # /dev/null tree
71136 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
71137 echo "$as_me: error: cannot find input file: $f" >&2;}
71138 { (exit 1); exit 1; }; }
71139 fi;;
71140 esac
71141 done` || { (exit 1); exit 1; }
71142 _ACEOF
71143 cat >>$CONFIG_STATUS <<_ACEOF
71144 sed "$ac_vpsub
71145 $extrasub
71146 _ACEOF
71147 cat >>$CONFIG_STATUS <<\_ACEOF
71149 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
71150 s,@configure_input@,$configure_input,;t t
71151 s,@srcdir@,$ac_srcdir,;t t
71152 s,@abs_srcdir@,$ac_abs_srcdir,;t t
71153 s,@top_srcdir@,$ac_top_srcdir,;t t
71154 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
71155 s,@builddir@,$ac_builddir,;t t
71156 s,@abs_builddir@,$ac_abs_builddir,;t t
71157 s,@top_builddir@,$ac_top_builddir,;t t
71158 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
71159 s,@INSTALL@,$ac_INSTALL,;t t
71160 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
71161 rm -f $tmp/stdin
71162 if test x"$ac_file" != x-; then
71163 mv $tmp/out $ac_file
71164 else
71165 cat $tmp/out
71166 rm -f $tmp/out
71169 # Run the commands associated with the file.
71170 case $ac_file in
71171 scripts/check_survey ) chmod +x scripts/check_survey ;;
71172 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
71173 esac
71174 done
71175 _ACEOF
71176 cat >>$CONFIG_STATUS <<\_ACEOF
71179 # CONFIG_HEADER section.
71182 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
71183 # NAME is the cpp macro being defined and VALUE is the value it is being given.
71185 # ac_d sets the value in "#define NAME VALUE" lines.
71186 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
71187 ac_dB='[ ].*$,\1#\2'
71188 ac_dC=' '
71189 ac_dD=',;t'
71190 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
71191 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
71192 ac_uB='$,\1#\2define\3'
71193 ac_uC=' '
71194 ac_uD=',;t'
71196 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
71197 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
71198 case $ac_file in
71199 - | *:- | *:-:* ) # input from stdin
71200 cat >$tmp/stdin
71201 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
71202 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
71203 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
71204 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
71205 * ) ac_file_in=$ac_file.in ;;
71206 esac
71208 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
71209 echo "$as_me: creating $ac_file" >&6;}
71211 # First look for the input files in the build tree, otherwise in the
71212 # src tree.
71213 ac_file_inputs=`IFS=:
71214 for f in $ac_file_in; do
71215 case $f in
71216 -) echo $tmp/stdin ;;
71217 [\\/$]*)
71218 # Absolute (can't be DOS-style, as IFS=:)
71219 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
71220 echo "$as_me: error: cannot find input file: $f" >&2;}
71221 { (exit 1); exit 1; }; }
71222 # Do quote $f, to prevent DOS paths from being IFS'd.
71223 echo "$f";;
71224 *) # Relative
71225 if test -f "$f"; then
71226 # Build tree
71227 echo "$f"
71228 elif test -f "$srcdir/$f"; then
71229 # Source tree
71230 echo "$srcdir/$f"
71231 else
71232 # /dev/null tree
71233 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
71234 echo "$as_me: error: cannot find input file: $f" >&2;}
71235 { (exit 1); exit 1; }; }
71236 fi;;
71237 esac
71238 done` || { (exit 1); exit 1; }
71239 # Remove the trailing spaces.
71240 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
71242 _ACEOF
71244 # Transform confdefs.h into two sed scripts, `conftest.defines' and
71245 # `conftest.undefs', that substitutes the proper values into
71246 # config.h.in to produce config.h. The first handles `#define'
71247 # templates, and the second `#undef' templates.
71248 # And first: Protect against being on the right side of a sed subst in
71249 # config.status. Protect against being in an unquoted here document
71250 # in config.status.
71251 rm -f conftest.defines conftest.undefs
71252 # Using a here document instead of a string reduces the quoting nightmare.
71253 # Putting comments in sed scripts is not portable.
71255 # `end' is used to avoid that the second main sed command (meant for
71256 # 0-ary CPP macros) applies to n-ary macro definitions.
71257 # See the Autoconf documentation for `clear'.
71258 cat >confdef2sed.sed <<\_ACEOF
71259 s/[\\&,]/\\&/g
71260 s,[\\$`],\\&,g
71261 t clear
71262 : clear
71263 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
71264 t end
71265 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
71266 : end
71267 _ACEOF
71268 # If some macros were called several times there might be several times
71269 # the same #defines, which is useless. Nevertheless, we may not want to
71270 # sort them, since we want the *last* AC-DEFINE to be honored.
71271 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
71272 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
71273 rm -f confdef2sed.sed
71275 # This sed command replaces #undef with comments. This is necessary, for
71276 # example, in the case of _POSIX_SOURCE, which is predefined and required
71277 # on some systems where configure will not decide to define it.
71278 cat >>conftest.undefs <<\_ACEOF
71279 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
71280 _ACEOF
71282 # Break up conftest.defines because some shells have a limit on the size
71283 # of here documents, and old seds have small limits too (100 cmds).
71284 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
71285 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
71286 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
71287 echo ' :' >>$CONFIG_STATUS
71288 rm -f conftest.tail
71289 while grep . conftest.defines >/dev/null
71291 # Write a limited-size here document to $tmp/defines.sed.
71292 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
71293 # Speed up: don't consider the non `#define' lines.
71294 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
71295 # Work around the forget-to-reset-the-flag bug.
71296 echo 't clr' >>$CONFIG_STATUS
71297 echo ': clr' >>$CONFIG_STATUS
71298 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
71299 echo 'CEOF
71300 sed -f $tmp/defines.sed $tmp/in >$tmp/out
71301 rm -f $tmp/in
71302 mv $tmp/out $tmp/in
71303 ' >>$CONFIG_STATUS
71304 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
71305 rm -f conftest.defines
71306 mv conftest.tail conftest.defines
71307 done
71308 rm -f conftest.defines
71309 echo ' fi # grep' >>$CONFIG_STATUS
71310 echo >>$CONFIG_STATUS
71312 # Break up conftest.undefs because some shells have a limit on the size
71313 # of here documents, and old seds have small limits too (100 cmds).
71314 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
71315 rm -f conftest.tail
71316 while grep . conftest.undefs >/dev/null
71318 # Write a limited-size here document to $tmp/undefs.sed.
71319 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
71320 # Speed up: don't consider the non `#undef'
71321 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
71322 # Work around the forget-to-reset-the-flag bug.
71323 echo 't clr' >>$CONFIG_STATUS
71324 echo ': clr' >>$CONFIG_STATUS
71325 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
71326 echo 'CEOF
71327 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
71328 rm -f $tmp/in
71329 mv $tmp/out $tmp/in
71330 ' >>$CONFIG_STATUS
71331 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
71332 rm -f conftest.undefs
71333 mv conftest.tail conftest.undefs
71334 done
71335 rm -f conftest.undefs
71337 cat >>$CONFIG_STATUS <<\_ACEOF
71338 # Let's still pretend it is `configure' which instantiates (i.e., don't
71339 # use $as_me), people would be surprised to read:
71340 # /* config.h. Generated by config.status. */
71341 if test x"$ac_file" = x-; then
71342 echo "/* Generated by configure. */" >$tmp/config.h
71343 else
71344 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
71346 cat $tmp/in >>$tmp/config.h
71347 rm -f $tmp/in
71348 if test x"$ac_file" != x-; then
71349 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
71350 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
71351 echo "$as_me: $ac_file is unchanged" >&6;}
71352 else
71353 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
71354 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
71355 X"$ac_file" : 'X\(//\)[^/]' \| \
71356 X"$ac_file" : 'X\(//\)$' \| \
71357 X"$ac_file" : 'X\(/\)' \| \
71358 . : '\(.\)' 2>/dev/null ||
71359 echo X"$ac_file" |
71360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
71361 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
71362 /^X\(\/\/\)$/{ s//\1/; q; }
71363 /^X\(\/\).*/{ s//\1/; q; }
71364 s/.*/./; q'`
71365 { if $as_mkdir_p; then
71366 mkdir -p "$ac_dir"
71367 else
71368 as_dir="$ac_dir"
71369 as_dirs=
71370 while test ! -d "$as_dir"; do
71371 as_dirs="$as_dir $as_dirs"
71372 as_dir=`(dirname "$as_dir") 2>/dev/null ||
71373 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
71374 X"$as_dir" : 'X\(//\)[^/]' \| \
71375 X"$as_dir" : 'X\(//\)$' \| \
71376 X"$as_dir" : 'X\(/\)' \| \
71377 . : '\(.\)' 2>/dev/null ||
71378 echo X"$as_dir" |
71379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
71380 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
71381 /^X\(\/\/\)$/{ s//\1/; q; }
71382 /^X\(\/\).*/{ s//\1/; q; }
71383 s/.*/./; q'`
71384 done
71385 test ! -n "$as_dirs" || mkdir $as_dirs
71386 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
71387 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
71388 { (exit 1); exit 1; }; }; }
71390 rm -f $ac_file
71391 mv $tmp/config.h $ac_file
71393 else
71394 cat $tmp/config.h
71395 rm -f $tmp/config.h
71397 # Compute $ac_file's index in $config_headers.
71398 _am_stamp_count=1
71399 for _am_header in $config_headers :; do
71400 case $_am_header in
71401 $ac_file | $ac_file:* )
71402 break ;;
71404 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
71405 esac
71406 done
71407 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
71408 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
71409 X$ac_file : 'X\(//\)[^/]' \| \
71410 X$ac_file : 'X\(//\)$' \| \
71411 X$ac_file : 'X\(/\)' \| \
71412 . : '\(.\)' 2>/dev/null ||
71413 echo X$ac_file |
71414 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
71415 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
71416 /^X\(\/\/\)$/{ s//\1/; q; }
71417 /^X\(\/\).*/{ s//\1/; q; }
71418 s/.*/./; q'`/stamp-h$_am_stamp_count
71419 done
71420 _ACEOF
71421 cat >>$CONFIG_STATUS <<\_ACEOF
71424 # CONFIG_COMMANDS section.
71426 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
71427 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
71428 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
71429 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
71430 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
71431 X"$ac_dest" : 'X\(//\)[^/]' \| \
71432 X"$ac_dest" : 'X\(//\)$' \| \
71433 X"$ac_dest" : 'X\(/\)' \| \
71434 . : '\(.\)' 2>/dev/null ||
71435 echo X"$ac_dest" |
71436 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
71437 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
71438 /^X\(\/\/\)$/{ s//\1/; q; }
71439 /^X\(\/\).*/{ s//\1/; q; }
71440 s/.*/./; q'`
71441 { if $as_mkdir_p; then
71442 mkdir -p "$ac_dir"
71443 else
71444 as_dir="$ac_dir"
71445 as_dirs=
71446 while test ! -d "$as_dir"; do
71447 as_dirs="$as_dir $as_dirs"
71448 as_dir=`(dirname "$as_dir") 2>/dev/null ||
71449 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
71450 X"$as_dir" : 'X\(//\)[^/]' \| \
71451 X"$as_dir" : 'X\(//\)$' \| \
71452 X"$as_dir" : 'X\(/\)' \| \
71453 . : '\(.\)' 2>/dev/null ||
71454 echo X"$as_dir" |
71455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
71456 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
71457 /^X\(\/\/\)$/{ s//\1/; q; }
71458 /^X\(\/\).*/{ s//\1/; q; }
71459 s/.*/./; q'`
71460 done
71461 test ! -n "$as_dirs" || mkdir $as_dirs
71462 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
71463 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
71464 { (exit 1); exit 1; }; }; }
71466 ac_builddir=.
71468 if test "$ac_dir" != .; then
71469 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
71470 # A "../" for each directory in $ac_dir_suffix.
71471 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
71472 else
71473 ac_dir_suffix= ac_top_builddir=
71476 case $srcdir in
71477 .) # No --srcdir option. We are building in place.
71478 ac_srcdir=.
71479 if test -z "$ac_top_builddir"; then
71480 ac_top_srcdir=.
71481 else
71482 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
71483 fi ;;
71484 [\\/]* | ?:[\\/]* ) # Absolute path.
71485 ac_srcdir=$srcdir$ac_dir_suffix;
71486 ac_top_srcdir=$srcdir ;;
71487 *) # Relative path.
71488 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
71489 ac_top_srcdir=$ac_top_builddir$srcdir ;;
71490 esac
71492 # Do not use `cd foo && pwd` to compute absolute paths, because
71493 # the directories may not exist.
71494 case `pwd` in
71495 .) ac_abs_builddir="$ac_dir";;
71497 case "$ac_dir" in
71498 .) ac_abs_builddir=`pwd`;;
71499 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
71500 *) ac_abs_builddir=`pwd`/"$ac_dir";;
71501 esac;;
71502 esac
71503 case $ac_abs_builddir in
71504 .) ac_abs_top_builddir=${ac_top_builddir}.;;
71506 case ${ac_top_builddir}. in
71507 .) ac_abs_top_builddir=$ac_abs_builddir;;
71508 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
71509 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
71510 esac;;
71511 esac
71512 case $ac_abs_builddir in
71513 .) ac_abs_srcdir=$ac_srcdir;;
71515 case $ac_srcdir in
71516 .) ac_abs_srcdir=$ac_abs_builddir;;
71517 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
71518 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
71519 esac;;
71520 esac
71521 case $ac_abs_builddir in
71522 .) ac_abs_top_srcdir=$ac_top_srcdir;;
71524 case $ac_top_srcdir in
71525 .) ac_abs_top_srcdir=$ac_abs_builddir;;
71526 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
71527 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
71528 esac;;
71529 esac
71532 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
71533 echo "$as_me: executing $ac_dest commands" >&6;}
71534 case $ac_dest in
71535 default-1 )
71536 # Only add multilib support code if we just rebuilt the top-level
71537 # Makefile.
71538 case " $CONFIG_FILES " in
71539 *" Makefile "*)
71540 ac_file=Makefile . ${multi_basedir}/config-ml.in
71542 esac ;;
71543 default ) if test -n "$CONFIG_FILES"; then
71544 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
71545 # that multilib installs will end up installed in the correct place.
71546 # The testsuite needs it for multilib-aware ABI baseline files.
71547 # To work around this not being passed down from config-ml.in ->
71548 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
71549 # append it here. Only modify Makefiles that have just been created.
71551 # Also, get rid of this simulated-VPATH thing that automake does.
71552 cat > vpsed << \_EOF
71553 s!`test -f '$<' || echo '$(srcdir)/'`!!
71554 _EOF
71555 for i in $SUBDIRS; do
71556 case $CONFIG_FILES in
71557 *${i}/Makefile*)
71558 #echo "Adding MULTISUBDIR to $i/Makefile"
71559 sed -f vpsed $i/Makefile > tmp
71560 grep '^MULTISUBDIR =' Makefile >> tmp
71561 mv tmp $i/Makefile
71563 esac
71564 done
71565 rm vpsed
71567 (cd include && ${MAKE-make})
71569 esac
71570 done
71571 _ACEOF
71573 cat >>$CONFIG_STATUS <<\_ACEOF
71575 { (exit 0); exit 0; }
71576 _ACEOF
71577 chmod +x $CONFIG_STATUS
71578 ac_clean_files=$ac_clean_files_save
71581 # configure is writing to config.log, and then calls config.status.
71582 # config.status does its own redirection, appending to config.log.
71583 # Unfortunately, on DOS this fails, as config.log is still kept open
71584 # by configure, so config.status won't be able to write to it; its
71585 # output is simply discarded. So we exec the FD to /dev/null,
71586 # effectively closing config.log, so it can be properly (re)opened and
71587 # appended to by config.status. When coming back to configure, we
71588 # need to make the FD available again.
71589 if test "$no_create" != yes; then
71590 ac_cs_success=:
71591 ac_config_status_args=
71592 test "$silent" = yes &&
71593 ac_config_status_args="$ac_config_status_args --quiet"
71594 exec 5>/dev/null
71595 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
71596 exec 5>>config.log
71597 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
71598 # would make configure fail if this is the last instruction.
71599 $ac_cs_success || { (exit 1); exit 1; }